From acfe91bdee43aea5eb697f3283f76bc2cf480977 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 9 Jan 2024 14:06:34 +0000 Subject: [PATCH 1/2] Update generated files with build 131168 --- ...access_review_decisions_request_builder.py | 4 +- ...ss_review_decision_item_request_builder.py | 6 +- .../access_reviews_request_builder.py | 14 +- .../access_review_item_request_builder.py | 20 +- .../apply_decisions_request_builder.py | 6 +- .../decisions/decisions_request_builder.py | 10 +- ...ss_review_decision_item_request_builder.py | 6 +- .../instances/instances_request_builder.py | 4 +- .../access_review_item_request_builder.py | 6 +- .../apply_decisions_request_builder.py | 6 +- .../decisions/decisions_request_builder.py | 10 +- ...ss_review_decision_item_request_builder.py | 6 +- ...ss_review_decision_item_request_builder.py | 6 +- .../my_decisions_request_builder.py | 10 +- .../reset_decisions_request_builder.py | 6 +- ...ss_review_reviewer_item_request_builder.py | 10 +- .../reviewers/reviewers_request_builder.py | 14 +- .../send_reminder_request_builder.py | 6 +- .../item/stop/stop_request_builder.py | 6 +- ...ss_review_decision_item_request_builder.py | 6 +- .../my_decisions_request_builder.py | 10 +- .../reset_decisions_request_builder.py | 6 +- ...ss_review_reviewer_item_request_builder.py | 10 +- .../reviewers/reviewers_request_builder.py | 14 +- .../send_reminder_request_builder.py | 6 +- .../item/stop/stop_request_builder.py | 6 +- .../activitystatistics_request_builder.py | 11 +- ...ctivity_statistics_item_request_builder.py | 6 +- .../generated/admin/admin_request_builder.py | 14 +- .../apps_and_services_request_builder.py | 16 +- .../dynamics/dynamics_request_builder.py | 16 +- .../admin/edge/edge_request_builder.py | 6 +- .../internet_explorer_mode_request_builder.py | 6 +- .../browser_site_list_item_request_builder.py | 20 +- .../item/publish/publish_request_builder.py | 6 +- ...wser_shared_cookie_item_request_builder.py | 20 +- .../shared_cookies_request_builder.py | 14 +- .../item/browser_site_item_request_builder.py | 20 +- .../item/sites/sites_request_builder.py | 14 +- .../site_lists/site_lists_request_builder.py | 14 +- .../admin/forms/forms_request_builder.py | 16 +- .../installation_options_request_builder.py | 217 +++++++++++++ .../microsoft365_apps_request_builder.py | 225 +++++++++++++ .../admin/people/people_request_builder.py | 12 +- ...file_card_property_item_request_builder.py | 20 +- ...profile_card_properties_request_builder.py | 14 +- .../pronouns/pronouns_request_builder.py | 16 +- .../report_settings_request_builder.py | 16 +- .../health_overviews_request_builder.py | 10 +- .../item/issues/issues_request_builder.py | 4 +- .../incident_report_request_builder.py | 2 +- ...rvice_health_issue_item_request_builder.py | 6 +- .../service_health_item_request_builder.py | 12 +- .../issues/issues_request_builder.py | 10 +- .../incident_report_request_builder.py | 2 +- ...rvice_health_issue_item_request_builder.py | 12 +- .../archive/archive_request_builder.py | 6 +- .../favorite/favorite_request_builder.py | 6 +- .../attachments_request_builder.py | 10 +- .../item/content/content_request_builder.py | 4 +- ...ncement_attachment_item_request_builder.py | 12 +- .../attachments_archive_request_builder.py | 4 +- ...ice_update_message_item_request_builder.py | 12 +- .../mark_read/mark_read_request_builder.py | 6 +- .../mark_unread_request_builder.py | 6 +- .../messages/messages_request_builder.py | 10 +- .../unarchive/unarchive_request_builder.py | 6 +- .../unfavorite/unfavorite_request_builder.py | 6 +- .../service_announcement_request_builder.py | 6 +- .../settings/settings_request_builder.py | 16 +- .../sharepoint/sharepoint_request_builder.py | 6 +- .../admin/todo/todo_request_builder.py | 16 +- .../catalog/catalog_request_builder.py | 6 +- .../entries/entries_request_builder.py | 10 +- .../catalog_entry_item_request_builder.py | 6 +- .../deployment_audiences_request_builder.py | 14 +- ...eployment_audience_item_request_builder.py | 16 +- .../exclusions/exclusions_request_builder.py | 10 +- ...ows_updates_add_members_request_builder.py | 6 +- ...dates_add_members_by_id_request_builder.py | 6 +- ..._updates_remove_members_request_builder.py | 6 +- ...es_remove_members_by_id_request_builder.py | 6 +- .../updatable_asset_item_request_builder.py | 6 +- ...s_updates_enroll_assets_request_builder.py | 2 +- ...tes_enroll_assets_by_id_request_builder.py | 2 +- ...updates_unenroll_assets_request_builder.py | 2 +- ...s_unenroll_assets_by_id_request_builder.py | 2 +- ...ows_updates_add_members_request_builder.py | 6 +- ...dates_add_members_by_id_request_builder.py | 6 +- ..._updates_remove_members_request_builder.py | 6 +- ...es_remove_members_by_id_request_builder.py | 6 +- .../updatable_asset_item_request_builder.py | 6 +- .../item/members/members_request_builder.py | 10 +- ...s_updates_enroll_assets_request_builder.py | 2 +- ...tes_enroll_assets_by_id_request_builder.py | 2 +- ...updates_unenroll_assets_request_builder.py | 2 +- ...s_unenroll_assets_by_id_request_builder.py | 2 +- ...updates_update_audience_request_builder.py | 6 +- ...s_update_audience_by_id_request_builder.py | 6 +- .../deployments_request_builder.py | 14 +- .../item/audience/audience_request_builder.py | 6 +- .../exclusions/exclusions_request_builder.py | 10 +- ...ows_updates_add_members_request_builder.py | 6 +- ...dates_add_members_by_id_request_builder.py | 6 +- ..._updates_remove_members_request_builder.py | 6 +- ...es_remove_members_by_id_request_builder.py | 6 +- .../updatable_asset_item_request_builder.py | 6 +- ...s_updates_enroll_assets_request_builder.py | 2 +- ...tes_enroll_assets_by_id_request_builder.py | 2 +- ...updates_unenroll_assets_request_builder.py | 2 +- ...s_unenroll_assets_by_id_request_builder.py | 2 +- ...ows_updates_add_members_request_builder.py | 6 +- ...dates_add_members_by_id_request_builder.py | 6 +- ..._updates_remove_members_request_builder.py | 6 +- ...es_remove_members_by_id_request_builder.py | 6 +- .../updatable_asset_item_request_builder.py | 6 +- .../members/members_request_builder.py | 10 +- ...s_updates_enroll_assets_request_builder.py | 2 +- ...tes_enroll_assets_by_id_request_builder.py | 2 +- ...updates_unenroll_assets_request_builder.py | 2 +- ...s_unenroll_assets_by_id_request_builder.py | 2 +- ...updates_update_audience_request_builder.py | 6 +- ...s_update_audience_by_id_request_builder.py | 6 +- .../item/deployment_item_request_builder.py | 20 +- ...esource_connection_item_request_builder.py | 18 +- .../resource_connections_request_builder.py | 14 +- ...ows_updates_add_members_request_builder.py | 6 +- ...dates_add_members_by_id_request_builder.py | 6 +- ..._updates_remove_members_request_builder.py | 6 +- ...es_remove_members_by_id_request_builder.py | 6 +- .../updatable_asset_item_request_builder.py | 20 +- ...s_updates_enroll_assets_request_builder.py | 2 +- ...tes_enroll_assets_by_id_request_builder.py | 2 +- ...updates_unenroll_assets_request_builder.py | 2 +- ...s_unenroll_assets_by_id_request_builder.py | 2 +- .../updatable_assets_request_builder.py | 14 +- .../item/audience/audience_request_builder.py | 6 +- .../exclusions/exclusions_request_builder.py | 10 +- ...ows_updates_add_members_request_builder.py | 6 +- ...dates_add_members_by_id_request_builder.py | 6 +- ..._updates_remove_members_request_builder.py | 6 +- ...es_remove_members_by_id_request_builder.py | 6 +- .../updatable_asset_item_request_builder.py | 6 +- ...s_updates_enroll_assets_request_builder.py | 2 +- ...tes_enroll_assets_by_id_request_builder.py | 2 +- ...updates_unenroll_assets_request_builder.py | 2 +- ...s_unenroll_assets_by_id_request_builder.py | 2 +- ...ows_updates_add_members_request_builder.py | 6 +- ...dates_add_members_by_id_request_builder.py | 6 +- ..._updates_remove_members_request_builder.py | 6 +- ...es_remove_members_by_id_request_builder.py | 6 +- .../updatable_asset_item_request_builder.py | 6 +- .../members/members_request_builder.py | 10 +- ...s_updates_enroll_assets_request_builder.py | 2 +- ...tes_enroll_assets_by_id_request_builder.py | 2 +- ...updates_unenroll_assets_request_builder.py | 2 +- ...s_unenroll_assets_by_id_request_builder.py | 2 +- ...updates_update_audience_request_builder.py | 6 +- ...s_update_audience_by_id_request_builder.py | 6 +- .../compliance_changes_request_builder.py | 14 +- .../compliance_change_item_request_builder.py | 22 +- .../update_policy_request_builder.py | 2 +- .../update_policy_item_request_builder.py | 20 +- .../update_policies_request_builder.py | 14 +- .../updates/updates_request_builder.py | 6 +- .../admin/windows/windows_request_builder.py | 6 +- .../administrative_units_request_builder.py | 14 +- .../delta/delta_request_builder.py | 2 +- .../get_by_ids/get_by_ids_request_builder.py | 6 +- .../get_user_owned_objects_request_builder.py | 6 +- ...dministrative_unit_item_request_builder.py | 20 +- .../check_member_groups_request_builder.py | 6 +- .../check_member_objects_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 4 +- .../item/extension_item_request_builder.py | 6 +- .../get_member_groups_request_builder.py | 6 +- .../get_member_objects_request_builder.py | 2 +- .../graph_application_request_builder.py | 2 +- .../graph_device_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../graph_org_contact_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../graph_application_request_builder.py | 2 +- .../graph_device_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../graph_org_contact_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../members/item/ref/ref_request_builder.py | 2 +- .../item/members/members_request_builder.py | 6 +- .../item/members/ref/ref_request_builder.py | 4 +- .../item/restore/restore_request_builder.py | 6 +- ...ed_role_membership_item_request_builder.py | 16 +- .../scoped_role_members_request_builder.py | 14 +- .../validate_properties_request_builder.py | 6 +- .../agreement_acceptances_request_builder.py | 4 +- ...reement_acceptance_item_request_builder.py | 6 +- .../agreements/agreements_request_builder.py | 4 +- .../acceptances_request_builder.py | 10 +- ...reement_acceptance_item_request_builder.py | 6 +- .../item/agreement_item_request_builder.py | 6 +- .../item/file/file_request_builder.py | 12 +- ..._file_localization_item_request_builder.py | 6 +- ...ement_file_version_item_request_builder.py | 6 +- .../item/versions/versions_request_builder.py | 4 +- .../localizations_request_builder.py | 10 +- .../item/files/files_request_builder.py | 8 +- ..._file_localization_item_request_builder.py | 6 +- ...ement_file_version_item_request_builder.py | 6 +- .../item/versions/versions_request_builder.py | 4 +- .../allowed_data_locations_request_builder.py | 4 +- ...owed_data_location_item_request_builder.py | 6 +- .../generated/app/app_request_builder.py | 4 +- .../app/calls/calls_request_builder.py | 4 +- .../add_large_gallery_view_request_builder.py | 6 +- .../item/answer/answer_request_builder.py | 6 +- .../audio_routing_groups_request_builder.py | 14 +- ...udio_routing_group_item_request_builder.py | 20 +- .../calls/item/call_item_request_builder.py | 16 +- ...cancel_media_processing_request_builder.py | 6 +- ...nge_screen_sharing_role_request_builder.py | 6 +- ...ontent_sharing_sessions_request_builder.py | 10 +- ...nt_sharing_session_item_request_builder.py | 12 +- .../keep_alive/keep_alive_request_builder.py | 6 +- .../calls/item/mute/mute_request_builder.py | 6 +- .../comms_operation_item_request_builder.py | 12 +- .../operations/operations_request_builder.py | 10 +- .../invite/invite_request_builder.py | 6 +- .../item/mute/mute_request_builder.py | 6 +- .../item/participant_item_request_builder.py | 16 +- .../start_hold_music_request_builder.py | 6 +- .../stop_hold_music_request_builder.py | 6 +- .../mute_all/mute_all_request_builder.py | 6 +- .../participants_request_builder.py | 10 +- .../play_prompt_request_builder.py | 6 +- .../item/record/record_request_builder.py | 2 +- .../record_response_request_builder.py | 6 +- .../item/redirect/redirect_request_builder.py | 6 +- .../item/reject/reject_request_builder.py | 6 +- .../send_dtmf_tones_post_request_body.py | 64 ++++ .../send_dtmf_tones_request_builder.py | 94 ++++++ .../subscribe_to_tone_request_builder.py | 6 +- .../item/transfer/transfer_request_builder.py | 6 +- .../item/unmute/unmute_request_builder.py | 6 +- ...update_recording_status_request_builder.py | 6 +- ...nference_device_quality_request_builder.py | 6 +- .../create_or_get_request_builder.py | 6 +- .../get_all_recordings_request_builder.py | 2 +- .../get_all_transcripts_request_builder.py | 2 +- .../alternative_recording_request_builder.py | 4 +- .../attendance_reports_request_builder.py | 15 +- .../attendance_records_request_builder.py | 10 +- .../attendance_record_item_request_builder.py | 6 +- ..._attendance_report_item_request_builder.py | 15 +- .../attendee_report_request_builder.py | 4 +- .../broadcast_recording_request_builder.py | 4 +- ...ppointment_join_web_url_request_builder.py | 2 +- .../attendance_records_request_builder.py | 10 +- .../attendance_record_item_request_builder.py | 6 +- ...eting_attendance_report_request_builder.py | 12 +- .../online_meeting_item_request_builder.py | 28 +- .../recording/recording_request_builder.py | 4 +- .../recordings/delta/delta_request_builder.py | 2 +- .../call_recording_item_request_builder.py | 12 +- .../item/content/content_request_builder.py | 4 +- .../recordings/recordings_request_builder.py | 10 +- .../custom_questions_request_builder.py | 14 +- ...istration_question_item_request_builder.py | 20 +- ...ng_registrant_base_item_request_builder.py | 6 +- .../registrants_request_builder.py | 4 +- .../registration_request_builder.py | 22 +- ...ointment_reminder_sms_post_request_body.py | 63 ++++ ...ppointment_reminder_sms_request_builder.py | 92 ++++++ ...rtual_appointment_sms_post_request_body.py | 63 ++++ ...virtual_appointment_sms_request_builder.py | 92 ++++++ .../delta/delta_request_builder.py | 2 +- .../call_transcript_item_request_builder.py | 12 +- .../item/content/content_request_builder.py | 4 +- .../metadata_content_request_builder.py | 4 +- .../transcripts_request_builder.py | 10 +- .../online_meetings_request_builder.py | 4 +- .../app_catalogs_request_builder.py | 4 +- .../app_definitions_request_builder.py | 8 +- .../item/bot/bot_request_builder.py | 12 +- .../color_icon/color_icon_request_builder.py | 12 +- .../hosted_content_request_builder.py | 12 +- .../value/content_request_builder.py | 4 +- .../hosted_content_request_builder.py | 12 +- .../value/content_request_builder.py | 4 +- .../outline_icon_request_builder.py | 12 +- ...ams_app_definition_item_request_builder.py | 10 +- .../item/teams_app_item_request_builder.py | 10 +- .../teams_apps/teams_apps_request_builder.py | 14 +- .../app_role_assignments_request_builder.py | 4 +- ...pp_role_assignment_item_request_builder.py | 6 +- .../application_templates_request_builder.py | 8 +- ...plication_template_item_request_builder.py | 8 +- .../instantiate_request_builder.py | 6 +- .../applications_request_builder.py | 14 +- .../delta/delta_request_builder.py | 2 +- .../get_by_ids/get_by_ids_request_builder.py | 6 +- .../get_user_owned_objects_request_builder.py | 6 +- .../item/add_key/add_key_request_builder.py | 6 +- .../add_password_request_builder.py | 6 +- ...app_management_policies_request_builder.py | 4 +- .../item/ref/ref_request_builder.py | 8 +- .../ref/ref_request_builder.py | 8 +- .../item/application_item_request_builder.py | 20 +- .../check_member_groups_request_builder.py | 6 +- .../check_member_objects_request_builder.py | 2 +- .../connector_group_request_builder.py | 2 +- .../ref/ref_request_builder.py | 10 +- .../created_on_behalf_of_request_builder.py | 2 +- .../extension_properties_request_builder.py | 14 +- ...extension_property_item_request_builder.py | 16 +- ...ed_identity_credentials_request_builder.py | 14 +- ...dentity_credential_item_request_builder.py | 20 +- .../get_member_groups_request_builder.py | 6 +- .../get_member_objects_request_builder.py | 2 +- ...ealm_discovery_policies_request_builder.py | 2 +- ...m_discovery_policy_item_request_builder.py | 2 +- .../item/logo/logo_request_builder.py | 4 +- .../graph_endpoint_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../graph_endpoint_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../owners/item/ref/ref_request_builder.py | 8 +- .../item/owners/owners_request_builder.py | 4 +- .../item/owners/ref/ref_request_builder.py | 8 +- .../remove_key/remove_key_request_builder.py | 6 +- .../remove_password_request_builder.py | 6 +- .../item/restore/restore_request_builder.py | 6 +- .../set_verified_publisher_request_builder.py | 6 +- .../acquire_access_token_request_builder.py | 6 +- .../bulk_upload_request_builder.py | 6 +- .../value/content_request_builder.py | 4 +- .../jobs/item/pause/pause_request_builder.py | 6 +- .../provision_on_demand_request_builder.py | 6 +- .../item/restart/restart_request_builder.py | 6 +- .../directories_request_builder.py | 4 +- ...rectory_definition_item_request_builder.py | 6 +- .../item/discover/discover_request_builder.py | 6 +- .../filter_operators_request_builder.py | 2 +- .../functions/functions_request_builder.py | 2 +- .../parse_expression_request_builder.py | 6 +- .../item/schema/schema_request_builder.py | 12 +- .../jobs/item/start/start_request_builder.py | 6 +- ...ynchronization_job_item_request_builder.py | 16 +- .../validate_credentials_request_builder.py | 6 +- .../jobs/jobs_request_builder.py | 14 +- .../validate_credentials_request_builder.py | 2 +- .../ping/ping_request_builder.py | 2 +- .../secrets/secrets_request_builder.py | 2 +- .../synchronization_request_builder.py | 6 +- .../directories_request_builder.py | 4 +- ...rectory_definition_item_request_builder.py | 6 +- .../item/discover/discover_request_builder.py | 6 +- .../filter_operators_request_builder.py | 2 +- .../functions/functions_request_builder.py | 2 +- .../parse_expression_request_builder.py | 6 +- .../item/schema/schema_request_builder.py | 6 +- ...onization_template_item_request_builder.py | 10 +- .../templates/templates_request_builder.py | 10 +- .../item/ref/ref_request_builder.py | 8 +- .../ref/ref_request_builder.py | 14 +- ...token_issuance_policies_request_builder.py | 10 +- .../item/ref/ref_request_builder.py | 8 +- .../ref/ref_request_builder.py | 14 +- ...token_lifetime_policies_request_builder.py | 10 +- ...nset_verified_publisher_request_builder.py | 6 +- .../validate_properties_request_builder.py | 6 +- ...pplications_with_app_id_request_builder.py | 20 +- ...ations_with_unique_name_request_builder.py | 20 +- ...oval_workflow_providers_request_builder.py | 4 +- ..._workflow_provider_item_request_builder.py | 6 +- .../business_flows_request_builder.py | 4 +- .../business_flow_item_request_builder.py | 6 +- .../record_decisions_request_builder.py | 2 +- ...ts_awaiting_my_decision_request_builder.py | 4 +- .../business_flow_item_request_builder.py | 6 +- .../record_decisions_request_builder.py | 2 +- ...ce_policy_template_item_request_builder.py | 6 +- .../policy_templates_request_builder.py | 4 +- .../audit_logs/audit_logs_request_builder.py | 4 +- ...curity_attribute_audits_request_builder.py | 11 +- ...ty_attribute_audit_item_request_builder.py | 12 +- .../directory_audits_request_builder.py | 10 +- .../directory_audit_item_request_builder.py | 12 +- .../directory_provisioning_request_builder.py | 4 +- ...ing_object_summary_item_request_builder.py | 6 +- ...ing_object_summary_item_request_builder.py | 12 +- .../provisioning_request_builder.py | 10 +- .../confirm_compromised_request_builder.py | 6 +- .../confirm_safe_request_builder.py | 6 +- .../item/sign_in_item_request_builder.py | 12 +- .../sign_ins/sign_ins_request_builder.py | 10 +- ...n_method_configurations_request_builder.py | 4 +- ...thod_configuration_item_request_builder.py | 6 +- ...n_method_configurations_request_builder.py | 4 +- ...thod_configuration_item_request_builder.py | 6 +- ...tication_methods_policy_request_builder.py | 4 +- .../booking_businesses_request_builder.py | 14 +- .../appointments_request_builder.py | 14 +- ...ooking_appointment_item_request_builder.py | 20 +- .../item/cancel/cancel_request_builder.py | 6 +- .../booking_business_item_request_builder.py | 20 +- .../calendar_view_request_builder.py | 4 +- ...ooking_appointment_item_request_builder.py | 6 +- .../item/cancel/cancel_request_builder.py | 6 +- .../custom_questions_request_builder.py | 14 +- ...ng_custom_question_item_request_builder.py | 20 +- .../customers/customers_request_builder.py | 14 +- .../booking_customer_item_request_builder.py | 20 +- .../get_staff_availability_request_builder.py | 6 +- .../item/publish/publish_request_builder.py | 6 +- .../booking_service_item_request_builder.py | 20 +- .../item/services/services_request_builder.py | 14 +- ...oking_staff_member_item_request_builder.py | 20 +- .../staff_members_request_builder.py | 14 +- .../unpublish/unpublish_request_builder.py | 6 +- .../booking_currencies_request_builder.py | 10 +- .../booking_currency_item_request_builder.py | 12 +- ...business_flow_templates_request_builder.py | 10 +- ...ness_flow_template_item_request_builder.py | 6 +- ...ased_auth_configuration_request_builder.py | 4 +- ...auth_configuration_item_request_builder.py | 6 +- .../all_messages_request_builder.py | 2 +- .../generated/chats/chats_request_builder.py | 24 +- .../get_all_messages_request_builder.py | 2 +- .../get_all_retained_messages_get_response.py | 57 ++++ ..._all_retained_messages_request_builder.py} | 44 +-- .../chats/item/chat_item_request_builder.py | 30 +- .../hide_for_user_request_builder.py | 6 +- .../installed_apps_request_builder.py | 14 +- .../teams_app/teams_app_request_builder.py | 2 +- .../teams_app_definition_request_builder.py | 2 +- ...s_app_installation_item_request_builder.py | 16 +- .../item/upgrade/upgrade_request_builder.py | 6 +- .../last_message_preview_request_builder.py | 6 +- ...mark_chat_read_for_user_request_builder.py | 6 +- ...rk_chat_unread_for_user_request_builder.py | 6 +- .../item/members/add/add_request_builder.py | 6 +- ...onversation_member_item_request_builder.py | 16 +- .../item/members/members_request_builder.py | 14 +- .../messages/delta/delta_request_builder.py | 2 +- .../item/chat_message_item_request_builder.py | 12 +- .../hosted_contents_request_builder.py | 10 +- ...age_hosted_content_item_request_builder.py | 12 +- .../item/value/content_request_builder.py | 4 +- .../replies/delta/delta_request_builder.py | 2 +- .../item/chat_message_item_request_builder.py | 12 +- .../hosted_contents_request_builder.py | 10 +- ...age_hosted_content_item_request_builder.py | 12 +- .../item/value/content_request_builder.py | 4 +- .../set_reaction_request_builder.py | 2 +- .../soft_delete_request_builder.py | 6 +- .../undo_soft_delete_request_builder.py | 6 +- .../unset_reaction_request_builder.py | 2 +- .../item/replies/replies_request_builder.py | 14 +- .../set_reaction_request_builder.py | 2 +- .../soft_delete_request_builder.py | 6 +- .../undo_soft_delete_request_builder.py | 6 +- .../unset_reaction_request_builder.py | 2 +- .../item/messages/messages_request_builder.py | 14 +- ...ms_async_operation_item_request_builder.py | 12 +- .../operations/operations_request_builder.py | 10 +- ...c_permission_grant_item_request_builder.py | 6 +- .../permission_grants_request_builder.py | 10 +- .../item/message/message_request_builder.py | 2 +- ..._chat_message_info_item_request_builder.py | 10 +- .../pinned_messages_request_builder.py | 14 +- ...e_all_access_for_user_post_request_body.py | 56 ++++ ...ove_all_access_for_user_request_builder.py | 92 ++++++ ...d_activity_notification_request_builder.py | 6 +- .../teams_app/teams_app_request_builder.py | 2 +- .../item/teams_tab_item_request_builder.py | 20 +- .../chats/item/tabs/tabs_request_builder.py | 14 +- .../unhide_for_user_request_builder.py | 6 +- .../commands/commands_request_builder.py | 4 +- .../item/command_item_request_builder.py | 6 +- .../responsepayload_request_builder.py | 2 +- .../call_records_request_builder.py | 11 +- .../item/call_record_item_request_builder.py | 32 +- .../organizer_v2_request_builder.py | 215 +++++++++++++ .../count/count_request_builder.py | 113 +++++++ .../item/participant_item_request_builder.py | 215 +++++++++++++ .../participants_v2_request_builder.py | 227 ++++++++++++++ .../item/segment_item_request_builder.py | 6 +- .../item/segments/segments_request_builder.py | 4 +- .../item/session_item_request_builder.py | 6 +- .../item/sessions/sessions_request_builder.py | 12 +- ..._time_with_to_date_time_request_builder.py | 2 +- ..._time_with_to_date_time_request_builder.py | 2 +- ..._time_with_to_date_time_request_builder.py | 2 +- ..._time_with_to_date_time_request_builder.py | 2 +- ..._time_with_to_date_time_request_builder.py | 2 +- .../calls/calls_request_builder.py | 14 +- .../add_large_gallery_view_request_builder.py | 6 +- .../item/answer/answer_request_builder.py | 6 +- .../audio_routing_groups_request_builder.py | 14 +- ...udio_routing_group_item_request_builder.py | 20 +- .../calls/item/call_item_request_builder.py | 26 +- ...cancel_media_processing_request_builder.py | 6 +- ...nge_screen_sharing_role_request_builder.py | 6 +- ...ontent_sharing_sessions_request_builder.py | 10 +- ...nt_sharing_session_item_request_builder.py | 12 +- .../keep_alive/keep_alive_request_builder.py | 6 +- .../calls/item/mute/mute_request_builder.py | 6 +- .../comms_operation_item_request_builder.py | 12 +- .../operations/operations_request_builder.py | 10 +- .../invite/invite_request_builder.py | 6 +- .../item/mute/mute_request_builder.py | 6 +- .../item/participant_item_request_builder.py | 16 +- .../start_hold_music_request_builder.py | 6 +- .../stop_hold_music_request_builder.py | 6 +- .../mute_all/mute_all_request_builder.py | 6 +- .../participants_request_builder.py | 10 +- .../play_prompt_request_builder.py | 6 +- .../item/record/record_request_builder.py | 2 +- .../record_response_request_builder.py | 6 +- .../item/redirect/redirect_request_builder.py | 6 +- .../item/reject/reject_request_builder.py | 6 +- .../send_dtmf_tones_post_request_body.py | 64 ++++ .../send_dtmf_tones_request_builder.py | 94 ++++++ .../subscribe_to_tone_request_builder.py | 6 +- .../item/transfer/transfer_request_builder.py | 6 +- .../item/unmute/unmute_request_builder.py | 6 +- ...update_recording_status_request_builder.py | 6 +- ...nference_device_quality_request_builder.py | 6 +- .../communications_request_builder.py | 4 +- ...et_presences_by_user_id_request_builder.py | 6 +- .../create_or_get_request_builder.py | 6 +- .../get_all_recordings_request_builder.py | 2 +- .../get_all_transcripts_request_builder.py | 2 +- .../alternative_recording_request_builder.py | 4 +- .../attendance_reports_request_builder.py | 15 +- .../attendance_records_request_builder.py | 10 +- .../attendance_record_item_request_builder.py | 6 +- ..._attendance_report_item_request_builder.py | 15 +- .../attendee_report_request_builder.py | 4 +- .../broadcast_recording_request_builder.py | 4 +- ...ppointment_join_web_url_request_builder.py | 2 +- .../attendance_records_request_builder.py | 10 +- .../attendance_record_item_request_builder.py | 6 +- ...eting_attendance_report_request_builder.py | 12 +- .../online_meeting_item_request_builder.py | 28 +- .../recording/recording_request_builder.py | 4 +- .../recordings/delta/delta_request_builder.py | 2 +- .../call_recording_item_request_builder.py | 12 +- .../item/content/content_request_builder.py | 4 +- .../recordings/recordings_request_builder.py | 10 +- .../custom_questions_request_builder.py | 14 +- ...istration_question_item_request_builder.py | 20 +- ...ng_registrant_base_item_request_builder.py | 6 +- .../registrants_request_builder.py | 4 +- .../registration_request_builder.py | 22 +- ...ointment_reminder_sms_post_request_body.py | 63 ++++ ...ppointment_reminder_sms_request_builder.py | 92 ++++++ ...rtual_appointment_sms_post_request_body.py | 63 ++++ ...virtual_appointment_sms_request_builder.py | 92 ++++++ .../delta/delta_request_builder.py | 2 +- .../call_transcript_item_request_builder.py | 12 +- .../item/content/content_request_builder.py | 4 +- .../metadata_content_request_builder.py | 4 +- .../transcripts_request_builder.py | 10 +- .../online_meetings_request_builder.py | 10 +- .../clear_presence_request_builder.py | 6 +- ...user_preferred_presence_request_builder.py | 6 +- .../item/presence_item_request_builder.py | 12 +- .../set_presence_request_builder.py | 6 +- .../set_status_message_request_builder.py | 6 +- ...user_preferred_presence_request_builder.py | 6 +- .../presences/presences_request_builder.py | 10 +- .../compliance/compliance_request_builder.py | 4 +- .../ediscovery/cases/cases_request_builder.py | 14 +- .../cases/item/case_item_request_builder.py | 20 +- .../custodians/custodians_request_builder.py | 14 +- .../item/custodian_item_request_builder.py | 16 +- .../last_index_operation_request_builder.py | 2 +- ...aph_ediscovery_activate_request_builder.py | 6 +- ...h_ediscovery_apply_hold_request_builder.py | 2 +- ...raph_ediscovery_release_request_builder.py | 6 +- ..._ediscovery_remove_hold_request_builder.py | 2 +- ...ediscovery_update_index_request_builder.py | 2 +- .../item/site/site_request_builder.py | 2 +- .../item/site_source_item_request_builder.py | 16 +- .../site_sources_request_builder.py | 14 +- .../item/group/group_request_builder.py | 2 +- ...ice_provisioning_errors_request_builder.py | 8 +- ...ified_group_source_item_request_builder.py | 16 +- .../unified_group_sources_request_builder.py | 14 +- .../item/user_source_item_request_builder.py | 16 +- .../user_sources_request_builder.py | 14 +- ...h_ediscovery_apply_hold_request_builder.py | 2 +- ..._ediscovery_remove_hold_request_builder.py | 2 +- .../item/legal_hold_item_request_builder.py | 20 +- .../item/site/site_request_builder.py | 2 +- .../item/site_source_item_request_builder.py | 6 +- .../site_sources_request_builder.py | 14 +- .../item/group/group_request_builder.py | 2 +- ...ice_provisioning_errors_request_builder.py | 8 +- ...ified_group_source_item_request_builder.py | 6 +- .../unified_group_sources_request_builder.py | 4 +- .../item/user_source_item_request_builder.py | 6 +- .../user_sources_request_builder.py | 14 +- .../legal_holds_request_builder.py | 10 +- ..._graph_ediscovery_close_request_builder.py | 6 +- ...graph_ediscovery_reopen_request_builder.py | 6 +- .../data_source_request_builder.py | 6 +- .../last_index_operation_request_builder.py | 2 +- ...h_ediscovery_apply_hold_request_builder.py | 2 +- ...raph_ediscovery_release_request_builder.py | 6 +- ..._ediscovery_remove_hold_request_builder.py | 2 +- ...ediscovery_update_index_request_builder.py | 2 +- ...todial_data_source_item_request_builder.py | 12 +- ...h_ediscovery_apply_hold_request_builder.py | 2 +- ..._ediscovery_remove_hold_request_builder.py | 2 +- ...ncustodial_data_sources_request_builder.py | 14 +- .../case_operation_item_request_builder.py | 6 +- ...y_case_export_operation_request_builder.py | 2 +- .../review_set/review_set_request_builder.py | 2 +- ...y_case_export_operation_request_builder.py | 2 +- .../operations/operations_request_builder.py | 4 +- ...overy_add_to_review_set_request_builder.py | 6 +- ...graph_ediscovery_export_request_builder.py | 6 +- ...h_ediscovery_apply_tags_request_builder.py | 6 +- .../review_set_query_item_request_builder.py | 20 +- .../item/queries/queries_request_builder.py | 14 +- .../item/review_set_item_request_builder.py | 12 +- .../review_sets_request_builder.py | 14 +- ...covery_reset_to_default_request_builder.py | 6 +- .../item/settings/settings_request_builder.py | 16 +- ...to_review_set_operation_request_builder.py | 8 +- .../additional_sources_request_builder.py | 10 +- .../item/data_source_item_request_builder.py | 6 +- .../custodian_sources_request_builder.py | 8 +- .../item/data_source_item_request_builder.py | 2 +- ...te_statistics_operation_request_builder.py | 8 +- ...ery_estimate_statistics_request_builder.py | 6 +- ...h_ediscovery_purge_data_request_builder.py | 6 +- ...todial_data_source_item_request_builder.py | 2 +- .../noncustodial_sources_request_builder.py | 8 +- .../source_collection_item_request_builder.py | 14 +- .../source_collections_request_builder.py | 14 +- .../child_tags/child_tags_request_builder.py | 8 +- .../item/tag_item_request_builder.py | 2 +- .../item/parent/parent_request_builder.py | 2 +- .../tags/item/tag_item_request_builder.py | 20 +- ...ediscovery_as_hierarchy_request_builder.py | 2 +- .../cases/item/tags/tags_request_builder.py | 14 +- .../ediscovery/ediscovery_request_builder.py | 6 +- .../connections_request_builder.py | 4 +- ...xternal_connection_item_request_builder.py | 6 +- .../item/groups/groups_request_builder.py | 8 +- .../external_group_item_request_builder.py | 10 +- .../item/identity_item_request_builder.py | 10 +- .../item/members/members_request_builder.py | 8 +- .../activities/activities_request_builder.py | 4 +- .../external_activity_item_request_builder.py | 6 +- .../performed_by_request_builder.py | 2 +- .../external_item_item_request_builder.py | 16 +- ...nnectors_add_activities_request_builder.py | 2 +- .../item/items/items_request_builder.py | 10 +- ...nnection_operation_item_request_builder.py | 6 +- .../operations/operations_request_builder.py | 4 +- .../item/quota/quota_request_builder.py | 12 +- .../item/schema/schema_request_builder.py | 14 +- .../contacts/contacts_request_builder.py | 10 +- .../contacts/delta/delta_request_builder.py | 2 +- .../get_by_ids/get_by_ids_request_builder.py | 6 +- .../get_user_owned_objects_request_builder.py | 6 +- .../check_member_groups_request_builder.py | 6 +- .../check_member_objects_request_builder.py | 2 +- .../direct_reports_request_builder.py | 2 +- .../graph_org_contact_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 2 +- .../graph_org_contact_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../get_member_groups_request_builder.py | 6 +- .../get_member_objects_request_builder.py | 2 +- .../item/manager/manager_request_builder.py | 8 +- ...aph_administrative_unit_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 2 +- ...aph_administrative_unit_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../member_of/member_of_request_builder.py | 2 +- .../item/org_contact_item_request_builder.py | 12 +- .../item/restore/restore_request_builder.py | 6 +- ...ry_service_provisioning_request_builder.py | 6 +- ...ice_provisioning_errors_request_builder.py | 2 +- ...aph_administrative_unit_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 2 +- ...aph_administrative_unit_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../transitive_member_of_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 2 +- .../transitive_reports_request_builder.py | 2 +- .../validate_properties_request_builder.py | 6 +- .../contracts/contracts_request_builder.py | 10 +- .../contracts/delta/delta_request_builder.py | 2 +- .../get_by_ids/get_by_ids_request_builder.py | 6 +- .../get_user_owned_objects_request_builder.py | 6 +- .../check_member_groups_request_builder.py | 6 +- .../check_member_objects_request_builder.py | 2 +- .../item/contract_item_request_builder.py | 12 +- .../get_member_groups_request_builder.py | 6 +- .../get_member_objects_request_builder.py | 2 +- .../item/restore/restore_request_builder.py | 6 +- .../validate_properties_request_builder.py | 6 +- .../classify_exact_matches_request_builder.py | 2 +- .../classify_file_request_builder.py | 2 +- .../classify_file_jobs_request_builder.py | 4 +- .../job_response_base_item_request_builder.py | 6 +- .../classify_text_jobs_request_builder.py | 4 +- .../job_response_base_item_request_builder.py | 6 +- .../data_classification_request_builder.py | 4 +- ...luate_dlp_policies_jobs_request_builder.py | 4 +- .../job_response_base_item_request_builder.py | 6 +- .../evaluate_label_jobs_request_builder.py | 4 +- .../job_response_base_item_request_builder.py | 6 +- ...exact_match_data_stores_request_builder.py | 4 +- ...t_match_data_store_item_request_builder.py | 6 +- .../item/lookup/lookup_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 2 +- .../item/commit/commit_request_builder.py | 2 +- ...xact_match_session_item_request_builder.py | 6 +- .../item/renew/renew_request_builder.py | 2 +- .../upload_agent_request_builder.py | 6 +- .../item/sessions/sessions_request_builder.py | 4 +- ...act_match_upload_agents_request_builder.py | 4 +- ...match_upload_agent_item_request_builder.py | 6 +- .../job_response_base_item_request_builder.py | 6 +- .../jobs/jobs_request_builder.py | 4 +- .../sensitive_type_item_request_builder.py | 6 +- .../sensitive_types_request_builder.py | 4 +- .../evaluate/evaluate_request_builder.py | 2 +- .../sensitivity_label_item_request_builder.py | 6 +- .../evaluate/evaluate_request_builder.py | 2 +- .../sensitivity_label_item_request_builder.py | 6 +- .../sublabels/sublabels_request_builder.py | 4 +- .../sensitivity_labels_request_builder.py | 4 +- .../data_policy_operations_request_builder.py | 10 +- ...a_policy_operation_item_request_builder.py | 12 +- ...managed_app_protections_request_builder.py | 4 +- .../has_payload_links_request_builder.py | 2 +- ...ged_app_protection_item_request_builder.py | 6 +- .../item/apps/apps_request_builder.py | 4 +- ...managed_mobile_app_item_request_builder.py | 6 +- .../assignments_request_builder.py | 4 +- ..._policy_assignment_item_request_builder.py | 6 +- .../deployment_summary_request_builder.py | 6 +- ...managed_app_protections_request_builder.py | 4 +- .../item/apps/apps_request_builder.py | 4 +- ...managed_mobile_app_item_request_builder.py | 6 +- ...ged_app_protection_item_request_builder.py | 6 +- .../deployment_summary_request_builder.py | 6 +- .../device_app_management_request_builder.py | 4 +- ...ce_app_management_tasks_request_builder.py | 4 +- ...pp_management_task_item_request_builder.py | 6 +- .../update_status_request_builder.py | 2 +- ...de_signing_certificates_request_builder.py | 4 +- ...igning_certificate_item_request_builder.py | 6 +- .../has_payload_links_request_builder.py | 2 +- ...isioning_configurations_request_builder.py | 4 +- .../item/assign/assign_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ...uration_assignment_item_request_builder.py | 6 +- .../device_statuses_request_builder.py | 4 +- ...tion_device_status_item_request_builder.py | 6 +- .../group_assignments_request_builder.py | 4 +- ...g_group_assignment_item_request_builder.py | 6 +- ...ning_configuration_item_request_builder.py | 6 +- ...ration_user_status_item_request_builder.py | 6 +- .../user_statuses_request_builder.py | 4 +- .../has_payload_links_request_builder.py | 2 +- ...managed_app_protections_request_builder.py | 4 +- .../item/apps/apps_request_builder.py | 4 +- ...managed_mobile_app_item_request_builder.py | 6 +- .../assignments_request_builder.py | 4 +- ..._policy_assignment_item_request_builder.py | 6 +- .../deployment_summary_request_builder.py | 6 +- ...ged_app_protection_item_request_builder.py | 6 +- ...managed_app_policy_item_request_builder.py | 6 +- .../target_apps_request_builder.py | 2 +- .../managed_app_policies_request_builder.py | 4 +- ...lagged_app_registration_request_builder.py | 2 +- .../applied_policies_request_builder.py | 4 +- ...managed_app_policy_item_request_builder.py | 6 +- .../target_apps_request_builder.py | 2 +- .../intended_policies_request_builder.py | 4 +- ...managed_app_policy_item_request_builder.py | 6 +- .../target_apps_request_builder.py | 2 +- ...d_app_registration_item_request_builder.py | 6 +- ...aged_app_operation_item_request_builder.py | 6 +- .../operations/operations_request_builder.py | 4 +- ...naged_app_registrations_request_builder.py | 4 +- ...managed_app_status_item_request_builder.py | 6 +- .../managed_app_statuses_request_builder.py | 4 +- ...ed_e_book_category_item_request_builder.py | 6 +- ...naged_e_book_categories_request_builder.py | 4 +- .../item/assign/assign_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ..._e_book_assignment_item_request_builder.py | 6 +- .../categories/categories_request_builder.py | 2 +- ...ed_e_book_category_item_request_builder.py | 2 +- .../device_states_request_builder.py | 4 +- ...vice_install_state_item_request_builder.py | 6 +- .../install_summary_request_builder.py | 6 +- .../managed_e_book_item_request_builder.py | 6 +- .../device_states_request_builder.py | 4 +- ...vice_install_state_item_request_builder.py | 6 +- ...tall_state_summary_item_request_builder.py | 6 +- .../user_state_summary_request_builder.py | 4 +- .../managed_e_books_request_builder.py | 4 +- .../has_payload_links_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ..._policy_assignment_item_request_builder.py | 6 +- ...exempt_app_locker_files_request_builder.py | 4 +- ...on_app_locker_file_item_request_builder.py | 6 +- ..._protection_policy_item_request_builder.py | 6 +- ...on_app_locker_file_item_request_builder.py | 6 +- ...tected_app_locker_files_request_builder.py | 4 +- ...ion_protection_policies_request_builder.py | 4 +- ...obile_app_category_item_request_builder.py | 6 +- .../mobile_app_categories_request_builder.py | 4 +- .../item/assign/assign_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ...uration_assignment_item_request_builder.py | 6 +- .../device_status_summary_request_builder.py | 6 +- .../device_statuses_request_builder.py | 4 +- ...tion_device_status_item_request_builder.py | 6 +- ..._app_configuration_item_request_builder.py | 6 +- .../user_status_summary_request_builder.py | 6 +- ...ration_user_status_item_request_builder.py | 6 +- .../user_statuses_request_builder.py | 4 +- ...bile_app_configurations_request_builder.py | 4 +- ...ph_android_for_work_app_request_builder.py | 2 +- .../graph_android_lob_app_request_builder.py | 2 +- ...droid_managed_store_app_request_builder.py | 2 +- ...graph_android_store_app_request_builder.py | 2 +- .../graph_ios_lob_app_request_builder.py | 2 +- .../graph_ios_store_app_request_builder.py | 2 +- .../graph_ios_vpp_app_request_builder.py | 2 +- .../graph_mac_o_s_dmg_app_request_builder.py | 2 +- .../graph_mac_o_s_lob_app_request_builder.py | 2 +- .../graph_mac_o_s_pkg_app_request_builder.py | 2 +- ...managed_android_lob_app_request_builder.py | 2 +- ...h_managed_i_o_s_lob_app_request_builder.py | 2 +- ..._managed_mobile_lob_app_request_builder.py | 2 +- ..._store_for_business_app_request_builder.py | 2 +- .../graph_win32_lob_app_request_builder.py | 2 +- .../graph_win_get_app_request_builder.py | 2 +- .../graph_windows_app_x_request_builder.py | 2 +- ...ph_windows_mobile_m_s_i_request_builder.py | 2 +- ...graph_windows_store_app_request_builder.py | 2 +- ...windows_universal_app_x_request_builder.py | 2 +- .../graph_windows_web_app_request_builder.py | 2 +- .../has_payload_links_request_builder.py | 2 +- .../item/assign/assign_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ...ile_app_assignment_item_request_builder.py | 6 +- .../categories/categories_request_builder.py | 2 +- ...obile_app_category_item_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ...ile_app_assignment_item_request_builder.py | 6 +- .../categories/categories_request_builder.py | 2 +- ...obile_app_category_item_request_builder.py | 2 +- ...ph_android_for_work_app_request_builder.py | 2 +- ...e_app_relationship_item_request_builder.py | 6 +- .../relationships_request_builder.py | 4 +- .../assignments_request_builder.py | 4 +- ...ile_app_assignment_item_request_builder.py | 6 +- .../categories/categories_request_builder.py | 2 +- ...obile_app_category_item_request_builder.py | 2 +- .../content_versions_request_builder.py | 4 +- .../contained_apps_request_builder.py | 4 +- ...bile_contained_app_item_request_builder.py | 6 +- .../item/files/files_request_builder.py | 4 +- .../item/commit/commit_request_builder.py | 2 +- ...e_app_content_file_item_request_builder.py | 6 +- .../renew_upload_request_builder.py | 2 +- ...mobile_app_content_item_request_builder.py | 6 +- .../graph_android_lob_app_request_builder.py | 2 +- ...e_app_relationship_item_request_builder.py | 6 +- .../relationships_request_builder.py | 4 +- .../assignments_request_builder.py | 4 +- ...ile_app_assignment_item_request_builder.py | 6 +- .../categories/categories_request_builder.py | 2 +- ...obile_app_category_item_request_builder.py | 2 +- ...droid_managed_store_app_request_builder.py | 2 +- ...e_app_relationship_item_request_builder.py | 6 +- .../relationships_request_builder.py | 4 +- .../assignments_request_builder.py | 4 +- ...ile_app_assignment_item_request_builder.py | 6 +- .../categories/categories_request_builder.py | 2 +- ...obile_app_category_item_request_builder.py | 2 +- ...graph_android_store_app_request_builder.py | 2 +- ...e_app_relationship_item_request_builder.py | 6 +- .../relationships_request_builder.py | 4 +- .../assignments_request_builder.py | 4 +- ...ile_app_assignment_item_request_builder.py | 6 +- .../categories/categories_request_builder.py | 2 +- ...obile_app_category_item_request_builder.py | 2 +- .../content_versions_request_builder.py | 4 +- .../contained_apps_request_builder.py | 4 +- ...bile_contained_app_item_request_builder.py | 6 +- .../item/files/files_request_builder.py | 4 +- .../item/commit/commit_request_builder.py | 2 +- ...e_app_content_file_item_request_builder.py | 6 +- .../renew_upload_request_builder.py | 2 +- ...mobile_app_content_item_request_builder.py | 6 +- .../graph_ios_lob_app_request_builder.py | 2 +- ...e_app_relationship_item_request_builder.py | 6 +- .../relationships_request_builder.py | 4 +- .../assignments_request_builder.py | 4 +- ...ile_app_assignment_item_request_builder.py | 6 +- .../categories/categories_request_builder.py | 2 +- ...obile_app_category_item_request_builder.py | 2 +- .../graph_ios_store_app_request_builder.py | 2 +- ...e_app_relationship_item_request_builder.py | 6 +- .../relationships_request_builder.py | 4 +- .../assigned_licenses_request_builder.py | 4 +- ...p_assigned_license_item_request_builder.py | 6 +- .../assignments_request_builder.py | 4 +- ...ile_app_assignment_item_request_builder.py | 6 +- .../categories/categories_request_builder.py | 2 +- ...obile_app_category_item_request_builder.py | 2 +- .../graph_ios_vpp_app_request_builder.py | 2 +- ...e_app_relationship_item_request_builder.py | 6 +- .../relationships_request_builder.py | 4 +- .../assignments_request_builder.py | 4 +- ...ile_app_assignment_item_request_builder.py | 6 +- .../categories/categories_request_builder.py | 2 +- ...obile_app_category_item_request_builder.py | 2 +- .../content_versions_request_builder.py | 4 +- .../contained_apps_request_builder.py | 4 +- ...bile_contained_app_item_request_builder.py | 6 +- .../item/files/files_request_builder.py | 4 +- .../item/commit/commit_request_builder.py | 2 +- ...e_app_content_file_item_request_builder.py | 6 +- .../renew_upload_request_builder.py | 2 +- ...mobile_app_content_item_request_builder.py | 6 +- .../graph_mac_o_s_dmg_app_request_builder.py | 2 +- ...e_app_relationship_item_request_builder.py | 6 +- .../relationships_request_builder.py | 4 +- .../assignments_request_builder.py | 4 +- ...ile_app_assignment_item_request_builder.py | 6 +- .../categories/categories_request_builder.py | 2 +- ...obile_app_category_item_request_builder.py | 2 +- .../content_versions_request_builder.py | 4 +- .../contained_apps_request_builder.py | 4 +- ...bile_contained_app_item_request_builder.py | 6 +- .../item/files/files_request_builder.py | 4 +- .../item/commit/commit_request_builder.py | 2 +- ...e_app_content_file_item_request_builder.py | 6 +- .../renew_upload_request_builder.py | 2 +- ...mobile_app_content_item_request_builder.py | 6 +- .../graph_mac_o_s_lob_app_request_builder.py | 2 +- ...e_app_relationship_item_request_builder.py | 6 +- .../relationships_request_builder.py | 4 +- .../assignments_request_builder.py | 4 +- ...ile_app_assignment_item_request_builder.py | 6 +- .../categories/categories_request_builder.py | 2 +- ...obile_app_category_item_request_builder.py | 2 +- .../content_versions_request_builder.py | 4 +- .../contained_apps_request_builder.py | 4 +- ...bile_contained_app_item_request_builder.py | 6 +- .../item/files/files_request_builder.py | 4 +- .../item/commit/commit_request_builder.py | 2 +- ...e_app_content_file_item_request_builder.py | 6 +- .../renew_upload_request_builder.py | 2 +- ...mobile_app_content_item_request_builder.py | 6 +- .../graph_mac_o_s_pkg_app_request_builder.py | 2 +- ...e_app_relationship_item_request_builder.py | 6 +- .../relationships_request_builder.py | 4 +- .../assignments_request_builder.py | 4 +- ...ile_app_assignment_item_request_builder.py | 6 +- .../categories/categories_request_builder.py | 2 +- ...obile_app_category_item_request_builder.py | 2 +- .../content_versions_request_builder.py | 4 +- .../contained_apps_request_builder.py | 4 +- ...bile_contained_app_item_request_builder.py | 6 +- .../item/files/files_request_builder.py | 4 +- .../item/commit/commit_request_builder.py | 2 +- ...e_app_content_file_item_request_builder.py | 6 +- .../renew_upload_request_builder.py | 2 +- ...mobile_app_content_item_request_builder.py | 6 +- ...managed_android_lob_app_request_builder.py | 2 +- ...e_app_relationship_item_request_builder.py | 6 +- .../relationships_request_builder.py | 4 +- .../assignments_request_builder.py | 4 +- ...ile_app_assignment_item_request_builder.py | 6 +- .../categories/categories_request_builder.py | 2 +- ...obile_app_category_item_request_builder.py | 2 +- .../content_versions_request_builder.py | 4 +- .../contained_apps_request_builder.py | 4 +- ...bile_contained_app_item_request_builder.py | 6 +- .../item/files/files_request_builder.py | 4 +- .../item/commit/commit_request_builder.py | 2 +- ...e_app_content_file_item_request_builder.py | 6 +- .../renew_upload_request_builder.py | 2 +- ...mobile_app_content_item_request_builder.py | 6 +- ...h_managed_i_o_s_lob_app_request_builder.py | 2 +- ...e_app_relationship_item_request_builder.py | 6 +- .../relationships_request_builder.py | 4 +- .../assignments_request_builder.py | 4 +- ...ile_app_assignment_item_request_builder.py | 6 +- .../categories/categories_request_builder.py | 2 +- ...obile_app_category_item_request_builder.py | 2 +- .../content_versions_request_builder.py | 4 +- .../contained_apps_request_builder.py | 4 +- ...bile_contained_app_item_request_builder.py | 6 +- .../item/files/files_request_builder.py | 4 +- .../item/commit/commit_request_builder.py | 2 +- ...e_app_content_file_item_request_builder.py | 6 +- .../renew_upload_request_builder.py | 2 +- ...mobile_app_content_item_request_builder.py | 6 +- ..._managed_mobile_lob_app_request_builder.py | 2 +- ...e_app_relationship_item_request_builder.py | 6 +- .../relationships_request_builder.py | 4 +- .../assignments_request_builder.py | 4 +- ...ile_app_assignment_item_request_builder.py | 6 +- .../categories/categories_request_builder.py | 2 +- ...obile_app_category_item_request_builder.py | 2 +- .../contained_apps_request_builder.py | 4 +- ...bile_contained_app_item_request_builder.py | 6 +- ..._store_for_business_app_request_builder.py | 2 +- ...e_app_relationship_item_request_builder.py | 6 +- .../relationships_request_builder.py | 4 +- .../assignments_request_builder.py | 4 +- ...ile_app_assignment_item_request_builder.py | 6 +- .../categories/categories_request_builder.py | 2 +- ...obile_app_category_item_request_builder.py | 2 +- .../content_versions_request_builder.py | 4 +- .../contained_apps_request_builder.py | 4 +- ...bile_contained_app_item_request_builder.py | 6 +- .../item/files/files_request_builder.py | 4 +- .../item/commit/commit_request_builder.py | 2 +- ...e_app_content_file_item_request_builder.py | 6 +- .../renew_upload_request_builder.py | 2 +- ...mobile_app_content_item_request_builder.py | 6 +- .../graph_win32_lob_app_request_builder.py | 2 +- ...e_app_relationship_item_request_builder.py | 6 +- .../relationships_request_builder.py | 4 +- .../assignments_request_builder.py | 4 +- ...ile_app_assignment_item_request_builder.py | 6 +- .../categories/categories_request_builder.py | 2 +- ...obile_app_category_item_request_builder.py | 2 +- .../graph_win_get_app_request_builder.py | 2 +- ...e_app_relationship_item_request_builder.py | 6 +- .../relationships_request_builder.py | 4 +- .../assignments_request_builder.py | 4 +- ...ile_app_assignment_item_request_builder.py | 6 +- .../categories/categories_request_builder.py | 2 +- ...obile_app_category_item_request_builder.py | 2 +- .../content_versions_request_builder.py | 4 +- .../contained_apps_request_builder.py | 4 +- ...bile_contained_app_item_request_builder.py | 6 +- .../item/files/files_request_builder.py | 4 +- .../item/commit/commit_request_builder.py | 2 +- ...e_app_content_file_item_request_builder.py | 6 +- .../renew_upload_request_builder.py | 2 +- ...mobile_app_content_item_request_builder.py | 6 +- .../graph_windows_app_x_request_builder.py | 2 +- ...e_app_relationship_item_request_builder.py | 6 +- .../relationships_request_builder.py | 4 +- .../assignments_request_builder.py | 4 +- ...ile_app_assignment_item_request_builder.py | 6 +- .../categories/categories_request_builder.py | 2 +- ...obile_app_category_item_request_builder.py | 2 +- .../content_versions_request_builder.py | 4 +- .../contained_apps_request_builder.py | 4 +- ...bile_contained_app_item_request_builder.py | 6 +- .../item/files/files_request_builder.py | 4 +- .../item/commit/commit_request_builder.py | 2 +- ...e_app_content_file_item_request_builder.py | 6 +- .../renew_upload_request_builder.py | 2 +- ...mobile_app_content_item_request_builder.py | 6 +- ...ph_windows_mobile_m_s_i_request_builder.py | 2 +- ...e_app_relationship_item_request_builder.py | 6 +- .../relationships_request_builder.py | 4 +- .../assignments_request_builder.py | 4 +- ...ile_app_assignment_item_request_builder.py | 6 +- .../categories/categories_request_builder.py | 2 +- ...obile_app_category_item_request_builder.py | 2 +- ...graph_windows_store_app_request_builder.py | 2 +- ...e_app_relationship_item_request_builder.py | 6 +- .../relationships_request_builder.py | 4 +- .../assignments_request_builder.py | 4 +- ...ile_app_assignment_item_request_builder.py | 6 +- .../categories/categories_request_builder.py | 2 +- ...obile_app_category_item_request_builder.py | 2 +- ...ommitted_contained_apps_request_builder.py | 4 +- ...bile_contained_app_item_request_builder.py | 6 +- .../content_versions_request_builder.py | 4 +- .../contained_apps_request_builder.py | 4 +- ...bile_contained_app_item_request_builder.py | 6 +- .../item/files/files_request_builder.py | 4 +- .../item/commit/commit_request_builder.py | 2 +- ...e_app_content_file_item_request_builder.py | 6 +- .../renew_upload_request_builder.py | 2 +- ...mobile_app_content_item_request_builder.py | 6 +- ...windows_universal_app_x_request_builder.py | 2 +- ...e_app_relationship_item_request_builder.py | 6 +- .../relationships_request_builder.py | 4 +- .../assignments_request_builder.py | 4 +- ...ile_app_assignment_item_request_builder.py | 6 +- .../categories/categories_request_builder.py | 2 +- ...obile_app_category_item_request_builder.py | 2 +- .../graph_windows_web_app_request_builder.py | 2 +- ...e_app_relationship_item_request_builder.py | 6 +- .../relationships_request_builder.py | 4 +- .../item/mobile_app_item_request_builder.py | 6 +- ...e_app_relationship_item_request_builder.py | 6 +- .../relationships_request_builder.py | 4 +- .../update_relationships_request_builder.py | 2 +- .../mobile_apps_request_builder.py | 4 +- .../validate_xml_request_builder.py | 2 +- .../get_policy_sets_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ...icy_set_assignment_item_request_builder.py | 6 +- .../policy_set_item_item_request_builder.py | 6 +- .../item/items/items_request_builder.py | 4 +- .../item/policy_set_item_request_builder.py | 6 +- .../item/update/update_request_builder.py | 2 +- .../policy_sets_request_builder.py | 4 +- ...ode_signing_certificate_request_builder.py | 6 +- ...store_for_business_apps_request_builder.py | 2 +- .../has_payload_links_request_builder.py | 2 +- .../item/apps/apps_request_builder.py | 4 +- ...managed_mobile_app_item_request_builder.py | 6 +- .../item/assign/assign_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ..._policy_assignment_item_request_builder.py | 6 +- .../change_settings_request_builder.py | 2 +- .../deployment_summary_request_builder.py | 6 +- ...figuration_setting_item_request_builder.py | 6 +- ...setting_definition_item_request_builder.py | 2 +- .../setting_definitions_request_builder.py | 2 +- .../item/settings/settings_request_builder.py | 4 +- .../target_apps_request_builder.py | 2 +- ..._app_configuration_item_request_builder.py | 6 +- ...aged_app_configurations_request_builder.py | 4 +- ..._for_app_with_bundle_id_request_builder.py | 2 +- .../revoke_licenses_request_builder.py | 2 +- .../sync_licenses_request_builder.py | 2 +- .../item/vpp_token_item_request_builder.py | 6 +- .../sync_license_counts_request_builder.py | 2 +- .../vpp_tokens/vpp_tokens_request_builder.py | 4 +- .../item/assign/assign_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ..._policy_assignment_item_request_builder.py | 6 +- .../deploy_summary_request_builder.py | 6 +- .../device_statuses_request_builder.py | 4 +- .../item/policy/policy_request_builder.py | 2 +- ..._deployment_status_item_request_builder.py | 6 +- ...upplemental_policy_item_request_builder.py | 6 +- ...c_supplemental_policies_request_builder.py | 4 +- ...evice_registration_item_request_builder.py | 6 +- .../item/wipe/wipe_request_builder.py | 2 +- ...on_device_registrations_request_builder.py | 4 +- .../assignments_request_builder.py | 4 +- ..._policy_assignment_item_request_builder.py | 6 +- ...exempt_app_locker_files_request_builder.py | 4 +- ...on_app_locker_file_item_request_builder.py | 6 +- ...on_app_locker_file_item_request_builder.py | 6 +- ...tected_app_locker_files_request_builder.py | 4 +- ..._protection_policy_item_request_builder.py | 6 +- ...ion_protection_policies_request_builder.py | 4 +- ...ection_wipe_action_item_request_builder.py | 6 +- ...protection_wipe_actions_request_builder.py | 4 +- .../item/apps/apps_request_builder.py | 4 +- ...managed_mobile_app_item_request_builder.py | 6 +- .../item/assign/assign_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ..._policy_assignment_item_request_builder.py | 6 +- .../target_apps_request_builder.py | 2 +- ...ged_app_protection_item_request_builder.py | 6 +- ...managed_app_protections_request_builder.py | 4 +- .../windows_management_app_request_builder.py | 2 +- ...evice_local_credentials_request_builder.py | 16 +- ...al_credential_info_item_request_builder.py | 13 +- ...g_device_setting_states_request_builder.py | 4 +- ...vice_setting_state_item_request_builder.py | 6 +- ...nboarding_state_summary_request_builder.py | 6 +- ...ner_enrollment_profiles_request_builder.py | 4 +- ...enrollment_profile_item_request_builder.py | 6 +- .../create_token_request_builder.py | 2 +- .../revoke_token_request_builder.py | 2 +- ...p_configuration_schemas_request_builder.py | 4 +- ...nfiguration_schema_item_request_builder.py | 6 +- ...ork_enrollment_profiles_request_builder.py | 4 +- ...enrollment_profile_item_request_builder.py | 6 +- .../create_token_request_builder.py | 2 +- .../revoke_token_request_builder.py | 2 +- ...droid_for_work_settings_request_builder.py | 6 +- .../complete_signup_request_builder.py | 2 +- .../request_signup_url_request_builder.py | 2 +- .../sync_apps/sync_apps_request_builder.py | 2 +- .../unbind/unbind_request_builder.py | 2 +- .../add_apps/add_apps_request_builder.py | 2 +- ...unt_enterprise_settings_request_builder.py | 6 +- .../approve_apps_request_builder.py | 2 +- .../complete_signup_request_builder.py | 2 +- ...e_google_play_web_token_request_builder.py | 2 +- .../request_signup_url_request_builder.py | 2 +- ...anaged_enrollment_state_request_builder.py | 2 +- .../sync_apps/sync_apps_request_builder.py | 2 +- .../unbind/unbind_request_builder.py | 2 +- ...p_configuration_schemas_request_builder.py | 4 +- ...nfiguration_schema_item_request_builder.py | 6 +- ...otification_certificate_request_builder.py | 6 +- ...ificate_signing_request_request_builder.py | 2 +- ...ificate_signing_request_request_builder.py | 2 +- ...ted_enrollment_profiles_request_builder.py | 4 +- ...enrollment_profile_item_request_builder.py | 6 +- .../assignments_request_builder.py | 4 +- ...profile_assignment_item_request_builder.py | 6 +- .../set_priority_request_builder.py | 2 +- .../assignment_filters_request_builder.py | 4 +- .../enable/enable_request_builder.py | 2 +- ...roperties_with_platform_request_builder.py | 2 +- .../get_state/get_state_request_builder.py | 2 +- ..._assignment_filter_item_request_builder.py | 6 +- ...et_supported_properties_request_builder.py | 2 +- .../validate_filter_request_builder.py | 2 +- .../audit_events_request_builder.py | 4 +- ...ity_types_with_category_request_builder.py | 2 +- .../get_audit_categories_request_builder.py | 2 +- .../item/audit_event_item_request_builder.py | 6 +- .../autopilot_events_request_builder.py | 4 +- ...nt_autopilot_event_item_request_builder.py | 6 +- ...licy_status_detail_item_request_builder.py | 6 +- .../policy_status_details_request_builder.py | 4 +- ...t_to_class_associations_request_builder.py | 4 +- ..._class_association_item_request_builder.py | 6 +- .../categories/categories_request_builder.py | 4 +- ...t_setting_category_item_request_builder.py | 6 +- ...setting_definition_item_request_builder.py | 6 +- .../setting_definitions_request_builder.py | 4 +- ...icate_connector_details_request_builder.py | 4 +- ..._connector_details_item_request_builder.py | 6 +- ...alth_metric_time_series_request_builder.py | 2 +- .../get_health_metrics_request_builder.py | 2 +- ...o_s_onboarding_settings_request_builder.py | 4 +- .../connect/connect_request_builder.py | 2 +- .../disconnect/disconnect_request_builder.py | 2 +- ...nboarding_settings_item_request_builder.py | 6 +- ...p_c_connectivity_issues_request_builder.py | 4 +- ...connectivity_issue_item_request_builder.py | 6 +- ...pp_diagnostics_with_upn_request_builder.py | 2 +- ...lk_reprovision_cloud_pc_request_builder.py | 6 +- .../bulk_restore_cloud_pc_request_builder.py | 6 +- ..._cloud_pc_review_status_request_builder.py | 6 +- .../comanaged_devices_request_builder.py | 4 +- ...ownload_app_diagnostics_request_builder.py | 2 +- .../execute_action_request_builder.py | 2 +- .../activate_device_esim_request_builder.py | 2 +- ...aluation_status_details_request_builder.py | 4 +- ...ion_status_details_item_request_builder.py | 6 +- .../bypass_activation_lock_request_builder.py | 2 +- .../clean_windows_device_request_builder.py | 2 +- ..._log_collection_request_request_builder.py | 2 +- ...rom_shared_apple_device_request_builder.py | 2 +- .../deprovision_request_builder.py | 2 +- .../detected_apps_request_builder.py | 2 +- .../item/detected_app_item_request_builder.py | 2 +- .../device_category_request_builder.py | 6 +- ...ompliance_policy_states_request_builder.py | 4 +- ...iance_policy_state_item_request_builder.py | 6 +- ...ce_configuration_states_request_builder.py | 4 +- ...onfiguration_state_item_request_builder.py | 6 +- ...ce_health_script_states_request_builder.py | 4 +- ...olicy_id_with_device_id_request_builder.py | 6 +- .../item/disable/disable_request_builder.py | 2 +- .../disable_lost_mode_request_builder.py | 2 +- .../enable_lost_mode_request_builder.py | 2 +- .../enroll_now_action_request_builder.py | 2 +- ...c_remote_action_results_request_builder.py | 2 +- ..._cloud_pc_review_status_request_builder.py | 2 +- .../get_file_vault_key_request_builder.py | 2 +- ..._non_compliant_settings_request_builder.py | 2 +- ...management_key_recovery_request_builder.py | 2 +- ...d_proactive_remediation_request_builder.py | 2 +- .../locate_device_request_builder.py | 2 +- .../create_download_url_request_builder.py | 2 +- ...ollection_response_item_request_builder.py | 6 +- ...log_collection_requests_request_builder.py | 4 +- ...pple_device_active_user_request_builder.py | 2 +- .../managed_device_item_request_builder.py | 16 +- ...onfiguration_state_item_request_builder.py | 6 +- ...pp_configuration_states_request_builder.py | 4 +- ...erride_compliance_state_request_builder.py | 2 +- ...configuration_refresh_post_request_body.py | 49 +++ ...e_configuration_refresh_request_builder.py | 91 ++++++ .../play_lost_mode_sound_request_builder.py | 2 +- .../reboot_now/reboot_now_request_builder.py | 2 +- .../recover_passcode_request_builder.py | 2 +- .../item/reenable/reenable_request_builder.py | 2 +- .../remote_lock_request_builder.py | 2 +- ...on_interface_management_request_builder.py | 2 +- .../reprovision_cloud_pc_request_builder.py | 6 +- ...quest_remote_assistance_request_builder.py | 2 +- .../reset_passcode_request_builder.py | 2 +- .../resize_cloud_pc_request_builder.py | 6 +- .../restore_cloud_pc_request_builder.py | 6 +- .../item/retire/retire_request_builder.py | 2 +- ...voke_apple_vpp_licenses_request_builder.py | 2 +- .../rotate_bit_locker_keys_request_builder.py | 2 +- .../rotate_file_vault_key_request_builder.py | 2 +- ...te_local_admin_password_request_builder.py | 2 +- ...ity_baseline_state_item_request_builder.py | 6 +- ...line_setting_state_item_request_builder.py | 6 +- .../setting_states_request_builder.py | 4 +- ...ecurity_baseline_states_request_builder.py | 4 +- ...ation_to_company_portal_request_builder.py | 2 +- ..._cloud_pc_review_status_request_builder.py | 6 +- .../set_device_name_request_builder.py | 2 +- .../shut_down/shut_down_request_builder.py | 2 +- .../sync_device_request_builder.py | 2 +- ...guration_manager_action_request_builder.py | 2 +- ..._windows_device_account_request_builder.py | 2 +- .../item/users/users_request_builder.py | 2 +- .../windows_defender_scan_request_builder.py | 2 +- ...ender_update_signatures_request_builder.py | 2 +- .../detected_malware_state_request_builder.py | 4 +- ...vice_malware_state_item_request_builder.py | 6 +- ...indows_protection_state_request_builder.py | 6 +- .../item/wipe/wipe_request_builder.py | 2 +- .../move_devices_to_o_u_request_builder.py | 2 +- ...gement_eligible_devices_request_builder.py | 4 +- ...nt_eligible_device_item_request_builder.py | 6 +- .../compliance_categories_request_builder.py | 4 +- ...iguration_category_item_request_builder.py | 6 +- ...nce_management_partners_request_builder.py | 4 +- ...management_partner_item_request_builder.py | 6 +- .../compliance_policies_request_builder.py | 4 +- .../item/assign/assign_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ..._policy_assignment_item_request_builder.py | 6 +- ..._compliance_policy_item_request_builder.py | 6 +- ...ed_action_for_rule_item_request_builder.py | 6 +- ...liance_action_item_item_request_builder.py | 6 +- ...d_action_configurations_request_builder.py | 4 +- ...eduled_actions_for_rule_request_builder.py | 4 +- .../set_scheduled_actions_request_builder.py | 2 +- ...figuration_setting_item_request_builder.py | 6 +- ...setting_definition_item_request_builder.py | 2 +- .../setting_definitions_request_builder.py | 2 +- .../item/settings/settings_request_builder.py | 4 +- .../compliance_settings_request_builder.py | 4 +- ...setting_definition_item_request_builder.py | 6 +- ...itional_access_settings_request_builder.py | 6 +- ...fig_manager_collections_request_builder.py | 4 +- ..._summary_with_policy_id_request_builder.py | 2 +- ...manager_collection_item_request_builder.py | 6 +- ...onfiguration_categories_request_builder.py | 4 +- ...iguration_category_item_request_builder.py | 6 +- .../configuration_policies_request_builder.py | 4 +- .../item/assign/assign_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ..._policy_assignment_item_request_builder.py | 6 +- .../create_copy_request_builder.py | 2 +- ...nfiguration_policy_item_request_builder.py | 16 +- .../item/reorder/reorder_request_builder.py | 2 +- ...default_baseline_policy_request_builder.py | 86 +++++ ...figuration_setting_item_request_builder.py | 6 +- ...setting_definition_item_request_builder.py | 2 +- .../setting_definitions_request_builder.py | 2 +- .../item/settings/settings_request_builder.py | 4 +- ...ration_policy_templates_request_builder.py | 4 +- ...on_policy_template_item_request_builder.py | 6 +- ...n_setting_template_item_request_builder.py | 6 +- ...setting_definition_item_request_builder.py | 6 +- .../setting_definitions_request_builder.py | 4 +- .../setting_templates_request_builder.py | 4 +- .../configuration_settings_request_builder.py | 4 +- ...setting_definition_item_request_builder.py | 6 +- .../data_sharing_consents_request_builder.py | 4 +- ...consent_to_data_sharing_request_builder.py | 2 +- ...ta_sharing_consent_item_request_builder.py | 6 +- ...dep_onboarding_settings_request_builder.py | 4 +- ...piring_before_date_time_request_builder.py | 2 +- ..._ios_enrollment_profile_request_builder.py | 2 +- ...c_os_enrollment_profile_request_builder.py | 2 +- ...onboarding_setting_item_request_builder.py | 6 +- .../enrollment_profiles_request_builder.py | 4 +- ...enrollment_profile_item_request_builder.py | 6 +- .../export_mobile_config_request_builder.py | 2 +- .../set_default_profile_request_builder.py | 2 +- ...vice_profile_assignment_request_builder.py | 2 +- ...e_encryption_public_key_request_builder.py | 2 +- ...t_encryption_public_key_request_builder.py | 2 +- ...le_device_identity_list_request_builder.py | 2 +- ...apple_device_identities_request_builder.py | 4 +- ...le_device_identity_item_request_builder.py | 6 +- ...chool_data_sync_service_request_builder.py | 2 +- ...vice_enrollment_program_request_builder.py | 2 +- ...chool_data_sync_service_request_builder.py | 2 +- .../upload_dep_token_request_builder.py | 2 +- .../derived_credentials_request_builder.py | 4 +- ...redential_settings_item_request_builder.py | 6 +- .../detected_apps_request_builder.py | 4 +- .../item/detected_app_item_request_builder.py | 6 +- .../managed_device_item_request_builder.py | 2 +- .../managed_devices_request_builder.py | 2 +- .../device_categories_request_builder.py | 4 +- .../device_category_item_request_builder.py | 6 +- ...ice_compliance_policies_request_builder.py | 4 +- ...ces_scheduled_to_retire_request_builder.py | 2 +- ...liant_devices_to_retire_request_builder.py | 2 +- .../has_payload_links_request_builder.py | 2 +- .../item/assign/assign_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ..._policy_assignment_item_request_builder.py | 6 +- ..._compliance_policy_item_request_builder.py | 6 +- ...setting_state_summaries_request_builder.py | 4 +- ...ate_device_summary_item_request_builder.py | 6 +- .../device_status_overview_request_builder.py | 6 +- .../device_statuses_request_builder.py | 4 +- ...ance_device_status_item_request_builder.py | 6 +- ...edule_actions_for_rules_request_builder.py | 2 +- ...ed_action_for_rule_item_request_builder.py | 6 +- ...liance_action_item_item_request_builder.py | 6 +- ...d_action_configurations_request_builder.py | 4 +- ...eduled_actions_for_rule_request_builder.py | 4 +- .../user_status_overview_request_builder.py | 6 +- ...liance_user_status_item_request_builder.py | 6 +- .../user_statuses_request_builder.py | 4 +- ...ce_report_summarization_request_builder.py | 2 +- ..._scheduled_retire_state_request_builder.py | 2 +- ...idate_compliance_script_request_builder.py | 2 +- ...cy_device_state_summary_request_builder.py | 6 +- ...setting_state_summaries_request_builder.py | 4 +- ...ting_state_summary_item_request_builder.py | 6 +- ...mpliance_setting_states_request_builder.py | 4 +- ...ance_setting_state_item_request_builder.py | 6 +- ...vice_compliance_scripts_request_builder.py | 4 +- .../item/assign/assign_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ..._script_assignment_item_request_builder.py | 6 +- ..._compliance_script_item_request_builder.py | 6 +- .../device_run_states_request_builder.py | 4 +- ...cript_device_state_item_request_builder.py | 6 +- .../managed_device_request_builder.py | 2 +- .../run_summary_request_builder.py | 6 +- ...ration_conflict_summary_request_builder.py | 4 +- ...n_conflict_summary_item_request_builder.py | 6 +- ..._device_state_summaries_request_builder.py | 6 +- ...tricted_apps_violations_request_builder.py | 4 +- ...ted_apps_violation_item_request_builder.py | 6 +- ...on_user_state_summaries_request_builder.py | 6 +- .../device_configurations_request_builder.py | 4 +- ...ailable_update_versions_request_builder.py | 2 +- ...geted_users_and_devices_request_builder.py | 2 +- .../has_payload_links_request_builder.py | 2 +- .../item/assign/assign_request_builder.py | 2 +- ...ess_multi_mode_profiles_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ...uration_assignment_item_request_builder.py | 6 +- ...vice_configuration_item_request_builder.py | 6 +- ...setting_state_summaries_request_builder.py | 4 +- ...ate_device_summary_item_request_builder.py | 6 +- .../device_status_overview_request_builder.py | 6 +- .../device_statuses_request_builder.py | 4 +- ...tion_device_status_item_request_builder.py | 6 +- ...cret_reference_value_id_request_builder.py | 2 +- .../group_assignments_request_builder.py | 4 +- .../device_configuration_request_builder.py | 2 +- ...n_group_assignment_item_request_builder.py | 6 +- .../user_status_overview_request_builder.py | 6 +- ...ration_user_status_item_request_builder.py | 6 +- .../user_statuses_request_builder.py | 4 +- ...privacy_access_controls_request_builder.py | 2 +- ...vice_certificate_states_request_builder.py | 4 +- ..._certificate_state_item_request_builder.py | 6 +- ...attribute_shell_scripts_request_builder.py | 4 +- .../item/assign/assign_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ..._script_assignment_item_request_builder.py | 6 +- ...ibute_shell_script_item_request_builder.py | 6 +- .../device_run_states_request_builder.py | 4 +- ...cript_device_state_item_request_builder.py | 6 +- .../managed_device_request_builder.py | 2 +- .../group_assignments_request_builder.py | 4 +- ...t_group_assignment_item_request_builder.py | 6 +- .../run_summary_request_builder.py | 2 +- ..._script_user_state_item_request_builder.py | 6 +- .../device_run_states_request_builder.py | 4 +- ...cript_device_state_item_request_builder.py | 6 +- .../managed_device_request_builder.py | 2 +- .../user_run_states_request_builder.py | 4 +- ...ification_configuration_request_builder.py | 2 +- ...rollment_configurations_request_builder.py | 4 +- .../has_payload_links_request_builder.py | 2 +- .../item/assign/assign_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ...uration_assignment_item_request_builder.py | 6 +- ...ment_configuration_item_request_builder.py | 6 +- .../set_priority_request_builder.py | 2 +- ...lobal_scripts_available_request_builder.py | 2 +- .../device_health_scripts_request_builder.py | 4 +- .../enable_global_scripts_request_builder.py | 2 +- ...get_remediation_summary_request_builder.py | 2 +- .../item/assign/assign_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ..._script_assignment_item_request_builder.py | 6 +- ...vice_health_script_item_request_builder.py | 6 +- .../device_run_states_request_builder.py | 4 +- ...cript_device_state_item_request_builder.py | 6 +- .../managed_device_request_builder.py | 2 +- ...ghest_available_version_request_builder.py | 2 +- ...get_remediation_history_request_builder.py | 2 +- .../run_summary_request_builder.py | 6 +- .../update_global_script_request_builder.py | 2 +- ...ice_management_partners_request_builder.py | 4 +- ...management_partner_item_request_builder.py | 6 +- .../terminate/terminate_request_builder.py | 2 +- .../device_management_request_builder.py | 14 +- ...vice_management_scripts_request_builder.py | 4 +- .../has_payload_links_request_builder.py | 2 +- .../item/assign/assign_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ..._script_assignment_item_request_builder.py | 6 +- ..._management_script_item_request_builder.py | 6 +- .../device_run_states_request_builder.py | 4 +- ...cript_device_state_item_request_builder.py | 6 +- .../managed_device_request_builder.py | 2 +- .../group_assignments_request_builder.py | 4 +- ...t_group_assignment_item_request_builder.py | 6 +- .../run_summary_request_builder.py | 2 +- ..._script_user_state_item_request_builder.py | 6 +- .../device_run_states_request_builder.py | 4 +- ...cript_device_state_item_request_builder.py | 6 +- .../managed_device_request_builder.py | 2 +- .../user_run_states_request_builder.py | 4 +- .../device_shell_scripts_request_builder.py | 4 +- .../item/assign/assign_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ..._script_assignment_item_request_builder.py | 6 +- .../device_run_states_request_builder.py | 4 +- ...cript_device_state_item_request_builder.py | 6 +- .../managed_device_request_builder.py | 2 +- ...evice_shell_script_item_request_builder.py | 6 +- .../group_assignments_request_builder.py | 4 +- ...t_group_assignment_item_request_builder.py | 6 +- .../run_summary_request_builder.py | 2 +- ..._script_user_state_item_request_builder.py | 6 +- .../device_run_states_request_builder.py | 4 +- ...cript_device_state_item_request_builder.py | 6 +- .../managed_device_request_builder.py | 2 +- .../user_run_states_request_builder.py | 4 +- .../domain_join_connectors_request_builder.py | 4 +- ...ain_join_connector_item_request_builder.py | 6 +- .../count/count_request_builder.py | 113 +++++++ .../elevation_requests_request_builder.py | 226 +++++++++++++ .../item/approve/approve_post_request_body.py | 49 +++ .../item/approve/approve_request_builder.py | 94 ++++++ .../item/deny/deny_post_request_body.py | 49 +++ .../item/deny/deny_request_builder.py | 94 ++++++ ...et_all_elevation_requests_post_response.py | 57 ++++ ..._all_elevation_requests_request_builder.py | 86 +++++ ..._elevation_request_item_request_builder.py | 245 +++++++++++++++ ...m_activation_code_pools_request_builder.py | 4 +- .../item/assign/assign_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ...de_pool_assignment_item_request_builder.py | 6 +- .../device_states_request_builder.py | 4 +- ...s_i_m_device_state_item_request_builder.py | 6 +- ...tivation_code_pool_item_request_builder.py | 6 +- ...dministrator_enrollment_request_builder.py | 2 +- ...le_legacy_pc_management_request_builder.py | 2 +- ...nlicensed_adminstrators_request_builder.py | 2 +- ...luate_assignment_filter_request_builder.py | 2 +- .../exchange_connectors_request_builder.py | 4 +- ...exchange_connector_item_request_builder.py | 6 +- .../item/sync/sync_request_builder.py | 2 +- ...ge_on_premises_policies_request_builder.py | 4 +- ...itional_access_settings_request_builder.py | 6 +- ...on_premises_policy_item_request_builder.py | 6 +- ...itional_access_settings_request_builder.py | 6 +- ...ange_on_premises_policy_request_builder.py | 6 +- ...t_assigned_role_details_request_builder.py | 2 +- ..._filters_status_details_request_builder.py | 2 +- ...managed_devices_summary_request_builder.py | 2 +- ...ligible_devices_summary_request_builder.py | 2 +- ...t_effective_permissions_request_builder.py | 2 +- ..._permissions_with_scope_request_builder.py | 2 +- ...pe_tags_by_ids_with_ids_request_builder.py | 2 +- ..._resource_with_resource_request_builder.py | 2 +- ...it_with_enrollment_type_request_builder.py | 2 +- ...group_policy_categories_request_builder.py | 4 +- .../item/children/children_request_builder.py | 2 +- ...up_policy_category_item_request_builder.py | 2 +- .../definition_file_request_builder.py | 2 +- .../definitions_request_builder.py | 2 +- ..._policy_definition_item_request_builder.py | 2 +- ...up_policy_category_item_request_builder.py | 6 +- .../item/parent/parent_request_builder.py | 2 +- ...p_policy_configurations_request_builder.py | 4 +- .../item/assign/assign_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ...uration_assignment_item_request_builder.py | 6 +- .../definition_values_request_builder.py | 4 +- .../definition/definition_request_builder.py | 2 +- ...y_definition_value_item_request_builder.py | 6 +- .../definition_value_request_builder.py | 2 +- ...presentation_value_item_request_builder.py | 6 +- .../presentation_request_builder.py | 2 +- .../presentation_values_request_builder.py | 4 +- ...licy_configuration_item_request_builder.py | 6 +- ...pdate_definition_values_request_builder.py | 2 +- ...policy_definition_files_request_builder.py | 4 +- .../definitions_request_builder.py | 2 +- ..._policy_definition_item_request_builder.py | 2 +- ...cy_definition_file_item_request_builder.py | 6 +- ...roup_policy_definitions_request_builder.py | 4 +- .../item/category/category_request_builder.py | 2 +- .../definition_file_request_builder.py | 2 +- ..._policy_definition_item_request_builder.py | 6 +- .../category/category_request_builder.py | 2 +- .../definition_file_request_builder.py | 2 +- ...next_version_definition_request_builder.py | 6 +- .../definition/definition_request_builder.py | 2 +- ...olicy_presentation_item_request_builder.py | 6 +- .../presentations_request_builder.py | 4 +- .../category/category_request_builder.py | 2 +- .../definition_file_request_builder.py | 2 +- .../definition/definition_request_builder.py | 2 +- ...olicy_presentation_item_request_builder.py | 6 +- .../presentations_request_builder.py | 4 +- ...ious_version_definition_request_builder.py | 6 +- .../definition/definition_request_builder.py | 2 +- ...olicy_presentation_item_request_builder.py | 6 +- .../presentations_request_builder.py | 4 +- .../category/category_request_builder.py | 2 +- .../definition_file_request_builder.py | 2 +- .../category/category_request_builder.py | 2 +- .../definition_file_request_builder.py | 2 +- ...next_version_definition_request_builder.py | 6 +- .../definition/definition_request_builder.py | 2 +- ...olicy_presentation_item_request_builder.py | 6 +- .../presentations_request_builder.py | 4 +- .../definition/definition_request_builder.py | 2 +- ...olicy_presentation_item_request_builder.py | 6 +- .../presentations_request_builder.py | 4 +- ...ious_version_definition_request_builder.py | 6 +- ...create_migration_report_request_builder.py | 2 +- ...olicy_migration_reports_request_builder.py | 4 +- ...y_migration_report_item_request_builder.py | 6 +- ...policy_setting_mappings_request_builder.py | 4 +- ...cy_setting_mapping_item_request_builder.py | 6 +- ...p_policy_extension_item_request_builder.py | 6 +- ...group_policy_extensions_request_builder.py | 4 +- .../update_scope_tags_request_builder.py | 2 +- ...oup_policy_object_files_request_builder.py | 4 +- ...policy_object_file_item_request_builder.py | 6 +- ...loaded_definition_files_request_builder.py | 4 +- .../add_language_files_request_builder.py | 2 +- .../definitions_request_builder.py | 2 +- ..._policy_definition_item_request_builder.py | 2 +- ...group_policy_operations_request_builder.py | 4 +- ...p_policy_operation_item_request_builder.py | 6 +- ...ed_definition_file_item_request_builder.py | 6 +- .../item/remove/remove_request_builder.py | 2 +- .../remove_language_files_request_builder.py | 2 +- .../update_language_files_request_builder.py | 2 +- .../upload_new_version_request_builder.py | 2 +- ...rt_device_identity_list_request_builder.py | 2 +- ...orted_device_identities_request_builder.py | 4 +- ...ed_device_identity_item_request_builder.py | 6 +- ...rch_existing_identities_request_builder.py | 2 +- .../import_/import_request_builder.py | 2 +- ...pilot_device_identities_request_builder.py | 4 +- ...ot_device_identity_item_request_builder.py | 6 +- .../intents/intents_request_builder.py | 4 +- .../item/assign/assign_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ..._intent_assignment_item_request_builder.py | 6 +- .../categories/categories_request_builder.py | 4 +- ...t_setting_category_item_request_builder.py | 6 +- ...setting_definition_item_request_builder.py | 6 +- .../setting_definitions_request_builder.py | 4 +- ...t_setting_instance_item_request_builder.py | 6 +- .../item/settings/settings_request_builder.py | 4 +- ...ompare_with_template_id_request_builder.py | 2 +- .../create_copy_request_builder.py | 2 +- ..._management_intent_item_request_builder.py | 6 +- ...setting_state_summaries_request_builder.py | 4 +- ...ting_state_summary_item_request_builder.py | 6 +- .../device_state_summary_request_builder.py | 6 +- .../device_states_request_builder.py | 4 +- ...ntent_device_state_item_request_builder.py | 6 +- ...get_customized_settings_request_builder.py | 2 +- .../migrate_to_template_request_builder.py | 2 +- ...t_setting_instance_item_request_builder.py | 6 +- .../item/settings/settings_request_builder.py | 4 +- .../update_settings_request_builder.py | 2 +- .../user_state_summary_request_builder.py | 6 +- ..._intent_user_state_item_request_builder.py | 6 +- .../user_states_request_builder.py | 4 +- ...ntune_branding_profiles_request_builder.py | 4 +- .../item/assign/assign_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ...profile_assignment_item_request_builder.py | 6 +- ...e_branding_profile_item_request_builder.py | 6 +- .../ios_update_statuses_request_builder.py | 4 +- ...date_device_status_item_request_builder.py | 6 +- .../category_summaries_request_builder.py | 4 +- ...e_category_summary_item_request_builder.py | 6 +- ...date_state_summary_item_request_builder.py | 6 +- .../update_state_summaries_request_builder.py | 4 +- ...te_account_summary_item_request_builder.py | 6 +- ...pdate_account_summaries_request_builder.py | 4 +- ...e_encryption_state_item_request_builder.py | 6 +- ...evice_encryption_states_request_builder.py | 4 +- ...managed_device_overview_request_builder.py | 2 +- ...pp_diagnostics_with_upn_request_builder.py | 2 +- ...lk_reprovision_cloud_pc_request_builder.py | 6 +- .../bulk_restore_cloud_pc_request_builder.py | 6 +- ..._cloud_pc_review_status_request_builder.py | 6 +- ...ownload_app_diagnostics_request_builder.py | 2 +- .../execute_action_request_builder.py | 2 +- .../activate_device_esim_request_builder.py | 2 +- ...aluation_status_details_request_builder.py | 4 +- ...ion_status_details_item_request_builder.py | 6 +- .../bypass_activation_lock_request_builder.py | 2 +- .../clean_windows_device_request_builder.py | 2 +- ..._log_collection_request_request_builder.py | 2 +- ...rom_shared_apple_device_request_builder.py | 2 +- .../deprovision_request_builder.py | 2 +- .../detected_apps_request_builder.py | 2 +- .../item/detected_app_item_request_builder.py | 2 +- .../device_category_request_builder.py | 6 +- ...ompliance_policy_states_request_builder.py | 4 +- ...iance_policy_state_item_request_builder.py | 6 +- ...ce_configuration_states_request_builder.py | 4 +- ...onfiguration_state_item_request_builder.py | 6 +- ...ce_health_script_states_request_builder.py | 4 +- ...olicy_id_with_device_id_request_builder.py | 6 +- .../item/disable/disable_request_builder.py | 2 +- .../disable_lost_mode_request_builder.py | 2 +- .../enable_lost_mode_request_builder.py | 2 +- .../enroll_now_action_request_builder.py | 2 +- ...c_remote_action_results_request_builder.py | 2 +- ..._cloud_pc_review_status_request_builder.py | 2 +- .../get_file_vault_key_request_builder.py | 2 +- ..._non_compliant_settings_request_builder.py | 2 +- ...management_key_recovery_request_builder.py | 2 +- ...d_proactive_remediation_request_builder.py | 2 +- .../locate_device_request_builder.py | 2 +- .../create_download_url_request_builder.py | 2 +- ...ollection_response_item_request_builder.py | 6 +- ...log_collection_requests_request_builder.py | 4 +- ...pple_device_active_user_request_builder.py | 2 +- .../managed_device_item_request_builder.py | 16 +- ...onfiguration_state_item_request_builder.py | 6 +- ...pp_configuration_states_request_builder.py | 4 +- ...erride_compliance_state_request_builder.py | 2 +- ...configuration_refresh_post_request_body.py | 49 +++ ...e_configuration_refresh_request_builder.py | 91 ++++++ .../play_lost_mode_sound_request_builder.py | 2 +- .../reboot_now/reboot_now_request_builder.py | 2 +- .../recover_passcode_request_builder.py | 2 +- .../item/reenable/reenable_request_builder.py | 2 +- .../remote_lock_request_builder.py | 2 +- ...on_interface_management_request_builder.py | 2 +- .../reprovision_cloud_pc_request_builder.py | 6 +- ...quest_remote_assistance_request_builder.py | 2 +- .../reset_passcode_request_builder.py | 2 +- .../resize_cloud_pc_request_builder.py | 6 +- .../restore_cloud_pc_request_builder.py | 6 +- .../item/retire/retire_request_builder.py | 2 +- ...voke_apple_vpp_licenses_request_builder.py | 2 +- .../rotate_bit_locker_keys_request_builder.py | 2 +- .../rotate_file_vault_key_request_builder.py | 2 +- ...te_local_admin_password_request_builder.py | 2 +- ...ity_baseline_state_item_request_builder.py | 6 +- ...line_setting_state_item_request_builder.py | 6 +- .../setting_states_request_builder.py | 4 +- ...ecurity_baseline_states_request_builder.py | 4 +- ...ation_to_company_portal_request_builder.py | 2 +- ..._cloud_pc_review_status_request_builder.py | 6 +- .../set_device_name_request_builder.py | 2 +- .../shut_down/shut_down_request_builder.py | 2 +- .../sync_device_request_builder.py | 2 +- ...guration_manager_action_request_builder.py | 2 +- ..._windows_device_account_request_builder.py | 2 +- .../item/users/users_request_builder.py | 2 +- .../windows_defender_scan_request_builder.py | 2 +- ...ender_update_signatures_request_builder.py | 2 +- .../detected_malware_state_request_builder.py | 4 +- ...vice_malware_state_item_request_builder.py | 6 +- ...indows_protection_state_request_builder.py | 6 +- .../item/wipe/wipe_request_builder.py | 2 +- .../managed_devices_request_builder.py | 4 +- .../move_devices_to_o_u_request_builder.py | 2 +- ...nnel_configuration_item_request_builder.py | 6 +- ...t_tunnel_configurations_request_builder.py | 4 +- ...l_health_threshold_item_request_builder.py | 6 +- ...unnel_health_thresholds_request_builder.py | 4 +- .../create_download_url_request_builder.py | 2 +- .../generate_download_url_request_builder.py | 2 +- ...ollection_response_item_request_builder.py | 6 +- ...og_collection_responses_request_builder.py | 4 +- ...ft_tunnel_configuration_request_builder.py | 6 +- ..._log_collection_request_request_builder.py | 2 +- ..._log_collection_request_request_builder.py | 2 +- ...alth_metric_time_series_request_builder.py | 2 +- .../get_health_metrics_request_builder.py | 2 +- ...soft_tunnel_server_item_request_builder.py | 6 +- ...icrosoft_tunnel_servers_request_builder.py | 4 +- ...rosoft_tunnel_site_item_request_builder.py | 6 +- .../request_upgrade_request_builder.py | 2 +- .../microsoft_tunnel_sites_request_builder.py | 4 +- ...log_collection_requests_request_builder.py | 4 +- ...collection_request_item_request_builder.py | 6 +- .../create_download_url_request_builder.py | 2 +- ...ubleshooting_event_item_request_builder.py | 6 +- ..._troubleshooting_events_request_builder.py | 4 +- ..._defense_connector_item_request_builder.py | 6 +- ...reat_defense_connectors_request_builder.py | 4 +- .../alert_records_request_builder.py | 10 +- .../item/alert_record_item_request_builder.py | 12 +- ...al_notification_as_sent_request_builder.py | 6 +- ...et_portal_notifications_request_builder.py | 2 +- .../alert_rules_request_builder.py | 14 +- .../item/alert_rule_item_request_builder.py | 16 +- .../monitoring/monitoring_request_builder.py | 6 +- .../ndes_connector_item_request_builder.py | 6 +- .../ndes_connectors_request_builder.py | 4 +- ...tification_message_item_request_builder.py | 6 +- ...d_notification_messages_request_builder.py | 4 +- ...n_message_template_item_request_builder.py | 6 +- .../send_test_message_request_builder.py | 2 +- ...ation_message_templates_request_builder.py | 4 +- ...nagement_elevation_item_request_builder.py | 6 +- ...e_management_elevations_request_builder.py | 4 +- ...emote_action_audit_item_request_builder.py | 6 +- .../remote_action_audits_request_builder.py | 4 +- .../begin_onboarding_request_builder.py | 2 +- .../disconnect/disconnect_request_builder.py | 2 +- ...assistance_partner_item_request_builder.py | 6 +- ...ote_assistance_partners_request_builder.py | 4 +- ...ote_assistance_settings_request_builder.py | 6 +- ...d_report_configurations_request_builder.py | 4 +- ...port_configuration_item_request_builder.py | 6 +- .../export_jobs_request_builder.py | 4 +- ...agement_export_job_item_request_builder.py | 6 +- ...t_active_malware_report_request_builder.py | 2 +- ..._malware_summary_report_request_builder.py | 2 +- ...all_certificates_report_request_builder.py | 2 +- ..._status_overview_report_request_builder.py | 2 +- ..._install_summary_report_request_builder.py | 2 +- .../get_cached_report_request_builder.py | 2 +- ...get_certificates_report_request_builder.py | 2 +- ...icies_report_for_device_request_builder.py | 2 +- ...y_device_summary_report_request_builder.py | 2 +- ...e_policy_devices_report_request_builder.py | 2 +- ...y_non_compliance_report_request_builder.py | 2 +- ...mpliance_summary_report_request_builder.py | 2 +- ..._setting_details_report_request_builder.py | 2 +- ...g_non_compliance_report_request_builder.py | 2 +- ...pliance_settings_report_request_builder.py | 2 +- ...ce_policy_status_report_request_builder.py | 2 +- ...icies_report_for_device_request_builder.py | 2 +- ...y_device_summary_report_request_builder.py | 2 +- ...n_policy_devices_report_request_builder.py | 2 +- ...y_non_compliance_report_request_builder.py | 2 +- ...mpliance_summary_report_request_builder.py | 2 +- ...s_device_summary_report_request_builder.py | 2 +- ..._setting_details_report_request_builder.py | 2 +- ...g_non_compliance_report_request_builder.py | 2 +- ...uration_settings_report_request_builder.py | 2 +- ...settings_summary_report_request_builder.py | 2 +- ...n_policy_status_summary_request_builder.py | 2 +- ...e_install_status_report_request_builder.py | 2 +- ...g_contributing_profiles_request_builder.py | 2 +- ..._intent_settings_report_request_builder.py | 2 +- ...e_non_compliance_report_request_builder.py | 2 +- ...icies_compliance_report_request_builder.py | 2 +- ...tings_compliance_report_request_builder.py | 2 +- ...compliace_policy_report_request_builder.py | 2 +- ...e_policy_setting_report_request_builder.py | 2 +- ...compliace_policy_report_request_builder.py | 2 +- ..._policy_settings_report_request_builder.py | 2 +- ...tform_compliance_report_request_builder.py | 2 +- ...tatus_by_setting_report_request_builder.py | 2 +- ...ompliance_policy_report_request_builder.py | 2 +- ...tion_report_for_devices_request_builder.py | 2 +- ...tion_policies_by_device_request_builder.py | 2 +- ...iled_mobile_apps_report_request_builder.py | 2 +- ...ile_apps_summary_report_request_builder.py | 2 +- ..._device_settings_report_request_builder.py | 2 +- .../get_historical_report_request_builder.py | 2 +- ..._malware_summary_report_request_builder.py | 2 +- ...pp_configuration_report_request_builder.py | 2 +- ...stration_summary_report_request_builder.py | 2 +- ...ces_and_settings_report_request_builder.py | 2 +- ...non_compliance_metadata_request_builder.py | 2 +- ...y_non_compliance_report_request_builder.py | 2 +- ...mpliance_summary_report_request_builder.py | 2 +- ...icy_user_summary_report_request_builder.py | 2 +- ...ime_policy_users_report_request_builder.py | 2 +- ...ated_apps_status_report_request_builder.py | 2 +- ...istance_sessions_report_request_builder.py | 2 +- .../get_report_filters_request_builder.py | 2 +- ...g_non_compliance_report_request_builder.py | 2 +- ..._defender_agents_report_request_builder.py | 2 +- ...healthy_firewall_report_request_builder.py | 2 +- ...firewall_summary_report_request_builder.py | 2 +- ...r_install_status_report_request_builder.py | 2 +- ...te_alert_summary_report_request_builder.py | 2 +- ...olicy_per_device_report_request_builder.py | 2 +- ...te_alert_summary_report_request_builder.py | 2 +- ...olicy_per_device_report_request_builder.py | 2 +- ...te_alert_summary_report_request_builder.py | 2 +- ...olicy_per_device_report_request_builder.py | 2 +- ..._fota_deployment_report_request_builder.py | 2 +- .../reports/reports_request_builder.py | 6 +- .../item/assign/assign_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ...profile_assignment_item_request_builder.py | 6 +- ...ccess_profile_base_item_request_builder.py | 6 +- .../query_by_platform_type_request_builder.py | 2 +- ...esource_access_profiles_request_builder.py | 4 +- ...es_for_user_with_userid_request_builder.py | 2 +- ...resource_operation_item_request_builder.py | 6 +- .../resource_operations_request_builder.py | 4 +- .../item/clone/clone_request_builder.py | 2 +- ...ble_policy_setting_item_request_builder.py | 6 +- .../item/assign/assign_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ..._policy_assignment_item_request_builder.py | 6 +- .../create_copy_request_builder.py | 2 +- ...nfiguration_policy_item_request_builder.py | 16 +- .../item/reorder/reorder_request_builder.py | 2 +- ...default_baseline_policy_request_builder.py | 86 +++++ ...figuration_setting_item_request_builder.py | 6 +- ...setting_definition_item_request_builder.py | 2 +- .../setting_definitions_request_builder.py | 2 +- .../item/settings/settings_request_builder.py | 4 +- ..._configuration_policies_request_builder.py | 4 +- ...eusable_policy_settings_request_builder.py | 4 +- ...setting_definition_item_request_builder.py | 6 +- .../reusable_settings_request_builder.py | 4 +- ...nt_role_assignment_item_request_builder.py | 6 +- .../role_definition_request_builder.py | 2 +- .../role_scope_tag_item_request_builder.py | 2 +- .../role_scope_tags_request_builder.py | 2 +- .../role_assignments_request_builder.py | 4 +- .../role_assignment_item_request_builder.py | 6 +- .../role_definition_request_builder.py | 2 +- .../role_assignments_request_builder.py | 4 +- .../role_definition_item_request_builder.py | 6 +- .../role_definitions_request_builder.py | 4 +- ...t_role_scope_tags_by_id_request_builder.py | 2 +- ...s_custom_role_scope_tag_request_builder.py | 2 +- .../item/assign/assign_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ...ag_auto_assignment_item_request_builder.py | 6 +- .../role_scope_tag_item_request_builder.py | 6 +- .../role_scope_tags_request_builder.py | 4 +- ..._resource_with_resource_request_builder.py | 2 +- ...ation_to_company_portal_request_builder.py | 2 +- ...ice_now_connection_item_request_builder.py | 6 +- ...service_now_connections_request_builder.py | 4 +- ...setting_definition_item_request_builder.py | 6 +- .../setting_definitions_request_builder.py | 4 +- ...e_update_status_summary_request_builder.py | 2 +- ...management_partner_item_request_builder.py | 6 +- ...nse_management_partners_request_builder.py | 4 +- ...nsights_definition_item_request_builder.py | 6 +- .../template_insights_request_builder.py | 4 +- ...n_setting_template_item_request_builder.py | 6 +- ...setting_definition_item_request_builder.py | 6 +- .../setting_definitions_request_builder.py | 4 +- .../template_settings_request_builder.py | 4 +- ..._configuration_policies_request_builder.py | 2 +- .../categories/categories_request_builder.py | 4 +- ...e_setting_category_item_request_builder.py | 6 +- ...t_setting_instance_item_request_builder.py | 6 +- .../recommended_settings_request_builder.py | 4 +- ...setting_definition_item_request_builder.py | 6 +- .../setting_definitions_request_builder.py | 4 +- ...ompare_with_template_id_request_builder.py | 2 +- .../create_instance_request_builder.py | 2 +- ...anagement_template_item_request_builder.py | 6 +- ..._configuration_policies_request_builder.py | 2 +- .../categories/categories_request_builder.py | 4 +- ...e_setting_category_item_request_builder.py | 6 +- ...t_setting_instance_item_request_builder.py | 6 +- .../recommended_settings_request_builder.py | 4 +- ...setting_definition_item_request_builder.py | 6 +- .../setting_definitions_request_builder.py | 4 +- ...ompare_with_template_id_request_builder.py | 2 +- .../create_instance_request_builder.py | 2 +- ...anagement_template_item_request_builder.py | 6 +- ...t_setting_instance_item_request_builder.py | 6 +- .../item/settings/settings_request_builder.py | 4 +- .../migratable_to_request_builder.py | 4 +- ...t_setting_instance_item_request_builder.py | 6 +- .../item/settings/settings_request_builder.py | 4 +- .../templates/templates_request_builder.py | 4 +- .../enable/enable_request_builder.py | 2 +- .../get_state/get_state_request_builder.py | 2 +- .../tenant_attach_r_b_a_c_request_builder.py | 6 +- .../acceptance_statuses_request_builder.py | 4 +- .../terms_and_conditions_request_builder.py | 2 +- ..._acceptance_status_item_request_builder.py | 6 +- .../assignments_request_builder.py | 4 +- ...ditions_assignment_item_request_builder.py | 6 +- .../group_assignments_request_builder.py | 4 +- .../terms_and_conditions_request_builder.py | 2 +- ...s_group_assignment_item_request_builder.py | 6 +- ...rms_and_conditions_item_request_builder.py | 6 +- .../terms_and_conditions_request_builder.py | 4 +- ...ubleshooting_event_item_request_builder.py | 6 +- .../troubleshooting_events_request_builder.py | 4 +- ..._analytics_anomaly_item_request_builder.py | 6 +- ...ience_analytics_anomaly_request_builder.py | 4 +- ...ion_group_overview_item_request_builder.py | 6 +- ...relation_group_overview_request_builder.py | 4 +- ...ics_anomaly_device_item_request_builder.py | 6 +- ...nalytics_anomaly_device_request_builder.py | 4 +- ...cation_performance_item_request_builder.py | 6 +- ...application_performance_request_builder.py | 4 +- ...nce_by_app_version_item_request_builder.py | 6 +- ...formance_by_app_version_request_builder.py | 4 +- ...pp_version_details_item_request_builder.py | 6 +- ..._by_app_version_details_request_builder.py | 4 +- ..._version_device_id_item_request_builder.py | 6 +- ...y_app_version_device_id_request_builder.py | 4 +- ...nce_by_o_s_version_item_request_builder.py | 6 +- ...formance_by_o_s_version_request_builder.py | 4 +- ..._model_performance_item_request_builder.py | 6 +- ...evice_model_performance_request_builder.py | 4 +- ...device_performance_item_request_builder.py | 6 +- ...alth_device_performance_request_builder.py | 4 +- ...erformance_details_item_request_builder.py | 6 +- ...ice_performance_details_request_builder.py | 4 +- ...ersion_performance_item_request_builder.py | 6 +- ...o_s_version_performance_request_builder.py | 4 +- ...e_analytics_metric_item_request_builder.py | 6 +- .../metric_values_request_builder.py | 4 +- ...ics_app_health_overview_request_builder.py | 6 +- .../app_health_metrics_request_builder.py | 2 +- .../battery_health_metrics_request_builder.py | 2 +- .../best_practices_metrics_request_builder.py | 2 +- ...oot_performance_metrics_request_builder.py | 2 +- ...eboot_analytics_metrics_request_builder.py | 2 +- ...rce_performance_metrics_request_builder.py | 2 +- ...analytics_baseline_item_request_builder.py | 6 +- ...k_from_anywhere_metrics_request_builder.py | 2 +- ...nce_analytics_baselines_request_builder.py | 4 +- ..._health_app_impact_item_request_builder.py | 6 +- ...ttery_health_app_impact_request_builder.py | 4 +- ...health_capacity_details_request_builder.py | 6 +- ..._device_app_impact_item_request_builder.py | 6 +- ...ealth_device_app_impact_request_builder.py | 4 +- ...device_performance_item_request_builder.py | 6 +- ...alth_device_performance_request_builder.py | 4 +- ...ce_runtime_history_item_request_builder.py | 6 +- ..._device_runtime_history_request_builder.py | 4 +- ..._model_performance_item_request_builder.py | 6 +- ...ealth_model_performance_request_builder.py | 4 +- ...lth_os_performance_item_request_builder.py | 6 +- ...y_health_os_performance_request_builder.py | 4 +- ..._health_runtime_details_request_builder.py | 6 +- ...e_analytics_metric_item_request_builder.py | 6 +- .../metric_values_request_builder.py | 4 +- ...analytics_category_item_request_builder.py | 6 +- ...ce_analytics_categories_request_builder.py | 4 +- ...ics_metric_history_item_request_builder.py | 6 +- ...s_device_metric_history_request_builder.py | 4 +- ...device_performance_item_request_builder.py | 6 +- ...vices_with_summarize_by_request_builder.py | 2 +- ...tics_device_performance_request_builder.py | 4 +- ...ger_device_scope_action_request_builder.py | 2 +- ..._analytics_device_scope_request_builder.py | 6 +- ...ger_device_scope_action_request_builder.py | 2 +- ...ytics_device_scope_item_request_builder.py | 6 +- ...analytics_device_scopes_request_builder.py | 4 +- ...tics_device_scores_item_request_builder.py | 6 +- ...analytics_device_scores_request_builder.py | 4 +- ...ce_startup_history_item_request_builder.py | 6 +- ..._device_startup_history_request_builder.py | 4 +- ...rocess_performance_item_request_builder.py | 6 +- ...tup_process_performance_request_builder.py | 4 +- ...ce_startup_process_item_request_builder.py | 6 +- ...evice_startup_processes_request_builder.py | 4 +- ...ice_timeline_event_item_request_builder.py | 6 +- ...s_device_timeline_event_request_builder.py | 4 +- ...out_cloud_identity_item_request_builder.py | 6 +- ..._without_cloud_identity_request_builder.py | 4 +- ..._impacting_process_item_request_builder.py | 6 +- ...ytics_impacting_process_request_builder.py | 4 +- ...ics_metric_history_item_request_builder.py | 6 +- ...nalytics_metric_history_request_builder.py | 4 +- ...ytics_model_scores_item_request_builder.py | 6 +- ..._analytics_model_scores_request_builder.py | 4 +- ...pilot_ready_device_item_request_builder.py | 6 +- ..._autopilot_ready_device_request_builder.py | 4 +- ...ence_analytics_overview_request_builder.py | 6 +- ..._remote_connection_item_request_builder.py | 6 +- ...ction_with_summarize_by_request_builder.py | 2 +- ...ytics_remote_connection_request_builder.py | 4 +- ...source_performance_item_request_builder.py | 6 +- ...mance_with_summarize_by_request_builder.py | 2 +- ...cs_resource_performance_request_builder.py | 4 +- ...tics_score_history_item_request_builder.py | 6 +- ...analytics_score_history_request_builder.py | 4 +- ...k_from_anywhere_devices_request_builder.py | 2 +- ...ummarized_device_scopes_request_builder.py | 2 +- ...rdware_readiness_metric_request_builder.py | 6 +- ...om_anywhere_device_item_request_builder.py | 6 +- .../metric_devices_request_builder.py | 4 +- ...om_anywhere_metric_item_request_builder.py | 6 +- ...k_from_anywhere_metrics_request_builder.py | 4 +- ..._model_performance_item_request_builder.py | 6 +- ...where_model_performance_request_builder.py | 4 +- ..._p_f_x_certificate_item_request_builder.py | 6 +- .../user_pfx_certificates_request_builder.py | 4 +- ...covery_with_domain_name_request_builder.py | 2 +- .../audit_events_request_builder.py | 10 +- ...et_audit_activity_types_request_builder.py | 2 +- ...oud_pc_audit_event_item_request_builder.py | 12 +- .../bulk_actions_request_builder.py | 4 +- ...oud_pc_bulk_action_item_request_builder.py | 6 +- .../bulk_resize_request_builder.py | 6 +- .../cloud_p_cs/cloud_p_cs_request_builder.py | 10 +- ...id_with_service_plan_id_request_builder.py | 2 +- ...hange_user_account_type_request_builder.py | 6 +- .../item/cloud_p_c_item_request_builder.py | 12 +- .../create_snapshot_request_builder.py | 2 +- .../end_grace_period_request_builder.py | 6 +- ...pc_connectivity_history_request_builder.py | 2 +- ...et_cloud_pc_launch_info_request_builder.py | 2 +- ...e_cloud_pc_access_state_request_builder.py | 2 +- ...k_cloud_pc_access_state_request_builder.py | 2 +- ...cloud_pc_remote_actions_request_builder.py | 2 +- .../power_off/power_off_request_builder.py | 6 +- .../item/power_on/power_on_request_builder.py | 6 +- .../item/reboot/reboot_request_builder.py | 6 +- .../item/rename/rename_request_builder.py | 6 +- .../reprovision_request_builder.py | 6 +- .../item/resize/resize_request_builder.py | 2 +- .../item/restore/restore_request_builder.py | 6 +- ...tner_agent_installation_request_builder.py | 6 +- .../item/start/start_request_builder.py | 6 +- .../item/stop/stop_request_builder.py | 6 +- .../troubleshoot_request_builder.py | 6 +- .../validate_bulk_resize_request_builder.py | 6 +- ...nt_organization_mapping_request_builder.py | 12 +- .../device_images_request_builder.py | 14 +- .../get_source_images_request_builder.py | 2 +- ...ud_pc_device_image_item_request_builder.py | 16 +- .../item/reupload/reupload_request_builder.py | 6 +- ...ternal_partner_settings_request_builder.py | 14 +- ...al_partner_setting_item_request_builder.py | 16 +- ...ront_line_service_plans_request_builder.py | 10 +- ..._line_service_plan_item_request_builder.py | 12 +- .../gallery_images_request_builder.py | 10 +- ...d_pc_gallery_image_item_request_builder.py | 12 +- ...t_effective_permissions_request_builder.py | 2 +- ...remises_connection_item_request_builder.py | 20 +- .../run_health_checks_request_builder.py | 6 +- ...date_ad_domain_password_request_builder.py | 6 +- ...on_premises_connections_request_builder.py | 14 +- .../organization_settings_request_builder.py | 16 +- .../apply_config_request_builder.py | 2 +- .../item/apply/apply_request_builder.py | 2 +- .../item/assign/assign_request_builder.py | 6 +- .../assignments_request_builder.py | 4 +- .../assigned_users_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../item/user_item_request_builder.py | 2 +- ..._policy_assignment_item_request_builder.py | 6 +- ...rovisioning_policy_item_request_builder.py | 20 +- .../provisioning_policies_request_builder.py | 14 +- .../export_jobs_request_builder.py | 14 +- ...loud_pc_export_job_item_request_builder.py | 12 +- ...action_status_reports_post_request_body.py | 73 +++++ ...t_action_status_reports_request_builder.py | 92 ++++++ ...pc_performance_report_post_request_body.py | 84 +++++ ...d_pc_performance_report_request_builder.py | 91 ++++++ ...ecommendation_reports_post_request_body.py | 84 +++++ ..._recommendation_reports_request_builder.py | 91 ++++++ ...nection_quality_reports_request_builder.py | 6 +- ...mote_connection_reports_request_builder.py | 6 +- .../get_frontline_report_request_builder.py | 6 +- ...ible_cloud_pc_reports_post_request_body.py | 11 + ...ssible_cloud_pc_reports_request_builder.py | 6 +- ...mote_connection_reports_request_builder.py | 6 +- ...atency_with_cloud_pc_id_request_builder.py | 2 +- ...status_with_cloud_pc_id_request_builder.py | 2 +- ...tion_historical_reports_request_builder.py | 6 +- ...se_license_usage_report_request_builder.py | 6 +- ...mote_connection_reports_request_builder.py | 6 +- .../reports/reports_request_builder.py | 46 ++- ...aster_recovery_report_post_request_body.py | 73 +++++ ...isaster_recovery_report_request_builder.py | 91 ++++++ ...etrieve_scoped_permissions_get_response.py | 57 ++++ ...ieve_scoped_permissions_request_builder.py | 131 ++++++++ ...nant_encryption_setting_request_builder.py | 86 +++++ ...ud_pc_service_plan_item_request_builder.py | 6 +- .../service_plans_request_builder.py | 10 +- ...d_use_service_plan_item_request_builder.py | 12 +- ...hared_use_service_plans_request_builder.py | 10 +- ...ts_with_subscription_id_request_builder.py | 2 +- .../get_subscriptions_request_builder.py | 2 +- .../cloud_pc_snapshot_item_request_builder.py | 12 +- .../snapshots/snapshots_request_builder.py | 10 +- ...c_supported_region_item_request_builder.py | 6 +- .../supported_regions_request_builder.py | 10 +- .../item/assign/assign_request_builder.py | 6 +- .../assignments_request_builder.py | 4 +- ...setting_assignment_item_request_builder.py | 6 +- ...ud_pc_user_setting_item_request_builder.py | 20 +- .../user_settings_request_builder.py | 14 +- .../virtual_endpoint_request_builder.py | 26 +- .../has_payload_links_request_builder.py | 2 +- .../item/assign/assign_request_builder.py | 2 +- .../assigned_devices_request_builder.py | 4 +- .../allow_next_enrollment_request_builder.py | 2 +- ...ource_account_to_device_request_builder.py | 2 +- .../assign_user_to_device_request_builder.py | 2 +- .../deployment_profile_request_builder.py | 2 +- ...nded_deployment_profile_request_builder.py | 2 +- ...rce_account_from_device_request_builder.py | 2 +- ...assign_user_from_device_request_builder.py | 2 +- ...pdate_device_properties_request_builder.py | 2 +- ...ot_device_identity_item_request_builder.py | 6 +- .../assignments_request_builder.py | 4 +- ...profile_assignment_item_request_builder.py | 6 +- ...deployment_profile_item_request_builder.py | 6 +- ...lot_deployment_profiles_request_builder.py | 4 +- .../allow_next_enrollment_request_builder.py | 2 +- ...ource_account_to_device_request_builder.py | 2 +- .../assign_user_to_device_request_builder.py | 2 +- .../deployment_profile_request_builder.py | 2 +- ...nded_deployment_profile_request_builder.py | 2 +- ...rce_account_from_device_request_builder.py | 2 +- ...assign_user_from_device_request_builder.py | 2 +- ...pdate_device_properties_request_builder.py | 2 +- ...ot_device_identity_item_request_builder.py | 6 +- ...pilot_device_identities_request_builder.py | 4 +- .../sync/sync_request_builder.py | 2 +- ...dows_autopilot_settings_request_builder.py | 6 +- .../item/assign/assign_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ...profile_assignment_item_request_builder.py | 6 +- .../driver_inventories_request_builder.py | 4 +- ...r_update_inventory_item_request_builder.py | 6 +- .../execute_action_request_builder.py | 2 +- .../sync_inventory_request_builder.py | 2 +- ...ver_update_profile_item_request_builder.py | 6 +- ..._driver_update_profiles_request_builder.py | 4 +- .../item/assign/assign_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ...profile_assignment_item_request_builder.py | 6 +- ...ure_update_profile_item_request_builder.py | 6 +- ...feature_update_profiles_request_builder.py | 4 +- ...p_learning_summary_item_request_builder.py | 6 +- ..._app_learning_summaries_request_builder.py | 4 +- ...k_learning_summary_item_request_builder.py | 6 +- ...work_learning_summaries_request_builder.py | 4 +- .../device_malware_states_request_builder.py | 4 +- ...for_windows_device_item_request_builder.py | 6 +- ...alware_information_item_request_builder.py | 6 +- ...ows_malware_information_request_builder.py | 4 +- .../item/assign/assign_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ...profile_assignment_item_request_builder.py | 6 +- ...ity_update_profile_item_request_builder.py | 6 +- ...quality_update_profiles_request_builder.py | 4 +- ...pdate_catalog_item_item_request_builder.py | 6 +- ...ws_update_catalog_items_request_builder.py | 4 +- ...ebra_fota_artifact_item_request_builder.py | 6 +- .../zebra_fota_artifacts_request_builder.py | 4 +- .../approve_fota_apps_request_builder.py | 2 +- .../connect/connect_request_builder.py | 2 +- .../disconnect/disconnect_request_builder.py | 2 +- .../has_active_deployments_request_builder.py | 2 +- .../zebra_fota_connector_request_builder.py | 6 +- .../item/cancel/cancel_request_builder.py | 2 +- ...ra_fota_deployment_item_request_builder.py | 6 +- .../zebra_fota_deployments_request_builder.py | 4 +- .../devices/delta/delta_request_builder.py | 2 +- .../devices/devices_request_builder.py | 14 +- .../get_by_ids/get_by_ids_request_builder.py | 6 +- .../get_user_owned_objects_request_builder.py | 6 +- .../check_member_groups_request_builder.py | 6 +- .../check_member_objects_request_builder.py | 2 +- .../item/commands/commands_request_builder.py | 4 +- .../item/command_item_request_builder.py | 6 +- .../responsepayload_request_builder.py | 2 +- .../item/device_item_request_builder.py | 20 +- .../extensions/extensions_request_builder.py | 4 +- .../item/extension_item_request_builder.py | 6 +- .../get_member_groups_request_builder.py | 6 +- .../get_member_objects_request_builder.py | 2 +- ...aph_administrative_unit_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 2 +- ...aph_administrative_unit_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../member_of/member_of_request_builder.py | 2 +- .../graph_endpoint_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../graph_endpoint_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../item/ref/ref_request_builder.py | 8 +- .../ref/ref_request_builder.py | 8 +- .../registered_owners_request_builder.py | 4 +- .../graph_endpoint_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../graph_endpoint_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../item/ref/ref_request_builder.py | 8 +- .../ref/ref_request_builder.py | 8 +- .../registered_users_request_builder.py | 4 +- .../item/restore/restore_request_builder.py | 6 +- ...aph_administrative_unit_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 2 +- ...aph_administrative_unit_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../transitive_member_of_request_builder.py | 2 +- .../item/usage_right_item_request_builder.py | 6 +- .../usage_rights_request_builder.py | 10 +- .../validate_properties_request_builder.py | 6 +- .../devices_with_device_id_request_builder.py | 20 +- .../administrative_units_request_builder.py | 4 +- .../delta/delta_request_builder.py | 2 +- ...dministrative_unit_item_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 4 +- .../item/extension_item_request_builder.py | 6 +- .../graph_application_request_builder.py | 2 +- .../graph_device_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../graph_org_contact_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../graph_application_request_builder.py | 2 +- .../graph_device_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../graph_org_contact_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../members/item/ref/ref_request_builder.py | 2 +- .../item/members/members_request_builder.py | 6 +- .../item/members/ref/ref_request_builder.py | 4 +- ...ed_role_membership_item_request_builder.py | 16 +- .../scoped_role_members_request_builder.py | 14 +- .../attribute_sets_request_builder.py | 14 +- .../attribute_set_item_request_builder.py | 16 +- ...certificate_authorities_request_builder.py | 6 +- ...lication_configurations_request_builder.py | 10 +- ...tion_configuration_item_request_builder.py | 16 +- ...uthority_as_entity_item_request_builder.py | 6 +- ...certificate_authorities_request_builder.py | 4 +- ...y_attribute_definitions_request_builder.py | 14 +- .../allowed_values_request_builder.py | 14 +- .../allowed_value_item_request_builder.py | 16 +- ...tribute_definition_item_request_builder.py | 16 +- .../deleted_items_request_builder.py | 2 +- .../get_by_ids/get_by_ids_request_builder.py | 6 +- ...aph_administrative_unit_request_builder.py | 2 +- .../graph_application_request_builder.py | 2 +- .../graph_device_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../check_member_groups_request_builder.py | 6 +- .../check_member_objects_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 2 +- .../get_member_groups_request_builder.py | 6 +- .../get_member_objects_request_builder.py | 2 +- ...aph_administrative_unit_request_builder.py | 2 +- .../graph_application_request_builder.py | 2 +- .../graph_device_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../item/restore/restore_request_builder.py | 6 +- .../validate_properties_request_builder.py | 6 +- ...evice_local_credentials_request_builder.py | 10 +- ...al_credential_info_item_request_builder.py | 12 +- .../directory/directory_request_builder.py | 4 +- ...eature_rollout_policies_request_builder.py | 4 +- .../applies_to/applies_to_request_builder.py | 10 +- .../item/ref/ref_request_builder.py | 8 +- .../applies_to/ref/ref_request_builder.py | 8 +- ...ure_rollout_policy_item_request_builder.py | 6 +- ...vailable_provider_types_request_builder.py | 2 +- ...deration_configurations_request_builder.py | 4 +- ...tity_provider_base_item_request_builder.py | 10 +- .../impacted_resources_request_builder.py | 4 +- .../item/complete/complete_request_builder.py | 6 +- .../item/dismiss/dismiss_request_builder.py | 6 +- .../impacted_resource_item_request_builder.py | 6 +- .../item/postpone/postpone_request_builder.py | 6 +- .../reactivate/reactivate_request_builder.py | 6 +- ...nd_shared_user_profiles_request_builder.py | 10 +- .../export_personal_data_request_builder.py | 6 +- ..._user_profile_user_item_request_builder.py | 12 +- .../remove_personal_data_request_builder.py | 6 +- ...ry_synchronization_item_request_builder.py | 16 +- ...remises_synchronization_request_builder.py | 10 +- ..._user_profile_user_item_request_builder.py | 12 +- .../remove_personal_data_request_builder.py | 6 +- ...t_reference_tenant_item_request_builder.py | 6 +- .../item/tenants/tenants_request_builder.py | 10 +- ...nd_shared_user_profiles_request_builder.py | 10 +- .../item/complete/complete_request_builder.py | 6 +- .../item/dismiss/dismiss_request_builder.py | 6 +- .../impacted_resources_request_builder.py | 4 +- .../item/complete/complete_request_builder.py | 6 +- .../item/dismiss/dismiss_request_builder.py | 6 +- .../impacted_resource_item_request_builder.py | 6 +- .../item/postpone/postpone_request_builder.py | 6 +- .../reactivate/reactivate_request_builder.py | 6 +- .../item/postpone/postpone_request_builder.py | 6 +- .../reactivate/reactivate_request_builder.py | 6 +- .../recommendation_item_request_builder.py | 12 +- .../recommendations_request_builder.py | 10 +- ...hared_email_domain_item_request_builder.py | 6 +- .../shared_email_domains_request_builder.py | 4 +- ...mpany_subscription_item_request_builder.py | 12 +- .../subscriptions_request_builder.py | 10 +- .../delta/delta_request_builder.py | 2 +- .../directory_objects_request_builder.py | 4 +- .../get_by_ids/get_by_ids_request_builder.py | 6 +- .../get_user_owned_objects_request_builder.py | 6 +- .../check_member_groups_request_builder.py | 6 +- .../check_member_objects_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 16 +- .../get_member_groups_request_builder.py | 6 +- .../get_member_objects_request_builder.py | 2 +- .../item/restore/restore_request_builder.py | 6 +- .../validate_properties_request_builder.py | 6 +- .../delta/delta_request_builder.py | 2 +- ...irectory_role_templates_request_builder.py | 10 +- .../get_by_ids/get_by_ids_request_builder.py | 6 +- .../get_user_owned_objects_request_builder.py | 6 +- .../check_member_groups_request_builder.py | 6 +- .../check_member_objects_request_builder.py | 2 +- ...tory_role_template_item_request_builder.py | 12 +- .../get_member_groups_request_builder.py | 6 +- .../get_member_objects_request_builder.py | 2 +- .../item/restore/restore_request_builder.py | 6 +- .../validate_properties_request_builder.py | 6 +- .../delta/delta_request_builder.py | 2 +- .../directory_roles_request_builder.py | 14 +- .../get_by_ids/get_by_ids_request_builder.py | 6 +- .../get_user_owned_objects_request_builder.py | 6 +- .../check_member_groups_request_builder.py | 6 +- .../check_member_objects_request_builder.py | 2 +- .../directory_role_item_request_builder.py | 12 +- .../get_member_groups_request_builder.py | 6 +- .../get_member_objects_request_builder.py | 2 +- .../graph_application_request_builder.py | 2 +- .../graph_device_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../graph_org_contact_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../graph_application_request_builder.py | 2 +- .../graph_device_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../graph_org_contact_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../members/item/ref/ref_request_builder.py | 8 +- .../item/members/members_request_builder.py | 4 +- .../item/members/ref/ref_request_builder.py | 8 +- .../item/restore/restore_request_builder.py | 6 +- ...ed_role_membership_item_request_builder.py | 6 +- .../scoped_members_request_builder.py | 10 +- .../validate_properties_request_builder.py | 6 +- ...s_with_role_template_id_request_builder.py | 12 +- .../delta/delta_request_builder.py | 2 +- ...ctory_setting_templates_request_builder.py | 10 +- .../get_by_ids/get_by_ids_request_builder.py | 6 +- .../get_user_owned_objects_request_builder.py | 6 +- .../check_member_groups_request_builder.py | 6 +- .../check_member_objects_request_builder.py | 2 +- ...y_setting_template_item_request_builder.py | 12 +- .../get_member_groups_request_builder.py | 6 +- .../get_member_objects_request_builder.py | 2 +- .../item/restore/restore_request_builder.py | 6 +- .../validate_properties_request_builder.py | 6 +- .../domain_dns_records_request_builder.py | 4 +- .../domain_dns_record_item_request_builder.py | 6 +- .../domains/domains_request_builder.py | 14 +- .../item/domain_item_request_builder.py | 20 +- .../domain_name_references_request_builder.py | 8 +- .../directory_object_item_request_builder.py | 2 +- ...ederation_configuration_request_builder.py | 14 +- ..._domain_federation_item_request_builder.py | 20 +- .../force_delete_request_builder.py | 6 +- .../item/promote/promote_request_builder.py | 6 +- .../promote_to_initial_request_builder.py | 2 +- .../domain_dns_record_item_request_builder.py | 6 +- ...e_configuration_records_request_builder.py | 10 +- ..._domain_invitation_item_request_builder.py | 6 +- ...mail_domain_invitations_request_builder.py | 4 +- .../domain_dns_record_item_request_builder.py | 6 +- ...erification_dns_records_request_builder.py | 10 +- .../item/verify/verify_request_builder.py | 6 +- .../drives/drives_request_builder.py | 4 +- .../activities/activities_request_builder.py | 10 +- .../content/content_request_builder.py | 4 +- .../drive_item/drive_item_request_builder.py | 2 +- ...tem_activity_o_l_d_item_request_builder.py | 6 +- .../list_item/list_item_request_builder.py | 2 +- .../item/bundles/bundles_request_builder.py | 4 +- .../item/content/content_request_builder.py | 4 +- .../item/drive_item_item_request_builder.py | 2 +- .../created_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../drives/item/drive_item_request_builder.py | 6 +- .../following/following_request_builder.py | 8 +- .../item/content/content_request_builder.py | 4 +- .../item/drive_item_item_request_builder.py | 2 +- .../activities/activities_request_builder.py | 2 +- ...tem_activity_o_l_d_item_request_builder.py | 2 +- .../all_time/all_time_request_builder.py | 2 +- .../analytics/analytics_request_builder.py | 12 +- .../activities/activities_request_builder.py | 4 +- .../content/content_request_builder.py | 4 +- .../drive_item/drive_item_request_builder.py | 2 +- .../item_activity_item_request_builder.py | 6 +- ...item_activity_stat_item_request_builder.py | 6 +- .../item_activity_stats_request_builder.py | 4 +- .../last_seven_days_request_builder.py | 2 +- ...ssign_sensitivity_label_request_builder.py | 2 +- .../item/checkin/checkin_request_builder.py | 6 +- .../item/checkout/checkout_request_builder.py | 6 +- .../item/children/children_request_builder.py | 10 +- .../item/content/content_request_builder.py | 4 +- .../item/drive_item_item_request_builder.py | 2 +- .../item/content/content_request_builder.py | 4 +- .../items/item/copy/copy_request_builder.py | 6 +- .../create_link_request_builder.py | 6 +- .../create_upload_session_request_builder.py | 2 +- .../created_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../items/item/delta/delta_request_builder.py | 2 +- .../delta_with_token_request_builder.py | 2 +- .../item/drive_item_item_request_builder.py | 14 +- ...ract_sensitivity_labels_request_builder.py | 2 +- .../item/follow/follow_request_builder.py | 6 +- ...date_time_with_interval_request_builder.py | 2 +- .../item/invite/invite_request_builder.py | 6 +- .../last_modified_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../list_item/list_item_request_builder.py | 2 +- .../permanent_delete_request_builder.py | 2 +- .../item/grant/grant_request_builder.py | 6 +- .../item/permission_item_request_builder.py | 20 +- .../revoke_grants_request_builder.py | 6 +- .../permissions_request_builder.py | 10 +- .../item/preview/preview_request_builder.py | 2 +- .../item/restore/restore_request_builder.py | 6 +- .../retention_label_request_builder.py | 14 +- .../search_with_q_request_builder.py | 2 +- .../reauthorize_request_builder.py | 6 +- .../item/subscription_item_request_builder.py | 6 +- .../subscriptions_request_builder.py | 4 +- .../thumbnail_set_item_request_builder.py | 12 +- .../thumbnails/thumbnails_request_builder.py | 10 +- .../item/unfollow/unfollow_request_builder.py | 6 +- .../validate_permission_request_builder.py | 2 +- .../item/content/content_request_builder.py | 4 +- ...drive_item_version_item_request_builder.py | 12 +- .../restore_version_request_builder.py | 6 +- .../item/versions/versions_request_builder.py | 10 +- .../application_request_builder.py | 12 +- .../calculate/calculate_request_builder.py | 6 +- .../close_session_request_builder.py | 6 +- .../comments/comments_request_builder.py | 4 +- .../task/changes/changes_request_builder.py | 4 +- .../changes/count/count_request_builder.py | 2 +- ...cument_task_change_item_request_builder.py | 6 +- .../item_at_with_index_request_builder.py | 2 +- .../task/comment/comment_request_builder.py | 6 +- .../task/changes/changes_request_builder.py | 4 +- .../changes/count/count_request_builder.py | 2 +- ...cument_task_change_item_request_builder.py | 6 +- .../item_at_with_index_request_builder.py | 2 +- .../task/comment/task/task_request_builder.py | 6 +- .../replies/item/task/task_request_builder.py | 6 +- ...book_comment_reply_item_request_builder.py | 6 +- .../item/replies/replies_request_builder.py | 4 +- .../task/changes/changes_request_builder.py | 4 +- .../changes/count/count_request_builder.py | 2 +- ...cument_task_change_item_request_builder.py | 6 +- .../item_at_with_index_request_builder.py | 2 +- .../task/comment/comment_request_builder.py | 6 +- .../task/changes/changes_request_builder.py | 4 +- .../changes/count/count_request_builder.py | 2 +- ...cument_task_change_item_request_builder.py | 6 +- .../item_at_with_index_request_builder.py | 2 +- .../replies/item/task/task_request_builder.py | 6 +- ...book_comment_reply_item_request_builder.py | 6 +- .../replies/replies_request_builder.py | 4 +- .../item/task/task_request_builder.py | 6 +- .../workbook_comment_item_request_builder.py | 6 +- .../create_session_request_builder.py | 6 +- .../functions/abs/abs_request_builder.py | 2 +- .../accr_int/accr_int_request_builder.py | 2 +- .../accr_int_m/accr_int_m_request_builder.py | 2 +- .../functions/acos/acos_request_builder.py | 2 +- .../functions/acosh/acosh_request_builder.py | 2 +- .../functions/acot/acot_request_builder.py | 2 +- .../functions/acoth/acoth_request_builder.py | 2 +- .../amor_degrc/amor_degrc_request_builder.py | 2 +- .../amor_linc/amor_linc_request_builder.py | 2 +- .../functions/and_/and_request_builder.py | 2 +- .../arabic/arabic_request_builder.py | 2 +- .../functions/areas/areas_request_builder.py | 2 +- .../functions/asc/asc_request_builder.py | 2 +- .../functions/asin/asin_request_builder.py | 2 +- .../functions/asinh/asinh_request_builder.py | 2 +- .../functions/atan/atan_request_builder.py | 2 +- .../functions/atan2/atan2_request_builder.py | 2 +- .../functions/atanh/atanh_request_builder.py | 2 +- .../ave_dev/ave_dev_request_builder.py | 2 +- .../average/average_request_builder.py | 2 +- .../average_a/average_a_request_builder.py | 2 +- .../average_if/average_if_request_builder.py | 2 +- .../average_ifs_request_builder.py | 2 +- .../baht_text/baht_text_request_builder.py | 2 +- .../functions/base/base_request_builder_.py | 2 +- .../bessel_i/bessel_i_request_builder.py | 2 +- .../bessel_j/bessel_j_request_builder.py | 2 +- .../bessel_k/bessel_k_request_builder.py | 2 +- .../bessel_y/bessel_y_request_builder.py | 2 +- .../beta_dist/beta_dist_request_builder.py | 2 +- .../beta_inv/beta_inv_request_builder.py | 2 +- .../bin2_dec/bin2_dec_request_builder.py | 2 +- .../bin2_hex/bin2_hex_request_builder.py | 2 +- .../bin2_oct/bin2_oct_request_builder.py | 2 +- .../binom_dist/binom_dist_request_builder.py | 2 +- .../binom_dist_range_request_builder.py | 2 +- .../binom_inv/binom_inv_request_builder.py | 2 +- .../bitand/bitand_request_builder.py | 2 +- .../bitlshift/bitlshift_request_builder.py | 2 +- .../functions/bitor/bitor_request_builder.py | 2 +- .../bitrshift/bitrshift_request_builder.py | 2 +- .../bitxor/bitxor_request_builder.py | 2 +- .../ceiling_math_request_builder.py | 2 +- .../ceiling_precise_request_builder.py | 2 +- .../functions/char/char_request_builder.py | 2 +- .../chi_sq_dist_request_builder.py | 2 +- .../chi_sq_dist_r_t_request_builder.py | 2 +- .../chi_sq_inv/chi_sq_inv_request_builder.py | 2 +- .../chi_sq_inv_r_t_request_builder.py | 2 +- .../choose/choose_request_builder.py | 2 +- .../functions/clean/clean_request_builder.py | 2 +- .../functions/code/code_request_builder.py | 2 +- .../columns/columns_request_builder.py | 2 +- .../combin/combin_request_builder.py | 2 +- .../combina/combina_request_builder.py | 2 +- .../complex/complex_request_builder.py | 2 +- .../concatenate_request_builder.py | 2 +- .../confidence_norm_request_builder.py | 2 +- .../confidence_t_request_builder.py | 2 +- .../convert/convert_request_builder.py | 2 +- .../functions/cos/cos_request_builder.py | 2 +- .../functions/cosh/cosh_request_builder.py | 2 +- .../functions/cot/cot_request_builder.py | 2 +- .../functions/coth/coth_request_builder.py | 2 +- .../functions/count/count_request_builder.py | 2 +- .../count_a/count_a_request_builder.py | 2 +- .../count_blank_request_builder.py | 2 +- .../count_if/count_if_request_builder.py | 2 +- .../count_ifs/count_ifs_request_builder.py | 2 +- .../coup_day_bs_request_builder.py | 2 +- .../coup_days/coup_days_request_builder.py | 2 +- .../coup_days_nc_request_builder.py | 2 +- .../coup_ncd/coup_ncd_request_builder.py | 2 +- .../coup_num/coup_num_request_builder.py | 2 +- .../coup_pcd/coup_pcd_request_builder.py | 2 +- .../functions/csc/csc_request_builder.py | 2 +- .../functions/csch/csch_request_builder.py | 2 +- .../cum_i_pmt/cum_i_pmt_request_builder.py | 2 +- .../cum_princ/cum_princ_request_builder.py | 2 +- .../functions/date/date_request_builder.py | 2 +- .../datevalue/datevalue_request_builder.py | 2 +- .../daverage/daverage_request_builder.py | 2 +- .../functions/day/day_request_builder.py | 2 +- .../functions/days/days_request_builder.py | 2 +- .../days360/days360_request_builder.py | 2 +- .../functions/db/db_request_builder.py | 2 +- .../functions/dbcs/dbcs_request_builder.py | 2 +- .../dcount/dcount_request_builder.py | 2 +- .../dcount_a/dcount_a_request_builder.py | 2 +- .../functions/ddb/ddb_request_builder.py | 2 +- .../dec2_bin/dec2_bin_request_builder.py | 2 +- .../dec2_hex/dec2_hex_request_builder.py | 2 +- .../dec2_oct/dec2_oct_request_builder.py | 2 +- .../decimal/decimal_request_builder.py | 2 +- .../degrees/degrees_request_builder.py | 2 +- .../functions/delta/delta_request_builder.py | 2 +- .../dev_sq/dev_sq_request_builder.py | 2 +- .../functions/dget/dget_request_builder.py | 2 +- .../functions/disc/disc_request_builder.py | 2 +- .../functions/dmax/dmax_request_builder.py | 2 +- .../functions/dmin/dmin_request_builder.py | 2 +- .../dollar/dollar_request_builder.py | 2 +- .../dollar_de/dollar_de_request_builder.py | 2 +- .../dollar_fr/dollar_fr_request_builder.py | 2 +- .../dproduct/dproduct_request_builder.py | 2 +- .../dst_dev/dst_dev_request_builder.py | 2 +- .../dst_dev_p/dst_dev_p_request_builder.py | 2 +- .../functions/dsum/dsum_request_builder.py | 2 +- .../duration/duration_request_builder.py | 2 +- .../functions/dvar/dvar_request_builder.py | 2 +- .../dvar_p/dvar_p_request_builder.py | 2 +- .../ecma_ceiling_request_builder.py | 2 +- .../functions/edate/edate_request_builder.py | 2 +- .../effect/effect_request_builder.py | 2 +- .../eo_month/eo_month_request_builder.py | 2 +- .../functions/erf/erf_request_builder.py | 2 +- .../functions/erf_c/erf_c_request_builder.py | 2 +- .../erf_c_precise_request_builder.py | 2 +- .../erf_precise_request_builder.py | 2 +- .../error_type/error_type_request_builder.py | 2 +- .../functions/even/even_request_builder.py | 2 +- .../functions/exact/exact_request_builder.py | 2 +- .../functions/exp/exp_request_builder.py | 2 +- .../expon_dist/expon_dist_request_builder.py | 2 +- .../f_dist/f_dist_request_builder.py | 2 +- .../f_dist_r_t/f_dist_r_t_request_builder.py | 2 +- .../functions/f_inv/f_inv_request_builder.py | 2 +- .../f_inv_r_t/f_inv_r_t_request_builder.py | 2 +- .../functions/fact/fact_request_builder.py | 2 +- .../fact_double_request_builder.py | 2 +- .../functions/false_/false_request_builder.py | 2 +- .../functions/find/find_request_builder.py | 2 +- .../find_b/find_b_request_builder.py | 2 +- .../fisher/fisher_request_builder.py | 2 +- .../fisher_inv/fisher_inv_request_builder.py | 2 +- .../functions/fixed/fixed_request_builder.py | 2 +- .../floor_math/floor_math_request_builder.py | 2 +- .../floor_precise_request_builder.py | 2 +- .../functions/functions_request_builder.py | 6 +- .../functions/fv/fv_request_builder.py | 2 +- .../fvschedule/fvschedule_request_builder.py | 2 +- .../functions/gamma/gamma_request_builder.py | 2 +- .../gamma_dist/gamma_dist_request_builder.py | 2 +- .../gamma_inv/gamma_inv_request_builder.py | 2 +- .../gamma_ln/gamma_ln_request_builder.py | 2 +- .../gamma_ln_precise_request_builder.py | 2 +- .../functions/gauss/gauss_request_builder.py | 2 +- .../functions/gcd/gcd_request_builder.py | 2 +- .../ge_step/ge_step_request_builder.py | 2 +- .../geo_mean/geo_mean_request_builder.py | 2 +- .../har_mean/har_mean_request_builder.py | 2 +- .../hex2_bin/hex2_bin_request_builder.py | 2 +- .../hex2_dec/hex2_dec_request_builder.py | 2 +- .../hex2_oct/hex2_oct_request_builder.py | 2 +- .../hlookup/hlookup_request_builder.py | 2 +- .../functions/hour/hour_request_builder.py | 2 +- .../hyp_geom_dist_request_builder.py | 2 +- .../hyperlink/hyperlink_request_builder.py | 2 +- .../functions/if_/if_request_builder.py | 2 +- .../im_abs/im_abs_request_builder.py | 2 +- .../im_argument_request_builder.py | 2 +- .../im_conjugate_request_builder.py | 2 +- .../im_cos/im_cos_request_builder.py | 2 +- .../im_cosh/im_cosh_request_builder.py | 2 +- .../im_cot/im_cot_request_builder.py | 2 +- .../im_csc/im_csc_request_builder.py | 2 +- .../im_csch/im_csch_request_builder.py | 2 +- .../im_div/im_div_request_builder.py | 2 +- .../im_exp/im_exp_request_builder.py | 2 +- .../functions/im_ln/im_ln_request_builder.py | 2 +- .../im_log10/im_log10_request_builder.py | 2 +- .../im_log2/im_log2_request_builder.py | 2 +- .../im_power/im_power_request_builder.py | 2 +- .../im_product/im_product_request_builder.py | 2 +- .../im_real/im_real_request_builder.py | 2 +- .../im_sec/im_sec_request_builder.py | 2 +- .../im_sech/im_sech_request_builder.py | 2 +- .../im_sin/im_sin_request_builder.py | 2 +- .../im_sinh/im_sinh_request_builder.py | 2 +- .../im_sqrt/im_sqrt_request_builder.py | 2 +- .../im_sub/im_sub_request_builder.py | 2 +- .../im_sum/im_sum_request_builder.py | 2 +- .../im_tan/im_tan_request_builder.py | 2 +- .../imaginary/imaginary_request_builder.py | 2 +- .../functions/int/int_request_builder.py | 2 +- .../int_rate/int_rate_request_builder.py | 2 +- .../functions/ipmt/ipmt_request_builder.py | 2 +- .../functions/irr/irr_request_builder.py | 2 +- .../is_err/is_err_request_builder.py | 2 +- .../is_error/is_error_request_builder.py | 2 +- .../is_even/is_even_request_builder.py | 2 +- .../is_formula/is_formula_request_builder.py | 2 +- .../is_logical/is_logical_request_builder.py | 2 +- .../is_n_a/is_n_a_request_builder.py | 2 +- .../is_non_text_request_builder.py | 2 +- .../is_number/is_number_request_builder.py | 2 +- .../is_odd/is_odd_request_builder.py | 2 +- .../is_text/is_text_request_builder.py | 2 +- .../iso_ceiling_request_builder.py | 2 +- .../iso_week_num_request_builder.py | 2 +- .../functions/ispmt/ispmt_request_builder.py | 2 +- .../functions/isref/isref_request_builder.py | 2 +- .../functions/kurt/kurt_request_builder.py | 2 +- .../functions/large/large_request_builder.py | 2 +- .../functions/lcm/lcm_request_builder.py | 2 +- .../functions/left/left_request_builder.py | 2 +- .../functions/leftb/leftb_request_builder.py | 2 +- .../functions/len/len_request_builder.py | 2 +- .../functions/lenb/lenb_request_builder.py | 2 +- .../functions/ln/ln_request_builder.py | 2 +- .../functions/log/log_request_builder.py | 2 +- .../functions/log10/log10_request_builder.py | 2 +- .../log_norm_dist_request_builder.py | 2 +- .../log_norm_inv_request_builder.py | 2 +- .../lookup/lookup_request_builder.py | 2 +- .../functions/lower/lower_request_builder.py | 2 +- .../functions/match/match_request_builder.py | 2 +- .../functions/max/max_request_builder.py | 2 +- .../functions/max_a/max_a_request_builder.py | 2 +- .../mduration/mduration_request_builder.py | 2 +- .../median/median_request_builder.py | 2 +- .../functions/mid/mid_request_builder.py | 2 +- .../functions/midb/midb_request_builder.py | 2 +- .../functions/min/min_request_builder.py | 2 +- .../functions/min_a/min_a_request_builder.py | 2 +- .../minute/minute_request_builder.py | 2 +- .../functions/mirr/mirr_request_builder.py | 2 +- .../functions/mod/mod_request_builder.py | 2 +- .../functions/month/month_request_builder.py | 2 +- .../mround/mround_request_builder.py | 2 +- .../multi_nomial_request_builder.py | 2 +- .../workbook/functions/n/n_request_builder.py | 2 +- .../functions/na/na_request_builder.py | 2 +- .../neg_binom_dist_request_builder.py | 2 +- .../network_days_request_builder.py | 2 +- .../network_days_intl_request_builder.py | 2 +- .../nominal/nominal_request_builder.py | 2 +- .../norm_dist/norm_dist_request_builder.py | 2 +- .../norm_inv/norm_inv_request_builder.py | 2 +- .../norm_s_dist_request_builder.py | 2 +- .../norm_s_inv/norm_s_inv_request_builder.py | 2 +- .../functions/not_/not_request_builder.py | 2 +- .../functions/now/now_request_builder.py | 2 +- .../functions/nper/nper_request_builder.py | 2 +- .../functions/npv/npv_request_builder.py | 2 +- .../number_value_request_builder.py | 2 +- .../oct2_bin/oct2_bin_request_builder.py | 2 +- .../oct2_dec/oct2_dec_request_builder.py | 2 +- .../oct2_hex/oct2_hex_request_builder.py | 2 +- .../functions/odd/odd_request_builder.py | 2 +- .../odd_f_price_request_builder.py | 2 +- .../odd_f_yield_request_builder.py | 2 +- .../odd_l_price_request_builder.py | 2 +- .../odd_l_yield_request_builder.py | 2 +- .../functions/or_/or_request_builder.py | 2 +- .../pduration/pduration_request_builder.py | 2 +- .../percent_rank_exc_request_builder.py | 2 +- .../percent_rank_inc_request_builder.py | 2 +- .../percentile_exc_request_builder.py | 2 +- .../percentile_inc_request_builder.py | 2 +- .../permut/permut_request_builder.py | 2 +- .../permutationa_request_builder.py | 2 +- .../functions/phi/phi_request_builder.py | 2 +- .../functions/pi/pi_request_builder.py | 2 +- .../functions/pmt/pmt_request_builder.py | 2 +- .../poisson_dist_request_builder.py | 2 +- .../functions/power/power_request_builder.py | 2 +- .../functions/ppmt/ppmt_request_builder.py | 2 +- .../functions/price/price_request_builder.py | 2 +- .../price_disc/price_disc_request_builder.py | 2 +- .../price_mat/price_mat_request_builder.py | 2 +- .../product/product_request_builder.py | 2 +- .../proper/proper_request_builder.py | 2 +- .../functions/pv/pv_request_builder.py | 2 +- .../quartile_exc_request_builder.py | 2 +- .../quartile_inc_request_builder.py | 2 +- .../quotient/quotient_request_builder.py | 2 +- .../radians/radians_request_builder.py | 2 +- .../functions/rand/rand_request_builder.py | 2 +- .../rand_between_request_builder.py | 2 +- .../rank_avg/rank_avg_request_builder.py | 2 +- .../rank_eq/rank_eq_request_builder.py | 2 +- .../functions/rate/rate_request_builder.py | 2 +- .../received/received_request_builder.py | 2 +- .../replace/replace_request_builder.py | 2 +- .../replace_b/replace_b_request_builder.py | 2 +- .../functions/rept/rept_request_builder.py | 2 +- .../functions/right/right_request_builder.py | 2 +- .../rightb/rightb_request_builder.py | 2 +- .../functions/roman/roman_request_builder.py | 2 +- .../functions/round/round_request_builder.py | 2 +- .../round_down/round_down_request_builder.py | 2 +- .../round_up/round_up_request_builder.py | 2 +- .../functions/rows/rows_request_builder.py | 2 +- .../functions/rri/rri_request_builder.py | 2 +- .../functions/sec/sec_request_builder.py | 2 +- .../functions/sech/sech_request_builder.py | 2 +- .../second/second_request_builder.py | 2 +- .../series_sum/series_sum_request_builder.py | 2 +- .../functions/sheet/sheet_request_builder.py | 2 +- .../sheets/sheets_request_builder.py | 2 +- .../functions/sign/sign_request_builder.py | 2 +- .../functions/sin/sin_request_builder.py | 2 +- .../functions/sinh/sinh_request_builder.py | 2 +- .../functions/skew/skew_request_builder.py | 2 +- .../skew_p/skew_p_request_builder.py | 2 +- .../functions/sln/sln_request_builder.py | 2 +- .../functions/small/small_request_builder.py | 2 +- .../functions/sqrt/sqrt_request_builder.py | 2 +- .../sqrt_pi/sqrt_pi_request_builder.py | 2 +- .../st_dev_a/st_dev_a_request_builder.py | 2 +- .../st_dev_p/st_dev_p_request_builder.py | 2 +- .../st_dev_p_a/st_dev_p_a_request_builder.py | 2 +- .../st_dev_s/st_dev_s_request_builder.py | 2 +- .../standardize_request_builder.py | 2 +- .../substitute/substitute_request_builder.py | 2 +- .../subtotal/subtotal_request_builder.py | 2 +- .../functions/sum/sum_request_builder.py | 2 +- .../sum_if/sum_if_request_builder.py | 2 +- .../sum_ifs/sum_ifs_request_builder.py | 2 +- .../sum_sq/sum_sq_request_builder.py | 2 +- .../functions/syd/syd_request_builder.py | 2 +- .../workbook/functions/t/t_request_builder.py | 2 +- .../t_dist/t_dist_request_builder.py | 2 +- .../t_dist_2_t/t_dist_2_t_request_builder.py | 2 +- .../t_dist_r_t/t_dist_r_t_request_builder.py | 2 +- .../functions/t_inv/t_inv_request_builder.py | 2 +- .../t_inv_2_t/t_inv_2_t_request_builder.py | 2 +- .../functions/tan/tan_request_builder.py | 2 +- .../functions/tanh/tanh_request_builder.py | 2 +- .../tbill_eq/tbill_eq_request_builder.py | 2 +- .../tbill_price_request_builder.py | 2 +- .../tbill_yield_request_builder.py | 2 +- .../functions/text/text_request_builder.py | 2 +- .../functions/time/time_request_builder.py | 2 +- .../timevalue/timevalue_request_builder.py | 2 +- .../functions/today/today_request_builder.py | 2 +- .../functions/trim/trim_request_builder.py | 2 +- .../trim_mean/trim_mean_request_builder.py | 2 +- .../functions/true_/true_request_builder.py | 2 +- .../functions/trunc/trunc_request_builder.py | 2 +- .../functions/type/type_request_builder.py | 2 +- .../unichar/unichar_request_builder.py | 2 +- .../unicode/unicode_request_builder.py | 2 +- .../functions/upper/upper_request_builder.py | 2 +- .../usdollar/usdollar_request_builder.py | 2 +- .../functions/value/value_request_builder.py | 2 +- .../functions/var_a/var_a_request_builder.py | 2 +- .../functions/var_p/var_p_request_builder.py | 2 +- .../var_p_a/var_p_a_request_builder.py | 2 +- .../functions/var_s/var_s_request_builder.py | 2 +- .../functions/vdb/vdb_request_builder.py | 2 +- .../vlookup/vlookup_request_builder.py | 2 +- .../week_num/week_num_request_builder.py | 2 +- .../weekday/weekday_request_builder.py | 2 +- .../weibull_dist_request_builder.py | 2 +- .../work_day/work_day_request_builder.py | 2 +- .../work_day_intl_request_builder.py | 2 +- .../functions/xirr/xirr_request_builder.py | 2 +- .../functions/xnpv/xnpv_request_builder.py | 2 +- .../functions/xor/xor_request_builder.py | 2 +- .../functions/year/year_request_builder.py | 2 +- .../year_frac/year_frac_request_builder.py | 2 +- .../functions/yield_/yield_request_builder.py | 2 +- .../yield_disc/yield_disc_request_builder.py | 2 +- .../yield_mat/yield_mat_request_builder.py | 2 +- .../z_test/z_test_request_builder.py | 2 +- .../workbook/names/add/add_request_builder.py | 6 +- .../add_formula_local_request_builder.py | 6 +- .../names/item/range/range_request_builder.py | 8 +- ...orkbook_named_item_item_request_builder.py | 20 +- .../worksheet/worksheet_request_builder.py | 2 +- .../workbook/names/names_request_builder.py | 10 +- ...workbook_operation_item_request_builder.py | 12 +- .../operations/operations_request_builder.py | 10 +- .../refresh_session_request_builder.py | 6 +- ..._info_resource_with_key_request_builder.py | 2 +- ...eration_result_with_key_request_builder.py | 2 +- .../tables/add/add_request_builder.py | 6 +- .../tables/count/count_request_builder.py | 2 +- .../clear_filters_request_builder.py | 6 +- .../item/columns/add/add_request_builder.py | 6 +- .../item/columns/columns_request_builder.py | 14 +- .../columns/count/count_request_builder.py | 2 +- .../data_body_range_request_builder.py | 6 +- .../filter/apply/apply_request_builder.py | 6 +- ...ply_bottom_items_filter_request_builder.py | 2 +- ...y_bottom_percent_filter_request_builder.py | 2 +- ...apply_cell_color_filter_request_builder.py | 2 +- .../apply_custom_filter_request_builder.py | 2 +- .../apply_dynamic_filter_request_builder.py | 2 +- ...apply_font_color_filter_request_builder.py | 2 +- .../apply_icon_filter_request_builder.py | 2 +- .../apply_top_items_filter_request_builder.py | 2 +- ...pply_top_percent_filter_request_builder.py | 2 +- .../apply_values_filter_request_builder.py | 2 +- .../filter/clear/clear_request_builder.py | 6 +- .../item/filter/filter_request_builder.py | 6 +- .../header_row_range_request_builder.py | 6 +- .../item/range/range_request_builder.py | 6 +- .../total_row_range_request_builder.py | 6 +- ...kbook_table_column_item_request_builder.py | 20 +- .../item_at_with_index_request_builder.py | 2 +- .../convert_to_range_request_builder.py | 6 +- .../data_body_range_request_builder.py | 6 +- .../header_row_range_request_builder.py | 6 +- .../item/range/range_request_builder.py | 6 +- .../reapply_filters_request_builder.py | 6 +- .../item/rows/add/add_request_builder.py | 6 +- .../item/rows/count/count_request_builder.py | 2 +- .../rows/item/range/range_request_builder.py | 2 +- ...workbook_table_row_item_request_builder.py | 20 +- .../item_at_with_index_request_builder.py | 2 +- .../tables/item/rows/rows_request_builder.py | 16 +- .../item/sort/apply/apply_request_builder.py | 6 +- .../item/sort/clear/clear_request_builder.py | 6 +- .../sort/reapply/reapply_request_builder.py | 6 +- .../tables/item/sort/sort_request_builder.py | 12 +- .../total_row_range_request_builder.py | 6 +- .../workbook_table_item_request_builder.py | 20 +- .../worksheet/worksheet_request_builder.py | 2 +- .../item_at_with_index_request_builder.py | 2 +- .../workbook/tables/tables_request_builder.py | 10 +- .../item/workbook/workbook_request_builder.py | 6 +- .../worksheets/add/add_request_builder.py | 6 +- ...ll_with_row_with_column_request_builder.py | 2 +- .../item/charts/add/add_request_builder.py | 6 +- .../item/charts/charts_request_builder.py | 16 +- .../charts/count/count_request_builder.py | 2 +- .../charts/item/axes/axes_request_builder.py | 6 +- .../category_axis_request_builder.py | 6 +- .../format/font/font_request_builder.py | 16 +- .../format/format_request_builder.py | 6 +- .../line/clear/clear_request_builder.py | 6 +- .../format/line/line_request_builder.py | 16 +- .../format/format_request_builder.py | 6 +- .../line/clear/clear_request_builder.py | 6 +- .../format/line/line_request_builder.py | 6 +- .../major_gridlines_request_builder.py | 6 +- .../format/format_request_builder.py | 6 +- .../line/clear/clear_request_builder.py | 6 +- .../format/line/line_request_builder.py | 6 +- .../minor_gridlines_request_builder.py | 16 +- .../title/format/font/font_request_builder.py | 6 +- .../title/format/format_request_builder.py | 6 +- .../title/title_request_builder.py | 16 +- .../format/font/font_request_builder.py | 16 +- .../format/format_request_builder.py | 6 +- .../line/clear/clear_request_builder.py | 6 +- .../format/line/line_request_builder.py | 16 +- .../format/format_request_builder.py | 6 +- .../line/clear/clear_request_builder.py | 6 +- .../format/line/line_request_builder.py | 6 +- .../major_gridlines_request_builder.py | 6 +- .../format/format_request_builder.py | 6 +- .../line/clear/clear_request_builder.py | 6 +- .../format/line/line_request_builder.py | 6 +- .../minor_gridlines_request_builder.py | 16 +- .../series_axis_request_builder.py | 6 +- .../title/format/font/font_request_builder.py | 6 +- .../title/format/format_request_builder.py | 6 +- .../title/title_request_builder.py | 16 +- .../format/font/font_request_builder.py | 16 +- .../format/format_request_builder.py | 6 +- .../line/clear/clear_request_builder.py | 6 +- .../format/line/line_request_builder.py | 16 +- .../format/format_request_builder.py | 6 +- .../line/clear/clear_request_builder.py | 6 +- .../format/line/line_request_builder.py | 6 +- .../major_gridlines_request_builder.py | 6 +- .../format/format_request_builder.py | 6 +- .../line/clear/clear_request_builder.py | 6 +- .../format/line/line_request_builder.py | 6 +- .../minor_gridlines_request_builder.py | 16 +- .../title/format/font/font_request_builder.py | 6 +- .../title/format/format_request_builder.py | 6 +- .../value_axis/title/title_request_builder.py | 16 +- .../value_axis/value_axis_request_builder.py | 16 +- .../data_labels_request_builder.py | 16 +- .../fill/clear/clear_request_builder.py | 6 +- .../format/fill/fill_request_builder.py | 6 +- .../set_solid_color_request_builder.py | 6 +- .../format/font/font_request_builder.py | 6 +- .../format/format_request_builder.py | 6 +- .../fill/clear/clear_request_builder.py | 6 +- .../item/format/fill/fill_request_builder.py | 6 +- .../set_solid_color_request_builder.py | 6 +- .../item/format/font/font_request_builder.py | 6 +- .../item/format/format_request_builder.py | 6 +- .../item/image/image_request_builder.py | 2 +- .../image_with_width_request_builder.py | 2 +- ..._with_width_with_height_request_builder.py | 2 +- ...eight_with_fitting_mode_request_builder.py | 2 +- .../fill/clear/clear_request_builder.py | 6 +- .../format/fill/fill_request_builder.py | 6 +- .../set_solid_color_request_builder.py | 6 +- .../format/font/font_request_builder.py | 6 +- .../legend/format/format_request_builder.py | 6 +- .../item/legend/legend_request_builder.py | 16 +- .../series/count/count_request_builder.py | 2 +- .../fill/clear/clear_request_builder.py | 6 +- .../item/format/fill/fill_request_builder.py | 6 +- .../set_solid_color_request_builder.py | 6 +- .../item/format/format_request_builder.py | 6 +- .../line/clear/clear_request_builder.py | 6 +- .../item/format/line/line_request_builder.py | 6 +- .../points/count/count_request_builder.py | 2 +- .../fill/clear/clear_request_builder.py | 6 +- .../item/format/fill/fill_request_builder.py | 6 +- .../set_solid_color_request_builder.py | 6 +- .../item/format/format_request_builder.py | 6 +- ...rkbook_chart_point_item_request_builder.py | 12 +- .../item_at_with_index_request_builder.py | 2 +- .../item/points/points_request_builder.py | 14 +- ...kbook_chart_series_item_request_builder.py | 16 +- .../item_at_with_index_request_builder.py | 2 +- .../item/series/series_request_builder.py | 14 +- .../item/set_data/set_data_request_builder.py | 6 +- .../set_position_request_builder.py | 6 +- .../fill/clear/clear_request_builder.py | 6 +- .../title/format/fill/fill_request_builder.py | 6 +- .../set_solid_color_request_builder.py | 6 +- .../title/format/font/font_request_builder.py | 6 +- .../title/format/format_request_builder.py | 6 +- .../item/title/title_request_builder.py | 16 +- .../workbook_chart_item_request_builder.py | 20 +- .../worksheet/worksheet_request_builder.py | 2 +- .../item_at_with_index_request_builder.py | 2 +- .../item_with_name_request_builder.py | 2 +- .../item/names/add/add_request_builder.py | 6 +- .../add_formula_local_request_builder.py | 6 +- .../names/item/range/range_request_builder.py | 8 +- ...orkbook_named_item_item_request_builder.py | 6 +- .../worksheet/worksheet_request_builder.py | 2 +- .../item/names/names_request_builder.py | 10 +- .../item/refresh/refresh_request_builder.py | 2 +- ...rkbook_pivot_table_item_request_builder.py | 6 +- .../worksheet/worksheet_request_builder.py | 2 +- .../pivot_tables_request_builder.py | 4 +- .../refresh_all_request_builder.py | 2 +- .../protect/protect_request_builder.py | 6 +- .../protection/protection_request_builder.py | 12 +- .../unprotect/unprotect_request_builder.py | 6 +- .../item/range/range_request_builder.py | 2 +- .../range_with_address_request_builder.py | 2 +- .../item/tables/add/add_request_builder.py | 6 +- .../tables/count/count_request_builder.py | 2 +- .../clear_filters_request_builder.py | 6 +- .../item/columns/add/add_request_builder.py | 6 +- .../item/columns/columns_request_builder.py | 14 +- .../columns/count/count_request_builder.py | 2 +- .../data_body_range_request_builder.py | 6 +- .../filter/apply/apply_request_builder.py | 6 +- ...ply_bottom_items_filter_request_builder.py | 2 +- ...y_bottom_percent_filter_request_builder.py | 2 +- ...apply_cell_color_filter_request_builder.py | 2 +- .../apply_custom_filter_request_builder.py | 2 +- .../apply_dynamic_filter_request_builder.py | 2 +- ...apply_font_color_filter_request_builder.py | 2 +- .../apply_icon_filter_request_builder.py | 2 +- .../apply_top_items_filter_request_builder.py | 2 +- ...pply_top_percent_filter_request_builder.py | 2 +- .../apply_values_filter_request_builder.py | 2 +- .../filter/clear/clear_request_builder.py | 6 +- .../item/filter/filter_request_builder.py | 6 +- .../header_row_range_request_builder.py | 6 +- .../item/range/range_request_builder.py | 6 +- .../total_row_range_request_builder.py | 6 +- ...kbook_table_column_item_request_builder.py | 20 +- .../item_at_with_index_request_builder.py | 2 +- .../convert_to_range_request_builder.py | 6 +- .../data_body_range_request_builder.py | 6 +- .../header_row_range_request_builder.py | 6 +- .../item/range/range_request_builder.py | 6 +- .../reapply_filters_request_builder.py | 6 +- .../item/rows/add/add_request_builder.py | 6 +- .../item/rows/count/count_request_builder.py | 2 +- .../rows/item/range/range_request_builder.py | 2 +- ...workbook_table_row_item_request_builder.py | 20 +- .../item_at_with_index_request_builder.py | 2 +- .../tables/item/rows/rows_request_builder.py | 16 +- .../item/sort/apply/apply_request_builder.py | 6 +- .../item/sort/clear/clear_request_builder.py | 6 +- .../sort/reapply/reapply_request_builder.py | 6 +- .../tables/item/sort/sort_request_builder.py | 12 +- .../total_row_range_request_builder.py | 6 +- .../workbook_table_item_request_builder.py | 6 +- .../worksheet/worksheet_request_builder.py | 2 +- .../item_at_with_index_request_builder.py | 2 +- .../item/tables/tables_request_builder.py | 10 +- .../item/tasks/count/count_request_builder.py | 2 +- .../item/changes/changes_request_builder.py | 4 +- .../changes/count/count_request_builder.py | 2 +- ...cument_task_change_item_request_builder.py | 6 +- .../item_at_with_index_request_builder.py | 2 +- .../item/comment/comment_request_builder.py | 6 +- .../task/changes/changes_request_builder.py | 4 +- .../changes/count/count_request_builder.py | 2 +- ...cument_task_change_item_request_builder.py | 6 +- .../item_at_with_index_request_builder.py | 2 +- .../replies/item/task/task_request_builder.py | 6 +- ...book_comment_reply_item_request_builder.py | 6 +- .../replies/replies_request_builder.py | 4 +- .../task/changes/changes_request_builder.py | 4 +- .../changes/count/count_request_builder.py | 2 +- ...cument_task_change_item_request_builder.py | 6 +- .../item_at_with_index_request_builder.py | 2 +- .../item/comment/task/task_request_builder.py | 6 +- ...book_document_task_item_request_builder.py | 6 +- .../item_at_with_index_request_builder.py | 2 +- .../item/tasks/tasks_request_builder.py | 4 +- .../used_range/used_range_request_builder.py | 2 +- ..._range_with_values_only_request_builder.py | 2 +- ...workbook_worksheet_item_request_builder.py | 20 +- .../worksheets/worksheets_request_builder.py | 12 +- .../item/items/items_request_builder.py | 4 +- .../last_modified_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../activities/activities_request_builder.py | 4 +- .../list_/columns/columns_request_builder.py | 14 +- .../column_definition_item_request_builder.py | 6 +- .../source_column_request_builder.py | 2 +- .../add_copy/add_copy_request_builder.py | 6 +- ...y_from_content_type_hub_request_builder.py | 6 +- .../content_types_request_builder.py | 10 +- ...tible_hub_content_types_request_builder.py | 2 +- ...ssociate_with_hub_sites_request_builder.py | 6 +- .../item/base/base_request_builder_.py | 2 +- .../base_types/base_types_request_builder.py | 2 +- .../item/content_type_item_request_builder.py | 2 +- .../column_links_request_builder.py | 4 +- .../item/column_link_item_request_builder.py | 6 +- .../column_positions_request_builder.py | 2 +- .../column_definition_item_request_builder.py | 2 +- .../item/columns/columns_request_builder.py | 14 +- .../column_definition_item_request_builder.py | 20 +- .../source_column_request_builder.py | 2 +- .../item/content_type_item_request_builder.py | 6 +- ...efault_content_location_request_builder.py | 6 +- .../is_published_request_builder.py | 2 +- .../item/publish/publish_request_builder.py | 6 +- .../unpublish/unpublish_request_builder.py | 6 +- .../created_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../item/list_/drive/drive_request_builder.py | 2 +- .../items/delta/delta_request_builder.py | 2 +- .../delta_with_token_request_builder.py | 2 +- .../activities/activities_request_builder.py | 4 +- .../content/content_request_builder.py | 4 +- .../drive_item/drive_item_request_builder.py | 2 +- ...tem_activity_o_l_d_item_request_builder.py | 6 +- .../list_item/list_item_request_builder.py | 2 +- .../analytics/analytics_request_builder.py | 2 +- .../create_link_post_request_body.py | 4 + .../create_link_request_builder.py | 6 +- .../created_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../document_set_versions_request_builder.py | 14 +- ...cument_set_version_item_request_builder.py | 16 +- .../item/fields/fields_request_builder.py | 6 +- .../item/restore/restore_request_builder.py | 6 +- .../content/content_request_builder.py | 4 +- .../drive_item/drive_item_request_builder.py | 2 +- .../item/fields/fields_request_builder.py | 10 +- ...date_time_with_interval_request_builder.py | 2 +- .../last_modified_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../item/list_item_item_request_builder.py | 16 +- .../item/fields/fields_request_builder.py | 6 +- .../list_item_version_item_request_builder.py | 6 +- .../restore_version_request_builder.py | 2 +- .../item/versions/versions_request_builder.py | 4 +- .../item/list_/items/items_request_builder.py | 14 +- .../last_modified_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../drives/item/list_/list_request_builder.py | 6 +- ..._running_operation_item_request_builder.py | 6 +- .../operations/operations_request_builder.py | 4 +- .../reauthorize_request_builder.py | 6 +- .../item/subscription_item_request_builder.py | 6 +- .../subscriptions_request_builder.py | 4 +- .../item/recent/recent_request_builder.py | 2 +- .../root/content/content_request_builder.py | 4 +- .../drives/item/root/root_request_builder.py | 8 +- .../search_with_q_request_builder.py | 2 +- .../shared_with_me_request_builder.py | 2 +- .../item/content/content_request_builder.py | 4 +- .../item/drive_item_item_request_builder.py | 8 +- .../item/special/special_request_builder.py | 8 +- .../classes/classes_request_builder.py | 14 +- .../classes/delta/delta_request_builder.py | 2 +- .../assignment_categories_request_builder.py | 14 +- .../delta/delta_request_builder.py | 2 +- ...education_category_item_request_builder.py | 16 +- .../assignment_defaults_request_builder.py | 16 +- .../assignment_settings_request_builder.py | 16 +- .../grading_categories_request_builder.py | 10 +- ...n_grading_category_item_request_builder.py | 6 +- .../assignments_request_builder.py | 14 +- .../delta/delta_request_builder.py | 2 +- .../item/activate/activate_request_builder.py | 6 +- .../categories/categories_request_builder.py | 12 +- .../categories/delta/delta_request_builder.py | 2 +- .../item/ref/ref_request_builder.py | 2 +- .../categories/ref/ref_request_builder.py | 10 +- .../deactivate/deactivate_request_builder.py | 6 +- ...ucation_assignment_item_request_builder.py | 20 +- .../grading_category_request_builder.py | 4 +- .../item/publish/publish_request_builder.py | 6 +- .../dependent_resources_request_builder.py | 4 +- ...ssignment_resource_item_request_builder.py | 6 +- ...ssignment_resource_item_request_builder.py | 16 +- .../resources/resources_request_builder.py | 14 +- .../item/rubric/ref/ref_request_builder.py | 18 +- .../item/rubric/rubric_request_builder.py | 20 +- ...edback_resources_folder_request_builder.py | 6 +- ...set_up_resources_folder_request_builder.py | 6 +- ...ucation_submission_item_request_builder.py | 22 +- .../item/excuse/excuse_request_builder.py | 87 +++++ .../education_outcome_item_request_builder.py | 14 +- .../item/outcomes/outcomes_request_builder.py | 14 +- .../item/reassign/reassign_request_builder.py | 6 +- .../dependent_resources_request_builder.py | 4 +- ...ubmission_resource_item_request_builder.py | 6 +- ...ubmission_resource_item_request_builder.py | 16 +- .../resources/resources_request_builder.py | 14 +- .../item/return_/return_request_builder.py | 6 +- ...set_up_resources_folder_request_builder.py | 6 +- .../item/submit/submit_request_builder.py | 6 +- .../dependent_resources_request_builder.py | 4 +- ...ubmission_resource_item_request_builder.py | 6 +- ...ubmission_resource_item_request_builder.py | 6 +- .../submitted_resources_request_builder.py | 4 +- .../item/unsubmit/unsubmit_request_builder.py | 6 +- .../submissions_request_builder.py | 10 +- .../education_class_item_request_builder.py | 20 +- .../item/group/group_request_builder.py | 8 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../members/item/ref/ref_request_builder.py | 8 +- .../item/members/members_request_builder.py | 10 +- .../item/members/ref/ref_request_builder.py | 14 +- .../education_module_item_request_builder.py | 20 +- .../modules/item/pin/pin_request_builder.py | 6 +- .../item/publish/publish_request_builder.py | 6 +- ...on_module_resource_item_request_builder.py | 20 +- .../resources/resources_request_builder.py | 14 +- ...set_up_resources_folder_request_builder.py | 6 +- .../item/unpin/unpin_request_builder.py | 6 +- .../item/modules/modules_request_builder.py | 14 +- .../education_school_item_request_builder.py | 2 +- .../item/schools/schools_request_builder.py | 8 +- .../teachers/item/ref/ref_request_builder.py | 8 +- .../item/teachers/ref/ref_request_builder.py | 14 +- .../item/teachers/teachers_request_builder.py | 10 +- .../education/education_request_builder.py | 4 +- .../assignments_request_builder.py | 10 +- .../delta/delta_request_builder.py | 2 +- .../item/activate/activate_request_builder.py | 6 +- .../categories/categories_request_builder.py | 12 +- .../categories/delta/delta_request_builder.py | 2 +- .../item/ref/ref_request_builder.py | 2 +- .../categories/ref/ref_request_builder.py | 10 +- .../deactivate/deactivate_request_builder.py | 6 +- ...ucation_assignment_item_request_builder.py | 6 +- .../grading_category_request_builder.py | 4 +- .../item/publish/publish_request_builder.py | 6 +- .../dependent_resources_request_builder.py | 4 +- ...ssignment_resource_item_request_builder.py | 6 +- ...ssignment_resource_item_request_builder.py | 16 +- .../resources/resources_request_builder.py | 14 +- .../item/rubric/ref/ref_request_builder.py | 18 +- .../item/rubric/rubric_request_builder.py | 20 +- ...edback_resources_folder_request_builder.py | 6 +- ...set_up_resources_folder_request_builder.py | 6 +- ...ucation_submission_item_request_builder.py | 22 +- .../item/excuse/excuse_request_builder.py | 87 +++++ .../education_outcome_item_request_builder.py | 14 +- .../item/outcomes/outcomes_request_builder.py | 14 +- .../item/reassign/reassign_request_builder.py | 6 +- .../dependent_resources_request_builder.py | 4 +- ...ubmission_resource_item_request_builder.py | 6 +- ...ubmission_resource_item_request_builder.py | 16 +- .../resources/resources_request_builder.py | 14 +- .../item/return_/return_request_builder.py | 6 +- ...set_up_resources_folder_request_builder.py | 6 +- .../item/submit/submit_request_builder.py | 6 +- .../dependent_resources_request_builder.py | 4 +- ...ubmission_resource_item_request_builder.py | 6 +- ...ubmission_resource_item_request_builder.py | 6 +- .../submitted_resources_request_builder.py | 4 +- .../item/unsubmit/unsubmit_request_builder.py | 6 +- .../submissions_request_builder.py | 10 +- .../me/classes/classes_request_builder.py | 8 +- .../education_class_item_request_builder.py | 2 +- .../education/me/me_request_builder.py | 6 +- .../education_rubric_item_request_builder.py | 20 +- .../me/rubrics/rubrics_request_builder.py | 14 +- .../education_school_item_request_builder.py | 2 +- .../me/schools/schools_request_builder.py | 8 +- .../education_class_item_request_builder.py | 2 +- .../taught_classes_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../education/me/user/user_request_builder.py | 8 +- .../schools/delta/delta_request_builder.py | 2 +- .../administrative_unit_request_builder.py | 10 +- .../item/classes/classes_request_builder.py | 10 +- .../classes/item/ref/ref_request_builder.py | 8 +- .../item/classes/ref/ref_request_builder.py | 14 +- .../education_school_item_request_builder.py | 20 +- .../users/item/ref/ref_request_builder.py | 8 +- .../item/users/ref/ref_request_builder.py | 14 +- .../item/users/users_request_builder.py | 10 +- .../schools/schools_request_builder.py | 14 +- ...ronization_profile_item_request_builder.py | 16 +- .../item/errors/errors_request_builder.py | 10 +- ...chronization_error_item_request_builder.py | 6 +- .../item/pause/pause_request_builder.py | 6 +- .../profile_status_request_builder.py | 12 +- .../item/reset/reset_request_builder.py | 6 +- .../item/resume/resume_request_builder.py | 6 +- .../item/start/start_request_builder.py | 6 +- .../upload_url/upload_url_request_builder.py | 2 +- ...ynchronization_profiles_request_builder.py | 10 +- .../users/delta/delta_request_builder.py | 2 +- .../assignments_request_builder.py | 10 +- .../delta/delta_request_builder.py | 2 +- .../item/activate/activate_request_builder.py | 6 +- .../categories/categories_request_builder.py | 12 +- .../categories/delta/delta_request_builder.py | 2 +- .../item/ref/ref_request_builder.py | 2 +- .../categories/ref/ref_request_builder.py | 10 +- .../deactivate/deactivate_request_builder.py | 6 +- ...ucation_assignment_item_request_builder.py | 6 +- .../grading_category_request_builder.py | 4 +- .../item/publish/publish_request_builder.py | 6 +- .../dependent_resources_request_builder.py | 4 +- ...ssignment_resource_item_request_builder.py | 6 +- ...ssignment_resource_item_request_builder.py | 16 +- .../resources/resources_request_builder.py | 14 +- .../item/rubric/ref/ref_request_builder.py | 18 +- .../item/rubric/rubric_request_builder.py | 20 +- ...edback_resources_folder_request_builder.py | 6 +- ...set_up_resources_folder_request_builder.py | 6 +- ...ucation_submission_item_request_builder.py | 22 +- .../item/excuse/excuse_request_builder.py | 87 +++++ .../education_outcome_item_request_builder.py | 14 +- .../item/outcomes/outcomes_request_builder.py | 14 +- .../item/reassign/reassign_request_builder.py | 6 +- .../dependent_resources_request_builder.py | 4 +- ...ubmission_resource_item_request_builder.py | 6 +- ...ubmission_resource_item_request_builder.py | 16 +- .../resources/resources_request_builder.py | 14 +- .../item/return_/return_request_builder.py | 6 +- ...set_up_resources_folder_request_builder.py | 6 +- .../item/submit/submit_request_builder.py | 6 +- .../dependent_resources_request_builder.py | 4 +- ...ubmission_resource_item_request_builder.py | 6 +- ...ubmission_resource_item_request_builder.py | 6 +- .../submitted_resources_request_builder.py | 4 +- .../item/unsubmit/unsubmit_request_builder.py | 6 +- .../submissions_request_builder.py | 10 +- .../item/classes/classes_request_builder.py | 8 +- .../education_class_item_request_builder.py | 2 +- .../education_user_item_request_builder.py | 22 +- .../education_rubric_item_request_builder.py | 20 +- .../item/rubrics/rubrics_request_builder.py | 14 +- .../education_school_item_request_builder.py | 2 +- .../item/schools/schools_request_builder.py | 8 +- .../education_class_item_request_builder.py | 2 +- .../taught_classes_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../users/item/user/user_request_builder.py | 8 +- .../education/users/users_request_builder.py | 14 +- .../communities_request_builder.py | 227 ++++++++++++++ .../count/count_request_builder.py | 113 +++++++ .../item/community_item_request_builder.py | 236 ++++++++++++++ .../item/group/group_request_builder.py | 126 ++++++++ .../count/count_request_builder.py | 113 +++++++ ...ice_provisioning_errors_request_builder.py | 156 +++++++++ .../owners/count/count_request_builder.py | 113 +++++++ .../mailbox_settings_request_builder.py | 170 ++++++++++ .../count/count_request_builder.py | 113 +++++++ ...ice_provisioning_errors_request_builder.py | 156 +++++++++ .../owners/item/user_item_request_builder.py | 136 ++++++++ .../item/owners/owners_request_builder.py | 171 ++++++++++ .../employee_experience_request_builder.py | 41 ++- .../count/count_request_builder.py | 113 +++++++ ...gement_async_operations_request_builder.py | 226 +++++++++++++ ...nt_async_operation_item_request_builder.py | 216 +++++++++++++ .../count/count_request_builder.py | 113 +++++++ .../export_jobs_request_builder.py | 228 ++++++++++++++ .../item/content/content_request_builder.py | 33 +- .../goals_export_job_item_request_builder.py | 225 +++++++++++++ .../goals/goals_request_builder.py | 225 +++++++++++++ ...ng_course_activity_item_request_builder.py | 12 +- ...rning_course_activities_request_builder.py | 10 +- .../learning_content_item_request_builder.py | 16 +- .../learning_contents_request_builder.py | 10 +- ...ng_course_activity_item_request_builder.py | 14 +- ...rning_course_activities_request_builder.py | 8 +- .../learning_provider_item_request_builder.py | 16 +- .../learning_providers_request_builder.py | 14 +- .../authorization_systems_request_builder.py | 11 +- ...thorization_system_item_request_builder.py | 12 +- .../data_collection_info_request_builder.py | 12 +- .../connections_request_builder.py | 14 +- ...xternal_connection_item_request_builder.py | 20 +- .../item/groups/groups_request_builder.py | 8 +- .../external_group_item_request_builder.py | 10 +- .../item/identity_item_request_builder.py | 10 +- .../item/members/members_request_builder.py | 8 +- .../activities/activities_request_builder.py | 4 +- .../external_activity_item_request_builder.py | 6 +- .../performed_by_request_builder.py | 2 +- .../external_item_item_request_builder.py | 16 +- ...nnectors_add_activities_request_builder.py | 2 +- .../item/items/items_request_builder.py | 10 +- ...nnection_operation_item_request_builder.py | 6 +- .../operations/operations_request_builder.py | 4 +- .../item/quota/quota_request_builder.py | 12 +- .../item/schema/schema_request_builder.py | 14 +- .../external/external_request_builder.py | 4 +- .../data_connectors_request_builder.py | 18 +- ...try_data_connector_item_request_builder.py | 22 +- ..._industry_data_validate_request_builder.py | 6 +- .../source_system_request_builder.py | 2 +- .../inbound_flows_request_builder.py | 14 +- .../data_connector_request_builder.py | 2 +- .../item/inbound_flow_item_request_builder.py | 22 +- .../item/year/year_request_builder.py | 2 +- .../industry_data_request_builder.py | 2 +- ..._running_operation_item_request_builder.py | 12 +- .../operations/operations_request_builder.py | 10 +- ...ference_definition_item_request_builder.py | 12 +- .../reference_definitions_request_builder.py | 10 +- .../item/role_group_item_request_builder.py | 12 +- .../role_groups_request_builder.py | 10 +- .../activities/activities_request_builder.py | 2 +- .../item/activity/activity_request_builder.py | 2 +- ..._data_run_activity_item_request_builder.py | 2 +- .../industry_data_run_item_request_builder.py | 8 +- ...try_data_get_statistics_request_builder.py | 2 +- ...try_data_get_statistics_request_builder.py | 2 +- .../runs/runs_request_builder.py | 8 +- ..._system_definition_item_request_builder.py | 20 +- .../source_systems_request_builder.py | 14 +- ..._period_definition_item_request_builder.py | 20 +- .../years/years_request_builder.py | 14 +- .../filter_operators_request_builder.py | 4 +- ...er_operator_schema_item_request_builder.py | 6 +- .../companies/companies_request_builder.py | 2 +- .../item/accounts/accounts_request_builder.py | 2 +- .../item/account_item_request_builder.py | 2 +- .../aged_accounts_payable_request_builder.py | 2 +- ...d_accounts_payable_item_request_builder.py | 2 +- ...ged_accounts_receivable_request_builder.py | 2 +- ...ccounts_receivable_item_request_builder.py | 2 +- .../company_information_request_builder.py | 2 +- ...ompany_information_item_request_builder.py | 4 +- .../item/picture/picture_request_builder.py | 4 +- .../item/company_item_request_builder.py | 2 +- .../countries_regions_request_builder.py | 4 +- .../country_region_item_request_builder.py | 6 +- .../currencies/currencies_request_builder.py | 4 +- .../item/currency_item_request_builder.py | 6 +- ...stomer_payment_journals_request_builder.py | 4 +- .../item/account/account_request_builder.py | 2 +- ...er_payment_journal_item_request_builder.py | 6 +- .../customer_payments_request_builder.py | 4 +- .../currency/currency_request_builder.py | 6 +- .../item/customer/customer_request_builder.py | 6 +- .../payment_method_request_builder.py | 6 +- .../payment_term_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../item/picture_item_request_builder.py | 6 +- .../picture/picture_request_builder.py | 4 +- .../shipment_method_request_builder.py | 6 +- .../customer_payment_item_request_builder.py | 6 +- .../customer_payments_request_builder.py | 4 +- .../currency/currency_request_builder.py | 6 +- .../item/customer/customer_request_builder.py | 6 +- .../payment_method_request_builder.py | 6 +- .../payment_term_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../item/picture_item_request_builder.py | 6 +- .../picture/picture_request_builder.py | 4 +- .../shipment_method_request_builder.py | 6 +- .../customer_payment_item_request_builder.py | 6 +- .../customers/customers_request_builder.py | 4 +- .../item/currency/currency_request_builder.py | 6 +- .../item/customer_item_request_builder.py | 6 +- .../payment_method_request_builder.py | 6 +- .../payment_term_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../item/picture_item_request_builder.py | 6 +- .../item/picture/picture_request_builder.py | 4 +- .../shipment_method_request_builder.py | 6 +- .../dimension_values_request_builder.py | 2 +- .../dimension_value_item_request_builder.py | 2 +- .../dimensions/dimensions_request_builder.py | 2 +- .../item/dimension_item_request_builder.py | 2 +- .../dimension_values_request_builder.py | 2 +- .../dimension_value_item_request_builder.py | 2 +- .../employees/employees_request_builder.py | 4 +- .../item/employee_item_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../item/picture_item_request_builder.py | 6 +- .../item/picture/picture_request_builder.py | 4 +- .../general_ledger_entries_request_builder.py | 2 +- .../item/account/account_request_builder.py | 2 +- ...neral_ledger_entry_item_request_builder.py | 2 +- .../item_category_item_request_builder.py | 6 +- .../item_categories_request_builder.py | 4 +- .../item_category_request_builder.py | 6 +- .../items/item/item_item_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../item/picture_item_request_builder.py | 6 +- .../item/picture/picture_request_builder.py | 4 +- .../item/items/items_request_builder.py | 4 +- .../item/account/account_request_builder.py | 2 +- .../item/journal_line_item_request_builder.py | 6 +- .../journal_lines_request_builder.py | 4 +- .../item/account/account_request_builder.py | 2 +- .../item/journal_item_request_builder.py | 6 +- .../item/account/account_request_builder.py | 2 +- .../item/journal_line_item_request_builder.py | 6 +- .../journal_lines_request_builder.py | 4 +- .../item/post/post_request_builder.py | 2 +- .../item/journals/journals_request_builder.py | 4 +- .../payment_method_item_request_builder.py | 6 +- .../payment_methods_request_builder.py | 4 +- .../item/payment_term_item_request_builder.py | 6 +- .../payment_terms_request_builder.py | 4 +- .../item/content/content_request_builder.py | 4 +- .../item/picture_item_request_builder.py | 6 +- .../item/picture/picture_request_builder.py | 4 +- .../item/account/account_request_builder.py | 2 +- .../item_category_request_builder.py | 6 +- .../item/item/item_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../item/picture_item_request_builder.py | 6 +- .../item/picture/picture_request_builder.py | 4 +- ...chase_invoice_line_item_request_builder.py | 4 +- .../purchase_invoice_lines_request_builder.py | 2 +- .../item/currency/currency_request_builder.py | 6 +- .../item/post/post_request_builder.py | 2 +- .../purchase_invoice_item_request_builder.py | 4 +- .../item/account/account_request_builder.py | 2 +- .../item_category_request_builder.py | 6 +- .../item/item/item_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../item/picture_item_request_builder.py | 6 +- .../item/picture/picture_request_builder.py | 4 +- ...chase_invoice_line_item_request_builder.py | 4 +- .../purchase_invoice_lines_request_builder.py | 2 +- .../currency/currency_request_builder.py | 6 +- .../payment_method_request_builder.py | 6 +- .../payment_term_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../item/picture_item_request_builder.py | 6 +- .../vendor/picture/picture_request_builder.py | 4 +- .../item/vendor/vendor_request_builder.py | 6 +- .../purchase_invoices_request_builder.py | 2 +- .../item/account/account_request_builder.py | 2 +- .../item_category_request_builder.py | 6 +- .../item/item/item_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../item/picture_item_request_builder.py | 6 +- .../item/picture/picture_request_builder.py | 4 +- ...s_credit_memo_line_item_request_builder.py | 4 +- ...sales_credit_memo_lines_request_builder.py | 2 +- .../item/currency/currency_request_builder.py | 6 +- .../currency/currency_request_builder.py | 6 +- .../item/customer/customer_request_builder.py | 6 +- .../payment_method_request_builder.py | 6 +- .../payment_term_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../item/picture_item_request_builder.py | 6 +- .../picture/picture_request_builder.py | 4 +- .../shipment_method_request_builder.py | 6 +- .../payment_term_request_builder.py | 6 +- .../sales_credit_memo_item_request_builder.py | 4 +- .../item/account/account_request_builder.py | 2 +- .../item_category_request_builder.py | 6 +- .../item/item/item_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../item/picture_item_request_builder.py | 6 +- .../item/picture/picture_request_builder.py | 4 +- ...s_credit_memo_line_item_request_builder.py | 4 +- ...sales_credit_memo_lines_request_builder.py | 2 +- .../sales_credit_memos_request_builder.py | 2 +- .../item/account/account_request_builder.py | 2 +- .../item_category_request_builder.py | 6 +- .../item/item/item_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../item/picture_item_request_builder.py | 6 +- .../item/picture/picture_request_builder.py | 4 +- ...sales_invoice_line_item_request_builder.py | 4 +- .../sales_invoice_lines_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 2 +- .../cancel_and_send_request_builder.py | 2 +- .../item/currency/currency_request_builder.py | 6 +- .../currency/currency_request_builder.py | 6 +- .../item/customer/customer_request_builder.py | 6 +- .../payment_method_request_builder.py | 6 +- .../payment_term_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../item/picture_item_request_builder.py | 6 +- .../picture/picture_request_builder.py | 4 +- .../shipment_method_request_builder.py | 6 +- .../payment_term_request_builder.py | 6 +- .../item/post/post_request_builder.py | 2 +- .../post_and_send_request_builder.py | 2 +- .../sales_invoice_item_request_builder.py | 4 +- .../item/account/account_request_builder.py | 2 +- .../item_category_request_builder.py | 6 +- .../item/item/item_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../item/picture_item_request_builder.py | 6 +- .../item/picture/picture_request_builder.py | 4 +- ...sales_invoice_line_item_request_builder.py | 4 +- .../sales_invoice_lines_request_builder.py | 2 +- .../item/send/send_request_builder.py | 2 +- .../shipment_method_request_builder.py | 6 +- .../sales_invoices_request_builder.py | 2 +- .../item/account/account_request_builder.py | 2 +- .../item_category_request_builder.py | 6 +- .../item/item/item_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../item/picture_item_request_builder.py | 6 +- .../item/picture/picture_request_builder.py | 4 +- .../sales_order_line_item_request_builder.py | 4 +- .../sales_order_lines_request_builder.py | 2 +- .../item/currency/currency_request_builder.py | 6 +- .../currency/currency_request_builder.py | 6 +- .../item/customer/customer_request_builder.py | 6 +- .../payment_method_request_builder.py | 6 +- .../payment_term_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../item/picture_item_request_builder.py | 6 +- .../picture/picture_request_builder.py | 4 +- .../shipment_method_request_builder.py | 6 +- .../payment_term_request_builder.py | 6 +- .../item/sales_order_item_request_builder.py | 4 +- .../item/account/account_request_builder.py | 2 +- .../item_category_request_builder.py | 6 +- .../item/item/item_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../item/picture_item_request_builder.py | 6 +- .../item/picture/picture_request_builder.py | 4 +- .../sales_order_line_item_request_builder.py | 4 +- .../sales_order_lines_request_builder.py | 2 +- .../sales_orders_request_builder.py | 2 +- .../item/account/account_request_builder.py | 2 +- .../item_category_request_builder.py | 6 +- .../item/item/item_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../item/picture_item_request_builder.py | 6 +- .../item/picture/picture_request_builder.py | 4 +- .../sales_quote_line_item_request_builder.py | 4 +- .../sales_quote_lines_request_builder.py | 2 +- .../item/currency/currency_request_builder.py | 6 +- .../currency/currency_request_builder.py | 6 +- .../item/customer/customer_request_builder.py | 6 +- .../payment_method_request_builder.py | 6 +- .../payment_term_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../item/picture_item_request_builder.py | 6 +- .../picture/picture_request_builder.py | 4 +- .../shipment_method_request_builder.py | 6 +- .../make_invoice_request_builder.py | 2 +- .../payment_term_request_builder.py | 6 +- .../item/sales_quote_item_request_builder.py | 4 +- .../item/account/account_request_builder.py | 2 +- .../item_category_request_builder.py | 6 +- .../item/item/item_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../item/picture_item_request_builder.py | 6 +- .../item/picture/picture_request_builder.py | 4 +- .../sales_quote_line_item_request_builder.py | 4 +- .../sales_quote_lines_request_builder.py | 2 +- .../item/send/send_request_builder.py | 2 +- .../shipment_method_request_builder.py | 6 +- .../sales_quotes_request_builder.py | 2 +- .../shipment_method_item_request_builder.py | 6 +- .../shipment_methods_request_builder.py | 4 +- .../item/tax_area_item_request_builder.py | 6 +- .../tax_areas/tax_areas_request_builder.py | 4 +- .../item/tax_group_item_request_builder.py | 6 +- .../tax_groups/tax_groups_request_builder.py | 4 +- .../unit_of_measure_item_request_builder.py | 6 +- .../units_of_measure_request_builder.py | 4 +- .../item/currency/currency_request_builder.py | 6 +- .../payment_method_request_builder.py | 6 +- .../payment_term_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../item/picture_item_request_builder.py | 6 +- .../item/picture/picture_request_builder.py | 4 +- .../item/vendor_item_request_builder.py | 6 +- .../item/vendors/vendors_request_builder.py | 4 +- .../financials/financials_request_builder.py | 4 +- .../functions/functions_request_builder.py | 4 +- ...ng_function_schema_item_request_builder.py | 6 +- .../governance_resources_request_builder.py | 4 +- ...overnance_resource_item_request_builder.py | 6 +- .../item/parent/parent_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 2 +- ...assignment_request_item_request_builder.py | 6 +- .../item/resource/resource_request_builder.py | 2 +- .../resource/resource_request_builder.py | 2 +- .../role_definition_request_builder.py | 6 +- .../role_setting_request_builder.py | 2 +- .../item/subject/subject_request_builder.py | 6 +- .../update_request_request_builder.py | 2 +- ...ole_assignment_requests_request_builder.py | 4 +- .../export/export_request_builder.py | 2 +- ...ce_role_assignment_item_request_builder.py | 6 +- ...ligible_role_assignment_request_builder.py | 2 +- .../item/resource/resource_request_builder.py | 2 +- .../resource/resource_request_builder.py | 2 +- .../role_definition_request_builder.py | 6 +- .../role_setting_request_builder.py | 2 +- .../item/subject/subject_request_builder.py | 6 +- .../role_assignments_request_builder.py | 4 +- ...ce_role_definition_item_request_builder.py | 6 +- .../item/resource/resource_request_builder.py | 2 +- .../role_setting_request_builder.py | 2 +- .../role_definitions_request_builder.py | 4 +- ...nance_role_setting_item_request_builder.py | 6 +- .../item/resource/resource_request_builder.py | 2 +- .../resource/resource_request_builder.py | 2 +- .../role_definition_request_builder.py | 6 +- .../role_setting_request_builder.py | 2 +- .../role_settings_request_builder.py | 4 +- .../register/register_request_builder.py | 2 +- ...ole_assignment_requests_request_builder.py | 4 +- .../item/cancel/cancel_request_builder.py | 2 +- ...assignment_request_item_request_builder.py | 6 +- .../item/resource/resource_request_builder.py | 2 +- .../resource/resource_request_builder.py | 2 +- .../role_definition_request_builder.py | 6 +- .../role_setting_request_builder.py | 2 +- .../item/subject/subject_request_builder.py | 6 +- .../update_request_request_builder.py | 2 +- .../export/export_request_builder.py | 2 +- ...rnance_role_assignments_request_builder.py | 4 +- ...ce_role_assignment_item_request_builder.py | 6 +- ...ligible_role_assignment_request_builder.py | 2 +- .../item/resource/resource_request_builder.py | 2 +- .../resource/resource_request_builder.py | 2 +- .../role_definition_request_builder.py | 6 +- .../role_setting_request_builder.py | 2 +- .../item/subject/subject_request_builder.py | 6 +- ...rnance_role_definitions_request_builder.py | 4 +- ...ce_role_definition_item_request_builder.py | 6 +- .../item/resource/resource_request_builder.py | 2 +- .../role_setting_request_builder.py | 2 +- ...overnance_role_settings_request_builder.py | 4 +- ...nance_role_setting_item_request_builder.py | 6 +- .../item/resource/resource_request_builder.py | 2 +- .../resource/resource_request_builder.py | 2 +- .../role_definition_request_builder.py | 6 +- .../role_setting_request_builder.py | 2 +- .../governance_subjects_request_builder.py | 4 +- ...governance_subject_item_request_builder.py | 6 +- ...roup_lifecycle_policies_request_builder.py | 14 +- .../add_group/add_group_request_builder.py | 2 +- ...p_lifecycle_policy_item_request_builder.py | 20 +- .../remove_group_request_builder.py | 2 +- .../renew_group_request_builder.py | 6 +- .../groups/delta/delta_request_builder.py | 2 +- ...uate_dynamic_membership_request_builder.py | 2 +- .../get_by_ids/get_by_ids_request_builder.py | 6 +- .../get_user_owned_objects_request_builder.py | 6 +- .../groups/groups_request_builder.py | 14 +- .../accepted_senders_request_builder.py | 10 +- .../item/ref/ref_request_builder.py | 2 +- .../ref/ref_request_builder.py | 14 +- .../add_favorite_request_builder.py | 6 +- .../app_role_assignments_request_builder.py | 8 +- ...pp_role_assignment_item_request_builder.py | 10 +- .../assign_license_request_builder.py | 6 +- ...sharing_roles_with_user_request_builder.py | 2 +- .../calendar_permissions_request_builder.py | 14 +- ...alendar_permission_item_request_builder.py | 20 +- .../item/calendar/calendar_request_builder.py | 2 +- .../calendar_view_request_builder.py | 2 +- .../delta/delta_request_builder.py | 8 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../delta/delta_request_builder.py | 8 +- .../exception_occurrences_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../instances/delta/delta_request_builder.py | 8 +- .../instances/instances_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../instances/delta/delta_request_builder.py | 8 +- .../instances/instances_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../delta/delta_request_builder.py | 8 +- .../exception_occurrences_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../events/delta/delta_request_builder.py | 8 +- .../calendar/events/events_request_builder.py | 14 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../events/item/event_item_request_builder.py | 6 +- .../delta/delta_request_builder.py | 8 +- .../exception_occurrences_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../instances/delta/delta_request_builder.py | 8 +- .../instances/instances_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../instances/delta/delta_request_builder.py | 8 +- .../instances/instances_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../delta/delta_request_builder.py | 8 +- .../exception_occurrences_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../get_schedule_request_builder.py | 6 +- .../calendar_view_request_builder.py | 2 +- .../delta/delta_request_builder.py | 8 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../delta/delta_request_builder.py | 8 +- .../exception_occurrences_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../instances/delta/delta_request_builder.py | 8 +- .../instances/instances_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../instances/delta/delta_request_builder.py | 8 +- .../instances/instances_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../delta/delta_request_builder.py | 8 +- .../exception_occurrences_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- ...ted_permissions_for_app_request_builder.py | 2 +- .../check_member_groups_request_builder.py | 6 +- .../check_member_objects_request_builder.py | 2 +- .../conversations_request_builder.py | 14 +- .../item/conversation_item_request_builder.py | 14 +- ...onversation_thread_item_request_builder.py | 6 +- .../attachments_request_builder.py | 10 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 4 +- .../extensions/extensions_request_builder.py | 10 +- .../item/extension_item_request_builder.py | 16 +- .../item/forward/forward_request_builder.py | 6 +- .../attachments_request_builder.py | 10 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 4 +- .../extensions/extensions_request_builder.py | 10 +- .../item/extension_item_request_builder.py | 16 +- .../forward/forward_request_builder.py | 6 +- .../in_reply_to_request_builder.py | 2 +- .../item/mention_item_request_builder.py | 4 +- .../mentions/mentions_request_builder.py | 4 +- .../reply/reply_request_builder.py | 7 +- .../item/mention_item_request_builder.py | 4 +- .../item/mentions/mentions_request_builder.py | 4 +- .../posts/item/post_item_request_builder.py | 10 +- .../posts/item/reply/reply_request_builder.py | 7 +- .../item/posts/posts_request_builder.py | 8 +- .../item/reply/reply_request_builder.py | 8 +- .../item/threads/threads_request_builder.py | 14 +- .../created_on_behalf_of_request_builder.py | 8 +- .../item/drive/drive_request_builder.py | 2 +- .../item/drives/drives_request_builder.py | 2 +- .../drives/item/drive_item_request_builder.py | 2 +- .../endpoints/endpoints_request_builder.py | 10 +- .../item/endpoint_item_request_builder.py | 12 +- ...uate_dynamic_membership_request_builder.py | 6 +- .../events/delta/delta_request_builder.py | 8 +- .../item/events/events_request_builder.py | 14 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../events/item/event_item_request_builder.py | 20 +- .../delta/delta_request_builder.py | 8 +- .../exception_occurrences_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../instances/delta/delta_request_builder.py | 8 +- .../instances/instances_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../instances/delta/delta_request_builder.py | 8 +- .../instances/instances_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../delta/delta_request_builder.py | 8 +- .../exception_occurrences_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 4 +- .../item/extension_item_request_builder.py | 6 +- .../get_member_groups_request_builder.py | 6 +- .../get_member_objects_request_builder.py | 2 +- .../groups/item/group_item_request_builder.py | 20 +- ...roup_lifecycle_policies_request_builder.py | 10 +- .../add_group/add_group_request_builder.py | 2 +- ...p_lifecycle_policy_item_request_builder.py | 6 +- .../remove_group_request_builder.py | 2 +- .../renew_group_request_builder.py | 6 +- ...aph_administrative_unit_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 2 +- ...aph_administrative_unit_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../member_of/member_of_request_builder.py | 2 +- .../graph_application_request_builder.py | 2 +- .../graph_device_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../graph_org_contact_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../graph_application_request_builder.py | 2 +- .../graph_device_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../graph_org_contact_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../members/item/ref/ref_request_builder.py | 8 +- .../item/members/members_request_builder.py | 10 +- .../item/members/ref/ref_request_builder.py | 14 +- .../graph_application_request_builder.py | 2 +- .../graph_device_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../graph_org_contact_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 2 +- .../graph_application_request_builder.py | 2 +- .../graph_device_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../graph_org_contact_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- ...ers_with_license_errors_request_builder.py | 2 +- ...t_notebook_from_web_url_request_builder.py | 6 +- ...lude_personal_notebooks_request_builder.py | 2 +- .../copy_notebook_request_builder.py | 6 +- .../item/notebook_item_request_builder.py | 12 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_group_request_builder.py | 2 +- .../section_group_item_request_builder.py | 6 +- .../section_group_item_request_builder.py | 2 +- .../section_groups_request_builder.py | 8 +- .../copy_to_notebook_request_builder.py | 6 +- .../copy_to_section_group_request_builder.py | 6 +- .../onenote_section_item_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../copy_to_section_request_builder.py | 6 +- .../item/onenote_page_item_request_builder.py | 6 +- .../onenote_patch_content_request_builder.py | 2 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_request_builder.py | 2 +- .../item/preview/preview_request_builder.py | 2 +- .../item/pages/pages_request_builder.py | 4 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_group_request_builder.py | 2 +- .../item/sections/sections_request_builder.py | 14 +- .../section_groups_request_builder.py | 14 +- .../copy_to_notebook_request_builder.py | 6 +- .../copy_to_section_group_request_builder.py | 6 +- .../onenote_section_item_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../copy_to_section_request_builder.py | 6 +- .../item/onenote_page_item_request_builder.py | 6 +- .../onenote_patch_content_request_builder.py | 2 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_request_builder.py | 2 +- .../item/preview/preview_request_builder.py | 2 +- .../item/pages/pages_request_builder.py | 4 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_group_request_builder.py | 2 +- .../item/sections/sections_request_builder.py | 14 +- .../notebooks/notebooks_request_builder.py | 14 +- .../item/onenote/onenote_request_builder.py | 6 +- .../onenote_operation_item_request_builder.py | 12 +- .../operations/operations_request_builder.py | 10 +- .../item/content/content_request_builder.py | 4 +- .../copy_to_section_request_builder.py | 6 +- .../item/onenote_page_item_request_builder.py | 10 +- .../onenote_patch_content_request_builder.py | 2 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_request_builder.py | 2 +- .../item/preview/preview_request_builder.py | 2 +- .../onenote/pages/pages_request_builder.py | 4 +- .../item/content/content_request_builder.py | 4 +- .../onenote_resource_item_request_builder.py | 6 +- .../resources/resources_request_builder.py | 4 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_group_request_builder.py | 2 +- .../section_group_item_request_builder.py | 12 +- .../section_group_item_request_builder.py | 2 +- .../section_groups_request_builder.py | 8 +- .../copy_to_notebook_request_builder.py | 6 +- .../copy_to_section_group_request_builder.py | 6 +- .../onenote_section_item_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../copy_to_section_request_builder.py | 6 +- .../item/onenote_page_item_request_builder.py | 6 +- .../onenote_patch_content_request_builder.py | 2 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_request_builder.py | 2 +- .../item/preview/preview_request_builder.py | 2 +- .../item/pages/pages_request_builder.py | 4 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_group_request_builder.py | 2 +- .../item/sections/sections_request_builder.py | 14 +- .../section_groups_request_builder.py | 10 +- .../copy_to_notebook_request_builder.py | 6 +- .../copy_to_section_group_request_builder.py | 6 +- .../onenote_section_item_request_builder.py | 12 +- .../item/content/content_request_builder.py | 4 +- .../copy_to_section_request_builder.py | 6 +- .../item/onenote_page_item_request_builder.py | 6 +- .../onenote_patch_content_request_builder.py | 2 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_request_builder.py | 2 +- .../item/preview/preview_request_builder.py | 2 +- .../item/pages/pages_request_builder.py | 4 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_group_request_builder.py | 2 +- .../sections/sections_request_builder.py | 10 +- .../graph_application_request_builder.py | 2 +- .../graph_device_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../graph_org_contact_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../graph_application_request_builder.py | 2 +- .../graph_device_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../graph_org_contact_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../owners/item/ref/ref_request_builder.py | 8 +- .../item/owners/owners_request_builder.py | 10 +- .../item/owners/ref/ref_request_builder.py | 14 +- ...c_permission_grant_item_request_builder.py | 12 +- .../permission_grants_request_builder.py | 10 +- .../item/photo/photo_request_builder.py | 49 +-- .../photo/value/content_request_builder.py | 4 +- .../profile_photo_item_request_builder.py | 2 +- .../item/value/content_request_builder.py | 4 +- .../item/photos/photos_request_builder.py | 8 +- .../item/planner/planner_request_builder.py | 6 +- .../plans/delta/delta_request_builder.py | 2 +- .../item/archive/archive_post_request_body.py | 49 +++ .../item/archive/archive_request_builder.py | 91 ++++++ .../item/buckets/buckets_request_builder.py | 10 +- .../buckets/delta/delta_request_builder.py | 2 +- .../planner_bucket_item_request_builder.py | 6 +- .../item/tasks/delta/delta_request_builder.py | 2 +- ...ed_to_task_board_format_request_builder.py | 12 +- ...ucket_task_board_format_request_builder.py | 12 +- .../item/details/details_request_builder.py | 12 +- .../item/planner_task_item_request_builder.py | 6 +- ...gress_task_board_format_request_builder.py | 12 +- .../item/tasks/tasks_request_builder.py | 10 +- .../item/details/details_request_builder.py | 12 +- .../move_to_container_request_builder.py | 7 +- .../item/planner_plan_item_request_builder.py | 26 +- .../item/tasks/delta/delta_request_builder.py | 2 +- ...ed_to_task_board_format_request_builder.py | 12 +- ...ucket_task_board_format_request_builder.py | 12 +- .../item/details/details_request_builder.py | 12 +- .../item/planner_task_item_request_builder.py | 6 +- ...gress_task_board_format_request_builder.py | 12 +- .../plans/item/tasks/tasks_request_builder.py | 10 +- .../unarchive/unarchive_post_request_body.py | 49 +++ .../unarchive/unarchive_request_builder.py | 91 ++++++ .../planner/plans/plans_request_builder.py | 10 +- .../item/ref/ref_request_builder.py | 2 +- .../ref/ref_request_builder.py | 14 +- .../rejected_senders_request_builder.py | 10 +- .../remove_favorite_request_builder.py | 6 +- .../item/renew/renew_request_builder.py | 6 +- .../reset_unseen_count_request_builder.py | 6 +- .../item/restore/restore_request_builder.py | 6 +- ...ry_service_provisioning_request_builder.py | 6 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../directory_setting_item_request_builder.py | 6 +- .../item/settings/settings_request_builder.py | 8 +- .../item/sites/add/add_request_builder.py | 2 +- .../item/sites/delta/delta_request_builder.py | 2 +- .../get_all_sites_request_builder.py | 2 +- .../all_time/all_time_request_builder.py | 2 +- .../analytics/analytics_request_builder.py | 6 +- .../activities/activities_request_builder.py | 4 +- .../content/content_request_builder.py | 4 +- .../drive_item/drive_item_request_builder.py | 2 +- .../item_activity_item_request_builder.py | 6 +- ...item_activity_stat_item_request_builder.py | 6 +- .../item_activity_stats_request_builder.py | 4 +- .../last_seven_days_request_builder.py | 2 +- .../item/columns/columns_request_builder.py | 14 +- .../column_definition_item_request_builder.py | 6 +- .../source_column_request_builder.py | 2 +- .../add_copy/add_copy_request_builder.py | 6 +- ...y_from_content_type_hub_request_builder.py | 6 +- .../content_types_request_builder.py | 14 +- ...tible_hub_content_types_request_builder.py | 2 +- ...ssociate_with_hub_sites_request_builder.py | 6 +- .../item/base/base_request_builder_.py | 2 +- .../base_types/base_types_request_builder.py | 2 +- .../item/content_type_item_request_builder.py | 2 +- .../column_links_request_builder.py | 4 +- .../item/column_link_item_request_builder.py | 6 +- .../column_positions_request_builder.py | 2 +- .../column_definition_item_request_builder.py | 2 +- .../item/columns/columns_request_builder.py | 14 +- .../column_definition_item_request_builder.py | 20 +- .../source_column_request_builder.py | 2 +- .../item/content_type_item_request_builder.py | 20 +- ...efault_content_location_request_builder.py | 6 +- .../is_published_request_builder.py | 2 +- .../item/publish/publish_request_builder.py | 6 +- .../unpublish/unpublish_request_builder.py | 6 +- .../created_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../sites/item/drive/drive_request_builder.py | 2 +- .../item/drives/drives_request_builder.py | 2 +- .../drives/item/drive_item_request_builder.py | 2 +- .../external_columns_request_builder.py | 2 +- .../column_definition_item_request_builder.py | 2 +- ...date_time_with_interval_request_builder.py | 2 +- ...s_for_list_with_list_id_request_builder.py | 2 +- .../get_by_path_with_path_request_builder.py | 2 +- .../bitlocker/bitlocker_request_builder.py | 2 +- ...ocker_recovery_key_item_request_builder.py | 8 +- .../recovery_keys_request_builder.py | 8 +- ...oss_prevention_policies_request_builder.py | 4 +- .../evaluate/evaluate_request_builder.py | 2 +- ..._prevention_policy_item_request_builder.py | 6 +- .../decrypt_buffer_request_builder.py | 2 +- .../encrypt_buffer_request_builder.py | 2 +- .../information_protection_request_builder.py | 6 +- .../evaluate_application_request_builder.py | 6 +- ..._classification_results_request_builder.py | 6 +- .../evaluate_removal_request_builder.py | 6 +- .../extract_label_request_builder.py | 6 +- ...n_protection_label_item_request_builder.py | 12 +- .../policy/labels/labels_request_builder.py | 10 +- .../policy/policy_request_builder.py | 6 +- .../evaluate/evaluate_request_builder.py | 2 +- .../sensitivity_label_item_request_builder.py | 6 +- .../evaluate/evaluate_request_builder.py | 2 +- .../sensitivity_label_item_request_builder.py | 6 +- .../sublabels/sublabels_request_builder.py | 4 +- .../sensitivity_labels_request_builder.py | 4 +- ...itivity_policy_settings_request_builder.py | 6 +- .../sign_digest_request_builder.py | 2 +- ..._assessment_result_item_request_builder.py | 6 +- .../item/results/results_request_builder.py | 4 +- ...assessment_request_item_request_builder.py | 12 +- ...eat_assessment_requests_request_builder.py | 14 +- .../verify_signature_request_builder.py | 2 +- .../item/base_item_item_request_builder.py | 2 +- .../sites/item/items/items_request_builder.py | 2 +- .../last_modified_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../activities/activities_request_builder.py | 4 +- .../item/columns/columns_request_builder.py | 14 +- .../column_definition_item_request_builder.py | 6 +- .../source_column_request_builder.py | 2 +- .../add_copy/add_copy_request_builder.py | 6 +- ...y_from_content_type_hub_request_builder.py | 6 +- .../content_types_request_builder.py | 10 +- ...tible_hub_content_types_request_builder.py | 2 +- ...ssociate_with_hub_sites_request_builder.py | 6 +- .../item/base/base_request_builder_.py | 2 +- .../base_types/base_types_request_builder.py | 2 +- .../item/content_type_item_request_builder.py | 2 +- .../column_links_request_builder.py | 4 +- .../item/column_link_item_request_builder.py | 6 +- .../column_positions_request_builder.py | 2 +- .../column_definition_item_request_builder.py | 2 +- .../item/columns/columns_request_builder.py | 14 +- .../column_definition_item_request_builder.py | 20 +- .../source_column_request_builder.py | 2 +- .../item/content_type_item_request_builder.py | 6 +- ...efault_content_location_request_builder.py | 6 +- .../is_published_request_builder.py | 2 +- .../item/publish/publish_request_builder.py | 6 +- .../unpublish/unpublish_request_builder.py | 6 +- .../created_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../lists/item/drive/drive_request_builder.py | 2 +- .../item/items/delta/delta_request_builder.py | 2 +- .../delta_with_token_request_builder.py | 2 +- .../activities/activities_request_builder.py | 4 +- .../content/content_request_builder.py | 4 +- .../drive_item/drive_item_request_builder.py | 2 +- ...tem_activity_o_l_d_item_request_builder.py | 6 +- .../list_item/list_item_request_builder.py | 2 +- .../analytics/analytics_request_builder.py | 2 +- .../create_link_post_request_body.py | 4 + .../create_link_request_builder.py | 6 +- .../created_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../document_set_versions_request_builder.py | 14 +- ...cument_set_version_item_request_builder.py | 16 +- .../item/fields/fields_request_builder.py | 6 +- .../item/restore/restore_request_builder.py | 6 +- .../content/content_request_builder.py | 4 +- .../drive_item/drive_item_request_builder.py | 2 +- .../item/fields/fields_request_builder.py | 10 +- ...date_time_with_interval_request_builder.py | 2 +- .../last_modified_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../item/list_item_item_request_builder.py | 16 +- .../item/fields/fields_request_builder.py | 6 +- .../list_item_version_item_request_builder.py | 6 +- .../restore_version_request_builder.py | 2 +- .../item/versions/versions_request_builder.py | 4 +- .../lists/item/items/items_request_builder.py | 14 +- .../last_modified_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../lists/item/list_item_request_builder.py | 12 +- ..._running_operation_item_request_builder.py | 6 +- .../operations/operations_request_builder.py | 4 +- .../reauthorize_request_builder.py | 6 +- .../item/subscription_item_request_builder.py | 6 +- .../subscriptions_request_builder.py | 4 +- .../sites/item/lists/lists_request_builder.py | 14 +- ...t_notebook_from_web_url_request_builder.py | 6 +- ...lude_personal_notebooks_request_builder.py | 2 +- .../copy_notebook_request_builder.py | 6 +- .../item/notebook_item_request_builder.py | 12 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_group_request_builder.py | 2 +- .../section_group_item_request_builder.py | 6 +- .../section_group_item_request_builder.py | 2 +- .../section_groups_request_builder.py | 8 +- .../copy_to_notebook_request_builder.py | 6 +- .../copy_to_section_group_request_builder.py | 6 +- .../onenote_section_item_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../copy_to_section_request_builder.py | 6 +- .../item/onenote_page_item_request_builder.py | 6 +- .../onenote_patch_content_request_builder.py | 2 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_request_builder.py | 2 +- .../item/preview/preview_request_builder.py | 2 +- .../item/pages/pages_request_builder.py | 4 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_group_request_builder.py | 2 +- .../item/sections/sections_request_builder.py | 14 +- .../section_groups_request_builder.py | 14 +- .../copy_to_notebook_request_builder.py | 6 +- .../copy_to_section_group_request_builder.py | 6 +- .../onenote_section_item_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../copy_to_section_request_builder.py | 6 +- .../item/onenote_page_item_request_builder.py | 6 +- .../onenote_patch_content_request_builder.py | 2 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_request_builder.py | 2 +- .../item/preview/preview_request_builder.py | 2 +- .../item/pages/pages_request_builder.py | 4 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_group_request_builder.py | 2 +- .../item/sections/sections_request_builder.py | 14 +- .../notebooks/notebooks_request_builder.py | 14 +- .../item/onenote/onenote_request_builder.py | 6 +- .../onenote_operation_item_request_builder.py | 12 +- .../operations/operations_request_builder.py | 10 +- .../item/content/content_request_builder.py | 4 +- .../copy_to_section_request_builder.py | 6 +- .../item/onenote_page_item_request_builder.py | 10 +- .../onenote_patch_content_request_builder.py | 2 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_request_builder.py | 2 +- .../item/preview/preview_request_builder.py | 2 +- .../onenote/pages/pages_request_builder.py | 4 +- .../item/content/content_request_builder.py | 4 +- .../onenote_resource_item_request_builder.py | 6 +- .../resources/resources_request_builder.py | 4 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_group_request_builder.py | 2 +- .../section_group_item_request_builder.py | 12 +- .../section_group_item_request_builder.py | 2 +- .../section_groups_request_builder.py | 8 +- .../copy_to_notebook_request_builder.py | 6 +- .../copy_to_section_group_request_builder.py | 6 +- .../onenote_section_item_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../copy_to_section_request_builder.py | 6 +- .../item/onenote_page_item_request_builder.py | 6 +- .../onenote_patch_content_request_builder.py | 2 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_request_builder.py | 2 +- .../item/preview/preview_request_builder.py | 2 +- .../item/pages/pages_request_builder.py | 4 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_group_request_builder.py | 2 +- .../item/sections/sections_request_builder.py | 14 +- .../section_groups_request_builder.py | 10 +- .../copy_to_notebook_request_builder.py | 6 +- .../copy_to_section_group_request_builder.py | 6 +- .../onenote_section_item_request_builder.py | 12 +- .../item/content/content_request_builder.py | 4 +- .../copy_to_section_request_builder.py | 6 +- .../item/onenote_page_item_request_builder.py | 6 +- .../onenote_patch_content_request_builder.py | 2 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_request_builder.py | 2 +- .../item/preview/preview_request_builder.py | 2 +- .../item/pages/pages_request_builder.py | 4 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_group_request_builder.py | 2 +- .../sections/sections_request_builder.py | 10 +- ..._running_operation_item_request_builder.py | 12 +- .../operations/operations_request_builder.py | 10 +- .../count/count_request_builder.py | 113 +++++++ .../graph_site_page_request_builder.py | 156 +++++++++ .../base_site_page_item_request_builder.py | 22 +- .../created_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../canvas_layout_request_builder.py} | 91 +++--- .../count/count_request_builder.py | 113 +++++++ .../horizontal_sections_request_builder.py | 226 +++++++++++++ .../item/columns/columns_request_builder.py | 226 +++++++++++++ .../columns/count/count_request_builder.py | 113 +++++++ ...tal_section_column_item_request_builder.py | 225 +++++++++++++ .../webparts/count/count_request_builder.py | 113 +++++++ ...et_position_of_web_part_request_builder.py | 86 +++++ .../item/web_part_item_request_builder.py | 225 +++++++++++++ .../item/webparts/webparts_request_builder.py | 226 +++++++++++++ ...horizontal_section_item_request_builder.py | 225 +++++++++++++ .../vertical_section_request_builder.py | 225 +++++++++++++ .../webparts/count/count_request_builder.py | 113 +++++++ ...et_position_of_web_part_request_builder.py | 86 +++++ .../item/web_part_item_request_builder.py | 225 +++++++++++++ .../webparts/webparts_request_builder.py | 226 +++++++++++++ .../created_by_user_request_builder.py | 136 ++++++++ .../mailbox_settings_request_builder.py | 170 ++++++++++ .../count/count_request_builder.py | 113 +++++++ ...ice_provisioning_errors_request_builder.py | 156 +++++++++ .../graph_site_page_request_builder.py | 156 +++++++++ .../last_modified_by_user_request_builder.py | 136 ++++++++ .../mailbox_settings_request_builder.py | 170 ++++++++++ .../count/count_request_builder.py | 113 +++++++ ...ice_provisioning_errors_request_builder.py | 156 +++++++++ .../web_parts}/count/count_request_builder.py | 2 +- ...et_position_of_web_part_request_builder.py | 86 +++++ .../item/web_part_item_request_builder.py} | 80 ++--- .../web_parts/web_parts_request_builder.py} | 80 ++--- .../last_modified_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../sites/item/pages/pages_request_builder.py | 24 +- .../item/grant/grant_request_builder.py | 6 +- .../item/permission_item_request_builder.py | 16 +- .../revoke_grants_request_builder.py | 6 +- .../permissions_request_builder.py | 14 +- .../created_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../created_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../last_modified_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../recycle_bin_item_item_request_builder.py | 6 +- .../items/items_request_builder.py | 10 +- .../last_modified_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../recycle_bin_request_builder.py | 6 +- .../sites/item/site_item_request_builder.py | 4 +- .../sites/item/site_item_request_builder.py | 2 +- .../sites/item/sites/sites_request_builder.py | 8 +- .../groups/groups_request_builder.py | 14 +- .../groups/item/group_item_request_builder.py | 16 +- .../item/children/children_request_builder.py | 14 +- .../item/children/children_request_builder.py | 4 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../children/item/set/set_request_builder.py | 2 +- .../item/term_item_request_builder.py | 6 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../children/item/set/set_request_builder.py | 2 +- .../item/term_item_request_builder.py | 6 +- .../parent_group_request_builder.py | 6 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 10 +- .../sets/item/set_item_request_builder.py | 6 +- .../item/children/children_request_builder.py | 4 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../children/item/set/set_request_builder.py | 2 +- .../item/term_item_request_builder.py | 6 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../terms/item/set/set_request_builder.py | 2 +- .../terms/item/term_item_request_builder.py | 20 +- .../sets/item/terms/terms_request_builder.py | 10 +- .../groups/item/sets/sets_request_builder.py | 10 +- .../item/children/children_request_builder.py | 14 +- .../item/children/children_request_builder.py | 4 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../children/item/set/set_request_builder.py | 2 +- .../item/term_item_request_builder.py | 6 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../children/item/set/set_request_builder.py | 2 +- .../item/term_item_request_builder.py | 6 +- .../parent_group_request_builder.py | 6 +- .../item/children/children_request_builder.py | 14 +- .../item/children/children_request_builder.py | 4 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../children/item/set/set_request_builder.py | 2 +- .../item/term_item_request_builder.py | 6 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../children/item/set/set_request_builder.py | 2 +- .../item/term_item_request_builder.py | 6 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 10 +- .../sets/item/set_item_request_builder.py | 6 +- .../item/children/children_request_builder.py | 4 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../children/item/set/set_request_builder.py | 2 +- .../item/term_item_request_builder.py | 6 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../terms/item/set/set_request_builder.py | 2 +- .../terms/item/term_item_request_builder.py | 20 +- .../sets/item/terms/terms_request_builder.py | 10 +- .../parent_group/sets/sets_request_builder.py | 10 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 10 +- .../sets/item/set_item_request_builder.py | 20 +- .../item/children/children_request_builder.py | 4 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../children/item/set/set_request_builder.py | 2 +- .../item/term_item_request_builder.py | 6 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../terms/item/set/set_request_builder.py | 2 +- .../terms/item/term_item_request_builder.py | 20 +- .../sets/item/terms/terms_request_builder.py | 10 +- .../term_store/sets/sets_request_builder.py | 10 +- .../term_store/term_store_request_builder.py | 12 +- .../sites/remove/remove_request_builder.py | 2 +- .../item/sites/sites_request_builder.py | 2 +- .../subscribe_by_mail_request_builder.py | 6 +- .../all_channels_request_builder.py | 8 +- .../item/channel_item_request_builder.py | 2 +- .../team/archive/archive_request_builder.py | 6 +- .../all_messages_request_builder.py | 2 +- .../team/channels/channels_request_builder.py | 24 +- .../get_all_messages_request_builder.py | 2 +- .../get_all_retained_messages_get_response.py | 57 ++++ ...t_all_retained_messages_request_builder.py | 141 +++++++++ .../item/archive/archive_post_request_body.py | 49 +++ .../item/archive/archive_request_builder.py | 91 ++++++ .../item/channel_item_request_builder.py | 40 ++- .../complete_migration_request_builder.py | 6 +- ...ame_user_principal_name_request_builder.py | 2 +- .../content/content_request_builder.py | 4 +- .../files_folder_request_builder.py | 8 +- .../item/members/add/add_request_builder.py | 6 +- ...onversation_member_item_request_builder.py | 22 +- .../item/members/members_request_builder.py | 14 +- .../messages/delta/delta_request_builder.py | 2 +- .../item/chat_message_item_request_builder.py | 16 +- .../hosted_contents_request_builder.py | 10 +- ...age_hosted_content_item_request_builder.py | 12 +- .../item/value/content_request_builder.py | 4 +- .../replies/delta/delta_request_builder.py | 2 +- .../item/chat_message_item_request_builder.py | 12 +- .../hosted_contents_request_builder.py | 10 +- ...age_hosted_content_item_request_builder.py | 12 +- .../item/value/content_request_builder.py | 4 +- .../set_reaction_request_builder.py | 2 +- .../soft_delete_request_builder.py | 6 +- .../undo_soft_delete_request_builder.py | 6 +- .../unset_reaction_request_builder.py | 2 +- .../item/replies/replies_request_builder.py | 14 +- .../set_reaction_request_builder.py | 2 +- .../soft_delete_request_builder.py | 6 +- .../undo_soft_delete_request_builder.py | 6 +- .../unset_reaction_request_builder.py | 2 +- .../item/messages/messages_request_builder.py | 14 +- .../provision_email_request_builder.py | 6 +- .../remove_email_request_builder.py | 6 +- .../allowed_members_request_builder.py | 8 +- ...onversation_member_item_request_builder.py | 2 +- ..._channel_team_info_item_request_builder.py | 16 +- .../item/team/team_request_builder.py | 2 +- .../shared_with_teams_request_builder.py | 10 +- .../teams_app/teams_app_request_builder.py | 2 +- .../item/teams_tab_item_request_builder.py | 6 +- .../item/tabs/tabs_request_builder.py | 10 +- .../unarchive/unarchive_request_builder.py | 83 +++++ .../item/team/clone/clone_request_builder.py | 6 +- .../complete_migration_request_builder.py | 6 +- .../item/team/group/group_request_builder.py | 2 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../incoming_channels_request_builder.py | 8 +- .../item/channel_item_request_builder.py | 4 +- .../installed_apps_request_builder.py | 14 +- .../teams_app/teams_app_request_builder.py | 2 +- .../teams_app_definition_request_builder.py | 2 +- ...s_app_installation_item_request_builder.py | 16 +- .../item/upgrade/upgrade_request_builder.py | 6 +- .../team/members/add/add_request_builder.py | 6 +- ...onversation_member_item_request_builder.py | 20 +- .../team/members/members_request_builder.py | 14 +- ...ms_async_operation_item_request_builder.py | 6 +- .../operations/operations_request_builder.py | 4 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../owners/item/user_item_request_builder.py | 2 +- .../team/owners/owners_request_builder.py | 2 +- ...c_permission_grant_item_request_builder.py | 6 +- .../permission_grants_request_builder.py | 10 +- .../item/team/photo/photo_request_builder.py | 4 +- .../photo/value/content_request_builder.py | 4 +- .../archive/archive_post_request_body.py | 49 +++ .../archive/archive_request_builder.py | 91 ++++++ .../complete_migration_request_builder.py | 6 +- ...ame_user_principal_name_request_builder.py | 2 +- .../content/content_request_builder.py | 4 +- .../files_folder_request_builder.py | 8 +- .../members/add/add_request_builder.py | 6 +- ...onversation_member_item_request_builder.py | 22 +- .../members/members_request_builder.py | 14 +- .../messages/delta/delta_request_builder.py | 2 +- .../item/chat_message_item_request_builder.py | 16 +- .../hosted_contents_request_builder.py | 10 +- ...age_hosted_content_item_request_builder.py | 12 +- .../item/value/content_request_builder.py | 4 +- .../replies/delta/delta_request_builder.py | 2 +- .../item/chat_message_item_request_builder.py | 12 +- .../hosted_contents_request_builder.py | 10 +- ...age_hosted_content_item_request_builder.py | 12 +- .../item/value/content_request_builder.py | 4 +- .../set_reaction_request_builder.py | 2 +- .../soft_delete_request_builder.py | 6 +- .../undo_soft_delete_request_builder.py | 6 +- .../unset_reaction_request_builder.py | 2 +- .../item/replies/replies_request_builder.py | 14 +- .../set_reaction_request_builder.py | 2 +- .../soft_delete_request_builder.py | 6 +- .../undo_soft_delete_request_builder.py | 6 +- .../unset_reaction_request_builder.py | 2 +- .../messages/messages_request_builder.py | 14 +- .../primary_channel_request_builder.py | 32 +- .../provision_email_request_builder.py | 6 +- .../remove_email_request_builder.py | 6 +- .../allowed_members_request_builder.py | 8 +- ...onversation_member_item_request_builder.py | 2 +- ..._channel_team_info_item_request_builder.py | 16 +- .../item/team/team_request_builder.py | 2 +- .../shared_with_teams_request_builder.py | 10 +- .../teams_app/teams_app_request_builder.py | 2 +- .../item/teams_tab_item_request_builder.py | 6 +- .../tabs/tabs_request_builder.py | 10 +- .../unarchive/unarchive_request_builder.py | 83 +++++ .../day_notes/count/count_request_builder.py | 113 +++++++ .../day_notes/day_notes_request_builder.py | 226 +++++++++++++ .../item/day_note_item_request_builder.py | 216 +++++++++++++ ...ffer_shift_request_item_request_builder.py | 12 +- .../offer_shift_requests_request_builder.py | 14 +- ...ift_change_request_item_request_builder.py | 12 +- ...n_shift_change_requests_request_builder.py | 14 +- .../item/open_shift_item_request_builder.py | 16 +- .../open_shifts_request_builder.py | 14 +- .../team/schedule/schedule_request_builder.py | 22 +- .../scheduling_group_item_request_builder.py | 16 +- .../scheduling_groups_request_builder.py | 14 +- .../schedule/share/share_request_builder.py | 6 +- .../shifts/item/shift_item_request_builder.py | 16 +- .../schedule/shifts/shifts_request_builder.py | 14 +- ...fts_change_request_item_request_builder.py | 12 +- ..._shifts_change_requests_request_builder.py | 14 +- .../clock_in/clock_in_request_builder.py | 6 +- .../clock_out/clock_out_request_builder.py | 6 +- .../item/confirm/confirm_request_builder.py | 6 +- .../end_break/end_break_request_builder.py | 6 +- .../start_break_request_builder.py | 6 +- .../item/time_card_item_request_builder.py | 16 +- .../time_cards/time_cards_request_builder.py | 14 +- .../time_off_reason_item_request_builder.py | 16 +- .../time_off_reasons_request_builder.py | 14 +- .../time_off_request_item_request_builder.py | 16 +- .../time_off_requests_request_builder.py | 10 +- .../item/time_off_item_request_builder.py | 16 +- .../times_off/times_off_request_builder.py | 14 +- ...d_activity_notification_request_builder.py | 6 +- ...eamwork_tag_member_item_request_builder.py | 16 +- .../item/members/members_request_builder.py | 14 +- .../item/teamwork_tag_item_request_builder.py | 20 +- .../item/team/tags/tags_request_builder.py | 14 +- .../groups/item/team/team_request_builder.py | 6 +- .../team/template/template_request_builder.py | 2 +- .../template_definition_request_builder.py | 2 +- .../unarchive/unarchive_request_builder.py | 6 +- ...onversation_thread_item_request_builder.py | 20 +- .../attachments_request_builder.py | 10 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 4 +- .../extensions/extensions_request_builder.py | 10 +- .../item/extension_item_request_builder.py | 16 +- .../item/forward/forward_request_builder.py | 6 +- .../attachments_request_builder.py | 10 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 4 +- .../extensions/extensions_request_builder.py | 10 +- .../item/extension_item_request_builder.py | 16 +- .../forward/forward_request_builder.py | 6 +- .../in_reply_to_request_builder.py | 2 +- .../item/mention_item_request_builder.py | 4 +- .../mentions/mentions_request_builder.py | 4 +- .../reply/reply_request_builder.py | 7 +- .../item/mention_item_request_builder.py | 4 +- .../item/mentions/mentions_request_builder.py | 4 +- .../posts/item/post_item_request_builder.py | 10 +- .../posts/item/reply/reply_request_builder.py | 7 +- .../item/posts/posts_request_builder.py | 8 +- .../item/reply/reply_request_builder.py | 8 +- .../item/threads/threads_request_builder.py | 14 +- ...aph_administrative_unit_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 8 +- ...aph_administrative_unit_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../transitive_member_of_request_builder.py | 8 +- .../graph_application_request_builder.py | 2 +- .../graph_device_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../graph_org_contact_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 2 +- .../graph_application_request_builder.py | 2 +- .../graph_device_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../graph_org_contact_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../transitive_members_request_builder.py | 2 +- .../unsubscribe_by_mail_request_builder.py | 6 +- .../validate_properties_request_builder.py | 6 +- .../validate_properties_request_builder.py | 6 +- ...groups_with_unique_name_request_builder.py | 20 +- .../api_connectors_request_builder.py | 14 +- ...tity_api_connector_item_request_builder.py | 20 +- ...load_client_certificate_request_builder.py | 6 +- ...ication_event_listeners_request_builder.py | 14 +- ...ion_event_listener_item_request_builder.py | 14 +- ...entication_events_flows_request_builder.py | 14 +- ...ice_sign_up_events_flow_request_builder.py | 2 +- ...cation_events_flow_item_request_builder.py | 30 +- .../applications_request_builder.py | 32 ++ .../count/count_request_builder.py | 113 +++++++ .../include_applications_request_builder.py | 226 +++++++++++++ ...on_application_app_item_request_builder.py | 215 +++++++++++++ .../conditions/conditions_request_builder.py | 126 ++++++++ .../applications_request_builder.py | 32 ++ .../count/count_request_builder.py | 113 +++++++ .../include_applications_request_builder.py} | 91 +++--- ...on_application_app_item_request_builder.py | 215 +++++++++++++ .../conditions/conditions_request_builder.py | 126 ++++++++ ...ice_sign_up_events_flow_request_builder.py | 12 +- .../attributes/attributes_request_builder.py | 14 +- ...ser_flow_attribute_item_request_builder.py | 100 +----- .../item/ref/ref_request_builder.py | 108 +++++++ .../attributes/ref/ref_request_builder.py | 189 +++++++++++ ...rs_self_service_sign_up_request_builder.py | 2 +- ...on_attribute_collection_request_builder.py | 2 +- ...rs_self_service_sign_up_request_builder.py | 2 +- .../identity_providers_request_builder.py | 4 +- .../item/ref/ref_request_builder.py | 2 +- .../ref/ref_request_builder.py | 4 +- ...ation_method_load_start_request_builder.py | 2 +- .../b2c_user_flows_request_builder.py | 14 +- ...identity_user_flow_item_request_builder.py | 20 +- .../identity_providers_request_builder.py | 10 +- .../item/ref/ref_request_builder.py | 8 +- .../ref/ref_request_builder.py | 14 +- .../default_pages_request_builder.py | 10 +- ...flow_language_page_item_request_builder.py | 6 +- .../item/value/content_request_builder.py | 4 +- ...flow_language_page_item_request_builder.py | 6 +- .../item/value/content_request_builder.py | 4 +- .../overrides_pages_request_builder.py | 10 +- ...uage_configuration_item_request_builder.py | 16 +- .../languages/languages_request_builder.py | 10 +- .../get_order/get_order_request_builder.py | 2 +- ...tribute_assignment_item_request_builder.py | 20 +- .../user_attribute_request_builder.py | 2 +- .../set_order/set_order_request_builder.py | 6 +- ...r_attribute_assignments_request_builder.py | 14 +- ...tity_provider_base_item_request_builder.py | 2 +- ...flow_identity_providers_request_builder.py | 2 +- .../b2x_user_flows_request_builder.py | 14 +- ...connector_configuration_request_builder.py | 2 +- ...st_attribute_collection_request_builder.py | 6 +- .../ref/ref_request_builder.py | 6 +- ...load_client_certificate_request_builder.py | 6 +- .../post_federation_signup_request_builder.py | 6 +- .../ref/ref_request_builder.py | 6 +- ...load_client_certificate_request_builder.py | 6 +- .../pre_token_issuance_request_builder.py | 6 +- ...load_client_certificate_request_builder.py | 6 +- ...identity_user_flow_item_request_builder.py | 16 +- .../identity_providers_request_builder.py | 8 +- .../identity_provider_item_request_builder.py | 4 +- .../default_pages_request_builder.py | 10 +- ...flow_language_page_item_request_builder.py | 6 +- .../item/value/content_request_builder.py | 4 +- ...flow_language_page_item_request_builder.py | 6 +- .../item/value/content_request_builder.py | 4 +- .../overrides_pages_request_builder.py | 10 +- ...uage_configuration_item_request_builder.py | 6 +- .../languages/languages_request_builder.py | 10 +- .../get_order/get_order_request_builder.py | 2 +- ...tribute_assignment_item_request_builder.py | 6 +- .../user_attribute_request_builder.py | 2 +- .../set_order/set_order_request_builder.py | 6 +- ...r_attribute_assignments_request_builder.py | 14 +- .../item/ref/ref_request_builder.py | 2 +- .../ref/ref_request_builder.py | 4 +- ...flow_identity_providers_request_builder.py | 4 +- ...ontext_class_references_request_builder.py | 14 +- ...xt_class_reference_item_request_builder.py | 20 +- ...entication_method_modes_request_builder.py | 10 +- ...method_mode_detail_item_request_builder.py | 6 +- ...authentication_strength_request_builder.py | 6 +- ...entication_method_modes_request_builder.py | 2 +- ...on_strength_policy_item_request_builder.py | 6 +- ...bination_configurations_request_builder.py | 14 +- ...tion_configuration_item_request_builder.py | 20 +- ...te_allowed_combinations_request_builder.py | 6 +- .../item/usage/usage_request_builder.py | 2 +- .../policies/policies_request_builder.py | 4 +- ...entication_method_modes_request_builder.py | 10 +- ...method_mode_detail_item_request_builder.py | 6 +- ...uthentication_strengths_request_builder.py | 6 +- ...entication_method_modes_request_builder.py | 2 +- ...on_strength_policy_item_request_builder.py | 6 +- ...bination_configurations_request_builder.py | 14 +- ...tion_configuration_item_request_builder.py | 20 +- ...te_allowed_combinations_request_builder.py | 6 +- .../item/usage/usage_request_builder.py | 2 +- .../policies/policies_request_builder.py | 4 +- .../conditional_access_request_builder.py | 6 +- .../named_location_item_request_builder.py | 24 +- .../named_locations_request_builder.py | 14 +- ...onal_access_policy_item_request_builder.py | 20 +- .../policies/policies_request_builder.py | 14 +- ...al_access_template_item_request_builder.py | 8 +- .../templates/templates_request_builder.py | 8 +- ...ccess_evaluation_policy_request_builder.py | 16 +- ...thentication_extensions_request_builder.py | 14 +- ...tication_extension_item_request_builder.py | 16 +- ...ntication_configuration_request_builder.py | 6 +- ...ntication_configuration_request_builder.py | 2 +- ...vailable_provider_types_request_builder.py | 2 +- .../identity_providers_request_builder.py | 14 +- ...tity_provider_base_item_request_builder.py | 20 +- .../identity/identity_request_builder.py | 4 +- ...ser_flow_attribute_item_request_builder.py | 20 +- .../user_flow_attributes_request_builder.py | 14 +- ...identity_user_flow_item_request_builder.py | 16 +- .../user_flows/user_flows_request_builder.py | 14 +- .../access_reviews_request_builder.py | 6 +- .../decisions/decisions_request_builder.py | 4 +- ...by_current_user_with_on_request_builder.py | 2 +- ...ance_decision_item_item_request_builder.py | 6 +- .../item/insights/insights_request_builder.py | 4 +- ...governance_insight_item_request_builder.py | 6 +- .../record_all_decisions_request_builder.py | 6 +- .../definitions_request_builder.py | 14 +- ...by_current_user_with_on_request_builder.py | 2 +- ...chedule_definition_item_request_builder.py | 31 +- ...by_current_user_with_on_request_builder.py | 2 +- .../instances/instances_request_builder.py | 10 +- .../accept_recommendations_request_builder.py | 6 +- ...ss_review_instance_item_request_builder.py | 12 +- .../apply_decisions_request_builder.py | 6 +- .../batch_record_decisions_request_builder.py | 6 +- .../contacted_reviewers_request_builder.py | 10 +- ...ss_review_reviewer_item_request_builder.py | 6 +- .../decisions/decisions_request_builder.py | 10 +- ...by_current_user_with_on_request_builder.py | 2 +- ...ance_decision_item_item_request_builder.py | 12 +- .../item/insights/insights_request_builder.py | 4 +- ...governance_insight_item_request_builder.py | 6 +- .../record_all_decisions_request_builder.py | 6 +- .../definition/definition_request_builder.py | 2 +- .../reset_decisions_request_builder.py | 6 +- .../send_reminder_request_builder.py | 6 +- ...by_current_user_with_on_request_builder.py | 2 +- ...ccess_review_stage_item_request_builder.py | 16 +- .../decisions/decisions_request_builder.py | 10 +- ...by_current_user_with_on_request_builder.py | 2 +- ...ance_decision_item_item_request_builder.py | 16 +- .../item/insights/insights_request_builder.py | 4 +- ...governance_insight_item_request_builder.py | 6 +- .../record_all_decisions_request_builder.py | 6 +- .../stages/item/stop/stop_request_builder.py | 6 +- .../item/stages/stages_request_builder.py | 10 +- .../item/stop/stop_request_builder.py | 6 +- .../stop_apply_decisions_request_builder.py | 2 +- .../item/stop/stop_request_builder.py | 2 +- .../history_definitions_request_builder.py | 14 +- ...history_definition_item_request_builder.py | 12 +- .../instances/instances_request_builder.py | 10 +- ...w_history_instance_item_request_builder.py | 6 +- .../generate_download_uri_request_builder.py | 6 +- .../policy/policy_request_builder.py | 16 +- .../app_consent_request_builder.py | 6 +- .../app_consent_requests_request_builder.py | 10 +- ...by_current_user_with_on_request_builder.py | 2 +- ...pp_consent_request_item_request_builder.py | 12 +- ...by_current_user_with_on_request_builder.py | 2 +- .../item/approval/approval_request_builder.py | 6 +- .../approval_step_item_request_builder.py | 16 +- .../approval/steps/steps_request_builder.py | 10 +- ...er_consent_request_item_request_builder.py | 12 +- .../user_consent_requests_request_builder.py | 10 +- ...ge_assignment_approvals_request_builder.py | 10 +- ...by_current_user_with_on_request_builder.py | 2 +- .../item/approval_item_request_builder.py | 12 +- .../approval_step_item_request_builder.py | 16 +- .../item/steps/steps_request_builder.py | 10 +- ...age_assignment_policies_request_builder.py | 14 +- .../access_package_request_builder.py | 2 +- ..._assignment_policy_item_request_builder.py | 16 +- .../access_package_catalog_request_builder.py | 2 +- ...stom_extension_handlers_request_builder.py | 4 +- .../custom_extension_request_builder.py | 2 +- ..._extension_handler_item_request_builder.py | 6 +- ...xtension_stage_settings_request_builder.py | 4 +- .../custom_extension_request_builder.py | 2 +- ...sion_stage_setting_item_request_builder.py | 6 +- ...age_assignment_requests_request_builder.py | 14 +- ...by_current_user_with_on_request_builder.py | 2 +- .../access_package_request_builder.py | 2 +- ...cess_package_assignment_request_builder.py | 2 +- ...assignment_request_item_request_builder.py | 16 +- .../item/cancel/cancel_request_builder.py | 6 +- .../reprocess/reprocess_request_builder.py | 2 +- .../connected_organization_request_builder.py | 2 +- .../requestor/requestor_request_builder.py | 6 +- .../item/resume/resume_request_builder.py | 6 +- ...signment_resource_roles_request_builder.py | 10 +- ...ment_resource_role_item_request_builder.py | 12 +- ...ess_package_assignments_request_builder.py | 2 +- ...package_assignment_item_request_builder.py | 2 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- ..._package_resource_roles_request_builder.py | 4 +- ...kage_resource_role_item_request_builder.py | 6 +- ...package_resource_scopes_request_builder.py | 4 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- ..._package_resource_roles_request_builder.py | 4 +- ...kage_resource_role_item_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ...age_resource_scope_item_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ...s_package_resource_role_request_builder.py | 6 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- ..._package_resource_roles_request_builder.py | 4 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- ...package_resource_scopes_request_builder.py | 4 +- ...age_resource_scope_item_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ...kage_resource_role_item_request_builder.py | 6 +- ...package_resource_scopes_request_builder.py | 4 +- ...age_resource_scope_item_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ..._package_resource_scope_request_builder.py | 6 +- .../access_package_subject_request_builder.py | 6 +- .../connected_organization_request_builder.py | 2 +- .../my/my_request_builder.py | 2 +- ...ess_package_assignments_request_builder.py | 10 +- .../additional_access_request_builder.py | 2 +- ...tible_access_package_id_request_builder.py | 2 +- ...by_current_user_with_on_request_builder.py | 2 +- ...age_assignment_policies_request_builder.py | 4 +- .../access_package_request_builder.py | 2 +- ..._assignment_policy_item_request_builder.py | 6 +- .../access_package_catalog_request_builder.py | 2 +- ...stom_extension_handlers_request_builder.py | 4 +- .../custom_extension_request_builder.py | 2 +- ..._extension_handler_item_request_builder.py | 6 +- ...xtension_stage_settings_request_builder.py | 4 +- .../custom_extension_request_builder.py | 2 +- ...sion_stage_setting_item_request_builder.py | 6 +- .../access_package_catalog_request_builder.py | 2 +- .../access_package_request_builder.py | 6 +- ...ge_resource_role_scopes_request_builder.py | 8 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- ..._package_resource_roles_request_builder.py | 4 +- ...kage_resource_role_item_request_builder.py | 6 +- ...package_resource_scopes_request_builder.py | 4 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- ..._package_resource_roles_request_builder.py | 4 +- ...kage_resource_role_item_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ...age_resource_scope_item_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ...s_package_resource_role_request_builder.py | 6 +- ...esource_role_scope_item_request_builder.py | 6 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- ..._package_resource_roles_request_builder.py | 4 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- ...package_resource_scopes_request_builder.py | 4 +- ...age_resource_scope_item_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ...kage_resource_role_item_request_builder.py | 6 +- ...package_resource_scopes_request_builder.py | 4 +- ...age_resource_scope_item_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ..._package_resource_scope_request_builder.py | 6 +- ...kages_incompatible_with_request_builder.py | 8 +- .../access_package_item_request_builder.py | 2 +- ...ble_policy_requirements_request_builder.py | 6 +- ...patible_access_packages_request_builder.py | 10 +- .../item/ref/ref_request_builder.py | 8 +- .../ref/ref_request_builder.py | 14 +- .../incompatible_groups_request_builder.py | 10 +- .../item/ref/ref_request_builder.py | 8 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../ref/ref_request_builder.py | 14 +- .../move_to_catalog_request_builder.py | 6 +- ...package_assignment_item_request_builder.py | 6 +- .../access_package_request_builder.py | 2 +- ...ckage_assignment_policy_request_builder.py | 6 +- .../access_package_catalog_request_builder.py | 2 +- ...stom_extension_handlers_request_builder.py | 4 +- .../custom_extension_request_builder.py | 2 +- ..._extension_handler_item_request_builder.py | 6 +- ...xtension_stage_settings_request_builder.py | 4 +- .../custom_extension_request_builder.py | 2 +- ...sion_stage_setting_item_request_builder.py | 6 +- ...age_assignment_requests_request_builder.py | 4 +- ...by_current_user_with_on_request_builder.py | 2 +- .../access_package_request_builder.py | 2 +- ...cess_package_assignment_request_builder.py | 2 +- ...assignment_request_item_request_builder.py | 6 +- .../item/cancel/cancel_request_builder.py | 6 +- .../reprocess/reprocess_request_builder.py | 2 +- .../connected_organization_request_builder.py | 2 +- .../requestor/requestor_request_builder.py | 6 +- .../item/resume/resume_request_builder.py | 6 +- ...signment_resource_roles_request_builder.py | 4 +- ...ment_resource_role_item_request_builder.py | 6 +- ...ess_package_assignments_request_builder.py | 2 +- ...package_assignment_item_request_builder.py | 2 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- ..._package_resource_roles_request_builder.py | 4 +- ...kage_resource_role_item_request_builder.py | 6 +- ...package_resource_scopes_request_builder.py | 4 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- ..._package_resource_roles_request_builder.py | 4 +- ...kage_resource_role_item_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ...age_resource_scope_item_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ...s_package_resource_role_request_builder.py | 6 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- ..._package_resource_roles_request_builder.py | 4 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- ...package_resource_scopes_request_builder.py | 4 +- ...age_resource_scope_item_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ...kage_resource_role_item_request_builder.py | 6 +- ...package_resource_scopes_request_builder.py | 4 +- ...age_resource_scope_item_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ..._package_resource_scope_request_builder.py | 6 +- .../access_package_subject_request_builder.py | 6 +- .../connected_organization_request_builder.py | 2 +- .../my/my_request_builder.py | 2 +- .../reprocess/reprocess_request_builder.py | 2 +- ...access_package_catalogs_request_builder.py | 14 +- ...ss_package_catalog_item_request_builder.py | 20 +- ...tom_workflow_extensions_request_builder.py | 10 +- ..._callout_extension_item_request_builder.py | 20 +- ..._package_resource_roles_request_builder.py | 10 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- ..._package_resource_roles_request_builder.py | 4 +- ...kage_resource_role_item_request_builder.py | 6 +- ...package_resource_scopes_request_builder.py | 4 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- ..._package_resource_roles_request_builder.py | 4 +- ...kage_resource_role_item_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ...age_resource_scope_item_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ...kage_resource_role_item_request_builder.py | 6 +- ...package_resource_scopes_request_builder.py | 4 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- ..._package_resource_roles_request_builder.py | 4 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- ...package_resource_scopes_request_builder.py | 4 +- ...age_resource_scope_item_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ...kage_resource_role_item_request_builder.py | 6 +- ...package_resource_scopes_request_builder.py | 4 +- ...age_resource_scope_item_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ...age_resource_scope_item_request_builder.py | 6 +- ...ccess_package_resources_request_builder.py | 10 +- ...ge_resource_environment_request_builder.py | 2 +- ...s_package_resource_item_request_builder.py | 6 +- ..._package_resource_roles_request_builder.py | 4 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- ...package_resource_scopes_request_builder.py | 4 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ...age_resource_scope_item_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ...kage_resource_role_item_request_builder.py | 6 +- ...package_resource_scopes_request_builder.py | 4 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- ..._package_resource_roles_request_builder.py | 4 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ...kage_resource_role_item_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ...age_resource_scope_item_request_builder.py | 6 +- .../item/refresh/refresh_request_builder.py | 2 +- .../access_packages_request_builder.py | 2 +- .../access_package_item_request_builder.py | 2 +- ...age_workflow_extensions_request_builder.py | 14 +- ...workflow_extension_item_request_builder.py | 16 +- .../search/search_request_builder.py | 2 +- ...e_resource_environments_request_builder.py | 10 +- ...source_environment_item_request_builder.py | 12 +- ...ccess_package_resources_request_builder.py | 2 +- ...s_package_resource_item_request_builder.py | 2 +- ...ckage_resource_requests_request_builder.py | 14 +- ...access_package_resource_request_builder.py | 2 +- ...e_resource_request_item_request_builder.py | 6 +- .../connected_organization_request_builder.py | 2 +- .../requestor/requestor_request_builder.py | 6 +- ...ge_resource_role_scopes_request_builder.py | 4 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- ..._package_resource_roles_request_builder.py | 4 +- ...kage_resource_role_item_request_builder.py | 6 +- ...package_resource_scopes_request_builder.py | 4 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- ..._package_resource_roles_request_builder.py | 4 +- ...kage_resource_role_item_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ...age_resource_scope_item_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ...s_package_resource_role_request_builder.py | 6 +- ...esource_role_scope_item_request_builder.py | 6 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- ..._package_resource_roles_request_builder.py | 4 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- ...package_resource_scopes_request_builder.py | 4 +- ...age_resource_scope_item_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ...kage_resource_role_item_request_builder.py | 6 +- ...package_resource_scopes_request_builder.py | 4 +- ...age_resource_scope_item_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ..._package_resource_scope_request_builder.py | 6 +- ...ccess_package_resources_request_builder.py | 4 +- ...ge_resource_environment_request_builder.py | 2 +- ...s_package_resource_item_request_builder.py | 6 +- ..._package_resource_roles_request_builder.py | 4 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- ...package_resource_scopes_request_builder.py | 4 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ...age_resource_scope_item_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ...kage_resource_role_item_request_builder.py | 6 +- ...package_resource_scopes_request_builder.py | 4 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- ..._package_resource_roles_request_builder.py | 4 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ...kage_resource_role_item_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ...age_resource_scope_item_request_builder.py | 6 +- .../item/refresh/refresh_request_builder.py | 2 +- .../access_packages_request_builder.py | 14 +- ...by_current_user_with_on_request_builder.py | 2 +- ...age_assignment_policies_request_builder.py | 4 +- .../access_package_request_builder.py | 2 +- ..._assignment_policy_item_request_builder.py | 6 +- .../access_package_catalog_request_builder.py | 2 +- ...stom_extension_handlers_request_builder.py | 4 +- .../custom_extension_request_builder.py | 2 +- ..._extension_handler_item_request_builder.py | 6 +- ...xtension_stage_settings_request_builder.py | 4 +- .../custom_extension_request_builder.py | 2 +- ...sion_stage_setting_item_request_builder.py | 6 +- .../access_package_catalog_request_builder.py | 2 +- .../access_package_item_request_builder.py | 22 +- ...ge_resource_role_scopes_request_builder.py | 8 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- ..._package_resource_roles_request_builder.py | 4 +- ...kage_resource_role_item_request_builder.py | 6 +- ...package_resource_scopes_request_builder.py | 4 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- ..._package_resource_roles_request_builder.py | 4 +- ...kage_resource_role_item_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ...age_resource_scope_item_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ...s_package_resource_role_request_builder.py | 6 +- ...esource_role_scope_item_request_builder.py | 6 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- ..._package_resource_roles_request_builder.py | 4 +- ...ge_resource_environment_request_builder.py | 2 +- ...access_package_resource_request_builder.py | 6 +- ...package_resource_scopes_request_builder.py | 4 +- ...age_resource_scope_item_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ...kage_resource_role_item_request_builder.py | 6 +- ...package_resource_scopes_request_builder.py | 4 +- ...age_resource_scope_item_request_builder.py | 6 +- .../refresh/refresh_request_builder.py | 2 +- ..._package_resource_scope_request_builder.py | 6 +- ...kages_incompatible_with_request_builder.py | 8 +- .../access_package_item_request_builder.py | 2 +- ...ble_policy_requirements_request_builder.py | 6 +- ...patible_access_packages_request_builder.py | 10 +- .../item/ref/ref_request_builder.py | 8 +- .../ref/ref_request_builder.py | 14 +- .../incompatible_groups_request_builder.py | 10 +- .../item/ref/ref_request_builder.py | 8 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../ref/ref_request_builder.py | 14 +- .../move_to_catalog_request_builder.py | 6 +- .../search/search_request_builder.py | 2 +- ...connected_organizations_request_builder.py | 14 +- ...ected_organization_item_request_builder.py | 20 +- .../external_sponsors_request_builder.py | 10 +- .../item/ref/ref_request_builder.py | 8 +- .../ref/ref_request_builder.py | 14 +- .../internal_sponsors_request_builder.py | 10 +- .../item/ref/ref_request_builder.py | 8 +- .../ref/ref_request_builder.py | 14 +- .../entitlement_management_request_builder.py | 6 +- .../settings/settings_request_builder.py | 16 +- ...ss_package_subject_item_request_builder.py | 6 +- .../connected_organization_request_builder.py | 2 +- .../subjects/subjects_request_builder.py | 4 +- .../identity_governance_request_builder.py | 4 +- .../custom_task_extensions_request_builder.py | 14 +- .../created_by/created_by_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- ...tom_task_extension_item_request_builder.py | 20 +- .../last_modified_by_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../deleted_items_request_builder.py | 4 +- .../created_by/created_by_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../execution_scope_request_builder.py | 2 +- ..._processing_result_item_request_builder.py | 2 +- .../last_modified_by_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- ...ity_governance_activate_request_builder.py | 6 +- ...ance_create_new_version_request_builder.py | 6 +- ...tity_governance_restore_request_builder.py | 6 +- .../runs/item/run_item_request_builder.py | 8 +- ...ntity_governance_resume_request_builder.py | 6 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../item/subject/subject_request_builder.py | 2 +- .../item/task/task_request_builder.py | 2 +- ..._processing_result_item_request_builder.py | 2 +- ...task_processing_results_request_builder.py | 8 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../item/subject/subject_request_builder.py | 2 +- ...ntity_governance_resume_request_builder.py | 6 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../item/subject/subject_request_builder.py | 2 +- .../item/task/task_request_builder.py | 2 +- ..._processing_result_item_request_builder.py | 2 +- ...task_processing_results_request_builder.py | 8 +- ..._processing_result_item_request_builder.py | 8 +- ...time_with_end_date_time_request_builder.py | 2 +- ...user_processing_results_request_builder.py | 8 +- ...time_with_end_date_time_request_builder.py | 2 +- .../item/runs/runs_request_builder.py | 8 +- .../item/task/task_request_builder.py | 2 +- .../task_definition_request_builder.py | 2 +- ...ntity_governance_resume_request_builder.py | 6 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../item/subject/subject_request_builder.py | 2 +- .../item/task/task_request_builder.py | 2 +- ..._processing_result_item_request_builder.py | 2 +- ...task_processing_results_request_builder.py | 8 +- .../item/task_report_item_request_builder.py | 2 +- ...time_with_end_date_time_request_builder.py | 2 +- .../task_reports_request_builder.py | 8 +- .../tasks/item/task_item_request_builder.py | 6 +- ...ntity_governance_resume_request_builder.py | 6 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../item/subject/subject_request_builder.py | 2 +- .../item/task/task_request_builder.py | 2 +- ..._processing_result_item_request_builder.py | 2 +- ...task_processing_results_request_builder.py | 2 +- .../item/tasks/tasks_request_builder.py | 4 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../item/subject/subject_request_builder.py | 2 +- ...ntity_governance_resume_request_builder.py | 6 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../item/subject/subject_request_builder.py | 2 +- .../item/task/task_request_builder.py | 2 +- ..._processing_result_item_request_builder.py | 2 +- ...task_processing_results_request_builder.py | 8 +- ..._processing_result_item_request_builder.py | 2 +- ...time_with_end_date_time_request_builder.py | 2 +- ...user_processing_results_request_builder.py | 8 +- .../created_by/created_by_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../last_modified_by_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../tasks/item/task_item_request_builder.py | 6 +- ...ntity_governance_resume_request_builder.py | 6 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../item/subject/subject_request_builder.py | 2 +- .../item/task/task_request_builder.py | 2 +- ..._processing_result_item_request_builder.py | 2 +- ...task_processing_results_request_builder.py | 2 +- .../item/tasks/tasks_request_builder.py | 4 +- ...ion_version_number_item_request_builder.py | 8 +- .../item/versions/versions_request_builder.py | 8 +- .../item/workflow_item_request_builder.py | 14 +- .../workflows/workflows_request_builder.py | 8 +- .../lifecycle_workflows_request_builder.py | 6 +- .../settings/settings_request_builder.py | 14 +- .../task_definition_item_request_builder.py | 8 +- .../task_definitions_request_builder.py | 8 +- .../tasks/item/task_item_request_builder.py | 2 +- ...ntity_governance_resume_request_builder.py | 6 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../item/subject/subject_request_builder.py | 2 +- .../item/task/task_request_builder.py | 2 +- ..._processing_result_item_request_builder.py | 2 +- ...task_processing_results_request_builder.py | 2 +- .../item/tasks/tasks_request_builder.py | 2 +- .../workflow_template_item_request_builder.py | 8 +- .../workflow_templates_request_builder.py | 8 +- .../created_by/created_by_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../execution_scope_request_builder.py | 2 +- ..._processing_result_item_request_builder.py | 2 +- .../last_modified_by_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- ...ity_governance_activate_request_builder.py | 6 +- ...ance_create_new_version_request_builder.py | 6 +- ...tity_governance_restore_request_builder.py | 6 +- .../runs/item/run_item_request_builder.py | 8 +- ...ntity_governance_resume_request_builder.py | 6 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../item/subject/subject_request_builder.py | 2 +- .../item/task/task_request_builder.py | 2 +- ..._processing_result_item_request_builder.py | 2 +- ...task_processing_results_request_builder.py | 8 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../item/subject/subject_request_builder.py | 2 +- ...ntity_governance_resume_request_builder.py | 6 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../item/subject/subject_request_builder.py | 2 +- .../item/task/task_request_builder.py | 2 +- ..._processing_result_item_request_builder.py | 2 +- ...task_processing_results_request_builder.py | 8 +- ..._processing_result_item_request_builder.py | 8 +- ...time_with_end_date_time_request_builder.py | 2 +- ...user_processing_results_request_builder.py | 8 +- ...time_with_end_date_time_request_builder.py | 2 +- .../item/runs/runs_request_builder.py | 8 +- .../item/task/task_request_builder.py | 2 +- .../task_definition_request_builder.py | 2 +- ...ntity_governance_resume_request_builder.py | 6 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../item/subject/subject_request_builder.py | 2 +- .../item/task/task_request_builder.py | 2 +- ..._processing_result_item_request_builder.py | 2 +- ...task_processing_results_request_builder.py | 8 +- .../item/task_report_item_request_builder.py | 2 +- ...time_with_end_date_time_request_builder.py | 2 +- .../task_reports_request_builder.py | 8 +- .../tasks/item/task_item_request_builder.py | 6 +- ...ntity_governance_resume_request_builder.py | 6 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../item/subject/subject_request_builder.py | 2 +- .../item/task/task_request_builder.py | 2 +- ..._processing_result_item_request_builder.py | 2 +- ...task_processing_results_request_builder.py | 2 +- .../item/tasks/tasks_request_builder.py | 4 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../item/subject/subject_request_builder.py | 2 +- ...ntity_governance_resume_request_builder.py | 6 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../item/subject/subject_request_builder.py | 2 +- .../item/task/task_request_builder.py | 2 +- ..._processing_result_item_request_builder.py | 2 +- ...task_processing_results_request_builder.py | 8 +- ..._processing_result_item_request_builder.py | 2 +- ...time_with_end_date_time_request_builder.py | 2 +- ...user_processing_results_request_builder.py | 8 +- .../created_by/created_by_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../last_modified_by_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../tasks/item/task_item_request_builder.py | 6 +- ...ntity_governance_resume_request_builder.py | 6 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../item/subject/subject_request_builder.py | 2 +- .../item/task/task_request_builder.py | 2 +- ..._processing_result_item_request_builder.py | 2 +- ...task_processing_results_request_builder.py | 2 +- .../item/tasks/tasks_request_builder.py | 4 +- ...ion_version_number_item_request_builder.py | 8 +- .../item/versions/versions_request_builder.py | 8 +- .../item/workflow_item_request_builder.py | 20 +- .../workflows/workflows_request_builder.py | 14 +- .../aws/aws_request_builder.py | 12 +- .../aws/findings/findings_request_builder.py | 10 +- .../item/finding_item_request_builder.py | 12 +- .../authorization_system_request_builder.py | 8 +- ...index_distribution_item_request_builder.py | 12 +- ...eep_index_distributions_request_builder.py | 11 +- .../azure/azure_request_builder.py | 12 +- .../findings/findings_request_builder.py | 10 +- .../item/finding_item_request_builder.py | 12 +- .../authorization_system_request_builder.py | 8 +- ...index_distribution_item_request_builder.py | 12 +- ...eep_index_distributions_request_builder.py | 11 +- .../gcp/findings/findings_request_builder.py | 10 +- .../item/finding_item_request_builder.py | 12 +- .../gcp/gcp_request_builder.py | 12 +- .../authorization_system_request_builder.py | 8 +- ...index_distribution_item_request_builder.py | 12 +- ...eep_index_distributions_request_builder.py | 11 +- .../permissions_analytics_request_builder.py | 6 +- .../permissions_management_request_builder.py | 6 +- ...ons_request_change_item_request_builder.py | 13 +- ...issions_request_changes_request_builder.py | 11 +- ...ed_permissions_requests_request_builder.py | 7 +- .../assignment_approvals_request_builder.py | 4 +- ...by_current_user_with_on_request_builder.py | 2 +- .../item/approval_item_request_builder.py | 6 +- .../approval_step_item_request_builder.py | 16 +- .../item/steps/steps_request_builder.py | 10 +- ...ment_schedule_instances_request_builder.py | 10 +- ...by_current_user_with_on_request_builder.py | 2 +- .../activated_using_request_builder.py | 2 +- .../item/group/group_request_builder.py | 2 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../principal/principal_request_builder.py | 2 +- ..._schedule_instance_item_request_builder.py | 12 +- ...nment_schedule_requests_request_builder.py | 14 +- ...by_current_user_with_on_request_builder.py | 2 +- .../activated_using_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/group/group_request_builder.py | 2 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../principal/principal_request_builder.py | 2 +- ...t_schedule_request_item_request_builder.py | 12 +- .../target_schedule_request_builder.py | 2 +- .../assignment_schedules_request_builder.py | 10 +- ...by_current_user_with_on_request_builder.py | 2 +- .../activated_using_request_builder.py | 2 +- .../item/group/group_request_builder.py | 2 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../principal/principal_request_builder.py | 2 +- ...ssignment_schedule_item_request_builder.py | 12 +- ...lity_schedule_instances_request_builder.py | 10 +- ...by_current_user_with_on_request_builder.py | 2 +- .../item/group/group_request_builder.py | 2 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../principal/principal_request_builder.py | 2 +- ..._schedule_instance_item_request_builder.py | 12 +- ...ility_schedule_requests_request_builder.py | 14 +- ...by_current_user_with_on_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/group/group_request_builder.py | 2 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../principal/principal_request_builder.py | 2 +- ...y_schedule_request_item_request_builder.py | 12 +- .../target_schedule_request_builder.py | 2 +- .../eligibility_schedules_request_builder.py | 10 +- ...by_current_user_with_on_request_builder.py | 2 +- .../item/group/group_request_builder.py | 2 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../principal/principal_request_builder.py | 2 +- ...igibility_schedule_item_request_builder.py | 12 +- .../group/group_request_builder.py | 6 +- .../privileged_access_request_builder.py | 6 +- .../alert_configurations_request_builder.py | 10 +- .../alert_definition_request_builder.py | 2 +- ...lert_configuration_item_request_builder.py | 6 +- .../alert_definitions_request_builder.py | 10 +- ...t_alert_definition_item_request_builder.py | 6 +- .../alerts/alerts_request_builder.py | 10 +- .../alert_configuration_request_builder.py | 2 +- .../alert_definition_request_builder.py | 2 +- .../alert_incidents_request_builder.py | 10 +- .../remediate/remediate_request_builder.py | 2 +- ...ent_alert_incident_item_request_builder.py | 12 +- .../item/refresh/refresh_request_builder.py | 2 +- ...e_management_alert_item_request_builder.py | 6 +- .../alerts/refresh/refresh_request_builder.py | 6 +- ..._running_operation_item_request_builder.py | 6 +- .../operations/operations_request_builder.py | 4 +- .../role_management_alerts_request_builder.py | 6 +- .../agreement_acceptances_request_builder.py | 4 +- ...reement_acceptance_item_request_builder.py | 6 +- .../agreements/agreements_request_builder.py | 14 +- .../acceptances_request_builder.py | 10 +- ...reement_acceptance_item_request_builder.py | 6 +- .../item/agreement_item_request_builder.py | 22 +- .../item/file/file_request_builder.py | 12 +- ..._file_localization_item_request_builder.py | 6 +- ...ement_file_version_item_request_builder.py | 6 +- .../item/versions/versions_request_builder.py | 4 +- .../localizations_request_builder.py | 10 +- .../item/files/files_request_builder.py | 8 +- ..._file_localization_item_request_builder.py | 6 +- ...ement_file_version_item_request_builder.py | 6 +- .../item/versions/versions_request_builder.py | 4 +- .../terms_of_use_request_builder.py | 6 +- .../identity_protection_request_builder.py | 4 +- .../risk_detection_item_request_builder.py | 14 +- .../risk_detections_request_builder.py | 10 +- .../confirm_compromised_request_builder.py | 6 +- .../dismiss/dismiss_request_builder.py | 6 +- .../item/history/history_request_builder.py | 10 +- ...cipal_history_item_item_request_builder.py | 6 +- ..._service_principal_item_request_builder.py | 12 +- ...isky_service_principals_request_builder.py | 10 +- .../confirm_compromised_request_builder.py | 6 +- .../dismiss/dismiss_request_builder.py | 6 +- .../item/history/history_request_builder.py | 10 +- ..._user_history_item_item_request_builder.py | 12 +- .../item/risky_user_item_request_builder.py | 6 +- .../risky_users_request_builder.py | 12 +- ...pal_risk_detection_item_request_builder.py | 12 +- ...incipal_risk_detections_request_builder.py | 10 +- ...vailable_provider_types_request_builder.py | 2 +- .../identity_providers_request_builder.py | 14 +- .../identity_provider_item_request_builder.py | 20 +- .../bitlocker/bitlocker_request_builder.py | 2 +- ...ocker_recovery_key_item_request_builder.py | 8 +- .../recovery_keys_request_builder.py | 8 +- ...oss_prevention_policies_request_builder.py | 4 +- .../evaluate/evaluate_request_builder.py | 2 +- ..._prevention_policy_item_request_builder.py | 6 +- .../decrypt_buffer_request_builder.py | 2 +- .../encrypt_buffer_request_builder.py | 2 +- .../information_protection_request_builder.py | 4 +- .../evaluate_application_request_builder.py | 6 +- ..._classification_results_request_builder.py | 6 +- .../evaluate_removal_request_builder.py | 6 +- .../extract_label_request_builder.py | 6 +- ...n_protection_label_item_request_builder.py | 12 +- .../policy/labels/labels_request_builder.py | 10 +- .../policy/policy_request_builder.py | 6 +- .../evaluate/evaluate_request_builder.py | 2 +- .../sensitivity_label_item_request_builder.py | 6 +- .../evaluate/evaluate_request_builder.py | 2 +- .../sensitivity_label_item_request_builder.py | 6 +- .../sublabels/sublabels_request_builder.py | 4 +- .../sensitivity_labels_request_builder.py | 4 +- ...itivity_policy_settings_request_builder.py | 6 +- .../sign_digest_request_builder.py | 2 +- ..._assessment_result_item_request_builder.py | 6 +- .../item/results/results_request_builder.py | 4 +- ...assessment_request_item_request_builder.py | 12 +- ...eat_assessment_requests_request_builder.py | 14 +- .../verify_signature_request_builder.py | 2 +- .../invitations_request_builder.py | 8 +- .../item/invitation_item_request_builder.py | 6 +- .../invited_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../invited_user_sponsors_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 2 +- msgraph_beta/generated/kiota-lock.json | 6 +- .../message_event_item_request_builder.py | 6 +- .../message_events_request_builder.py | 4 +- .../item/events/events_request_builder.py | 4 +- .../message_event_item_request_builder.py | 6 +- .../message_recipient_item_request_builder.py | 6 +- .../message_recipients_request_builder.py | 4 +- .../message_trace_item_request_builder.py | 6 +- .../item/events/events_request_builder.py | 4 +- .../message_event_item_request_builder.py | 6 +- .../message_recipient_item_request_builder.py | 6 +- .../recipients/recipients_request_builder.py | 4 +- .../message_traces_request_builder.py | 4 +- .../included_groups_request_builder.py | 10 +- .../item/ref/ref_request_builder.py | 8 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../ref/ref_request_builder.py | 14 +- ..._management_policy_item_request_builder.py | 6 +- ...ity_management_policies_request_builder.py | 4 +- msgraph_beta/generated/models/aad_source.py | 2 +- .../generated/models/action_summary.py | 6 +- .../models/active_users_breakdown_metric.py | 10 +- .../generated/models/active_users_metric.py | 4 +- msgraph_beta/generated/models/admin.py | 9 +- .../models/admin_microsoft365_apps.py | 59 ++++ msgraph_beta/generated/models/agreement.py | 6 +- .../generated/models/air_print_settings.py | 60 ++++ .../all_device_registration_membership.py | 52 +++ .../android_device_owner_compliance_policy.py | 4 + ...roid_device_owner_enrollment_token_type.py | 2 + ...vice_owner_general_device_configuration.py | 11 + .../android_device_owner_location_mode.py | 10 + .../android_for_work_compliance_policy.py | 2 +- .../models/android_managed_app_protection.py | 8 + .../android_safety_net_evaluation_type.py | 2 +- .../android_work_profile_compliance_policy.py | 2 +- .../aosp_device_owner_wi_fi_configuration.py | 23 ++ .../generated/models/application_detail.py | 84 +++++ .../applied_conditional_access_policy.py | 8 +- .../apps_installation_options_for_mac.py | 57 ++++ .../apps_installation_options_for_windows.py | 65 ++++ .../models/apps_update_channel_type.py | 8 + .../assigned_compute_instance_details.py | 4 +- .../models/attendee_notification_info.py | 57 ++++ .../generated/models/audit_log_root.py | 4 +- .../generated/models/authentication.py | 2 +- .../models/authentication_behaviors.py | 4 + ...uthentication_combination_configuration.py | 7 + ...ndition_application_collection_response.py | 57 ++++ .../models/authentication_event_listener.py | 14 + .../models/authentications_metric.py | 12 +- .../generated/models/authorization_system.py | 8 +- .../models/authorization_system_identity.py | 8 +- .../authorization_system_identity_source.py | 2 +- .../models/authorization_system_info.py | 6 +- .../models/authorization_system_resource.py | 8 +- .../authorization_system_type_action.py | 6 +- .../authorization_system_type_service.py | 2 +- .../generated/models/aws_access_key.py | 2 +- ...s_actions_permissions_definition_action.py | 2 +- .../models/aws_authorization_system.py | 10 +- .../aws_authorization_system_resource.py | 2 +- .../generated/models/aws_ec2_instance.py | 2 +- .../aws_external_system_access_finding.py | 4 +- ...aws_external_system_access_role_finding.py | 2 +- msgraph_beta/generated/models/aws_lambda.py | 2 +- msgraph_beta/generated/models/aws_policy.py | 4 +- ...ws_policy_permissions_definition_action.py | 2 +- msgraph_beta/generated/models/aws_source.py | 2 +- .../generated/models/aws_statement.py | 12 +- msgraph_beta/generated/models/aws_user.py | 2 +- ...oin_policy.py => azure_a_d_join_policy.py} | 32 +- .../models/azure_a_d_registration_policy.py | 24 +- ...re_action_permissions_definition_action.py | 2 +- .../models/azure_authorization_system.py | 10 +- .../azure_authorization_system_resource.py | 2 +- .../generated/models/azure_role_definition.py | 6 +- .../models/azure_serverless_function.py | 2 +- msgraph_beta/generated/models/azure_source.py | 2 +- .../generated/models/booking_appointment.py | 12 + .../generated/models/booking_business.py | 18 +- .../models/booking_custom_question.py | 9 + .../generated/models/booking_customer.py | 9 + .../models/booking_page_access_control.py | 7 + .../generated/models/booking_page_settings.py | 100 ++++++ .../models/booking_scheduling_policy.py | 4 + .../generated/models/booking_service.py | 8 + .../generated/models/booking_staff_member.py | 9 + msgraph_beta/generated/models/call_event.py | 23 +- .../generated/models/call_event_type.py | 1 + .../generated/models/call_recording.py | 2 +- .../models/call_records/call_record.py | 20 +- .../models/call_records/organizer.py | 52 +++ .../models/call_records/participant.py | 52 +++ .../models/call_records/participant_base.py | 77 +++++ .../participant_collection_response.py | 57 ++++ .../call_records/participant_endpoint.py | 9 +- .../models/call_records/user_identity.py | 56 ++++ .../generated/models/change_tracked_entity.py | 15 +- msgraph_beta/generated/models/channel.py | 4 + ...el_sharing_updated_event_message_detail.py | 71 +++++ msgraph_beta/generated/models/cloud_p_c.py | 11 + .../cloud_p_c_inaccessible_report_name.py | 7 + .../cloud_p_c_performance_report_name.py | 6 + .../cloud_pc_audit_activity_operation_type.py | 2 +- .../models/cloud_pc_audit_activity_result.py | 2 +- .../models/cloud_pc_audit_actor_type.py | 2 +- .../models/cloud_pc_audit_category.py | 2 +- .../generated/models/cloud_pc_bulk_action.py | 21 ++ ...loud_pc_bulk_disaster_recovery_failback.py | 52 +++ ...loud_pc_bulk_disaster_recovery_failover.py | 52 +++ ...oud_pc_bulk_modify_disk_encryption_type.py | 59 ++++ ..._cross_region_disaster_recovery_setting.py | 68 ++++ .../generated/models/cloud_pc_device_image.py | 11 + .../cloud_pc_device_image_error_code.py | 14 + .../models/cloud_pc_device_image_os_status.py | 1 + .../models/cloud_pc_device_image_status.py | 1 + ...aster_recovery_azure_connection_setting.py | 56 ++++ .../cloud_pc_disaster_recovery_capability.py | 68 ++++ ...ud_pc_disaster_recovery_capability_type.py | 8 + ...covery_microsoft_hosted_network_setting.py | 63 ++++ ...ud_pc_disaster_recovery_network_setting.py | 71 +++++ .../models/cloud_pc_disk_encryption_type.py | 7 + .../cloud_pc_domain_join_configuration.py | 4 + .../generated/models/cloud_pc_export_job.py | 2 +- .../models/cloud_pc_gallery_image.py | 12 + .../models/cloud_pc_on_premises_connection.py | 15 + ..._pc_on_premises_connection_health_check.py | 4 + ...ises_connection_health_check_error_type.py | 1 + ...pc_on_premises_connection_status_detail.py | 69 ++++ .../cloud_pc_partner_agent_install_result.py | 2 +- .../models/cloud_pc_partner_agent_name.py | 1 + .../models/cloud_pc_provisioning_policy.py | 11 + ...cloud_pc_provisioning_policy_image_type.py | 1 + .../models/cloud_pc_remote_action_name.py | 4 + .../generated/models/cloud_pc_report_name.py | 4 + .../cloud_pc_restore_point_frequency_type.py | 11 + .../models/cloud_pc_restore_point_setting.py | 11 + .../models/cloud_pc_scoped_permission.py | 57 ++++ .../models/cloud_pc_source_device_image.py | 4 + .../cloud_pc_tenant_encryption_setting.py | 65 ++++ .../generated/models/cloud_pc_user_setting.py | 13 +- .../models/cloud_pc_windows_setting.py | 53 ++++ .../generated/models/comms_operation.py | 7 + .../communications_application_identity.py | 4 +- ...nications_application_instance_identity.py | 4 +- .../models/communications_identity_set.py | 6 +- msgraph_beta/generated/models/community.py | 85 +++++ .../community_collection_response.py} | 26 +- .../generated/models/community_privacy.py | 7 + .../models/conditional_access_applications.py | 4 +- .../models/connected_organization.py | 2 +- .../generated/models/container_filter.py | 2 +- ...ant_access_policy_configuration_default.py | 6 +- .../models/custom_authentication_extension.py | 14 + .../models/custom_callout_extension.py | 14 + ...ustom_extension_overwrite_configuration.py | 2 +- .../models/daily_user_insight_metrics_root.py | 14 +- msgraph_beta/generated/models/day_note.py | 68 ++++ .../day_note_collection_response.py} | 26 +- .../models/default_managed_app_protection.py | 12 + ...ce_and_app_management_assignment_target.py | 7 + .../device_identity_attestation_detail.py | 63 ++++ .../device_identity_attestation_status.py | 16 + .../models/device_management/alert_rule.py | 13 +- .../device_management/alert_rule_template.py | 1 + .../device_management/condition_category.py | 13 + .../device_management/device_management.py | 7 + .../device_management/relationship_type.py | 7 + .../device_management/rule_condition.py | 85 +++++ ..._management_cached_report_configuration.py | 3 + ..._configuration_setting_group_definition.py | 2 +- .../models/device_management_export_job.py | 3 + .../models/device_registration_membership.py | 78 +++++ .../models/device_registration_policy.py | 10 +- msgraph_beta/generated/models/dictionary.py | 7 + msgraph_beta/generated/models/drive_item.py | 6 +- .../generated/models/education_submission.py | 6 + .../models/education_submission_status.py | 1 + .../models/elevation_request_state.py | 16 + .../generated/models/employee_experience.py | 21 ++ .../models/engagement_async_operation.py | 63 ++++ ...ent_async_operation_collection_response.py | 57 ++++ .../models/engagement_async_operation_type.py | 6 + .../models/entitlements_data_collection.py | 2 +- msgraph_beta/generated/models/entity.py | 280 ++++++++++++++++- ...umerated_device_registration_membership.py | 60 ++++ .../models/enumerated_inbound_ports.py | 2 +- .../generated/models/event_message_detail.py | 7 + .../generated/models/extension_property.py | 4 +- .../models/external_connectors/external.py | 2 +- ..._users_self_service_sign_up_events_flow.py | 14 + msgraph_beta/generated/models/finding.py | 2 +- ...cp_action_permissions_definition_action.py | 2 +- .../models/gcp_authorization_system.py | 10 +- .../gcp_authorization_system_resource.py | 2 +- .../generated/models/gcp_cloud_function.py | 2 +- msgraph_beta/generated/models/gcp_role.py | 6 +- msgraph_beta/generated/models/gcp_scope.py | 2 +- msgraph_beta/generated/models/goals.py | 59 ++++ .../generated/models/goals_export_job.py | 69 ++++ .../goals_export_job_collection_response.py | 57 ++++ msgraph_beta/generated/models/group.py | 64 ++-- msgraph_beta/generated/models/group_filter.py | 2 +- .../generated/models/gsuite_source.py | 2 +- .../horizontal_section_collection_response.py | 57 ++++ ...ntal_section_column_collection_response.py | 57 ++++ msgraph_beta/generated/models/identity.py | 13 +- .../generated/models/identity_details.py | 4 +- .../generated/models/identity_finding.py | 2 +- msgraph_beta/generated/models/identity_set.py | 6 +- .../models/incompatible_printer_settings.py | 7 + .../generated/models/insight_summary.py | 20 +- .../models/internal_domain_federation.py | 2 +- ...emption_identity_provider_configuration.py | 4 +- .../models/ios_managed_app_protection.py | 4 + .../generated/models/item_retention_label.py | 2 +- msgraph_beta/generated/models/key_value.py | 4 +- .../models/long_running_operation.py | 20 +- .../models/m365_apps_installation_options.py | 73 +++++ .../mac_os_lob_app_assignment_settings.py | 2 +- .../models/managed_app_protection.py | 7 + .../generated/models/managed_device.py | 7 + .../models/messaging_redirect_app_type.py | 10 + .../generated/models/mfa_completion_metric.py | 12 +- .../models/microsoft_managed_desktop.py | 4 + .../models/mobile_app_assignment_settings.py | 7 + .../models/mobile_app_content_file.py | 8 + .../monthly_user_insight_metrics_root.py | 14 +- .../branch_connectivity_configuration.py | 6 +- .../models/networkaccess/branch_site.py | 2 +- ...ional_access_policy_collection_response.py | 57 ++++ .../models/networkaccess/connectivity.py | 7 + .../connectivity_configuration_link.py | 4 +- .../networkaccess/cross_tenant_access.py | 12 +- .../networkaccess/cross_tenant_summary.py | 10 +- .../models/networkaccess/destination.py | 14 +- .../networkaccess/destination_summary.py | 6 +- .../generated/models/networkaccess/device.py | 10 +- .../networkaccess/device_usage_summary.py | 6 +- .../models/networkaccess/entities_summary.py | 6 +- .../models/networkaccess/filtering_policy.py | 68 ++++ .../networkaccess/filtering_policy_action.py | 7 + .../filtering_policy_collection_response.py | 57 ++++ .../networkaccess/filtering_policy_link.py | 72 +++++ .../models/networkaccess/filtering_profile.py | 68 ++++ .../filtering_profile_collection_response.py | 57 ++++ .../models/networkaccess/filtering_rule.py | 84 +++++ .../models/networkaccess/forwarding_rule.py | 7 + .../networkaccess/fqdn_filtering_rule.py | 52 +++ .../internet_access_forwarding_rule.py | 52 +++ .../local_connectivity_configuration.py | 6 +- .../generated/models/networkaccess/logs.py | 9 +- .../networkaccess/network_access_root.py | 14 + .../networkaccess/network_access_traffic.py | 14 + .../peer_connectivity_configuration.py | 6 +- .../generated/models/networkaccess/policy.py | 7 + .../models/networkaccess/policy_link.py | 7 + .../models/networkaccess/policy_rule.py | 28 ++ .../generated/models/networkaccess/profile.py | 7 + .../generated/models/networkaccess/region.py | 12 + .../remote_network_health_event.py | 92 ++++++ ...etwork_health_event_collection_response.py | 57 ++++ .../networkaccess/remote_network_status.py | 10 + .../models/networkaccess/rule_destination.py | 7 + .../networkaccess/transaction_summary.py | 4 +- .../generated/models/networkaccess/user.py | 8 +- .../networkaccess/web_categories_summary.py | 17 +- .../models/networkaccess/web_category.py | 64 ++++ .../web_category_filtering_rule.py | 52 +++ .../no_device_registration_membership.py | 52 +++ .../models/o_data_errors/inner_error.py | 4 +- ...ibute_collection_start_custom_extension.py | 52 +++ ...llection_start_custom_extension_handler.py | 66 ++++ .../on_attribute_collection_start_handler.py | 64 ++++ .../on_attribute_collection_start_listener.py | 59 ++++ ...bute_collection_submit_custom_extension.py | 52 +++ ...lection_submit_custom_extension_handler.py | 66 ++++ .../on_attribute_collection_submit_handler.py | 64 ++++ ...on_attribute_collection_submit_listener.py | 59 ++++ .../generated/models/online_meeting.py | 158 +--------- .../generated/models/online_meeting_base.py | 202 ++++++++++++ .../generated/models/online_meeting_role.py | 2 +- .../models/open_aws_security_group_finding.py | 4 +- ...en_network_azure_security_group_finding.py | 9 +- msgraph_beta/generated/models/open_shift.py | 17 +- .../generated/models/permissions_analytics.py | 4 +- .../models/permissions_creep_index.py | 2 +- .../permissions_creep_index_distribution.py | 2 +- ...issions_definition_authorization_system.py | 4 +- ...efinition_authorization_system_identity.py | 2 +- .../models/permissions_management.py | 4 +- .../models/permissions_request_change.py | 8 +- .../models/planner_approval_requirement.py | 53 ++++ .../models/planner_approval_status.py | 9 + .../generated/models/planner_archival_info.py | 69 ++++ .../planner_base_approval_attachment.py | 71 +++++ .../planner_basic_approval_attachment.py | 56 ++++ .../generated/models/planner_bucket.py | 11 + .../models/planner_forms_dictionary.py | 52 +++ .../models/planner_forms_requirement.py | 53 ++++ msgraph_beta/generated/models/planner_plan.py | 17 +- .../models/planner_plan_container.py | 2 +- msgraph_beta/generated/models/planner_task.py | 19 ++ ...ner_task_completion_requirement_details.py | 14 + .../planner_task_completion_requirements.py | 2 + .../generated/models/planner_task_details.py | 14 + .../models/planner_task_property_rule.py | 8 + ...atform_credential_authentication_method.py | 10 +- msgraph_beta/generated/models/policy_root.py | 21 +- .../generated/models/position_detail.py | 6 +- .../generated/models/print_settings.py | 11 + .../models/printer_discovery_settings.py | 60 ++++ .../generated/models/privilege_escalation.py | 8 +- .../models/privilege_escalation_finding.py | 4 +- .../privilege_management_elevation_request.py | 118 +++++++ ...t_elevation_request_collection_response.py | 57 ++++ .../models/profile_card_annotation.py | 2 +- .../generated/models/profile_card_property.py | 2 +- .../generated/models/pronouns_settings.py | 2 +- .../generated/models/publication_facet.py | 2 +- .../generated/models/recommendation_base.py | 2 +- .../generated/models/recommendation_type.py | 5 + .../generated/models/related_person.py | 4 +- .../remind_before_time_in_minutes_type.py | 6 + .../generated/models/remote_action.py | 2 + msgraph_beta/generated/models/report_root.py | 15 +- msgraph_beta/generated/models/risk_profile.py | 4 +- msgraph_beta/generated/models/schedule.py | 24 +- .../models/scheduled_permissions_request.py | 10 +- .../generated/models/scheduling_group.py | 4 + .../scope_tag_group_assignment_target.py | 55 ++++ .../generated/models/security/alert.py | 2 +- .../models/security/audit_core_root.py | 59 ++++ .../generated/models/security/audit_data.py | 64 ++++ .../models/security/audit_log_query.py | 114 +++++++ .../audit_log_query_collection_response.py | 57 ++++ .../models/security/audit_log_query_status.py | 10 + .../models/security/audit_log_record.py | 110 +++++++ .../audit_log_record_collection_response.py | 57 ++++ .../models/security/audit_log_record_type.py | 257 +++++++++++++++ .../models/security/audit_log_user_type.py | 16 + .../models/security/default_audit_data.py | 52 +++ .../models/send_dtmf_completion_reason.py | 8 + .../models/send_dtmf_tones_operation.py | 59 ++++ .../generated/models/service_activity.py | 52 +++ .../models/service_activity_value_metric.py | 58 ++++ .../generated/models/service_plan_info.py | 4 +- msgraph_beta/generated/models/shift.py | 6 +- msgraph_beta/generated/models/sign_in.py | 26 +- .../generated/models/sign_in_activity.py | 8 + ...e_resource_azure_permissions_definition.py | 2 +- ...gle_resource_gcp_permissions_definition.py | 2 +- .../site_page_collection_response.py} | 26 +- .../generated/models/solutions_root.py | 14 + .../generated/models/synchronization_rule.py | 4 +- .../models/teams_async_operation_type.py | 2 + .../models/teams_licensing_details.py | 56 ++++ msgraph_beta/generated/models/teamwork.py | 8 + msgraph_beta/generated/models/ticket_info.py | 4 +- msgraph_beta/generated/models/time_off.py | 6 +- .../generated/models/time_off_reason.py | 4 + .../models/unified_role_assignment.py | 10 +- msgraph_beta/generated/models/user.py | 102 +++--- .../generated/models/user_count_metric.py | 4 +- ...ytics_battery_health_device_performance.py | 7 + ...erience_analytics_device_battery_detail.py | 64 ++++ .../generated/models/user_insights_root.py | 4 +- .../models/user_registration_details.py | 2 +- .../generated/models/user_requests_metric.py | 4 +- .../generated/models/user_sign_up_metric.py | 6 +- .../generated/models/user_teamwork.py | 8 + .../virtual_appointment_message_type.py | 8 + .../generated/models/virtual_event.py | 28 +- .../models/virtual_event_presenter.py | 11 + .../models/virtual_event_registration.py | 4 +- ...irtual_event_registration_configuration.py | 10 +- ...ual_event_registration_custom_question.py} | 32 +- ..._event_registration_predefined_question.py | 59 ++++ ..._registration_predefined_question_label.py | 13 + ...irtual_event_registration_question_base.py | 78 +++++ .../generated/models/virtual_event_session.py | 32 +- .../models/virtual_event_townhall.py | 74 +++++ ...tual_event_townhall_collection_response.py | 57 ++++ .../generated/models/virtual_event_webinar.py | 12 +- ...vent_webinar_registration_configuration.py | 4 +- .../generated/models/virtual_events_root.py | 7 + .../models/virtual_machine_details.py | 59 ++++ ..._with_aws_storage_bucket_access_finding.py | 4 +- .../web_part_collection_response.py} | 26 +- .../generated/models/web_part_position.py | 65 ++++ .../generated/models/wi_fi_proxy_setting.py | 2 + .../win32_catalog_app_assignment_settings.py | 55 ++++ .../win32_lob_app_assignment_settings.py | 18 ++ .../win32_lob_app_auto_update_settings.py | 63 ++++ ...n32_lob_app_auto_update_superseded_apps.py | 10 + .../windows_app_x_app_assignment_settings.py | 2 +- ...universal_app_x_app_assignment_settings.py | 2 +- .../windows_updates/expedite_settings.py | 4 + .../models/x509_certificate_affinity_level.py | 7 + ...icate_authentication_mode_configuration.py | 7 + ...9_certificate_combination_configuration.py | 60 ++++ .../generated/models/x509_certificate_rule.py | 17 +- .../models/x509_certificate_rule_type.py | 1 + .../models/x509_certificate_user_binding.py | 11 + .../alert_records_request_builder.py | 10 +- .../item/alert_record_item_request_builder.py | 12 +- ...al_notification_as_sent_request_builder.py | 6 +- ...et_portal_notifications_request_builder.py | 2 +- .../alert_rules_request_builder.py | 14 +- .../item/alert_rule_item_request_builder.py | 16 +- .../monitoring/monitoring_request_builder.py | 4 +- .../branches/branches_request_builder.py | 14 +- .../item/branch_site_item_request_builder.py | 20 +- ...nectivity_configuration_request_builder.py | 13 +- ...configuration_link_item_request_builder.py | 12 +- .../links/links_request_builder.py | 10 +- .../device_links_request_builder.py | 14 +- .../item/device_link_item_request_builder.py | 20 +- .../forwarding_profiles_request_builder.py | 10 +- ...forwarding_profile_item_request_builder.py | 6 +- .../item/policy/policy_request_builder.py | 2 +- .../item/policy_link_item_request_builder.py | 6 +- .../item/policies/policies_request_builder.py | 4 +- .../connectivity_request_builder.py | 6 +- .../count/count_request_builder.py | 113 +++++++ .../filtering_policies_request_builder.py | 227 ++++++++++++++ .../filtering_policy_item_request_builder.py | 226 +++++++++++++ .../count/count_request_builder.py | 113 +++++++ .../item/policy_rule_item_request_builder.py | 215 +++++++++++++ .../policy_rules_request_builder.py | 226 +++++++++++++ .../count/count_request_builder.py | 113 +++++++ .../filtering_profiles_request_builder.py | 227 ++++++++++++++ ...itional_access_policies_request_builder.py | 171 ++++++++++ .../count/count_request_builder.py | 113 +++++++ ...onal_access_policy_item_request_builder.py | 116 +++++++ ...filtering_profile_item_request_builder.py} | 100 +++--- .../policies}/count/count_request_builder.py | 6 +- .../item/policy/policy_request_builder.py | 116 +++++++ .../item/policy_link_item_request_builder.py | 225 +++++++++++++ .../item/policies/policies_request_builder.py | 226 +++++++++++++ .../forwarding_policies_request_builder.py | 10 +- .../forwarding_policy_item_request_builder.py | 12 +- ...ess_update_policy_rules_request_builder.py | 6 +- .../item/policy_rule_item_request_builder.py | 6 +- .../policy_rules_request_builder.py | 4 +- .../forwarding_profiles_request_builder.py | 10 +- ...forwarding_profile_item_request_builder.py | 16 +- .../item/policy/policy_request_builder.py | 2 +- .../item/policy_link_item_request_builder.py | 6 +- .../item/policies/policies_request_builder.py | 4 +- .../logs/logs_request_builder.py | 16 +- .../count/count_request_builder.py | 113 +++++++ ...twork_health_event_item_request_builder.py | 215 +++++++++++++ .../remote_networks_request_builder.py | 227 ++++++++++++++ ...raffic_transaction_item_request_builder.py | 12 +- .../logs/traffic/traffic_request_builder.py | 10 +- ...h_networkaccess_onboard_request_builder.py | 2 +- .../network_access_request_builder.py | 24 +- ...time_with_end_date_time_request_builder.py | 2 +- ...time_with_end_date_time_request_builder.py | 2 +- ...time_with_end_date_time_request_builder.py | 2 +- ...time_with_end_date_time_request_builder.py | 2 +- ...scovery_pivot_date_time_request_builder.py | 2 +- ...time_with_aggregated_by_request_builder.py | 2 +- ...ctivity_pivot_date_time_request_builder.py | 2 +- ...time_with_end_date_time_request_builder.py | 2 +- ...time_with_end_date_time_request_builder.py | 2 +- ...time_with_end_date_time_request_builder.py | 2 +- ...time_with_end_date_time_request_builder.py | 2 +- .../reports/reports_request_builder.py | 6 +- .../conditional_access_request_builder.py | 16 +- .../cross_tenant_access_request_builder.py | 16 +- .../enriched_audit_logs_request_builder.py | 10 +- .../forwarding_options_request_builder.py | 16 +- .../settings/settings_request_builder.py | 6 +- .../tenant_status_request_builder.py | 12 +- .../delta/delta_request_builder.py | 2 +- ...2_permission_grant_item_request_builder.py | 20 +- ...auth2_permission_grants_request_builder.py | 14 +- .../agent_groups_request_builder.py | 14 +- .../item/agents/agents_request_builder.py | 4 +- .../agent_groups_request_builder.py | 4 +- .../item/ref/ref_request_builder.py | 2 +- .../agent_groups/ref/ref_request_builder.py | 4 +- .../on_premises_agent_item_request_builder.py | 6 +- ...emises_agent_group_item_request_builder.py | 20 +- .../agent_groups_request_builder.py | 6 +- .../item/ref/ref_request_builder.py | 2 +- .../agent_groups/ref/ref_request_builder.py | 4 +- ...published_resource_item_request_builder.py | 6 +- .../published_resources_request_builder.py | 4 +- .../item/agents/agents_request_builder.py | 10 +- .../agent_groups_request_builder.py | 4 +- .../item/ref/ref_request_builder.py | 2 +- .../agent_groups/ref/ref_request_builder.py | 4 +- .../on_premises_agent_item_request_builder.py | 12 +- .../connector_groups_request_builder.py | 10 +- .../applications_request_builder.py | 2 +- .../item/application_item_request_builder.py | 2 +- .../item/logo/logo_request_builder.py | 4 +- .../connector_group_item_request_builder.py | 6 +- .../members/item/ref/ref_request_builder.py | 2 +- .../item/members/members_request_builder.py | 4 +- .../item/members/ref/ref_request_builder.py | 4 +- .../connectors/connectors_request_builder.py | 4 +- .../item/connector_item_request_builder.py | 6 +- .../member_of/item/ref/ref_request_builder.py | 2 +- .../member_of/member_of_request_builder.py | 4 +- .../item/member_of/ref/ref_request_builder.py | 4 +- ...publishing_profile_item_request_builder.py | 6 +- .../agent_groups_request_builder.py | 6 +- .../item/ref/ref_request_builder.py | 2 +- .../agent_groups/ref/ref_request_builder.py | 4 +- ...published_resource_item_request_builder.py | 16 +- .../published_resources_request_builder.py | 14 +- ...ses_publishing_profiles_request_builder.py | 4 +- .../delta/delta_request_builder.py | 2 +- .../get_by_ids/get_by_ids_request_builder.py | 6 +- .../get_user_owned_objects_request_builder.py | 6 +- .../background_image_request_builder.py | 12 +- .../banner_logo_request_builder.py | 12 +- .../item/branding/branding_request_builder.py | 20 +- .../custom_c_s_s_request_builder.py | 12 +- .../favicon/favicon_request_builder.py | 12 +- .../header_logo_request_builder.py | 12 +- .../background_image_request_builder.py | 12 +- .../banner_logo_request_builder.py | 12 +- .../custom_c_s_s_request_builder.py | 12 +- .../item/favicon/favicon_request_builder.py | 12 +- .../header_logo_request_builder.py | 12 +- ...nding_localization_item_request_builder.py | 20 +- .../square_logo_request_builder.py | 12 +- .../square_logo_dark_request_builder.py | 12 +- .../localizations_request_builder.py | 14 +- .../square_logo_request_builder.py | 12 +- .../square_logo_dark_request_builder.py | 12 +- ...ased_auth_configuration_request_builder.py | 14 +- ...auth_configuration_item_request_builder.py | 14 +- .../check_member_groups_request_builder.py | 6 +- .../check_member_objects_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 4 +- .../item/extension_item_request_builder.py | 6 +- .../get_member_groups_request_builder.py | 6 +- .../get_member_objects_request_builder.py | 2 +- .../item/organization_item_request_builder.py | 16 +- .../partner_information_request_builder.py | 6 +- .../item/restore/restore_request_builder.py | 6 +- ...ce_management_authority_request_builder.py | 2 +- .../contact_insights_request_builder.py | 16 +- .../item_insights_request_builder.py | 16 +- ...application_data_access_request_builder.py | 16 +- .../people_insights_request_builder.py | 16 +- .../item/settings/settings_request_builder.py | 6 +- .../organization_request_builder.py | 10 +- .../validate_properties_request_builder.py | 6 +- .../payload_response_item_request_builder.py | 6 +- .../payload_response_request_builder.py | 4 +- .../delta/delta_request_builder.py | 2 +- .../get_by_ids/get_by_ids_request_builder.py | 6 +- .../get_user_owned_objects_request_builder.py | 6 +- .../check_member_groups_request_builder.py | 6 +- .../check_member_objects_request_builder.py | 2 +- .../get_member_groups_request_builder.py | 6 +- .../get_member_objects_request_builder.py | 2 +- ...c_permission_grant_item_request_builder.py | 6 +- .../item/restore/restore_request_builder.py | 6 +- .../permission_grants_request_builder.py | 4 +- .../validate_properties_request_builder.py | 6 +- .../graph_room/graph_room_request_builder.py | 2 +- .../graph_room_list_request_builder.py | 2 +- .../graph_room/graph_room_request_builder.py | 2 +- .../graph_room_list_request_builder.py | 2 +- .../rooms/item/room_item_request_builder.py | 6 +- .../rooms/rooms_request_builder.py | 4 +- .../item/workspace_item_request_builder.py | 6 +- .../workspaces/workspaces_request_builder.py | 4 +- .../places/item/place_item_request_builder.py | 8 +- .../buckets/buckets_request_builder.py | 14 +- .../buckets/delta/delta_request_builder.py | 2 +- .../planner_bucket_item_request_builder.py | 16 +- .../item/tasks/delta/delta_request_builder.py | 2 +- ...ed_to_task_board_format_request_builder.py | 12 +- ...ucket_task_board_format_request_builder.py | 12 +- .../item/details/details_request_builder.py | 12 +- .../item/planner_task_item_request_builder.py | 6 +- ...gress_task_board_format_request_builder.py | 12 +- .../item/tasks/tasks_request_builder.py | 10 +- .../planner/planner_request_builder.py | 4 +- .../plans/delta/delta_request_builder.py | 2 +- .../item/archive/archive_post_request_body.py | 49 +++ .../item/archive/archive_request_builder.py | 91 ++++++ .../item/buckets/buckets_request_builder.py | 10 +- .../buckets/delta/delta_request_builder.py | 2 +- .../planner_bucket_item_request_builder.py | 6 +- .../item/tasks/delta/delta_request_builder.py | 2 +- ...ed_to_task_board_format_request_builder.py | 12 +- ...ucket_task_board_format_request_builder.py | 12 +- .../item/details/details_request_builder.py | 12 +- .../item/planner_task_item_request_builder.py | 6 +- ...gress_task_board_format_request_builder.py | 12 +- .../item/tasks/tasks_request_builder.py | 10 +- .../item/details/details_request_builder.py | 12 +- .../move_to_container_request_builder.py | 7 +- .../item/planner_plan_item_request_builder.py | 40 ++- .../item/tasks/delta/delta_request_builder.py | 2 +- ...ed_to_task_board_format_request_builder.py | 12 +- ...ucket_task_board_format_request_builder.py | 12 +- .../item/details/details_request_builder.py | 12 +- .../item/planner_task_item_request_builder.py | 6 +- ...gress_task_board_format_request_builder.py | 12 +- .../plans/item/tasks/tasks_request_builder.py | 10 +- .../unarchive/unarchive_post_request_body.py | 49 +++ .../unarchive/unarchive_request_builder.py | 91 ++++++ .../planner/plans/plans_request_builder.py | 14 +- ...nner_roster_member_item_request_builder.py | 16 +- .../item/members/members_request_builder.py | 14 +- .../planner_roster_item_request_builder.py | 16 +- .../item/planner_plan_item_request_builder.py | 2 +- .../item/plans/plans_request_builder.py | 8 +- .../rosters/rosters_request_builder.py | 14 +- .../tasks/delta/delta_request_builder.py | 2 +- ...ed_to_task_board_format_request_builder.py | 12 +- ...ucket_task_board_format_request_builder.py | 12 +- .../item/details/details_request_builder.py | 12 +- .../item/planner_task_item_request_builder.py | 16 +- ...gress_task_board_format_request_builder.py | 12 +- .../planner/tasks/tasks_request_builder.py | 14 +- .../access_review_policy_request_builder.py | 16 +- ..._based_timeout_policies_request_builder.py | 14 +- ...sed_timeout_policy_item_request_builder.py | 20 +- .../applies_to/applies_to_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 2 +- ..._consent_request_policy_request_builder.py | 12 +- ...app_management_policies_request_builder.py | 14 +- ..._management_policy_item_request_builder.py | 20 +- .../applies_to/applies_to_request_builder.py | 8 +- .../directory_object_item_request_builder.py | 2 +- ...entication_flows_policy_request_builder.py | 16 +- ...n_method_configurations_request_builder.py | 4 +- ...thod_configuration_item_request_builder.py | 6 +- ...tication_methods_policy_request_builder.py | 16 +- ...ation_strength_policies_request_builder.py | 14 +- ...entication_method_modes_request_builder.py | 2 +- ...on_strength_policy_item_request_builder.py | 20 +- ...bination_configurations_request_builder.py | 14 +- ...tion_configuration_item_request_builder.py | 20 +- ...te_allowed_combinations_request_builder.py | 6 +- .../item/usage/usage_request_builder.py | 2 +- .../authorization_policy_request_builder.py | 10 +- ...thorization_policy_item_request_builder.py | 6 +- ...ult_user_role_overrides_request_builder.py | 4 +- ...user_role_override_item_request_builder.py | 6 +- ...tication_methods_policy_request_builder.py | 16 +- ...claims_mapping_policies_request_builder.py | 14 +- .../applies_to/applies_to_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 2 +- ...ims_mapping_policy_item_request_builder.py | 20 +- ...itional_access_policies_request_builder.py | 4 +- ...onal_access_policy_item_request_builder.py | 6 +- ...ss_tenant_access_policy_request_builder.py | 16 +- .../default/default_request_builder.py | 16 +- ...reset_to_system_default_request_builder.py | 6 +- ...ion_partner_tenant_item_request_builder.py | 20 +- ...dentity_synchronization_request_builder.py | 16 +- .../partners/partners_request_builder.py | 14 +- ...dentity_synchronization_request_builder.py | 16 +- ...set_to_default_settings_request_builder.py | 6 +- ...n_partner_configuration_request_builder.py | 16 +- ...set_to_default_settings_request_builder.py | 6 +- .../templates/templates_request_builder.py | 6 +- ...t_app_management_policy_request_builder.py | 16 +- ...ice_registration_policy_request_builder.py | 17 +- ...le_access_review_policy_request_builder.py | 6 +- ...ernal_identities_policy_request_builder.py | 16 +- ...eature_rollout_policies_request_builder.py | 14 +- .../applies_to/applies_to_request_builder.py | 10 +- .../item/ref/ref_request_builder.py | 8 +- .../applies_to/ref/ref_request_builder.py | 8 +- ...ure_rollout_policy_item_request_builder.py | 20 +- ...token_validation_policy_request_builder.py | 6 +- ...ealm_discovery_policies_request_builder.py | 14 +- .../applies_to/applies_to_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 2 +- ...m_discovery_policy_item_request_builder.py | 20 +- ...ults_enforcement_policy_request_builder.py | 16 +- .../included_groups_request_builder.py | 10 +- .../item/ref/ref_request_builder.py | 8 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../ref/ref_request_builder.py | 14 +- ..._management_policy_item_request_builder.py | 20 +- ...app_management_policies_request_builder.py | 10 +- .../included_groups_request_builder.py | 10 +- .../item/ref/ref_request_builder.py | 8 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../ref/ref_request_builder.py | 14 +- ..._management_policy_item_request_builder.py | 20 +- ...ice_management_policies_request_builder.py | 10 +- .../item/excludes/excludes_request_builder.py | 14 +- ...rant_condition_set_item_request_builder.py | 10 +- .../item/includes/includes_request_builder.py | 14 +- ...rant_condition_set_item_request_builder.py | 10 +- ...ssion_grant_policy_item_request_builder.py | 20 +- ...rmission_grant_policies_request_builder.py | 14 +- .../policies/policies_request_builder.py | 4 +- .../effective_rules_request_builder.py | 10 +- ...gement_policy_rule_item_request_builder.py | 6 +- ...gement_policy_rule_item_request_builder.py | 16 +- .../item/rules/rules_request_builder.py | 10 +- ..._management_policy_item_request_builder.py | 6 +- ...ole_management_policies_request_builder.py | 10 +- .../item/policy/policy_request_builder.py | 2 +- ..._policy_assignment_item_request_builder.py | 6 +- ...ment_policy_assignments_request_builder.py | 10 +- .../item/excludes/excludes_request_builder.py | 4 +- ...tion_condition_set_item_request_builder.py | 6 +- .../item/includes/includes_request_builder.py | 4 +- ...tion_condition_set_item_request_builder.py | 6 +- ...al_creation_policy_item_request_builder.py | 6 +- ...cipal_creation_policies_request_builder.py | 4 +- .../applies_to/applies_to_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 2 +- ...en_issuance_policy_item_request_builder.py | 20 +- ...token_issuance_policies_request_builder.py | 14 +- .../applies_to/applies_to_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 2 +- ...en_lifetime_policy_item_request_builder.py | 20 +- ...token_lifetime_policies_request_builder.py | 14 +- .../connectors/connectors_request_builder.py | 10 +- .../print_connector_item_request_builder.py | 20 +- .../print_operation_item_request_builder.py | 12 +- .../operations/operations_request_builder.py | 10 +- .../generated/print/print_request_builder.py | 4 +- .../allowed_groups_request_builder.py | 10 +- .../item/ref/ref_request_builder.py | 8 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../allowed_groups/ref/ref_request_builder.py | 14 +- .../allowed_users_request_builder.py | 10 +- .../mailbox_settings_request_builder.py | 4 +- .../item/ref/ref_request_builder.py | 8 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../allowed_users/ref/ref_request_builder.py | 14 +- .../jobs/item/abort/abort_request_builder.py | 6 +- .../item/cancel/cancel_request_builder.py | 6 +- .../cancel_print_job_request_builder.py | 2 +- .../documents/documents_request_builder.py | 4 +- .../create_upload_session_request_builder.py | 6 +- .../print_document_item_request_builder.py | 6 +- .../item/value/content_request_builder.py | 4 +- .../item/print_job_item_request_builder.py | 6 +- .../item/redirect/redirect_request_builder.py | 6 +- .../jobs/item/start/start_request_builder.py | 2 +- .../start_print_job_request_builder.py | 2 +- .../definition/definition_request_builder.py | 2 +- .../item/print_task_item_request_builder.py | 6 +- .../item/trigger/trigger_request_builder.py | 2 +- .../jobs/item/tasks/tasks_request_builder.py | 4 +- .../item/jobs/jobs_request_builder.py | 4 +- .../item/printer/printer_request_builder.py | 2 +- .../printer_share_item_request_builder.py | 6 +- .../printer_shares_request_builder.py | 4 +- .../printers/create/create_request_builder.py | 6 +- .../connectors/connectors_request_builder.py | 8 +- .../print_connector_item_request_builder.py | 2 +- .../get_capabilities_request_builder.py | 2 +- .../jobs/item/abort/abort_request_builder.py | 6 +- .../item/cancel/cancel_request_builder.py | 6 +- .../cancel_print_job_request_builder.py | 2 +- .../documents/documents_request_builder.py | 4 +- .../create_upload_session_request_builder.py | 6 +- .../print_document_item_request_builder.py | 6 +- .../item/value/content_request_builder.py | 4 +- .../item/print_job_item_request_builder.py | 6 +- .../item/redirect/redirect_request_builder.py | 6 +- .../jobs/item/start/start_request_builder.py | 2 +- .../start_print_job_request_builder.py | 2 +- .../definition/definition_request_builder.py | 2 +- .../item/print_task_item_request_builder.py | 6 +- .../item/trigger/trigger_request_builder.py | 2 +- .../jobs/item/tasks/tasks_request_builder.py | 4 +- .../item/jobs/jobs_request_builder.py | 4 +- .../item/printer_item_request_builder.py | 20 +- .../reset_defaults_request_builder.py | 2 +- ...estore_factory_defaults_request_builder.py | 6 +- .../item/share/share_request_builder.py | 2 +- .../printer_share_item_request_builder.py | 2 +- .../item/shares/shares_request_builder.py | 2 +- .../definition/definition_request_builder.py | 2 +- ...print_task_trigger_item_request_builder.py | 16 +- .../task_triggers_request_builder.py | 14 +- .../printers/printers_request_builder.py | 10 +- .../endpoints/endpoints_request_builder.py | 10 +- ...t_service_endpoint_item_request_builder.py | 12 +- .../print_service_item_request_builder.py | 12 +- .../services/services_request_builder.py | 10 +- .../allowed_groups_request_builder.py | 10 +- .../item/ref/ref_request_builder.py | 8 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../allowed_groups/ref/ref_request_builder.py | 14 +- .../allowed_users_request_builder.py | 10 +- .../mailbox_settings_request_builder.py | 4 +- .../item/ref/ref_request_builder.py | 8 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../allowed_users/ref/ref_request_builder.py | 14 +- .../jobs/item/abort/abort_request_builder.py | 6 +- .../item/cancel/cancel_request_builder.py | 6 +- .../cancel_print_job_request_builder.py | 2 +- .../documents/documents_request_builder.py | 4 +- .../create_upload_session_request_builder.py | 6 +- .../print_document_item_request_builder.py | 6 +- .../item/value/content_request_builder.py | 4 +- .../item/print_job_item_request_builder.py | 6 +- .../item/redirect/redirect_request_builder.py | 6 +- .../jobs/item/start/start_request_builder.py | 2 +- .../start_print_job_request_builder.py | 2 +- .../definition/definition_request_builder.py | 2 +- .../item/print_task_item_request_builder.py | 6 +- .../item/trigger/trigger_request_builder.py | 2 +- .../jobs/item/tasks/tasks_request_builder.py | 4 +- .../shares/item/jobs/jobs_request_builder.py | 4 +- .../item/printer/printer_request_builder.py | 2 +- .../printer_share_item_request_builder.py | 20 +- .../print/shares/shares_request_builder.py | 14 +- ...nt_task_definition_item_request_builder.py | 20 +- .../definition/definition_request_builder.py | 2 +- .../item/print_task_item_request_builder.py | 16 +- .../item/trigger/trigger_request_builder.py | 2 +- .../item/tasks/tasks_request_builder.py | 10 +- .../task_definitions_request_builder.py | 14 +- .../privacy/privacy_request_builder.py | 4 +- .../approvers/approvers_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../item/user_item_request_builder.py | 2 +- .../collaborators_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../item/user_item_request_builder.py | 2 +- .../get_final_attachment_request_builder.py | 2 +- .../get_final_report_request_builder.py | 2 +- .../authored_note_item_request_builder.py | 6 +- .../item/notes/notes_request_builder.py | 14 +- ...ect_rights_request_item_request_builder.py | 16 +- .../item/team/team_request_builder.py | 2 +- ...subject_rights_requests_request_builder.py | 14 +- .../privileged_access_item_request_builder.py | 6 +- ...overnance_resource_item_request_builder.py | 6 +- .../item/parent/parent_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 2 +- ...assignment_request_item_request_builder.py | 6 +- .../item/resource/resource_request_builder.py | 2 +- .../resource/resource_request_builder.py | 2 +- .../role_definition_request_builder.py | 6 +- .../role_setting_request_builder.py | 2 +- .../item/subject/subject_request_builder.py | 6 +- .../update_request_request_builder.py | 2 +- ...ole_assignment_requests_request_builder.py | 4 +- .../export/export_request_builder.py | 2 +- ...ce_role_assignment_item_request_builder.py | 6 +- ...ligible_role_assignment_request_builder.py | 2 +- .../item/resource/resource_request_builder.py | 2 +- .../resource/resource_request_builder.py | 2 +- .../role_definition_request_builder.py | 6 +- .../role_setting_request_builder.py | 2 +- .../item/subject/subject_request_builder.py | 6 +- .../role_assignments_request_builder.py | 4 +- ...ce_role_definition_item_request_builder.py | 6 +- .../item/resource/resource_request_builder.py | 2 +- .../role_setting_request_builder.py | 2 +- .../role_definitions_request_builder.py | 4 +- ...nance_role_setting_item_request_builder.py | 6 +- .../item/resource/resource_request_builder.py | 2 +- .../resource/resource_request_builder.py | 2 +- .../role_definition_request_builder.py | 6 +- .../role_setting_request_builder.py | 2 +- .../role_settings_request_builder.py | 4 +- .../register/register_request_builder.py | 2 +- .../resources/resources_request_builder.py | 10 +- .../item/cancel/cancel_request_builder.py | 2 +- ...assignment_request_item_request_builder.py | 6 +- .../item/resource/resource_request_builder.py | 2 +- .../resource/resource_request_builder.py | 2 +- .../role_definition_request_builder.py | 6 +- .../role_setting_request_builder.py | 2 +- .../item/subject/subject_request_builder.py | 6 +- .../update_request_request_builder.py | 2 +- ...ole_assignment_requests_request_builder.py | 8 +- .../export/export_request_builder.py | 2 +- ...ce_role_assignment_item_request_builder.py | 6 +- ...ligible_role_assignment_request_builder.py | 2 +- .../item/resource/resource_request_builder.py | 2 +- .../resource/resource_request_builder.py | 2 +- .../role_definition_request_builder.py | 6 +- .../role_setting_request_builder.py | 2 +- .../item/subject/subject_request_builder.py | 6 +- .../role_assignments_request_builder.py | 4 +- ...ce_role_definition_item_request_builder.py | 6 +- .../item/resource/resource_request_builder.py | 2 +- .../role_setting_request_builder.py | 2 +- .../role_definitions_request_builder.py | 4 +- ...nance_role_setting_item_request_builder.py | 16 +- .../item/resource/resource_request_builder.py | 2 +- .../resource/resource_request_builder.py | 2 +- .../role_definition_request_builder.py | 6 +- .../role_setting_request_builder.py | 2 +- .../role_settings_request_builder.py | 10 +- .../privileged_access_request_builder.py | 4 +- ...rivileged_approval_item_request_builder.py | 6 +- .../item/request/request_request_builder.py | 2 +- .../assignments_request_builder.py | 2 +- ...ed_role_assignment_item_request_builder.py | 2 +- .../role_info/role_info_request_builder.py | 6 +- .../self_activate_request_builder.py | 2 +- .../self_deactivate_request_builder.py | 2 +- .../settings/settings_request_builder.py | 6 +- .../summary/summary_request_builder.py | 6 +- .../my_requests_request_builder.py | 2 +- .../privileged_approval_request_builder.py | 4 +- ...ed_operation_event_item_request_builder.py | 6 +- ...ileged_operation_events_request_builder.py | 4 +- .../item/cancel/cancel_request_builder.py | 2 +- ...assignment_request_item_request_builder.py | 6 +- .../assignments_request_builder.py | 2 +- ...ed_role_assignment_item_request_builder.py | 2 +- .../role_info/role_info_request_builder.py | 6 +- .../self_activate_request_builder.py | 2 +- .../self_deactivate_request_builder.py | 2 +- .../settings/settings_request_builder.py | 6 +- .../summary/summary_request_builder.py | 6 +- .../my/my_request_builder.py | 2 +- ...ole_assignment_requests_request_builder.py | 4 +- .../make_eligible_request_builder.py | 2 +- .../make_permanent_request_builder.py | 2 +- ...ed_role_assignment_item_request_builder.py | 6 +- .../assignments_request_builder.py | 2 +- ...ed_role_assignment_item_request_builder.py | 2 +- .../role_info/role_info_request_builder.py | 6 +- .../self_activate_request_builder.py | 2 +- .../self_deactivate_request_builder.py | 2 +- .../settings/settings_request_builder.py | 6 +- .../summary/summary_request_builder.py | 6 +- .../my/my_request_builder.py | 2 +- ...ileged_role_assignments_request_builder.py | 4 +- .../assignments_request_builder.py | 2 +- ...ed_role_assignment_item_request_builder.py | 2 +- .../privileged_role_item_request_builder.py | 6 +- .../self_activate_request_builder.py | 2 +- .../self_deactivate_request_builder.py | 2 +- .../item/settings/settings_request_builder.py | 6 +- .../item/summary/summary_request_builder.py | 6 +- .../privileged_roles_request_builder.py | 4 +- .../can_sign_up_request_builder.py | 2 +- .../complete_setup_request_builder.py | 2 +- .../is_signed_up_request_builder.py | 2 +- ...eged_signup_status_item_request_builder.py | 6 +- ...rivileged_signup_status_request_builder.py | 4 +- .../sign_up/sign_up_request_builder.py | 2 +- ...ogram_control_type_item_request_builder.py | 6 +- .../program_control_types_request_builder.py | 10 +- .../controls/controls_request_builder.py | 10 +- .../program_control_item_request_builder.py | 6 +- .../item/program/program_request_builder.py | 6 +- .../program_control_item_request_builder.py | 10 +- .../program_controls_request_builder.py | 14 +- .../item/controls/controls_request_builder.py | 10 +- .../item/program/program_request_builder.py | 6 +- .../program_control_item_request_builder.py | 6 +- .../item/program_item_request_builder.py | 14 +- .../programs/programs_request_builder.py | 14 +- ...tial_sign_in_activities_request_builder.py | 10 +- ...l_sign_in_activity_item_request_builder.py | 12 +- ...ign_in_detailed_summary_request_builder.py | 10 +- ...n_detailed_summary_item_request_builder.py | 12 +- .../authentication_methods_request_builder.py | 6 +- ...gistration_details_item_request_builder.py | 12 +- ...er_registration_details_request_builder.py | 10 +- ...s_registered_by_feature_request_builder.py | 2 +- ...ith_included_user_roles_request_builder.py | 2 +- ...rs_registered_by_method_request_builder.py | 2 +- ...ith_included_user_roles_request_builder.py | 2 +- ...er_registration_details_request_builder.py | 10 +- ...gistration_details_item_request_builder.py | 12 +- .../daily_print_usage_request_builder.py | 4 +- .../item/print_usage_item_request_builder.py | 6 +- ..._print_usage_by_printer_request_builder.py | 10 +- ...t_usage_by_printer_item_request_builder.py | 12 +- ...ily_print_usage_by_user_request_builder.py | 10 +- ...rint_usage_by_user_item_request_builder.py | 12 +- ...ge_summaries_by_printer_request_builder.py | 4 +- ...t_usage_by_printer_item_request_builder.py | 6 +- ...usage_summaries_by_user_request_builder.py | 4 +- ...rint_usage_by_user_item_request_builder.py | 6 +- ...uration_device_activity_request_builder.py | 2 +- ...iguration_user_activity_request_builder.py | 2 +- ...lation_repeat_offenders_request_builder.py | 2 +- ...imulation_user_coverage_request_builder.py | 2 +- ..._training_user_coverage_request_builder.py | 2 +- ..._in_summary_with_period_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...user_detail_with_period_request_builder.py | 2 +- ...age_summary_with_period_request_builder.py | 2 +- ...user_registration_count_request_builder.py | 8 +- ...vity_counts_with_period_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...y_user_detail_with_date_request_builder.py | 2 +- ...user_detail_with_period_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...e_user_detail_with_date_request_builder.py | 2 +- ...user_detail_with_period_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...vity_counts_with_period_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...y_user_detail_with_date_request_builder.py | 2 +- ...user_detail_with_period_request_builder.py | 2 +- ...time_with_end_date_time_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...p_user_detail_with_date_request_builder.py | 2 +- ...user_detail_with_period_request_builder.py | 2 +- ...sage_detail_with_period_request_builder.py | 2 +- ...lbox_counts_with_period_request_builder.py | 2 +- ...lbox_counts_with_period_request_builder.py | 2 +- ...age_storage_with_period_request_builder.py | 2 +- ...ce365_activation_counts_request_builder.py | 2 +- ...activations_user_counts_request_builder.py | 2 +- ...activations_user_detail_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...e_user_detail_with_date_request_builder.py | 2 +- ...user_detail_with_period_request_builder.py | 2 +- ...vity_counts_with_period_request_builder.py | 2 +- ...tivity_detail_with_date_request_builder.py | 2 +- ...vity_detail_with_period_request_builder.py | 2 +- ...file_counts_with_period_request_builder.py | 2 +- ...roup_counts_with_period_request_builder.py | 2 +- ...ity_storage_with_period_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...file_counts_with_period_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...y_user_detail_with_date_request_builder.py | 2 +- ...user_detail_with_period_request_builder.py | 2 +- ...ount_counts_with_period_request_builder.py | 2 +- ...ccount_detail_with_date_request_builder.py | 2 +- ...ount_detail_with_period_request_builder.py | 2 +- ...file_counts_with_period_request_builder.py | 2 +- ...age_storage_with_period_request_builder.py | 2 +- ...time_with_end_date_time_request_builder.py | 2 +- ...led_summary_with_period_request_builder.py | 2 +- ...file_counts_with_period_request_builder.py | 2 +- ...ivity_pages_with_period_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...y_user_detail_with_date_request_builder.py | 2 +- ...user_detail_with_period_request_builder.py | 2 +- ..._usage_detail_with_date_request_builder.py | 2 +- ...sage_detail_with_period_request_builder.py | 2 +- ...file_counts_with_period_request_builder.py | 2 +- ...usage_pages_with_period_request_builder.py | 2 +- ...site_counts_with_period_request_builder.py | 2 +- ...age_storage_with_period_request_builder.py | 2 +- ...vity_counts_with_period_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...y_user_detail_with_date_request_builder.py | 2 +- ...user_detail_with_period_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...e_user_detail_with_date_request_builder.py | 2 +- ...user_detail_with_period_request_builder.py | 2 +- ...vity_counts_with_period_request_builder.py | 2 +- ...nute_counts_with_period_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...vity_counts_with_period_request_builder.py | 2 +- ...nute_counts_with_period_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...vity_counts_with_period_request_builder.py | 2 +- ...nute_counts_with_period_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...e_user_detail_with_date_request_builder.py | 2 +- ...user_detail_with_period_request_builder.py | 2 +- ...vity_counts_with_period_request_builder.py | 2 +- ...tivity_detail_with_date_request_builder.py | 2 +- ...vity_detail_with_period_request_builder.py | 2 +- ...tion_counts_with_period_request_builder.py | 2 +- ...team_counts_with_period_request_builder.py | 2 +- ...vity_counts_with_period_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...otal_counts_with_period_request_builder.py | 2 +- ...tion_counts_with_period_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...y_user_detail_with_date_request_builder.py | 2 +- ...user_detail_with_period_request_builder.py | 2 +- ...time_with_end_date_time_request_builder.py | 2 +- ...vity_counts_with_period_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...y_user_detail_with_date_request_builder.py | 2 +- ...user_detail_with_period_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...user_counts_with_period_request_builder.py | 2 +- ...e_user_detail_with_date_request_builder.py | 2 +- ...user_detail_with_period_request_builder.py | 2 +- ...vity_counts_with_period_request_builder.py | 2 +- ...tivity_detail_with_date_request_builder.py | 2 +- ...vity_detail_with_period_request_builder.py | 2 +- ...roup_counts_with_period_request_builder.py | 2 +- ..._filter_with_skip_token_request_builder.py | 2 +- ..._filter_with_skip_token_request_builder.py | 2 +- ...ollment_failure_details_request_builder.py | 2 +- ..._filter_with_skip_token_request_builder.py | 2 +- ...rollment_failure_trends_request_builder.py | 2 +- ...enrollment_top_failures_request_builder.py | 2 +- ...op_failures_with_period_request_builder.py | 2 +- ...t_usage_by_printer_item_request_builder.py | 6 +- ..._print_usage_by_printer_request_builder.py | 10 +- ...rint_usage_by_user_item_request_builder.py | 6 +- ...hly_print_usage_by_user_request_builder.py | 10 +- ...t_usage_by_printer_item_request_builder.py | 6 +- ...ge_summaries_by_printer_request_builder.py | 4 +- ...rint_usage_by_user_item_request_builder.py | 6 +- ...usage_summaries_by_user_request_builder.py | 4 +- .../reports/reports_request_builder.py | 14 +- ...lation_repeat_offenders_request_builder.py | 2 +- ...imulation_user_coverage_request_builder.py | 2 +- ..._training_user_coverage_request_builder.py | 2 +- .../security/security_request_builder.py | 12 +- ...gation_interval_in_minutes_get_response.py | 57 ++++ ...ion_interval_in_minutes_request_builder.py | 142 +++++++++ ...gation_interval_in_minutes_get_response.py | 57 ++++ ...ion_interval_in_minutes_request_builder.py | 142 +++++++++ ...gation_interval_in_minutes_get_response.py | 57 ++++ ...ion_interval_in_minutes_request_builder.py | 142 +++++++++ ...gation_interval_in_minutes_get_response.py | 57 ++++ ...ion_interval_in_minutes_request_builder.py | 142 +++++++++ ...gation_interval_in_minutes_get_response.py | 57 ++++ ...ion_interval_in_minutes_request_builder.py | 142 +++++++++ .../service_activity_request_builder.py | 296 ++++++++++++++++++ ...l_sign_in_activity_item_request_builder.py | 12 +- ...ipal_sign_in_activities_request_builder.py | 10 +- ...zure_a_d_authentication_request_builder.py | 12 +- .../reports/sla/sla_request_builder.py | 12 +- ...tial_usage_details_item_request_builder.py | 6 +- ...redential_usage_details_request_builder.py | 10 +- .../active_users_request_builder.py | 9 +- ...ctive_users_metric_item_request_builder.py | 8 +- .../active_users_breakdown_request_builder.py | 9 +- ...s_breakdown_metric_item_request_builder.py | 8 +- .../authentications_request_builder.py | 9 +- ...entications_metric_item_request_builder.py | 8 +- .../daily/daily_request_builder.py | 12 +- .../inactive_users_request_builder.py | 2 +- ...ctive_users_metric_item_request_builder.py | 2 +- ...ve_users_by_application_request_builder.py | 2 +- ...application_metric_item_request_builder.py | 2 +- ..._completion_metric_item_request_builder.py | 8 +- .../mfa_completions_request_builder.py | 9 +- ...ser_sign_up_metric_item_request_builder.py | 8 +- .../sign_ups/sign_ups_request_builder.py | 9 +- .../insight_summary_item_request_builder.py | 8 +- .../daily/summary/summary_request_builder.py | 8 +- .../user_count_metric_item_request_builder.py | 8 +- .../user_count/user_count_request_builder.py | 9 +- .../active_users_request_builder.py | 9 +- ...ctive_users_metric_item_request_builder.py | 8 +- .../active_users_breakdown_request_builder.py | 9 +- ...s_breakdown_metric_item_request_builder.py | 8 +- .../authentications_request_builder.py | 9 +- ...entications_metric_item_request_builder.py | 8 +- .../inactive_users_request_builder.py | 2 +- ...ctive_users_metric_item_request_builder.py | 2 +- ...ve_users_by_application_request_builder.py | 2 +- ...application_metric_item_request_builder.py | 2 +- ..._completion_metric_item_request_builder.py | 8 +- .../mfa_completions_request_builder.py | 9 +- .../monthly/monthly_request_builder.py | 12 +- ...er_requests_metric_item_request_builder.py | 8 +- .../requests/requests_request_builder.py | 9 +- ...ser_sign_up_metric_item_request_builder.py | 8 +- .../sign_ups/sign_ups_request_builder.py | 9 +- .../insight_summary_item_request_builder.py | 8 +- .../summary/summary_request_builder.py | 8 +- .../user_insights_request_builder.py | 12 +- .../risk_detection_item_request_builder.py | 6 +- .../risk_detections_request_builder.py | 12 +- .../confirm_compromised_request_builder.py | 6 +- .../dismiss/dismiss_request_builder.py | 6 +- .../item/history/history_request_builder.py | 10 +- ..._user_history_item_item_request_builder.py | 12 +- .../item/risky_user_item_request_builder.py | 12 +- .../risky_users_request_builder.py | 10 +- .../cloud_p_c/cloud_p_c_request_builder.py | 6 +- ...import_resource_actions_request_builder.py | 2 +- .../authentication_context_request_builder.py | 2 +- .../resource_scope_request_builder.py | 6 +- ...ac_resource_action_item_request_builder.py | 12 +- .../resource_actions_request_builder.py | 10 +- ...resource_namespace_item_request_builder.py | 6 +- .../resource_namespaces_request_builder.py | 4 +- .../app_scopes/app_scopes_request_builder.py | 4 +- .../item/app_scope_item_request_builder.py | 6 +- .../directory_scopes_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 2 +- .../principals/principals_request_builder.py | 2 +- .../role_definition_request_builder.py | 2 +- ...ssignment_multiple_item_request_builder.py | 20 +- .../role_assignments_request_builder.py | 16 +- ...e_id_directory_scope_id_request_builder.py | 2 +- ...herits_permissions_from_request_builder.py | 4 +- ...e_id_directory_scope_id_request_builder.py | 2 +- ...ed_role_definition_item_request_builder.py | 6 +- ...ed_role_definition_item_request_builder.py | 20 +- .../role_definitions_request_builder.py | 14 +- .../device_management_request_builder.py | 6 +- ...import_resource_actions_request_builder.py | 2 +- .../authentication_context_request_builder.py | 2 +- .../resource_scope_request_builder.py | 6 +- ...ac_resource_action_item_request_builder.py | 12 +- .../resource_actions_request_builder.py | 10 +- ...resource_namespace_item_request_builder.py | 6 +- .../resource_namespaces_request_builder.py | 4 +- .../app_scopes/app_scopes_request_builder.py | 4 +- .../item/app_scope_item_request_builder.py | 6 +- .../directory_scopes_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 2 +- .../principals/principals_request_builder.py | 2 +- .../role_definition_request_builder.py | 2 +- ...ssignment_multiple_item_request_builder.py | 20 +- .../role_assignments_request_builder.py | 16 +- ...e_id_directory_scope_id_request_builder.py | 2 +- ...herits_permissions_from_request_builder.py | 4 +- ...e_id_directory_scope_id_request_builder.py | 2 +- ...ed_role_definition_item_request_builder.py | 6 +- ...ed_role_definition_item_request_builder.py | 20 +- .../role_definitions_request_builder.py | 14 +- .../directory/directory_request_builder.py | 6 +- ...import_resource_actions_request_builder.py | 2 +- .../authentication_context_request_builder.py | 2 +- .../resource_scope_request_builder.py | 6 +- ...ac_resource_action_item_request_builder.py | 12 +- .../resource_actions_request_builder.py | 10 +- ...resource_namespace_item_request_builder.py | 12 +- .../resource_namespaces_request_builder.py | 10 +- ...by_current_user_with_on_request_builder.py | 2 +- .../item/approval_item_request_builder.py | 6 +- .../approval_step_item_request_builder.py | 16 +- .../item/steps/steps_request_builder.py | 10 +- ...le_assignment_approvals_request_builder.py | 4 +- ...by_current_user_with_on_request_builder.py | 2 +- .../activated_using_request_builder.py | 2 +- .../app_scope/app_scope_request_builder.py | 2 +- .../directory_scope_request_builder.py | 2 +- .../principal/principal_request_builder.py | 2 +- .../role_definition_request_builder.py | 2 +- ..._schedule_instance_item_request_builder.py | 12 +- ...ment_schedule_instances_request_builder.py | 10 +- ...by_current_user_with_on_request_builder.py | 2 +- .../activated_using_request_builder.py | 2 +- .../app_scope/app_scope_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../directory_scope_request_builder.py | 2 +- .../principal/principal_request_builder.py | 2 +- .../role_definition_request_builder.py | 2 +- .../target_schedule_request_builder.py | 2 +- ...t_schedule_request_item_request_builder.py | 12 +- ...nment_schedule_requests_request_builder.py | 14 +- ...by_current_user_with_on_request_builder.py | 2 +- .../activated_using_request_builder.py | 2 +- .../app_scope/app_scope_request_builder.py | 2 +- .../directory_scope_request_builder.py | 2 +- .../principal/principal_request_builder.py | 2 +- .../role_definition_request_builder.py | 2 +- ...ssignment_schedule_item_request_builder.py | 12 +- ...le_assignment_schedules_request_builder.py | 10 +- .../app_scope/app_scope_request_builder.py | 6 +- .../directory_scope_request_builder.py | 2 +- .../principal/principal_request_builder.py | 2 +- .../role_definition_request_builder.py | 2 +- ...ed_role_assignment_item_request_builder.py | 16 +- .../role_assignments_request_builder.py | 14 +- ...e_id_directory_scope_id_request_builder.py | 2 +- ...herits_permissions_from_request_builder.py | 4 +- ...e_id_directory_scope_id_request_builder.py | 2 +- ...ed_role_definition_item_request_builder.py | 6 +- ...ed_role_definition_item_request_builder.py | 20 +- .../role_definitions_request_builder.py | 14 +- ...by_current_user_with_on_request_builder.py | 2 +- .../app_scope/app_scope_request_builder.py | 2 +- .../directory_scope_request_builder.py | 2 +- .../principal/principal_request_builder.py | 2 +- .../role_definition_request_builder.py | 2 +- ..._schedule_instance_item_request_builder.py | 12 +- ...lity_schedule_instances_request_builder.py | 10 +- ...by_current_user_with_on_request_builder.py | 2 +- .../app_scope/app_scope_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../directory_scope_request_builder.py | 2 +- .../principal/principal_request_builder.py | 2 +- .../role_definition_request_builder.py | 2 +- .../target_schedule_request_builder.py | 2 +- ...y_schedule_request_item_request_builder.py | 12 +- ...ility_schedule_requests_request_builder.py | 14 +- ...by_current_user_with_on_request_builder.py | 2 +- .../app_scope/app_scope_request_builder.py | 2 +- .../directory_scope_request_builder.py | 2 +- .../principal/principal_request_builder.py | 2 +- .../role_definition_request_builder.py | 2 +- ...igibility_schedule_item_request_builder.py | 12 +- ...e_eligibility_schedules_request_builder.py | 10 +- ...n_id_role_definition_id_request_builder.py | 2 +- ...n_id_role_definition_id_request_builder.py | 2 +- .../app_scope/app_scope_request_builder.py | 6 +- .../directory_scope_request_builder.py | 2 +- .../principal/principal_request_builder.py | 2 +- .../role_definition_request_builder.py | 2 +- ...ed_role_assignment_item_request_builder.py | 6 +- ...sitive_role_assignments_request_builder.py | 4 +- .../enterprise_apps_request_builder.py | 4 +- .../rbac_application_item_request_builder.py | 6 +- ...import_resource_actions_request_builder.py | 2 +- .../authentication_context_request_builder.py | 2 +- .../resource_scope_request_builder.py | 6 +- ...ac_resource_action_item_request_builder.py | 12 +- .../resource_actions_request_builder.py | 10 +- ...resource_namespace_item_request_builder.py | 12 +- .../resource_namespaces_request_builder.py | 10 +- ...by_current_user_with_on_request_builder.py | 2 +- .../item/approval_item_request_builder.py | 6 +- .../approval_step_item_request_builder.py | 16 +- .../item/steps/steps_request_builder.py | 10 +- ...le_assignment_approvals_request_builder.py | 4 +- ...by_current_user_with_on_request_builder.py | 2 +- .../activated_using_request_builder.py | 2 +- .../app_scope/app_scope_request_builder.py | 2 +- .../directory_scope_request_builder.py | 2 +- .../principal/principal_request_builder.py | 2 +- .../role_definition_request_builder.py | 2 +- ..._schedule_instance_item_request_builder.py | 12 +- ...ment_schedule_instances_request_builder.py | 10 +- ...by_current_user_with_on_request_builder.py | 2 +- .../activated_using_request_builder.py | 2 +- .../app_scope/app_scope_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../directory_scope_request_builder.py | 2 +- .../principal/principal_request_builder.py | 2 +- .../role_definition_request_builder.py | 2 +- .../target_schedule_request_builder.py | 2 +- ...t_schedule_request_item_request_builder.py | 12 +- ...nment_schedule_requests_request_builder.py | 14 +- ...by_current_user_with_on_request_builder.py | 2 +- .../activated_using_request_builder.py | 2 +- .../app_scope/app_scope_request_builder.py | 2 +- .../directory_scope_request_builder.py | 2 +- .../principal/principal_request_builder.py | 2 +- .../role_definition_request_builder.py | 2 +- ...ssignment_schedule_item_request_builder.py | 12 +- ...le_assignment_schedules_request_builder.py | 10 +- .../app_scope/app_scope_request_builder.py | 6 +- .../directory_scope_request_builder.py | 2 +- .../principal/principal_request_builder.py | 2 +- .../role_definition_request_builder.py | 2 +- ...ed_role_assignment_item_request_builder.py | 16 +- .../role_assignments_request_builder.py | 14 +- ...e_id_directory_scope_id_request_builder.py | 2 +- ...herits_permissions_from_request_builder.py | 4 +- ...e_id_directory_scope_id_request_builder.py | 2 +- ...ed_role_definition_item_request_builder.py | 6 +- ...ed_role_definition_item_request_builder.py | 20 +- .../role_definitions_request_builder.py | 14 +- ...by_current_user_with_on_request_builder.py | 2 +- .../app_scope/app_scope_request_builder.py | 2 +- .../directory_scope_request_builder.py | 2 +- .../principal/principal_request_builder.py | 2 +- .../role_definition_request_builder.py | 2 +- ..._schedule_instance_item_request_builder.py | 12 +- ...lity_schedule_instances_request_builder.py | 10 +- ...by_current_user_with_on_request_builder.py | 2 +- .../app_scope/app_scope_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../directory_scope_request_builder.py | 2 +- .../principal/principal_request_builder.py | 2 +- .../role_definition_request_builder.py | 2 +- .../target_schedule_request_builder.py | 2 +- ...y_schedule_request_item_request_builder.py | 12 +- ...ility_schedule_requests_request_builder.py | 14 +- ...by_current_user_with_on_request_builder.py | 2 +- .../app_scope/app_scope_request_builder.py | 2 +- .../directory_scope_request_builder.py | 2 +- .../principal/principal_request_builder.py | 2 +- .../role_definition_request_builder.py | 2 +- ...igibility_schedule_item_request_builder.py | 12 +- ...e_eligibility_schedules_request_builder.py | 10 +- ...n_id_role_definition_id_request_builder.py | 2 +- ...n_id_role_definition_id_request_builder.py | 2 +- .../app_scope/app_scope_request_builder.py | 6 +- .../directory_scope_request_builder.py | 2 +- .../principal/principal_request_builder.py | 2 +- .../role_definition_request_builder.py | 2 +- ...ed_role_assignment_item_request_builder.py | 6 +- ...sitive_role_assignments_request_builder.py | 4 +- .../entitlement_management_request_builder.py | 6 +- ...import_resource_actions_request_builder.py | 2 +- .../authentication_context_request_builder.py | 2 +- .../resource_scope_request_builder.py | 6 +- ...ac_resource_action_item_request_builder.py | 12 +- .../resource_actions_request_builder.py | 10 +- ...resource_namespace_item_request_builder.py | 12 +- .../resource_namespaces_request_builder.py | 10 +- ...by_current_user_with_on_request_builder.py | 2 +- .../item/approval_item_request_builder.py | 6 +- .../approval_step_item_request_builder.py | 16 +- .../item/steps/steps_request_builder.py | 10 +- ...le_assignment_approvals_request_builder.py | 4 +- ...by_current_user_with_on_request_builder.py | 2 +- .../activated_using_request_builder.py | 2 +- .../app_scope/app_scope_request_builder.py | 2 +- .../directory_scope_request_builder.py | 2 +- .../principal/principal_request_builder.py | 2 +- .../role_definition_request_builder.py | 2 +- ..._schedule_instance_item_request_builder.py | 12 +- ...ment_schedule_instances_request_builder.py | 10 +- ...by_current_user_with_on_request_builder.py | 2 +- .../activated_using_request_builder.py | 2 +- .../app_scope/app_scope_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../directory_scope_request_builder.py | 2 +- .../principal/principal_request_builder.py | 2 +- .../role_definition_request_builder.py | 2 +- .../target_schedule_request_builder.py | 2 +- ...t_schedule_request_item_request_builder.py | 12 +- ...nment_schedule_requests_request_builder.py | 14 +- ...by_current_user_with_on_request_builder.py | 2 +- .../activated_using_request_builder.py | 2 +- .../app_scope/app_scope_request_builder.py | 2 +- .../directory_scope_request_builder.py | 2 +- .../principal/principal_request_builder.py | 2 +- .../role_definition_request_builder.py | 2 +- ...ssignment_schedule_item_request_builder.py | 12 +- ...le_assignment_schedules_request_builder.py | 10 +- .../app_scope/app_scope_request_builder.py | 6 +- .../directory_scope_request_builder.py | 2 +- .../principal/principal_request_builder.py | 2 +- .../role_definition_request_builder.py | 2 +- ...ed_role_assignment_item_request_builder.py | 16 +- .../role_assignments_request_builder.py | 14 +- ...e_id_directory_scope_id_request_builder.py | 2 +- ...herits_permissions_from_request_builder.py | 4 +- ...e_id_directory_scope_id_request_builder.py | 2 +- ...ed_role_definition_item_request_builder.py | 6 +- ...ed_role_definition_item_request_builder.py | 20 +- .../role_definitions_request_builder.py | 14 +- ...by_current_user_with_on_request_builder.py | 2 +- .../app_scope/app_scope_request_builder.py | 2 +- .../directory_scope_request_builder.py | 2 +- .../principal/principal_request_builder.py | 2 +- .../role_definition_request_builder.py | 2 +- ..._schedule_instance_item_request_builder.py | 12 +- ...lity_schedule_instances_request_builder.py | 10 +- ...by_current_user_with_on_request_builder.py | 2 +- .../app_scope/app_scope_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../directory_scope_request_builder.py | 2 +- .../principal/principal_request_builder.py | 2 +- .../role_definition_request_builder.py | 2 +- .../target_schedule_request_builder.py | 2 +- ...y_schedule_request_item_request_builder.py | 12 +- ...ility_schedule_requests_request_builder.py | 14 +- ...by_current_user_with_on_request_builder.py | 2 +- .../app_scope/app_scope_request_builder.py | 2 +- .../directory_scope_request_builder.py | 2 +- .../principal/principal_request_builder.py | 2 +- .../role_definition_request_builder.py | 2 +- ...igibility_schedule_item_request_builder.py | 12 +- ...e_eligibility_schedules_request_builder.py | 10 +- ...n_id_role_definition_id_request_builder.py | 2 +- ...n_id_role_definition_id_request_builder.py | 2 +- .../app_scope/app_scope_request_builder.py | 6 +- .../directory_scope_request_builder.py | 2 +- .../principal/principal_request_builder.py | 2 +- .../role_definition_request_builder.py | 2 +- ...ed_role_assignment_item_request_builder.py | 6 +- ...sitive_role_assignments_request_builder.py | 4 +- .../custom_app_scopes_request_builder.py | 14 +- .../custom_app_scope_item_request_builder.py | 20 +- .../exchange/exchange_request_builder.py | 6 +- ...import_resource_actions_request_builder.py | 2 +- .../authentication_context_request_builder.py | 2 +- .../resource_scope_request_builder.py | 6 +- ...ac_resource_action_item_request_builder.py | 12 +- .../resource_actions_request_builder.py | 10 +- ...resource_namespace_item_request_builder.py | 6 +- .../resource_namespaces_request_builder.py | 4 +- .../app_scope/app_scope_request_builder.py | 6 +- .../directory_scope_request_builder.py | 2 +- .../principal/principal_request_builder.py | 2 +- .../role_definition_request_builder.py | 2 +- ...ed_role_assignment_item_request_builder.py | 16 +- .../role_assignments_request_builder.py | 14 +- ...e_id_directory_scope_id_request_builder.py | 2 +- ...herits_permissions_from_request_builder.py | 4 +- ...e_id_directory_scope_id_request_builder.py | 2 +- ...ed_role_definition_item_request_builder.py | 6 +- ...ed_role_definition_item_request_builder.py | 12 +- .../role_definitions_request_builder.py | 10 +- .../app_scope/app_scope_request_builder.py | 6 +- .../directory_scope_request_builder.py | 2 +- .../principal/principal_request_builder.py | 2 +- .../role_definition_request_builder.py | 2 +- ...ed_role_assignment_item_request_builder.py | 6 +- ...sitive_role_assignments_request_builder.py | 4 +- .../role_management_request_builder.py | 4 +- .../schema_extension_item_request_builder.py | 20 +- .../schema_extensions_request_builder.py | 14 +- ...ed_role_membership_item_request_builder.py | 6 +- ...scoped_role_memberships_request_builder.py | 4 +- .../acronyms/acronyms_request_builder.py | 14 +- .../item/acronym_item_request_builder.py | 20 +- .../bookmarks/bookmarks_request_builder.py | 14 +- .../item/bookmark_item_request_builder.py | 20 +- .../qnas/item/qna_item_request_builder.py | 20 +- .../search/qnas/qnas_request_builder.py | 14 +- .../search/query/query_request_builder.py | 6 +- .../search/search_request_builder.py | 4 +- .../security/alerts/alerts_request_builder.py | 10 +- .../alerts/item/alert_item_request_builder.py | 14 +- .../update_alerts_request_builder.py | 6 +- .../alerts_v2/alerts_v2_request_builder.py | 10 +- .../item/alert_item_request_builder.py | 16 +- .../item/comments/comments_request_builder.py | 2 +- .../attack_simulation_request_builder.py | 6 +- .../end_user_notifications_request_builder.py | 10 +- .../item/details/details_request_builder.py | 4 +- ...otification_detail_item_request_builder.py | 6 +- ..._user_notification_item_request_builder.py | 6 +- .../item/details/details_request_builder.py | 4 +- ...anding_page_detail_item_request_builder.py | 6 +- .../item/landing_page_item_request_builder.py | 6 +- .../landing_pages_request_builder.py | 10 +- .../item/login_page_item_request_builder.py | 6 +- .../login_pages_request_builder.py | 10 +- ...mulation_operation_item_request_builder.py | 12 +- .../operations/operations_request_builder.py | 10 +- .../item/payload_item_request_builder.py | 6 +- .../payloads/payloads_request_builder.py | 10 +- ...ion_automation_run_item_request_builder.py | 6 +- .../item/runs/runs_request_builder.py | 10 +- ...ulation_automation_item_request_builder.py | 12 +- .../simulation_automations_request_builder.py | 10 +- .../landing_page_request_builder.py | 2 +- .../login_page/login_page_request_builder.py | 2 +- .../item/payload/payload_request_builder.py | 2 +- .../item/simulation_item_request_builder.py | 20 +- .../simulations_request_builder.py | 14 +- ...ng_language_detail_item_request_builder.py | 6 +- .../language_details_request_builder.py | 4 +- .../item/training_item_request_builder.py | 6 +- .../trainings/trainings_request_builder.py | 10 +- .../audit_log/audit_log_request_builder.py | 225 +++++++++++++ .../queries/count/count_request_builder.py | 113 +++++++ .../audit_log_query_item_request_builder.py | 225 +++++++++++++ .../records/count/count_request_builder.py | 113 +++++++ .../audit_log_record_item_request_builder.py | 215 +++++++++++++ .../item/records/records_request_builder.py | 226 +++++++++++++ .../queries/queries_request_builder.py | 226 +++++++++++++ .../security/cases/cases_request_builder.py | 6 +- .../ediscovery_cases_request_builder.py | 14 +- .../custodians/custodians_request_builder.py | 14 +- ...iscovery_custodian_item_request_builder.py | 12 +- .../last_index_operation_request_builder.py | 8 +- ...graph_security_activate_request_builder.py | 6 +- ...aph_security_apply_hold_request_builder.py | 6 +- ..._graph_security_release_request_builder.py | 6 +- ...ph_security_remove_hold_request_builder.py | 6 +- ...h_security_update_index_request_builder.py | 6 +- .../item/site/site_request_builder.py | 2 +- .../item/site_source_item_request_builder.py | 6 +- .../site_sources_request_builder.py | 14 +- .../item/group/group_request_builder.py | 2 +- ...ice_provisioning_errors_request_builder.py | 8 +- ...ified_group_source_item_request_builder.py | 6 +- .../unified_group_sources_request_builder.py | 14 +- .../item/user_source_item_request_builder.py | 6 +- .../user_sources_request_builder.py | 14 +- ...aph_security_apply_hold_request_builder.py | 2 +- ...ph_security_remove_hold_request_builder.py | 2 +- ...h_security_update_index_request_builder.py | 6 +- .../ediscovery_case_item_request_builder.py | 20 +- ...covery_hold_policy_item_request_builder.py | 6 +- .../item/site/site_request_builder.py | 2 +- .../item/site_source_item_request_builder.py | 6 +- .../site_sources_request_builder.py | 8 +- .../item/user_source_item_request_builder.py | 6 +- .../user_sources_request_builder.py | 8 +- .../legal_holds_request_builder.py | 14 +- ...ft_graph_security_close_request_builder.py | 6 +- ...t_graph_security_reopen_request_builder.py | 6 +- .../data_source_request_builder.py | 6 +- ...todial_data_source_item_request_builder.py | 6 +- .../last_index_operation_request_builder.py | 2 +- ...aph_security_apply_hold_request_builder.py | 6 +- ..._graph_security_release_request_builder.py | 6 +- ...ph_security_remove_hold_request_builder.py | 6 +- ...h_security_update_index_request_builder.py | 6 +- ...aph_security_apply_hold_request_builder.py | 2 +- ...ph_security_remove_hold_request_builder.py | 2 +- ...h_security_update_index_request_builder.py | 2 +- ...ncustodial_data_sources_request_builder.py | 8 +- .../case_operation_item_request_builder.py | 12 +- .../operations/operations_request_builder.py | 10 +- ...scovery_review_set_item_request_builder.py | 12 +- .../item/files/files_request_builder.py | 10 +- .../item/content/content_request_builder.py | 4 +- .../custodian/custodian_request_builder.py | 2 +- .../ediscovery_file_item_request_builder.py | 12 +- .../extracted_text_content_request_builder.py | 4 +- ...scovery_review_tag_item_request_builder.py | 2 +- .../files/item/tags/tags_request_builder.py | 2 +- ...urity_add_to_review_set_request_builder.py | 6 +- ...t_graph_security_export_request_builder.py | 6 +- ...y_review_set_query_item_request_builder.py | 20 +- ...aph_security_apply_tags_request_builder.py | 6 +- ...t_graph_security_export_request_builder.py | 6 +- ...soft_graph_security_run_request_builder.py | 2 +- .../item/queries/queries_request_builder.py | 14 +- .../review_sets_request_builder.py | 14 +- ...to_review_set_operation_request_builder.py | 2 +- .../additional_sources_request_builder.py | 14 +- .../item/data_source_item_request_builder.py | 6 +- .../custodian_sources_request_builder.py | 8 +- .../item/data_source_item_request_builder.py | 4 +- .../ediscovery_search_item_request_builder.py | 20 +- ...te_statistics_operation_request_builder.py | 8 +- ...ity_estimate_statistics_request_builder.py | 6 +- ..._security_export_report_request_builder.py | 2 +- ..._security_export_result_request_builder.py | 2 +- ...aph_security_purge_data_request_builder.py | 6 +- ...todial_data_source_item_request_builder.py | 4 +- .../noncustodial_sources_request_builder.py | 2 +- .../item/searches/searches_request_builder.py | 14 +- ...curity_reset_to_default_request_builder.py | 6 +- .../item/settings/settings_request_builder.py | 16 +- .../child_tags/child_tags_request_builder.py | 2 +- ...scovery_review_tag_item_request_builder.py | 2 +- ...scovery_review_tag_item_request_builder.py | 20 +- .../item/parent/parent_request_builder.py | 2 +- ...h_security_as_hierarchy_request_builder.py | 2 +- .../item/tags/tags_request_builder.py | 14 +- ...d_app_security_profiles_request_builder.py | 4 +- ...p_security_profile_item_request_builder.py | 6 +- ...omain_security_profiles_request_builder.py | 4 +- ...n_security_profile_item_request_builder.py | 6 +- .../file_security_profiles_request_builder.py | 4 +- ...e_security_profile_item_request_builder.py | 6 +- .../host_security_profiles_request_builder.py | 4 +- ...t_security_profile_item_request_builder.py | 6 +- .../incidents/incidents_request_builder.py | 10 +- .../item/alerts/alerts_request_builder.py | 2 +- .../alerts/item/alert_item_request_builder.py | 2 +- .../item/comments/comments_request_builder.py | 2 +- .../item/incident_item_request_builder.py | 16 +- .../information_protection_request_builder.py | 6 +- .../label_policy_settings_request_builder.py | 12 +- .../item/parent/parent_request_builder.py | 6 +- .../sensitivity_label_item_request_builder.py | 6 +- ...ty_evaluate_application_request_builder.py | 6 +- ..._classification_results_request_builder.py | 6 +- ...curity_evaluate_removal_request_builder.py | 6 +- ...y_extract_content_label_request_builder.py | 6 +- .../sensitivity_labels_request_builder.py | 10 +- .../ip_security_profiles_request_builder.py | 4 +- ...p_security_profile_item_request_builder.py | 6 +- .../authorities_request_builder.py | 14 +- ...authority_template_item_request_builder.py | 16 +- .../categories/categories_request_builder.py | 14 +- .../category_template_item_request_builder.py | 16 +- ..._category_template_item_request_builder.py | 6 +- .../sub_categories_request_builder.py | 4 +- .../citations/citations_request_builder.py | 14 +- .../citation_template_item_request_builder.py | 16 +- .../departments_request_builder.py | 14 +- ...epartment_template_item_request_builder.py | 16 +- .../file_plan_references_request_builder.py | 14 +- ...reference_template_item_request_builder.py | 16 +- .../security/labels/labels_request_builder.py | 6 +- .../authority_template_request_builder.py | 2 +- .../category_template_request_builder.py | 2 +- .../citation_template_request_builder.py | 2 +- .../department_template_request_builder.py | 2 +- .../descriptors_request_builder.py | 6 +- ...plan_reference_template_request_builder.py | 2 +- ...sposition_review_stages_request_builder.py | 4 +- ...ition_review_stage_item_request_builder.py | 6 +- .../retention_event_type_request_builder.py | 2 +- .../retention_label_item_request_builder.py | 14 +- .../retention_labels_request_builder.py | 14 +- ...urity_run_hunting_query_request_builder.py | 2 +- ...der_tenant_setting_item_request_builder.py | 6 +- ...rovider_tenant_settings_request_builder.py | 4 +- ...re_control_profile_item_request_builder.py | 10 +- ..._score_control_profiles_request_builder.py | 10 +- .../item/secure_score_item_request_builder.py | 6 +- .../secure_scores_request_builder.py | 10 +- .../cancel_security_action_request_builder.py | 6 +- .../security_action_item_request_builder.py | 12 +- .../security_actions_request_builder.py | 14 +- .../security/security_request_builder.py | 14 +- .../approvers/approvers_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../item/user_item_request_builder.py | 2 +- .../collaborators_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../item/user_item_request_builder.py | 2 +- .../get_final_attachment_request_builder.py | 2 +- .../get_final_report_request_builder.py | 2 +- .../authored_note_item_request_builder.py | 6 +- .../item/notes/notes_request_builder.py | 14 +- ...ect_rights_request_item_request_builder.py | 6 +- .../item/team/team_request_builder.py | 2 +- ...subject_rights_requests_request_builder.py | 4 +- .../article_indicators_request_builder.py | 10 +- .../article_indicator_item_request_builder.py | 12 +- .../item/artifact/artifact_request_builder.py | 2 +- .../articles/articles_request_builder.py | 10 +- .../item/article_item_request_builder.py | 12 +- .../indicators/indicators_request_builder.py | 8 +- .../article_indicator_item_request_builder.py | 2 +- .../host_components_request_builder.py | 10 +- .../item/host/host_request_builder.py | 2 +- .../host_component_item_request_builder.py | 12 +- .../host_cookies_request_builder.py | 10 +- .../item/host/host_request_builder.py | 2 +- .../item/host_cookie_item_request_builder.py | 12 +- .../host_pairs/host_pairs_request_builder.py | 10 +- .../child_host/child_host_request_builder.py | 2 +- .../item/host_pair_item_request_builder.py | 12 +- .../parent_host_request_builder.py | 2 +- .../host_ports/host_ports_request_builder.py | 4 +- .../item/host/host_request_builder.py | 2 +- .../item/host_port_item_request_builder.py | 6 +- ..._recent_ssl_certificate_request_builder.py | 2 +- .../host_ssl_certificates_request_builder.py | 10 +- .../item/host/host_request_builder.py | 2 +- ...st_ssl_certificate_item_request_builder.py | 12 +- .../ssl_certificate_request_builder.py | 2 +- .../host_trackers_request_builder.py | 10 +- .../item/host/host_request_builder.py | 2 +- .../item/host_tracker_item_request_builder.py | 12 +- .../hosts/hosts_request_builder.py | 10 +- .../child_host_pairs_request_builder.py | 8 +- .../item/host_pair_item_request_builder.py | 2 +- .../components/components_request_builder.py | 8 +- .../host_component_item_request_builder.py | 2 +- .../item/cookies/cookies_request_builder.py | 8 +- .../item/host_cookie_item_request_builder.py | 2 +- .../hosts/item/host_item_request_builder.py | 12 +- .../host_pairs/host_pairs_request_builder.py | 8 +- .../item/host_pair_item_request_builder.py | 2 +- .../item/host_pair_item_request_builder.py | 2 +- .../parent_host_pairs_request_builder.py | 8 +- ...passive_dns_record_item_request_builder.py | 2 +- .../passive_dns_request_builder.py | 8 +- ...passive_dns_record_item_request_builder.py | 2 +- .../passive_dns_reverse_request_builder.py | 8 +- .../item/host_port_item_request_builder.py | 2 +- .../hosts/item/ports/ports_request_builder.py | 2 +- .../reputation/reputation_request_builder.py | 12 +- ...st_ssl_certificate_item_request_builder.py | 2 +- .../ssl_certificates_request_builder.py | 8 +- .../item/subdomain_item_request_builder.py | 2 +- .../subdomains/subdomains_request_builder.py | 8 +- .../item/host_tracker_item_request_builder.py | 2 +- .../item/trackers/trackers_request_builder.py | 8 +- .../hosts/item/whois/whois_request_builder.py | 8 +- .../intel_profiles_request_builder.py | 10 +- .../indicators/indicators_request_builder.py | 8 +- ..._profile_indicator_item_request_builder.py | 2 +- ...telligence_profile_item_request_builder.py | 12 +- ...ence_profile_indicators_request_builder.py | 10 +- .../item/artifact/artifact_request_builder.py | 2 +- ..._profile_indicator_item_request_builder.py | 12 +- .../item/artifact/artifact_request_builder.py | 2 +- .../parent_host_request_builder.py | 2 +- ...passive_dns_record_item_request_builder.py | 12 +- .../passive_dns_records_request_builder.py | 10 +- .../item/host_item_request_builder.py | 2 +- .../related_hosts_request_builder.py | 2 +- .../ssl_certificate_item_request_builder.py | 12 +- .../ssl_certificates_request_builder.py | 10 +- .../item/host/host_request_builder.py | 2 +- .../item/subdomain_item_request_builder.py | 12 +- .../subdomains/subdomains_request_builder.py | 10 +- .../threat_intelligence_request_builder.py | 6 +- .../item/articles/articles_request_builder.py | 2 +- .../item/article_item_request_builder.py | 2 +- .../components/components_request_builder.py | 10 +- ...rability_component_item_request_builder.py | 12 +- .../vulnerability_item_request_builder.py | 12 +- .../vulnerabilities_request_builder.py | 10 +- .../item/host/host_request_builder.py | 2 +- ...ois_history_record_item_request_builder.py | 6 +- .../whois_history_records_request_builder.py | 4 +- .../item/history/history_request_builder.py | 8 +- ...ois_history_record_item_request_builder.py | 2 +- .../item/host/host_request_builder.py | 2 +- .../item/whois_record_item_request_builder.py | 12 +- .../whois_records_request_builder.py | 10 +- ...eat_submission_policies_request_builder.py | 10 +- ..._submission_policy_item_request_builder.py | 12 +- .../email_threats_request_builder.py | 14 +- ..._threat_submission_item_request_builder.py | 12 +- .../file_threats_request_builder.py | 10 +- ..._threat_submission_item_request_builder.py | 12 +- .../threat_submission_request_builder.py | 6 +- ..._threat_submission_item_request_builder.py | 12 +- .../url_threats_request_builder.py | 14 +- .../delete_ti_indicators_request_builder.py | 6 +- ...dicators_by_external_id_request_builder.py | 6 +- .../item/ti_indicator_item_request_builder.py | 20 +- .../submit_ti_indicators_request_builder.py | 6 +- .../ti_indicators_request_builder.py | 14 +- .../update_ti_indicators_request_builder.py | 6 +- ...tention_event_type_item_request_builder.py | 12 +- .../retention_event_types_request_builder.py | 14 +- .../trigger_types_request_builder.py | 6 +- .../retention_event_item_request_builder.py | 16 +- .../retention_event_type_request_builder.py | 2 +- .../retention_events_request_builder.py | 14 +- .../triggers/triggers_request_builder.py | 6 +- ...r_security_profile_item_request_builder.py | 6 +- .../user_security_profiles_request_builder.py | 4 +- .../delta/delta_request_builder.py | 2 +- .../get_by_ids/get_by_ids_request_builder.py | 6 +- .../get_user_owned_objects_request_builder.py | 6 +- ...ken_signing_certificate_request_builder.py | 6 +- ...app_management_policies_request_builder.py | 2 +- ..._management_policy_item_request_builder.py | 8 +- .../app_role_assigned_to_request_builder.py | 14 +- ...pp_role_assignment_item_request_builder.py | 10 +- .../app_role_assignments_request_builder.py | 8 +- ...pp_role_assignment_item_request_builder.py | 10 +- .../check_member_groups_request_builder.py | 6 +- .../check_member_objects_request_builder.py | 2 +- ...claims_mapping_policies_request_builder.py | 10 +- .../item/ref/ref_request_builder.py | 8 +- .../ref/ref_request_builder.py | 14 +- ...gle_sign_on_credentials_request_builder.py | 6 +- .../created_objects_request_builder.py | 8 +- ...graph_service_principal_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- ...mission_classifications_request_builder.py | 14 +- ...ion_classification_item_request_builder.py | 10 +- ...gle_sign_on_credentials_request_builder.py | 6 +- .../endpoints/endpoints_request_builder.py | 4 +- .../item/endpoint_item_request_builder.py | 6 +- ...ed_identity_credentials_request_builder.py | 4 +- ...dentity_credential_item_request_builder.py | 6 +- .../get_member_groups_request_builder.py | 6 +- .../get_member_objects_request_builder.py | 2 +- ...gle_sign_on_credentials_request_builder.py | 6 +- ...ealm_discovery_policies_request_builder.py | 10 +- .../item/ref/ref_request_builder.py | 8 +- .../ref/ref_request_builder.py | 14 +- ...teams_licensing_details_request_builder.py | 86 +++++ .../license_details_item_request_builder.py | 6 +- .../license_details_request_builder.py | 14 +- ...aph_administrative_unit_request_builder.py | 2 +- .../graph_directory_role_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 2 +- ...aph_administrative_unit_request_builder.py | 2 +- .../graph_directory_role_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../member_of/member_of_request_builder.py | 2 +- ...2_permission_grant_item_request_builder.py | 2 +- ...auth2_permission_grants_request_builder.py | 8 +- .../graph_application_request_builder.py | 2 +- .../graph_endpoint_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 2 +- .../graph_application_request_builder.py | 2 +- .../graph_endpoint_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../owned_objects_request_builder.py | 8 +- .../graph_endpoint_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../graph_endpoint_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../owners/item/ref/ref_request_builder.py | 8 +- .../item/owners/owners_request_builder.py | 4 +- .../item/owners/ref/ref_request_builder.py | 8 +- ..._security_configuration_request_builder.py | 6 +- ...arget_device_group_item_request_builder.py | 6 +- .../target_device_groups_request_builder.py | 4 +- .../item/restore/restore_request_builder.py | 6 +- .../service_principal_item_request_builder.py | 20 +- .../acquire_access_token_request_builder.py | 6 +- .../bulk_upload_request_builder.py | 6 +- .../value/content_request_builder.py | 4 +- .../jobs/item/pause/pause_request_builder.py | 6 +- .../provision_on_demand_request_builder.py | 6 +- .../item/restart/restart_request_builder.py | 6 +- .../directories_request_builder.py | 4 +- ...rectory_definition_item_request_builder.py | 6 +- .../item/discover/discover_request_builder.py | 6 +- .../filter_operators_request_builder.py | 2 +- .../functions/functions_request_builder.py | 2 +- .../parse_expression_request_builder.py | 6 +- .../item/schema/schema_request_builder.py | 12 +- .../jobs/item/start/start_request_builder.py | 6 +- ...ynchronization_job_item_request_builder.py | 16 +- .../validate_credentials_request_builder.py | 6 +- .../jobs/jobs_request_builder.py | 14 +- .../validate_credentials_request_builder.py | 2 +- .../ping/ping_request_builder.py | 2 +- .../secrets/secrets_request_builder.py | 2 +- .../synchronization_request_builder.py | 6 +- .../directories_request_builder.py | 4 +- ...rectory_definition_item_request_builder.py | 6 +- .../item/discover/discover_request_builder.py | 6 +- .../filter_operators_request_builder.py | 2 +- .../functions/functions_request_builder.py | 2 +- .../parse_expression_request_builder.py | 6 +- .../item/schema/schema_request_builder.py | 6 +- ...onization_template_item_request_builder.py | 10 +- .../templates/templates_request_builder.py | 10 +- ...en_issuance_policy_item_request_builder.py | 2 +- ...token_issuance_policies_request_builder.py | 2 +- ...en_lifetime_policy_item_request_builder.py | 2 +- ...token_lifetime_policies_request_builder.py | 2 +- ...aph_administrative_unit_request_builder.py | 2 +- .../graph_directory_role_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 2 +- ...aph_administrative_unit_request_builder.py | 2 +- .../graph_directory_role_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../transitive_member_of_request_builder.py | 2 +- ...gle_sign_on_credentials_request_builder.py | 6 +- .../service_principals_request_builder.py | 14 +- .../validate_properties_request_builder.py | 6 +- ..._principals_with_app_id_request_builder.py | 20 +- .../directory_setting_item_request_builder.py | 20 +- .../settings/settings_request_builder.py | 14 +- .../created_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../content/content_request_builder.py | 4 +- .../drive_item/drive_item_request_builder.py | 8 +- .../item/content/content_request_builder.py | 4 +- .../item/drive_item_item_request_builder.py | 2 +- .../item/items/items_request_builder.py | 2 +- .../last_modified_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../activities/activities_request_builder.py | 4 +- .../list_/columns/columns_request_builder.py | 14 +- .../column_definition_item_request_builder.py | 6 +- .../source_column_request_builder.py | 2 +- .../add_copy/add_copy_request_builder.py | 6 +- ...y_from_content_type_hub_request_builder.py | 6 +- .../content_types_request_builder.py | 10 +- ...tible_hub_content_types_request_builder.py | 2 +- ...ssociate_with_hub_sites_request_builder.py | 6 +- .../item/base/base_request_builder_.py | 2 +- .../base_types/base_types_request_builder.py | 2 +- .../item/content_type_item_request_builder.py | 2 +- .../column_links_request_builder.py | 4 +- .../item/column_link_item_request_builder.py | 6 +- .../column_positions_request_builder.py | 2 +- .../column_definition_item_request_builder.py | 2 +- .../item/columns/columns_request_builder.py | 14 +- .../column_definition_item_request_builder.py | 20 +- .../source_column_request_builder.py | 2 +- .../item/content_type_item_request_builder.py | 6 +- ...efault_content_location_request_builder.py | 6 +- .../is_published_request_builder.py | 2 +- .../item/publish/publish_request_builder.py | 6 +- .../unpublish/unpublish_request_builder.py | 6 +- .../created_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../item/list_/drive/drive_request_builder.py | 2 +- .../items/delta/delta_request_builder.py | 2 +- .../delta_with_token_request_builder.py | 2 +- .../activities/activities_request_builder.py | 4 +- .../content/content_request_builder.py | 4 +- .../drive_item/drive_item_request_builder.py | 2 +- ...tem_activity_o_l_d_item_request_builder.py | 6 +- .../list_item/list_item_request_builder.py | 2 +- .../analytics/analytics_request_builder.py | 2 +- .../create_link_post_request_body.py | 4 + .../create_link_request_builder.py | 6 +- .../created_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../document_set_versions_request_builder.py | 14 +- ...cument_set_version_item_request_builder.py | 16 +- .../item/fields/fields_request_builder.py | 6 +- .../item/restore/restore_request_builder.py | 6 +- .../content/content_request_builder.py | 4 +- .../drive_item/drive_item_request_builder.py | 2 +- .../item/fields/fields_request_builder.py | 10 +- ...date_time_with_interval_request_builder.py | 2 +- .../last_modified_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../item/list_item_item_request_builder.py | 16 +- .../item/fields/fields_request_builder.py | 6 +- .../list_item_version_item_request_builder.py | 6 +- .../restore_version_request_builder.py | 2 +- .../item/versions/versions_request_builder.py | 4 +- .../item/list_/items/items_request_builder.py | 14 +- .../last_modified_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../shares/item/list_/list_request_builder.py | 6 +- ..._running_operation_item_request_builder.py | 6 +- .../operations/operations_request_builder.py | 4 +- .../reauthorize_request_builder.py | 6 +- .../item/subscription_item_request_builder.py | 6 +- .../subscriptions_request_builder.py | 4 +- .../list_item/list_item_request_builder.py | 2 +- .../permission/grant/grant_request_builder.py | 6 +- .../permission/permission_request_builder.py | 6 +- .../revoke_grants_request_builder.py | 6 +- .../root/content/content_request_builder.py | 4 +- .../shares/item/root/root_request_builder.py | 2 +- .../shared_drive_item_item_request_builder.py | 12 +- .../shares/item/site/site_request_builder.py | 2 +- .../shares/shares_request_builder.py | 10 +- .../sites/add/add_request_builder.py | 2 +- .../sites/delta/delta_request_builder.py | 2 +- .../get_all_sites_request_builder.py | 2 +- .../all_time/all_time_request_builder.py | 2 +- .../analytics/analytics_request_builder.py | 6 +- .../activities/activities_request_builder.py | 4 +- .../content/content_request_builder.py | 4 +- .../drive_item/drive_item_request_builder.py | 2 +- .../item_activity_item_request_builder.py | 6 +- ...item_activity_stat_item_request_builder.py | 6 +- .../item_activity_stats_request_builder.py | 4 +- .../last_seven_days_request_builder.py | 2 +- .../item/columns/columns_request_builder.py | 14 +- .../column_definition_item_request_builder.py | 6 +- .../source_column_request_builder.py | 2 +- .../add_copy/add_copy_request_builder.py | 6 +- ...y_from_content_type_hub_request_builder.py | 6 +- .../content_types_request_builder.py | 14 +- ...tible_hub_content_types_request_builder.py | 2 +- ...ssociate_with_hub_sites_request_builder.py | 6 +- .../item/base/base_request_builder_.py | 2 +- .../base_types/base_types_request_builder.py | 2 +- .../item/content_type_item_request_builder.py | 2 +- .../column_links_request_builder.py | 4 +- .../item/column_link_item_request_builder.py | 6 +- .../column_positions_request_builder.py | 2 +- .../column_definition_item_request_builder.py | 2 +- .../item/columns/columns_request_builder.py | 14 +- .../column_definition_item_request_builder.py | 20 +- .../source_column_request_builder.py | 2 +- .../item/content_type_item_request_builder.py | 20 +- ...efault_content_location_request_builder.py | 6 +- .../is_published_request_builder.py | 2 +- .../item/publish/publish_request_builder.py | 6 +- .../unpublish/unpublish_request_builder.py | 6 +- .../created_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../sites/item/drive/drive_request_builder.py | 2 +- .../item/drives/drives_request_builder.py | 2 +- .../drives/item/drive_item_request_builder.py | 2 +- .../external_columns_request_builder.py | 2 +- .../column_definition_item_request_builder.py | 2 +- ...date_time_with_interval_request_builder.py | 2 +- ...s_for_list_with_list_id_request_builder.py | 2 +- .../get_by_path_with_path_request_builder.py | 2 +- .../bitlocker/bitlocker_request_builder.py | 2 +- ...ocker_recovery_key_item_request_builder.py | 8 +- .../recovery_keys_request_builder.py | 8 +- ...oss_prevention_policies_request_builder.py | 4 +- .../evaluate/evaluate_request_builder.py | 2 +- ..._prevention_policy_item_request_builder.py | 6 +- .../decrypt_buffer_request_builder.py | 2 +- .../encrypt_buffer_request_builder.py | 2 +- .../information_protection_request_builder.py | 6 +- .../evaluate_application_request_builder.py | 6 +- ..._classification_results_request_builder.py | 6 +- .../evaluate_removal_request_builder.py | 6 +- .../extract_label_request_builder.py | 6 +- ...n_protection_label_item_request_builder.py | 12 +- .../policy/labels/labels_request_builder.py | 10 +- .../policy/policy_request_builder.py | 6 +- .../evaluate/evaluate_request_builder.py | 2 +- .../sensitivity_label_item_request_builder.py | 6 +- .../evaluate/evaluate_request_builder.py | 2 +- .../sensitivity_label_item_request_builder.py | 6 +- .../sublabels/sublabels_request_builder.py | 4 +- .../sensitivity_labels_request_builder.py | 4 +- ...itivity_policy_settings_request_builder.py | 6 +- .../sign_digest_request_builder.py | 2 +- ..._assessment_result_item_request_builder.py | 6 +- .../item/results/results_request_builder.py | 4 +- ...assessment_request_item_request_builder.py | 12 +- ...eat_assessment_requests_request_builder.py | 14 +- .../verify_signature_request_builder.py | 2 +- .../item/base_item_item_request_builder.py | 2 +- .../sites/item/items/items_request_builder.py | 2 +- .../last_modified_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../activities/activities_request_builder.py | 4 +- .../item/columns/columns_request_builder.py | 14 +- .../column_definition_item_request_builder.py | 6 +- .../source_column_request_builder.py | 2 +- .../add_copy/add_copy_request_builder.py | 6 +- ...y_from_content_type_hub_request_builder.py | 6 +- .../content_types_request_builder.py | 10 +- ...tible_hub_content_types_request_builder.py | 2 +- ...ssociate_with_hub_sites_request_builder.py | 6 +- .../item/base/base_request_builder_.py | 2 +- .../base_types/base_types_request_builder.py | 2 +- .../item/content_type_item_request_builder.py | 2 +- .../column_links_request_builder.py | 4 +- .../item/column_link_item_request_builder.py | 6 +- .../column_positions_request_builder.py | 2 +- .../column_definition_item_request_builder.py | 2 +- .../item/columns/columns_request_builder.py | 14 +- .../column_definition_item_request_builder.py | 20 +- .../source_column_request_builder.py | 2 +- .../item/content_type_item_request_builder.py | 6 +- ...efault_content_location_request_builder.py | 6 +- .../is_published_request_builder.py | 2 +- .../item/publish/publish_request_builder.py | 6 +- .../unpublish/unpublish_request_builder.py | 6 +- .../created_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../lists/item/drive/drive_request_builder.py | 2 +- .../item/items/delta/delta_request_builder.py | 2 +- .../delta_with_token_request_builder.py | 2 +- .../activities/activities_request_builder.py | 4 +- .../content/content_request_builder.py | 4 +- .../drive_item/drive_item_request_builder.py | 2 +- ...tem_activity_o_l_d_item_request_builder.py | 6 +- .../list_item/list_item_request_builder.py | 2 +- .../analytics/analytics_request_builder.py | 2 +- .../create_link_post_request_body.py | 4 + .../create_link_request_builder.py | 6 +- .../created_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../document_set_versions_request_builder.py | 14 +- ...cument_set_version_item_request_builder.py | 16 +- .../item/fields/fields_request_builder.py | 6 +- .../item/restore/restore_request_builder.py | 6 +- .../content/content_request_builder.py | 4 +- .../drive_item/drive_item_request_builder.py | 2 +- .../item/fields/fields_request_builder.py | 10 +- ...date_time_with_interval_request_builder.py | 2 +- .../last_modified_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../item/list_item_item_request_builder.py | 16 +- .../item/fields/fields_request_builder.py | 6 +- .../list_item_version_item_request_builder.py | 6 +- .../restore_version_request_builder.py | 2 +- .../item/versions/versions_request_builder.py | 4 +- .../lists/item/items/items_request_builder.py | 14 +- .../last_modified_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../lists/item/list_item_request_builder.py | 12 +- ..._running_operation_item_request_builder.py | 6 +- .../operations/operations_request_builder.py | 4 +- .../reauthorize_request_builder.py | 6 +- .../item/subscription_item_request_builder.py | 6 +- .../subscriptions_request_builder.py | 4 +- .../sites/item/lists/lists_request_builder.py | 14 +- ...t_notebook_from_web_url_request_builder.py | 6 +- ...lude_personal_notebooks_request_builder.py | 2 +- .../copy_notebook_request_builder.py | 6 +- .../item/notebook_item_request_builder.py | 12 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_group_request_builder.py | 2 +- .../section_group_item_request_builder.py | 6 +- .../section_group_item_request_builder.py | 2 +- .../section_groups_request_builder.py | 8 +- .../copy_to_notebook_request_builder.py | 6 +- .../copy_to_section_group_request_builder.py | 6 +- .../onenote_section_item_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../copy_to_section_request_builder.py | 6 +- .../item/onenote_page_item_request_builder.py | 6 +- .../onenote_patch_content_request_builder.py | 2 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_request_builder.py | 2 +- .../item/preview/preview_request_builder.py | 2 +- .../item/pages/pages_request_builder.py | 4 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_group_request_builder.py | 2 +- .../item/sections/sections_request_builder.py | 14 +- .../section_groups_request_builder.py | 14 +- .../copy_to_notebook_request_builder.py | 6 +- .../copy_to_section_group_request_builder.py | 6 +- .../onenote_section_item_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../copy_to_section_request_builder.py | 6 +- .../item/onenote_page_item_request_builder.py | 6 +- .../onenote_patch_content_request_builder.py | 2 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_request_builder.py | 2 +- .../item/preview/preview_request_builder.py | 2 +- .../item/pages/pages_request_builder.py | 4 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_group_request_builder.py | 2 +- .../item/sections/sections_request_builder.py | 14 +- .../notebooks/notebooks_request_builder.py | 14 +- .../item/onenote/onenote_request_builder.py | 6 +- .../onenote_operation_item_request_builder.py | 12 +- .../operations/operations_request_builder.py | 10 +- .../item/content/content_request_builder.py | 4 +- .../copy_to_section_request_builder.py | 6 +- .../item/onenote_page_item_request_builder.py | 10 +- .../onenote_patch_content_request_builder.py | 2 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_request_builder.py | 2 +- .../item/preview/preview_request_builder.py | 2 +- .../onenote/pages/pages_request_builder.py | 4 +- .../item/content/content_request_builder.py | 4 +- .../onenote_resource_item_request_builder.py | 6 +- .../resources/resources_request_builder.py | 4 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_group_request_builder.py | 2 +- .../section_group_item_request_builder.py | 12 +- .../section_group_item_request_builder.py | 2 +- .../section_groups_request_builder.py | 8 +- .../copy_to_notebook_request_builder.py | 6 +- .../copy_to_section_group_request_builder.py | 6 +- .../onenote_section_item_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../copy_to_section_request_builder.py | 6 +- .../item/onenote_page_item_request_builder.py | 6 +- .../onenote_patch_content_request_builder.py | 2 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_request_builder.py | 2 +- .../item/preview/preview_request_builder.py | 2 +- .../item/pages/pages_request_builder.py | 4 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_group_request_builder.py | 2 +- .../item/sections/sections_request_builder.py | 14 +- .../section_groups_request_builder.py | 10 +- .../copy_to_notebook_request_builder.py | 6 +- .../copy_to_section_group_request_builder.py | 6 +- .../onenote_section_item_request_builder.py | 12 +- .../item/content/content_request_builder.py | 4 +- .../copy_to_section_request_builder.py | 6 +- .../item/onenote_page_item_request_builder.py | 6 +- .../onenote_patch_content_request_builder.py | 2 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_request_builder.py | 2 +- .../item/preview/preview_request_builder.py | 2 +- .../item/pages/pages_request_builder.py | 4 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_group_request_builder.py | 2 +- .../sections/sections_request_builder.py | 10 +- ..._running_operation_item_request_builder.py | 12 +- .../operations/operations_request_builder.py | 10 +- .../count/count_request_builder.py | 113 +++++++ .../graph_site_page_request_builder.py | 156 +++++++++ .../base_site_page_item_request_builder.py | 22 +- .../created_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../canvas_layout_request_builder.py | 235 ++++++++++++++ .../count/count_request_builder.py | 113 +++++++ .../horizontal_sections_request_builder.py | 226 +++++++++++++ .../item/columns/columns_request_builder.py | 226 +++++++++++++ .../columns/count/count_request_builder.py | 113 +++++++ ...tal_section_column_item_request_builder.py | 225 +++++++++++++ .../webparts/count/count_request_builder.py | 113 +++++++ ...et_position_of_web_part_request_builder.py | 86 +++++ .../item/web_part_item_request_builder.py | 225 +++++++++++++ .../item/webparts/webparts_request_builder.py | 226 +++++++++++++ ...horizontal_section_item_request_builder.py | 225 +++++++++++++ .../vertical_section_request_builder.py | 225 +++++++++++++ .../webparts}/count/count_request_builder.py | 2 +- ...et_position_of_web_part_request_builder.py | 86 +++++ .../item/web_part_item_request_builder.py} | 80 ++--- .../webparts/webparts_request_builder.py} | 80 ++--- .../created_by_user_request_builder.py | 136 ++++++++ .../mailbox_settings_request_builder.py | 170 ++++++++++ .../count/count_request_builder.py | 113 +++++++ ...ice_provisioning_errors_request_builder.py | 156 +++++++++ .../graph_site_page_request_builder.py | 156 +++++++++ .../last_modified_by_user_request_builder.py | 136 ++++++++ .../mailbox_settings_request_builder.py | 170 ++++++++++ .../count/count_request_builder.py | 113 +++++++ ...ice_provisioning_errors_request_builder.py | 156 +++++++++ .../web_parts/count/count_request_builder.py | 113 +++++++ ...et_position_of_web_part_request_builder.py | 86 +++++ .../item/web_part_item_request_builder.py | 225 +++++++++++++ .../web_parts/web_parts_request_builder.py | 226 +++++++++++++ .../last_modified_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../sites/item/pages/pages_request_builder.py | 24 +- .../item/grant/grant_request_builder.py | 6 +- .../item/permission_item_request_builder.py | 16 +- .../revoke_grants_request_builder.py | 6 +- .../permissions_request_builder.py | 14 +- .../created_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../created_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../last_modified_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../recycle_bin_item_item_request_builder.py | 6 +- .../items/items_request_builder.py | 10 +- .../last_modified_by_user_request_builder.py | 2 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../recycle_bin_request_builder.py | 6 +- .../sites/item/site_item_request_builder.py | 4 +- .../sites/item/site_item_request_builder.py | 2 +- .../sites/item/sites/sites_request_builder.py | 8 +- .../groups/groups_request_builder.py | 14 +- .../groups/item/group_item_request_builder.py | 16 +- .../item/children/children_request_builder.py | 14 +- .../item/children/children_request_builder.py | 4 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../children/item/set/set_request_builder.py | 2 +- .../item/term_item_request_builder.py | 6 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../children/item/set/set_request_builder.py | 2 +- .../item/term_item_request_builder.py | 6 +- .../parent_group_request_builder.py | 6 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 10 +- .../sets/item/set_item_request_builder.py | 6 +- .../item/children/children_request_builder.py | 4 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../children/item/set/set_request_builder.py | 2 +- .../item/term_item_request_builder.py | 6 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../terms/item/set/set_request_builder.py | 2 +- .../terms/item/term_item_request_builder.py | 20 +- .../sets/item/terms/terms_request_builder.py | 10 +- .../groups/item/sets/sets_request_builder.py | 10 +- .../item/children/children_request_builder.py | 14 +- .../item/children/children_request_builder.py | 4 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../children/item/set/set_request_builder.py | 2 +- .../item/term_item_request_builder.py | 6 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../children/item/set/set_request_builder.py | 2 +- .../item/term_item_request_builder.py | 6 +- .../parent_group_request_builder.py | 6 +- .../item/children/children_request_builder.py | 14 +- .../item/children/children_request_builder.py | 4 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../children/item/set/set_request_builder.py | 2 +- .../item/term_item_request_builder.py | 6 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../children/item/set/set_request_builder.py | 2 +- .../item/term_item_request_builder.py | 6 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 10 +- .../sets/item/set_item_request_builder.py | 6 +- .../item/children/children_request_builder.py | 4 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../children/item/set/set_request_builder.py | 2 +- .../item/term_item_request_builder.py | 6 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../terms/item/set/set_request_builder.py | 2 +- .../terms/item/term_item_request_builder.py | 20 +- .../sets/item/terms/terms_request_builder.py | 10 +- .../parent_group/sets/sets_request_builder.py | 10 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 10 +- .../sets/item/set_item_request_builder.py | 20 +- .../item/children/children_request_builder.py | 4 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../children/item/set/set_request_builder.py | 2 +- .../item/term_item_request_builder.py | 6 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../terms/item/set/set_request_builder.py | 2 +- .../terms/item/term_item_request_builder.py | 20 +- .../sets/item/terms/terms_request_builder.py | 10 +- .../term_store/sets/sets_request_builder.py | 10 +- .../term_store/term_store_request_builder.py | 12 +- .../sites/remove/remove_request_builder.py | 2 +- .../generated/sites/sites_request_builder.py | 8 +- .../booking_businesses_request_builder.py | 226 +++++++++++++ .../count/count_request_builder.py | 113 +++++++ .../appointments_request_builder.py | 228 ++++++++++++++ .../count/count_request_builder.py | 113 +++++++ ...ooking_appointment_item_request_builder.py | 228 ++++++++++++++ .../item/cancel/cancel_post_request_body.py | 49 +++ .../item/cancel/cancel_request_builder.py | 92 ++++++ .../booking_business_item_request_builder.py} | 163 +++++++--- .../calendar_view_request_builder.py | 237 ++++++++++++++ .../count/count_request_builder.py | 113 +++++++ ...ooking_appointment_item_request_builder.py | 235 ++++++++++++++ .../item/cancel/cancel_post_request_body.py | 49 +++ .../item/cancel/cancel_request_builder.py | 92 ++++++ .../count/count_request_builder.py | 113 +++++++ .../custom_questions_request_builder.py | 70 ++--- ...ng_custom_question_item_request_builder.py | 218 +++++++++++++ .../customers}/count/count_request_builder.py | 6 +- .../customers/customers_request_builder.py | 228 ++++++++++++++ .../booking_customer_item_request_builder.py | 218 +++++++++++++ ...et_staff_availability_post_request_body.py | 64 ++++ .../get_staff_availability_post_response.py | 57 ++++ .../get_staff_availability_request_builder.py | 95 ++++++ .../item/publish/publish_request_builder.py | 84 +++++ .../services/count/count_request_builder.py | 113 +++++++ .../booking_service_item_request_builder.py | 218 +++++++++++++ .../item/services/services_request_builder.py | 228 ++++++++++++++ .../count/count_request_builder.py | 113 +++++++ ...oking_staff_member_item_request_builder.py | 218 +++++++++++++ .../staff_members_request_builder.py | 228 ++++++++++++++ .../unpublish/unpublish_request_builder.py | 84 +++++ .../booking_currencies_request_builder.py | 226 +++++++++++++ .../count/count_request_builder.py | 113 +++++++ .../booking_currency_item_request_builder.py | 215 +++++++++++++ .../business_scenarios_request_builder.py | 14 +- .../business_scenario_item_request_builder.py | 20 +- .../get_plan/get_plan_request_builder.py | 6 +- ...ation_localization_item_request_builder.py | 20 +- .../localizations_request_builder.py | 14 +- .../plan_configuration_request_builder.py | 16 +- .../item/planner/planner_request_builder.py | 12 +- .../task_configuration_request_builder.py | 16 +- ...ed_to_task_board_format_request_builder.py | 12 +- ...ucket_task_board_format_request_builder.py | 12 +- ...ness_scenario_task_item_request_builder.py | 20 +- .../item/details/details_request_builder.py | 12 +- ...gress_task_board_format_request_builder.py | 12 +- .../planner/tasks/tasks_request_builder.py | 14 +- .../solutions/solutions_request_builder.py | 24 +- .../events/cancel/cancel_request_builder.py | 83 +++++ .../events/events_request_builder.py | 24 +- .../profile_photo_request_builder.py} | 36 +-- .../sessions}/count/count_request_builder.py | 2 +- ...tual_event_session_item_request_builder.py | 116 +++++++ .../item/sessions/sessions_request_builder.py | 171 ++++++++++ ...al_event_presenter_item_request_builder.py | 32 +- .../presenters/presenters_request_builder.py | 10 +- .../alternative_recording_request_builder.py | 135 -------- .../attendance_reports_request_builder.py | 15 +- .../attendance_records_request_builder.py | 10 +- .../attendance_record_item_request_builder.py | 6 +- ..._attendance_report_item_request_builder.py | 15 +- .../broadcast_recording_request_builder.py | 135 -------- .../count/count_request_builder.py | 2 +- .../profile_photo_request_builder.py} | 36 +-- ...al_event_presenter_item_request_builder.py | 126 ++++++++ .../presenters/presenters_request_builder.py | 171 ++++++++++ ...istration_question_item_request_builder.py | 218 ------------- ...event_registration_item_request_builder.py | 8 +- .../registrations_request_builder.py | 8 +- .../call_transcript_item_request_builder.py | 236 -------------- .../item/content/content_request_builder.py | 139 -------- .../metadata_content_request_builder.py | 136 -------- ...tual_event_session_item_request_builder.py | 94 +----- .../item/sessions/sessions_request_builder.py | 10 +- .../virtual_event_item_request_builder.py | 6 +- .../events/publish/publish_request_builder.py | 83 +++++ .../townhalls/count/count_request_builder.py | 113 +++++++ ...ole_with_user_id_with_role_get_response.py | 57 ++++ ..._with_user_id_with_role_request_builder.py | 146 +++++++++ ...get_by_user_role_with_role_get_response.py | 57 ++++ ..._by_user_role_with_role_request_builder.py | 144 +++++++++ .../presenters/count/count_request_builder.py | 113 +++++++ .../profile_photo_request_builder.py} | 36 +-- .../sessions/count/count_request_builder.py | 113 +++++++ ...tual_event_session_item_request_builder.py | 116 +++++++ .../item/sessions/sessions_request_builder.py | 171 ++++++++++ ...al_event_presenter_item_request_builder.py | 235 ++++++++++++++ .../presenters/presenters_request_builder.py | 226 +++++++++++++ .../sessions/count/count_request_builder.py | 113 +++++++ .../attendance_reports_request_builder.py} | 87 +++-- .../count/count_request_builder.py | 113 +++++++ .../attendance_records_request_builder.py | 26 +- .../count/count_request_builder.py | 113 +++++++ .../attendance_record_item_request_builder.py | 22 +- ...attendance_report_item_request_builder.py} | 71 +++-- .../count/count_request_builder.py | 2 +- .../profile_photo_request_builder.py} | 36 +-- ...al_event_presenter_item_request_builder.py | 126 ++++++++ .../presenters/presenters_request_builder.py | 171 ++++++++++ .../count/count_request_builder.py | 113 +++++++ ...event_registration_item_request_builder.py | 116 +++++++ .../registrations_request_builder.py | 171 ++++++++++ ...ual_event_session_item_request_builder.py} | 109 ++++--- .../item/sessions/sessions_request_builder.py | 226 +++++++++++++ ...ual_event_townhall_item_request_builder.py | 235 ++++++++++++++ .../townhalls_request_builder.py} | 125 ++++---- .../virtual_events_request_builder.py | 16 +- ..._with_user_id_with_role_request_builder.py | 2 +- ..._by_user_role_with_role_request_builder.py | 2 +- .../profile_photo_request_builder.py} | 36 +-- .../sessions/count/count_request_builder.py | 113 +++++++ ...tual_event_session_item_request_builder.py | 116 +++++++ .../item/sessions/sessions_request_builder.py | 171 ++++++++++ ...al_event_presenter_item_request_builder.py | 32 +- .../presenters/presenters_request_builder.py | 10 +- ...istration_configuration_request_builder.py | 18 +- .../alternative_recording_request_builder.py | 135 -------- .../broadcast_recording_request_builder.py | 135 -------- ...tual_event_session_item_request_builder.py | 48 +-- .../item/sessions/sessions_request_builder.py | 8 +- ...event_registration_item_request_builder.py | 12 +- .../registrations_request_builder.py | 10 +- .../alternative_recording_request_builder.py | 135 -------- .../attendance_reports_request_builder.py | 15 +- .../attendance_records_request_builder.py | 10 +- .../attendance_record_item_request_builder.py | 6 +- ..._attendance_report_item_request_builder.py | 15 +- .../attendee_report_request_builder.py | 135 -------- .../broadcast_recording_request_builder.py | 135 -------- .../count/count_request_builder.py | 113 ------- .../count/count_request_builder.py | 2 +- .../profile_photo_request_builder.py} | 43 ++- ...al_event_presenter_item_request_builder.py | 126 ++++++++ .../presenters/presenters_request_builder.py | 171 ++++++++++ .../recordings/recordings_request_builder.py | 236 -------------- .../custom_questions_request_builder.py | 228 -------------- ...istration_question_item_request_builder.py | 218 ------------- .../registration_request_builder.py | 238 -------------- ...event_registration_item_request_builder.py | 8 +- .../registrations_request_builder.py | 8 +- .../call_transcript_item_request_builder.py | 236 -------------- .../item/content/content_request_builder.py | 139 -------- .../metadata_content_request_builder.py | 136 -------- .../transcripts_request_builder.py | 237 -------------- ...tual_event_session_item_request_builder.py | 94 +----- .../item/sessions/sessions_request_builder.py | 10 +- ...tual_event_webinar_item_request_builder.py | 12 +- .../webinars/webinars_request_builder.py | 11 +- .../subscribed_sku_item_request_builder.py | 12 +- .../subscribed_skus_request_builder.py | 10 +- .../reauthorize_request_builder.py | 6 +- .../item/subscription_item_request_builder.py | 20 +- .../subscriptions_request_builder.py | 14 +- .../all_channels_request_builder.py | 8 +- .../item/channel_item_request_builder.py | 2 +- .../archive/archive_request_builder.py | 6 +- .../all_messages_request_builder.py | 2 +- .../channels/channels_request_builder.py | 24 +- .../get_all_messages_request_builder.py | 2 +- .../get_all_retained_messages_get_response.py | 57 ++++ ...t_all_retained_messages_request_builder.py | 141 +++++++++ .../item/archive/archive_post_request_body.py | 49 +++ .../item/archive/archive_request_builder.py | 91 ++++++ .../item/channel_item_request_builder.py | 40 ++- .../complete_migration_request_builder.py | 6 +- ...ame_user_principal_name_request_builder.py | 2 +- .../content/content_request_builder.py | 4 +- .../files_folder_request_builder.py | 8 +- .../item/members/add/add_request_builder.py | 6 +- ...onversation_member_item_request_builder.py | 22 +- .../item/members/members_request_builder.py | 14 +- .../messages/delta/delta_request_builder.py | 2 +- .../item/chat_message_item_request_builder.py | 16 +- .../hosted_contents_request_builder.py | 10 +- ...age_hosted_content_item_request_builder.py | 12 +- .../item/value/content_request_builder.py | 4 +- .../replies/delta/delta_request_builder.py | 2 +- .../item/chat_message_item_request_builder.py | 12 +- .../hosted_contents_request_builder.py | 10 +- ...age_hosted_content_item_request_builder.py | 12 +- .../item/value/content_request_builder.py | 4 +- .../set_reaction_request_builder.py | 2 +- .../soft_delete_request_builder.py | 6 +- .../undo_soft_delete_request_builder.py | 6 +- .../unset_reaction_request_builder.py | 2 +- .../item/replies/replies_request_builder.py | 14 +- .../set_reaction_request_builder.py | 2 +- .../soft_delete_request_builder.py | 6 +- .../undo_soft_delete_request_builder.py | 6 +- .../unset_reaction_request_builder.py | 2 +- .../item/messages/messages_request_builder.py | 14 +- .../provision_email_request_builder.py | 6 +- .../remove_email_request_builder.py | 6 +- .../allowed_members_request_builder.py | 8 +- ...onversation_member_item_request_builder.py | 2 +- ..._channel_team_info_item_request_builder.py | 16 +- .../item/team/team_request_builder.py | 2 +- .../shared_with_teams_request_builder.py | 10 +- .../teams_app/teams_app_request_builder.py | 2 +- .../item/teams_tab_item_request_builder.py | 6 +- .../item/tabs/tabs_request_builder.py | 10 +- .../unarchive/unarchive_request_builder.py | 83 +++++ .../clone/clone_request_builder.py | 6 +- .../complete_migration_request_builder.py | 6 +- .../group/group_request_builder.py | 2 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../incoming_channels_request_builder.py | 8 +- .../item/channel_item_request_builder.py | 4 +- .../installed_apps_request_builder.py | 14 +- .../teams_app/teams_app_request_builder.py | 2 +- .../teams_app_definition_request_builder.py | 2 +- ...s_app_installation_item_request_builder.py | 16 +- .../item/upgrade/upgrade_request_builder.py | 6 +- .../members/add/add_request_builder.py | 6 +- ...onversation_member_item_request_builder.py | 20 +- .../members/members_request_builder.py | 14 +- ...ms_async_operation_item_request_builder.py | 6 +- .../operations/operations_request_builder.py | 4 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../owners/item/user_item_request_builder.py | 2 +- .../owners/owners_request_builder.py | 2 +- ...c_permission_grant_item_request_builder.py | 6 +- .../permission_grants_request_builder.py | 10 +- .../photo/photo_request_builder.py | 4 +- .../photo/value/content_request_builder.py | 4 +- .../archive/archive_post_request_body.py | 49 +++ .../archive/archive_request_builder.py | 91 ++++++ .../complete_migration_request_builder.py | 6 +- ...ame_user_principal_name_request_builder.py | 2 +- .../content/content_request_builder.py | 4 +- .../files_folder_request_builder.py | 8 +- .../members/add/add_request_builder.py | 6 +- ...onversation_member_item_request_builder.py | 22 +- .../members/members_request_builder.py | 14 +- .../messages/delta/delta_request_builder.py | 2 +- .../item/chat_message_item_request_builder.py | 16 +- .../hosted_contents_request_builder.py | 10 +- ...age_hosted_content_item_request_builder.py | 12 +- .../item/value/content_request_builder.py | 4 +- .../replies/delta/delta_request_builder.py | 2 +- .../item/chat_message_item_request_builder.py | 12 +- .../hosted_contents_request_builder.py | 10 +- ...age_hosted_content_item_request_builder.py | 12 +- .../item/value/content_request_builder.py | 4 +- .../set_reaction_request_builder.py | 2 +- .../soft_delete_request_builder.py | 6 +- .../undo_soft_delete_request_builder.py | 6 +- .../unset_reaction_request_builder.py | 2 +- .../item/replies/replies_request_builder.py | 14 +- .../set_reaction_request_builder.py | 2 +- .../soft_delete_request_builder.py | 6 +- .../undo_soft_delete_request_builder.py | 6 +- .../unset_reaction_request_builder.py | 2 +- .../messages/messages_request_builder.py | 14 +- .../primary_channel_request_builder.py | 32 +- .../provision_email_request_builder.py | 6 +- .../remove_email_request_builder.py | 6 +- .../allowed_members_request_builder.py | 8 +- ...onversation_member_item_request_builder.py | 2 +- ..._channel_team_info_item_request_builder.py | 16 +- .../item/team/team_request_builder.py | 2 +- .../shared_with_teams_request_builder.py | 10 +- .../teams_app/teams_app_request_builder.py | 2 +- .../item/teams_tab_item_request_builder.py | 6 +- .../tabs/tabs_request_builder.py | 10 +- .../unarchive/unarchive_request_builder.py | 83 +++++ .../day_notes/count/count_request_builder.py | 113 +++++++ .../day_notes/day_notes_request_builder.py | 226 +++++++++++++ .../item/day_note_item_request_builder.py | 216 +++++++++++++ ...ffer_shift_request_item_request_builder.py | 12 +- .../offer_shift_requests_request_builder.py | 14 +- ...ift_change_request_item_request_builder.py | 12 +- ...n_shift_change_requests_request_builder.py | 14 +- .../item/open_shift_item_request_builder.py | 16 +- .../open_shifts_request_builder.py | 14 +- .../schedule/schedule_request_builder.py | 22 +- .../scheduling_group_item_request_builder.py | 16 +- .../scheduling_groups_request_builder.py | 14 +- .../schedule/share/share_request_builder.py | 6 +- .../shifts/item/shift_item_request_builder.py | 16 +- .../schedule/shifts/shifts_request_builder.py | 14 +- ...fts_change_request_item_request_builder.py | 12 +- ..._shifts_change_requests_request_builder.py | 14 +- .../clock_in/clock_in_request_builder.py | 6 +- .../clock_out/clock_out_request_builder.py | 6 +- .../item/confirm/confirm_request_builder.py | 6 +- .../end_break/end_break_request_builder.py | 6 +- .../start_break_request_builder.py | 6 +- .../item/time_card_item_request_builder.py | 16 +- .../time_cards/time_cards_request_builder.py | 14 +- .../time_off_reason_item_request_builder.py | 16 +- .../time_off_reasons_request_builder.py | 14 +- .../time_off_request_item_request_builder.py | 16 +- .../time_off_requests_request_builder.py | 10 +- .../item/time_off_item_request_builder.py | 16 +- .../times_off/times_off_request_builder.py | 14 +- ...d_activity_notification_request_builder.py | 6 +- ...eamwork_tag_member_item_request_builder.py | 16 +- .../item/members/members_request_builder.py | 14 +- .../item/teamwork_tag_item_request_builder.py | 20 +- .../tags/tags_request_builder.py | 14 +- .../team_definition_request_builder.py | 12 +- .../template/template_request_builder.py | 2 +- .../template_definition_request_builder.py | 2 +- .../unarchive/unarchive_request_builder.py | 6 +- ...emplate_definition_item_request_builder.py | 6 +- ...eam_template_definition_request_builder.py | 4 +- .../all_messages_request_builder.py | 2 +- .../get_all_messages_request_builder.py | 2 +- .../get_open_shifts_get_response.py | 57 ++++ .../get_open_shifts_request_builder.py} | 44 +-- .../all_channels_request_builder.py | 8 +- .../item/channel_item_request_builder.py | 2 +- .../item/archive/archive_request_builder.py | 6 +- .../all_messages_request_builder.py | 2 +- .../item/channels/channels_request_builder.py | 24 +- .../get_all_messages_request_builder.py | 2 +- .../get_all_retained_messages_get_response.py | 57 ++++ ..._all_retained_messages_request_builder.py} | 44 +-- .../item/archive/archive_post_request_body.py | 49 +++ .../item/archive/archive_request_builder.py | 91 ++++++ .../item/channel_item_request_builder.py | 40 ++- .../complete_migration_request_builder.py | 6 +- ...ame_user_principal_name_request_builder.py | 2 +- .../content/content_request_builder.py | 4 +- .../files_folder_request_builder.py | 8 +- .../item/members/add/add_request_builder.py | 6 +- ...onversation_member_item_request_builder.py | 22 +- .../item/members/members_request_builder.py | 14 +- .../messages/delta/delta_request_builder.py | 2 +- .../item/chat_message_item_request_builder.py | 16 +- .../hosted_contents_request_builder.py | 10 +- ...age_hosted_content_item_request_builder.py | 12 +- .../item/value/content_request_builder.py | 4 +- .../replies/delta/delta_request_builder.py | 2 +- .../item/chat_message_item_request_builder.py | 12 +- .../hosted_contents_request_builder.py | 10 +- ...age_hosted_content_item_request_builder.py | 12 +- .../item/value/content_request_builder.py | 4 +- .../set_reaction_request_builder.py | 2 +- .../soft_delete_request_builder.py | 6 +- .../undo_soft_delete_request_builder.py | 6 +- .../unset_reaction_request_builder.py | 2 +- .../item/replies/replies_request_builder.py | 14 +- .../set_reaction_request_builder.py | 2 +- .../soft_delete_request_builder.py | 6 +- .../undo_soft_delete_request_builder.py | 6 +- .../unset_reaction_request_builder.py | 2 +- .../item/messages/messages_request_builder.py | 14 +- .../provision_email_request_builder.py | 6 +- .../remove_email_request_builder.py | 6 +- .../allowed_members_request_builder.py | 8 +- ...onversation_member_item_request_builder.py | 2 +- ..._channel_team_info_item_request_builder.py | 16 +- .../item/team/team_request_builder.py | 2 +- .../shared_with_teams_request_builder.py | 10 +- .../teams_app/teams_app_request_builder.py | 2 +- .../item/teams_tab_item_request_builder.py | 6 +- .../item/tabs/tabs_request_builder.py | 10 +- .../unarchive/unarchive_request_builder.py | 83 +++++ .../teams/item/clone/clone_request_builder.py | 6 +- .../complete_migration_request_builder.py | 6 +- .../teams/item/group/group_request_builder.py | 2 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../incoming_channels_request_builder.py | 8 +- .../item/channel_item_request_builder.py | 4 +- .../installed_apps_request_builder.py | 14 +- .../teams_app/teams_app_request_builder.py | 2 +- .../teams_app_definition_request_builder.py | 2 +- ...s_app_installation_item_request_builder.py | 16 +- .../item/upgrade/upgrade_request_builder.py | 6 +- .../item/members/add/add_request_builder.py | 6 +- ...onversation_member_item_request_builder.py | 20 +- .../item/members/members_request_builder.py | 14 +- ...ms_async_operation_item_request_builder.py | 6 +- .../operations/operations_request_builder.py | 4 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../owners/item/user_item_request_builder.py | 2 +- .../item/owners/owners_request_builder.py | 2 +- ...c_permission_grant_item_request_builder.py | 6 +- .../permission_grants_request_builder.py | 10 +- .../teams/item/photo/photo_request_builder.py | 4 +- .../photo/value/content_request_builder.py | 4 +- .../archive/archive_post_request_body.py | 49 +++ .../archive/archive_request_builder.py | 91 ++++++ .../complete_migration_request_builder.py | 6 +- ...ame_user_principal_name_request_builder.py | 2 +- .../content/content_request_builder.py | 4 +- .../files_folder_request_builder.py | 8 +- .../members/add/add_request_builder.py | 6 +- ...onversation_member_item_request_builder.py | 22 +- .../members/members_request_builder.py | 14 +- .../messages/delta/delta_request_builder.py | 2 +- .../item/chat_message_item_request_builder.py | 16 +- .../hosted_contents_request_builder.py | 10 +- ...age_hosted_content_item_request_builder.py | 12 +- .../item/value/content_request_builder.py | 4 +- .../replies/delta/delta_request_builder.py | 2 +- .../item/chat_message_item_request_builder.py | 12 +- .../hosted_contents_request_builder.py | 10 +- ...age_hosted_content_item_request_builder.py | 12 +- .../item/value/content_request_builder.py | 4 +- .../set_reaction_request_builder.py | 2 +- .../soft_delete_request_builder.py | 6 +- .../undo_soft_delete_request_builder.py | 6 +- .../unset_reaction_request_builder.py | 2 +- .../item/replies/replies_request_builder.py | 14 +- .../set_reaction_request_builder.py | 2 +- .../soft_delete_request_builder.py | 6 +- .../undo_soft_delete_request_builder.py | 6 +- .../unset_reaction_request_builder.py | 2 +- .../messages/messages_request_builder.py | 14 +- .../primary_channel_request_builder.py | 32 +- .../provision_email_request_builder.py | 6 +- .../remove_email_request_builder.py | 6 +- .../allowed_members_request_builder.py | 8 +- ...onversation_member_item_request_builder.py | 2 +- ..._channel_team_info_item_request_builder.py | 16 +- .../item/team/team_request_builder.py | 2 +- .../shared_with_teams_request_builder.py | 10 +- .../teams_app/teams_app_request_builder.py | 2 +- .../item/teams_tab_item_request_builder.py | 6 +- .../tabs/tabs_request_builder.py | 10 +- .../unarchive/unarchive_request_builder.py | 83 +++++ .../day_notes/count/count_request_builder.py | 113 +++++++ .../day_notes/day_notes_request_builder.py | 226 +++++++++++++ .../item/day_note_item_request_builder.py | 216 +++++++++++++ ...ffer_shift_request_item_request_builder.py | 12 +- .../offer_shift_requests_request_builder.py | 14 +- ...ift_change_request_item_request_builder.py | 12 +- ...n_shift_change_requests_request_builder.py | 14 +- .../item/open_shift_item_request_builder.py | 16 +- .../open_shifts_request_builder.py | 14 +- .../item/schedule/schedule_request_builder.py | 22 +- .../scheduling_group_item_request_builder.py | 16 +- .../scheduling_groups_request_builder.py | 14 +- .../schedule/share/share_request_builder.py | 6 +- .../shifts/item/shift_item_request_builder.py | 16 +- .../schedule/shifts/shifts_request_builder.py | 14 +- ...fts_change_request_item_request_builder.py | 12 +- ..._shifts_change_requests_request_builder.py | 14 +- .../clock_in/clock_in_request_builder.py | 6 +- .../clock_out/clock_out_request_builder.py | 6 +- .../item/confirm/confirm_request_builder.py | 6 +- .../end_break/end_break_request_builder.py | 6 +- .../start_break_request_builder.py | 6 +- .../item/time_card_item_request_builder.py | 16 +- .../time_cards/time_cards_request_builder.py | 14 +- .../time_off_reason_item_request_builder.py | 16 +- .../time_off_reasons_request_builder.py | 14 +- .../time_off_request_item_request_builder.py | 16 +- .../time_off_requests_request_builder.py | 10 +- .../item/time_off_item_request_builder.py | 16 +- .../times_off/times_off_request_builder.py | 14 +- ...d_activity_notification_request_builder.py | 6 +- ...eamwork_tag_member_item_request_builder.py | 16 +- .../item/members/members_request_builder.py | 14 +- .../item/teamwork_tag_item_request_builder.py | 20 +- .../teams/item/tags/tags_request_builder.py | 14 +- .../teams/item/team_item_request_builder.py | 16 +- .../item/template/template_request_builder.py | 2 +- .../template_definition_request_builder.py | 2 +- .../unarchive/unarchive_request_builder.py | 6 +- .../generated/teams/teams_request_builder.py | 24 +- .../teams_template_item_request_builder.py | 6 +- .../teams_templates_request_builder.py | 4 +- .../deleted_chats_request_builder.py | 10 +- .../item/deleted_chat_item_request_builder.py | 12 +- .../undo_delete_request_builder.py | 6 +- .../deleted_teams_request_builder.py | 10 +- .../get_all_messages_request_builder.py | 2 +- .../all_messages_request_builder.py | 2 +- .../item/channels/channels_request_builder.py | 14 +- .../get_all_messages_request_builder.py | 2 +- .../get_all_retained_messages_get_response.py | 57 ++++ ...t_all_retained_messages_request_builder.py | 141 +++++++++ .../item/archive/archive_post_request_body.py | 49 +++ .../item/archive/archive_request_builder.py | 91 ++++++ .../item/channel_item_request_builder.py | 26 +- .../complete_migration_request_builder.py | 6 +- ...ame_user_principal_name_request_builder.py | 2 +- .../content/content_request_builder.py | 4 +- .../files_folder_request_builder.py | 8 +- .../item/members/add/add_request_builder.py | 6 +- ...onversation_member_item_request_builder.py | 22 +- .../item/members/members_request_builder.py | 14 +- .../messages/delta/delta_request_builder.py | 2 +- .../item/chat_message_item_request_builder.py | 16 +- .../hosted_contents_request_builder.py | 10 +- ...age_hosted_content_item_request_builder.py | 12 +- .../item/value/content_request_builder.py | 4 +- .../replies/delta/delta_request_builder.py | 2 +- .../item/chat_message_item_request_builder.py | 12 +- .../hosted_contents_request_builder.py | 10 +- ...age_hosted_content_item_request_builder.py | 12 +- .../item/value/content_request_builder.py | 4 +- .../set_reaction_request_builder.py | 2 +- .../soft_delete_request_builder.py | 6 +- .../undo_soft_delete_request_builder.py | 6 +- .../unset_reaction_request_builder.py | 2 +- .../item/replies/replies_request_builder.py | 14 +- .../set_reaction_request_builder.py | 2 +- .../soft_delete_request_builder.py | 6 +- .../undo_soft_delete_request_builder.py | 6 +- .../unset_reaction_request_builder.py | 2 +- .../item/messages/messages_request_builder.py | 14 +- .../provision_email_request_builder.py | 6 +- .../remove_email_request_builder.py | 6 +- .../allowed_members_request_builder.py | 8 +- ...onversation_member_item_request_builder.py | 2 +- ..._channel_team_info_item_request_builder.py | 16 +- .../item/team/team_request_builder.py | 2 +- .../shared_with_teams_request_builder.py | 10 +- .../teams_app/teams_app_request_builder.py | 2 +- .../item/teams_tab_item_request_builder.py | 6 +- .../item/tabs/tabs_request_builder.py | 10 +- .../unarchive/unarchive_request_builder.py | 83 +++++ .../item/deleted_team_item_request_builder.py | 6 +- .../devices/devices_request_builder.py | 10 +- .../item/activity/activity_request_builder.py | 12 +- .../configuration_request_builder.py | 12 +- .../item/health/health_request_builder.py | 12 +- ...k_device_operation_item_request_builder.py | 12 +- .../operations/operations_request_builder.py | 10 +- .../item/restart/restart_request_builder.py | 6 +- .../run_diagnostics_request_builder.py | 6 +- .../teamwork_device_item_request_builder.py | 12 +- .../update_software_request_builder.py | 6 +- ...ification_to_recipients_request_builder.py | 6 +- .../definitions_request_builder.py | 10 +- .../all_channels_request_builder.py | 8 +- .../item/channel_item_request_builder.py | 2 +- .../archive/archive_request_builder.py | 6 +- .../all_messages_request_builder.py | 2 +- .../channels/channels_request_builder.py | 24 +- .../get_all_messages_request_builder.py | 2 +- .../get_all_retained_messages_get_response.py | 57 ++++ ..._all_retained_messages_request_builder.py} | 40 +-- .../item/archive/archive_post_request_body.py | 49 +++ .../item/archive/archive_request_builder.py | 91 ++++++ .../item/channel_item_request_builder.py | 40 ++- .../complete_migration_request_builder.py | 6 +- ...ame_user_principal_name_request_builder.py | 2 +- .../content/content_request_builder.py | 4 +- .../files_folder_request_builder.py | 8 +- .../item/members/add/add_request_builder.py | 6 +- ...onversation_member_item_request_builder.py | 22 +- .../item/members/members_request_builder.py | 14 +- .../messages/delta/delta_request_builder.py | 2 +- .../item/chat_message_item_request_builder.py | 16 +- .../hosted_contents_request_builder.py | 10 +- ...age_hosted_content_item_request_builder.py | 12 +- .../item/value/content_request_builder.py | 4 +- .../replies/delta/delta_request_builder.py | 2 +- .../item/chat_message_item_request_builder.py | 12 +- .../hosted_contents_request_builder.py | 10 +- ...age_hosted_content_item_request_builder.py | 12 +- .../item/value/content_request_builder.py | 4 +- .../set_reaction_request_builder.py | 2 +- .../soft_delete_request_builder.py | 6 +- .../undo_soft_delete_request_builder.py | 6 +- .../unset_reaction_request_builder.py | 2 +- .../item/replies/replies_request_builder.py | 14 +- .../set_reaction_request_builder.py | 2 +- .../soft_delete_request_builder.py | 6 +- .../undo_soft_delete_request_builder.py | 6 +- .../unset_reaction_request_builder.py | 2 +- .../item/messages/messages_request_builder.py | 14 +- .../provision_email_request_builder.py | 6 +- .../remove_email_request_builder.py | 6 +- .../allowed_members_request_builder.py | 8 +- ...onversation_member_item_request_builder.py | 2 +- ..._channel_team_info_item_request_builder.py | 16 +- .../item/team/team_request_builder.py | 2 +- .../shared_with_teams_request_builder.py | 10 +- .../teams_app/teams_app_request_builder.py | 2 +- .../item/teams_tab_item_request_builder.py | 6 +- .../item/tabs/tabs_request_builder.py | 10 +- .../unarchive/unarchive_request_builder.py | 83 +++++ .../clone/clone_request_builder.py | 6 +- .../complete_migration_request_builder.py | 6 +- .../group/group_request_builder.py | 2 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../incoming_channels_request_builder.py | 8 +- .../item/channel_item_request_builder.py | 4 +- .../installed_apps_request_builder.py | 14 +- .../teams_app/teams_app_request_builder.py | 2 +- .../teams_app_definition_request_builder.py | 2 +- ...s_app_installation_item_request_builder.py | 16 +- .../item/upgrade/upgrade_request_builder.py | 6 +- .../members/add/add_request_builder.py | 6 +- ...onversation_member_item_request_builder.py | 20 +- .../members/members_request_builder.py | 14 +- ...ms_async_operation_item_request_builder.py | 6 +- .../operations/operations_request_builder.py | 4 +- .../mailbox_settings_request_builder.py | 4 +- ...ice_provisioning_errors_request_builder.py | 8 +- .../owners/item/user_item_request_builder.py | 2 +- .../owners/owners_request_builder.py | 2 +- ...c_permission_grant_item_request_builder.py | 6 +- .../permission_grants_request_builder.py | 10 +- .../photo/photo_request_builder.py | 4 +- .../photo/value/content_request_builder.py | 4 +- .../archive/archive_post_request_body.py | 49 +++ .../archive/archive_request_builder.py | 91 ++++++ .../complete_migration_request_builder.py | 6 +- ...ame_user_principal_name_request_builder.py | 2 +- .../content/content_request_builder.py | 4 +- .../files_folder_request_builder.py | 8 +- .../members/add/add_request_builder.py | 6 +- ...onversation_member_item_request_builder.py | 22 +- .../members/members_request_builder.py | 14 +- .../messages/delta/delta_request_builder.py | 2 +- .../item/chat_message_item_request_builder.py | 16 +- .../hosted_contents_request_builder.py | 10 +- ...age_hosted_content_item_request_builder.py | 12 +- .../item/value/content_request_builder.py | 4 +- .../replies/delta/delta_request_builder.py | 2 +- .../item/chat_message_item_request_builder.py | 12 +- .../hosted_contents_request_builder.py | 10 +- ...age_hosted_content_item_request_builder.py | 12 +- .../item/value/content_request_builder.py | 4 +- .../set_reaction_request_builder.py | 2 +- .../soft_delete_request_builder.py | 6 +- .../undo_soft_delete_request_builder.py | 6 +- .../unset_reaction_request_builder.py | 2 +- .../item/replies/replies_request_builder.py | 14 +- .../set_reaction_request_builder.py | 2 +- .../soft_delete_request_builder.py | 6 +- .../undo_soft_delete_request_builder.py | 6 +- .../unset_reaction_request_builder.py | 2 +- .../messages/messages_request_builder.py | 14 +- .../primary_channel_request_builder.py | 32 +- .../provision_email_request_builder.py | 6 +- .../remove_email_request_builder.py | 6 +- .../allowed_members_request_builder.py | 8 +- ...onversation_member_item_request_builder.py | 2 +- ..._channel_team_info_item_request_builder.py | 16 +- .../item/team/team_request_builder.py | 2 +- .../shared_with_teams_request_builder.py | 10 +- .../teams_app/teams_app_request_builder.py | 2 +- .../item/teams_tab_item_request_builder.py | 6 +- .../tabs/tabs_request_builder.py | 10 +- .../unarchive/unarchive_request_builder.py | 83 +++++ .../day_notes}/count/count_request_builder.py | 2 +- .../day_notes/day_notes_request_builder.py | 226 +++++++++++++ .../item/day_note_item_request_builder.py} | 71 ++--- ...ffer_shift_request_item_request_builder.py | 12 +- .../offer_shift_requests_request_builder.py | 14 +- ...ift_change_request_item_request_builder.py | 12 +- ...n_shift_change_requests_request_builder.py | 14 +- .../item/open_shift_item_request_builder.py | 16 +- .../open_shifts_request_builder.py | 14 +- .../schedule/schedule_request_builder.py | 22 +- .../scheduling_group_item_request_builder.py | 16 +- .../scheduling_groups_request_builder.py | 14 +- .../schedule/share/share_request_builder.py | 6 +- .../shifts/item/shift_item_request_builder.py | 16 +- .../schedule/shifts/shifts_request_builder.py | 14 +- ...fts_change_request_item_request_builder.py | 12 +- ..._shifts_change_requests_request_builder.py | 14 +- .../clock_in/clock_in_request_builder.py | 6 +- .../clock_out/clock_out_request_builder.py | 6 +- .../item/confirm/confirm_request_builder.py | 6 +- .../end_break/end_break_request_builder.py | 6 +- .../start_break_request_builder.py | 6 +- .../item/time_card_item_request_builder.py | 16 +- .../time_cards/time_cards_request_builder.py | 14 +- .../time_off_reason_item_request_builder.py | 16 +- .../time_off_reasons_request_builder.py | 14 +- .../time_off_request_item_request_builder.py | 16 +- .../time_off_requests_request_builder.py | 10 +- .../item/time_off_item_request_builder.py | 16 +- .../times_off/times_off_request_builder.py | 14 +- ...d_activity_notification_request_builder.py | 6 +- ...eamwork_tag_member_item_request_builder.py | 16 +- .../item/members/members_request_builder.py | 14 +- .../item/teamwork_tag_item_request_builder.py | 20 +- .../tags/tags_request_builder.py | 14 +- .../team_definition_request_builder.py | 12 +- .../template/template_request_builder.py | 2 +- .../template_definition_request_builder.py | 2 +- .../unarchive/unarchive_request_builder.py | 6 +- ...emplate_definition_item_request_builder.py | 12 +- .../team_template_item_request_builder.py | 6 +- .../team_templates_request_builder.py | 12 +- .../teams_app_settings_request_builder.py | 16 +- .../teamwork/teamwork_request_builder.py | 11 +- ...kforce_integration_item_request_builder.py | 20 +- .../workforce_integrations_request_builder.py | 14 +- ...legated_admin_customers_request_builder.py | 10 +- ...ted_admin_customer_item_request_builder.py | 12 +- ..._management_detail_item_request_builder.py | 6 +- ...vice_management_details_request_builder.py | 10 +- ...ted_admin_relationships_request_builder.py | 14 +- .../access_assignments_request_builder.py | 14 +- ..._access_assignment_item_request_builder.py | 20 +- ...admin_relationship_item_request_builder.py | 20 +- ...tionship_operation_item_request_builder.py | 12 +- .../operations/operations_request_builder.py | 10 +- ...lationship_request_item_request_builder.py | 12 +- .../item/requests/requests_request_builder.py | 14 +- ...n_name_with_domain_name_request_builder.py | 2 +- ...enant_id_with_tenant_id_request_builder.py | 2 +- ...ated_policy_compliances_request_builder.py | 10 +- ..._policy_compliance_item_request_builder.py | 6 +- .../app_performances_request_builder.py | 4 +- .../app_performance_item_request_builder.py | 6 +- .../audit_events_request_builder.py | 10 +- .../item/audit_event_item_request_builder.py | 12 +- .../cloud_pc_connections_request_builder.py | 10 +- ...loud_pc_connection_item_request_builder.py | 12 +- .../cloud_pc_devices_request_builder.py | 10 +- .../cloud_pc_device_item_request_builder.py | 12 +- .../cloud_pcs_overview_request_builder.py | 10 +- ...pc_overview_tenant_item_request_builder.py | 12 +- ...access_policy_coverages_request_builder.py | 10 +- ...ss_policy_coverage_item_request_builder.py | 12 +- ...registrations_summaries_request_builder.py | 10 +- ...istrations_summary_item_request_builder.py | 12 +- ...device_app_performances_request_builder.py | 4 +- ...ce_app_performance_item_request_builder.py | 6 +- ...setting_state_summaries_request_builder.py | 10 +- ...ting_state_summary_item_request_builder.py | 12 +- .../device_health_statuses_request_builder.py | 4 +- ...vice_health_status_item_request_builder.py | 6 +- ...e_compliance_trend_item_request_builder.py | 12 +- ...evice_compliance_trends_request_builder.py | 10 +- ..._device_compliance_item_request_builder.py | 12 +- ...aged_device_compliances_request_builder.py | 10 +- .../item/alert/alert_request_builder.py | 2 +- ...d_tenant_alert_log_item_request_builder.py | 6 +- ...naged_tenant_alert_logs_request_builder.py | 4 +- .../alert_rules_request_builder.py | 2 +- ..._tenant_alert_rule_item_request_builder.py | 2 +- ...rt_rule_definition_item_request_builder.py | 6 +- ..._alert_rule_definitions_request_builder.py | 4 +- .../item/alerts/alerts_request_builder.py | 2 +- ...naged_tenant_alert_item_request_builder.py | 2 +- ..._tenant_alert_rule_item_request_builder.py | 6 +- .../rule_definition_request_builder.py | 2 +- ...aged_tenant_alert_rules_request_builder.py | 4 +- .../alert_logs/alert_logs_request_builder.py | 2 +- ...d_tenant_alert_log_item_request_builder.py | 2 +- .../alert_rule/alert_rule_request_builder.py | 2 +- .../api_notifications_request_builder.py | 2 +- ...t_api_notification_item_request_builder.py | 2 +- .../email_notifications_request_builder.py | 2 +- ...email_notification_item_request_builder.py | 2 +- ...naged_tenant_alert_item_request_builder.py | 6 +- ...ants_add_user_input_log_request_builder.py | 2 +- .../managed_tenant_alerts_request_builder.py | 4 +- .../item/alert/alert_request_builder.py | 2 +- ...t_api_notification_item_request_builder.py | 6 +- ...enant_api_notifications_request_builder.py | 4 +- .../item/alert/alert_request_builder.py | 2 +- ...email_notification_item_request_builder.py | 6 +- ...ant_email_notifications_request_builder.py | 4 +- ...ticketing_endpoint_item_request_builder.py | 6 +- ...ant_ticketing_endpoints_request_builder.py | 4 +- .../managed_tenants_request_builder.py | 6 +- ..._deployment_status_item_request_builder.py | 12 +- ...ant_deployment_statuses_request_builder.py | 10 +- ...hange_deployment_status_request_builder.py | 2 +- .../management_action_item_request_builder.py | 12 +- ...h_managed_tenants_apply_request_builder.py | 6 +- .../management_actions_request_builder.py | 10 +- .../management_intent_item_request_builder.py | 12 +- .../management_intents_request_builder.py | 10 +- ...ion_tenant_summary_item_request_builder.py | 6 +- ...ection_tenant_summaries_request_builder.py | 4 +- ...emplate_collection_item_request_builder.py | 6 +- ...anagement_template_item_request_builder.py | 2 +- .../management_templates_request_builder.py | 2 +- ...nt_template_collections_request_builder.py | 4 +- ...tep_tenant_summary_item_request_builder.py | 6 +- ...e_step_tenant_summaries_request_builder.py | 4 +- .../accepted_for_request_builder.py | 2 +- .../deployments_request_builder.py | 4 +- ...te_step_deployment_item_request_builder.py | 6 +- ...hange_deployment_status_request_builder.py | 2 +- .../template_step_version_request_builder.py | 2 +- ...plate_step_version_item_request_builder.py | 6 +- .../template_step_request_builder.py | 2 +- ..._template_step_versions_request_builder.py | 4 +- .../accepted_version_request_builder.py | 2 +- .../management_template_request_builder.py | 2 +- ...ment_template_step_item_request_builder.py | 6 +- ...plate_step_version_item_request_builder.py | 2 +- .../item/versions/versions_request_builder.py | 2 +- ...nagement_template_steps_request_builder.py | 4 +- ...emplate_collection_item_request_builder.py | 2 +- ...nt_template_collections_request_builder.py | 2 +- ...anagement_template_item_request_builder.py | 12 +- ...ment_template_step_item_request_builder.py | 2 +- ...nagement_template_steps_request_builder.py | 2 +- .../management_templates_request_builder.py | 10 +- .../my_role_tenant_item_request_builder.py | 6 +- .../my_roles/my_roles_request_builder.py | 10 +- .../item/tenant_group_item_request_builder.py | 12 +- ...d_tenants_tenant_search_request_builder.py | 2 +- .../tenant_groups_request_builder.py | 10 +- ...aged_tenants_assign_tag_request_builder.py | 6 +- ...ed_tenants_unassign_tag_request_builder.py | 6 +- .../item/tenant_tag_item_request_builder.py | 20 +- .../tenant_tags_request_builder.py | 14 +- ...tenants_offboard_tenant_request_builder.py | 6 +- ...enant_onboarding_status_request_builder.py | 6 +- .../item/tenant_item_request_builder.py | 12 +- .../tenants/tenants_request_builder.py | 10 +- ...omized_information_item_request_builder.py | 16 +- ..._customized_information_request_builder.py | 10 +- ...tailed_information_item_request_builder.py | 12 +- ...ts_detailed_information_request_builder.py | 10 +- ...vice_malware_state_item_request_builder.py | 12 +- ...s_device_malware_states_request_builder.py | 10 +- ...s_protection_state_item_request_builder.py | 12 +- ...ndows_protection_states_request_builder.py | 10 +- .../join_request_request_builder.py | 14 +- ...lti_tenant_organization_request_builder.py | 16 +- ...rganization_member_item_request_builder.py | 16 +- .../tenants/tenants_request_builder.py | 14 +- .../tenant_relationships_request_builder.py | 4 +- .../groups/groups_request_builder.py | 14 +- .../groups/item/group_item_request_builder.py | 16 +- .../item/children/children_request_builder.py | 14 +- .../item/children/children_request_builder.py | 4 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../children/item/set/set_request_builder.py | 2 +- .../item/term_item_request_builder.py | 6 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../children/item/set/set_request_builder.py | 2 +- .../item/term_item_request_builder.py | 6 +- .../parent_group_request_builder.py | 6 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 10 +- .../sets/item/set_item_request_builder.py | 6 +- .../item/children/children_request_builder.py | 4 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../children/item/set/set_request_builder.py | 2 +- .../item/term_item_request_builder.py | 6 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../terms/item/set/set_request_builder.py | 2 +- .../terms/item/term_item_request_builder.py | 20 +- .../sets/item/terms/terms_request_builder.py | 10 +- .../groups/item/sets/sets_request_builder.py | 10 +- .../item/children/children_request_builder.py | 14 +- .../item/children/children_request_builder.py | 4 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../children/item/set/set_request_builder.py | 2 +- .../item/term_item_request_builder.py | 6 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../children/item/set/set_request_builder.py | 2 +- .../item/term_item_request_builder.py | 6 +- .../parent_group_request_builder.py | 6 +- .../item/children/children_request_builder.py | 14 +- .../item/children/children_request_builder.py | 4 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../children/item/set/set_request_builder.py | 2 +- .../item/term_item_request_builder.py | 6 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../children/item/set/set_request_builder.py | 2 +- .../item/term_item_request_builder.py | 6 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 10 +- .../sets/item/set_item_request_builder.py | 6 +- .../item/children/children_request_builder.py | 4 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../children/item/set/set_request_builder.py | 2 +- .../item/term_item_request_builder.py | 6 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../terms/item/set/set_request_builder.py | 2 +- .../terms/item/term_item_request_builder.py | 20 +- .../sets/item/terms/terms_request_builder.py | 10 +- .../parent_group/sets/sets_request_builder.py | 10 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 10 +- .../sets/item/set_item_request_builder.py | 20 +- .../item/children/children_request_builder.py | 4 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../children/item/set/set_request_builder.py | 2 +- .../item/term_item_request_builder.py | 6 +- .../from_term/from_term_request_builder.py | 2 +- .../item/relation_item_request_builder.py | 6 +- .../relations/item/set/set_request_builder.py | 2 +- .../item/to_term/to_term_request_builder.py | 2 +- .../relations/relations_request_builder.py | 4 +- .../terms/item/set/set_request_builder.py | 2 +- .../terms/item/term_item_request_builder.py | 20 +- .../sets/item/terms/terms_request_builder.py | 10 +- .../term_store/sets/sets_request_builder.py | 10 +- .../term_store/term_store_request_builder.py | 14 +- ...eat_submission_policies_request_builder.py | 10 +- ..._submission_policy_item_request_builder.py | 12 +- .../email_threats_request_builder.py | 14 +- ..._threat_submission_item_request_builder.py | 12 +- .../file_threats_request_builder.py | 10 +- ..._threat_submission_item_request_builder.py | 12 +- .../threat_submission_request_builder.py | 4 +- ..._threat_submission_item_request_builder.py | 12 +- .../url_threats_request_builder.py | 14 +- .../generate_key_request_builder.py | 6 +- .../get_active_key_request_builder.py | 2 +- ..._framework_key_set_item_request_builder.py | 16 +- .../upload_certificate_request_builder.py | 6 +- .../upload_pkcs12_request_builder.py | 6 +- .../upload_secret_request_builder.py | 6 +- .../key_sets/key_sets_request_builder.py | 14 +- ...t_framework_policy_item_request_builder.py | 10 +- .../item/value/content_request_builder.py | 4 +- .../policies/policies_request_builder.py | 10 +- .../trust_framework_request_builder.py | 4 +- .../users/delta/delta_request_builder.py | 2 +- .../get_by_ids/get_by_ids_request_builder.py | 6 +- ...naged_app_blocked_users_request_builder.py | 2 +- .../get_user_owned_objects_request_builder.py | 6 +- .../activities/activities_request_builder.py | 4 +- .../history_items_request_builder.py | 4 +- .../item/activity/activity_request_builder.py | 2 +- ...ivity_history_item_item_request_builder.py | 10 +- .../user_activity_item_request_builder.py | 10 +- .../recent/recent_request_builder.py | 2 +- .../agreement_acceptances_request_builder.py | 8 +- ...reement_acceptance_item_request_builder.py | 2 +- .../activity_statistics_request_builder.py | 4 +- ...ctivity_statistics_item_request_builder.py | 6 +- .../analytics/analytics_request_builder.py | 6 +- ...t_requests_for_approval_request_builder.py | 4 +- ...by_current_user_with_on_request_builder.py | 2 +- ...pp_consent_request_item_request_builder.py | 6 +- ...by_current_user_with_on_request_builder.py | 2 +- .../item/approval/approval_request_builder.py | 6 +- .../approval_step_item_request_builder.py | 16 +- .../approval/steps/steps_request_builder.py | 10 +- ...er_consent_request_item_request_builder.py | 12 +- .../user_consent_requests_request_builder.py | 10 +- ...role_assigned_resources_request_builder.py | 8 +- .../service_principal_item_request_builder.py | 2 +- .../app_role_assignments_request_builder.py | 8 +- ...pp_role_assignment_item_request_builder.py | 10 +- .../approvals/approvals_request_builder.py | 4 +- ...by_current_user_with_on_request_builder.py | 2 +- .../item/approval_item_request_builder.py | 6 +- .../approval_step_item_request_builder.py | 16 +- .../item/steps/steps_request_builder.py | 10 +- .../assign_license_request_builder.py | 6 +- .../authentication_request_builder.py | 6 +- .../email_methods_request_builder.py | 14 +- ...hentication_method_item_request_builder.py | 20 +- .../fido2_methods_request_builder.py | 8 +- ...hentication_method_item_request_builder.py | 14 +- ...hentication_method_item_request_builder.py | 10 +- .../disable_sms_sign_in_request_builder.py | 2 +- .../enable_sms_sign_in_request_builder.py | 2 +- .../reset_password_request_builder.py | 2 +- .../methods/methods_request_builder.py | 10 +- .../item/device/device_request_builder.py | 2 +- ...hentication_method_item_request_builder.py | 14 +- ...t_authenticator_methods_request_builder.py | 8 +- ..._running_operation_item_request_builder.py | 12 +- .../operations/operations_request_builder.py | 10 +- ...hentication_method_item_request_builder.py | 8 +- .../password_methods_request_builder.py | 10 +- .../item/device/device_request_builder.py | 2 +- ...hentication_method_item_request_builder.py | 14 +- ...t_authenticator_methods_request_builder.py | 8 +- ...hentication_method_item_request_builder.py | 20 +- .../phone_methods_request_builder.py | 14 +- .../item/device/device_request_builder.py | 8 +- ...hentication_method_item_request_builder.py | 16 +- ...form_credential_methods_request_builder.py | 9 +- ...hentication_method_item_request_builder.py | 14 +- .../software_oath_methods_request_builder.py | 8 +- ...hentication_method_item_request_builder.py | 14 +- ...ary_access_pass_methods_request_builder.py | 14 +- .../item/device/device_request_builder.py | 2 +- ...hentication_method_item_request_builder.py | 14 +- ...lo_for_business_methods_request_builder.py | 8 +- ...sharing_roles_with_user_request_builder.py | 2 +- .../calendar_permissions_request_builder.py | 14 +- ...alendar_permission_item_request_builder.py | 20 +- .../item/calendar/calendar_request_builder.py | 60 +++- .../calendar_view_request_builder.py | 2 +- .../delta/delta_request_builder.py | 8 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../delta/delta_request_builder.py | 8 +- .../exception_occurrences_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../instances/delta/delta_request_builder.py | 8 +- .../instances/instances_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../instances/delta/delta_request_builder.py | 8 +- .../instances/instances_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../delta/delta_request_builder.py | 8 +- .../exception_occurrences_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../events/delta/delta_request_builder.py | 8 +- .../calendar/events/events_request_builder.py | 14 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../events/item/event_item_request_builder.py | 6 +- .../delta/delta_request_builder.py | 8 +- .../exception_occurrences_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../instances/delta/delta_request_builder.py | 8 +- .../instances/instances_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../instances/delta/delta_request_builder.py | 8 +- .../instances/instances_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../delta/delta_request_builder.py | 8 +- .../exception_occurrences_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../get_schedule_request_builder.py | 6 +- .../calendar_groups_request_builder.py | 14 +- .../calendar_group_item_request_builder.py | 20 +- .../calendars/calendars_request_builder.py | 14 +- ...sharing_roles_with_user_request_builder.py | 2 +- .../item/calendar_item_request_builder.py | 6 +- .../calendar_permissions_request_builder.py | 14 +- ...alendar_permission_item_request_builder.py | 20 +- .../calendar_view_request_builder.py | 8 +- .../delta/delta_request_builder.py | 8 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../delta/delta_request_builder.py | 8 +- .../exception_occurrences_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../instances/delta/delta_request_builder.py | 8 +- .../instances/instances_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../instances/delta/delta_request_builder.py | 8 +- .../instances/instances_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../delta/delta_request_builder.py | 8 +- .../exception_occurrences_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../events/delta/delta_request_builder.py | 8 +- .../item/events/events_request_builder.py | 14 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../events/item/event_item_request_builder.py | 6 +- .../delta/delta_request_builder.py | 8 +- .../exception_occurrences_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../instances/delta/delta_request_builder.py | 8 +- .../instances/instances_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../instances/delta/delta_request_builder.py | 8 +- .../instances/instances_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../delta/delta_request_builder.py | 8 +- .../exception_occurrences_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../get_schedule_request_builder.py | 6 +- .../calendar_view_request_builder.py | 2 +- .../delta/delta_request_builder.py | 8 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../delta/delta_request_builder.py | 8 +- .../exception_occurrences_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../instances/delta/delta_request_builder.py | 8 +- .../instances/instances_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../instances/delta/delta_request_builder.py | 8 +- .../instances/instances_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../delta/delta_request_builder.py | 8 +- .../exception_occurrences_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../calendars/calendars_request_builder.py | 14 +- ...sharing_roles_with_user_request_builder.py | 2 +- .../item/calendar_item_request_builder.py | 6 +- .../calendar_permissions_request_builder.py | 14 +- ...alendar_permission_item_request_builder.py | 20 +- .../calendar_view_request_builder.py | 2 +- .../delta/delta_request_builder.py | 8 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../delta/delta_request_builder.py | 8 +- .../exception_occurrences_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../instances/delta/delta_request_builder.py | 8 +- .../instances/instances_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../instances/delta/delta_request_builder.py | 8 +- .../instances/instances_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../delta/delta_request_builder.py | 8 +- .../exception_occurrences_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../events/delta/delta_request_builder.py | 8 +- .../item/events/events_request_builder.py | 14 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../events/item/event_item_request_builder.py | 6 +- .../delta/delta_request_builder.py | 8 +- .../exception_occurrences_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../instances/delta/delta_request_builder.py | 8 +- .../instances/instances_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../instances/delta/delta_request_builder.py | 8 +- .../instances/instances_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../delta/delta_request_builder.py | 8 +- .../exception_occurrences_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../get_schedule_request_builder.py | 6 +- .../change_password_request_builder.py | 6 +- .../all_messages_request_builder.py | 2 +- .../users/item/chats/chats_request_builder.py | 20 +- .../get_all_messages_request_builder.py | 2 +- .../get_all_retained_messages_get_response.py | 57 ++++ ...t_all_retained_messages_request_builder.py | 141 +++++++++ .../chats/item/chat_item_request_builder.py | 22 +- .../hide_for_user_request_builder.py | 6 +- .../installed_apps_request_builder.py | 14 +- .../teams_app/teams_app_request_builder.py | 2 +- .../teams_app_definition_request_builder.py | 2 +- ...s_app_installation_item_request_builder.py | 16 +- .../item/upgrade/upgrade_request_builder.py | 6 +- .../last_message_preview_request_builder.py | 6 +- ...mark_chat_read_for_user_request_builder.py | 6 +- ...rk_chat_unread_for_user_request_builder.py | 6 +- .../item/members/add/add_request_builder.py | 6 +- ...onversation_member_item_request_builder.py | 16 +- .../item/members/members_request_builder.py | 14 +- .../messages/delta/delta_request_builder.py | 2 +- .../item/chat_message_item_request_builder.py | 12 +- .../hosted_contents_request_builder.py | 10 +- ...age_hosted_content_item_request_builder.py | 12 +- .../item/value/content_request_builder.py | 4 +- .../replies/delta/delta_request_builder.py | 2 +- .../item/chat_message_item_request_builder.py | 12 +- .../hosted_contents_request_builder.py | 10 +- ...age_hosted_content_item_request_builder.py | 12 +- .../item/value/content_request_builder.py | 4 +- .../set_reaction_request_builder.py | 2 +- .../soft_delete_request_builder.py | 6 +- .../undo_soft_delete_request_builder.py | 6 +- .../unset_reaction_request_builder.py | 2 +- .../item/replies/replies_request_builder.py | 14 +- .../set_reaction_request_builder.py | 2 +- .../soft_delete_request_builder.py | 6 +- .../undo_soft_delete_request_builder.py | 6 +- .../unset_reaction_request_builder.py | 2 +- .../item/messages/messages_request_builder.py | 14 +- ...ms_async_operation_item_request_builder.py | 12 +- .../operations/operations_request_builder.py | 10 +- ...c_permission_grant_item_request_builder.py | 6 +- .../permission_grants_request_builder.py | 10 +- .../item/message/message_request_builder.py | 2 +- ..._chat_message_info_item_request_builder.py | 10 +- .../pinned_messages_request_builder.py | 14 +- ...e_all_access_for_user_post_request_body.py | 56 ++++ ...ove_all_access_for_user_request_builder.py | 92 ++++++ ...d_activity_notification_request_builder.py | 6 +- .../teams_app/teams_app_request_builder.py | 2 +- .../item/teams_tab_item_request_builder.py | 20 +- .../chats/item/tabs/tabs_request_builder.py | 14 +- .../unhide_for_user_request_builder.py | 6 +- .../check_member_groups_request_builder.py | 6 +- .../check_member_objects_request_builder.py | 2 +- .../bulk_resize_request_builder.py | 6 +- .../cloud_p_cs/cloud_p_cs_request_builder.py | 10 +- ...id_with_service_plan_id_request_builder.py | 2 +- ...hange_user_account_type_request_builder.py | 6 +- .../item/cloud_p_c_item_request_builder.py | 12 +- .../create_snapshot_request_builder.py | 2 +- .../end_grace_period_request_builder.py | 6 +- ...pc_connectivity_history_request_builder.py | 2 +- ...et_cloud_pc_launch_info_request_builder.py | 2 +- ...e_cloud_pc_access_state_request_builder.py | 2 +- ...k_cloud_pc_access_state_request_builder.py | 2 +- ...cloud_pc_remote_actions_request_builder.py | 2 +- .../power_off/power_off_request_builder.py | 6 +- .../item/power_on/power_on_request_builder.py | 6 +- .../item/reboot/reboot_request_builder.py | 6 +- .../item/rename/rename_request_builder.py | 6 +- .../reprovision_request_builder.py | 6 +- .../item/resize/resize_request_builder.py | 2 +- .../item/restore/restore_request_builder.py | 6 +- ...tner_agent_installation_request_builder.py | 6 +- .../item/start/start_request_builder.py | 6 +- .../item/stop/stop_request_builder.py | 6 +- .../troubleshoot_request_builder.py | 6 +- .../validate_bulk_resize_request_builder.py | 6 +- .../contact_folders_request_builder.py | 14 +- .../delta/delta_request_builder.py | 8 +- .../child_folders_request_builder.py | 14 +- .../delta/delta_request_builder.py | 8 +- .../contact_folder_item_request_builder.py | 6 +- .../item/contacts/contacts_request_builder.py | 14 +- .../contacts/delta/delta_request_builder.py | 8 +- .../item/contact_item_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 4 +- .../item/extension_item_request_builder.py | 6 +- .../item/photo/photo_request_builder.py | 4 +- .../photo/value/content_request_builder.py | 4 +- .../contact_folder_item_request_builder.py | 20 +- .../item/contacts/contacts_request_builder.py | 14 +- .../contacts/delta/delta_request_builder.py | 8 +- .../item/contact_item_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 4 +- .../item/extension_item_request_builder.py | 6 +- .../item/photo/photo_request_builder.py | 4 +- .../photo/value/content_request_builder.py | 4 +- .../item/contacts/contacts_request_builder.py | 14 +- .../contacts/delta/delta_request_builder.py | 8 +- .../item/contact_item_request_builder.py | 20 +- .../extensions/extensions_request_builder.py | 4 +- .../item/extension_item_request_builder.py | 6 +- .../item/photo/photo_request_builder.py | 4 +- .../photo/value/content_request_builder.py | 4 +- .../created_objects_request_builder.py | 8 +- ...graph_service_principal_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- ...e_sign_on_credentials_post_request_body.py | 49 +++ ...gle_sign_on_credentials_request_builder.py | 91 ++++++ ...ification_configuration_request_builder.py | 2 +- ...rollment_configurations_request_builder.py | 4 +- .../has_payload_links_request_builder.py | 2 +- .../item/assign/assign_request_builder.py | 2 +- .../assignments_request_builder.py | 4 +- ...uration_assignment_item_request_builder.py | 6 +- ...ment_configuration_item_request_builder.py | 6 +- .../set_priority_request_builder.py | 2 +- ..._troubleshooting_events_request_builder.py | 4 +- ...ubleshooting_event_item_request_builder.py | 6 +- .../devices/delta/delta_request_builder.py | 2 +- .../item/devices/devices_request_builder.py | 4 +- .../item/commands/commands_request_builder.py | 4 +- .../item/command_item_request_builder.py | 6 +- .../responsepayload_request_builder.py | 2 +- .../item/device_item_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 4 +- .../item/extension_item_request_builder.py | 6 +- ...aph_administrative_unit_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 2 +- ...aph_administrative_unit_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../member_of/member_of_request_builder.py | 2 +- .../graph_endpoint_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../graph_endpoint_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../item/ref/ref_request_builder.py | 8 +- .../ref/ref_request_builder.py | 8 +- .../registered_owners_request_builder.py | 4 +- .../graph_endpoint_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../graph_endpoint_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../item/ref/ref_request_builder.py | 8 +- .../ref/ref_request_builder.py | 8 +- .../registered_users_request_builder.py | 4 +- ...aph_administrative_unit_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 2 +- ...aph_administrative_unit_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../transitive_member_of_request_builder.py | 2 +- .../item/usage_right_item_request_builder.py | 6 +- .../usage_rights_request_builder.py | 10 +- .../direct_reports_request_builder.py | 8 +- .../graph_org_contact_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 8 +- .../graph_org_contact_request_builder.py | 2 +- .../graph_user/graph_user_request_builder.py | 2 +- .../users/item/drive/drive_request_builder.py | 8 +- .../item/drives/drives_request_builder.py | 8 +- .../drives/item/drive_item_request_builder.py | 2 +- .../employee_experience_request_builder.py | 6 +- ...ng_course_activity_item_request_builder.py | 8 +- ...rning_course_activities_request_builder.py | 8 +- .../events/delta/delta_request_builder.py | 8 +- .../item/events/events_request_builder.py | 14 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../events/item/event_item_request_builder.py | 20 +- .../delta/delta_request_builder.py | 8 +- .../exception_occurrences_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../instances/delta/delta_request_builder.py | 8 +- .../instances/instances_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../instances/delta/delta_request_builder.py | 8 +- .../instances/instances_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../delta/delta_request_builder.py | 8 +- .../exception_occurrences_request_builder.py | 2 +- .../item/accept/accept_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 14 +- .../item/calendar/calendar_request_builder.py | 2 +- .../item/cancel/cancel_request_builder.py | 6 +- .../item/decline/decline_request_builder.py | 6 +- .../dismiss_reminder_request_builder.py | 6 +- .../item/event_item_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 12 +- .../item/forward/forward_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- .../snooze_reminder_request_builder.py | 6 +- .../tentatively_accept_request_builder.py | 6 +- ...and_app_management_data_request_builder.py | 2 +- ...data_with_skip_with_top_request_builder.py | 2 +- .../export_personal_data_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 4 +- .../item/extension_item_request_builder.py | 6 +- .../find_meeting_times_request_builder.py | 6 +- .../find_room_lists_request_builder.py | 8 +- .../find_rooms/find_rooms_request_builder.py | 2 +- ...nd_rooms_with_room_list_request_builder.py | 2 +- .../followed_sites_request_builder.py | 8 +- .../item/site_item_request_builder.py | 2 +- ...rollment_configurations_request_builder.py | 2 +- ...gged_on_managed_devices_request_builder.py | 2 +- .../get_mail_tips_request_builder.py | 6 +- ...app_diagnostic_statuses_request_builder.py | 2 +- ...et_managed_app_policies_request_builder.py | 2 +- ...vices_with_app_failures_request_builder.py | 2 +- ..._failed_or_pending_apps_request_builder.py | 2 +- .../get_member_groups_request_builder.py | 6 +- .../get_member_objects_request_builder.py | 2 +- ...ingle_sign_on_credentials_post_response.py | 57 ++++ ...gle_sign_on_credentials_request_builder.py | 86 +++++ ...nference_classification_request_builder.py | 4 +- ...ification_override_item_request_builder.py | 14 +- .../overrides/overrides_request_builder.py | 14 +- .../bitlocker/bitlocker_request_builder.py | 2 +- ...ocker_recovery_key_item_request_builder.py | 8 +- .../recovery_keys_request_builder.py | 8 +- ...oss_prevention_policies_request_builder.py | 4 +- .../evaluate/evaluate_request_builder.py | 2 +- ..._prevention_policy_item_request_builder.py | 6 +- .../decrypt_buffer_request_builder.py | 2 +- .../encrypt_buffer_request_builder.py | 2 +- .../information_protection_request_builder.py | 6 +- .../evaluate_application_request_builder.py | 6 +- ..._classification_results_request_builder.py | 6 +- .../evaluate_removal_request_builder.py | 6 +- .../extract_label_request_builder.py | 6 +- ...n_protection_label_item_request_builder.py | 12 +- .../policy/labels/labels_request_builder.py | 10 +- .../policy/policy_request_builder.py | 6 +- .../evaluate/evaluate_request_builder.py | 2 +- .../sensitivity_label_item_request_builder.py | 6 +- .../evaluate/evaluate_request_builder.py | 2 +- .../sensitivity_label_item_request_builder.py | 6 +- .../sublabels/sublabels_request_builder.py | 4 +- .../sensitivity_labels_request_builder.py | 4 +- ...itivity_policy_settings_request_builder.py | 6 +- .../sign_digest_request_builder.py | 2 +- ..._assessment_result_item_request_builder.py | 6 +- .../item/results/results_request_builder.py | 4 +- ...assessment_request_item_request_builder.py | 12 +- ...eat_assessment_requests_request_builder.py | 14 +- .../verify_signature_request_builder.py | 2 +- .../item/insights/insights_request_builder.py | 6 +- .../last_shared_method_request_builder.py | 2 +- .../item/resource/resource_request_builder.py | 2 +- .../shared_insight_item_request_builder.py | 6 +- .../insights/shared/shared_request_builder.py | 4 +- .../item/resource/resource_request_builder.py | 2 +- .../item/trending_item_request_builder.py | 6 +- .../trending/trending_request_builder.py | 4 +- .../item/resource/resource_request_builder.py | 2 +- .../item/used_insight_item_request_builder.py | 6 +- .../insights/used/used_request_builder.py | 4 +- ...date_all_refresh_tokens_request_builder.py | 6 +- ...anaged_app_user_blocked_request_builder.py | 2 +- .../delta/delta_request_builder.py | 2 +- ...uate_dynamic_membership_request_builder.py | 2 +- .../joined_groups_request_builder.py | 2 +- .../item/team_item_request_builder.py | 8 +- .../joined_teams_request_builder.py | 8 +- ...teams_licensing_details_request_builder.py | 86 +++++ .../license_details_item_request_builder.py | 6 +- .../license_details_request_builder.py | 20 +- .../delta/delta_request_builder.py | 8 +- .../child_folders_request_builder.py | 8 +- .../delta/delta_request_builder.py | 8 +- .../item/copy/copy_request_builder.py | 6 +- .../item/mail_folder_item_request_builder.py | 6 +- .../item/message_rule_item_request_builder.py | 20 +- .../message_rules_request_builder.py | 14 +- .../messages/delta/delta_request_builder.py | 15 +- .../attachments_request_builder.py | 16 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 10 +- .../item/copy/copy_request_builder.py | 6 +- .../create_forward_request_builder.py | 6 +- .../create_reply_request_builder.py | 6 +- .../create_reply_all_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 16 +- .../item/forward/forward_request_builder.py | 6 +- .../mark_as_junk_request_builder.py | 6 +- .../mark_as_not_junk_request_builder.py | 6 +- .../item/mention_item_request_builder.py | 8 +- .../item/mentions/mentions_request_builder.py | 4 +- .../item/message_item_request_builder.py | 6 +- .../item/move/move_request_builder.py | 6 +- .../item/reply/reply_request_builder.py | 6 +- .../reply_all/reply_all_request_builder.py | 6 +- .../item/send/send_request_builder.py | 6 +- .../unsubscribe_request_builder.py | 6 +- .../item/value/content_request_builder.py | 4 +- .../item/messages/messages_request_builder.py | 14 +- .../item/move/move_request_builder.py | 6 +- ...user_configuration_item_request_builder.py | 2 +- .../user_configurations_request_builder.py | 2 +- .../item/copy/copy_request_builder.py | 6 +- .../item/mail_folder_item_request_builder.py | 14 +- .../item/message_rule_item_request_builder.py | 20 +- .../message_rules_request_builder.py | 14 +- .../messages/delta/delta_request_builder.py | 15 +- .../attachments_request_builder.py | 16 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 10 +- .../item/copy/copy_request_builder.py | 6 +- .../create_forward_request_builder.py | 6 +- .../create_reply_request_builder.py | 6 +- .../create_reply_all_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 16 +- .../item/forward/forward_request_builder.py | 6 +- .../mark_as_junk_request_builder.py | 6 +- .../mark_as_not_junk_request_builder.py | 6 +- .../item/mention_item_request_builder.py | 8 +- .../item/mentions/mentions_request_builder.py | 4 +- .../item/message_item_request_builder.py | 6 +- .../item/move/move_request_builder.py | 6 +- .../item/reply/reply_request_builder.py | 6 +- .../reply_all/reply_all_request_builder.py | 6 +- .../item/send/send_request_builder.py | 6 +- .../unsubscribe_request_builder.py | 6 +- .../item/value/content_request_builder.py | 4 +- .../item/messages/messages_request_builder.py | 14 +- .../item/move/move_request_builder.py | 6 +- ...user_configuration_item_request_builder.py | 2 +- .../user_configurations_request_builder.py | 2 +- .../mail_folders_request_builder.py | 8 +- .../mailbox_settings_request_builder.py | 4 +- ...d_app_registration_item_request_builder.py | 2 +- ...naged_app_registrations_request_builder.py | 2 +- ...pp_diagnostics_with_upn_request_builder.py | 2 +- ...lk_reprovision_cloud_pc_request_builder.py | 6 +- .../bulk_restore_cloud_pc_request_builder.py | 6 +- ..._cloud_pc_review_status_request_builder.py | 6 +- ...ownload_app_diagnostics_request_builder.py | 2 +- .../execute_action_request_builder.py | 2 +- .../activate_device_esim_request_builder.py | 2 +- ...aluation_status_details_request_builder.py | 4 +- ...ion_status_details_item_request_builder.py | 6 +- .../bypass_activation_lock_request_builder.py | 2 +- .../clean_windows_device_request_builder.py | 2 +- ..._log_collection_request_request_builder.py | 2 +- ...rom_shared_apple_device_request_builder.py | 2 +- .../deprovision_request_builder.py | 2 +- .../detected_apps_request_builder.py | 2 +- .../item/detected_app_item_request_builder.py | 2 +- .../device_category_request_builder.py | 6 +- ...ompliance_policy_states_request_builder.py | 4 +- ...iance_policy_state_item_request_builder.py | 6 +- ...ce_configuration_states_request_builder.py | 4 +- ...onfiguration_state_item_request_builder.py | 6 +- ...ce_health_script_states_request_builder.py | 4 +- ...olicy_id_with_device_id_request_builder.py | 6 +- .../item/disable/disable_request_builder.py | 2 +- .../disable_lost_mode_request_builder.py | 2 +- .../enable_lost_mode_request_builder.py | 2 +- .../enroll_now_action_request_builder.py | 2 +- ...c_remote_action_results_request_builder.py | 2 +- ..._cloud_pc_review_status_request_builder.py | 2 +- .../get_file_vault_key_request_builder.py | 2 +- ..._non_compliant_settings_request_builder.py | 2 +- ...management_key_recovery_request_builder.py | 2 +- ...d_proactive_remediation_request_builder.py | 2 +- .../locate_device_request_builder.py | 2 +- .../create_download_url_request_builder.py | 2 +- ...ollection_response_item_request_builder.py | 6 +- ...log_collection_requests_request_builder.py | 4 +- ...pple_device_active_user_request_builder.py | 2 +- .../managed_device_item_request_builder.py | 16 +- ...onfiguration_state_item_request_builder.py | 6 +- ...pp_configuration_states_request_builder.py | 4 +- ...erride_compliance_state_request_builder.py | 2 +- ...configuration_refresh_post_request_body.py | 49 +++ ...e_configuration_refresh_request_builder.py | 91 ++++++ .../play_lost_mode_sound_request_builder.py | 2 +- .../reboot_now/reboot_now_request_builder.py | 2 +- .../recover_passcode_request_builder.py | 2 +- .../item/reenable/reenable_request_builder.py | 2 +- .../remote_lock_request_builder.py | 2 +- ...on_interface_management_request_builder.py | 2 +- .../reprovision_cloud_pc_request_builder.py | 6 +- ...quest_remote_assistance_request_builder.py | 2 +- .../reset_passcode_request_builder.py | 2 +- .../resize_cloud_pc_request_builder.py | 6 +- .../restore_cloud_pc_request_builder.py | 6 +- .../item/retire/retire_request_builder.py | 2 +- ...voke_apple_vpp_licenses_request_builder.py | 2 +- .../rotate_bit_locker_keys_request_builder.py | 2 +- .../rotate_file_vault_key_request_builder.py | 2 +- ...te_local_admin_password_request_builder.py | 2 +- ...ity_baseline_state_item_request_builder.py | 6 +- ...line_setting_state_item_request_builder.py | 6 +- .../setting_states_request_builder.py | 4 +- ...ecurity_baseline_states_request_builder.py | 4 +- ...ation_to_company_portal_request_builder.py | 2 +- ..._cloud_pc_review_status_request_builder.py | 6 +- .../set_device_name_request_builder.py | 2 +- .../shut_down/shut_down_request_builder.py | 2 +- .../sync_device_request_builder.py | 2 +- ...guration_manager_action_request_builder.py | 2 +- ..._windows_device_account_request_builder.py | 2 +- .../item/users/users_request_builder.py | 2 +- .../windows_defender_scan_request_builder.py | 2 +- ...ender_update_signatures_request_builder.py | 2 +- .../detected_malware_state_request_builder.py | 4 +- ...vice_malware_state_item_request_builder.py | 6 +- ...indows_protection_state_request_builder.py | 6 +- .../item/wipe/wipe_request_builder.py | 2 +- .../managed_devices_request_builder.py | 4 +- .../move_devices_to_o_u_request_builder.py | 2 +- .../item/manager/manager_request_builder.py | 14 +- .../item/manager/ref/ref_request_builder.py | 18 +- ...aph_administrative_unit_request_builder.py | 2 +- .../graph_directory_role_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 8 +- ...aph_administrative_unit_request_builder.py | 2 +- .../graph_directory_role_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../member_of/member_of_request_builder.py | 8 +- .../messages/delta/delta_request_builder.py | 15 +- .../attachments_request_builder.py | 16 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 10 +- .../item/copy/copy_request_builder.py | 6 +- .../create_forward_request_builder.py | 6 +- .../create_reply_request_builder.py | 6 +- .../create_reply_all_request_builder.py | 6 +- .../extensions/extensions_request_builder.py | 14 +- .../item/extension_item_request_builder.py | 16 +- .../item/forward/forward_request_builder.py | 6 +- .../mark_as_junk_request_builder.py | 6 +- .../mark_as_not_junk_request_builder.py | 6 +- .../item/mention_item_request_builder.py | 8 +- .../item/mentions/mentions_request_builder.py | 4 +- .../item/message_item_request_builder.py | 20 +- .../item/move/move_request_builder.py | 6 +- .../item/reply/reply_request_builder.py | 6 +- .../reply_all/reply_all_request_builder.py | 6 +- .../item/send/send_request_builder.py | 6 +- .../unsubscribe_request_builder.py | 6 +- .../item/value/content_request_builder.py | 6 +- .../item/messages/messages_request_builder.py | 10 +- ...p_intent_and_state_item_request_builder.py | 6 +- ...e_app_intent_and_states_request_builder.py | 4 +- ...log_collection_requests_request_builder.py | 4 +- ...collection_request_item_request_builder.py | 6 +- .../create_download_url_request_builder.py | 2 +- ...ubleshooting_event_item_request_builder.py | 6 +- ..._troubleshooting_events_request_builder.py | 4 +- .../item/notification_item_request_builder.py | 6 +- .../notifications_request_builder.py | 4 +- ...2_permission_grant_item_request_builder.py | 2 +- ...auth2_permission_grants_request_builder.py | 8 +- ...t_notebook_from_web_url_request_builder.py | 6 +- ...lude_personal_notebooks_request_builder.py | 2 +- .../copy_notebook_request_builder.py | 6 +- .../item/notebook_item_request_builder.py | 12 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_group_request_builder.py | 2 +- .../section_group_item_request_builder.py | 6 +- .../section_group_item_request_builder.py | 2 +- .../section_groups_request_builder.py | 8 +- .../copy_to_notebook_request_builder.py | 6 +- .../copy_to_section_group_request_builder.py | 6 +- .../onenote_section_item_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../copy_to_section_request_builder.py | 6 +- .../item/onenote_page_item_request_builder.py | 6 +- .../onenote_patch_content_request_builder.py | 2 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_request_builder.py | 2 +- .../item/preview/preview_request_builder.py | 2 +- .../item/pages/pages_request_builder.py | 4 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_group_request_builder.py | 2 +- .../item/sections/sections_request_builder.py | 14 +- .../section_groups_request_builder.py | 14 +- .../copy_to_notebook_request_builder.py | 6 +- .../copy_to_section_group_request_builder.py | 6 +- .../onenote_section_item_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../copy_to_section_request_builder.py | 6 +- .../item/onenote_page_item_request_builder.py | 6 +- .../onenote_patch_content_request_builder.py | 2 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_request_builder.py | 2 +- .../item/preview/preview_request_builder.py | 2 +- .../item/pages/pages_request_builder.py | 4 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_group_request_builder.py | 2 +- .../item/sections/sections_request_builder.py | 14 +- .../notebooks/notebooks_request_builder.py | 14 +- .../item/onenote/onenote_request_builder.py | 6 +- .../onenote_operation_item_request_builder.py | 12 +- .../operations/operations_request_builder.py | 10 +- .../item/content/content_request_builder.py | 4 +- .../copy_to_section_request_builder.py | 6 +- .../item/onenote_page_item_request_builder.py | 10 +- .../onenote_patch_content_request_builder.py | 2 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_request_builder.py | 2 +- .../item/preview/preview_request_builder.py | 2 +- .../onenote/pages/pages_request_builder.py | 4 +- .../item/content/content_request_builder.py | 4 +- .../onenote_resource_item_request_builder.py | 6 +- .../resources/resources_request_builder.py | 4 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_group_request_builder.py | 2 +- .../section_group_item_request_builder.py | 12 +- .../section_group_item_request_builder.py | 2 +- .../section_groups_request_builder.py | 8 +- .../copy_to_notebook_request_builder.py | 6 +- .../copy_to_section_group_request_builder.py | 6 +- .../onenote_section_item_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../copy_to_section_request_builder.py | 6 +- .../item/onenote_page_item_request_builder.py | 6 +- .../onenote_patch_content_request_builder.py | 2 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_request_builder.py | 2 +- .../item/preview/preview_request_builder.py | 2 +- .../item/pages/pages_request_builder.py | 4 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_group_request_builder.py | 2 +- .../item/sections/sections_request_builder.py | 14 +- .../section_groups_request_builder.py | 10 +- .../copy_to_notebook_request_builder.py | 6 +- .../copy_to_section_group_request_builder.py | 6 +- .../onenote_section_item_request_builder.py | 12 +- .../item/content/content_request_builder.py | 4 +- .../copy_to_section_request_builder.py | 6 +- .../item/onenote_page_item_request_builder.py | 6 +- .../onenote_patch_content_request_builder.py | 2 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_request_builder.py | 2 +- .../item/preview/preview_request_builder.py | 2 +- .../item/pages/pages_request_builder.py | 4 +- .../parent_notebook_request_builder.py | 2 +- .../parent_section_group_request_builder.py | 2 +- .../sections/sections_request_builder.py | 10 +- .../create_or_get_request_builder.py | 6 +- .../get_all_recordings_request_builder.py | 2 +- .../get_all_transcripts_request_builder.py | 2 +- .../alternative_recording_request_builder.py | 4 +- .../attendance_reports_request_builder.py | 15 +- .../attendance_records_request_builder.py | 10 +- .../attendance_record_item_request_builder.py | 6 +- ..._attendance_report_item_request_builder.py | 15 +- .../attendee_report_request_builder.py | 4 +- .../broadcast_recording_request_builder.py | 4 +- ...ppointment_join_web_url_request_builder.py | 2 +- .../attendance_records_request_builder.py | 10 +- .../attendance_record_item_request_builder.py | 6 +- ...eting_attendance_report_request_builder.py | 12 +- .../online_meeting_item_request_builder.py | 42 ++- .../recording/recording_request_builder.py | 4 +- .../recordings/delta/delta_request_builder.py | 2 +- .../call_recording_item_request_builder.py | 12 +- .../item/content/content_request_builder.py | 4 +- .../recordings/recordings_request_builder.py | 10 +- .../custom_questions_request_builder.py | 14 +- ...istration_question_item_request_builder.py | 20 +- ...ng_registrant_base_item_request_builder.py | 6 +- .../registrants_request_builder.py | 4 +- .../registration_request_builder.py | 22 +- ...ointment_reminder_sms_post_request_body.py | 63 ++++ ...ppointment_reminder_sms_request_builder.py | 92 ++++++ ...rtual_appointment_sms_post_request_body.py | 63 ++++ ...virtual_appointment_sms_request_builder.py | 92 ++++++ .../delta/delta_request_builder.py | 2 +- .../call_transcript_item_request_builder.py | 12 +- .../item/content/content_request_builder.py | 4 +- .../metadata_content_request_builder.py | 4 +- .../transcripts_request_builder.py | 10 +- .../online_meetings_request_builder.py | 14 +- .../outlook_category_item_request_builder.py | 20 +- .../master_categories_request_builder.py | 14 +- .../item/outlook/outlook_request_builder.py | 2 +- .../supported_languages_request_builder.py | 8 +- .../supported_time_zones_request_builder.py | 2 +- ...with_time_zone_standard_request_builder.py | 2 +- ...utlook_task_folder_item_request_builder.py | 20 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 4 +- .../item/complete/complete_request_builder.py | 6 +- .../item/outlook_task_item_request_builder.py | 6 +- .../item/tasks/tasks_request_builder.py | 14 +- .../task_folders_request_builder.py | 14 +- ...outlook_task_group_item_request_builder.py | 12 +- ...utlook_task_folder_item_request_builder.py | 6 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 4 +- .../item/complete/complete_request_builder.py | 6 +- .../item/outlook_task_item_request_builder.py | 6 +- .../item/tasks/tasks_request_builder.py | 14 +- .../task_folders_request_builder.py | 14 +- .../task_groups_request_builder.py | 14 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../item/attachment_item_request_builder.py | 4 +- .../item/complete/complete_request_builder.py | 6 +- .../item/outlook_task_item_request_builder.py | 20 +- .../outlook/tasks/tasks_request_builder.py | 14 +- .../graph_device_request_builder.py | 2 +- .../graph_endpoint_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 8 +- .../graph_device_request_builder.py | 2 +- .../graph_endpoint_request_builder.py | 2 +- .../owned_devices_request_builder.py | 8 +- .../graph_application_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 8 +- .../graph_application_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- ...graph_service_principal_request_builder.py | 2 +- .../owned_objects_request_builder.py | 8 +- ...by_current_user_with_on_request_builder.py | 2 +- .../accept_recommendations_request_builder.py | 6 +- ...ss_review_instance_item_request_builder.py | 12 +- .../apply_decisions_request_builder.py | 6 +- .../batch_record_decisions_request_builder.py | 6 +- .../contacted_reviewers_request_builder.py | 10 +- ...ss_review_reviewer_item_request_builder.py | 6 +- .../decisions/decisions_request_builder.py | 10 +- ...by_current_user_with_on_request_builder.py | 2 +- ...ance_decision_item_item_request_builder.py | 12 +- .../item/insights/insights_request_builder.py | 4 +- ...governance_insight_item_request_builder.py | 6 +- .../record_all_decisions_request_builder.py | 6 +- .../definition/definition_request_builder.py | 2 +- .../reset_decisions_request_builder.py | 6 +- .../send_reminder_request_builder.py | 6 +- ...by_current_user_with_on_request_builder.py | 2 +- ...ccess_review_stage_item_request_builder.py | 16 +- .../decisions/decisions_request_builder.py | 10 +- ...by_current_user_with_on_request_builder.py | 2 +- ...ance_decision_item_item_request_builder.py | 16 +- .../item/insights/insights_request_builder.py | 4 +- ...governance_insight_item_request_builder.py | 6 +- .../record_all_decisions_request_builder.py | 6 +- .../stages/item/stop/stop_request_builder.py | 6 +- .../item/stages/stages_request_builder.py | 10 +- .../item/stop/stop_request_builder.py | 6 +- .../stop_apply_decisions_request_builder.py | 2 +- ...access_review_instances_request_builder.py | 10 +- .../item/person_item_request_builder.py | 8 +- .../item/people/people_request_builder.py | 8 +- ...c_permission_grant_item_request_builder.py | 6 +- .../permission_grants_request_builder.py | 10 +- .../users/item/photo/photo_request_builder.py | 49 +-- .../photo/value/content_request_builder.py | 4 +- .../profile_photo_item_request_builder.py | 8 +- .../item/value/content_request_builder.py | 4 +- .../item/photos/photos_request_builder.py | 8 +- .../item/planner/all/all_request_builder.py | 4 +- .../all/delta/delta_request_builder.py | 2 +- .../planner_delta_item_request_builder.py | 6 +- .../favorite_plans_request_builder.py | 8 +- .../item/planner_plan_item_request_builder.py | 2 +- .../item/planner/planner_request_builder.py | 12 +- .../plans/delta/delta_request_builder.py | 2 +- .../item/archive/archive_post_request_body.py | 49 +++ .../item/archive/archive_request_builder.py | 91 ++++++ .../item/buckets/buckets_request_builder.py | 10 +- .../buckets/delta/delta_request_builder.py | 2 +- .../planner_bucket_item_request_builder.py | 6 +- .../item/tasks/delta/delta_request_builder.py | 2 +- ...ed_to_task_board_format_request_builder.py | 12 +- ...ucket_task_board_format_request_builder.py | 12 +- .../item/details/details_request_builder.py | 12 +- .../item/planner_task_item_request_builder.py | 6 +- ...gress_task_board_format_request_builder.py | 12 +- .../item/tasks/tasks_request_builder.py | 10 +- .../item/details/details_request_builder.py | 12 +- .../move_to_container_request_builder.py | 7 +- .../item/planner_plan_item_request_builder.py | 26 +- .../item/tasks/delta/delta_request_builder.py | 2 +- ...ed_to_task_board_format_request_builder.py | 12 +- ...ucket_task_board_format_request_builder.py | 12 +- .../item/details/details_request_builder.py | 12 +- .../item/planner_task_item_request_builder.py | 6 +- ...gress_task_board_format_request_builder.py | 12 +- .../plans/item/tasks/tasks_request_builder.py | 10 +- .../unarchive/unarchive_post_request_body.py | 49 +++ .../unarchive/unarchive_request_builder.py | 91 ++++++ .../planner/plans/plans_request_builder.py | 10 +- .../item/planner_plan_item_request_builder.py | 2 +- .../recent_plans_request_builder.py | 8 +- .../item/planner_plan_item_request_builder.py | 2 +- .../roster_plans_request_builder.py | 8 +- .../tasks/delta/delta_request_builder.py | 2 +- ...ed_to_task_board_format_request_builder.py | 12 +- ...ucket_task_board_format_request_builder.py | 12 +- .../item/details/details_request_builder.py | 12 +- .../item/planner_task_item_request_builder.py | 6 +- ...gress_task_board_format_request_builder.py | 12 +- .../planner/tasks/tasks_request_builder.py | 10 +- .../clear_presence_request_builder.py | 6 +- ...user_preferred_presence_request_builder.py | 6 +- .../item/presence/presence_request_builder.py | 14 +- .../set_presence_request_builder.py | 6 +- .../set_status_message_request_builder.py | 6 +- ...user_preferred_presence_request_builder.py | 6 +- .../account/account_request_builder.py | 14 +- ...ccount_information_item_request_builder.py | 20 +- .../addresses/addresses_request_builder.py | 14 +- .../item/item_address_item_request_builder.py | 20 +- .../anniversaries_request_builder.py | 14 +- ...erson_annual_event_item_request_builder.py | 20 +- .../profile/awards/awards_request_builder.py | 14 +- .../item/person_award_item_request_builder.py | 20 +- .../certifications_request_builder.py | 14 +- ...rson_certification_item_request_builder.py | 20 +- .../educational_activities_request_builder.py | 14 +- ...ucational_activity_item_request_builder.py | 20 +- .../profile/emails/emails_request_builder.py | 14 +- .../item/item_email_item_request_builder.py | 20 +- .../interests/interests_request_builder.py | 14 +- .../person_interest_item_request_builder.py | 20 +- ...nguage_proficiency_item_request_builder.py | 20 +- .../languages/languages_request_builder.py | 14 +- .../item/person_name_item_request_builder.py | 20 +- .../profile/names/names_request_builder.py | 14 +- .../person_annotation_item_request_builder.py | 20 +- .../profile/notes/notes_request_builder.py | 14 +- .../item/item_patent_item_request_builder.py | 20 +- .../patents/patents_request_builder.py | 14 +- .../item/item_phone_item_request_builder.py | 20 +- .../profile/phones/phones_request_builder.py | 14 +- .../work_position_item_request_builder.py | 20 +- .../positions/positions_request_builder.py | 14 +- .../item/profile/profile_request_builder.py | 16 +- ...ject_participation_item_request_builder.py | 20 +- .../projects/projects_request_builder.py | 14 +- .../item_publication_item_request_builder.py | 20 +- .../publications_request_builder.py | 14 +- .../skill_proficiency_item_request_builder.py | 20 +- .../profile/skills/skills_request_builder.py | 14 +- .../item/web_account_item_request_builder.py | 20 +- .../web_accounts_request_builder.py | 14 +- .../person_website_item_request_builder.py | 20 +- .../websites/websites_request_builder.py | 14 +- .../graph_device_request_builder.py | 2 +- .../graph_endpoint_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 2 +- .../graph_device_request_builder.py | 2 +- .../graph_endpoint_request_builder.py | 2 +- .../registered_devices_request_builder.py | 2 +- ...time_with_end_date_time_request_builder.py | 2 +- ...devices_from_management_request_builder.py | 2 +- ...cess_license_assignment_request_builder.py | 6 +- .../item/restore/restore_request_builder.py | 6 +- ...ry_service_provisioning_request_builder.py | 6 +- ...revoke_sign_in_sessions_request_builder.py | 6 +- ...ed_role_membership_item_request_builder.py | 6 +- .../scoped_role_member_of_request_builder.py | 10 +- .../information_protection_request_builder.py | 6 +- .../label_policy_settings_request_builder.py | 12 +- .../item/parent/parent_request_builder.py | 6 +- .../sensitivity_label_item_request_builder.py | 6 +- ...ty_evaluate_application_request_builder.py | 6 +- ..._classification_results_request_builder.py | 6 +- ...curity_evaluate_removal_request_builder.py | 6 +- ...y_extract_content_label_request_builder.py | 6 +- .../sensitivity_labels_request_builder.py | 10 +- .../item/security/security_request_builder.py | 6 +- .../send_mail/send_mail_request_builder.py | 6 +- ...ice_provisioning_errors_request_builder.py | 8 +- ...ntact_merge_suggestions_request_builder.py | 16 +- .../item_insights_request_builder.py | 16 +- ...l_and_language_settings_request_builder.py | 16 +- .../item/settings/settings_request_builder.py | 6 +- .../shift_preferences_request_builder.py | 12 +- .../directory_object_item_request_builder.py | 10 +- .../item/sponsors/sponsors_request_builder.py | 8 +- .../associated_teams_request_builder.py | 10 +- ...sociated_team_info_item_request_builder.py | 6 +- .../item/team/team_request_builder.py | 2 +- .../installed_apps_request_builder.py | 14 +- .../item/chat/chat_request_builder.py | 8 +- .../teams_app/teams_app_request_builder.py | 2 +- .../teams_app_definition_request_builder.py | 2 +- ...s_app_installation_item_request_builder.py | 16 +- ...d_activity_notification_request_builder.py | 6 +- .../item/teamwork/teamwork_request_builder.py | 13 +- .../todo/lists/delta/delta_request_builder.py | 2 +- .../extensions/extensions_request_builder.py | 4 +- .../item/extension_item_request_builder.py | 6 +- .../item/tasks/delta/delta_request_builder.py | 2 +- .../attachment_sessions_request_builder.py | 2 +- ...attachment_session_item_request_builder.py | 6 +- .../item/content/content_request_builder.py | 4 +- .../attachments_request_builder.py | 14 +- .../create_upload_session_request_builder.py | 6 +- .../attachment_base_item_request_builder.py | 14 +- .../item/value/content_request_builder.py | 4 +- .../checklist_items_request_builder.py | 14 +- .../checklist_item_item_request_builder.py | 20 +- .../extensions/extensions_request_builder.py | 4 +- .../item/extension_item_request_builder.py | 6 +- .../linked_resource_item_request_builder.py | 20 +- .../linked_resources_request_builder.py | 14 +- .../item/todo_task_item_request_builder.py | 20 +- .../lists/item/tasks/tasks_request_builder.py | 14 +- .../todo_task_list_item_request_builder.py | 20 +- .../item/todo/lists/lists_request_builder.py | 14 +- .../users/item/todo/todo_request_builder.py | 6 +- ...aph_administrative_unit_request_builder.py | 2 +- .../graph_directory_role_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../directory_object_item_request_builder.py | 8 +- ...aph_administrative_unit_request_builder.py | 2 +- .../graph_directory_role_request_builder.py | 2 +- .../graph_group_request_builder.py | 2 +- .../transitive_member_of_request_builder.py | 8 +- .../directory_object_item_request_builder.py | 2 +- .../transitive_reports_request_builder.py | 2 +- .../translate_exchange_ids_request_builder.py | 6 +- .../unblock_managed_apps_request_builder.py | 2 +- .../item/usage_right_item_request_builder.py | 6 +- .../usage_rights_request_builder.py | 10 +- .../users/item/user_item_request_builder.py | 40 ++- .../virtual_events_request_builder.py | 6 +- ...tual_event_webinar_item_request_builder.py | 2 +- .../webinars/webinars_request_builder.py | 2 +- ...evice_registration_item_request_builder.py | 2 +- ...on_device_registrations_request_builder.py | 2 +- ..._and_block_managed_apps_request_builder.py | 2 +- ...istration_by_device_tag_request_builder.py | 2 +- ...s_by_azure_ad_device_id_request_builder.py | 2 +- ...strations_by_device_tag_request_builder.py | 2 +- .../generated/users/users_request_builder.py | 14 +- .../validate_password_request_builder.py | 6 +- .../validate_properties_request_builder.py | 6 +- 10965 files changed, 81496 insertions(+), 36429 deletions(-) create mode 100644 msgraph_beta/generated/admin/microsoft365_apps/installation_options/installation_options_request_builder.py create mode 100644 msgraph_beta/generated/admin/microsoft365_apps/microsoft365_apps_request_builder.py create mode 100644 msgraph_beta/generated/app/calls/item/send_dtmf_tones/send_dtmf_tones_post_request_body.py create mode 100644 msgraph_beta/generated/app/calls/item/send_dtmf_tones/send_dtmf_tones_request_builder.py create mode 100644 msgraph_beta/generated/app/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py create mode 100644 msgraph_beta/generated/app/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_request_builder.py create mode 100644 msgraph_beta/generated/app/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py create mode 100644 msgraph_beta/generated/app/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_request_builder.py create mode 100644 msgraph_beta/generated/chats/get_all_retained_messages/get_all_retained_messages_get_response.py rename msgraph_beta/generated/{solutions/virtual_events/events/item/sessions/item/recordings/delta/delta_request_builder.py => chats/get_all_retained_messages/get_all_retained_messages_request_builder.py} (72%) create mode 100644 msgraph_beta/generated/chats/item/remove_all_access_for_user/remove_all_access_for_user_post_request_body.py create mode 100644 msgraph_beta/generated/chats/item/remove_all_access_for_user/remove_all_access_for_user_request_builder.py create mode 100644 msgraph_beta/generated/communications/call_records/item/organizer_v2/organizer_v2_request_builder.py create mode 100644 msgraph_beta/generated/communications/call_records/item/participants_v2/count/count_request_builder.py create mode 100644 msgraph_beta/generated/communications/call_records/item/participants_v2/item/participant_item_request_builder.py create mode 100644 msgraph_beta/generated/communications/call_records/item/participants_v2/participants_v2_request_builder.py create mode 100644 msgraph_beta/generated/communications/calls/item/send_dtmf_tones/send_dtmf_tones_post_request_body.py create mode 100644 msgraph_beta/generated/communications/calls/item/send_dtmf_tones/send_dtmf_tones_request_builder.py create mode 100644 msgraph_beta/generated/communications/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py create mode 100644 msgraph_beta/generated/communications/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_request_builder.py create mode 100644 msgraph_beta/generated/communications/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py create mode 100644 msgraph_beta/generated/communications/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_request_builder.py create mode 100644 msgraph_beta/generated/device_management/comanaged_devices/item/pause_configuration_refresh/pause_configuration_refresh_post_request_body.py create mode 100644 msgraph_beta/generated/device_management/comanaged_devices/item/pause_configuration_refresh/pause_configuration_refresh_request_builder.py create mode 100644 msgraph_beta/generated/device_management/configuration_policies/item/retrieve_latest_upgrade_default_baseline_policy/retrieve_latest_upgrade_default_baseline_policy_request_builder.py create mode 100644 msgraph_beta/generated/device_management/elevation_requests/count/count_request_builder.py create mode 100644 msgraph_beta/generated/device_management/elevation_requests/elevation_requests_request_builder.py create mode 100644 msgraph_beta/generated/device_management/elevation_requests/item/approve/approve_post_request_body.py create mode 100644 msgraph_beta/generated/device_management/elevation_requests/item/approve/approve_request_builder.py create mode 100644 msgraph_beta/generated/device_management/elevation_requests/item/deny/deny_post_request_body.py create mode 100644 msgraph_beta/generated/device_management/elevation_requests/item/deny/deny_request_builder.py create mode 100644 msgraph_beta/generated/device_management/elevation_requests/item/get_all_elevation_requests/get_all_elevation_requests_post_response.py create mode 100644 msgraph_beta/generated/device_management/elevation_requests/item/get_all_elevation_requests/get_all_elevation_requests_request_builder.py create mode 100644 msgraph_beta/generated/device_management/elevation_requests/item/privilege_management_elevation_request_item_request_builder.py create mode 100644 msgraph_beta/generated/device_management/managed_devices/item/pause_configuration_refresh/pause_configuration_refresh_post_request_body.py create mode 100644 msgraph_beta/generated/device_management/managed_devices/item/pause_configuration_refresh/pause_configuration_refresh_request_builder.py create mode 100644 msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/retrieve_latest_upgrade_default_baseline_policy/retrieve_latest_upgrade_default_baseline_policy_request_builder.py create mode 100644 msgraph_beta/generated/device_management/virtual_endpoint/reports/get_action_status_reports/get_action_status_reports_post_request_body.py create mode 100644 msgraph_beta/generated/device_management/virtual_endpoint/reports/get_action_status_reports/get_action_status_reports_request_builder.py create mode 100644 msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_performance_report/get_cloud_pc_performance_report_post_request_body.py create mode 100644 msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_performance_report/get_cloud_pc_performance_report_request_builder.py create mode 100644 msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_recommendation_reports/get_cloud_pc_recommendation_reports_post_request_body.py create mode 100644 msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_recommendation_reports/get_cloud_pc_recommendation_reports_request_builder.py create mode 100644 msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_cross_region_disaster_recovery_report/retrieve_cross_region_disaster_recovery_report_post_request_body.py create mode 100644 msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_cross_region_disaster_recovery_report/retrieve_cross_region_disaster_recovery_report_request_builder.py create mode 100644 msgraph_beta/generated/device_management/virtual_endpoint/retrieve_scoped_permissions/retrieve_scoped_permissions_get_response.py create mode 100644 msgraph_beta/generated/device_management/virtual_endpoint/retrieve_scoped_permissions/retrieve_scoped_permissions_request_builder.py create mode 100644 msgraph_beta/generated/device_management/virtual_endpoint/retrieve_tenant_encryption_setting/retrieve_tenant_encryption_setting_request_builder.py create mode 100644 msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/excuse/excuse_request_builder.py create mode 100644 msgraph_beta/generated/education/me/assignments/item/submissions/item/excuse/excuse_request_builder.py create mode 100644 msgraph_beta/generated/education/users/item/assignments/item/submissions/item/excuse/excuse_request_builder.py create mode 100644 msgraph_beta/generated/employee_experience/communities/communities_request_builder.py create mode 100644 msgraph_beta/generated/employee_experience/communities/count/count_request_builder.py create mode 100644 msgraph_beta/generated/employee_experience/communities/item/community_item_request_builder.py create mode 100644 msgraph_beta/generated/employee_experience/communities/item/group/group_request_builder.py create mode 100644 msgraph_beta/generated/employee_experience/communities/item/group/service_provisioning_errors/count/count_request_builder.py create mode 100644 msgraph_beta/generated/employee_experience/communities/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py create mode 100644 msgraph_beta/generated/employee_experience/communities/item/owners/count/count_request_builder.py create mode 100644 msgraph_beta/generated/employee_experience/communities/item/owners/item/mailbox_settings/mailbox_settings_request_builder.py create mode 100644 msgraph_beta/generated/employee_experience/communities/item/owners/item/service_provisioning_errors/count/count_request_builder.py create mode 100644 msgraph_beta/generated/employee_experience/communities/item/owners/item/service_provisioning_errors/service_provisioning_errors_request_builder.py create mode 100644 msgraph_beta/generated/employee_experience/communities/item/owners/item/user_item_request_builder.py create mode 100644 msgraph_beta/generated/employee_experience/communities/item/owners/owners_request_builder.py create mode 100644 msgraph_beta/generated/employee_experience/engagement_async_operations/count/count_request_builder.py create mode 100644 msgraph_beta/generated/employee_experience/engagement_async_operations/engagement_async_operations_request_builder.py create mode 100644 msgraph_beta/generated/employee_experience/engagement_async_operations/item/engagement_async_operation_item_request_builder.py create mode 100644 msgraph_beta/generated/employee_experience/goals/export_jobs/count/count_request_builder.py create mode 100644 msgraph_beta/generated/employee_experience/goals/export_jobs/export_jobs_request_builder.py rename msgraph_beta/generated/{solutions/virtual_events/events/item/sessions/item/recordings => employee_experience/goals/export_jobs}/item/content/content_request_builder.py (85%) create mode 100644 msgraph_beta/generated/employee_experience/goals/export_jobs/item/goals_export_job_item_request_builder.py create mode 100644 msgraph_beta/generated/employee_experience/goals/goals_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/planner/plans/item/archive/archive_post_request_body.py create mode 100644 msgraph_beta/generated/groups/item/planner/plans/item/archive/archive_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/planner/plans/item/unarchive/unarchive_post_request_body.py create mode 100644 msgraph_beta/generated/groups/item/planner/plans/item/unarchive/unarchive_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/sites/item/pages/graph_site_page/count/count_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/sites/item/pages/graph_site_page/graph_site_page_request_builder.py rename msgraph_beta/generated/{solutions/virtual_events/events/item/sessions/item/recordings/item/call_recording_item_request_builder.py => groups/item/sites/item/pages/item/graph_site_page/canvas_layout/canvas_layout_request_builder.py} (63%) create mode 100644 msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/count/count_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/horizontal_sections_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/columns_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/count/count_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/horizontal_section_column_item_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/count/count_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/item/get_position_of_web_part/get_position_of_web_part_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/item/web_part_item_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/webparts_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/horizontal_section_item_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/vertical_section_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/count/count_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/item/get_position_of_web_part/get_position_of_web_part_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/item/web_part_item_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/webparts_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/created_by_user/created_by_user_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/created_by_user/mailbox_settings/mailbox_settings_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/created_by_user/service_provisioning_errors/count/count_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/graph_site_page_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/last_modified_by_user/last_modified_by_user_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py rename msgraph_beta/generated/{solutions/virtual_events/events/item/sessions/item/registration/registrants => groups/item/sites/item/pages/item/graph_site_page/web_parts}/count/count_request_builder.py (95%) create mode 100644 msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/web_parts/item/get_position_of_web_part/get_position_of_web_part_request_builder.py rename msgraph_beta/generated/{solutions/virtual_events/events/item/sessions/item/meeting_attendance_report/attendance_records/item/attendance_record_item_request_builder.py => groups/item/sites/item/pages/item/graph_site_page/web_parts/item/web_part_item_request_builder.py} (71%) rename msgraph_beta/generated/{solutions/virtual_events/events/item/sessions/item/registration/registrants/registrants_request_builder.py => groups/item/sites/item/pages/item/graph_site_page/web_parts/web_parts_request_builder.py} (67%) create mode 100644 msgraph_beta/generated/groups/item/team/channels/get_all_retained_messages/get_all_retained_messages_get_response.py create mode 100644 msgraph_beta/generated/groups/item/team/channels/get_all_retained_messages/get_all_retained_messages_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/team/channels/item/archive/archive_post_request_body.py create mode 100644 msgraph_beta/generated/groups/item/team/channels/item/archive/archive_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/team/channels/item/unarchive/unarchive_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/team/primary_channel/archive/archive_post_request_body.py create mode 100644 msgraph_beta/generated/groups/item/team/primary_channel/archive/archive_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/team/primary_channel/unarchive/unarchive_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/team/schedule/day_notes/count/count_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/team/schedule/day_notes/day_notes_request_builder.py create mode 100644 msgraph_beta/generated/groups/item/team/schedule/day_notes/item/day_note_item_request_builder.py create mode 100644 msgraph_beta/generated/identity/authentication_events_flows/item/conditions/applications/applications_request_builder.py create mode 100644 msgraph_beta/generated/identity/authentication_events_flows/item/conditions/applications/include_applications/count/count_request_builder.py create mode 100644 msgraph_beta/generated/identity/authentication_events_flows/item/conditions/applications/include_applications/include_applications_request_builder.py create mode 100644 msgraph_beta/generated/identity/authentication_events_flows/item/conditions/applications/include_applications/item/authentication_condition_application_app_item_request_builder.py create mode 100644 msgraph_beta/generated/identity/authentication_events_flows/item/conditions/conditions_request_builder.py create mode 100644 msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/conditions/applications/applications_request_builder.py create mode 100644 msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/conditions/applications/include_applications/count/count_request_builder.py rename msgraph_beta/generated/{solutions/virtual_events/events/item/sessions/item/transcripts/transcripts_request_builder.py => identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/conditions/applications/include_applications/include_applications_request_builder.py} (63%) create mode 100644 msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/conditions/applications/include_applications/item/authentication_condition_application_app_item_request_builder.py create mode 100644 msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/conditions/conditions_request_builder.py create mode 100644 msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_attribute_collection/graph_on_attribute_collection_external_users_self_service_sign_up/attributes/item/ref/ref_request_builder.py create mode 100644 msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_attribute_collection/graph_on_attribute_collection_external_users_self_service_sign_up/attributes/ref/ref_request_builder.py create mode 100644 msgraph_beta/generated/models/admin_microsoft365_apps.py create mode 100644 msgraph_beta/generated/models/air_print_settings.py create mode 100644 msgraph_beta/generated/models/all_device_registration_membership.py create mode 100644 msgraph_beta/generated/models/android_device_owner_location_mode.py create mode 100644 msgraph_beta/generated/models/application_detail.py create mode 100644 msgraph_beta/generated/models/apps_installation_options_for_mac.py create mode 100644 msgraph_beta/generated/models/apps_installation_options_for_windows.py create mode 100644 msgraph_beta/generated/models/apps_update_channel_type.py create mode 100644 msgraph_beta/generated/models/attendee_notification_info.py create mode 100644 msgraph_beta/generated/models/authentication_condition_application_collection_response.py rename msgraph_beta/generated/models/{azure_ad_join_policy.py => azure_a_d_join_policy.py} (54%) create mode 100644 msgraph_beta/generated/models/booking_page_access_control.py create mode 100644 msgraph_beta/generated/models/booking_page_settings.py create mode 100644 msgraph_beta/generated/models/call_records/organizer.py create mode 100644 msgraph_beta/generated/models/call_records/participant.py create mode 100644 msgraph_beta/generated/models/call_records/participant_base.py create mode 100644 msgraph_beta/generated/models/call_records/participant_collection_response.py create mode 100644 msgraph_beta/generated/models/call_records/user_identity.py create mode 100644 msgraph_beta/generated/models/channel_sharing_updated_event_message_detail.py create mode 100644 msgraph_beta/generated/models/cloud_p_c_inaccessible_report_name.py create mode 100644 msgraph_beta/generated/models/cloud_p_c_performance_report_name.py create mode 100644 msgraph_beta/generated/models/cloud_pc_bulk_disaster_recovery_failback.py create mode 100644 msgraph_beta/generated/models/cloud_pc_bulk_disaster_recovery_failover.py create mode 100644 msgraph_beta/generated/models/cloud_pc_bulk_modify_disk_encryption_type.py create mode 100644 msgraph_beta/generated/models/cloud_pc_cross_region_disaster_recovery_setting.py create mode 100644 msgraph_beta/generated/models/cloud_pc_device_image_error_code.py create mode 100644 msgraph_beta/generated/models/cloud_pc_disaster_recovery_azure_connection_setting.py create mode 100644 msgraph_beta/generated/models/cloud_pc_disaster_recovery_capability.py create mode 100644 msgraph_beta/generated/models/cloud_pc_disaster_recovery_capability_type.py create mode 100644 msgraph_beta/generated/models/cloud_pc_disaster_recovery_microsoft_hosted_network_setting.py create mode 100644 msgraph_beta/generated/models/cloud_pc_disaster_recovery_network_setting.py create mode 100644 msgraph_beta/generated/models/cloud_pc_disk_encryption_type.py create mode 100644 msgraph_beta/generated/models/cloud_pc_on_premises_connection_status_detail.py create mode 100644 msgraph_beta/generated/models/cloud_pc_restore_point_frequency_type.py create mode 100644 msgraph_beta/generated/models/cloud_pc_scoped_permission.py create mode 100644 msgraph_beta/generated/models/cloud_pc_tenant_encryption_setting.py create mode 100644 msgraph_beta/generated/models/cloud_pc_windows_setting.py create mode 100644 msgraph_beta/generated/models/community.py rename msgraph_beta/generated/{solutions/virtual_events/events/item/sessions/item/transcripts/delta/delta_get_response.py => models/community_collection_response.py} (66%) create mode 100644 msgraph_beta/generated/models/community_privacy.py create mode 100644 msgraph_beta/generated/models/day_note.py rename msgraph_beta/generated/{solutions/virtual_events/webinars/item/sessions/item/recordings/delta/delta_get_response.py => models/day_note_collection_response.py} (66%) create mode 100644 msgraph_beta/generated/models/device_identity_attestation_detail.py create mode 100644 msgraph_beta/generated/models/device_identity_attestation_status.py create mode 100644 msgraph_beta/generated/models/device_management/condition_category.py create mode 100644 msgraph_beta/generated/models/device_management/relationship_type.py create mode 100644 msgraph_beta/generated/models/device_management/rule_condition.py create mode 100644 msgraph_beta/generated/models/device_registration_membership.py create mode 100644 msgraph_beta/generated/models/elevation_request_state.py create mode 100644 msgraph_beta/generated/models/engagement_async_operation.py create mode 100644 msgraph_beta/generated/models/engagement_async_operation_collection_response.py create mode 100644 msgraph_beta/generated/models/engagement_async_operation_type.py create mode 100644 msgraph_beta/generated/models/enumerated_device_registration_membership.py create mode 100644 msgraph_beta/generated/models/goals.py create mode 100644 msgraph_beta/generated/models/goals_export_job.py create mode 100644 msgraph_beta/generated/models/goals_export_job_collection_response.py create mode 100644 msgraph_beta/generated/models/horizontal_section_collection_response.py create mode 100644 msgraph_beta/generated/models/horizontal_section_column_collection_response.py create mode 100644 msgraph_beta/generated/models/incompatible_printer_settings.py create mode 100644 msgraph_beta/generated/models/m365_apps_installation_options.py create mode 100644 msgraph_beta/generated/models/messaging_redirect_app_type.py create mode 100644 msgraph_beta/generated/models/networkaccess/conditional_access_policy_collection_response.py create mode 100644 msgraph_beta/generated/models/networkaccess/filtering_policy.py create mode 100644 msgraph_beta/generated/models/networkaccess/filtering_policy_action.py create mode 100644 msgraph_beta/generated/models/networkaccess/filtering_policy_collection_response.py create mode 100644 msgraph_beta/generated/models/networkaccess/filtering_policy_link.py create mode 100644 msgraph_beta/generated/models/networkaccess/filtering_profile.py create mode 100644 msgraph_beta/generated/models/networkaccess/filtering_profile_collection_response.py create mode 100644 msgraph_beta/generated/models/networkaccess/filtering_rule.py create mode 100644 msgraph_beta/generated/models/networkaccess/fqdn_filtering_rule.py create mode 100644 msgraph_beta/generated/models/networkaccess/internet_access_forwarding_rule.py create mode 100644 msgraph_beta/generated/models/networkaccess/remote_network_health_event.py create mode 100644 msgraph_beta/generated/models/networkaccess/remote_network_health_event_collection_response.py create mode 100644 msgraph_beta/generated/models/networkaccess/remote_network_status.py create mode 100644 msgraph_beta/generated/models/networkaccess/web_category.py create mode 100644 msgraph_beta/generated/models/networkaccess/web_category_filtering_rule.py create mode 100644 msgraph_beta/generated/models/no_device_registration_membership.py create mode 100644 msgraph_beta/generated/models/on_attribute_collection_start_custom_extension.py create mode 100644 msgraph_beta/generated/models/on_attribute_collection_start_custom_extension_handler.py create mode 100644 msgraph_beta/generated/models/on_attribute_collection_start_handler.py create mode 100644 msgraph_beta/generated/models/on_attribute_collection_start_listener.py create mode 100644 msgraph_beta/generated/models/on_attribute_collection_submit_custom_extension.py create mode 100644 msgraph_beta/generated/models/on_attribute_collection_submit_custom_extension_handler.py create mode 100644 msgraph_beta/generated/models/on_attribute_collection_submit_handler.py create mode 100644 msgraph_beta/generated/models/on_attribute_collection_submit_listener.py create mode 100644 msgraph_beta/generated/models/online_meeting_base.py create mode 100644 msgraph_beta/generated/models/planner_approval_requirement.py create mode 100644 msgraph_beta/generated/models/planner_approval_status.py create mode 100644 msgraph_beta/generated/models/planner_archival_info.py create mode 100644 msgraph_beta/generated/models/planner_base_approval_attachment.py create mode 100644 msgraph_beta/generated/models/planner_basic_approval_attachment.py create mode 100644 msgraph_beta/generated/models/planner_forms_dictionary.py create mode 100644 msgraph_beta/generated/models/planner_forms_requirement.py create mode 100644 msgraph_beta/generated/models/printer_discovery_settings.py create mode 100644 msgraph_beta/generated/models/privilege_management_elevation_request.py create mode 100644 msgraph_beta/generated/models/privilege_management_elevation_request_collection_response.py create mode 100644 msgraph_beta/generated/models/remind_before_time_in_minutes_type.py create mode 100644 msgraph_beta/generated/models/scope_tag_group_assignment_target.py create mode 100644 msgraph_beta/generated/models/security/audit_core_root.py create mode 100644 msgraph_beta/generated/models/security/audit_data.py create mode 100644 msgraph_beta/generated/models/security/audit_log_query.py create mode 100644 msgraph_beta/generated/models/security/audit_log_query_collection_response.py create mode 100644 msgraph_beta/generated/models/security/audit_log_query_status.py create mode 100644 msgraph_beta/generated/models/security/audit_log_record.py create mode 100644 msgraph_beta/generated/models/security/audit_log_record_collection_response.py create mode 100644 msgraph_beta/generated/models/security/audit_log_record_type.py create mode 100644 msgraph_beta/generated/models/security/audit_log_user_type.py create mode 100644 msgraph_beta/generated/models/security/default_audit_data.py create mode 100644 msgraph_beta/generated/models/send_dtmf_completion_reason.py create mode 100644 msgraph_beta/generated/models/send_dtmf_tones_operation.py create mode 100644 msgraph_beta/generated/models/service_activity.py create mode 100644 msgraph_beta/generated/models/service_activity_value_metric.py rename msgraph_beta/generated/{solutions/virtual_events/webinars/item/sessions/item/transcripts/delta/delta_get_response.py => models/site_page_collection_response.py} (66%) create mode 100644 msgraph_beta/generated/models/teams_licensing_details.py create mode 100644 msgraph_beta/generated/models/user_experience_analytics_device_battery_detail.py create mode 100644 msgraph_beta/generated/models/virtual_appointment_message_type.py rename msgraph_beta/generated/models/{virtual_event_registration_question.py => virtual_event_registration_custom_question.py} (70%) create mode 100644 msgraph_beta/generated/models/virtual_event_registration_predefined_question.py create mode 100644 msgraph_beta/generated/models/virtual_event_registration_predefined_question_label.py create mode 100644 msgraph_beta/generated/models/virtual_event_registration_question_base.py create mode 100644 msgraph_beta/generated/models/virtual_event_townhall.py create mode 100644 msgraph_beta/generated/models/virtual_event_townhall_collection_response.py create mode 100644 msgraph_beta/generated/models/virtual_machine_details.py rename msgraph_beta/generated/{solutions/virtual_events/events/item/sessions/item/recordings/delta/delta_get_response.py => models/web_part_collection_response.py} (66%) create mode 100644 msgraph_beta/generated/models/web_part_position.py create mode 100644 msgraph_beta/generated/models/win32_catalog_app_assignment_settings.py create mode 100644 msgraph_beta/generated/models/win32_lob_app_auto_update_settings.py create mode 100644 msgraph_beta/generated/models/win32_lob_app_auto_update_superseded_apps.py create mode 100644 msgraph_beta/generated/models/x509_certificate_affinity_level.py create mode 100644 msgraph_beta/generated/models/x509_certificate_combination_configuration.py create mode 100644 msgraph_beta/generated/network_access/filtering_policies/count/count_request_builder.py create mode 100644 msgraph_beta/generated/network_access/filtering_policies/filtering_policies_request_builder.py create mode 100644 msgraph_beta/generated/network_access/filtering_policies/item/filtering_policy_item_request_builder.py create mode 100644 msgraph_beta/generated/network_access/filtering_policies/item/policy_rules/count/count_request_builder.py create mode 100644 msgraph_beta/generated/network_access/filtering_policies/item/policy_rules/item/policy_rule_item_request_builder.py create mode 100644 msgraph_beta/generated/network_access/filtering_policies/item/policy_rules/policy_rules_request_builder.py create mode 100644 msgraph_beta/generated/network_access/filtering_profiles/count/count_request_builder.py create mode 100644 msgraph_beta/generated/network_access/filtering_profiles/filtering_profiles_request_builder.py create mode 100644 msgraph_beta/generated/network_access/filtering_profiles/item/conditional_access_policies/conditional_access_policies_request_builder.py create mode 100644 msgraph_beta/generated/network_access/filtering_profiles/item/conditional_access_policies/count/count_request_builder.py create mode 100644 msgraph_beta/generated/network_access/filtering_profiles/item/conditional_access_policies/item/conditional_access_policy_item_request_builder.py rename msgraph_beta/generated/{solutions/virtual_events/webinars/item/sessions/item/recordings/item/call_recording_item_request_builder.py => network_access/filtering_profiles/item/filtering_profile_item_request_builder.py} (62%) rename msgraph_beta/generated/{solutions/virtual_events/events/item/sessions/item/meeting_attendance_report/attendance_records => network_access/filtering_profiles/item/policies}/count/count_request_builder.py (93%) create mode 100644 msgraph_beta/generated/network_access/filtering_profiles/item/policies/item/policy/policy_request_builder.py create mode 100644 msgraph_beta/generated/network_access/filtering_profiles/item/policies/item/policy_link_item_request_builder.py create mode 100644 msgraph_beta/generated/network_access/filtering_profiles/item/policies/policies_request_builder.py create mode 100644 msgraph_beta/generated/network_access/logs/remote_networks/count/count_request_builder.py create mode 100644 msgraph_beta/generated/network_access/logs/remote_networks/item/remote_network_health_event_item_request_builder.py create mode 100644 msgraph_beta/generated/network_access/logs/remote_networks/remote_networks_request_builder.py create mode 100644 msgraph_beta/generated/planner/plans/item/archive/archive_post_request_body.py create mode 100644 msgraph_beta/generated/planner/plans/item/archive/archive_request_builder.py create mode 100644 msgraph_beta/generated/planner/plans/item/unarchive/unarchive_post_request_body.py create mode 100644 msgraph_beta/generated/planner/plans/item/unarchive/unarchive_request_builder.py create mode 100644 msgraph_beta/generated/reports/service_activity/get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py create mode 100644 msgraph_beta/generated/reports/service_activity/get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py create mode 100644 msgraph_beta/generated/reports/service_activity/get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py create mode 100644 msgraph_beta/generated/reports/service_activity/get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py create mode 100644 msgraph_beta/generated/reports/service_activity/get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py create mode 100644 msgraph_beta/generated/reports/service_activity/get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py create mode 100644 msgraph_beta/generated/reports/service_activity/get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py create mode 100644 msgraph_beta/generated/reports/service_activity/get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py create mode 100644 msgraph_beta/generated/reports/service_activity/get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py create mode 100644 msgraph_beta/generated/reports/service_activity/get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py create mode 100644 msgraph_beta/generated/reports/service_activity/service_activity_request_builder.py create mode 100644 msgraph_beta/generated/security/audit_log/audit_log_request_builder.py create mode 100644 msgraph_beta/generated/security/audit_log/queries/count/count_request_builder.py create mode 100644 msgraph_beta/generated/security/audit_log/queries/item/audit_log_query_item_request_builder.py create mode 100644 msgraph_beta/generated/security/audit_log/queries/item/records/count/count_request_builder.py create mode 100644 msgraph_beta/generated/security/audit_log/queries/item/records/item/audit_log_record_item_request_builder.py create mode 100644 msgraph_beta/generated/security/audit_log/queries/item/records/records_request_builder.py create mode 100644 msgraph_beta/generated/security/audit_log/queries/queries_request_builder.py create mode 100644 msgraph_beta/generated/service_principals/item/license_details/get_teams_licensing_details/get_teams_licensing_details_request_builder.py create mode 100644 msgraph_beta/generated/sites/item/pages/graph_site_page/count/count_request_builder.py create mode 100644 msgraph_beta/generated/sites/item/pages/graph_site_page/graph_site_page_request_builder.py create mode 100644 msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/canvas_layout_request_builder.py create mode 100644 msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/count/count_request_builder.py create mode 100644 msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/horizontal_sections_request_builder.py create mode 100644 msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/columns_request_builder.py create mode 100644 msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/count/count_request_builder.py create mode 100644 msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/horizontal_section_column_item_request_builder.py create mode 100644 msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/count/count_request_builder.py create mode 100644 msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/item/get_position_of_web_part/get_position_of_web_part_request_builder.py create mode 100644 msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/item/web_part_item_request_builder.py create mode 100644 msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/webparts_request_builder.py create mode 100644 msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/horizontal_section_item_request_builder.py create mode 100644 msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/vertical_section_request_builder.py rename msgraph_beta/generated/{solutions/virtual_events/events/item/sessions/item/registration/custom_questions => sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts}/count/count_request_builder.py (95%) create mode 100644 msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/item/get_position_of_web_part/get_position_of_web_part_request_builder.py rename msgraph_beta/generated/{solutions/virtual_events/webinars/item/sessions/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py => sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/item/web_part_item_request_builder.py} (71%) rename msgraph_beta/generated/{solutions/virtual_events/webinars/item/sessions/item/registration/registrants/registrants_request_builder.py => sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/webparts_request_builder.py} (67%) create mode 100644 msgraph_beta/generated/sites/item/pages/item/graph_site_page/created_by_user/created_by_user_request_builder.py create mode 100644 msgraph_beta/generated/sites/item/pages/item/graph_site_page/created_by_user/mailbox_settings/mailbox_settings_request_builder.py create mode 100644 msgraph_beta/generated/sites/item/pages/item/graph_site_page/created_by_user/service_provisioning_errors/count/count_request_builder.py create mode 100644 msgraph_beta/generated/sites/item/pages/item/graph_site_page/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py create mode 100644 msgraph_beta/generated/sites/item/pages/item/graph_site_page/graph_site_page_request_builder.py create mode 100644 msgraph_beta/generated/sites/item/pages/item/graph_site_page/last_modified_by_user/last_modified_by_user_request_builder.py create mode 100644 msgraph_beta/generated/sites/item/pages/item/graph_site_page/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py create mode 100644 msgraph_beta/generated/sites/item/pages/item/graph_site_page/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py create mode 100644 msgraph_beta/generated/sites/item/pages/item/graph_site_page/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py create mode 100644 msgraph_beta/generated/sites/item/pages/item/graph_site_page/web_parts/count/count_request_builder.py create mode 100644 msgraph_beta/generated/sites/item/pages/item/graph_site_page/web_parts/item/get_position_of_web_part/get_position_of_web_part_request_builder.py create mode 100644 msgraph_beta/generated/sites/item/pages/item/graph_site_page/web_parts/item/web_part_item_request_builder.py create mode 100644 msgraph_beta/generated/sites/item/pages/item/graph_site_page/web_parts/web_parts_request_builder.py create mode 100644 msgraph_beta/generated/solutions/booking_businesses/booking_businesses_request_builder.py create mode 100644 msgraph_beta/generated/solutions/booking_businesses/count/count_request_builder.py create mode 100644 msgraph_beta/generated/solutions/booking_businesses/item/appointments/appointments_request_builder.py create mode 100644 msgraph_beta/generated/solutions/booking_businesses/item/appointments/count/count_request_builder.py create mode 100644 msgraph_beta/generated/solutions/booking_businesses/item/appointments/item/booking_appointment_item_request_builder.py create mode 100644 msgraph_beta/generated/solutions/booking_businesses/item/appointments/item/cancel/cancel_post_request_body.py create mode 100644 msgraph_beta/generated/solutions/booking_businesses/item/appointments/item/cancel/cancel_request_builder.py rename msgraph_beta/generated/solutions/{virtual_events/events/item/sessions/item/registration/registration_request_builder.py => booking_businesses/item/booking_business_item_request_builder.py} (54%) create mode 100644 msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/calendar_view_request_builder.py create mode 100644 msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/count/count_request_builder.py create mode 100644 msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/item/booking_appointment_item_request_builder.py create mode 100644 msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/item/cancel/cancel_post_request_body.py create mode 100644 msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/item/cancel/cancel_request_builder.py create mode 100644 msgraph_beta/generated/solutions/booking_businesses/item/custom_questions/count/count_request_builder.py rename msgraph_beta/generated/solutions/{virtual_events/events/item/sessions/item/registration => booking_businesses/item}/custom_questions/custom_questions_request_builder.py (69%) create mode 100644 msgraph_beta/generated/solutions/booking_businesses/item/custom_questions/item/booking_custom_question_item_request_builder.py rename msgraph_beta/generated/solutions/{virtual_events/webinars/item/sessions/item/registration/custom_questions => booking_businesses/item/customers}/count/count_request_builder.py (94%) create mode 100644 msgraph_beta/generated/solutions/booking_businesses/item/customers/customers_request_builder.py create mode 100644 msgraph_beta/generated/solutions/booking_businesses/item/customers/item/booking_customer_item_request_builder.py create mode 100644 msgraph_beta/generated/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_post_request_body.py create mode 100644 msgraph_beta/generated/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_post_response.py create mode 100644 msgraph_beta/generated/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_request_builder.py create mode 100644 msgraph_beta/generated/solutions/booking_businesses/item/publish/publish_request_builder.py create mode 100644 msgraph_beta/generated/solutions/booking_businesses/item/services/count/count_request_builder.py create mode 100644 msgraph_beta/generated/solutions/booking_businesses/item/services/item/booking_service_item_request_builder.py create mode 100644 msgraph_beta/generated/solutions/booking_businesses/item/services/services_request_builder.py create mode 100644 msgraph_beta/generated/solutions/booking_businesses/item/staff_members/count/count_request_builder.py create mode 100644 msgraph_beta/generated/solutions/booking_businesses/item/staff_members/item/booking_staff_member_item_request_builder.py create mode 100644 msgraph_beta/generated/solutions/booking_businesses/item/staff_members/staff_members_request_builder.py create mode 100644 msgraph_beta/generated/solutions/booking_businesses/item/unpublish/unpublish_request_builder.py create mode 100644 msgraph_beta/generated/solutions/booking_currencies/booking_currencies_request_builder.py create mode 100644 msgraph_beta/generated/solutions/booking_currencies/count/count_request_builder.py create mode 100644 msgraph_beta/generated/solutions/booking_currencies/item/booking_currency_item_request_builder.py create mode 100644 msgraph_beta/generated/solutions/virtual_events/events/cancel/cancel_request_builder.py rename msgraph_beta/generated/solutions/virtual_events/{webinars/item/sessions/item/recording/recording_request_builder.py => events/item/presenters/item/profile_photo/profile_photo_request_builder.py} (79%) rename msgraph_beta/generated/solutions/virtual_events/events/item/{sessions/item/transcripts => presenters/item/sessions}/count/count_request_builder.py (97%) create mode 100644 msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/sessions/item/virtual_event_session_item_request_builder.py create mode 100644 msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/sessions/sessions_request_builder.py delete mode 100644 msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/alternative_recording/alternative_recording_request_builder.py delete mode 100644 msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/broadcast_recording/broadcast_recording_request_builder.py rename msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/{recordings => presenters}/count/count_request_builder.py (98%) rename msgraph_beta/generated/solutions/virtual_events/{webinars/item/registrations/item/sessions/item/recording/recording_request_builder.py => events/item/sessions/item/presenters/item/profile_photo/profile_photo_request_builder.py} (79%) create mode 100644 msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/presenters/item/virtual_event_presenter_item_request_builder.py create mode 100644 msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/presenters/presenters_request_builder.py delete mode 100644 msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py delete mode 100644 msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/transcripts/item/call_transcript_item_request_builder.py delete mode 100644 msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/transcripts/item/content/content_request_builder.py delete mode 100644 msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/transcripts/item/metadata_content/metadata_content_request_builder.py create mode 100644 msgraph_beta/generated/solutions/virtual_events/events/publish/publish_request_builder.py create mode 100644 msgraph_beta/generated/solutions/virtual_events/townhalls/count/count_request_builder.py create mode 100644 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_get_response.py create mode 100644 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 create mode 100644 msgraph_beta/generated/solutions/virtual_events/townhalls/get_by_user_role_with_role/get_by_user_role_with_role_get_response.py create mode 100644 msgraph_beta/generated/solutions/virtual_events/townhalls/get_by_user_role_with_role/get_by_user_role_with_role_request_builder.py create mode 100644 msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/count/count_request_builder.py rename msgraph_beta/generated/solutions/virtual_events/{events/item/sessions/item/attendee_report/attendee_report_request_builder.py => townhalls/item/presenters/item/profile_photo/profile_photo_request_builder.py} (79%) create mode 100644 msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/sessions/count/count_request_builder.py create mode 100644 msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/sessions/item/virtual_event_session_item_request_builder.py create mode 100644 msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/sessions/sessions_request_builder.py create mode 100644 msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/virtual_event_presenter_item_request_builder.py create mode 100644 msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/presenters_request_builder.py create mode 100644 msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/count/count_request_builder.py rename msgraph_beta/generated/solutions/virtual_events/{webinars/item/sessions/item/meeting_attendance_report/attendance_records/attendance_records_request_builder.py => townhalls/item/sessions/item/attendance_reports/attendance_reports_request_builder.py} (66%) create mode 100644 msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/count/count_request_builder.py rename msgraph_beta/generated/solutions/virtual_events/{events/item/sessions/item/meeting_attendance_report => townhalls/item/sessions/item/attendance_reports/item}/attendance_records/attendance_records_request_builder.py (90%) create mode 100644 msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py rename msgraph_beta/generated/solutions/virtual_events/{webinars/item/sessions/item/meeting_attendance_report => townhalls/item/sessions/item/attendance_reports/item}/attendance_records/item/attendance_record_item_request_builder.py (93%) rename msgraph_beta/generated/solutions/virtual_events/{events/item/sessions/item/meeting_attendance_report/meeting_attendance_report_request_builder.py => townhalls/item/sessions/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py} (72%) rename msgraph_beta/generated/solutions/virtual_events/{webinars/item/sessions/item/transcripts => townhalls/item/sessions/item/presenters}/count/count_request_builder.py (97%) rename msgraph_beta/generated/solutions/virtual_events/{webinars/item/registrations/item/sessions/item/attendee_report/attendee_report_request_builder.py => townhalls/item/sessions/item/presenters/item/profile_photo/profile_photo_request_builder.py} (78%) create mode 100644 msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/presenters/item/virtual_event_presenter_item_request_builder.py create mode 100644 msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/presenters/presenters_request_builder.py create mode 100644 msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations/count/count_request_builder.py create mode 100644 msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations/item/virtual_event_registration_item_request_builder.py create mode 100644 msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations/registrations_request_builder.py rename msgraph_beta/generated/solutions/virtual_events/{webinars/item/sessions/item/meeting_attendance_report/meeting_attendance_report_request_builder.py => townhalls/item/sessions/item/virtual_event_session_item_request_builder.py} (64%) create mode 100644 msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/sessions_request_builder.py create mode 100644 msgraph_beta/generated/solutions/virtual_events/townhalls/item/virtual_event_townhall_item_request_builder.py rename msgraph_beta/generated/solutions/virtual_events/{events/item/sessions/item/recordings/recordings_request_builder.py => townhalls/townhalls_request_builder.py} (58%) rename msgraph_beta/generated/solutions/virtual_events/{events/item/sessions/item/recording/recording_request_builder.py => webinars/item/presenters/item/profile_photo/profile_photo_request_builder.py} (79%) create mode 100644 msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/sessions/count/count_request_builder.py create mode 100644 msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/sessions/item/virtual_event_session_item_request_builder.py create mode 100644 msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/sessions/sessions_request_builder.py delete mode 100644 msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/item/alternative_recording/alternative_recording_request_builder.py delete mode 100644 msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/item/broadcast_recording/broadcast_recording_request_builder.py delete mode 100644 msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/alternative_recording/alternative_recording_request_builder.py delete mode 100644 msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendee_report/attendee_report_request_builder.py delete mode 100644 msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/broadcast_recording/broadcast_recording_request_builder.py delete mode 100644 msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/meeting_attendance_report/attendance_records/count/count_request_builder.py rename msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/{recordings => presenters}/count/count_request_builder.py (98%) rename msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/{recordings/item/content/content_request_builder.py => presenters/item/profile_photo/profile_photo_request_builder.py} (78%) create mode 100644 msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/presenters/item/virtual_event_presenter_item_request_builder.py create mode 100644 msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/presenters/presenters_request_builder.py delete mode 100644 msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/recordings/recordings_request_builder.py delete mode 100644 msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registration/custom_questions/custom_questions_request_builder.py delete mode 100644 msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py delete mode 100644 msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registration/registration_request_builder.py delete mode 100644 msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/transcripts/item/call_transcript_item_request_builder.py delete mode 100644 msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/transcripts/item/content/content_request_builder.py delete mode 100644 msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/transcripts/item/metadata_content/metadata_content_request_builder.py delete mode 100644 msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/transcripts/transcripts_request_builder.py create mode 100644 msgraph_beta/generated/team_template_definition/item/team_definition/channels/get_all_retained_messages/get_all_retained_messages_get_response.py create mode 100644 msgraph_beta/generated/team_template_definition/item/team_definition/channels/get_all_retained_messages/get_all_retained_messages_request_builder.py create mode 100644 msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/archive/archive_post_request_body.py create mode 100644 msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/archive/archive_request_builder.py create mode 100644 msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/unarchive/unarchive_request_builder.py create mode 100644 msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/archive/archive_post_request_body.py create mode 100644 msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/archive/archive_request_builder.py create mode 100644 msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/unarchive/unarchive_request_builder.py create mode 100644 msgraph_beta/generated/team_template_definition/item/team_definition/schedule/day_notes/count/count_request_builder.py create mode 100644 msgraph_beta/generated/team_template_definition/item/team_definition/schedule/day_notes/day_notes_request_builder.py create mode 100644 msgraph_beta/generated/team_template_definition/item/team_definition/schedule/day_notes/item/day_note_item_request_builder.py create mode 100644 msgraph_beta/generated/teams/get_open_shifts/get_open_shifts_get_response.py rename msgraph_beta/generated/{solutions/virtual_events/events/item/sessions/item/transcripts/delta/delta_request_builder.py => teams/get_open_shifts/get_open_shifts_request_builder.py} (74%) create mode 100644 msgraph_beta/generated/teams/item/channels/get_all_retained_messages/get_all_retained_messages_get_response.py rename msgraph_beta/generated/{solutions/virtual_events/webinars/item/sessions/item/transcripts/delta/delta_request_builder.py => teams/item/channels/get_all_retained_messages/get_all_retained_messages_request_builder.py} (73%) create mode 100644 msgraph_beta/generated/teams/item/channels/item/archive/archive_post_request_body.py create mode 100644 msgraph_beta/generated/teams/item/channels/item/archive/archive_request_builder.py create mode 100644 msgraph_beta/generated/teams/item/channels/item/unarchive/unarchive_request_builder.py create mode 100644 msgraph_beta/generated/teams/item/primary_channel/archive/archive_post_request_body.py create mode 100644 msgraph_beta/generated/teams/item/primary_channel/archive/archive_request_builder.py create mode 100644 msgraph_beta/generated/teams/item/primary_channel/unarchive/unarchive_request_builder.py create mode 100644 msgraph_beta/generated/teams/item/schedule/day_notes/count/count_request_builder.py create mode 100644 msgraph_beta/generated/teams/item/schedule/day_notes/day_notes_request_builder.py create mode 100644 msgraph_beta/generated/teams/item/schedule/day_notes/item/day_note_item_request_builder.py create mode 100644 msgraph_beta/generated/teamwork/deleted_teams/item/channels/get_all_retained_messages/get_all_retained_messages_get_response.py create mode 100644 msgraph_beta/generated/teamwork/deleted_teams/item/channels/get_all_retained_messages/get_all_retained_messages_request_builder.py create mode 100644 msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/archive/archive_post_request_body.py create mode 100644 msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/archive/archive_request_builder.py create mode 100644 msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/unarchive/unarchive_request_builder.py create mode 100644 msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/get_all_retained_messages/get_all_retained_messages_get_response.py rename msgraph_beta/generated/{solutions/virtual_events/webinars/item/sessions/item/recordings/delta/delta_request_builder.py => teamwork/team_templates/item/definitions/item/team_definition/channels/get_all_retained_messages/get_all_retained_messages_request_builder.py} (73%) create mode 100644 msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/archive/archive_post_request_body.py create mode 100644 msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/archive/archive_request_builder.py create mode 100644 msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/unarchive/unarchive_request_builder.py create mode 100644 msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/archive/archive_post_request_body.py create mode 100644 msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/archive/archive_request_builder.py create mode 100644 msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/unarchive/unarchive_request_builder.py rename msgraph_beta/generated/{solutions/virtual_events/webinars/item/sessions/item/registration/registrants => teamwork/team_templates/item/definitions/item/team_definition/schedule/day_notes}/count/count_request_builder.py (95%) create mode 100644 msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/day_notes/day_notes_request_builder.py rename msgraph_beta/generated/{solutions/virtual_events/events/item/sessions/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py => teamwork/team_templates/item/definitions/item/team_definition/schedule/day_notes/item/day_note_item_request_builder.py} (71%) create mode 100644 msgraph_beta/generated/users/item/chats/get_all_retained_messages/get_all_retained_messages_get_response.py create mode 100644 msgraph_beta/generated/users/item/chats/get_all_retained_messages/get_all_retained_messages_request_builder.py create mode 100644 msgraph_beta/generated/users/item/chats/item/remove_all_access_for_user/remove_all_access_for_user_post_request_body.py create mode 100644 msgraph_beta/generated/users/item/chats/item/remove_all_access_for_user/remove_all_access_for_user_request_builder.py create mode 100644 msgraph_beta/generated/users/item/delete_password_single_sign_on_credentials/delete_password_single_sign_on_credentials_post_request_body.py create mode 100644 msgraph_beta/generated/users/item/delete_password_single_sign_on_credentials/delete_password_single_sign_on_credentials_request_builder.py create mode 100644 msgraph_beta/generated/users/item/get_password_single_sign_on_credentials/get_password_single_sign_on_credentials_post_response.py create mode 100644 msgraph_beta/generated/users/item/get_password_single_sign_on_credentials/get_password_single_sign_on_credentials_request_builder.py create mode 100644 msgraph_beta/generated/users/item/license_details/get_teams_licensing_details/get_teams_licensing_details_request_builder.py create mode 100644 msgraph_beta/generated/users/item/managed_devices/item/pause_configuration_refresh/pause_configuration_refresh_post_request_body.py create mode 100644 msgraph_beta/generated/users/item/managed_devices/item/pause_configuration_refresh/pause_configuration_refresh_request_builder.py create mode 100644 msgraph_beta/generated/users/item/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py create mode 100644 msgraph_beta/generated/users/item/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_request_builder.py create mode 100644 msgraph_beta/generated/users/item/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py create mode 100644 msgraph_beta/generated/users/item/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_request_builder.py create mode 100644 msgraph_beta/generated/users/item/planner/plans/item/archive/archive_post_request_body.py create mode 100644 msgraph_beta/generated/users/item/planner/plans/item/archive/archive_request_builder.py create mode 100644 msgraph_beta/generated/users/item/planner/plans/item/unarchive/unarchive_post_request_body.py create mode 100644 msgraph_beta/generated/users/item/planner/plans/item/unarchive/unarchive_request_builder.py diff --git a/msgraph_beta/generated/access_review_decisions/access_review_decisions_request_builder.py b/msgraph_beta/generated/access_review_decisions/access_review_decisions_request_builder.py index acd8c2cd90b..46b9f4b866f 100644 --- a/msgraph_beta/generated/access_review_decisions/access_review_decisions_request_builder.py +++ b/msgraph_beta/generated/access_review_decisions/access_review_decisions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessReviewDecision] = None, request_configuration: Optional[AccessReviewDecisionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessReviewDecision] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/access_review_decisions/item/access_review_decision_item_request_builder.py b/msgraph_beta/generated/access_review_decisions/item/access_review_decision_item_request_builder.py index 50312c10209..ecd799e4186 100644 --- a/msgraph_beta/generated/access_review_decisions/item/access_review_decision_item_request_builder.py +++ b/msgraph_beta/generated/access_review_decisions/item/access_review_decision_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessRev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessReviewDecisionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessReviewDecision] = None, request_configuration: Optional[AccessReviewDecisionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessReviewDecision] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/access_reviews/access_reviews_request_builder.py b/msgraph_beta/generated/access_reviews/access_reviews_request_builder.py index fa093f97b14..d08f4860175 100644 --- a/msgraph_beta/generated/access_reviews/access_reviews_request_builder.py +++ b/msgraph_beta/generated/access_reviews/access_reviews_request_builder.py @@ -45,7 +45,7 @@ def by_access_review_id(self,access_review_id: str) -> AccessReviewItemRequestBu async def get(self,request_configuration: Optional[AccessReviewsRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewCollectionResponse]: """ - Retrieve the accessReview objects for a particular businessFlowTemplate. A list of zero or more accessReview objects are returned, for each one-time and recurring access review that was created with that business flow template. Note that business flow template IDs are case sensitive. If many access reviews match the filter, to improve efficiency and avoid timeouts, retrieve the result set in pages, by including both the $top query parameter with a page size, for example 100, and the $skip=0 query parameter in the request. These parameters can be included even when you do not anticipate that the request will span multiple pages. When a result set spans multiple pages, Microsoft Graph returns that page with an @odata.nextLink property in the response that contains a URL to the next page of results. If that property is present, continue making additional requests with the @odata.nextLink URL in each response, until all the results are returned, as described in paging Microsoft Graph data in your app. The accessReview objects returned by this API will not include nested structure properties such as settings, or relationships. To retrieve an access review settings or relationships, use the get accessReview API. This API is available in the following national cloud deployments. + Retrieve the accessReview objects for a particular businessFlowTemplate. A list of zero or more accessReview objects are returned, for each one-time and recurring access review that was created with that business flow template. Note that business flow template IDs are case sensitive. If many access reviews match the filter, to improve efficiency and avoid timeouts, retrieve the result set in pages, by including both the $top query parameter with a page size, for example 100, and the $skip=0 query parameter in the request. These parameters can be included even when you do not anticipate that the request will span multiple pages. When a result set spans multiple pages, Microsoft Graph returns that page with an @odata.nextLink property in the response that contains a URL to the next page of results. If that property is present, continue making additional requests with the @odata.nextLink URL in each response, until all the results are returned, as described in paging Microsoft Graph data in your app. The accessReview objects returned by this API will not include nested structure properties such as settings, or relationships. To retrieve an access review settings or relationships, use the get accessReview API. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreview-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AccessReviewsRequestBuilderGe async def post(self,body: Optional[AccessReview] = None, request_configuration: Optional[AccessReviewsRequestBuilderPostRequestConfiguration] = None) -> Optional[AccessReview]: """ - In the Microsoft Entra access reviews feature, create a new accessReview object. Before making this request, the caller must have previously retrieved the list of business flow templates, to have the value of businessFlowTemplateId to include in the request. After making this request, the caller should create a programControl, to link the access review to a program. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, create a new accessReview object. Before making this request, the caller must have previously retrieved the list of business flow templates, to have the value of businessFlowTemplateId to include in the request. After making this request, the caller should create a programControl, to link the access review to a program. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReview] @@ -92,7 +92,7 @@ async def post(self,body: Optional[AccessReview] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[AccessReviewsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the accessReview objects for a particular businessFlowTemplate. A list of zero or more accessReview objects are returned, for each one-time and recurring access review that was created with that business flow template. Note that business flow template IDs are case sensitive. If many access reviews match the filter, to improve efficiency and avoid timeouts, retrieve the result set in pages, by including both the $top query parameter with a page size, for example 100, and the $skip=0 query parameter in the request. These parameters can be included even when you do not anticipate that the request will span multiple pages. When a result set spans multiple pages, Microsoft Graph returns that page with an @odata.nextLink property in the response that contains a URL to the next page of results. If that property is present, continue making additional requests with the @odata.nextLink URL in each response, until all the results are returned, as described in paging Microsoft Graph data in your app. The accessReview objects returned by this API will not include nested structure properties such as settings, or relationships. To retrieve an access review settings or relationships, use the get accessReview API. This API is available in the following national cloud deployments. + Retrieve the accessReview objects for a particular businessFlowTemplate. A list of zero or more accessReview objects are returned, for each one-time and recurring access review that was created with that business flow template. Note that business flow template IDs are case sensitive. If many access reviews match the filter, to improve efficiency and avoid timeouts, retrieve the result set in pages, by including both the $top query parameter with a page size, for example 100, and the $skip=0 query parameter in the request. These parameters can be included even when you do not anticipate that the request will span multiple pages. When a result set spans multiple pages, Microsoft Graph returns that page with an @odata.nextLink property in the response that contains a URL to the next page of results. If that property is present, continue making additional requests with the @odata.nextLink URL in each response, until all the results are returned, as described in paging Microsoft Graph data in your app. The accessReview objects returned by this API will not include nested structure properties such as settings, or relationships. To retrieve an access review settings or relationships, use the get accessReview API. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessReview] = None, request_configuration: Optional[AccessReviewsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, create a new accessReview object. Before making this request, the caller must have previously retrieved the list of business flow templates, to have the value of businessFlowTemplateId to include in the request. After making this request, the caller should create a programControl, to link the access review to a program. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, create a new accessReview object. Before making this request, the caller must have previously retrieved the list of business flow templates, to have the value of businessFlowTemplateId to include in the request. After making this request, the caller should create a programControl, to link the access review to a program. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[AccessReview] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AccessReviewsRequestBuilderGetQueryParameters(): """ - Retrieve the accessReview objects for a particular businessFlowTemplate. A list of zero or more accessReview objects are returned, for each one-time and recurring access review that was created with that business flow template. Note that business flow template IDs are case sensitive. If many access reviews match the filter, to improve efficiency and avoid timeouts, retrieve the result set in pages, by including both the $top query parameter with a page size, for example 100, and the $skip=0 query parameter in the request. These parameters can be included even when you do not anticipate that the request will span multiple pages. When a result set spans multiple pages, Microsoft Graph returns that page with an @odata.nextLink property in the response that contains a URL to the next page of results. If that property is present, continue making additional requests with the @odata.nextLink URL in each response, until all the results are returned, as described in paging Microsoft Graph data in your app. The accessReview objects returned by this API will not include nested structure properties such as settings, or relationships. To retrieve an access review settings or relationships, use the get accessReview API. This API is available in the following national cloud deployments. + Retrieve the accessReview objects for a particular businessFlowTemplate. A list of zero or more accessReview objects are returned, for each one-time and recurring access review that was created with that business flow template. Note that business flow template IDs are case sensitive. If many access reviews match the filter, to improve efficiency and avoid timeouts, retrieve the result set in pages, by including both the $top query parameter with a page size, for example 100, and the $skip=0 query parameter in the request. These parameters can be included even when you do not anticipate that the request will span multiple pages. When a result set spans multiple pages, Microsoft Graph returns that page with an @odata.nextLink property in the response that contains a URL to the next page of results. If that property is present, continue making additional requests with the @odata.nextLink URL in each response, until all the results are returned, as described in paging Microsoft Graph data in your app. The accessReview objects returned by this API will not include nested structure properties such as settings, or relationships. To retrieve an access review settings or relationships, use the get accessReview API. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/access_reviews/item/access_review_item_request_builder.py b/msgraph_beta/generated/access_reviews/item/access_review_item_request_builder.py index 16ad64bdfef..d9f051df313 100644 --- a/msgraph_beta/generated/access_reviews/item/access_review_item_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/access_review_item_request_builder.py @@ -36,7 +36,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AccessReviewItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - In the Microsoft Entra access reviews feature, delete an accessReview object. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, delete an accessReview object. 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/accessreview-delete?view=graph-rest-1.0 @@ -56,7 +56,7 @@ async def delete(self,request_configuration: Optional[AccessReviewItemRequestBui async def get(self,request_configuration: Optional[AccessReviewItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReview]: """ - In the Microsoft Entra access reviews feature, retrieve an accessReview object. To retrieve the reviewers of the access review, use the list accessReview reviewers API. To retrieve the decisions of the access review, use the list accessReview decisions API, or the list my accessReview decisions API. If this is a recurring access review, no decisions will be associated with the recurring access review series. Instead, use the instances relationship of that series to retrieve an accessReview collection of the past, current, and future instances of the access review. Each past and current instance will have decisions. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, retrieve an accessReview object. To retrieve the reviewers of the access review, use the list accessReview reviewers API. To retrieve the decisions of the access review, use the list accessReview decisions API, or the list my accessReview decisions API. If this is a recurring access review, no decisions will be associated with the recurring access review series. Instead, use the instances relationship of that series to retrieve an accessReview collection of the past, current, and future instances of the access review. Each past and current instance will have decisions. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReview] Find more info here: https://learn.microsoft.com/graph/api/accessreview-get?view=graph-rest-1.0 @@ -78,7 +78,7 @@ async def get(self,request_configuration: Optional[AccessReviewItemRequestBuilde async def patch(self,body: Optional[AccessReview] = None, request_configuration: Optional[AccessReviewItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[AccessReview]: """ - In the Microsoft Entra access reviews feature, update an existing accessReview object to change one or more of its properties. This API is not intended to change the reviewers or decisions of a review. To change the reviewers, use the addReviewer or removeReviewer APIs. To stop an already-started one-time review, or an already-started instance of a recurring review, early, use the stop API. To apply the decisions to the target group or app access rights, use the apply API. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, update an existing accessReview object to change one or more of its properties. This API is not intended to change the reviewers or decisions of a review. To change the reviewers, use the addReviewer or removeReviewer APIs. To stop an already-started one-time review, or an already-started instance of a recurring review, early, use the stop API. To apply the decisions to the target group or app access rights, use the apply API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReview] @@ -103,7 +103,7 @@ async def patch(self,body: Optional[AccessReview] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[AccessReviewItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, delete an accessReview object. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, delete an accessReview object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -114,12 +114,12 @@ def to_delete_request_information(self,request_configuration: Optional[AccessRev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessReviewItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, retrieve an accessReview object. To retrieve the reviewers of the access review, use the list accessReview reviewers API. To retrieve the decisions of the access review, use the list accessReview decisions API, or the list my accessReview decisions API. If this is a recurring access review, no decisions will be associated with the recurring access review series. Instead, use the instances relationship of that series to retrieve an accessReview collection of the past, current, and future instances of the access review. Each past and current instance will have decisions. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, retrieve an accessReview object. To retrieve the reviewers of the access review, use the list accessReview reviewers API. To retrieve the decisions of the access review, use the list accessReview decisions API, or the list my accessReview decisions API. If this is a recurring access review, no decisions will be associated with the recurring access review series. Instead, use the instances relationship of that series to retrieve an accessReview collection of the past, current, and future instances of the access review. Each past and current instance will have decisions. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -131,12 +131,12 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessReview] = None, request_configuration: Optional[AccessReviewItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, update an existing accessReview object to change one or more of its properties. This API is not intended to change the reviewers or decisions of a review. To change the reviewers, use the addReviewer or removeReviewer APIs. To stop an already-started one-time review, or an already-started instance of a recurring review, early, use the stop API. To apply the decisions to the target group or app access rights, use the apply API. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, update an existing accessReview object to change one or more of its properties. This API is not intended to change the reviewers or decisions of a review. To change the reviewers, use the addReviewer or removeReviewer APIs. To stop an already-started one-time review, or an already-started instance of a recurring review, early, use the stop API. To apply the decisions to the target group or app access rights, use the apply API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -150,7 +150,7 @@ def to_patch_request_information(self,body: Optional[AccessReview] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -249,7 +249,7 @@ class AccessReviewItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class AccessReviewItemRequestBuilderGetQueryParameters(): """ - In the Microsoft Entra access reviews feature, retrieve an accessReview object. To retrieve the reviewers of the access review, use the list accessReview reviewers API. To retrieve the decisions of the access review, use the list accessReview decisions API, or the list my accessReview decisions API. If this is a recurring access review, no decisions will be associated with the recurring access review series. Instead, use the instances relationship of that series to retrieve an accessReview collection of the past, current, and future instances of the access review. Each past and current instance will have decisions. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, retrieve an accessReview object. To retrieve the reviewers of the access review, use the list accessReview reviewers API. To retrieve the decisions of the access review, use the list accessReview decisions API, or the list my accessReview decisions API. If this is a recurring access review, no decisions will be associated with the recurring access review series. Instead, use the instances relationship of that series to retrieve an accessReview collection of the past, current, and future instances of the access review. Each past and current instance will have decisions. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/access_reviews/item/apply_decisions/apply_decisions_request_builder.py b/msgraph_beta/generated/access_reviews/item/apply_decisions/apply_decisions_request_builder.py index 1f3a3b3b594..b127f62d31e 100644 --- a/msgraph_beta/generated/access_reviews/item/apply_decisions/apply_decisions_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/apply_decisions/apply_decisions_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ApplyDecisionsRequestBuilderPostRequestConfiguration] = None) -> None: """ - In the Microsoft Entra access reviews feature, apply the decisions of a completed accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. After an access review is finished, either because it reached the end date or an administrator stopped it manually, and auto-apply wasn't configured for the review, you can call Apply to apply the changes. Until apply occurs, the decisions to remove access rights do not appear on the source resource, the users for instance retain their group memberships. By calling apply, the outcome of the review is implemented by updating the group or application. If a user's access was denied in the review, when an administrator calls this API, Microsoft Entra ID removes their membership or application assignment. After an access review is finished, and auto-apply was configured, then the status of the review will change from Completed through intermediate states and finally will change to state Applied. You should expect to see denied users, if any, being removed from the resource group membership or app assignment in a few minutes. A configured auto applying review, or selecting Apply doesn't have an effect on a group that originates in an on-premises directory or a dynamic group. If you want to change a group that originates on-premises, download the results and apply those changes to the representation of the group in that directory. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, apply the decisions of a completed accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. After an access review is finished, either because it reached the end date or an administrator stopped it manually, and auto-apply wasn't configured for the review, you can call Apply to apply the changes. Until apply occurs, the decisions to remove access rights do not appear on the source resource, the users for instance retain their group memberships. By calling apply, the outcome of the review is implemented by updating the group or application. If a user's access was denied in the review, when an administrator calls this API, Microsoft Entra ID removes their membership or application assignment. After an access review is finished, and auto-apply was configured, then the status of the review will change from Completed through intermediate states and finally will change to state Applied. You should expect to see denied users, if any, being removed from the resource group membership or app assignment in a few minutes. A configured auto applying review, or selecting Apply doesn't have an effect on a group that originates in an on-premises directory or a dynamic group. If you want to change a group that originates on-premises, download the results and apply those changes to the representation of the group in that directory. 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/accessreview-apply?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ApplyDecisionsRequestBuilder def to_post_request_information(self,request_configuration: Optional[ApplyDecisionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, apply the decisions of a completed accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. After an access review is finished, either because it reached the end date or an administrator stopped it manually, and auto-apply wasn't configured for the review, you can call Apply to apply the changes. Until apply occurs, the decisions to remove access rights do not appear on the source resource, the users for instance retain their group memberships. By calling apply, the outcome of the review is implemented by updating the group or application. If a user's access was denied in the review, when an administrator calls this API, Microsoft Entra ID removes their membership or application assignment. After an access review is finished, and auto-apply was configured, then the status of the review will change from Completed through intermediate states and finally will change to state Applied. You should expect to see denied users, if any, being removed from the resource group membership or app assignment in a few minutes. A configured auto applying review, or selecting Apply doesn't have an effect on a group that originates in an on-premises directory or a dynamic group. If you want to change a group that originates on-premises, download the results and apply those changes to the representation of the group in that directory. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, apply the decisions of a completed accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. After an access review is finished, either because it reached the end date or an administrator stopped it manually, and auto-apply wasn't configured for the review, you can call Apply to apply the changes. Until apply occurs, the decisions to remove access rights do not appear on the source resource, the users for instance retain their group memberships. By calling apply, the outcome of the review is implemented by updating the group or application. If a user's access was denied in the review, when an administrator calls this API, Microsoft Entra ID removes their membership or application assignment. After an access review is finished, and auto-apply was configured, then the status of the review will change from Completed through intermediate states and finally will change to state Applied. You should expect to see denied users, if any, being removed from the resource group membership or app assignment in a few minutes. A configured auto applying review, or selecting Apply doesn't have an effect on a group that originates in an on-premises directory or a dynamic group. If you want to change a group that originates on-premises, download the results and apply those changes to the representation of the group in that directory. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ApplyDecisi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ApplyDecisionsRequestBuilder: diff --git a/msgraph_beta/generated/access_reviews/item/decisions/decisions_request_builder.py b/msgraph_beta/generated/access_reviews/item/decisions/decisions_request_builder.py index 809ada4bf31..0ca0a12bdee 100644 --- a/msgraph_beta/generated/access_reviews/item/decisions/decisions_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/decisions/decisions_request_builder.py @@ -45,7 +45,7 @@ def by_access_review_decision_id(self,access_review_decision_id: str) -> AccessR async def get(self,request_configuration: Optional[DecisionsRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewDecisionCollectionResponse]: """ - In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewDecisionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreview-listdecisions?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AccessReviewDecision] = None, request_configu def to_get_request_information(self,request_configuration: Optional[DecisionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[DecisionsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessReviewDecision] = None, request_configuration: Optional[DecisionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AccessReviewDecision] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DecisionsRequestBuilderGetQueryParameters(): """ - In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/access_reviews/item/decisions/item/access_review_decision_item_request_builder.py b/msgraph_beta/generated/access_reviews/item/decisions/item/access_review_decision_item_request_builder.py index 36f8e7c6a1d..29e6ada6ec0 100644 --- a/msgraph_beta/generated/access_reviews/item/decisions/item/access_review_decision_item_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/decisions/item/access_review_decision_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessRev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessReviewDecisionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessReviewDecision] = None, request_configuration: Optional[AccessReviewDecisionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessReviewDecision] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/access_reviews/item/instances/instances_request_builder.py b/msgraph_beta/generated/access_reviews/item/instances/instances_request_builder.py index 61739128683..3103a553075 100644 --- a/msgraph_beta/generated/access_reviews/item/instances/instances_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/instances/instances_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[InstancesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessReview] = None, request_configuration: Optional[InstancesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessReview] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/access_reviews/item/instances/item/access_review_item_request_builder.py b/msgraph_beta/generated/access_reviews/item/instances/item/access_review_item_request_builder.py index 558a48f5675..b815c460cc0 100644 --- a/msgraph_beta/generated/access_reviews/item/instances/item/access_review_item_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/instances/item/access_review_item_request_builder.py @@ -110,7 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessRev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessReviewItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessReview] = None, request_configuration: Optional[AccessReviewItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[AccessReview] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/access_reviews/item/instances/item/apply_decisions/apply_decisions_request_builder.py b/msgraph_beta/generated/access_reviews/item/instances/item/apply_decisions/apply_decisions_request_builder.py index 64ad3ec6b15..f1dcb379249 100644 --- a/msgraph_beta/generated/access_reviews/item/instances/item/apply_decisions/apply_decisions_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/instances/item/apply_decisions/apply_decisions_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ApplyDecisionsRequestBuilderPostRequestConfiguration] = None) -> None: """ - In the Microsoft Entra access reviews feature, apply the decisions of a completed accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. After an access review is finished, either because it reached the end date or an administrator stopped it manually, and auto-apply wasn't configured for the review, you can call Apply to apply the changes. Until apply occurs, the decisions to remove access rights do not appear on the source resource, the users for instance retain their group memberships. By calling apply, the outcome of the review is implemented by updating the group or application. If a user's access was denied in the review, when an administrator calls this API, Microsoft Entra ID removes their membership or application assignment. After an access review is finished, and auto-apply was configured, then the status of the review will change from Completed through intermediate states and finally will change to state Applied. You should expect to see denied users, if any, being removed from the resource group membership or app assignment in a few minutes. A configured auto applying review, or selecting Apply doesn't have an effect on a group that originates in an on-premises directory or a dynamic group. If you want to change a group that originates on-premises, download the results and apply those changes to the representation of the group in that directory. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, apply the decisions of a completed accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. After an access review is finished, either because it reached the end date or an administrator stopped it manually, and auto-apply wasn't configured for the review, you can call Apply to apply the changes. Until apply occurs, the decisions to remove access rights do not appear on the source resource, the users for instance retain their group memberships. By calling apply, the outcome of the review is implemented by updating the group or application. If a user's access was denied in the review, when an administrator calls this API, Microsoft Entra ID removes their membership or application assignment. After an access review is finished, and auto-apply was configured, then the status of the review will change from Completed through intermediate states and finally will change to state Applied. You should expect to see denied users, if any, being removed from the resource group membership or app assignment in a few minutes. A configured auto applying review, or selecting Apply doesn't have an effect on a group that originates in an on-premises directory or a dynamic group. If you want to change a group that originates on-premises, download the results and apply those changes to the representation of the group in that directory. 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/accessreview-apply?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ApplyDecisionsRequestBuilder def to_post_request_information(self,request_configuration: Optional[ApplyDecisionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, apply the decisions of a completed accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. After an access review is finished, either because it reached the end date or an administrator stopped it manually, and auto-apply wasn't configured for the review, you can call Apply to apply the changes. Until apply occurs, the decisions to remove access rights do not appear on the source resource, the users for instance retain their group memberships. By calling apply, the outcome of the review is implemented by updating the group or application. If a user's access was denied in the review, when an administrator calls this API, Microsoft Entra ID removes their membership or application assignment. After an access review is finished, and auto-apply was configured, then the status of the review will change from Completed through intermediate states and finally will change to state Applied. You should expect to see denied users, if any, being removed from the resource group membership or app assignment in a few minutes. A configured auto applying review, or selecting Apply doesn't have an effect on a group that originates in an on-premises directory or a dynamic group. If you want to change a group that originates on-premises, download the results and apply those changes to the representation of the group in that directory. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, apply the decisions of a completed accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. After an access review is finished, either because it reached the end date or an administrator stopped it manually, and auto-apply wasn't configured for the review, you can call Apply to apply the changes. Until apply occurs, the decisions to remove access rights do not appear on the source resource, the users for instance retain their group memberships. By calling apply, the outcome of the review is implemented by updating the group or application. If a user's access was denied in the review, when an administrator calls this API, Microsoft Entra ID removes their membership or application assignment. After an access review is finished, and auto-apply was configured, then the status of the review will change from Completed through intermediate states and finally will change to state Applied. You should expect to see denied users, if any, being removed from the resource group membership or app assignment in a few minutes. A configured auto applying review, or selecting Apply doesn't have an effect on a group that originates in an on-premises directory or a dynamic group. If you want to change a group that originates on-premises, download the results and apply those changes to the representation of the group in that directory. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ApplyDecisi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ApplyDecisionsRequestBuilder: diff --git a/msgraph_beta/generated/access_reviews/item/instances/item/decisions/decisions_request_builder.py b/msgraph_beta/generated/access_reviews/item/instances/item/decisions/decisions_request_builder.py index 0da48feaa00..86b632c0e15 100644 --- a/msgraph_beta/generated/access_reviews/item/instances/item/decisions/decisions_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/instances/item/decisions/decisions_request_builder.py @@ -45,7 +45,7 @@ def by_access_review_decision_id(self,access_review_decision_id: str) -> AccessR async def get(self,request_configuration: Optional[DecisionsRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewDecisionCollectionResponse]: """ - In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewDecisionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreview-listdecisions?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AccessReviewDecision] = None, request_configu def to_get_request_information(self,request_configuration: Optional[DecisionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[DecisionsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessReviewDecision] = None, request_configuration: Optional[DecisionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AccessReviewDecision] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DecisionsRequestBuilderGetQueryParameters(): """ - In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/access_reviews/item/instances/item/decisions/item/access_review_decision_item_request_builder.py b/msgraph_beta/generated/access_reviews/item/instances/item/decisions/item/access_review_decision_item_request_builder.py index f6735cd14a8..0ea14921a37 100644 --- a/msgraph_beta/generated/access_reviews/item/instances/item/decisions/item/access_review_decision_item_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/instances/item/decisions/item/access_review_decision_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessRev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessReviewDecisionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessReviewDecision] = None, request_configuration: Optional[AccessReviewDecisionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessReviewDecision] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/access_reviews/item/instances/item/my_decisions/item/access_review_decision_item_request_builder.py b/msgraph_beta/generated/access_reviews/item/instances/item/my_decisions/item/access_review_decision_item_request_builder.py index 193a5013fff..b3e4c966105 100644 --- a/msgraph_beta/generated/access_reviews/item/instances/item/my_decisions/item/access_review_decision_item_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/instances/item/my_decisions/item/access_review_decision_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessRev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessReviewDecisionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessReviewDecision] = None, request_configuration: Optional[AccessReviewDecisionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessReviewDecision] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/access_reviews/item/instances/item/my_decisions/my_decisions_request_builder.py b/msgraph_beta/generated/access_reviews/item/instances/item/my_decisions/my_decisions_request_builder.py index 5bb2fe82bba..d2ef887cc5f 100644 --- a/msgraph_beta/generated/access_reviews/item/instances/item/my_decisions/my_decisions_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/instances/item/my_decisions/my_decisions_request_builder.py @@ -45,7 +45,7 @@ def by_access_review_decision_id(self,access_review_decision_id: str) -> AccessR async def get(self,request_configuration: Optional[MyDecisionsRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewDecisionCollectionResponse]: """ - In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object for the calling user as reviewer. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object for the calling user as reviewer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewDecisionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreview-listmydecisions?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AccessReviewDecision] = None, request_configu def to_get_request_information(self,request_configuration: Optional[MyDecisionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object for the calling user as reviewer. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object for the calling user as reviewer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[MyDecisionsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessReviewDecision] = None, request_configuration: Optional[MyDecisionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AccessReviewDecision] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MyDecisionsRequestBuilderGetQueryParameters(): """ - In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object for the calling user as reviewer. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object for the calling user as reviewer. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/access_reviews/item/instances/item/reset_decisions/reset_decisions_request_builder.py b/msgraph_beta/generated/access_reviews/item/instances/item/reset_decisions/reset_decisions_request_builder.py index 082e6942ff2..c6b75014978 100644 --- a/msgraph_beta/generated/access_reviews/item/instances/item/reset_decisions/reset_decisions_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/instances/item/reset_decisions/reset_decisions_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ResetDecisionsRequestBuilderPostRequestConfiguration] = None) -> None: """ - In the Microsoft Entra access reviews feature, reset the decisions of a currently active accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. Previous decisions are no longer recorded, but reviewers can continue to update decisions. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, reset the decisions of a currently active accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. Previous decisions are no longer recorded, but reviewers can continue to update decisions. 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/accessreview-reset?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ResetDecisionsRequestBuilder def to_post_request_information(self,request_configuration: Optional[ResetDecisionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, reset the decisions of a currently active accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. Previous decisions are no longer recorded, but reviewers can continue to update decisions. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, reset the decisions of a currently active accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. Previous decisions are no longer recorded, but reviewers can continue to update decisions. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ResetDecisi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResetDecisionsRequestBuilder: diff --git a/msgraph_beta/generated/access_reviews/item/instances/item/reviewers/item/access_review_reviewer_item_request_builder.py b/msgraph_beta/generated/access_reviews/item/instances/item/reviewers/item/access_review_reviewer_item_request_builder.py index b86e9e3547e..04530d29b8d 100644 --- a/msgraph_beta/generated/access_reviews/item/instances/item/reviewers/item/access_review_reviewer_item_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/instances/item/reviewers/item/access_review_reviewer_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AccessReviewReviewerItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - In the Microsoft Entra access reviews feature, update an existing accessReview object to remove a user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, update an existing accessReview object to remove a user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers. 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/accessreview-removereviewer?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def patch(self,body: Optional[AccessReviewReviewer] = None, request_config def to_delete_request_information(self,request_configuration: Optional[AccessReviewReviewerItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, update an existing accessReview object to remove a user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, update an existing accessReview object to remove a user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessRev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessReviewReviewerItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessReviewReviewer] = None, request_configuration: Optional[AccessReviewReviewerItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessReviewReviewer] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/access_reviews/item/instances/item/reviewers/reviewers_request_builder.py b/msgraph_beta/generated/access_reviews/item/instances/item/reviewers/reviewers_request_builder.py index 0fa23f64f05..2afd0867f43 100644 --- a/msgraph_beta/generated/access_reviews/item/instances/item/reviewers/reviewers_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/instances/item/reviewers/reviewers_request_builder.py @@ -45,7 +45,7 @@ def by_access_review_reviewer_id(self,access_review_reviewer_id: str) -> AccessR async def get(self,request_configuration: Optional[ReviewersRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewReviewerCollectionResponse]: """ - In the Microsoft Entra access reviews feature, retrieve the reviewers of an accessReview object. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, retrieve the reviewers of an accessReview object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewReviewerCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreview-listreviewers?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ReviewersRequestBuilderGetReq async def post(self,body: Optional[AccessReviewReviewer] = None, request_configuration: Optional[ReviewersRequestBuilderPostRequestConfiguration] = None) -> Optional[AccessReviewReviewer]: """ - In the Microsoft Entra access reviews feature, update an existing accessReview object to add another user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, update an existing accessReview object to add another user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewReviewer] @@ -92,7 +92,7 @@ async def post(self,body: Optional[AccessReviewReviewer] = None, request_configu def to_get_request_information(self,request_configuration: Optional[ReviewersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, retrieve the reviewers of an accessReview object. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, retrieve the reviewers of an accessReview object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ReviewersReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessReviewReviewer] = None, request_configuration: Optional[ReviewersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, update an existing accessReview object to add another user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, update an existing accessReview object to add another user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[AccessReviewReviewer] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ReviewersRequestBuilderGetQueryParameters(): """ - In the Microsoft Entra access reviews feature, retrieve the reviewers of an accessReview object. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, retrieve the reviewers of an accessReview object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/access_reviews/item/instances/item/send_reminder/send_reminder_request_builder.py b/msgraph_beta/generated/access_reviews/item/instances/item/send_reminder/send_reminder_request_builder.py index 8a7ce8c3740..220c9fa8435 100644 --- a/msgraph_beta/generated/access_reviews/item/instances/item/send_reminder/send_reminder_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/instances/item/send_reminder/send_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SendReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - In the Microsoft Entra access reviews feature, send a reminder to the reviewers of a currently active accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, send a reminder to the reviewers of a currently active accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. 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/accessreview-sendreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SendReminderRequestBuilderPo def to_post_request_information(self,request_configuration: Optional[SendReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, send a reminder to the reviewers of a currently active accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, send a reminder to the reviewers of a currently active accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SendReminde request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SendReminderRequestBuilder: diff --git a/msgraph_beta/generated/access_reviews/item/instances/item/stop/stop_request_builder.py b/msgraph_beta/generated/access_reviews/item/instances/item/stop/stop_request_builder.py index 01eed2ac33e..dabc0f2cb37 100644 --- a/msgraph_beta/generated/access_reviews/item/instances/item/stop/stop_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/instances/item/stop/stop_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[StopRequestBuilderPostRequestConfiguration] = None) -> None: """ - In the Microsoft Entra access reviews feature, stop a currently active accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. (To prevent a recurring access review from starting future instances, update it to change its scheduled end date). After the access review stops, reviewers can no longer give input, and the access review decisions can be applied. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, stop a currently active accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. (To prevent a recurring access review from starting future instances, update it to change its scheduled end date). After the access review stops, reviewers can no longer give input, and the access review decisions can be applied. 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/accessreview-stop?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[StopRequestBuilderPostReques def to_post_request_information(self,request_configuration: Optional[StopRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, stop a currently active accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. (To prevent a recurring access review from starting future instances, update it to change its scheduled end date). After the access review stops, reviewers can no longer give input, and the access review decisions can be applied. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, stop a currently active accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. (To prevent a recurring access review from starting future instances, update it to change its scheduled end date). After the access review stops, reviewers can no longer give input, and the access review decisions can be applied. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[StopRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> StopRequestBuilder: diff --git a/msgraph_beta/generated/access_reviews/item/my_decisions/item/access_review_decision_item_request_builder.py b/msgraph_beta/generated/access_reviews/item/my_decisions/item/access_review_decision_item_request_builder.py index 1f4c1b53558..ab511e65b23 100644 --- a/msgraph_beta/generated/access_reviews/item/my_decisions/item/access_review_decision_item_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/my_decisions/item/access_review_decision_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessRev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessReviewDecisionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessReviewDecision] = None, request_configuration: Optional[AccessReviewDecisionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessReviewDecision] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/access_reviews/item/my_decisions/my_decisions_request_builder.py b/msgraph_beta/generated/access_reviews/item/my_decisions/my_decisions_request_builder.py index dc7013efae0..959cb4eee15 100644 --- a/msgraph_beta/generated/access_reviews/item/my_decisions/my_decisions_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/my_decisions/my_decisions_request_builder.py @@ -45,7 +45,7 @@ def by_access_review_decision_id(self,access_review_decision_id: str) -> AccessR async def get(self,request_configuration: Optional[MyDecisionsRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewDecisionCollectionResponse]: """ - In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object for the calling user as reviewer. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object for the calling user as reviewer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewDecisionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreview-listmydecisions?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AccessReviewDecision] = None, request_configu def to_get_request_information(self,request_configuration: Optional[MyDecisionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object for the calling user as reviewer. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object for the calling user as reviewer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[MyDecisionsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessReviewDecision] = None, request_configuration: Optional[MyDecisionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AccessReviewDecision] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MyDecisionsRequestBuilderGetQueryParameters(): """ - In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object for the calling user as reviewer. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object for the calling user as reviewer. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/access_reviews/item/reset_decisions/reset_decisions_request_builder.py b/msgraph_beta/generated/access_reviews/item/reset_decisions/reset_decisions_request_builder.py index 6cd7e9de370..5876cc4a74c 100644 --- a/msgraph_beta/generated/access_reviews/item/reset_decisions/reset_decisions_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/reset_decisions/reset_decisions_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ResetDecisionsRequestBuilderPostRequestConfiguration] = None) -> None: """ - In the Microsoft Entra access reviews feature, reset the decisions of a currently active accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. Previous decisions are no longer recorded, but reviewers can continue to update decisions. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, reset the decisions of a currently active accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. Previous decisions are no longer recorded, but reviewers can continue to update decisions. 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/accessreview-reset?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ResetDecisionsRequestBuilder def to_post_request_information(self,request_configuration: Optional[ResetDecisionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, reset the decisions of a currently active accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. Previous decisions are no longer recorded, but reviewers can continue to update decisions. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, reset the decisions of a currently active accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. Previous decisions are no longer recorded, but reviewers can continue to update decisions. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ResetDecisi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResetDecisionsRequestBuilder: diff --git a/msgraph_beta/generated/access_reviews/item/reviewers/item/access_review_reviewer_item_request_builder.py b/msgraph_beta/generated/access_reviews/item/reviewers/item/access_review_reviewer_item_request_builder.py index e230ece62a8..73cf160b95f 100644 --- a/msgraph_beta/generated/access_reviews/item/reviewers/item/access_review_reviewer_item_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/reviewers/item/access_review_reviewer_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AccessReviewReviewerItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - In the Microsoft Entra access reviews feature, update an existing accessReview object to remove a user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, update an existing accessReview object to remove a user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers. 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/accessreview-removereviewer?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def patch(self,body: Optional[AccessReviewReviewer] = None, request_config def to_delete_request_information(self,request_configuration: Optional[AccessReviewReviewerItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, update an existing accessReview object to remove a user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, update an existing accessReview object to remove a user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessRev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessReviewReviewerItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessReviewReviewer] = None, request_configuration: Optional[AccessReviewReviewerItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessReviewReviewer] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/access_reviews/item/reviewers/reviewers_request_builder.py b/msgraph_beta/generated/access_reviews/item/reviewers/reviewers_request_builder.py index 1fa128f7a47..5ff8668ba0f 100644 --- a/msgraph_beta/generated/access_reviews/item/reviewers/reviewers_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/reviewers/reviewers_request_builder.py @@ -45,7 +45,7 @@ def by_access_review_reviewer_id(self,access_review_reviewer_id: str) -> AccessR async def get(self,request_configuration: Optional[ReviewersRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewReviewerCollectionResponse]: """ - In the Microsoft Entra access reviews feature, retrieve the reviewers of an accessReview object. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, retrieve the reviewers of an accessReview object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewReviewerCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreview-listreviewers?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ReviewersRequestBuilderGetReq async def post(self,body: Optional[AccessReviewReviewer] = None, request_configuration: Optional[ReviewersRequestBuilderPostRequestConfiguration] = None) -> Optional[AccessReviewReviewer]: """ - In the Microsoft Entra access reviews feature, update an existing accessReview object to add another user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, update an existing accessReview object to add another user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewReviewer] @@ -92,7 +92,7 @@ async def post(self,body: Optional[AccessReviewReviewer] = None, request_configu def to_get_request_information(self,request_configuration: Optional[ReviewersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, retrieve the reviewers of an accessReview object. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, retrieve the reviewers of an accessReview object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ReviewersReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessReviewReviewer] = None, request_configuration: Optional[ReviewersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, update an existing accessReview object to add another user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, update an existing accessReview object to add another user as a reviewer. This operation is only permitted for an access review that isn't yet completed, and only for an access review where the reviewers are explicitly specified. This operation isn't permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[AccessReviewReviewer] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ReviewersRequestBuilderGetQueryParameters(): """ - In the Microsoft Entra access reviews feature, retrieve the reviewers of an accessReview object. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, retrieve the reviewers of an accessReview object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/access_reviews/item/send_reminder/send_reminder_request_builder.py b/msgraph_beta/generated/access_reviews/item/send_reminder/send_reminder_request_builder.py index dab4d20fcde..bd43cac1c40 100644 --- a/msgraph_beta/generated/access_reviews/item/send_reminder/send_reminder_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/send_reminder/send_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SendReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - In the Microsoft Entra access reviews feature, send a reminder to the reviewers of a currently active accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, send a reminder to the reviewers of a currently active accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. 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/accessreview-sendreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SendReminderRequestBuilderPo def to_post_request_information(self,request_configuration: Optional[SendReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, send a reminder to the reviewers of a currently active accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, send a reminder to the reviewers of a currently active accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SendReminde request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SendReminderRequestBuilder: diff --git a/msgraph_beta/generated/access_reviews/item/stop/stop_request_builder.py b/msgraph_beta/generated/access_reviews/item/stop/stop_request_builder.py index 20927a3c7b4..b21923080cf 100644 --- a/msgraph_beta/generated/access_reviews/item/stop/stop_request_builder.py +++ b/msgraph_beta/generated/access_reviews/item/stop/stop_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[StopRequestBuilderPostRequestConfiguration] = None) -> None: """ - In the Microsoft Entra access reviews feature, stop a currently active accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. (To prevent a recurring access review from starting future instances, update it to change its scheduled end date). After the access review stops, reviewers can no longer give input, and the access review decisions can be applied. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, stop a currently active accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. (To prevent a recurring access review from starting future instances, update it to change its scheduled end date). After the access review stops, reviewers can no longer give input, and the access review decisions can be applied. 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/accessreview-stop?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[StopRequestBuilderPostReques def to_post_request_information(self,request_configuration: Optional[StopRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, stop a currently active accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. (To prevent a recurring access review from starting future instances, update it to change its scheduled end date). After the access review stops, reviewers can no longer give input, and the access review decisions can be applied. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, stop a currently active accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. (To prevent a recurring access review from starting future instances, update it to change its scheduled end date). After the access review stops, reviewers can no longer give input, and the access review decisions can be applied. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[StopRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> StopRequestBuilder: diff --git a/msgraph_beta/generated/activitystatistics/activitystatistics_request_builder.py b/msgraph_beta/generated/activitystatistics/activitystatistics_request_builder.py index 3d147228528..7d886840d2d 100644 --- a/msgraph_beta/generated/activitystatistics/activitystatistics_request_builder.py +++ b/msgraph_beta/generated/activitystatistics/activitystatistics_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/activitystatistics{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/activitystatistics{?%24top,%24skip,%24search,%24filter,%24count,%24select,%24expand}", path_parameters) def by_activity_statistics_id(self,activity_statistics_id: str) -> ActivityStatisticsItemRequestBuilder: """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Activitystat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ActivityStatistics] = None, request_configuration: Optional[ActivitystatisticsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ActivityStatistics] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -163,8 +163,6 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: return "%24expand" if original_name == "filter": return "%24filter" - if original_name == "orderby": - return "%24orderby" if original_name == "search": return "%24search" if original_name == "select": @@ -184,9 +182,6 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: # 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 diff --git a/msgraph_beta/generated/activitystatistics/item/activity_statistics_item_request_builder.py b/msgraph_beta/generated/activitystatistics/item/activity_statistics_item_request_builder.py index be432f3b6cb..843da5a964d 100644 --- a/msgraph_beta/generated/activitystatistics/item/activity_statistics_item_request_builder.py +++ b/msgraph_beta/generated/activitystatistics/item/activity_statistics_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ActivityS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ActivityStatisticsItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivityStat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ActivityStatistics] = None, request_configuration: Optional[ActivityStatisticsItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ActivityStatistics] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/admin_request_builder.py b/msgraph_beta/generated/admin/admin_request_builder.py index 53da7688943..b7b61d29c95 100644 --- a/msgraph_beta/generated/admin/admin_request_builder.py +++ b/msgraph_beta/generated/admin/admin_request_builder.py @@ -16,6 +16,7 @@ from .dynamics.dynamics_request_builder import DynamicsRequestBuilder from .edge.edge_request_builder import EdgeRequestBuilder from .forms.forms_request_builder import FormsRequestBuilder + from .microsoft365_apps.microsoft365_apps_request_builder import Microsoft365AppsRequestBuilder from .people.people_request_builder import PeopleRequestBuilder from .report_settings.report_settings_request_builder import ReportSettingsRequestBuilder from .service_announcement.service_announcement_request_builder import ServiceAnnouncementRequestBuilder @@ -95,7 +96,7 @@ def to_get_request_information(self,request_configuration: Optional[AdminRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Admin] = None, request_configuration: Optional[AdminRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -114,7 +115,7 @@ def to_patch_request_information(self,body: Optional[Admin] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -164,6 +165,15 @@ def forms(self) -> FormsRequestBuilder: return FormsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def microsoft365_apps(self) -> Microsoft365AppsRequestBuilder: + """ + Provides operations to manage the microsoft365Apps property of the microsoft.graph.admin entity. + """ + from .microsoft365_apps.microsoft365_apps_request_builder import Microsoft365AppsRequestBuilder + + return Microsoft365AppsRequestBuilder(self.request_adapter, self.path_parameters) + @property def people(self) -> PeopleRequestBuilder: """ diff --git a/msgraph_beta/generated/admin/apps_and_services/apps_and_services_request_builder.py b/msgraph_beta/generated/admin/apps_and_services/apps_and_services_request_builder.py index 56c6d377c56..e013c0af758 100644 --- a/msgraph_beta/generated/admin/apps_and_services/apps_and_services_request_builder.py +++ b/msgraph_beta/generated/admin/apps_and_services/apps_and_services_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[AppsAndServicesRequestBuil async def get(self,request_configuration: Optional[AppsAndServicesRequestBuilderGetRequestConfiguration] = None) -> Optional[AdminAppsAndServices]: """ - Read the properties and relationships of a adminAppsAndServices object. This API is available in the following national cloud deployments. + Read the properties and relationships of a adminAppsAndServices object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AdminAppsAndServices] Find more info here: https://learn.microsoft.com/graph/api/adminappsandservices-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[AppsAndServicesRequestBuilder async def patch(self,body: Optional[AdminAppsAndServices] = None, request_configuration: Optional[AppsAndServicesRequestBuilderPatchRequestConfiguration] = None) -> Optional[AdminAppsAndServices]: """ - Update the properties of a adminAppsAndServices object. This API is available in the following national cloud deployments. + Update the properties of a adminAppsAndServices object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AdminAppsAndServices] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[AppsAndSe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AppsAndServicesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a adminAppsAndServices object. This API is available in the following national cloud deployments. + Read the properties and relationships of a adminAppsAndServices object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[AppsAndServi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AdminAppsAndServices] = None, request_configuration: Optional[AppsAndServicesRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a adminAppsAndServices object. This API is available in the following national cloud deployments. + Update the properties of a adminAppsAndServices object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AdminAppsAndServices] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class AppsAndServicesRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class AppsAndServicesRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a adminAppsAndServices object. This API is available in the following national cloud deployments. + Read the properties and relationships of a adminAppsAndServices object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/dynamics/dynamics_request_builder.py b/msgraph_beta/generated/admin/dynamics/dynamics_request_builder.py index 3e8eb5f10c7..8c3e43a1c50 100644 --- a/msgraph_beta/generated/admin/dynamics/dynamics_request_builder.py +++ b/msgraph_beta/generated/admin/dynamics/dynamics_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[DynamicsRequestBuilderDele async def get(self,request_configuration: Optional[DynamicsRequestBuilderGetRequestConfiguration] = None) -> Optional[AdminDynamics]: """ - Read the properties and relationships of a adminDynamics object. This API is available in the following national cloud deployments. + Read the properties and relationships of a adminDynamics object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AdminDynamics] Find more info here: https://learn.microsoft.com/graph/api/admindynamics-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[DynamicsRequestBuilderGetRequ async def patch(self,body: Optional[AdminDynamics] = None, request_configuration: Optional[DynamicsRequestBuilderPatchRequestConfiguration] = None) -> Optional[AdminDynamics]: """ - Update the properties of a adminDynamics object. This API is available in the following national cloud deployments. + Update the properties of a adminDynamics object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AdminDynamics] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[DynamicsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DynamicsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a adminDynamics object. This API is available in the following national cloud deployments. + Read the properties and relationships of a adminDynamics object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[DynamicsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AdminDynamics] = None, request_configuration: Optional[DynamicsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a adminDynamics object. This API is available in the following national cloud deployments. + Update the properties of a adminDynamics object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AdminDynamics] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class DynamicsRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class DynamicsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a adminDynamics object. This API is available in the following national cloud deployments. + Read the properties and relationships of a adminDynamics object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/edge/edge_request_builder.py b/msgraph_beta/generated/admin/edge/edge_request_builder.py index 77f20df02fb..d99aee009bb 100644 --- a/msgraph_beta/generated/admin/edge/edge_request_builder.py +++ b/msgraph_beta/generated/admin/edge/edge_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[EdgeReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EdgeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[EdgeRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Edge] = None, request_configuration: Optional[EdgeRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Edge] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/edge/internet_explorer_mode/internet_explorer_mode_request_builder.py b/msgraph_beta/generated/admin/edge/internet_explorer_mode/internet_explorer_mode_request_builder.py index 05f102f7683..0822e84000c 100644 --- a/msgraph_beta/generated/admin/edge/internet_explorer_mode/internet_explorer_mode_request_builder.py +++ b/msgraph_beta/generated/admin/edge/internet_explorer_mode/internet_explorer_mode_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[InternetE request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[InternetExplorerModeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[InternetExpl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[InternetExplorerMode] = None, request_configuration: Optional[InternetExplorerModeRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[InternetExplorerMode] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/browser_site_list_item_request_builder.py b/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/browser_site_list_item_request_builder.py index 1cb1ad54653..da8b10d7d93 100644 --- a/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/browser_site_list_item_request_builder.py +++ b/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/browser_site_list_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[BrowserSiteListItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a browserSiteList object. This API is available in the following national cloud deployments. + Delete a browserSiteList object. 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/internetexplorermode-delete-sitelists?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[BrowserSiteListItemRequest async def get(self,request_configuration: Optional[BrowserSiteListItemRequestBuilderGetRequestConfiguration] = None) -> Optional[BrowserSiteList]: """ - Get a browserSiteList that contains browserSite and browserSharedCookie resources. This API is available in the following national cloud deployments. + Get a browserSiteList that contains browserSite and browserSharedCookie resources. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BrowserSiteList] Find more info here: https://learn.microsoft.com/graph/api/browsersitelist-get?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[BrowserSiteListItemRequestBui async def patch(self,body: Optional[BrowserSiteList] = None, request_configuration: Optional[BrowserSiteListItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[BrowserSiteList]: """ - Update the properties of a browserSiteList object. This API is available in the following national cloud deployments. + Update the properties of a browserSiteList object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BrowserSiteList] @@ -98,7 +98,7 @@ async def patch(self,body: Optional[BrowserSiteList] = None, request_configurati def to_delete_request_information(self,request_configuration: Optional[BrowserSiteListItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a browserSiteList object. This API is available in the following national cloud deployments. + Delete a browserSiteList object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[BrowserSi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BrowserSiteListItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a browserSiteList that contains browserSite and browserSharedCookie resources. This API is available in the following national cloud deployments. + Get a browserSiteList that contains browserSite and browserSharedCookie resources. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,12 +126,12 @@ def to_get_request_information(self,request_configuration: Optional[BrowserSiteL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[BrowserSiteList] = None, request_configuration: Optional[BrowserSiteListItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a browserSiteList object. This API is available in the following national cloud deployments. + Update the properties of a browserSiteList object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[BrowserSiteList] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -199,7 +199,7 @@ class BrowserSiteListItemRequestBuilderDeleteRequestConfiguration(BaseRequestCon @dataclass class BrowserSiteListItemRequestBuilderGetQueryParameters(): """ - Get a browserSiteList that contains browserSite and browserSharedCookie resources. This API is available in the following national cloud deployments. + Get a browserSiteList that contains browserSite and browserSharedCookie resources. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/publish/publish_request_builder.py b/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/publish/publish_request_builder.py index ec155b3df66..5361151c87b 100644 --- a/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/publish/publish_request_builder.py +++ b/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/publish/publish_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[PublishPostRequestBody] = None, request_configuration: Optional[PublishRequestBuilderPostRequestConfiguration] = None) -> Optional[BrowserSiteList]: """ - Publish the specified browserSiteList for devices to download. This API is available in the following national cloud deployments. + Publish the specified browserSiteList for devices to download. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BrowserSiteList] @@ -54,7 +54,7 @@ async def post(self,body: Optional[PublishPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[PublishPostRequestBody] = None, request_configuration: Optional[PublishRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Publish the specified browserSiteList for devices to download. This API is available in the following national cloud deployments. + Publish the specified browserSiteList for devices to download. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[PublishPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/item/browser_shared_cookie_item_request_builder.py b/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/item/browser_shared_cookie_item_request_builder.py index 0657dedeb69..08d5c19d047 100644 --- a/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/item/browser_shared_cookie_item_request_builder.py +++ b/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/item/browser_shared_cookie_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[BrowserSharedCookieItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a browserSharedCookie from a browserSiteList. This API is available in the following national cloud deployments. + Delete a browserSharedCookie from a browserSiteList. 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/browsersitelist-delete-sharedcookies?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[BrowserSharedCookieItemReq async def get(self,request_configuration: Optional[BrowserSharedCookieItemRequestBuilderGetRequestConfiguration] = None) -> Optional[BrowserSharedCookie]: """ - Get a session cookie that can be shared between a Microsoft Edge process and an Internet Explorer process, while using Internet Explorer mode. This API is available in the following national cloud deployments. + Get a session cookie that can be shared between a Microsoft Edge process and an Internet Explorer process, while using Internet Explorer mode. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BrowserSharedCookie] Find more info here: https://learn.microsoft.com/graph/api/browsersharedcookie-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[BrowserSharedCookieItemReques async def patch(self,body: Optional[BrowserSharedCookie] = None, request_configuration: Optional[BrowserSharedCookieItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[BrowserSharedCookie]: """ - Update the properties of a browserSharedCookie object. This API is available in the following national cloud deployments. + Update the properties of a browserSharedCookie object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BrowserSharedCookie] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[BrowserSharedCookie] = None, request_configu def to_delete_request_information(self,request_configuration: Optional[BrowserSharedCookieItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a browserSharedCookie from a browserSiteList. This API is available in the following national cloud deployments. + Delete a browserSharedCookie from a browserSiteList. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[BrowserSh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BrowserSharedCookieItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a session cookie that can be shared between a Microsoft Edge process and an Internet Explorer process, while using Internet Explorer mode. This API is available in the following national cloud deployments. + Get a session cookie that can be shared between a Microsoft Edge process and an Internet Explorer process, while using Internet Explorer mode. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[BrowserShare request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[BrowserSharedCookie] = None, request_configuration: Optional[BrowserSharedCookieItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a browserSharedCookie object. This API is available in the following national cloud deployments. + Update the properties of a browserSharedCookie object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[BrowserSharedCookie] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class BrowserSharedCookieItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class BrowserSharedCookieItemRequestBuilderGetQueryParameters(): """ - Get a session cookie that can be shared between a Microsoft Edge process and an Internet Explorer process, while using Internet Explorer mode. This API is available in the following national cloud deployments. + Get a session cookie that can be shared between a Microsoft Edge process and an Internet Explorer process, while using Internet Explorer mode. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/shared_cookies_request_builder.py b/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/shared_cookies_request_builder.py index 0908c42beba..4497975909e 100644 --- a/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/shared_cookies_request_builder.py +++ b/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/shared_cookies_request_builder.py @@ -45,7 +45,7 @@ def by_browser_shared_cookie_id(self,browser_shared_cookie_id: str) -> BrowserSh async def get(self,request_configuration: Optional[SharedCookiesRequestBuilderGetRequestConfiguration] = None) -> Optional[BrowserSharedCookieCollectionResponse]: """ - Get a list of the browserSharedCookie objects and their properties. This API is available in the following national cloud deployments. + Get a list of the browserSharedCookie objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BrowserSharedCookieCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/browsersitelist-list-sharedcookies?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SharedCookiesRequestBuilderGe async def post(self,body: Optional[BrowserSharedCookie] = None, request_configuration: Optional[SharedCookiesRequestBuilderPostRequestConfiguration] = None) -> Optional[BrowserSharedCookie]: """ - Create a new browserSharedCookie object in a browserSiteList. This API is available in the following national cloud deployments. + Create a new browserSharedCookie object in a browserSiteList. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BrowserSharedCookie] @@ -92,7 +92,7 @@ async def post(self,body: Optional[BrowserSharedCookie] = None, request_configur def to_get_request_information(self,request_configuration: Optional[SharedCookiesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the browserSharedCookie objects and their properties. This API is available in the following national cloud deployments. + Get a list of the browserSharedCookie objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SharedCookie request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[BrowserSharedCookie] = None, request_configuration: Optional[SharedCookiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new browserSharedCookie object in a browserSiteList. This API is available in the following national cloud deployments. + Create a new browserSharedCookie object in a browserSiteList. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[BrowserSharedCookie] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SharedCookiesRequestBuilderGetQueryParameters(): """ - Get a list of the browserSharedCookie objects and their properties. This API is available in the following national cloud deployments. + Get a list of the browserSharedCookie objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/sites/item/browser_site_item_request_builder.py b/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/sites/item/browser_site_item_request_builder.py index 775c3af4304..81f2042b1bf 100644 --- a/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/sites/item/browser_site_item_request_builder.py +++ b/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/sites/item/browser_site_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[BrowserSiteItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a browserSite from a browserSiteList. This API is available in the following national cloud deployments. + Delete a browserSite from a browserSiteList. 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/browsersitelist-delete-sites?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[BrowserSiteItemRequestBuil async def get(self,request_configuration: Optional[BrowserSiteItemRequestBuilderGetRequestConfiguration] = None) -> Optional[BrowserSite]: """ - Get a browserSite that resides on a browserSiteList. This API is available in the following national cloud deployments. + Get a browserSite that resides on a browserSiteList. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BrowserSite] Find more info here: https://learn.microsoft.com/graph/api/browsersite-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[BrowserSiteItemRequestBuilder async def patch(self,body: Optional[BrowserSite] = None, request_configuration: Optional[BrowserSiteItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[BrowserSite]: """ - Update the properties of a browserSite object. This API is available in the following national cloud deployments. + Update the properties of a browserSite object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BrowserSite] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[BrowserSite] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[BrowserSiteItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a browserSite from a browserSiteList. This API is available in the following national cloud deployments. + Delete a browserSite from a browserSiteList. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[BrowserSi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BrowserSiteItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a browserSite that resides on a browserSiteList. This API is available in the following national cloud deployments. + Get a browserSite that resides on a browserSiteList. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[BrowserSiteI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[BrowserSite] = None, request_configuration: Optional[BrowserSiteItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a browserSite object. This API is available in the following national cloud deployments. + Update the properties of a browserSite object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[BrowserSite] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class BrowserSiteItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class BrowserSiteItemRequestBuilderGetQueryParameters(): """ - Get a browserSite that resides on a browserSiteList. This API is available in the following national cloud deployments. + Get a browserSite that resides on a browserSiteList. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/sites/sites_request_builder.py b/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/sites/sites_request_builder.py index 52010b0a113..d36de882807 100644 --- a/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/sites/sites_request_builder.py +++ b/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/item/sites/sites_request_builder.py @@ -45,7 +45,7 @@ def by_browser_site_id(self,browser_site_id: str) -> BrowserSiteItemRequestBuild async def get(self,request_configuration: Optional[SitesRequestBuilderGetRequestConfiguration] = None) -> Optional[BrowserSiteCollectionResponse]: """ - Get a list of the browserSite objects and their properties. This API is available in the following national cloud deployments. + Get a list of the browserSite objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BrowserSiteCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/browsersitelist-list-sites?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SitesRequestBuilderGetRequest async def post(self,body: Optional[BrowserSite] = None, request_configuration: Optional[SitesRequestBuilderPostRequestConfiguration] = None) -> Optional[BrowserSite]: """ - Create a new browserSite object in a browserSiteList. This API is available in the following national cloud deployments. + Create a new browserSite object in a browserSiteList. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BrowserSite] @@ -92,7 +92,7 @@ async def post(self,body: Optional[BrowserSite] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[SitesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the browserSite objects and their properties. This API is available in the following national cloud deployments. + Get a list of the browserSite objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SitesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[BrowserSite] = None, request_configuration: Optional[SitesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new browserSite object in a browserSiteList. This API is available in the following national cloud deployments. + Create a new browserSite object in a browserSiteList. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[BrowserSite] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SitesRequestBuilderGetQueryParameters(): """ - Get a list of the browserSite objects and their properties. This API is available in the following national cloud deployments. + Get a list of the browserSite objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/site_lists_request_builder.py b/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/site_lists_request_builder.py index f4eec0cfd56..288c1f1aeb4 100644 --- a/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/site_lists_request_builder.py +++ b/msgraph_beta/generated/admin/edge/internet_explorer_mode/site_lists/site_lists_request_builder.py @@ -45,7 +45,7 @@ def by_browser_site_list_id(self,browser_site_list_id: str) -> BrowserSiteListIt async def get(self,request_configuration: Optional[SiteListsRequestBuilderGetRequestConfiguration] = None) -> Optional[BrowserSiteListCollectionResponse]: """ - Get a list of the browserSiteList objects and their properties. This API is available in the following national cloud deployments. + Get a list of the browserSiteList objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BrowserSiteListCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/internetexplorermode-list-sitelists?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SiteListsRequestBuilderGetReq async def post(self,body: Optional[BrowserSiteList] = None, request_configuration: Optional[SiteListsRequestBuilderPostRequestConfiguration] = None) -> Optional[BrowserSiteList]: """ - Create a new browserSiteList object to support Internet Explorer mode. This API is available in the following national cloud deployments. + Create a new browserSiteList object to support Internet Explorer mode. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BrowserSiteList] @@ -92,7 +92,7 @@ async def post(self,body: Optional[BrowserSiteList] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[SiteListsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the browserSiteList objects and their properties. This API is available in the following national cloud deployments. + Get a list of the browserSiteList objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SiteListsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[BrowserSiteList] = None, request_configuration: Optional[SiteListsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new browserSiteList object to support Internet Explorer mode. This API is available in the following national cloud deployments. + Create a new browserSiteList object to support Internet Explorer mode. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[BrowserSiteList] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SiteListsRequestBuilderGetQueryParameters(): """ - Get a list of the browserSiteList objects and their properties. This API is available in the following national cloud deployments. + Get a list of the browserSiteList objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/forms/forms_request_builder.py b/msgraph_beta/generated/admin/forms/forms_request_builder.py index db1bebaf593..4f7b108e549 100644 --- a/msgraph_beta/generated/admin/forms/forms_request_builder.py +++ b/msgraph_beta/generated/admin/forms/forms_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[FormsRequestBuilderDeleteR async def get(self,request_configuration: Optional[FormsRequestBuilderGetRequestConfiguration] = None) -> Optional[AdminForms]: """ - Read the properties and relationships of a adminForms object. This API is available in the following national cloud deployments. + Read the properties and relationships of a adminForms object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AdminForms] Find more info here: https://learn.microsoft.com/graph/api/adminforms-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[FormsRequestBuilderGetRequest async def patch(self,body: Optional[AdminForms] = None, request_configuration: Optional[FormsRequestBuilderPatchRequestConfiguration] = None) -> Optional[AdminForms]: """ - Update the properties of a adminForms object. This API is available in the following national cloud deployments. + Update the properties of a adminForms object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AdminForms] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[FormsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FormsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a adminForms object. This API is available in the following national cloud deployments. + Read the properties and relationships of a adminForms object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[FormsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AdminForms] = None, request_configuration: Optional[FormsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a adminForms object. This API is available in the following national cloud deployments. + Update the properties of a adminForms object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AdminForms] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class FormsRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class FormsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a adminForms object. This API is available in the following national cloud deployments. + Read the properties and relationships of a adminForms object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/microsoft365_apps/installation_options/installation_options_request_builder.py b/msgraph_beta/generated/admin/microsoft365_apps/installation_options/installation_options_request_builder.py new file mode 100644 index 00000000000..56d54cc5c5f --- /dev/null +++ b/msgraph_beta/generated/admin/microsoft365_apps/installation_options/installation_options_request_builder.py @@ -0,0 +1,217 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.m365_apps_installation_options import M365AppsInstallationOptions + from ....models.o_data_errors.o_data_error import ODataError + +class InstallationOptionsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the installationOptions property of the microsoft.graph.adminMicrosoft365Apps entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new InstallationOptionsRequestBuilder 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}/admin/microsoft365Apps/installationOptions{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[InstallationOptionsRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property installationOptions 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[InstallationOptionsRequestBuilderGetRequestConfiguration] = None) -> Optional[M365AppsInstallationOptions]: + """ + Read the properties and relationships of an m365AppsInstallationOptions object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[M365AppsInstallationOptions] + Find more info here: https://learn.microsoft.com/graph/api/m365appsinstallationoptions-get?view=graph-rest-1.0 + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.m365_apps_installation_options import M365AppsInstallationOptions + + return await self.request_adapter.send_async(request_info, M365AppsInstallationOptions, error_mapping) + + async def patch(self,body: Optional[M365AppsInstallationOptions] = None, request_configuration: Optional[InstallationOptionsRequestBuilderPatchRequestConfiguration] = None) -> Optional[M365AppsInstallationOptions]: + """ + Update the properties of an m365AppsInstallationOptions object. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[M365AppsInstallationOptions] + Find more info here: https://learn.microsoft.com/graph/api/m365appsinstallationoptions-update?view=graph-rest-1.0 + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.m365_apps_installation_options import M365AppsInstallationOptions + + return await self.request_adapter.send_async(request_info, M365AppsInstallationOptions, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[InstallationOptionsRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property installationOptions for admin + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[InstallationOptionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Read the properties and relationships of an m365AppsInstallationOptions object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[M365AppsInstallationOptions] = None, request_configuration: Optional[InstallationOptionsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the properties of an m365AppsInstallationOptions object. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> InstallationOptionsRequestBuilder: + """ + 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: InstallationOptionsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return InstallationOptionsRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class InstallationOptionsRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class InstallationOptionsRequestBuilderGetQueryParameters(): + """ + Read the properties and relationships of an m365AppsInstallationOptions object. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class InstallationOptionsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[InstallationOptionsRequestBuilder.InstallationOptionsRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class InstallationOptionsRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/admin/microsoft365_apps/microsoft365_apps_request_builder.py b/msgraph_beta/generated/admin/microsoft365_apps/microsoft365_apps_request_builder.py new file mode 100644 index 00000000000..448b6458b5e --- /dev/null +++ b/msgraph_beta/generated/admin/microsoft365_apps/microsoft365_apps_request_builder.py @@ -0,0 +1,225 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ...models.admin_microsoft365_apps import AdminMicrosoft365Apps + from ...models.o_data_errors.o_data_error import ODataError + from .installation_options.installation_options_request_builder import InstallationOptionsRequestBuilder + +class Microsoft365AppsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the microsoft365Apps property of the microsoft.graph.admin entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new Microsoft365AppsRequestBuilder 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}/admin/microsoft365Apps{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[Microsoft365AppsRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property microsoft365Apps 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[Microsoft365AppsRequestBuilderGetRequestConfiguration] = None) -> Optional[AdminMicrosoft365Apps]: + """ + A container for the Microsoft 365 apps admin functionality. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AdminMicrosoft365Apps] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...models.admin_microsoft365_apps import AdminMicrosoft365Apps + + return await self.request_adapter.send_async(request_info, AdminMicrosoft365Apps, error_mapping) + + async def patch(self,body: Optional[AdminMicrosoft365Apps] = None, request_configuration: Optional[Microsoft365AppsRequestBuilderPatchRequestConfiguration] = None) -> Optional[AdminMicrosoft365Apps]: + """ + Update the navigation property microsoft365Apps in admin + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AdminMicrosoft365Apps] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...models.admin_microsoft365_apps import AdminMicrosoft365Apps + + return await self.request_adapter.send_async(request_info, AdminMicrosoft365Apps, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[Microsoft365AppsRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property microsoft365Apps for admin + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[Microsoft365AppsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + A container for the Microsoft 365 apps admin functionality. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[AdminMicrosoft365Apps] = None, request_configuration: Optional[Microsoft365AppsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property microsoft365Apps 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 not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> Microsoft365AppsRequestBuilder: + """ + 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: Microsoft365AppsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return Microsoft365AppsRequestBuilder(self.request_adapter, raw_url) + + @property + def installation_options(self) -> InstallationOptionsRequestBuilder: + """ + Provides operations to manage the installationOptions property of the microsoft.graph.adminMicrosoft365Apps entity. + """ + from .installation_options.installation_options_request_builder import InstallationOptionsRequestBuilder + + return InstallationOptionsRequestBuilder(self.request_adapter, self.path_parameters) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class Microsoft365AppsRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class Microsoft365AppsRequestBuilderGetQueryParameters(): + """ + A container for the Microsoft 365 apps admin functionality. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class Microsoft365AppsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[Microsoft365AppsRequestBuilder.Microsoft365AppsRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class Microsoft365AppsRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/admin/people/people_request_builder.py b/msgraph_beta/generated/admin/people/people_request_builder.py index e8dbf52fd7f..adbf7aad744 100644 --- a/msgraph_beta/generated/admin/people/people_request_builder.py +++ b/msgraph_beta/generated/admin/people/people_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[PeopleRequestBuilderDelete async def get(self,request_configuration: Optional[PeopleRequestBuilderGetRequestConfiguration] = None) -> Optional[PeopleAdminSettings]: """ - Retrieve the properties and relationships of a peopleAdminSettings object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a peopleAdminSettings object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PeopleAdminSettings] Find more info here: https://learn.microsoft.com/graph/api/peopleadminsettings-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[PeopleReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PeopleRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a peopleAdminSettings object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a peopleAdminSettings object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[PeopleReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PeopleAdminSettings] = None, request_configuration: Optional[PeopleRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[PeopleAdminSettings] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class PeopleRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class PeopleRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a peopleAdminSettings object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a peopleAdminSettings object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/people/profile_card_properties/item/profile_card_property_item_request_builder.py b/msgraph_beta/generated/admin/people/profile_card_properties/item/profile_card_property_item_request_builder.py index b3c0015e064..78cc47fbaf0 100644 --- a/msgraph_beta/generated/admin/people/profile_card_properties/item/profile_card_property_item_request_builder.py +++ b/msgraph_beta/generated/admin/people/profile_card_properties/item/profile_card_property_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ProfileCardPropertyItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete the profileCardProperty object specified by its directoryPropertyName from the organization's profile card, and remove any localized customizations for that property. This API is available in the following national cloud deployments. + Delete the profileCardProperty object specified by its directoryPropertyName from the organization's profile card, and remove any localized customizations for that property. 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/profilecardproperty-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ProfileCardPropertyItemReq async def get(self,request_configuration: Optional[ProfileCardPropertyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ProfileCardProperty]: """ - Retrieve the properties of a profileCardProperty entity. The profileCardProperty is identified by its directoryPropertyName property. This API is available in the following national cloud deployments. + Retrieve the properties of a profileCardProperty entity. The profileCardProperty is identified by its directoryPropertyName property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProfileCardProperty] Find more info here: https://learn.microsoft.com/graph/api/profilecardproperty-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[ProfileCardPropertyItemReques async def patch(self,body: Optional[ProfileCardProperty] = None, request_configuration: Optional[ProfileCardPropertyItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ProfileCardProperty]: """ - Update the properties of a profileCardProperty object, identified by its directoryPropertyName property. This API is available in the following national cloud deployments. + Update the properties of a profileCardProperty object, identified by its directoryPropertyName property. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProfileCardProperty] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[ProfileCardProperty] = None, request_configu def to_delete_request_information(self,request_configuration: Optional[ProfileCardPropertyItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete the profileCardProperty object specified by its directoryPropertyName from the organization's profile card, and remove any localized customizations for that property. This API is available in the following national cloud deployments. + Delete the profileCardProperty object specified by its directoryPropertyName from the organization's profile card, and remove any localized customizations for that property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[ProfileCa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ProfileCardPropertyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of a profileCardProperty entity. The profileCardProperty is identified by its directoryPropertyName property. This API is available in the following national cloud deployments. + Retrieve the properties of a profileCardProperty entity. The profileCardProperty is identified by its directoryPropertyName property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[ProfileCardP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ProfileCardProperty] = None, request_configuration: Optional[ProfileCardPropertyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a profileCardProperty object, identified by its directoryPropertyName property. This API is available in the following national cloud deployments. + Update the properties of a profileCardProperty object, identified by its directoryPropertyName property. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ProfileCardProperty] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class ProfileCardPropertyItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class ProfileCardPropertyItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties of a profileCardProperty entity. The profileCardProperty is identified by its directoryPropertyName property. This API is available in the following national cloud deployments. + Retrieve the properties of a profileCardProperty entity. The profileCardProperty is identified by its directoryPropertyName property. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/people/profile_card_properties/profile_card_properties_request_builder.py b/msgraph_beta/generated/admin/people/profile_card_properties/profile_card_properties_request_builder.py index fd24c0114c5..a6a0e5c4b9d 100644 --- a/msgraph_beta/generated/admin/people/profile_card_properties/profile_card_properties_request_builder.py +++ b/msgraph_beta/generated/admin/people/profile_card_properties/profile_card_properties_request_builder.py @@ -45,7 +45,7 @@ def by_profile_card_property_id(self,profile_card_property_id: str) -> ProfileCa async def get(self,request_configuration: Optional[ProfileCardPropertiesRequestBuilderGetRequestConfiguration] = None) -> Optional[ProfileCardPropertyCollectionResponse]: """ - Get a collection of profileCardProperty resources for an organization. Each resource is identified by its directoryPropertyName property. This API is available in the following national cloud deployments. + Get a collection of profileCardProperty resources for an organization. Each resource is identified by its directoryPropertyName property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProfileCardPropertyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/peopleadminsettings-list-profilecardproperties?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ProfileCardPropertiesRequestB async def post(self,body: Optional[ProfileCardProperty] = None, request_configuration: Optional[ProfileCardPropertiesRequestBuilderPostRequestConfiguration] = None) -> Optional[ProfileCardProperty]: """ - Create a new profileCardProperty for an organization. The new property is identified by its directoryPropertyName property. For more information about how to add properties to the profile card for an organization, see Add or delete custom attributes on a profile card using the profile card API. This API is available in the following national cloud deployments. + Create a new profileCardProperty for an organization. The new property is identified by its directoryPropertyName property. For more information about how to add properties to the profile card for an organization, see Add or remove custom attributes on a profile card using the profile card API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProfileCardProperty] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ProfileCardProperty] = None, request_configur def to_get_request_information(self,request_configuration: Optional[ProfileCardPropertiesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a collection of profileCardProperty resources for an organization. Each resource is identified by its directoryPropertyName property. This API is available in the following national cloud deployments. + Get a collection of profileCardProperty resources for an organization. Each resource is identified by its directoryPropertyName property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ProfileCardP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ProfileCardProperty] = None, request_configuration: Optional[ProfileCardPropertiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new profileCardProperty for an organization. The new property is identified by its directoryPropertyName property. For more information about how to add properties to the profile card for an organization, see Add or delete custom attributes on a profile card using the profile card API. This API is available in the following national cloud deployments. + Create a new profileCardProperty for an organization. The new property is identified by its directoryPropertyName property. For more information about how to add properties to the profile card for an organization, see Add or remove custom attributes on a profile card using the profile card API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ProfileCardProperty] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ProfileCardPropertiesRequestBuilderGetQueryParameters(): """ - Get a collection of profileCardProperty resources for an organization. Each resource is identified by its directoryPropertyName property. This API is available in the following national cloud deployments. + Get a collection of profileCardProperty resources for an organization. Each resource is identified by its directoryPropertyName property. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/people/pronouns/pronouns_request_builder.py b/msgraph_beta/generated/admin/people/pronouns/pronouns_request_builder.py index d53dcf15df4..07bcf7f6621 100644 --- a/msgraph_beta/generated/admin/people/pronouns/pronouns_request_builder.py +++ b/msgraph_beta/generated/admin/people/pronouns/pronouns_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[PronounsRequestBuilderDele async def get(self,request_configuration: Optional[PronounsRequestBuilderGetRequestConfiguration] = None) -> Optional[PronounsSettings]: """ - Get the properties of the pronounsSettings resource for an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API. This API is available in the following national cloud deployments. + Get the properties of the pronounsSettings resource for an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PronounsSettings] Find more info here: https://learn.microsoft.com/graph/api/peopleadminsettings-list-pronouns?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[PronounsRequestBuilderGetRequ async def patch(self,body: Optional[PronounsSettings] = None, request_configuration: Optional[PronounsRequestBuilderPatchRequestConfiguration] = None) -> Optional[PronounsSettings]: """ - Update the properties of a pronounsSettings in an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API. This API is available in the following national cloud deployments. + Update the properties of a pronounsSettings object in an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PronounsSettings] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[PronounsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PronounsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties of the pronounsSettings resource for an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API. This API is available in the following national cloud deployments. + Get the properties of the pronounsSettings resource for an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[PronounsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PronounsSettings] = None, request_configuration: Optional[PronounsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a pronounsSettings in an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API. This API is available in the following national cloud deployments. + Update the properties of a pronounsSettings object in an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PronounsSettings] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class PronounsRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class PronounsRequestBuilderGetQueryParameters(): """ - Get the properties of the pronounsSettings resource for an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API. This API is available in the following national cloud deployments. + Get the properties of the pronounsSettings resource for an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/report_settings/report_settings_request_builder.py b/msgraph_beta/generated/admin/report_settings/report_settings_request_builder.py index 619479993b2..599013458ed 100644 --- a/msgraph_beta/generated/admin/report_settings/report_settings_request_builder.py +++ b/msgraph_beta/generated/admin/report_settings/report_settings_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ReportSettingsRequestBuild async def get(self,request_configuration: Optional[ReportSettingsRequestBuilderGetRequestConfiguration] = None) -> Optional[AdminReportSettings]: """ - Get the tenant-level settings for Microsoft 365 reports. This API is available in the following national cloud deployments. + Get the tenant-level settings for Microsoft 365 reports. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AdminReportSettings] Find more info here: https://learn.microsoft.com/graph/api/adminreportsettings-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[ReportSettingsRequestBuilderG async def patch(self,body: Optional[AdminReportSettings] = None, request_configuration: Optional[ReportSettingsRequestBuilderPatchRequestConfiguration] = None) -> Optional[AdminReportSettings]: """ - Update tenant-level settings for Microsoft 365 reports. This API is available in the following national cloud deployments. + Update tenant-level settings for Microsoft 365 reports. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AdminReportSettings] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ReportSet request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ReportSettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the tenant-level settings for Microsoft 365 reports. This API is available in the following national cloud deployments. + Get the tenant-level settings for Microsoft 365 reports. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[ReportSettin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AdminReportSettings] = None, request_configuration: Optional[ReportSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update tenant-level settings for Microsoft 365 reports. This API is available in the following national cloud deployments. + Update tenant-level settings for Microsoft 365 reports. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AdminReportSettings] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ReportSettingsRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class ReportSettingsRequestBuilderGetQueryParameters(): """ - Get the tenant-level settings for Microsoft 365 reports. This API is available in the following national cloud deployments. + Get the tenant-level settings for Microsoft 365 reports. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/service_announcement/health_overviews/health_overviews_request_builder.py b/msgraph_beta/generated/admin/service_announcement/health_overviews/health_overviews_request_builder.py index 9e0fbe4ca09..6bc8c403fd3 100644 --- a/msgraph_beta/generated/admin/service_announcement/health_overviews/health_overviews_request_builder.py +++ b/msgraph_beta/generated/admin/service_announcement/health_overviews/health_overviews_request_builder.py @@ -45,7 +45,7 @@ def by_service_health_id(self,service_health_id: str) -> ServiceHealthItemReques async def get(self,request_configuration: Optional[HealthOverviewsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceHealthCollectionResponse]: """ - Retrieve the serviceHealth resources from the healthOverviews navigation property. This operation provides the health report of all subscribed services for a tenant. This API is available in the following national cloud deployments. + Retrieve the serviceHealth resources from the healthOverviews navigation property. This operation provides the health report of all subscribed services for a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceHealthCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceannouncement-list-healthoverviews?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ServiceHealth] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[HealthOverviewsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the serviceHealth resources from the healthOverviews navigation property. This operation provides the health report of all subscribed services for a tenant. This API is available in the following national cloud deployments. + Retrieve the serviceHealth resources from the healthOverviews navigation property. This operation provides the health report of all subscribed services for a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[HealthOvervi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ServiceHealth] = None, request_configuration: Optional[HealthOverviewsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ServiceHealth] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HealthOverviewsRequestBuilderGetQueryParameters(): """ - Retrieve the serviceHealth resources from the healthOverviews navigation property. This operation provides the health report of all subscribed services for a tenant. This API is available in the following national cloud deployments. + Retrieve the serviceHealth resources from the healthOverviews navigation property. This operation provides the health report of all subscribed services for a tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/service_announcement/health_overviews/item/issues/issues_request_builder.py b/msgraph_beta/generated/admin/service_announcement/health_overviews/item/issues/issues_request_builder.py index 6d864011269..d3cfc76f179 100644 --- a/msgraph_beta/generated/admin/service_announcement/health_overviews/item/issues/issues_request_builder.py +++ b/msgraph_beta/generated/admin/service_announcement/health_overviews/item/issues/issues_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[IssuesReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ServiceHealthIssue] = None, request_configuration: Optional[IssuesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ServiceHealthIssue] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/service_announcement/health_overviews/item/issues/item/incident_report/incident_report_request_builder.py b/msgraph_beta/generated/admin/service_announcement/health_overviews/item/issues/item/incident_report/incident_report_request_builder.py index 63b02a6dc05..84552cf1e4a 100644 --- a/msgraph_beta/generated/admin/service_announcement/health_overviews/item/issues/item/incident_report/incident_report_request_builder.py +++ b/msgraph_beta/generated/admin/service_announcement/health_overviews/item/issues/item/incident_report/incident_report_request_builder.py @@ -57,7 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[IncidentRepo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IncidentReportRequestBuilder: diff --git a/msgraph_beta/generated/admin/service_announcement/health_overviews/item/issues/item/service_health_issue_item_request_builder.py b/msgraph_beta/generated/admin/service_announcement/health_overviews/item/issues/item/service_health_issue_item_request_builder.py index 4e3ddc9e4d8..0e734e4e166 100644 --- a/msgraph_beta/generated/admin/service_announcement/health_overviews/item/issues/item/service_health_issue_item_request_builder.py +++ b/msgraph_beta/generated/admin/service_announcement/health_overviews/item/issues/item/service_health_issue_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ServiceHe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ServiceHealthIssueItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceHealt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ServiceHealthIssue] = None, request_configuration: Optional[ServiceHealthIssueItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ServiceHealthIssue] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/service_announcement/health_overviews/item/service_health_item_request_builder.py b/msgraph_beta/generated/admin/service_announcement/health_overviews/item/service_health_item_request_builder.py index dd222cf0d89..e828d7eae4d 100644 --- a/msgraph_beta/generated/admin/service_announcement/health_overviews/item/service_health_item_request_builder.py +++ b/msgraph_beta/generated/admin/service_announcement/health_overviews/item/service_health_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ServiceHealthItemRequestBu async def get(self,request_configuration: Optional[ServiceHealthItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceHealth]: """ - Retrieve the properties and relationships of a serviceHealth object. This operation provides the health information of a specified service for a tenant. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a serviceHealth object. This operation provides the health information of a specified service for a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceHealth] Find more info here: https://learn.microsoft.com/graph/api/servicehealth-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ServiceHe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ServiceHealthItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a serviceHealth object. This operation provides the health information of a specified service for a tenant. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a serviceHealth object. This operation provides the health information of a specified service for a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceHealt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ServiceHealth] = None, request_configuration: Optional[ServiceHealthItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ServiceHealth] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ServiceHealthItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class ServiceHealthItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a serviceHealth object. This operation provides the health information of a specified service for a tenant. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a serviceHealth object. This operation provides the health information of a specified service for a tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/service_announcement/issues/issues_request_builder.py b/msgraph_beta/generated/admin/service_announcement/issues/issues_request_builder.py index c144c02ecd3..fcf161b0fee 100644 --- a/msgraph_beta/generated/admin/service_announcement/issues/issues_request_builder.py +++ b/msgraph_beta/generated/admin/service_announcement/issues/issues_request_builder.py @@ -45,7 +45,7 @@ def by_service_health_issue_id(self,service_health_issue_id: str) -> ServiceHeal async def get(self,request_configuration: Optional[IssuesRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceHealthIssueCollectionResponse]: """ - Retrieve serviceHealthIssue resources from the issues navigation property. This operation retrieves information about all service health issues that exist for the tenant. This API is available in the following national cloud deployments. + Retrieve serviceHealthIssue resources from the issues navigation property. This operation retrieves information about all service health issues that exist for the tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceHealthIssueCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceannouncement-list-issues?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ServiceHealthIssue] = None, request_configura def to_get_request_information(self,request_configuration: Optional[IssuesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve serviceHealthIssue resources from the issues navigation property. This operation retrieves information about all service health issues that exist for the tenant. This API is available in the following national cloud deployments. + Retrieve serviceHealthIssue resources from the issues navigation property. This operation retrieves information about all service health issues that exist for the tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[IssuesReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ServiceHealthIssue] = None, request_configuration: Optional[IssuesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ServiceHealthIssue] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class IssuesRequestBuilderGetQueryParameters(): """ - Retrieve serviceHealthIssue resources from the issues navigation property. This operation retrieves information about all service health issues that exist for the tenant. This API is available in the following national cloud deployments. + Retrieve serviceHealthIssue resources from the issues navigation property. This operation retrieves information about all service health issues that exist for the tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/service_announcement/issues/item/incident_report/incident_report_request_builder.py b/msgraph_beta/generated/admin/service_announcement/issues/item/incident_report/incident_report_request_builder.py index 1607642850c..dc20645c48f 100644 --- a/msgraph_beta/generated/admin/service_announcement/issues/item/incident_report/incident_report_request_builder.py +++ b/msgraph_beta/generated/admin/service_announcement/issues/item/incident_report/incident_report_request_builder.py @@ -57,7 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[IncidentRepo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IncidentReportRequestBuilder: diff --git a/msgraph_beta/generated/admin/service_announcement/issues/item/service_health_issue_item_request_builder.py b/msgraph_beta/generated/admin/service_announcement/issues/item/service_health_issue_item_request_builder.py index 3a9ca6539e2..d5e2ece0112 100644 --- a/msgraph_beta/generated/admin/service_announcement/issues/item/service_health_issue_item_request_builder.py +++ b/msgraph_beta/generated/admin/service_announcement/issues/item/service_health_issue_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ServiceHealthIssueItemRequ async def get(self,request_configuration: Optional[ServiceHealthIssueItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceHealthIssue]: """ - Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceHealthIssue] Find more info here: https://learn.microsoft.com/graph/api/servicehealthissue-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ServiceHe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ServiceHealthIssueItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceHealt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ServiceHealthIssue] = None, request_configuration: Optional[ServiceHealthIssueItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ServiceHealthIssue] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ServiceHealthIssueItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class ServiceHealthIssueItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/service_announcement/messages/archive/archive_request_builder.py b/msgraph_beta/generated/admin/service_announcement/messages/archive/archive_request_builder.py index 63a39cce411..0947e2c45e0 100644 --- a/msgraph_beta/generated/admin/service_announcement/messages/archive/archive_request_builder.py +++ b/msgraph_beta/generated/admin/service_announcement/messages/archive/archive_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> Optional[ArchivePostResponse]: """ - Archive a list of serviceUpdateMessages for the signed in user. This API is available in the following national cloud deployments. + Archive a list of serviceUpdateMessages for the signed in user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ArchivePostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[ArchivePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Archive a list of serviceUpdateMessages for the signed in user. This API is available in the following national cloud deployments. + Archive a list of serviceUpdateMessages for the signed in user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[ArchivePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/service_announcement/messages/favorite/favorite_request_builder.py b/msgraph_beta/generated/admin/service_announcement/messages/favorite/favorite_request_builder.py index 37e1ae14d4d..df3a5ead6d9 100644 --- a/msgraph_beta/generated/admin/service_announcement/messages/favorite/favorite_request_builder.py +++ b/msgraph_beta/generated/admin/service_announcement/messages/favorite/favorite_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[FavoritePostRequestBody] = None, request_configuration: Optional[FavoriteRequestBuilderPostRequestConfiguration] = None) -> Optional[FavoritePostResponse]: """ - Change the status of a list of serviceUpdateMessages to favorite for the signed in user. This API is available in the following national cloud deployments. + Change the status of a list of serviceUpdateMessages to favorite for the signed in user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FavoritePostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[FavoritePostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[FavoritePostRequestBody] = None, request_configuration: Optional[FavoriteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Change the status of a list of serviceUpdateMessages to favorite for the signed in user. This API is available in the following national cloud deployments. + Change the status of a list of serviceUpdateMessages to favorite for the signed in user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[FavoritePostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/service_announcement/messages/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/admin/service_announcement/messages/item/attachments/attachments_request_builder.py index 702bfe95a44..3388c85372e 100644 --- a/msgraph_beta/generated/admin/service_announcement/messages/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/admin/service_announcement/messages/item/attachments/attachments_request_builder.py @@ -45,7 +45,7 @@ def by_service_announcement_attachment_id(self,service_announcement_attachment_i async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceAnnouncementAttachmentCollectionResponse]: """ - Get a list of attachments associated with a service message. This API is available in the following national cloud deployments. + Get a list of attachments associated with a service message. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceAnnouncementAttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceupdatemessage-list-attachments?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ServiceAnnouncementAttachment] = None, reques def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of attachments associated with a service message. This API is available in the following national cloud deployments. + Get a list of attachments associated with a service message. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ServiceAnnouncementAttachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ServiceAnnouncementAttachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Get a list of attachments associated with a service message. This API is available in the following national cloud deployments. + Get a list of attachments associated with a service message. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/service_announcement/messages/item/attachments/item/content/content_request_builder.py b/msgraph_beta/generated/admin/service_announcement/messages/item/attachments/item/content/content_request_builder.py index 6c555b6d1db..dc7fe6dae57 100644 --- a/msgraph_beta/generated/admin/service_announcement/messages/item/attachments/item/content/content_request_builder.py +++ b/msgraph_beta/generated/admin/service_announcement/messages/item/attachments/item/content/content_request_builder.py @@ -83,7 +83,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -102,7 +102,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/admin/service_announcement/messages/item/attachments/item/service_announcement_attachment_item_request_builder.py b/msgraph_beta/generated/admin/service_announcement/messages/item/attachments/item/service_announcement_attachment_item_request_builder.py index a5ad6cb08af..fba19a9b74e 100644 --- a/msgraph_beta/generated/admin/service_announcement/messages/item/attachments/item/service_announcement_attachment_item_request_builder.py +++ b/msgraph_beta/generated/admin/service_announcement/messages/item/attachments/item/service_announcement_attachment_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ServiceAnnouncementAttachm async def get(self,request_configuration: Optional[ServiceAnnouncementAttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceAnnouncementAttachment]: """ - Read the properties and relationships of a serviceAnnouncementAttachment object. This API is available in the following national cloud deployments. + Read the properties and relationships of a serviceAnnouncementAttachment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceAnnouncementAttachment] Find more info here: https://learn.microsoft.com/graph/api/serviceannouncementattachment-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ServiceAn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ServiceAnnouncementAttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a serviceAnnouncementAttachment object. This API is available in the following national cloud deployments. + Read the properties and relationships of a serviceAnnouncementAttachment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceAnnou request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ServiceAnnouncementAttachment] = None, request_configuration: Optional[ServiceAnnouncementAttachmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ServiceAnnouncementAttachme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ServiceAnnouncementAttachmentItemRequestBuilderDeleteRequestConfiguration( @dataclass class ServiceAnnouncementAttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a serviceAnnouncementAttachment object. This API is available in the following national cloud deployments. + Read the properties and relationships of a serviceAnnouncementAttachment object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/service_announcement/messages/item/attachments_archive/attachments_archive_request_builder.py b/msgraph_beta/generated/admin/service_announcement/messages/item/attachments_archive/attachments_archive_request_builder.py index 792f7fe8f9e..9afca826d3b 100644 --- a/msgraph_beta/generated/admin/service_announcement/messages/item/attachments_archive/attachments_archive_request_builder.py +++ b/msgraph_beta/generated/admin/service_announcement/messages/item/attachments_archive/attachments_archive_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[AttachmentsArchiveRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/admin/service_announcement/messages/item/service_update_message_item_request_builder.py b/msgraph_beta/generated/admin/service_announcement/messages/item/service_update_message_item_request_builder.py index b8f80fe2401..58c8fea49cc 100644 --- a/msgraph_beta/generated/admin/service_announcement/messages/item/service_update_message_item_request_builder.py +++ b/msgraph_beta/generated/admin/service_announcement/messages/item/service_update_message_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[ServiceUpdateMessageItemRe async def get(self,request_configuration: Optional[ServiceUpdateMessageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceUpdateMessage]: """ - Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceUpdateMessage] Find more info here: https://learn.microsoft.com/graph/api/serviceupdatemessage-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[ServiceUp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ServiceUpdateMessageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceUpdat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ServiceUpdateMessage] = None, request_configuration: Optional[ServiceUpdateMessageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ServiceUpdateMessage] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class ServiceUpdateMessageItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class ServiceUpdateMessageItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/service_announcement/messages/mark_read/mark_read_request_builder.py b/msgraph_beta/generated/admin/service_announcement/messages/mark_read/mark_read_request_builder.py index 442f0844eb8..c446e0dc894 100644 --- a/msgraph_beta/generated/admin/service_announcement/messages/mark_read/mark_read_request_builder.py +++ b/msgraph_beta/generated/admin/service_announcement/messages/mark_read/mark_read_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[MarkReadPostRequestBody] = None, request_configuration: Optional[MarkReadRequestBuilderPostRequestConfiguration] = None) -> Optional[MarkReadPostResponse]: """ - Mark a list of serviceUpdateMessages as read for the signed in user. This API is available in the following national cloud deployments. + Mark a list of serviceUpdateMessages as read for the signed in user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MarkReadPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[MarkReadPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[MarkReadPostRequestBody] = None, request_configuration: Optional[MarkReadRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Mark a list of serviceUpdateMessages as read for the signed in user. This API is available in the following national cloud deployments. + Mark a list of serviceUpdateMessages as read for the signed in user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[MarkReadPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/service_announcement/messages/mark_unread/mark_unread_request_builder.py b/msgraph_beta/generated/admin/service_announcement/messages/mark_unread/mark_unread_request_builder.py index bff7142edca..a738faa29c7 100644 --- a/msgraph_beta/generated/admin/service_announcement/messages/mark_unread/mark_unread_request_builder.py +++ b/msgraph_beta/generated/admin/service_announcement/messages/mark_unread/mark_unread_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[MarkUnreadPostRequestBody] = None, request_configuration: Optional[MarkUnreadRequestBuilderPostRequestConfiguration] = None) -> Optional[MarkUnreadPostResponse]: """ - Mark a list of serviceUpdateMessages as unread for the signed in user. This API is available in the following national cloud deployments. + Mark a list of serviceUpdateMessages as unread for the signed in user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MarkUnreadPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[MarkUnreadPostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[MarkUnreadPostRequestBody] = None, request_configuration: Optional[MarkUnreadRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Mark a list of serviceUpdateMessages as unread for the signed in user. This API is available in the following national cloud deployments. + Mark a list of serviceUpdateMessages as unread for the signed in user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[MarkUnreadPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/service_announcement/messages/messages_request_builder.py b/msgraph_beta/generated/admin/service_announcement/messages/messages_request_builder.py index b5646cb76df..4c0a04d7a1b 100644 --- a/msgraph_beta/generated/admin/service_announcement/messages/messages_request_builder.py +++ b/msgraph_beta/generated/admin/service_announcement/messages/messages_request_builder.py @@ -51,7 +51,7 @@ def by_service_update_message_id(self,service_update_message_id: str) -> Service async def get(self,request_configuration: Optional[MessagesRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceUpdateMessageCollectionResponse]: """ - Retrieve the serviceUpdateMessage resources from the messages navigation property. This operation retrieves all service update messages that exist for the tenant. This API is available in the following national cloud deployments. + Retrieve the serviceUpdateMessage resources from the messages navigation property. This operation retrieves all service update messages that exist for the tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceUpdateMessageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceannouncement-list-messages?view=graph-rest-1.0 @@ -97,7 +97,7 @@ async def post(self,body: Optional[ServiceUpdateMessage] = None, request_configu def to_get_request_information(self,request_configuration: Optional[MessagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the serviceUpdateMessage resources from the messages navigation property. This operation retrieves all service update messages that exist for the tenant. This API is available in the following national cloud deployments. + Retrieve the serviceUpdateMessage resources from the messages navigation property. This operation retrieves all service update messages that exist for the tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,7 +109,7 @@ def to_get_request_information(self,request_configuration: Optional[MessagesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ServiceUpdateMessage] = None, request_configuration: Optional[MessagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -128,7 +128,7 @@ def to_post_request_information(self,body: Optional[ServiceUpdateMessage] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -208,7 +208,7 @@ def unfavorite(self) -> UnfavoriteRequestBuilder: @dataclass class MessagesRequestBuilderGetQueryParameters(): """ - Retrieve the serviceUpdateMessage resources from the messages navigation property. This operation retrieves all service update messages that exist for the tenant. This API is available in the following national cloud deployments. + Retrieve the serviceUpdateMessage resources from the messages navigation property. This operation retrieves all service update messages that exist for the tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/service_announcement/messages/unarchive/unarchive_request_builder.py b/msgraph_beta/generated/admin/service_announcement/messages/unarchive/unarchive_request_builder.py index 8a11d0839f1..86429253708 100644 --- a/msgraph_beta/generated/admin/service_announcement/messages/unarchive/unarchive_request_builder.py +++ b/msgraph_beta/generated/admin/service_announcement/messages/unarchive/unarchive_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UnarchivePostRequestBody] = None, request_configuration: Optional[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> Optional[UnarchivePostResponse]: """ - Unarchive a list of serviceUpdateMessages for the signed in user. This API is available in the following national cloud deployments. + Unarchive a list of serviceUpdateMessages for the signed in user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnarchivePostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[UnarchivePostRequestBody] = None, request_con def to_post_request_information(self,body: Optional[UnarchivePostRequestBody] = None, request_configuration: Optional[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Unarchive a list of serviceUpdateMessages for the signed in user. This API is available in the following national cloud deployments. + Unarchive a list of serviceUpdateMessages for the signed in user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[UnarchivePostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/service_announcement/messages/unfavorite/unfavorite_request_builder.py b/msgraph_beta/generated/admin/service_announcement/messages/unfavorite/unfavorite_request_builder.py index 1ffc56857a4..9e43ae70a24 100644 --- a/msgraph_beta/generated/admin/service_announcement/messages/unfavorite/unfavorite_request_builder.py +++ b/msgraph_beta/generated/admin/service_announcement/messages/unfavorite/unfavorite_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UnfavoritePostRequestBody] = None, request_configuration: Optional[UnfavoriteRequestBuilderPostRequestConfiguration] = None) -> Optional[UnfavoritePostResponse]: """ - Remove the favorite status of serviceUpdateMessages for the signed in user. This API is available in the following national cloud deployments. + Remove the favorite status of serviceUpdateMessages for the signed in user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnfavoritePostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[UnfavoritePostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[UnfavoritePostRequestBody] = None, request_configuration: Optional[UnfavoriteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Remove the favorite status of serviceUpdateMessages for the signed in user. This API is available in the following national cloud deployments. + Remove the favorite status of serviceUpdateMessages for the signed in user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[UnfavoritePostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/service_announcement/service_announcement_request_builder.py b/msgraph_beta/generated/admin/service_announcement/service_announcement_request_builder.py index dca524ba87e..1ea1932fa30 100644 --- a/msgraph_beta/generated/admin/service_announcement/service_announcement_request_builder.py +++ b/msgraph_beta/generated/admin/service_announcement/service_announcement_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[ServiceAn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ServiceAnnouncementRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceAnnou request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ServiceAnnouncement] = None, request_configuration: Optional[ServiceAnnouncementRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ServiceAnnouncement] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/sharepoint/settings/settings_request_builder.py b/msgraph_beta/generated/admin/sharepoint/settings/settings_request_builder.py index 9943f47a369..0cc964042b9 100644 --- a/msgraph_beta/generated/admin/sharepoint/settings/settings_request_builder.py +++ b/msgraph_beta/generated/admin/sharepoint/settings/settings_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[SettingsRequestBuilderDele async def get(self,request_configuration: Optional[SettingsRequestBuilderGetRequestConfiguration] = None) -> Optional[SharepointSettings]: """ - Get the tenant-level settings for SharePoint and OneDrive. This API is available in the following national cloud deployments. + Get the tenant-level settings for SharePoint and OneDrive. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharepointSettings] Find more info here: https://learn.microsoft.com/graph/api/sharepointsettings-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[SettingsRequestBuilderGetRequ async def patch(self,body: Optional[SharepointSettings] = None, request_configuration: Optional[SettingsRequestBuilderPatchRequestConfiguration] = None) -> Optional[SharepointSettings]: """ - Update one or more tenant-level settings for SharePoint and OneDrive. This API is available in the following national cloud deployments. + Update one or more tenant-level settings for SharePoint and OneDrive. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharepointSettings] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[SettingsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the tenant-level settings for SharePoint and OneDrive. This API is available in the following national cloud deployments. + Get the tenant-level settings for SharePoint and OneDrive. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[SettingsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SharepointSettings] = None, request_configuration: Optional[SettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update one or more tenant-level settings for SharePoint and OneDrive. This API is available in the following national cloud deployments. + Update one or more tenant-level settings for SharePoint and OneDrive. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[SharepointSettings] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class SettingsRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class SettingsRequestBuilderGetQueryParameters(): """ - Get the tenant-level settings for SharePoint and OneDrive. This API is available in the following national cloud deployments. + Get the tenant-level settings for SharePoint and OneDrive. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/sharepoint/sharepoint_request_builder.py b/msgraph_beta/generated/admin/sharepoint/sharepoint_request_builder.py index 40a836b8d1e..08e2c52794a 100644 --- a/msgraph_beta/generated/admin/sharepoint/sharepoint_request_builder.py +++ b/msgraph_beta/generated/admin/sharepoint/sharepoint_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Sharepoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SharepointRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[SharepointRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Sharepoint] = None, request_configuration: Optional[SharepointRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Sharepoint] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/todo/todo_request_builder.py b/msgraph_beta/generated/admin/todo/todo_request_builder.py index 4628005b8e0..6f7cbf3dfb6 100644 --- a/msgraph_beta/generated/admin/todo/todo_request_builder.py +++ b/msgraph_beta/generated/admin/todo/todo_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[TodoRequestBuilderDeleteRe async def get(self,request_configuration: Optional[TodoRequestBuilderGetRequestConfiguration] = None) -> Optional[AdminTodo]: """ - Read the properties and relationships of a adminTodo object. This API is available in the following national cloud deployments. + Read the properties and relationships of a adminTodo object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AdminTodo] Find more info here: https://learn.microsoft.com/graph/api/admintodo-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[TodoRequestBuilderGetRequestC async def patch(self,body: Optional[AdminTodo] = None, request_configuration: Optional[TodoRequestBuilderPatchRequestConfiguration] = None) -> Optional[AdminTodo]: """ - Update the properties of a adminTodo object. This API is available in the following national cloud deployments. + Update the properties of a adminTodo object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AdminTodo] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[TodoReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TodoRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a adminTodo object. This API is available in the following national cloud deployments. + Read the properties and relationships of a adminTodo object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[TodoRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AdminTodo] = None, request_configuration: Optional[TodoRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a adminTodo object. This API is available in the following national cloud deployments. + Update the properties of a adminTodo object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AdminTodo] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class TodoRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class TodoRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a adminTodo object. This API is available in the following national cloud deployments. + Read the properties and relationships of a adminTodo object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/catalog/catalog_request_builder.py b/msgraph_beta/generated/admin/windows/updates/catalog/catalog_request_builder.py index 62154914180..a4a005f40d3 100644 --- a/msgraph_beta/generated/admin/windows/updates/catalog/catalog_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/catalog/catalog_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[CatalogRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CatalogRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CatalogReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Catalog] = None, request_configuration: Optional[CatalogRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Catalog] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/catalog/entries/entries_request_builder.py b/msgraph_beta/generated/admin/windows/updates/catalog/entries/entries_request_builder.py index 88571ce1b00..5d70fc208a0 100644 --- a/msgraph_beta/generated/admin/windows/updates/catalog/entries/entries_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/catalog/entries/entries_request_builder.py @@ -45,7 +45,7 @@ def by_catalog_entry_id(self,catalog_entry_id: str) -> CatalogEntryItemRequestBu async def get(self,request_configuration: Optional[EntriesRequestBuilderGetRequestConfiguration] = None) -> Optional[CatalogEntryCollectionResponse]: """ - Get a list of catalogEntry resources from the catalog. Currently, this operation returns entries of the featureUpdateCatalogEntry or qualityUpdateCatalog types, inherited from catalogEntry. This API is available in the following national cloud deployments. + Get a list of catalogEntry resources from the catalog. Currently, this operation returns entries of the featureUpdateCatalogEntry or qualityUpdateCatalog types, inherited from catalogEntry. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CatalogEntryCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-catalog-list-entries?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[CatalogEntry] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[EntriesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of catalogEntry resources from the catalog. Currently, this operation returns entries of the featureUpdateCatalogEntry or qualityUpdateCatalog types, inherited from catalogEntry. This API is available in the following national cloud deployments. + Get a list of catalogEntry resources from the catalog. Currently, this operation returns entries of the featureUpdateCatalogEntry or qualityUpdateCatalog types, inherited from catalogEntry. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[EntriesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CatalogEntry] = None, request_configuration: Optional[EntriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[CatalogEntry] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class EntriesRequestBuilderGetQueryParameters(): """ - Get a list of catalogEntry resources from the catalog. Currently, this operation returns entries of the featureUpdateCatalogEntry or qualityUpdateCatalog types, inherited from catalogEntry. This API is available in the following national cloud deployments. + Get a list of catalogEntry resources from the catalog. Currently, this operation returns entries of the featureUpdateCatalogEntry or qualityUpdateCatalog types, inherited from catalogEntry. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/catalog/entries/item/catalog_entry_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/catalog/entries/item/catalog_entry_item_request_builder.py index 086e78383e8..75ae138dcd7 100644 --- a/msgraph_beta/generated/admin/windows/updates/catalog/entries/item/catalog_entry_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/catalog/entries/item/catalog_entry_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[CatalogEn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CatalogEntryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[CatalogEntry request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CatalogEntry] = None, request_configuration: Optional[CatalogEntryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[CatalogEntry] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/deployment_audiences_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/deployment_audiences_request_builder.py index 4fc0c57b4b6..0248d63e4c6 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/deployment_audiences_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/deployment_audiences_request_builder.py @@ -45,7 +45,7 @@ def by_deployment_audience_id(self,deployment_audience_id: str) -> DeploymentAud async def get(self,request_configuration: Optional[DeploymentAudiencesRequestBuilderGetRequestConfiguration] = None) -> Optional[DeploymentAudienceCollectionResponse]: """ - Get a list of deploymentAudience objects and their properties. This API is available in the following national cloud deployments. + Get a list of deploymentAudience objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeploymentAudienceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/adminwindowsupdates-list-deploymentaudiences?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[DeploymentAudiencesRequestBui async def post(self,body: Optional[DeploymentAudience] = None, request_configuration: Optional[DeploymentAudiencesRequestBuilderPostRequestConfiguration] = None) -> Optional[DeploymentAudience]: """ - Create a new deploymentAudience object. This API is available in the following national cloud deployments. + Create a new deploymentAudience object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeploymentAudience] @@ -92,7 +92,7 @@ async def post(self,body: Optional[DeploymentAudience] = None, request_configura def to_get_request_information(self,request_configuration: Optional[DeploymentAudiencesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of deploymentAudience objects and their properties. This API is available in the following national cloud deployments. + Get a list of deploymentAudience objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[DeploymentAu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeploymentAudience] = None, request_configuration: Optional[DeploymentAudiencesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new deploymentAudience object. This API is available in the following national cloud deployments. + Create a new deploymentAudience object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[DeploymentAudience] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DeploymentAudiencesRequestBuilderGetQueryParameters(): """ - Get a list of deploymentAudience objects and their properties. This API is available in the following national cloud deployments. + Get a list of deploymentAudience objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/deployment_audience_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/deployment_audience_item_request_builder.py index a104d251b53..a275199cb26 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/deployment_audience_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/deployment_audience_item_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[DeploymentAudienceItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a deploymentAudience object. This API is available in the following national cloud deployments. + Delete a deploymentAudience object. 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/windowsupdates-deploymentaudience-delete?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[DeploymentAudienceItemRequ async def get(self,request_configuration: Optional[DeploymentAudienceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DeploymentAudience]: """ - Read the properties and relationships of a deploymentAudience object. This API is available in the following national cloud deployments. + Read the properties and relationships of a deploymentAudience object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeploymentAudience] Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-deploymentaudience-get?view=graph-rest-1.0 @@ -98,7 +98,7 @@ async def patch(self,body: Optional[DeploymentAudience] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[DeploymentAudienceItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a deploymentAudience object. This API is available in the following national cloud deployments. + Delete a deploymentAudience object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[Deploymen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeploymentAudienceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a deploymentAudience object. This API is available in the following national cloud deployments. + Read the properties and relationships of a deploymentAudience object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[DeploymentAu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeploymentAudience] = None, request_configuration: Optional[DeploymentAudienceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[DeploymentAudience] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -208,7 +208,7 @@ class DeploymentAudienceItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class DeploymentAudienceItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a deploymentAudience object. This API is available in the following national cloud deployments. + Read the properties and relationships of a deploymentAudience object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/exclusions_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/exclusions_request_builder.py index 950c4d28e33..de24fddd588 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/exclusions_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/exclusions_request_builder.py @@ -49,7 +49,7 @@ def by_updatable_asset_id(self,updatable_asset_id: str) -> UpdatableAssetItemReq async def get(self,request_configuration: Optional[ExclusionsRequestBuilderGetRequestConfiguration] = None) -> Optional[UpdatableAssetCollectionResponse]: """ - List the updatableAsset resources that are excluded from a deploymentAudience. This API is available in the following national cloud deployments. + List the updatableAsset resources that are excluded from a deploymentAudience. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UpdatableAssetCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-deploymentaudience-list-exclusions?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def post(self,body: Optional[UpdatableAsset] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[ExclusionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the updatableAsset resources that are excluded from a deploymentAudience. This API is available in the following national cloud deployments. + List the updatableAsset resources that are excluded from a deploymentAudience. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,7 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[ExclusionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UpdatableAsset] = None, request_configuration: Optional[ExclusionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_post_request_information(self,body: Optional[UpdatableAsset] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ def microsoft_graph_windows_updates_unenroll_assets_by_id(self) -> MicrosoftGrap @dataclass class ExclusionsRequestBuilderGetQueryParameters(): """ - List the updatableAsset resources that are excluded from a deploymentAudience. This API is available in the following national cloud deployments. + List the updatableAsset resources that are excluded from a deploymentAudience. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/item/microsoft_graph_windows_updates_add_members/microsoft_graph_windows_updates_add_members_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/item/microsoft_graph_windows_updates_add_members/microsoft_graph_windows_updates_add_members_request_builder.py index c531ba32b07..07f8a0f1926 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/item/microsoft_graph_windows_updates_add_members/microsoft_graph_windows_updates_add_members_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/item/microsoft_graph_windows_updates_add_members/microsoft_graph_windows_updates_add_members_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddMembersPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesAddMembersRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members. This API is available in the following national cloud deployments. + Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AddMembersPostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[AddMembersPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesAddMembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members. This API is available in the following national cloud deployments. + Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AddMembersPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/item/microsoft_graph_windows_updates_add_members_by_id/microsoft_graph_windows_updates_add_members_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/item/microsoft_graph_windows_updates_add_members_by_id/microsoft_graph_windows_updates_add_members_by_id_request_builder.py index 7911ad192be..7b2e591c147 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/item/microsoft_graph_windows_updates_add_members_by_id/microsoft_graph_windows_updates_add_members_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/item/microsoft_graph_windows_updates_add_members_by_id/microsoft_graph_windows_updates_add_members_by_id_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddMembersByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. This API is available in the following national cloud deployments. + Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AddMembersByIdPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[AddMembersByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. This API is available in the following national cloud deployments. + Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AddMembersByIdPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/item/microsoft_graph_windows_updates_remove_members/microsoft_graph_windows_updates_remove_members_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/item/microsoft_graph_windows_updates_remove_members/microsoft_graph_windows_updates_remove_members_request_builder.py index 0ff1babfb7b..f79d3e2626d 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/item/microsoft_graph_windows_updates_remove_members/microsoft_graph_windows_updates_remove_members_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/item/microsoft_graph_windows_updates_remove_members/microsoft_graph_windows_updates_remove_members_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RemoveMembersPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilderPostRequestConfiguration] = None) -> None: """ - Remove members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. This API is available in the following national cloud deployments. + Remove members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RemoveMembersPostRequestBody] = None, request def to_post_request_information(self,body: Optional[RemoveMembersPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Remove members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. This API is available in the following national cloud deployments. + Remove members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RemoveMembersPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/item/microsoft_graph_windows_updates_remove_members_by_id/microsoft_graph_windows_updates_remove_members_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/item/microsoft_graph_windows_updates_remove_members_by_id/microsoft_graph_windows_updates_remove_members_by_id_request_builder.py index 2608a858200..ce8a83ece1e 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/item/microsoft_graph_windows_updates_remove_members_by_id/microsoft_graph_windows_updates_remove_members_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/item/microsoft_graph_windows_updates_remove_members_by_id/microsoft_graph_windows_updates_remove_members_by_id_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RemoveMembersByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilderPostRequestConfiguration] = None) -> None: """ - Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. This API is available in the following national cloud deployments. + Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RemoveMembersByIdPostRequestBody] = None, req def to_post_request_information(self,body: Optional[RemoveMembersByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. This API is available in the following national cloud deployments. + Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RemoveMembersByIdPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/item/updatable_asset_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/item/updatable_asset_item_request_builder.py index c340bc4bb6f..f1e9a995078 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/item/updatable_asset_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/item/updatable_asset_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[Updatable request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UpdatableAssetItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[UpdatableAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UpdatableAsset] = None, request_configuration: Optional[UpdatableAssetItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[UpdatableAsset] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_enroll_assets/microsoft_graph_windows_updates_enroll_assets_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_enroll_assets/microsoft_graph_windows_updates_enroll_assets_request_builder.py index 202a7998cac..abfce1b23b1 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_enroll_assets/microsoft_graph_windows_updates_enroll_assets_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_enroll_assets/microsoft_graph_windows_updates_enroll_assets_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[EnrollAssetsPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_enroll_assets_by_id/microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_enroll_assets_by_id/microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.py index 8609a903221..8346a038b9c 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_enroll_assets_by_id/microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_enroll_assets_by_id/microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[EnrollAssetsByIdPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_unenroll_assets/microsoft_graph_windows_updates_unenroll_assets_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_unenroll_assets/microsoft_graph_windows_updates_unenroll_assets_request_builder.py index c4e095bb465..93bce09942f 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_unenroll_assets/microsoft_graph_windows_updates_unenroll_assets_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_unenroll_assets/microsoft_graph_windows_updates_unenroll_assets_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnenrollAssetsPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_unenroll_assets_by_id/microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_unenroll_assets_by_id/microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.py index 5496cbf3525..a889d4799f0 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_unenroll_assets_by_id/microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/exclusions/microsoft_graph_windows_updates_unenroll_assets_by_id/microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnenrollAssetsByIdPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/item/microsoft_graph_windows_updates_add_members/microsoft_graph_windows_updates_add_members_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/item/microsoft_graph_windows_updates_add_members/microsoft_graph_windows_updates_add_members_request_builder.py index 50bc6d4b64d..6b76d435265 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/item/microsoft_graph_windows_updates_add_members/microsoft_graph_windows_updates_add_members_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/item/microsoft_graph_windows_updates_add_members/microsoft_graph_windows_updates_add_members_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddMembersPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesAddMembersRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members. This API is available in the following national cloud deployments. + Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AddMembersPostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[AddMembersPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesAddMembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members. This API is available in the following national cloud deployments. + Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AddMembersPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/item/microsoft_graph_windows_updates_add_members_by_id/microsoft_graph_windows_updates_add_members_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/item/microsoft_graph_windows_updates_add_members_by_id/microsoft_graph_windows_updates_add_members_by_id_request_builder.py index ce782290ed4..25035b0b844 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/item/microsoft_graph_windows_updates_add_members_by_id/microsoft_graph_windows_updates_add_members_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/item/microsoft_graph_windows_updates_add_members_by_id/microsoft_graph_windows_updates_add_members_by_id_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddMembersByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. This API is available in the following national cloud deployments. + Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AddMembersByIdPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[AddMembersByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. This API is available in the following national cloud deployments. + Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AddMembersByIdPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/item/microsoft_graph_windows_updates_remove_members/microsoft_graph_windows_updates_remove_members_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/item/microsoft_graph_windows_updates_remove_members/microsoft_graph_windows_updates_remove_members_request_builder.py index 65eb9a738de..d36bbf52b91 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/item/microsoft_graph_windows_updates_remove_members/microsoft_graph_windows_updates_remove_members_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/item/microsoft_graph_windows_updates_remove_members/microsoft_graph_windows_updates_remove_members_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RemoveMembersPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilderPostRequestConfiguration] = None) -> None: """ - Remove members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. This API is available in the following national cloud deployments. + Remove members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RemoveMembersPostRequestBody] = None, request def to_post_request_information(self,body: Optional[RemoveMembersPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Remove members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. This API is available in the following national cloud deployments. + Remove members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RemoveMembersPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/item/microsoft_graph_windows_updates_remove_members_by_id/microsoft_graph_windows_updates_remove_members_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/item/microsoft_graph_windows_updates_remove_members_by_id/microsoft_graph_windows_updates_remove_members_by_id_request_builder.py index d9716978a95..5960b7e5259 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/item/microsoft_graph_windows_updates_remove_members_by_id/microsoft_graph_windows_updates_remove_members_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/item/microsoft_graph_windows_updates_remove_members_by_id/microsoft_graph_windows_updates_remove_members_by_id_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RemoveMembersByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilderPostRequestConfiguration] = None) -> None: """ - Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. This API is available in the following national cloud deployments. + Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RemoveMembersByIdPostRequestBody] = None, req def to_post_request_information(self,body: Optional[RemoveMembersByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. This API is available in the following national cloud deployments. + Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RemoveMembersByIdPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/item/updatable_asset_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/item/updatable_asset_item_request_builder.py index 01bd56cf93a..a4f080ab018 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/item/updatable_asset_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/item/updatable_asset_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[Updatable request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UpdatableAssetItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[UpdatableAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UpdatableAsset] = None, request_configuration: Optional[UpdatableAssetItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[UpdatableAsset] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/members_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/members_request_builder.py index cb42a4d9f2e..2f2089f9ac9 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/members_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/members_request_builder.py @@ -49,7 +49,7 @@ def by_updatable_asset_id(self,updatable_asset_id: str) -> UpdatableAssetItemReq async def get(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> Optional[UpdatableAssetCollectionResponse]: """ - List the updatableAsset resources that are members of a deploymentAudience. This API is available in the following national cloud deployments. + List the updatableAsset resources that are members of a deploymentAudience. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UpdatableAssetCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-deploymentaudience-list-members?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def post(self,body: Optional[UpdatableAsset] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the updatableAsset resources that are members of a deploymentAudience. This API is available in the following national cloud deployments. + List the updatableAsset resources that are members of a deploymentAudience. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,7 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UpdatableAsset] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_post_request_information(self,body: Optional[UpdatableAsset] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ def microsoft_graph_windows_updates_unenroll_assets_by_id(self) -> MicrosoftGrap @dataclass class MembersRequestBuilderGetQueryParameters(): """ - List the updatableAsset resources that are members of a deploymentAudience. This API is available in the following national cloud deployments. + List the updatableAsset resources that are members of a deploymentAudience. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_enroll_assets/microsoft_graph_windows_updates_enroll_assets_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_enroll_assets/microsoft_graph_windows_updates_enroll_assets_request_builder.py index 414cf731566..e2bc2d711dd 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_enroll_assets/microsoft_graph_windows_updates_enroll_assets_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_enroll_assets/microsoft_graph_windows_updates_enroll_assets_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[EnrollAssetsPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_enroll_assets_by_id/microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_enroll_assets_by_id/microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.py index 09e10073f4c..802a141e244 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_enroll_assets_by_id/microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_enroll_assets_by_id/microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[EnrollAssetsByIdPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_unenroll_assets/microsoft_graph_windows_updates_unenroll_assets_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_unenroll_assets/microsoft_graph_windows_updates_unenroll_assets_request_builder.py index 64aebd1b0c9..7bce9d2bf06 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_unenroll_assets/microsoft_graph_windows_updates_unenroll_assets_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_unenroll_assets/microsoft_graph_windows_updates_unenroll_assets_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnenrollAssetsPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_unenroll_assets_by_id/microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_unenroll_assets_by_id/microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.py index 39f86e21073..c69ec5d8798 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_unenroll_assets_by_id/microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/members/microsoft_graph_windows_updates_unenroll_assets_by_id/microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnenrollAssetsByIdPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/microsoft_graph_windows_updates_update_audience/microsoft_graph_windows_updates_update_audience_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/microsoft_graph_windows_updates_update_audience/microsoft_graph_windows_updates_update_audience_request_builder.py index 53ad9757a37..3aa94035745 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/microsoft_graph_windows_updates_update_audience/microsoft_graph_windows_updates_update_audience_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/microsoft_graph_windows_updates_update_audience/microsoft_graph_windows_updates_update_audience_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UpdateAudiencePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesUpdateAudienceRequestBuilderPostRequestConfiguration] = None) -> None: """ - Update the members and exclusions collections of a deploymentAudience. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object, if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. If all updatableAsset objects are the same type, you can also use the method updateAudienceById to update the deploymentAudience. This API is available in the following national cloud deployments. + Update the members and exclusions collections of a deploymentAudience. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object, if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. If all updatableAsset objects are the same type, you can also use the method updateAudienceById to update the deploymentAudience. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[UpdateAudiencePostRequestBody] = None, reques def to_post_request_information(self,body: Optional[UpdateAudiencePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesUpdateAudienceRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Update the members and exclusions collections of a deploymentAudience. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object, if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. If all updatableAsset objects are the same type, you can also use the method updateAudienceById to update the deploymentAudience. This API is available in the following national cloud deployments. + Update the members and exclusions collections of a deploymentAudience. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object, if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. If all updatableAsset objects are the same type, you can also use the method updateAudienceById to update the deploymentAudience. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[UpdateAudiencePostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/microsoft_graph_windows_updates_update_audience_by_id/microsoft_graph_windows_updates_update_audience_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/microsoft_graph_windows_updates_update_audience_by_id/microsoft_graph_windows_updates_update_audience_by_id_request_builder.py index 61d639c7954..5e32ffc9b6a 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/microsoft_graph_windows_updates_update_audience_by_id/microsoft_graph_windows_updates_update_audience_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployment_audiences/item/microsoft_graph_windows_updates_update_audience_by_id/microsoft_graph_windows_updates_update_audience_by_id_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UpdateAudienceByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilderPostRequestConfiguration] = None) -> None: """ - Update the members and exclusions collections of a deploymentAudience with updatableAsset resources of the same type. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. You can also use the method updateAudience to update the deploymentAudience. This API is available in the following national cloud deployments. + Update the members and exclusions collections of a deploymentAudience with updatableAsset resources of the same type. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. You can also use the method updateAudience to update the deploymentAudience. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[UpdateAudienceByIdPostRequestBody] = None, re def to_post_request_information(self,body: Optional[UpdateAudienceByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Update the members and exclusions collections of a deploymentAudience with updatableAsset resources of the same type. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. You can also use the method updateAudience to update the deploymentAudience. This API is available in the following national cloud deployments. + Update the members and exclusions collections of a deploymentAudience with updatableAsset resources of the same type. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. You can also use the method updateAudience to update the deploymentAudience. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[UpdateAudienceByIdPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/deployments_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/deployments_request_builder.py index d6c490599d3..d090a0134ab 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/deployments_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/deployments_request_builder.py @@ -45,7 +45,7 @@ def by_deployment_id(self,deployment_id: str) -> DeploymentItemRequestBuilder: async def get(self,request_configuration: Optional[DeploymentsRequestBuilderGetRequestConfiguration] = None) -> Optional[DeploymentCollectionResponse]: """ - Get a list of deployment objects and their properties. This API is available in the following national cloud deployments. + Get a list of deployment objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeploymentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/adminwindowsupdates-list-deployments?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[DeploymentsRequestBuilderGetR async def post(self,body: Optional[Deployment] = None, request_configuration: Optional[DeploymentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Deployment]: """ - Create a new deployment object. This API is available in the following national cloud deployments. + Create a new deployment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Deployment] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Deployment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[DeploymentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of deployment objects and their properties. This API is available in the following national cloud deployments. + Get a list of deployment objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[DeploymentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Deployment] = None, request_configuration: Optional[DeploymentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new deployment object. This API is available in the following national cloud deployments. + Create a new deployment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Deployment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DeploymentsRequestBuilderGetQueryParameters(): """ - Get a list of deployment objects and their properties. This API is available in the following national cloud deployments. + Get a list of deployment objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/audience_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/audience_request_builder.py index 6e3471d345b..ac78f692834 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/audience_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/audience_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[AudienceR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AudienceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[AudienceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeploymentAudience] = None, request_configuration: Optional[AudienceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[DeploymentAudience] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/exclusions_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/exclusions_request_builder.py index 579b16879b3..945d6b8763e 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/exclusions_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/exclusions_request_builder.py @@ -49,7 +49,7 @@ def by_updatable_asset_id(self,updatable_asset_id: str) -> UpdatableAssetItemReq async def get(self,request_configuration: Optional[ExclusionsRequestBuilderGetRequestConfiguration] = None) -> Optional[UpdatableAssetCollectionResponse]: """ - List the updatableAsset resources that are excluded from a deploymentAudience. This API is available in the following national cloud deployments. + List the updatableAsset resources that are excluded from a deploymentAudience. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UpdatableAssetCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-deploymentaudience-list-exclusions?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def post(self,body: Optional[UpdatableAsset] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[ExclusionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the updatableAsset resources that are excluded from a deploymentAudience. This API is available in the following national cloud deployments. + List the updatableAsset resources that are excluded from a deploymentAudience. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,7 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[ExclusionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UpdatableAsset] = None, request_configuration: Optional[ExclusionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_post_request_information(self,body: Optional[UpdatableAsset] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ def microsoft_graph_windows_updates_unenroll_assets_by_id(self) -> MicrosoftGrap @dataclass class ExclusionsRequestBuilderGetQueryParameters(): """ - List the updatableAsset resources that are excluded from a deploymentAudience. This API is available in the following national cloud deployments. + List the updatableAsset resources that are excluded from a deploymentAudience. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/microsoft_graph_windows_updates_add_members/microsoft_graph_windows_updates_add_members_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/microsoft_graph_windows_updates_add_members/microsoft_graph_windows_updates_add_members_request_builder.py index a18a4190a59..dc6a6ee88a5 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/microsoft_graph_windows_updates_add_members/microsoft_graph_windows_updates_add_members_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/microsoft_graph_windows_updates_add_members/microsoft_graph_windows_updates_add_members_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddMembersPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesAddMembersRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members. This API is available in the following national cloud deployments. + Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AddMembersPostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[AddMembersPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesAddMembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members. This API is available in the following national cloud deployments. + Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AddMembersPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/microsoft_graph_windows_updates_add_members_by_id/microsoft_graph_windows_updates_add_members_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/microsoft_graph_windows_updates_add_members_by_id/microsoft_graph_windows_updates_add_members_by_id_request_builder.py index d247e8613f4..b4b8b0aabaa 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/microsoft_graph_windows_updates_add_members_by_id/microsoft_graph_windows_updates_add_members_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/microsoft_graph_windows_updates_add_members_by_id/microsoft_graph_windows_updates_add_members_by_id_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddMembersByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. This API is available in the following national cloud deployments. + Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AddMembersByIdPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[AddMembersByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. This API is available in the following national cloud deployments. + Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AddMembersByIdPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/microsoft_graph_windows_updates_remove_members/microsoft_graph_windows_updates_remove_members_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/microsoft_graph_windows_updates_remove_members/microsoft_graph_windows_updates_remove_members_request_builder.py index e70ad4748b8..db8681340f1 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/microsoft_graph_windows_updates_remove_members/microsoft_graph_windows_updates_remove_members_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/microsoft_graph_windows_updates_remove_members/microsoft_graph_windows_updates_remove_members_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RemoveMembersPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilderPostRequestConfiguration] = None) -> None: """ - Remove members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. This API is available in the following national cloud deployments. + Remove members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RemoveMembersPostRequestBody] = None, request def to_post_request_information(self,body: Optional[RemoveMembersPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Remove members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. This API is available in the following national cloud deployments. + Remove members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RemoveMembersPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/microsoft_graph_windows_updates_remove_members_by_id/microsoft_graph_windows_updates_remove_members_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/microsoft_graph_windows_updates_remove_members_by_id/microsoft_graph_windows_updates_remove_members_by_id_request_builder.py index 0e2f886600e..84faaf0bca7 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/microsoft_graph_windows_updates_remove_members_by_id/microsoft_graph_windows_updates_remove_members_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/microsoft_graph_windows_updates_remove_members_by_id/microsoft_graph_windows_updates_remove_members_by_id_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RemoveMembersByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilderPostRequestConfiguration] = None) -> None: """ - Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. This API is available in the following national cloud deployments. + Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RemoveMembersByIdPostRequestBody] = None, req def to_post_request_information(self,body: Optional[RemoveMembersByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. This API is available in the following national cloud deployments. + Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RemoveMembersByIdPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/updatable_asset_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/updatable_asset_item_request_builder.py index 9ed33c2e457..932782ef05e 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/updatable_asset_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/updatable_asset_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[Updatable request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UpdatableAssetItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[UpdatableAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UpdatableAsset] = None, request_configuration: Optional[UpdatableAssetItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[UpdatableAsset] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets/microsoft_graph_windows_updates_enroll_assets_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets/microsoft_graph_windows_updates_enroll_assets_request_builder.py index 4b41a01a334..f5dbfda14e7 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets/microsoft_graph_windows_updates_enroll_assets_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets/microsoft_graph_windows_updates_enroll_assets_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[EnrollAssetsPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets_by_id/microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets_by_id/microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.py index 526b9aa36b3..729362143a9 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets_by_id/microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets_by_id/microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[EnrollAssetsByIdPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets/microsoft_graph_windows_updates_unenroll_assets_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets/microsoft_graph_windows_updates_unenroll_assets_request_builder.py index 6214bfdfaaf..1a4491aea55 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets/microsoft_graph_windows_updates_unenroll_assets_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets/microsoft_graph_windows_updates_unenroll_assets_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnenrollAssetsPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets_by_id/microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets_by_id/microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.py index 74b1c04d831..d2629d24813 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets_by_id/microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets_by_id/microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnenrollAssetsByIdPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/item/microsoft_graph_windows_updates_add_members/microsoft_graph_windows_updates_add_members_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/item/microsoft_graph_windows_updates_add_members/microsoft_graph_windows_updates_add_members_request_builder.py index cab8452beb1..2cec73941c6 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/item/microsoft_graph_windows_updates_add_members/microsoft_graph_windows_updates_add_members_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/item/microsoft_graph_windows_updates_add_members/microsoft_graph_windows_updates_add_members_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddMembersPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesAddMembersRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members. This API is available in the following national cloud deployments. + Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AddMembersPostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[AddMembersPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesAddMembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members. This API is available in the following national cloud deployments. + Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AddMembersPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/item/microsoft_graph_windows_updates_add_members_by_id/microsoft_graph_windows_updates_add_members_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/item/microsoft_graph_windows_updates_add_members_by_id/microsoft_graph_windows_updates_add_members_by_id_request_builder.py index d257333c2d9..00930cc07c4 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/item/microsoft_graph_windows_updates_add_members_by_id/microsoft_graph_windows_updates_add_members_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/item/microsoft_graph_windows_updates_add_members_by_id/microsoft_graph_windows_updates_add_members_by_id_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddMembersByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. This API is available in the following national cloud deployments. + Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AddMembersByIdPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[AddMembersByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. This API is available in the following national cloud deployments. + Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AddMembersByIdPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/item/microsoft_graph_windows_updates_remove_members/microsoft_graph_windows_updates_remove_members_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/item/microsoft_graph_windows_updates_remove_members/microsoft_graph_windows_updates_remove_members_request_builder.py index 879e6ea80a1..59b8ef715ba 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/item/microsoft_graph_windows_updates_remove_members/microsoft_graph_windows_updates_remove_members_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/item/microsoft_graph_windows_updates_remove_members/microsoft_graph_windows_updates_remove_members_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RemoveMembersPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilderPostRequestConfiguration] = None) -> None: """ - Remove members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. This API is available in the following national cloud deployments. + Remove members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RemoveMembersPostRequestBody] = None, request def to_post_request_information(self,body: Optional[RemoveMembersPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Remove members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. This API is available in the following national cloud deployments. + Remove members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RemoveMembersPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/item/microsoft_graph_windows_updates_remove_members_by_id/microsoft_graph_windows_updates_remove_members_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/item/microsoft_graph_windows_updates_remove_members_by_id/microsoft_graph_windows_updates_remove_members_by_id_request_builder.py index bc7ee427b1a..4a0c1919d18 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/item/microsoft_graph_windows_updates_remove_members_by_id/microsoft_graph_windows_updates_remove_members_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/item/microsoft_graph_windows_updates_remove_members_by_id/microsoft_graph_windows_updates_remove_members_by_id_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RemoveMembersByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilderPostRequestConfiguration] = None) -> None: """ - Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. This API is available in the following national cloud deployments. + Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RemoveMembersByIdPostRequestBody] = None, req def to_post_request_information(self,body: Optional[RemoveMembersByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. This API is available in the following national cloud deployments. + Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RemoveMembersByIdPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/item/updatable_asset_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/item/updatable_asset_item_request_builder.py index 15ec0de79ed..e029e80ca58 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/item/updatable_asset_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/item/updatable_asset_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[Updatable request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UpdatableAssetItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[UpdatableAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UpdatableAsset] = None, request_configuration: Optional[UpdatableAssetItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[UpdatableAsset] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/members_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/members_request_builder.py index 0fa9eeb283e..89b13a7f275 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/members_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/members_request_builder.py @@ -49,7 +49,7 @@ def by_updatable_asset_id(self,updatable_asset_id: str) -> UpdatableAssetItemReq async def get(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> Optional[UpdatableAssetCollectionResponse]: """ - List the updatableAsset resources that are members of a deploymentAudience. This API is available in the following national cloud deployments. + List the updatableAsset resources that are members of a deploymentAudience. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UpdatableAssetCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-deploymentaudience-list-members?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def post(self,body: Optional[UpdatableAsset] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the updatableAsset resources that are members of a deploymentAudience. This API is available in the following national cloud deployments. + List the updatableAsset resources that are members of a deploymentAudience. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,7 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UpdatableAsset] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_post_request_information(self,body: Optional[UpdatableAsset] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ def microsoft_graph_windows_updates_unenroll_assets_by_id(self) -> MicrosoftGrap @dataclass class MembersRequestBuilderGetQueryParameters(): """ - List the updatableAsset resources that are members of a deploymentAudience. This API is available in the following national cloud deployments. + List the updatableAsset resources that are members of a deploymentAudience. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_enroll_assets/microsoft_graph_windows_updates_enroll_assets_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_enroll_assets/microsoft_graph_windows_updates_enroll_assets_request_builder.py index 11a7cb43529..362f2ff7066 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_enroll_assets/microsoft_graph_windows_updates_enroll_assets_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_enroll_assets/microsoft_graph_windows_updates_enroll_assets_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[EnrollAssetsPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_enroll_assets_by_id/microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_enroll_assets_by_id/microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.py index a7e27604731..08fea4c2e48 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_enroll_assets_by_id/microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_enroll_assets_by_id/microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[EnrollAssetsByIdPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_unenroll_assets/microsoft_graph_windows_updates_unenroll_assets_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_unenroll_assets/microsoft_graph_windows_updates_unenroll_assets_request_builder.py index 4352f3c3e5e..10541ca9d4b 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_unenroll_assets/microsoft_graph_windows_updates_unenroll_assets_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_unenroll_assets/microsoft_graph_windows_updates_unenroll_assets_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnenrollAssetsPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_unenroll_assets_by_id/microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_unenroll_assets_by_id/microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.py index edd9604ce95..e6e8f060fe5 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_unenroll_assets_by_id/microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/members/microsoft_graph_windows_updates_unenroll_assets_by_id/microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnenrollAssetsByIdPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/microsoft_graph_windows_updates_update_audience/microsoft_graph_windows_updates_update_audience_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/microsoft_graph_windows_updates_update_audience/microsoft_graph_windows_updates_update_audience_request_builder.py index bcf9d55b140..d464bae064b 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/microsoft_graph_windows_updates_update_audience/microsoft_graph_windows_updates_update_audience_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/microsoft_graph_windows_updates_update_audience/microsoft_graph_windows_updates_update_audience_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UpdateAudiencePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesUpdateAudienceRequestBuilderPostRequestConfiguration] = None) -> None: """ - Update the members and exclusions collections of a deploymentAudience. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object, if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. If all updatableAsset objects are the same type, you can also use the method updateAudienceById to update the deploymentAudience. This API is available in the following national cloud deployments. + Update the members and exclusions collections of a deploymentAudience. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object, if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. If all updatableAsset objects are the same type, you can also use the method updateAudienceById to update the deploymentAudience. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[UpdateAudiencePostRequestBody] = None, reques def to_post_request_information(self,body: Optional[UpdateAudiencePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesUpdateAudienceRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Update the members and exclusions collections of a deploymentAudience. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object, if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. If all updatableAsset objects are the same type, you can also use the method updateAudienceById to update the deploymentAudience. This API is available in the following national cloud deployments. + Update the members and exclusions collections of a deploymentAudience. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object, if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. If all updatableAsset objects are the same type, you can also use the method updateAudienceById to update the deploymentAudience. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[UpdateAudiencePostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/microsoft_graph_windows_updates_update_audience_by_id/microsoft_graph_windows_updates_update_audience_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/microsoft_graph_windows_updates_update_audience_by_id/microsoft_graph_windows_updates_update_audience_by_id_request_builder.py index e5333b15252..552bfd13bfc 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/microsoft_graph_windows_updates_update_audience_by_id/microsoft_graph_windows_updates_update_audience_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/audience/microsoft_graph_windows_updates_update_audience_by_id/microsoft_graph_windows_updates_update_audience_by_id_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UpdateAudienceByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilderPostRequestConfiguration] = None) -> None: """ - Update the members and exclusions collections of a deploymentAudience with updatableAsset resources of the same type. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. You can also use the method updateAudience to update the deploymentAudience. This API is available in the following national cloud deployments. + Update the members and exclusions collections of a deploymentAudience with updatableAsset resources of the same type. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. You can also use the method updateAudience to update the deploymentAudience. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[UpdateAudienceByIdPostRequestBody] = None, re def to_post_request_information(self,body: Optional[UpdateAudienceByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Update the members and exclusions collections of a deploymentAudience with updatableAsset resources of the same type. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. You can also use the method updateAudience to update the deploymentAudience. This API is available in the following national cloud deployments. + Update the members and exclusions collections of a deploymentAudience with updatableAsset resources of the same type. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. You can also use the method updateAudience to update the deploymentAudience. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[UpdateAudienceByIdPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/deployments/item/deployment_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/deployments/item/deployment_item_request_builder.py index dea5b28d8e6..f7ad6af58c7 100644 --- a/msgraph_beta/generated/admin/windows/updates/deployments/item/deployment_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/deployments/item/deployment_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[DeploymentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a deployment object. This API is available in the following national cloud deployments. + Delete a deployment object. 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/windowsupdates-deployment-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[DeploymentItemRequestBuild async def get(self,request_configuration: Optional[DeploymentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Deployment]: """ - Read the properties and relationships of a deployment object. This API is available in the following national cloud deployments. + Read the properties and relationships of a deployment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Deployment] Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-deployment-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[DeploymentItemRequestBuilderG async def patch(self,body: Optional[Deployment] = None, request_configuration: Optional[DeploymentItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Deployment]: """ - Update the properties of a deployment object. This API is available in the following national cloud deployments. + Update the properties of a deployment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Deployment] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[Deployment] = None, request_configuration: O def to_delete_request_information(self,request_configuration: Optional[DeploymentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a deployment object. This API is available in the following national cloud deployments. + Delete a deployment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[Deploymen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeploymentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a deployment object. This API is available in the following national cloud deployments. + Read the properties and relationships of a deployment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[DeploymentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Deployment] = None, request_configuration: Optional[DeploymentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a deployment object. This API is available in the following national cloud deployments. + Update the properties of a deployment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[Deployment] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class DeploymentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class DeploymentItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a deployment object. This API is available in the following national cloud deployments. + Read the properties and relationships of a deployment object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py index cefb11381af..b681677b56d 100644 --- a/msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/resource_connections/item/resource_connection_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ResourceConnectionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an operationalInsightsConnection object. This API is available in the following national cloud deployments. + Delete an operationalInsightsConnection object. 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/windowsupdates-operationalinsightsconnection-delete?view=graph-rest-1.0 @@ -48,10 +48,10 @@ async def delete(self,request_configuration: Optional[ResourceConnectionItemRequ async def get(self,request_configuration: Optional[ResourceConnectionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ResourceConnection]: """ - Read the properties and relationships of an operationalInsightsConnection object. This API is available in the following national cloud deployments. + Read the properties and relationships of a resourceConnection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ResourceConnection] - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -94,7 +94,7 @@ async def patch(self,body: Optional[ResourceConnection] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[ResourceConnectionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an operationalInsightsConnection object. This API is available in the following national cloud deployments. + Delete an operationalInsightsConnection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ResourceC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ResourceConnectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an operationalInsightsConnection object. This API is available in the following national cloud deployments. + Read the properties and relationships of a resourceConnection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceConn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ResourceConnection] = None, request_configuration: Optional[ResourceConnectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ResourceConnection] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ResourceConnectionItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class ResourceConnectionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an operationalInsightsConnection object. This API is available in the following national cloud deployments. + Read the properties and relationships of a resourceConnection object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/resource_connections/resource_connections_request_builder.py b/msgraph_beta/generated/admin/windows/updates/resource_connections/resource_connections_request_builder.py index 50556fa11b0..d98f4f1d1ee 100644 --- a/msgraph_beta/generated/admin/windows/updates/resource_connections/resource_connections_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/resource_connections/resource_connections_request_builder.py @@ -45,7 +45,7 @@ def by_resource_connection_id(self,resource_connection_id: str) -> ResourceConne async def get(self,request_configuration: Optional[ResourceConnectionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ResourceConnectionCollectionResponse]: """ - Get a list of the resourceConnection objects and their properties. This API is available in the following national cloud deployments. + Get a list of the resourceConnection objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ResourceConnectionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/adminwindowsupdates-list-resourceconnections?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ResourceConnectionsRequestBui async def post(self,body: Optional[ResourceConnection] = None, request_configuration: Optional[ResourceConnectionsRequestBuilderPostRequestConfiguration] = None) -> Optional[ResourceConnection]: """ - Create a new operationalInsightsConnection object. This API is available in the following national cloud deployments. + Create a new operationalInsightsConnection object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ResourceConnection] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ResourceConnection] = None, request_configura def to_get_request_information(self,request_configuration: Optional[ResourceConnectionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the resourceConnection objects and their properties. This API is available in the following national cloud deployments. + Get a list of the resourceConnection objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ResourceConn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ResourceConnection] = None, request_configuration: Optional[ResourceConnectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new operationalInsightsConnection object. This API is available in the following national cloud deployments. + Create a new operationalInsightsConnection object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ResourceConnection] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ResourceConnectionsRequestBuilderGetQueryParameters(): """ - Get a list of the resourceConnection objects and their properties. This API is available in the following national cloud deployments. + Get a list of the resourceConnection objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/microsoft_graph_windows_updates_add_members/microsoft_graph_windows_updates_add_members_request_builder.py b/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/microsoft_graph_windows_updates_add_members/microsoft_graph_windows_updates_add_members_request_builder.py index 915b88402cc..2454eabb626 100644 --- a/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/microsoft_graph_windows_updates_add_members/microsoft_graph_windows_updates_add_members_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/microsoft_graph_windows_updates_add_members/microsoft_graph_windows_updates_add_members_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddMembersPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesAddMembersRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members. This API is available in the following national cloud deployments. + Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AddMembersPostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[AddMembersPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesAddMembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members. This API is available in the following national cloud deployments. + Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AddMembersPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/microsoft_graph_windows_updates_add_members_by_id/microsoft_graph_windows_updates_add_members_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/microsoft_graph_windows_updates_add_members_by_id/microsoft_graph_windows_updates_add_members_by_id_request_builder.py index 42a91539740..5f5cf69d32a 100644 --- a/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/microsoft_graph_windows_updates_add_members_by_id/microsoft_graph_windows_updates_add_members_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/microsoft_graph_windows_updates_add_members_by_id/microsoft_graph_windows_updates_add_members_by_id_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddMembersByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. This API is available in the following national cloud deployments. + Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AddMembersByIdPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[AddMembersByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. This API is available in the following national cloud deployments. + Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AddMembersByIdPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/microsoft_graph_windows_updates_remove_members/microsoft_graph_windows_updates_remove_members_request_builder.py b/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/microsoft_graph_windows_updates_remove_members/microsoft_graph_windows_updates_remove_members_request_builder.py index eead5fb4095..c7462f630af 100644 --- a/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/microsoft_graph_windows_updates_remove_members/microsoft_graph_windows_updates_remove_members_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/microsoft_graph_windows_updates_remove_members/microsoft_graph_windows_updates_remove_members_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RemoveMembersPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilderPostRequestConfiguration] = None) -> None: """ - Remove members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. This API is available in the following national cloud deployments. + Remove members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RemoveMembersPostRequestBody] = None, request def to_post_request_information(self,body: Optional[RemoveMembersPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Remove members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. This API is available in the following national cloud deployments. + Remove members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RemoveMembersPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/microsoft_graph_windows_updates_remove_members_by_id/microsoft_graph_windows_updates_remove_members_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/microsoft_graph_windows_updates_remove_members_by_id/microsoft_graph_windows_updates_remove_members_by_id_request_builder.py index 911f987daff..e0b3746f37b 100644 --- a/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/microsoft_graph_windows_updates_remove_members_by_id/microsoft_graph_windows_updates_remove_members_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/microsoft_graph_windows_updates_remove_members_by_id/microsoft_graph_windows_updates_remove_members_by_id_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RemoveMembersByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilderPostRequestConfiguration] = None) -> None: """ - Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. This API is available in the following national cloud deployments. + Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RemoveMembersByIdPostRequestBody] = None, req def to_post_request_information(self,body: Optional[RemoveMembersByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. This API is available in the following national cloud deployments. + Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RemoveMembersByIdPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py index 8fb20fd98d7..028eaff70c0 100644 --- a/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py @@ -32,10 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[UpdatableAssetItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. This API is available in the following national cloud deployments. + Delete an updatableAsset object. 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/windowsupdates-updatableassetgroup-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -52,10 +52,10 @@ async def delete(self,request_configuration: Optional[UpdatableAssetItemRequestB async def get(self,request_configuration: Optional[UpdatableAssetItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UpdatableAsset]: """ - Read the properties and relationships of an updatableAsset object. This API is available in the following national cloud deployments. + Read the properties of an azureADDevice object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UpdatableAsset] - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -98,7 +98,7 @@ async def patch(self,body: Optional[UpdatableAsset] = None, request_configuratio def to_delete_request_information(self,request_configuration: Optional[UpdatableAssetItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. This API is available in the following national cloud deployments. + Delete an updatableAsset object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[Updatable request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UpdatableAssetItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an updatableAsset object. This API is available in the following national cloud deployments. + Read the properties of an azureADDevice object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[UpdatableAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UpdatableAsset] = None, request_configuration: Optional[UpdatableAssetItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[UpdatableAsset] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -208,7 +208,7 @@ class UpdatableAssetItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class UpdatableAssetItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an updatableAsset object. This API is available in the following national cloud deployments. + Read the properties of an azureADDevice object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_enroll_assets/microsoft_graph_windows_updates_enroll_assets_request_builder.py b/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_enroll_assets/microsoft_graph_windows_updates_enroll_assets_request_builder.py index 2a910a9ee87..b6f72b3d19d 100644 --- a/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_enroll_assets/microsoft_graph_windows_updates_enroll_assets_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_enroll_assets/microsoft_graph_windows_updates_enroll_assets_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[EnrollAssetsPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_enroll_assets_by_id/microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_enroll_assets_by_id/microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.py index e98bac37f1c..df717fa3e64 100644 --- a/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_enroll_assets_by_id/microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_enroll_assets_by_id/microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[EnrollAssetsByIdPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_unenroll_assets/microsoft_graph_windows_updates_unenroll_assets_request_builder.py b/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_unenroll_assets/microsoft_graph_windows_updates_unenroll_assets_request_builder.py index 408fcb91174..52ffbbc8bfc 100644 --- a/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_unenroll_assets/microsoft_graph_windows_updates_unenroll_assets_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_unenroll_assets/microsoft_graph_windows_updates_unenroll_assets_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnenrollAssetsPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_unenroll_assets_by_id/microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_unenroll_assets_by_id/microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.py index 22a391391eb..5a3c123fc4b 100644 --- a/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_unenroll_assets_by_id/microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/updatable_assets/microsoft_graph_windows_updates_unenroll_assets_by_id/microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnenrollAssetsByIdPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/updatable_assets/updatable_assets_request_builder.py b/msgraph_beta/generated/admin/windows/updates/updatable_assets/updatable_assets_request_builder.py index 84b02cc525c..87fd0e25fd9 100644 --- a/msgraph_beta/generated/admin/windows/updates/updatable_assets/updatable_assets_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/updatable_assets/updatable_assets_request_builder.py @@ -49,7 +49,7 @@ def by_updatable_asset_id(self,updatable_asset_id: str) -> UpdatableAssetItemReq async def get(self,request_configuration: Optional[UpdatableAssetsRequestBuilderGetRequestConfiguration] = None) -> Optional[UpdatableAssetCollectionResponse]: """ - Get a list of updatableAsset objects and their properties. Listing updatable assets returns updatableAsset resources of the following derived types: azureADDevice and updatableAssetGroup. Use list azureADDevice resources or list updatableAssetGroup resources to filter and get resources of only one of the derived types. This API is available in the following national cloud deployments. + Get a list of updatableAsset objects and their properties. Listing updatable assets returns updatableAsset resources of the following derived types: azureADDevice and updatableAssetGroup. Use list azureADDevice resources or list updatableAssetGroup resources to filter and get resources of only one of the derived types. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UpdatableAssetCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/adminwindowsupdates-list-updatableassets?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[UpdatableAssetsRequestBuilder async def post(self,body: Optional[UpdatableAsset] = None, request_configuration: Optional[UpdatableAssetsRequestBuilderPostRequestConfiguration] = None) -> Optional[UpdatableAsset]: """ - Create a new updatableAssetGroup object. The updatableAssetGroup resource inherits from updatableAsset. This API is available in the following national cloud deployments. + Create a new updatableAssetGroup object. The updatableAssetGroup resource inherits from updatableAsset. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UpdatableAsset] @@ -96,7 +96,7 @@ async def post(self,body: Optional[UpdatableAsset] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[UpdatableAssetsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of updatableAsset objects and their properties. Listing updatable assets returns updatableAsset resources of the following derived types: azureADDevice and updatableAssetGroup. Use list azureADDevice resources or list updatableAssetGroup resources to filter and get resources of only one of the derived types. This API is available in the following national cloud deployments. + Get a list of updatableAsset objects and their properties. Listing updatable assets returns updatableAsset resources of the following derived types: azureADDevice and updatableAssetGroup. Use list azureADDevice resources or list updatableAssetGroup resources to filter and get resources of only one of the derived types. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_get_request_information(self,request_configuration: Optional[UpdatableAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UpdatableAsset] = None, request_configuration: Optional[UpdatableAssetsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new updatableAssetGroup object. The updatableAssetGroup resource inherits from updatableAsset. This API is available in the following national cloud deployments. + Create a new updatableAssetGroup object. The updatableAssetGroup resource inherits from updatableAsset. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -127,7 +127,7 @@ def to_post_request_information(self,body: Optional[UpdatableAsset] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ def microsoft_graph_windows_updates_unenroll_assets_by_id(self) -> MicrosoftGrap @dataclass class UpdatableAssetsRequestBuilderGetQueryParameters(): """ - Get a list of updatableAsset objects and their properties. Listing updatable assets returns updatableAsset resources of the following derived types: azureADDevice and updatableAssetGroup. Use list azureADDevice resources or list updatableAssetGroup resources to filter and get resources of only one of the derived types. This API is available in the following national cloud deployments. + Get a list of updatableAsset objects and their properties. Listing updatable assets returns updatableAsset resources of the following derived types: azureADDevice and updatableAssetGroup. Use list azureADDevice resources or list updatableAssetGroup resources to filter and get resources of only one of the derived types. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/audience_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/audience_request_builder.py index a9187578cf4..b3773092516 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/audience_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/audience_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[AudienceR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AudienceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[AudienceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeploymentAudience] = None, request_configuration: Optional[AudienceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[DeploymentAudience] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/exclusions_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/exclusions_request_builder.py index 99e36378bdd..bb5debd7ca0 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/exclusions_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/exclusions_request_builder.py @@ -49,7 +49,7 @@ def by_updatable_asset_id(self,updatable_asset_id: str) -> UpdatableAssetItemReq async def get(self,request_configuration: Optional[ExclusionsRequestBuilderGetRequestConfiguration] = None) -> Optional[UpdatableAssetCollectionResponse]: """ - List the updatableAsset resources that are excluded from a deploymentAudience. This API is available in the following national cloud deployments. + List the updatableAsset resources that are excluded from a deploymentAudience. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UpdatableAssetCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-deploymentaudience-list-exclusions?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def post(self,body: Optional[UpdatableAsset] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[ExclusionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the updatableAsset resources that are excluded from a deploymentAudience. This API is available in the following national cloud deployments. + List the updatableAsset resources that are excluded from a deploymentAudience. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,7 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[ExclusionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UpdatableAsset] = None, request_configuration: Optional[ExclusionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_post_request_information(self,body: Optional[UpdatableAsset] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ def microsoft_graph_windows_updates_unenroll_assets_by_id(self) -> MicrosoftGrap @dataclass class ExclusionsRequestBuilderGetQueryParameters(): """ - List the updatableAsset resources that are excluded from a deploymentAudience. This API is available in the following national cloud deployments. + List the updatableAsset resources that are excluded from a deploymentAudience. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/item/microsoft_graph_windows_updates_add_members/microsoft_graph_windows_updates_add_members_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/item/microsoft_graph_windows_updates_add_members/microsoft_graph_windows_updates_add_members_request_builder.py index 4d03c55bd97..193287d10c2 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/item/microsoft_graph_windows_updates_add_members/microsoft_graph_windows_updates_add_members_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/item/microsoft_graph_windows_updates_add_members/microsoft_graph_windows_updates_add_members_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddMembersPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesAddMembersRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members. This API is available in the following national cloud deployments. + Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AddMembersPostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[AddMembersPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesAddMembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members. This API is available in the following national cloud deployments. + Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AddMembersPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/item/microsoft_graph_windows_updates_add_members_by_id/microsoft_graph_windows_updates_add_members_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/item/microsoft_graph_windows_updates_add_members_by_id/microsoft_graph_windows_updates_add_members_by_id_request_builder.py index 0ba6a03cdeb..e41a24d7f37 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/item/microsoft_graph_windows_updates_add_members_by_id/microsoft_graph_windows_updates_add_members_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/item/microsoft_graph_windows_updates_add_members_by_id/microsoft_graph_windows_updates_add_members_by_id_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddMembersByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. This API is available in the following national cloud deployments. + Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AddMembersByIdPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[AddMembersByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. This API is available in the following national cloud deployments. + Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AddMembersByIdPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/item/microsoft_graph_windows_updates_remove_members/microsoft_graph_windows_updates_remove_members_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/item/microsoft_graph_windows_updates_remove_members/microsoft_graph_windows_updates_remove_members_request_builder.py index bd568359b4f..0ab98390dbc 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/item/microsoft_graph_windows_updates_remove_members/microsoft_graph_windows_updates_remove_members_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/item/microsoft_graph_windows_updates_remove_members/microsoft_graph_windows_updates_remove_members_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RemoveMembersPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilderPostRequestConfiguration] = None) -> None: """ - Remove members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. This API is available in the following national cloud deployments. + Remove members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RemoveMembersPostRequestBody] = None, request def to_post_request_information(self,body: Optional[RemoveMembersPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Remove members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. This API is available in the following national cloud deployments. + Remove members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RemoveMembersPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/item/microsoft_graph_windows_updates_remove_members_by_id/microsoft_graph_windows_updates_remove_members_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/item/microsoft_graph_windows_updates_remove_members_by_id/microsoft_graph_windows_updates_remove_members_by_id_request_builder.py index 7adfa374b54..458a7496001 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/item/microsoft_graph_windows_updates_remove_members_by_id/microsoft_graph_windows_updates_remove_members_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/item/microsoft_graph_windows_updates_remove_members_by_id/microsoft_graph_windows_updates_remove_members_by_id_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RemoveMembersByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilderPostRequestConfiguration] = None) -> None: """ - Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. This API is available in the following national cloud deployments. + Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RemoveMembersByIdPostRequestBody] = None, req def to_post_request_information(self,body: Optional[RemoveMembersByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. This API is available in the following national cloud deployments. + Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RemoveMembersByIdPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/item/updatable_asset_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/item/updatable_asset_item_request_builder.py index 2666bc72ffe..d71e1cadf16 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/item/updatable_asset_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/item/updatable_asset_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[Updatable request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UpdatableAssetItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[UpdatableAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UpdatableAsset] = None, request_configuration: Optional[UpdatableAssetItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[UpdatableAsset] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets/microsoft_graph_windows_updates_enroll_assets_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets/microsoft_graph_windows_updates_enroll_assets_request_builder.py index db11c7d7365..e363daf328e 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets/microsoft_graph_windows_updates_enroll_assets_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets/microsoft_graph_windows_updates_enroll_assets_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[EnrollAssetsPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets_by_id/microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets_by_id/microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.py index 13f817dfd73..4b2eb8444a8 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets_by_id/microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_enroll_assets_by_id/microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[EnrollAssetsByIdPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets/microsoft_graph_windows_updates_unenroll_assets_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets/microsoft_graph_windows_updates_unenroll_assets_request_builder.py index 7775c61cda4..bf31658b225 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets/microsoft_graph_windows_updates_unenroll_assets_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets/microsoft_graph_windows_updates_unenroll_assets_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnenrollAssetsPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets_by_id/microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets_by_id/microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.py index f0abc98e676..28dfa86744f 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets_by_id/microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/exclusions/microsoft_graph_windows_updates_unenroll_assets_by_id/microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnenrollAssetsByIdPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/item/microsoft_graph_windows_updates_add_members/microsoft_graph_windows_updates_add_members_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/item/microsoft_graph_windows_updates_add_members/microsoft_graph_windows_updates_add_members_request_builder.py index 9b722f3f366..56f7128701f 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/item/microsoft_graph_windows_updates_add_members/microsoft_graph_windows_updates_add_members_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/item/microsoft_graph_windows_updates_add_members/microsoft_graph_windows_updates_add_members_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddMembersPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesAddMembersRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members. This API is available in the following national cloud deployments. + Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AddMembersPostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[AddMembersPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesAddMembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members. This API is available in the following national cloud deployments. + Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AddMembersPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/item/microsoft_graph_windows_updates_add_members_by_id/microsoft_graph_windows_updates_add_members_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/item/microsoft_graph_windows_updates_add_members_by_id/microsoft_graph_windows_updates_add_members_by_id_request_builder.py index 09cdd971e60..921f6b88ba7 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/item/microsoft_graph_windows_updates_add_members_by_id/microsoft_graph_windows_updates_add_members_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/item/microsoft_graph_windows_updates_add_members_by_id/microsoft_graph_windows_updates_add_members_by_id_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddMembersByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. This API is available in the following national cloud deployments. + Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AddMembersByIdPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[AddMembersByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesAddMembersByIdRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. This API is available in the following national cloud deployments. + Add members of the same type to an updatableAssetGroup. You can also use the method addMembers to add members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AddMembersByIdPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/item/microsoft_graph_windows_updates_remove_members/microsoft_graph_windows_updates_remove_members_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/item/microsoft_graph_windows_updates_remove_members/microsoft_graph_windows_updates_remove_members_request_builder.py index 035e47535ee..b1675da28b8 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/item/microsoft_graph_windows_updates_remove_members/microsoft_graph_windows_updates_remove_members_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/item/microsoft_graph_windows_updates_remove_members/microsoft_graph_windows_updates_remove_members_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RemoveMembersPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilderPostRequestConfiguration] = None) -> None: """ - Remove members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. This API is available in the following national cloud deployments. + Remove members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RemoveMembersPostRequestBody] = None, request def to_post_request_information(self,body: Optional[RemoveMembersPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesRemoveMembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Remove members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. This API is available in the following national cloud deployments. + Remove members from an updatableAssetGroup. You can also use the method removeMembersById to remove members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RemoveMembersPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/item/microsoft_graph_windows_updates_remove_members_by_id/microsoft_graph_windows_updates_remove_members_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/item/microsoft_graph_windows_updates_remove_members_by_id/microsoft_graph_windows_updates_remove_members_by_id_request_builder.py index 321fb442dae..823d050ceb5 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/item/microsoft_graph_windows_updates_remove_members_by_id/microsoft_graph_windows_updates_remove_members_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/item/microsoft_graph_windows_updates_remove_members_by_id/microsoft_graph_windows_updates_remove_members_by_id_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RemoveMembersByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilderPostRequestConfiguration] = None) -> None: """ - Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. This API is available in the following national cloud deployments. + Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RemoveMembersByIdPostRequestBody] = None, req def to_post_request_information(self,body: Optional[RemoveMembersByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesRemoveMembersByIdRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. This API is available in the following national cloud deployments. + Remove members of the same type from an updatableAssetGroup. You can also use the method removeMembers to remove members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RemoveMembersByIdPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/item/updatable_asset_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/item/updatable_asset_item_request_builder.py index ec6c507d6c1..b57cf6f3cc8 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/item/updatable_asset_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/item/updatable_asset_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[Updatable request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UpdatableAssetItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[UpdatableAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UpdatableAsset] = None, request_configuration: Optional[UpdatableAssetItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[UpdatableAsset] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/members_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/members_request_builder.py index a317113b88b..2fcc990f11f 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/members_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/members_request_builder.py @@ -49,7 +49,7 @@ def by_updatable_asset_id(self,updatable_asset_id: str) -> UpdatableAssetItemReq async def get(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> Optional[UpdatableAssetCollectionResponse]: """ - List the updatableAsset resources that are members of a deploymentAudience. This API is available in the following national cloud deployments. + List the updatableAsset resources that are members of a deploymentAudience. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UpdatableAssetCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-deploymentaudience-list-members?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def post(self,body: Optional[UpdatableAsset] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the updatableAsset resources that are members of a deploymentAudience. This API is available in the following national cloud deployments. + List the updatableAsset resources that are members of a deploymentAudience. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,7 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UpdatableAsset] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_post_request_information(self,body: Optional[UpdatableAsset] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ def microsoft_graph_windows_updates_unenroll_assets_by_id(self) -> MicrosoftGrap @dataclass class MembersRequestBuilderGetQueryParameters(): """ - List the updatableAsset resources that are members of a deploymentAudience. This API is available in the following national cloud deployments. + List the updatableAsset resources that are members of a deploymentAudience. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_enroll_assets/microsoft_graph_windows_updates_enroll_assets_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_enroll_assets/microsoft_graph_windows_updates_enroll_assets_request_builder.py index d4325e62676..924f1dc02b1 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_enroll_assets/microsoft_graph_windows_updates_enroll_assets_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_enroll_assets/microsoft_graph_windows_updates_enroll_assets_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[EnrollAssetsPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_enroll_assets_by_id/microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_enroll_assets_by_id/microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.py index 1025a889993..e24b235bd25 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_enroll_assets_by_id/microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_enroll_assets_by_id/microsoft_graph_windows_updates_enroll_assets_by_id_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[EnrollAssetsByIdPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_unenroll_assets/microsoft_graph_windows_updates_unenroll_assets_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_unenroll_assets/microsoft_graph_windows_updates_unenroll_assets_request_builder.py index 0b234e80264..4dbbdbdead8 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_unenroll_assets/microsoft_graph_windows_updates_unenroll_assets_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_unenroll_assets/microsoft_graph_windows_updates_unenroll_assets_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnenrollAssetsPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_unenroll_assets_by_id/microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_unenroll_assets_by_id/microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.py index c519c1b6da4..2e73f1342a2 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_unenroll_assets_by_id/microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/members/microsoft_graph_windows_updates_unenroll_assets_by_id/microsoft_graph_windows_updates_unenroll_assets_by_id_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnenrollAssetsByIdPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/microsoft_graph_windows_updates_update_audience/microsoft_graph_windows_updates_update_audience_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/microsoft_graph_windows_updates_update_audience/microsoft_graph_windows_updates_update_audience_request_builder.py index 4f0c5b1fb60..9f1fa603ad7 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/microsoft_graph_windows_updates_update_audience/microsoft_graph_windows_updates_update_audience_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/microsoft_graph_windows_updates_update_audience/microsoft_graph_windows_updates_update_audience_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UpdateAudiencePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesUpdateAudienceRequestBuilderPostRequestConfiguration] = None) -> None: """ - Update the members and exclusions collections of a deploymentAudience. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object, if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. If all updatableAsset objects are the same type, you can also use the method updateAudienceById to update the deploymentAudience. This API is available in the following national cloud deployments. + Update the members and exclusions collections of a deploymentAudience. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object, if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. If all updatableAsset objects are the same type, you can also use the method updateAudienceById to update the deploymentAudience. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[UpdateAudiencePostRequestBody] = None, reques def to_post_request_information(self,body: Optional[UpdateAudiencePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesUpdateAudienceRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Update the members and exclusions collections of a deploymentAudience. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object, if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. If all updatableAsset objects are the same type, you can also use the method updateAudienceById to update the deploymentAudience. This API is available in the following national cloud deployments. + Update the members and exclusions collections of a deploymentAudience. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object, if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. If all updatableAsset objects are the same type, you can also use the method updateAudienceById to update the deploymentAudience. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[UpdateAudiencePostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/microsoft_graph_windows_updates_update_audience_by_id/microsoft_graph_windows_updates_update_audience_by_id_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/microsoft_graph_windows_updates_update_audience_by_id/microsoft_graph_windows_updates_update_audience_by_id_request_builder.py index f12c7a6ed91..560f6faac55 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/microsoft_graph_windows_updates_update_audience_by_id/microsoft_graph_windows_updates_update_audience_by_id_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/audience/microsoft_graph_windows_updates_update_audience_by_id/microsoft_graph_windows_updates_update_audience_by_id_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UpdateAudienceByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilderPostRequestConfiguration] = None) -> None: """ - Update the members and exclusions collections of a deploymentAudience with updatableAsset resources of the same type. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. You can also use the method updateAudience to update the deploymentAudience. This API is available in the following national cloud deployments. + Update the members and exclusions collections of a deploymentAudience with updatableAsset resources of the same type. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. You can also use the method updateAudience to update the deploymentAudience. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[UpdateAudienceByIdPostRequestBody] = None, re def to_post_request_information(self,body: Optional[UpdateAudienceByIdPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Update the members and exclusions collections of a deploymentAudience with updatableAsset resources of the same type. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. You can also use the method updateAudience to update the deploymentAudience. This API is available in the following national cloud deployments. + Update the members and exclusions collections of a deploymentAudience with updatableAsset resources of the same type. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. You can also use the method updateAudience to update the deploymentAudience. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[UpdateAudienceByIdPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/compliance_changes_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/compliance_changes_request_builder.py index c0147f1983b..1f8fba29b4d 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/compliance_changes_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/compliance_changes_request_builder.py @@ -45,7 +45,7 @@ def by_compliance_change_id(self,compliance_change_id: str) -> ComplianceChangeI async def get(self,request_configuration: Optional[ComplianceChangesRequestBuilderGetRequestConfiguration] = None) -> Optional[ComplianceChangeCollectionResponse]: """ - Get a list of the complianceChange objects and their properties. This API is available in the following national cloud deployments. + Get a list of the complianceChange objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ComplianceChangeCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-updatepolicy-list-compliancechanges?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ComplianceChangesRequestBuild async def post(self,body: Optional[ComplianceChange] = None, request_configuration: Optional[ComplianceChangesRequestBuilderPostRequestConfiguration] = None) -> Optional[ComplianceChange]: """ - Create a new contentApproval object. This API is available in the following national cloud deployments. + Create a new contentApproval object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ComplianceChange] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ComplianceChange] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[ComplianceChangesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the complianceChange objects and their properties. This API is available in the following national cloud deployments. + Get a list of the complianceChange objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ComplianceCh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ComplianceChange] = None, request_configuration: Optional[ComplianceChangesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new contentApproval object. This API is available in the following national cloud deployments. + Create a new contentApproval object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ComplianceChange] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ComplianceChangesRequestBuilderGetQueryParameters(): """ - Get a list of the complianceChange objects and their properties. This API is available in the following national cloud deployments. + Get a list of the complianceChange objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py index 05393b0eced..48d2ca94329 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ComplianceChangeItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a complianceChange object. This API is available in the following national cloud deployments. + Delete a complianceChange object. 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/windowsupdates-compliancechange-delete?view=graph-rest-1.0 @@ -49,10 +49,10 @@ async def delete(self,request_configuration: Optional[ComplianceChangeItemReques async def get(self,request_configuration: Optional[ComplianceChangeItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ComplianceChange]: """ - Read the properties and relationships of a contentApproval object. This API is available in the following national cloud deployments. + Read the properties and relationships of a complianceChange object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ComplianceChange] - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[ComplianceChangeItemRequestBu async def patch(self,body: Optional[ComplianceChange] = None, request_configuration: Optional[ComplianceChangeItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ComplianceChange]: """ - Update the properties of a contentApproval object. This API is available in the following national cloud deployments. + Update the properties of a contentApproval object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ComplianceChange] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[ComplianceChange] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[ComplianceChangeItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a complianceChange object. This API is available in the following national cloud deployments. + Delete a complianceChange object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[Complianc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ComplianceChangeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a contentApproval object. This API is available in the following national cloud deployments. + Read the properties and relationships of a complianceChange object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[ComplianceCh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ComplianceChange] = None, request_configuration: Optional[ComplianceChangeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a contentApproval object. This API is available in the following national cloud deployments. + Update the properties of a contentApproval object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[ComplianceChange] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class ComplianceChangeItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class ComplianceChangeItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a contentApproval object. This API is available in the following national cloud deployments. + Read the properties and relationships of a complianceChange object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/update_policy/update_policy_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/update_policy/update_policy_request_builder.py index df04c01f216..6a95c2aaea0 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/update_policy/update_policy_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/update_policy/update_policy_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[UpdatePolicy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UpdatePolicyRequestBuilder: diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/update_policy_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/update_policy_item_request_builder.py index 6d6402714ec..664e212ddf0 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/update_policy_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/update_policy_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[UpdatePolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an updatePolicy object. This API is available in the following national cloud deployments. + Delete an updatePolicy object. 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/windowsupdates-updatepolicy-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[UpdatePolicyItemRequestBui async def get(self,request_configuration: Optional[UpdatePolicyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UpdatePolicy]: """ - Read the properties and relationships of an updatePolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of an updatePolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UpdatePolicy] Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-updatepolicy-get?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[UpdatePolicyItemRequestBuilde async def patch(self,body: Optional[UpdatePolicy] = None, request_configuration: Optional[UpdatePolicyItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[UpdatePolicy]: """ - Update the properties of an updatePolicy object. This API is available in the following national cloud deployments. + Update the properties of an updatePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UpdatePolicy] @@ -97,7 +97,7 @@ async def patch(self,body: Optional[UpdatePolicy] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[UpdatePolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an updatePolicy object. This API is available in the following national cloud deployments. + Delete an updatePolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[UpdatePol request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UpdatePolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an updatePolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of an updatePolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[UpdatePolicy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UpdatePolicy] = None, request_configuration: Optional[UpdatePolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an updatePolicy object. This API is available in the following national cloud deployments. + Update the properties of an updatePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[UpdatePolicy] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class UpdatePolicyItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class UpdatePolicyItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an updatePolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of an updatePolicy object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/update_policies_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/update_policies_request_builder.py index b988ca8d0a5..2fce7b8f332 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/update_policies_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/update_policies_request_builder.py @@ -45,7 +45,7 @@ def by_update_policy_id(self,update_policy_id: str) -> UpdatePolicyItemRequestBu async def get(self,request_configuration: Optional[UpdatePoliciesRequestBuilderGetRequestConfiguration] = None) -> Optional[UpdatePolicyCollectionResponse]: """ - Get a list of updatePolicy objects and their properties. This API is available in the following national cloud deployments. + Get a list of updatePolicy objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UpdatePolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/adminwindowsupdates-list-updatepolicies?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[UpdatePoliciesRequestBuilderG async def post(self,body: Optional[UpdatePolicy] = None, request_configuration: Optional[UpdatePoliciesRequestBuilderPostRequestConfiguration] = None) -> Optional[UpdatePolicy]: """ - Create a new updatePolicy object. This API is available in the following national cloud deployments. + Create a new updatePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UpdatePolicy] @@ -92,7 +92,7 @@ async def post(self,body: Optional[UpdatePolicy] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[UpdatePoliciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of updatePolicy objects and their properties. This API is available in the following national cloud deployments. + Get a list of updatePolicy objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[UpdatePolici request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UpdatePolicy] = None, request_configuration: Optional[UpdatePoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new updatePolicy object. This API is available in the following national cloud deployments. + Create a new updatePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[UpdatePolicy] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class UpdatePoliciesRequestBuilderGetQueryParameters(): """ - Get a list of updatePolicy objects and their properties. This API is available in the following national cloud deployments. + Get a list of updatePolicy objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/updates_request_builder.py b/msgraph_beta/generated/admin/windows/updates/updates_request_builder.py index 2c42d8d7ac2..87d69772be3 100644 --- a/msgraph_beta/generated/admin/windows/updates/updates_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/updates_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[UpdatesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UpdatesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[UpdatesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AdminWindowsUpdates] = None, request_configuration: Optional[UpdatesRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[AdminWindowsUpdates] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/admin/windows/windows_request_builder.py b/msgraph_beta/generated/admin/windows/windows_request_builder.py index 4c3f0738059..4db4f0059f2 100644 --- a/msgraph_beta/generated/admin/windows/windows_request_builder.py +++ b/msgraph_beta/generated/admin/windows/windows_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AdminWindows] = None, request_configuration: Optional[WindowsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AdminWindows] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/administrative_units/administrative_units_request_builder.py b/msgraph_beta/generated/administrative_units/administrative_units_request_builder.py index 75cb649c720..680610a600b 100644 --- a/msgraph_beta/generated/administrative_units/administrative_units_request_builder.py +++ b/msgraph_beta/generated/administrative_units/administrative_units_request_builder.py @@ -49,7 +49,7 @@ def by_administrative_unit_id(self,administrative_unit_id: str) -> Administrativ async def get(self,request_configuration: Optional[AdministrativeUnitsRequestBuilderGetRequestConfiguration] = None) -> Optional[AdministrativeUnitCollectionResponse]: """ - Retrieve a list of administrativeUnit objects. This API is available in the following national cloud deployments. + Retrieve a list of administrativeUnit objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AdministrativeUnitCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/directory-list-administrativeunits?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[AdministrativeUnitsRequestBui async def post(self,body: Optional[AdministrativeUnit] = None, request_configuration: Optional[AdministrativeUnitsRequestBuilderPostRequestConfiguration] = None) -> Optional[AdministrativeUnit]: """ - Use this API to create a new administrativeUnit. This API is available in the following national cloud deployments. + Use this API to create a new administrativeUnit. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AdministrativeUnit] @@ -96,7 +96,7 @@ async def post(self,body: Optional[AdministrativeUnit] = None, request_configura def to_get_request_information(self,request_configuration: Optional[AdministrativeUnitsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of administrativeUnit objects. This API is available in the following national cloud deployments. + Retrieve a list of administrativeUnit objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_get_request_information(self,request_configuration: Optional[Administrati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AdministrativeUnit] = None, request_configuration: Optional[AdministrativeUnitsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new administrativeUnit. This API is available in the following national cloud deployments. + Use this API to create a new administrativeUnit. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -127,7 +127,7 @@ def to_post_request_information(self,body: Optional[AdministrativeUnit] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ def validate_properties(self) -> ValidatePropertiesRequestBuilder: @dataclass class AdministrativeUnitsRequestBuilderGetQueryParameters(): """ - Retrieve a list of administrativeUnit objects. This API is available in the following national cloud deployments. + Retrieve a list of administrativeUnit objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/administrative_units/delta/delta_request_builder.py b/msgraph_beta/generated/administrative_units/delta/delta_request_builder.py index 9e5d97a3e07..26dd2316880 100644 --- a/msgraph_beta/generated/administrative_units/delta/delta_request_builder.py +++ b/msgraph_beta/generated/administrative_units/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/administrative_units/get_by_ids/get_by_ids_request_builder.py b/msgraph_beta/generated/administrative_units/get_by_ids/get_by_ids_request_builder.py index a98f4a41a24..f75c2956f60 100644 --- a/msgraph_beta/generated/administrative_units/get_by_ids/get_by_ids_request_builder.py +++ b/msgraph_beta/generated/administrative_units/get_by_ids/get_by_ids_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetByIdsPostResponse]: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetByIdsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/administrative_units/get_user_owned_objects/get_user_owned_objects_request_builder.py b/msgraph_beta/generated/administrative_units/get_user_owned_objects/get_user_owned_objects_request_builder.py index 616369a53ed..e64ef192628 100644 --- a/msgraph_beta/generated/administrative_units/get_user_owned_objects/get_user_owned_objects_request_builder.py +++ b/msgraph_beta/generated/administrative_units/get_user_owned_objects/get_user_owned_objects_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, request_configuration: Optional[GetUserOwnedObjectsRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. This API is available in the following national cloud deployments. + Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, r def to_post_request_information(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, request_configuration: Optional[GetUserOwnedObjectsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. This API is available in the following national cloud deployments. + Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetUserOwnedObjectsPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/administrative_units/item/administrative_unit_item_request_builder.py b/msgraph_beta/generated/administrative_units/item/administrative_unit_item_request_builder.py index 94493b76e0f..0551d3e2eba 100644 --- a/msgraph_beta/generated/administrative_units/item/administrative_unit_item_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/administrative_unit_item_request_builder.py @@ -36,7 +36,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AdministrativeUnitItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an administrativeUnit. This API is available in the following national cloud deployments. + Delete an administrativeUnit. 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/administrativeunit-delete?view=graph-rest-1.0 @@ -56,7 +56,7 @@ async def delete(self,request_configuration: Optional[AdministrativeUnitItemRequ async def get(self,request_configuration: Optional[AdministrativeUnitItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AdministrativeUnit]: """ - Retrieve the properties and relationships of an administrativeUnit object. Since the administrativeUnit resource supports extensions, you can also use the GET operation to get custom properties and extension data in an administrativeUnit instance. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an administrativeUnit object. Since the administrativeUnit resource supports extensions, you can also use the GET operation to get custom properties and extension data in an administrativeUnit instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AdministrativeUnit] Find more info here: https://learn.microsoft.com/graph/api/administrativeunit-get?view=graph-rest-1.0 @@ -78,7 +78,7 @@ async def get(self,request_configuration: Optional[AdministrativeUnitItemRequest async def patch(self,body: Optional[AdministrativeUnit] = None, request_configuration: Optional[AdministrativeUnitItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[AdministrativeUnit]: """ - Update the properties of an administrativeUnit object. This API is available in the following national cloud deployments. + Update the properties of an administrativeUnit object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AdministrativeUnit] @@ -103,7 +103,7 @@ async def patch(self,body: Optional[AdministrativeUnit] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[AdministrativeUnitItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an administrativeUnit. This API is available in the following national cloud deployments. + Delete an administrativeUnit. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -114,12 +114,12 @@ def to_delete_request_information(self,request_configuration: Optional[Administr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AdministrativeUnitItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an administrativeUnit object. Since the administrativeUnit resource supports extensions, you can also use the GET operation to get custom properties and extension data in an administrativeUnit instance. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an administrativeUnit object. Since the administrativeUnit resource supports extensions, you can also use the GET operation to get custom properties and extension data in an administrativeUnit instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -131,12 +131,12 @@ def to_get_request_information(self,request_configuration: Optional[Administrati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AdministrativeUnit] = None, request_configuration: Optional[AdministrativeUnitItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an administrativeUnit object. This API is available in the following national cloud deployments. + Update the properties of an administrativeUnit object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -150,7 +150,7 @@ def to_patch_request_information(self,body: Optional[AdministrativeUnit] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -249,7 +249,7 @@ class AdministrativeUnitItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class AdministrativeUnitItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an administrativeUnit object. Since the administrativeUnit resource supports extensions, you can also use the GET operation to get custom properties and extension data in an administrativeUnit instance. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an administrativeUnit object. Since the administrativeUnit resource supports extensions, you can also use the GET operation to get custom properties and extension data in an administrativeUnit instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/administrative_units/item/check_member_groups/check_member_groups_request_builder.py b/msgraph_beta/generated/administrative_units/item/check_member_groups/check_member_groups_request_builder.py index 80b88f35682..1bc09b839bb 100644 --- a/msgraph_beta/generated/administrative_units/item/check_member_groups/check_member_groups_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/check_member_groups/check_member_groups_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[CheckMemberGroupsPostResponse]: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, req def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/administrative_units/item/check_member_objects/check_member_objects_request_builder.py b/msgraph_beta/generated/administrative_units/item/check_member_objects/check_member_objects_request_builder.py index f3ba35497fc..d13d5c0455a 100644 --- a/msgraph_beta/generated/administrative_units/item/check_member_objects/check_member_objects_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/check_member_objects/check_member_objects_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CheckMemberObjectsPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/administrative_units/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/administrative_units/item/extensions/extensions_request_builder.py index 98d5f0be1a9..7c13e82dbe1 100644 --- a/msgraph_beta/generated/administrative_units/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/extensions/extensions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/administrative_units/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/administrative_units/item/extensions/item/extension_item_request_builder.py index 2a7bf5ca5a8..52221f3020a 100644 --- a/msgraph_beta/generated/administrative_units/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/extensions/item/extension_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/administrative_units/item/get_member_groups/get_member_groups_request_builder.py b/msgraph_beta/generated/administrative_units/item/get_member_groups/get_member_groups_request_builder.py index 867a9d62bca..5ae4c5c3bb3 100644 --- a/msgraph_beta/generated/administrative_units/item/get_member_groups/get_member_groups_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/get_member_groups/get_member_groups_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetMemberGroupsPostResponse]: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/administrative_units/item/get_member_objects/get_member_objects_request_builder.py b/msgraph_beta/generated/administrative_units/item/get_member_objects/get_member_objects_request_builder.py index ba24017b4ac..0fdd2b56ad9 100644 --- a/msgraph_beta/generated/administrative_units/item/get_member_objects/get_member_objects_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/get_member_objects/get_member_objects_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GetMemberObjectsPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/administrative_units/item/members/graph_application/graph_application_request_builder.py b/msgraph_beta/generated/administrative_units/item/members/graph_application/graph_application_request_builder.py index 10ac9272084..90433cfc75a 100644 --- a/msgraph_beta/generated/administrative_units/item/members/graph_application/graph_application_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/members/graph_application/graph_application_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphApplica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphApplicationRequestBuilder: diff --git a/msgraph_beta/generated/administrative_units/item/members/graph_device/graph_device_request_builder.py b/msgraph_beta/generated/administrative_units/item/members/graph_device/graph_device_request_builder.py index 3ffc89ab43f..c6239c540e4 100644 --- a/msgraph_beta/generated/administrative_units/item/members/graph_device/graph_device_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/members/graph_device/graph_device_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphDeviceR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphDeviceRequestBuilder: diff --git a/msgraph_beta/generated/administrative_units/item/members/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/administrative_units/item/members/graph_group/graph_group_request_builder.py index 5602dfc9fce..a3962e0db23 100644 --- a/msgraph_beta/generated/administrative_units/item/members/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/members/graph_group/graph_group_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/administrative_units/item/members/graph_org_contact/graph_org_contact_request_builder.py b/msgraph_beta/generated/administrative_units/item/members/graph_org_contact/graph_org_contact_request_builder.py index fed390b3ad0..f9ff193ac30 100644 --- a/msgraph_beta/generated/administrative_units/item/members/graph_org_contact/graph_org_contact_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/members/graph_org_contact/graph_org_contact_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphOrgCont request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphOrgContactRequestBuilder: diff --git a/msgraph_beta/generated/administrative_units/item/members/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/administrative_units/item/members/graph_service_principal/graph_service_principal_request_builder.py index 4964b1dde5b..809ee007692 100644 --- a/msgraph_beta/generated/administrative_units/item/members/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/members/graph_service_principal/graph_service_principal_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/administrative_units/item/members/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/administrative_units/item/members/graph_user/graph_user_request_builder.py index da084450baa..7e25daeb528 100644 --- a/msgraph_beta/generated/administrative_units/item/members/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/members/graph_user/graph_user_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/administrative_units/item/members/item/graph_application/graph_application_request_builder.py b/msgraph_beta/generated/administrative_units/item/members/item/graph_application/graph_application_request_builder.py index 76b7c5b433d..12ae982c396 100644 --- a/msgraph_beta/generated/administrative_units/item/members/item/graph_application/graph_application_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/members/item/graph_application/graph_application_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphApplica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphApplicationRequestBuilder: diff --git a/msgraph_beta/generated/administrative_units/item/members/item/graph_device/graph_device_request_builder.py b/msgraph_beta/generated/administrative_units/item/members/item/graph_device/graph_device_request_builder.py index 5a632198ed1..f4607151f97 100644 --- a/msgraph_beta/generated/administrative_units/item/members/item/graph_device/graph_device_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/members/item/graph_device/graph_device_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphDeviceR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphDeviceRequestBuilder: diff --git a/msgraph_beta/generated/administrative_units/item/members/item/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/administrative_units/item/members/item/graph_group/graph_group_request_builder.py index 566a7a9bdb1..3dd7cc96b44 100644 --- a/msgraph_beta/generated/administrative_units/item/members/item/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/members/item/graph_group/graph_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/administrative_units/item/members/item/graph_org_contact/graph_org_contact_request_builder.py b/msgraph_beta/generated/administrative_units/item/members/item/graph_org_contact/graph_org_contact_request_builder.py index b91e8a9db50..7cd4433c73e 100644 --- a/msgraph_beta/generated/administrative_units/item/members/item/graph_org_contact/graph_org_contact_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/members/item/graph_org_contact/graph_org_contact_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphOrgCont request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphOrgContactRequestBuilder: diff --git a/msgraph_beta/generated/administrative_units/item/members/item/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/administrative_units/item/members/item/graph_service_principal/graph_service_principal_request_builder.py index 4a60c28c782..bd881910956 100644 --- a/msgraph_beta/generated/administrative_units/item/members/item/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/members/item/graph_service_principal/graph_service_principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/administrative_units/item/members/item/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/administrative_units/item/members/item/graph_user/graph_user_request_builder.py index c7e4d391c8f..089d001971d 100644 --- a/msgraph_beta/generated/administrative_units/item/members/item/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/members/item/graph_user/graph_user_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/administrative_units/item/members/item/ref/ref_request_builder.py b/msgraph_beta/generated/administrative_units/item/members/item/ref/ref_request_builder.py index b812d8a9a78..937a094acf9 100644 --- a/msgraph_beta/generated/administrative_units/item/members/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/members/item/ref/ref_request_builder.py @@ -58,7 +58,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: diff --git a/msgraph_beta/generated/administrative_units/item/members/members_request_builder.py b/msgraph_beta/generated/administrative_units/item/members/members_request_builder.py index a4a06be3d4e..0c1d931cb0e 100644 --- a/msgraph_beta/generated/administrative_units/item/members/members_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/members/members_request_builder.py @@ -39,7 +39,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.administrativeUnits.item.members.item collection - param directory_object_id: Unique identifier of the item + param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ if not directory_object_id: @@ -110,7 +110,7 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DirectoryObject] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -129,7 +129,7 @@ def to_post_request_information(self,body: Optional[DirectoryObject] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/administrative_units/item/members/ref/ref_request_builder.py b/msgraph_beta/generated/administrative_units/item/members/ref/ref_request_builder.py index 16bacca8070..9b482bafa2b 100644 --- a/msgraph_beta/generated/administrative_units/item/members/ref/ref_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/members/ref/ref_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/administrative_units/item/restore/restore_request_builder.py b/msgraph_beta/generated/administrative_units/item/restore/restore_request_builder.py index 9b40aa1e3d7..f23e5b15fdc 100644 --- a/msgraph_beta/generated/administrative_units/item/restore/restore_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/restore/restore_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RestoreRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[RestoreRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RestoreRequestBuilder: diff --git a/msgraph_beta/generated/administrative_units/item/scoped_role_members/item/scoped_role_membership_item_request_builder.py b/msgraph_beta/generated/administrative_units/item/scoped_role_members/item/scoped_role_membership_item_request_builder.py index e7d95c46451..66e55897bb0 100644 --- a/msgraph_beta/generated/administrative_units/item/scoped_role_members/item/scoped_role_membership_item_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/scoped_role_members/item/scoped_role_membership_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ScopedRoleMembershipItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a Microsoft Entra role assignment with administrative unit scope. This API is available in the following national cloud deployments. + Remove a Microsoft Entra role assignment with administrative unit scope. 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/administrativeunit-delete-scopedrolemembers?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ScopedRoleMembershipItemRe async def get(self,request_configuration: Optional[ScopedRoleMembershipItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ScopedRoleMembership]: """ - Get a Microsoft Entra role assignment with administrative unit scope. This API is available in the following national cloud deployments. + Get a Microsoft Entra role assignment with administrative unit scope. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ScopedRoleMembership] Find more info here: https://learn.microsoft.com/graph/api/administrativeunit-get-scopedrolemembers?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[ScopedRoleMembership] = None, request_config def to_delete_request_information(self,request_configuration: Optional[ScopedRoleMembershipItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a Microsoft Entra role assignment with administrative unit scope. This API is available in the following national cloud deployments. + Remove a Microsoft Entra role assignment with administrative unit scope. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ScopedRol request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ScopedRoleMembershipItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a Microsoft Entra role assignment with administrative unit scope. This API is available in the following national cloud deployments. + Get a Microsoft Entra role assignment with administrative unit scope. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ScopedRoleMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ScopedRoleMembership] = None, request_configuration: Optional[ScopedRoleMembershipItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ScopedRoleMembership] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ScopedRoleMembershipItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class ScopedRoleMembershipItemRequestBuilderGetQueryParameters(): """ - Get a Microsoft Entra role assignment with administrative unit scope. This API is available in the following national cloud deployments. + Get a Microsoft Entra role assignment with administrative unit scope. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/administrative_units/item/scoped_role_members/scoped_role_members_request_builder.py b/msgraph_beta/generated/administrative_units/item/scoped_role_members/scoped_role_members_request_builder.py index 8beafc5fb2e..1b355c3b41e 100644 --- a/msgraph_beta/generated/administrative_units/item/scoped_role_members/scoped_role_members_request_builder.py +++ b/msgraph_beta/generated/administrative_units/item/scoped_role_members/scoped_role_members_request_builder.py @@ -45,7 +45,7 @@ def by_scoped_role_membership_id(self,scoped_role_membership_id: str) -> ScopedR async def get(self,request_configuration: Optional[ScopedRoleMembersRequestBuilderGetRequestConfiguration] = None) -> Optional[ScopedRoleMembershipCollectionResponse]: """ - List Microsoft Entra role assignments with administrative unit scope. This API is available in the following national cloud deployments. + List Microsoft Entra role assignments with administrative unit scope. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ScopedRoleMembershipCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/administrativeunit-list-scopedrolemembers?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ScopedRoleMembersRequestBuild async def post(self,body: Optional[ScopedRoleMembership] = None, request_configuration: Optional[ScopedRoleMembersRequestBuilderPostRequestConfiguration] = None) -> Optional[ScopedRoleMembership]: """ - Assign a Microsoft Entra role with administrative unit scope. For a list of roles that can be assigned with administrative unit scope, see Assign Microsoft Entra roles with administrative unit scope. This API is available in the following national cloud deployments. + Assign a Microsoft Entra role with administrative unit scope. For a list of roles that can be assigned with administrative unit scope, see Assign Microsoft Entra roles with administrative unit scope. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ScopedRoleMembership] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ScopedRoleMembership] = None, request_configu def to_get_request_information(self,request_configuration: Optional[ScopedRoleMembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List Microsoft Entra role assignments with administrative unit scope. This API is available in the following national cloud deployments. + List Microsoft Entra role assignments with administrative unit scope. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ScopedRoleMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ScopedRoleMembership] = None, request_configuration: Optional[ScopedRoleMembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Assign a Microsoft Entra role with administrative unit scope. For a list of roles that can be assigned with administrative unit scope, see Assign Microsoft Entra roles with administrative unit scope. This API is available in the following national cloud deployments. + Assign a Microsoft Entra role with administrative unit scope. For a list of roles that can be assigned with administrative unit scope, see Assign Microsoft Entra roles with administrative unit scope. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ScopedRoleMembership] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ScopedRoleMembersRequestBuilderGetQueryParameters(): """ - List Microsoft Entra role assignments with administrative unit scope. This API is available in the following national cloud deployments. + List Microsoft Entra role assignments with administrative unit scope. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/administrative_units/validate_properties/validate_properties_request_builder.py b/msgraph_beta/generated/administrative_units/validate_properties/validate_properties_request_builder.py index 12b7ecaf569..ae7a3d593e4 100644 --- a/msgraph_beta/generated/administrative_units/validate_properties/validate_properties_request_builder.py +++ b/msgraph_beta/generated/administrative_units/validate_properties/validate_properties_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> None: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, re def to_post_request_information(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ValidatePropertiesPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/agreement_acceptances/agreement_acceptances_request_builder.py b/msgraph_beta/generated/agreement_acceptances/agreement_acceptances_request_builder.py index 03ae9f3b97e..cc6040735cf 100644 --- a/msgraph_beta/generated/agreement_acceptances/agreement_acceptances_request_builder.py +++ b/msgraph_beta/generated/agreement_acceptances/agreement_acceptances_request_builder.py @@ -101,7 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[AgreementAcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AgreementAcceptance] = None, request_configuration: Optional[AgreementAcceptancesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_post_request_information(self,body: Optional[AgreementAcceptance] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/agreement_acceptances/item/agreement_acceptance_item_request_builder.py b/msgraph_beta/generated/agreement_acceptances/item/agreement_acceptance_item_request_builder.py index c27f3540baf..87f6cdd82b9 100644 --- a/msgraph_beta/generated/agreement_acceptances/item/agreement_acceptance_item_request_builder.py +++ b/msgraph_beta/generated/agreement_acceptances/item/agreement_acceptance_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Agreement request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AgreementAcceptanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AgreementAcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AgreementAcceptance] = None, request_configuration: Optional[AgreementAcceptanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AgreementAcceptance] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/agreements/agreements_request_builder.py b/msgraph_beta/generated/agreements/agreements_request_builder.py index c51ff577417..bd9ec96dc4c 100644 --- a/msgraph_beta/generated/agreements/agreements_request_builder.py +++ b/msgraph_beta/generated/agreements/agreements_request_builder.py @@ -101,7 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[AgreementsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Agreement] = None, request_configuration: Optional[AgreementsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_post_request_information(self,body: Optional[Agreement] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/agreements/item/acceptances/acceptances_request_builder.py b/msgraph_beta/generated/agreements/item/acceptances/acceptances_request_builder.py index 94d17a3cb10..48e9e78bda2 100644 --- a/msgraph_beta/generated/agreements/item/acceptances/acceptances_request_builder.py +++ b/msgraph_beta/generated/agreements/item/acceptances/acceptances_request_builder.py @@ -45,7 +45,7 @@ def by_agreement_acceptance_id(self,agreement_acceptance_id: str) -> AgreementAc async def get(self,request_configuration: Optional[AcceptancesRequestBuilderGetRequestConfiguration] = None) -> Optional[AgreementAcceptanceCollectionResponse]: """ - Get the details about the acceptance records for a specific agreement. This API is available in the following national cloud deployments. + Get the details about the acceptance records for a specific agreement. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementAcceptanceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/agreement-list-acceptances?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AgreementAcceptance] = None, request_configur def to_get_request_information(self,request_configuration: Optional[AcceptancesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the details about the acceptance records for a specific agreement. This API is available in the following national cloud deployments. + Get the details about the acceptance records for a specific agreement. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AcceptancesR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AgreementAcceptance] = None, request_configuration: Optional[AcceptancesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AgreementAcceptance] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AcceptancesRequestBuilderGetQueryParameters(): """ - Get the details about the acceptance records for a specific agreement. This API is available in the following national cloud deployments. + Get the details about the acceptance records for a specific agreement. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/agreements/item/acceptances/item/agreement_acceptance_item_request_builder.py b/msgraph_beta/generated/agreements/item/acceptances/item/agreement_acceptance_item_request_builder.py index 8b9363410e9..241140b04fe 100644 --- a/msgraph_beta/generated/agreements/item/acceptances/item/agreement_acceptance_item_request_builder.py +++ b/msgraph_beta/generated/agreements/item/acceptances/item/agreement_acceptance_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Agreement request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AgreementAcceptanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AgreementAcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AgreementAcceptance] = None, request_configuration: Optional[AgreementAcceptanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AgreementAcceptance] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/agreements/item/agreement_item_request_builder.py b/msgraph_beta/generated/agreements/item/agreement_item_request_builder.py index 2305b36699f..6ae43b4b465 100644 --- a/msgraph_beta/generated/agreements/item/agreement_item_request_builder.py +++ b/msgraph_beta/generated/agreements/item/agreement_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[Agreement request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AgreementItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[AgreementIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Agreement] = None, request_configuration: Optional[AgreementItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Agreement] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/agreements/item/file/file_request_builder.py b/msgraph_beta/generated/agreements/item/file/file_request_builder.py index 5f489dbb132..3b187ec8eff 100644 --- a/msgraph_beta/generated/agreements/item/file/file_request_builder.py +++ b/msgraph_beta/generated/agreements/item/file/file_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[FileRequestBuilderDeleteRe async def get(self,request_configuration: Optional[FileRequestBuilderGetRequestConfiguration] = None) -> Optional[AgreementFile]: """ - Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. This API is available in the following national cloud deployments. + Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementFile] Find more info here: https://learn.microsoft.com/graph/api/agreementfile-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[FileReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FileRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. This API is available in the following national cloud deployments. + Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[FileRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AgreementFile] = None, request_configuration: Optional[FileRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AgreementFile] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class FileRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class FileRequestBuilderGetQueryParameters(): """ - Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. This API is available in the following national cloud deployments. + Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/agreements/item/file/localizations/item/agreement_file_localization_item_request_builder.py b/msgraph_beta/generated/agreements/item/file/localizations/item/agreement_file_localization_item_request_builder.py index bb574cb5370..e8c5f6b8cc8 100644 --- a/msgraph_beta/generated/agreements/item/file/localizations/item/agreement_file_localization_item_request_builder.py +++ b/msgraph_beta/generated/agreements/item/file/localizations/item/agreement_file_localization_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Agreement request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AgreementFileLocalizationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AgreementFil request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AgreementFileLocalization] = None, request_configuration: Optional[AgreementFileLocalizationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AgreementFileLocalization] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/agreements/item/file/localizations/item/versions/item/agreement_file_version_item_request_builder.py b/msgraph_beta/generated/agreements/item/file/localizations/item/versions/item/agreement_file_version_item_request_builder.py index 3cc5ad77abb..50dee932d6d 100644 --- a/msgraph_beta/generated/agreements/item/file/localizations/item/versions/item/agreement_file_version_item_request_builder.py +++ b/msgraph_beta/generated/agreements/item/file/localizations/item/versions/item/agreement_file_version_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Agreement request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AgreementFileVersionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AgreementFil request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AgreementFileVersion] = None, request_configuration: Optional[AgreementFileVersionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AgreementFileVersion] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/agreements/item/file/localizations/item/versions/versions_request_builder.py b/msgraph_beta/generated/agreements/item/file/localizations/item/versions/versions_request_builder.py index 6ef6e2975f9..fc4d63d2380 100644 --- a/msgraph_beta/generated/agreements/item/file/localizations/item/versions/versions_request_builder.py +++ b/msgraph_beta/generated/agreements/item/file/localizations/item/versions/versions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[VersionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AgreementFileVersion] = None, request_configuration: Optional[VersionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AgreementFileVersion] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/agreements/item/file/localizations/localizations_request_builder.py b/msgraph_beta/generated/agreements/item/file/localizations/localizations_request_builder.py index bc9436827ba..3d77956c0b5 100644 --- a/msgraph_beta/generated/agreements/item/file/localizations/localizations_request_builder.py +++ b/msgraph_beta/generated/agreements/item/file/localizations/localizations_request_builder.py @@ -45,7 +45,7 @@ def by_agreement_file_localization_id(self,agreement_file_localization_id: str) async def get(self,request_configuration: Optional[LocalizationsRequestBuilderGetRequestConfiguration] = None) -> Optional[AgreementFileLocalizationCollectionResponse]: """ - Get a list of the default and localized agreement files. This API is available in the following national cloud deployments. + Get a list of the default and localized agreement files. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementFileLocalizationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/agreementfile-list-localizations?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AgreementFileLocalization] = None, request_co def to_get_request_information(self,request_configuration: Optional[LocalizationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the default and localized agreement files. This API is available in the following national cloud deployments. + Get a list of the default and localized agreement files. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[Localization request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AgreementFileLocalization] = None, request_configuration: Optional[LocalizationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AgreementFileLocalization] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class LocalizationsRequestBuilderGetQueryParameters(): """ - Get a list of the default and localized agreement files. This API is available in the following national cloud deployments. + Get a list of the default and localized agreement files. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/agreements/item/files/files_request_builder.py b/msgraph_beta/generated/agreements/item/files/files_request_builder.py index 3870b7d6408..2102fe8a30a 100644 --- a/msgraph_beta/generated/agreements/item/files/files_request_builder.py +++ b/msgraph_beta/generated/agreements/item/files/files_request_builder.py @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[FilesRequestBuilderGetRequest async def post(self,body: Optional[AgreementFileLocalization] = None, request_configuration: Optional[FilesRequestBuilderPostRequestConfiguration] = None) -> Optional[AgreementFileLocalization]: """ - Create a new localized agreement file. This API is available in the following national cloud deployments. + Create a new localized agreement file. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementFileLocalization] @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[FilesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AgreementFileLocalization] = None, request_configuration: Optional[FilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new localized agreement file. This API is available in the following national cloud deployments. + Create a new localized agreement file. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AgreementFileLocalization] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/agreements/item/files/item/agreement_file_localization_item_request_builder.py b/msgraph_beta/generated/agreements/item/files/item/agreement_file_localization_item_request_builder.py index db475d38086..0ba43711736 100644 --- a/msgraph_beta/generated/agreements/item/files/item/agreement_file_localization_item_request_builder.py +++ b/msgraph_beta/generated/agreements/item/files/item/agreement_file_localization_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Agreement request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AgreementFileLocalizationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AgreementFil request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AgreementFileLocalization] = None, request_configuration: Optional[AgreementFileLocalizationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AgreementFileLocalization] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/agreements/item/files/item/versions/item/agreement_file_version_item_request_builder.py b/msgraph_beta/generated/agreements/item/files/item/versions/item/agreement_file_version_item_request_builder.py index 471455c03b6..4698898a578 100644 --- a/msgraph_beta/generated/agreements/item/files/item/versions/item/agreement_file_version_item_request_builder.py +++ b/msgraph_beta/generated/agreements/item/files/item/versions/item/agreement_file_version_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Agreement request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AgreementFileVersionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AgreementFil request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AgreementFileVersion] = None, request_configuration: Optional[AgreementFileVersionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AgreementFileVersion] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/agreements/item/files/item/versions/versions_request_builder.py b/msgraph_beta/generated/agreements/item/files/item/versions/versions_request_builder.py index 6229af0de7f..55a21617213 100644 --- a/msgraph_beta/generated/agreements/item/files/item/versions/versions_request_builder.py +++ b/msgraph_beta/generated/agreements/item/files/item/versions/versions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[VersionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AgreementFileVersion] = None, request_configuration: Optional[VersionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AgreementFileVersion] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/allowed_data_locations/allowed_data_locations_request_builder.py b/msgraph_beta/generated/allowed_data_locations/allowed_data_locations_request_builder.py index 20880889bf2..0d7b08c5341 100644 --- a/msgraph_beta/generated/allowed_data_locations/allowed_data_locations_request_builder.py +++ b/msgraph_beta/generated/allowed_data_locations/allowed_data_locations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AllowedDataL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AllowedDataLocation] = None, request_configuration: Optional[AllowedDataLocationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AllowedDataLocation] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/allowed_data_locations/item/allowed_data_location_item_request_builder.py b/msgraph_beta/generated/allowed_data_locations/item/allowed_data_location_item_request_builder.py index caaafe8fb3b..02f3641112f 100644 --- a/msgraph_beta/generated/allowed_data_locations/item/allowed_data_location_item_request_builder.py +++ b/msgraph_beta/generated/allowed_data_locations/item/allowed_data_location_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AllowedDa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AllowedDataLocationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AllowedDataL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AllowedDataLocation] = None, request_configuration: Optional[AllowedDataLocationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AllowedDataLocation] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app/app_request_builder.py b/msgraph_beta/generated/app/app_request_builder.py index 1e7d7b1b0b9..3fdbf6f920e 100644 --- a/msgraph_beta/generated/app/app_request_builder.py +++ b/msgraph_beta/generated/app/app_request_builder.py @@ -87,7 +87,7 @@ def to_get_request_information(self,request_configuration: Optional[AppRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CommsApplication] = None, request_configuration: Optional[AppRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -106,7 +106,7 @@ def to_patch_request_information(self,body: Optional[CommsApplication] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app/calls/calls_request_builder.py b/msgraph_beta/generated/app/calls/calls_request_builder.py index f704b6e23ed..ffe7788d7e4 100644 --- a/msgraph_beta/generated/app/calls/calls_request_builder.py +++ b/msgraph_beta/generated/app/calls/calls_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[CallsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Call] = None, request_configuration: Optional[CallsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Call] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app/calls/item/add_large_gallery_view/add_large_gallery_view_request_builder.py b/msgraph_beta/generated/app/calls/item/add_large_gallery_view/add_large_gallery_view_request_builder.py index 2946022d4f9..96700ee9d6f 100644 --- a/msgraph_beta/generated/app/calls/item/add_large_gallery_view/add_large_gallery_view_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/add_large_gallery_view/add_large_gallery_view_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddLargeGalleryViewPostRequestBody] = None, request_configuration: Optional[AddLargeGalleryViewRequestBuilderPostRequestConfiguration] = None) -> Optional[AddLargeGalleryViewOperation]: """ - Add the large gallery view to a call. For details about how to identify a large gallery view participant in a roster so that you can retrieve the relevant data to subscribe to the video feed, see Identify large gallery view participants in a roster. This API is available in the following national cloud deployments. + Add the large gallery view to a call. For details about how to identify a large gallery view participant in a roster so that you can retrieve the relevant data to subscribe to the video feed, see Identify large gallery view participants in a roster. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AddLargeGalleryViewOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddLargeGalleryViewPostRequestBody] = None, r def to_post_request_information(self,body: Optional[AddLargeGalleryViewPostRequestBody] = None, request_configuration: Optional[AddLargeGalleryViewRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add the large gallery view to a call. For details about how to identify a large gallery view participant in a roster so that you can retrieve the relevant data to subscribe to the video feed, see Identify large gallery view participants in a roster. This API is available in the following national cloud deployments. + Add the large gallery view to a call. For details about how to identify a large gallery view participant in a roster so that you can retrieve the relevant data to subscribe to the video feed, see Identify large gallery view participants in a roster. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddLargeGalleryViewPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app/calls/item/answer/answer_request_builder.py b/msgraph_beta/generated/app/calls/item/answer/answer_request_builder.py index 127a37673ed..5efd2c07e38 100644 --- a/msgraph_beta/generated/app/calls/item/answer/answer_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/answer/answer_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AnswerPostRequestBody] = None, request_configuration: Optional[AnswerRequestBuilderPostRequestConfiguration] = None) -> None: """ - Enable a bot to answer an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification contains the chatInfo and meetingInfo parameters. The bot is expected to answer, reject or redirect the call before the call times out. The current timeout value is 15 seconds. The current timeout value is 15 seconds for regular scenarios, and 5 seconds for policy-based recording scenarios. This API is available in the following national cloud deployments. + Enable a bot to answer an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification contains the chatInfo and meetingInfo parameters. The bot is expected to answer, reject or redirect the call before the call times out. The current timeout value is 15 seconds. The current timeout value is 15 seconds for regular scenarios, and 5 seconds for policy-based recording scenarios. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AnswerPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AnswerPostRequestBody] = None, request_configuration: Optional[AnswerRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Enable a bot to answer an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification contains the chatInfo and meetingInfo parameters. The bot is expected to answer, reject or redirect the call before the call times out. The current timeout value is 15 seconds. The current timeout value is 15 seconds for regular scenarios, and 5 seconds for policy-based recording scenarios. This API is available in the following national cloud deployments. + Enable a bot to answer an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification contains the chatInfo and meetingInfo parameters. The bot is expected to answer, reject or redirect the call before the call times out. The current timeout value is 15 seconds. The current timeout value is 15 seconds for regular scenarios, and 5 seconds for policy-based recording scenarios. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AnswerPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app/calls/item/audio_routing_groups/audio_routing_groups_request_builder.py b/msgraph_beta/generated/app/calls/item/audio_routing_groups/audio_routing_groups_request_builder.py index 80b2d00c5f0..235449c42eb 100644 --- a/msgraph_beta/generated/app/calls/item/audio_routing_groups/audio_routing_groups_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/audio_routing_groups/audio_routing_groups_request_builder.py @@ -45,7 +45,7 @@ def by_audio_routing_group_id(self,audio_routing_group_id: str) -> AudioRoutingG async def get(self,request_configuration: Optional[AudioRoutingGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[AudioRoutingGroupCollectionResponse]: """ - Retrieve a list of audioRoutingGroup objects. This API is available in the following national cloud deployments. + Retrieve a list of audioRoutingGroup objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AudioRoutingGroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/call-list-audioroutinggroups?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AudioRoutingGroupsRequestBuil async def post(self,body: Optional[AudioRoutingGroup] = None, request_configuration: Optional[AudioRoutingGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[AudioRoutingGroup]: """ - Create a new audioRoutingGroup. This API is available in the following national cloud deployments. + Create a new audioRoutingGroup. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AudioRoutingGroup] @@ -92,7 +92,7 @@ async def post(self,body: Optional[AudioRoutingGroup] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[AudioRoutingGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of audioRoutingGroup objects. This API is available in the following national cloud deployments. + Retrieve a list of audioRoutingGroup objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[AudioRouting request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AudioRoutingGroup] = None, request_configuration: Optional[AudioRoutingGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new audioRoutingGroup. This API is available in the following national cloud deployments. + Create a new audioRoutingGroup. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[AudioRoutingGroup] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AudioRoutingGroupsRequestBuilderGetQueryParameters(): """ - Retrieve a list of audioRoutingGroup objects. This API is available in the following national cloud deployments. + Retrieve a list of audioRoutingGroup objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/app/calls/item/audio_routing_groups/item/audio_routing_group_item_request_builder.py b/msgraph_beta/generated/app/calls/item/audio_routing_groups/item/audio_routing_group_item_request_builder.py index c8c070c5648..fde472c499e 100644 --- a/msgraph_beta/generated/app/calls/item/audio_routing_groups/item/audio_routing_group_item_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/audio_routing_groups/item/audio_routing_group_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AudioRoutingGroupItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete the specified audioRoutingGroup. This API is available in the following national cloud deployments. + Delete the specified audioRoutingGroup. 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/audioroutinggroup-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AudioRoutingGroupItemReque async def get(self,request_configuration: Optional[AudioRoutingGroupItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AudioRoutingGroup]: """ - Retrieve the properties and relationships of an audioRoutingGroup object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an audioRoutingGroup object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AudioRoutingGroup] Find more info here: https://learn.microsoft.com/graph/api/audioroutinggroup-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AudioRoutingGroupItemRequestB async def patch(self,body: Optional[AudioRoutingGroup] = None, request_configuration: Optional[AudioRoutingGroupItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[AudioRoutingGroup]: """ - Modify sources and receivers of an audioRoutingGroup. This API is available in the following national cloud deployments. + Modify sources and receivers of an audioRoutingGroup. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AudioRoutingGroup] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[AudioRoutingGroup] = None, request_configura def to_delete_request_information(self,request_configuration: Optional[AudioRoutingGroupItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete the specified audioRoutingGroup. This API is available in the following national cloud deployments. + Delete the specified audioRoutingGroup. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[AudioRout request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AudioRoutingGroupItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an audioRoutingGroup object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an audioRoutingGroup object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[AudioRouting request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AudioRoutingGroup] = None, request_configuration: Optional[AudioRoutingGroupItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Modify sources and receivers of an audioRoutingGroup. This API is available in the following national cloud deployments. + Modify sources and receivers of an audioRoutingGroup. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[AudioRoutingGroup] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class AudioRoutingGroupItemRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class AudioRoutingGroupItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an audioRoutingGroup object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an audioRoutingGroup object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/app/calls/item/call_item_request_builder.py b/msgraph_beta/generated/app/calls/item/call_item_request_builder.py index f84c9affc42..5a5d7f649f8 100644 --- a/msgraph_beta/generated/app/calls/item/call_item_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/call_item_request_builder.py @@ -27,6 +27,7 @@ from .record_response.record_response_request_builder import RecordResponseRequestBuilder from .redirect.redirect_request_builder import RedirectRequestBuilder from .reject.reject_request_builder import RejectRequestBuilder + from .send_dtmf_tones.send_dtmf_tones_request_builder import SendDtmfTonesRequestBuilder from .subscribe_to_tone.subscribe_to_tone_request_builder import SubscribeToToneRequestBuilder from .transfer.transfer_request_builder import TransferRequestBuilder from .unmute.unmute_request_builder import UnmuteRequestBuilder @@ -122,7 +123,7 @@ def to_delete_request_information(self,request_configuration: Optional[CallItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CallItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +140,7 @@ def to_get_request_information(self,request_configuration: Optional[CallItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Call] = None, request_configuration: Optional[CallItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -158,7 +159,7 @@ def to_patch_request_information(self,body: Optional[Call] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -307,6 +308,15 @@ def reject(self) -> RejectRequestBuilder: return RejectRequestBuilder(self.request_adapter, self.path_parameters) + @property + def send_dtmf_tones(self) -> SendDtmfTonesRequestBuilder: + """ + Provides operations to call the sendDtmfTones method. + """ + from .send_dtmf_tones.send_dtmf_tones_request_builder import SendDtmfTonesRequestBuilder + + return SendDtmfTonesRequestBuilder(self.request_adapter, self.path_parameters) + @property def subscribe_to_tone(self) -> SubscribeToToneRequestBuilder: """ diff --git a/msgraph_beta/generated/app/calls/item/cancel_media_processing/cancel_media_processing_request_builder.py b/msgraph_beta/generated/app/calls/item/cancel_media_processing/cancel_media_processing_request_builder.py index 984d7a8aed7..1f4ca27ddaf 100644 --- a/msgraph_beta/generated/app/calls/item/cancel_media_processing/cancel_media_processing_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/cancel_media_processing/cancel_media_processing_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelMediaProcessingPostRequestBody] = None, request_configuration: Optional[CancelMediaProcessingRequestBuilderPostRequestConfiguration] = None) -> Optional[CancelMediaProcessingOperation]: """ - Cancels processing for any in-progress media operations. Media operations refer to the IVR operations playPrompt and recordResponse, which are by default queued to process in order. The cancelMediaProcessing method cancels any operation that is in-process as well as operations that are queued. For example, this API can be used to clean up the IVR operation queue for a new media operation. However, it will not cancel a ubscribeToTone operation because it operates independent of any operation queue. This API is available in the following national cloud deployments. + Cancels processing for any in-progress media operations. Media operations refer to the IVR operations playPrompt and recordResponse, which are by default queued to process in order. The cancelMediaProcessing method cancels any operation that is in-process as well as operations that are queued. For example, this API can be used to clean up the IVR operation queue for a new media operation. However, it will not cancel a ubscribeToTone operation because it operates independent of any operation queue. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CancelMediaProcessingOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CancelMediaProcessingPostRequestBody] = None, def to_post_request_information(self,body: Optional[CancelMediaProcessingPostRequestBody] = None, request_configuration: Optional[CancelMediaProcessingRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Cancels processing for any in-progress media operations. Media operations refer to the IVR operations playPrompt and recordResponse, which are by default queued to process in order. The cancelMediaProcessing method cancels any operation that is in-process as well as operations that are queued. For example, this API can be used to clean up the IVR operation queue for a new media operation. However, it will not cancel a ubscribeToTone operation because it operates independent of any operation queue. This API is available in the following national cloud deployments. + Cancels processing for any in-progress media operations. Media operations refer to the IVR operations playPrompt and recordResponse, which are by default queued to process in order. The cancelMediaProcessing method cancels any operation that is in-process as well as operations that are queued. For example, this API can be used to clean up the IVR operation queue for a new media operation. However, it will not cancel a ubscribeToTone operation because it operates independent of any operation queue. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CancelMediaProcessingPostReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app/calls/item/change_screen_sharing_role/change_screen_sharing_role_request_builder.py b/msgraph_beta/generated/app/calls/item/change_screen_sharing_role/change_screen_sharing_role_request_builder.py index 47c806aef47..fcba852a5ea 100644 --- a/msgraph_beta/generated/app/calls/item/change_screen_sharing_role/change_screen_sharing_role_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/change_screen_sharing_role/change_screen_sharing_role_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ChangeScreenSharingRolePostRequestBody] = None, request_configuration: Optional[ChangeScreenSharingRoleRequestBuilderPostRequestConfiguration] = None) -> None: """ - Allow applications to share screen content with the participants of a group call. This API is available in the following national cloud deployments. + Allow applications to share screen content with the participants of a group call. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ChangeScreenSharingRolePostRequestBody] = Non def to_post_request_information(self,body: Optional[ChangeScreenSharingRolePostRequestBody] = None, request_configuration: Optional[ChangeScreenSharingRoleRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Allow applications to share screen content with the participants of a group call. This API is available in the following national cloud deployments. + Allow applications to share screen content with the participants of a group call. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ChangeScreenSharingRolePostR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app/calls/item/content_sharing_sessions/content_sharing_sessions_request_builder.py b/msgraph_beta/generated/app/calls/item/content_sharing_sessions/content_sharing_sessions_request_builder.py index 09e857d829d..2534eb17d2e 100644 --- a/msgraph_beta/generated/app/calls/item/content_sharing_sessions/content_sharing_sessions_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/content_sharing_sessions/content_sharing_sessions_request_builder.py @@ -45,7 +45,7 @@ def by_content_sharing_session_id(self,content_sharing_session_id: str) -> Conte async def get(self,request_configuration: Optional[ContentSharingSessionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ContentSharingSessionCollectionResponse]: """ - Retrieve a list of contentSharingSession objects in a call. This API is available in the following national cloud deployments. + Retrieve a list of contentSharingSession objects in a call. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentSharingSessionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/call-list-contentsharingsessions?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ContentSharingSession] = None, request_config def to_get_request_information(self,request_configuration: Optional[ContentSharingSessionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of contentSharingSession objects in a call. This API is available in the following national cloud deployments. + Retrieve a list of contentSharingSession objects in a call. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentShari request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ContentSharingSession] = None, request_configuration: Optional[ContentSharingSessionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ContentSharingSession] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ContentSharingSessionsRequestBuilderGetQueryParameters(): """ - Retrieve a list of contentSharingSession objects in a call. This API is available in the following national cloud deployments. + Retrieve a list of contentSharingSession objects in a call. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/app/calls/item/content_sharing_sessions/item/content_sharing_session_item_request_builder.py b/msgraph_beta/generated/app/calls/item/content_sharing_sessions/item/content_sharing_session_item_request_builder.py index 175c6350ce2..d2aa02f80c2 100644 --- a/msgraph_beta/generated/app/calls/item/content_sharing_sessions/item/content_sharing_session_item_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/content_sharing_sessions/item/content_sharing_session_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ContentSharingSessionItemR async def get(self,request_configuration: Optional[ContentSharingSessionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ContentSharingSession]: """ - Retrieve the properties of a contentSharingSession object. This API is available in the following national cloud deployments. + Retrieve the properties of a contentSharingSession object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentSharingSession] Find more info here: https://learn.microsoft.com/graph/api/contentsharingsession-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[ContentSh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ContentSharingSessionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of a contentSharingSession object. This API is available in the following national cloud deployments. + Retrieve the properties of a contentSharingSession object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentShari request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ContentSharingSession] = None, request_configuration: Optional[ContentSharingSessionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ContentSharingSession] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ContentSharingSessionItemRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class ContentSharingSessionItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties of a contentSharingSession object. This API is available in the following national cloud deployments. + Retrieve the properties of a contentSharingSession object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/app/calls/item/keep_alive/keep_alive_request_builder.py b/msgraph_beta/generated/app/calls/item/keep_alive/keep_alive_request_builder.py index 9cf969e77a5..7de1a7933a5 100644 --- a/msgraph_beta/generated/app/calls/item/keep_alive/keep_alive_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/keep_alive/keep_alive_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[KeepAliveRequestBuilderPostRequestConfiguration] = None) -> None: """ - Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that does not receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. This API is available in the following national cloud deployments. + Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that does not receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. 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/call-keepalive?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[KeepAliveRequestBuilderPostR def to_post_request_information(self,request_configuration: Optional[KeepAliveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that does not receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. This API is available in the following national cloud deployments. + Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that does not receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[KeepAliveRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> KeepAliveRequestBuilder: diff --git a/msgraph_beta/generated/app/calls/item/mute/mute_request_builder.py b/msgraph_beta/generated/app/calls/item/mute/mute_request_builder.py index 2ffd9be866c..f7dbf822107 100644 --- a/msgraph_beta/generated/app/calls/item/mute/mute_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/mute/mute_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[MutePostRequestBody] = None, request_configuration: Optional[MuteRequestBuilderPostRequestConfiguration] = None) -> Optional[MuteParticipantOperation]: """ - Allows the application to mute itself. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more details about how to handle mute operations, see muteParticipantOperation This API is available in the following national cloud deployments. + Allows the application to mute itself. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more details about how to handle mute operations, see muteParticipantOperation param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MuteParticipantOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[MutePostRequestBody] = None, request_configur def to_post_request_information(self,body: Optional[MutePostRequestBody] = None, request_configuration: Optional[MuteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Allows the application to mute itself. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more details about how to handle mute operations, see muteParticipantOperation This API is available in the following national cloud deployments. + Allows the application to mute itself. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more details about how to handle mute operations, see muteParticipantOperation param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[MutePostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app/calls/item/operations/item/comms_operation_item_request_builder.py b/msgraph_beta/generated/app/calls/item/operations/item/comms_operation_item_request_builder.py index 20e615b74e5..5c1be05e9a3 100644 --- a/msgraph_beta/generated/app/calls/item/operations/item/comms_operation_item_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/operations/item/comms_operation_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[CommsOperationItemRequestB async def get(self,request_configuration: Optional[CommsOperationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CommsOperation]: """ - Get the status of an operation that adds the large gallery view to a call. This API is available in the following national cloud deployments. + Get the status of an operation that adds the large gallery view to a call. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CommsOperation] Find more info here: https://learn.microsoft.com/graph/api/addlargegalleryviewoperation-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[CommsOper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CommsOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the status of an operation that adds the large gallery view to a call. This API is available in the following national cloud deployments. + Get the status of an operation that adds the large gallery view to a call. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CommsOperati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CommsOperation] = None, request_configuration: Optional[CommsOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[CommsOperation] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class CommsOperationItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class CommsOperationItemRequestBuilderGetQueryParameters(): """ - Get the status of an operation that adds the large gallery view to a call. This API is available in the following national cloud deployments. + Get the status of an operation that adds the large gallery view to a call. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/app/calls/item/operations/operations_request_builder.py b/msgraph_beta/generated/app/calls/item/operations/operations_request_builder.py index a8948622ca3..b9c0cee1dd0 100644 --- a/msgraph_beta/generated/app/calls/item/operations/operations_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/operations/operations_request_builder.py @@ -45,7 +45,7 @@ def by_comms_operation_id(self,comms_operation_id: str) -> CommsOperationItemReq async def get(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> Optional[CommsOperationCollectionResponse]: """ - Get the status of an operation that adds the large gallery view to a call. This API is available in the following national cloud deployments. + Get the status of an operation that adds the large gallery view to a call. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CommsOperationCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[CommsOperation] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the status of an operation that adds the large gallery view to a call. This API is available in the following national cloud deployments. + Get the status of an operation that adds the large gallery view to a call. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CommsOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[CommsOperation] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OperationsRequestBuilderGetQueryParameters(): """ - Get the status of an operation that adds the large gallery view to a call. This API is available in the following national cloud deployments. + Get the status of an operation that adds the large gallery view to a call. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/app/calls/item/participants/invite/invite_request_builder.py b/msgraph_beta/generated/app/calls/item/participants/invite/invite_request_builder.py index 79df951f9b8..ffd4c66ee24 100644 --- a/msgraph_beta/generated/app/calls/item/participants/invite/invite_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/participants/invite/invite_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[InvitePostRequestBody] = None, request_configuration: Optional[InviteRequestBuilderPostRequestConfiguration] = None) -> Optional[InviteParticipantsOperation]: """ - Invite participants to the active call. For more information about how to handle operations, see commsOperation. This API is available in the following national cloud deployments. + Invite participants to the active call. For more information about how to handle operations, see commsOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InviteParticipantsOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[InvitePostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[InvitePostRequestBody] = None, request_configuration: Optional[InviteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Invite participants to the active call. For more information about how to handle operations, see commsOperation. This API is available in the following national cloud deployments. + Invite participants to the active call. For more information about how to handle operations, see commsOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[InvitePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app/calls/item/participants/item/mute/mute_request_builder.py b/msgraph_beta/generated/app/calls/item/participants/item/mute/mute_request_builder.py index 4f355ca3d23..a69a710db56 100644 --- a/msgraph_beta/generated/app/calls/item/participants/item/mute/mute_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/participants/item/mute/mute_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[MutePostRequestBody] = None, request_configuration: Optional[MuteRequestBuilderPostRequestConfiguration] = None) -> Optional[MuteParticipantOperation]: """ - Mute a specific participant in the call. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more information about how to handle mute operations, see muteParticipantOperation. This API is available in the following national cloud deployments. + Mute a specific participant in the call. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more information about how to handle mute operations, see muteParticipantOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MuteParticipantOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[MutePostRequestBody] = None, request_configur def to_post_request_information(self,body: Optional[MutePostRequestBody] = None, request_configuration: Optional[MuteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Mute a specific participant in the call. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more information about how to handle mute operations, see muteParticipantOperation. This API is available in the following national cloud deployments. + Mute a specific participant in the call. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more information about how to handle mute operations, see muteParticipantOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[MutePostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app/calls/item/participants/item/participant_item_request_builder.py b/msgraph_beta/generated/app/calls/item/participants/item/participant_item_request_builder.py index 4b3f7d5d847..c5916377664 100644 --- a/msgraph_beta/generated/app/calls/item/participants/item/participant_item_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/participants/item/participant_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ParticipantItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. This API is available in the following national cloud deployments. + Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. 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/participant-delete?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[ParticipantItemRequestBuil async def get(self,request_configuration: Optional[ParticipantItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Participant]: """ - Retrieve the properties and relationships of a participant object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a participant object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Participant] Find more info here: https://learn.microsoft.com/graph/api/participant-get?view=graph-rest-1.0 @@ -97,7 +97,7 @@ async def patch(self,body: Optional[Participant] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[ParticipantItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. This API is available in the following national cloud deployments. + Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[Participa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ParticipantItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a participant object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a participant object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[ParticipantI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Participant] = None, request_configuration: Optional[ParticipantItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[Participant] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -198,7 +198,7 @@ class ParticipantItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class ParticipantItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a participant object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a participant object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/app/calls/item/participants/item/start_hold_music/start_hold_music_request_builder.py b/msgraph_beta/generated/app/calls/item/participants/item/start_hold_music/start_hold_music_request_builder.py index 865a4f15803..457a516d6ce 100644 --- a/msgraph_beta/generated/app/calls/item/participants/item/start_hold_music/start_hold_music_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/participants/item/start_hold_music/start_hold_music_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[StartHoldMusicPostRequestBody] = None, request_configuration: Optional[StartHoldMusicRequestBuilderPostRequestConfiguration] = None) -> Optional[StartHoldMusicOperation]: """ - Put a participant on hold and play music in the background. This API is available in the following national cloud deployments. + Put a participant on hold and play music in the background. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StartHoldMusicOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[StartHoldMusicPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[StartHoldMusicPostRequestBody] = None, request_configuration: Optional[StartHoldMusicRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Put a participant on hold and play music in the background. This API is available in the following national cloud deployments. + Put a participant on hold and play music in the background. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[StartHoldMusicPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app/calls/item/participants/item/stop_hold_music/stop_hold_music_request_builder.py b/msgraph_beta/generated/app/calls/item/participants/item/stop_hold_music/stop_hold_music_request_builder.py index 362c6236f8a..c25c863b893 100644 --- a/msgraph_beta/generated/app/calls/item/participants/item/stop_hold_music/stop_hold_music_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/participants/item/stop_hold_music/stop_hold_music_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[StopHoldMusicPostRequestBody] = None, request_configuration: Optional[StopHoldMusicRequestBuilderPostRequestConfiguration] = None) -> Optional[StopHoldMusicOperation]: """ - Reincorporate a participant previously put on hold to the call. This API is available in the following national cloud deployments. + Reincorporate a participant previously put on hold to the call. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StopHoldMusicOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[StopHoldMusicPostRequestBody] = None, request def to_post_request_information(self,body: Optional[StopHoldMusicPostRequestBody] = None, request_configuration: Optional[StopHoldMusicRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reincorporate a participant previously put on hold to the call. This API is available in the following national cloud deployments. + Reincorporate a participant previously put on hold to the call. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[StopHoldMusicPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app/calls/item/participants/mute_all/mute_all_request_builder.py b/msgraph_beta/generated/app/calls/item/participants/mute_all/mute_all_request_builder.py index 6189976bc39..7fbd8de886b 100644 --- a/msgraph_beta/generated/app/calls/item/participants/mute_all/mute_all_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/participants/mute_all/mute_all_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[MuteAllPostRequestBody] = None, request_configuration: Optional[MuteAllRequestBuilderPostRequestConfiguration] = None) -> Optional[MuteParticipantsOperation]: """ - Mute all participants in the call. This API is available in the following national cloud deployments. + Mute all participants in the call. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MuteParticipantsOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[MuteAllPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[MuteAllPostRequestBody] = None, request_configuration: Optional[MuteAllRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Mute all participants in the call. This API is available in the following national cloud deployments. + Mute all participants in the call. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[MuteAllPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app/calls/item/participants/participants_request_builder.py b/msgraph_beta/generated/app/calls/item/participants/participants_request_builder.py index d71299812f0..beaaafb3e7e 100644 --- a/msgraph_beta/generated/app/calls/item/participants/participants_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/participants/participants_request_builder.py @@ -47,7 +47,7 @@ def by_participant_id(self,participant_id: str) -> ParticipantItemRequestBuilder async def get(self,request_configuration: Optional[ParticipantsRequestBuilderGetRequestConfiguration] = None) -> Optional[ParticipantCollectionResponse]: """ - Retrieve a list of participant objects in the call. This API is available in the following national cloud deployments. + Retrieve a list of participant objects in the call. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ParticipantCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/call-list-participants?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def post(self,body: Optional[Participant] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[ParticipantsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of participant objects in the call. This API is available in the following national cloud deployments. + Retrieve a list of participant objects in the call. 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[Participants request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Participant] = None, request_configuration: Optional[ParticipantsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Participant] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ def mute_all(self) -> MuteAllRequestBuilder: @dataclass class ParticipantsRequestBuilderGetQueryParameters(): """ - Retrieve a list of participant objects in the call. This API is available in the following national cloud deployments. + Retrieve a list of participant objects in the call. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/app/calls/item/play_prompt/play_prompt_request_builder.py b/msgraph_beta/generated/app/calls/item/play_prompt/play_prompt_request_builder.py index bb523f7f484..ec3fa609686 100644 --- a/msgraph_beta/generated/app/calls/item/play_prompt/play_prompt_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/play_prompt/play_prompt_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[PlayPromptPostRequestBody] = None, request_configuration: Optional[PlayPromptRequestBuilderPostRequestConfiguration] = None) -> Optional[PlayPromptOperation]: """ - Play a prompt in the call. For more information about how to handle operations, see commsOperation This API is available in the following national cloud deployments. + Play a prompt in the call. For more information about how to handle operations, see commsOperation param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlayPromptOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[PlayPromptPostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[PlayPromptPostRequestBody] = None, request_configuration: Optional[PlayPromptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Play a prompt in the call. For more information about how to handle operations, see commsOperation This API is available in the following national cloud deployments. + Play a prompt in the call. For more information about how to handle operations, see commsOperation param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[PlayPromptPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app/calls/item/record/record_request_builder.py b/msgraph_beta/generated/app/calls/item/record/record_request_builder.py index 14734d713fd..a743dd2cb7d 100644 --- a/msgraph_beta/generated/app/calls/item/record/record_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/record/record_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[RecordPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app/calls/item/record_response/record_response_request_builder.py b/msgraph_beta/generated/app/calls/item/record_response/record_response_request_builder.py index 61d7b6af9cb..294bd4f07ef 100644 --- a/msgraph_beta/generated/app/calls/item/record_response/record_response_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/record_response/record_response_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RecordResponsePostRequestBody] = None, request_configuration: Optional[RecordResponseRequestBuilderPostRequestConfiguration] = None) -> Optional[RecordOperation]: """ - Record a short audio response from the caller. A bot can use this to capture a voice response from a caller after they are prompted for a response. For more information about how to handle operations, see commsOperation This action isn't intended to record the entire call. The maximum length of recording is 2 minutes. The recording isn't saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification. This API is available in the following national cloud deployments. + Record a short audio response from the caller. A bot can use this to capture a voice response from a caller after they are prompted for a response. For more information about how to handle operations, see commsOperation This action isn't intended to record the entire call. The maximum length of recording is 2 minutes. The recording isn't saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RecordOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[RecordResponsePostRequestBody] = None, reques def to_post_request_information(self,body: Optional[RecordResponsePostRequestBody] = None, request_configuration: Optional[RecordResponseRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Record a short audio response from the caller. A bot can use this to capture a voice response from a caller after they are prompted for a response. For more information about how to handle operations, see commsOperation This action isn't intended to record the entire call. The maximum length of recording is 2 minutes. The recording isn't saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification. This API is available in the following national cloud deployments. + Record a short audio response from the caller. A bot can use this to capture a voice response from a caller after they are prompted for a response. For more information about how to handle operations, see commsOperation This action isn't intended to record the entire call. The maximum length of recording is 2 minutes. The recording isn't saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[RecordResponsePostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app/calls/item/redirect/redirect_request_builder.py b/msgraph_beta/generated/app/calls/item/redirect/redirect_request_builder.py index fb960646c65..8d3d3969c85 100644 --- a/msgraph_beta/generated/app/calls/item/redirect/redirect_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/redirect/redirect_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RedirectPostRequestBody] = None, request_configuration: Optional[RedirectRequestBuilderPostRequestConfiguration] = None) -> None: """ - Redirect an incoming call that hasn't been answered or rejected yet. The terms 'redirecting' and 'forwarding' a call are used interchangeably. The bot is expected to redirect the call before the call times out. The current timeout value is 15 seconds. This API is available in the following national cloud deployments. + Redirect an incoming call that hasn't been answered or rejected yet. The terms 'redirecting' and 'forwarding' a call are used interchangeably. The bot is expected to redirect the call before the call times out. The current timeout value is 15 seconds. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RedirectPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[RedirectPostRequestBody] = None, request_configuration: Optional[RedirectRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Redirect an incoming call that hasn't been answered or rejected yet. The terms 'redirecting' and 'forwarding' a call are used interchangeably. The bot is expected to redirect the call before the call times out. The current timeout value is 15 seconds. This API is available in the following national cloud deployments. + Redirect an incoming call that hasn't been answered or rejected yet. The terms 'redirecting' and 'forwarding' a call are used interchangeably. The bot is expected to redirect the call before the call times out. The current timeout value is 15 seconds. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RedirectPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app/calls/item/reject/reject_request_builder.py b/msgraph_beta/generated/app/calls/item/reject/reject_request_builder.py index 1165d3d5fce..d37d4818c24 100644 --- a/msgraph_beta/generated/app/calls/item/reject/reject_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/reject/reject_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RejectPostRequestBody] = None, request_configuration: Optional[RejectRequestBuilderPostRequestConfiguration] = None) -> None: """ - Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call. This API is available in the following national cloud deployments. + Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RejectPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[RejectPostRequestBody] = None, request_configuration: Optional[RejectRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call. This API is available in the following national cloud deployments. + Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RejectPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app/calls/item/send_dtmf_tones/send_dtmf_tones_post_request_body.py b/msgraph_beta/generated/app/calls/item/send_dtmf_tones/send_dtmf_tones_post_request_body.py new file mode 100644 index 00000000000..2f60dc63ddd --- /dev/null +++ b/msgraph_beta/generated/app/calls/item/send_dtmf_tones/send_dtmf_tones_post_request_body.py @@ -0,0 +1,64 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.tone import Tone + +@dataclass +class SendDtmfTonesPostRequestBody(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 clientContext property + client_context: Optional[str] = None + # The delayBetweenTonesMs property + delay_between_tones_ms: Optional[int] = None + # The tones property + tones: Optional[List[Tone]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> SendDtmfTonesPostRequestBody: + """ + 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: SendDtmfTonesPostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return SendDtmfTonesPostRequestBody() + + 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.tone import Tone + + from .....models.tone import Tone + + fields: Dict[str, Callable[[Any], None]] = { + "clientContext": lambda n : setattr(self, 'client_context', n.get_str_value()), + "delayBetweenTonesMs": lambda n : setattr(self, 'delay_between_tones_ms', n.get_int_value()), + "tones": lambda n : setattr(self, 'tones', n.get_collection_of_enum_values(Tone)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("clientContext", self.client_context) + writer.write_int_value("delayBetweenTonesMs", self.delay_between_tones_ms) + writer.write_collection_of_enum_values("tones", self.tones) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/app/calls/item/send_dtmf_tones/send_dtmf_tones_request_builder.py b/msgraph_beta/generated/app/calls/item/send_dtmf_tones/send_dtmf_tones_request_builder.py new file mode 100644 index 00000000000..8287cc5f57a --- /dev/null +++ b/msgraph_beta/generated/app/calls/item/send_dtmf_tones/send_dtmf_tones_request_builder.py @@ -0,0 +1,94 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.send_dtmf_tones_operation import SendDtmfTonesOperation + from .send_dtmf_tones_post_request_body import SendDtmfTonesPostRequestBody + +class SendDtmfTonesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the sendDtmfTones method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new SendDtmfTonesRequestBuilder 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}/app/calls/{call%2Did}/sendDtmfTones", path_parameters) + + async def post(self,body: Optional[SendDtmfTonesPostRequestBody] = None, request_configuration: Optional[SendDtmfTonesRequestBuilderPostRequestConfiguration] = None) -> Optional[SendDtmfTonesOperation]: + """ + Invoke action sendDtmfTones + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[SendDtmfTonesOperation] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.send_dtmf_tones_operation import SendDtmfTonesOperation + + return await self.request_adapter.send_async(request_info, SendDtmfTonesOperation, error_mapping) + + def to_post_request_information(self,body: Optional[SendDtmfTonesPostRequestBody] = None, request_configuration: Optional[SendDtmfTonesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action sendDtmfTones + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> SendDtmfTonesRequestBuilder: + """ + 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: SendDtmfTonesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return SendDtmfTonesRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class SendDtmfTonesRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/app/calls/item/subscribe_to_tone/subscribe_to_tone_request_builder.py b/msgraph_beta/generated/app/calls/item/subscribe_to_tone/subscribe_to_tone_request_builder.py index aa0baa773d9..ec331cdd944 100644 --- a/msgraph_beta/generated/app/calls/item/subscribe_to_tone/subscribe_to_tone_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/subscribe_to_tone/subscribe_to_tone_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SubscribeToTonePostRequestBody] = None, request_configuration: Optional[SubscribeToToneRequestBuilderPostRequestConfiguration] = None) -> Optional[SubscribeToToneOperation]: """ - Subscribe to DTMF (dual-tone multi-frequency signaling) to allow you to be notified when the user presses keys on a 'Dialpad'. This API is available in the following national cloud deployments. + Subscribe to DTMF (dual-tone multi-frequency signaling) to allow you to be notified when the user presses keys on a 'Dialpad'. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SubscribeToToneOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[SubscribeToTonePostRequestBody] = None, reque def to_post_request_information(self,body: Optional[SubscribeToTonePostRequestBody] = None, request_configuration: Optional[SubscribeToToneRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Subscribe to DTMF (dual-tone multi-frequency signaling) to allow you to be notified when the user presses keys on a 'Dialpad'. This API is available in the following national cloud deployments. + Subscribe to DTMF (dual-tone multi-frequency signaling) to allow you to be notified when the user presses keys on a 'Dialpad'. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[SubscribeToTonePostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app/calls/item/transfer/transfer_request_builder.py b/msgraph_beta/generated/app/calls/item/transfer/transfer_request_builder.py index 9d4ae149d73..98f378b3095 100644 --- a/msgraph_beta/generated/app/calls/item/transfer/transfer_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/transfer/transfer_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TransferPostRequestBody] = None, request_configuration: Optional[TransferRequestBuilderPostRequestConfiguration] = None) -> None: """ - Transfer an active peer-to-peer call or group call. A consultative transfer means that the transferor can inform the person they want to transfer the call to (the transferee), before the transfer is made. This is opposed to transfering the call directly. This API is available in the following national cloud deployments. + Transfer an active peer-to-peer call or group call. A consultative transfer means that the transferor can inform the person they want to transfer the call to (the transferee), before the transfer is made. This is opposed to transfering the call directly. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TransferPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[TransferPostRequestBody] = None, request_configuration: Optional[TransferRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Transfer an active peer-to-peer call or group call. A consultative transfer means that the transferor can inform the person they want to transfer the call to (the transferee), before the transfer is made. This is opposed to transfering the call directly. This API is available in the following national cloud deployments. + Transfer an active peer-to-peer call or group call. A consultative transfer means that the transferor can inform the person they want to transfer the call to (the transferee), before the transfer is made. This is opposed to transfering the call directly. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TransferPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app/calls/item/unmute/unmute_request_builder.py b/msgraph_beta/generated/app/calls/item/unmute/unmute_request_builder.py index 2a32a37429e..139e39af68f 100644 --- a/msgraph_beta/generated/app/calls/item/unmute/unmute_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/unmute/unmute_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UnmutePostRequestBody] = None, request_configuration: Optional[UnmuteRequestBuilderPostRequestConfiguration] = None) -> Optional[UnmuteParticipantOperation]: """ - Allow the application to unmute itself. This is a server unmute, meaning that the server will start sending audio packets for this participant to other participants again. For more information about how to handle unmute operations, see unmuteParticipantOperation. This API is available in the following national cloud deployments. + Allow the application to unmute itself. This is a server unmute, meaning that the server will start sending audio packets for this participant to other participants again. For more information about how to handle unmute operations, see unmuteParticipantOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnmuteParticipantOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[UnmutePostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[UnmutePostRequestBody] = None, request_configuration: Optional[UnmuteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Allow the application to unmute itself. This is a server unmute, meaning that the server will start sending audio packets for this participant to other participants again. For more information about how to handle unmute operations, see unmuteParticipantOperation. This API is available in the following national cloud deployments. + Allow the application to unmute itself. This is a server unmute, meaning that the server will start sending audio packets for this participant to other participants again. For more information about how to handle unmute operations, see unmuteParticipantOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[UnmutePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app/calls/item/update_recording_status/update_recording_status_request_builder.py b/msgraph_beta/generated/app/calls/item/update_recording_status/update_recording_status_request_builder.py index 10a73eb20ea..83eb6e844e6 100644 --- a/msgraph_beta/generated/app/calls/item/update_recording_status/update_recording_status_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/update_recording_status/update_recording_status_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UpdateRecordingStatusPostRequestBody] = None, request_configuration: Optional[UpdateRecordingStatusRequestBuilderPostRequestConfiguration] = None) -> Optional[UpdateRecordingStatusOperation]: """ - Update the application's recording status associated with a call. This requires the use of the Teams policy-based recording solution. This API is available in the following national cloud deployments. + Update the application's recording status associated with a call. This requires the use of the Teams policy-based recording solution. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UpdateRecordingStatusOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[UpdateRecordingStatusPostRequestBody] = None, def to_post_request_information(self,body: Optional[UpdateRecordingStatusPostRequestBody] = None, request_configuration: Optional[UpdateRecordingStatusRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Update the application's recording status associated with a call. This requires the use of the Teams policy-based recording solution. This API is available in the following national cloud deployments. + Update the application's recording status associated with a call. This requires the use of the Teams policy-based recording solution. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[UpdateRecordingStatusPostReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app/calls/log_teleconference_device_quality/log_teleconference_device_quality_request_builder.py b/msgraph_beta/generated/app/calls/log_teleconference_device_quality/log_teleconference_device_quality_request_builder.py index 0964d015283..56ab21d86dd 100644 --- a/msgraph_beta/generated/app/calls/log_teleconference_device_quality/log_teleconference_device_quality_request_builder.py +++ b/msgraph_beta/generated/app/calls/log_teleconference_device_quality/log_teleconference_device_quality_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[LogTeleconferenceDeviceQualityPostRequestBody] = None, request_configuration: Optional[LogTeleconferenceDeviceQualityRequestBuilderPostRequestConfiguration] = None) -> None: """ - Log video teleconferencing device quality data. The Cloud Video Interop (CVI) bot represents video teleconferencing (VTC) devices and acts as a back-to-back agent for a VTC device in a conference call. Because a CVI bot is in the middle of the VTC and Microsoft Teams infrastructure as a VTC proxy, it has two media legs. One media leg is between the CVI bot and Teams infrastructure, such as Teams conference server or a Teams client. The other media leg is between the CVI bot and the VTC device. The third-party partners own the VTC media leg and the Teams infrastructure cannot access the quality data of the third-party call leg. This method is only for the CVI partners to provide their media quality data. This API is available in the following national cloud deployments. + Log video teleconferencing device quality data. The Cloud Video Interop (CVI) bot represents video teleconferencing (VTC) devices and acts as a back-to-back agent for a VTC device in a conference call. Because a CVI bot is in the middle of the VTC and Microsoft Teams infrastructure as a VTC proxy, it has two media legs. One media leg is between the CVI bot and Teams infrastructure, such as Teams conference server or a Teams client. The other media leg is between the CVI bot and the VTC device. The third-party partners own the VTC media leg and the Teams infrastructure cannot access the quality data of the third-party call leg. This method is only for the CVI partners to provide their media quality data. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[LogTeleconferenceDeviceQualityPostRequestBody def to_post_request_information(self,body: Optional[LogTeleconferenceDeviceQualityPostRequestBody] = None, request_configuration: Optional[LogTeleconferenceDeviceQualityRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Log video teleconferencing device quality data. The Cloud Video Interop (CVI) bot represents video teleconferencing (VTC) devices and acts as a back-to-back agent for a VTC device in a conference call. Because a CVI bot is in the middle of the VTC and Microsoft Teams infrastructure as a VTC proxy, it has two media legs. One media leg is between the CVI bot and Teams infrastructure, such as Teams conference server or a Teams client. The other media leg is between the CVI bot and the VTC device. The third-party partners own the VTC media leg and the Teams infrastructure cannot access the quality data of the third-party call leg. This method is only for the CVI partners to provide their media quality data. This API is available in the following national cloud deployments. + Log video teleconferencing device quality data. The Cloud Video Interop (CVI) bot represents video teleconferencing (VTC) devices and acts as a back-to-back agent for a VTC device in a conference call. Because a CVI bot is in the middle of the VTC and Microsoft Teams infrastructure as a VTC proxy, it has two media legs. One media leg is between the CVI bot and Teams infrastructure, such as Teams conference server or a Teams client. The other media leg is between the CVI bot and the VTC device. The third-party partners own the VTC media leg and the Teams infrastructure cannot access the quality data of the third-party call leg. This method is only for the CVI partners to provide their media quality data. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[LogTeleconferenceDeviceQuali request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app/online_meetings/create_or_get/create_or_get_request_builder.py b/msgraph_beta/generated/app/online_meetings/create_or_get/create_or_get_request_builder.py index 5cee1404378..8b5f79a33eb 100644 --- a/msgraph_beta/generated/app/online_meetings/create_or_get/create_or_get_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/create_or_get/create_or_get_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateOrGetPostRequestBody] = None, request_configuration: Optional[CreateOrGetRequestBuilderPostRequestConfiguration] = None) -> Optional[OnlineMeeting]: """ - Create an onlineMeeting object with a custom specified external ID. If the external ID already exists, this API will return the onlineMeeting object with that external ID. This API is available in the following national cloud deployments. + Create an onlineMeeting object with a custom specified external ID. If the external ID already exists, this API will return the onlineMeeting object with that external ID. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnlineMeeting] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateOrGetPostRequestBody] = None, request_c def to_post_request_information(self,body: Optional[CreateOrGetPostRequestBody] = None, request_configuration: Optional[CreateOrGetRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an onlineMeeting object with a custom specified external ID. If the external ID already exists, this API will return the onlineMeeting object with that external ID. This API is available in the following national cloud deployments. + Create an onlineMeeting object with a custom specified external ID. If the external ID already exists, this API will return the onlineMeeting object with that external ID. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateOrGetPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app/online_meetings/get_all_recordings/get_all_recordings_request_builder.py b/msgraph_beta/generated/app/online_meetings/get_all_recordings/get_all_recordings_request_builder.py index fe0f377749e..3b6afa3eb3f 100644 --- a/msgraph_beta/generated/app/online_meetings/get_all_recordings/get_all_recordings_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/get_all_recordings/get_all_recordings_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetAllRecord request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetAllRecordingsRequestBuilder: diff --git a/msgraph_beta/generated/app/online_meetings/get_all_transcripts/get_all_transcripts_request_builder.py b/msgraph_beta/generated/app/online_meetings/get_all_transcripts/get_all_transcripts_request_builder.py index cc55db63848..19736fa4d99 100644 --- a/msgraph_beta/generated/app/online_meetings/get_all_transcripts/get_all_transcripts_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/get_all_transcripts/get_all_transcripts_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetAllTransc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetAllTranscriptsRequestBuilder: diff --git a/msgraph_beta/generated/app/online_meetings/item/alternative_recording/alternative_recording_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/alternative_recording/alternative_recording_request_builder.py index 9144f42a462..f392d3d1ed4 100644 --- a/msgraph_beta/generated/app/online_meetings/item/alternative_recording/alternative_recording_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/alternative_recording/alternative_recording_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[AlternativeR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[AlternativeRecordingRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -98,7 +98,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/app/online_meetings/item/attendance_reports/attendance_reports_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/attendance_reports/attendance_reports_request_builder.py index 8d157ca390d..8a2a7926bc7 100644 --- a/msgraph_beta/generated/app/online_meetings/item/attendance_reports/attendance_reports_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/attendance_reports/attendance_reports_request_builder.py @@ -18,7 +18,7 @@ class AttendanceReportsRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_meeting_attendance_report_id(self,meeting_attendance_report_id: str) -> MeetingAttendanceReportItemRequestBuilder: """ - Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. param meeting_attendance_report_id: The unique identifier of meetingAttendanceReport Returns: MeetingAttendanceReportItemRequestBuilder """ @@ -45,10 +45,9 @@ def by_meeting_attendance_report_id(self,meeting_attendance_report_id: str) -> M async def get(self,request_configuration: Optional[AttendanceReportsRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingAttendanceReportCollectionResponse]: """ - Get a list of meetingAttendanceReport objects for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingAttendanceReportCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/meetingattendancereport-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -91,7 +90,7 @@ async def post(self,body: Optional[MeetingAttendanceReport] = None, request_conf def to_get_request_information(self,request_configuration: Optional[AttendanceReportsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of meetingAttendanceReport objects for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AttendanceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MeetingAttendanceReport] = None, request_configuration: Optional[AttendanceReportsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +121,7 @@ def to_post_request_information(self,body: Optional[MeetingAttendanceReport] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AttendanceReportsRequestBuilderGetQueryParameters(): """ - Get a list of meetingAttendanceReport objects for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/app/online_meetings/item/attendance_reports/item/attendance_records/attendance_records_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/attendance_reports/item/attendance_records/attendance_records_request_builder.py index 160e6d744bb..7a945a626b9 100644 --- a/msgraph_beta/generated/app/online_meetings/item/attendance_reports/item/attendance_records/attendance_records_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/attendance_reports/item/attendance_records/attendance_records_request_builder.py @@ -45,7 +45,7 @@ def by_attendance_record_id(self,attendance_record_id: str) -> AttendanceRecordI async def get(self,request_configuration: Optional[AttendanceRecordsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttendanceRecordCollectionResponse]: """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of attendanceRecord objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttendanceRecordCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/attendancerecord-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AttendanceRecord] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[AttendanceRecordsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of attendanceRecord objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AttendanceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AttendanceRecord] = None, request_configuration: Optional[AttendanceRecordsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AttendanceRecord] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AttendanceRecordsRequestBuilderGetQueryParameters(): """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of attendanceRecord objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/app/online_meetings/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.py index 599a5725f2a..b4f0e6c0864 100644 --- a/msgraph_beta/generated/app/online_meetings/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Attendanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttendanceRecordItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AttendanceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AttendanceRecord] = None, request_configuration: Optional[AttendanceRecordItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AttendanceRecord] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app/online_meetings/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py index 0e7c716098f..4d3b8b2ec31 100644 --- a/msgraph_beta/generated/app/online_meetings/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py @@ -16,7 +16,7 @@ class MeetingAttendanceReportItemRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ @@ -48,10 +48,9 @@ async def delete(self,request_configuration: Optional[MeetingAttendanceReportIte async def get(self,request_configuration: Optional[MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingAttendanceReport]: """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingAttendanceReport] - Find more info here: https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -105,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[MeetingAt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[MeetingAtten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MeetingAttendanceReport] = None, request_configuration: Optional[MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +140,7 @@ def to_patch_request_information(self,body: Optional[MeetingAttendanceReport] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +176,7 @@ class MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration(BaseRe @dataclass class MeetingAttendanceReportItemRequestBuilderGetQueryParameters(): """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/app/online_meetings/item/attendee_report/attendee_report_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/attendee_report/attendee_report_request_builder.py index 8144fe56752..c416ef047db 100644 --- a/msgraph_beta/generated/app/online_meetings/item/attendee_report/attendee_report_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/attendee_report/attendee_report_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[AttendeeRepo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[AttendeeReportRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -98,7 +98,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/app/online_meetings/item/broadcast_recording/broadcast_recording_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/broadcast_recording/broadcast_recording_request_builder.py index f8e966ef1c3..0688ad7a604 100644 --- a/msgraph_beta/generated/app/online_meetings/item/broadcast_recording/broadcast_recording_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/broadcast_recording/broadcast_recording_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[BroadcastRec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[BroadcastRecordingRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -98,7 +98,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/app/online_meetings/item/get_virtual_appointment_join_web_url/get_virtual_appointment_join_web_url_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/get_virtual_appointment_join_web_url/get_virtual_appointment_join_web_url_request_builder.py index 7b6006db65b..0d725fe2b62 100644 --- a/msgraph_beta/generated/app/online_meetings/item/get_virtual_appointment_join_web_url/get_virtual_appointment_join_web_url_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/get_virtual_appointment_join_web_url/get_virtual_appointment_join_web_url_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetVirtualAp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetVirtualAppointmentJoinWebUrlRequestBuilder: diff --git a/msgraph_beta/generated/app/online_meetings/item/meeting_attendance_report/attendance_records/attendance_records_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/meeting_attendance_report/attendance_records/attendance_records_request_builder.py index a5f50092b4b..a45efb1f127 100644 --- a/msgraph_beta/generated/app/online_meetings/item/meeting_attendance_report/attendance_records/attendance_records_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/meeting_attendance_report/attendance_records/attendance_records_request_builder.py @@ -45,7 +45,7 @@ def by_attendance_record_id(self,attendance_record_id: str) -> AttendanceRecordI async def get(self,request_configuration: Optional[AttendanceRecordsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttendanceRecordCollectionResponse]: """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of attendanceRecord objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttendanceRecordCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/attendancerecord-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AttendanceRecord] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[AttendanceRecordsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of attendanceRecord objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AttendanceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AttendanceRecord] = None, request_configuration: Optional[AttendanceRecordsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AttendanceRecord] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AttendanceRecordsRequestBuilderGetQueryParameters(): """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of attendanceRecord objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/app/online_meetings/item/meeting_attendance_report/attendance_records/item/attendance_record_item_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/meeting_attendance_report/attendance_records/item/attendance_record_item_request_builder.py index dcc574c1977..02b9eab306e 100644 --- a/msgraph_beta/generated/app/online_meetings/item/meeting_attendance_report/attendance_records/item/attendance_record_item_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/meeting_attendance_report/attendance_records/item/attendance_record_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Attendanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttendanceRecordItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AttendanceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AttendanceRecord] = None, request_configuration: Optional[AttendanceRecordItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AttendanceRecord] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app/online_meetings/item/meeting_attendance_report/meeting_attendance_report_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/meeting_attendance_report/meeting_attendance_report_request_builder.py index cde2478086b..6c83debf84c 100644 --- a/msgraph_beta/generated/app/online_meetings/item/meeting_attendance_report/meeting_attendance_report_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/meeting_attendance_report/meeting_attendance_report_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[MeetingAttendanceReportReq async def get(self,request_configuration: Optional[MeetingAttendanceReportRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingAttendanceReport]: """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingAttendanceReport] Find more info here: https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[MeetingAt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MeetingAttendanceReportRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MeetingAtten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MeetingAttendanceReport] = None, request_configuration: Optional[MeetingAttendanceReportRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MeetingAttendanceReport] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class MeetingAttendanceReportRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class MeetingAttendanceReportRequestBuilderGetQueryParameters(): """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/app/online_meetings/item/online_meeting_item_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/online_meeting_item_request_builder.py index 4da6d50affe..97cc7cf661a 100644 --- a/msgraph_beta/generated/app/online_meetings/item/online_meeting_item_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/online_meeting_item_request_builder.py @@ -21,6 +21,8 @@ from .recording.recording_request_builder import RecordingRequestBuilder from .recordings.recordings_request_builder import RecordingsRequestBuilder from .registration.registration_request_builder import RegistrationRequestBuilder + from .send_virtual_appointment_reminder_sms.send_virtual_appointment_reminder_sms_request_builder import SendVirtualAppointmentReminderSmsRequestBuilder + from .send_virtual_appointment_sms.send_virtual_appointment_sms_request_builder import SendVirtualAppointmentSmsRequestBuilder from .transcripts.transcripts_request_builder import TranscriptsRequestBuilder class OnlineMeetingItemRequestBuilder(BaseRequestBuilder): @@ -113,7 +115,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnlineMee request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnlineMeetingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -130,7 +132,7 @@ def to_get_request_information(self,request_configuration: Optional[OnlineMeetin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnlineMeeting] = None, request_configuration: Optional[OnlineMeetingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -149,7 +151,7 @@ def to_patch_request_information(self,body: Optional[OnlineMeeting] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -175,7 +177,7 @@ def alternative_recording(self) -> AlternativeRecordingRequestBuilder: @property def attendance_reports(self) -> AttendanceReportsRequestBuilder: """ - Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. """ from .attendance_reports.attendance_reports_request_builder import AttendanceReportsRequestBuilder @@ -244,6 +246,24 @@ def registration(self) -> RegistrationRequestBuilder: return RegistrationRequestBuilder(self.request_adapter, self.path_parameters) + @property + def send_virtual_appointment_reminder_sms(self) -> SendVirtualAppointmentReminderSmsRequestBuilder: + """ + Provides operations to call the sendVirtualAppointmentReminderSms method. + """ + from .send_virtual_appointment_reminder_sms.send_virtual_appointment_reminder_sms_request_builder import SendVirtualAppointmentReminderSmsRequestBuilder + + return SendVirtualAppointmentReminderSmsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def send_virtual_appointment_sms(self) -> SendVirtualAppointmentSmsRequestBuilder: + """ + Provides operations to call the sendVirtualAppointmentSms method. + """ + from .send_virtual_appointment_sms.send_virtual_appointment_sms_request_builder import SendVirtualAppointmentSmsRequestBuilder + + return SendVirtualAppointmentSmsRequestBuilder(self.request_adapter, self.path_parameters) + @property def transcripts(self) -> TranscriptsRequestBuilder: """ diff --git a/msgraph_beta/generated/app/online_meetings/item/recording/recording_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/recording/recording_request_builder.py index f47722c1294..272bd72993c 100644 --- a/msgraph_beta/generated/app/online_meetings/item/recording/recording_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/recording/recording_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[RecordingReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[RecordingRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -98,7 +98,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/app/online_meetings/item/recordings/delta/delta_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/recordings/delta/delta_request_builder.py index 608c2986b01..3f70144e240 100644 --- a/msgraph_beta/generated/app/online_meetings/item/recordings/delta/delta_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/recordings/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/app/online_meetings/item/recordings/item/call_recording_item_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/recordings/item/call_recording_item_request_builder.py index 7ac6ccfade3..b6a3e6aadfe 100644 --- a/msgraph_beta/generated/app/online_meetings/item/recordings/item/call_recording_item_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/recordings/item/call_recording_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[CallRecordingItemRequestBu async def get(self,request_configuration: Optional[CallRecordingItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CallRecording]: """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. + Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CallRecording] Find more info here: https://learn.microsoft.com/graph/api/callrecording-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[CallRecor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CallRecordingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. + Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[CallRecordin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CallRecording] = None, request_configuration: Optional[CallRecordingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[CallRecording] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class CallRecordingItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class CallRecordingItemRequestBuilderGetQueryParameters(): """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. + Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/app/online_meetings/item/recordings/item/content/content_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/recordings/item/content/content_request_builder.py index 0d3e22b91e5..9c36eaa1c87 100644 --- a/msgraph_beta/generated/app/online_meetings/item/recordings/item/content/content_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/recordings/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/app/online_meetings/item/recordings/recordings_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/recordings/recordings_request_builder.py index d9cb609bb09..73c099d5176 100644 --- a/msgraph_beta/generated/app/online_meetings/item/recordings/recordings_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/recordings/recordings_request_builder.py @@ -46,7 +46,7 @@ def by_call_recording_id(self,call_recording_id: str) -> CallRecordingItemReques async def get(self,request_configuration: Optional[RecordingsRequestBuilderGetRequestConfiguration] = None) -> Optional[CallRecordingCollectionResponse]: """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. + Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CallRecordingCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: Optional[CallRecording] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[RecordingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. + Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RecordingsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CallRecording] = None, request_configuration: Optional[RecordingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[CallRecording] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -157,7 +157,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class RecordingsRequestBuilderGetQueryParameters(): """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. + Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py index 601516e3a49..ce3c108a8a7 100644 --- a/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py @@ -45,7 +45,7 @@ def by_meeting_registration_question_id(self,meeting_registration_question_id: s async def get(self,request_configuration: Optional[CustomQuestionsRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingRegistrationQuestionCollectionResponse]: """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/meetingregistration-list-customquestions?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[CustomQuestionsRequestBuilder async def post(self,body: Optional[MeetingRegistrationQuestion] = None, request_configuration: Optional[CustomQuestionsRequestBuilderPostRequestConfiguration] = None) -> Optional[MeetingRegistrationQuestion]: """ - Create a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Create a custom registration question associated with a meetingRegistration object on behalf of the organizer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestion] @@ -92,7 +92,7 @@ async def post(self,body: Optional[MeetingRegistrationQuestion] = None, request_ def to_get_request_information(self,request_configuration: Optional[CustomQuestionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[CustomQuesti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MeetingRegistrationQuestion] = None, request_configuration: Optional[CustomQuestionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Create a custom registration question associated with a meetingRegistration object on behalf of the organizer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[MeetingRegistrationQuestion] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CustomQuestionsRequestBuilderGetQueryParameters(): """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py index bc67d3b338e..165368d4d26 100644 --- a/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[MeetingRegistrationQuestionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a custom registration question from a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Delete a custom registration question from a meetingRegistration object on behalf of the organizer. 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/meetingregistrationquestion-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[MeetingRegistrationQuestio async def get(self,request_configuration: Optional[MeetingRegistrationQuestionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingRegistrationQuestion]: """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestion] Find more info here: https://learn.microsoft.com/graph/api/meetingregistrationquestion-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[MeetingRegistrationQuestionIt async def patch(self,body: Optional[MeetingRegistrationQuestion] = None, request_configuration: Optional[MeetingRegistrationQuestionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[MeetingRegistrationQuestion]: """ - Update a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Update a custom registration question associated with a meetingRegistration object on behalf of the organizer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestion] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[MeetingRegistrationQuestion] = None, request def to_delete_request_information(self,request_configuration: Optional[MeetingRegistrationQuestionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a custom registration question from a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Delete a custom registration question from a meetingRegistration object on behalf of the organizer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[MeetingRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MeetingRegistrationQuestionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[MeetingRegis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MeetingRegistrationQuestion] = None, request_configuration: Optional[MeetingRegistrationQuestionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Update a custom registration question associated with a meetingRegistration object on behalf of the organizer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[MeetingRegistrationQuestion request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class MeetingRegistrationQuestionItemRequestBuilderDeleteRequestConfiguration(Ba @dataclass class MeetingRegistrationQuestionItemRequestBuilderGetQueryParameters(): """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/app/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py index 917ecdbe1e7..3310dffa802 100644 --- a/msgraph_beta/generated/app/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MeetingRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MeetingRegistrantBaseItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MeetingRegis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MeetingRegistrantBase] = None, request_configuration: Optional[MeetingRegistrantBaseItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MeetingRegistrantBase] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app/online_meetings/item/registration/registrants/registrants_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/registration/registrants/registrants_request_builder.py index 2d36f8bb692..78ad7930344 100644 --- a/msgraph_beta/generated/app/online_meetings/item/registration/registrants/registrants_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/registration/registrants/registrants_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RegistrantsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MeetingRegistrantBase] = None, request_configuration: Optional[RegistrantsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MeetingRegistrantBase] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app/online_meetings/item/registration/registration_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/registration/registration_request_builder.py index 70abcb1d30b..564725f8b29 100644 --- a/msgraph_beta/generated/app/online_meetings/item/registration/registration_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/registration/registration_request_builder.py @@ -30,10 +30,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RegistrationRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Disable and delete the externalMeetingRegistration of an onlineMeeting. This API is available in the following national cloud deployments. + Disable and delete the meetingRegistration of an onlineMeeting on behalf of the organizer. 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/externalmeetingregistration-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/meetingregistration-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RegistrationRequestBuilder async def get(self,request_configuration: Optional[RegistrationRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingRegistration]: """ - Get the externalMeetingRegistration details associated with an onlineMeeting. This API is available in the following national cloud deployments. + Get the externalMeetingRegistration details associated with an onlineMeeting. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistration] Find more info here: https://learn.microsoft.com/graph/api/externalmeetingregistration-get?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[RegistrationRequestBuilderGet async def patch(self,body: Optional[MeetingRegistration] = None, request_configuration: Optional[RegistrationRequestBuilderPatchRequestConfiguration] = None) -> Optional[MeetingRegistration]: """ - Update the details of a meetingRegistration object assciated with an onlineMeeting on behalf of the organizer. This API is available in the following national cloud deployments. + Update the details of a meetingRegistration object assciated with an onlineMeeting on behalf of the organizer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistration] @@ -97,7 +97,7 @@ async def patch(self,body: Optional[MeetingRegistration] = None, request_configu def to_delete_request_information(self,request_configuration: Optional[RegistrationRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Disable and delete the externalMeetingRegistration of an onlineMeeting. This API is available in the following national cloud deployments. + Disable and delete the meetingRegistration of an onlineMeeting on behalf of the organizer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[Registrat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RegistrationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the externalMeetingRegistration details associated with an onlineMeeting. This API is available in the following national cloud deployments. + Get the externalMeetingRegistration details associated with an onlineMeeting. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[Registration request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MeetingRegistration] = None, request_configuration: Optional[RegistrationRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the details of a meetingRegistration object assciated with an onlineMeeting on behalf of the organizer. This API is available in the following national cloud deployments. + Update the details of a meetingRegistration object assciated with an onlineMeeting on behalf of the organizer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[MeetingRegistration] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class RegistrationRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class RegistrationRequestBuilderGetQueryParameters(): """ - Get the externalMeetingRegistration details associated with an onlineMeeting. This API is available in the following national cloud deployments. + Get the externalMeetingRegistration details associated with an onlineMeeting. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/app/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py b/msgraph_beta/generated/app/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py new file mode 100644 index 00000000000..80e43260d11 --- /dev/null +++ b/msgraph_beta/generated/app/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py @@ -0,0 +1,63 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.attendee_notification_info import AttendeeNotificationInfo + from .....models.remind_before_time_in_minutes_type import RemindBeforeTimeInMinutesType + +@dataclass +class SendVirtualAppointmentReminderSmsPostRequestBody(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 attendees property + attendees: Optional[List[AttendeeNotificationInfo]] = None + # The remindBeforeTimeInMinutesType property + remind_before_time_in_minutes_type: Optional[RemindBeforeTimeInMinutesType] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> SendVirtualAppointmentReminderSmsPostRequestBody: + """ + 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: SendVirtualAppointmentReminderSmsPostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return SendVirtualAppointmentReminderSmsPostRequestBody() + + 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.attendee_notification_info import AttendeeNotificationInfo + from .....models.remind_before_time_in_minutes_type import RemindBeforeTimeInMinutesType + + from .....models.attendee_notification_info import AttendeeNotificationInfo + from .....models.remind_before_time_in_minutes_type import RemindBeforeTimeInMinutesType + + fields: Dict[str, Callable[[Any], None]] = { + "attendees": lambda n : setattr(self, 'attendees', n.get_collection_of_object_values(AttendeeNotificationInfo)), + "remindBeforeTimeInMinutesType": lambda n : setattr(self, 'remind_before_time_in_minutes_type', n.get_enum_value(RemindBeforeTimeInMinutesType)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_collection_of_object_values("attendees", self.attendees) + writer.write_enum_value("remindBeforeTimeInMinutesType", self.remind_before_time_in_minutes_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/app/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_request_builder.py new file mode 100644 index 00000000000..4cd34c1d646 --- /dev/null +++ b/msgraph_beta/generated/app/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_request_builder.py @@ -0,0 +1,92 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .send_virtual_appointment_reminder_sms_post_request_body import SendVirtualAppointmentReminderSmsPostRequestBody + +class SendVirtualAppointmentReminderSmsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the sendVirtualAppointmentReminderSms method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new SendVirtualAppointmentReminderSmsRequestBuilder 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}/app/onlineMeetings/{onlineMeeting%2Did}/sendVirtualAppointmentReminderSms", path_parameters) + + async def post(self,body: Optional[SendVirtualAppointmentReminderSmsPostRequestBody] = None, request_configuration: Optional[SendVirtualAppointmentReminderSmsRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Send an SMS reminder to external attendees for a Teams Virtual Appointment. This feature requires Teams Premium and attendees must have a valid United States phone number to receive SMS notifications. + param body: The request body + 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/virtualappointment-sendvirtualappointmentremindersms?view=graph-rest-1.0 + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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: Optional[SendVirtualAppointmentReminderSmsPostRequestBody] = None, request_configuration: Optional[SendVirtualAppointmentReminderSmsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Send an SMS reminder to external attendees for a Teams Virtual Appointment. This feature requires Teams Premium and attendees must have a valid United States phone number to receive SMS notifications. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> SendVirtualAppointmentReminderSmsRequestBuilder: + """ + 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: SendVirtualAppointmentReminderSmsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return SendVirtualAppointmentReminderSmsRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class SendVirtualAppointmentReminderSmsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/app/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py b/msgraph_beta/generated/app/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py new file mode 100644 index 00000000000..13c2de65349 --- /dev/null +++ b/msgraph_beta/generated/app/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py @@ -0,0 +1,63 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.attendee_notification_info import AttendeeNotificationInfo + from .....models.virtual_appointment_message_type import VirtualAppointmentMessageType + +@dataclass +class SendVirtualAppointmentSmsPostRequestBody(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 attendees property + attendees: Optional[List[AttendeeNotificationInfo]] = None + # The messageType property + message_type: Optional[VirtualAppointmentMessageType] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> SendVirtualAppointmentSmsPostRequestBody: + """ + 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: SendVirtualAppointmentSmsPostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return SendVirtualAppointmentSmsPostRequestBody() + + 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.attendee_notification_info import AttendeeNotificationInfo + from .....models.virtual_appointment_message_type import VirtualAppointmentMessageType + + from .....models.attendee_notification_info import AttendeeNotificationInfo + from .....models.virtual_appointment_message_type import VirtualAppointmentMessageType + + fields: Dict[str, Callable[[Any], None]] = { + "attendees": lambda n : setattr(self, 'attendees', n.get_collection_of_object_values(AttendeeNotificationInfo)), + "messageType": lambda n : setattr(self, 'message_type', n.get_enum_value(VirtualAppointmentMessageType)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_collection_of_object_values("attendees", self.attendees) + writer.write_enum_value("messageType", self.message_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/app/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_request_builder.py new file mode 100644 index 00000000000..ad9f61f5890 --- /dev/null +++ b/msgraph_beta/generated/app/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_request_builder.py @@ -0,0 +1,92 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .send_virtual_appointment_sms_post_request_body import SendVirtualAppointmentSmsPostRequestBody + +class SendVirtualAppointmentSmsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the sendVirtualAppointmentSms method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new SendVirtualAppointmentSmsRequestBuilder 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}/app/onlineMeetings/{onlineMeeting%2Did}/sendVirtualAppointmentSms", path_parameters) + + async def post(self,body: Optional[SendVirtualAppointmentSmsPostRequestBody] = None, request_configuration: Optional[SendVirtualAppointmentSmsRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Send an SMS notification to external attendees when a Teams Virtual Appointment is confirmed, rescheduled, or canceled. This feature requires Teams Premium. Attendees must have a valid United States phone number to receive these SMS notifications. + param body: The request body + 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/virtualappointment-sendvirtualappointmentsms?view=graph-rest-1.0 + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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: Optional[SendVirtualAppointmentSmsPostRequestBody] = None, request_configuration: Optional[SendVirtualAppointmentSmsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Send an SMS notification to external attendees when a Teams Virtual Appointment is confirmed, rescheduled, or canceled. This feature requires Teams Premium. Attendees must have a valid United States phone number to receive these SMS notifications. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> SendVirtualAppointmentSmsRequestBuilder: + """ + 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: SendVirtualAppointmentSmsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return SendVirtualAppointmentSmsRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class SendVirtualAppointmentSmsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/app/online_meetings/item/transcripts/delta/delta_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/transcripts/delta/delta_request_builder.py index 1cb8eef75b7..1b04285321f 100644 --- a/msgraph_beta/generated/app/online_meetings/item/transcripts/delta/delta_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/transcripts/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/app/online_meetings/item/transcripts/item/call_transcript_item_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/transcripts/item/call_transcript_item_request_builder.py index 0f3f8b493bb..d61411227ac 100644 --- a/msgraph_beta/generated/app/online_meetings/item/transcripts/item/call_transcript_item_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/transcripts/item/call_transcript_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[CallTranscriptItemRequestB async def get(self,request_configuration: Optional[CallTranscriptItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CallTranscript]: """ - Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. This API is available in the following national cloud deployments. + Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CallTranscript] Find more info here: https://learn.microsoft.com/graph/api/calltranscript-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[CallTrans request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CallTranscriptItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. This API is available in the following national cloud deployments. + Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[CallTranscri request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CallTranscript] = None, request_configuration: Optional[CallTranscriptItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[CallTranscript] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class CallTranscriptItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class CallTranscriptItemRequestBuilderGetQueryParameters(): """ - Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. This API is available in the following national cloud deployments. + Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/app/online_meetings/item/transcripts/item/content/content_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/transcripts/item/content/content_request_builder.py index 95a3226fa6d..8da7f75696a 100644 --- a/msgraph_beta/generated/app/online_meetings/item/transcripts/item/content/content_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/transcripts/item/content/content_request_builder.py @@ -83,7 +83,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -102,7 +102,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/app/online_meetings/item/transcripts/item/metadata_content/metadata_content_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/transcripts/item/metadata_content/metadata_content_request_builder.py index b2452f23651..98ab74637ba 100644 --- a/msgraph_beta/generated/app/online_meetings/item/transcripts/item/metadata_content/metadata_content_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/transcripts/item/metadata_content/metadata_content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[MetadataCont request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[MetadataContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/app/online_meetings/item/transcripts/transcripts_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/transcripts/transcripts_request_builder.py index 441f3f7cfb0..d26f172daee 100644 --- a/msgraph_beta/generated/app/online_meetings/item/transcripts/transcripts_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/transcripts/transcripts_request_builder.py @@ -46,7 +46,7 @@ def by_call_transcript_id(self,call_transcript_id: str) -> CallTranscriptItemReq async def get(self,request_configuration: Optional[TranscriptsRequestBuilderGetRequestConfiguration] = None) -> Optional[CallTranscriptCollectionResponse]: """ - Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. This API is available in the following national cloud deployments. + Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CallTranscriptCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/onlinemeeting-list-transcripts?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[CallTranscript] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[TranscriptsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. This API is available in the following national cloud deployments. + Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[TranscriptsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CallTranscript] = None, request_configuration: Optional[TranscriptsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[CallTranscript] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class TranscriptsRequestBuilderGetQueryParameters(): """ - Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. This API is available in the following national cloud deployments. + Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/app/online_meetings/online_meetings_request_builder.py b/msgraph_beta/generated/app/online_meetings/online_meetings_request_builder.py index 768d3d0a002..e30d1a6035d 100644 --- a/msgraph_beta/generated/app/online_meetings/online_meetings_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/online_meetings_request_builder.py @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[OnlineMeetin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnlineMeeting] = None, request_configuration: Optional[OnlineMeetingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[OnlineMeeting] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app_catalogs/app_catalogs_request_builder.py b/msgraph_beta/generated/app_catalogs/app_catalogs_request_builder.py index 6d83cc59efd..8b614643bca 100644 --- a/msgraph_beta/generated/app_catalogs/app_catalogs_request_builder.py +++ b/msgraph_beta/generated/app_catalogs/app_catalogs_request_builder.py @@ -86,7 +86,7 @@ def to_get_request_information(self,request_configuration: Optional[AppCatalogsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AppCatalogs] = None, request_configuration: Optional[AppCatalogsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -105,7 +105,7 @@ def to_patch_request_information(self,body: Optional[AppCatalogs] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/app_definitions_request_builder.py b/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/app_definitions_request_builder.py index ad29a78d439..7778d018004 100644 --- a/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/app_definitions_request_builder.py +++ b/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/app_definitions_request_builder.py @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[AppDefinitionsRequestBuilderG async def post(self,body: Optional[TeamsAppDefinition] = None, request_configuration: Optional[AppDefinitionsRequestBuilderPostRequestConfiguration] = None) -> Optional[TeamsAppDefinition]: """ - Update an app previously published to the Microsoft Teams app catalog. To update an app, the distributionMethod property for the app must be set to organization. This API specifically updates an app published to your organization's app catalog (the tenant app catalog). This API is available in the following national cloud deployments. + Update an app previously published to the Microsoft Teams app catalog. To update an app, the distributionMethod property for the app must be set to organization. This API specifically updates an app published to your organization's app catalog (the tenant app catalog). param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAppDefinition] @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[AppDefinitio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamsAppDefinition] = None, request_configuration: Optional[AppDefinitionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Update an app previously published to the Microsoft Teams app catalog. To update an app, the distributionMethod property for the app must be set to organization. This API specifically updates an app published to your organization's app catalog (the tenant app catalog). This API is available in the following national cloud deployments. + Update an app previously published to the Microsoft Teams app catalog. To update an app, the distributionMethod property for the app must be set to organization. This API specifically updates an app published to your organization's app catalog (the tenant app catalog). param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[TeamsAppDefinition] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/bot/bot_request_builder.py b/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/bot/bot_request_builder.py index 170216ae451..57aa7456ace 100644 --- a/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/bot/bot_request_builder.py +++ b/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/bot/bot_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[BotRequestBuilderDeleteReq async def get(self,request_configuration: Optional[BotRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamworkBot]: """ - Get the bot associated with a specific definition of the TeamsApp. This API is available in the following national cloud deployments. + Get the bot associated with a specific definition of the TeamsApp. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkBot] Find more info here: https://learn.microsoft.com/graph/api/teamworkbot-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[BotReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BotRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the bot associated with a specific definition of the TeamsApp. This API is available in the following national cloud deployments. + Get the bot associated with a specific definition of the TeamsApp. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[BotRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamworkBot] = None, request_configuration: Optional[BotRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[TeamworkBot] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class BotRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class BotRequestBuilderGetQueryParameters(): """ - Get the bot associated with a specific definition of the TeamsApp. This API is available in the following national cloud deployments. + Get the bot associated with a specific definition of the TeamsApp. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/color_icon/color_icon_request_builder.py b/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/color_icon/color_icon_request_builder.py index b2a93f048f0..41fa3eecc46 100644 --- a/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/color_icon/color_icon_request_builder.py +++ b/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/color_icon/color_icon_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ColorIconRequestBuilderDel async def get(self,request_configuration: Optional[ColorIconRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsAppIcon]: """ - Retrieve a Teams app icon associated with a specific definition of an app. This API is available in the following national cloud deployments. + Retrieve a Teams app icon associated with a specific definition of an app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAppIcon] Find more info here: https://learn.microsoft.com/graph/api/teamsappicon-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ColorIcon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ColorIconRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a Teams app icon associated with a specific definition of an app. This API is available in the following national cloud deployments. + Retrieve a Teams app icon associated with a specific definition of an app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ColorIconReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamsAppIcon] = None, request_configuration: Optional[ColorIconRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[TeamsAppIcon] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ColorIconRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration @dataclass class ColorIconRequestBuilderGetQueryParameters(): """ - Retrieve a Teams app icon associated with a specific definition of an app. This API is available in the following national cloud deployments. + Retrieve a Teams app icon associated with a specific definition of an app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/color_icon/hosted_content/hosted_content_request_builder.py b/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/color_icon/hosted_content/hosted_content_request_builder.py index bf43bd59012..b98243754c1 100644 --- a/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/color_icon/hosted_content/hosted_content_request_builder.py +++ b/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/color_icon/hosted_content/hosted_content_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[HostedContentRequestBuilde async def get(self,request_configuration: Optional[HostedContentRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamworkHostedContent]: """ - Retrieve the hosted content in an app's icon. This API is available in the following national cloud deployments. + Retrieve the hosted content in an app's icon. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkHostedContent] Find more info here: https://learn.microsoft.com/graph/api/teamworkhostedcontent-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[HostedCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[HostedContentRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the hosted content in an app's icon. This API is available in the following national cloud deployments. + Retrieve the hosted content in an app's icon. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[HostedConten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamworkHostedContent] = None, request_configuration: Optional[HostedContentRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[TeamworkHostedContent] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class HostedContentRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class HostedContentRequestBuilderGetQueryParameters(): """ - Retrieve the hosted content in an app's icon. This API is available in the following national cloud deployments. + Retrieve the hosted content in an app's icon. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/color_icon/hosted_content/value/content_request_builder.py b/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/color_icon/hosted_content/value/content_request_builder.py index 27b336cf2ca..eabded50671 100644 --- a/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/color_icon/hosted_content/value/content_request_builder.py +++ b/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/color_icon/hosted_content/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/outline_icon/hosted_content/hosted_content_request_builder.py b/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/outline_icon/hosted_content/hosted_content_request_builder.py index 117a19451f6..da53201c157 100644 --- a/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/outline_icon/hosted_content/hosted_content_request_builder.py +++ b/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/outline_icon/hosted_content/hosted_content_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[HostedContentRequestBuilde async def get(self,request_configuration: Optional[HostedContentRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamworkHostedContent]: """ - Retrieve the hosted content in an app's icon. This API is available in the following national cloud deployments. + Retrieve the hosted content in an app's icon. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkHostedContent] Find more info here: https://learn.microsoft.com/graph/api/teamworkhostedcontent-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[HostedCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[HostedContentRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the hosted content in an app's icon. This API is available in the following national cloud deployments. + Retrieve the hosted content in an app's icon. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[HostedConten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamworkHostedContent] = None, request_configuration: Optional[HostedContentRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[TeamworkHostedContent] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class HostedContentRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class HostedContentRequestBuilderGetQueryParameters(): """ - Retrieve the hosted content in an app's icon. This API is available in the following national cloud deployments. + Retrieve the hosted content in an app's icon. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/outline_icon/hosted_content/value/content_request_builder.py b/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/outline_icon/hosted_content/value/content_request_builder.py index 4de9a19d3ce..b2269871927 100644 --- a/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/outline_icon/hosted_content/value/content_request_builder.py +++ b/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/outline_icon/hosted_content/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/outline_icon/outline_icon_request_builder.py b/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/outline_icon/outline_icon_request_builder.py index 9345769825b..2007dbb77f2 100644 --- a/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/outline_icon/outline_icon_request_builder.py +++ b/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/outline_icon/outline_icon_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[OutlineIconRequestBuilderD async def get(self,request_configuration: Optional[OutlineIconRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsAppIcon]: """ - Retrieve a Teams app icon associated with a specific definition of an app. This API is available in the following national cloud deployments. + Retrieve a Teams app icon associated with a specific definition of an app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAppIcon] Find more info here: https://learn.microsoft.com/graph/api/teamsappicon-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[OutlineIc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OutlineIconRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a Teams app icon associated with a specific definition of an app. This API is available in the following national cloud deployments. + Retrieve a Teams app icon associated with a specific definition of an app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[OutlineIconR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamsAppIcon] = None, request_configuration: Optional[OutlineIconRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[TeamsAppIcon] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class OutlineIconRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurati @dataclass class OutlineIconRequestBuilderGetQueryParameters(): """ - Retrieve a Teams app icon associated with a specific definition of an app. This API is available in the following national cloud deployments. + Retrieve a Teams app icon associated with a specific definition of an app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/teams_app_definition_item_request_builder.py b/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/teams_app_definition_item_request_builder.py index 2e6c2d09720..100c286fbe8 100644 --- a/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/teams_app_definition_item_request_builder.py +++ b/msgraph_beta/generated/app_catalogs/teams_apps/item/app_definitions/item/teams_app_definition_item_request_builder.py @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[TeamsAppDefinitionItemRequest async def patch(self,body: Optional[TeamsAppDefinition] = None, request_configuration: Optional[TeamsAppDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[TeamsAppDefinition]: """ - Publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center. This API is available in the following national cloud deployments. + Publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAppDefinition] @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[TeamsAppD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamsAppDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppDefi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamsAppDefinition] = None, request_configuration: Optional[TeamsAppDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center. This API is available in the following national cloud deployments. + Publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[TeamsAppDefinition] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app_catalogs/teams_apps/item/teams_app_item_request_builder.py b/msgraph_beta/generated/app_catalogs/teams_apps/item/teams_app_item_request_builder.py index e1cb54e3da4..59d765be3d3 100644 --- a/msgraph_beta/generated/app_catalogs/teams_apps/item/teams_app_item_request_builder.py +++ b/msgraph_beta/generated/app_catalogs/teams_apps/item/teams_app_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TeamsAppItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an app from an organization's app catalog (the tenant app catalog). To delete an app, the distributionMethod property for the app must be set to organization. You can also use this API to remove a submitted app from the review process. This API is available in the following national cloud deployments. + Delete an app from an organization's app catalog (the tenant app catalog). To delete an app, the distributionMethod property for the app must be set to organization. You can also use this API to remove a submitted app from the review process. 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/teamsapp-delete?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[TeamsApp] = None, request_configuration: Opt def to_delete_request_information(self,request_configuration: Optional[TeamsAppItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an app from an organization's app catalog (the tenant app catalog). To delete an app, the distributionMethod property for the app must be set to organization. You can also use this API to remove a submitted app from the review process. This API is available in the following national cloud deployments. + Delete an app from an organization's app catalog (the tenant app catalog). To delete an app, the distributionMethod property for the app must be set to organization. You can also use this API to remove a submitted app from the review process. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[TeamsAppI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamsAppItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamsApp] = None, request_configuration: Optional[TeamsAppItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[TeamsApp] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app_catalogs/teams_apps/teams_apps_request_builder.py b/msgraph_beta/generated/app_catalogs/teams_apps/teams_apps_request_builder.py index 19179c327e2..5f03329d5ac 100644 --- a/msgraph_beta/generated/app_catalogs/teams_apps/teams_apps_request_builder.py +++ b/msgraph_beta/generated/app_catalogs/teams_apps/teams_apps_request_builder.py @@ -45,7 +45,7 @@ def by_teams_app_id(self,teams_app_id: str) -> TeamsAppItemRequestBuilder: async def get(self,request_configuration: Optional[TeamsAppsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsAppCollectionResponse]: """ - List apps from the Microsoft Teams app catalog.This includes apps from the Microsoft Teams store, as well as apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. This API is available in the following national cloud deployments. + List apps from the Microsoft Teams app catalog.This includes apps from the Microsoft Teams store, as well as apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAppCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/appcatalogs-list-teamsapps?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TeamsAppsRequestBuilderGetReq async def post(self,body: Optional[TeamsApp] = None, request_configuration: Optional[TeamsAppsRequestBuilderPostRequestConfiguration] = None) -> Optional[TeamsApp]: """ - Publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center. This API is available in the following national cloud deployments. + Publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsApp] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TeamsApp] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[TeamsAppsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List apps from the Microsoft Teams app catalog.This includes apps from the Microsoft Teams store, as well as apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. This API is available in the following national cloud deployments. + List apps from the Microsoft Teams app catalog.This includes apps from the Microsoft Teams store, as well as apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamsApp] = None, request_configuration: Optional[TeamsAppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center. This API is available in the following national cloud deployments. + Publish an app to the Microsoft Teams app catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource has a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TeamsApp] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TeamsAppsRequestBuilderGetQueryParameters(): """ - List apps from the Microsoft Teams app catalog.This includes apps from the Microsoft Teams store, as well as apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. This API is available in the following national cloud deployments. + List apps from the Microsoft Teams app catalog.This includes apps from the Microsoft Teams store, as well as apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/app_role_assignments/app_role_assignments_request_builder.py b/msgraph_beta/generated/app_role_assignments/app_role_assignments_request_builder.py index fa3a05ff727..81bbf5be6ba 100644 --- a/msgraph_beta/generated/app_role_assignments/app_role_assignments_request_builder.py +++ b/msgraph_beta/generated/app_role_assignments/app_role_assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AppRoleAssig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AppRoleAssignment] = None, request_configuration: Optional[AppRoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AppRoleAssignment] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/app_role_assignments/item/app_role_assignment_item_request_builder.py b/msgraph_beta/generated/app_role_assignments/item/app_role_assignment_item_request_builder.py index 3016627b498..f8cd0aa9d51 100644 --- a/msgraph_beta/generated/app_role_assignments/item/app_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/app_role_assignments/item/app_role_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AppRoleAs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AppRoleAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AppRoleAssig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AppRoleAssignment] = None, request_configuration: Optional[AppRoleAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AppRoleAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/application_templates/application_templates_request_builder.py b/msgraph_beta/generated/application_templates/application_templates_request_builder.py index 607e220ed36..c3cb5750821 100644 --- a/msgraph_beta/generated/application_templates/application_templates_request_builder.py +++ b/msgraph_beta/generated/application_templates/application_templates_request_builder.py @@ -44,7 +44,7 @@ def by_application_template_id(self,application_template_id: str) -> Application async def get(self,request_configuration: Optional[ApplicationTemplatesRequestBuilderGetRequestConfiguration] = None) -> Optional[ApplicationTemplateCollectionResponse]: """ - Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. This API is available in the following national cloud deployments. + Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApplicationTemplateCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/applicationtemplate-list?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ApplicationTemplatesRequestBu def to_get_request_information(self,request_configuration: Optional[ApplicationTemplatesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. This API is available in the following national cloud deployments. + Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ApplicationT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ApplicationTemplatesRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ApplicationTemplatesRequestBuilderGetQueryParameters(): """ - Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. This API is available in the following national cloud deployments. + Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/application_templates/item/application_template_item_request_builder.py b/msgraph_beta/generated/application_templates/item/application_template_item_request_builder.py index 7116e6c4c05..1810dd9a59f 100644 --- a/msgraph_beta/generated/application_templates/item/application_template_item_request_builder.py +++ b/msgraph_beta/generated/application_templates/item/application_template_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ApplicationTemplateItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ApplicationTemplate]: """ - Retrieve the properties of an applicationTemplate object. This API is available in the following national cloud deployments. + Retrieve the properties of an applicationTemplate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApplicationTemplate] Find more info here: https://learn.microsoft.com/graph/api/applicationtemplate-get?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[ApplicationTemplateItemReques def to_get_request_information(self,request_configuration: Optional[ApplicationTemplateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of an applicationTemplate object. This API is available in the following national cloud deployments. + Retrieve the properties of an applicationTemplate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[ApplicationT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ApplicationTemplateItemRequestBuilder: @@ -88,7 +88,7 @@ def instantiate(self) -> InstantiateRequestBuilder: @dataclass class ApplicationTemplateItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties of an applicationTemplate object. This API is available in the following national cloud deployments. + Retrieve the properties of an applicationTemplate object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/application_templates/item/instantiate/instantiate_request_builder.py b/msgraph_beta/generated/application_templates/item/instantiate/instantiate_request_builder.py index bfa82a7e750..562d095a128 100644 --- a/msgraph_beta/generated/application_templates/item/instantiate/instantiate_request_builder.py +++ b/msgraph_beta/generated/application_templates/item/instantiate/instantiate_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[InstantiatePostRequestBody] = None, request_configuration: Optional[InstantiateRequestBuilderPostRequestConfiguration] = None) -> Optional[ApplicationServicePrincipal]: """ - Add an instance of an application from the Microsoft Entra application gallery into your directory. You can also use this API to instantiate non-gallery apps. Use the following ID for the applicationTemplate object: 8adf8e6e-67b2-4cf2-a259-e3dc5476c621. This API is available in the following national cloud deployments. + Add an instance of an application from the Microsoft Entra application gallery into your directory. You can also use this API to instantiate non-gallery apps. Use the following ID for the applicationTemplate object: 8adf8e6e-67b2-4cf2-a259-e3dc5476c621. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApplicationServicePrincipal] @@ -54,7 +54,7 @@ async def post(self,body: Optional[InstantiatePostRequestBody] = None, request_c def to_post_request_information(self,body: Optional[InstantiatePostRequestBody] = None, request_configuration: Optional[InstantiateRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add an instance of an application from the Microsoft Entra application gallery into your directory. You can also use this API to instantiate non-gallery apps. Use the following ID for the applicationTemplate object: 8adf8e6e-67b2-4cf2-a259-e3dc5476c621. This API is available in the following national cloud deployments. + Add an instance of an application from the Microsoft Entra application gallery into your directory. You can also use this API to instantiate non-gallery apps. Use the following ID for the applicationTemplate object: 8adf8e6e-67b2-4cf2-a259-e3dc5476c621. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[InstantiatePostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/applications_request_builder.py b/msgraph_beta/generated/applications/applications_request_builder.py index 71f58642173..00d9c48f3e0 100644 --- a/msgraph_beta/generated/applications/applications_request_builder.py +++ b/msgraph_beta/generated/applications/applications_request_builder.py @@ -49,7 +49,7 @@ def by_application_id(self,application_id: str) -> ApplicationItemRequestBuilder async def get(self,request_configuration: Optional[ApplicationsRequestBuilderGetRequestConfiguration] = None) -> Optional[ApplicationCollectionResponse]: """ - Get the list of applications in this organization. This API is available in the following national cloud deployments. + Get the list of applications in this organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApplicationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/application-list?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[ApplicationsRequestBuilderGet async def post(self,body: Optional[Application] = None, request_configuration: Optional[ApplicationsRequestBuilderPostRequestConfiguration] = None) -> Optional[Application]: """ - Create a new application object. This API is available in the following national cloud deployments. + Create a new application object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Application] @@ -96,7 +96,7 @@ async def post(self,body: Optional[Application] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[ApplicationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of applications in this organization. This API is available in the following national cloud deployments. + Get the list of applications in this organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_get_request_information(self,request_configuration: Optional[Applications request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Application] = None, request_configuration: Optional[ApplicationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new application object. This API is available in the following national cloud deployments. + Create a new application object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -127,7 +127,7 @@ def to_post_request_information(self,body: Optional[Application] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ def validate_properties(self) -> ValidatePropertiesRequestBuilder: @dataclass class ApplicationsRequestBuilderGetQueryParameters(): """ - Get the list of applications in this organization. This API is available in the following national cloud deployments. + Get the list of applications in this organization. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/applications/delta/delta_request_builder.py b/msgraph_beta/generated/applications/delta/delta_request_builder.py index 5b8945373b5..fe4cff26273 100644 --- a/msgraph_beta/generated/applications/delta/delta_request_builder.py +++ b/msgraph_beta/generated/applications/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/applications/get_by_ids/get_by_ids_request_builder.py b/msgraph_beta/generated/applications/get_by_ids/get_by_ids_request_builder.py index f5a6c06181b..f54d987442d 100644 --- a/msgraph_beta/generated/applications/get_by_ids/get_by_ids_request_builder.py +++ b/msgraph_beta/generated/applications/get_by_ids/get_by_ids_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetByIdsPostResponse]: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetByIdsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/get_user_owned_objects/get_user_owned_objects_request_builder.py b/msgraph_beta/generated/applications/get_user_owned_objects/get_user_owned_objects_request_builder.py index a2c45a40521..f343dbf08a6 100644 --- a/msgraph_beta/generated/applications/get_user_owned_objects/get_user_owned_objects_request_builder.py +++ b/msgraph_beta/generated/applications/get_user_owned_objects/get_user_owned_objects_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, request_configuration: Optional[GetUserOwnedObjectsRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. This API is available in the following national cloud deployments. + Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, r def to_post_request_information(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, request_configuration: Optional[GetUserOwnedObjectsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. This API is available in the following national cloud deployments. + Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetUserOwnedObjectsPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/item/add_key/add_key_request_builder.py b/msgraph_beta/generated/applications/item/add_key/add_key_request_builder.py index e93714ca69c..bb38a652f30 100644 --- a/msgraph_beta/generated/applications/item/add_key/add_key_request_builder.py +++ b/msgraph_beta/generated/applications/item/add_key/add_key_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddKeyPostRequestBody] = None, request_configuration: Optional[AddKeyRequestBuilderPostRequestConfiguration] = None) -> Optional[KeyCredential]: """ - Add a key credential to an application. This method, along with removeKey, can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that don't have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won't be able to use this service action. You can use the Update application operation to perform an update instead. This API is available in the following national cloud deployments. + Add a key credential to an application. This method, along with removeKey, can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that don't have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won't be able to use this service action. You can use the Update application operation to perform an update instead. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[KeyCredential] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddKeyPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AddKeyPostRequestBody] = None, request_configuration: Optional[AddKeyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a key credential to an application. This method, along with removeKey, can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that don't have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won't be able to use this service action. You can use the Update application operation to perform an update instead. This API is available in the following national cloud deployments. + Add a key credential to an application. This method, along with removeKey, can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that don't have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won't be able to use this service action. You can use the Update application operation to perform an update instead. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddKeyPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/item/add_password/add_password_request_builder.py b/msgraph_beta/generated/applications/item/add_password/add_password_request_builder.py index 114b98c62c0..cb1d9f382eb 100644 --- a/msgraph_beta/generated/applications/item/add_password/add_password_request_builder.py +++ b/msgraph_beta/generated/applications/item/add_password/add_password_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddPasswordPostRequestBody] = None, request_configuration: Optional[AddPasswordRequestBuilderPostRequestConfiguration] = None) -> Optional[PasswordCredential]: """ - Adds a strong password to an application. This API is available in the following national cloud deployments. + Adds a strong password to an application. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PasswordCredential] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddPasswordPostRequestBody] = None, request_c def to_post_request_information(self,body: Optional[AddPasswordPostRequestBody] = None, request_configuration: Optional[AddPasswordRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Adds a strong password to an application. This API is available in the following national cloud deployments. + Adds a strong password to an application. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddPasswordPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/item/app_management_policies/app_management_policies_request_builder.py b/msgraph_beta/generated/applications/item/app_management_policies/app_management_policies_request_builder.py index cb4f0159048..6e053e6ded6 100644 --- a/msgraph_beta/generated/applications/item/app_management_policies/app_management_policies_request_builder.py +++ b/msgraph_beta/generated/applications/item/app_management_policies/app_management_policies_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_app_management_policy_id(self,app_management_policy_id: str) -> AppManagementPolicyItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.applications.item.appManagementPolicies.item collection - param app_management_policy_id: Unique identifier of the item + param app_management_policy_id: The unique identifier of appManagementPolicy Returns: AppManagementPolicyItemRequestBuilder """ if not app_management_policy_id: @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[AppManagemen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppManagementPoliciesRequestBuilder: diff --git a/msgraph_beta/generated/applications/item/app_management_policies/item/ref/ref_request_builder.py b/msgraph_beta/generated/applications/item/app_management_policies/item/ref/ref_request_builder.py index fd7f84a5585..759de151652 100644 --- a/msgraph_beta/generated/applications/item/app_management_policies/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/applications/item/app_management_policies/item/ref/ref_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. This API is available in the following national cloud deployments. + Remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. 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/appmanagementpolicy-delete-appliesto?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. This API is available in the following national cloud deployments. + Remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. This API is available in the following national cloud deployments. + Remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/applications/item/app_management_policies/ref/ref_request_builder.py b/msgraph_beta/generated/applications/item/app_management_policies/ref/ref_request_builder.py index 209617d3c6e..c7055a8a6d8 100644 --- a/msgraph_beta/generated/applications/item/app_management_policies/ref/ref_request_builder.py +++ b/msgraph_beta/generated/applications/item/app_management_policies/ref/ref_request_builder.py @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Assign an appManagementPolicy policy object to an application or service principal object. The application or service principal adopts this policy over the tenant-wide tenantAppManagementPolicy setting. Only one policy object can be assigned to an application or service principal. This API is available in the following national cloud deployments. + Assign an appManagementPolicy policy object to an application or service principal object. The application or service principal adopts this policy over the tenant-wide tenantAppManagementPolicy setting. Only one policy object can be assigned to an application or service principal. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -85,12 +85,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Assign an appManagementPolicy policy object to an application or service principal object. The application or service principal adopts this policy over the tenant-wide tenantAppManagementPolicy setting. Only one policy object can be assigned to an application or service principal. This API is available in the following national cloud deployments. + Assign an appManagementPolicy policy object to an application or service principal object. The application or service principal adopts this policy over the tenant-wide tenantAppManagementPolicy setting. Only one policy object can be assigned to an application or service principal. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -104,7 +104,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/item/application_item_request_builder.py b/msgraph_beta/generated/applications/item/application_item_request_builder.py index 818bc0c8616..42bca9fe7f7 100644 --- a/msgraph_beta/generated/applications/item/application_item_request_builder.py +++ b/msgraph_beta/generated/applications/item/application_item_request_builder.py @@ -50,7 +50,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ApplicationItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API is available in the following national cloud deployments. + Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. 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/application-delete?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def delete(self,request_configuration: Optional[ApplicationItemRequestBuil async def get(self,request_configuration: Optional[ApplicationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Application]: """ - Get the properties and relationships of an application object. This API is available in the following national cloud deployments. + Get the properties and relationships of an application object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Application] Find more info here: https://learn.microsoft.com/graph/api/application-get?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def get(self,request_configuration: Optional[ApplicationItemRequestBuilder async def patch(self,body: Optional[Application] = None, request_configuration: Optional[ApplicationItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Application]: """ - Update the properties of an application object. This API is available in the following national cloud deployments. + Update the properties of an application object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Application] @@ -117,7 +117,7 @@ async def patch(self,body: Optional[Application] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[ApplicationItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API is available in the following national cloud deployments. + Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -128,12 +128,12 @@ def to_delete_request_information(self,request_configuration: Optional[Applicati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ApplicationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of an application object. This API is available in the following national cloud deployments. + Get the properties and relationships of an application object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -145,12 +145,12 @@ def to_get_request_information(self,request_configuration: Optional[ApplicationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Application] = None, request_configuration: Optional[ApplicationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an application object. This API is available in the following national cloud deployments. + Update the properties of an application object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -164,7 +164,7 @@ def to_patch_request_information(self,body: Optional[Application] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -389,7 +389,7 @@ class ApplicationItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class ApplicationItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of an application object. This API is available in the following national cloud deployments. + Get the properties and relationships of an application object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/applications/item/check_member_groups/check_member_groups_request_builder.py b/msgraph_beta/generated/applications/item/check_member_groups/check_member_groups_request_builder.py index 3a7604f5efb..41c88a85c0c 100644 --- a/msgraph_beta/generated/applications/item/check_member_groups/check_member_groups_request_builder.py +++ b/msgraph_beta/generated/applications/item/check_member_groups/check_member_groups_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[CheckMemberGroupsPostResponse]: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, req def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/item/check_member_objects/check_member_objects_request_builder.py b/msgraph_beta/generated/applications/item/check_member_objects/check_member_objects_request_builder.py index 79129e476c2..45aebee749a 100644 --- a/msgraph_beta/generated/applications/item/check_member_objects/check_member_objects_request_builder.py +++ b/msgraph_beta/generated/applications/item/check_member_objects/check_member_objects_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CheckMemberObjectsPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/item/connector_group/connector_group_request_builder.py b/msgraph_beta/generated/applications/item/connector_group/connector_group_request_builder.py index 6112b301f10..9b5522d7dbd 100644 --- a/msgraph_beta/generated/applications/item/connector_group/connector_group_request_builder.py +++ b/msgraph_beta/generated/applications/item/connector_group/connector_group_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ConnectorGro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ConnectorGroupRequestBuilder: diff --git a/msgraph_beta/generated/applications/item/connector_group/ref/ref_request_builder.py b/msgraph_beta/generated/applications/item/connector_group/ref/ref_request_builder.py index d15a9d77983..4ebab834558 100644 --- a/msgraph_beta/generated/applications/item/connector_group/ref/ref_request_builder.py +++ b/msgraph_beta/generated/applications/item/connector_group/ref/ref_request_builder.py @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def put(self,body: Optional[ReferenceUpdate] = None, request_configuration: Optional[RefRequestBuilderPutRequestConfiguration] = None) -> None: """ - Assign a connectorGroup to an application. This API is available in the following national cloud deployments. + Assign a connectorGroup to an application. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -100,7 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -116,12 +116,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_put_request_information(self,body: Optional[ReferenceUpdate] = None, request_configuration: Optional[RefRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: """ - Assign a connectorGroup to an application. This API is available in the following national cloud deployments. + Assign a connectorGroup to an application. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -135,7 +135,7 @@ def to_put_request_information(self,body: Optional[ReferenceUpdate] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/item/created_on_behalf_of/created_on_behalf_of_request_builder.py b/msgraph_beta/generated/applications/item/created_on_behalf_of/created_on_behalf_of_request_builder.py index 51de18221b5..5da306af1b1 100644 --- a/msgraph_beta/generated/applications/item/created_on_behalf_of/created_on_behalf_of_request_builder.py +++ b/msgraph_beta/generated/applications/item/created_on_behalf_of/created_on_behalf_of_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CreatedOnBeh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreatedOnBehalfOfRequestBuilder: diff --git a/msgraph_beta/generated/applications/item/extension_properties/extension_properties_request_builder.py b/msgraph_beta/generated/applications/item/extension_properties/extension_properties_request_builder.py index 785557cbdc3..0584f882700 100644 --- a/msgraph_beta/generated/applications/item/extension_properties/extension_properties_request_builder.py +++ b/msgraph_beta/generated/applications/item/extension_properties/extension_properties_request_builder.py @@ -45,7 +45,7 @@ def by_extension_property_id(self,extension_property_id: str) -> ExtensionProper async def get(self,request_configuration: Optional[ExtensionPropertiesRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionPropertyCollectionResponse]: """ - Retrieve the list of directory extension definitions, represented by extensionProperty objects on an application. This API is available in the following national cloud deployments. + Retrieve the list of directory extension definitions, represented by extensionProperty objects on an application. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionPropertyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/application-list-extensionproperty?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ExtensionPropertiesRequestBui async def post(self,body: Optional[ExtensionProperty] = None, request_configuration: Optional[ExtensionPropertiesRequestBuilderPostRequestConfiguration] = None) -> Optional[ExtensionProperty]: """ - Create a new directory extension definition, represented by an extensionProperty object. This API is available in the following national cloud deployments. + Create a new directory extension definition, represented by an extensionProperty object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionProperty] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ExtensionProperty] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[ExtensionPropertiesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of directory extension definitions, represented by extensionProperty objects on an application. This API is available in the following national cloud deployments. + Retrieve the list of directory extension definitions, represented by extensionProperty objects on an application. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionPro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ExtensionProperty] = None, request_configuration: Optional[ExtensionPropertiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new directory extension definition, represented by an extensionProperty object. This API is available in the following national cloud deployments. + Create a new directory extension definition, represented by an extensionProperty object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ExtensionProperty] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionPropertiesRequestBuilderGetQueryParameters(): """ - Retrieve the list of directory extension definitions, represented by extensionProperty objects on an application. This API is available in the following national cloud deployments. + Retrieve the list of directory extension definitions, represented by extensionProperty objects on an application. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/applications/item/extension_properties/item/extension_property_item_request_builder.py b/msgraph_beta/generated/applications/item/extension_properties/item/extension_property_item_request_builder.py index 373452db4de..31d517a140d 100644 --- a/msgraph_beta/generated/applications/item/extension_properties/item/extension_property_item_request_builder.py +++ b/msgraph_beta/generated/applications/item/extension_properties/item/extension_property_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ExtensionPropertyItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a directory extension definition represented by an extensionProperty object. You can delete only directory extensions that aren't synced from on-premises active directory (AD). This API is available in the following national cloud deployments. + Delete a directory extension definition represented by an extensionProperty object. You can delete only directory extensions that aren't synced from on-premises active directory (AD). 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/extensionproperty-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ExtensionPropertyItemReque async def get(self,request_configuration: Optional[ExtensionPropertyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionProperty]: """ - Read a directory extension definition represented by an extensionProperty object. This API is available in the following national cloud deployments. + Read a directory extension definition represented by an extensionProperty object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionProperty] Find more info here: https://learn.microsoft.com/graph/api/extensionproperty-get?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[ExtensionProperty] = None, request_configura def to_delete_request_information(self,request_configuration: Optional[ExtensionPropertyItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a directory extension definition represented by an extensionProperty object. You can delete only directory extensions that aren't synced from on-premises active directory (AD). This API is available in the following national cloud deployments. + Delete a directory extension definition represented by an extensionProperty object. You can delete only directory extensions that aren't synced from on-premises active directory (AD). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionPropertyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read a directory extension definition represented by an extensionProperty object. This API is available in the following national cloud deployments. + Read a directory extension definition represented by an extensionProperty object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionPro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ExtensionProperty] = None, request_configuration: Optional[ExtensionPropertyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ExtensionProperty] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ExtensionPropertyItemRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class ExtensionPropertyItemRequestBuilderGetQueryParameters(): """ - Read a directory extension definition represented by an extensionProperty object. This API is available in the following national cloud deployments. + Read a directory extension definition represented by an extensionProperty object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/applications/item/federated_identity_credentials/federated_identity_credentials_request_builder.py b/msgraph_beta/generated/applications/item/federated_identity_credentials/federated_identity_credentials_request_builder.py index 530422b9142..b445b18559a 100644 --- a/msgraph_beta/generated/applications/item/federated_identity_credentials/federated_identity_credentials_request_builder.py +++ b/msgraph_beta/generated/applications/item/federated_identity_credentials/federated_identity_credentials_request_builder.py @@ -45,7 +45,7 @@ def by_federated_identity_credential_id(self,federated_identity_credential_id: s async def get(self,request_configuration: Optional[FederatedIdentityCredentialsRequestBuilderGetRequestConfiguration] = None) -> Optional[FederatedIdentityCredentialCollectionResponse]: """ - Get a list of the federatedIdentityCredential objects and their properties. This API is available in the following national cloud deployments. + Get a list of the federatedIdentityCredential objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FederatedIdentityCredentialCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/application-list-federatedidentitycredentials?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[FederatedIdentityCredentialsR async def post(self,body: Optional[FederatedIdentityCredential] = None, request_configuration: Optional[FederatedIdentityCredentialsRequestBuilderPostRequestConfiguration] = None) -> Optional[FederatedIdentityCredential]: """ - Create a new federatedIdentityCredential object for an application. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application. This API is available in the following national cloud deployments. + Create a new federatedIdentityCredential object for an application. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FederatedIdentityCredential] @@ -92,7 +92,7 @@ async def post(self,body: Optional[FederatedIdentityCredential] = None, request_ def to_get_request_information(self,request_configuration: Optional[FederatedIdentityCredentialsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the federatedIdentityCredential objects and their properties. This API is available in the following national cloud deployments. + Get a list of the federatedIdentityCredential objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[FederatedIde request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[FederatedIdentityCredential] = None, request_configuration: Optional[FederatedIdentityCredentialsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new federatedIdentityCredential object for an application. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application. This API is available in the following national cloud deployments. + Create a new federatedIdentityCredential object for an application. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[FederatedIdentityCredential] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class FederatedIdentityCredentialsRequestBuilderGetQueryParameters(): """ - Get a list of the federatedIdentityCredential objects and their properties. This API is available in the following national cloud deployments. + Get a list of the federatedIdentityCredential objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/applications/item/federated_identity_credentials/item/federated_identity_credential_item_request_builder.py b/msgraph_beta/generated/applications/item/federated_identity_credentials/item/federated_identity_credential_item_request_builder.py index d7f5a216f01..895d99ccd8f 100644 --- a/msgraph_beta/generated/applications/item/federated_identity_credentials/item/federated_identity_credential_item_request_builder.py +++ b/msgraph_beta/generated/applications/item/federated_identity_credentials/item/federated_identity_credential_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[FederatedIdentityCredentialItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes a federatedIdentityCredential object from an application. This API is available in the following national cloud deployments. + Deletes a federatedIdentityCredential object from an application. 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/federatedidentitycredential-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[FederatedIdentityCredentia async def get(self,request_configuration: Optional[FederatedIdentityCredentialItemRequestBuilderGetRequestConfiguration] = None) -> Optional[FederatedIdentityCredential]: """ - Read the properties and relationships of a federatedIdentityCredential object. This API is available in the following national cloud deployments. + Read the properties and relationships of a federatedIdentityCredential object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FederatedIdentityCredential] Find more info here: https://learn.microsoft.com/graph/api/federatedidentitycredential-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[FederatedIdentityCredentialIt async def patch(self,body: Optional[FederatedIdentityCredential] = None, request_configuration: Optional[FederatedIdentityCredentialItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[FederatedIdentityCredential]: """ - Update the properties of a federatedIdentityCredential object. This API is available in the following national cloud deployments. + Update the properties of a federatedIdentityCredential object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FederatedIdentityCredential] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[FederatedIdentityCredential] = None, request def to_delete_request_information(self,request_configuration: Optional[FederatedIdentityCredentialItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes a federatedIdentityCredential object from an application. This API is available in the following national cloud deployments. + Deletes a federatedIdentityCredential object from an application. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Federated request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FederatedIdentityCredentialItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a federatedIdentityCredential object. This API is available in the following national cloud deployments. + Read the properties and relationships of a federatedIdentityCredential object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[FederatedIde request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[FederatedIdentityCredential] = None, request_configuration: Optional[FederatedIdentityCredentialItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a federatedIdentityCredential object. This API is available in the following national cloud deployments. + Update the properties of a federatedIdentityCredential object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[FederatedIdentityCredential request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class FederatedIdentityCredentialItemRequestBuilderDeleteRequestConfiguration(Ba @dataclass class FederatedIdentityCredentialItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a federatedIdentityCredential object. This API is available in the following national cloud deployments. + Read the properties and relationships of a federatedIdentityCredential object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/applications/item/get_member_groups/get_member_groups_request_builder.py b/msgraph_beta/generated/applications/item/get_member_groups/get_member_groups_request_builder.py index bf4e08d82c9..381f9cd01d1 100644 --- a/msgraph_beta/generated/applications/item/get_member_groups/get_member_groups_request_builder.py +++ b/msgraph_beta/generated/applications/item/get_member_groups/get_member_groups_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetMemberGroupsPostResponse]: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/item/get_member_objects/get_member_objects_request_builder.py b/msgraph_beta/generated/applications/item/get_member_objects/get_member_objects_request_builder.py index d2a1b878d0b..9369d4b2bd0 100644 --- a/msgraph_beta/generated/applications/item/get_member_objects/get_member_objects_request_builder.py +++ b/msgraph_beta/generated/applications/item/get_member_objects/get_member_objects_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GetMemberObjectsPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/item/home_realm_discovery_policies/home_realm_discovery_policies_request_builder.py b/msgraph_beta/generated/applications/item/home_realm_discovery_policies/home_realm_discovery_policies_request_builder.py index c2d2a8a9844..b44690a0c31 100644 --- a/msgraph_beta/generated/applications/item/home_realm_discovery_policies/home_realm_discovery_policies_request_builder.py +++ b/msgraph_beta/generated/applications/item/home_realm_discovery_policies/home_realm_discovery_policies_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[HomeRealmDis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> HomeRealmDiscoveryPoliciesRequestBuilder: diff --git a/msgraph_beta/generated/applications/item/home_realm_discovery_policies/item/home_realm_discovery_policy_item_request_builder.py b/msgraph_beta/generated/applications/item/home_realm_discovery_policies/item/home_realm_discovery_policy_item_request_builder.py index 5e053a79b11..3011ccd1b07 100644 --- a/msgraph_beta/generated/applications/item/home_realm_discovery_policies/item/home_realm_discovery_policy_item_request_builder.py +++ b/msgraph_beta/generated/applications/item/home_realm_discovery_policies/item/home_realm_discovery_policy_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[HomeRealmDis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> HomeRealmDiscoveryPolicyItemRequestBuilder: diff --git a/msgraph_beta/generated/applications/item/logo/logo_request_builder.py b/msgraph_beta/generated/applications/item/logo/logo_request_builder.py index 6dd17173ea3..f30b5682d77 100644 --- a/msgraph_beta/generated/applications/item/logo/logo_request_builder.py +++ b/msgraph_beta/generated/applications/item/logo/logo_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[LogoRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[LogoRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -98,7 +98,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/applications/item/owners/graph_endpoint/graph_endpoint_request_builder.py b/msgraph_beta/generated/applications/item/owners/graph_endpoint/graph_endpoint_request_builder.py index 4db44c769d6..2ac6a14b28e 100644 --- a/msgraph_beta/generated/applications/item/owners/graph_endpoint/graph_endpoint_request_builder.py +++ b/msgraph_beta/generated/applications/item/owners/graph_endpoint/graph_endpoint_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphEndpoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphEndpointRequestBuilder: diff --git a/msgraph_beta/generated/applications/item/owners/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/applications/item/owners/graph_service_principal/graph_service_principal_request_builder.py index 71f79e6ec9b..1f1fc0eccbe 100644 --- a/msgraph_beta/generated/applications/item/owners/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/applications/item/owners/graph_service_principal/graph_service_principal_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/applications/item/owners/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/applications/item/owners/graph_user/graph_user_request_builder.py index 394e3487647..bb8fbb9f2ae 100644 --- a/msgraph_beta/generated/applications/item/owners/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/applications/item/owners/graph_user/graph_user_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/applications/item/owners/item/graph_endpoint/graph_endpoint_request_builder.py b/msgraph_beta/generated/applications/item/owners/item/graph_endpoint/graph_endpoint_request_builder.py index d05e2158353..07a65c9594b 100644 --- a/msgraph_beta/generated/applications/item/owners/item/graph_endpoint/graph_endpoint_request_builder.py +++ b/msgraph_beta/generated/applications/item/owners/item/graph_endpoint/graph_endpoint_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphEndpoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphEndpointRequestBuilder: diff --git a/msgraph_beta/generated/applications/item/owners/item/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/applications/item/owners/item/graph_service_principal/graph_service_principal_request_builder.py index 3d48cd0ab98..645985562a1 100644 --- a/msgraph_beta/generated/applications/item/owners/item/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/applications/item/owners/item/graph_service_principal/graph_service_principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/applications/item/owners/item/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/applications/item/owners/item/graph_user/graph_user_request_builder.py index bd331052c53..f192279ea40 100644 --- a/msgraph_beta/generated/applications/item/owners/item/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/applications/item/owners/item/graph_user/graph_user_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/applications/item/owners/item/ref/ref_request_builder.py b/msgraph_beta/generated/applications/item/owners/item/ref/ref_request_builder.py index 0c744b0f79a..909bf8bd47a 100644 --- a/msgraph_beta/generated/applications/item/owners/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/applications/item/owners/item/ref/ref_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove an owner from an application. As a recommended best practice, apps should have at least two owners. This API is available in the following national cloud deployments. + Remove an owner from an application. As a recommended best practice, apps should have at least two owners. 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/application-delete-owners?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove an owner from an application. As a recommended best practice, apps should have at least two owners. This API is available in the following national cloud deployments. + Remove an owner from an application. As a recommended best practice, apps should have at least two owners. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Remove an owner from an application. As a recommended best practice, apps should have at least two owners. This API is available in the following national cloud deployments. + Remove an owner from an application. As a recommended best practice, apps should have at least two owners. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/applications/item/owners/owners_request_builder.py b/msgraph_beta/generated/applications/item/owners/owners_request_builder.py index 47aba6b5e29..68eb5d9fa8a 100644 --- a/msgraph_beta/generated/applications/item/owners/owners_request_builder.py +++ b/msgraph_beta/generated/applications/item/owners/owners_request_builder.py @@ -35,7 +35,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.applications.item.owners.item collection - param directory_object_id: Unique identifier of the item + param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ if not directory_object_id: @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[OwnersReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> OwnersRequestBuilder: diff --git a/msgraph_beta/generated/applications/item/owners/ref/ref_request_builder.py b/msgraph_beta/generated/applications/item/owners/ref/ref_request_builder.py index a7e0bcfef91..8045f0a8a79 100644 --- a/msgraph_beta/generated/applications/item/owners/ref/ref_request_builder.py +++ b/msgraph_beta/generated/applications/item/owners/ref/ref_request_builder.py @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Use this API to add an owner to an application by posting to the owners collection. This API is available in the following national cloud deployments. + Use this API to add an owner to an application by posting to the owners collection. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an owner to an application by posting to the owners collection. This API is available in the following national cloud deployments. + Use this API to add an owner to an application by posting to the owners collection. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/item/remove_key/remove_key_request_builder.py b/msgraph_beta/generated/applications/item/remove_key/remove_key_request_builder.py index 3d19d2fca0e..e4b521630cf 100644 --- a/msgraph_beta/generated/applications/item/remove_key/remove_key_request_builder.py +++ b/msgraph_beta/generated/applications/item/remove_key/remove_key_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RemoveKeyPostRequestBody] = None, request_configuration: Optional[RemoveKeyRequestBuilderPostRequestConfiguration] = None) -> None: """ - Remove a key credential from an application. This method along with addKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. This API is available in the following national cloud deployments. + Remove a key credential from an application. This method along with addKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RemoveKeyPostRequestBody] = None, request_con def to_post_request_information(self,body: Optional[RemoveKeyPostRequestBody] = None, request_configuration: Optional[RemoveKeyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Remove a key credential from an application. This method along with addKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. This API is available in the following national cloud deployments. + Remove a key credential from an application. This method along with addKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RemoveKeyPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/item/remove_password/remove_password_request_builder.py b/msgraph_beta/generated/applications/item/remove_password/remove_password_request_builder.py index 2a59523755b..16824432d83 100644 --- a/msgraph_beta/generated/applications/item/remove_password/remove_password_request_builder.py +++ b/msgraph_beta/generated/applications/item/remove_password/remove_password_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RemovePasswordPostRequestBody] = None, request_configuration: Optional[RemovePasswordRequestBuilderPostRequestConfiguration] = None) -> None: """ - Removes a password from an application. This API is available in the following national cloud deployments. + Removes a password from an application. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RemovePasswordPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[RemovePasswordPostRequestBody] = None, request_configuration: Optional[RemovePasswordRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Removes a password from an application. This API is available in the following national cloud deployments. + Removes a password from an application. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RemovePasswordPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/item/restore/restore_request_builder.py b/msgraph_beta/generated/applications/item/restore/restore_request_builder.py index bae392d0c98..7a227d4875c 100644 --- a/msgraph_beta/generated/applications/item/restore/restore_request_builder.py +++ b/msgraph_beta/generated/applications/item/restore/restore_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RestoreRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[RestoreRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RestoreRequestBuilder: diff --git a/msgraph_beta/generated/applications/item/set_verified_publisher/set_verified_publisher_request_builder.py b/msgraph_beta/generated/applications/item/set_verified_publisher/set_verified_publisher_request_builder.py index 2ea7e21be7f..b0de33b6de8 100644 --- a/msgraph_beta/generated/applications/item/set_verified_publisher/set_verified_publisher_request_builder.py +++ b/msgraph_beta/generated/applications/item/set_verified_publisher/set_verified_publisher_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SetVerifiedPublisherPostRequestBody] = None, request_configuration: Optional[SetVerifiedPublisherRequestBuilderPostRequestConfiguration] = None) -> None: """ - Set the the verifiedPublisher on an application. For more information, including prerequisites to setting a verified publisher, see Publisher verification. This API is available in the following national cloud deployments. + Set the the verifiedPublisher on an application. For more information, including prerequisites to setting a verified publisher, see Publisher verification. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SetVerifiedPublisherPostRequestBody] = None, def to_post_request_information(self,body: Optional[SetVerifiedPublisherPostRequestBody] = None, request_configuration: Optional[SetVerifiedPublisherRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Set the the verifiedPublisher on an application. For more information, including prerequisites to setting a verified publisher, see Publisher verification. This API is available in the following national cloud deployments. + Set the the verifiedPublisher on an application. For more information, including prerequisites to setting a verified publisher, see Publisher verification. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SetVerifiedPublisherPostRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/item/synchronization/acquire_access_token/acquire_access_token_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/acquire_access_token/acquire_access_token_request_builder.py index aa4ae145456..29ed46856ea 100644 --- a/msgraph_beta/generated/applications/item/synchronization/acquire_access_token/acquire_access_token_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/acquire_access_token/acquire_access_token_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcquireAccessTokenPostRequestBody] = None, request_configuration: Optional[AcquireAccessTokenRequestBuilderPostRequestConfiguration] = None) -> None: """ - Acquire an OAuth Access token to authorize the Microsoft Entra provisioning service to provision users into an application. This API is available in the following national cloud deployments. + Acquire an OAuth Access token to authorize the Microsoft Entra provisioning service to provision users into an application. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcquireAccessTokenPostRequestBody] = None, re def to_post_request_information(self,body: Optional[AcquireAccessTokenPostRequestBody] = None, request_configuration: Optional[AcquireAccessTokenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Acquire an OAuth Access token to authorize the Microsoft Entra provisioning service to provision users into an application. This API is available in the following national cloud deployments. + Acquire an OAuth Access token to authorize the Microsoft Entra provisioning service to provision users into an application. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcquireAccessTokenPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/item/synchronization/jobs/item/bulk_upload/bulk_upload_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/jobs/item/bulk_upload/bulk_upload_request_builder.py index e0cee5f66fe..699a76fc3b8 100644 --- a/msgraph_beta/generated/applications/item/synchronization/jobs/item/bulk_upload/bulk_upload_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/jobs/item/bulk_upload/bulk_upload_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[BulkUploa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BulkUploadRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[BulkUploadRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[BulkUpload] = None, request_configuration: Optional[BulkUploadRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[BulkUpload] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/item/synchronization/jobs/item/bulk_upload/value/content_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/jobs/item/bulk_upload/value/content_request_builder.py index 9048bc7e4db..846b0773638 100644 --- a/msgraph_beta/generated/applications/item/synchronization/jobs/item/bulk_upload/value/content_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/jobs/item/bulk_upload/value/content_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -98,7 +98,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/applications/item/synchronization/jobs/item/pause/pause_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/jobs/item/pause/pause_request_builder.py index 463b9cfeac3..2793bcbf535 100644 --- a/msgraph_beta/generated/applications/item/synchronization/jobs/item/pause/pause_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/jobs/item/pause/pause_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[PauseRequestBuilderPostRequestConfiguration] = None) -> None: """ - Temporarily stop a running synchronization job. All the progress, including job state, is persisted, and the job continues from where it left off when a start call is made. This API is available in the following national cloud deployments. + Temporarily stop a running synchronization job. All the progress, including job state, is persisted, and the job continues from where it left off when a start call is made. 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/synchronization-synchronizationjob-pause?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[PauseRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[PauseRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Temporarily stop a running synchronization job. All the progress, including job state, is persisted, and the job continues from where it left off when a start call is made. This API is available in the following national cloud deployments. + Temporarily stop a running synchronization job. All the progress, including job state, is persisted, and the job continues from where it left off when a start call is made. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[PauseReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PauseRequestBuilder: diff --git a/msgraph_beta/generated/applications/item/synchronization/jobs/item/provision_on_demand/provision_on_demand_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/jobs/item/provision_on_demand/provision_on_demand_request_builder.py index b4d100d6901..ca8b13354c7 100644 --- a/msgraph_beta/generated/applications/item/synchronization/jobs/item/provision_on_demand/provision_on_demand_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/jobs/item/provision_on_demand/provision_on_demand_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ProvisionOnDemandPostRequestBody] = None, request_configuration: Optional[ProvisionOnDemandRequestBuilderPostRequestConfiguration] = None) -> Optional[StringKeyStringValuePair]: """ - Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds. No user or group will be provisioned on-demand that would not have been provisioned through the regular provisioning cycles. This API is available in the following national cloud deployments. + Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds. No user or group will be provisioned on-demand that would not have been provisioned through the regular provisioning cycles. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringKeyStringValuePair] @@ -54,7 +54,7 @@ async def post(self,body: Optional[ProvisionOnDemandPostRequestBody] = None, req def to_post_request_information(self,body: Optional[ProvisionOnDemandPostRequestBody] = None, request_configuration: Optional[ProvisionOnDemandRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds. No user or group will be provisioned on-demand that would not have been provisioned through the regular provisioning cycles. This API is available in the following national cloud deployments. + Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds. No user or group will be provisioned on-demand that would not have been provisioned through the regular provisioning cycles. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[ProvisionOnDemandPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/item/synchronization/jobs/item/restart/restart_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/jobs/item/restart/restart_request_builder.py index 45b7e7d17cb..33127e9e3eb 100644 --- a/msgraph_beta/generated/applications/item/synchronization/jobs/item/restart/restart_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/jobs/item/restart/restart_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RestartPostRequestBody] = None, request_configuration: Optional[RestartRequestBuilderPostRequestConfiguration] = None) -> None: """ - Restart a stopped synchronization job, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors. This API is available in the following national cloud deployments. + Restart a stopped synchronization job, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RestartPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[RestartPostRequestBody] = None, request_configuration: Optional[RestartRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restart a stopped synchronization job, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors. This API is available in the following national cloud deployments. + Restart a stopped synchronization job, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RestartPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/directories/directories_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/directories/directories_request_builder.py index d30e871916b..bcbc5737e6d 100644 --- a/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/directories/directories_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/directories/directories_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoriesR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DirectoryDefinition] = None, request_configuration: Optional[DirectoriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DirectoryDefinition] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/directories/item/directory_definition_item_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/directories/item/directory_definition_item_request_builder.py index 10cafd2ae0e..ac8113596f2 100644 --- a/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/directories/item/directory_definition_item_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/directories/item/directory_definition_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Directory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DirectoryDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryDef request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DirectoryDefinition] = None, request_configuration: Optional[DirectoryDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DirectoryDefinition] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/directories/item/discover/discover_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/directories/item/discover/discover_request_builder.py index ce29a150e9f..d2e97ddc583 100644 --- a/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/directories/item/discover/discover_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/directories/item/discover/discover_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DiscoverRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryDefinition]: """ - Discover the latest schema definition for provisioning to an application. This API is available in the following national cloud deployments. + Discover the latest schema definition for provisioning to an application. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryDefinition] Find more info here: https://learn.microsoft.com/graph/api/synchronization-directorydefinition-discover?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[DiscoverRequestBuilderPostRe def to_post_request_information(self,request_configuration: Optional[DiscoverRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Discover the latest schema definition for provisioning to an application. This API is available in the following national cloud deployments. + Discover the latest schema definition for provisioning to an application. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[DiscoverReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DiscoverRequestBuilder: diff --git a/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/filter_operators/filter_operators_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/filter_operators/filter_operators_request_builder.py index 545a260ac1f..a0bd1d7bb65 100644 --- a/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/filter_operators/filter_operators_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/filter_operators/filter_operators_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterOperat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterOperatorsRequestBuilder: diff --git a/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/functions/functions_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/functions/functions_request_builder.py index 1711c612ebc..4cfda7e3ba8 100644 --- a/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/functions/functions_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/functions/functions_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FunctionsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FunctionsRequestBuilder: diff --git a/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/parse_expression/parse_expression_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/parse_expression/parse_expression_request_builder.py index 546e2cc74ea..363e8ab8ea8 100644 --- a/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/parse_expression/parse_expression_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/parse_expression/parse_expression_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ParseExpressionPostRequestBody] = None, request_configuration: Optional[ParseExpressionRequestBuilderPostRequestConfiguration] = None) -> Optional[ParseExpressionResponse]: """ - Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. This API is available in the following national cloud deployments. + Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ParseExpressionResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[ParseExpressionPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[ParseExpressionPostRequestBody] = None, request_configuration: Optional[ParseExpressionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. This API is available in the following national cloud deployments. + Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[ParseExpressionPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/schema_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/schema_request_builder.py index 3835f50102a..bae2187fea6 100644 --- a/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/schema_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/jobs/item/schema/schema_request_builder.py @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[SchemaRequestBuilderDelete async def get(self,request_configuration: Optional[SchemaRequestBuilderGetRequestConfiguration] = None) -> Optional[SynchronizationSchema]: """ - Retrieve the schema for a given synchronization job or template. This API is available in the following national cloud deployments. + Retrieve the schema for a given synchronization job or template. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SynchronizationSchema] Find more info here: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-get?view=graph-rest-1.0 @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[SchemaReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SchemaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the schema for a given synchronization job or template. This API is available in the following national cloud deployments. + Retrieve the schema for a given synchronization job or template. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[SchemaReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SynchronizationSchema] = None, request_configuration: Optional[SchemaRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[SynchronizationSchema] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -208,7 +208,7 @@ class SchemaRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class SchemaRequestBuilderGetQueryParameters(): """ - Retrieve the schema for a given synchronization job or template. This API is available in the following national cloud deployments. + Retrieve the schema for a given synchronization job or template. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/applications/item/synchronization/jobs/item/start/start_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/jobs/item/start/start_request_builder.py index 6406c8a7fb2..ca286ced6ff 100644 --- a/msgraph_beta/generated/applications/item/synchronization/jobs/item/start/start_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/jobs/item/start/start_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[StartRequestBuilderPostRequestConfiguration] = None) -> None: """ - Start an existing synchronization job. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. This API is available in the following national cloud deployments. + Start an existing synchronization job. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. 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/synchronization-synchronizationjob-start?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[StartRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[StartRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Start an existing synchronization job. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. This API is available in the following national cloud deployments. + Start an existing synchronization job. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[StartReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> StartRequestBuilder: diff --git a/msgraph_beta/generated/applications/item/synchronization/jobs/item/synchronization_job_item_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/jobs/item/synchronization_job_item_request_builder.py index 31834b79eb0..b63858617ea 100644 --- a/msgraph_beta/generated/applications/item/synchronization/jobs/item/synchronization_job_item_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/jobs/item/synchronization_job_item_request_builder.py @@ -35,7 +35,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[SynchronizationJobItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is. This API is available in the following national cloud deployments. + Stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is. 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/synchronization-synchronizationjob-delete?view=graph-rest-1.0 @@ -55,7 +55,7 @@ async def delete(self,request_configuration: Optional[SynchronizationJobItemRequ async def get(self,request_configuration: Optional[SynchronizationJobItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SynchronizationJob]: """ - Retrieve the existing synchronization job and its properties. This API is available in the following national cloud deployments. + Retrieve the existing synchronization job and its properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SynchronizationJob] Find more info here: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-get?view=graph-rest-1.0 @@ -101,7 +101,7 @@ async def patch(self,body: Optional[SynchronizationJob] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[SynchronizationJobItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is. This API is available in the following national cloud deployments. + Stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -112,12 +112,12 @@ def to_delete_request_information(self,request_configuration: Optional[Synchroni request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SynchronizationJobItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the existing synchronization job and its properties. This API is available in the following national cloud deployments. + Retrieve the existing synchronization job and its properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -129,7 +129,7 @@ def to_get_request_information(self,request_configuration: Optional[Synchronizat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SynchronizationJob] = None, request_configuration: Optional[SynchronizationJobItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -148,7 +148,7 @@ def to_patch_request_information(self,body: Optional[SynchronizationJob] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -238,7 +238,7 @@ class SynchronizationJobItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class SynchronizationJobItemRequestBuilderGetQueryParameters(): """ - Retrieve the existing synchronization job and its properties. This API is available in the following national cloud deployments. + Retrieve the existing synchronization job and its properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/applications/item/synchronization/jobs/item/validate_credentials/validate_credentials_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/jobs/item/validate_credentials/validate_credentials_request_builder.py index 048b86aa700..a0d4d456cc6 100644 --- a/msgraph_beta/generated/applications/item/synchronization/jobs/item/validate_credentials/validate_credentials_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/jobs/item/validate_credentials/validate_credentials_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ValidateCredentialsPostRequestBody] = None, request_configuration: Optional[ValidateCredentialsRequestBuilderPostRequestConfiguration] = None) -> None: """ - Validate that the credentials are valid in the tenant. This API is available in the following national cloud deployments. + Validate that the credentials are valid in the tenant. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ValidateCredentialsPostRequestBody] = None, r def to_post_request_information(self,body: Optional[ValidateCredentialsPostRequestBody] = None, request_configuration: Optional[ValidateCredentialsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Validate that the credentials are valid in the tenant. This API is available in the following national cloud deployments. + Validate that the credentials are valid in the tenant. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ValidateCredentialsPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/item/synchronization/jobs/jobs_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/jobs/jobs_request_builder.py index 34495b2971b..7472daca6d2 100644 --- a/msgraph_beta/generated/applications/item/synchronization/jobs/jobs_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/jobs/jobs_request_builder.py @@ -46,7 +46,7 @@ def by_synchronization_job_id(self,synchronization_job_id: str) -> Synchronizati async def get(self,request_configuration: Optional[JobsRequestBuilderGetRequestConfiguration] = None) -> Optional[SynchronizationJobCollectionResponse]: """ - List existing jobs for a given application instance (service principal). This API is available in the following national cloud deployments. + List existing jobs for a given application instance (service principal). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SynchronizationJobCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/synchronization-synchronization-list-jobs?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[JobsRequestBuilderGetRequestC async def post(self,body: Optional[SynchronizationJob] = None, request_configuration: Optional[JobsRequestBuilderPostRequestConfiguration] = None) -> Optional[SynchronizationJob]: """ - Create new synchronization job with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization. This API is available in the following national cloud deployments. + Create new synchronization job with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SynchronizationJob] @@ -93,7 +93,7 @@ async def post(self,body: Optional[SynchronizationJob] = None, request_configura def to_get_request_information(self,request_configuration: Optional[JobsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List existing jobs for a given application instance (service principal). This API is available in the following national cloud deployments. + List existing jobs for a given application instance (service principal). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[JobsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SynchronizationJob] = None, request_configuration: Optional[JobsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create new synchronization job with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization. This API is available in the following national cloud deployments. + Create new synchronization job with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[SynchronizationJob] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def validate_credentials(self) -> ValidateCredentialsRequestBuilder: @dataclass class JobsRequestBuilderGetQueryParameters(): """ - List existing jobs for a given application instance (service principal). This API is available in the following national cloud deployments. + List existing jobs for a given application instance (service principal). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/applications/item/synchronization/jobs/validate_credentials/validate_credentials_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/jobs/validate_credentials/validate_credentials_request_builder.py index c1a2828eb32..e7edade0451 100644 --- a/msgraph_beta/generated/applications/item/synchronization/jobs/validate_credentials/validate_credentials_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/jobs/validate_credentials/validate_credentials_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ValidateCredentialsPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/item/synchronization/ping/ping_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/ping/ping_request_builder.py index b077c5a3c33..37104e92805 100644 --- a/msgraph_beta/generated/applications/item/synchronization/ping/ping_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/ping/ping_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[PingRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PingRequestBuilder: diff --git a/msgraph_beta/generated/applications/item/synchronization/secrets/secrets_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/secrets/secrets_request_builder.py index 9a762a7c070..baf5bb3e0c7 100644 --- a/msgraph_beta/generated/applications/item/synchronization/secrets/secrets_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/secrets/secrets_request_builder.py @@ -67,7 +67,7 @@ def to_put_request_information(self,body: Optional[List[SynchronizationSecretKey request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/item/synchronization/synchronization_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/synchronization_request_builder.py index e85cc069a1b..bb41d63c675 100644 --- a/msgraph_beta/generated/applications/item/synchronization/synchronization_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/synchronization_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[Synchroni request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SynchronizationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[Synchronizat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_put_request_information(self,body: Optional[Synchronization] = None, request_configuration: Optional[SynchronizationRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_put_request_information(self,body: Optional[Synchronization] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/directories/directories_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/directories/directories_request_builder.py index 04549ab94e2..fe84c5bbdf0 100644 --- a/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/directories/directories_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/directories/directories_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoriesR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DirectoryDefinition] = None, request_configuration: Optional[DirectoriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DirectoryDefinition] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/directories/item/directory_definition_item_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/directories/item/directory_definition_item_request_builder.py index c15f030a420..23b5c27a393 100644 --- a/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/directories/item/directory_definition_item_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/directories/item/directory_definition_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Directory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DirectoryDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryDef request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DirectoryDefinition] = None, request_configuration: Optional[DirectoryDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DirectoryDefinition] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/directories/item/discover/discover_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/directories/item/discover/discover_request_builder.py index d93cab6f253..86ab7dc8182 100644 --- a/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/directories/item/discover/discover_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/directories/item/discover/discover_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DiscoverRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryDefinition]: """ - Discover the latest schema definition for provisioning to an application. This API is available in the following national cloud deployments. + Discover the latest schema definition for provisioning to an application. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryDefinition] Find more info here: https://learn.microsoft.com/graph/api/synchronization-directorydefinition-discover?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[DiscoverRequestBuilderPostRe def to_post_request_information(self,request_configuration: Optional[DiscoverRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Discover the latest schema definition for provisioning to an application. This API is available in the following national cloud deployments. + Discover the latest schema definition for provisioning to an application. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[DiscoverReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DiscoverRequestBuilder: diff --git a/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/filter_operators/filter_operators_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/filter_operators/filter_operators_request_builder.py index 5a05fd5ee62..31cb5f6dbe4 100644 --- a/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/filter_operators/filter_operators_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/filter_operators/filter_operators_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterOperat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterOperatorsRequestBuilder: diff --git a/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/functions/functions_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/functions/functions_request_builder.py index b5bfbe88464..b2a68db04c5 100644 --- a/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/functions/functions_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/functions/functions_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FunctionsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FunctionsRequestBuilder: diff --git a/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/parse_expression/parse_expression_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/parse_expression/parse_expression_request_builder.py index 98e79ce5de6..727d8c84882 100644 --- a/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/parse_expression/parse_expression_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/parse_expression/parse_expression_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ParseExpressionPostRequestBody] = None, request_configuration: Optional[ParseExpressionRequestBuilderPostRequestConfiguration] = None) -> Optional[ParseExpressionResponse]: """ - Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. This API is available in the following national cloud deployments. + Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ParseExpressionResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[ParseExpressionPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[ParseExpressionPostRequestBody] = None, request_configuration: Optional[ParseExpressionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. This API is available in the following national cloud deployments. + Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[ParseExpressionPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/schema_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/schema_request_builder.py index 94ee87c4fb3..884c93312e7 100644 --- a/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/schema_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/templates/item/schema/schema_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[SchemaReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SchemaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[SchemaReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SynchronizationSchema] = None, request_configuration: Optional[SchemaRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[SynchronizationSchema] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/item/synchronization/templates/item/synchronization_template_item_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/templates/item/synchronization_template_item_request_builder.py index 6c744ffe6f0..ff30d44c7f2 100644 --- a/msgraph_beta/generated/applications/item/synchronization/templates/item/synchronization_template_item_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/templates/item/synchronization_template_item_request_builder.py @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[SynchronizationTemplateItemRe async def patch(self,body: Optional[SynchronizationTemplate] = None, request_configuration: Optional[SynchronizationTemplateItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[SynchronizationTemplate]: """ - Update (override) the synchronization template associated with a given application. This API is available in the following national cloud deployments. + Update (override) the synchronization template associated with a given application. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SynchronizationTemplate] @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Synchroni request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SynchronizationTemplateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[Synchronizat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SynchronizationTemplate] = None, request_configuration: Optional[SynchronizationTemplateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update (override) the synchronization template associated with a given application. This API is available in the following national cloud deployments. + Update (override) the synchronization template associated with a given application. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[SynchronizationTemplate] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications/item/synchronization/templates/templates_request_builder.py b/msgraph_beta/generated/applications/item/synchronization/templates/templates_request_builder.py index 1dbff7df62a..b34dd324c69 100644 --- a/msgraph_beta/generated/applications/item/synchronization/templates/templates_request_builder.py +++ b/msgraph_beta/generated/applications/item/synchronization/templates/templates_request_builder.py @@ -45,7 +45,7 @@ def by_synchronization_template_id(self,synchronization_template_id: str) -> Syn async def get(self,request_configuration: Optional[TemplatesRequestBuilderGetRequestConfiguration] = None) -> Optional[SynchronizationTemplateCollectionResponse]: """ - List the synchronization templates associated with a given application or service principal. This API is available in the following national cloud deployments. + List the synchronization templates associated with a given application or service principal. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SynchronizationTemplateCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/synchronization-synchronization-list-templates?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[SynchronizationTemplate] = None, request_conf def to_get_request_information(self,request_configuration: Optional[TemplatesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the synchronization templates associated with a given application or service principal. This API is available in the following national cloud deployments. + List the synchronization templates associated with a given application or service principal. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[TemplatesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SynchronizationTemplate] = None, request_configuration: Optional[TemplatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SynchronizationTemplate] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TemplatesRequestBuilderGetQueryParameters(): """ - List the synchronization templates associated with a given application or service principal. This API is available in the following national cloud deployments. + List the synchronization templates associated with a given application or service principal. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/applications/item/token_issuance_policies/item/ref/ref_request_builder.py b/msgraph_beta/generated/applications/item/token_issuance_policies/item/ref/ref_request_builder.py index f7bd935465a..b7c3450d932 100644 --- a/msgraph_beta/generated/applications/item/token_issuance_policies/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/applications/item/token_issuance_policies/item/ref/ref_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a tokenIssuancePolicy from an application. This API is available in the following national cloud deployments. + Remove a tokenIssuancePolicy from an application. 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/application-delete-tokenissuancepolicies?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a tokenIssuancePolicy from an application. This API is available in the following national cloud deployments. + Remove a tokenIssuancePolicy from an application. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Remove a tokenIssuancePolicy from an application. This API is available in the following national cloud deployments. + Remove a tokenIssuancePolicy from an application. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/applications/item/token_issuance_policies/ref/ref_request_builder.py b/msgraph_beta/generated/applications/item/token_issuance_policies/ref/ref_request_builder.py index 9503b264001..97931aad31a 100644 --- a/msgraph_beta/generated/applications/item/token_issuance_policies/ref/ref_request_builder.py +++ b/msgraph_beta/generated/applications/item/token_issuance_policies/ref/ref_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - List the tokenIssuancePolicy objects that are assigned to an application. This API is available in the following national cloud deployments. + List the tokenIssuancePolicy objects that are assigned to an application. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/application-list-tokenissuancepolicies?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Assign a tokenIssuancePolicy to an application. This API is available in the following national cloud deployments. + Assign a tokenIssuancePolicy to an application. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -74,7 +74,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the tokenIssuancePolicy objects that are assigned to an application. This API is available in the following national cloud deployments. + List the tokenIssuancePolicy objects that are assigned to an application. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Assign a tokenIssuancePolicy to an application. This API is available in the following national cloud deployments. + Assign a tokenIssuancePolicy to an application. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -122,7 +122,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderGetQueryParameters(): """ - List the tokenIssuancePolicy objects that are assigned to an application. This API is available in the following national cloud deployments. + List the tokenIssuancePolicy objects that are assigned to an application. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/applications/item/token_issuance_policies/token_issuance_policies_request_builder.py b/msgraph_beta/generated/applications/item/token_issuance_policies/token_issuance_policies_request_builder.py index 0de92dfd57e..c83079ed2e5 100644 --- a/msgraph_beta/generated/applications/item/token_issuance_policies/token_issuance_policies_request_builder.py +++ b/msgraph_beta/generated/applications/item/token_issuance_policies/token_issuance_policies_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_token_issuance_policy_id(self,token_issuance_policy_id: str) -> TokenIssuancePolicyItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.applications.item.tokenIssuancePolicies.item collection - param token_issuance_policy_id: Unique identifier of the item + param token_issuance_policy_id: The unique identifier of tokenIssuancePolicy Returns: TokenIssuancePolicyItemRequestBuilder """ if not token_issuance_policy_id: @@ -45,7 +45,7 @@ def by_token_issuance_policy_id(self,token_issuance_policy_id: str) -> TokenIssu async def get(self,request_configuration: Optional[TokenIssuancePoliciesRequestBuilderGetRequestConfiguration] = None) -> Optional[TokenIssuancePolicyCollectionResponse]: """ - List the tokenIssuancePolicy objects that are assigned to an application. This API is available in the following national cloud deployments. + List the tokenIssuancePolicy objects that are assigned to an application. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TokenIssuancePolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/application-list-tokenissuancepolicies?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TokenIssuancePoliciesRequestB def to_get_request_information(self,request_configuration: Optional[TokenIssuancePoliciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the tokenIssuancePolicy objects that are assigned to an application. This API is available in the following national cloud deployments. + List the tokenIssuancePolicy objects that are assigned to an application. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[TokenIssuanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TokenIssuancePoliciesRequestBuilder: @@ -113,7 +113,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class TokenIssuancePoliciesRequestBuilderGetQueryParameters(): """ - List the tokenIssuancePolicy objects that are assigned to an application. This API is available in the following national cloud deployments. + List the tokenIssuancePolicy objects that are assigned to an application. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/applications/item/token_lifetime_policies/item/ref/ref_request_builder.py b/msgraph_beta/generated/applications/item/token_lifetime_policies/item/ref/ref_request_builder.py index de6571899eb..d978cefe9c2 100644 --- a/msgraph_beta/generated/applications/item/token_lifetime_policies/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/applications/item/token_lifetime_policies/item/ref/ref_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a tokenLifetimePolicy from an application or servicePrincipal. This API is available in the following national cloud deployments. + Remove a tokenLifetimePolicy from an application or servicePrincipal. 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/application-delete-tokenlifetimepolicies?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a tokenLifetimePolicy from an application or servicePrincipal. This API is available in the following national cloud deployments. + Remove a tokenLifetimePolicy from an application or servicePrincipal. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Remove a tokenLifetimePolicy from an application or servicePrincipal. This API is available in the following national cloud deployments. + Remove a tokenLifetimePolicy from an application or servicePrincipal. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/applications/item/token_lifetime_policies/ref/ref_request_builder.py b/msgraph_beta/generated/applications/item/token_lifetime_policies/ref/ref_request_builder.py index 40e6f6e1b85..a1cf3aaf6e9 100644 --- a/msgraph_beta/generated/applications/item/token_lifetime_policies/ref/ref_request_builder.py +++ b/msgraph_beta/generated/applications/item/token_lifetime_policies/ref/ref_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - List the tokenLifetimePolicy objects that are assigned to an application or servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. This API is available in the following national cloud deployments. + List the tokenLifetimePolicy objects that are assigned to an application or servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/application-list-tokenlifetimepolicies?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Assign a tokenLifetimePolicy to an application or servicePrincipal. You can have multiple tokenLifetimePolicy policies in a tenant but can assign only one tokenLifetimePolicy per application. This API is available in the following national cloud deployments. + Assign a tokenLifetimePolicy to an application or servicePrincipal. You can have multiple tokenLifetimePolicy policies in a tenant but can assign only one tokenLifetimePolicy per application. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -74,7 +74,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the tokenLifetimePolicy objects that are assigned to an application or servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. This API is available in the following national cloud deployments. + List the tokenLifetimePolicy objects that are assigned to an application or servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Assign a tokenLifetimePolicy to an application or servicePrincipal. You can have multiple tokenLifetimePolicy policies in a tenant but can assign only one tokenLifetimePolicy per application. This API is available in the following national cloud deployments. + Assign a tokenLifetimePolicy to an application or servicePrincipal. You can have multiple tokenLifetimePolicy policies in a tenant but can assign only one tokenLifetimePolicy per application. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -122,7 +122,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderGetQueryParameters(): """ - List the tokenLifetimePolicy objects that are assigned to an application or servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. This API is available in the following national cloud deployments. + List the tokenLifetimePolicy objects that are assigned to an application or servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/applications/item/token_lifetime_policies/token_lifetime_policies_request_builder.py b/msgraph_beta/generated/applications/item/token_lifetime_policies/token_lifetime_policies_request_builder.py index 1dbf629f2ad..7d5b056b197 100644 --- a/msgraph_beta/generated/applications/item/token_lifetime_policies/token_lifetime_policies_request_builder.py +++ b/msgraph_beta/generated/applications/item/token_lifetime_policies/token_lifetime_policies_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_token_lifetime_policy_id(self,token_lifetime_policy_id: str) -> TokenLifetimePolicyItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.applications.item.tokenLifetimePolicies.item collection - param token_lifetime_policy_id: Unique identifier of the item + param token_lifetime_policy_id: The unique identifier of tokenLifetimePolicy Returns: TokenLifetimePolicyItemRequestBuilder """ if not token_lifetime_policy_id: @@ -45,7 +45,7 @@ def by_token_lifetime_policy_id(self,token_lifetime_policy_id: str) -> TokenLife async def get(self,request_configuration: Optional[TokenLifetimePoliciesRequestBuilderGetRequestConfiguration] = None) -> Optional[TokenLifetimePolicyCollectionResponse]: """ - List the tokenLifetimePolicy objects that are assigned to an application or servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. This API is available in the following national cloud deployments. + List the tokenLifetimePolicy objects that are assigned to an application or servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TokenLifetimePolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/application-list-tokenlifetimepolicies?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TokenLifetimePoliciesRequestB def to_get_request_information(self,request_configuration: Optional[TokenLifetimePoliciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the tokenLifetimePolicy objects that are assigned to an application or servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. This API is available in the following national cloud deployments. + List the tokenLifetimePolicy objects that are assigned to an application or servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[TokenLifetim request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TokenLifetimePoliciesRequestBuilder: @@ -113,7 +113,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class TokenLifetimePoliciesRequestBuilderGetQueryParameters(): """ - List the tokenLifetimePolicy objects that are assigned to an application or servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. This API is available in the following national cloud deployments. + List the tokenLifetimePolicy objects that are assigned to an application or servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/applications/item/unset_verified_publisher/unset_verified_publisher_request_builder.py b/msgraph_beta/generated/applications/item/unset_verified_publisher/unset_verified_publisher_request_builder.py index bb1331a0f39..3bf6c0fef7f 100644 --- a/msgraph_beta/generated/applications/item/unset_verified_publisher/unset_verified_publisher_request_builder.py +++ b/msgraph_beta/generated/applications/item/unset_verified_publisher/unset_verified_publisher_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UnsetVerifiedPublisherRequestBuilderPostRequestConfiguration] = None) -> None: """ - Unset the verifiedPublisher previously set on an application, removing all verified publisher properties. For more information, see Publisher verification. This API is available in the following national cloud deployments. + Unset the verifiedPublisher previously set on an application, removing all verified publisher properties. For more information, see Publisher verification. 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/application-unsetverifiedpublisher?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UnsetVerifiedPublisherReques def to_post_request_information(self,request_configuration: Optional[UnsetVerifiedPublisherRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Unset the verifiedPublisher previously set on an application, removing all verified publisher properties. For more information, see Publisher verification. This API is available in the following national cloud deployments. + Unset the verifiedPublisher previously set on an application, removing all verified publisher properties. For more information, see Publisher verification. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UnsetVerifi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnsetVerifiedPublisherRequestBuilder: diff --git a/msgraph_beta/generated/applications/validate_properties/validate_properties_request_builder.py b/msgraph_beta/generated/applications/validate_properties/validate_properties_request_builder.py index b5ffdf30285..d1e06a3138b 100644 --- a/msgraph_beta/generated/applications/validate_properties/validate_properties_request_builder.py +++ b/msgraph_beta/generated/applications/validate_properties/validate_properties_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> None: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, re def to_post_request_information(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ValidatePropertiesPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/applications_with_app_id/applications_with_app_id_request_builder.py b/msgraph_beta/generated/applications_with_app_id/applications_with_app_id_request_builder.py index 1e21af3fb50..53c365fa6eb 100644 --- a/msgraph_beta/generated/applications_with_app_id/applications_with_app_id_request_builder.py +++ b/msgraph_beta/generated/applications_with_app_id/applications_with_app_id_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ApplicationsWithAppIdRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API is available in the following national cloud deployments. + Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. 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/application-delete?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[ApplicationsWithAppIdReque async def get(self,request_configuration: Optional[ApplicationsWithAppIdRequestBuilderGetRequestConfiguration] = None) -> Optional[Application]: """ - Get the properties and relationships of an application object. This API is available in the following national cloud deployments. + Get the properties and relationships of an application object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Application] Find more info here: https://learn.microsoft.com/graph/api/application-get?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[ApplicationsWithAppIdRequestB async def patch(self,body: Optional[Application] = None, request_configuration: Optional[ApplicationsWithAppIdRequestBuilderPatchRequestConfiguration] = None) -> Optional[Application]: """ - Update the properties of an application object. This API is available in the following national cloud deployments. + Update the properties of an application object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Application] @@ -98,7 +98,7 @@ async def patch(self,body: Optional[Application] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[ApplicationsWithAppIdRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API is available in the following national cloud deployments. + Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[Applicati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ApplicationsWithAppIdRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of an application object. This API is available in the following national cloud deployments. + Get the properties and relationships of an application object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,12 +126,12 @@ def to_get_request_information(self,request_configuration: Optional[Applications request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Application] = None, request_configuration: Optional[ApplicationsWithAppIdRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an application object. This API is available in the following national cloud deployments. + Update the properties of an application object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[Application] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -172,7 +172,7 @@ class ApplicationsWithAppIdRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class ApplicationsWithAppIdRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of an application object. This API is available in the following national cloud deployments. + Get the properties and relationships of an application object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/applications_with_unique_name/applications_with_unique_name_request_builder.py b/msgraph_beta/generated/applications_with_unique_name/applications_with_unique_name_request_builder.py index 05ed6a77b0f..9b706c16fdc 100644 --- a/msgraph_beta/generated/applications_with_unique_name/applications_with_unique_name_request_builder.py +++ b/msgraph_beta/generated/applications_with_unique_name/applications_with_unique_name_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ApplicationsWithUniqueNameRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API is available in the following national cloud deployments. + Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. 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/application-delete?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[ApplicationsWithUniqueName async def get(self,request_configuration: Optional[ApplicationsWithUniqueNameRequestBuilderGetRequestConfiguration] = None) -> Optional[Application]: """ - Get the properties and relationships of an application object. This API is available in the following national cloud deployments. + Get the properties and relationships of an application object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Application] Find more info here: https://learn.microsoft.com/graph/api/application-get?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[ApplicationsWithUniqueNameReq async def patch(self,body: Optional[Application] = None, request_configuration: Optional[ApplicationsWithUniqueNameRequestBuilderPatchRequestConfiguration] = None) -> Optional[Application]: """ - Update the properties of an application object. This API is available in the following national cloud deployments. + Update the properties of an application object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Application] @@ -98,7 +98,7 @@ async def patch(self,body: Optional[Application] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[ApplicationsWithUniqueNameRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API is available in the following national cloud deployments. + Deletes an application. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[Applicati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ApplicationsWithUniqueNameRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of an application object. This API is available in the following national cloud deployments. + Get the properties and relationships of an application object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,12 +126,12 @@ def to_get_request_information(self,request_configuration: Optional[Applications request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Application] = None, request_configuration: Optional[ApplicationsWithUniqueNameRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an application object. This API is available in the following national cloud deployments. + Update the properties of an application object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[Application] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -172,7 +172,7 @@ class ApplicationsWithUniqueNameRequestBuilderDeleteRequestConfiguration(BaseReq @dataclass class ApplicationsWithUniqueNameRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of an application object. This API is available in the following national cloud deployments. + Get the properties and relationships of an application object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/approval_workflow_providers/approval_workflow_providers_request_builder.py b/msgraph_beta/generated/approval_workflow_providers/approval_workflow_providers_request_builder.py index 9194f08fbd9..f763787811a 100644 --- a/msgraph_beta/generated/approval_workflow_providers/approval_workflow_providers_request_builder.py +++ b/msgraph_beta/generated/approval_workflow_providers/approval_workflow_providers_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ApprovalWork request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ApprovalWorkflowProvider] = None, request_configuration: Optional[ApprovalWorkflowProvidersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ApprovalWorkflowProvider] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/approval_workflow_providers/item/approval_workflow_provider_item_request_builder.py b/msgraph_beta/generated/approval_workflow_providers/item/approval_workflow_provider_item_request_builder.py index 673707e6043..17974f16207 100644 --- a/msgraph_beta/generated/approval_workflow_providers/item/approval_workflow_provider_item_request_builder.py +++ b/msgraph_beta/generated/approval_workflow_providers/item/approval_workflow_provider_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[ApprovalW request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ApprovalWorkflowProviderItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[ApprovalWork request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ApprovalWorkflowProvider] = None, request_configuration: Optional[ApprovalWorkflowProviderItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ApprovalWorkflowProvider] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/approval_workflow_providers/item/business_flows/business_flows_request_builder.py b/msgraph_beta/generated/approval_workflow_providers/item/business_flows/business_flows_request_builder.py index f9d316babb6..703faab391a 100644 --- a/msgraph_beta/generated/approval_workflow_providers/item/business_flows/business_flows_request_builder.py +++ b/msgraph_beta/generated/approval_workflow_providers/item/business_flows/business_flows_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[BusinessFlow request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[BusinessFlow] = None, request_configuration: Optional[BusinessFlowsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[BusinessFlow] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/approval_workflow_providers/item/business_flows/item/business_flow_item_request_builder.py b/msgraph_beta/generated/approval_workflow_providers/item/business_flows/item/business_flow_item_request_builder.py index 101b9766318..b02a7e5120a 100644 --- a/msgraph_beta/generated/approval_workflow_providers/item/business_flows/item/business_flow_item_request_builder.py +++ b/msgraph_beta/generated/approval_workflow_providers/item/business_flows/item/business_flow_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[BusinessF request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BusinessFlowItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[BusinessFlow request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[BusinessFlow] = None, request_configuration: Optional[BusinessFlowItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[BusinessFlow] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/approval_workflow_providers/item/business_flows/item/record_decisions/record_decisions_request_builder.py b/msgraph_beta/generated/approval_workflow_providers/item/business_flows/item/record_decisions/record_decisions_request_builder.py index 10f52f79834..9a3a06b4c58 100644 --- a/msgraph_beta/generated/approval_workflow_providers/item/business_flows/item/record_decisions/record_decisions_request_builder.py +++ b/msgraph_beta/generated/approval_workflow_providers/item/business_flows/item/record_decisions/record_decisions_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[RecordDecisionsPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/approval_workflow_providers/item/business_flows_with_requests_awaiting_my_decision/business_flows_with_requests_awaiting_my_decision_request_builder.py b/msgraph_beta/generated/approval_workflow_providers/item/business_flows_with_requests_awaiting_my_decision/business_flows_with_requests_awaiting_my_decision_request_builder.py index a7b0faca516..25e6122ef1b 100644 --- a/msgraph_beta/generated/approval_workflow_providers/item/business_flows_with_requests_awaiting_my_decision/business_flows_with_requests_awaiting_my_decision_request_builder.py +++ b/msgraph_beta/generated/approval_workflow_providers/item/business_flows_with_requests_awaiting_my_decision/business_flows_with_requests_awaiting_my_decision_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[BusinessFlow request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[BusinessFlow] = None, request_configuration: Optional[BusinessFlowsWithRequestsAwaitingMyDecisionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[BusinessFlow] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/approval_workflow_providers/item/business_flows_with_requests_awaiting_my_decision/item/business_flow_item_request_builder.py b/msgraph_beta/generated/approval_workflow_providers/item/business_flows_with_requests_awaiting_my_decision/item/business_flow_item_request_builder.py index fc80eb6a18a..d688610b520 100644 --- a/msgraph_beta/generated/approval_workflow_providers/item/business_flows_with_requests_awaiting_my_decision/item/business_flow_item_request_builder.py +++ b/msgraph_beta/generated/approval_workflow_providers/item/business_flows_with_requests_awaiting_my_decision/item/business_flow_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[BusinessF request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BusinessFlowItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[BusinessFlow request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[BusinessFlow] = None, request_configuration: Optional[BusinessFlowItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[BusinessFlow] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/approval_workflow_providers/item/business_flows_with_requests_awaiting_my_decision/item/record_decisions/record_decisions_request_builder.py b/msgraph_beta/generated/approval_workflow_providers/item/business_flows_with_requests_awaiting_my_decision/item/record_decisions/record_decisions_request_builder.py index e8eb4c6ab98..b0df7da8872 100644 --- a/msgraph_beta/generated/approval_workflow_providers/item/business_flows_with_requests_awaiting_my_decision/item/record_decisions/record_decisions_request_builder.py +++ b/msgraph_beta/generated/approval_workflow_providers/item/business_flows_with_requests_awaiting_my_decision/item/record_decisions/record_decisions_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[RecordDecisionsPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/approval_workflow_providers/item/policy_templates/item/governance_policy_template_item_request_builder.py b/msgraph_beta/generated/approval_workflow_providers/item/policy_templates/item/governance_policy_template_item_request_builder.py index 8e71e1284bf..c649768a057 100644 --- a/msgraph_beta/generated/approval_workflow_providers/item/policy_templates/item/governance_policy_template_item_request_builder.py +++ b/msgraph_beta/generated/approval_workflow_providers/item/policy_templates/item/governance_policy_template_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Governanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GovernancePolicyTemplateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernancePo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernancePolicyTemplate] = None, request_configuration: Optional[GovernancePolicyTemplateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[GovernancePolicyTemplate] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/approval_workflow_providers/item/policy_templates/policy_templates_request_builder.py b/msgraph_beta/generated/approval_workflow_providers/item/policy_templates/policy_templates_request_builder.py index 389ed53a217..7f8a46f5abd 100644 --- a/msgraph_beta/generated/approval_workflow_providers/item/policy_templates/policy_templates_request_builder.py +++ b/msgraph_beta/generated/approval_workflow_providers/item/policy_templates/policy_templates_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PolicyTempla request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GovernancePolicyTemplate] = None, request_configuration: Optional[PolicyTemplatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GovernancePolicyTemplate] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/audit_logs/audit_logs_request_builder.py b/msgraph_beta/generated/audit_logs/audit_logs_request_builder.py index 1e745c470c4..8bc373ef9dc 100644 --- a/msgraph_beta/generated/audit_logs/audit_logs_request_builder.py +++ b/msgraph_beta/generated/audit_logs/audit_logs_request_builder.py @@ -90,7 +90,7 @@ def to_get_request_information(self,request_configuration: Optional[AuditLogsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AuditLogRoot] = None, request_configuration: Optional[AuditLogsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -109,7 +109,7 @@ def to_patch_request_information(self,body: Optional[AuditLogRoot] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/audit_logs/custom_security_attribute_audits/custom_security_attribute_audits_request_builder.py b/msgraph_beta/generated/audit_logs/custom_security_attribute_audits/custom_security_attribute_audits_request_builder.py index 33fdc5d384f..ad54dcd53f0 100644 --- a/msgraph_beta/generated/audit_logs/custom_security_attribute_audits/custom_security_attribute_audits_request_builder.py +++ b/msgraph_beta/generated/audit_logs/custom_security_attribute_audits/custom_security_attribute_audits_request_builder.py @@ -45,9 +45,10 @@ def by_custom_security_attribute_audit_id(self,custom_security_attribute_audit_i async def get(self,request_configuration: Optional[CustomSecurityAttributeAuditsRequestBuilderGetRequestConfiguration] = None) -> Optional[CustomSecurityAttributeAuditCollectionResponse]: """ - Get customSecurityAttributeAudits from auditLogs + Get the list of audit logs generated by activities related to custom security attribute management in Microsoft Entra ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomSecurityAttributeAuditCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/auditlogroot-list-customsecurityattributeaudits?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -90,7 +91,7 @@ async def post(self,body: Optional[CustomSecurityAttributeAudit] = None, request def to_get_request_information(self,request_configuration: Optional[CustomSecurityAttributeAuditsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get customSecurityAttributeAudits from auditLogs + Get the list of audit logs generated by activities related to custom security attribute management in Microsoft Entra ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomSecuri request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CustomSecurityAttributeAudit] = None, request_configuration: Optional[CustomSecurityAttributeAuditsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +122,7 @@ def to_post_request_information(self,body: Optional[CustomSecurityAttributeAudit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CustomSecurityAttributeAuditsRequestBuilderGetQueryParameters(): """ - Get customSecurityAttributeAudits from auditLogs + Get the list of audit logs generated by activities related to custom security attribute management in Microsoft Entra ID. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/audit_logs/custom_security_attribute_audits/item/custom_security_attribute_audit_item_request_builder.py b/msgraph_beta/generated/audit_logs/custom_security_attribute_audits/item/custom_security_attribute_audit_item_request_builder.py index 8a8d644c456..4a61e0eff43 100644 --- a/msgraph_beta/generated/audit_logs/custom_security_attribute_audits/item/custom_security_attribute_audit_item_request_builder.py +++ b/msgraph_beta/generated/audit_logs/custom_security_attribute_audits/item/custom_security_attribute_audit_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[CustomSecurityAttributeAud async def get(self,request_configuration: Optional[CustomSecurityAttributeAuditItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CustomSecurityAttributeAudit]: """ - Get customSecurityAttributeAudits from auditLogs + Represents a custom security attribute audit log. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomSecurityAttributeAudit] """ @@ -103,12 +103,12 @@ def to_delete_request_information(self,request_configuration: Optional[CustomSec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CustomSecurityAttributeAuditItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get customSecurityAttributeAudits from auditLogs + Represents a custom security attribute audit log. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomSecuri request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CustomSecurityAttributeAudit] = None, request_configuration: Optional[CustomSecurityAttributeAuditItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[CustomSecurityAttributeAudi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -166,7 +166,7 @@ class CustomSecurityAttributeAuditItemRequestBuilderDeleteRequestConfiguration(B @dataclass class CustomSecurityAttributeAuditItemRequestBuilderGetQueryParameters(): """ - Get customSecurityAttributeAudits from auditLogs + Represents a custom security attribute audit log. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/audit_logs/directory_audits/directory_audits_request_builder.py b/msgraph_beta/generated/audit_logs/directory_audits/directory_audits_request_builder.py index f38dad2fd68..fdaaa9cf223 100644 --- a/msgraph_beta/generated/audit_logs/directory_audits/directory_audits_request_builder.py +++ b/msgraph_beta/generated/audit_logs/directory_audits/directory_audits_request_builder.py @@ -45,7 +45,7 @@ def by_directory_audit_id(self,directory_audit_id: str) -> DirectoryAuditItemReq async def get(self,request_configuration: Optional[DirectoryAuditsRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryAuditCollectionResponse]: """ - Get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (SSPR and admin password resets), and self service group management. This API is available in the following national cloud deployments. + Get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (SSPR and admin password resets), and self service group management. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryAuditCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/directoryaudit-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[DirectoryAudit] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[DirectoryAuditsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (SSPR and admin password resets), and self service group management. This API is available in the following national cloud deployments. + Get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (SSPR and admin password resets), and self service group management. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryAud request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DirectoryAudit] = None, request_configuration: Optional[DirectoryAuditsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[DirectoryAudit] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DirectoryAuditsRequestBuilderGetQueryParameters(): """ - Get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (SSPR and admin password resets), and self service group management. This API is available in the following national cloud deployments. + Get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (SSPR and admin password resets), and self service group management. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/audit_logs/directory_audits/item/directory_audit_item_request_builder.py b/msgraph_beta/generated/audit_logs/directory_audits/item/directory_audit_item_request_builder.py index 3a7c7ab3116..fe6836e63e6 100644 --- a/msgraph_beta/generated/audit_logs/directory_audits/item/directory_audit_item_request_builder.py +++ b/msgraph_beta/generated/audit_logs/directory_audits/item/directory_audit_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[DirectoryAuditItemRequestB async def get(self,request_configuration: Optional[DirectoryAuditItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryAudit]: """ - Get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on. This API is available in the following national cloud deployments. + Get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryAudit] Find more info here: https://learn.microsoft.com/graph/api/directoryaudit-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Directory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DirectoryAuditItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on. This API is available in the following national cloud deployments. + Get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryAud request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DirectoryAudit] = None, request_configuration: Optional[DirectoryAuditItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DirectoryAudit] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class DirectoryAuditItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class DirectoryAuditItemRequestBuilderGetQueryParameters(): """ - Get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on. This API is available in the following national cloud deployments. + Get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/audit_logs/directory_provisioning/directory_provisioning_request_builder.py b/msgraph_beta/generated/audit_logs/directory_provisioning/directory_provisioning_request_builder.py index 771588a7cab..06df17f9805 100644 --- a/msgraph_beta/generated/audit_logs/directory_provisioning/directory_provisioning_request_builder.py +++ b/msgraph_beta/generated/audit_logs/directory_provisioning/directory_provisioning_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryPro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ProvisioningObjectSummary] = None, request_configuration: Optional[DirectoryProvisioningRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ProvisioningObjectSummary] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/audit_logs/directory_provisioning/item/provisioning_object_summary_item_request_builder.py b/msgraph_beta/generated/audit_logs/directory_provisioning/item/provisioning_object_summary_item_request_builder.py index 7911037c35b..c1733cc1012 100644 --- a/msgraph_beta/generated/audit_logs/directory_provisioning/item/provisioning_object_summary_item_request_builder.py +++ b/msgraph_beta/generated/audit_logs/directory_provisioning/item/provisioning_object_summary_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Provision request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ProvisioningObjectSummaryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[Provisioning request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ProvisioningObjectSummary] = None, request_configuration: Optional[ProvisioningObjectSummaryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ProvisioningObjectSummary] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/audit_logs/provisioning/item/provisioning_object_summary_item_request_builder.py b/msgraph_beta/generated/audit_logs/provisioning/item/provisioning_object_summary_item_request_builder.py index 9e7867bd123..1d6baa42bc8 100644 --- a/msgraph_beta/generated/audit_logs/provisioning/item/provisioning_object_summary_item_request_builder.py +++ b/msgraph_beta/generated/audit_logs/provisioning/item/provisioning_object_summary_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ProvisioningObjectSummaryI async def get(self,request_configuration: Optional[ProvisioningObjectSummaryItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ProvisioningObjectSummary]: """ - Get provisioning from auditLogs + Represents an action performed by the Microsoft Entra provisioning service and its associated properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProvisioningObjectSummary] """ @@ -103,12 +103,12 @@ def to_delete_request_information(self,request_configuration: Optional[Provision request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ProvisioningObjectSummaryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get provisioning from auditLogs + Represents an action performed by the Microsoft Entra provisioning service and its associated properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[Provisioning request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ProvisioningObjectSummary] = None, request_configuration: Optional[ProvisioningObjectSummaryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ProvisioningObjectSummary] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -166,7 +166,7 @@ class ProvisioningObjectSummaryItemRequestBuilderDeleteRequestConfiguration(Base @dataclass class ProvisioningObjectSummaryItemRequestBuilderGetQueryParameters(): """ - Get provisioning from auditLogs + Represents an action performed by the Microsoft Entra provisioning service and its associated properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/audit_logs/provisioning/provisioning_request_builder.py b/msgraph_beta/generated/audit_logs/provisioning/provisioning_request_builder.py index 745ca6c2714..8080235b929 100644 --- a/msgraph_beta/generated/audit_logs/provisioning/provisioning_request_builder.py +++ b/msgraph_beta/generated/audit_logs/provisioning/provisioning_request_builder.py @@ -45,7 +45,7 @@ def by_provisioning_object_summary_id(self,provisioning_object_summary_id: str) async def get(self,request_configuration: Optional[ProvisioningRequestBuilderGetRequestConfiguration] = None) -> Optional[ProvisioningObjectSummaryCollectionResponse]: """ - Get all provisioning events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system. This API is available in the following national cloud deployments. + Get all provisioning events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProvisioningObjectSummaryCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/provisioningobjectsummary-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ProvisioningObjectSummary] = None, request_co def to_get_request_information(self,request_configuration: Optional[ProvisioningRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get all provisioning events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system. This API is available in the following national cloud deployments. + Get all provisioning events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[Provisioning request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ProvisioningObjectSummary] = None, request_configuration: Optional[ProvisioningRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ProvisioningObjectSummary] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ProvisioningRequestBuilderGetQueryParameters(): """ - Get all provisioning events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system. This API is available in the following national cloud deployments. + Get all provisioning events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/audit_logs/sign_ins/confirm_compromised/confirm_compromised_request_builder.py b/msgraph_beta/generated/audit_logs/sign_ins/confirm_compromised/confirm_compromised_request_builder.py index 798800b2012..51e4c881f36 100644 --- a/msgraph_beta/generated/audit_logs/sign_ins/confirm_compromised/confirm_compromised_request_builder.py +++ b/msgraph_beta/generated/audit_logs/sign_ins/confirm_compromised/confirm_compromised_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ConfirmCompromisedPostRequestBody] = None, request_configuration: Optional[ConfirmCompromisedRequestBuilderPostRequestConfiguration] = None) -> None: """ - Allow admins to mark an event in the Microsoft Entra sign-in logs as risky. Events marked as risky by an admin are immediately flagged as high risk in Microsoft Entra ID Protection, overriding previous risk states. Admins can confirm that events flagged as risky by Microsoft Entra ID Protection are in fact risky. For details about investigating Identity Protection risks, see How to investigate risk. This API is available in the following national cloud deployments. + Allow admins to mark an event in the Microsoft Entra sign-in logs as risky. Events marked as risky by an admin are immediately flagged as high risk in Microsoft Entra ID Protection, overriding previous risk states. Admins can confirm that events flagged as risky by Microsoft Entra ID Protection are in fact risky. For details about investigating Identity Protection risks, see How to investigate risk. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ConfirmCompromisedPostRequestBody] = None, re def to_post_request_information(self,body: Optional[ConfirmCompromisedPostRequestBody] = None, request_configuration: Optional[ConfirmCompromisedRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Allow admins to mark an event in the Microsoft Entra sign-in logs as risky. Events marked as risky by an admin are immediately flagged as high risk in Microsoft Entra ID Protection, overriding previous risk states. Admins can confirm that events flagged as risky by Microsoft Entra ID Protection are in fact risky. For details about investigating Identity Protection risks, see How to investigate risk. This API is available in the following national cloud deployments. + Allow admins to mark an event in the Microsoft Entra sign-in logs as risky. Events marked as risky by an admin are immediately flagged as high risk in Microsoft Entra ID Protection, overriding previous risk states. Admins can confirm that events flagged as risky by Microsoft Entra ID Protection are in fact risky. For details about investigating Identity Protection risks, see How to investigate risk. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ConfirmCompromisedPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/audit_logs/sign_ins/confirm_safe/confirm_safe_request_builder.py b/msgraph_beta/generated/audit_logs/sign_ins/confirm_safe/confirm_safe_request_builder.py index 087d99497ec..437b33c39a7 100644 --- a/msgraph_beta/generated/audit_logs/sign_ins/confirm_safe/confirm_safe_request_builder.py +++ b/msgraph_beta/generated/audit_logs/sign_ins/confirm_safe/confirm_safe_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ConfirmSafePostRequestBody] = None, request_configuration: Optional[ConfirmSafeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Allow admins to mark an event in Microsoft Entra sign-in logs as safe. Admins can either mark the events flagged as risky by Microsoft Entra ID Protection as safe, or they can mark unflagged events as safe. For details about investigating Identity Protection risks, see How to investigate risk. This API is available in the following national cloud deployments. + Allow admins to mark an event in Microsoft Entra sign-in logs as safe. Admins can either mark the events flagged as risky by Microsoft Entra ID Protection as safe, or they can mark unflagged events as safe. For details about investigating Identity Protection risks, see How to investigate risk. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ConfirmSafePostRequestBody] = None, request_c def to_post_request_information(self,body: Optional[ConfirmSafePostRequestBody] = None, request_configuration: Optional[ConfirmSafeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Allow admins to mark an event in Microsoft Entra sign-in logs as safe. Admins can either mark the events flagged as risky by Microsoft Entra ID Protection as safe, or they can mark unflagged events as safe. For details about investigating Identity Protection risks, see How to investigate risk. This API is available in the following national cloud deployments. + Allow admins to mark an event in Microsoft Entra sign-in logs as safe. Admins can either mark the events flagged as risky by Microsoft Entra ID Protection as safe, or they can mark unflagged events as safe. For details about investigating Identity Protection risks, see How to investigate risk. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ConfirmSafePostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/audit_logs/sign_ins/item/sign_in_item_request_builder.py b/msgraph_beta/generated/audit_logs/sign_ins/item/sign_in_item_request_builder.py index 8c7d743cfda..ad16bd64786 100644 --- a/msgraph_beta/generated/audit_logs/sign_ins/item/sign_in_item_request_builder.py +++ b/msgraph_beta/generated/audit_logs/sign_ins/item/sign_in_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[SignInItemRequestBuilderDe async def get(self,request_configuration: Optional[SignInItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SignIn]: """ - Get a signIn object that contains a specific user sign-in event for your tenant that includes sign-ins where a user is asked to enter a username or password, and session tokens. This API is available in the following national cloud deployments. + Get a signIn object that contains a specific user sign-in event for your tenant that includes sign-ins where a user is asked to enter a username or password, and session tokens. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SignIn] Find more info here: https://learn.microsoft.com/graph/api/signin-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[SignInIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SignInItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a signIn object that contains a specific user sign-in event for your tenant that includes sign-ins where a user is asked to enter a username or password, and session tokens. This API is available in the following national cloud deployments. + Get a signIn object that contains a specific user sign-in event for your tenant that includes sign-ins where a user is asked to enter a username or password, and session tokens. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[SignInItemRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SignIn] = None, request_configuration: Optional[SignInItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[SignIn] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class SignInItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguratio @dataclass class SignInItemRequestBuilderGetQueryParameters(): """ - Get a signIn object that contains a specific user sign-in event for your tenant that includes sign-ins where a user is asked to enter a username or password, and session tokens. This API is available in the following national cloud deployments. + Get a signIn object that contains a specific user sign-in event for your tenant that includes sign-ins where a user is asked to enter a username or password, and session tokens. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/audit_logs/sign_ins/sign_ins_request_builder.py b/msgraph_beta/generated/audit_logs/sign_ins/sign_ins_request_builder.py index ab186843d1d..e502474795f 100644 --- a/msgraph_beta/generated/audit_logs/sign_ins/sign_ins_request_builder.py +++ b/msgraph_beta/generated/audit_logs/sign_ins/sign_ins_request_builder.py @@ -47,7 +47,7 @@ def by_sign_in_id(self,sign_in_id: str) -> SignInItemRequestBuilder: async def get(self,request_configuration: Optional[SignInsRequestBuilderGetRequestConfiguration] = None) -> Optional[SignInCollectionResponse]: """ - Get a list of signIn objects. The list contains the user sign-ins for your Microsoft Entra tenant. Sign-ins where a username and password are passed as part of authorization token, and successful federated sign-ins are currently included in the sign-in logs. The maximum and default page size is 1,000 objects and by default, the most recent sign-ins are returned first. Only sign-in events that occurred within the Microsoft Entra ID default retention period are available. This API is available in the following national cloud deployments. + Get a list of signIn objects. The list contains the user sign-ins for your Microsoft Entra tenant. Sign-ins where a username and password are passed as part of authorization token, and successful federated sign-ins are currently included in the sign-in logs. The maximum and default page size is 1,000 objects and by default, the most recent sign-ins are returned first. Only sign-in events that occurred within the Microsoft Entra ID default retention period are available. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SignInCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/signin-list?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def post(self,body: Optional[SignIn] = None, request_configuration: Option def to_get_request_information(self,request_configuration: Optional[SignInsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of signIn objects. The list contains the user sign-ins for your Microsoft Entra tenant. Sign-ins where a username and password are passed as part of authorization token, and successful federated sign-ins are currently included in the sign-in logs. The maximum and default page size is 1,000 objects and by default, the most recent sign-ins are returned first. Only sign-in events that occurred within the Microsoft Entra ID default retention period are available. This API is available in the following national cloud deployments. + Get a list of signIn objects. The list contains the user sign-ins for your Microsoft Entra tenant. Sign-ins where a username and password are passed as part of authorization token, and successful federated sign-ins are currently included in the sign-in logs. The maximum and default page size is 1,000 objects and by default, the most recent sign-ins are returned first. Only sign-in events that occurred within the Microsoft Entra ID default retention period are available. 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[SignInsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SignIn] = None, request_configuration: Optional[SignInsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[SignIn] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SignInsRequestBuilderGetQueryParameters(): """ - Get a list of signIn objects. The list contains the user sign-ins for your Microsoft Entra tenant. Sign-ins where a username and password are passed as part of authorization token, and successful federated sign-ins are currently included in the sign-in logs. The maximum and default page size is 1,000 objects and by default, the most recent sign-ins are returned first. Only sign-in events that occurred within the Microsoft Entra ID default retention period are available. This API is available in the following national cloud deployments. + Get a list of signIn objects. The list contains the user sign-ins for your Microsoft Entra tenant. Sign-ins where a username and password are passed as part of authorization token, and successful federated sign-ins are currently included in the sign-in logs. The maximum and default page size is 1,000 objects and by default, the most recent sign-ins are returned first. Only sign-in events that occurred within the Microsoft Entra ID default retention period are available. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/authentication_method_configurations/authentication_method_configurations_request_builder.py b/msgraph_beta/generated/authentication_method_configurations/authentication_method_configurations_request_builder.py index f1100584f24..66a84d90fc0 100644 --- a/msgraph_beta/generated/authentication_method_configurations/authentication_method_configurations_request_builder.py +++ b/msgraph_beta/generated/authentication_method_configurations/authentication_method_configurations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AuthenticationMethodConfiguration] = None, request_configuration: Optional[AuthenticationMethodConfigurationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AuthenticationMethodConfigur request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/authentication_method_configurations/item/authentication_method_configuration_item_request_builder.py b/msgraph_beta/generated/authentication_method_configurations/item/authentication_method_configuration_item_request_builder.py index 704f7b99a33..07a9f54c3f2 100644 --- a/msgraph_beta/generated/authentication_method_configurations/item/authentication_method_configuration_item_request_builder.py +++ b/msgraph_beta/generated/authentication_method_configurations/item/authentication_method_configuration_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Authentic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AuthenticationMethodConfigurationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AuthenticationMethodConfiguration] = None, request_configuration: Optional[AuthenticationMethodConfigurationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AuthenticationMethodConfigu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/authentication_methods_policy/authentication_method_configurations/authentication_method_configurations_request_builder.py b/msgraph_beta/generated/authentication_methods_policy/authentication_method_configurations/authentication_method_configurations_request_builder.py index 110f1a034af..926c34b5739 100644 --- a/msgraph_beta/generated/authentication_methods_policy/authentication_method_configurations/authentication_method_configurations_request_builder.py +++ b/msgraph_beta/generated/authentication_methods_policy/authentication_method_configurations/authentication_method_configurations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AuthenticationMethodConfiguration] = None, request_configuration: Optional[AuthenticationMethodConfigurationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AuthenticationMethodConfigur request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/authentication_methods_policy/authentication_method_configurations/item/authentication_method_configuration_item_request_builder.py b/msgraph_beta/generated/authentication_methods_policy/authentication_method_configurations/item/authentication_method_configuration_item_request_builder.py index 1e083a433a0..c2211abad77 100644 --- a/msgraph_beta/generated/authentication_methods_policy/authentication_method_configurations/item/authentication_method_configuration_item_request_builder.py +++ b/msgraph_beta/generated/authentication_methods_policy/authentication_method_configurations/item/authentication_method_configuration_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Authentic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AuthenticationMethodConfigurationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AuthenticationMethodConfiguration] = None, request_configuration: Optional[AuthenticationMethodConfigurationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AuthenticationMethodConfigu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/authentication_methods_policy/authentication_methods_policy_request_builder.py b/msgraph_beta/generated/authentication_methods_policy/authentication_methods_policy_request_builder.py index 6bca8114a37..3ee4fc99ca2 100644 --- a/msgraph_beta/generated/authentication_methods_policy/authentication_methods_policy_request_builder.py +++ b/msgraph_beta/generated/authentication_methods_policy/authentication_methods_policy_request_builder.py @@ -86,7 +86,7 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AuthenticationMethodsPolicy] = None, request_configuration: Optional[AuthenticationMethodsPolicyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -105,7 +105,7 @@ def to_patch_request_information(self,body: Optional[AuthenticationMethodsPolicy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/booking_businesses/booking_businesses_request_builder.py b/msgraph_beta/generated/booking_businesses/booking_businesses_request_builder.py index f885c97b3dd..7a7d9d8c4ef 100644 --- a/msgraph_beta/generated/booking_businesses/booking_businesses_request_builder.py +++ b/msgraph_beta/generated/booking_businesses/booking_businesses_request_builder.py @@ -45,7 +45,7 @@ def by_booking_business_id(self,booking_business_id: str) -> BookingBusinessItem async def get(self,request_configuration: Optional[BookingBusinessesRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingBusinessCollectionResponse]: """ - Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. You can also query for Bookings businesses by specifying a string in a query parameter to do substring matching among the businesses of a tenant. For details, see Example 2. This API is available in the following national cloud deployments. + Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. You can also query for Bookings businesses by specifying a string in a query parameter to do substring matching among the businesses of a tenant. For details, see Example 2. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingBusinessCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/bookingbusiness-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[BookingBusinessesRequestBuild async def post(self,body: Optional[BookingBusiness] = None, request_configuration: Optional[BookingBusinessesRequestBuilderPostRequestConfiguration] = None) -> Optional[BookingBusiness]: """ - Create a new Microsoft Bookings business in a tenant. This is the first step in setting up a Bookings business where you must specify the business display name. You can include other information such as business address, web site address, and scheduling policy, or set that information later by updating the bookingBusiness. This API is available in the following national cloud deployments. + Create a new Microsoft Bookings business in a tenant. This is the first step in setting up a Bookings business where you must specify the business display name. You can include other information such as business address, web site address, and scheduling policy, or set that information later by updating the bookingBusiness. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingBusiness] @@ -92,7 +92,7 @@ async def post(self,body: Optional[BookingBusiness] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[BookingBusinessesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. You can also query for Bookings businesses by specifying a string in a query parameter to do substring matching among the businesses of a tenant. For details, see Example 2. This API is available in the following national cloud deployments. + Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. You can also query for Bookings businesses by specifying a string in a query parameter to do substring matching among the businesses of a tenant. For details, see Example 2. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[BookingBusin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[BookingBusiness] = None, request_configuration: Optional[BookingBusinessesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new Microsoft Bookings business in a tenant. This is the first step in setting up a Bookings business where you must specify the business display name. You can include other information such as business address, web site address, and scheduling policy, or set that information later by updating the bookingBusiness. This API is available in the following national cloud deployments. + Create a new Microsoft Bookings business in a tenant. This is the first step in setting up a Bookings business where you must specify the business display name. You can include other information such as business address, web site address, and scheduling policy, or set that information later by updating the bookingBusiness. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[BookingBusiness] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class BookingBusinessesRequestBuilderGetQueryParameters(): """ - Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. You can also query for Bookings businesses by specifying a string in a query parameter to do substring matching among the businesses of a tenant. For details, see Example 2. This API is available in the following national cloud deployments. + Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. You can also query for Bookings businesses by specifying a string in a query parameter to do substring matching among the businesses of a tenant. For details, see Example 2. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/booking_businesses/item/appointments/appointments_request_builder.py b/msgraph_beta/generated/booking_businesses/item/appointments/appointments_request_builder.py index 7dc13ad670a..f1519d27e8d 100644 --- a/msgraph_beta/generated/booking_businesses/item/appointments/appointments_request_builder.py +++ b/msgraph_beta/generated/booking_businesses/item/appointments/appointments_request_builder.py @@ -45,7 +45,7 @@ def by_booking_appointment_id(self,booking_appointment_id: str) -> BookingAppoin async def get(self,request_configuration: Optional[AppointmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingAppointmentCollectionResponse]: """ - Get a list of bookingAppointment objects for the specified bookingBusiness. This API is available in the following national cloud deployments. + Get a list of bookingAppointment objects for the specified bookingBusiness. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingAppointmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/bookingbusiness-list-appointments?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AppointmentsRequestBuilderGet async def post(self,body: Optional[BookingAppointment] = None, request_configuration: Optional[AppointmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[BookingAppointment]: """ - Create a new bookingAppointment for the specified bookingBusiness. This API is available in the following national cloud deployments. + Create a new bookingAppointment for the specified bookingBusiness. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingAppointment] @@ -92,7 +92,7 @@ async def post(self,body: Optional[BookingAppointment] = None, request_configura def to_get_request_information(self,request_configuration: Optional[AppointmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of bookingAppointment objects for the specified bookingBusiness. This API is available in the following national cloud deployments. + Get a list of bookingAppointment objects for the specified bookingBusiness. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[Appointments request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[BookingAppointment] = None, request_configuration: Optional[AppointmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new bookingAppointment for the specified bookingBusiness. This API is available in the following national cloud deployments. + Create a new bookingAppointment for the specified bookingBusiness. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[BookingAppointment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AppointmentsRequestBuilderGetQueryParameters(): """ - Get a list of bookingAppointment objects for the specified bookingBusiness. This API is available in the following national cloud deployments. + Get a list of bookingAppointment objects for the specified bookingBusiness. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/booking_businesses/item/appointments/item/booking_appointment_item_request_builder.py b/msgraph_beta/generated/booking_businesses/item/appointments/item/booking_appointment_item_request_builder.py index c563f8fb527..6d43b1ede55 100644 --- a/msgraph_beta/generated/booking_businesses/item/appointments/item/booking_appointment_item_request_builder.py +++ b/msgraph_beta/generated/booking_businesses/item/appointments/item/booking_appointment_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[BookingAppointmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a bookingAppointment in the specified bookingBusiness. This API is available in the following national cloud deployments. + Delete a bookingAppointment in the specified bookingBusiness. 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/bookingappointment-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[BookingAppointmentItemRequ async def get(self,request_configuration: Optional[BookingAppointmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingAppointment]: """ - Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The start and end properties are always returned in UTC. This API is available in the following national cloud deployments. + Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The start and end properties are always returned in UTC. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingAppointment] Find more info here: https://learn.microsoft.com/graph/api/bookingappointment-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[BookingAppointmentItemRequest async def patch(self,body: Optional[BookingAppointment] = None, request_configuration: Optional[BookingAppointmentItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[BookingAppointment]: """ - Update the properties of a bookingAppointment object in the specified bookingBusiness. This API is available in the following national cloud deployments. + Update the properties of a bookingAppointment object in the specified bookingBusiness. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingAppointment] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[BookingAppointment] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[BookingAppointmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a bookingAppointment in the specified bookingBusiness. This API is available in the following national cloud deployments. + Delete a bookingAppointment in the specified bookingBusiness. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[BookingAp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BookingAppointmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The start and end properties are always returned in UTC. This API is available in the following national cloud deployments. + Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The start and end properties are always returned in UTC. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[BookingAppoi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[BookingAppointment] = None, request_configuration: Optional[BookingAppointmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a bookingAppointment object in the specified bookingBusiness. This API is available in the following national cloud deployments. + Update the properties of a bookingAppointment object in the specified bookingBusiness. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[BookingAppointment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class BookingAppointmentItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class BookingAppointmentItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The start and end properties are always returned in UTC. This API is available in the following national cloud deployments. + Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The start and end properties are always returned in UTC. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/booking_businesses/item/appointments/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/booking_businesses/item/appointments/item/cancel/cancel_request_builder.py index a2c4bbc15bf..5234b36fb44 100644 --- a/msgraph_beta/generated/booking_businesses/item/appointments/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/booking_businesses/item/appointments/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - Cancel the specified bookingAppointment in the specified bookingBusiness, and send a message to the involved customer and staff members. This API is available in the following national cloud deployments. + Cancel the specified bookingAppointment in the specified bookingBusiness, and send a message to the involved customer and staff members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Cancel the specified bookingAppointment in the specified bookingBusiness, and send a message to the involved customer and staff members. This API is available in the following national cloud deployments. + Cancel the specified bookingAppointment in the specified bookingBusiness, and send a message to the involved customer and staff members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/booking_businesses/item/booking_business_item_request_builder.py b/msgraph_beta/generated/booking_businesses/item/booking_business_item_request_builder.py index cd87da5f98c..daa0e0072a3 100644 --- a/msgraph_beta/generated/booking_businesses/item/booking_business_item_request_builder.py +++ b/msgraph_beta/generated/booking_businesses/item/booking_business_item_request_builder.py @@ -37,7 +37,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[BookingBusinessItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a bookingBusiness object. This API is available in the following national cloud deployments. + Delete a bookingBusiness object. 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/bookingbusiness-delete?view=graph-rest-1.0 @@ -57,7 +57,7 @@ async def delete(self,request_configuration: Optional[BookingBusinessItemRequest async def get(self,request_configuration: Optional[BookingBusinessItemRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingBusiness]: """ - Get the properties and relationships of a bookingBusiness object. This API is available in the following national cloud deployments. + Get the properties and relationships of a bookingBusiness object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingBusiness] Find more info here: https://learn.microsoft.com/graph/api/bookingbusiness-get?view=graph-rest-1.0 @@ -79,7 +79,7 @@ async def get(self,request_configuration: Optional[BookingBusinessItemRequestBui async def patch(self,body: Optional[BookingBusiness] = None, request_configuration: Optional[BookingBusinessItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[BookingBusiness]: """ - Update the properties of a bookingBusiness object. This API is available in the following national cloud deployments. + Update the properties of a bookingBusiness object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingBusiness] @@ -104,7 +104,7 @@ async def patch(self,body: Optional[BookingBusiness] = None, request_configurati def to_delete_request_information(self,request_configuration: Optional[BookingBusinessItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a bookingBusiness object. This API is available in the following national cloud deployments. + Delete a bookingBusiness object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -115,12 +115,12 @@ def to_delete_request_information(self,request_configuration: Optional[BookingBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BookingBusinessItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a bookingBusiness object. This API is available in the following national cloud deployments. + Get the properties and relationships of a bookingBusiness object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -132,12 +132,12 @@ def to_get_request_information(self,request_configuration: Optional[BookingBusin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[BookingBusiness] = None, request_configuration: Optional[BookingBusinessItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a bookingBusiness object. This API is available in the following national cloud deployments. + Update the properties of a bookingBusiness object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -151,7 +151,7 @@ def to_patch_request_information(self,body: Optional[BookingBusiness] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -259,7 +259,7 @@ class BookingBusinessItemRequestBuilderDeleteRequestConfiguration(BaseRequestCon @dataclass class BookingBusinessItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a bookingBusiness object. This API is available in the following national cloud deployments. + Get the properties and relationships of a bookingBusiness object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/booking_businesses/item/calendar_view/calendar_view_request_builder.py b/msgraph_beta/generated/booking_businesses/item/calendar_view/calendar_view_request_builder.py index 2ac90460163..1bfda9f3e9b 100644 --- a/msgraph_beta/generated/booking_businesses/item/calendar_view/calendar_view_request_builder.py +++ b/msgraph_beta/generated/booking_businesses/item/calendar_view/calendar_view_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarView request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[BookingAppointment] = None, request_configuration: Optional[CalendarViewRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[BookingAppointment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/booking_businesses/item/calendar_view/item/booking_appointment_item_request_builder.py b/msgraph_beta/generated/booking_businesses/item/calendar_view/item/booking_appointment_item_request_builder.py index aec4cb406f7..8ee70bec34a 100644 --- a/msgraph_beta/generated/booking_businesses/item/calendar_view/item/booking_appointment_item_request_builder.py +++ b/msgraph_beta/generated/booking_businesses/item/calendar_view/item/booking_appointment_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[BookingAp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BookingAppointmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[BookingAppoi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[BookingAppointment] = None, request_configuration: Optional[BookingAppointmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[BookingAppointment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/booking_businesses/item/calendar_view/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/booking_businesses/item/calendar_view/item/cancel/cancel_request_builder.py index e2510672fd0..261a6dc6aea 100644 --- a/msgraph_beta/generated/booking_businesses/item/calendar_view/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/booking_businesses/item/calendar_view/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - Cancel the specified bookingAppointment in the specified bookingBusiness, and send a message to the involved customer and staff members. This API is available in the following national cloud deployments. + Cancel the specified bookingAppointment in the specified bookingBusiness, and send a message to the involved customer and staff members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Cancel the specified bookingAppointment in the specified bookingBusiness, and send a message to the involved customer and staff members. This API is available in the following national cloud deployments. + Cancel the specified bookingAppointment in the specified bookingBusiness, and send a message to the involved customer and staff members. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/booking_businesses/item/custom_questions/custom_questions_request_builder.py b/msgraph_beta/generated/booking_businesses/item/custom_questions/custom_questions_request_builder.py index 62040167dad..12a2b590eb0 100644 --- a/msgraph_beta/generated/booking_businesses/item/custom_questions/custom_questions_request_builder.py +++ b/msgraph_beta/generated/booking_businesses/item/custom_questions/custom_questions_request_builder.py @@ -45,7 +45,7 @@ def by_booking_custom_question_id(self,booking_custom_question_id: str) -> Booki async def get(self,request_configuration: Optional[CustomQuestionsRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingCustomQuestionCollectionResponse]: """ - Get the bookingCustomQuestion resources associated with a bookingBusiness. This API is available in the following national cloud deployments. + Get the bookingCustomQuestion resources associated with a bookingBusiness. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingCustomQuestionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/bookingbusiness-list-customquestions?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[CustomQuestionsRequestBuilder async def post(self,body: Optional[BookingCustomQuestion] = None, request_configuration: Optional[CustomQuestionsRequestBuilderPostRequestConfiguration] = None) -> Optional[BookingCustomQuestion]: """ - Create a new bookingCustomQuestion object. This API is available in the following national cloud deployments. + Create a new bookingCustomQuestion object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingCustomQuestion] @@ -92,7 +92,7 @@ async def post(self,body: Optional[BookingCustomQuestion] = None, request_config def to_get_request_information(self,request_configuration: Optional[CustomQuestionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the bookingCustomQuestion resources associated with a bookingBusiness. This API is available in the following national cloud deployments. + Get the bookingCustomQuestion resources associated with a bookingBusiness. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[CustomQuesti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[BookingCustomQuestion] = None, request_configuration: Optional[CustomQuestionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new bookingCustomQuestion object. This API is available in the following national cloud deployments. + Create a new bookingCustomQuestion object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[BookingCustomQuestion] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CustomQuestionsRequestBuilderGetQueryParameters(): """ - Get the bookingCustomQuestion resources associated with a bookingBusiness. This API is available in the following national cloud deployments. + Get the bookingCustomQuestion resources associated with a bookingBusiness. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/booking_businesses/item/custom_questions/item/booking_custom_question_item_request_builder.py b/msgraph_beta/generated/booking_businesses/item/custom_questions/item/booking_custom_question_item_request_builder.py index 799eb9feae8..67eb2dec6ab 100644 --- a/msgraph_beta/generated/booking_businesses/item/custom_questions/item/booking_custom_question_item_request_builder.py +++ b/msgraph_beta/generated/booking_businesses/item/custom_questions/item/booking_custom_question_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[BookingCustomQuestionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete the specified bookingCustomQuestion object. This API is available in the following national cloud deployments. + Delete the specified bookingCustomQuestion object. 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/bookingcustomquestion-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[BookingCustomQuestionItemR async def get(self,request_configuration: Optional[BookingCustomQuestionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingCustomQuestion]: """ - Read the properties and relationships of a bookingCustomQuestion object. This API is available in the following national cloud deployments. + Read the properties and relationships of a bookingCustomQuestion object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingCustomQuestion] Find more info here: https://learn.microsoft.com/graph/api/bookingcustomquestion-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[BookingCustomQuestionItemRequ async def patch(self,body: Optional[BookingCustomQuestion] = None, request_configuration: Optional[BookingCustomQuestionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[BookingCustomQuestion]: """ - Update the properties of a bookingCustomQuestion object. This API is available in the following national cloud deployments. + Update the properties of a bookingCustomQuestion object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingCustomQuestion] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[BookingCustomQuestion] = None, request_confi def to_delete_request_information(self,request_configuration: Optional[BookingCustomQuestionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete the specified bookingCustomQuestion object. This API is available in the following national cloud deployments. + Delete the specified bookingCustomQuestion object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[BookingCu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BookingCustomQuestionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a bookingCustomQuestion object. This API is available in the following national cloud deployments. + Read the properties and relationships of a bookingCustomQuestion object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[BookingCusto request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[BookingCustomQuestion] = None, request_configuration: Optional[BookingCustomQuestionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a bookingCustomQuestion object. This API is available in the following national cloud deployments. + Update the properties of a bookingCustomQuestion object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[BookingCustomQuestion] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class BookingCustomQuestionItemRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class BookingCustomQuestionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a bookingCustomQuestion object. This API is available in the following national cloud deployments. + Read the properties and relationships of a bookingCustomQuestion object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/booking_businesses/item/customers/customers_request_builder.py b/msgraph_beta/generated/booking_businesses/item/customers/customers_request_builder.py index 226eee07261..e13cabaca91 100644 --- a/msgraph_beta/generated/booking_businesses/item/customers/customers_request_builder.py +++ b/msgraph_beta/generated/booking_businesses/item/customers/customers_request_builder.py @@ -45,7 +45,7 @@ def by_booking_customer_id(self,booking_customer_id: str) -> BookingCustomerItem async def get(self,request_configuration: Optional[CustomersRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingCustomerCollectionResponse]: """ - Get a list of bookingCustomer objects. This API is available in the following national cloud deployments. + Get a list of bookingCustomer objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingCustomerCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/bookingbusiness-list-customers?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[CustomersRequestBuilderGetReq async def post(self,body: Optional[BookingCustomer] = None, request_configuration: Optional[CustomersRequestBuilderPostRequestConfiguration] = None) -> Optional[BookingCustomer]: """ - Create a new bookingCustomer object. This API is available in the following national cloud deployments. + Create a new bookingCustomer object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingCustomer] @@ -92,7 +92,7 @@ async def post(self,body: Optional[BookingCustomer] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[CustomersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of bookingCustomer objects. This API is available in the following national cloud deployments. + Get a list of bookingCustomer objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[CustomersReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[BookingCustomer] = None, request_configuration: Optional[CustomersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new bookingCustomer object. This API is available in the following national cloud deployments. + Create a new bookingCustomer object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[BookingCustomer] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CustomersRequestBuilderGetQueryParameters(): """ - Get a list of bookingCustomer objects. This API is available in the following national cloud deployments. + Get a list of bookingCustomer objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/booking_businesses/item/customers/item/booking_customer_item_request_builder.py b/msgraph_beta/generated/booking_businesses/item/customers/item/booking_customer_item_request_builder.py index 824f9c24a2d..36964bcd95e 100644 --- a/msgraph_beta/generated/booking_businesses/item/customers/item/booking_customer_item_request_builder.py +++ b/msgraph_beta/generated/booking_businesses/item/customers/item/booking_customer_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[BookingCustomerItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete the specified bookingCustomer object. This API is available in the following national cloud deployments. + Delete the specified bookingCustomer object. 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/bookingcustomer-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[BookingCustomerItemRequest async def get(self,request_configuration: Optional[BookingCustomerItemRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingCustomer]: """ - Get the properties and relationships of a bookingCustomer object. This API is available in the following national cloud deployments. + Get the properties and relationships of a bookingCustomer object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingCustomer] Find more info here: https://learn.microsoft.com/graph/api/bookingcustomer-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[BookingCustomerItemRequestBui async def patch(self,body: Optional[BookingCustomer] = None, request_configuration: Optional[BookingCustomerItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[BookingCustomer]: """ - Update the properties of a bookingCustomer object. This API is available in the following national cloud deployments. + Update the properties of a bookingCustomer object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingCustomer] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[BookingCustomer] = None, request_configurati def to_delete_request_information(self,request_configuration: Optional[BookingCustomerItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete the specified bookingCustomer object. This API is available in the following national cloud deployments. + Delete the specified bookingCustomer object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[BookingCu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BookingCustomerItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a bookingCustomer object. This API is available in the following national cloud deployments. + Get the properties and relationships of a bookingCustomer object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[BookingCusto request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[BookingCustomer] = None, request_configuration: Optional[BookingCustomerItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a bookingCustomer object. This API is available in the following national cloud deployments. + Update the properties of a bookingCustomer object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[BookingCustomer] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class BookingCustomerItemRequestBuilderDeleteRequestConfiguration(BaseRequestCon @dataclass class BookingCustomerItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a bookingCustomer object. This API is available in the following national cloud deployments. + Get the properties and relationships of a bookingCustomer object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/booking_businesses/item/get_staff_availability/get_staff_availability_request_builder.py b/msgraph_beta/generated/booking_businesses/item/get_staff_availability/get_staff_availability_request_builder.py index a30e124950c..ba008d8a371 100644 --- a/msgraph_beta/generated/booking_businesses/item/get_staff_availability/get_staff_availability_request_builder.py +++ b/msgraph_beta/generated/booking_businesses/item/get_staff_availability/get_staff_availability_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetStaffAvailabilityPostRequestBody] = None, request_configuration: Optional[GetStaffAvailabilityRequestBuilderPostRequestConfiguration] = None) -> Optional[GetStaffAvailabilityPostResponse]: """ - Get the availability information of staff members of a Microsoft Bookings calendar. This API is available in the following national cloud deployments. + Get the availability information of staff members of a Microsoft Bookings calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetStaffAvailabilityPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetStaffAvailabilityPostRequestBody] = None, def to_post_request_information(self,body: Optional[GetStaffAvailabilityPostRequestBody] = None, request_configuration: Optional[GetStaffAvailabilityRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Get the availability information of staff members of a Microsoft Bookings calendar. This API is available in the following national cloud deployments. + Get the availability information of staff members of a Microsoft Bookings calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetStaffAvailabilityPostRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/booking_businesses/item/publish/publish_request_builder.py b/msgraph_beta/generated/booking_businesses/item/publish/publish_request_builder.py index f508d76233a..a163f25df61 100644 --- a/msgraph_beta/generated/booking_businesses/item/publish/publish_request_builder.py +++ b/msgraph_beta/generated/booking_businesses/item/publish/publish_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[PublishRequestBuilderPostRequestConfiguration] = None) -> None: """ - Make the scheduling page of this business available to external customers. Set the isPublished property to true, and publicUrl property to the URL of the scheduling page. This API is available in the following national cloud deployments. + Make the scheduling page of this business available to external customers. Set the isPublished property to true, and publicUrl property to the URL of the scheduling page. 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/bookingbusiness-publish?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[PublishRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[PublishRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Make the scheduling page of this business available to external customers. Set the isPublished property to true, and publicUrl property to the URL of the scheduling page. This API is available in the following national cloud deployments. + Make the scheduling page of this business available to external customers. Set the isPublished property to true, and publicUrl property to the URL of the scheduling page. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[PublishRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PublishRequestBuilder: diff --git a/msgraph_beta/generated/booking_businesses/item/services/item/booking_service_item_request_builder.py b/msgraph_beta/generated/booking_businesses/item/services/item/booking_service_item_request_builder.py index c267016767a..dbeab928621 100644 --- a/msgraph_beta/generated/booking_businesses/item/services/item/booking_service_item_request_builder.py +++ b/msgraph_beta/generated/booking_businesses/item/services/item/booking_service_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[BookingServiceItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a bookingService object in the specified bookingBusiness. This API is available in the following national cloud deployments. + Delete a bookingService object in the specified bookingBusiness. 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/bookingservice-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[BookingServiceItemRequestB async def get(self,request_configuration: Optional[BookingServiceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingService]: """ - Get the properties and relationships of a bookingService object in the specified bookingBusiness. This API is available in the following national cloud deployments. + Get the properties and relationships of a bookingService object in the specified bookingBusiness. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingService] Find more info here: https://learn.microsoft.com/graph/api/bookingservice-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[BookingServiceItemRequestBuil async def patch(self,body: Optional[BookingService] = None, request_configuration: Optional[BookingServiceItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[BookingService]: """ - Update the properties of a bookingService object in the specified bookingBusiness. The following are some examples you can customize for a service:- Price- Typical length of an appointment- Reminders- Any, time buffer to set up before or finish up after the service- Scheduling policy parameters such as minimum notice to book or cancel, and whether customers can select specific staff members for an appointment. This API is available in the following national cloud deployments. + Update the properties of a bookingService object in the specified bookingBusiness. The following are some examples you can customize for a service:- Price- Typical length of an appointment- Reminders- Any, time buffer to set up before or finish up after the service- Scheduling policy parameters such as minimum notice to book or cancel, and whether customers can select specific staff members for an appointment. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingService] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[BookingService] = None, request_configuratio def to_delete_request_information(self,request_configuration: Optional[BookingServiceItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a bookingService object in the specified bookingBusiness. This API is available in the following national cloud deployments. + Delete a bookingService object in the specified bookingBusiness. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[BookingSe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BookingServiceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a bookingService object in the specified bookingBusiness. This API is available in the following national cloud deployments. + Get the properties and relationships of a bookingService object in the specified bookingBusiness. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[BookingServi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[BookingService] = None, request_configuration: Optional[BookingServiceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a bookingService object in the specified bookingBusiness. The following are some examples you can customize for a service:- Price- Typical length of an appointment- Reminders- Any, time buffer to set up before or finish up after the service- Scheduling policy parameters such as minimum notice to book or cancel, and whether customers can select specific staff members for an appointment. This API is available in the following national cloud deployments. + Update the properties of a bookingService object in the specified bookingBusiness. The following are some examples you can customize for a service:- Price- Typical length of an appointment- Reminders- Any, time buffer to set up before or finish up after the service- Scheduling policy parameters such as minimum notice to book or cancel, and whether customers can select specific staff members for an appointment. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[BookingService] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class BookingServiceItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class BookingServiceItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a bookingService object in the specified bookingBusiness. This API is available in the following national cloud deployments. + Get the properties and relationships of a bookingService object in the specified bookingBusiness. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/booking_businesses/item/services/services_request_builder.py b/msgraph_beta/generated/booking_businesses/item/services/services_request_builder.py index 08d1d127756..13b021bff78 100644 --- a/msgraph_beta/generated/booking_businesses/item/services/services_request_builder.py +++ b/msgraph_beta/generated/booking_businesses/item/services/services_request_builder.py @@ -45,7 +45,7 @@ def by_booking_service_id(self,booking_service_id: str) -> BookingServiceItemReq async def get(self,request_configuration: Optional[ServicesRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingServiceCollectionResponse]: """ - Get a list of bookingService objects in the specified bookingBusiness. This API is available in the following national cloud deployments. + Get a list of bookingService objects in the specified bookingBusiness. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingServiceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/bookingbusiness-list-services?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ServicesRequestBuilderGetRequ async def post(self,body: Optional[BookingService] = None, request_configuration: Optional[ServicesRequestBuilderPostRequestConfiguration] = None) -> Optional[BookingService]: """ - Create a new bookingService for the specified bookingBusiness. This API is available in the following national cloud deployments. + Create a new bookingService for the specified bookingBusiness. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingService] @@ -92,7 +92,7 @@ async def post(self,body: Optional[BookingService] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[ServicesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of bookingService objects in the specified bookingBusiness. This API is available in the following national cloud deployments. + Get a list of bookingService objects in the specified bookingBusiness. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ServicesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[BookingService] = None, request_configuration: Optional[ServicesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new bookingService for the specified bookingBusiness. This API is available in the following national cloud deployments. + Create a new bookingService for the specified bookingBusiness. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[BookingService] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServicesRequestBuilderGetQueryParameters(): """ - Get a list of bookingService objects in the specified bookingBusiness. This API is available in the following national cloud deployments. + Get a list of bookingService objects in the specified bookingBusiness. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/booking_businesses/item/staff_members/item/booking_staff_member_item_request_builder.py b/msgraph_beta/generated/booking_businesses/item/staff_members/item/booking_staff_member_item_request_builder.py index 297a6ac113a..489a5d1bca8 100644 --- a/msgraph_beta/generated/booking_businesses/item/staff_members/item/booking_staff_member_item_request_builder.py +++ b/msgraph_beta/generated/booking_businesses/item/staff_members/item/booking_staff_member_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[BookingStaffMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a staff member in the specified bookingbusiness. This API is available in the following national cloud deployments. + Delete a staff member in the specified bookingbusiness. 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/bookingstaffmember-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[BookingStaffMemberItemRequ async def get(self,request_configuration: Optional[BookingStaffMemberItemRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingStaffMember]: """ - Get the properties and relationships of a bookingStaffMember in the specified bookingBusiness. This API is available in the following national cloud deployments. + Get the properties and relationships of a bookingStaffMember in the specified bookingBusiness. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingStaffMember] Find more info here: https://learn.microsoft.com/graph/api/bookingstaffmember-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[BookingStaffMemberItemRequest async def patch(self,body: Optional[BookingStaffMember] = None, request_configuration: Optional[BookingStaffMemberItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[BookingStaffMember]: """ - Update the properties of a bookingStaffMember in the specified bookingBusiness. This API is available in the following national cloud deployments. + Update the properties of a bookingStaffMember in the specified bookingBusiness. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingStaffMember] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[BookingStaffMember] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[BookingStaffMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a staff member in the specified bookingbusiness. This API is available in the following national cloud deployments. + Delete a staff member in the specified bookingbusiness. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[BookingSt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BookingStaffMemberItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a bookingStaffMember in the specified bookingBusiness. This API is available in the following national cloud deployments. + Get the properties and relationships of a bookingStaffMember in the specified bookingBusiness. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[BookingStaff request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[BookingStaffMember] = None, request_configuration: Optional[BookingStaffMemberItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a bookingStaffMember in the specified bookingBusiness. This API is available in the following national cloud deployments. + Update the properties of a bookingStaffMember in the specified bookingBusiness. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[BookingStaffMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class BookingStaffMemberItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class BookingStaffMemberItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a bookingStaffMember in the specified bookingBusiness. This API is available in the following national cloud deployments. + Get the properties and relationships of a bookingStaffMember in the specified bookingBusiness. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/booking_businesses/item/staff_members/staff_members_request_builder.py b/msgraph_beta/generated/booking_businesses/item/staff_members/staff_members_request_builder.py index 2f46b208da5..bd6750e5d29 100644 --- a/msgraph_beta/generated/booking_businesses/item/staff_members/staff_members_request_builder.py +++ b/msgraph_beta/generated/booking_businesses/item/staff_members/staff_members_request_builder.py @@ -45,7 +45,7 @@ def by_booking_staff_member_id(self,booking_staff_member_id: str) -> BookingStaf async def get(self,request_configuration: Optional[StaffMembersRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingStaffMemberCollectionResponse]: """ - Get a list of bookingStaffMember objects in the specified bookingBusiness. This API is available in the following national cloud deployments. + Get a list of bookingStaffMember objects in the specified bookingBusiness. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingStaffMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/bookingbusiness-list-staffmembers?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[StaffMembersRequestBuilderGet async def post(self,body: Optional[BookingStaffMember] = None, request_configuration: Optional[StaffMembersRequestBuilderPostRequestConfiguration] = None) -> Optional[BookingStaffMember]: """ - Create a new staff member in the specified bookingBusiness. This API is available in the following national cloud deployments. + Create a new staff member in the specified bookingBusiness. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingStaffMember] @@ -92,7 +92,7 @@ async def post(self,body: Optional[BookingStaffMember] = None, request_configura def to_get_request_information(self,request_configuration: Optional[StaffMembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of bookingStaffMember objects in the specified bookingBusiness. This API is available in the following national cloud deployments. + Get a list of bookingStaffMember objects in the specified bookingBusiness. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[StaffMembers request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[BookingStaffMember] = None, request_configuration: Optional[StaffMembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new staff member in the specified bookingBusiness. This API is available in the following national cloud deployments. + Create a new staff member in the specified bookingBusiness. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[BookingStaffMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class StaffMembersRequestBuilderGetQueryParameters(): """ - Get a list of bookingStaffMember objects in the specified bookingBusiness. This API is available in the following national cloud deployments. + Get a list of bookingStaffMember objects in the specified bookingBusiness. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/booking_businesses/item/unpublish/unpublish_request_builder.py b/msgraph_beta/generated/booking_businesses/item/unpublish/unpublish_request_builder.py index f7342ab95f2..210cba0730e 100644 --- a/msgraph_beta/generated/booking_businesses/item/unpublish/unpublish_request_builder.py +++ b/msgraph_beta/generated/booking_businesses/item/unpublish/unpublish_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UnpublishRequestBuilderPostRequestConfiguration] = None) -> None: """ - Make the scheduling page of this business not available to external customers. Set the isPublished property to false, and publicUrl property to null. This API is available in the following national cloud deployments. + Make the scheduling page of this business not available to external customers. Set the isPublished property to false, and publicUrl property to null. 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/bookingbusiness-unpublish?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UnpublishRequestBuilderPostR def to_post_request_information(self,request_configuration: Optional[UnpublishRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Make the scheduling page of this business not available to external customers. Set the isPublished property to false, and publicUrl property to null. This API is available in the following national cloud deployments. + Make the scheduling page of this business not available to external customers. Set the isPublished property to false, and publicUrl property to null. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UnpublishRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnpublishRequestBuilder: diff --git a/msgraph_beta/generated/booking_currencies/booking_currencies_request_builder.py b/msgraph_beta/generated/booking_currencies/booking_currencies_request_builder.py index 6b3eac324b9..d3a2ae9c92c 100644 --- a/msgraph_beta/generated/booking_currencies/booking_currencies_request_builder.py +++ b/msgraph_beta/generated/booking_currencies/booking_currencies_request_builder.py @@ -45,7 +45,7 @@ def by_booking_currency_id(self,booking_currency_id: str) -> BookingCurrencyItem async def get(self,request_configuration: Optional[BookingCurrenciesRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingCurrencyCollectionResponse]: """ - Get a list of bookingCurrency objects available to a Microsoft Bookings business. This API is available in the following national cloud deployments. + Get a list of bookingCurrency objects available to a Microsoft Bookings business. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingCurrencyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/bookingcurrency-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[BookingCurrency] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[BookingCurrenciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of bookingCurrency objects available to a Microsoft Bookings business. This API is available in the following national cloud deployments. + Get a list of bookingCurrency objects available to a Microsoft Bookings business. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[BookingCurre request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[BookingCurrency] = None, request_configuration: Optional[BookingCurrenciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[BookingCurrency] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class BookingCurrenciesRequestBuilderGetQueryParameters(): """ - Get a list of bookingCurrency objects available to a Microsoft Bookings business. This API is available in the following national cloud deployments. + Get a list of bookingCurrency objects available to a Microsoft Bookings business. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/booking_currencies/item/booking_currency_item_request_builder.py b/msgraph_beta/generated/booking_currencies/item/booking_currency_item_request_builder.py index 4fa9e7a6f34..54ac986adf4 100644 --- a/msgraph_beta/generated/booking_currencies/item/booking_currency_item_request_builder.py +++ b/msgraph_beta/generated/booking_currencies/item/booking_currency_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[BookingCurrencyItemRequest async def get(self,request_configuration: Optional[BookingCurrencyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingCurrency]: """ - Get the properties of a bookingCurrency object that is available to a Microsoft Bookings business. Use the id property, which is the currency code, to specify the currency. This API is available in the following national cloud deployments. + Get the properties of a bookingCurrency object that is available to a Microsoft Bookings business. Use the id property, which is the currency code, to specify the currency. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookingCurrency] Find more info here: https://learn.microsoft.com/graph/api/bookingcurrency-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[BookingCu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BookingCurrencyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties of a bookingCurrency object that is available to a Microsoft Bookings business. Use the id property, which is the currency code, to specify the currency. This API is available in the following national cloud deployments. + Get the properties of a bookingCurrency object that is available to a Microsoft Bookings business. Use the id property, which is the currency code, to specify the currency. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[BookingCurre request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[BookingCurrency] = None, request_configuration: Optional[BookingCurrencyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[BookingCurrency] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class BookingCurrencyItemRequestBuilderDeleteRequestConfiguration(BaseRequestCon @dataclass class BookingCurrencyItemRequestBuilderGetQueryParameters(): """ - Get the properties of a bookingCurrency object that is available to a Microsoft Bookings business. Use the id property, which is the currency code, to specify the currency. This API is available in the following national cloud deployments. + Get the properties of a bookingCurrency object that is available to a Microsoft Bookings business. Use the id property, which is the currency code, to specify the currency. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/business_flow_templates/business_flow_templates_request_builder.py b/msgraph_beta/generated/business_flow_templates/business_flow_templates_request_builder.py index bdae663be5c..27ce18bd9b2 100644 --- a/msgraph_beta/generated/business_flow_templates/business_flow_templates_request_builder.py +++ b/msgraph_beta/generated/business_flow_templates/business_flow_templates_request_builder.py @@ -45,7 +45,7 @@ def by_business_flow_template_id(self,business_flow_template_id: str) -> Busines async def get(self,request_configuration: Optional[BusinessFlowTemplatesRequestBuilderGetRequestConfiguration] = None) -> Optional[BusinessFlowTemplateCollectionResponse]: """ - In the Microsoft Entra access reviews feature, list all the businessFlowTemplate objects. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, list all the businessFlowTemplate objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BusinessFlowTemplateCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/businessflowtemplate-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[BusinessFlowTemplate] = None, request_configu def to_get_request_information(self,request_configuration: Optional[BusinessFlowTemplatesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, list all the businessFlowTemplate objects. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, list all the businessFlowTemplate objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[BusinessFlow request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[BusinessFlowTemplate] = None, request_configuration: Optional[BusinessFlowTemplatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[BusinessFlowTemplate] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class BusinessFlowTemplatesRequestBuilderGetQueryParameters(): """ - In the Microsoft Entra access reviews feature, list all the businessFlowTemplate objects. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, list all the businessFlowTemplate objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/business_flow_templates/item/business_flow_template_item_request_builder.py b/msgraph_beta/generated/business_flow_templates/item/business_flow_template_item_request_builder.py index cd98bddede2..7ca5bcc9ec6 100644 --- a/msgraph_beta/generated/business_flow_templates/item/business_flow_template_item_request_builder.py +++ b/msgraph_beta/generated/business_flow_templates/item/business_flow_template_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[BusinessF request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BusinessFlowTemplateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[BusinessFlow request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[BusinessFlowTemplate] = None, request_configuration: Optional[BusinessFlowTemplateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[BusinessFlowTemplate] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/certificate_based_auth_configuration/certificate_based_auth_configuration_request_builder.py b/msgraph_beta/generated/certificate_based_auth_configuration/certificate_based_auth_configuration_request_builder.py index 299202225cf..3e0c456ba8b 100644 --- a/msgraph_beta/generated/certificate_based_auth_configuration/certificate_based_auth_configuration_request_builder.py +++ b/msgraph_beta/generated/certificate_based_auth_configuration/certificate_based_auth_configuration_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[CertificateB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CertificateBasedAuthConfiguration] = None, request_configuration: Optional[CertificateBasedAuthConfigurationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[CertificateBasedAuthConfigur request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/certificate_based_auth_configuration/item/certificate_based_auth_configuration_item_request_builder.py b/msgraph_beta/generated/certificate_based_auth_configuration/item/certificate_based_auth_configuration_item_request_builder.py index ca189a1e57f..b23ef90ce8f 100644 --- a/msgraph_beta/generated/certificate_based_auth_configuration/item/certificate_based_auth_configuration_item_request_builder.py +++ b/msgraph_beta/generated/certificate_based_auth_configuration/item/certificate_based_auth_configuration_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Certifica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CertificateBasedAuthConfigurationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[CertificateB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CertificateBasedAuthConfiguration] = None, request_configuration: Optional[CertificateBasedAuthConfigurationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[CertificateBasedAuthConfigu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/chats/all_messages/all_messages_request_builder.py b/msgraph_beta/generated/chats/all_messages/all_messages_request_builder.py index b943f7cedf3..16b776ffda2 100644 --- a/msgraph_beta/generated/chats/all_messages/all_messages_request_builder.py +++ b/msgraph_beta/generated/chats/all_messages/all_messages_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AllMessagesR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllMessagesRequestBuilder: diff --git a/msgraph_beta/generated/chats/chats_request_builder.py b/msgraph_beta/generated/chats/chats_request_builder.py index 4bcbba55699..cc7e7d9dede 100644 --- a/msgraph_beta/generated/chats/chats_request_builder.py +++ b/msgraph_beta/generated/chats/chats_request_builder.py @@ -16,6 +16,7 @@ from .all_messages.all_messages_request_builder import AllMessagesRequestBuilder from .count.count_request_builder import CountRequestBuilder from .get_all_messages.get_all_messages_request_builder import GetAllMessagesRequestBuilder + from .get_all_retained_messages.get_all_retained_messages_request_builder import GetAllRetainedMessagesRequestBuilder from .item.chat_item_request_builder import ChatItemRequestBuilder class ChatsRequestBuilder(BaseRequestBuilder): @@ -47,7 +48,7 @@ def by_chat_id(self,chat_id: str) -> ChatItemRequestBuilder: async def get(self,request_configuration: Optional[ChatsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatCollectionResponse]: """ - Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. This API is available in the following national cloud deployments. + Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chat-list?view=graph-rest-1.0 @@ -69,7 +70,7 @@ async def get(self,request_configuration: Optional[ChatsRequestBuilderGetRequest async def post(self,body: Optional[Chat] = None, request_configuration: Optional[ChatsRequestBuilderPostRequestConfiguration] = None) -> Optional[Chat]: """ - Create a new chat object. This API is available in the following national cloud deployments. + Create a new chat object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Chat] @@ -94,7 +95,7 @@ async def post(self,body: Optional[Chat] = None, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[ChatsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. This API is available in the following national cloud deployments. + Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +107,12 @@ def to_get_request_information(self,request_configuration: Optional[ChatsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Chat] = None, request_configuration: Optional[ChatsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new chat object. This API is available in the following national cloud deployments. + Create a new chat object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -125,7 +126,7 @@ def to_post_request_information(self,body: Optional[Chat] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -166,10 +167,19 @@ def get_all_messages(self) -> GetAllMessagesRequestBuilder: return GetAllMessagesRequestBuilder(self.request_adapter, self.path_parameters) + @property + def get_all_retained_messages(self) -> GetAllRetainedMessagesRequestBuilder: + """ + Provides operations to call the getAllRetainedMessages method. + """ + from .get_all_retained_messages.get_all_retained_messages_request_builder import GetAllRetainedMessagesRequestBuilder + + return GetAllRetainedMessagesRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class ChatsRequestBuilderGetQueryParameters(): """ - Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. This API is available in the following national cloud deployments. + Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/chats/get_all_messages/get_all_messages_request_builder.py b/msgraph_beta/generated/chats/get_all_messages/get_all_messages_request_builder.py index bf1ee35caa8..c33efb271bf 100644 --- a/msgraph_beta/generated/chats/get_all_messages/get_all_messages_request_builder.py +++ b/msgraph_beta/generated/chats/get_all_messages/get_all_messages_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetAllMessag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetAllMessagesRequestBuilder: diff --git a/msgraph_beta/generated/chats/get_all_retained_messages/get_all_retained_messages_get_response.py b/msgraph_beta/generated/chats/get_all_retained_messages/get_all_retained_messages_get_response.py new file mode 100644 index 00000000000..f34aee4db1a --- /dev/null +++ b/msgraph_beta/generated/chats/get_all_retained_messages/get_all_retained_messages_get_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.chat_message import ChatMessage + +from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class GetAllRetainedMessagesGetResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[ChatMessage]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> GetAllRetainedMessagesGetResponse: + """ + 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: GetAllRetainedMessagesGetResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return GetAllRetainedMessagesGetResponse() + + 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.chat_message import ChatMessage + + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.chat_message import ChatMessage + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ChatMessage)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/recordings/delta/delta_request_builder.py b/msgraph_beta/generated/chats/get_all_retained_messages/get_all_retained_messages_request_builder.py similarity index 72% rename from msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/recordings/delta/delta_request_builder.py rename to msgraph_beta/generated/chats/get_all_retained_messages/get_all_retained_messages_request_builder.py index 060e3d8901f..d2bb1145485 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/recordings/delta/delta_request_builder.py +++ b/msgraph_beta/generated/chats/get_all_retained_messages/get_all_retained_messages_request_builder.py @@ -10,32 +10,32 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .........models.o_data_errors.o_data_error import ODataError - from .delta_get_response import DeltaGetResponse + from ...models.o_data_errors.o_data_error import ODataError + from .get_all_retained_messages_get_response import GetAllRetainedMessagesGetResponse -class DeltaRequestBuilder(BaseRequestBuilder): +class GetAllRetainedMessagesRequestBuilder(BaseRequestBuilder): """ - Provides operations to call the delta method. + Provides operations to call the getAllRetainedMessages method. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ - Instantiates a new DeltaRequestBuilder and sets the default values. + Instantiates a new GetAllRetainedMessagesRequestBuilder 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}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/recordings/delta(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/chats/getAllRetainedMessages(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}", path_parameters) - async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: + async def get(self,request_configuration: Optional[GetAllRetainedMessagesRequestBuilderGetRequestConfiguration] = None) -> Optional[GetAllRetainedMessagesGetResponse]: """ - Invoke function delta + Invoke function getAllRetainedMessages param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[DeltaGetResponse] + Returns: Optional[GetAllRetainedMessagesGetResponse] """ 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, ParsableFactory] = { "4XX": ODataError, @@ -43,13 +43,13 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest } if not self.request_adapter: raise Exception("Http core is null") - from .delta_get_response import DeltaGetResponse + from .get_all_retained_messages_get_response import GetAllRetainedMessagesGetResponse - return await self.request_adapter.send_async(request_info, DeltaGetResponse, error_mapping) + return await self.request_adapter.send_async(request_info, GetAllRetainedMessagesGetResponse, error_mapping) - def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + def to_get_request_information(self,request_configuration: Optional[GetAllRetainedMessagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Invoke function delta + Invoke function getAllRetainedMessages param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,23 +61,23 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info - def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: + def with_url(self,raw_url: Optional[str] = None) -> GetAllRetainedMessagesRequestBuilder: """ 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: DeltaRequestBuilder + Returns: GetAllRetainedMessagesRequestBuilder """ if not raw_url: raise TypeError("raw_url cannot be null.") - return DeltaRequestBuilder(self.request_adapter, raw_url) + return GetAllRetainedMessagesRequestBuilder(self.request_adapter, raw_url) @dataclass - class DeltaRequestBuilderGetQueryParameters(): + class GetAllRetainedMessagesRequestBuilderGetQueryParameters(): """ - Invoke function delta + Invoke function getAllRetainedMessages """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ @@ -128,14 +128,14 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class DeltaRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + class GetAllRetainedMessagesRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ Configuration for the request such as headers, query parameters, and middleware options. """ # Request query parameters - query_parameters: Optional[DeltaRequestBuilder.DeltaRequestBuilderGetQueryParameters] = None + query_parameters: Optional[GetAllRetainedMessagesRequestBuilder.GetAllRetainedMessagesRequestBuilderGetQueryParameters] = None diff --git a/msgraph_beta/generated/chats/item/chat_item_request_builder.py b/msgraph_beta/generated/chats/item/chat_item_request_builder.py index c584741716f..59463887ef8 100644 --- a/msgraph_beta/generated/chats/item/chat_item_request_builder.py +++ b/msgraph_beta/generated/chats/item/chat_item_request_builder.py @@ -22,6 +22,7 @@ from .operations.operations_request_builder import OperationsRequestBuilder from .permission_grants.permission_grants_request_builder import PermissionGrantsRequestBuilder from .pinned_messages.pinned_messages_request_builder import PinnedMessagesRequestBuilder + from .remove_all_access_for_user.remove_all_access_for_user_request_builder import RemoveAllAccessForUserRequestBuilder from .send_activity_notification.send_activity_notification_request_builder import SendActivityNotificationRequestBuilder from .tabs.tabs_request_builder import TabsRequestBuilder from .unhide_for_user.unhide_for_user_request_builder import UnhideForUserRequestBuilder @@ -41,7 +42,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ChatItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Soft-delete a chat. When invoked with delegated permissions, this operation only works for tenant admins and Teams service admins. This API is available in the following national cloud deployments. + Soft-delete a chat. When invoked with delegated permissions, this operation only works for tenant admins and Teams service admins. 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/chat-delete?view=graph-rest-1.0 @@ -61,7 +62,7 @@ async def delete(self,request_configuration: Optional[ChatItemRequestBuilderDele async def get(self,request_configuration: Optional[ChatItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Chat]: """ - Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. This API is available in the following national cloud deployments. + Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Chat] Find more info here: https://learn.microsoft.com/graph/api/chat-get?view=graph-rest-1.0 @@ -83,7 +84,7 @@ async def get(self,request_configuration: Optional[ChatItemRequestBuilderGetRequ async def patch(self,body: Optional[Chat] = None, request_configuration: Optional[ChatItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Chat]: """ - Update the properties of a chat object. This API is available in the following national cloud deployments. + Update the properties of a chat object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Chat] @@ -108,7 +109,7 @@ async def patch(self,body: Optional[Chat] = None, request_configuration: Optiona def to_delete_request_information(self,request_configuration: Optional[ChatItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Soft-delete a chat. When invoked with delegated permissions, this operation only works for tenant admins and Teams service admins. This API is available in the following national cloud deployments. + Soft-delete a chat. When invoked with delegated permissions, this operation only works for tenant admins and Teams service admins. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -119,12 +120,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. This API is available in the following national cloud deployments. + Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -136,12 +137,12 @@ def to_get_request_information(self,request_configuration: Optional[ChatItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Chat] = None, request_configuration: Optional[ChatItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a chat object. This API is available in the following national cloud deployments. + Update the properties of a chat object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -155,7 +156,7 @@ def to_patch_request_information(self,body: Optional[Chat] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -259,6 +260,15 @@ def pinned_messages(self) -> PinnedMessagesRequestBuilder: return PinnedMessagesRequestBuilder(self.request_adapter, self.path_parameters) + @property + def remove_all_access_for_user(self) -> RemoveAllAccessForUserRequestBuilder: + """ + Provides operations to call the removeAllAccessForUser method. + """ + from .remove_all_access_for_user.remove_all_access_for_user_request_builder import RemoveAllAccessForUserRequestBuilder + + return RemoveAllAccessForUserRequestBuilder(self.request_adapter, self.path_parameters) + @property def send_activity_notification(self) -> SendActivityNotificationRequestBuilder: """ @@ -299,7 +309,7 @@ class ChatItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class ChatItemRequestBuilderGetQueryParameters(): """ - Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. This API is available in the following national cloud deployments. + Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/chats/item/hide_for_user/hide_for_user_request_builder.py b/msgraph_beta/generated/chats/item/hide_for_user/hide_for_user_request_builder.py index 40914005482..03dc51c4b30 100644 --- a/msgraph_beta/generated/chats/item/hide_for_user/hide_for_user_request_builder.py +++ b/msgraph_beta/generated/chats/item/hide_for_user/hide_for_user_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[HideForUserPostRequestBody] = None, request_configuration: Optional[HideForUserRequestBuilderPostRequestConfiguration] = None) -> None: """ - Hide a chat for a user. This API is available in the following national cloud deployments. + Hide a chat for a user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[HideForUserPostRequestBody] = None, request_c def to_post_request_information(self,body: Optional[HideForUserPostRequestBody] = None, request_configuration: Optional[HideForUserRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Hide a chat for a user. This API is available in the following national cloud deployments. + Hide a chat for a user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[HideForUserPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/chats/item/installed_apps/installed_apps_request_builder.py b/msgraph_beta/generated/chats/item/installed_apps/installed_apps_request_builder.py index 70163dbdd25..706ffdd88dc 100644 --- a/msgraph_beta/generated/chats/item/installed_apps/installed_apps_request_builder.py +++ b/msgraph_beta/generated/chats/item/installed_apps/installed_apps_request_builder.py @@ -45,7 +45,7 @@ def by_teams_app_installation_id(self,teams_app_installation_id: str) -> TeamsAp async def get(self,request_configuration: Optional[InstalledAppsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsAppInstallationCollectionResponse]: """ - List all app installations within a chat. If the chat is associated with an onlineMeeting instance, then, effectively, the teamsApps installed in the meeting will be listed. This API is available in the following national cloud deployments. + List all app installations within a chat. If the chat is associated with an onlineMeeting instance, then, effectively, the teamsApps installed in the meeting will be listed. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAppInstallationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chat-list-installedapps?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[InstalledAppsRequestBuilderGe async def post(self,body: Optional[TeamsAppInstallation] = None, request_configuration: Optional[InstalledAppsRequestBuilderPostRequestConfiguration] = None) -> Optional[TeamsAppInstallation]: """ - Install a teamsApp to the specified chat. This API is available in the following national cloud deployments. + Install a teamsApp to the specified chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAppInstallation] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TeamsAppInstallation] = None, request_configu def to_get_request_information(self,request_configuration: Optional[InstalledAppsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all app installations within a chat. If the chat is associated with an onlineMeeting instance, then, effectively, the teamsApps installed in the meeting will be listed. This API is available in the following national cloud deployments. + List all app installations within a chat. If the chat is associated with an onlineMeeting instance, then, effectively, the teamsApps installed in the meeting will be listed. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[InstalledApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamsAppInstallation] = None, request_configuration: Optional[InstalledAppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Install a teamsApp to the specified chat. This API is available in the following national cloud deployments. + Install a teamsApp to the specified chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TeamsAppInstallation] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class InstalledAppsRequestBuilderGetQueryParameters(): """ - List all app installations within a chat. If the chat is associated with an onlineMeeting instance, then, effectively, the teamsApps installed in the meeting will be listed. This API is available in the following national cloud deployments. + List all app installations within a chat. If the chat is associated with an onlineMeeting instance, then, effectively, the teamsApps installed in the meeting will be listed. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/chats/item/installed_apps/item/teams_app/teams_app_request_builder.py b/msgraph_beta/generated/chats/item/installed_apps/item/teams_app/teams_app_request_builder.py index 2a53905572f..aa74ce4d772 100644 --- a/msgraph_beta/generated/chats/item/installed_apps/item/teams_app/teams_app_request_builder.py +++ b/msgraph_beta/generated/chats/item/installed_apps/item/teams_app/teams_app_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamsAppRequestBuilder: diff --git a/msgraph_beta/generated/chats/item/installed_apps/item/teams_app_definition/teams_app_definition_request_builder.py b/msgraph_beta/generated/chats/item/installed_apps/item/teams_app_definition/teams_app_definition_request_builder.py index 620abb53f10..a3b25abe16a 100644 --- a/msgraph_beta/generated/chats/item/installed_apps/item/teams_app_definition/teams_app_definition_request_builder.py +++ b/msgraph_beta/generated/chats/item/installed_apps/item/teams_app_definition/teams_app_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppDefi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamsAppDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/chats/item/installed_apps/item/teams_app_installation_item_request_builder.py b/msgraph_beta/generated/chats/item/installed_apps/item/teams_app_installation_item_request_builder.py index 3f6de7ec3eb..d6e235001f0 100644 --- a/msgraph_beta/generated/chats/item/installed_apps/item/teams_app_installation_item_request_builder.py +++ b/msgraph_beta/generated/chats/item/installed_apps/item/teams_app_installation_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Uninstall an app installed within a chat. This API is available in the following national cloud deployments. + Uninstall an app installed within a chat. 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/chat-delete-installedapps?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[TeamsAppInstallationItemRe async def get(self,request_configuration: Optional[TeamsAppInstallationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsAppInstallation]: """ - Get an app installed in a chat. This API is available in the following national cloud deployments. + Get an app installed in a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAppInstallation] Find more info here: https://learn.microsoft.com/graph/api/chat-get-installedapps?view=graph-rest-1.0 @@ -97,7 +97,7 @@ async def patch(self,body: Optional[TeamsAppInstallation] = None, request_config def to_delete_request_information(self,request_configuration: Optional[TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Uninstall an app installed within a chat. This API is available in the following national cloud deployments. + Uninstall an app installed within a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[TeamsAppI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamsAppInstallationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an app installed in a chat. This API is available in the following national cloud deployments. + Get an app installed in a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppInst request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamsAppInstallation] = None, request_configuration: Optional[TeamsAppInstallationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[TeamsAppInstallation] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -198,7 +198,7 @@ class TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class TeamsAppInstallationItemRequestBuilderGetQueryParameters(): """ - Get an app installed in a chat. This API is available in the following national cloud deployments. + Get an app installed in a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/chats/item/installed_apps/item/upgrade/upgrade_request_builder.py b/msgraph_beta/generated/chats/item/installed_apps/item/upgrade/upgrade_request_builder.py index dfae4602d01..f556f23116d 100644 --- a/msgraph_beta/generated/chats/item/installed_apps/item/upgrade/upgrade_request_builder.py +++ b/msgraph_beta/generated/chats/item/installed_apps/item/upgrade/upgrade_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UpgradePostRequestBody] = None, request_configuration: Optional[UpgradeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Upgrade an app installation within a chat. This API is available in the following national cloud deployments. + Upgrade an app installation within a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[UpgradePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[UpgradePostRequestBody] = None, request_configuration: Optional[UpgradeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Upgrade an app installation within a chat. This API is available in the following national cloud deployments. + Upgrade an app installation within a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[UpgradePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/chats/item/last_message_preview/last_message_preview_request_builder.py b/msgraph_beta/generated/chats/item/last_message_preview/last_message_preview_request_builder.py index bc20a1f25fc..7a66e47e483 100644 --- a/msgraph_beta/generated/chats/item/last_message_preview/last_message_preview_request_builder.py +++ b/msgraph_beta/generated/chats/item/last_message_preview/last_message_preview_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[LastMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LastMessagePreviewRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[LastMessageP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessageInfo] = None, request_configuration: Optional[LastMessagePreviewRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ChatMessageInfo] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_request_builder.py b/msgraph_beta/generated/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_request_builder.py index d69985c3b00..b7d42ad0b54 100644 --- a/msgraph_beta/generated/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_request_builder.py +++ b/msgraph_beta/generated/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[MarkChatReadForUserPostRequestBody] = None, request_configuration: Optional[MarkChatReadForUserRequestBuilderPostRequestConfiguration] = None) -> None: """ - Mark a chat as read for a user. This API is available in the following national cloud deployments. + Mark a chat as read for a user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[MarkChatReadForUserPostRequestBody] = None, r def to_post_request_information(self,body: Optional[MarkChatReadForUserPostRequestBody] = None, request_configuration: Optional[MarkChatReadForUserRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Mark a chat as read for a user. This API is available in the following national cloud deployments. + Mark a chat as read for a user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[MarkChatReadForUserPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_request_builder.py b/msgraph_beta/generated/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_request_builder.py index 2d8d0aaf63b..c94664653cb 100644 --- a/msgraph_beta/generated/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_request_builder.py +++ b/msgraph_beta/generated/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[MarkChatUnreadForUserPostRequestBody] = None, request_configuration: Optional[MarkChatUnreadForUserRequestBuilderPostRequestConfiguration] = None) -> None: """ - Mark a chat as unread for a user. This API is available in the following national cloud deployments. + Mark a chat as unread for a user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[MarkChatUnreadForUserPostRequestBody] = None, def to_post_request_information(self,body: Optional[MarkChatUnreadForUserPostRequestBody] = None, request_configuration: Optional[MarkChatUnreadForUserRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Mark a chat as unread for a user. This API is available in the following national cloud deployments. + Mark a chat as unread for a user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[MarkChatUnreadForUserPostReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/chats/item/members/add/add_request_builder.py b/msgraph_beta/generated/chats/item/members/add/add_request_builder.py index 8f370899c89..c39b49896fc 100644 --- a/msgraph_beta/generated/chats/item/members/add/add_request_builder.py +++ b/msgraph_beta/generated/chats/item/members/add/add_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> Optional[AddPostResponse]: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AddPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddPostRequestBody] = None, request_configura def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/chats/item/members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/chats/item/members/item/conversation_member_item_request_builder.py index 086f1467555..8d2a4f64089 100644 --- a/msgraph_beta/generated/chats/item/members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/chats/item/members/item/conversation_member_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a conversationMember from a chat. This API is available in the following national cloud deployments. + Remove a conversationMember from a chat. 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/chat-delete-members?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ConversationMemberItemRequ async def get(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Retrieve a conversationMember from a chat. This API is available in the following national cloud deployments. + Retrieve a conversationMember from a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] Find more info here: https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[ConversationMember] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a conversationMember from a chat. This API is available in the following national cloud deployments. + Remove a conversationMember from a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Conversat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a conversationMember from a chat. This API is available in the following national cloud deployments. + Retrieve a conversationMember from a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[Conversation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[ConversationMemberItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ConversationMemberItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class ConversationMemberItemRequestBuilderGetQueryParameters(): """ - Retrieve a conversationMember from a chat. This API is available in the following national cloud deployments. + Retrieve a conversationMember from a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/chats/item/members/members_request_builder.py b/msgraph_beta/generated/chats/item/members/members_request_builder.py index 10138bb7f71..11d71722222 100644 --- a/msgraph_beta/generated/chats/item/members/members_request_builder.py +++ b/msgraph_beta/generated/chats/item/members/members_request_builder.py @@ -46,7 +46,7 @@ def by_conversation_member_id(self,conversation_member_id: str) -> ConversationM async def get(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMemberCollectionResponse]: """ - Retrieve a conversationMember from a chat. This API is available in the following national cloud deployments. + Retrieve a conversationMember from a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chat-list-members?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MembersRequestBuilderGetReque async def post(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Add a conversationMember to a chat. This API is available in the following national cloud deployments. + Add a conversationMember to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ConversationMember] = None, request_configura def to_get_request_information(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a conversationMember from a chat. This API is available in the following national cloud deployments. + Retrieve a conversationMember from a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a conversationMember to a chat. This API is available in the following national cloud deployments. + Add a conversationMember to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MembersRequestBuilderGetQueryParameters(): """ - Retrieve a conversationMember from a chat. This API is available in the following national cloud deployments. + Retrieve a conversationMember from a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/chats/item/messages/delta/delta_request_builder.py b/msgraph_beta/generated/chats/item/messages/delta/delta_request_builder.py index df4cfc82032..05ca9cb76fa 100644 --- a/msgraph_beta/generated/chats/item/messages/delta/delta_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/chats/item/messages/item/chat_message_item_request_builder.py b/msgraph_beta/generated/chats/item/messages/item/chat_message_item_request_builder.py index 595b3773f0c..505261c587a 100644 --- a/msgraph_beta/generated/chats/item/messages/item/chat_message_item_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/item/chat_message_item_request_builder.py @@ -53,7 +53,7 @@ async def delete(self,request_configuration: Optional[ChatMessageItemRequestBuil async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 @@ -110,12 +110,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[ChatMessage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -227,7 +227,7 @@ class ChatMessageItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class ChatMessageItemRequestBuilderGetQueryParameters(): """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/chats/item/messages/item/hosted_contents/hosted_contents_request_builder.py b/msgraph_beta/generated/chats/item/messages/item/hosted_contents/hosted_contents_request_builder.py index 1ff91bad69e..efcef610fef 100644 --- a/msgraph_beta/generated/chats/item/messages/item/hosted_contents/hosted_contents_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/item/hosted_contents/hosted_contents_request_builder.py @@ -45,7 +45,7 @@ def by_chat_message_hosted_content_id(self,chat_message_hosted_content_id: str) async def get(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContentCollectionResponse]: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ChatMessageHostedContent] = None, request_con def to_get_request_information(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[HostedConten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[HostedContentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HostedContentsRequestBuilderGetQueryParameters(): """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/chats/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py b/msgraph_beta/generated/chats/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py index a47a3dabdb5..1c15b3b7da0 100644 --- a/msgraph_beta/generated/chats/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ChatMessageHostedContentIt async def get(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContent]: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContent] Find more info here: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class ChatMessageHostedContentItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/chats/item/messages/item/hosted_contents/item/value/content_request_builder.py b/msgraph_beta/generated/chats/item/messages/item/hosted_contents/item/value/content_request_builder.py index b614d06e965..0a9aadeb509 100644 --- a/msgraph_beta/generated/chats/item/messages/item/hosted_contents/item/value/content_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/item/hosted_contents/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/chats/item/messages/item/replies/delta/delta_request_builder.py b/msgraph_beta/generated/chats/item/messages/item/replies/delta/delta_request_builder.py index 11b76fdf375..a853551ea1f 100644 --- a/msgraph_beta/generated/chats/item/messages/item/replies/delta/delta_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/item/replies/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/chats/item/messages/item/replies/item/chat_message_item_request_builder.py b/msgraph_beta/generated/chats/item/messages/item/replies/item/chat_message_item_request_builder.py index 824b8bcc723..bd4f54779bd 100644 --- a/msgraph_beta/generated/chats/item/messages/item/replies/item/chat_message_item_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/item/replies/item/chat_message_item_request_builder.py @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[ChatMessageItemRequestBuil async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[ChatMessage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -217,7 +217,7 @@ class ChatMessageItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class ChatMessageItemRequestBuilderGetQueryParameters(): """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/chats/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py b/msgraph_beta/generated/chats/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py index f351e024daf..9687cddad18 100644 --- a/msgraph_beta/generated/chats/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py @@ -45,7 +45,7 @@ def by_chat_message_hosted_content_id(self,chat_message_hosted_content_id: str) async def get(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContentCollectionResponse]: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ChatMessageHostedContent] = None, request_con def to_get_request_information(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[HostedConten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[HostedContentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HostedContentsRequestBuilderGetQueryParameters(): """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/chats/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py b/msgraph_beta/generated/chats/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py index 32640454a16..45c9b4cfc33 100644 --- a/msgraph_beta/generated/chats/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ChatMessageHostedContentIt async def get(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContent]: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContent] Find more info here: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class ChatMessageHostedContentItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/chats/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py b/msgraph_beta/generated/chats/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py index 51ccbbbc891..493c5700ed8 100644 --- a/msgraph_beta/generated/chats/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/chats/item/messages/item/replies/item/set_reaction/set_reaction_request_builder.py b/msgraph_beta/generated/chats/item/messages/item/replies/item/set_reaction/set_reaction_request_builder.py index 90799b6ba52..9e10537e56b 100644 --- a/msgraph_beta/generated/chats/item/messages/item/replies/item/set_reaction/set_reaction_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/item/replies/item/set_reaction/set_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetReactionPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/chats/item/messages/item/replies/item/soft_delete/soft_delete_request_builder.py b/msgraph_beta/generated/chats/item/messages/item/replies/item/soft_delete/soft_delete_request_builder.py index 8c24a89f306..a46a75d5ca0 100644 --- a/msgraph_beta/generated/chats/item/messages/item/replies/item/soft_delete/soft_delete_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/item/replies/item/soft_delete/soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-softdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPost def to_post_request_information(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SoftDeleteR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/chats/item/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py b/msgraph_beta/generated/chats/item/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py index afabc45fee8..b22d5f08d96 100644 --- a/msgraph_beta/generated/chats/item/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-undosoftdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilder def to_post_request_information(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UndoSoftDel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UndoSoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/chats/item/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py b/msgraph_beta/generated/chats/item/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py index c0a30f0321c..00fddd738bc 100644 --- a/msgraph_beta/generated/chats/item/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnsetReactionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/chats/item/messages/item/replies/replies_request_builder.py b/msgraph_beta/generated/chats/item/messages/item/replies/replies_request_builder.py index 05f96dba120..bebd6bf6b4d 100644 --- a/msgraph_beta/generated/chats/item/messages/item/replies/replies_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/item/replies/replies_request_builder.py @@ -46,7 +46,7 @@ def by_chat_message_id1(self,chat_message_id1: str) -> ChatMessageItemRequestBui async def get(self,request_configuration: Optional[RepliesRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageCollectionResponse]: """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-replies?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[RepliesRequestBuilderGetReque async def post(self,body: Optional[ChatMessage] = None, request_configuration: Optional[RepliesRequestBuilderPostRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + Send a new reply to a chatMessage in a specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ChatMessage] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[RepliesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[RepliesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[RepliesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + Send a new reply to a chatMessage in a specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ChatMessage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class RepliesRequestBuilderGetQueryParameters(): """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/chats/item/messages/item/set_reaction/set_reaction_request_builder.py b/msgraph_beta/generated/chats/item/messages/item/set_reaction/set_reaction_request_builder.py index acd2294e06c..41f97df043e 100644 --- a/msgraph_beta/generated/chats/item/messages/item/set_reaction/set_reaction_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/item/set_reaction/set_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetReactionPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/chats/item/messages/item/soft_delete/soft_delete_request_builder.py b/msgraph_beta/generated/chats/item/messages/item/soft_delete/soft_delete_request_builder.py index 73ab3c51d56..5b34c59fa43 100644 --- a/msgraph_beta/generated/chats/item/messages/item/soft_delete/soft_delete_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/item/soft_delete/soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-softdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPost def to_post_request_information(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SoftDeleteR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/chats/item/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py b/msgraph_beta/generated/chats/item/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py index af8b003b309..1f2009549a0 100644 --- a/msgraph_beta/generated/chats/item/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-undosoftdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilder def to_post_request_information(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UndoSoftDel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UndoSoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/chats/item/messages/item/unset_reaction/unset_reaction_request_builder.py b/msgraph_beta/generated/chats/item/messages/item/unset_reaction/unset_reaction_request_builder.py index ef6e252a55e..d2e0e72134c 100644 --- a/msgraph_beta/generated/chats/item/messages/item/unset_reaction/unset_reaction_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/item/unset_reaction/unset_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnsetReactionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/chats/item/messages/messages_request_builder.py b/msgraph_beta/generated/chats/item/messages/messages_request_builder.py index cb58ef04ac6..cb18896664f 100644 --- a/msgraph_beta/generated/chats/item/messages/messages_request_builder.py +++ b/msgraph_beta/generated/chats/item/messages/messages_request_builder.py @@ -46,7 +46,7 @@ def by_chat_message_id(self,chat_message_id: str) -> ChatMessageItemRequestBuild async def get(self,request_configuration: Optional[MessagesRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageCollectionResponse]: """ - Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chat-list-messages?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MessagesRequestBuilderGetRequ async def post(self,body: Optional[ChatMessage] = None, request_configuration: Optional[MessagesRequestBuilderPostRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. This API is available in the following national cloud deployments. + Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ChatMessage] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[MessagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MessagesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[MessagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. This API is available in the following national cloud deployments. + Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ChatMessage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class MessagesRequestBuilderGetQueryParameters(): """ - Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/chats/item/operations/item/teams_async_operation_item_request_builder.py b/msgraph_beta/generated/chats/item/operations/item/teams_async_operation_item_request_builder.py index 88755ac9e47..277c7b8d771 100644 --- a/msgraph_beta/generated/chats/item/operations/item/teams_async_operation_item_request_builder.py +++ b/msgraph_beta/generated/chats/item/operations/item/teams_async_operation_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[TeamsAsyncOperationItemReq async def get(self,request_configuration: Optional[TeamsAsyncOperationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsAsyncOperation]: """ - Get the specified Teams async operation that ran or is running on a specific resource. This API is available in the following national cloud deployments. + Get the specified Teams async operation that ran or is running on a specific resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAsyncOperation] Find more info here: https://learn.microsoft.com/graph/api/teamsasyncoperation-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[TeamsAsyn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamsAsyncOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the specified Teams async operation that ran or is running on a specific resource. This API is available in the following national cloud deployments. + Get the specified Teams async operation that ran or is running on a specific resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAsyncOp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamsAsyncOperation] = None, request_configuration: Optional[TeamsAsyncOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[TeamsAsyncOperation] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class TeamsAsyncOperationItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class TeamsAsyncOperationItemRequestBuilderGetQueryParameters(): """ - Get the specified Teams async operation that ran or is running on a specific resource. This API is available in the following national cloud deployments. + Get the specified Teams async operation that ran or is running on a specific resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/chats/item/operations/operations_request_builder.py b/msgraph_beta/generated/chats/item/operations/operations_request_builder.py index b54a21d97d7..69bd53ff8d8 100644 --- a/msgraph_beta/generated/chats/item/operations/operations_request_builder.py +++ b/msgraph_beta/generated/chats/item/operations/operations_request_builder.py @@ -45,7 +45,7 @@ def by_teams_async_operation_id(self,teams_async_operation_id: str) -> TeamsAsyn async def get(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsAsyncOperationCollectionResponse]: """ - List all Teams async operations that ran or are running on the specified chat. This API is available in the following national cloud deployments. + List all Teams async operations that ran or are running on the specified chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAsyncOperationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chat-list-operations?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[TeamsAsyncOperation] = None, request_configur def to_get_request_information(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all Teams async operations that ran or are running on the specified chat. This API is available in the following national cloud deployments. + List all Teams async operations that ran or are running on the specified chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamsAsyncOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[TeamsAsyncOperation] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OperationsRequestBuilderGetQueryParameters(): """ - List all Teams async operations that ran or are running on the specified chat. This API is available in the following national cloud deployments. + List all Teams async operations that ran or are running on the specified chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/chats/item/permission_grants/item/resource_specific_permission_grant_item_request_builder.py b/msgraph_beta/generated/chats/item/permission_grants/item/resource_specific_permission_grant_item_request_builder.py index 3548f63cda0..ab4ab7c8b82 100644 --- a/msgraph_beta/generated/chats/item/permission_grants/item/resource_specific_permission_grant_item_request_builder.py +++ b/msgraph_beta/generated/chats/item/permission_grants/item/resource_specific_permission_grant_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ResourceS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ResourceSpecificPermissionGrantItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceSpec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ResourceSpecificPermissionGrant] = None, request_configuration: Optional[ResourceSpecificPermissionGrantItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ResourceSpecificPermissionG request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/chats/item/permission_grants/permission_grants_request_builder.py b/msgraph_beta/generated/chats/item/permission_grants/permission_grants_request_builder.py index b9649d812b6..5bbf909c65d 100644 --- a/msgraph_beta/generated/chats/item/permission_grants/permission_grants_request_builder.py +++ b/msgraph_beta/generated/chats/item/permission_grants/permission_grants_request_builder.py @@ -45,7 +45,7 @@ def by_resource_specific_permission_grant_id(self,resource_specific_permission_g async def get(self,request_configuration: Optional[PermissionGrantsRequestBuilderGetRequestConfiguration] = None) -> Optional[ResourceSpecificPermissionGrantCollectionResponse]: """ - List all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + List all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding kind of resource-specific access that each app has. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ResourceSpecificPermissionGrantCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chat-list-permissiongrants?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ResourceSpecificPermissionGrant] = None, requ def to_get_request_information(self,request_configuration: Optional[PermissionGrantsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + List all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding kind of resource-specific access that each app has. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PermissionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ResourceSpecificPermissionGrant] = None, request_configuration: Optional[PermissionGrantsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ResourceSpecificPermissionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PermissionGrantsRequestBuilderGetQueryParameters(): """ - List all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + List all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding kind of resource-specific access that each app has. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/chats/item/pinned_messages/item/message/message_request_builder.py b/msgraph_beta/generated/chats/item/pinned_messages/item/message/message_request_builder.py index 7992cb938f3..fd79b9dd1d9 100644 --- a/msgraph_beta/generated/chats/item/pinned_messages/item/message/message_request_builder.py +++ b/msgraph_beta/generated/chats/item/pinned_messages/item/message/message_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MessageReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MessageRequestBuilder: diff --git a/msgraph_beta/generated/chats/item/pinned_messages/item/pinned_chat_message_info_item_request_builder.py b/msgraph_beta/generated/chats/item/pinned_messages/item/pinned_chat_message_info_item_request_builder.py index 42bd187bd2c..4b3ca80fca6 100644 --- a/msgraph_beta/generated/chats/item/pinned_messages/item/pinned_chat_message_info_item_request_builder.py +++ b/msgraph_beta/generated/chats/item/pinned_messages/item/pinned_chat_message_info_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[PinnedChatMessageInfoItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Unpin a message from a chat. This API is available in the following national cloud deployments. + Unpin a message from a chat. 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/chat-delete-pinnedmessages?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[PinnedChatMessageInfo] = None, request_confi def to_delete_request_information(self,request_configuration: Optional[PinnedChatMessageInfoItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Unpin a message from a chat. This API is available in the following national cloud deployments. + Unpin a message from a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[PinnedCha request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PinnedChatMessageInfoItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[PinnedChatMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PinnedChatMessageInfo] = None, request_configuration: Optional[PinnedChatMessageInfoItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PinnedChatMessageInfo] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/chats/item/pinned_messages/pinned_messages_request_builder.py b/msgraph_beta/generated/chats/item/pinned_messages/pinned_messages_request_builder.py index b3a653b4fa8..7360d31bae3 100644 --- a/msgraph_beta/generated/chats/item/pinned_messages/pinned_messages_request_builder.py +++ b/msgraph_beta/generated/chats/item/pinned_messages/pinned_messages_request_builder.py @@ -45,7 +45,7 @@ def by_pinned_chat_message_info_id(self,pinned_chat_message_info_id: str) -> Pin async def get(self,request_configuration: Optional[PinnedMessagesRequestBuilderGetRequestConfiguration] = None) -> Optional[PinnedChatMessageInfoCollectionResponse]: """ - Get a list of pinnedChatMessages in a chat. This API is available in the following national cloud deployments. + Get a list of pinnedChatMessages in a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PinnedChatMessageInfoCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chat-list-pinnedmessages?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[PinnedMessagesRequestBuilderG async def post(self,body: Optional[PinnedChatMessageInfo] = None, request_configuration: Optional[PinnedMessagesRequestBuilderPostRequestConfiguration] = None) -> Optional[PinnedChatMessageInfo]: """ - Pin a chat message in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can pin a chat message. This API is available in the following national cloud deployments. + Pin a chat message in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can pin a chat message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PinnedChatMessageInfo] @@ -92,7 +92,7 @@ async def post(self,body: Optional[PinnedChatMessageInfo] = None, request_config def to_get_request_information(self,request_configuration: Optional[PinnedMessagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of pinnedChatMessages in a chat. This API is available in the following national cloud deployments. + Get a list of pinnedChatMessages in a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[PinnedMessag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PinnedChatMessageInfo] = None, request_configuration: Optional[PinnedMessagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Pin a chat message in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can pin a chat message. This API is available in the following national cloud deployments. + Pin a chat message in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can pin a chat message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PinnedChatMessageInfo] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PinnedMessagesRequestBuilderGetQueryParameters(): """ - Get a list of pinnedChatMessages in a chat. This API is available in the following national cloud deployments. + Get a list of pinnedChatMessages in a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/chats/item/remove_all_access_for_user/remove_all_access_for_user_post_request_body.py b/msgraph_beta/generated/chats/item/remove_all_access_for_user/remove_all_access_for_user_post_request_body.py new file mode 100644 index 00000000000..16d889d671d --- /dev/null +++ b/msgraph_beta/generated/chats/item/remove_all_access_for_user/remove_all_access_for_user_post_request_body.py @@ -0,0 +1,56 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.teamwork_user_identity import TeamworkUserIdentity + +@dataclass +class RemoveAllAccessForUserPostRequestBody(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 user property + user: Optional[TeamworkUserIdentity] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> RemoveAllAccessForUserPostRequestBody: + """ + 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: RemoveAllAccessForUserPostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return RemoveAllAccessForUserPostRequestBody() + + 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.teamwork_user_identity import TeamworkUserIdentity + + from ....models.teamwork_user_identity import TeamworkUserIdentity + + fields: Dict[str, Callable[[Any], None]] = { + "user": lambda n : setattr(self, 'user', n.get_object_value(TeamworkUserIdentity)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_object_value("user", self.user) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/chats/item/remove_all_access_for_user/remove_all_access_for_user_request_builder.py b/msgraph_beta/generated/chats/item/remove_all_access_for_user/remove_all_access_for_user_request_builder.py new file mode 100644 index 00000000000..eef94a81f69 --- /dev/null +++ b/msgraph_beta/generated/chats/item/remove_all_access_for_user/remove_all_access_for_user_request_builder.py @@ -0,0 +1,92 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.o_data_errors.o_data_error import ODataError + from .remove_all_access_for_user_post_request_body import RemoveAllAccessForUserPostRequestBody + +class RemoveAllAccessForUserRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the removeAllAccessForUser method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new RemoveAllAccessForUserRequestBuilder 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}/chats/{chat%2Did}/removeAllAccessForUser", path_parameters) + + async def post(self,body: Optional[RemoveAllAccessForUserPostRequestBody] = None, request_configuration: Optional[RemoveAllAccessForUserRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Remove access to a chat for a user. + param body: The request body + 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/chat-removeallaccessforuser?view=graph-rest-1.0 + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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: Optional[RemoveAllAccessForUserPostRequestBody] = None, request_configuration: Optional[RemoveAllAccessForUserRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Remove access to a chat for a user. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> RemoveAllAccessForUserRequestBuilder: + """ + 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: RemoveAllAccessForUserRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return RemoveAllAccessForUserRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class RemoveAllAccessForUserRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/chats/item/send_activity_notification/send_activity_notification_request_builder.py b/msgraph_beta/generated/chats/item/send_activity_notification/send_activity_notification_request_builder.py index 4ba7b9669c9..bb696bf3562 100644 --- a/msgraph_beta/generated/chats/item/send_activity_notification/send_activity_notification_request_builder.py +++ b/msgraph_beta/generated/chats/item/send_activity_notification/send_activity_notification_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SendActivityNotificationPostRequestBody] = None, request_configuration: Optional[SendActivityNotificationRequestBuilderPostRequestConfiguration] = None) -> None: """ - Send an activity feed notification in the scope of a chat. For more information, see sending Teams activity notifications. This API is available in the following national cloud deployments. + Send an activity feed notification in the scope of a chat. For more information, see sending Teams activity notifications. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SendActivityNotificationPostRequestBody] = No def to_post_request_information(self,body: Optional[SendActivityNotificationPostRequestBody] = None, request_configuration: Optional[SendActivityNotificationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send an activity feed notification in the scope of a chat. For more information, see sending Teams activity notifications. This API is available in the following national cloud deployments. + Send an activity feed notification in the scope of a chat. For more information, see sending Teams activity notifications. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SendActivityNotificationPost request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/chats/item/tabs/item/teams_app/teams_app_request_builder.py b/msgraph_beta/generated/chats/item/tabs/item/teams_app/teams_app_request_builder.py index 98086129e51..8ffd72da332 100644 --- a/msgraph_beta/generated/chats/item/tabs/item/teams_app/teams_app_request_builder.py +++ b/msgraph_beta/generated/chats/item/tabs/item/teams_app/teams_app_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamsAppRequestBuilder: diff --git a/msgraph_beta/generated/chats/item/tabs/item/teams_tab_item_request_builder.py b/msgraph_beta/generated/chats/item/tabs/item/teams_tab_item_request_builder.py index 2291f33c1cf..0d17217895d 100644 --- a/msgraph_beta/generated/chats/item/tabs/item/teams_tab_item_request_builder.py +++ b/msgraph_beta/generated/chats/item/tabs/item/teams_tab_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TeamsTabItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove (unpin) a tab from the specified chat. This API is available in the following national cloud deployments. + Remove (unpin) a tab from the specified chat. 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/chat-delete-tabs?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[TeamsTabItemRequestBuilder async def get(self,request_configuration: Optional[TeamsTabItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsTab]: """ - Retrieve the properties and relationships of the specified tab in a chat. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of the specified tab in a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsTab] Find more info here: https://learn.microsoft.com/graph/api/chat-get-tabs?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[TeamsTabItemRequestBuilderGet async def patch(self,body: Optional[TeamsTab] = None, request_configuration: Optional[TeamsTabItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[TeamsTab]: """ - Update the properties of the specified tab in a chat. This can be used to configure the content of the tab. This API is available in the following national cloud deployments. + Update the properties of the specified tab in a chat. This can be used to configure the content of the tab. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsTab] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[TeamsTab] = None, request_configuration: Opt def to_delete_request_information(self,request_configuration: Optional[TeamsTabItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove (unpin) a tab from the specified chat. This API is available in the following national cloud deployments. + Remove (unpin) a tab from the specified chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[TeamsTabI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamsTabItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of the specified tab in a chat. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of the specified tab in a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[TeamsTabItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamsTab] = None, request_configuration: Optional[TeamsTabItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of the specified tab in a chat. This can be used to configure the content of the tab. This API is available in the following national cloud deployments. + Update the properties of the specified tab in a chat. This can be used to configure the content of the tab. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[TeamsTab] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class TeamsTabItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class TeamsTabItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of the specified tab in a chat. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of the specified tab in a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/chats/item/tabs/tabs_request_builder.py b/msgraph_beta/generated/chats/item/tabs/tabs_request_builder.py index df371b1b587..ef853649161 100644 --- a/msgraph_beta/generated/chats/item/tabs/tabs_request_builder.py +++ b/msgraph_beta/generated/chats/item/tabs/tabs_request_builder.py @@ -45,7 +45,7 @@ def by_teams_tab_id(self,teams_tab_id: str) -> TeamsTabItemRequestBuilder: async def get(self,request_configuration: Optional[TabsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsTabCollectionResponse]: """ - Retrieve the list of tabs in the specified chat. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsTabCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chat-list-tabs?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TabsRequestBuilderGetRequestC async def post(self,body: Optional[TeamsTab] = None, request_configuration: Optional[TabsRequestBuilderPostRequestConfiguration] = None) -> Optional[TeamsTab]: """ - Add (pin) a tab to the specified chat. The corresponding app must already be installed in the chat. This API is available in the following national cloud deployments. + Add (pin) a tab to the specified chat. The corresponding app must already be installed in the chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsTab] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TeamsTab] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[TabsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of tabs in the specified chat. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[TabsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamsTab] = None, request_configuration: Optional[TabsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add (pin) a tab to the specified chat. The corresponding app must already be installed in the chat. This API is available in the following national cloud deployments. + Add (pin) a tab to the specified chat. The corresponding app must already be installed in the chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TeamsTab] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TabsRequestBuilderGetQueryParameters(): """ - Retrieve the list of tabs in the specified chat. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/chats/item/unhide_for_user/unhide_for_user_request_builder.py b/msgraph_beta/generated/chats/item/unhide_for_user/unhide_for_user_request_builder.py index 874567b11f0..3498251542d 100644 --- a/msgraph_beta/generated/chats/item/unhide_for_user/unhide_for_user_request_builder.py +++ b/msgraph_beta/generated/chats/item/unhide_for_user/unhide_for_user_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UnhideForUserPostRequestBody] = None, request_configuration: Optional[UnhideForUserRequestBuilderPostRequestConfiguration] = None) -> None: """ - Unhide a chat for a user. This API is available in the following national cloud deployments. + Unhide a chat for a user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[UnhideForUserPostRequestBody] = None, request def to_post_request_information(self,body: Optional[UnhideForUserPostRequestBody] = None, request_configuration: Optional[UnhideForUserRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Unhide a chat for a user. This API is available in the following national cloud deployments. + Unhide a chat for a user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[UnhideForUserPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/commands/commands_request_builder.py b/msgraph_beta/generated/commands/commands_request_builder.py index 833d8105ea6..f2176d1473d 100644 --- a/msgraph_beta/generated/commands/commands_request_builder.py +++ b/msgraph_beta/generated/commands/commands_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[CommandsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Command] = None, request_configuration: Optional[CommandsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Command] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/commands/item/command_item_request_builder.py b/msgraph_beta/generated/commands/item/command_item_request_builder.py index 1bbe805c3c8..46b2376800c 100644 --- a/msgraph_beta/generated/commands/item/command_item_request_builder.py +++ b/msgraph_beta/generated/commands/item/command_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[CommandIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CommandItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CommandItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Command] = None, request_configuration: Optional[CommandItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Command] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/commands/item/responsepayload/responsepayload_request_builder.py b/msgraph_beta/generated/commands/item/responsepayload/responsepayload_request_builder.py index b43f69707e9..f880c14439b 100644 --- a/msgraph_beta/generated/commands/item/responsepayload/responsepayload_request_builder.py +++ b/msgraph_beta/generated/commands/item/responsepayload/responsepayload_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[Responsepayl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResponsepayloadRequestBuilder: diff --git a/msgraph_beta/generated/communications/call_records/call_records_request_builder.py b/msgraph_beta/generated/communications/call_records/call_records_request_builder.py index b4a56e971b2..0640643fe4a 100644 --- a/msgraph_beta/generated/communications/call_records/call_records_request_builder.py +++ b/msgraph_beta/generated/communications/call_records/call_records_request_builder.py @@ -51,9 +51,10 @@ def by_call_record_id(self,call_record_id: str) -> CallRecordItemRequestBuilder: async def get(self,request_configuration: Optional[CallRecordsRequestBuilderGetRequestConfiguration] = None) -> Optional[CallRecordCollectionResponse]: """ - Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions. This API is available in the following national cloud deployments. + Get the list of callRecord objects and their properties. The results can be optionally filtered using the $filter query parameter on the startDateTime and participant id properties. Note that the listed call records don't include expandable relationships such as sessions and participants_v2. You can expand these relationships using Get callRecord for a specific record. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CallRecordCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/callrecords-callrecord-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -171,7 +172,7 @@ async def post(self,body: Optional[CallRecord] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[CallRecordsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions. This API is available in the following national cloud deployments. + Get the list of callRecord objects and their properties. The results can be optionally filtered using the $filter query parameter on the startDateTime and participant id properties. Note that the listed call records don't include expandable relationships such as sessions and participants_v2. You can expand these relationships using Get callRecord for a specific record. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -183,7 +184,7 @@ def to_get_request_information(self,request_configuration: Optional[CallRecordsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CallRecord] = None, request_configuration: Optional[CallRecordsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -202,7 +203,7 @@ def to_post_request_information(self,body: Optional[CallRecord] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -228,7 +229,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CallRecordsRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions. This API is available in the following national cloud deployments. + Get the list of callRecord objects and their properties. The results can be optionally filtered using the $filter query parameter on the startDateTime and participant id properties. Note that the listed call records don't include expandable relationships such as sessions and participants_v2. You can expand these relationships using Get callRecord for a specific record. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/communications/call_records/item/call_record_item_request_builder.py b/msgraph_beta/generated/communications/call_records/item/call_record_item_request_builder.py index fa01bcc60d8..31d7e505a24 100644 --- a/msgraph_beta/generated/communications/call_records/item/call_record_item_request_builder.py +++ b/msgraph_beta/generated/communications/call_records/item/call_record_item_request_builder.py @@ -12,6 +12,8 @@ if TYPE_CHECKING: from ....models.call_records.call_record import CallRecord from ....models.o_data_errors.o_data_error import ODataError + from .organizer_v2.organizer_v2_request_builder import Organizer_v2RequestBuilder + from .participants_v2.participants_v2_request_builder import Participants_v2RequestBuilder from .sessions.sessions_request_builder import SessionsRequestBuilder class CallRecordItemRequestBuilder(BaseRequestBuilder): @@ -48,7 +50,7 @@ async def delete(self,request_configuration: Optional[CallRecordItemRequestBuild async def get(self,request_configuration: Optional[CallRecordItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CallRecord]: """ - Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CallRecord] Find more info here: https://learn.microsoft.com/graph/api/callrecords-callrecord-get?view=graph-rest-1.0 @@ -105,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[CallRecor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CallRecordItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[CallRecordIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CallRecord] = None, request_configuration: Optional[CallRecordItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +143,7 @@ def to_patch_request_information(self,body: Optional[CallRecord] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -155,6 +157,24 @@ def with_url(self,raw_url: Optional[str] = None) -> CallRecordItemRequestBuilder raise TypeError("raw_url cannot be null.") return CallRecordItemRequestBuilder(self.request_adapter, raw_url) + @property + def organizer_v2(self) -> Organizer_v2RequestBuilder: + """ + Provides operations to manage the organizer_v2 property of the microsoft.graph.callRecords.callRecord entity. + """ + from .organizer_v2.organizer_v2_request_builder import Organizer_v2RequestBuilder + + return Organizer_v2RequestBuilder(self.request_adapter, self.path_parameters) + + @property + def participants_v2(self) -> Participants_v2RequestBuilder: + """ + Provides operations to manage the participants_v2 property of the microsoft.graph.callRecords.callRecord entity. + """ + from .participants_v2.participants_v2_request_builder import Participants_v2RequestBuilder + + return Participants_v2RequestBuilder(self.request_adapter, self.path_parameters) + @property def sessions(self) -> SessionsRequestBuilder: """ @@ -177,7 +197,7 @@ class CallRecordItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class CallRecordItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/communications/call_records/item/organizer_v2/organizer_v2_request_builder.py b/msgraph_beta/generated/communications/call_records/item/organizer_v2/organizer_v2_request_builder.py new file mode 100644 index 00000000000..f921f2d1d03 --- /dev/null +++ b/msgraph_beta/generated/communications/call_records/item/organizer_v2/organizer_v2_request_builder.py @@ -0,0 +1,215 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.call_records.organizer import Organizer + from .....models.o_data_errors.o_data_error import ODataError + +class Organizer_v2RequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the organizer_v2 property of the microsoft.graph.callRecords.callRecord entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new Organizer_v2RequestBuilder 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}/communications/callRecords/{callRecord%2Did}/organizer_v2{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[Organizer_v2RequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property organizer_v2 for communications + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[Organizer_v2RequestBuilderGetRequestConfiguration] = None) -> Optional[Organizer]: + """ + Identity of the organizer of the call. This relationship is expanded by default in callRecord methods. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[Organizer] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.call_records.organizer import Organizer + + return await self.request_adapter.send_async(request_info, Organizer, error_mapping) + + async def patch(self,body: Optional[Organizer] = None, request_configuration: Optional[Organizer_v2RequestBuilderPatchRequestConfiguration] = None) -> Optional[Organizer]: + """ + Update the navigation property organizer_v2 in communications + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[Organizer] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.call_records.organizer import Organizer + + return await self.request_adapter.send_async(request_info, Organizer, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[Organizer_v2RequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property organizer_v2 for communications + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[Organizer_v2RequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Identity of the organizer of the call. This relationship is expanded by default in callRecord methods. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[Organizer] = None, request_configuration: Optional[Organizer_v2RequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property organizer_v2 in communications + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> Organizer_v2RequestBuilder: + """ + 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: Organizer_v2RequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return Organizer_v2RequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class Organizer_v2RequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class Organizer_v2RequestBuilderGetQueryParameters(): + """ + Identity of the organizer of the call. This relationship is expanded by default in callRecord methods. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class Organizer_v2RequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[Organizer_v2RequestBuilder.Organizer_v2RequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class Organizer_v2RequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/communications/call_records/item/participants_v2/count/count_request_builder.py b/msgraph_beta/generated/communications/call_records/item/participants_v2/count/count_request_builder.py new file mode 100644 index 00000000000..7a98d257bc0 --- /dev/null +++ b/msgraph_beta/generated/communications/call_records/item/participants_v2/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/communications/callRecords/{callRecord%2Did}/participants_v2/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/communications/call_records/item/participants_v2/item/participant_item_request_builder.py b/msgraph_beta/generated/communications/call_records/item/participants_v2/item/participant_item_request_builder.py new file mode 100644 index 00000000000..911d1cd3288 --- /dev/null +++ b/msgraph_beta/generated/communications/call_records/item/participants_v2/item/participant_item_request_builder.py @@ -0,0 +1,215 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.call_records.participant import Participant + from ......models.o_data_errors.o_data_error import ODataError + +class ParticipantItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the participants_v2 property of the microsoft.graph.callRecords.callRecord entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ParticipantItemRequestBuilder 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}/communications/callRecords/{callRecord%2Did}/participants_v2/{participant%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[ParticipantItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property participants_v2 for communications + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[ParticipantItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Participant]: + """ + List of distinct participants in the call. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[Participant] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.call_records.participant import Participant + + return await self.request_adapter.send_async(request_info, Participant, error_mapping) + + async def patch(self,body: Optional[Participant] = None, request_configuration: Optional[ParticipantItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Participant]: + """ + Update the navigation property participants_v2 in communications + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[Participant] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.call_records.participant import Participant + + return await self.request_adapter.send_async(request_info, Participant, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[ParticipantItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property participants_v2 for communications + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[ParticipantItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + List of distinct participants in the call. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[Participant] = None, request_configuration: Optional[ParticipantItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property participants_v2 in communications + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> ParticipantItemRequestBuilder: + """ + 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: ParticipantItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ParticipantItemRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ParticipantItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class ParticipantItemRequestBuilderGetQueryParameters(): + """ + List of distinct participants in the call. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ParticipantItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[ParticipantItemRequestBuilder.ParticipantItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ParticipantItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/communications/call_records/item/participants_v2/participants_v2_request_builder.py b/msgraph_beta/generated/communications/call_records/item/participants_v2/participants_v2_request_builder.py new file mode 100644 index 00000000000..f25a7734d4d --- /dev/null +++ b/msgraph_beta/generated/communications/call_records/item/participants_v2/participants_v2_request_builder.py @@ -0,0 +1,227 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.call_records.participant import Participant + from .....models.call_records.participant_collection_response import ParticipantCollectionResponse + from .....models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.participant_item_request_builder import ParticipantItemRequestBuilder + +class Participants_v2RequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the participants_v2 property of the microsoft.graph.callRecords.callRecord entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new Participants_v2RequestBuilder 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}/communications/callRecords/{callRecord%2Did}/participants_v2{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_participant_id(self,participant_id: str) -> ParticipantItemRequestBuilder: + """ + Provides operations to manage the participants_v2 property of the microsoft.graph.callRecords.callRecord entity. + param participant_id: The unique identifier of participant + Returns: ParticipantItemRequestBuilder + """ + if not participant_id: + raise TypeError("participant_id cannot be null.") + from .item.participant_item_request_builder import ParticipantItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["participant%2Did"] = participant_id + return ParticipantItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[Participants_v2RequestBuilderGetRequestConfiguration] = None) -> Optional[ParticipantCollectionResponse]: + """ + Get the list of participants associated with a callRecord. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ParticipantCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/callrecords-callrecord-list-participants?view=graph-rest-1.0 + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.call_records.participant_collection_response import ParticipantCollectionResponse + + return await self.request_adapter.send_async(request_info, ParticipantCollectionResponse, error_mapping) + + async def post(self,body: Optional[Participant] = None, request_configuration: Optional[Participants_v2RequestBuilderPostRequestConfiguration] = None) -> Optional[Participant]: + """ + Create new navigation property to participants_v2 for communications + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[Participant] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.call_records.participant import Participant + + return await self.request_adapter.send_async(request_info, Participant, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[Participants_v2RequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get the list of participants associated with a callRecord. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[Participant] = None, request_configuration: Optional[Participants_v2RequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to participants_v2 for communications + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> Participants_v2RequestBuilder: + """ + 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: Participants_v2RequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return Participants_v2RequestBuilder(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 Participants_v2RequestBuilderGetQueryParameters(): + """ + Get the list of participants associated with a callRecord. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class Participants_v2RequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[Participants_v2RequestBuilder.Participants_v2RequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class Participants_v2RequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/communications/call_records/item/sessions/item/segments/item/segment_item_request_builder.py b/msgraph_beta/generated/communications/call_records/item/sessions/item/segments/item/segment_item_request_builder.py index 6d9884fe9c2..80e68ad173a 100644 --- a/msgraph_beta/generated/communications/call_records/item/sessions/item/segments/item/segment_item_request_builder.py +++ b/msgraph_beta/generated/communications/call_records/item/sessions/item/segments/item/segment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[SegmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SegmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SegmentItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Segment] = None, request_configuration: Optional[SegmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Segment] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/call_records/item/sessions/item/segments/segments_request_builder.py b/msgraph_beta/generated/communications/call_records/item/sessions/item/segments/segments_request_builder.py index dd1ee7a6704..3e28a4e0f3e 100644 --- a/msgraph_beta/generated/communications/call_records/item/sessions/item/segments/segments_request_builder.py +++ b/msgraph_beta/generated/communications/call_records/item/sessions/item/segments/segments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SegmentsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Segment] = None, request_configuration: Optional[SegmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Segment] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/call_records/item/sessions/item/session_item_request_builder.py b/msgraph_beta/generated/communications/call_records/item/sessions/item/session_item_request_builder.py index 7badb06ee9c..6b899454898 100644 --- a/msgraph_beta/generated/communications/call_records/item/sessions/item/session_item_request_builder.py +++ b/msgraph_beta/generated/communications/call_records/item/sessions/item/session_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[SessionIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SessionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[SessionItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Session] = None, request_configuration: Optional[SessionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Session] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/call_records/item/sessions/sessions_request_builder.py b/msgraph_beta/generated/communications/call_records/item/sessions/sessions_request_builder.py index f979d3121e1..1ff51be6291 100644 --- a/msgraph_beta/generated/communications/call_records/item/sessions/sessions_request_builder.py +++ b/msgraph_beta/generated/communications/call_records/item/sessions/sessions_request_builder.py @@ -45,10 +45,10 @@ def by_session_id(self,session_id: str) -> SessionItemRequestBuilder: async def get(self,request_configuration: Optional[SessionsRequestBuilderGetRequestConfiguration] = None) -> Optional[SessionCollectionResponse]: """ - Retrieve the list of sessions associated with a callRecord object. If the sessions list is truncated, a sessions@odata.nextLink value will be provided to retrieve the next page of sessions. The maximum page size for sessions is 60 entries. This API is available in the following national cloud deployments. + Retrieve the list of sessions associated with a callRecord object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SessionCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/callrecords-session-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/callrecords-callrecord-list-sessions?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -91,7 +91,7 @@ async def post(self,body: Optional[Session] = None, request_configuration: Optio def to_get_request_information(self,request_configuration: Optional[SessionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of sessions associated with a callRecord object. If the sessions list is truncated, a sessions@odata.nextLink value will be provided to retrieve the next page of sessions. The maximum page size for sessions is 60 entries. This API is available in the following national cloud deployments. + Retrieve the list of sessions associated with a callRecord object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SessionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Session] = None, request_configuration: Optional[SessionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Session] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SessionsRequestBuilderGetQueryParameters(): """ - Retrieve the list of sessions associated with a callRecord object. If the sessions list is truncated, a sessions@odata.nextLink value will be provided to retrieve the next page of sessions. The maximum page size for sessions is 60 entries. This API is available in the following national cloud deployments. + Retrieve the list of sessions associated with a callRecord object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_direct_routing_calls_with_from_date_time_with_to_date_time/microsoft_graph_call_records_get_direct_routing_calls_with_from_date_time_with_to_date_time_request_builder.py b/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_direct_routing_calls_with_from_date_time_with_to_date_time/microsoft_graph_call_records_get_direct_routing_calls_with_from_date_time_with_to_date_time_request_builder.py index 8e4acc84917..9cb3b485c3e 100644 --- a/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_direct_routing_calls_with_from_date_time_with_to_date_time/microsoft_graph_call_records_get_direct_routing_calls_with_from_date_time_with_to_date_time_request_builder.py +++ b/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_direct_routing_calls_with_from_date_time_with_to_date_time/microsoft_graph_call_records_get_direct_routing_calls_with_from_date_time_with_to_date_time_request_builder.py @@ -67,7 +67,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder: diff --git a/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_pstn_blocked_users_log_with_from_date_time_with_to_date_time/microsoft_graph_call_records_get_pstn_blocked_users_log_with_from_date_time_with_to_date_time_request_builder.py b/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_pstn_blocked_users_log_with_from_date_time_with_to_date_time/microsoft_graph_call_records_get_pstn_blocked_users_log_with_from_date_time_with_to_date_time_request_builder.py index 1ffce15ab8a..44eb7b58248 100644 --- a/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_pstn_blocked_users_log_with_from_date_time_with_to_date_time/microsoft_graph_call_records_get_pstn_blocked_users_log_with_from_date_time_with_to_date_time_request_builder.py +++ b/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_pstn_blocked_users_log_with_from_date_time_with_to_date_time/microsoft_graph_call_records_get_pstn_blocked_users_log_with_from_date_time_with_to_date_time_request_builder.py @@ -67,7 +67,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphCallRecordsGetPstnBlockedUsersLogWithFromDateTimeWithToDateTimeRequestBuilder: diff --git a/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_pstn_calls_with_from_date_time_with_to_date_time/microsoft_graph_call_records_get_pstn_calls_with_from_date_time_with_to_date_time_request_builder.py b/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_pstn_calls_with_from_date_time_with_to_date_time/microsoft_graph_call_records_get_pstn_calls_with_from_date_time_with_to_date_time_request_builder.py index 9fb45ef6be9..d1a4acd5a5f 100644 --- a/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_pstn_calls_with_from_date_time_with_to_date_time/microsoft_graph_call_records_get_pstn_calls_with_from_date_time_with_to_date_time_request_builder.py +++ b/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_pstn_calls_with_from_date_time_with_to_date_time/microsoft_graph_call_records_get_pstn_calls_with_from_date_time_with_to_date_time_request_builder.py @@ -67,7 +67,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder: diff --git a/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_pstn_online_meeting_dialout_report_with_from_date_time_with_to_date_time/microsoft_graph_call_records_get_pstn_online_meeting_dialout_report_with_from_date_time_with_to_date_time_request_builder.py b/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_pstn_online_meeting_dialout_report_with_from_date_time_with_to_date_time/microsoft_graph_call_records_get_pstn_online_meeting_dialout_report_with_from_date_time_with_to_date_time_request_builder.py index d03a8a09d48..164827f55dd 100644 --- a/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_pstn_online_meeting_dialout_report_with_from_date_time_with_to_date_time/microsoft_graph_call_records_get_pstn_online_meeting_dialout_report_with_from_date_time_with_to_date_time_request_builder.py +++ b/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_pstn_online_meeting_dialout_report_with_from_date_time_with_to_date_time/microsoft_graph_call_records_get_pstn_online_meeting_dialout_report_with_from_date_time_with_to_date_time_request_builder.py @@ -67,7 +67,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphCallRecordsGetPstnOnlineMeetingDialoutReportWithFromDateTimeWithToDateTimeRequestBuilder: diff --git a/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_sms_log_with_from_date_time_with_to_date_time/microsoft_graph_call_records_get_sms_log_with_from_date_time_with_to_date_time_request_builder.py b/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_sms_log_with_from_date_time_with_to_date_time/microsoft_graph_call_records_get_sms_log_with_from_date_time_with_to_date_time_request_builder.py index 3fa4ed43b7a..2bbd77c2d45 100644 --- a/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_sms_log_with_from_date_time_with_to_date_time/microsoft_graph_call_records_get_sms_log_with_from_date_time_with_to_date_time_request_builder.py +++ b/msgraph_beta/generated/communications/call_records/microsoft_graph_call_records_get_sms_log_with_from_date_time_with_to_date_time/microsoft_graph_call_records_get_sms_log_with_from_date_time_with_to_date_time_request_builder.py @@ -67,7 +67,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphCallRecordsGetSmsLogWithFromDateTimeWithToDateTimeRequestBuilder: diff --git a/msgraph_beta/generated/communications/calls/calls_request_builder.py b/msgraph_beta/generated/communications/calls/calls_request_builder.py index 0fb786093e1..d312bc1fe79 100644 --- a/msgraph_beta/generated/communications/calls/calls_request_builder.py +++ b/msgraph_beta/generated/communications/calls/calls_request_builder.py @@ -46,7 +46,7 @@ def by_call_id(self,call_id: str) -> CallItemRequestBuilder: async def get(self,request_configuration: Optional[CallsRequestBuilderGetRequestConfiguration] = None) -> Optional[CallCollectionResponse]: """ - Retrieve the properties and relationships of a call object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a call object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CallCollectionResponse] """ @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[CallsRequestBuilderGetRequest async def post(self,body: Optional[Call] = None, request_configuration: Optional[CallsRequestBuilderPostRequestConfiguration] = None) -> Optional[Call]: """ - Create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You will need to register the calling bot and go through the list of permissions needed. This API is available in the following national cloud deployments. + Create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You will need to register the calling bot and go through the list of permissions needed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Call] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Call] = None, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[CallsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a call object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a call object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[CallsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Call] = None, request_configuration: Optional[CallsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You will need to register the calling bot and go through the list of permissions needed. This API is available in the following national cloud deployments. + Create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You will need to register the calling bot and go through the list of permissions needed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Call] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def log_teleconference_device_quality(self) -> LogTeleconferenceDeviceQualityReq @dataclass class CallsRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a call object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a call object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/communications/calls/item/add_large_gallery_view/add_large_gallery_view_request_builder.py b/msgraph_beta/generated/communications/calls/item/add_large_gallery_view/add_large_gallery_view_request_builder.py index ddf4bedf0e9..2decca6a483 100644 --- a/msgraph_beta/generated/communications/calls/item/add_large_gallery_view/add_large_gallery_view_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/add_large_gallery_view/add_large_gallery_view_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddLargeGalleryViewPostRequestBody] = None, request_configuration: Optional[AddLargeGalleryViewRequestBuilderPostRequestConfiguration] = None) -> Optional[AddLargeGalleryViewOperation]: """ - Add the large gallery view to a call. For details about how to identify a large gallery view participant in a roster so that you can retrieve the relevant data to subscribe to the video feed, see Identify large gallery view participants in a roster. This API is available in the following national cloud deployments. + Add the large gallery view to a call. For details about how to identify a large gallery view participant in a roster so that you can retrieve the relevant data to subscribe to the video feed, see Identify large gallery view participants in a roster. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AddLargeGalleryViewOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddLargeGalleryViewPostRequestBody] = None, r def to_post_request_information(self,body: Optional[AddLargeGalleryViewPostRequestBody] = None, request_configuration: Optional[AddLargeGalleryViewRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add the large gallery view to a call. For details about how to identify a large gallery view participant in a roster so that you can retrieve the relevant data to subscribe to the video feed, see Identify large gallery view participants in a roster. This API is available in the following national cloud deployments. + Add the large gallery view to a call. For details about how to identify a large gallery view participant in a roster so that you can retrieve the relevant data to subscribe to the video feed, see Identify large gallery view participants in a roster. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddLargeGalleryViewPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/calls/item/answer/answer_request_builder.py b/msgraph_beta/generated/communications/calls/item/answer/answer_request_builder.py index 2f6f7405d74..db56f943899 100644 --- a/msgraph_beta/generated/communications/calls/item/answer/answer_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/answer/answer_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AnswerPostRequestBody] = None, request_configuration: Optional[AnswerRequestBuilderPostRequestConfiguration] = None) -> None: """ - Enable a bot to answer an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification contains the chatInfo and meetingInfo parameters. The bot is expected to answer, reject or redirect the call before the call times out. The current timeout value is 15 seconds. The current timeout value is 15 seconds for regular scenarios, and 5 seconds for policy-based recording scenarios. This API is available in the following national cloud deployments. + Enable a bot to answer an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification contains the chatInfo and meetingInfo parameters. The bot is expected to answer, reject or redirect the call before the call times out. The current timeout value is 15 seconds. The current timeout value is 15 seconds for regular scenarios, and 5 seconds for policy-based recording scenarios. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AnswerPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AnswerPostRequestBody] = None, request_configuration: Optional[AnswerRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Enable a bot to answer an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification contains the chatInfo and meetingInfo parameters. The bot is expected to answer, reject or redirect the call before the call times out. The current timeout value is 15 seconds. The current timeout value is 15 seconds for regular scenarios, and 5 seconds for policy-based recording scenarios. This API is available in the following national cloud deployments. + Enable a bot to answer an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification contains the chatInfo and meetingInfo parameters. The bot is expected to answer, reject or redirect the call before the call times out. The current timeout value is 15 seconds. The current timeout value is 15 seconds for regular scenarios, and 5 seconds for policy-based recording scenarios. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AnswerPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/calls/item/audio_routing_groups/audio_routing_groups_request_builder.py b/msgraph_beta/generated/communications/calls/item/audio_routing_groups/audio_routing_groups_request_builder.py index 57a94d404d4..1cfd1632989 100644 --- a/msgraph_beta/generated/communications/calls/item/audio_routing_groups/audio_routing_groups_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/audio_routing_groups/audio_routing_groups_request_builder.py @@ -45,7 +45,7 @@ def by_audio_routing_group_id(self,audio_routing_group_id: str) -> AudioRoutingG async def get(self,request_configuration: Optional[AudioRoutingGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[AudioRoutingGroupCollectionResponse]: """ - Retrieve a list of audioRoutingGroup objects. This API is available in the following national cloud deployments. + Retrieve a list of audioRoutingGroup objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AudioRoutingGroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/call-list-audioroutinggroups?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AudioRoutingGroupsRequestBuil async def post(self,body: Optional[AudioRoutingGroup] = None, request_configuration: Optional[AudioRoutingGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[AudioRoutingGroup]: """ - Create a new audioRoutingGroup. This API is available in the following national cloud deployments. + Create a new audioRoutingGroup. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AudioRoutingGroup] @@ -92,7 +92,7 @@ async def post(self,body: Optional[AudioRoutingGroup] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[AudioRoutingGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of audioRoutingGroup objects. This API is available in the following national cloud deployments. + Retrieve a list of audioRoutingGroup objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[AudioRouting request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AudioRoutingGroup] = None, request_configuration: Optional[AudioRoutingGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new audioRoutingGroup. This API is available in the following national cloud deployments. + Create a new audioRoutingGroup. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[AudioRoutingGroup] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AudioRoutingGroupsRequestBuilderGetQueryParameters(): """ - Retrieve a list of audioRoutingGroup objects. This API is available in the following national cloud deployments. + Retrieve a list of audioRoutingGroup objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/communications/calls/item/audio_routing_groups/item/audio_routing_group_item_request_builder.py b/msgraph_beta/generated/communications/calls/item/audio_routing_groups/item/audio_routing_group_item_request_builder.py index b019aeb5811..6172e28421c 100644 --- a/msgraph_beta/generated/communications/calls/item/audio_routing_groups/item/audio_routing_group_item_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/audio_routing_groups/item/audio_routing_group_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AudioRoutingGroupItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete the specified audioRoutingGroup. This API is available in the following national cloud deployments. + Delete the specified audioRoutingGroup. 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/audioroutinggroup-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AudioRoutingGroupItemReque async def get(self,request_configuration: Optional[AudioRoutingGroupItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AudioRoutingGroup]: """ - Retrieve the properties and relationships of an audioRoutingGroup object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an audioRoutingGroup object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AudioRoutingGroup] Find more info here: https://learn.microsoft.com/graph/api/audioroutinggroup-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AudioRoutingGroupItemRequestB async def patch(self,body: Optional[AudioRoutingGroup] = None, request_configuration: Optional[AudioRoutingGroupItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[AudioRoutingGroup]: """ - Modify sources and receivers of an audioRoutingGroup. This API is available in the following national cloud deployments. + Modify sources and receivers of an audioRoutingGroup. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AudioRoutingGroup] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[AudioRoutingGroup] = None, request_configura def to_delete_request_information(self,request_configuration: Optional[AudioRoutingGroupItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete the specified audioRoutingGroup. This API is available in the following national cloud deployments. + Delete the specified audioRoutingGroup. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[AudioRout request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AudioRoutingGroupItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an audioRoutingGroup object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an audioRoutingGroup object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[AudioRouting request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AudioRoutingGroup] = None, request_configuration: Optional[AudioRoutingGroupItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Modify sources and receivers of an audioRoutingGroup. This API is available in the following national cloud deployments. + Modify sources and receivers of an audioRoutingGroup. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[AudioRoutingGroup] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class AudioRoutingGroupItemRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class AudioRoutingGroupItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an audioRoutingGroup object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an audioRoutingGroup object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/communications/calls/item/call_item_request_builder.py b/msgraph_beta/generated/communications/calls/item/call_item_request_builder.py index fbc16b85da0..0c335aea626 100644 --- a/msgraph_beta/generated/communications/calls/item/call_item_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/call_item_request_builder.py @@ -27,6 +27,7 @@ from .record_response.record_response_request_builder import RecordResponseRequestBuilder from .redirect.redirect_request_builder import RedirectRequestBuilder from .reject.reject_request_builder import RejectRequestBuilder + from .send_dtmf_tones.send_dtmf_tones_request_builder import SendDtmfTonesRequestBuilder from .subscribe_to_tone.subscribe_to_tone_request_builder import SubscribeToToneRequestBuilder from .transfer.transfer_request_builder import TransferRequestBuilder from .unmute.unmute_request_builder import UnmuteRequestBuilder @@ -47,7 +48,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[CallItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete or hang up an active call. For group calls, this will only delete your call leg and the underlying group call will still continue. This API is available in the following national cloud deployments. + Delete or hang up an active call. For group calls, this will only delete your call leg and the underlying group call will still continue. 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/call-delete?view=graph-rest-1.0 @@ -67,7 +68,7 @@ async def delete(self,request_configuration: Optional[CallItemRequestBuilderDele async def get(self,request_configuration: Optional[CallItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Call]: """ - Retrieve the properties and relationships of a call object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a call object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Call] Find more info here: https://learn.microsoft.com/graph/api/call-get?view=graph-rest-1.0 @@ -113,7 +114,7 @@ async def patch(self,body: Optional[Call] = None, request_configuration: Optiona def to_delete_request_information(self,request_configuration: Optional[CallItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete or hang up an active call. For group calls, this will only delete your call leg and the underlying group call will still continue. This API is available in the following national cloud deployments. + Delete or hang up an active call. For group calls, this will only delete your call leg and the underlying group call will still continue. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +125,12 @@ def to_delete_request_information(self,request_configuration: Optional[CallItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CallItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a call object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a call object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -141,7 +142,7 @@ def to_get_request_information(self,request_configuration: Optional[CallItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Call] = None, request_configuration: Optional[CallItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -160,7 +161,7 @@ def to_patch_request_information(self,body: Optional[Call] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -309,6 +310,15 @@ def reject(self) -> RejectRequestBuilder: return RejectRequestBuilder(self.request_adapter, self.path_parameters) + @property + def send_dtmf_tones(self) -> SendDtmfTonesRequestBuilder: + """ + Provides operations to call the sendDtmfTones method. + """ + from .send_dtmf_tones.send_dtmf_tones_request_builder import SendDtmfTonesRequestBuilder + + return SendDtmfTonesRequestBuilder(self.request_adapter, self.path_parameters) + @property def subscribe_to_tone(self) -> SubscribeToToneRequestBuilder: """ @@ -358,7 +368,7 @@ class CallItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class CallItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a call object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a call object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/communications/calls/item/cancel_media_processing/cancel_media_processing_request_builder.py b/msgraph_beta/generated/communications/calls/item/cancel_media_processing/cancel_media_processing_request_builder.py index 0fa0950a0ca..36c4c1657de 100644 --- a/msgraph_beta/generated/communications/calls/item/cancel_media_processing/cancel_media_processing_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/cancel_media_processing/cancel_media_processing_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelMediaProcessingPostRequestBody] = None, request_configuration: Optional[CancelMediaProcessingRequestBuilderPostRequestConfiguration] = None) -> Optional[CancelMediaProcessingOperation]: """ - Cancels processing for any in-progress media operations. Media operations refer to the IVR operations playPrompt and recordResponse, which are by default queued to process in order. The cancelMediaProcessing method cancels any operation that is in-process as well as operations that are queued. For example, this API can be used to clean up the IVR operation queue for a new media operation. However, it will not cancel a ubscribeToTone operation because it operates independent of any operation queue. This API is available in the following national cloud deployments. + Cancels processing for any in-progress media operations. Media operations refer to the IVR operations playPrompt and recordResponse, which are by default queued to process in order. The cancelMediaProcessing method cancels any operation that is in-process as well as operations that are queued. For example, this API can be used to clean up the IVR operation queue for a new media operation. However, it will not cancel a ubscribeToTone operation because it operates independent of any operation queue. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CancelMediaProcessingOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CancelMediaProcessingPostRequestBody] = None, def to_post_request_information(self,body: Optional[CancelMediaProcessingPostRequestBody] = None, request_configuration: Optional[CancelMediaProcessingRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Cancels processing for any in-progress media operations. Media operations refer to the IVR operations playPrompt and recordResponse, which are by default queued to process in order. The cancelMediaProcessing method cancels any operation that is in-process as well as operations that are queued. For example, this API can be used to clean up the IVR operation queue for a new media operation. However, it will not cancel a ubscribeToTone operation because it operates independent of any operation queue. This API is available in the following national cloud deployments. + Cancels processing for any in-progress media operations. Media operations refer to the IVR operations playPrompt and recordResponse, which are by default queued to process in order. The cancelMediaProcessing method cancels any operation that is in-process as well as operations that are queued. For example, this API can be used to clean up the IVR operation queue for a new media operation. However, it will not cancel a ubscribeToTone operation because it operates independent of any operation queue. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CancelMediaProcessingPostReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/calls/item/change_screen_sharing_role/change_screen_sharing_role_request_builder.py b/msgraph_beta/generated/communications/calls/item/change_screen_sharing_role/change_screen_sharing_role_request_builder.py index 1db1e6b5b81..dfc1a2b3e78 100644 --- a/msgraph_beta/generated/communications/calls/item/change_screen_sharing_role/change_screen_sharing_role_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/change_screen_sharing_role/change_screen_sharing_role_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ChangeScreenSharingRolePostRequestBody] = None, request_configuration: Optional[ChangeScreenSharingRoleRequestBuilderPostRequestConfiguration] = None) -> None: """ - Allow applications to share screen content with the participants of a group call. This API is available in the following national cloud deployments. + Allow applications to share screen content with the participants of a group call. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ChangeScreenSharingRolePostRequestBody] = Non def to_post_request_information(self,body: Optional[ChangeScreenSharingRolePostRequestBody] = None, request_configuration: Optional[ChangeScreenSharingRoleRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Allow applications to share screen content with the participants of a group call. This API is available in the following national cloud deployments. + Allow applications to share screen content with the participants of a group call. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ChangeScreenSharingRolePostR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/calls/item/content_sharing_sessions/content_sharing_sessions_request_builder.py b/msgraph_beta/generated/communications/calls/item/content_sharing_sessions/content_sharing_sessions_request_builder.py index 640e099f31e..e28a728aacc 100644 --- a/msgraph_beta/generated/communications/calls/item/content_sharing_sessions/content_sharing_sessions_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/content_sharing_sessions/content_sharing_sessions_request_builder.py @@ -45,7 +45,7 @@ def by_content_sharing_session_id(self,content_sharing_session_id: str) -> Conte async def get(self,request_configuration: Optional[ContentSharingSessionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ContentSharingSessionCollectionResponse]: """ - Retrieve a list of contentSharingSession objects in a call. This API is available in the following national cloud deployments. + Retrieve a list of contentSharingSession objects in a call. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentSharingSessionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/call-list-contentsharingsessions?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ContentSharingSession] = None, request_config def to_get_request_information(self,request_configuration: Optional[ContentSharingSessionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of contentSharingSession objects in a call. This API is available in the following national cloud deployments. + Retrieve a list of contentSharingSession objects in a call. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentShari request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ContentSharingSession] = None, request_configuration: Optional[ContentSharingSessionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ContentSharingSession] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ContentSharingSessionsRequestBuilderGetQueryParameters(): """ - Retrieve a list of contentSharingSession objects in a call. This API is available in the following national cloud deployments. + Retrieve a list of contentSharingSession objects in a call. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/communications/calls/item/content_sharing_sessions/item/content_sharing_session_item_request_builder.py b/msgraph_beta/generated/communications/calls/item/content_sharing_sessions/item/content_sharing_session_item_request_builder.py index dd5f25cc7b7..f0d7286d55a 100644 --- a/msgraph_beta/generated/communications/calls/item/content_sharing_sessions/item/content_sharing_session_item_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/content_sharing_sessions/item/content_sharing_session_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ContentSharingSessionItemR async def get(self,request_configuration: Optional[ContentSharingSessionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ContentSharingSession]: """ - Retrieve the properties of a contentSharingSession object. This API is available in the following national cloud deployments. + Retrieve the properties of a contentSharingSession object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentSharingSession] Find more info here: https://learn.microsoft.com/graph/api/contentsharingsession-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[ContentSh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ContentSharingSessionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of a contentSharingSession object. This API is available in the following national cloud deployments. + Retrieve the properties of a contentSharingSession object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentShari request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ContentSharingSession] = None, request_configuration: Optional[ContentSharingSessionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ContentSharingSession] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ContentSharingSessionItemRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class ContentSharingSessionItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties of a contentSharingSession object. This API is available in the following national cloud deployments. + Retrieve the properties of a contentSharingSession object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/communications/calls/item/keep_alive/keep_alive_request_builder.py b/msgraph_beta/generated/communications/calls/item/keep_alive/keep_alive_request_builder.py index e026ef7d762..412d969fc9e 100644 --- a/msgraph_beta/generated/communications/calls/item/keep_alive/keep_alive_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/keep_alive/keep_alive_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[KeepAliveRequestBuilderPostRequestConfiguration] = None) -> None: """ - Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that does not receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. This API is available in the following national cloud deployments. + Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that does not receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. 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/call-keepalive?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[KeepAliveRequestBuilderPostR def to_post_request_information(self,request_configuration: Optional[KeepAliveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that does not receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. This API is available in the following national cloud deployments. + Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that does not receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[KeepAliveRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> KeepAliveRequestBuilder: diff --git a/msgraph_beta/generated/communications/calls/item/mute/mute_request_builder.py b/msgraph_beta/generated/communications/calls/item/mute/mute_request_builder.py index 6be8544ea2e..d90740460e5 100644 --- a/msgraph_beta/generated/communications/calls/item/mute/mute_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/mute/mute_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[MutePostRequestBody] = None, request_configuration: Optional[MuteRequestBuilderPostRequestConfiguration] = None) -> Optional[MuteParticipantOperation]: """ - Allows the application to mute itself. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more details about how to handle mute operations, see muteParticipantOperation This API is available in the following national cloud deployments. + Allows the application to mute itself. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more details about how to handle mute operations, see muteParticipantOperation param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MuteParticipantOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[MutePostRequestBody] = None, request_configur def to_post_request_information(self,body: Optional[MutePostRequestBody] = None, request_configuration: Optional[MuteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Allows the application to mute itself. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more details about how to handle mute operations, see muteParticipantOperation This API is available in the following national cloud deployments. + Allows the application to mute itself. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more details about how to handle mute operations, see muteParticipantOperation param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[MutePostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/calls/item/operations/item/comms_operation_item_request_builder.py b/msgraph_beta/generated/communications/calls/item/operations/item/comms_operation_item_request_builder.py index ba558e8b752..23bb1b57ed9 100644 --- a/msgraph_beta/generated/communications/calls/item/operations/item/comms_operation_item_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/operations/item/comms_operation_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[CommsOperationItemRequestB async def get(self,request_configuration: Optional[CommsOperationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CommsOperation]: """ - Get the status of an operation that adds the large gallery view to a call. This API is available in the following national cloud deployments. + Get the status of an operation that adds the large gallery view to a call. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CommsOperation] Find more info here: https://learn.microsoft.com/graph/api/addlargegalleryviewoperation-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[CommsOper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CommsOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the status of an operation that adds the large gallery view to a call. This API is available in the following national cloud deployments. + Get the status of an operation that adds the large gallery view to a call. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CommsOperati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CommsOperation] = None, request_configuration: Optional[CommsOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[CommsOperation] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class CommsOperationItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class CommsOperationItemRequestBuilderGetQueryParameters(): """ - Get the status of an operation that adds the large gallery view to a call. This API is available in the following national cloud deployments. + Get the status of an operation that adds the large gallery view to a call. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/communications/calls/item/operations/operations_request_builder.py b/msgraph_beta/generated/communications/calls/item/operations/operations_request_builder.py index 43db93a7e1f..eb30cdf085f 100644 --- a/msgraph_beta/generated/communications/calls/item/operations/operations_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/operations/operations_request_builder.py @@ -45,7 +45,7 @@ def by_comms_operation_id(self,comms_operation_id: str) -> CommsOperationItemReq async def get(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> Optional[CommsOperationCollectionResponse]: """ - Get the status of an operation that adds the large gallery view to a call. This API is available in the following national cloud deployments. + Get the status of an operation that adds the large gallery view to a call. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CommsOperationCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[CommsOperation] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the status of an operation that adds the large gallery view to a call. This API is available in the following national cloud deployments. + Get the status of an operation that adds the large gallery view to a call. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CommsOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[CommsOperation] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OperationsRequestBuilderGetQueryParameters(): """ - Get the status of an operation that adds the large gallery view to a call. This API is available in the following national cloud deployments. + Get the status of an operation that adds the large gallery view to a call. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/communications/calls/item/participants/invite/invite_request_builder.py b/msgraph_beta/generated/communications/calls/item/participants/invite/invite_request_builder.py index 52b382ebbb5..24cd2df5899 100644 --- a/msgraph_beta/generated/communications/calls/item/participants/invite/invite_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/participants/invite/invite_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[InvitePostRequestBody] = None, request_configuration: Optional[InviteRequestBuilderPostRequestConfiguration] = None) -> Optional[InviteParticipantsOperation]: """ - Invite participants to the active call. For more information about how to handle operations, see commsOperation. This API is available in the following national cloud deployments. + Invite participants to the active call. For more information about how to handle operations, see commsOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InviteParticipantsOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[InvitePostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[InvitePostRequestBody] = None, request_configuration: Optional[InviteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Invite participants to the active call. For more information about how to handle operations, see commsOperation. This API is available in the following national cloud deployments. + Invite participants to the active call. For more information about how to handle operations, see commsOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[InvitePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/calls/item/participants/item/mute/mute_request_builder.py b/msgraph_beta/generated/communications/calls/item/participants/item/mute/mute_request_builder.py index 45e0c98ff10..862850c3643 100644 --- a/msgraph_beta/generated/communications/calls/item/participants/item/mute/mute_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/participants/item/mute/mute_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[MutePostRequestBody] = None, request_configuration: Optional[MuteRequestBuilderPostRequestConfiguration] = None) -> Optional[MuteParticipantOperation]: """ - Mute a specific participant in the call. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more information about how to handle mute operations, see muteParticipantOperation. This API is available in the following national cloud deployments. + Mute a specific participant in the call. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more information about how to handle mute operations, see muteParticipantOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MuteParticipantOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[MutePostRequestBody] = None, request_configur def to_post_request_information(self,body: Optional[MutePostRequestBody] = None, request_configuration: Optional[MuteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Mute a specific participant in the call. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more information about how to handle mute operations, see muteParticipantOperation. This API is available in the following national cloud deployments. + Mute a specific participant in the call. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more information about how to handle mute operations, see muteParticipantOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[MutePostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/calls/item/participants/item/participant_item_request_builder.py b/msgraph_beta/generated/communications/calls/item/participants/item/participant_item_request_builder.py index 2a16d00e412..ef874207b53 100644 --- a/msgraph_beta/generated/communications/calls/item/participants/item/participant_item_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/participants/item/participant_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ParticipantItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. This API is available in the following national cloud deployments. + Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. 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/participant-delete?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[ParticipantItemRequestBuil async def get(self,request_configuration: Optional[ParticipantItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Participant]: """ - Retrieve the properties and relationships of a participant object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a participant object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Participant] Find more info here: https://learn.microsoft.com/graph/api/participant-get?view=graph-rest-1.0 @@ -97,7 +97,7 @@ async def patch(self,body: Optional[Participant] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[ParticipantItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. This API is available in the following national cloud deployments. + Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[Participa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ParticipantItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a participant object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a participant object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[ParticipantI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Participant] = None, request_configuration: Optional[ParticipantItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[Participant] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -198,7 +198,7 @@ class ParticipantItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class ParticipantItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a participant object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a participant object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/communications/calls/item/participants/item/start_hold_music/start_hold_music_request_builder.py b/msgraph_beta/generated/communications/calls/item/participants/item/start_hold_music/start_hold_music_request_builder.py index 9d2a0267566..4c35c34b045 100644 --- a/msgraph_beta/generated/communications/calls/item/participants/item/start_hold_music/start_hold_music_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/participants/item/start_hold_music/start_hold_music_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[StartHoldMusicPostRequestBody] = None, request_configuration: Optional[StartHoldMusicRequestBuilderPostRequestConfiguration] = None) -> Optional[StartHoldMusicOperation]: """ - Put a participant on hold and play music in the background. This API is available in the following national cloud deployments. + Put a participant on hold and play music in the background. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StartHoldMusicOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[StartHoldMusicPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[StartHoldMusicPostRequestBody] = None, request_configuration: Optional[StartHoldMusicRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Put a participant on hold and play music in the background. This API is available in the following national cloud deployments. + Put a participant on hold and play music in the background. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[StartHoldMusicPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/calls/item/participants/item/stop_hold_music/stop_hold_music_request_builder.py b/msgraph_beta/generated/communications/calls/item/participants/item/stop_hold_music/stop_hold_music_request_builder.py index 1f1fe7f67b3..1efaf6abb1f 100644 --- a/msgraph_beta/generated/communications/calls/item/participants/item/stop_hold_music/stop_hold_music_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/participants/item/stop_hold_music/stop_hold_music_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[StopHoldMusicPostRequestBody] = None, request_configuration: Optional[StopHoldMusicRequestBuilderPostRequestConfiguration] = None) -> Optional[StopHoldMusicOperation]: """ - Reincorporate a participant previously put on hold to the call. This API is available in the following national cloud deployments. + Reincorporate a participant previously put on hold to the call. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StopHoldMusicOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[StopHoldMusicPostRequestBody] = None, request def to_post_request_information(self,body: Optional[StopHoldMusicPostRequestBody] = None, request_configuration: Optional[StopHoldMusicRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reincorporate a participant previously put on hold to the call. This API is available in the following national cloud deployments. + Reincorporate a participant previously put on hold to the call. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[StopHoldMusicPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/calls/item/participants/mute_all/mute_all_request_builder.py b/msgraph_beta/generated/communications/calls/item/participants/mute_all/mute_all_request_builder.py index db17e886161..e8be90a7918 100644 --- a/msgraph_beta/generated/communications/calls/item/participants/mute_all/mute_all_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/participants/mute_all/mute_all_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[MuteAllPostRequestBody] = None, request_configuration: Optional[MuteAllRequestBuilderPostRequestConfiguration] = None) -> Optional[MuteParticipantsOperation]: """ - Mute all participants in the call. This API is available in the following national cloud deployments. + Mute all participants in the call. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MuteParticipantsOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[MuteAllPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[MuteAllPostRequestBody] = None, request_configuration: Optional[MuteAllRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Mute all participants in the call. This API is available in the following national cloud deployments. + Mute all participants in the call. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[MuteAllPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/calls/item/participants/participants_request_builder.py b/msgraph_beta/generated/communications/calls/item/participants/participants_request_builder.py index 95d9f710fe1..224525db1f8 100644 --- a/msgraph_beta/generated/communications/calls/item/participants/participants_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/participants/participants_request_builder.py @@ -47,7 +47,7 @@ def by_participant_id(self,participant_id: str) -> ParticipantItemRequestBuilder async def get(self,request_configuration: Optional[ParticipantsRequestBuilderGetRequestConfiguration] = None) -> Optional[ParticipantCollectionResponse]: """ - Retrieve a list of participant objects in the call. This API is available in the following national cloud deployments. + Retrieve a list of participant objects in the call. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ParticipantCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/call-list-participants?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def post(self,body: Optional[Participant] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[ParticipantsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of participant objects in the call. This API is available in the following national cloud deployments. + Retrieve a list of participant objects in the call. 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[Participants request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Participant] = None, request_configuration: Optional[ParticipantsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Participant] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ def mute_all(self) -> MuteAllRequestBuilder: @dataclass class ParticipantsRequestBuilderGetQueryParameters(): """ - Retrieve a list of participant objects in the call. This API is available in the following national cloud deployments. + Retrieve a list of participant objects in the call. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/communications/calls/item/play_prompt/play_prompt_request_builder.py b/msgraph_beta/generated/communications/calls/item/play_prompt/play_prompt_request_builder.py index 9fdab4ff63c..49c3172a26b 100644 --- a/msgraph_beta/generated/communications/calls/item/play_prompt/play_prompt_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/play_prompt/play_prompt_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[PlayPromptPostRequestBody] = None, request_configuration: Optional[PlayPromptRequestBuilderPostRequestConfiguration] = None) -> Optional[PlayPromptOperation]: """ - Play a prompt in the call. For more information about how to handle operations, see commsOperation This API is available in the following national cloud deployments. + Play a prompt in the call. For more information about how to handle operations, see commsOperation param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlayPromptOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[PlayPromptPostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[PlayPromptPostRequestBody] = None, request_configuration: Optional[PlayPromptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Play a prompt in the call. For more information about how to handle operations, see commsOperation This API is available in the following national cloud deployments. + Play a prompt in the call. For more information about how to handle operations, see commsOperation param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[PlayPromptPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/calls/item/record/record_request_builder.py b/msgraph_beta/generated/communications/calls/item/record/record_request_builder.py index 7631f47e75d..46ecba117df 100644 --- a/msgraph_beta/generated/communications/calls/item/record/record_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/record/record_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[RecordPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/calls/item/record_response/record_response_request_builder.py b/msgraph_beta/generated/communications/calls/item/record_response/record_response_request_builder.py index 147c7bb1212..5f76b1200ae 100644 --- a/msgraph_beta/generated/communications/calls/item/record_response/record_response_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/record_response/record_response_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RecordResponsePostRequestBody] = None, request_configuration: Optional[RecordResponseRequestBuilderPostRequestConfiguration] = None) -> Optional[RecordOperation]: """ - Record a short audio response from the caller. A bot can use this to capture a voice response from a caller after they are prompted for a response. For more information about how to handle operations, see commsOperation This action isn't intended to record the entire call. The maximum length of recording is 2 minutes. The recording isn't saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification. This API is available in the following national cloud deployments. + Record a short audio response from the caller. A bot can use this to capture a voice response from a caller after they are prompted for a response. For more information about how to handle operations, see commsOperation This action isn't intended to record the entire call. The maximum length of recording is 2 minutes. The recording isn't saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RecordOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[RecordResponsePostRequestBody] = None, reques def to_post_request_information(self,body: Optional[RecordResponsePostRequestBody] = None, request_configuration: Optional[RecordResponseRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Record a short audio response from the caller. A bot can use this to capture a voice response from a caller after they are prompted for a response. For more information about how to handle operations, see commsOperation This action isn't intended to record the entire call. The maximum length of recording is 2 minutes. The recording isn't saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification. This API is available in the following national cloud deployments. + Record a short audio response from the caller. A bot can use this to capture a voice response from a caller after they are prompted for a response. For more information about how to handle operations, see commsOperation This action isn't intended to record the entire call. The maximum length of recording is 2 minutes. The recording isn't saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[RecordResponsePostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/calls/item/redirect/redirect_request_builder.py b/msgraph_beta/generated/communications/calls/item/redirect/redirect_request_builder.py index 2508e0b1edb..42332c58870 100644 --- a/msgraph_beta/generated/communications/calls/item/redirect/redirect_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/redirect/redirect_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RedirectPostRequestBody] = None, request_configuration: Optional[RedirectRequestBuilderPostRequestConfiguration] = None) -> None: """ - Redirect an incoming call that hasn't been answered or rejected yet. The terms 'redirecting' and 'forwarding' a call are used interchangeably. The bot is expected to redirect the call before the call times out. The current timeout value is 15 seconds. This API is available in the following national cloud deployments. + Redirect an incoming call that hasn't been answered or rejected yet. The terms 'redirecting' and 'forwarding' a call are used interchangeably. The bot is expected to redirect the call before the call times out. The current timeout value is 15 seconds. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RedirectPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[RedirectPostRequestBody] = None, request_configuration: Optional[RedirectRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Redirect an incoming call that hasn't been answered or rejected yet. The terms 'redirecting' and 'forwarding' a call are used interchangeably. The bot is expected to redirect the call before the call times out. The current timeout value is 15 seconds. This API is available in the following national cloud deployments. + Redirect an incoming call that hasn't been answered or rejected yet. The terms 'redirecting' and 'forwarding' a call are used interchangeably. The bot is expected to redirect the call before the call times out. The current timeout value is 15 seconds. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RedirectPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/calls/item/reject/reject_request_builder.py b/msgraph_beta/generated/communications/calls/item/reject/reject_request_builder.py index 5d0df1359ef..60eb81e6633 100644 --- a/msgraph_beta/generated/communications/calls/item/reject/reject_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/reject/reject_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RejectPostRequestBody] = None, request_configuration: Optional[RejectRequestBuilderPostRequestConfiguration] = None) -> None: """ - Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call. This API is available in the following national cloud deployments. + Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RejectPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[RejectPostRequestBody] = None, request_configuration: Optional[RejectRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call. This API is available in the following national cloud deployments. + Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RejectPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/calls/item/send_dtmf_tones/send_dtmf_tones_post_request_body.py b/msgraph_beta/generated/communications/calls/item/send_dtmf_tones/send_dtmf_tones_post_request_body.py new file mode 100644 index 00000000000..2f60dc63ddd --- /dev/null +++ b/msgraph_beta/generated/communications/calls/item/send_dtmf_tones/send_dtmf_tones_post_request_body.py @@ -0,0 +1,64 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.tone import Tone + +@dataclass +class SendDtmfTonesPostRequestBody(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 clientContext property + client_context: Optional[str] = None + # The delayBetweenTonesMs property + delay_between_tones_ms: Optional[int] = None + # The tones property + tones: Optional[List[Tone]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> SendDtmfTonesPostRequestBody: + """ + 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: SendDtmfTonesPostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return SendDtmfTonesPostRequestBody() + + 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.tone import Tone + + from .....models.tone import Tone + + fields: Dict[str, Callable[[Any], None]] = { + "clientContext": lambda n : setattr(self, 'client_context', n.get_str_value()), + "delayBetweenTonesMs": lambda n : setattr(self, 'delay_between_tones_ms', n.get_int_value()), + "tones": lambda n : setattr(self, 'tones', n.get_collection_of_enum_values(Tone)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("clientContext", self.client_context) + writer.write_int_value("delayBetweenTonesMs", self.delay_between_tones_ms) + writer.write_collection_of_enum_values("tones", self.tones) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/communications/calls/item/send_dtmf_tones/send_dtmf_tones_request_builder.py b/msgraph_beta/generated/communications/calls/item/send_dtmf_tones/send_dtmf_tones_request_builder.py new file mode 100644 index 00000000000..ea4ca48986f --- /dev/null +++ b/msgraph_beta/generated/communications/calls/item/send_dtmf_tones/send_dtmf_tones_request_builder.py @@ -0,0 +1,94 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.send_dtmf_tones_operation import SendDtmfTonesOperation + from .send_dtmf_tones_post_request_body import SendDtmfTonesPostRequestBody + +class SendDtmfTonesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the sendDtmfTones method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new SendDtmfTonesRequestBuilder 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}/communications/calls/{call%2Did}/sendDtmfTones", path_parameters) + + async def post(self,body: Optional[SendDtmfTonesPostRequestBody] = None, request_configuration: Optional[SendDtmfTonesRequestBuilderPostRequestConfiguration] = None) -> Optional[SendDtmfTonesOperation]: + """ + Invoke action sendDtmfTones + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[SendDtmfTonesOperation] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.send_dtmf_tones_operation import SendDtmfTonesOperation + + return await self.request_adapter.send_async(request_info, SendDtmfTonesOperation, error_mapping) + + def to_post_request_information(self,body: Optional[SendDtmfTonesPostRequestBody] = None, request_configuration: Optional[SendDtmfTonesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action sendDtmfTones + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> SendDtmfTonesRequestBuilder: + """ + 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: SendDtmfTonesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return SendDtmfTonesRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class SendDtmfTonesRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/communications/calls/item/subscribe_to_tone/subscribe_to_tone_request_builder.py b/msgraph_beta/generated/communications/calls/item/subscribe_to_tone/subscribe_to_tone_request_builder.py index ac7f69bcca4..16a58c88713 100644 --- a/msgraph_beta/generated/communications/calls/item/subscribe_to_tone/subscribe_to_tone_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/subscribe_to_tone/subscribe_to_tone_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SubscribeToTonePostRequestBody] = None, request_configuration: Optional[SubscribeToToneRequestBuilderPostRequestConfiguration] = None) -> Optional[SubscribeToToneOperation]: """ - Subscribe to DTMF (dual-tone multi-frequency signaling) to allow you to be notified when the user presses keys on a 'Dialpad'. This API is available in the following national cloud deployments. + Subscribe to DTMF (dual-tone multi-frequency signaling) to allow you to be notified when the user presses keys on a 'Dialpad'. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SubscribeToToneOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[SubscribeToTonePostRequestBody] = None, reque def to_post_request_information(self,body: Optional[SubscribeToTonePostRequestBody] = None, request_configuration: Optional[SubscribeToToneRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Subscribe to DTMF (dual-tone multi-frequency signaling) to allow you to be notified when the user presses keys on a 'Dialpad'. This API is available in the following national cloud deployments. + Subscribe to DTMF (dual-tone multi-frequency signaling) to allow you to be notified when the user presses keys on a 'Dialpad'. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[SubscribeToTonePostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/calls/item/transfer/transfer_request_builder.py b/msgraph_beta/generated/communications/calls/item/transfer/transfer_request_builder.py index 4b46f1f4ffa..d2c3a940c5b 100644 --- a/msgraph_beta/generated/communications/calls/item/transfer/transfer_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/transfer/transfer_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TransferPostRequestBody] = None, request_configuration: Optional[TransferRequestBuilderPostRequestConfiguration] = None) -> None: """ - Transfer an active peer-to-peer call or group call. A consultative transfer means that the transferor can inform the person they want to transfer the call to (the transferee), before the transfer is made. This is opposed to transfering the call directly. This API is available in the following national cloud deployments. + Transfer an active peer-to-peer call or group call. A consultative transfer means that the transferor can inform the person they want to transfer the call to (the transferee), before the transfer is made. This is opposed to transfering the call directly. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TransferPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[TransferPostRequestBody] = None, request_configuration: Optional[TransferRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Transfer an active peer-to-peer call or group call. A consultative transfer means that the transferor can inform the person they want to transfer the call to (the transferee), before the transfer is made. This is opposed to transfering the call directly. This API is available in the following national cloud deployments. + Transfer an active peer-to-peer call or group call. A consultative transfer means that the transferor can inform the person they want to transfer the call to (the transferee), before the transfer is made. This is opposed to transfering the call directly. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TransferPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/calls/item/unmute/unmute_request_builder.py b/msgraph_beta/generated/communications/calls/item/unmute/unmute_request_builder.py index 6ca747940a6..25dd7c00c38 100644 --- a/msgraph_beta/generated/communications/calls/item/unmute/unmute_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/unmute/unmute_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UnmutePostRequestBody] = None, request_configuration: Optional[UnmuteRequestBuilderPostRequestConfiguration] = None) -> Optional[UnmuteParticipantOperation]: """ - Allow the application to unmute itself. This is a server unmute, meaning that the server will start sending audio packets for this participant to other participants again. For more information about how to handle unmute operations, see unmuteParticipantOperation. This API is available in the following national cloud deployments. + Allow the application to unmute itself. This is a server unmute, meaning that the server will start sending audio packets for this participant to other participants again. For more information about how to handle unmute operations, see unmuteParticipantOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnmuteParticipantOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[UnmutePostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[UnmutePostRequestBody] = None, request_configuration: Optional[UnmuteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Allow the application to unmute itself. This is a server unmute, meaning that the server will start sending audio packets for this participant to other participants again. For more information about how to handle unmute operations, see unmuteParticipantOperation. This API is available in the following national cloud deployments. + Allow the application to unmute itself. This is a server unmute, meaning that the server will start sending audio packets for this participant to other participants again. For more information about how to handle unmute operations, see unmuteParticipantOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[UnmutePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/calls/item/update_recording_status/update_recording_status_request_builder.py b/msgraph_beta/generated/communications/calls/item/update_recording_status/update_recording_status_request_builder.py index 2ac083b3236..b740544398b 100644 --- a/msgraph_beta/generated/communications/calls/item/update_recording_status/update_recording_status_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/update_recording_status/update_recording_status_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UpdateRecordingStatusPostRequestBody] = None, request_configuration: Optional[UpdateRecordingStatusRequestBuilderPostRequestConfiguration] = None) -> Optional[UpdateRecordingStatusOperation]: """ - Update the application's recording status associated with a call. This requires the use of the Teams policy-based recording solution. This API is available in the following national cloud deployments. + Update the application's recording status associated with a call. This requires the use of the Teams policy-based recording solution. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UpdateRecordingStatusOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[UpdateRecordingStatusPostRequestBody] = None, def to_post_request_information(self,body: Optional[UpdateRecordingStatusPostRequestBody] = None, request_configuration: Optional[UpdateRecordingStatusRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Update the application's recording status associated with a call. This requires the use of the Teams policy-based recording solution. This API is available in the following national cloud deployments. + Update the application's recording status associated with a call. This requires the use of the Teams policy-based recording solution. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[UpdateRecordingStatusPostReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/calls/log_teleconference_device_quality/log_teleconference_device_quality_request_builder.py b/msgraph_beta/generated/communications/calls/log_teleconference_device_quality/log_teleconference_device_quality_request_builder.py index d48eaf53fbd..390ebf94c76 100644 --- a/msgraph_beta/generated/communications/calls/log_teleconference_device_quality/log_teleconference_device_quality_request_builder.py +++ b/msgraph_beta/generated/communications/calls/log_teleconference_device_quality/log_teleconference_device_quality_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[LogTeleconferenceDeviceQualityPostRequestBody] = None, request_configuration: Optional[LogTeleconferenceDeviceQualityRequestBuilderPostRequestConfiguration] = None) -> None: """ - Log video teleconferencing device quality data. The Cloud Video Interop (CVI) bot represents video teleconferencing (VTC) devices and acts as a back-to-back agent for a VTC device in a conference call. Because a CVI bot is in the middle of the VTC and Microsoft Teams infrastructure as a VTC proxy, it has two media legs. One media leg is between the CVI bot and Teams infrastructure, such as Teams conference server or a Teams client. The other media leg is between the CVI bot and the VTC device. The third-party partners own the VTC media leg and the Teams infrastructure cannot access the quality data of the third-party call leg. This method is only for the CVI partners to provide their media quality data. This API is available in the following national cloud deployments. + Log video teleconferencing device quality data. The Cloud Video Interop (CVI) bot represents video teleconferencing (VTC) devices and acts as a back-to-back agent for a VTC device in a conference call. Because a CVI bot is in the middle of the VTC and Microsoft Teams infrastructure as a VTC proxy, it has two media legs. One media leg is between the CVI bot and Teams infrastructure, such as Teams conference server or a Teams client. The other media leg is between the CVI bot and the VTC device. The third-party partners own the VTC media leg and the Teams infrastructure cannot access the quality data of the third-party call leg. This method is only for the CVI partners to provide their media quality data. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[LogTeleconferenceDeviceQualityPostRequestBody def to_post_request_information(self,body: Optional[LogTeleconferenceDeviceQualityPostRequestBody] = None, request_configuration: Optional[LogTeleconferenceDeviceQualityRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Log video teleconferencing device quality data. The Cloud Video Interop (CVI) bot represents video teleconferencing (VTC) devices and acts as a back-to-back agent for a VTC device in a conference call. Because a CVI bot is in the middle of the VTC and Microsoft Teams infrastructure as a VTC proxy, it has two media legs. One media leg is between the CVI bot and Teams infrastructure, such as Teams conference server or a Teams client. The other media leg is between the CVI bot and the VTC device. The third-party partners own the VTC media leg and the Teams infrastructure cannot access the quality data of the third-party call leg. This method is only for the CVI partners to provide their media quality data. This API is available in the following national cloud deployments. + Log video teleconferencing device quality data. The Cloud Video Interop (CVI) bot represents video teleconferencing (VTC) devices and acts as a back-to-back agent for a VTC device in a conference call. Because a CVI bot is in the middle of the VTC and Microsoft Teams infrastructure as a VTC proxy, it has two media legs. One media leg is between the CVI bot and Teams infrastructure, such as Teams conference server or a Teams client. The other media leg is between the CVI bot and the VTC device. The third-party partners own the VTC media leg and the Teams infrastructure cannot access the quality data of the third-party call leg. This method is only for the CVI partners to provide their media quality data. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[LogTeleconferenceDeviceQuali request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/communications_request_builder.py b/msgraph_beta/generated/communications/communications_request_builder.py index 28c53bd3829..c3264235c5f 100644 --- a/msgraph_beta/generated/communications/communications_request_builder.py +++ b/msgraph_beta/generated/communications/communications_request_builder.py @@ -90,7 +90,7 @@ def to_get_request_information(self,request_configuration: Optional[Communicatio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CloudCommunications] = None, request_configuration: Optional[CommunicationsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -109,7 +109,7 @@ def to_patch_request_information(self,body: Optional[CloudCommunications] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/get_presences_by_user_id/get_presences_by_user_id_request_builder.py b/msgraph_beta/generated/communications/get_presences_by_user_id/get_presences_by_user_id_request_builder.py index 88a8ed3a958..b5e6e9fd745 100644 --- a/msgraph_beta/generated/communications/get_presences_by_user_id/get_presences_by_user_id_request_builder.py +++ b/msgraph_beta/generated/communications/get_presences_by_user_id/get_presences_by_user_id_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetPresencesByUserIdPostRequestBody] = None, request_configuration: Optional[GetPresencesByUserIdRequestBuilderPostRequestConfiguration] = None) -> Optional[GetPresencesByUserIdPostResponse]: """ - Get the presence information for multiple users. This API is available in the following national cloud deployments. + Get the presence information for multiple users. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetPresencesByUserIdPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetPresencesByUserIdPostRequestBody] = None, def to_post_request_information(self,body: Optional[GetPresencesByUserIdPostRequestBody] = None, request_configuration: Optional[GetPresencesByUserIdRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Get the presence information for multiple users. This API is available in the following national cloud deployments. + Get the presence information for multiple users. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetPresencesByUserIdPostRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/online_meetings/create_or_get/create_or_get_request_builder.py b/msgraph_beta/generated/communications/online_meetings/create_or_get/create_or_get_request_builder.py index fa86663e026..411c5da7ab0 100644 --- a/msgraph_beta/generated/communications/online_meetings/create_or_get/create_or_get_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/create_or_get/create_or_get_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateOrGetPostRequestBody] = None, request_configuration: Optional[CreateOrGetRequestBuilderPostRequestConfiguration] = None) -> Optional[OnlineMeeting]: """ - Create an onlineMeeting object with a custom specified external ID. If the external ID already exists, this API will return the onlineMeeting object with that external ID. This API is available in the following national cloud deployments. + Create an onlineMeeting object with a custom specified external ID. If the external ID already exists, this API will return the onlineMeeting object with that external ID. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnlineMeeting] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateOrGetPostRequestBody] = None, request_c def to_post_request_information(self,body: Optional[CreateOrGetPostRequestBody] = None, request_configuration: Optional[CreateOrGetRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an onlineMeeting object with a custom specified external ID. If the external ID already exists, this API will return the onlineMeeting object with that external ID. This API is available in the following national cloud deployments. + Create an onlineMeeting object with a custom specified external ID. If the external ID already exists, this API will return the onlineMeeting object with that external ID. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateOrGetPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/online_meetings/get_all_recordings/get_all_recordings_request_builder.py b/msgraph_beta/generated/communications/online_meetings/get_all_recordings/get_all_recordings_request_builder.py index 27854178faf..383bd802d3f 100644 --- a/msgraph_beta/generated/communications/online_meetings/get_all_recordings/get_all_recordings_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/get_all_recordings/get_all_recordings_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetAllRecord request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetAllRecordingsRequestBuilder: diff --git a/msgraph_beta/generated/communications/online_meetings/get_all_transcripts/get_all_transcripts_request_builder.py b/msgraph_beta/generated/communications/online_meetings/get_all_transcripts/get_all_transcripts_request_builder.py index 59786f78c87..a53b9a926d4 100644 --- a/msgraph_beta/generated/communications/online_meetings/get_all_transcripts/get_all_transcripts_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/get_all_transcripts/get_all_transcripts_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetAllTransc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetAllTranscriptsRequestBuilder: diff --git a/msgraph_beta/generated/communications/online_meetings/item/alternative_recording/alternative_recording_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/alternative_recording/alternative_recording_request_builder.py index 4ceb54099b4..d75bb4a1d27 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/alternative_recording/alternative_recording_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/alternative_recording/alternative_recording_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[AlternativeR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[AlternativeRecordingRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/communications/online_meetings/item/attendance_reports/attendance_reports_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/attendance_reports/attendance_reports_request_builder.py index 272d093fddd..c20cb9eb79a 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/attendance_reports/attendance_reports_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/attendance_reports/attendance_reports_request_builder.py @@ -18,7 +18,7 @@ class AttendanceReportsRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_meeting_attendance_report_id(self,meeting_attendance_report_id: str) -> MeetingAttendanceReportItemRequestBuilder: """ - Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. param meeting_attendance_report_id: The unique identifier of meetingAttendanceReport Returns: MeetingAttendanceReportItemRequestBuilder """ @@ -45,10 +45,9 @@ def by_meeting_attendance_report_id(self,meeting_attendance_report_id: str) -> M async def get(self,request_configuration: Optional[AttendanceReportsRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingAttendanceReportCollectionResponse]: """ - Get a list of meetingAttendanceReport objects for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingAttendanceReportCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/meetingattendancereport-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -91,7 +90,7 @@ async def post(self,body: Optional[MeetingAttendanceReport] = None, request_conf def to_get_request_information(self,request_configuration: Optional[AttendanceReportsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of meetingAttendanceReport objects for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AttendanceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MeetingAttendanceReport] = None, request_configuration: Optional[AttendanceReportsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +121,7 @@ def to_post_request_information(self,body: Optional[MeetingAttendanceReport] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AttendanceReportsRequestBuilderGetQueryParameters(): """ - Get a list of meetingAttendanceReport objects for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/communications/online_meetings/item/attendance_reports/item/attendance_records/attendance_records_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/attendance_reports/item/attendance_records/attendance_records_request_builder.py index 417f735f18d..5d81ce19b23 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/attendance_reports/item/attendance_records/attendance_records_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/attendance_reports/item/attendance_records/attendance_records_request_builder.py @@ -45,7 +45,7 @@ def by_attendance_record_id(self,attendance_record_id: str) -> AttendanceRecordI async def get(self,request_configuration: Optional[AttendanceRecordsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttendanceRecordCollectionResponse]: """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of attendanceRecord objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttendanceRecordCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/attendancerecord-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AttendanceRecord] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[AttendanceRecordsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of attendanceRecord objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AttendanceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AttendanceRecord] = None, request_configuration: Optional[AttendanceRecordsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AttendanceRecord] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AttendanceRecordsRequestBuilderGetQueryParameters(): """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of attendanceRecord objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/communications/online_meetings/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.py index ba06af39ddb..881a688c307 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Attendanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttendanceRecordItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AttendanceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AttendanceRecord] = None, request_configuration: Optional[AttendanceRecordItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AttendanceRecord] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/online_meetings/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py index b71fb4c663b..f83e97d21a1 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py @@ -16,7 +16,7 @@ class MeetingAttendanceReportItemRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ @@ -48,10 +48,9 @@ async def delete(self,request_configuration: Optional[MeetingAttendanceReportIte async def get(self,request_configuration: Optional[MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingAttendanceReport]: """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingAttendanceReport] - Find more info here: https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -105,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[MeetingAt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[MeetingAtten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MeetingAttendanceReport] = None, request_configuration: Optional[MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +140,7 @@ def to_patch_request_information(self,body: Optional[MeetingAttendanceReport] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +176,7 @@ class MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration(BaseRe @dataclass class MeetingAttendanceReportItemRequestBuilderGetQueryParameters(): """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/communications/online_meetings/item/attendee_report/attendee_report_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/attendee_report/attendee_report_request_builder.py index 114ba70d657..a4bcfa8449f 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/attendee_report/attendee_report_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/attendee_report/attendee_report_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[AttendeeRepo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[AttendeeReportRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/communications/online_meetings/item/broadcast_recording/broadcast_recording_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/broadcast_recording/broadcast_recording_request_builder.py index a8e00bb51bf..8db61f352c7 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/broadcast_recording/broadcast_recording_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/broadcast_recording/broadcast_recording_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[BroadcastRec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[BroadcastRecordingRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/communications/online_meetings/item/get_virtual_appointment_join_web_url/get_virtual_appointment_join_web_url_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/get_virtual_appointment_join_web_url/get_virtual_appointment_join_web_url_request_builder.py index ee43f485b05..676bddac9c4 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/get_virtual_appointment_join_web_url/get_virtual_appointment_join_web_url_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/get_virtual_appointment_join_web_url/get_virtual_appointment_join_web_url_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetVirtualAp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetVirtualAppointmentJoinWebUrlRequestBuilder: diff --git a/msgraph_beta/generated/communications/online_meetings/item/meeting_attendance_report/attendance_records/attendance_records_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/meeting_attendance_report/attendance_records/attendance_records_request_builder.py index f523cb08661..5db90fb5fa3 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/meeting_attendance_report/attendance_records/attendance_records_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/meeting_attendance_report/attendance_records/attendance_records_request_builder.py @@ -45,7 +45,7 @@ def by_attendance_record_id(self,attendance_record_id: str) -> AttendanceRecordI async def get(self,request_configuration: Optional[AttendanceRecordsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttendanceRecordCollectionResponse]: """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of attendanceRecord objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttendanceRecordCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/attendancerecord-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AttendanceRecord] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[AttendanceRecordsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of attendanceRecord objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AttendanceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AttendanceRecord] = None, request_configuration: Optional[AttendanceRecordsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AttendanceRecord] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AttendanceRecordsRequestBuilderGetQueryParameters(): """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of attendanceRecord objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/communications/online_meetings/item/meeting_attendance_report/attendance_records/item/attendance_record_item_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/meeting_attendance_report/attendance_records/item/attendance_record_item_request_builder.py index 9b98c8f7baf..99594d23341 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/meeting_attendance_report/attendance_records/item/attendance_record_item_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/meeting_attendance_report/attendance_records/item/attendance_record_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Attendanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttendanceRecordItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AttendanceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AttendanceRecord] = None, request_configuration: Optional[AttendanceRecordItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AttendanceRecord] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/online_meetings/item/meeting_attendance_report/meeting_attendance_report_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/meeting_attendance_report/meeting_attendance_report_request_builder.py index 0974044218f..1cd1dec046f 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/meeting_attendance_report/meeting_attendance_report_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/meeting_attendance_report/meeting_attendance_report_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[MeetingAttendanceReportReq async def get(self,request_configuration: Optional[MeetingAttendanceReportRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingAttendanceReport]: """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingAttendanceReport] Find more info here: https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[MeetingAt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MeetingAttendanceReportRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MeetingAtten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MeetingAttendanceReport] = None, request_configuration: Optional[MeetingAttendanceReportRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MeetingAttendanceReport] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class MeetingAttendanceReportRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class MeetingAttendanceReportRequestBuilderGetQueryParameters(): """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/communications/online_meetings/item/online_meeting_item_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/online_meeting_item_request_builder.py index 52a2a83caec..e315b29605b 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/online_meeting_item_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/online_meeting_item_request_builder.py @@ -21,6 +21,8 @@ from .recording.recording_request_builder import RecordingRequestBuilder from .recordings.recordings_request_builder import RecordingsRequestBuilder from .registration.registration_request_builder import RegistrationRequestBuilder + from .send_virtual_appointment_reminder_sms.send_virtual_appointment_reminder_sms_request_builder import SendVirtualAppointmentReminderSmsRequestBuilder + from .send_virtual_appointment_sms.send_virtual_appointment_sms_request_builder import SendVirtualAppointmentSmsRequestBuilder from .transcripts.transcripts_request_builder import TranscriptsRequestBuilder class OnlineMeetingItemRequestBuilder(BaseRequestBuilder): @@ -113,7 +115,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnlineMee request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnlineMeetingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -130,7 +132,7 @@ def to_get_request_information(self,request_configuration: Optional[OnlineMeetin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnlineMeeting] = None, request_configuration: Optional[OnlineMeetingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -149,7 +151,7 @@ def to_patch_request_information(self,body: Optional[OnlineMeeting] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -175,7 +177,7 @@ def alternative_recording(self) -> AlternativeRecordingRequestBuilder: @property def attendance_reports(self) -> AttendanceReportsRequestBuilder: """ - Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. """ from .attendance_reports.attendance_reports_request_builder import AttendanceReportsRequestBuilder @@ -244,6 +246,24 @@ def registration(self) -> RegistrationRequestBuilder: return RegistrationRequestBuilder(self.request_adapter, self.path_parameters) + @property + def send_virtual_appointment_reminder_sms(self) -> SendVirtualAppointmentReminderSmsRequestBuilder: + """ + Provides operations to call the sendVirtualAppointmentReminderSms method. + """ + from .send_virtual_appointment_reminder_sms.send_virtual_appointment_reminder_sms_request_builder import SendVirtualAppointmentReminderSmsRequestBuilder + + return SendVirtualAppointmentReminderSmsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def send_virtual_appointment_sms(self) -> SendVirtualAppointmentSmsRequestBuilder: + """ + Provides operations to call the sendVirtualAppointmentSms method. + """ + from .send_virtual_appointment_sms.send_virtual_appointment_sms_request_builder import SendVirtualAppointmentSmsRequestBuilder + + return SendVirtualAppointmentSmsRequestBuilder(self.request_adapter, self.path_parameters) + @property def transcripts(self) -> TranscriptsRequestBuilder: """ diff --git a/msgraph_beta/generated/communications/online_meetings/item/recording/recording_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/recording/recording_request_builder.py index c4dd9775184..cf4478e5c20 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/recording/recording_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/recording/recording_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[RecordingReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[RecordingRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/communications/online_meetings/item/recordings/delta/delta_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/recordings/delta/delta_request_builder.py index bddc60afa27..f7f24805b78 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/recordings/delta/delta_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/recordings/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/communications/online_meetings/item/recordings/item/call_recording_item_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/recordings/item/call_recording_item_request_builder.py index 7cb02cc78ca..c3d63a268a6 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/recordings/item/call_recording_item_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/recordings/item/call_recording_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[CallRecordingItemRequestBu async def get(self,request_configuration: Optional[CallRecordingItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CallRecording]: """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. + Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CallRecording] Find more info here: https://learn.microsoft.com/graph/api/callrecording-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[CallRecor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CallRecordingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. + Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[CallRecordin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CallRecording] = None, request_configuration: Optional[CallRecordingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[CallRecording] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class CallRecordingItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class CallRecordingItemRequestBuilderGetQueryParameters(): """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. + Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/communications/online_meetings/item/recordings/item/content/content_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/recordings/item/content/content_request_builder.py index d7f312701ec..56e6c438017 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/recordings/item/content/content_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/recordings/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/communications/online_meetings/item/recordings/recordings_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/recordings/recordings_request_builder.py index 067901d98d0..b8718e36c7c 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/recordings/recordings_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/recordings/recordings_request_builder.py @@ -46,7 +46,7 @@ def by_call_recording_id(self,call_recording_id: str) -> CallRecordingItemReques async def get(self,request_configuration: Optional[RecordingsRequestBuilderGetRequestConfiguration] = None) -> Optional[CallRecordingCollectionResponse]: """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. + Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CallRecordingCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: Optional[CallRecording] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[RecordingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. + Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RecordingsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CallRecording] = None, request_configuration: Optional[RecordingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[CallRecording] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -157,7 +157,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class RecordingsRequestBuilderGetQueryParameters(): """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. + Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py index 77842240b2a..cd0bcd8f03d 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py @@ -45,7 +45,7 @@ def by_meeting_registration_question_id(self,meeting_registration_question_id: s async def get(self,request_configuration: Optional[CustomQuestionsRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingRegistrationQuestionCollectionResponse]: """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/meetingregistration-list-customquestions?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[CustomQuestionsRequestBuilder async def post(self,body: Optional[MeetingRegistrationQuestion] = None, request_configuration: Optional[CustomQuestionsRequestBuilderPostRequestConfiguration] = None) -> Optional[MeetingRegistrationQuestion]: """ - Create a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Create a custom registration question associated with a meetingRegistration object on behalf of the organizer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestion] @@ -92,7 +92,7 @@ async def post(self,body: Optional[MeetingRegistrationQuestion] = None, request_ def to_get_request_information(self,request_configuration: Optional[CustomQuestionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[CustomQuesti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MeetingRegistrationQuestion] = None, request_configuration: Optional[CustomQuestionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Create a custom registration question associated with a meetingRegistration object on behalf of the organizer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[MeetingRegistrationQuestion] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CustomQuestionsRequestBuilderGetQueryParameters(): """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py index 629c79c9402..7e63704871b 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[MeetingRegistrationQuestionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a custom registration question from a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Delete a custom registration question from a meetingRegistration object on behalf of the organizer. 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/meetingregistrationquestion-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[MeetingRegistrationQuestio async def get(self,request_configuration: Optional[MeetingRegistrationQuestionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingRegistrationQuestion]: """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestion] Find more info here: https://learn.microsoft.com/graph/api/meetingregistrationquestion-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[MeetingRegistrationQuestionIt async def patch(self,body: Optional[MeetingRegistrationQuestion] = None, request_configuration: Optional[MeetingRegistrationQuestionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[MeetingRegistrationQuestion]: """ - Update a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Update a custom registration question associated with a meetingRegistration object on behalf of the organizer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestion] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[MeetingRegistrationQuestion] = None, request def to_delete_request_information(self,request_configuration: Optional[MeetingRegistrationQuestionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a custom registration question from a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Delete a custom registration question from a meetingRegistration object on behalf of the organizer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[MeetingRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MeetingRegistrationQuestionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[MeetingRegis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MeetingRegistrationQuestion] = None, request_configuration: Optional[MeetingRegistrationQuestionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Update a custom registration question associated with a meetingRegistration object on behalf of the organizer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[MeetingRegistrationQuestion request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class MeetingRegistrationQuestionItemRequestBuilderDeleteRequestConfiguration(Ba @dataclass class MeetingRegistrationQuestionItemRequestBuilderGetQueryParameters(): """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py index f82447f5082..a840f6cdd40 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MeetingRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MeetingRegistrantBaseItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MeetingRegis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MeetingRegistrantBase] = None, request_configuration: Optional[MeetingRegistrantBaseItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MeetingRegistrantBase] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/registrants_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/registrants_request_builder.py index 9905ab26b25..566bb4fed69 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/registrants_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/registration/registrants/registrants_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RegistrantsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MeetingRegistrantBase] = None, request_configuration: Optional[RegistrantsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MeetingRegistrantBase] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/online_meetings/item/registration/registration_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/registration/registration_request_builder.py index ab370d89e8f..f3e903653bc 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/registration/registration_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/registration/registration_request_builder.py @@ -30,10 +30,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RegistrationRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Disable and delete the externalMeetingRegistration of an onlineMeeting. This API is available in the following national cloud deployments. + Disable and delete the meetingRegistration of an onlineMeeting on behalf of the organizer. 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/externalmeetingregistration-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/meetingregistration-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RegistrationRequestBuilder async def get(self,request_configuration: Optional[RegistrationRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingRegistration]: """ - Get the externalMeetingRegistration details associated with an onlineMeeting. This API is available in the following national cloud deployments. + Get the externalMeetingRegistration details associated with an onlineMeeting. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistration] Find more info here: https://learn.microsoft.com/graph/api/externalmeetingregistration-get?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[RegistrationRequestBuilderGet async def patch(self,body: Optional[MeetingRegistration] = None, request_configuration: Optional[RegistrationRequestBuilderPatchRequestConfiguration] = None) -> Optional[MeetingRegistration]: """ - Update the details of a meetingRegistration object assciated with an onlineMeeting on behalf of the organizer. This API is available in the following national cloud deployments. + Update the details of a meetingRegistration object assciated with an onlineMeeting on behalf of the organizer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistration] @@ -97,7 +97,7 @@ async def patch(self,body: Optional[MeetingRegistration] = None, request_configu def to_delete_request_information(self,request_configuration: Optional[RegistrationRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Disable and delete the externalMeetingRegistration of an onlineMeeting. This API is available in the following national cloud deployments. + Disable and delete the meetingRegistration of an onlineMeeting on behalf of the organizer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[Registrat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RegistrationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the externalMeetingRegistration details associated with an onlineMeeting. This API is available in the following national cloud deployments. + Get the externalMeetingRegistration details associated with an onlineMeeting. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[Registration request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MeetingRegistration] = None, request_configuration: Optional[RegistrationRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the details of a meetingRegistration object assciated with an onlineMeeting on behalf of the organizer. This API is available in the following national cloud deployments. + Update the details of a meetingRegistration object assciated with an onlineMeeting on behalf of the organizer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[MeetingRegistration] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class RegistrationRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class RegistrationRequestBuilderGetQueryParameters(): """ - Get the externalMeetingRegistration details associated with an onlineMeeting. This API is available in the following national cloud deployments. + Get the externalMeetingRegistration details associated with an onlineMeeting. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/communications/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py b/msgraph_beta/generated/communications/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py new file mode 100644 index 00000000000..80e43260d11 --- /dev/null +++ b/msgraph_beta/generated/communications/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py @@ -0,0 +1,63 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.attendee_notification_info import AttendeeNotificationInfo + from .....models.remind_before_time_in_minutes_type import RemindBeforeTimeInMinutesType + +@dataclass +class SendVirtualAppointmentReminderSmsPostRequestBody(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 attendees property + attendees: Optional[List[AttendeeNotificationInfo]] = None + # The remindBeforeTimeInMinutesType property + remind_before_time_in_minutes_type: Optional[RemindBeforeTimeInMinutesType] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> SendVirtualAppointmentReminderSmsPostRequestBody: + """ + 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: SendVirtualAppointmentReminderSmsPostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return SendVirtualAppointmentReminderSmsPostRequestBody() + + 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.attendee_notification_info import AttendeeNotificationInfo + from .....models.remind_before_time_in_minutes_type import RemindBeforeTimeInMinutesType + + from .....models.attendee_notification_info import AttendeeNotificationInfo + from .....models.remind_before_time_in_minutes_type import RemindBeforeTimeInMinutesType + + fields: Dict[str, Callable[[Any], None]] = { + "attendees": lambda n : setattr(self, 'attendees', n.get_collection_of_object_values(AttendeeNotificationInfo)), + "remindBeforeTimeInMinutesType": lambda n : setattr(self, 'remind_before_time_in_minutes_type', n.get_enum_value(RemindBeforeTimeInMinutesType)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_collection_of_object_values("attendees", self.attendees) + writer.write_enum_value("remindBeforeTimeInMinutesType", self.remind_before_time_in_minutes_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/communications/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_request_builder.py new file mode 100644 index 00000000000..f4c111d8698 --- /dev/null +++ b/msgraph_beta/generated/communications/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_request_builder.py @@ -0,0 +1,92 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .send_virtual_appointment_reminder_sms_post_request_body import SendVirtualAppointmentReminderSmsPostRequestBody + +class SendVirtualAppointmentReminderSmsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the sendVirtualAppointmentReminderSms method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new SendVirtualAppointmentReminderSmsRequestBuilder 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}/communications/onlineMeetings/{onlineMeeting%2Did}/sendVirtualAppointmentReminderSms", path_parameters) + + async def post(self,body: Optional[SendVirtualAppointmentReminderSmsPostRequestBody] = None, request_configuration: Optional[SendVirtualAppointmentReminderSmsRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Send an SMS reminder to external attendees for a Teams Virtual Appointment. This feature requires Teams Premium and attendees must have a valid United States phone number to receive SMS notifications. + param body: The request body + 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/virtualappointment-sendvirtualappointmentremindersms?view=graph-rest-1.0 + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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: Optional[SendVirtualAppointmentReminderSmsPostRequestBody] = None, request_configuration: Optional[SendVirtualAppointmentReminderSmsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Send an SMS reminder to external attendees for a Teams Virtual Appointment. This feature requires Teams Premium and attendees must have a valid United States phone number to receive SMS notifications. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> SendVirtualAppointmentReminderSmsRequestBuilder: + """ + 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: SendVirtualAppointmentReminderSmsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return SendVirtualAppointmentReminderSmsRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class SendVirtualAppointmentReminderSmsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/communications/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py b/msgraph_beta/generated/communications/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py new file mode 100644 index 00000000000..13c2de65349 --- /dev/null +++ b/msgraph_beta/generated/communications/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py @@ -0,0 +1,63 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.attendee_notification_info import AttendeeNotificationInfo + from .....models.virtual_appointment_message_type import VirtualAppointmentMessageType + +@dataclass +class SendVirtualAppointmentSmsPostRequestBody(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 attendees property + attendees: Optional[List[AttendeeNotificationInfo]] = None + # The messageType property + message_type: Optional[VirtualAppointmentMessageType] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> SendVirtualAppointmentSmsPostRequestBody: + """ + 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: SendVirtualAppointmentSmsPostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return SendVirtualAppointmentSmsPostRequestBody() + + 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.attendee_notification_info import AttendeeNotificationInfo + from .....models.virtual_appointment_message_type import VirtualAppointmentMessageType + + from .....models.attendee_notification_info import AttendeeNotificationInfo + from .....models.virtual_appointment_message_type import VirtualAppointmentMessageType + + fields: Dict[str, Callable[[Any], None]] = { + "attendees": lambda n : setattr(self, 'attendees', n.get_collection_of_object_values(AttendeeNotificationInfo)), + "messageType": lambda n : setattr(self, 'message_type', n.get_enum_value(VirtualAppointmentMessageType)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_collection_of_object_values("attendees", self.attendees) + writer.write_enum_value("messageType", self.message_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/communications/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_request_builder.py new file mode 100644 index 00000000000..c3cbd7f9fa9 --- /dev/null +++ b/msgraph_beta/generated/communications/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_request_builder.py @@ -0,0 +1,92 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .send_virtual_appointment_sms_post_request_body import SendVirtualAppointmentSmsPostRequestBody + +class SendVirtualAppointmentSmsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the sendVirtualAppointmentSms method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new SendVirtualAppointmentSmsRequestBuilder 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}/communications/onlineMeetings/{onlineMeeting%2Did}/sendVirtualAppointmentSms", path_parameters) + + async def post(self,body: Optional[SendVirtualAppointmentSmsPostRequestBody] = None, request_configuration: Optional[SendVirtualAppointmentSmsRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Send an SMS notification to external attendees when a Teams Virtual Appointment is confirmed, rescheduled, or canceled. This feature requires Teams Premium. Attendees must have a valid United States phone number to receive these SMS notifications. + param body: The request body + 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/virtualappointment-sendvirtualappointmentsms?view=graph-rest-1.0 + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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: Optional[SendVirtualAppointmentSmsPostRequestBody] = None, request_configuration: Optional[SendVirtualAppointmentSmsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Send an SMS notification to external attendees when a Teams Virtual Appointment is confirmed, rescheduled, or canceled. This feature requires Teams Premium. Attendees must have a valid United States phone number to receive these SMS notifications. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> SendVirtualAppointmentSmsRequestBuilder: + """ + 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: SendVirtualAppointmentSmsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return SendVirtualAppointmentSmsRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class SendVirtualAppointmentSmsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/communications/online_meetings/item/transcripts/delta/delta_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/transcripts/delta/delta_request_builder.py index 2644c9d9fb7..f80b6eef45e 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/transcripts/delta/delta_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/transcripts/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/communications/online_meetings/item/transcripts/item/call_transcript_item_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/transcripts/item/call_transcript_item_request_builder.py index 9e5b21fbba2..14c950a65df 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/transcripts/item/call_transcript_item_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/transcripts/item/call_transcript_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[CallTranscriptItemRequestB async def get(self,request_configuration: Optional[CallTranscriptItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CallTranscript]: """ - Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. This API is available in the following national cloud deployments. + Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CallTranscript] Find more info here: https://learn.microsoft.com/graph/api/calltranscript-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[CallTrans request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CallTranscriptItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. This API is available in the following national cloud deployments. + Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[CallTranscri request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CallTranscript] = None, request_configuration: Optional[CallTranscriptItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[CallTranscript] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class CallTranscriptItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class CallTranscriptItemRequestBuilderGetQueryParameters(): """ - Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. This API is available in the following national cloud deployments. + Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/communications/online_meetings/item/transcripts/item/content/content_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/transcripts/item/content/content_request_builder.py index 9466d547c0a..981859321ea 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/transcripts/item/content/content_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/transcripts/item/content/content_request_builder.py @@ -83,7 +83,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -102,7 +102,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/communications/online_meetings/item/transcripts/item/metadata_content/metadata_content_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/transcripts/item/metadata_content/metadata_content_request_builder.py index 98f5da52206..510cd845990 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/transcripts/item/metadata_content/metadata_content_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/transcripts/item/metadata_content/metadata_content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[MetadataCont request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[MetadataContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/communications/online_meetings/item/transcripts/transcripts_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/transcripts/transcripts_request_builder.py index 620918ac005..f0fb5802897 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/transcripts/transcripts_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/transcripts/transcripts_request_builder.py @@ -46,7 +46,7 @@ def by_call_transcript_id(self,call_transcript_id: str) -> CallTranscriptItemReq async def get(self,request_configuration: Optional[TranscriptsRequestBuilderGetRequestConfiguration] = None) -> Optional[CallTranscriptCollectionResponse]: """ - Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. This API is available in the following national cloud deployments. + Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CallTranscriptCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/onlinemeeting-list-transcripts?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[CallTranscript] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[TranscriptsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. This API is available in the following national cloud deployments. + Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[TranscriptsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CallTranscript] = None, request_configuration: Optional[TranscriptsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[CallTranscript] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class TranscriptsRequestBuilderGetQueryParameters(): """ - Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. This API is available in the following national cloud deployments. + Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/communications/online_meetings/online_meetings_request_builder.py b/msgraph_beta/generated/communications/online_meetings/online_meetings_request_builder.py index c840226263a..cf8d7918ecb 100644 --- a/msgraph_beta/generated/communications/online_meetings/online_meetings_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/online_meetings_request_builder.py @@ -48,7 +48,7 @@ def by_online_meeting_id(self,online_meeting_id: str) -> OnlineMeetingItemReques async def get(self,request_configuration: Optional[OnlineMeetingsRequestBuilderGetRequestConfiguration] = None) -> Optional[OnlineMeetingCollectionResponse]: """ - Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For details, see Online meeting artifacts and permissions. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For details, see Online meeting artifacts and permissions. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnlineMeetingCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/onlinemeeting-get?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def post(self,body: Optional[OnlineMeeting] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[OnlineMeetingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For details, see Online meeting artifacts and permissions. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For details, see Online meeting artifacts and permissions. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,7 +106,7 @@ def to_get_request_information(self,request_configuration: Optional[OnlineMeetin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnlineMeeting] = None, request_configuration: Optional[OnlineMeetingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_post_request_information(self,body: Optional[OnlineMeeting] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ def get_all_transcripts(self) -> GetAllTranscriptsRequestBuilder: @dataclass class OnlineMeetingsRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For details, see Online meeting artifacts and permissions. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For details, see Online meeting artifacts and permissions. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/communications/presences/item/clear_presence/clear_presence_request_builder.py b/msgraph_beta/generated/communications/presences/item/clear_presence/clear_presence_request_builder.py index 32102fcad33..90cb23d73aa 100644 --- a/msgraph_beta/generated/communications/presences/item/clear_presence/clear_presence_request_builder.py +++ b/msgraph_beta/generated/communications/presences/item/clear_presence/clear_presence_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ClearPresencePostRequestBody] = None, request_configuration: Optional[ClearPresenceRequestBuilderPostRequestConfiguration] = None) -> None: """ - Clear a presence session of an application for a user. If it is the user's only presence session, a successful clearPresence changes the user's presence to Offline/Offline. Read more about presence sessions and their time-out and expiration. This API is available in the following national cloud deployments. + Clear a presence session of an application for a user. If it is the user's only presence session, a successful clearPresence changes the user's presence to Offline/Offline. Read more about presence sessions and their time-out and expiration. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ClearPresencePostRequestBody] = None, request def to_post_request_information(self,body: Optional[ClearPresencePostRequestBody] = None, request_configuration: Optional[ClearPresenceRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clear a presence session of an application for a user. If it is the user's only presence session, a successful clearPresence changes the user's presence to Offline/Offline. Read more about presence sessions and their time-out and expiration. This API is available in the following national cloud deployments. + Clear a presence session of an application for a user. If it is the user's only presence session, a successful clearPresence changes the user's presence to Offline/Offline. Read more about presence sessions and their time-out and expiration. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ClearPresencePostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/presences/item/clear_user_preferred_presence/clear_user_preferred_presence_request_builder.py b/msgraph_beta/generated/communications/presences/item/clear_user_preferred_presence/clear_user_preferred_presence_request_builder.py index ef4d4f578d2..8339ba1eab5 100644 --- a/msgraph_beta/generated/communications/presences/item/clear_user_preferred_presence/clear_user_preferred_presence_request_builder.py +++ b/msgraph_beta/generated/communications/presences/item/clear_user_preferred_presence/clear_user_preferred_presence_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ClearUserPreferredPresenceRequestBuilderPostRequestConfiguration] = None) -> None: """ - Clear the preferred availability and activity status for a user. This API is available in the following national cloud deployments. + Clear the preferred availability and activity status for a user. 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/presence-clearuserpreferredpresence?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ClearUserPreferredPresenceRe def to_post_request_information(self,request_configuration: Optional[ClearUserPreferredPresenceRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clear the preferred availability and activity status for a user. This API is available in the following national cloud deployments. + Clear the preferred availability and activity status for a user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ClearUserPr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ClearUserPreferredPresenceRequestBuilder: diff --git a/msgraph_beta/generated/communications/presences/item/presence_item_request_builder.py b/msgraph_beta/generated/communications/presences/item/presence_item_request_builder.py index 2aee494d8e9..bc3404cdb7e 100644 --- a/msgraph_beta/generated/communications/presences/item/presence_item_request_builder.py +++ b/msgraph_beta/generated/communications/presences/item/presence_item_request_builder.py @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[PresenceItemRequestBuilder async def get(self,request_configuration: Optional[PresenceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Presence]: """ - Get a user's presence information. This API is available in the following national cloud deployments. + Get a user's presence information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Presence] Find more info here: https://learn.microsoft.com/graph/api/presence-get?view=graph-rest-1.0 @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[PresenceI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PresenceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a user's presence information. This API is available in the following national cloud deployments. + Get a user's presence information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[PresenceItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Presence] = None, request_configuration: Optional[PresenceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[Presence] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -217,7 +217,7 @@ class PresenceItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class PresenceItemRequestBuilderGetQueryParameters(): """ - Get a user's presence information. This API is available in the following national cloud deployments. + Get a user's presence information. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/communications/presences/item/set_presence/set_presence_request_builder.py b/msgraph_beta/generated/communications/presences/item/set_presence/set_presence_request_builder.py index e0f2538f462..90174e2aba3 100644 --- a/msgraph_beta/generated/communications/presences/item/set_presence/set_presence_request_builder.py +++ b/msgraph_beta/generated/communications/presences/item/set_presence/set_presence_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SetPresencePostRequestBody] = None, request_configuration: Optional[SetPresenceRequestBuilderPostRequestConfiguration] = None) -> None: """ - Set the availability and activity status in a presence session of an application for a user. This API is available in the following national cloud deployments. + Set the availability and activity status in a presence session of an application for a user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SetPresencePostRequestBody] = None, request_c def to_post_request_information(self,body: Optional[SetPresencePostRequestBody] = None, request_configuration: Optional[SetPresenceRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Set the availability and activity status in a presence session of an application for a user. This API is available in the following national cloud deployments. + Set the availability and activity status in a presence session of an application for a user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SetPresencePostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/presences/item/set_status_message/set_status_message_request_builder.py b/msgraph_beta/generated/communications/presences/item/set_status_message/set_status_message_request_builder.py index c0e84678ece..1e9751b963b 100644 --- a/msgraph_beta/generated/communications/presences/item/set_status_message/set_status_message_request_builder.py +++ b/msgraph_beta/generated/communications/presences/item/set_status_message/set_status_message_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SetStatusMessagePostRequestBody] = None, request_configuration: Optional[SetStatusMessageRequestBuilderPostRequestConfiguration] = None) -> None: """ - Set a presence status message for a user. An optional expiration date and time can be supplied. This API is available in the following national cloud deployments. + Set a presence status message for a user. An optional expiration date and time can be supplied. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SetStatusMessagePostRequestBody] = None, requ def to_post_request_information(self,body: Optional[SetStatusMessagePostRequestBody] = None, request_configuration: Optional[SetStatusMessageRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Set a presence status message for a user. An optional expiration date and time can be supplied. This API is available in the following national cloud deployments. + Set a presence status message for a user. An optional expiration date and time can be supplied. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SetStatusMessagePostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/presences/item/set_user_preferred_presence/set_user_preferred_presence_request_builder.py b/msgraph_beta/generated/communications/presences/item/set_user_preferred_presence/set_user_preferred_presence_request_builder.py index b52c75a3095..c71a6ff75cd 100644 --- a/msgraph_beta/generated/communications/presences/item/set_user_preferred_presence/set_user_preferred_presence_request_builder.py +++ b/msgraph_beta/generated/communications/presences/item/set_user_preferred_presence/set_user_preferred_presence_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SetUserPreferredPresencePostRequestBody] = None, request_configuration: Optional[SetUserPreferredPresenceRequestBuilderPostRequestConfiguration] = None) -> None: """ - Set the preferred availability and activity status for a user. If the preferred presence of a user is set, the user's presence is the preferred presence. Preferred presence takes effect only when there is at least one presence session of the user. Otherwise, the user's presence stays as Offline. A presence session can be created as a result of a successful setPresence operation, or if the user is signed in on a Teams client. Read more about presence sessions and their time-out and expiration. This API is available in the following national cloud deployments. + Set the preferred availability and activity status for a user. If the preferred presence of a user is set, the user's presence is the preferred presence. Preferred presence takes effect only when there is at least one presence session of the user. Otherwise, the user's presence stays as Offline. A presence session can be created as a result of a successful setPresence operation, or if the user is signed in on a Teams client. Read more about presence sessions and their time-out and expiration. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SetUserPreferredPresencePostRequestBody] = No def to_post_request_information(self,body: Optional[SetUserPreferredPresencePostRequestBody] = None, request_configuration: Optional[SetUserPreferredPresenceRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Set the preferred availability and activity status for a user. If the preferred presence of a user is set, the user's presence is the preferred presence. Preferred presence takes effect only when there is at least one presence session of the user. Otherwise, the user's presence stays as Offline. A presence session can be created as a result of a successful setPresence operation, or if the user is signed in on a Teams client. Read more about presence sessions and their time-out and expiration. This API is available in the following national cloud deployments. + Set the preferred availability and activity status for a user. If the preferred presence of a user is set, the user's presence is the preferred presence. Preferred presence takes effect only when there is at least one presence session of the user. Otherwise, the user's presence stays as Offline. A presence session can be created as a result of a successful setPresence operation, or if the user is signed in on a Teams client. Read more about presence sessions and their time-out and expiration. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SetUserPreferredPresencePost request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/communications/presences/presences_request_builder.py b/msgraph_beta/generated/communications/presences/presences_request_builder.py index 844265e0839..0ac841db277 100644 --- a/msgraph_beta/generated/communications/presences/presences_request_builder.py +++ b/msgraph_beta/generated/communications/presences/presences_request_builder.py @@ -45,7 +45,7 @@ def by_presence_id(self,presence_id: str) -> PresenceItemRequestBuilder: async def get(self,request_configuration: Optional[PresencesRequestBuilderGetRequestConfiguration] = None) -> Optional[PresenceCollectionResponse]: """ - Get a user's presence information. This API is available in the following national cloud deployments. + Get a user's presence information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PresenceCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[Presence] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[PresencesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a user's presence information. This API is available in the following national cloud deployments. + Get a user's presence information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PresencesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Presence] = None, request_configuration: Optional[PresencesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Presence] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PresencesRequestBuilderGetQueryParameters(): """ - Get a user's presence information. This API is available in the following national cloud deployments. + Get a user's presence information. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/compliance_request_builder.py b/msgraph_beta/generated/compliance/compliance_request_builder.py index c8f92270d51..86007c3d353 100644 --- a/msgraph_beta/generated/compliance/compliance_request_builder.py +++ b/msgraph_beta/generated/compliance/compliance_request_builder.py @@ -86,7 +86,7 @@ def to_get_request_information(self,request_configuration: Optional[ComplianceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Compliance] = None, request_configuration: Optional[ComplianceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -105,7 +105,7 @@ def to_patch_request_information(self,body: Optional[Compliance] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/cases_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/cases_request_builder.py index 3fc5f43699e..8220a9f1e3c 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/cases_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/cases_request_builder.py @@ -45,7 +45,7 @@ def by_case_id(self,case_id: str) -> CaseItemRequestBuilder: async def get(self,request_configuration: Optional[CasesRequestBuilderGetRequestConfiguration] = None) -> Optional[CaseCollectionResponse]: """ - Retrieve a list of case objects. This API is available in the following national cloud deployments. + Retrieve a list of case objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CaseCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-case-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[CasesRequestBuilderGetRequest async def post(self,body: Optional[Case] = None, request_configuration: Optional[CasesRequestBuilderPostRequestConfiguration] = None) -> Optional[Case]: """ - Create a new case object. This API is available in the following national cloud deployments. + Create a new case object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Case] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Case] = None, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[CasesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of case objects. This API is available in the following national cloud deployments. + Retrieve a list of case objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[CasesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Case] = None, request_configuration: Optional[CasesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new case object. This API is available in the following national cloud deployments. + Create a new case object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Case] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CasesRequestBuilderGetQueryParameters(): """ - Retrieve a list of case objects. This API is available in the following national cloud deployments. + Retrieve a list of case objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/case_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/case_item_request_builder.py index 4fd1666afc9..222ff1d35c8 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/case_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/case_item_request_builder.py @@ -38,7 +38,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[CaseItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a case object. This API is available in the following national cloud deployments. + Delete a case object. 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/ediscovery-case-delete?view=graph-rest-1.0 @@ -58,7 +58,7 @@ async def delete(self,request_configuration: Optional[CaseItemRequestBuilderDele async def get(self,request_configuration: Optional[CaseItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Case]: """ - Retrieve the properties and relationships of a case object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a case object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Case] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-case-get?view=graph-rest-1.0 @@ -80,7 +80,7 @@ async def get(self,request_configuration: Optional[CaseItemRequestBuilderGetRequ async def patch(self,body: Optional[Case] = None, request_configuration: Optional[CaseItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Case]: """ - Update the properties of a case object. This API is available in the following national cloud deployments. + Update the properties of a case object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Case] @@ -105,7 +105,7 @@ async def patch(self,body: Optional[Case] = None, request_configuration: Optiona def to_delete_request_information(self,request_configuration: Optional[CaseItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a case object. This API is available in the following national cloud deployments. + Delete a case object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,12 +116,12 @@ def to_delete_request_information(self,request_configuration: Optional[CaseItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CaseItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a case object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a case object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -133,12 +133,12 @@ def to_get_request_information(self,request_configuration: Optional[CaseItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Case] = None, request_configuration: Optional[CaseItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a case object. This API is available in the following national cloud deployments. + Update the properties of a case object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -152,7 +152,7 @@ def to_patch_request_information(self,body: Optional[Case] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -269,7 +269,7 @@ class CaseItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class CaseItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a case object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a case object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/custodians_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/custodians_request_builder.py index 700e6bd0508..3e11df92688 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/custodians_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/custodians_request_builder.py @@ -47,7 +47,7 @@ def by_custodian_id(self,custodian_id: str) -> CustodianItemRequestBuilder: async def get(self,request_configuration: Optional[CustodiansRequestBuilderGetRequestConfiguration] = None) -> Optional[CustodianCollectionResponse]: """ - Get a list of the custodian objects and their properties. This API is available in the following national cloud deployments. + Get a list of the custodian objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustodianCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-case-list-custodians?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[CustodiansRequestBuilderGetRe async def post(self,body: Optional[Custodian] = None, request_configuration: Optional[CustodiansRequestBuilderPostRequestConfiguration] = None) -> Optional[Custodian]: """ - Create a new custodian object. After the custodian object is created, you will need to create the custodian's userSource to reference their mailbox and OneDrive for Business site. This API is available in the following national cloud deployments. + Create a new custodian object. After the custodian object is created, you will need to create the custodian's userSource to reference their mailbox and OneDrive for Business site. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Custodian] @@ -94,7 +94,7 @@ async def post(self,body: Optional[Custodian] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[CustodiansRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the custodian objects and their properties. This API is available in the following national cloud deployments. + Get a list of the custodian objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_get_request_information(self,request_configuration: Optional[CustodiansRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Custodian] = None, request_configuration: Optional[CustodiansRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new custodian object. After the custodian object is created, you will need to create the custodian's userSource to reference their mailbox and OneDrive for Business site. This API is available in the following national cloud deployments. + Create a new custodian object. After the custodian object is created, you will need to create the custodian's userSource to reference their mailbox and OneDrive for Business site. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -125,7 +125,7 @@ def to_post_request_information(self,body: Optional[Custodian] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ def microsoft_graph_ediscovery_remove_hold(self) -> MicrosoftGraphEdiscoveryRemo @dataclass class CustodiansRequestBuilderGetQueryParameters(): """ - Get a list of the custodian objects and their properties. This API is available in the following national cloud deployments. + Get a list of the custodian objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/custodian_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/custodian_item_request_builder.py index 038af7896d8..8f8e829477e 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/custodian_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/custodian_item_request_builder.py @@ -56,7 +56,7 @@ async def delete(self,request_configuration: Optional[CustodianItemRequestBuilde async def get(self,request_configuration: Optional[CustodianItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Custodian]: """ - Read the properties and relationships of a custodian object. This API is available in the following national cloud deployments. + Read the properties and relationships of a custodian object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Custodian] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-custodian-get?view=graph-rest-1.0 @@ -78,7 +78,7 @@ async def get(self,request_configuration: Optional[CustodianItemRequestBuilderGe async def patch(self,body: Optional[Custodian] = None, request_configuration: Optional[CustodianItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Custodian]: """ - Update the properties of a custodian object. This API is available in the following national cloud deployments. + Update the properties of a custodian object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Custodian] @@ -114,12 +114,12 @@ def to_delete_request_information(self,request_configuration: Optional[Custodian request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CustodianItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a custodian object. This API is available in the following national cloud deployments. + Read the properties and relationships of a custodian object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -131,12 +131,12 @@ def to_get_request_information(self,request_configuration: Optional[CustodianIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Custodian] = None, request_configuration: Optional[CustodianItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a custodian object. This API is available in the following national cloud deployments. + Update the properties of a custodian object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -150,7 +150,7 @@ def to_patch_request_information(self,body: Optional[Custodian] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -258,7 +258,7 @@ class CustodianItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class CustodianItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a custodian object. This API is available in the following national cloud deployments. + Read the properties and relationships of a custodian object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/last_index_operation/last_index_operation_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/last_index_operation/last_index_operation_request_builder.py index d8ed896faa6..492eb9356f1 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/last_index_operation/last_index_operation_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/last_index_operation/last_index_operation_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[LastIndexOpe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastIndexOperationRequestBuilder: diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_activate/microsoft_graph_ediscovery_activate_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_activate/microsoft_graph_ediscovery_activate_request_builder.py index 087b46d1ae3..81e10f8a901 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_activate/microsoft_graph_ediscovery_activate_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_activate/microsoft_graph_ediscovery_activate_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[MicrosoftGraphEdiscoveryActivateRequestBuilderPostRequestConfiguration] = None) -> None: """ - Activate a custodian that has been released from a case to make them part of the case again. For details, see Manage custodians in an Advanced eDiscovery case. This API is available in the following national cloud deployments. + Activate a custodian that has been released from a case to make them part of the case again. For details, see Manage custodians in an Advanced eDiscovery 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/ediscovery-custodian-activate?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[MicrosoftGraphEdiscoveryActi def to_post_request_information(self,request_configuration: Optional[MicrosoftGraphEdiscoveryActivateRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Activate a custodian that has been released from a case to make them part of the case again. For details, see Manage custodians in an Advanced eDiscovery case. This API is available in the following national cloud deployments. + Activate a custodian that has been released from a case to make them part of the case again. For details, see Manage custodians in an Advanced eDiscovery case. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphEdiscoveryActivateRequestBuilder: diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py index 48b4195a111..71c1513a62d 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphEdiscoveryApplyHoldRequestBuilder: diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_release/microsoft_graph_ediscovery_release_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_release/microsoft_graph_ediscovery_release_request_builder.py index 99176b5fa34..e17061976a1 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_release/microsoft_graph_ediscovery_release_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_release/microsoft_graph_ediscovery_release_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[MicrosoftGraphEdiscoveryReleaseRequestBuilderPostRequestConfiguration] = None) -> None: """ - Release a custodian from a case. For details, see Release a custodian from a case. This API is available in the following national cloud deployments. + Release a custodian from a case. For details, see Release a custodian 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/ediscovery-custodian-release?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[MicrosoftGraphEdiscoveryRele def to_post_request_information(self,request_configuration: Optional[MicrosoftGraphEdiscoveryReleaseRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Release a custodian from a case. For details, see Release a custodian from a case. This API is available in the following national cloud deployments. + Release a custodian from a case. For details, see Release a custodian from a case. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphEdiscoveryReleaseRequestBuilder: diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py index df161290e61..7663f17aa31 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphEdiscoveryRemoveHoldRequestBuilder: diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_update_index/microsoft_graph_ediscovery_update_index_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_update_index/microsoft_graph_ediscovery_update_index_request_builder.py index 9adfde223fc..9d4149229cc 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_update_index/microsoft_graph_ediscovery_update_index_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/microsoft_graph_ediscovery_update_index/microsoft_graph_ediscovery_update_index_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphEdiscoveryUpdateIndexRequestBuilder: diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/item/site/site_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/item/site/site_request_builder.py index 3a2f5a9af3b..83b780af059 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/item/site/site_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/item/site/site_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SiteRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SiteRequestBuilder: diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/item/site_source_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/item/site_source_item_request_builder.py index 2876035d5df..c889383c062 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/item/site_source_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/item/site_source_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[SiteSourceItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a siteSource object. This API is available in the following national cloud deployments. + Delete a siteSource object. 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/ediscovery-sitesource-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[SiteSourceItemRequestBuild async def get(self,request_configuration: Optional[SiteSourceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SiteSource]: """ - Read the properties and relationships of a siteSource object. This API is available in the following national cloud deployments. + Read the properties and relationships of a siteSource object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteSource] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-sitesource-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[SiteSource] = None, request_configuration: O def to_delete_request_information(self,request_configuration: Optional[SiteSourceItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a siteSource object. This API is available in the following national cloud deployments. + Delete a siteSource object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[SiteSourc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SiteSourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a siteSource object. This API is available in the following national cloud deployments. + Read the properties and relationships of a siteSource object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[SiteSourceIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SiteSource] = None, request_configuration: Optional[SiteSourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[SiteSource] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class SiteSourceItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class SiteSourceItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a siteSource object. This API is available in the following national cloud deployments. + Read the properties and relationships of a siteSource object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/site_sources_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/site_sources_request_builder.py index b5fb9004766..0097358dbad 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/site_sources_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/site_sources/site_sources_request_builder.py @@ -45,7 +45,7 @@ def by_site_source_id(self,site_source_id: str) -> SiteSourceItemRequestBuilder: async def get(self,request_configuration: Optional[SiteSourcesRequestBuilderGetRequestConfiguration] = None) -> Optional[SiteSourceCollectionResponse]: """ - Get a list of siteSource objects and their properties. This API is available in the following national cloud deployments. + Get a list of siteSource objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteSourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-custodian-list-sitesources?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SiteSourcesRequestBuilderGetR async def post(self,body: Optional[SiteSource] = None, request_configuration: Optional[SiteSourcesRequestBuilderPostRequestConfiguration] = None) -> Optional[SiteSource]: """ - Create a new custodian siteSource object. This API is available in the following national cloud deployments. + Create a new custodian siteSource object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteSource] @@ -92,7 +92,7 @@ async def post(self,body: Optional[SiteSource] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[SiteSourcesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of siteSource objects and their properties. This API is available in the following national cloud deployments. + Get a list of siteSource objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SiteSourcesR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SiteSource] = None, request_configuration: Optional[SiteSourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new custodian siteSource object. This API is available in the following national cloud deployments. + Create a new custodian siteSource object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[SiteSource] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SiteSourcesRequestBuilderGetQueryParameters(): """ - Get a list of siteSource objects and their properties. This API is available in the following national cloud deployments. + Get a list of siteSource objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/group/group_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/group/group_request_builder.py index 45455003fab..c93d9dc4a31 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/group/group_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/group/group_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GroupRequestBuilder: diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py index 2bd7c687edf..9be444fc9ac 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/unified_group_source_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/unified_group_source_item_request_builder.py index 2d8fe33e2e3..6658ec498e1 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/unified_group_source_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/item/unified_group_source_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[UnifiedGroupSourceItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a unifiedGroupSource object. This API is available in the following national cloud deployments. + Delete a unifiedGroupSource object. 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/ediscovery-unifiedgroupsource-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[UnifiedGroupSourceItemRequ async def get(self,request_configuration: Optional[UnifiedGroupSourceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedGroupSource]: """ - Read the properties and relationships of a unifiedGroupSource object. This API is available in the following national cloud deployments. + Read the properties and relationships of a unifiedGroupSource object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedGroupSource] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-unifiedgroupsource-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[UnifiedGroupSource] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[UnifiedGroupSourceItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a unifiedGroupSource object. This API is available in the following national cloud deployments. + Delete a unifiedGroupSource object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedGroupSourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a unifiedGroupSource object. This API is available in the following national cloud deployments. + Read the properties and relationships of a unifiedGroupSource object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedGroupSource] = None, request_configuration: Optional[UnifiedGroupSourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[UnifiedGroupSource] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class UnifiedGroupSourceItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class UnifiedGroupSourceItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a unifiedGroupSource object. This API is available in the following national cloud deployments. + Read the properties and relationships of a unifiedGroupSource object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/unified_group_sources_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/unified_group_sources_request_builder.py index df3e46571f5..062c6973204 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/unified_group_sources_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/unified_group_sources/unified_group_sources_request_builder.py @@ -45,7 +45,7 @@ def by_unified_group_source_id(self,unified_group_source_id: str) -> UnifiedGrou async def get(self,request_configuration: Optional[UnifiedGroupSourcesRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedGroupSourceCollectionResponse]: """ - Get a list of the unifiedGroupSource objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedGroupSource objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedGroupSourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-custodian-list-unifiedgroupsources?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[UnifiedGroupSourcesRequestBui async def post(self,body: Optional[UnifiedGroupSource] = None, request_configuration: Optional[UnifiedGroupSourcesRequestBuilderPostRequestConfiguration] = None) -> Optional[UnifiedGroupSource]: """ - Create a new unifiedGroupSource object. This API is available in the following national cloud deployments. + Create a new unifiedGroupSource object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedGroupSource] @@ -92,7 +92,7 @@ async def post(self,body: Optional[UnifiedGroupSource] = None, request_configura def to_get_request_information(self,request_configuration: Optional[UnifiedGroupSourcesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the unifiedGroupSource objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedGroupSource objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedGroupSource] = None, request_configuration: Optional[UnifiedGroupSourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new unifiedGroupSource object. This API is available in the following national cloud deployments. + Create a new unifiedGroupSource object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[UnifiedGroupSource] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class UnifiedGroupSourcesRequestBuilderGetQueryParameters(): """ - Get a list of the unifiedGroupSource objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedGroupSource objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/user_sources/item/user_source_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/user_sources/item/user_source_item_request_builder.py index 010d1bbe3f5..6a072e6b202 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/user_sources/item/user_source_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/user_sources/item/user_source_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[UserSourceItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a userSource object. This API is available in the following national cloud deployments. + Delete a userSource object. 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/ediscovery-usersource-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[UserSourceItemRequestBuild async def get(self,request_configuration: Optional[UserSourceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UserSource]: """ - Read the properties and relationships of a userSource object. This API is available in the following national cloud deployments. + Read the properties and relationships of a userSource object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserSource] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-usersource-get?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[UserSource] = None, request_configuration: O def to_delete_request_information(self,request_configuration: Optional[UserSourceItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a userSource object. This API is available in the following national cloud deployments. + Delete a userSource object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[UserSourc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserSourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a userSource object. This API is available in the following national cloud deployments. + Read the properties and relationships of a userSource object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[UserSourceIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserSource] = None, request_configuration: Optional[UserSourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[UserSource] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class UserSourceItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class UserSourceItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a userSource object. This API is available in the following national cloud deployments. + Read the properties and relationships of a userSource object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/user_sources/user_sources_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/user_sources/user_sources_request_builder.py index 35e38f6da02..0acfe0641db 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/user_sources/user_sources_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/item/user_sources/user_sources_request_builder.py @@ -45,7 +45,7 @@ def by_user_source_id(self,user_source_id: str) -> UserSourceItemRequestBuilder: async def get(self,request_configuration: Optional[UserSourcesRequestBuilderGetRequestConfiguration] = None) -> Optional[UserSourceCollectionResponse]: """ - Get a list of the userSource objects and their properties. This API is available in the following national cloud deployments. + Get a list of the userSource objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserSourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-custodian-list-usersources?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[UserSourcesRequestBuilderGetR async def post(self,body: Optional[UserSource] = None, request_configuration: Optional[UserSourcesRequestBuilderPostRequestConfiguration] = None) -> Optional[UserSource]: """ - Create a new custodian userSource object. This API is available in the following national cloud deployments. + Create a new custodian userSource object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserSource] @@ -92,7 +92,7 @@ async def post(self,body: Optional[UserSource] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[UserSourcesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the userSource objects and their properties. This API is available in the following national cloud deployments. + Get a list of the userSource objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[UserSourcesR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserSource] = None, request_configuration: Optional[UserSourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new custodian userSource object. This API is available in the following national cloud deployments. + Create a new custodian userSource object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[UserSource] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class UserSourcesRequestBuilderGetQueryParameters(): """ - Get a list of the userSource objects and their properties. This API is available in the following national cloud deployments. + Get a list of the userSource objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py index b92932a7f6b..1d3cc5ef27f 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ApplyHoldPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py index 3cf11196c27..8a9521e97da 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/custodians/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[RemoveHoldPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/legal_hold_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/legal_hold_item_request_builder.py index d08abfe403f..bb27c429399 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/legal_hold_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/legal_hold_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[LegalHoldItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a legalHold object. This API is available in the following national cloud deployments. + Delete a legalHold object. 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/ediscovery-legalhold-delete?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[LegalHoldItemRequestBuilde async def get(self,request_configuration: Optional[LegalHoldItemRequestBuilderGetRequestConfiguration] = None) -> Optional[LegalHold]: """ - Read the properties and relationships of a legalHold object. This API is available in the following national cloud deployments. + Read the properties and relationships of a legalHold object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LegalHold] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-legalhold-get?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[LegalHoldItemRequestBuilderGe async def patch(self,body: Optional[LegalHold] = None, request_configuration: Optional[LegalHoldItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[LegalHold]: """ - Update the properties of a legalHold object. This API is available in the following national cloud deployments. + Update the properties of a legalHold object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LegalHold] @@ -98,7 +98,7 @@ async def patch(self,body: Optional[LegalHold] = None, request_configuration: Op def to_delete_request_information(self,request_configuration: Optional[LegalHoldItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a legalHold object. This API is available in the following national cloud deployments. + Delete a legalHold object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[LegalHold request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LegalHoldItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a legalHold object. This API is available in the following national cloud deployments. + Read the properties and relationships of a legalHold object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,12 +126,12 @@ def to_get_request_information(self,request_configuration: Optional[LegalHoldIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[LegalHold] = None, request_configuration: Optional[LegalHoldItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a legalHold object. This API is available in the following national cloud deployments. + Update the properties of a legalHold object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[LegalHold] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -199,7 +199,7 @@ class LegalHoldItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class LegalHoldItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a legalHold object. This API is available in the following national cloud deployments. + Read the properties and relationships of a legalHold object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/item/site/site_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/item/site/site_request_builder.py index 6aefd042091..2d697e81391 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/item/site/site_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/item/site/site_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SiteRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SiteRequestBuilder: diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/item/site_source_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/item/site_source_item_request_builder.py index 5b01f3e675d..db7bfadac37 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/item/site_source_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/item/site_source_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[SiteSourc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SiteSourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[SiteSourceIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SiteSource] = None, request_configuration: Optional[SiteSourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[SiteSource] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/site_sources_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/site_sources_request_builder.py index 17d214d4992..1385498b3e1 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/site_sources_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/site_sources/site_sources_request_builder.py @@ -45,7 +45,7 @@ def by_site_source_id(self,site_source_id: str) -> SiteSourceItemRequestBuilder: async def get(self,request_configuration: Optional[SiteSourcesRequestBuilderGetRequestConfiguration] = None) -> Optional[SiteSourceCollectionResponse]: """ - Get the list of siteSource objecs associated with a legal hold. This API is available in the following national cloud deployments. + Get the list of siteSource objecs associated with a legal hold. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteSourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-legalhold-list-sitesources?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SiteSourcesRequestBuilderGetR async def post(self,body: Optional[SiteSource] = None, request_configuration: Optional[SiteSourcesRequestBuilderPostRequestConfiguration] = None) -> Optional[SiteSource]: """ - Adds a siteSource to a legalHold object. This API is available in the following national cloud deployments. + Adds a siteSource to a legalHold object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteSource] @@ -92,7 +92,7 @@ async def post(self,body: Optional[SiteSource] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[SiteSourcesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of siteSource objecs associated with a legal hold. This API is available in the following national cloud deployments. + Get the list of siteSource objecs associated with a legal hold. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SiteSourcesR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SiteSource] = None, request_configuration: Optional[SiteSourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Adds a siteSource to a legalHold object. This API is available in the following national cloud deployments. + Adds a siteSource to a legalHold object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[SiteSource] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SiteSourcesRequestBuilderGetQueryParameters(): """ - Get the list of siteSource objecs associated with a legal hold. This API is available in the following national cloud deployments. + Get the list of siteSource objecs associated with a legal hold. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/group/group_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/group/group_request_builder.py index 6bd360919a6..b2d06837546 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/group/group_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/group/group_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GroupRequestBuilder: diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py index 1c967ef5bc1..3422b4c77aa 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/unified_group_source_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/unified_group_source_item_request_builder.py index 16b406959db..d3316c487ee 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/unified_group_source_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/item/unified_group_source_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedGroupSourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedGroupSource] = None, request_configuration: Optional[UnifiedGroupSourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[UnifiedGroupSource] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/unified_group_sources_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/unified_group_sources_request_builder.py index f253e3676c3..2f6441dc39e 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/unified_group_sources_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/unified_group_sources/unified_group_sources_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedGroupSource] = None, request_configuration: Optional[UnifiedGroupSourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UnifiedGroupSource] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/user_sources/item/user_source_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/user_sources/item/user_source_item_request_builder.py index ec74b97aa84..579abb55bca 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/user_sources/item/user_source_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/user_sources/item/user_source_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserSourc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserSourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserSourceIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserSource] = None, request_configuration: Optional[UserSourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserSource] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/user_sources/user_sources_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/user_sources/user_sources_request_builder.py index 69c78d498dd..83fe0982b5b 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/user_sources/user_sources_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/item/user_sources/user_sources_request_builder.py @@ -45,7 +45,7 @@ def by_user_source_id(self,user_source_id: str) -> UserSourceItemRequestBuilder: async def get(self,request_configuration: Optional[UserSourcesRequestBuilderGetRequestConfiguration] = None) -> Optional[UserSourceCollectionResponse]: """ - Get the list of userSource objects associated with a legal hold. This API is available in the following national cloud deployments. + Get the list of userSource objects associated with a legal hold. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserSourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-legalhold-list-usersources?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[UserSourcesRequestBuilderGetR async def post(self,body: Optional[UserSource] = None, request_configuration: Optional[UserSourcesRequestBuilderPostRequestConfiguration] = None) -> Optional[UserSource]: """ - Adds a userSource to a legalHold object. This API is available in the following national cloud deployments. + Adds a userSource to a legalHold object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserSource] @@ -92,7 +92,7 @@ async def post(self,body: Optional[UserSource] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[UserSourcesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of userSource objects associated with a legal hold. This API is available in the following national cloud deployments. + Get the list of userSource objects associated with a legal hold. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[UserSourcesR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserSource] = None, request_configuration: Optional[UserSourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Adds a userSource to a legalHold object. This API is available in the following national cloud deployments. + Adds a userSource to a legalHold object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[UserSource] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class UserSourcesRequestBuilderGetQueryParameters(): """ - Get the list of userSource objects associated with a legal hold. This API is available in the following national cloud deployments. + Get the list of userSource objects associated with a legal hold. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/legal_holds_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/legal_holds_request_builder.py index 5599d2ea7aa..e37648398b7 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/legal_holds_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/legal_holds/legal_holds_request_builder.py @@ -45,7 +45,7 @@ def by_legal_hold_id(self,legal_hold_id: str) -> LegalHoldItemRequestBuilder: async def get(self,request_configuration: Optional[LegalHoldsRequestBuilderGetRequestConfiguration] = None) -> Optional[LegalHoldCollectionResponse]: """ - Read the properties and relationships of a legalHold object. This API is available in the following national cloud deployments. + Read the properties and relationships of a legalHold object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LegalHoldCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[LegalHold] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[LegalHoldsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a legalHold object. This API is available in the following national cloud deployments. + Read the properties and relationships of a legalHold object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[LegalHoldsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[LegalHold] = None, request_configuration: Optional[LegalHoldsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[LegalHold] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class LegalHoldsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a legalHold object. This API is available in the following national cloud deployments. + Read the properties and relationships of a legalHold object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/microsoft_graph_ediscovery_close/microsoft_graph_ediscovery_close_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/microsoft_graph_ediscovery_close/microsoft_graph_ediscovery_close_request_builder.py index 34b382e57be..daedbd1b53b 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/microsoft_graph_ediscovery_close/microsoft_graph_ediscovery_close_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/microsoft_graph_ediscovery_close/microsoft_graph_ediscovery_close_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[MicrosoftGraphEdiscoveryCloseRequestBuilderPostRequestConfiguration] = None) -> None: """ - Close an eDiscovery case. For details, see Close a case. This API is available in the following national cloud deployments. + Close an eDiscovery case. For details, see Close 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/ediscovery-case-close?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[MicrosoftGraphEdiscoveryClos def to_post_request_information(self,request_configuration: Optional[MicrosoftGraphEdiscoveryCloseRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Close an eDiscovery case. For details, see Close a case. This API is available in the following national cloud deployments. + Close an eDiscovery case. For details, see Close a case. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphEdiscoveryCloseRequestBuilder: diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/microsoft_graph_ediscovery_reopen/microsoft_graph_ediscovery_reopen_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/microsoft_graph_ediscovery_reopen/microsoft_graph_ediscovery_reopen_request_builder.py index 43bed3e2509..b3ccb9ae5bc 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/microsoft_graph_ediscovery_reopen/microsoft_graph_ediscovery_reopen_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/microsoft_graph_ediscovery_reopen/microsoft_graph_ediscovery_reopen_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[MicrosoftGraphEdiscoveryReopenRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reopen an eDiscovery case that was closed. For details, see Reopen a closed case. This API is available in the following national cloud deployments. + Reopen an eDiscovery case that was closed. For details, see Reopen a closed 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/ediscovery-case-reopen?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[MicrosoftGraphEdiscoveryReop def to_post_request_information(self,request_configuration: Optional[MicrosoftGraphEdiscoveryReopenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reopen an eDiscovery case that was closed. For details, see Reopen a closed case. This API is available in the following national cloud deployments. + Reopen an eDiscovery case that was closed. For details, see Reopen a closed case. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphEdiscoveryReopenRequestBuilder: diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/data_source/data_source_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/data_source/data_source_request_builder.py index a447c1e5144..3bbe2d09a97 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/data_source/data_source_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/data_source/data_source_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DataSourc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DataSourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DataSourceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DataSource] = None, request_configuration: Optional[DataSourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DataSource] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/last_index_operation/last_index_operation_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/last_index_operation/last_index_operation_request_builder.py index 3d4ff0e659b..f42ed3f1fa4 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/last_index_operation/last_index_operation_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/last_index_operation/last_index_operation_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[LastIndexOpe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastIndexOperationRequestBuilder: diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py index b227f83fa3d..7a07cc04140 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphEdiscoveryApplyHoldRequestBuilder: diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_release/microsoft_graph_ediscovery_release_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_release/microsoft_graph_ediscovery_release_request_builder.py index 83ca07d8e3f..8a38d96f010 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_release/microsoft_graph_ediscovery_release_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_release/microsoft_graph_ediscovery_release_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[MicrosoftGraphEdiscoveryReleaseRequestBuilderPostRequestConfiguration] = None) -> None: """ - Releases the non-custodial data source from the case. This API is available in the following national cloud deployments. + Releases the non-custodial data source from the 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/ediscovery-noncustodialdatasource-release?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[MicrosoftGraphEdiscoveryRele def to_post_request_information(self,request_configuration: Optional[MicrosoftGraphEdiscoveryReleaseRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Releases the non-custodial data source from the case. This API is available in the following national cloud deployments. + Releases the non-custodial data source from the case. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphEdiscoveryReleaseRequestBuilder: diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py index c50a0949b65..e5c3575a636 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphEdiscoveryRemoveHoldRequestBuilder: diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_update_index/microsoft_graph_ediscovery_update_index_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_update_index/microsoft_graph_ediscovery_update_index_request_builder.py index c1d9bdb7071..d39a6d15c6c 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_update_index/microsoft_graph_ediscovery_update_index_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/microsoft_graph_ediscovery_update_index/microsoft_graph_ediscovery_update_index_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphEdiscoveryUpdateIndexRequestBuilder: diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/noncustodial_data_source_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/noncustodial_data_source_item_request_builder.py index 42536e73925..6cfe0197233 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/noncustodial_data_source_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/item/noncustodial_data_source_item_request_builder.py @@ -53,7 +53,7 @@ async def delete(self,request_configuration: Optional[NoncustodialDataSourceItem async def get(self,request_configuration: Optional[NoncustodialDataSourceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[NoncustodialDataSource]: """ - Read the properties and relationships of a noncustodialDataSource object. This API is available in the following national cloud deployments. + Read the properties and relationships of a noncustodialDataSource object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[NoncustodialDataSource] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-noncustodialdatasource-get?view=graph-rest-1.0 @@ -110,12 +110,12 @@ def to_delete_request_information(self,request_configuration: Optional[Noncustod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[NoncustodialDataSourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a noncustodialDataSource object. This API is available in the following national cloud deployments. + Read the properties and relationships of a noncustodialDataSource object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[Noncustodial request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[NoncustodialDataSource] = None, request_configuration: Optional[NoncustodialDataSourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[NoncustodialDataSource] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -227,7 +227,7 @@ class NoncustodialDataSourceItemRequestBuilderDeleteRequestConfiguration(BaseReq @dataclass class NoncustodialDataSourceItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a noncustodialDataSource object. This API is available in the following national cloud deployments. + Read the properties and relationships of a noncustodialDataSource object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py index 3a7886be948..a4f02162b21 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/microsoft_graph_ediscovery_apply_hold/microsoft_graph_ediscovery_apply_hold_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ApplyHoldPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py index 011a14f2e11..08869d3eebc 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/microsoft_graph_ediscovery_remove_hold/microsoft_graph_ediscovery_remove_hold_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[RemoveHoldPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/noncustodial_data_sources_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/noncustodial_data_sources_request_builder.py index 2b1b961a9d4..7c2ba82b8cb 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/noncustodial_data_sources_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/noncustodial_data_sources/noncustodial_data_sources_request_builder.py @@ -47,7 +47,7 @@ def by_noncustodial_data_source_id(self,noncustodial_data_source_id: str) -> Non async def get(self,request_configuration: Optional[NoncustodialDataSourcesRequestBuilderGetRequestConfiguration] = None) -> Optional[NoncustodialDataSourceCollectionResponse]: """ - Get a list of the noncustodialDataSource objects and their properties. This API is available in the following national cloud deployments. + Get a list of the noncustodialDataSource objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[NoncustodialDataSourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-noncustodialdatasource-list?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[NoncustodialDataSourcesReques async def post(self,body: Optional[NoncustodialDataSource] = None, request_configuration: Optional[NoncustodialDataSourcesRequestBuilderPostRequestConfiguration] = None) -> Optional[NoncustodialDataSource]: """ - Create a new noncustodialDataSource object. This API is available in the following national cloud deployments. + Create a new noncustodialDataSource object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[NoncustodialDataSource] @@ -94,7 +94,7 @@ async def post(self,body: Optional[NoncustodialDataSource] = None, request_confi def to_get_request_information(self,request_configuration: Optional[NoncustodialDataSourcesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the noncustodialDataSource objects and their properties. This API is available in the following national cloud deployments. + Get a list of the noncustodialDataSource objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_get_request_information(self,request_configuration: Optional[Noncustodial request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[NoncustodialDataSource] = None, request_configuration: Optional[NoncustodialDataSourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new noncustodialDataSource object. This API is available in the following national cloud deployments. + Create a new noncustodialDataSource object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -125,7 +125,7 @@ def to_post_request_information(self,body: Optional[NoncustodialDataSource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ def microsoft_graph_ediscovery_remove_hold(self) -> MicrosoftGraphEdiscoveryRemo @dataclass class NoncustodialDataSourcesRequestBuilderGetQueryParameters(): """ - Get a list of the noncustodialDataSource objects and their properties. This API is available in the following national cloud deployments. + Get a list of the noncustodialDataSource objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/item/case_operation_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/item/case_operation_item_request_builder.py index 35f0206fc49..3cf2a6735b3 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/item/case_operation_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/item/case_operation_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[CaseOpera request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CaseOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CaseOperatio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CaseOperation] = None, request_configuration: Optional[CaseOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[CaseOperation] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/item/microsoft_graph_ediscovery_case_export_operation/microsoft_graph_ediscovery_case_export_operation_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/item/microsoft_graph_ediscovery_case_export_operation/microsoft_graph_ediscovery_case_export_operation_request_builder.py index 58dacea0d52..c8b46a61a56 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/item/microsoft_graph_ediscovery_case_export_operation/microsoft_graph_ediscovery_case_export_operation_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/item/microsoft_graph_ediscovery_case_export_operation/microsoft_graph_ediscovery_case_export_operation_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphEdiscoveryCaseExportOperationRequestBuilder: diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/item/microsoft_graph_ediscovery_case_export_operation/review_set/review_set_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/item/microsoft_graph_ediscovery_case_export_operation/review_set/review_set_request_builder.py index 63eec601808..cf2c43fcf48 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/item/microsoft_graph_ediscovery_case_export_operation/review_set/review_set_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/item/microsoft_graph_ediscovery_case_export_operation/review_set/review_set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ReviewSetReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReviewSetRequestBuilder: diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/microsoft_graph_ediscovery_case_export_operation/microsoft_graph_ediscovery_case_export_operation_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/microsoft_graph_ediscovery_case_export_operation/microsoft_graph_ediscovery_case_export_operation_request_builder.py index 8c902fe895e..c35e3cf2039 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/microsoft_graph_ediscovery_case_export_operation/microsoft_graph_ediscovery_case_export_operation_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/microsoft_graph_ediscovery_case_export_operation/microsoft_graph_ediscovery_case_export_operation_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphEdiscoveryCaseExportOperationRequestBuilder: diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/operations_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/operations_request_builder.py index 5a3fd9e8c2d..e8f6b2752ed 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/operations_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/operations/operations_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CaseOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[CaseOperation] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/microsoft_graph_ediscovery_add_to_review_set/microsoft_graph_ediscovery_add_to_review_set_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/microsoft_graph_ediscovery_add_to_review_set/microsoft_graph_ediscovery_add_to_review_set_request_builder.py index d6ff2fdad74..e8a8aa6e797 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/microsoft_graph_ediscovery_add_to_review_set/microsoft_graph_ediscovery_add_to_review_set_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/microsoft_graph_ediscovery_add_to_review_set/microsoft_graph_ediscovery_add_to_review_set_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddToReviewSetPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphEdiscoveryAddToReviewSetRequestBuilderPostRequestConfiguration] = None) -> None: """ - Start the process of adding a collection from Microsoft 365 services to a review set. After the operation is created, you can get the status of the operation by retrieving the Location parameter from the response headers. The location provides a URL that will return a caseExportOperation. This API is available in the following national cloud deployments. + Start the process of adding a collection from Microsoft 365 services to a review set. After the operation is created, you can get the status of the operation by retrieving the Location parameter from the response headers. The location provides a URL that will return a caseExportOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AddToReviewSetPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[AddToReviewSetPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphEdiscoveryAddToReviewSetRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Start the process of adding a collection from Microsoft 365 services to a review set. After the operation is created, you can get the status of the operation by retrieving the Location parameter from the response headers. The location provides a URL that will return a caseExportOperation. This API is available in the following national cloud deployments. + Start the process of adding a collection from Microsoft 365 services to a review set. After the operation is created, you can get the status of the operation by retrieving the Location parameter from the response headers. The location provides a URL that will return a caseExportOperation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AddToReviewSetPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/microsoft_graph_ediscovery_export/microsoft_graph_ediscovery_export_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/microsoft_graph_ediscovery_export/microsoft_graph_ediscovery_export_request_builder.py index 75da65d07a3..fd3380f6410 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/microsoft_graph_ediscovery_export/microsoft_graph_ediscovery_export_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/microsoft_graph_ediscovery_export/microsoft_graph_ediscovery_export_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ExportPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphEdiscoveryExportRequestBuilderPostRequestConfiguration] = None) -> None: """ - Initiate an export from a reviewSet. For details, see Export documents from a review set in Advanced eDiscovery. This API is available in the following national cloud deployments. + Initiate an export from a reviewSet. For details, see Export documents from a review set in Advanced eDiscovery. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ExportPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[ExportPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphEdiscoveryExportRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Initiate an export from a reviewSet. For details, see Export documents from a review set in Advanced eDiscovery. This API is available in the following national cloud deployments. + Initiate an export from a reviewSet. For details, see Export documents from a review set in Advanced eDiscovery. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ExportPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/item/microsoft_graph_ediscovery_apply_tags/microsoft_graph_ediscovery_apply_tags_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/item/microsoft_graph_ediscovery_apply_tags/microsoft_graph_ediscovery_apply_tags_request_builder.py index 89f4ff3e8c0..01e5d4aaf0b 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/item/microsoft_graph_ediscovery_apply_tags/microsoft_graph_ediscovery_apply_tags_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/item/microsoft_graph_ediscovery_apply_tags/microsoft_graph_ediscovery_apply_tags_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ApplyTagsPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphEdiscoveryApplyTagsRequestBuilderPostRequestConfiguration] = None) -> None: """ - Apply tags to documents that match the specified reviewSetQuery. This API is available in the following national cloud deployments. + Apply tags to documents that match the specified reviewSetQuery. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ApplyTagsPostRequestBody] = None, request_con def to_post_request_information(self,body: Optional[ApplyTagsPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphEdiscoveryApplyTagsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Apply tags to documents that match the specified reviewSetQuery. This API is available in the following national cloud deployments. + Apply tags to documents that match the specified reviewSetQuery. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ApplyTagsPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/item/review_set_query_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/item/review_set_query_item_request_builder.py index eac08267bda..41c137a1fbf 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/item/review_set_query_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/item/review_set_query_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ReviewSetQueryItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a reviewSetQuery object. This API is available in the following national cloud deployments. + Delete a reviewSetQuery object. 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/ediscovery-reviewsetquery-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[ReviewSetQueryItemRequestB async def get(self,request_configuration: Optional[ReviewSetQueryItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ReviewSetQuery]: """ - Retrieve the properties and relationships of an eDiscovery reviewSetQuery object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an eDiscovery reviewSetQuery object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ReviewSetQuery] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-reviewsetquery-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[ReviewSetQueryItemRequestBuil async def patch(self,body: Optional[ReviewSetQuery] = None, request_configuration: Optional[ReviewSetQueryItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ReviewSetQuery]: """ - Update the properties of an eDiscovery reviewSetQuery. This API is available in the following national cloud deployments. + Update the properties of an eDiscovery reviewSetQuery. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ReviewSetQuery] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[ReviewSetQuery] = None, request_configuratio def to_delete_request_information(self,request_configuration: Optional[ReviewSetQueryItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a reviewSetQuery object. This API is available in the following national cloud deployments. + Delete a reviewSetQuery object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[ReviewSet request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ReviewSetQueryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an eDiscovery reviewSetQuery object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an eDiscovery reviewSetQuery object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[ReviewSetQue request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ReviewSetQuery] = None, request_configuration: Optional[ReviewSetQueryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an eDiscovery reviewSetQuery. This API is available in the following national cloud deployments. + Update the properties of an eDiscovery reviewSetQuery. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[ReviewSetQuery] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class ReviewSetQueryItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class ReviewSetQueryItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an eDiscovery reviewSetQuery object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an eDiscovery reviewSetQuery object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/queries_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/queries_request_builder.py index c84fe66d114..37cfb6901fc 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/queries_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/queries/queries_request_builder.py @@ -45,7 +45,7 @@ def by_review_set_query_id(self,review_set_query_id: str) -> ReviewSetQueryItemR async def get(self,request_configuration: Optional[QueriesRequestBuilderGetRequestConfiguration] = None) -> Optional[ReviewSetQueryCollectionResponse]: """ - Retrieve a list of eDiscovery reviewSetQuery objects. This API is available in the following national cloud deployments. + Retrieve a list of eDiscovery reviewSetQuery objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ReviewSetQueryCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-reviewsetquery-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[QueriesRequestBuilderGetReque async def post(self,body: Optional[ReviewSetQuery] = None, request_configuration: Optional[QueriesRequestBuilderPostRequestConfiguration] = None) -> Optional[ReviewSetQuery]: """ - Create a new reviewSetQuery object. This API is available in the following national cloud deployments. + Create a new reviewSetQuery object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ReviewSetQuery] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ReviewSetQuery] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[QueriesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of eDiscovery reviewSetQuery objects. This API is available in the following national cloud deployments. + Retrieve a list of eDiscovery reviewSetQuery objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[QueriesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReviewSetQuery] = None, request_configuration: Optional[QueriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new reviewSetQuery object. This API is available in the following national cloud deployments. + Create a new reviewSetQuery object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ReviewSetQuery] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class QueriesRequestBuilderGetQueryParameters(): """ - Retrieve a list of eDiscovery reviewSetQuery objects. This API is available in the following national cloud deployments. + Retrieve a list of eDiscovery reviewSetQuery objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/review_set_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/review_set_item_request_builder.py index c195b80f3f4..9294be4fb8b 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/review_set_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/item/review_set_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[ReviewSetItemRequestBuilde async def get(self,request_configuration: Optional[ReviewSetItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ReviewSet]: """ - Retrieve the properties and relationships of a reviewSet object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a reviewSet object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ReviewSet] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-reviewset-get?view=graph-rest-1.0 @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[ReviewSet request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ReviewSetItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a reviewSet object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a reviewSet object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[ReviewSetIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ReviewSet] = None, request_configuration: Optional[ReviewSetItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[ReviewSet] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -197,7 +197,7 @@ class ReviewSetItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ReviewSetItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a reviewSet object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a reviewSet object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/review_sets_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/review_sets_request_builder.py index 0ad1db62b96..a45a515685e 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/review_sets_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/review_sets/review_sets_request_builder.py @@ -45,7 +45,7 @@ def by_review_set_id(self,review_set_id: str) -> ReviewSetItemRequestBuilder: async def get(self,request_configuration: Optional[ReviewSetsRequestBuilderGetRequestConfiguration] = None) -> Optional[ReviewSetCollectionResponse]: """ - Retrieve the properties and relationships of a reviewSet object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a reviewSet object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ReviewSetCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ReviewSetsRequestBuilderGetRe async def post(self,body: Optional[ReviewSet] = None, request_configuration: Optional[ReviewSetsRequestBuilderPostRequestConfiguration] = None) -> Optional[ReviewSet]: """ - Create a new reviewSet object. The request body contains the display name of the review set, which is the only writable property. This API is available in the following national cloud deployments. + Create a new reviewSet object. The request body contains the display name of the review set, which is the only writable property. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ReviewSet] @@ -91,7 +91,7 @@ async def post(self,body: Optional[ReviewSet] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ReviewSetsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a reviewSet object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a reviewSet object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ReviewSetsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReviewSet] = None, request_configuration: Optional[ReviewSetsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new reviewSet object. The request body contains the display name of the review set, which is the only writable property. This API is available in the following national cloud deployments. + Create a new reviewSet object. The request body contains the display name of the review set, which is the only writable property. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ReviewSet] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ReviewSetsRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a reviewSet object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a reviewSet object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/settings/microsoft_graph_ediscovery_reset_to_default/microsoft_graph_ediscovery_reset_to_default_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/settings/microsoft_graph_ediscovery_reset_to_default/microsoft_graph_ediscovery_reset_to_default_request_builder.py index 4ff5db829ce..7bfd805ad81 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/settings/microsoft_graph_ediscovery_reset_to_default/microsoft_graph_ediscovery_reset_to_default_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/settings/microsoft_graph_ediscovery_reset_to_default/microsoft_graph_ediscovery_reset_to_default_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[MicrosoftGraphEdiscoveryResetToDefaultRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reset a caseSettings object to the default values. This API is available in the following national cloud deployments. + Reset a caseSettings object to the default values. 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/ediscovery-casesettings-resettodefault?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[MicrosoftGraphEdiscoveryRese def to_post_request_information(self,request_configuration: Optional[MicrosoftGraphEdiscoveryResetToDefaultRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reset a caseSettings object to the default values. This API is available in the following national cloud deployments. + Reset a caseSettings object to the default values. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphEdiscoveryResetToDefaultRequestBuilder: diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/settings/settings_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/settings/settings_request_builder.py index 8c7aca0c9a0..5b0a506a832 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/settings/settings_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/settings/settings_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[SettingsRequestBuilderDele async def get(self,request_configuration: Optional[SettingsRequestBuilderGetRequestConfiguration] = None) -> Optional[CaseSettings]: """ - Read the properties and relationships of an eDiscovery caseSettings object. This API is available in the following national cloud deployments. + Read the properties and relationships of an eDiscovery caseSettings object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CaseSettings] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-casesettings-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[SettingsRequestBuilderGetRequ async def patch(self,body: Optional[CaseSettings] = None, request_configuration: Optional[SettingsRequestBuilderPatchRequestConfiguration] = None) -> Optional[CaseSettings]: """ - Update the properties of a an eDiscovery caseSettings object. This API is available in the following national cloud deployments. + Update the properties of a an eDiscovery caseSettings object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CaseSettings] @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[SettingsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an eDiscovery caseSettings object. This API is available in the following national cloud deployments. + Read the properties and relationships of an eDiscovery caseSettings object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[SettingsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CaseSettings] = None, request_configuration: Optional[SettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a an eDiscovery caseSettings object. This API is available in the following national cloud deployments. + Update the properties of a an eDiscovery caseSettings object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[CaseSettings] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class SettingsRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class SettingsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an eDiscovery caseSettings object. This API is available in the following national cloud deployments. + Read the properties and relationships of an eDiscovery caseSettings object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/add_to_review_set_operation/add_to_review_set_operation_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/add_to_review_set_operation/add_to_review_set_operation_request_builder.py index 5bf3e413989..6b2b1c79442 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/add_to_review_set_operation/add_to_review_set_operation_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/add_to_review_set_operation/add_to_review_set_operation_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[AddToReviewSetOperationRequestBuilderGetRequestConfiguration] = None) -> Optional[AddToReviewSetOperation]: """ - Get the last addToReviewSetOperation object associated with a source collection. This API is available in the following national cloud deployments. + Get the last addToReviewSetOperation object associated with a source collection. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AddToReviewSetOperation] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-list-addtoreviewsetoperation?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[AddToReviewSetOperationReques def to_get_request_information(self,request_configuration: Optional[AddToReviewSetOperationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the last addToReviewSetOperation object associated with a source collection. This API is available in the following national cloud deployments. + Get the last addToReviewSetOperation object associated with a source collection. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[AddToReviewS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AddToReviewSetOperationRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> AddToReviewSetOperationReque @dataclass class AddToReviewSetOperationRequestBuilderGetQueryParameters(): """ - Get the last addToReviewSetOperation object associated with a source collection. This API is available in the following national cloud deployments. + Get the last addToReviewSetOperation object associated with a source collection. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/additional_sources/additional_sources_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/additional_sources/additional_sources_request_builder.py index 107fbca72fa..b8a276fdb3c 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/additional_sources/additional_sources_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/additional_sources/additional_sources_request_builder.py @@ -45,7 +45,7 @@ def by_data_source_id(self,data_source_id: str) -> DataSourceItemRequestBuilder: async def get(self,request_configuration: Optional[AdditionalSourcesRequestBuilderGetRequestConfiguration] = None) -> Optional[DataSourceCollectionResponse]: """ - Get a list of additional dataSource objects associated with a source collection. This API is available in the following national cloud deployments. + Get a list of additional dataSource objects associated with a source collection. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DataSourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-list-additionalsources?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[DataSource] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AdditionalSourcesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of additional dataSource objects associated with a source collection. This API is available in the following national cloud deployments. + Get a list of additional dataSource objects associated with a source collection. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AdditionalSo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DataSource] = None, request_configuration: Optional[AdditionalSourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[DataSource] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AdditionalSourcesRequestBuilderGetQueryParameters(): """ - Get a list of additional dataSource objects associated with a source collection. This API is available in the following national cloud deployments. + Get a list of additional dataSource objects associated with a source collection. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/additional_sources/item/data_source_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/additional_sources/item/data_source_item_request_builder.py index d9601a8c894..92fe55a4511 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/additional_sources/item/data_source_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/additional_sources/item/data_source_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DataSourc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DataSourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DataSourceIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DataSource] = None, request_configuration: Optional[DataSourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DataSource] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/custodian_sources/custodian_sources_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/custodian_sources/custodian_sources_request_builder.py index 3736c394423..2108a5b4437 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/custodian_sources/custodian_sources_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/custodian_sources/custodian_sources_request_builder.py @@ -44,7 +44,7 @@ def by_data_source_id(self,data_source_id: str) -> DataSourceItemRequestBuilder: async def get(self,request_configuration: Optional[CustodianSourcesRequestBuilderGetRequestConfiguration] = None) -> Optional[DataSourceCollectionResponse]: """ - Get the list of dataSource objects associated with a source collection. This API is available in the following national cloud deployments. + Get the list of dataSource objects associated with a source collection. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DataSourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-list-custodiansources?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[CustodianSourcesRequestBuilde def to_get_request_information(self,request_configuration: Optional[CustodianSourcesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of dataSource objects associated with a source collection. This API is available in the following national cloud deployments. + Get the list of dataSource objects associated with a source collection. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[CustodianSou request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CustodianSourcesRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CustodianSourcesRequestBuilderGetQueryParameters(): """ - Get the list of dataSource objects associated with a source collection. This API is available in the following national cloud deployments. + Get the list of dataSource objects associated with a source collection. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/custodian_sources/item/data_source_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/custodian_sources/item/data_source_item_request_builder.py index f45e295078b..d8ae9d765c8 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/custodian_sources/item/data_source_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/custodian_sources/item/data_source_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DataSourceIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DataSourceItemRequestBuilder: diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/last_estimate_statistics_operation/last_estimate_statistics_operation_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/last_estimate_statistics_operation/last_estimate_statistics_operation_request_builder.py index 044a0921cc6..2b92acab17f 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/last_estimate_statistics_operation/last_estimate_statistics_operation_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/last_estimate_statistics_operation/last_estimate_statistics_operation_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[LastEstimateStatisticsOperationRequestBuilderGetRequestConfiguration] = None) -> Optional[EstimateStatisticsOperation]: """ - Get the last estimateStatisticsOperation object associated with a source collection. This API is available in the following national cloud deployments. + Get the last estimateStatisticsOperation object associated with a source collection. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EstimateStatisticsOperation] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-list-lastestimatestatisticsoperation?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[LastEstimateStatisticsOperati def to_get_request_information(self,request_configuration: Optional[LastEstimateStatisticsOperationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the last estimateStatisticsOperation object associated with a source collection. This API is available in the following national cloud deployments. + Get the last estimateStatisticsOperation object associated with a source collection. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[LastEstimate request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastEstimateStatisticsOperationRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> LastEstimateStatisticsOperat @dataclass class LastEstimateStatisticsOperationRequestBuilderGetQueryParameters(): """ - Get the last estimateStatisticsOperation object associated with a source collection. This API is available in the following national cloud deployments. + Get the last estimateStatisticsOperation object associated with a source collection. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/microsoft_graph_ediscovery_estimate_statistics/microsoft_graph_ediscovery_estimate_statistics_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/microsoft_graph_ediscovery_estimate_statistics/microsoft_graph_ediscovery_estimate_statistics_request_builder.py index 1dddb2066bb..e8a0c3bd222 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/microsoft_graph_ediscovery_estimate_statistics/microsoft_graph_ediscovery_estimate_statistics_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/microsoft_graph_ediscovery_estimate_statistics/microsoft_graph_ediscovery_estimate_statistics_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[MicrosoftGraphEdiscoveryEstimateStatisticsRequestBuilderPostRequestConfiguration] = None) -> None: """ - Run an estimate of the number of emails and documents in the source collection. To learn more about source collections (also known as searches in eDiscovery), see Collect data for a case in Advanced eDiscovery. This API is available in the following national cloud deployments. + Run an estimate of the number of emails and documents in the source collection. To learn more about source collections (also known as searches in eDiscovery), see Collect data for a case in Advanced eDiscovery. 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/ediscovery-sourcecollection-estimatestatistics?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[MicrosoftGraphEdiscoveryEsti def to_post_request_information(self,request_configuration: Optional[MicrosoftGraphEdiscoveryEstimateStatisticsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Run an estimate of the number of emails and documents in the source collection. To learn more about source collections (also known as searches in eDiscovery), see Collect data for a case in Advanced eDiscovery. This API is available in the following national cloud deployments. + Run an estimate of the number of emails and documents in the source collection. To learn more about source collections (also known as searches in eDiscovery), see Collect data for a case in Advanced eDiscovery. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphEdiscoveryEstimateStatisticsRequestBuilder: diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/microsoft_graph_ediscovery_purge_data/microsoft_graph_ediscovery_purge_data_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/microsoft_graph_ediscovery_purge_data/microsoft_graph_ediscovery_purge_data_request_builder.py index cb6bf992d07..d07e788a65d 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/microsoft_graph_ediscovery_purge_data/microsoft_graph_ediscovery_purge_data_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/microsoft_graph_ediscovery_purge_data/microsoft_graph_ediscovery_purge_data_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[MicrosoftGraphEdiscoveryPurgeDataRequestBuilderPostRequestConfiguration] = None) -> None: """ - Permanently delete Microsoft Teams messages contained in a sourceCollection. You can collect and purge the following categories of Teams content:- Teams 1:1 chats - Chat messages, posts, and attachments shared in a Teams conversation between two people. Teams 1:1 chats are also called *conversations*.- Teams group chats - Chat messages, posts, and attachments shared in a Teams conversation between three or more people. Also called *1:N* chats or *group conversations*.- Teams channels - Chat messages, posts, replies, and attachments shared in a standard Teams channel.- Private channels - Message posts, replies, and attachments shared in a private Teams channel.- Shared channels - Message posts, replies, and attachments shared in a shared Teams channel. For more information about purging Teams messages, see:- eDiscovery solution series: Data spillage scenario - Search and purge- Advanced eDiscovery workflow for content in Microsoft Teams This API is available in the following national cloud deployments. + Permanently delete Microsoft Teams messages contained in a sourceCollection. You can collect and purge the following categories of Teams content:- Teams 1:1 chats - Chat messages, posts, and attachments shared in a Teams conversation between two people. Teams 1:1 chats are also called *conversations*.- Teams group chats - Chat messages, posts, and attachments shared in a Teams conversation between three or more people. Also called *1:N* chats or *group conversations*.- Teams channels - Chat messages, posts, replies, and attachments shared in a standard Teams channel.- Private channels - Message posts, replies, and attachments shared in a private Teams channel.- Shared channels - Message posts, replies, and attachments shared in a shared Teams channel. For more information about purging Teams messages, see:- eDiscovery solution series: Data spillage scenario - Search and purge- Advanced eDiscovery workflow for content in Microsoft Teams 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/ediscovery-sourcecollection-purgedata?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[MicrosoftGraphEdiscoveryPurg def to_post_request_information(self,request_configuration: Optional[MicrosoftGraphEdiscoveryPurgeDataRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Permanently delete Microsoft Teams messages contained in a sourceCollection. You can collect and purge the following categories of Teams content:- Teams 1:1 chats - Chat messages, posts, and attachments shared in a Teams conversation between two people. Teams 1:1 chats are also called *conversations*.- Teams group chats - Chat messages, posts, and attachments shared in a Teams conversation between three or more people. Also called *1:N* chats or *group conversations*.- Teams channels - Chat messages, posts, replies, and attachments shared in a standard Teams channel.- Private channels - Message posts, replies, and attachments shared in a private Teams channel.- Shared channels - Message posts, replies, and attachments shared in a shared Teams channel. For more information about purging Teams messages, see:- eDiscovery solution series: Data spillage scenario - Search and purge- Advanced eDiscovery workflow for content in Microsoft Teams This API is available in the following national cloud deployments. + Permanently delete Microsoft Teams messages contained in a sourceCollection. You can collect and purge the following categories of Teams content:- Teams 1:1 chats - Chat messages, posts, and attachments shared in a Teams conversation between two people. Teams 1:1 chats are also called *conversations*.- Teams group chats - Chat messages, posts, and attachments shared in a Teams conversation between three or more people. Also called *1:N* chats or *group conversations*.- Teams channels - Chat messages, posts, replies, and attachments shared in a standard Teams channel.- Private channels - Message posts, replies, and attachments shared in a private Teams channel.- Shared channels - Message posts, replies, and attachments shared in a shared Teams channel. For more information about purging Teams messages, see:- eDiscovery solution series: Data spillage scenario - Search and purge- Advanced eDiscovery workflow for content in Microsoft Teams param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphEdiscoveryPurgeDataRequestBuilder: diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/noncustodial_sources/item/noncustodial_data_source_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/noncustodial_sources/item/noncustodial_data_source_item_request_builder.py index 050cb7eb157..9317f43a79d 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/noncustodial_sources/item/noncustodial_data_source_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/noncustodial_sources/item/noncustodial_data_source_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[Noncustodial request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> NoncustodialDataSourceItemRequestBuilder: diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/noncustodial_sources/noncustodial_sources_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/noncustodial_sources/noncustodial_sources_request_builder.py index 1e83a11329a..19cf80276f9 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/noncustodial_sources/noncustodial_sources_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/noncustodial_sources/noncustodial_sources_request_builder.py @@ -44,7 +44,7 @@ def by_noncustodial_data_source_id(self,noncustodial_data_source_id: str) -> Non async def get(self,request_configuration: Optional[NoncustodialSourcesRequestBuilderGetRequestConfiguration] = None) -> Optional[NoncustodialDataSourceCollectionResponse]: """ - Get a list of noncustodialDataSource associated with a sourceCollection. This API is available in the following national cloud deployments. + Get a list of noncustodialDataSource associated with a sourceCollection. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[NoncustodialDataSourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-sourcecollection-list-noncustodialsources?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[NoncustodialSourcesRequestBui def to_get_request_information(self,request_configuration: Optional[NoncustodialSourcesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of noncustodialDataSource associated with a sourceCollection. This API is available in the following national cloud deployments. + Get a list of noncustodialDataSource associated with a sourceCollection. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[Noncustodial request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> NoncustodialSourcesRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class NoncustodialSourcesRequestBuilderGetQueryParameters(): """ - Get a list of noncustodialDataSource associated with a sourceCollection. This API is available in the following national cloud deployments. + Get a list of noncustodialDataSource associated with a sourceCollection. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/source_collection_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/source_collection_item_request_builder.py index 18ef594efd2..d2fe5b92fe0 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/source_collection_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/item/source_collection_item_request_builder.py @@ -35,7 +35,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[SourceCollectionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a sourceCollection object. This API is available in the following national cloud deployments. + Delete a sourceCollection object. 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/ediscovery-sourcecollection-delete?view=graph-rest-1.0 @@ -76,7 +76,7 @@ async def get(self,request_configuration: Optional[SourceCollectionItemRequestBu async def patch(self,body: Optional[SourceCollection] = None, request_configuration: Optional[SourceCollectionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[SourceCollection]: """ - Update the properties of a sourceCollection object. This API is available in the following national cloud deployments. + Update the properties of a sourceCollection object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SourceCollection] @@ -101,7 +101,7 @@ async def patch(self,body: Optional[SourceCollection] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[SourceCollectionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a sourceCollection object. This API is available in the following national cloud deployments. + Delete a sourceCollection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -112,7 +112,7 @@ def to_delete_request_information(self,request_configuration: Optional[SourceCol request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SourceCollectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -129,12 +129,12 @@ def to_get_request_information(self,request_configuration: Optional[SourceCollec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SourceCollection] = None, request_configuration: Optional[SourceCollectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a sourceCollection object. This API is available in the following national cloud deployments. + Update the properties of a sourceCollection object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -148,7 +148,7 @@ def to_patch_request_information(self,body: Optional[SourceCollection] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/source_collections_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/source_collections_request_builder.py index 4df6078482a..2d7cd4c6a6f 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/source_collections_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/source_collections/source_collections_request_builder.py @@ -45,7 +45,7 @@ def by_source_collection_id(self,source_collection_id: str) -> SourceCollectionI async def get(self,request_configuration: Optional[SourceCollectionsRequestBuilderGetRequestConfiguration] = None) -> Optional[SourceCollectionCollectionResponse]: """ - Get the list of sourceCollections from a case object. This API is available in the following national cloud deployments. + Get the list of sourceCollections from a case object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SourceCollectionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-case-list-sourcecollections?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SourceCollectionsRequestBuild async def post(self,body: Optional[SourceCollection] = None, request_configuration: Optional[SourceCollectionsRequestBuilderPostRequestConfiguration] = None) -> Optional[SourceCollection]: """ - Create a new sourceCollection object. This API is available in the following national cloud deployments. + Create a new sourceCollection object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SourceCollection] @@ -92,7 +92,7 @@ async def post(self,body: Optional[SourceCollection] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[SourceCollectionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of sourceCollections from a case object. This API is available in the following national cloud deployments. + Get the list of sourceCollections from a case object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SourceCollec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SourceCollection] = None, request_configuration: Optional[SourceCollectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new sourceCollection object. This API is available in the following national cloud deployments. + Create a new sourceCollection object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[SourceCollection] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SourceCollectionsRequestBuilderGetQueryParameters(): """ - Get the list of sourceCollections from a case object. This API is available in the following national cloud deployments. + Get the list of sourceCollections from a case object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/child_tags/child_tags_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/child_tags/child_tags_request_builder.py index 02e8934c20a..49cf4b4419a 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/child_tags/child_tags_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/child_tags/child_tags_request_builder.py @@ -44,7 +44,7 @@ def by_tag_id1(self,tag_id1: str) -> TagItemRequestBuilder: async def get(self,request_configuration: Optional[ChildTagsRequestBuilderGetRequestConfiguration] = None) -> Optional[TagCollectionResponse]: """ - Get a list of child tag objects associated with a tag. This API is available in the following national cloud deployments. + Get a list of child tag objects associated with a tag. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TagCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-tag-childtags?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ChildTagsRequestBuilderGetReq def to_get_request_information(self,request_configuration: Optional[ChildTagsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of child tag objects associated with a tag. This API is available in the following national cloud deployments. + Get a list of child tag objects associated with a tag. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ChildTagsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ChildTagsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ChildTagsRequestBuilderGetQueryParameters(): """ - Get a list of child tag objects associated with a tag. This API is available in the following national cloud deployments. + Get a list of child tag objects associated with a tag. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/child_tags/item/tag_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/child_tags/item/tag_item_request_builder.py index 0c5973da899..dee34136fe1 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/child_tags/item/tag_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/child_tags/item/tag_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TagItemReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TagItemRequestBuilder: diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/parent/parent_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/parent/parent_request_builder.py index ddfa3d5c91b..ba666e98cc5 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/parent/parent_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/parent/parent_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentRequestBuilder: diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/tag_item_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/tag_item_request_builder.py index c8be6ada1a5..e85c1e0d872 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/tag_item_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/item/tag_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TagItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a tag object. This API is available in the following national cloud deployments. + Delete a tag object. 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/ediscovery-tag-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[TagItemRequestBuilderDelet async def get(self,request_configuration: Optional[TagItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Tag]: """ - Read the properties and relationships of a tag object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tag object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Tag] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-tag-get?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[TagItemRequestBuilderGetReque async def patch(self,body: Optional[Tag] = None, request_configuration: Optional[TagItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Tag]: """ - Update the properties of a tag object. This API is available in the following national cloud deployments. + Update the properties of a tag object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Tag] @@ -97,7 +97,7 @@ async def patch(self,body: Optional[Tag] = None, request_configuration: Optional def to_delete_request_information(self,request_configuration: Optional[TagItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a tag object. This API is available in the following national cloud deployments. + Delete a tag object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[TagItemRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TagItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a tag object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tag object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[TagItemReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Tag] = None, request_configuration: Optional[TagItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a tag object. This API is available in the following national cloud deployments. + Update the properties of a tag object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[Tag] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class TagItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class TagItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a tag object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tag object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/microsoft_graph_ediscovery_as_hierarchy/microsoft_graph_ediscovery_as_hierarchy_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/microsoft_graph_ediscovery_as_hierarchy/microsoft_graph_ediscovery_as_hierarchy_request_builder.py index f029427a3ef..2fb041983ef 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/microsoft_graph_ediscovery_as_hierarchy/microsoft_graph_ediscovery_as_hierarchy_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/microsoft_graph_ediscovery_as_hierarchy/microsoft_graph_ediscovery_as_hierarchy_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphEdiscoveryAsHierarchyRequestBuilder: diff --git a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/tags_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/tags_request_builder.py index 137bf132c4f..25309e854ff 100644 --- a/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/tags_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/cases/item/tags/tags_request_builder.py @@ -46,7 +46,7 @@ def by_tag_id(self,tag_id: str) -> TagItemRequestBuilder: async def get(self,request_configuration: Optional[TagsRequestBuilderGetRequestConfiguration] = None) -> Optional[TagCollectionResponse]: """ - Retrieve a list of tag objects from an eDiscovery case. This API is available in the following national cloud deployments. + Retrieve a list of tag objects from an eDiscovery case. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TagCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/ediscovery-case-list-tags?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[TagsRequestBuilderGetRequestC async def post(self,body: Optional[Tag] = None, request_configuration: Optional[TagsRequestBuilderPostRequestConfiguration] = None) -> Optional[Tag]: """ - Create a new tag for the specified case. The tags are used in review sets while reviewing content. This API is available in the following national cloud deployments. + Create a new tag for the specified case. The tags are used in review sets while reviewing content. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Tag] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Tag] = None, request_configuration: Optional[ def to_get_request_information(self,request_configuration: Optional[TagsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of tag objects from an eDiscovery case. This API is available in the following national cloud deployments. + Retrieve a list of tag objects from an eDiscovery case. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[TagsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Tag] = None, request_configuration: Optional[TagsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new tag for the specified case. The tags are used in review sets while reviewing content. This API is available in the following national cloud deployments. + Create a new tag for the specified case. The tags are used in review sets while reviewing content. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Tag] = None, request_configu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def microsoft_graph_ediscovery_as_hierarchy(self) -> MicrosoftGraphEdiscoveryAsH @dataclass class TagsRequestBuilderGetQueryParameters(): """ - Retrieve a list of tag objects from an eDiscovery case. This API is available in the following national cloud deployments. + Retrieve a list of tag objects from an eDiscovery case. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/compliance/ediscovery/ediscovery_request_builder.py b/msgraph_beta/generated/compliance/ediscovery/ediscovery_request_builder.py index 600f04897e1..72a4a466ac3 100644 --- a/msgraph_beta/generated/compliance/ediscovery/ediscovery_request_builder.py +++ b/msgraph_beta/generated/compliance/ediscovery/ediscovery_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Ediscover request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EdiscoveryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[EdiscoveryRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Ediscoveryroot] = None, request_configuration: Optional[EdiscoveryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Ediscoveryroot] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/connections/connections_request_builder.py b/msgraph_beta/generated/connections/connections_request_builder.py index 7c7b115603f..05139e9f6d4 100644 --- a/msgraph_beta/generated/connections/connections_request_builder.py +++ b/msgraph_beta/generated/connections/connections_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ConnectionsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ExternalConnection] = None, request_configuration: Optional[ConnectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ExternalConnection] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/connections/item/external_connection_item_request_builder.py b/msgraph_beta/generated/connections/item/external_connection_item_request_builder.py index bf15c01cd29..92a94e631ef 100644 --- a/msgraph_beta/generated/connections/item/external_connection_item_request_builder.py +++ b/msgraph_beta/generated/connections/item/external_connection_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[ExternalC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExternalConnectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[ExternalConn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ExternalConnection] = None, request_configuration: Optional[ExternalConnectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[ExternalConnection] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/connections/item/groups/groups_request_builder.py b/msgraph_beta/generated/connections/item/groups/groups_request_builder.py index 84979172c34..fe4c464dc85 100644 --- a/msgraph_beta/generated/connections/item/groups/groups_request_builder.py +++ b/msgraph_beta/generated/connections/item/groups/groups_request_builder.py @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[GroupsRequestBuilderGetReques async def post(self,body: Optional[ExternalGroup] = None, request_configuration: Optional[GroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[ExternalGroup]: """ - Create a new externalGroup object. This API is available in the following national cloud deployments. + Create a new externalGroup object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalGroup] @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[GroupsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ExternalGroup] = None, request_configuration: Optional[GroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new externalGroup object. This API is available in the following national cloud deployments. + Create a new externalGroup object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ExternalGroup] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/connections/item/groups/item/external_group_item_request_builder.py b/msgraph_beta/generated/connections/item/groups/item/external_group_item_request_builder.py index 883ad42fb71..6adf5c2bb4e 100644 --- a/msgraph_beta/generated/connections/item/groups/item/external_group_item_request_builder.py +++ b/msgraph_beta/generated/connections/item/groups/item/external_group_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ExternalGroupItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an externalGroup object. This API is available in the following national cloud deployments. + Delete an externalGroup object. 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/externalconnectors-externalgroup-delete?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[ExternalGroup] = None, request_configuration def to_delete_request_information(self,request_configuration: Optional[ExternalGroupItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an externalGroup object. This API is available in the following national cloud deployments. + Delete an externalGroup object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ExternalG request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExternalGroupItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ExternalGrou request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ExternalGroup] = None, request_configuration: Optional[ExternalGroupItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ExternalGroup] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/connections/item/groups/item/members/item/identity_item_request_builder.py b/msgraph_beta/generated/connections/item/groups/item/members/item/identity_item_request_builder.py index d80050bf7b7..3d17fea3492 100644 --- a/msgraph_beta/generated/connections/item/groups/item/members/item/identity_item_request_builder.py +++ b/msgraph_beta/generated/connections/item/groups/item/members/item/identity_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[IdentityItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an externalGroupMember object. This API is available in the following national cloud deployments. + Delete an externalGroupMember object. 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/externalconnectors-externalgroupmember-delete?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def patch(self,body: Optional[Identity] = None, request_configuration: Opt def to_delete_request_information(self,request_configuration: Optional[IdentityItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an externalGroupMember object. This API is available in the following national cloud deployments. + Delete an externalGroupMember object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[IdentityI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[IdentityItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[IdentityItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Identity] = None, request_configuration: Optional[IdentityItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Identity] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/connections/item/groups/item/members/members_request_builder.py b/msgraph_beta/generated/connections/item/groups/item/members/members_request_builder.py index 14b94cc9a12..9865823af76 100644 --- a/msgraph_beta/generated/connections/item/groups/item/members/members_request_builder.py +++ b/msgraph_beta/generated/connections/item/groups/item/members/members_request_builder.py @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[MembersRequestBuilderGetReque async def post(self,body: Optional[Identity] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> Optional[Identity]: """ - Create a new externalGroupMember object. This API is available in the following national cloud deployments. + Create a new externalGroupMember object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Identity] @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Identity] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new externalGroupMember object. This API is available in the following national cloud deployments. + Create a new externalGroupMember object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Identity] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/connections/item/items/item/activities/activities_request_builder.py b/msgraph_beta/generated/connections/item/items/item/activities/activities_request_builder.py index 5ca54050eef..d555b2515ab 100644 --- a/msgraph_beta/generated/connections/item/items/item/activities/activities_request_builder.py +++ b/msgraph_beta/generated/connections/item/items/item/activities/activities_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivitiesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ExternalActivity] = None, request_configuration: Optional[ActivitiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ExternalActivity] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/connections/item/items/item/activities/item/external_activity_item_request_builder.py b/msgraph_beta/generated/connections/item/items/item/activities/item/external_activity_item_request_builder.py index 2e9cf362530..5221e71d1fe 100644 --- a/msgraph_beta/generated/connections/item/items/item/activities/item/external_activity_item_request_builder.py +++ b/msgraph_beta/generated/connections/item/items/item/activities/item/external_activity_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ExternalA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExternalActivityItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExternalActi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ExternalActivity] = None, request_configuration: Optional[ExternalActivityItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ExternalActivity] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/connections/item/items/item/activities/item/performed_by/performed_by_request_builder.py b/msgraph_beta/generated/connections/item/items/item/activities/item/performed_by/performed_by_request_builder.py index bd4ed8b60cb..b32d3719896 100644 --- a/msgraph_beta/generated/connections/item/items/item/activities/item/performed_by/performed_by_request_builder.py +++ b/msgraph_beta/generated/connections/item/items/item/activities/item/performed_by/performed_by_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PerformedByR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PerformedByRequestBuilder: diff --git a/msgraph_beta/generated/connections/item/items/item/external_item_item_request_builder.py b/msgraph_beta/generated/connections/item/items/item/external_item_item_request_builder.py index 3ce6c637caa..c5e9e4c07aa 100644 --- a/msgraph_beta/generated/connections/item/items/item/external_item_item_request_builder.py +++ b/msgraph_beta/generated/connections/item/items/item/external_item_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ExternalItemItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an externalitem. This API is available in the following national cloud deployments. + Delete an externalitem. 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/externalconnectors-externalitem-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[ExternalItemItemRequestBui async def get(self,request_configuration: Optional[ExternalItemItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ExternalItem]: """ - Get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. This API is available in the following national cloud deployments. + Get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalItem] Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalitem-get?view=graph-rest-1.0 @@ -96,7 +96,7 @@ async def put(self,body: Optional[ExternalItem] = None, request_configuration: O def to_delete_request_information(self,request_configuration: Optional[ExternalItemItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an externalitem. This API is available in the following national cloud deployments. + Delete an externalitem. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[ExternalI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExternalItemItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. This API is available in the following national cloud deployments. + Get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[ExternalItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_put_request_information(self,body: Optional[ExternalItem] = None, request_configuration: Optional[ExternalItemItemRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_put_request_information(self,body: Optional[ExternalItem] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ class ExternalItemItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class ExternalItemItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. This API is available in the following national cloud deployments. + Get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/connections/item/items/item/microsoft_graph_external_connectors_add_activities/microsoft_graph_external_connectors_add_activities_request_builder.py b/msgraph_beta/generated/connections/item/items/item/microsoft_graph_external_connectors_add_activities/microsoft_graph_external_connectors_add_activities_request_builder.py index 863ac614f51..460256ce2bb 100644 --- a/msgraph_beta/generated/connections/item/items/item/microsoft_graph_external_connectors_add_activities/microsoft_graph_external_connectors_add_activities_request_builder.py +++ b/msgraph_beta/generated/connections/item/items/item/microsoft_graph_external_connectors_add_activities/microsoft_graph_external_connectors_add_activities_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AddActivitiesPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/connections/item/items/items_request_builder.py b/msgraph_beta/generated/connections/item/items/items_request_builder.py index 12fee0a9f7b..863db9988e6 100644 --- a/msgraph_beta/generated/connections/item/items/items_request_builder.py +++ b/msgraph_beta/generated/connections/item/items/items_request_builder.py @@ -45,7 +45,7 @@ def by_external_item_id(self,external_item_id: str) -> ExternalItemItemRequestBu async def get(self,request_configuration: Optional[ItemsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExternalItemCollectionResponse]: """ - Get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. This API is available in the following national cloud deployments. + Get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalItemCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[ExternalItem] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[ItemsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. This API is available in the following national cloud deployments. + Get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ExternalItem] = None, request_configuration: Optional[ItemsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ExternalItem] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ItemsRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. This API is available in the following national cloud deployments. + Get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/connections/item/operations/item/connection_operation_item_request_builder.py b/msgraph_beta/generated/connections/item/operations/item/connection_operation_item_request_builder.py index 07636202504..e104ca4b3ce 100644 --- a/msgraph_beta/generated/connections/item/operations/item/connection_operation_item_request_builder.py +++ b/msgraph_beta/generated/connections/item/operations/item/connection_operation_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Connectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConnectionOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ConnectionOp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConnectionOperation] = None, request_configuration: Optional[ConnectionOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ConnectionOperation] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/connections/item/operations/operations_request_builder.py b/msgraph_beta/generated/connections/item/operations/operations_request_builder.py index 575f12870b2..fb1c856a27a 100644 --- a/msgraph_beta/generated/connections/item/operations/operations_request_builder.py +++ b/msgraph_beta/generated/connections/item/operations/operations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ConnectionOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ConnectionOperation] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/connections/item/quota/quota_request_builder.py b/msgraph_beta/generated/connections/item/quota/quota_request_builder.py index 8a4fc9fe5a7..35bcea22472 100644 --- a/msgraph_beta/generated/connections/item/quota/quota_request_builder.py +++ b/msgraph_beta/generated/connections/item/quota/quota_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[QuotaRequestBuilderDeleteR async def get(self,request_configuration: Optional[QuotaRequestBuilderGetRequestConfiguration] = None) -> Optional[ConnectionQuota]: """ - Retrieve the properties and relationships of a connectionQuota object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a connectionQuota object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConnectionQuota] Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-connectionquota-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[QuotaRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[QuotaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a connectionQuota object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a connectionQuota object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[QuotaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConnectionQuota] = None, request_configuration: Optional[QuotaRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ConnectionQuota] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class QuotaRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class QuotaRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a connectionQuota object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a connectionQuota object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/connections/item/schema/schema_request_builder.py b/msgraph_beta/generated/connections/item/schema/schema_request_builder.py index dd330391afb..d0a3d206db4 100644 --- a/msgraph_beta/generated/connections/item/schema/schema_request_builder.py +++ b/msgraph_beta/generated/connections/item/schema/schema_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[SchemaRequestBuilderGetRequestConfiguration] = None) -> Optional[Schema]: """ - Retrieve the properties of a schema for an externalConnection. This API is available in the following national cloud deployments. + Retrieve the properties of a schema for an externalConnection. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Schema] Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-schema-get?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[SchemaRequestBuilderGetReques async def patch(self,body: Optional[Schema] = None, request_configuration: Optional[SchemaRequestBuilderPatchRequestConfiguration] = None) -> Optional[Schema]: """ - Create the schema for a Microsoft Search connection. This API is available in the following national cloud deployments. + Create the schema for a Microsoft Search connection. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Schema] @@ -75,7 +75,7 @@ async def patch(self,body: Optional[Schema] = None, request_configuration: Optio def to_get_request_information(self,request_configuration: Optional[SchemaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of a schema for an externalConnection. This API is available in the following national cloud deployments. + Retrieve the properties of a schema for an externalConnection. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -87,12 +87,12 @@ def to_get_request_information(self,request_configuration: Optional[SchemaReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Schema] = None, request_configuration: Optional[SchemaRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Create the schema for a Microsoft Search connection. This API is available in the following national cloud deployments. + Create the schema for a Microsoft Search connection. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -106,7 +106,7 @@ def to_patch_request_information(self,body: Optional[Schema] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -123,7 +123,7 @@ def with_url(self,raw_url: Optional[str] = None) -> SchemaRequestBuilder: @dataclass class SchemaRequestBuilderGetQueryParameters(): """ - Retrieve the properties of a schema for an externalConnection. This API is available in the following national cloud deployments. + Retrieve the properties of a schema for an externalConnection. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/contacts/contacts_request_builder.py b/msgraph_beta/generated/contacts/contacts_request_builder.py index 90b67ca6ae1..002e8c06799 100644 --- a/msgraph_beta/generated/contacts/contacts_request_builder.py +++ b/msgraph_beta/generated/contacts/contacts_request_builder.py @@ -49,7 +49,7 @@ def by_org_contact_id(self,org_contact_id: str) -> OrgContactItemRequestBuilder: async def get(self,request_configuration: Optional[ContactsRequestBuilderGetRequestConfiguration] = None) -> Optional[OrgContactCollectionResponse]: """ - Get the list of organizational contacts for this organization. This API is available in the following national cloud deployments. + Get the list of organizational contacts for this organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OrgContactCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/orgcontact-list?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def post(self,body: Optional[OrgContact] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[ContactsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of organizational contacts for this organization. This API is available in the following national cloud deployments. + Get the list of organizational contacts for this organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,7 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[ContactsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OrgContact] = None, request_configuration: Optional[ContactsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_post_request_information(self,body: Optional[OrgContact] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ def validate_properties(self) -> ValidatePropertiesRequestBuilder: @dataclass class ContactsRequestBuilderGetQueryParameters(): """ - Get the list of organizational contacts for this organization. This API is available in the following national cloud deployments. + Get the list of organizational contacts for this organization. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/contacts/delta/delta_request_builder.py b/msgraph_beta/generated/contacts/delta/delta_request_builder.py index 2f248ff0f61..00e4f8f4424 100644 --- a/msgraph_beta/generated/contacts/delta/delta_request_builder.py +++ b/msgraph_beta/generated/contacts/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/contacts/get_by_ids/get_by_ids_request_builder.py b/msgraph_beta/generated/contacts/get_by_ids/get_by_ids_request_builder.py index 87312c2e13f..bf2edfd5f04 100644 --- a/msgraph_beta/generated/contacts/get_by_ids/get_by_ids_request_builder.py +++ b/msgraph_beta/generated/contacts/get_by_ids/get_by_ids_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetByIdsPostResponse]: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetByIdsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/contacts/get_user_owned_objects/get_user_owned_objects_request_builder.py b/msgraph_beta/generated/contacts/get_user_owned_objects/get_user_owned_objects_request_builder.py index 15fdddd98e9..d029ec1e4bf 100644 --- a/msgraph_beta/generated/contacts/get_user_owned_objects/get_user_owned_objects_request_builder.py +++ b/msgraph_beta/generated/contacts/get_user_owned_objects/get_user_owned_objects_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, request_configuration: Optional[GetUserOwnedObjectsRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. This API is available in the following national cloud deployments. + Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, r def to_post_request_information(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, request_configuration: Optional[GetUserOwnedObjectsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. This API is available in the following national cloud deployments. + Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetUserOwnedObjectsPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/contacts/item/check_member_groups/check_member_groups_request_builder.py b/msgraph_beta/generated/contacts/item/check_member_groups/check_member_groups_request_builder.py index 0ec934c7b98..1ca08b030fe 100644 --- a/msgraph_beta/generated/contacts/item/check_member_groups/check_member_groups_request_builder.py +++ b/msgraph_beta/generated/contacts/item/check_member_groups/check_member_groups_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[CheckMemberGroupsPostResponse]: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, req def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/contacts/item/check_member_objects/check_member_objects_request_builder.py b/msgraph_beta/generated/contacts/item/check_member_objects/check_member_objects_request_builder.py index 281fa85ad32..0d976184e80 100644 --- a/msgraph_beta/generated/contacts/item/check_member_objects/check_member_objects_request_builder.py +++ b/msgraph_beta/generated/contacts/item/check_member_objects/check_member_objects_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CheckMemberObjectsPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/contacts/item/direct_reports/direct_reports_request_builder.py b/msgraph_beta/generated/contacts/item/direct_reports/direct_reports_request_builder.py index ac42b2f5e96..772fd19c79b 100644 --- a/msgraph_beta/generated/contacts/item/direct_reports/direct_reports_request_builder.py +++ b/msgraph_beta/generated/contacts/item/direct_reports/direct_reports_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectReport request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectReportsRequestBuilder: diff --git a/msgraph_beta/generated/contacts/item/direct_reports/graph_org_contact/graph_org_contact_request_builder.py b/msgraph_beta/generated/contacts/item/direct_reports/graph_org_contact/graph_org_contact_request_builder.py index b8b60bf3563..4000f2468ed 100644 --- a/msgraph_beta/generated/contacts/item/direct_reports/graph_org_contact/graph_org_contact_request_builder.py +++ b/msgraph_beta/generated/contacts/item/direct_reports/graph_org_contact/graph_org_contact_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphOrgCont request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphOrgContactRequestBuilder: diff --git a/msgraph_beta/generated/contacts/item/direct_reports/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/contacts/item/direct_reports/graph_user/graph_user_request_builder.py index f20f1411fcd..2eaf2f5eb22 100644 --- a/msgraph_beta/generated/contacts/item/direct_reports/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/contacts/item/direct_reports/graph_user/graph_user_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/contacts/item/direct_reports/item/directory_object_item_request_builder.py b/msgraph_beta/generated/contacts/item/direct_reports/item/directory_object_item_request_builder.py index 272580be693..68ce71d49a9 100644 --- a/msgraph_beta/generated/contacts/item/direct_reports/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/contacts/item/direct_reports/item/directory_object_item_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: diff --git a/msgraph_beta/generated/contacts/item/direct_reports/item/graph_org_contact/graph_org_contact_request_builder.py b/msgraph_beta/generated/contacts/item/direct_reports/item/graph_org_contact/graph_org_contact_request_builder.py index 31adc764b09..e0ec12fe846 100644 --- a/msgraph_beta/generated/contacts/item/direct_reports/item/graph_org_contact/graph_org_contact_request_builder.py +++ b/msgraph_beta/generated/contacts/item/direct_reports/item/graph_org_contact/graph_org_contact_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphOrgCont request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphOrgContactRequestBuilder: diff --git a/msgraph_beta/generated/contacts/item/direct_reports/item/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/contacts/item/direct_reports/item/graph_user/graph_user_request_builder.py index d6a0fe8432b..06292850166 100644 --- a/msgraph_beta/generated/contacts/item/direct_reports/item/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/contacts/item/direct_reports/item/graph_user/graph_user_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/contacts/item/get_member_groups/get_member_groups_request_builder.py b/msgraph_beta/generated/contacts/item/get_member_groups/get_member_groups_request_builder.py index f6a9d3e0715..545edf81589 100644 --- a/msgraph_beta/generated/contacts/item/get_member_groups/get_member_groups_request_builder.py +++ b/msgraph_beta/generated/contacts/item/get_member_groups/get_member_groups_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetMemberGroupsPostResponse]: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/contacts/item/get_member_objects/get_member_objects_request_builder.py b/msgraph_beta/generated/contacts/item/get_member_objects/get_member_objects_request_builder.py index 6241cbe23f0..b2db8ea18e6 100644 --- a/msgraph_beta/generated/contacts/item/get_member_objects/get_member_objects_request_builder.py +++ b/msgraph_beta/generated/contacts/item/get_member_objects/get_member_objects_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GetMemberObjectsPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/contacts/item/manager/manager_request_builder.py b/msgraph_beta/generated/contacts/item/manager/manager_request_builder.py index 5c165957c71..4cbfc25c31b 100644 --- a/msgraph_beta/generated/contacts/item/manager/manager_request_builder.py +++ b/msgraph_beta/generated/contacts/item/manager/manager_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ManagerRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Get the contact's manager This API is available in the following national cloud deployments. + Get the contact's manager param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/orgcontact-get-manager?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ManagerRequestBuilderGetReque def to_get_request_information(self,request_configuration: Optional[ManagerRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the contact's manager This API is available in the following national cloud deployments. + Get the contact's manager param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagerReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagerRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ManagerRequestBuilder: @dataclass class ManagerRequestBuilderGetQueryParameters(): """ - Get the contact's manager This API is available in the following national cloud deployments. + Get the contact's manager """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/contacts/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py b/msgraph_beta/generated/contacts/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py index 3b7979927b2..b1f687e20a7 100644 --- a/msgraph_beta/generated/contacts/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py +++ b/msgraph_beta/generated/contacts/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAdminis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAdministrativeUnitRequestBuilder: diff --git a/msgraph_beta/generated/contacts/item/member_of/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/contacts/item/member_of/graph_group/graph_group_request_builder.py index b176d2534b0..a37ed587231 100644 --- a/msgraph_beta/generated/contacts/item/member_of/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/contacts/item/member_of/graph_group/graph_group_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/contacts/item/member_of/item/directory_object_item_request_builder.py b/msgraph_beta/generated/contacts/item/member_of/item/directory_object_item_request_builder.py index 42d8b6744c6..19229723410 100644 --- a/msgraph_beta/generated/contacts/item/member_of/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/contacts/item/member_of/item/directory_object_item_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: diff --git a/msgraph_beta/generated/contacts/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py b/msgraph_beta/generated/contacts/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py index 59d2c943fc4..8967aa1b6ad 100644 --- a/msgraph_beta/generated/contacts/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py +++ b/msgraph_beta/generated/contacts/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAdminis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAdministrativeUnitRequestBuilder: diff --git a/msgraph_beta/generated/contacts/item/member_of/item/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/contacts/item/member_of/item/graph_group/graph_group_request_builder.py index 9f259ce1e92..ba886f353ce 100644 --- a/msgraph_beta/generated/contacts/item/member_of/item/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/contacts/item/member_of/item/graph_group/graph_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/contacts/item/member_of/member_of_request_builder.py b/msgraph_beta/generated/contacts/item/member_of/member_of_request_builder.py index f5d3eaba60d..10aac24f8ac 100644 --- a/msgraph_beta/generated/contacts/item/member_of/member_of_request_builder.py +++ b/msgraph_beta/generated/contacts/item/member_of/member_of_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[MemberOfRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MemberOfRequestBuilder: diff --git a/msgraph_beta/generated/contacts/item/org_contact_item_request_builder.py b/msgraph_beta/generated/contacts/item/org_contact_item_request_builder.py index d2caabacc29..0e899ac1576 100644 --- a/msgraph_beta/generated/contacts/item/org_contact_item_request_builder.py +++ b/msgraph_beta/generated/contacts/item/org_contact_item_request_builder.py @@ -59,7 +59,7 @@ async def delete(self,request_configuration: Optional[OrgContactItemRequestBuild async def get(self,request_configuration: Optional[OrgContactItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OrgContact]: """ - Get the properties and relationships of an organizational contact object. This API is available in the following national cloud deployments. + Get the properties and relationships of an organizational contact object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OrgContact] Find more info here: https://learn.microsoft.com/graph/api/orgcontact-get?view=graph-rest-1.0 @@ -116,12 +116,12 @@ def to_delete_request_information(self,request_configuration: Optional[OrgContac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OrgContactItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of an organizational contact object. This API is available in the following national cloud deployments. + Get the properties and relationships of an organizational contact object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -133,7 +133,7 @@ def to_get_request_information(self,request_configuration: Optional[OrgContactIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OrgContact] = None, request_configuration: Optional[OrgContactItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -152,7 +152,7 @@ def to_patch_request_information(self,body: Optional[OrgContact] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -287,7 +287,7 @@ class OrgContactItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class OrgContactItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of an organizational contact object. This API is available in the following national cloud deployments. + Get the properties and relationships of an organizational contact object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/contacts/item/restore/restore_request_builder.py b/msgraph_beta/generated/contacts/item/restore/restore_request_builder.py index c3783cb28c5..be41e0749e2 100644 --- a/msgraph_beta/generated/contacts/item/restore/restore_request_builder.py +++ b/msgraph_beta/generated/contacts/item/restore/restore_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RestoreRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[RestoreRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RestoreRequestBuilder: diff --git a/msgraph_beta/generated/contacts/item/retry_service_provisioning/retry_service_provisioning_request_builder.py b/msgraph_beta/generated/contacts/item/retry_service_provisioning/retry_service_provisioning_request_builder.py index 36da8482d64..0b623f24efc 100644 --- a/msgraph_beta/generated/contacts/item/retry_service_provisioning/retry_service_provisioning_request_builder.py +++ b/msgraph_beta/generated/contacts/item/retry_service_provisioning/retry_service_provisioning_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RetryServiceProvisioningRequestBuilderPostRequestConfiguration] = None) -> None: """ - Retry the orgContact service provisioning. This API is available in the following national cloud deployments. + Retry the orgContact service provisioning. 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/orgcontact-retryserviceprovisioning?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RetryServiceProvisioningRequ def to_post_request_information(self,request_configuration: Optional[RetryServiceProvisioningRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Retry the orgContact service provisioning. This API is available in the following national cloud deployments. + Retry the orgContact service provisioning. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RetryServic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RetryServiceProvisioningRequestBuilder: diff --git a/msgraph_beta/generated/contacts/item/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/contacts/item/service_provisioning_errors/service_provisioning_errors_request_builder.py index 150b8a148a9..7d0665f451a 100644 --- a/msgraph_beta/generated/contacts/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/contacts/item/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: diff --git a/msgraph_beta/generated/contacts/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py b/msgraph_beta/generated/contacts/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py index f5fdbed51c9..d3f2f09ecfe 100644 --- a/msgraph_beta/generated/contacts/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py +++ b/msgraph_beta/generated/contacts/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAdminis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAdministrativeUnitRequestBuilder: diff --git a/msgraph_beta/generated/contacts/item/transitive_member_of/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/contacts/item/transitive_member_of/graph_group/graph_group_request_builder.py index 9d61b4bcb01..c772f3579f4 100644 --- a/msgraph_beta/generated/contacts/item/transitive_member_of/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/contacts/item/transitive_member_of/graph_group/graph_group_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/contacts/item/transitive_member_of/item/directory_object_item_request_builder.py b/msgraph_beta/generated/contacts/item/transitive_member_of/item/directory_object_item_request_builder.py index 540b9eec041..3efa41f4841 100644 --- a/msgraph_beta/generated/contacts/item/transitive_member_of/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/contacts/item/transitive_member_of/item/directory_object_item_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: diff --git a/msgraph_beta/generated/contacts/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py b/msgraph_beta/generated/contacts/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py index b4a21bd4781..e5fb4fd3320 100644 --- a/msgraph_beta/generated/contacts/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py +++ b/msgraph_beta/generated/contacts/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAdminis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAdministrativeUnitRequestBuilder: diff --git a/msgraph_beta/generated/contacts/item/transitive_member_of/item/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/contacts/item/transitive_member_of/item/graph_group/graph_group_request_builder.py index 404f41ff120..8cc9ee3d12f 100644 --- a/msgraph_beta/generated/contacts/item/transitive_member_of/item/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/contacts/item/transitive_member_of/item/graph_group/graph_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/contacts/item/transitive_member_of/transitive_member_of_request_builder.py b/msgraph_beta/generated/contacts/item/transitive_member_of/transitive_member_of_request_builder.py index 6b963a49a69..a07e76d9ef3 100644 --- a/msgraph_beta/generated/contacts/item/transitive_member_of/transitive_member_of_request_builder.py +++ b/msgraph_beta/generated/contacts/item/transitive_member_of/transitive_member_of_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[TransitiveMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TransitiveMemberOfRequestBuilder: diff --git a/msgraph_beta/generated/contacts/item/transitive_reports/item/directory_object_item_request_builder.py b/msgraph_beta/generated/contacts/item/transitive_reports/item/directory_object_item_request_builder.py index 3ce7ed5a7a0..26e951dea8a 100644 --- a/msgraph_beta/generated/contacts/item/transitive_reports/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/contacts/item/transitive_reports/item/directory_object_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: diff --git a/msgraph_beta/generated/contacts/item/transitive_reports/transitive_reports_request_builder.py b/msgraph_beta/generated/contacts/item/transitive_reports/transitive_reports_request_builder.py index 0437d287515..f70fdea7124 100644 --- a/msgraph_beta/generated/contacts/item/transitive_reports/transitive_reports_request_builder.py +++ b/msgraph_beta/generated/contacts/item/transitive_reports/transitive_reports_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[TransitiveRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TransitiveReportsRequestBuilder: diff --git a/msgraph_beta/generated/contacts/validate_properties/validate_properties_request_builder.py b/msgraph_beta/generated/contacts/validate_properties/validate_properties_request_builder.py index 37ec4e87304..b6c7567070d 100644 --- a/msgraph_beta/generated/contacts/validate_properties/validate_properties_request_builder.py +++ b/msgraph_beta/generated/contacts/validate_properties/validate_properties_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> None: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, re def to_post_request_information(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ValidatePropertiesPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/contracts/contracts_request_builder.py b/msgraph_beta/generated/contracts/contracts_request_builder.py index 9bf43c4a777..452bfa54900 100644 --- a/msgraph_beta/generated/contracts/contracts_request_builder.py +++ b/msgraph_beta/generated/contracts/contracts_request_builder.py @@ -49,7 +49,7 @@ def by_contract_id(self,contract_id: str) -> ContractItemRequestBuilder: async def get(self,request_configuration: Optional[ContractsRequestBuilderGetRequestConfiguration] = None) -> Optional[ContractCollectionResponse]: """ - Retrieve a list of contract objects associated to a partner tenant. This API is available in the following national cloud deployments. + Retrieve a list of contract objects associated to a partner tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContractCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/contract-list?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def post(self,body: Optional[Contract] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[ContractsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of contract objects associated to a partner tenant. This API is available in the following national cloud deployments. + Retrieve a list of contract objects associated to a partner tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,7 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[ContractsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Contract] = None, request_configuration: Optional[ContractsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_post_request_information(self,body: Optional[Contract] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ def validate_properties(self) -> ValidatePropertiesRequestBuilder: @dataclass class ContractsRequestBuilderGetQueryParameters(): """ - Retrieve a list of contract objects associated to a partner tenant. This API is available in the following national cloud deployments. + Retrieve a list of contract objects associated to a partner tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/contracts/delta/delta_request_builder.py b/msgraph_beta/generated/contracts/delta/delta_request_builder.py index 7124ef73915..e1d00b99f09 100644 --- a/msgraph_beta/generated/contracts/delta/delta_request_builder.py +++ b/msgraph_beta/generated/contracts/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/contracts/get_by_ids/get_by_ids_request_builder.py b/msgraph_beta/generated/contracts/get_by_ids/get_by_ids_request_builder.py index 84a1a62da8d..3146eeae057 100644 --- a/msgraph_beta/generated/contracts/get_by_ids/get_by_ids_request_builder.py +++ b/msgraph_beta/generated/contracts/get_by_ids/get_by_ids_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetByIdsPostResponse]: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetByIdsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/contracts/get_user_owned_objects/get_user_owned_objects_request_builder.py b/msgraph_beta/generated/contracts/get_user_owned_objects/get_user_owned_objects_request_builder.py index af23a7c6006..ca14c912f07 100644 --- a/msgraph_beta/generated/contracts/get_user_owned_objects/get_user_owned_objects_request_builder.py +++ b/msgraph_beta/generated/contracts/get_user_owned_objects/get_user_owned_objects_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, request_configuration: Optional[GetUserOwnedObjectsRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. This API is available in the following national cloud deployments. + Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, r def to_post_request_information(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, request_configuration: Optional[GetUserOwnedObjectsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. This API is available in the following national cloud deployments. + Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetUserOwnedObjectsPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/contracts/item/check_member_groups/check_member_groups_request_builder.py b/msgraph_beta/generated/contracts/item/check_member_groups/check_member_groups_request_builder.py index a4b6b831b61..cedb957117d 100644 --- a/msgraph_beta/generated/contracts/item/check_member_groups/check_member_groups_request_builder.py +++ b/msgraph_beta/generated/contracts/item/check_member_groups/check_member_groups_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[CheckMemberGroupsPostResponse]: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, req def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/contracts/item/check_member_objects/check_member_objects_request_builder.py b/msgraph_beta/generated/contracts/item/check_member_objects/check_member_objects_request_builder.py index c6c6f73344c..f117e41d44e 100644 --- a/msgraph_beta/generated/contracts/item/check_member_objects/check_member_objects_request_builder.py +++ b/msgraph_beta/generated/contracts/item/check_member_objects/check_member_objects_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CheckMemberObjectsPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/contracts/item/contract_item_request_builder.py b/msgraph_beta/generated/contracts/item/contract_item_request_builder.py index f8b7c443fca..2416769dd76 100644 --- a/msgraph_beta/generated/contracts/item/contract_item_request_builder.py +++ b/msgraph_beta/generated/contracts/item/contract_item_request_builder.py @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[ContractItemRequestBuilder async def get(self,request_configuration: Optional[ContractItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Contract]: """ - Retrieve the properties and relationships of contract object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of contract object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Contract] Find more info here: https://learn.microsoft.com/graph/api/contract-get?view=graph-rest-1.0 @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[ContractI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ContractItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of contract object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of contract object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[ContractItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Contract] = None, request_configuration: Optional[ContractItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[Contract] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -217,7 +217,7 @@ class ContractItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class ContractItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of contract object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of contract object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/contracts/item/get_member_groups/get_member_groups_request_builder.py b/msgraph_beta/generated/contracts/item/get_member_groups/get_member_groups_request_builder.py index 6ac9d5b4191..b67af76f806 100644 --- a/msgraph_beta/generated/contracts/item/get_member_groups/get_member_groups_request_builder.py +++ b/msgraph_beta/generated/contracts/item/get_member_groups/get_member_groups_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetMemberGroupsPostResponse]: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/contracts/item/get_member_objects/get_member_objects_request_builder.py b/msgraph_beta/generated/contracts/item/get_member_objects/get_member_objects_request_builder.py index 687814d5904..c88d6d0bbdd 100644 --- a/msgraph_beta/generated/contracts/item/get_member_objects/get_member_objects_request_builder.py +++ b/msgraph_beta/generated/contracts/item/get_member_objects/get_member_objects_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GetMemberObjectsPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/contracts/item/restore/restore_request_builder.py b/msgraph_beta/generated/contracts/item/restore/restore_request_builder.py index c917467a91b..2646d979a79 100644 --- a/msgraph_beta/generated/contracts/item/restore/restore_request_builder.py +++ b/msgraph_beta/generated/contracts/item/restore/restore_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RestoreRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[RestoreRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RestoreRequestBuilder: diff --git a/msgraph_beta/generated/contracts/validate_properties/validate_properties_request_builder.py b/msgraph_beta/generated/contracts/validate_properties/validate_properties_request_builder.py index f52b0ed21cf..e2231e5b01b 100644 --- a/msgraph_beta/generated/contracts/validate_properties/validate_properties_request_builder.py +++ b/msgraph_beta/generated/contracts/validate_properties/validate_properties_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> None: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, re def to_post_request_information(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ValidatePropertiesPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_classification/classify_exact_matches/classify_exact_matches_request_builder.py b/msgraph_beta/generated/data_classification/classify_exact_matches/classify_exact_matches_request_builder.py index cc85b38ed46..3d27d0a0f1e 100644 --- a/msgraph_beta/generated/data_classification/classify_exact_matches/classify_exact_matches_request_builder.py +++ b/msgraph_beta/generated/data_classification/classify_exact_matches/classify_exact_matches_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ClassifyExactMatchesPostRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_classification/classify_file/classify_file_request_builder.py b/msgraph_beta/generated/data_classification/classify_file/classify_file_request_builder.py index 86c2d6cb4d1..36e46e5014a 100644 --- a/msgraph_beta/generated/data_classification/classify_file/classify_file_request_builder.py +++ b/msgraph_beta/generated/data_classification/classify_file/classify_file_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ClassifyFilePostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_classification/classify_file_jobs/classify_file_jobs_request_builder.py b/msgraph_beta/generated/data_classification/classify_file_jobs/classify_file_jobs_request_builder.py index 5f70b789285..0594a094f37 100644 --- a/msgraph_beta/generated/data_classification/classify_file_jobs/classify_file_jobs_request_builder.py +++ b/msgraph_beta/generated/data_classification/classify_file_jobs/classify_file_jobs_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ClassifyFile request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[JobResponseBase] = None, request_configuration: Optional[ClassifyFileJobsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[JobResponseBase] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_classification/classify_file_jobs/item/job_response_base_item_request_builder.py b/msgraph_beta/generated/data_classification/classify_file_jobs/item/job_response_base_item_request_builder.py index eafa202f4f6..88cd51f06fe 100644 --- a/msgraph_beta/generated/data_classification/classify_file_jobs/item/job_response_base_item_request_builder.py +++ b/msgraph_beta/generated/data_classification/classify_file_jobs/item/job_response_base_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[JobRespon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[JobResponseBaseItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[JobResponseB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[JobResponseBase] = None, request_configuration: Optional[JobResponseBaseItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[JobResponseBase] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_classification/classify_text_jobs/classify_text_jobs_request_builder.py b/msgraph_beta/generated/data_classification/classify_text_jobs/classify_text_jobs_request_builder.py index 436cb559386..777710e91e5 100644 --- a/msgraph_beta/generated/data_classification/classify_text_jobs/classify_text_jobs_request_builder.py +++ b/msgraph_beta/generated/data_classification/classify_text_jobs/classify_text_jobs_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ClassifyText request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[JobResponseBase] = None, request_configuration: Optional[ClassifyTextJobsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[JobResponseBase] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_classification/classify_text_jobs/item/job_response_base_item_request_builder.py b/msgraph_beta/generated/data_classification/classify_text_jobs/item/job_response_base_item_request_builder.py index 8bd74801c36..729db9a3d33 100644 --- a/msgraph_beta/generated/data_classification/classify_text_jobs/item/job_response_base_item_request_builder.py +++ b/msgraph_beta/generated/data_classification/classify_text_jobs/item/job_response_base_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[JobRespon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[JobResponseBaseItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[JobResponseB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[JobResponseBase] = None, request_configuration: Optional[JobResponseBaseItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[JobResponseBase] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_classification/data_classification_request_builder.py b/msgraph_beta/generated/data_classification/data_classification_request_builder.py index 4897cf3f4ec..e7a51545964 100644 --- a/msgraph_beta/generated/data_classification/data_classification_request_builder.py +++ b/msgraph_beta/generated/data_classification/data_classification_request_builder.py @@ -96,7 +96,7 @@ def to_get_request_information(self,request_configuration: Optional[DataClassifi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DataClassificationService] = None, request_configuration: Optional[DataClassificationRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -115,7 +115,7 @@ def to_patch_request_information(self,body: Optional[DataClassificationService] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_classification/evaluate_dlp_policies_jobs/evaluate_dlp_policies_jobs_request_builder.py b/msgraph_beta/generated/data_classification/evaluate_dlp_policies_jobs/evaluate_dlp_policies_jobs_request_builder.py index 5620d000317..27c0dca8a6b 100644 --- a/msgraph_beta/generated/data_classification/evaluate_dlp_policies_jobs/evaluate_dlp_policies_jobs_request_builder.py +++ b/msgraph_beta/generated/data_classification/evaluate_dlp_policies_jobs/evaluate_dlp_policies_jobs_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[EvaluateDlpP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[JobResponseBase] = None, request_configuration: Optional[EvaluateDlpPoliciesJobsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[JobResponseBase] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_classification/evaluate_dlp_policies_jobs/item/job_response_base_item_request_builder.py b/msgraph_beta/generated/data_classification/evaluate_dlp_policies_jobs/item/job_response_base_item_request_builder.py index 0760013813d..89f951d5966 100644 --- a/msgraph_beta/generated/data_classification/evaluate_dlp_policies_jobs/item/job_response_base_item_request_builder.py +++ b/msgraph_beta/generated/data_classification/evaluate_dlp_policies_jobs/item/job_response_base_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[JobRespon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[JobResponseBaseItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[JobResponseB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[JobResponseBase] = None, request_configuration: Optional[JobResponseBaseItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[JobResponseBase] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_classification/evaluate_label_jobs/evaluate_label_jobs_request_builder.py b/msgraph_beta/generated/data_classification/evaluate_label_jobs/evaluate_label_jobs_request_builder.py index 2c9b8f08a4e..57251d349a0 100644 --- a/msgraph_beta/generated/data_classification/evaluate_label_jobs/evaluate_label_jobs_request_builder.py +++ b/msgraph_beta/generated/data_classification/evaluate_label_jobs/evaluate_label_jobs_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[EvaluateLabe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[JobResponseBase] = None, request_configuration: Optional[EvaluateLabelJobsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[JobResponseBase] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_classification/evaluate_label_jobs/item/job_response_base_item_request_builder.py b/msgraph_beta/generated/data_classification/evaluate_label_jobs/item/job_response_base_item_request_builder.py index 72a6975b160..d4c29dcee6c 100644 --- a/msgraph_beta/generated/data_classification/evaluate_label_jobs/item/job_response_base_item_request_builder.py +++ b/msgraph_beta/generated/data_classification/evaluate_label_jobs/item/job_response_base_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[JobRespon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[JobResponseBaseItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[JobResponseB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[JobResponseBase] = None, request_configuration: Optional[JobResponseBaseItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[JobResponseBase] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_classification/exact_match_data_stores/exact_match_data_stores_request_builder.py b/msgraph_beta/generated/data_classification/exact_match_data_stores/exact_match_data_stores_request_builder.py index b22e687a8da..e1c0f74abcf 100644 --- a/msgraph_beta/generated/data_classification/exact_match_data_stores/exact_match_data_stores_request_builder.py +++ b/msgraph_beta/generated/data_classification/exact_match_data_stores/exact_match_data_stores_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ExactMatchDa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ExactMatchDataStore] = None, request_configuration: Optional[ExactMatchDataStoresRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ExactMatchDataStore] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_classification/exact_match_data_stores/item/exact_match_data_store_item_request_builder.py b/msgraph_beta/generated/data_classification/exact_match_data_stores/item/exact_match_data_store_item_request_builder.py index 4fe5d847f2f..ed5b07b8377 100644 --- a/msgraph_beta/generated/data_classification/exact_match_data_stores/item/exact_match_data_store_item_request_builder.py +++ b/msgraph_beta/generated/data_classification/exact_match_data_stores/item/exact_match_data_store_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ExactMatc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExactMatchDataStoreItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ExactMatchDa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ExactMatchDataStore] = None, request_configuration: Optional[ExactMatchDataStoreItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ExactMatchDataStore] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_classification/exact_match_data_stores/item/lookup/lookup_request_builder.py b/msgraph_beta/generated/data_classification/exact_match_data_stores/item/lookup/lookup_request_builder.py index 36861c4366a..9f4ba5ecdf5 100644 --- a/msgraph_beta/generated/data_classification/exact_match_data_stores/item/lookup/lookup_request_builder.py +++ b/msgraph_beta/generated/data_classification/exact_match_data_stores/item/lookup/lookup_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[LookupPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_classification/exact_match_data_stores/item/sessions/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/data_classification/exact_match_data_stores/item/sessions/item/cancel/cancel_request_builder.py index d83747bc998..7e9d8d2cd48 100644 --- a/msgraph_beta/generated/data_classification/exact_match_data_stores/item/sessions/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/data_classification/exact_match_data_stores/item/sessions/item/cancel/cancel_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[CancelReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CancelRequestBuilder: diff --git a/msgraph_beta/generated/data_classification/exact_match_data_stores/item/sessions/item/commit/commit_request_builder.py b/msgraph_beta/generated/data_classification/exact_match_data_stores/item/sessions/item/commit/commit_request_builder.py index 6f50d048a34..9121e5a607d 100644 --- a/msgraph_beta/generated/data_classification/exact_match_data_stores/item/sessions/item/commit/commit_request_builder.py +++ b/msgraph_beta/generated/data_classification/exact_match_data_stores/item/sessions/item/commit/commit_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[CommitReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CommitRequestBuilder: diff --git a/msgraph_beta/generated/data_classification/exact_match_data_stores/item/sessions/item/exact_match_session_item_request_builder.py b/msgraph_beta/generated/data_classification/exact_match_data_stores/item/sessions/item/exact_match_session_item_request_builder.py index 7f0cd62b14c..6112167ac92 100644 --- a/msgraph_beta/generated/data_classification/exact_match_data_stores/item/sessions/item/exact_match_session_item_request_builder.py +++ b/msgraph_beta/generated/data_classification/exact_match_data_stores/item/sessions/item/exact_match_session_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[ExactMatc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExactMatchSessionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[ExactMatchSe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ExactMatchSession] = None, request_configuration: Optional[ExactMatchSessionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[ExactMatchSession] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_classification/exact_match_data_stores/item/sessions/item/renew/renew_request_builder.py b/msgraph_beta/generated/data_classification/exact_match_data_stores/item/sessions/item/renew/renew_request_builder.py index 01a2790cad5..ab7fea29fb8 100644 --- a/msgraph_beta/generated/data_classification/exact_match_data_stores/item/sessions/item/renew/renew_request_builder.py +++ b/msgraph_beta/generated/data_classification/exact_match_data_stores/item/sessions/item/renew/renew_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[RenewReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RenewRequestBuilder: diff --git a/msgraph_beta/generated/data_classification/exact_match_data_stores/item/sessions/item/upload_agent/upload_agent_request_builder.py b/msgraph_beta/generated/data_classification/exact_match_data_stores/item/sessions/item/upload_agent/upload_agent_request_builder.py index 3011cf45100..69b5af078ba 100644 --- a/msgraph_beta/generated/data_classification/exact_match_data_stores/item/sessions/item/upload_agent/upload_agent_request_builder.py +++ b/msgraph_beta/generated/data_classification/exact_match_data_stores/item/sessions/item/upload_agent/upload_agent_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UploadAge request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UploadAgentRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UploadAgentR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ExactMatchUploadAgent] = None, request_configuration: Optional[UploadAgentRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ExactMatchUploadAgent] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_classification/exact_match_data_stores/item/sessions/sessions_request_builder.py b/msgraph_beta/generated/data_classification/exact_match_data_stores/item/sessions/sessions_request_builder.py index 7ca57cce4c0..91b5660d1fc 100644 --- a/msgraph_beta/generated/data_classification/exact_match_data_stores/item/sessions/sessions_request_builder.py +++ b/msgraph_beta/generated/data_classification/exact_match_data_stores/item/sessions/sessions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SessionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ExactMatchSession] = None, request_configuration: Optional[SessionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ExactMatchSession] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_classification/exact_match_upload_agents/exact_match_upload_agents_request_builder.py b/msgraph_beta/generated/data_classification/exact_match_upload_agents/exact_match_upload_agents_request_builder.py index a503a85a248..4b1c197ca84 100644 --- a/msgraph_beta/generated/data_classification/exact_match_upload_agents/exact_match_upload_agents_request_builder.py +++ b/msgraph_beta/generated/data_classification/exact_match_upload_agents/exact_match_upload_agents_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ExactMatchUp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ExactMatchUploadAgent] = None, request_configuration: Optional[ExactMatchUploadAgentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ExactMatchUploadAgent] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_classification/exact_match_upload_agents/item/exact_match_upload_agent_item_request_builder.py b/msgraph_beta/generated/data_classification/exact_match_upload_agents/item/exact_match_upload_agent_item_request_builder.py index e552e8a4d87..765dac22d69 100644 --- a/msgraph_beta/generated/data_classification/exact_match_upload_agents/item/exact_match_upload_agent_item_request_builder.py +++ b/msgraph_beta/generated/data_classification/exact_match_upload_agents/item/exact_match_upload_agent_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ExactMatc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExactMatchUploadAgentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ExactMatchUp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ExactMatchUploadAgent] = None, request_configuration: Optional[ExactMatchUploadAgentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ExactMatchUploadAgent] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_classification/jobs/item/job_response_base_item_request_builder.py b/msgraph_beta/generated/data_classification/jobs/item/job_response_base_item_request_builder.py index 1734e4e755c..0e77481ad2a 100644 --- a/msgraph_beta/generated/data_classification/jobs/item/job_response_base_item_request_builder.py +++ b/msgraph_beta/generated/data_classification/jobs/item/job_response_base_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[JobRespon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[JobResponseBaseItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[JobResponseB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[JobResponseBase] = None, request_configuration: Optional[JobResponseBaseItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[JobResponseBase] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_classification/jobs/jobs_request_builder.py b/msgraph_beta/generated/data_classification/jobs/jobs_request_builder.py index c1def931fa6..f958fda0564 100644 --- a/msgraph_beta/generated/data_classification/jobs/jobs_request_builder.py +++ b/msgraph_beta/generated/data_classification/jobs/jobs_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[JobsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[JobResponseBase] = None, request_configuration: Optional[JobsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[JobResponseBase] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_classification/sensitive_types/item/sensitive_type_item_request_builder.py b/msgraph_beta/generated/data_classification/sensitive_types/item/sensitive_type_item_request_builder.py index 98bd188dca0..1df1b3221c5 100644 --- a/msgraph_beta/generated/data_classification/sensitive_types/item/sensitive_type_item_request_builder.py +++ b/msgraph_beta/generated/data_classification/sensitive_types/item/sensitive_type_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Sensitive request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SensitiveTypeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SensitiveTyp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SensitiveType] = None, request_configuration: Optional[SensitiveTypeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[SensitiveType] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_classification/sensitive_types/sensitive_types_request_builder.py b/msgraph_beta/generated/data_classification/sensitive_types/sensitive_types_request_builder.py index a31264c3447..35a151460d8 100644 --- a/msgraph_beta/generated/data_classification/sensitive_types/sensitive_types_request_builder.py +++ b/msgraph_beta/generated/data_classification/sensitive_types/sensitive_types_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SensitiveTyp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SensitiveType] = None, request_configuration: Optional[SensitiveTypesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[SensitiveType] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_classification/sensitivity_labels/evaluate/evaluate_request_builder.py b/msgraph_beta/generated/data_classification/sensitivity_labels/evaluate/evaluate_request_builder.py index 85a4ab289e5..246e000e3f0 100644 --- a/msgraph_beta/generated/data_classification/sensitivity_labels/evaluate/evaluate_request_builder.py +++ b/msgraph_beta/generated/data_classification/sensitivity_labels/evaluate/evaluate_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[EvaluatePostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_classification/sensitivity_labels/item/sensitivity_label_item_request_builder.py b/msgraph_beta/generated/data_classification/sensitivity_labels/item/sensitivity_label_item_request_builder.py index b57ade33789..89a57442dec 100644 --- a/msgraph_beta/generated/data_classification/sensitivity_labels/item/sensitivity_label_item_request_builder.py +++ b/msgraph_beta/generated/data_classification/sensitivity_labels/item/sensitivity_label_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Sensitivi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SensitivityLabelItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[SensitivityL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SensitivityLabel] = None, request_configuration: Optional[SensitivityLabelItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[SensitivityLabel] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_classification/sensitivity_labels/item/sublabels/evaluate/evaluate_request_builder.py b/msgraph_beta/generated/data_classification/sensitivity_labels/item/sublabels/evaluate/evaluate_request_builder.py index dcbcfa48a87..479fa2f9e67 100644 --- a/msgraph_beta/generated/data_classification/sensitivity_labels/item/sublabels/evaluate/evaluate_request_builder.py +++ b/msgraph_beta/generated/data_classification/sensitivity_labels/item/sublabels/evaluate/evaluate_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[EvaluatePostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_classification/sensitivity_labels/item/sublabels/item/sensitivity_label_item_request_builder.py b/msgraph_beta/generated/data_classification/sensitivity_labels/item/sublabels/item/sensitivity_label_item_request_builder.py index 34c82811c5c..77717d1e195 100644 --- a/msgraph_beta/generated/data_classification/sensitivity_labels/item/sublabels/item/sensitivity_label_item_request_builder.py +++ b/msgraph_beta/generated/data_classification/sensitivity_labels/item/sublabels/item/sensitivity_label_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Sensitivi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SensitivityLabelItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SensitivityL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SensitivityLabel] = None, request_configuration: Optional[SensitivityLabelItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[SensitivityLabel] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_classification/sensitivity_labels/item/sublabels/sublabels_request_builder.py b/msgraph_beta/generated/data_classification/sensitivity_labels/item/sublabels/sublabels_request_builder.py index 92796079ef7..5f6e18d4ffb 100644 --- a/msgraph_beta/generated/data_classification/sensitivity_labels/item/sublabels/sublabels_request_builder.py +++ b/msgraph_beta/generated/data_classification/sensitivity_labels/item/sublabels/sublabels_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SublabelsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SensitivityLabel] = None, request_configuration: Optional[SublabelsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SensitivityLabel] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_classification/sensitivity_labels/sensitivity_labels_request_builder.py b/msgraph_beta/generated/data_classification/sensitivity_labels/sensitivity_labels_request_builder.py index 4161a2409c0..79bb514ab8d 100644 --- a/msgraph_beta/generated/data_classification/sensitivity_labels/sensitivity_labels_request_builder.py +++ b/msgraph_beta/generated/data_classification/sensitivity_labels/sensitivity_labels_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SensitivityL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SensitivityLabel] = None, request_configuration: Optional[SensitivityLabelsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SensitivityLabel] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/data_policy_operations/data_policy_operations_request_builder.py b/msgraph_beta/generated/data_policy_operations/data_policy_operations_request_builder.py index 8aea64d10e4..1eafcb0057d 100644 --- a/msgraph_beta/generated/data_policy_operations/data_policy_operations_request_builder.py +++ b/msgraph_beta/generated/data_policy_operations/data_policy_operations_request_builder.py @@ -45,7 +45,7 @@ def by_data_policy_operation_id(self,data_policy_operation_id: str) -> DataPolic async def get(self,request_configuration: Optional[DataPolicyOperationsRequestBuilderGetRequestConfiguration] = None) -> Optional[DataPolicyOperationCollectionResponse]: """ - Retrieve the properties of the dataPolicyOperation object. This API is available in the following national cloud deployments. + Retrieve the properties of the dataPolicyOperation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DataPolicyOperationCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[DataPolicyOperation] = None, request_configur def to_get_request_information(self,request_configuration: Optional[DataPolicyOperationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of the dataPolicyOperation object. This API is available in the following national cloud deployments. + Retrieve the properties of the dataPolicyOperation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DataPolicyOp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DataPolicyOperation] = None, request_configuration: Optional[DataPolicyOperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DataPolicyOperation] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DataPolicyOperationsRequestBuilderGetQueryParameters(): """ - Retrieve the properties of the dataPolicyOperation object. This API is available in the following national cloud deployments. + Retrieve the properties of the dataPolicyOperation object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/data_policy_operations/item/data_policy_operation_item_request_builder.py b/msgraph_beta/generated/data_policy_operations/item/data_policy_operation_item_request_builder.py index 781a0d3e304..386a1e52159 100644 --- a/msgraph_beta/generated/data_policy_operations/item/data_policy_operation_item_request_builder.py +++ b/msgraph_beta/generated/data_policy_operations/item/data_policy_operation_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[DataPolicyOperationItemReq async def get(self,request_configuration: Optional[DataPolicyOperationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DataPolicyOperation]: """ - Retrieve the properties of the dataPolicyOperation object. This API is available in the following national cloud deployments. + Retrieve the properties of the dataPolicyOperation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DataPolicyOperation] Find more info here: https://learn.microsoft.com/graph/api/datapolicyoperation-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[DataPolic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DataPolicyOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of the dataPolicyOperation object. This API is available in the following national cloud deployments. + Retrieve the properties of the dataPolicyOperation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DataPolicyOp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DataPolicyOperation] = None, request_configuration: Optional[DataPolicyOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DataPolicyOperation] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class DataPolicyOperationItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class DataPolicyOperationItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties of the dataPolicyOperation object. This API is available in the following national cloud deployments. + Retrieve the properties of the dataPolicyOperation object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/android_managed_app_protections/android_managed_app_protections_request_builder.py b/msgraph_beta/generated/device_app_management/android_managed_app_protections/android_managed_app_protections_request_builder.py index b50e7e6cee1..a8e9a635f80 100644 --- a/msgraph_beta/generated/device_app_management/android_managed_app_protections/android_managed_app_protections_request_builder.py +++ b/msgraph_beta/generated/device_app_management/android_managed_app_protections/android_managed_app_protections_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AndroidManag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AndroidManagedAppProtection] = None, request_configuration: Optional[AndroidManagedAppProtectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AndroidManagedAppProtection] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/android_managed_app_protections/has_payload_links/has_payload_links_request_builder.py b/msgraph_beta/generated/device_app_management/android_managed_app_protections/has_payload_links/has_payload_links_request_builder.py index 590687c5fba..9e7493a2987 100644 --- a/msgraph_beta/generated/device_app_management/android_managed_app_protections/has_payload_links/has_payload_links_request_builder.py +++ b/msgraph_beta/generated/device_app_management/android_managed_app_protections/has_payload_links/has_payload_links_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[HasPayloadLinksPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/android_managed_app_protection_item_request_builder.py b/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/android_managed_app_protection_item_request_builder.py index 643d0b8d56d..9817685b341 100644 --- a/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/android_managed_app_protection_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/android_managed_app_protection_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[AndroidMa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AndroidManagedAppProtectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[AndroidManag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AndroidManagedAppProtection] = None, request_configuration: Optional[AndroidManagedAppProtectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[AndroidManagedAppProtection request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/apps/apps_request_builder.py b/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/apps/apps_request_builder.py index ea66ee59481..7fe5db75247 100644 --- a/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/apps/apps_request_builder.py +++ b/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/apps/apps_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AppsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedMobileApp] = None, request_configuration: Optional[AppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedMobileApp] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/apps/item/managed_mobile_app_item_request_builder.py b/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/apps/item/managed_mobile_app_item_request_builder.py index 40257657463..376ea2bbdd2 100644 --- a/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/apps/item/managed_mobile_app_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/apps/item/managed_mobile_app_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedMo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedMobileAppItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedMobil request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedMobileApp] = None, request_configuration: Optional[ManagedMobileAppItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ManagedMobileApp] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/assignments/assignments_request_builder.py index 185e90b7900..d1591be7ad1 100644 --- a/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TargetedManagedAppPolicyAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[TargetedManagedAppPolicyAssi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/assignments/item/targeted_managed_app_policy_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/assignments/item/targeted_managed_app_policy_assignment_item_request_builder.py index b384efa3328..129bb7e27d7 100644 --- a/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/assignments/item/targeted_managed_app_policy_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/assignments/item/targeted_managed_app_policy_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[TargetedM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TargetedManagedAppPolicyAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[TargetedMana request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TargetedManagedAppPolicyAssignment] = None, request_configuration: Optional[TargetedManagedAppPolicyAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[TargetedManagedAppPolicyAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/deployment_summary/deployment_summary_request_builder.py b/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/deployment_summary/deployment_summary_request_builder.py index 2617acec26f..0eb26bdb211 100644 --- a/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/deployment_summary/deployment_summary_request_builder.py +++ b/msgraph_beta/generated/device_app_management/android_managed_app_protections/item/deployment_summary/deployment_summary_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Deploymen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeploymentSummaryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeploymentSu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedAppPolicyDeploymentSummary] = None, request_configuration: Optional[DeploymentSummaryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ManagedAppPolicyDeploymentS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/default_managed_app_protections/default_managed_app_protections_request_builder.py b/msgraph_beta/generated/device_app_management/default_managed_app_protections/default_managed_app_protections_request_builder.py index a23feee15b0..faeec0da9a7 100644 --- a/msgraph_beta/generated/device_app_management/default_managed_app_protections/default_managed_app_protections_request_builder.py +++ b/msgraph_beta/generated/device_app_management/default_managed_app_protections/default_managed_app_protections_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DefaultManag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DefaultManagedAppProtection] = None, request_configuration: Optional[DefaultManagedAppProtectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DefaultManagedAppProtection] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/default_managed_app_protections/item/apps/apps_request_builder.py b/msgraph_beta/generated/device_app_management/default_managed_app_protections/item/apps/apps_request_builder.py index 223272dc3b9..c3c0cf58e57 100644 --- a/msgraph_beta/generated/device_app_management/default_managed_app_protections/item/apps/apps_request_builder.py +++ b/msgraph_beta/generated/device_app_management/default_managed_app_protections/item/apps/apps_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AppsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedMobileApp] = None, request_configuration: Optional[AppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedMobileApp] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/default_managed_app_protections/item/apps/item/managed_mobile_app_item_request_builder.py b/msgraph_beta/generated/device_app_management/default_managed_app_protections/item/apps/item/managed_mobile_app_item_request_builder.py index a368b8f2947..313452b6adb 100644 --- a/msgraph_beta/generated/device_app_management/default_managed_app_protections/item/apps/item/managed_mobile_app_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/default_managed_app_protections/item/apps/item/managed_mobile_app_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedMo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedMobileAppItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedMobil request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedMobileApp] = None, request_configuration: Optional[ManagedMobileAppItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ManagedMobileApp] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/default_managed_app_protections/item/default_managed_app_protection_item_request_builder.py b/msgraph_beta/generated/device_app_management/default_managed_app_protections/item/default_managed_app_protection_item_request_builder.py index eff245c59ac..a9bcacf567e 100644 --- a/msgraph_beta/generated/device_app_management/default_managed_app_protections/item/default_managed_app_protection_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/default_managed_app_protections/item/default_managed_app_protection_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[DefaultMa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DefaultManagedAppProtectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[DefaultManag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DefaultManagedAppProtection] = None, request_configuration: Optional[DefaultManagedAppProtectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[DefaultManagedAppProtection request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/default_managed_app_protections/item/deployment_summary/deployment_summary_request_builder.py b/msgraph_beta/generated/device_app_management/default_managed_app_protections/item/deployment_summary/deployment_summary_request_builder.py index 2fbf8949f62..bed28a16ab6 100644 --- a/msgraph_beta/generated/device_app_management/default_managed_app_protections/item/deployment_summary/deployment_summary_request_builder.py +++ b/msgraph_beta/generated/device_app_management/default_managed_app_protections/item/deployment_summary/deployment_summary_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Deploymen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeploymentSummaryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeploymentSu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedAppPolicyDeploymentSummary] = None, request_configuration: Optional[DeploymentSummaryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ManagedAppPolicyDeploymentS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 84f3c3a9a12..0c4f120c0aa 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 @@ -111,7 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceAppMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceAppManagement] = None, request_configuration: Optional[DeviceAppManagementRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -130,7 +130,7 @@ def to_patch_request_information(self,body: Optional[DeviceAppManagement] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/device_app_management_tasks/device_app_management_tasks_request_builder.py b/msgraph_beta/generated/device_app_management/device_app_management_tasks/device_app_management_tasks_request_builder.py index 138dd88ac67..199a1ec6b60 100644 --- a/msgraph_beta/generated/device_app_management/device_app_management_tasks/device_app_management_tasks_request_builder.py +++ b/msgraph_beta/generated/device_app_management/device_app_management_tasks/device_app_management_tasks_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceAppMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceAppManagementTask] = None, request_configuration: Optional[DeviceAppManagementTasksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceAppManagementTask] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/device_app_management_tasks/item/device_app_management_task_item_request_builder.py b/msgraph_beta/generated/device_app_management/device_app_management_tasks/item/device_app_management_task_item_request_builder.py index fc3812ecf07..a623780a21c 100644 --- a/msgraph_beta/generated/device_app_management/device_app_management_tasks/item/device_app_management_task_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/device_app_management_tasks/item/device_app_management_task_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceAppManagementTaskItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceAppMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceAppManagementTask] = None, request_configuration: Optional[DeviceAppManagementTaskItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceAppManagementTask] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/device_app_management_tasks/item/update_status/update_status_request_builder.py b/msgraph_beta/generated/device_app_management/device_app_management_tasks/item/update_status/update_status_request_builder.py index 604e4c3110c..e1d74120602 100644 --- a/msgraph_beta/generated/device_app_management/device_app_management_tasks/item/update_status/update_status_request_builder.py +++ b/msgraph_beta/generated/device_app_management/device_app_management_tasks/item/update_status/update_status_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UpdateStatusPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/enterprise_code_signing_certificates/enterprise_code_signing_certificates_request_builder.py b/msgraph_beta/generated/device_app_management/enterprise_code_signing_certificates/enterprise_code_signing_certificates_request_builder.py index c84b3565db4..177db824f5f 100644 --- a/msgraph_beta/generated/device_app_management/enterprise_code_signing_certificates/enterprise_code_signing_certificates_request_builder.py +++ b/msgraph_beta/generated/device_app_management/enterprise_code_signing_certificates/enterprise_code_signing_certificates_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[EnterpriseCo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EnterpriseCodeSigningCertificate] = None, request_configuration: Optional[EnterpriseCodeSigningCertificatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[EnterpriseCodeSigningCertifi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/enterprise_code_signing_certificates/item/enterprise_code_signing_certificate_item_request_builder.py b/msgraph_beta/generated/device_app_management/enterprise_code_signing_certificates/item/enterprise_code_signing_certificate_item_request_builder.py index 654bb60594b..b2673d86dd3 100644 --- a/msgraph_beta/generated/device_app_management/enterprise_code_signing_certificates/item/enterprise_code_signing_certificate_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/enterprise_code_signing_certificates/item/enterprise_code_signing_certificate_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Enterpris request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EnterpriseCodeSigningCertificateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[EnterpriseCo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EnterpriseCodeSigningCertificate] = None, request_configuration: Optional[EnterpriseCodeSigningCertificateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[EnterpriseCodeSigningCertif request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/has_payload_links/has_payload_links_request_builder.py b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/has_payload_links/has_payload_links_request_builder.py index d2ff46ff953..8459c99f384 100644 --- a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/has_payload_links/has_payload_links_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/has_payload_links/has_payload_links_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[HasPayloadLinksPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/ios_lob_app_provisioning_configurations_request_builder.py b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/ios_lob_app_provisioning_configurations_request_builder.py index e0b2d70e545..115c18e22e7 100644 --- a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/ios_lob_app_provisioning_configurations_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/ios_lob_app_provisioning_configurations_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[IosLobAppPro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[IosLobAppProvisioningConfiguration] = None, request_configuration: Optional[IosLobAppProvisioningConfigurationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[IosLobAppProvisioningConfigu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assign/assign_request_builder.py index 7ca3561d32e..635cc0c4925 100644 --- a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assign/assign_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/assignments_request_builder.py index 0b476c70a1d..8b27d47952f 100644 --- a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[IosLobAppProvisioningConfigurationAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[IosLobAppProvisioningConfigu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/item/ios_lob_app_provisioning_configuration_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/item/ios_lob_app_provisioning_configuration_assignment_item_request_builder.py index 07d7a7ccb0a..a40e6f5a14a 100644 --- a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/item/ios_lob_app_provisioning_configuration_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/item/ios_lob_app_provisioning_configuration_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[IosLobApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[IosLobAppPro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[IosLobAppProvisioningConfigurationAssignment] = None, request_configuration: Optional[IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[IosLobAppProvisioningConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/device_statuses/device_statuses_request_builder.py b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/device_statuses/device_statuses_request_builder.py index 61b868db7f0..404e267c4f1 100644 --- a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/device_statuses/device_statuses_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/device_statuses/device_statuses_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceStatus request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedDeviceMobileAppConfigurationDeviceStatus] = None, request_configuration: Optional[DeviceStatusesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedDeviceMobileAppConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/device_statuses/item/managed_device_mobile_app_configuration_device_status_item_request_builder.py b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/device_statuses/item/managed_device_mobile_app_configuration_device_status_item_request_builder.py index 982d24e3d55..43addee7510 100644 --- a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/device_statuses/item/managed_device_mobile_app_configuration_device_status_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/device_statuses/item/managed_device_mobile_app_configuration_device_status_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedDeviceMobileAppConfigurationDeviceStatus] = None, request_configuration: Optional[ManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ManagedDeviceMobileAppConfi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/group_assignments/group_assignments_request_builder.py b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/group_assignments/group_assignments_request_builder.py index c1a0d3b5113..8ae9efda7d4 100644 --- a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/group_assignments/group_assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/group_assignments/group_assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupAssignm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppProvisioningConfigGroupAssignment] = None, request_configuration: Optional[GroupAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppProvisioningConfigG request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/group_assignments/item/mobile_app_provisioning_config_group_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/group_assignments/item/mobile_app_provisioning_config_group_assignment_item_request_builder.py index 7f62617ba7f..a95b78f487b 100644 --- a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/group_assignments/item/mobile_app_provisioning_config_group_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/group_assignments/item/mobile_app_provisioning_config_group_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppProvisioningConfigGroupAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppPro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppProvisioningConfigGroupAssignment] = None, request_configuration: Optional[MobileAppProvisioningConfigGroupAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppProvisioningConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/ios_lob_app_provisioning_configuration_item_request_builder.py b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/ios_lob_app_provisioning_configuration_item_request_builder.py index e506e9fdc98..2236a3324ac 100644 --- a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/ios_lob_app_provisioning_configuration_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/ios_lob_app_provisioning_configuration_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[IosLobApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[IosLobAppProvisioningConfigurationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[IosLobAppPro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[IosLobAppProvisioningConfiguration] = None, request_configuration: Optional[IosLobAppProvisioningConfigurationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[IosLobAppProvisioningConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/user_statuses/item/managed_device_mobile_app_configuration_user_status_item_request_builder.py b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/user_statuses/item/managed_device_mobile_app_configuration_user_status_item_request_builder.py index 3f2efa96d7e..d610a7fab95 100644 --- a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/user_statuses/item/managed_device_mobile_app_configuration_user_status_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/user_statuses/item/managed_device_mobile_app_configuration_user_status_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedDeviceMobileAppConfigurationUserStatus] = None, request_configuration: Optional[ManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ManagedDeviceMobileAppConfi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/user_statuses/user_statuses_request_builder.py b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/user_statuses/user_statuses_request_builder.py index c0d5f0e5fa0..afffbe0c3c3 100644 --- a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/user_statuses/user_statuses_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/user_statuses/user_statuses_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserStatuses request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedDeviceMobileAppConfigurationUserStatus] = None, request_configuration: Optional[UserStatusesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedDeviceMobileAppConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/ios_managed_app_protections/has_payload_links/has_payload_links_request_builder.py b/msgraph_beta/generated/device_app_management/ios_managed_app_protections/has_payload_links/has_payload_links_request_builder.py index 2b06b407646..b25e2da8901 100644 --- a/msgraph_beta/generated/device_app_management/ios_managed_app_protections/has_payload_links/has_payload_links_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_managed_app_protections/has_payload_links/has_payload_links_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[HasPayloadLinksPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/ios_managed_app_protections/ios_managed_app_protections_request_builder.py b/msgraph_beta/generated/device_app_management/ios_managed_app_protections/ios_managed_app_protections_request_builder.py index b547111edf8..be9eac739c9 100644 --- a/msgraph_beta/generated/device_app_management/ios_managed_app_protections/ios_managed_app_protections_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_managed_app_protections/ios_managed_app_protections_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[IosManagedAp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[IosManagedAppProtection] = None, request_configuration: Optional[IosManagedAppProtectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[IosManagedAppProtection] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/apps/apps_request_builder.py b/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/apps/apps_request_builder.py index c14b9a0b0fb..9cac89ef4cf 100644 --- a/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/apps/apps_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/apps/apps_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AppsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedMobileApp] = None, request_configuration: Optional[AppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedMobileApp] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/apps/item/managed_mobile_app_item_request_builder.py b/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/apps/item/managed_mobile_app_item_request_builder.py index 8eaa3bbb71f..ca8929d1043 100644 --- a/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/apps/item/managed_mobile_app_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/apps/item/managed_mobile_app_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedMo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedMobileAppItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedMobil request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedMobileApp] = None, request_configuration: Optional[ManagedMobileAppItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ManagedMobileApp] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/assignments/assignments_request_builder.py index 77e66b6a838..249906681f3 100644 --- a/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TargetedManagedAppPolicyAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[TargetedManagedAppPolicyAssi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/assignments/item/targeted_managed_app_policy_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/assignments/item/targeted_managed_app_policy_assignment_item_request_builder.py index 4dd3ccbb262..812595acbae 100644 --- a/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/assignments/item/targeted_managed_app_policy_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/assignments/item/targeted_managed_app_policy_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[TargetedM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TargetedManagedAppPolicyAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[TargetedMana request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TargetedManagedAppPolicyAssignment] = None, request_configuration: Optional[TargetedManagedAppPolicyAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[TargetedManagedAppPolicyAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/deployment_summary/deployment_summary_request_builder.py b/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/deployment_summary/deployment_summary_request_builder.py index 848eddccef3..7ad8f46b429 100644 --- a/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/deployment_summary/deployment_summary_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/deployment_summary/deployment_summary_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Deploymen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeploymentSummaryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeploymentSu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedAppPolicyDeploymentSummary] = None, request_configuration: Optional[DeploymentSummaryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ManagedAppPolicyDeploymentS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/ios_managed_app_protection_item_request_builder.py b/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/ios_managed_app_protection_item_request_builder.py index 97df1d3c625..6f06b6130cf 100644 --- a/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/ios_managed_app_protection_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_managed_app_protections/item/ios_managed_app_protection_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[IosManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[IosManagedAppProtectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[IosManagedAp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[IosManagedAppProtection] = None, request_configuration: Optional[IosManagedAppProtectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[IosManagedAppProtection] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py b/msgraph_beta/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py index 4fd9b13c50b..0863b90502d 100644 --- a/msgraph_beta/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedAp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedAppPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedAppPo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedAppPolicy] = None, request_configuration: Optional[ManagedAppPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ManagedAppPolicy] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py b/msgraph_beta/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py index 697314bac5a..9f6d5895c8c 100644 --- a/msgraph_beta/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[TargetAppsPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py b/msgraph_beta/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py index 03bea7c4889..e2268204c64 100644 --- a/msgraph_beta/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedAppPo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedAppPolicy] = None, request_configuration: Optional[ManagedAppPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedAppPolicy] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/managed_app_registrations/get_user_ids_with_flagged_app_registration/get_user_ids_with_flagged_app_registration_request_builder.py b/msgraph_beta/generated/device_app_management/managed_app_registrations/get_user_ids_with_flagged_app_registration/get_user_ids_with_flagged_app_registration_request_builder.py index 5678bdccb97..ae0539c67bf 100644 --- a/msgraph_beta/generated/device_app_management/managed_app_registrations/get_user_ids_with_flagged_app_registration/get_user_ids_with_flagged_app_registration_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_app_registrations/get_user_ids_with_flagged_app_registration/get_user_ids_with_flagged_app_registration_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetUserIdsWi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetUserIdsWithFlaggedAppRegistrationRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/applied_policies/applied_policies_request_builder.py b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/applied_policies/applied_policies_request_builder.py index bc15acb21f0..a73ded0e1f3 100644 --- a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/applied_policies/applied_policies_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/applied_policies/applied_policies_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AppliedPolic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedAppPolicy] = None, request_configuration: Optional[AppliedPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedAppPolicy] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/applied_policies/item/managed_app_policy_item_request_builder.py b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/applied_policies/item/managed_app_policy_item_request_builder.py index 33393cb69ee..815d54d7e76 100644 --- a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/applied_policies/item/managed_app_policy_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/applied_policies/item/managed_app_policy_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedAp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedAppPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedAppPo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedAppPolicy] = None, request_configuration: Optional[ManagedAppPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ManagedAppPolicy] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py index 845c551358b..e9e880dcd24 100644 --- a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[TargetAppsPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/intended_policies/intended_policies_request_builder.py b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/intended_policies/intended_policies_request_builder.py index f739cfca913..701dc3f150a 100644 --- a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/intended_policies/intended_policies_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/intended_policies/intended_policies_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[IntendedPoli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedAppPolicy] = None, request_configuration: Optional[IntendedPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedAppPolicy] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/intended_policies/item/managed_app_policy_item_request_builder.py b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/intended_policies/item/managed_app_policy_item_request_builder.py index b16473ff1e3..ccd23018127 100644 --- a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/intended_policies/item/managed_app_policy_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/intended_policies/item/managed_app_policy_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedAp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedAppPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedAppPo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedAppPolicy] = None, request_configuration: Optional[ManagedAppPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ManagedAppPolicy] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py index a2322e43cba..6dc58d345ad 100644 --- a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[TargetAppsPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py index aa8740d3feb..1a869741671 100644 --- a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedAp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedAppRegistrationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedAppRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedAppRegistration] = None, request_configuration: Optional[ManagedAppRegistrationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ManagedAppRegistration] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/operations/item/managed_app_operation_item_request_builder.py b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/operations/item/managed_app_operation_item_request_builder.py index 849bebe8e2f..fe918cae85b 100644 --- a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/operations/item/managed_app_operation_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/operations/item/managed_app_operation_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedAp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedAppOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedAppOp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedAppOperation] = None, request_configuration: Optional[ManagedAppOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ManagedAppOperation] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/operations/operations_request_builder.py b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/operations/operations_request_builder.py index 752e5566d65..975c79ae5f9 100644 --- a/msgraph_beta/generated/device_app_management/managed_app_registrations/item/operations/operations_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_app_registrations/item/operations/operations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedAppOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedAppOperation] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py b/msgraph_beta/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py index 959fec36df0..0fbfcb51255 100644 --- a/msgraph_beta/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedAppRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedAppRegistration] = None, request_configuration: Optional[ManagedAppRegistrationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ManagedAppRegistration] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/managed_app_statuses/item/managed_app_status_item_request_builder.py b/msgraph_beta/generated/device_app_management/managed_app_statuses/item/managed_app_status_item_request_builder.py index 802d39fc441..3a7a77812f5 100644 --- a/msgraph_beta/generated/device_app_management/managed_app_statuses/item/managed_app_status_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_app_statuses/item/managed_app_status_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedAp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedAppStatusItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedAppSt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedAppStatus] = None, request_configuration: Optional[ManagedAppStatusItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ManagedAppStatus] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.py b/msgraph_beta/generated/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.py index 4f7e4cee59b..4014305b324 100644 --- a/msgraph_beta/generated/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedAppSt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedAppStatus] = None, request_configuration: Optional[ManagedAppStatusesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedAppStatus] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/managed_e_book_categories/item/managed_e_book_category_item_request_builder.py b/msgraph_beta/generated/device_app_management/managed_e_book_categories/item/managed_e_book_category_item_request_builder.py index 81c506969b0..177c91a0c2a 100644 --- a/msgraph_beta/generated/device_app_management/managed_e_book_categories/item/managed_e_book_category_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_e_book_categories/item/managed_e_book_category_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedEB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedEBookCategoryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedEBook request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedEBookCategory] = None, request_configuration: Optional[ManagedEBookCategoryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ManagedEBookCategory] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/managed_e_book_categories/managed_e_book_categories_request_builder.py b/msgraph_beta/generated/device_app_management/managed_e_book_categories/managed_e_book_categories_request_builder.py index ecc6dfd37b3..1154f912874 100644 --- a/msgraph_beta/generated/device_app_management/managed_e_book_categories/managed_e_book_categories_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_e_book_categories/managed_e_book_categories_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedEBook request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedEBookCategory] = None, request_configuration: Optional[ManagedEBookCategoriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedEBookCategory] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/managed_e_books/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_app_management/managed_e_books/item/assign/assign_request_builder.py index 2223a93684c..5798937f100 100644 --- a/msgraph_beta/generated/device_app_management/managed_e_books/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_e_books/item/assign/assign_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py index 8296c746488..ebe17286d2d 100644 --- a/msgraph_beta/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedEBookAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedEBookAssignment] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py index 814719ea889..6cd6125b371 100644 --- a/msgraph_beta/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedEB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedEBookAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedEBook request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedEBookAssignment] = None, request_configuration: Optional[ManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ManagedEBookAssignment] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/managed_e_books/item/categories/categories_request_builder.py b/msgraph_beta/generated/device_app_management/managed_e_books/item/categories/categories_request_builder.py index 064cbb4d4b7..1ce73387e44 100644 --- a/msgraph_beta/generated/device_app_management/managed_e_books/item/categories/categories_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_e_books/item/categories/categories_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CategoriesRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/managed_e_books/item/categories/item/managed_e_book_category_item_request_builder.py b/msgraph_beta/generated/device_app_management/managed_e_books/item/categories/item/managed_e_book_category_item_request_builder.py index 0f0150355a8..b33a6349663 100644 --- a/msgraph_beta/generated/device_app_management/managed_e_books/item/categories/item/managed_e_book_category_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_e_books/item/categories/item/managed_e_book_category_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedEBook request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagedEBookCategoryItemRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/managed_e_books/item/device_states/device_states_request_builder.py b/msgraph_beta/generated/device_app_management/managed_e_books/item/device_states/device_states_request_builder.py index 91d7140ea8a..7d96806e97e 100644 --- a/msgraph_beta/generated/device_app_management/managed_e_books/item/device_states/device_states_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_e_books/item/device_states/device_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceStates request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceInstallState] = None, request_configuration: Optional[DeviceStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceInstallState] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/managed_e_books/item/device_states/item/device_install_state_item_request_builder.py b/msgraph_beta/generated/device_app_management/managed_e_books/item/device_states/item/device_install_state_item_request_builder.py index 22e9dfff4e4..fb5ae4fc91e 100644 --- a/msgraph_beta/generated/device_app_management/managed_e_books/item/device_states/item/device_install_state_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_e_books/item/device_states/item/device_install_state_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceIns request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceInstallStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceInstal request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceInstallState] = None, request_configuration: Optional[DeviceInstallStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceInstallState] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/managed_e_books/item/install_summary/install_summary_request_builder.py b/msgraph_beta/generated/device_app_management/managed_e_books/item/install_summary/install_summary_request_builder.py index c7e38166e54..d15db45de2c 100644 --- a/msgraph_beta/generated/device_app_management/managed_e_books/item/install_summary/install_summary_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_e_books/item/install_summary/install_summary_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[InstallSu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[InstallSummaryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[InstallSumma request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EBookInstallSummary] = None, request_configuration: Optional[InstallSummaryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[EBookInstallSummary] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/managed_e_books/item/managed_e_book_item_request_builder.py b/msgraph_beta/generated/device_app_management/managed_e_books/item/managed_e_book_item_request_builder.py index 8bbc67e6c8f..2149892b1e4 100644 --- a/msgraph_beta/generated/device_app_management/managed_e_books/item/managed_e_book_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_e_books/item/managed_e_book_item_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedEB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedEBookItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedEBook request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedEBook] = None, request_configuration: Optional[ManagedEBookItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[ManagedEBook] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/managed_e_books/item/user_state_summary/item/device_states/device_states_request_builder.py b/msgraph_beta/generated/device_app_management/managed_e_books/item/user_state_summary/item/device_states/device_states_request_builder.py index a9e129ba499..caadd6abc6a 100644 --- a/msgraph_beta/generated/device_app_management/managed_e_books/item/user_state_summary/item/device_states/device_states_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_e_books/item/user_state_summary/item/device_states/device_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceStates request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceInstallState] = None, request_configuration: Optional[DeviceStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceInstallState] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/managed_e_books/item/user_state_summary/item/device_states/item/device_install_state_item_request_builder.py b/msgraph_beta/generated/device_app_management/managed_e_books/item/user_state_summary/item/device_states/item/device_install_state_item_request_builder.py index 852da0ab95f..404dfaf5927 100644 --- a/msgraph_beta/generated/device_app_management/managed_e_books/item/user_state_summary/item/device_states/item/device_install_state_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_e_books/item/user_state_summary/item/device_states/item/device_install_state_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceIns request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceInstallStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceInstal request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceInstallState] = None, request_configuration: Optional[DeviceInstallStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceInstallState] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/managed_e_books/item/user_state_summary/item/user_install_state_summary_item_request_builder.py b/msgraph_beta/generated/device_app_management/managed_e_books/item/user_state_summary/item/user_install_state_summary_item_request_builder.py index 5d566ea4d2e..37953848730 100644 --- a/msgraph_beta/generated/device_app_management/managed_e_books/item/user_state_summary/item/user_install_state_summary_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_e_books/item/user_state_summary/item/user_install_state_summary_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserInsta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserInstallStateSummaryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[UserInstallS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserInstallStateSummary] = None, request_configuration: Optional[UserInstallStateSummaryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[UserInstallStateSummary] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/managed_e_books/item/user_state_summary/user_state_summary_request_builder.py b/msgraph_beta/generated/device_app_management/managed_e_books/item/user_state_summary/user_state_summary_request_builder.py index c5d7569ae91..fd7ad638705 100644 --- a/msgraph_beta/generated/device_app_management/managed_e_books/item/user_state_summary/user_state_summary_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_e_books/item/user_state_summary/user_state_summary_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserStateSum request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserInstallStateSummary] = None, request_configuration: Optional[UserStateSummaryRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserInstallStateSummary] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py b/msgraph_beta/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py index 849ec42976f..c2edfa83beb 100644 --- a/msgraph_beta/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py +++ b/msgraph_beta/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedEBook request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedEBook] = None, request_configuration: Optional[ManagedEBooksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedEBook] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/has_payload_links/has_payload_links_request_builder.py b/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/has_payload_links/has_payload_links_request_builder.py index a5fad9da0c7..ca22303131a 100644 --- a/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/has_payload_links/has_payload_links_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/has_payload_links/has_payload_links_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[HasPayloadLinksPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/assignments/assignments_request_builder.py index 28079bfd131..90ae61c2a6f 100644 --- a/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TargetedManagedAppPolicyAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[TargetedManagedAppPolicyAssi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/assignments/item/targeted_managed_app_policy_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/assignments/item/targeted_managed_app_policy_assignment_item_request_builder.py index 5b4a32f71b9..7d6cb7b7476 100644 --- a/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/assignments/item/targeted_managed_app_policy_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/assignments/item/targeted_managed_app_policy_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[TargetedM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TargetedManagedAppPolicyAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[TargetedMana request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TargetedManagedAppPolicyAssignment] = None, request_configuration: Optional[TargetedManagedAppPolicyAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[TargetedManagedAppPolicyAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/exempt_app_locker_files/exempt_app_locker_files_request_builder.py b/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/exempt_app_locker_files/exempt_app_locker_files_request_builder.py index 0a6f45c5e8e..336c46786de 100644 --- a/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/exempt_app_locker_files/exempt_app_locker_files_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/exempt_app_locker_files/exempt_app_locker_files_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ExemptAppLoc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsInformationProtectionAppLockerFile] = None, request_configuration: Optional[ExemptAppLockerFilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WindowsInformationProtection request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/exempt_app_locker_files/item/windows_information_protection_app_locker_file_item_request_builder.py b/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/exempt_app_locker_files/item/windows_information_protection_app_locker_file_item_request_builder.py index bee4bae71b3..2d2b4f2f2d8 100644 --- a/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/exempt_app_locker_files/item/windows_information_protection_app_locker_file_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/exempt_app_locker_files/item/windows_information_protection_app_locker_file_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsInformationProtectionAppLockerFileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsInfor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsInformationProtectionAppLockerFile] = None, request_configuration: Optional[WindowsInformationProtectionAppLockerFileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WindowsInformationProtectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/mdm_windows_information_protection_policy_item_request_builder.py b/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/mdm_windows_information_protection_policy_item_request_builder.py index 62f6511a71a..b31aaf089d0 100644 --- a/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/mdm_windows_information_protection_policy_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/mdm_windows_information_protection_policy_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[MdmWindow request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MdmWindowsInformationProtectionPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[MdmWindowsIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MdmWindowsInformationProtectionPolicy] = None, request_configuration: Optional[MdmWindowsInformationProtectionPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[MdmWindowsInformationProtec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/protected_app_locker_files/item/windows_information_protection_app_locker_file_item_request_builder.py b/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/protected_app_locker_files/item/windows_information_protection_app_locker_file_item_request_builder.py index e0df800e3cd..9fed17be9aa 100644 --- a/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/protected_app_locker_files/item/windows_information_protection_app_locker_file_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/protected_app_locker_files/item/windows_information_protection_app_locker_file_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsInformationProtectionAppLockerFileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsInfor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsInformationProtectionAppLockerFile] = None, request_configuration: Optional[WindowsInformationProtectionAppLockerFileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WindowsInformationProtectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/protected_app_locker_files/protected_app_locker_files_request_builder.py b/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/protected_app_locker_files/protected_app_locker_files_request_builder.py index d8393f461d3..f46cc8f7c0d 100644 --- a/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/protected_app_locker_files/protected_app_locker_files_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/item/protected_app_locker_files/protected_app_locker_files_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ProtectedApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsInformationProtectionAppLockerFile] = None, request_configuration: Optional[ProtectedAppLockerFilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WindowsInformationProtection request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/mdm_windows_information_protection_policies_request_builder.py b/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/mdm_windows_information_protection_policies_request_builder.py index cc548193174..d3a0e23ae46 100644 --- a/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/mdm_windows_information_protection_policies_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mdm_windows_information_protection_policies/mdm_windows_information_protection_policies_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[MdmWindowsIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MdmWindowsInformationProtectionPolicy] = None, request_configuration: Optional[MdmWindowsInformationProtectionPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[MdmWindowsInformationProtect request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_app_categories/item/mobile_app_category_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_app_categories/item/mobile_app_category_item_request_builder.py index d8da59aa2f8..56aafdffd3e 100644 --- a/msgraph_beta/generated/device_app_management/mobile_app_categories/item/mobile_app_category_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_app_categories/item/mobile_app_category_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppCategoryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppCategory] = None, request_configuration: Optional[MobileAppCategoryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppCategory] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_app_categories/mobile_app_categories_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_app_categories/mobile_app_categories_request_builder.py index 82b8abb9bce..35645de3d31 100644 --- a/msgraph_beta/generated/device_app_management/mobile_app_categories/mobile_app_categories_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_app_categories/mobile_app_categories_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppCategory] = None, request_configuration: Optional[MobileAppCategoriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppCategory] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/assign/assign_request_builder.py index 81e6db7bb8f..82aaca0fddc 100644 --- a/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/assign/assign_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/assignments/assignments_request_builder.py index f9ad7e8b7fe..5f5763770cf 100644 --- a/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedDeviceMobileAppConfigurationAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedDeviceMobileAppConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/assignments/item/managed_device_mobile_app_configuration_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/assignments/item/managed_device_mobile_app_configuration_assignment_item_request_builder.py index 6e2432a982f..efec2cb687a 100644 --- a/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/assignments/item/managed_device_mobile_app_configuration_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/assignments/item/managed_device_mobile_app_configuration_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedDeviceMobileAppConfigurationAssignment] = None, request_configuration: Optional[ManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ManagedDeviceMobileAppConfi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/device_status_summary/device_status_summary_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/device_status_summary/device_status_summary_request_builder.py index 1ec94047217..87f682d7a94 100644 --- a/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/device_status_summary/device_status_summary_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/device_status_summary/device_status_summary_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceSta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceStatusSummaryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceStatus request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedDeviceMobileAppConfigurationDeviceSummary] = None, request_configuration: Optional[DeviceStatusSummaryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ManagedDeviceMobileAppConfi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/device_statuses/device_statuses_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/device_statuses/device_statuses_request_builder.py index 455570f629c..8dbbed1d5e5 100644 --- a/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/device_statuses/device_statuses_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/device_statuses/device_statuses_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceStatus request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedDeviceMobileAppConfigurationDeviceStatus] = None, request_configuration: Optional[DeviceStatusesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedDeviceMobileAppConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/device_statuses/item/managed_device_mobile_app_configuration_device_status_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/device_statuses/item/managed_device_mobile_app_configuration_device_status_item_request_builder.py index ea057f697b6..3820d170e0d 100644 --- a/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/device_statuses/item/managed_device_mobile_app_configuration_device_status_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/device_statuses/item/managed_device_mobile_app_configuration_device_status_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedDeviceMobileAppConfigurationDeviceStatus] = None, request_configuration: Optional[ManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ManagedDeviceMobileAppConfi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/managed_device_mobile_app_configuration_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/managed_device_mobile_app_configuration_item_request_builder.py index 17aa8919642..c6c0169e1a3 100644 --- a/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/managed_device_mobile_app_configuration_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/managed_device_mobile_app_configuration_item_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedDeviceMobileAppConfigurationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedDeviceMobileAppConfiguration] = None, request_configuration: Optional[ManagedDeviceMobileAppConfigurationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[ManagedDeviceMobileAppConfi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/user_status_summary/user_status_summary_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/user_status_summary/user_status_summary_request_builder.py index b7d55a734fd..82f7decfc65 100644 --- a/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/user_status_summary/user_status_summary_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/user_status_summary/user_status_summary_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserStatu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserStatusSummaryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserStatusSu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedDeviceMobileAppConfigurationUserSummary] = None, request_configuration: Optional[UserStatusSummaryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ManagedDeviceMobileAppConfi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/user_statuses/item/managed_device_mobile_app_configuration_user_status_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/user_statuses/item/managed_device_mobile_app_configuration_user_status_item_request_builder.py index d45ec752a2c..f4c8fb6268b 100644 --- a/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/user_statuses/item/managed_device_mobile_app_configuration_user_status_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/user_statuses/item/managed_device_mobile_app_configuration_user_status_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedDeviceMobileAppConfigurationUserStatus] = None, request_configuration: Optional[ManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ManagedDeviceMobileAppConfi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/user_statuses/user_statuses_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/user_statuses/user_statuses_request_builder.py index 1ebe170fd21..e83f0c44585 100644 --- a/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/user_statuses/user_statuses_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_app_configurations/item/user_statuses/user_statuses_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserStatuses request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedDeviceMobileAppConfigurationUserStatus] = None, request_configuration: Optional[UserStatusesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedDeviceMobileAppConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.py index 69bb4ce82b1..520e7047bc2 100644 --- a/msgraph_beta/generated/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedDeviceMobileAppConfiguration] = None, request_configuration: Optional[MobileAppConfigurationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedDeviceMobileAppConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_for_work_app/graph_android_for_work_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_for_work_app/graph_android_for_work_app_request_builder.py index 377767dbb59..77c77ea2e80 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_for_work_app/graph_android_for_work_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_for_work_app/graph_android_for_work_app_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAndroid request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAndroidForWorkAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_lob_app/graph_android_lob_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_lob_app/graph_android_lob_app_request_builder.py index 5dea1c5c0c7..f6bc846209a 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_lob_app/graph_android_lob_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_lob_app/graph_android_lob_app_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAndroid request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAndroidLobAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_managed_store_app/graph_android_managed_store_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_managed_store_app/graph_android_managed_store_app_request_builder.py index bba2e390980..c0387f2ac5a 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_managed_store_app/graph_android_managed_store_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_managed_store_app/graph_android_managed_store_app_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAndroid request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAndroidManagedStoreAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_store_app/graph_android_store_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_store_app/graph_android_store_app_request_builder.py index bc1053d0851..a45dc2e36dc 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_store_app/graph_android_store_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_android_store_app/graph_android_store_app_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAndroid request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAndroidStoreAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_ios_lob_app/graph_ios_lob_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_ios_lob_app/graph_ios_lob_app_request_builder.py index 39eae012c64..98d31703994 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_ios_lob_app/graph_ios_lob_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_ios_lob_app/graph_ios_lob_app_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphIosLobA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphIosLobAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_ios_store_app/graph_ios_store_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_ios_store_app/graph_ios_store_app_request_builder.py index f3f13af8ef8..543b2c7d148 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_ios_store_app/graph_ios_store_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_ios_store_app/graph_ios_store_app_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphIosStor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphIosStoreAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_ios_vpp_app/graph_ios_vpp_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_ios_vpp_app/graph_ios_vpp_app_request_builder.py index cde337d0620..9d47e9ab055 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_ios_vpp_app/graph_ios_vpp_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_ios_vpp_app/graph_ios_vpp_app_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphIosVppA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphIosVppAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_mac_o_s_dmg_app/graph_mac_o_s_dmg_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_mac_o_s_dmg_app/graph_mac_o_s_dmg_app_request_builder.py index 82a17d7d3cb..8ed5abf0730 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_mac_o_s_dmg_app/graph_mac_o_s_dmg_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_mac_o_s_dmg_app/graph_mac_o_s_dmg_app_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphMacOSDm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphMacOSDmgAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_mac_o_s_lob_app/graph_mac_o_s_lob_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_mac_o_s_lob_app/graph_mac_o_s_lob_app_request_builder.py index 3a738f7bc87..b47402fafc7 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_mac_o_s_lob_app/graph_mac_o_s_lob_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_mac_o_s_lob_app/graph_mac_o_s_lob_app_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphMacOSLo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphMacOSLobAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_mac_o_s_pkg_app/graph_mac_o_s_pkg_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_mac_o_s_pkg_app/graph_mac_o_s_pkg_app_request_builder.py index b869539bb86..e90d31ae0de 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_mac_o_s_pkg_app/graph_mac_o_s_pkg_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_mac_o_s_pkg_app/graph_mac_o_s_pkg_app_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphMacOSPk request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphMacOSPkgAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_managed_android_lob_app/graph_managed_android_lob_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_managed_android_lob_app/graph_managed_android_lob_app_request_builder.py index 4a84b37bb2b..d04895697fe 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_managed_android_lob_app/graph_managed_android_lob_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_managed_android_lob_app/graph_managed_android_lob_app_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphManaged request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphManagedAndroidLobAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_managed_i_o_s_lob_app/graph_managed_i_o_s_lob_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_managed_i_o_s_lob_app/graph_managed_i_o_s_lob_app_request_builder.py index bfcb275ad9f..af8e7708515 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_managed_i_o_s_lob_app/graph_managed_i_o_s_lob_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_managed_i_o_s_lob_app/graph_managed_i_o_s_lob_app_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphManaged request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphManagedIOSLobAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_managed_mobile_lob_app/graph_managed_mobile_lob_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_managed_mobile_lob_app/graph_managed_mobile_lob_app_request_builder.py index bb1e16109a3..e9acf5a168f 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_managed_mobile_lob_app/graph_managed_mobile_lob_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_managed_mobile_lob_app/graph_managed_mobile_lob_app_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphManaged request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphManagedMobileLobAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_microsoft_store_for_business_app/graph_microsoft_store_for_business_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_microsoft_store_for_business_app/graph_microsoft_store_for_business_app_request_builder.py index f756df5488f..690c75b4cc8 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_microsoft_store_for_business_app/graph_microsoft_store_for_business_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_microsoft_store_for_business_app/graph_microsoft_store_for_business_app_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphMicroso request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphMicrosoftStoreForBusinessAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_win32_lob_app/graph_win32_lob_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_win32_lob_app/graph_win32_lob_app_request_builder.py index 55f087de724..a5014683797 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_win32_lob_app/graph_win32_lob_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_win32_lob_app/graph_win32_lob_app_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphWin32Lo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphWin32LobAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_win_get_app/graph_win_get_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_win_get_app/graph_win_get_app_request_builder.py index 86bb6dc01bd..eac089e7da0 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_win_get_app/graph_win_get_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_win_get_app/graph_win_get_app_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphWinGetA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphWinGetAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_app_x/graph_windows_app_x_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_app_x/graph_windows_app_x_request_builder.py index 45d9f3f2108..7a3923ab719 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_app_x/graph_windows_app_x_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_app_x/graph_windows_app_x_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphWindows request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphWindowsAppXRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_mobile_m_s_i/graph_windows_mobile_m_s_i_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_mobile_m_s_i/graph_windows_mobile_m_s_i_request_builder.py index 39c7d21504b..4cc43bbe43e 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_mobile_m_s_i/graph_windows_mobile_m_s_i_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_mobile_m_s_i/graph_windows_mobile_m_s_i_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphWindows request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphWindowsMobileMSIRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_store_app/graph_windows_store_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_store_app/graph_windows_store_app_request_builder.py index 0997fdaf51f..f8f379bec67 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_store_app/graph_windows_store_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_store_app/graph_windows_store_app_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphWindows request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphWindowsStoreAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_universal_app_x/graph_windows_universal_app_x_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_universal_app_x/graph_windows_universal_app_x_request_builder.py index 47cdcc828f8..f2582561d7b 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_universal_app_x/graph_windows_universal_app_x_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_universal_app_x/graph_windows_universal_app_x_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphWindows request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphWindowsUniversalAppXRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_web_app/graph_windows_web_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_web_app/graph_windows_web_app_request_builder.py index 5af25534b11..0e7a35f117d 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_web_app/graph_windows_web_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/graph_windows_web_app/graph_windows_web_app_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphWindows request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphWindowsWebAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/has_payload_links/has_payload_links_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/has_payload_links/has_payload_links_request_builder.py index a659222d1a9..c7add720c0e 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/has_payload_links/has_payload_links_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/has_payload_links/has_payload_links_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[HasPayloadLinksPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/assign/assign_request_builder.py index 72e8864dbb5..9154080bfa5 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/assign/assign_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/assignments/assignments_request_builder.py index 992ac2e82be..0f80623a166 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/assignments/item/mobile_app_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/assignments/item/mobile_app_assignment_item_request_builder.py index 429f602c479..13f2565aa9a 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/assignments/item/mobile_app_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/assignments/item/mobile_app_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[MobileAppAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/categories/categories_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/categories/categories_request_builder.py index 8c0509fd374..f01a2ca9485 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/categories/categories_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/categories/categories_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CategoriesRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/categories/item/mobile_app_category_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/categories/item/mobile_app_category_item_request_builder.py index cde0fd42a2a..3686c8c66da 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/categories/item/mobile_app_category_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/categories/item/mobile_app_category_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MobileAppCategoryItemRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/assignments/assignments_request_builder.py index 0293e77d22d..2870d382e59 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/assignments/item/mobile_app_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/assignments/item/mobile_app_assignment_item_request_builder.py index 1aad165197b..3c2454b7297 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/assignments/item/mobile_app_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/assignments/item/mobile_app_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[MobileAppAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/categories/categories_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/categories/categories_request_builder.py index 8fbad87e840..4767b45d942 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/categories/categories_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/categories/categories_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CategoriesRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/categories/item/mobile_app_category_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/categories/item/mobile_app_category_item_request_builder.py index 5eaea498ffe..5ae7fbb84bc 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/categories/item/mobile_app_category_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/categories/item/mobile_app_category_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MobileAppCategoryItemRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/graph_android_for_work_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/graph_android_for_work_app_request_builder.py index c8f193e5232..c79876a7641 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/graph_android_for_work_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/graph_android_for_work_app_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAndroid request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAndroidForWorkAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/item/mobile_app_relationship_item_request_builder.py index 0aa60925b35..d7ad1a6562f 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppRelationshipItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppRel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppRelationship] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/relationships_request_builder.py index 5cf8d528bc0..c60e5d59684 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_for_work_app/relationships/relationships_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Relationship request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[RelationshipsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppRelationship] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/assignments/assignments_request_builder.py index e929ea56ec8..bba66b8e608 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/assignments/item/mobile_app_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/assignments/item/mobile_app_assignment_item_request_builder.py index cd688a24671..49b590dfa4e 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/assignments/item/mobile_app_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/assignments/item/mobile_app_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[MobileAppAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/categories/categories_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/categories/categories_request_builder.py index 99c66fde10d..4d57d0c15e1 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/categories/categories_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/categories/categories_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CategoriesRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/categories/item/mobile_app_category_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/categories/item/mobile_app_category_item_request_builder.py index d7f46096a65..f73a2f91eb5 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/categories/item/mobile_app_category_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/categories/item/mobile_app_category_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MobileAppCategoryItemRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/content_versions_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/content_versions_request_builder.py index 99bf66618ff..e338d30c662 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/content_versions_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/content_versions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentVersi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppContent] = None, request_configuration: Optional[ContentVersionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppContent] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/contained_apps/contained_apps_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/contained_apps/contained_apps_request_builder.py index 2f11e63b8c9..fe51f8051c3 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/contained_apps/contained_apps_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/contained_apps/contained_apps_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ContainedApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileContainedApp] = None, request_configuration: Optional[ContainedAppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileContainedApp] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py index 9fd0dc4cb68..f883de92cf4 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileContainedAppItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileContai request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileContainedApp] = None, request_configuration: Optional[MobileContainedAppItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileContainedApp] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/files/files_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/files/files_request_builder.py index d88ab47adda..3363e710d91 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/files/files_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[FilesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppContentFile] = None, request_configuration: Optional[FilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppContentFile] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/files/item/commit/commit_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/files/item/commit/commit_request_builder.py index 38e154f4a77..6804e9446a4 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/files/item/commit/commit_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/files/item/commit/commit_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[CommitPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py index e591bcd9bdb..e7513abb695 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppContentFileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppContentFile] = None, request_configuration: Optional[MobileAppContentFileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MobileAppContentFile] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py index 2ae77691010..222728b2416 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RenewUpload request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RenewUploadRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/mobile_app_content_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/mobile_app_content_item_request_builder.py index 8d9ffc48b32..ca66a8f9017 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/mobile_app_content_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/content_versions/item/mobile_app_content_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppContent] = None, request_configuration: Optional[MobileAppContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MobileAppContent] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/graph_android_lob_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/graph_android_lob_app_request_builder.py index 1eb3b22add1..f5353e13334 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/graph_android_lob_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/graph_android_lob_app_request_builder.py @@ -65,7 +65,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAndroid request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAndroidLobAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py index 3c086f0e5a2..1d55d8f8769 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppRelationshipItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppRel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppRelationship] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/relationships_request_builder.py index 0815cdc2c65..841d13f13fd 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_lob_app/relationships/relationships_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Relationship request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[RelationshipsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppRelationship] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/assignments/assignments_request_builder.py index e2c4ac472a9..d96a7968c91 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/assignments/item/mobile_app_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/assignments/item/mobile_app_assignment_item_request_builder.py index 4c5f024fd6e..8cc39dff715 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/assignments/item/mobile_app_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/assignments/item/mobile_app_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[MobileAppAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/categories/categories_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/categories/categories_request_builder.py index 7c2d6fd9112..f10c29c3487 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/categories/categories_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/categories/categories_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CategoriesRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/categories/item/mobile_app_category_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/categories/item/mobile_app_category_item_request_builder.py index 8041d659bc6..afb172ef32c 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/categories/item/mobile_app_category_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/categories/item/mobile_app_category_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MobileAppCategoryItemRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/graph_android_managed_store_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/graph_android_managed_store_app_request_builder.py index f2637a43a55..e75d65a2f9b 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/graph_android_managed_store_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/graph_android_managed_store_app_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAndroid request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAndroidManagedStoreAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/item/mobile_app_relationship_item_request_builder.py index ea3bb8dd32b..4d20f2abf7c 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppRelationshipItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppRel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppRelationship] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/relationships_request_builder.py index 53fb53faf00..1c13dae6c66 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_managed_store_app/relationships/relationships_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Relationship request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[RelationshipsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppRelationship] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/assignments/assignments_request_builder.py index 79173819777..3397c741e4c 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/assignments/item/mobile_app_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/assignments/item/mobile_app_assignment_item_request_builder.py index a2984b43347..cd77902be23 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/assignments/item/mobile_app_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/assignments/item/mobile_app_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[MobileAppAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/categories/categories_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/categories/categories_request_builder.py index a271da23475..ed2cfd196db 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/categories/categories_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/categories/categories_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CategoriesRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/categories/item/mobile_app_category_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/categories/item/mobile_app_category_item_request_builder.py index 2c8067c0312..ce2dd9f9fda 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/categories/item/mobile_app_category_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/categories/item/mobile_app_category_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MobileAppCategoryItemRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/graph_android_store_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/graph_android_store_app_request_builder.py index 316760c1f33..6b7bb65d764 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/graph_android_store_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/graph_android_store_app_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAndroid request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAndroidStoreAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/relationships/item/mobile_app_relationship_item_request_builder.py index 241b000edec..fe6932befd9 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppRelationshipItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppRel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppRelationship] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/relationships/relationships_request_builder.py index 9979e61f37f..647113a22d3 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_android_store_app/relationships/relationships_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Relationship request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[RelationshipsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppRelationship] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/assignments/assignments_request_builder.py index 8a86d9e5c9d..93d51904aba 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/assignments/item/mobile_app_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/assignments/item/mobile_app_assignment_item_request_builder.py index 8374d99595f..3a567d74440 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/assignments/item/mobile_app_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/assignments/item/mobile_app_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[MobileAppAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/categories/categories_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/categories/categories_request_builder.py index b4cbbdcc047..39beac1217e 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/categories/categories_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/categories/categories_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CategoriesRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/categories/item/mobile_app_category_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/categories/item/mobile_app_category_item_request_builder.py index eec0545e5d1..0edb517c281 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/categories/item/mobile_app_category_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/categories/item/mobile_app_category_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MobileAppCategoryItemRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/content_versions_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/content_versions_request_builder.py index 22bfa50e841..51bf574ea73 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/content_versions_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/content_versions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentVersi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppContent] = None, request_configuration: Optional[ContentVersionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppContent] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/contained_apps/contained_apps_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/contained_apps/contained_apps_request_builder.py index 17bf26af7d3..1d04ee61d3a 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/contained_apps/contained_apps_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/contained_apps/contained_apps_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ContainedApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileContainedApp] = None, request_configuration: Optional[ContainedAppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileContainedApp] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py index 2cf17720f0e..dcebc4a516e 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileContainedAppItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileContai request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileContainedApp] = None, request_configuration: Optional[MobileContainedAppItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileContainedApp] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/files/files_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/files/files_request_builder.py index d958231ebdc..ae4613ffe82 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/files/files_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[FilesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppContentFile] = None, request_configuration: Optional[FilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppContentFile] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/files/item/commit/commit_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/files/item/commit/commit_request_builder.py index 01a28e214d6..d985a653dcf 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/files/item/commit/commit_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/files/item/commit/commit_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[CommitPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py index ffc20cc9a16..58ac662ddd3 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppContentFileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppContentFile] = None, request_configuration: Optional[MobileAppContentFileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MobileAppContentFile] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py index c426a8a8833..fe69869e04d 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RenewUpload request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RenewUploadRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/mobile_app_content_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/mobile_app_content_item_request_builder.py index de6c78a1c42..c8aa053c8a5 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/mobile_app_content_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/content_versions/item/mobile_app_content_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppContent] = None, request_configuration: Optional[MobileAppContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MobileAppContent] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/graph_ios_lob_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/graph_ios_lob_app_request_builder.py index 0d23503b8df..c2cea859888 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/graph_ios_lob_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/graph_ios_lob_app_request_builder.py @@ -65,7 +65,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphIosLobA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphIosLobAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py index d446ec2ef68..0b3b5c43633 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppRelationshipItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppRel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppRelationship] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/relationships/relationships_request_builder.py index 7de009b1ce5..595d58d8d7a 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_lob_app/relationships/relationships_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Relationship request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[RelationshipsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppRelationship] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/assignments/assignments_request_builder.py index 3473d29aad1..ffcee3fb2eb 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/assignments/item/mobile_app_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/assignments/item/mobile_app_assignment_item_request_builder.py index 34575c7fe70..e015f08aa7d 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/assignments/item/mobile_app_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/assignments/item/mobile_app_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[MobileAppAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/categories/categories_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/categories/categories_request_builder.py index b6ab6dc33cc..24fb7ea1c52 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/categories/categories_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/categories/categories_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CategoriesRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/categories/item/mobile_app_category_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/categories/item/mobile_app_category_item_request_builder.py index d6cac4e1137..05c7ff15c98 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/categories/item/mobile_app_category_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/categories/item/mobile_app_category_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MobileAppCategoryItemRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/graph_ios_store_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/graph_ios_store_app_request_builder.py index e355bbd2c2e..b4213258b4c 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/graph_ios_store_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/graph_ios_store_app_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphIosStor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphIosStoreAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/relationships/item/mobile_app_relationship_item_request_builder.py index 84a3ed3b491..82bcf1cd8fa 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppRelationshipItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppRel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppRelationship] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/relationships/relationships_request_builder.py index 88c419eb107..5f0e02e51aa 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_store_app/relationships/relationships_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Relationship request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[RelationshipsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppRelationship] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/assigned_licenses/assigned_licenses_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/assigned_licenses/assigned_licenses_request_builder.py index 1acf55e790e..6b13243ac5f 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/assigned_licenses/assigned_licenses_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/assigned_licenses/assigned_licenses_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignedLice request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[IosVppAppAssignedLicense] = None, request_configuration: Optional[AssignedLicensesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[IosVppAppAssignedLicense] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/assigned_licenses/item/ios_vpp_app_assigned_license_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/assigned_licenses/item/ios_vpp_app_assigned_license_item_request_builder.py index c8c466f86f3..33e77ad72fe 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/assigned_licenses/item/ios_vpp_app_assigned_license_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/assigned_licenses/item/ios_vpp_app_assigned_license_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[IosVppApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[IosVppAppAssignedLicenseItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[IosVppAppAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[IosVppAppAssignedLicense] = None, request_configuration: Optional[IosVppAppAssignedLicenseItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[IosVppAppAssignedLicense] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/assignments/assignments_request_builder.py index 2fe5c90e78a..73fab798df3 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/assignments/item/mobile_app_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/assignments/item/mobile_app_assignment_item_request_builder.py index b8aa39bd09b..90486d9d145 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/assignments/item/mobile_app_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/assignments/item/mobile_app_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[MobileAppAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/categories/categories_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/categories/categories_request_builder.py index 71bd3ef047f..e103ecb16e8 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/categories/categories_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/categories/categories_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CategoriesRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/categories/item/mobile_app_category_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/categories/item/mobile_app_category_item_request_builder.py index d22c62965d5..6e9d8f39265 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/categories/item/mobile_app_category_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/categories/item/mobile_app_category_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MobileAppCategoryItemRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/graph_ios_vpp_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/graph_ios_vpp_app_request_builder.py index 89bb1de365f..490ff5ead4b 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/graph_ios_vpp_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/graph_ios_vpp_app_request_builder.py @@ -65,7 +65,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphIosVppA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphIosVppAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/relationships/item/mobile_app_relationship_item_request_builder.py index e8769ff1f45..5a56dd85532 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppRelationshipItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppRel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppRelationship] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/relationships/relationships_request_builder.py index b4f2f83cd5e..bd07a89150a 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_ios_vpp_app/relationships/relationships_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Relationship request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[RelationshipsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppRelationship] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/assignments/assignments_request_builder.py index ff486cb6c46..c5b08d2affc 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/assignments/item/mobile_app_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/assignments/item/mobile_app_assignment_item_request_builder.py index 74adcc3cf9c..fce43db1575 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/assignments/item/mobile_app_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/assignments/item/mobile_app_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[MobileAppAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/categories/categories_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/categories/categories_request_builder.py index 3457467d61f..8bb57138a6a 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/categories/categories_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/categories/categories_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CategoriesRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/categories/item/mobile_app_category_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/categories/item/mobile_app_category_item_request_builder.py index 49621ff117c..d9744a617fc 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/categories/item/mobile_app_category_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/categories/item/mobile_app_category_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MobileAppCategoryItemRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/content_versions_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/content_versions_request_builder.py index ce4e21dee45..309c6af79a4 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/content_versions_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/content_versions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentVersi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppContent] = None, request_configuration: Optional[ContentVersionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppContent] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/contained_apps/contained_apps_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/contained_apps/contained_apps_request_builder.py index 8cfa8841009..ae6d84775f1 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/contained_apps/contained_apps_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/contained_apps/contained_apps_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ContainedApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileContainedApp] = None, request_configuration: Optional[ContainedAppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileContainedApp] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py index 4a9c16444b9..c34591190f3 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileContainedAppItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileContai request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileContainedApp] = None, request_configuration: Optional[MobileContainedAppItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileContainedApp] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/files/files_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/files/files_request_builder.py index 300ab7bd5e8..0f5d9b75b44 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/files/files_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[FilesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppContentFile] = None, request_configuration: Optional[FilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppContentFile] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/files/item/commit/commit_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/files/item/commit/commit_request_builder.py index 3d1f8dfb2d5..91e3430659b 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/files/item/commit/commit_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/files/item/commit/commit_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[CommitPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py index 9f22b446f17..f65e60376e9 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppContentFileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppContentFile] = None, request_configuration: Optional[MobileAppContentFileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MobileAppContentFile] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py index 3e88947c8b4..9737804f435 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RenewUpload request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RenewUploadRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/mobile_app_content_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/mobile_app_content_item_request_builder.py index 5591f57e54e..da2542ecaaa 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/mobile_app_content_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/content_versions/item/mobile_app_content_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppContent] = None, request_configuration: Optional[MobileAppContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MobileAppContent] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/graph_mac_o_s_dmg_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/graph_mac_o_s_dmg_app_request_builder.py index 9025f9a46ff..4c0eb2de6d1 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/graph_mac_o_s_dmg_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/graph_mac_o_s_dmg_app_request_builder.py @@ -65,7 +65,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphMacOSDm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphMacOSDmgAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/relationships/item/mobile_app_relationship_item_request_builder.py index 1ac6365bf1a..7a9aa3af2b3 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppRelationshipItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppRel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppRelationship] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/relationships/relationships_request_builder.py index 2e106922156..08fdc1accd2 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_dmg_app/relationships/relationships_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Relationship request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[RelationshipsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppRelationship] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/assignments/assignments_request_builder.py index 492aef00bd2..ce74ba5b628 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/assignments/item/mobile_app_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/assignments/item/mobile_app_assignment_item_request_builder.py index 22251e3a46f..aef5b2c2868 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/assignments/item/mobile_app_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/assignments/item/mobile_app_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[MobileAppAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/categories/categories_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/categories/categories_request_builder.py index 0eb219ef8e6..861f7de38ce 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/categories/categories_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/categories/categories_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CategoriesRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/categories/item/mobile_app_category_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/categories/item/mobile_app_category_item_request_builder.py index 5b281c47ab7..f68d71e33be 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/categories/item/mobile_app_category_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/categories/item/mobile_app_category_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MobileAppCategoryItemRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/content_versions_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/content_versions_request_builder.py index a0385ad18b2..684c331eb2a 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/content_versions_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/content_versions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentVersi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppContent] = None, request_configuration: Optional[ContentVersionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppContent] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/contained_apps/contained_apps_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/contained_apps/contained_apps_request_builder.py index 7dac6a4a6ac..04863f72843 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/contained_apps/contained_apps_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/contained_apps/contained_apps_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ContainedApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileContainedApp] = None, request_configuration: Optional[ContainedAppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileContainedApp] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py index f40b0678349..5b0473231f8 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileContainedAppItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileContai request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileContainedApp] = None, request_configuration: Optional[MobileContainedAppItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileContainedApp] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/files/files_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/files/files_request_builder.py index b76db7d36fc..2bab256d9b8 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/files/files_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[FilesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppContentFile] = None, request_configuration: Optional[FilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppContentFile] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/files/item/commit/commit_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/files/item/commit/commit_request_builder.py index 1b01c22de22..88f17b86ae2 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/files/item/commit/commit_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/files/item/commit/commit_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[CommitPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py index 6f31bbd2736..51892cb4d69 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppContentFileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppContentFile] = None, request_configuration: Optional[MobileAppContentFileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MobileAppContentFile] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py index 967a8280b55..0ded47645d2 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RenewUpload request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RenewUploadRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/mobile_app_content_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/mobile_app_content_item_request_builder.py index f761de2b718..52a54570c5f 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/mobile_app_content_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/content_versions/item/mobile_app_content_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppContent] = None, request_configuration: Optional[MobileAppContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MobileAppContent] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/graph_mac_o_s_lob_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/graph_mac_o_s_lob_app_request_builder.py index 1c992c312a0..c7f5b0db9fa 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/graph_mac_o_s_lob_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/graph_mac_o_s_lob_app_request_builder.py @@ -65,7 +65,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphMacOSLo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphMacOSLobAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py index dcde7e949a9..3b400e4dd71 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppRelationshipItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppRel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppRelationship] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/relationships/relationships_request_builder.py index 6e3c07a5be6..89a0f428ee8 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_lob_app/relationships/relationships_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Relationship request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[RelationshipsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppRelationship] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/assignments/assignments_request_builder.py index 78f1124c31e..61ab7bb0510 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/assignments/item/mobile_app_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/assignments/item/mobile_app_assignment_item_request_builder.py index 24e4067f4be..51d594ba820 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/assignments/item/mobile_app_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/assignments/item/mobile_app_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[MobileAppAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/categories/categories_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/categories/categories_request_builder.py index 9b4288f182f..d4d487f682e 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/categories/categories_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/categories/categories_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CategoriesRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/categories/item/mobile_app_category_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/categories/item/mobile_app_category_item_request_builder.py index 998b27e3518..aaa2a8febcb 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/categories/item/mobile_app_category_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/categories/item/mobile_app_category_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MobileAppCategoryItemRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/content_versions_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/content_versions_request_builder.py index ce85996ae47..30a695de83a 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/content_versions_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/content_versions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentVersi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppContent] = None, request_configuration: Optional[ContentVersionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppContent] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/contained_apps/contained_apps_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/contained_apps/contained_apps_request_builder.py index 89eef603bb5..f300b291634 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/contained_apps/contained_apps_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/contained_apps/contained_apps_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ContainedApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileContainedApp] = None, request_configuration: Optional[ContainedAppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileContainedApp] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py index e4f83ff7b94..e282673fc3b 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileContainedAppItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileContai request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileContainedApp] = None, request_configuration: Optional[MobileContainedAppItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileContainedApp] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/files/files_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/files/files_request_builder.py index 3e94ebff1d7..0189fddb833 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/files/files_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[FilesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppContentFile] = None, request_configuration: Optional[FilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppContentFile] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/files/item/commit/commit_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/files/item/commit/commit_request_builder.py index a257c3f2ed4..81feddab0c1 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/files/item/commit/commit_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/files/item/commit/commit_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[CommitPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py index 133aaad9364..d002a894077 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppContentFileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppContentFile] = None, request_configuration: Optional[MobileAppContentFileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MobileAppContentFile] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py index 7e1dc1e0dfa..d9e59b4cc88 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RenewUpload request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RenewUploadRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/mobile_app_content_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/mobile_app_content_item_request_builder.py index 65e7c5a3b68..1462a3c8520 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/mobile_app_content_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/content_versions/item/mobile_app_content_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppContent] = None, request_configuration: Optional[MobileAppContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MobileAppContent] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/graph_mac_o_s_pkg_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/graph_mac_o_s_pkg_app_request_builder.py index 02509b55713..bb74aaf4b1a 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/graph_mac_o_s_pkg_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/graph_mac_o_s_pkg_app_request_builder.py @@ -65,7 +65,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphMacOSPk request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphMacOSPkgAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/relationships/item/mobile_app_relationship_item_request_builder.py index 00db061403b..04996477fbd 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppRelationshipItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppRel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppRelationship] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/relationships/relationships_request_builder.py index e24ef6bdf93..0949985cd5d 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_mac_o_s_pkg_app/relationships/relationships_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Relationship request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[RelationshipsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppRelationship] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/assignments/assignments_request_builder.py index 11c9d139d83..8c119f8055e 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/assignments/item/mobile_app_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/assignments/item/mobile_app_assignment_item_request_builder.py index 9f88893c853..55fc052c390 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/assignments/item/mobile_app_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/assignments/item/mobile_app_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[MobileAppAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/categories/categories_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/categories/categories_request_builder.py index 3e30e9a242b..a2ddc7ae568 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/categories/categories_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/categories/categories_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CategoriesRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/categories/item/mobile_app_category_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/categories/item/mobile_app_category_item_request_builder.py index 94af9c787b2..60667d8fde8 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/categories/item/mobile_app_category_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/categories/item/mobile_app_category_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MobileAppCategoryItemRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/content_versions_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/content_versions_request_builder.py index 60288641fac..9990d3f18bb 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/content_versions_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/content_versions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentVersi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppContent] = None, request_configuration: Optional[ContentVersionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppContent] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/contained_apps/contained_apps_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/contained_apps/contained_apps_request_builder.py index 14ea4aa1baf..a262453c4a8 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/contained_apps/contained_apps_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/contained_apps/contained_apps_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ContainedApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileContainedApp] = None, request_configuration: Optional[ContainedAppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileContainedApp] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py index 1c4c90c06f8..ee04fdf85a0 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileContainedAppItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileContai request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileContainedApp] = None, request_configuration: Optional[MobileContainedAppItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileContainedApp] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/files/files_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/files/files_request_builder.py index 76d71a2b3d1..a00eace6c10 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/files/files_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[FilesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppContentFile] = None, request_configuration: Optional[FilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppContentFile] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/files/item/commit/commit_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/files/item/commit/commit_request_builder.py index 577a9e263e0..93c9a790e54 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/files/item/commit/commit_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/files/item/commit/commit_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[CommitPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py index d98139b6ffe..80d17fae7d4 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppContentFileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppContentFile] = None, request_configuration: Optional[MobileAppContentFileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MobileAppContentFile] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py index 42c46788110..875cabcf26f 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RenewUpload request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RenewUploadRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/mobile_app_content_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/mobile_app_content_item_request_builder.py index e7f49523ff1..d9cef022348 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/mobile_app_content_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/content_versions/item/mobile_app_content_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppContent] = None, request_configuration: Optional[MobileAppContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MobileAppContent] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/graph_managed_android_lob_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/graph_managed_android_lob_app_request_builder.py index 1552a46e7bf..c1be632f6fc 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/graph_managed_android_lob_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/graph_managed_android_lob_app_request_builder.py @@ -65,7 +65,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphManaged request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphManagedAndroidLobAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py index 0ced01dfd5c..931f7f0fe31 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppRelationshipItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppRel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppRelationship] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/relationships/relationships_request_builder.py index 0a2a9feff85..1172e39f315 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_android_lob_app/relationships/relationships_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Relationship request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[RelationshipsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppRelationship] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/assignments/assignments_request_builder.py index 4267ef1a93a..982c8c7d385 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/assignments/item/mobile_app_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/assignments/item/mobile_app_assignment_item_request_builder.py index 0755eea0a2d..136f08cc40c 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/assignments/item/mobile_app_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/assignments/item/mobile_app_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[MobileAppAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/categories/categories_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/categories/categories_request_builder.py index 1fbdf026e2d..d97e68a4169 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/categories/categories_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/categories/categories_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CategoriesRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/categories/item/mobile_app_category_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/categories/item/mobile_app_category_item_request_builder.py index b49346ed6df..d9127ba0937 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/categories/item/mobile_app_category_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/categories/item/mobile_app_category_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MobileAppCategoryItemRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/content_versions_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/content_versions_request_builder.py index 19cbf97377a..4cfa0c11292 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/content_versions_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/content_versions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentVersi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppContent] = None, request_configuration: Optional[ContentVersionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppContent] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/contained_apps/contained_apps_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/contained_apps/contained_apps_request_builder.py index 7f62df01cfa..7e6aa377946 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/contained_apps/contained_apps_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/contained_apps/contained_apps_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ContainedApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileContainedApp] = None, request_configuration: Optional[ContainedAppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileContainedApp] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py index b8ee4a304a6..a61ea09f7b7 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileContainedAppItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileContai request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileContainedApp] = None, request_configuration: Optional[MobileContainedAppItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileContainedApp] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/files/files_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/files/files_request_builder.py index af49b001791..7129a72e763 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/files/files_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[FilesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppContentFile] = None, request_configuration: Optional[FilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppContentFile] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/files/item/commit/commit_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/files/item/commit/commit_request_builder.py index 9fca7127ca5..2ef12f53289 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/files/item/commit/commit_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/files/item/commit/commit_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[CommitPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py index af41b853809..eed578471fc 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppContentFileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppContentFile] = None, request_configuration: Optional[MobileAppContentFileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MobileAppContentFile] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py index 76f82bf3c99..4a5bf3311f7 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RenewUpload request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RenewUploadRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/mobile_app_content_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/mobile_app_content_item_request_builder.py index aa7bc83ea80..15be594b466 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/mobile_app_content_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/content_versions/item/mobile_app_content_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppContent] = None, request_configuration: Optional[MobileAppContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MobileAppContent] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/graph_managed_i_o_s_lob_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/graph_managed_i_o_s_lob_app_request_builder.py index 42f1ec3802d..94c3a4511b7 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/graph_managed_i_o_s_lob_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/graph_managed_i_o_s_lob_app_request_builder.py @@ -65,7 +65,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphManaged request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphManagedIOSLobAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py index 1a560628299..bbca69ae843 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppRelationshipItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppRel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppRelationship] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/relationships/relationships_request_builder.py index 4c0cc4ef0ca..769ca272e58 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_i_o_s_lob_app/relationships/relationships_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Relationship request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[RelationshipsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppRelationship] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/assignments/assignments_request_builder.py index b9344546bc8..6396fdca6be 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/assignments/item/mobile_app_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/assignments/item/mobile_app_assignment_item_request_builder.py index 93e82811996..aae10ee3c31 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/assignments/item/mobile_app_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/assignments/item/mobile_app_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[MobileAppAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/categories/categories_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/categories/categories_request_builder.py index 65fa077f145..05e27af7203 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/categories/categories_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/categories/categories_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CategoriesRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/categories/item/mobile_app_category_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/categories/item/mobile_app_category_item_request_builder.py index eed89ce8b19..bb12a08965f 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/categories/item/mobile_app_category_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/categories/item/mobile_app_category_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MobileAppCategoryItemRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/content_versions_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/content_versions_request_builder.py index 316ce12d21d..45247f4ff14 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/content_versions_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/content_versions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentVersi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppContent] = None, request_configuration: Optional[ContentVersionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppContent] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/contained_apps/contained_apps_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/contained_apps/contained_apps_request_builder.py index 1851f0eb486..6925d8749f7 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/contained_apps/contained_apps_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/contained_apps/contained_apps_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ContainedApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileContainedApp] = None, request_configuration: Optional[ContainedAppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileContainedApp] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py index f695e0e7bb3..9882e5549fe 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileContainedAppItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileContai request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileContainedApp] = None, request_configuration: Optional[MobileContainedAppItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileContainedApp] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/files/files_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/files/files_request_builder.py index a065ed8ee44..0c6725a7678 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/files/files_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[FilesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppContentFile] = None, request_configuration: Optional[FilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppContentFile] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/files/item/commit/commit_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/files/item/commit/commit_request_builder.py index 0bcc3563e99..0f75cd251c4 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/files/item/commit/commit_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/files/item/commit/commit_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[CommitPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py index d14e6e7d519..29e2dd44ef9 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppContentFileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppContentFile] = None, request_configuration: Optional[MobileAppContentFileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MobileAppContentFile] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py index aa862ea22dc..d831992068d 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RenewUpload request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RenewUploadRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/mobile_app_content_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/mobile_app_content_item_request_builder.py index cd6db53f3f9..d1f7bd01748 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/mobile_app_content_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/content_versions/item/mobile_app_content_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppContent] = None, request_configuration: Optional[MobileAppContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MobileAppContent] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/graph_managed_mobile_lob_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/graph_managed_mobile_lob_app_request_builder.py index bf4bcf0b066..3f3a27303e0 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/graph_managed_mobile_lob_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/graph_managed_mobile_lob_app_request_builder.py @@ -65,7 +65,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphManaged request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphManagedMobileLobAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py index 9cdf83b839c..574a4db0103 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppRelationshipItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppRel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppRelationship] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/relationships/relationships_request_builder.py index af508c6fb4a..0b60b1809ae 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_managed_mobile_lob_app/relationships/relationships_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Relationship request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[RelationshipsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppRelationship] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/assignments/assignments_request_builder.py index 3dfce0f26f5..e901c1a0980 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/assignments/item/mobile_app_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/assignments/item/mobile_app_assignment_item_request_builder.py index b17d6dca085..593c5834ff7 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/assignments/item/mobile_app_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/assignments/item/mobile_app_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[MobileAppAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/categories/categories_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/categories/categories_request_builder.py index 6e2816506dd..c6a1953fbed 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/categories/categories_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/categories/categories_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CategoriesRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/categories/item/mobile_app_category_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/categories/item/mobile_app_category_item_request_builder.py index 257e31a3964..994ed2230c6 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/categories/item/mobile_app_category_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/categories/item/mobile_app_category_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MobileAppCategoryItemRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/contained_apps/contained_apps_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/contained_apps/contained_apps_request_builder.py index 435a390402d..30e41d5ca10 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/contained_apps/contained_apps_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/contained_apps/contained_apps_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ContainedApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileContainedApp] = None, request_configuration: Optional[ContainedAppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileContainedApp] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/contained_apps/item/mobile_contained_app_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/contained_apps/item/mobile_contained_app_item_request_builder.py index d936d7c5099..07a8975916a 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/contained_apps/item/mobile_contained_app_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/contained_apps/item/mobile_contained_app_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileContainedAppItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileContai request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileContainedApp] = None, request_configuration: Optional[MobileContainedAppItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileContainedApp] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/graph_microsoft_store_for_business_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/graph_microsoft_store_for_business_app_request_builder.py index c919a13c016..c987ba3f57d 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/graph_microsoft_store_for_business_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/graph_microsoft_store_for_business_app_request_builder.py @@ -65,7 +65,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphMicroso request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphMicrosoftStoreForBusinessAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/relationships/item/mobile_app_relationship_item_request_builder.py index c107bf6ff03..175fc1ed6b7 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppRelationshipItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppRel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppRelationship] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/relationships/relationships_request_builder.py index 59f332908e0..ae421eb0ce2 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_microsoft_store_for_business_app/relationships/relationships_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Relationship request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[RelationshipsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppRelationship] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/assignments/assignments_request_builder.py index a4aa57e3fc7..07ac9e593c0 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/assignments/item/mobile_app_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/assignments/item/mobile_app_assignment_item_request_builder.py index aa314921868..c0da3e8624a 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/assignments/item/mobile_app_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/assignments/item/mobile_app_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[MobileAppAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/categories/categories_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/categories/categories_request_builder.py index df045165598..eea1dcc3541 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/categories/categories_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/categories/categories_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CategoriesRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/categories/item/mobile_app_category_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/categories/item/mobile_app_category_item_request_builder.py index 01421db43ce..f0eb9411ac4 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/categories/item/mobile_app_category_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/categories/item/mobile_app_category_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MobileAppCategoryItemRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/content_versions_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/content_versions_request_builder.py index ac2d12bf630..059bb42c85b 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/content_versions_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/content_versions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentVersi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppContent] = None, request_configuration: Optional[ContentVersionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppContent] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/contained_apps/contained_apps_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/contained_apps/contained_apps_request_builder.py index 7adcf575fcd..bf87c8ffe26 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/contained_apps/contained_apps_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/contained_apps/contained_apps_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ContainedApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileContainedApp] = None, request_configuration: Optional[ContainedAppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileContainedApp] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py index 6b052ded840..e84e484e66c 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileContainedAppItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileContai request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileContainedApp] = None, request_configuration: Optional[MobileContainedAppItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileContainedApp] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/files/files_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/files/files_request_builder.py index ad7fb7e5c49..0ab24baa1c2 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/files/files_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[FilesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppContentFile] = None, request_configuration: Optional[FilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppContentFile] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/files/item/commit/commit_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/files/item/commit/commit_request_builder.py index 0e5217403c4..a1b97a95a58 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/files/item/commit/commit_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/files/item/commit/commit_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[CommitPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py index 1d10eab46a9..ccf03f85a17 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppContentFileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppContentFile] = None, request_configuration: Optional[MobileAppContentFileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MobileAppContentFile] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py index 707f2cef524..9130da3df0e 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RenewUpload request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RenewUploadRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/mobile_app_content_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/mobile_app_content_item_request_builder.py index 86e482ec371..14fa2d3b54e 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/mobile_app_content_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/content_versions/item/mobile_app_content_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppContent] = None, request_configuration: Optional[MobileAppContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MobileAppContent] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/graph_win32_lob_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/graph_win32_lob_app_request_builder.py index 8b90bf177a9..8c3f8776346 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/graph_win32_lob_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/graph_win32_lob_app_request_builder.py @@ -65,7 +65,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphWin32Lo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphWin32LobAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py index 09d56f7a53b..852b965404b 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppRelationshipItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppRel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppRelationship] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/relationships/relationships_request_builder.py index a0630466d27..b8f2f300114 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win32_lob_app/relationships/relationships_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Relationship request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[RelationshipsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppRelationship] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/assignments/assignments_request_builder.py index 08d0a982ea8..1b2823d1c7e 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/assignments/item/mobile_app_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/assignments/item/mobile_app_assignment_item_request_builder.py index dea8d77981a..c4812f20382 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/assignments/item/mobile_app_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/assignments/item/mobile_app_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[MobileAppAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/categories/categories_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/categories/categories_request_builder.py index 955b3d45987..2beebef0a1f 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/categories/categories_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/categories/categories_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CategoriesRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/categories/item/mobile_app_category_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/categories/item/mobile_app_category_item_request_builder.py index c85bf595581..4fb01815efb 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/categories/item/mobile_app_category_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/categories/item/mobile_app_category_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MobileAppCategoryItemRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/graph_win_get_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/graph_win_get_app_request_builder.py index d718503ff71..d4ce4503033 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/graph_win_get_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/graph_win_get_app_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphWinGetA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphWinGetAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/relationships/item/mobile_app_relationship_item_request_builder.py index 68e4c80e128..cdd21c56185 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppRelationshipItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppRel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppRelationship] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/relationships/relationships_request_builder.py index c7a3c3c4c47..9e0b7c69749 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_win_get_app/relationships/relationships_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Relationship request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[RelationshipsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppRelationship] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/assignments/assignments_request_builder.py index 695f4eb1fe1..96a5259bcbe 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/assignments/item/mobile_app_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/assignments/item/mobile_app_assignment_item_request_builder.py index f79700287d3..b548d3f769c 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/assignments/item/mobile_app_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/assignments/item/mobile_app_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[MobileAppAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/categories/categories_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/categories/categories_request_builder.py index c373610b79e..dc3ae75afbe 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/categories/categories_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/categories/categories_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CategoriesRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/categories/item/mobile_app_category_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/categories/item/mobile_app_category_item_request_builder.py index 750dd8c754a..69df12ce358 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/categories/item/mobile_app_category_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/categories/item/mobile_app_category_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MobileAppCategoryItemRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/content_versions_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/content_versions_request_builder.py index 4995a69959d..004172554d4 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/content_versions_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/content_versions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentVersi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppContent] = None, request_configuration: Optional[ContentVersionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppContent] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/contained_apps/contained_apps_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/contained_apps/contained_apps_request_builder.py index 254467e3e39..b7190e199e4 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/contained_apps/contained_apps_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/contained_apps/contained_apps_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ContainedApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileContainedApp] = None, request_configuration: Optional[ContainedAppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileContainedApp] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py index 5f59abaec23..e77c9ee6dfc 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileContainedAppItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileContai request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileContainedApp] = None, request_configuration: Optional[MobileContainedAppItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileContainedApp] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/files/files_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/files/files_request_builder.py index 0a73975e346..4cb5c3a36df 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/files/files_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[FilesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppContentFile] = None, request_configuration: Optional[FilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppContentFile] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/files/item/commit/commit_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/files/item/commit/commit_request_builder.py index f77a0a5ba7b..696f87ba53d 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/files/item/commit/commit_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/files/item/commit/commit_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[CommitPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py index f4dbf9cc607..670672b5f7f 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppContentFileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppContentFile] = None, request_configuration: Optional[MobileAppContentFileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MobileAppContentFile] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py index 8db7287a15c..65fdbba65ed 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RenewUpload request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RenewUploadRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/mobile_app_content_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/mobile_app_content_item_request_builder.py index 005a8c78989..139a1a03d8d 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/mobile_app_content_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/content_versions/item/mobile_app_content_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppContent] = None, request_configuration: Optional[MobileAppContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MobileAppContent] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/graph_windows_app_x_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/graph_windows_app_x_request_builder.py index 90101d963f4..ba8b5a8cd19 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/graph_windows_app_x_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/graph_windows_app_x_request_builder.py @@ -65,7 +65,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphWindows request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphWindowsAppXRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/relationships/item/mobile_app_relationship_item_request_builder.py index 8953aa7fb19..ac3167a79f7 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/relationships/item/mobile_app_relationship_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppRelationshipItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppRel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppRelationship] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/relationships/relationships_request_builder.py index 43f8b5e5126..50a43b12331 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_app_x/relationships/relationships_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Relationship request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[RelationshipsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppRelationship] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/assignments/assignments_request_builder.py index 79ac811071b..0863950ff3f 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/assignments/item/mobile_app_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/assignments/item/mobile_app_assignment_item_request_builder.py index d95566d8cb6..9e096bae676 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/assignments/item/mobile_app_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/assignments/item/mobile_app_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[MobileAppAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/categories/categories_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/categories/categories_request_builder.py index 1bbdfe02199..9d0fe259317 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/categories/categories_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/categories/categories_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CategoriesRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/categories/item/mobile_app_category_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/categories/item/mobile_app_category_item_request_builder.py index 083329e9e02..af5c1ec5a75 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/categories/item/mobile_app_category_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/categories/item/mobile_app_category_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MobileAppCategoryItemRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/content_versions_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/content_versions_request_builder.py index 0ae4c70d031..05ffa349ec7 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/content_versions_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/content_versions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentVersi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppContent] = None, request_configuration: Optional[ContentVersionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppContent] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/contained_apps/contained_apps_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/contained_apps/contained_apps_request_builder.py index 0493ddf829e..bf389c69347 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/contained_apps/contained_apps_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/contained_apps/contained_apps_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ContainedApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileContainedApp] = None, request_configuration: Optional[ContainedAppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileContainedApp] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py index ad4a65d8e02..cf10785d1dc 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileContainedAppItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileContai request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileContainedApp] = None, request_configuration: Optional[MobileContainedAppItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileContainedApp] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/files/files_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/files/files_request_builder.py index 86ff6f30d37..8ef6b657a41 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/files/files_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[FilesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppContentFile] = None, request_configuration: Optional[FilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppContentFile] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/files/item/commit/commit_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/files/item/commit/commit_request_builder.py index 60e937d7bf7..d1bcff99fdf 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/files/item/commit/commit_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/files/item/commit/commit_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[CommitPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py index 6e4b4ae2b13..efc70c24f87 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppContentFileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppContentFile] = None, request_configuration: Optional[MobileAppContentFileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MobileAppContentFile] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py index 5d0482c2104..166470510f7 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RenewUpload request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RenewUploadRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/mobile_app_content_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/mobile_app_content_item_request_builder.py index 6fa7eaa7906..690d33e9830 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/mobile_app_content_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/content_versions/item/mobile_app_content_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppContent] = None, request_configuration: Optional[MobileAppContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MobileAppContent] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/graph_windows_mobile_m_s_i_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/graph_windows_mobile_m_s_i_request_builder.py index 4c519b03561..43e494c4117 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/graph_windows_mobile_m_s_i_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/graph_windows_mobile_m_s_i_request_builder.py @@ -65,7 +65,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphWindows request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphWindowsMobileMSIRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/relationships/item/mobile_app_relationship_item_request_builder.py index 4128396d64e..7d1634fa88a 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/relationships/item/mobile_app_relationship_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppRelationshipItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppRel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppRelationship] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/relationships/relationships_request_builder.py index ca955215409..4309339cad0 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_mobile_m_s_i/relationships/relationships_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Relationship request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[RelationshipsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppRelationship] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/assignments/assignments_request_builder.py index 791215b2e58..feaf7d689d1 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/assignments/item/mobile_app_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/assignments/item/mobile_app_assignment_item_request_builder.py index c898121ff1f..aedbd26df68 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/assignments/item/mobile_app_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/assignments/item/mobile_app_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[MobileAppAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/categories/categories_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/categories/categories_request_builder.py index 047bc2083d7..956c92067ae 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/categories/categories_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/categories/categories_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CategoriesRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/categories/item/mobile_app_category_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/categories/item/mobile_app_category_item_request_builder.py index ecb9c164169..2132c386e57 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/categories/item/mobile_app_category_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/categories/item/mobile_app_category_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MobileAppCategoryItemRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/graph_windows_store_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/graph_windows_store_app_request_builder.py index 40838b424ed..4b5bf330459 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/graph_windows_store_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/graph_windows_store_app_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphWindows request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphWindowsStoreAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/relationships/item/mobile_app_relationship_item_request_builder.py index 24eaea701cb..db97c2eb778 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppRelationshipItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppRel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppRelationship] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/relationships/relationships_request_builder.py index e2491815048..9cee5bb9e70 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_store_app/relationships/relationships_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Relationship request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[RelationshipsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppRelationship] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/assignments/assignments_request_builder.py index be2d535e1ef..ce6f72eab39 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/assignments/item/mobile_app_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/assignments/item/mobile_app_assignment_item_request_builder.py index b0d848bd19b..e852d0ebcc9 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/assignments/item/mobile_app_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/assignments/item/mobile_app_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[MobileAppAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/categories/categories_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/categories/categories_request_builder.py index 14936c40da6..a2bbffcfd46 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/categories/categories_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/categories/categories_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CategoriesRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/categories/item/mobile_app_category_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/categories/item/mobile_app_category_item_request_builder.py index 2f5000a5ef2..6df50be7c44 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/categories/item/mobile_app_category_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/categories/item/mobile_app_category_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MobileAppCategoryItemRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/committed_contained_apps/committed_contained_apps_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/committed_contained_apps/committed_contained_apps_request_builder.py index d6b62144381..735d308a2fc 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/committed_contained_apps/committed_contained_apps_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/committed_contained_apps/committed_contained_apps_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[CommittedCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileContainedApp] = None, request_configuration: Optional[CommittedContainedAppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileContainedApp] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/committed_contained_apps/item/mobile_contained_app_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/committed_contained_apps/item/mobile_contained_app_item_request_builder.py index 8fd33c0a86c..a484796e513 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/committed_contained_apps/item/mobile_contained_app_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/committed_contained_apps/item/mobile_contained_app_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileContainedAppItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileContai request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileContainedApp] = None, request_configuration: Optional[MobileContainedAppItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileContainedApp] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/content_versions_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/content_versions_request_builder.py index 2a3423d2b73..682e59d476d 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/content_versions_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/content_versions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentVersi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppContent] = None, request_configuration: Optional[ContentVersionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppContent] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/contained_apps/contained_apps_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/contained_apps/contained_apps_request_builder.py index e172f52179f..145942c7f29 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/contained_apps/contained_apps_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/contained_apps/contained_apps_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ContainedApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileContainedApp] = None, request_configuration: Optional[ContainedAppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileContainedApp] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py index a94951fcba2..b9d2b9f463d 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/contained_apps/item/mobile_contained_app_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileContainedAppItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileContai request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileContainedApp] = None, request_configuration: Optional[MobileContainedAppItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileContainedApp] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/files/files_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/files/files_request_builder.py index 7b242ad1513..d725f635867 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/files/files_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/files/files_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[FilesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppContentFile] = None, request_configuration: Optional[FilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppContentFile] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/files/item/commit/commit_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/files/item/commit/commit_request_builder.py index 060eb2392df..4ccea667447 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/files/item/commit/commit_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/files/item/commit/commit_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[CommitPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py index 17d7032a138..3b28d909f04 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/files/item/mobile_app_content_file_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppContentFileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppContentFile] = None, request_configuration: Optional[MobileAppContentFileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MobileAppContentFile] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py index bfb8251baac..8057dc8085c 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/files/item/renew_upload/renew_upload_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RenewUpload request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RenewUploadRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/mobile_app_content_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/mobile_app_content_item_request_builder.py index 06ab608baba..525f23ec858 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/mobile_app_content_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/content_versions/item/mobile_app_content_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppContent] = None, request_configuration: Optional[MobileAppContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MobileAppContent] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/graph_windows_universal_app_x_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/graph_windows_universal_app_x_request_builder.py index 9cd14b17ad2..25ddde3a568 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/graph_windows_universal_app_x_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/graph_windows_universal_app_x_request_builder.py @@ -66,7 +66,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphWindows request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphWindowsUniversalAppXRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/relationships/item/mobile_app_relationship_item_request_builder.py index 1bf2779c17d..4c5e7855b16 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/relationships/item/mobile_app_relationship_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppRelationshipItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppRel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppRelationship] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/relationships/relationships_request_builder.py index d8dd12cba84..acd47fb58ba 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_universal_app_x/relationships/relationships_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Relationship request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[RelationshipsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppRelationship] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/assignments/assignments_request_builder.py index 4c5fcf14360..25f5d5e8098 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/assignments/item/mobile_app_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/assignments/item/mobile_app_assignment_item_request_builder.py index 6fa3613fd9b..24bf8a091e2 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/assignments/item/mobile_app_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/assignments/item/mobile_app_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None, request_configuration: Optional[MobileAppAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppAssignment] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/categories/categories_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/categories/categories_request_builder.py index 447b670f04b..4f5b471f063 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/categories/categories_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/categories/categories_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CategoriesRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/categories/item/mobile_app_category_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/categories/item/mobile_app_category_item_request_builder.py index 0289b3ba4dd..9f61f5cb196 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/categories/item/mobile_app_category_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/categories/item/mobile_app_category_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppCat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MobileAppCategoryItemRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/graph_windows_web_app_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/graph_windows_web_app_request_builder.py index 00b612f2d03..54b9f965fe9 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/graph_windows_web_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/graph_windows_web_app_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphWindows request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphWindowsWebAppRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/relationships/item/mobile_app_relationship_item_request_builder.py index e8355082287..cd18bc39992 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/relationships/item/mobile_app_relationship_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppRelationshipItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppRel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppRelationship] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/relationships/relationships_request_builder.py index b066d5c983f..f28012c0316 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/graph_windows_web_app/relationships/relationships_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Relationship request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[RelationshipsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppRelationship] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py index 6d1d078b406..14163fcde40 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py @@ -129,7 +129,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -146,7 +146,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileApp] = None, request_configuration: Optional[MobileAppItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -165,7 +165,7 @@ def to_patch_request_information(self,body: Optional[MobileApp] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/relationships/item/mobile_app_relationship_item_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/relationships/item/mobile_app_relationship_item_request_builder.py index e7137ec8544..eb18cd39c30 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/relationships/item/mobile_app_relationship_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/relationships/item/mobile_app_relationship_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppRelationshipItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppRel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[MobileAppRelationshipItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppRelationship] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/relationships/relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/relationships/relationships_request_builder.py index b0d9610493a..0420f0cb8fb 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/relationships/relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/relationships/relationships_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Relationship request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppRelationship] = None, request_configuration: Optional[RelationshipsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppRelationship] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/item/update_relationships/update_relationships_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/item/update_relationships/update_relationships_request_builder.py index 8b19c6c5edb..425cac8b534 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/item/update_relationships/update_relationships_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/item/update_relationships/update_relationships_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UpdateRelationshipsPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py index c537774f21c..3df1ccb6051 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileApp] = None, request_configuration: Optional[MobileAppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_post_request_information(self,body: Optional[MobileApp] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/mobile_apps/validate_xml/validate_xml_request_builder.py b/msgraph_beta/generated/device_app_management/mobile_apps/validate_xml/validate_xml_request_builder.py index ddc16fe93f1..6283e89ec0a 100644 --- a/msgraph_beta/generated/device_app_management/mobile_apps/validate_xml/validate_xml_request_builder.py +++ b/msgraph_beta/generated/device_app_management/mobile_apps/validate_xml/validate_xml_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ValidateXmlPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/policy_sets/get_policy_sets/get_policy_sets_request_builder.py b/msgraph_beta/generated/device_app_management/policy_sets/get_policy_sets/get_policy_sets_request_builder.py index e1c77ed6566..47ad698a333 100644 --- a/msgraph_beta/generated/device_app_management/policy_sets/get_policy_sets/get_policy_sets_request_builder.py +++ b/msgraph_beta/generated/device_app_management/policy_sets/get_policy_sets/get_policy_sets_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GetPolicySetsPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/policy_sets/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/policy_sets/item/assignments/assignments_request_builder.py index 6c9a4f69321..069a6a5d788 100644 --- a/msgraph_beta/generated/device_app_management/policy_sets/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/policy_sets/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PolicySetAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[PolicySetAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/policy_sets/item/assignments/item/policy_set_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/policy_sets/item/assignments/item/policy_set_assignment_item_request_builder.py index 8bf30620993..d3852fd73ec 100644 --- a/msgraph_beta/generated/device_app_management/policy_sets/item/assignments/item/policy_set_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/policy_sets/item/assignments/item/policy_set_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PolicySet request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PolicySetAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PolicySetAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PolicySetAssignment] = None, request_configuration: Optional[PolicySetAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PolicySetAssignment] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/policy_sets/item/items/item/policy_set_item_item_request_builder.py b/msgraph_beta/generated/device_app_management/policy_sets/item/items/item/policy_set_item_item_request_builder.py index 419603c0b33..b96ae0ad549 100644 --- a/msgraph_beta/generated/device_app_management/policy_sets/item/items/item/policy_set_item_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/policy_sets/item/items/item/policy_set_item_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PolicySet request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PolicySetItemItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PolicySetIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PolicySetItem] = None, request_configuration: Optional[PolicySetItemItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PolicySetItem] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/policy_sets/item/items/items_request_builder.py b/msgraph_beta/generated/device_app_management/policy_sets/item/items/items_request_builder.py index d79036cb0de..ceffa362644 100644 --- a/msgraph_beta/generated/device_app_management/policy_sets/item/items/items_request_builder.py +++ b/msgraph_beta/generated/device_app_management/policy_sets/item/items/items_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PolicySetItem] = None, request_configuration: Optional[ItemsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[PolicySetItem] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/policy_sets/item/policy_set_item_request_builder.py b/msgraph_beta/generated/device_app_management/policy_sets/item/policy_set_item_request_builder.py index 16baedf4451..4b0e4dbc1d8 100644 --- a/msgraph_beta/generated/device_app_management/policy_sets/item/policy_set_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/policy_sets/item/policy_set_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[PolicySet request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PolicySetItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[PolicySetIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PolicySet] = None, request_configuration: Optional[PolicySetItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[PolicySet] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/policy_sets/item/update/update_request_builder.py b/msgraph_beta/generated/device_app_management/policy_sets/item/update/update_request_builder.py index 8bf6a356226..571aa111d4f 100644 --- a/msgraph_beta/generated/device_app_management/policy_sets/item/update/update_request_builder.py +++ b/msgraph_beta/generated/device_app_management/policy_sets/item/update/update_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UpdatePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/policy_sets/policy_sets_request_builder.py b/msgraph_beta/generated/device_app_management/policy_sets/policy_sets_request_builder.py index 16d8cecb361..e012240662c 100644 --- a/msgraph_beta/generated/device_app_management/policy_sets/policy_sets_request_builder.py +++ b/msgraph_beta/generated/device_app_management/policy_sets/policy_sets_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PolicySetsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PolicySet] = None, request_configuration: Optional[PolicySetsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[PolicySet] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/symantec_code_signing_certificate/symantec_code_signing_certificate_request_builder.py b/msgraph_beta/generated/device_app_management/symantec_code_signing_certificate/symantec_code_signing_certificate_request_builder.py index 1f0834aaacb..fedb0730b0b 100644 --- a/msgraph_beta/generated/device_app_management/symantec_code_signing_certificate/symantec_code_signing_certificate_request_builder.py +++ b/msgraph_beta/generated/device_app_management/symantec_code_signing_certificate/symantec_code_signing_certificate_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[SymantecC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SymantecCodeSigningCertificateRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SymantecCode request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SymantecCodeSigningCertificate] = None, request_configuration: Optional[SymantecCodeSigningCertificateRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[SymantecCodeSigningCertific request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/sync_microsoft_store_for_business_apps/sync_microsoft_store_for_business_apps_request_builder.py b/msgraph_beta/generated/device_app_management/sync_microsoft_store_for_business_apps/sync_microsoft_store_for_business_apps_request_builder.py index 0b2a3a5999e..e590446bca4 100644 --- a/msgraph_beta/generated/device_app_management/sync_microsoft_store_for_business_apps/sync_microsoft_store_for_business_apps_request_builder.py +++ b/msgraph_beta/generated/device_app_management/sync_microsoft_store_for_business_apps/sync_microsoft_store_for_business_apps_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[SyncMicroso request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SyncMicrosoftStoreForBusinessAppsRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/has_payload_links/has_payload_links_request_builder.py b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/has_payload_links/has_payload_links_request_builder.py index 9a743262ec8..859d804aba5 100644 --- a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/has_payload_links/has_payload_links_request_builder.py +++ b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/has_payload_links/has_payload_links_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[HasPayloadLinksPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/apps/apps_request_builder.py b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/apps/apps_request_builder.py index 90af482ed4d..8abd0db7b13 100644 --- a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/apps/apps_request_builder.py +++ b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/apps/apps_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AppsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedMobileApp] = None, request_configuration: Optional[AppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedMobileApp] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/apps/item/managed_mobile_app_item_request_builder.py b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/apps/item/managed_mobile_app_item_request_builder.py index db8054c2113..478c07b7ef3 100644 --- a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/apps/item/managed_mobile_app_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/apps/item/managed_mobile_app_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedMo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedMobileAppItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedMobil request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedMobileApp] = None, request_configuration: Optional[ManagedMobileAppItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ManagedMobileApp] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/assign/assign_request_builder.py index a345fc7eb08..3f79e98d206 100644 --- a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/assign/assign_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/assignments/assignments_request_builder.py index f34a5765d8b..399f4b0f854 100644 --- a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TargetedManagedAppPolicyAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[TargetedManagedAppPolicyAssi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/assignments/item/targeted_managed_app_policy_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/assignments/item/targeted_managed_app_policy_assignment_item_request_builder.py index 6a6f6a90d37..83547721e1a 100644 --- a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/assignments/item/targeted_managed_app_policy_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/assignments/item/targeted_managed_app_policy_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[TargetedM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TargetedManagedAppPolicyAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[TargetedMana request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TargetedManagedAppPolicyAssignment] = None, request_configuration: Optional[TargetedManagedAppPolicyAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[TargetedManagedAppPolicyAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/change_settings/change_settings_request_builder.py b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/change_settings/change_settings_request_builder.py index 00a0bc1edc7..89934ed8a52 100644 --- a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/change_settings/change_settings_request_builder.py +++ b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/change_settings/change_settings_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ChangeSettingsPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/deployment_summary/deployment_summary_request_builder.py b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/deployment_summary/deployment_summary_request_builder.py index 0b7492fb597..1201e3e103e 100644 --- a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/deployment_summary/deployment_summary_request_builder.py +++ b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/deployment_summary/deployment_summary_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Deploymen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeploymentSummaryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeploymentSu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedAppPolicyDeploymentSummary] = None, request_configuration: Optional[DeploymentSummaryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ManagedAppPolicyDeploymentS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/settings/item/device_management_configuration_setting_item_request_builder.py b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/settings/item/device_management_configuration_setting_item_request_builder.py index 5dcaa5085e3..387f59ac084 100644 --- a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/settings/item/device_management_configuration_setting_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/settings/item/device_management_configuration_setting_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementConfigurationSettingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementConfigurationSetting] = None, request_configuration: Optional[DeviceManagementConfigurationSettingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementConfigurati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/settings/item/setting_definitions/item/device_management_configuration_setting_definition_item_request_builder.py b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/settings/item/setting_definitions/item/device_management_configuration_setting_definition_item_request_builder.py index 1263b91689d..a7a91b78c55 100644 --- a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/settings/item/setting_definitions/item/device_management_configuration_setting_definition_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/settings/item/setting_definitions/item/device_management_configuration_setting_definition_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeviceManagementConfigurationSettingDefinitionItemRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/settings/item/setting_definitions/setting_definitions_request_builder.py b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/settings/item/setting_definitions/setting_definitions_request_builder.py index 329fcec627c..822222c1360 100644 --- a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/settings/item/setting_definitions/setting_definitions_request_builder.py +++ b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/settings/item/setting_definitions/setting_definitions_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SettingDefinitionsRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/settings/settings_request_builder.py b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/settings/settings_request_builder.py index 0b2c0732c1a..2fdf4f1be3a 100644 --- a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/settings/settings_request_builder.py +++ b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/settings/settings_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementConfigurationSetting] = None, request_configuration: Optional[SettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementConfiguratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/target_apps/target_apps_request_builder.py b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/target_apps/target_apps_request_builder.py index e7d9e04a362..338447e2a2a 100644 --- a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/target_apps/target_apps_request_builder.py +++ b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/target_apps/target_apps_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[TargetAppsPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/targeted_managed_app_configuration_item_request_builder.py b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/targeted_managed_app_configuration_item_request_builder.py index dd8388e5bb2..36d7f630eae 100644 --- a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/targeted_managed_app_configuration_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/item/targeted_managed_app_configuration_item_request_builder.py @@ -110,7 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[TargetedM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TargetedManagedAppConfigurationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[TargetedMana request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TargetedManagedAppConfiguration] = None, request_configuration: Optional[TargetedManagedAppConfigurationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[TargetedManagedAppConfigura request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/targeted_managed_app_configurations_request_builder.py b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/targeted_managed_app_configurations_request_builder.py index 5c8573769c1..67911f8811d 100644 --- a/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/targeted_managed_app_configurations_request_builder.py +++ b/msgraph_beta/generated/device_app_management/targeted_managed_app_configurations/targeted_managed_app_configurations_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[TargetedMana request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TargetedManagedAppConfiguration] = None, request_configuration: Optional[TargetedManagedAppConfigurationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[TargetedManagedAppConfigurat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/vpp_tokens/get_licenses_for_app_with_bundle_id/get_licenses_for_app_with_bundle_id_request_builder.py b/msgraph_beta/generated/device_app_management/vpp_tokens/get_licenses_for_app_with_bundle_id/get_licenses_for_app_with_bundle_id_request_builder.py index 93ed5d5dbfa..1a0339e0c77 100644 --- a/msgraph_beta/generated/device_app_management/vpp_tokens/get_licenses_for_app_with_bundle_id/get_licenses_for_app_with_bundle_id_request_builder.py +++ b/msgraph_beta/generated/device_app_management/vpp_tokens/get_licenses_for_app_with_bundle_id/get_licenses_for_app_with_bundle_id_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GetLicensesF request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetLicensesForAppWithBundleIdRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/vpp_tokens/item/revoke_licenses/revoke_licenses_request_builder.py b/msgraph_beta/generated/device_app_management/vpp_tokens/item/revoke_licenses/revoke_licenses_request_builder.py index a1f8eabbbc5..2974496234f 100644 --- a/msgraph_beta/generated/device_app_management/vpp_tokens/item/revoke_licenses/revoke_licenses_request_builder.py +++ b/msgraph_beta/generated/device_app_management/vpp_tokens/item/revoke_licenses/revoke_licenses_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[RevokeLicensesPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/vpp_tokens/item/sync_licenses/sync_licenses_request_builder.py b/msgraph_beta/generated/device_app_management/vpp_tokens/item/sync_licenses/sync_licenses_request_builder.py index 88abee3765c..e37a0a30172 100644 --- a/msgraph_beta/generated/device_app_management/vpp_tokens/item/sync_licenses/sync_licenses_request_builder.py +++ b/msgraph_beta/generated/device_app_management/vpp_tokens/item/sync_licenses/sync_licenses_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[SyncLicense request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SyncLicensesRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/vpp_tokens/item/vpp_token_item_request_builder.py b/msgraph_beta/generated/device_app_management/vpp_tokens/item/vpp_token_item_request_builder.py index 0641ddc49f5..83f2b67c087 100644 --- a/msgraph_beta/generated/device_app_management/vpp_tokens/item/vpp_token_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/vpp_tokens/item/vpp_token_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[VppTokenI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[VppTokenItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[VppTokenItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[VppToken] = None, request_configuration: Optional[VppTokenItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[VppToken] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/vpp_tokens/sync_license_counts/sync_license_counts_request_builder.py b/msgraph_beta/generated/device_app_management/vpp_tokens/sync_license_counts/sync_license_counts_request_builder.py index 3e416f20eae..331d55a7000 100644 --- a/msgraph_beta/generated/device_app_management/vpp_tokens/sync_license_counts/sync_license_counts_request_builder.py +++ b/msgraph_beta/generated/device_app_management/vpp_tokens/sync_license_counts/sync_license_counts_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[SyncLicense request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SyncLicenseCountsRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/vpp_tokens/vpp_tokens_request_builder.py b/msgraph_beta/generated/device_app_management/vpp_tokens/vpp_tokens_request_builder.py index 987f7a535cd..abf7ae31aa9 100644 --- a/msgraph_beta/generated/device_app_management/vpp_tokens/vpp_tokens_request_builder.py +++ b/msgraph_beta/generated/device_app_management/vpp_tokens/vpp_tokens_request_builder.py @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[VppTokensReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[VppToken] = None, request_configuration: Optional[VppTokensRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -135,7 +135,7 @@ def to_post_request_information(self,body: Optional[VppToken] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/assign/assign_request_builder.py index 4d232a52164..e50ec7f0767 100644 --- a/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/assign/assign_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/assignments/assignments_request_builder.py index bd01ce40ed7..86ca31d1462 100644 --- a/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsDefenderApplicationControlSupplementalPolicyAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WindowsDefenderApplicationCo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/assignments/item/windows_defender_application_control_supplemental_policy_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/assignments/item/windows_defender_application_control_supplemental_policy_assignment_item_request_builder.py index 4e9a3089f23..4a2a0cced2d 100644 --- a/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/assignments/item/windows_defender_application_control_supplemental_policy_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/assignments/item/windows_defender_application_control_supplemental_policy_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsDefenderApplicationControlSupplementalPolicyAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsDefen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsDefenderApplicationControlSupplementalPolicyAssignment] = None, request_configuration: Optional[WindowsDefenderApplicationControlSupplementalPolicyAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WindowsDefenderApplicationC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/deploy_summary/deploy_summary_request_builder.py b/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/deploy_summary/deploy_summary_request_builder.py index ee2860a2144..2ccf3bb71b4 100644 --- a/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/deploy_summary/deploy_summary_request_builder.py +++ b/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/deploy_summary/deploy_summary_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeploySum request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeploySummaryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeploySummar request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary] = None, request_configuration: Optional[DeploySummaryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WindowsDefenderApplicationC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/device_statuses/device_statuses_request_builder.py b/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/device_statuses/device_statuses_request_builder.py index 64fe1c7dc9d..0c20c553af4 100644 --- a/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/device_statuses/device_statuses_request_builder.py +++ b/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/device_statuses/device_statuses_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceStatus request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus] = None, request_configuration: Optional[DeviceStatusesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WindowsDefenderApplicationCo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/device_statuses/item/policy/policy_request_builder.py b/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/device_statuses/item/policy/policy_request_builder.py index 252e753d215..4b35cc67b39 100644 --- a/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/device_statuses/item/policy/policy_request_builder.py +++ b/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/device_statuses/item/policy/policy_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PolicyReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PolicyRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/device_statuses/item/windows_defender_application_control_supplemental_policy_deployment_status_item_request_builder.py b/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/device_statuses/item/windows_defender_application_control_supplemental_policy_deployment_status_item_request_builder.py index 43f089c5174..84ab919ddc7 100644 --- a/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/device_statuses/item/windows_defender_application_control_supplemental_policy_deployment_status_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/device_statuses/item/windows_defender_application_control_supplemental_policy_deployment_status_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatusItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsDefen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus] = None, request_configuration: Optional[WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatusItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WindowsDefenderApplicationC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/windows_defender_application_control_supplemental_policy_item_request_builder.py b/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/windows_defender_application_control_supplemental_policy_item_request_builder.py index e4712b9826a..3e117fda5ab 100644 --- a/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/windows_defender_application_control_supplemental_policy_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/item/windows_defender_application_control_supplemental_policy_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsDefenderApplicationControlSupplementalPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsDefen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsDefenderApplicationControlSupplementalPolicy] = None, request_configuration: Optional[WindowsDefenderApplicationControlSupplementalPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[WindowsDefenderApplicationC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/wdac_supplemental_policies_request_builder.py b/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/wdac_supplemental_policies_request_builder.py index 93762ac6533..dd92f99fbfd 100644 --- a/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/wdac_supplemental_policies_request_builder.py +++ b/msgraph_beta/generated/device_app_management/wdac_supplemental_policies/wdac_supplemental_policies_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[WdacSuppleme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsDefenderApplicationControlSupplementalPolicy] = None, request_configuration: Optional[WdacSupplementalPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WindowsDefenderApplicationCo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/windows_information_protection_device_registrations/item/windows_information_protection_device_registration_item_request_builder.py b/msgraph_beta/generated/device_app_management/windows_information_protection_device_registrations/item/windows_information_protection_device_registration_item_request_builder.py index e2a4c168afa..640ffeebd7e 100644 --- a/msgraph_beta/generated/device_app_management/windows_information_protection_device_registrations/item/windows_information_protection_device_registration_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_information_protection_device_registrations/item/windows_information_protection_device_registration_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsInformationProtectionDeviceRegistrationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsInfor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsInformationProtectionDeviceRegistration] = None, request_configuration: Optional[WindowsInformationProtectionDeviceRegistrationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WindowsInformationProtectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/windows_information_protection_device_registrations/item/wipe/wipe_request_builder.py b/msgraph_beta/generated/device_app_management/windows_information_protection_device_registrations/item/wipe/wipe_request_builder.py index f512de208ad..b29522766c2 100644 --- a/msgraph_beta/generated/device_app_management/windows_information_protection_device_registrations/item/wipe/wipe_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_information_protection_device_registrations/item/wipe/wipe_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[WipeRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> WipeRequestBuilder: diff --git a/msgraph_beta/generated/device_app_management/windows_information_protection_device_registrations/windows_information_protection_device_registrations_request_builder.py b/msgraph_beta/generated/device_app_management/windows_information_protection_device_registrations/windows_information_protection_device_registrations_request_builder.py index 275681d2a89..012ee32ab67 100644 --- a/msgraph_beta/generated/device_app_management/windows_information_protection_device_registrations/windows_information_protection_device_registrations_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_information_protection_device_registrations/windows_information_protection_device_registrations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsInfor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsInformationProtectionDeviceRegistration] = None, request_configuration: Optional[WindowsInformationProtectionDeviceRegistrationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WindowsInformationProtection request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/assignments/assignments_request_builder.py index 1de1996902a..782222da5db 100644 --- a/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TargetedManagedAppPolicyAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[TargetedManagedAppPolicyAssi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/assignments/item/targeted_managed_app_policy_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/assignments/item/targeted_managed_app_policy_assignment_item_request_builder.py index 628280fc01f..f948e2e502e 100644 --- a/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/assignments/item/targeted_managed_app_policy_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/assignments/item/targeted_managed_app_policy_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[TargetedM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TargetedManagedAppPolicyAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[TargetedMana request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TargetedManagedAppPolicyAssignment] = None, request_configuration: Optional[TargetedManagedAppPolicyAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[TargetedManagedAppPolicyAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/exempt_app_locker_files/exempt_app_locker_files_request_builder.py b/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/exempt_app_locker_files/exempt_app_locker_files_request_builder.py index 3ce706683a5..380ffc5cce6 100644 --- a/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/exempt_app_locker_files/exempt_app_locker_files_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/exempt_app_locker_files/exempt_app_locker_files_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ExemptAppLoc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsInformationProtectionAppLockerFile] = None, request_configuration: Optional[ExemptAppLockerFilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WindowsInformationProtection request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/exempt_app_locker_files/item/windows_information_protection_app_locker_file_item_request_builder.py b/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/exempt_app_locker_files/item/windows_information_protection_app_locker_file_item_request_builder.py index 65c4bf7cc4e..50b698850ed 100644 --- a/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/exempt_app_locker_files/item/windows_information_protection_app_locker_file_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/exempt_app_locker_files/item/windows_information_protection_app_locker_file_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsInformationProtectionAppLockerFileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsInfor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsInformationProtectionAppLockerFile] = None, request_configuration: Optional[WindowsInformationProtectionAppLockerFileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WindowsInformationProtectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/protected_app_locker_files/item/windows_information_protection_app_locker_file_item_request_builder.py b/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/protected_app_locker_files/item/windows_information_protection_app_locker_file_item_request_builder.py index 49564364ac5..b75bcc39294 100644 --- a/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/protected_app_locker_files/item/windows_information_protection_app_locker_file_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/protected_app_locker_files/item/windows_information_protection_app_locker_file_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsInformationProtectionAppLockerFileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsInfor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsInformationProtectionAppLockerFile] = None, request_configuration: Optional[WindowsInformationProtectionAppLockerFileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WindowsInformationProtectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/protected_app_locker_files/protected_app_locker_files_request_builder.py b/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/protected_app_locker_files/protected_app_locker_files_request_builder.py index e0faa398f1b..4b4761fb388 100644 --- a/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/protected_app_locker_files/protected_app_locker_files_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/protected_app_locker_files/protected_app_locker_files_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ProtectedApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsInformationProtectionAppLockerFile] = None, request_configuration: Optional[ProtectedAppLockerFilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WindowsInformationProtection request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/windows_information_protection_policy_item_request_builder.py b/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/windows_information_protection_policy_item_request_builder.py index ecf86d18986..01d622d7a79 100644 --- a/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/windows_information_protection_policy_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_information_protection_policies/item/windows_information_protection_policy_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsInformationProtectionPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsInfor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsInformationProtectionPolicy] = None, request_configuration: Optional[WindowsInformationProtectionPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[WindowsInformationProtectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/windows_information_protection_policies/windows_information_protection_policies_request_builder.py b/msgraph_beta/generated/device_app_management/windows_information_protection_policies/windows_information_protection_policies_request_builder.py index 2c82066c965..7c814603431 100644 --- a/msgraph_beta/generated/device_app_management/windows_information_protection_policies/windows_information_protection_policies_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_information_protection_policies/windows_information_protection_policies_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsInfor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsInformationProtectionPolicy] = None, request_configuration: Optional[WindowsInformationProtectionPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WindowsInformationProtection request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/windows_information_protection_wipe_actions/item/windows_information_protection_wipe_action_item_request_builder.py b/msgraph_beta/generated/device_app_management/windows_information_protection_wipe_actions/item/windows_information_protection_wipe_action_item_request_builder.py index 606588831b7..6203642c759 100644 --- a/msgraph_beta/generated/device_app_management/windows_information_protection_wipe_actions/item/windows_information_protection_wipe_action_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_information_protection_wipe_actions/item/windows_information_protection_wipe_action_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsInformationProtectionWipeActionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsInfor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsInformationProtectionWipeAction] = None, request_configuration: Optional[WindowsInformationProtectionWipeActionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WindowsInformationProtectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/windows_information_protection_wipe_actions/windows_information_protection_wipe_actions_request_builder.py b/msgraph_beta/generated/device_app_management/windows_information_protection_wipe_actions/windows_information_protection_wipe_actions_request_builder.py index 36e3e272808..ed41913a47d 100644 --- a/msgraph_beta/generated/device_app_management/windows_information_protection_wipe_actions/windows_information_protection_wipe_actions_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_information_protection_wipe_actions/windows_information_protection_wipe_actions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsInfor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsInformationProtectionWipeAction] = None, request_configuration: Optional[WindowsInformationProtectionWipeActionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WindowsInformationProtection request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/apps/apps_request_builder.py b/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/apps/apps_request_builder.py index 6ec500d1672..f7eb8dae168 100644 --- a/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/apps/apps_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/apps/apps_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AppsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedMobileApp] = None, request_configuration: Optional[AppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedMobileApp] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/apps/item/managed_mobile_app_item_request_builder.py b/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/apps/item/managed_mobile_app_item_request_builder.py index 42949b7900b..af3a53788ce 100644 --- a/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/apps/item/managed_mobile_app_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/apps/item/managed_mobile_app_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedMo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedMobileAppItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedMobil request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedMobileApp] = None, request_configuration: Optional[ManagedMobileAppItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ManagedMobileApp] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/assign/assign_request_builder.py index 6b7f7145ad4..b0229bb709e 100644 --- a/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/assign/assign_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/assignments/assignments_request_builder.py index 9458b30d86a..040edce93da 100644 --- a/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TargetedManagedAppPolicyAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[TargetedManagedAppPolicyAssi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/assignments/item/targeted_managed_app_policy_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/assignments/item/targeted_managed_app_policy_assignment_item_request_builder.py index 488e48060e3..9dbbd5804c5 100644 --- a/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/assignments/item/targeted_managed_app_policy_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/assignments/item/targeted_managed_app_policy_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[TargetedM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TargetedManagedAppPolicyAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[TargetedMana request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TargetedManagedAppPolicyAssignment] = None, request_configuration: Optional[TargetedManagedAppPolicyAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[TargetedManagedAppPolicyAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/target_apps/target_apps_request_builder.py b/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/target_apps/target_apps_request_builder.py index 84f7f41a994..0d95a22c0b5 100644 --- a/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/target_apps/target_apps_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/target_apps/target_apps_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[TargetAppsPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/windows_managed_app_protection_item_request_builder.py b/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/windows_managed_app_protection_item_request_builder.py index cb5aeac7f33..1e827b62f67 100644 --- a/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/windows_managed_app_protection_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_managed_app_protections/item/windows_managed_app_protection_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsMa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsManagedAppProtectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsManag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsManagedAppProtection] = None, request_configuration: Optional[WindowsManagedAppProtectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[WindowsManagedAppProtection request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/windows_managed_app_protections/windows_managed_app_protections_request_builder.py b/msgraph_beta/generated/device_app_management/windows_managed_app_protections/windows_managed_app_protections_request_builder.py index d6d14ff1a11..0f582f7949c 100644 --- a/msgraph_beta/generated/device_app_management/windows_managed_app_protections/windows_managed_app_protections_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_managed_app_protections/windows_managed_app_protections_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsManag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsManagedAppProtection] = None, request_configuration: Optional[WindowsManagedAppProtectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WindowsManagedAppProtection] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_app_management/windows_management_app/windows_management_app_request_builder.py b/msgraph_beta/generated/device_app_management/windows_management_app/windows_management_app_request_builder.py index 04f9e0639d1..19d4ff3f970 100644 --- a/msgraph_beta/generated/device_app_management/windows_management_app/windows_management_app_request_builder.py +++ b/msgraph_beta/generated/device_app_management/windows_management_app/windows_management_app_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsManag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> WindowsManagementAppRequestBuilder: diff --git a/msgraph_beta/generated/device_local_credentials/device_local_credentials_request_builder.py b/msgraph_beta/generated/device_local_credentials/device_local_credentials_request_builder.py index 59a11211f0b..6d03f6e337f 100644 --- a/msgraph_beta/generated/device_local_credentials/device_local_credentials_request_builder.py +++ b/msgraph_beta/generated/device_local_credentials/device_local_credentials_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/deviceLocalCredentials{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/deviceLocalCredentials{?%24top,%24search,%24filter,%24count,%24orderby,%24select}", path_parameters) def by_device_local_credential_info_id(self,device_local_credential_info_id: str) -> DeviceLocalCredentialInfoItemRequestBuilder: """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceLocalC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceLocalCredentialInfo] = None, request_configuration: Optional[DeviceLocalCredentialsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceLocalCredentialInfo] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,8 +159,6 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: 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": @@ -169,8 +167,6 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: return "%24search" if original_name == "select": return "%24select" - if original_name == "skip": - return "%24skip" if original_name == "top": return "%24top" return original_name @@ -178,9 +174,6 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: # 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 @@ -193,9 +186,6 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: # 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 diff --git a/msgraph_beta/generated/device_local_credentials/item/device_local_credential_info_item_request_builder.py b/msgraph_beta/generated/device_local_credentials/item/device_local_credential_info_item_request_builder.py index 28efb412729..8163f44f485 100644 --- a/msgraph_beta/generated/device_local_credentials/item/device_local_credential_info_item_request_builder.py +++ b/msgraph_beta/generated/device_local_credentials/item/device_local_credential_info_item_request_builder.py @@ -24,7 +24,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/deviceLocalCredentials/{deviceLocalCredentialInfo%2Did}{?%24select,%24expand}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/deviceLocalCredentials/{deviceLocalCredentialInfo%2Did}{?%24select}", path_parameters) async def delete(self,request_configuration: Optional[DeviceLocalCredentialInfoItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceLoc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceLocalCredentialInfoItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceLocalC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceLocalCredentialInfo] = None, request_configuration: Optional[DeviceLocalCredentialInfoItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceLocalCredentialInfo] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -176,15 +176,10 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ if not original_name: 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 diff --git a/msgraph_beta/generated/device_management/advanced_threat_protection_onboarding_state_summary/advanced_threat_protection_onboarding_device_setting_states/advanced_threat_protection_onboarding_device_setting_states_request_builder.py b/msgraph_beta/generated/device_management/advanced_threat_protection_onboarding_state_summary/advanced_threat_protection_onboarding_device_setting_states/advanced_threat_protection_onboarding_device_setting_states_request_builder.py index de95c35f862..3fdacca79a9 100644 --- a/msgraph_beta/generated/device_management/advanced_threat_protection_onboarding_state_summary/advanced_threat_protection_onboarding_device_setting_states/advanced_threat_protection_onboarding_device_setting_states_request_builder.py +++ b/msgraph_beta/generated/device_management/advanced_threat_protection_onboarding_state_summary/advanced_threat_protection_onboarding_device_setting_states/advanced_threat_protection_onboarding_device_setting_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AdvancedThre request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AdvancedThreatProtectionOnboardingDeviceSettingState] = None, request_configuration: Optional[AdvancedThreatProtectionOnboardingDeviceSettingStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AdvancedThreatProtectionOnbo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/advanced_threat_protection_onboarding_state_summary/advanced_threat_protection_onboarding_device_setting_states/item/advanced_threat_protection_onboarding_device_setting_state_item_request_builder.py b/msgraph_beta/generated/device_management/advanced_threat_protection_onboarding_state_summary/advanced_threat_protection_onboarding_device_setting_states/item/advanced_threat_protection_onboarding_device_setting_state_item_request_builder.py index 537ebdcf46b..01f06a24495 100644 --- a/msgraph_beta/generated/device_management/advanced_threat_protection_onboarding_state_summary/advanced_threat_protection_onboarding_device_setting_states/item/advanced_threat_protection_onboarding_device_setting_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/advanced_threat_protection_onboarding_state_summary/advanced_threat_protection_onboarding_device_setting_states/item/advanced_threat_protection_onboarding_device_setting_state_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AdvancedT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AdvancedThreatProtectionOnboardingDeviceSettingStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AdvancedThre request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AdvancedThreatProtectionOnboardingDeviceSettingState] = None, request_configuration: Optional[AdvancedThreatProtectionOnboardingDeviceSettingStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AdvancedThreatProtectionOnb request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/advanced_threat_protection_onboarding_state_summary/advanced_threat_protection_onboarding_state_summary_request_builder.py b/msgraph_beta/generated/device_management/advanced_threat_protection_onboarding_state_summary/advanced_threat_protection_onboarding_state_summary_request_builder.py index 59ecbb31a6e..d70448c4294 100644 --- a/msgraph_beta/generated/device_management/advanced_threat_protection_onboarding_state_summary/advanced_threat_protection_onboarding_state_summary_request_builder.py +++ b/msgraph_beta/generated/device_management/advanced_threat_protection_onboarding_state_summary/advanced_threat_protection_onboarding_state_summary_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AdvancedT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AdvancedThreatProtectionOnboardingStateSummaryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AdvancedThre request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AdvancedThreatProtectionOnboardingStateSummary] = None, request_configuration: Optional[AdvancedThreatProtectionOnboardingStateSummaryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AdvancedThreatProtectionOnb request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/android_device_owner_enrollment_profiles_request_builder.py b/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/android_device_owner_enrollment_profiles_request_builder.py index a8dd39b8ffe..58a02ae2df5 100644 --- a/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/android_device_owner_enrollment_profiles_request_builder.py +++ b/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/android_device_owner_enrollment_profiles_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AndroidDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AndroidDeviceOwnerEnrollmentProfile] = None, request_configuration: Optional[AndroidDeviceOwnerEnrollmentProfilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AndroidDeviceOwnerEnrollment request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/android_device_owner_enrollment_profile_item_request_builder.py b/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/android_device_owner_enrollment_profile_item_request_builder.py index 421279c199a..7ea133ba345 100644 --- a/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/android_device_owner_enrollment_profile_item_request_builder.py +++ b/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/android_device_owner_enrollment_profile_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[AndroidDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AndroidDeviceOwnerEnrollmentProfileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AndroidDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AndroidDeviceOwnerEnrollmentProfile] = None, request_configuration: Optional[AndroidDeviceOwnerEnrollmentProfileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AndroidDeviceOwnerEnrollmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/create_token/create_token_request_builder.py b/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/create_token/create_token_request_builder.py index c91b40f606d..1ec7f7eba6d 100644 --- a/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/create_token/create_token_request_builder.py +++ b/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/create_token/create_token_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[CreateTokenPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/revoke_token/revoke_token_request_builder.py b/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/revoke_token/revoke_token_request_builder.py index f8c4acb4e4a..348f1038c81 100644 --- a/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/revoke_token/revoke_token_request_builder.py +++ b/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/revoke_token/revoke_token_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RevokeToken request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RevokeTokenRequestBuilder: diff --git a/msgraph_beta/generated/device_management/android_for_work_app_configuration_schemas/android_for_work_app_configuration_schemas_request_builder.py b/msgraph_beta/generated/device_management/android_for_work_app_configuration_schemas/android_for_work_app_configuration_schemas_request_builder.py index debe7c32fca..0f6948d1553 100644 --- a/msgraph_beta/generated/device_management/android_for_work_app_configuration_schemas/android_for_work_app_configuration_schemas_request_builder.py +++ b/msgraph_beta/generated/device_management/android_for_work_app_configuration_schemas/android_for_work_app_configuration_schemas_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AndroidForWo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AndroidForWorkAppConfigurationSchema] = None, request_configuration: Optional[AndroidForWorkAppConfigurationSchemasRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AndroidForWorkAppConfigurati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/android_for_work_app_configuration_schemas/item/android_for_work_app_configuration_schema_item_request_builder.py b/msgraph_beta/generated/device_management/android_for_work_app_configuration_schemas/item/android_for_work_app_configuration_schema_item_request_builder.py index 392d71647d4..9003db32956 100644 --- a/msgraph_beta/generated/device_management/android_for_work_app_configuration_schemas/item/android_for_work_app_configuration_schema_item_request_builder.py +++ b/msgraph_beta/generated/device_management/android_for_work_app_configuration_schemas/item/android_for_work_app_configuration_schema_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AndroidFo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AndroidForWorkAppConfigurationSchemaItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AndroidForWo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AndroidForWorkAppConfigurationSchema] = None, request_configuration: Optional[AndroidForWorkAppConfigurationSchemaItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AndroidForWorkAppConfigurat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/android_for_work_enrollment_profiles/android_for_work_enrollment_profiles_request_builder.py b/msgraph_beta/generated/device_management/android_for_work_enrollment_profiles/android_for_work_enrollment_profiles_request_builder.py index c8bb0e414a3..df48049048c 100644 --- a/msgraph_beta/generated/device_management/android_for_work_enrollment_profiles/android_for_work_enrollment_profiles_request_builder.py +++ b/msgraph_beta/generated/device_management/android_for_work_enrollment_profiles/android_for_work_enrollment_profiles_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AndroidForWo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AndroidForWorkEnrollmentProfile] = None, request_configuration: Optional[AndroidForWorkEnrollmentProfilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AndroidForWorkEnrollmentProf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/android_for_work_enrollment_profiles/item/android_for_work_enrollment_profile_item_request_builder.py b/msgraph_beta/generated/device_management/android_for_work_enrollment_profiles/item/android_for_work_enrollment_profile_item_request_builder.py index 0277e9a0cec..00f128ab323 100644 --- a/msgraph_beta/generated/device_management/android_for_work_enrollment_profiles/item/android_for_work_enrollment_profile_item_request_builder.py +++ b/msgraph_beta/generated/device_management/android_for_work_enrollment_profiles/item/android_for_work_enrollment_profile_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[AndroidFo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AndroidForWorkEnrollmentProfileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AndroidForWo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AndroidForWorkEnrollmentProfile] = None, request_configuration: Optional[AndroidForWorkEnrollmentProfileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AndroidForWorkEnrollmentPro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/android_for_work_enrollment_profiles/item/create_token/create_token_request_builder.py b/msgraph_beta/generated/device_management/android_for_work_enrollment_profiles/item/create_token/create_token_request_builder.py index 8be622caab9..7f8aea52816 100644 --- a/msgraph_beta/generated/device_management/android_for_work_enrollment_profiles/item/create_token/create_token_request_builder.py +++ b/msgraph_beta/generated/device_management/android_for_work_enrollment_profiles/item/create_token/create_token_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[CreateTokenPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/android_for_work_enrollment_profiles/item/revoke_token/revoke_token_request_builder.py b/msgraph_beta/generated/device_management/android_for_work_enrollment_profiles/item/revoke_token/revoke_token_request_builder.py index 4381e7264d5..fa7c72267e3 100644 --- a/msgraph_beta/generated/device_management/android_for_work_enrollment_profiles/item/revoke_token/revoke_token_request_builder.py +++ b/msgraph_beta/generated/device_management/android_for_work_enrollment_profiles/item/revoke_token/revoke_token_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RevokeToken request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RevokeTokenRequestBuilder: diff --git a/msgraph_beta/generated/device_management/android_for_work_settings/android_for_work_settings_request_builder.py b/msgraph_beta/generated/device_management/android_for_work_settings/android_for_work_settings_request_builder.py index c4c68053dac..7dddd95bbe1 100644 --- a/msgraph_beta/generated/device_management/android_for_work_settings/android_for_work_settings_request_builder.py +++ b/msgraph_beta/generated/device_management/android_for_work_settings/android_for_work_settings_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[AndroidFo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AndroidForWorkSettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[AndroidForWo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AndroidForWorkSettings] = None, request_configuration: Optional[AndroidForWorkSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[AndroidForWorkSettings] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/android_for_work_settings/complete_signup/complete_signup_request_builder.py b/msgraph_beta/generated/device_management/android_for_work_settings/complete_signup/complete_signup_request_builder.py index ca74e7af7dc..45f41c050e4 100644 --- a/msgraph_beta/generated/device_management/android_for_work_settings/complete_signup/complete_signup_request_builder.py +++ b/msgraph_beta/generated/device_management/android_for_work_settings/complete_signup/complete_signup_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[CompleteSignupPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/android_for_work_settings/request_signup_url/request_signup_url_request_builder.py b/msgraph_beta/generated/device_management/android_for_work_settings/request_signup_url/request_signup_url_request_builder.py index 1f3c3ad871f..58ad03f9c86 100644 --- a/msgraph_beta/generated/device_management/android_for_work_settings/request_signup_url/request_signup_url_request_builder.py +++ b/msgraph_beta/generated/device_management/android_for_work_settings/request_signup_url/request_signup_url_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[RequestSignupUrlPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/android_for_work_settings/sync_apps/sync_apps_request_builder.py b/msgraph_beta/generated/device_management/android_for_work_settings/sync_apps/sync_apps_request_builder.py index 31e25fc2313..c4e10ff62da 100644 --- a/msgraph_beta/generated/device_management/android_for_work_settings/sync_apps/sync_apps_request_builder.py +++ b/msgraph_beta/generated/device_management/android_for_work_settings/sync_apps/sync_apps_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[SyncAppsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SyncAppsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/android_for_work_settings/unbind/unbind_request_builder.py b/msgraph_beta/generated/device_management/android_for_work_settings/unbind/unbind_request_builder.py index c4ea3850e9e..8043ed4a082 100644 --- a/msgraph_beta/generated/device_management/android_for_work_settings/unbind/unbind_request_builder.py +++ b/msgraph_beta/generated/device_management/android_for_work_settings/unbind/unbind_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[UnbindReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnbindRequestBuilder: diff --git a/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/add_apps/add_apps_request_builder.py b/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/add_apps/add_apps_request_builder.py index b643afe5857..168e7789e79 100644 --- a/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/add_apps/add_apps_request_builder.py +++ b/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/add_apps/add_apps_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[AddAppsPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/android_managed_store_account_enterprise_settings_request_builder.py b/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/android_managed_store_account_enterprise_settings_request_builder.py index c86c5e6cd5a..147288c246b 100644 --- a/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/android_managed_store_account_enterprise_settings_request_builder.py +++ b/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/android_managed_store_account_enterprise_settings_request_builder.py @@ -111,7 +111,7 @@ def to_delete_request_information(self,request_configuration: Optional[AndroidMa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AndroidManagedStoreAccountEnterpriseSettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -128,7 +128,7 @@ def to_get_request_information(self,request_configuration: Optional[AndroidManag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AndroidManagedStoreAccountEnterpriseSettings] = None, request_configuration: Optional[AndroidManagedStoreAccountEnterpriseSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[AndroidManagedStoreAccountE request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/approve_apps/approve_apps_request_builder.py b/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/approve_apps/approve_apps_request_builder.py index 7a14d365162..7e10ef80c7d 100644 --- a/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/approve_apps/approve_apps_request_builder.py +++ b/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/approve_apps/approve_apps_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ApproveAppsPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/complete_signup/complete_signup_request_builder.py b/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/complete_signup/complete_signup_request_builder.py index d63d392cf95..31a3d489355 100644 --- a/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/complete_signup/complete_signup_request_builder.py +++ b/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/complete_signup/complete_signup_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[CompleteSignupPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/create_google_play_web_token/create_google_play_web_token_request_builder.py b/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/create_google_play_web_token/create_google_play_web_token_request_builder.py index ebfe2f23049..31bf8498509 100644 --- a/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/create_google_play_web_token/create_google_play_web_token_request_builder.py +++ b/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/create_google_play_web_token/create_google_play_web_token_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CreateGooglePlayWebTokenPost request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/request_signup_url/request_signup_url_request_builder.py b/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/request_signup_url/request_signup_url_request_builder.py index d940f26d46d..5c843fb193f 100644 --- a/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/request_signup_url/request_signup_url_request_builder.py +++ b/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/request_signup_url/request_signup_url_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[RequestSignupUrlPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/set_android_device_owner_fully_managed_enrollment_state/set_android_device_owner_fully_managed_enrollment_state_request_builder.py b/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/set_android_device_owner_fully_managed_enrollment_state/set_android_device_owner_fully_managed_enrollment_state_request_builder.py index e5c5c841bb1..863588f3205 100644 --- a/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/set_android_device_owner_fully_managed_enrollment_state/set_android_device_owner_fully_managed_enrollment_state_request_builder.py +++ b/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/set_android_device_owner_fully_managed_enrollment_state/set_android_device_owner_fully_managed_enrollment_state_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetAndroidDeviceOwnerFullyMa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/sync_apps/sync_apps_request_builder.py b/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/sync_apps/sync_apps_request_builder.py index 9440e4cda95..4adb8c4815e 100644 --- a/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/sync_apps/sync_apps_request_builder.py +++ b/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/sync_apps/sync_apps_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[SyncAppsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SyncAppsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/unbind/unbind_request_builder.py b/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/unbind/unbind_request_builder.py index bf5676643a4..d9fd385d565 100644 --- a/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/unbind/unbind_request_builder.py +++ b/msgraph_beta/generated/device_management/android_managed_store_account_enterprise_settings/unbind/unbind_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[UnbindReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnbindRequestBuilder: diff --git a/msgraph_beta/generated/device_management/android_managed_store_app_configuration_schemas/android_managed_store_app_configuration_schemas_request_builder.py b/msgraph_beta/generated/device_management/android_managed_store_app_configuration_schemas/android_managed_store_app_configuration_schemas_request_builder.py index 4337f48acf4..4a512b2a4f7 100644 --- a/msgraph_beta/generated/device_management/android_managed_store_app_configuration_schemas/android_managed_store_app_configuration_schemas_request_builder.py +++ b/msgraph_beta/generated/device_management/android_managed_store_app_configuration_schemas/android_managed_store_app_configuration_schemas_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AndroidManag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AndroidManagedStoreAppConfigurationSchema] = None, request_configuration: Optional[AndroidManagedStoreAppConfigurationSchemasRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AndroidManagedStoreAppConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/android_managed_store_app_configuration_schemas/item/android_managed_store_app_configuration_schema_item_request_builder.py b/msgraph_beta/generated/device_management/android_managed_store_app_configuration_schemas/item/android_managed_store_app_configuration_schema_item_request_builder.py index 2d722c5093d..aa44d716c07 100644 --- a/msgraph_beta/generated/device_management/android_managed_store_app_configuration_schemas/item/android_managed_store_app_configuration_schema_item_request_builder.py +++ b/msgraph_beta/generated/device_management/android_managed_store_app_configuration_schemas/item/android_managed_store_app_configuration_schema_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AndroidMa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AndroidManagedStoreAppConfigurationSchemaItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AndroidManag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AndroidManagedStoreAppConfigurationSchema] = None, request_configuration: Optional[AndroidManagedStoreAppConfigurationSchemaItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AndroidManagedStoreAppConfi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/apple_push_notification_certificate/apple_push_notification_certificate_request_builder.py b/msgraph_beta/generated/device_management/apple_push_notification_certificate/apple_push_notification_certificate_request_builder.py index 269d8eb96ab..6c2f2310951 100644 --- a/msgraph_beta/generated/device_management/apple_push_notification_certificate/apple_push_notification_certificate_request_builder.py +++ b/msgraph_beta/generated/device_management/apple_push_notification_certificate/apple_push_notification_certificate_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ApplePush request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ApplePushNotificationCertificateRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ApplePushNot request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ApplePushNotificationCertificate] = None, request_configuration: Optional[ApplePushNotificationCertificateRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ApplePushNotificationCertif request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/apple_push_notification_certificate/download_apple_push_notification_certificate_signing_request/download_apple_push_notification_certificate_signing_request_request_builder.py b/msgraph_beta/generated/device_management/apple_push_notification_certificate/download_apple_push_notification_certificate_signing_request/download_apple_push_notification_certificate_signing_request_request_builder.py index 20481a7bf45..3c17085776b 100644 --- a/msgraph_beta/generated/device_management/apple_push_notification_certificate/download_apple_push_notification_certificate_signing_request/download_apple_push_notification_certificate_signing_request_request_builder.py +++ b/msgraph_beta/generated/device_management/apple_push_notification_certificate/download_apple_push_notification_certificate_signing_request/download_apple_push_notification_certificate_signing_request_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[DownloadAppl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DownloadApplePushNotificationCertificateSigningRequestRequestBuilder: diff --git a/msgraph_beta/generated/device_management/apple_push_notification_certificate/generate_apple_push_notification_certificate_signing_request/generate_apple_push_notification_certificate_signing_request_request_builder.py b/msgraph_beta/generated/device_management/apple_push_notification_certificate/generate_apple_push_notification_certificate_signing_request/generate_apple_push_notification_certificate_signing_request_request_builder.py index 2bb594f011b..3f865484b10 100644 --- a/msgraph_beta/generated/device_management/apple_push_notification_certificate/generate_apple_push_notification_certificate_signing_request/generate_apple_push_notification_certificate_signing_request_request_builder.py +++ b/msgraph_beta/generated/device_management/apple_push_notification_certificate/generate_apple_push_notification_certificate_signing_request/generate_apple_push_notification_certificate_signing_request_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[GenerateApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GenerateApplePushNotificationCertificateSigningRequestRequestBuilder: diff --git a/msgraph_beta/generated/device_management/apple_user_initiated_enrollment_profiles/apple_user_initiated_enrollment_profiles_request_builder.py b/msgraph_beta/generated/device_management/apple_user_initiated_enrollment_profiles/apple_user_initiated_enrollment_profiles_request_builder.py index 302b0b9f13d..4235f2392f5 100644 --- a/msgraph_beta/generated/device_management/apple_user_initiated_enrollment_profiles/apple_user_initiated_enrollment_profiles_request_builder.py +++ b/msgraph_beta/generated/device_management/apple_user_initiated_enrollment_profiles/apple_user_initiated_enrollment_profiles_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AppleUserIni request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AppleUserInitiatedEnrollmentProfile] = None, request_configuration: Optional[AppleUserInitiatedEnrollmentProfilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AppleUserInitiatedEnrollment request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/apple_user_initiated_enrollment_profiles/item/apple_user_initiated_enrollment_profile_item_request_builder.py b/msgraph_beta/generated/device_management/apple_user_initiated_enrollment_profiles/item/apple_user_initiated_enrollment_profile_item_request_builder.py index dfcdfad0972..4020be85dcf 100644 --- a/msgraph_beta/generated/device_management/apple_user_initiated_enrollment_profiles/item/apple_user_initiated_enrollment_profile_item_request_builder.py +++ b/msgraph_beta/generated/device_management/apple_user_initiated_enrollment_profiles/item/apple_user_initiated_enrollment_profile_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[AppleUser request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AppleUserInitiatedEnrollmentProfileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AppleUserIni request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AppleUserInitiatedEnrollmentProfile] = None, request_configuration: Optional[AppleUserInitiatedEnrollmentProfileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AppleUserInitiatedEnrollmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/apple_user_initiated_enrollment_profiles/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_management/apple_user_initiated_enrollment_profiles/item/assignments/assignments_request_builder.py index 0c76a72fdad..7cf07de4c1f 100644 --- a/msgraph_beta/generated/device_management/apple_user_initiated_enrollment_profiles/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/apple_user_initiated_enrollment_profiles/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AppleEnrollmentProfileAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AppleEnrollmentProfileAssign request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/apple_user_initiated_enrollment_profiles/item/assignments/item/apple_enrollment_profile_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/apple_user_initiated_enrollment_profiles/item/assignments/item/apple_enrollment_profile_assignment_item_request_builder.py index b5e058e5b19..4101adefda6 100644 --- a/msgraph_beta/generated/device_management/apple_user_initiated_enrollment_profiles/item/assignments/item/apple_enrollment_profile_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/apple_user_initiated_enrollment_profiles/item/assignments/item/apple_enrollment_profile_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AppleEnro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AppleEnrollmentProfileAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AppleEnrollm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AppleEnrollmentProfileAssignment] = None, request_configuration: Optional[AppleEnrollmentProfileAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AppleEnrollmentProfileAssig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/apple_user_initiated_enrollment_profiles/item/set_priority/set_priority_request_builder.py b/msgraph_beta/generated/device_management/apple_user_initiated_enrollment_profiles/item/set_priority/set_priority_request_builder.py index 0fd74715e32..ceac8d849a4 100644 --- a/msgraph_beta/generated/device_management/apple_user_initiated_enrollment_profiles/item/set_priority/set_priority_request_builder.py +++ b/msgraph_beta/generated/device_management/apple_user_initiated_enrollment_profiles/item/set_priority/set_priority_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetPriorityPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/assignment_filters/assignment_filters_request_builder.py b/msgraph_beta/generated/device_management/assignment_filters/assignment_filters_request_builder.py index 8a1c7639430..0676a56c67d 100644 --- a/msgraph_beta/generated/device_management/assignment_filters/assignment_filters_request_builder.py +++ b/msgraph_beta/generated/device_management/assignment_filters/assignment_filters_request_builder.py @@ -118,7 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentFi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceAndAppManagementAssignmentFilter] = None, request_configuration: Optional[AssignmentFiltersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -137,7 +137,7 @@ def to_post_request_information(self,body: Optional[DeviceAndAppManagementAssign request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/assignment_filters/enable/enable_request_builder.py b/msgraph_beta/generated/device_management/assignment_filters/enable/enable_request_builder.py index 738bb72f3f0..20f54db6145 100644 --- a/msgraph_beta/generated/device_management/assignment_filters/enable/enable_request_builder.py +++ b/msgraph_beta/generated/device_management/assignment_filters/enable/enable_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[EnablePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/assignment_filters/get_platform_supported_properties_with_platform/get_platform_supported_properties_with_platform_request_builder.py b/msgraph_beta/generated/device_management/assignment_filters/get_platform_supported_properties_with_platform/get_platform_supported_properties_with_platform_request_builder.py index cb68d44f6ba..7a6de8aff36 100644 --- a/msgraph_beta/generated/device_management/assignment_filters/get_platform_supported_properties_with_platform/get_platform_supported_properties_with_platform_request_builder.py +++ b/msgraph_beta/generated/device_management/assignment_filters/get_platform_supported_properties_with_platform/get_platform_supported_properties_with_platform_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GetPlatformS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetPlatformSupportedPropertiesWithPlatformRequestBuilder: diff --git a/msgraph_beta/generated/device_management/assignment_filters/get_state/get_state_request_builder.py b/msgraph_beta/generated/device_management/assignment_filters/get_state/get_state_request_builder.py index c329020f8f1..d22117e635f 100644 --- a/msgraph_beta/generated/device_management/assignment_filters/get_state/get_state_request_builder.py +++ b/msgraph_beta/generated/device_management/assignment_filters/get_state/get_state_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetStateRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetStateRequestBuilder: diff --git a/msgraph_beta/generated/device_management/assignment_filters/item/device_and_app_management_assignment_filter_item_request_builder.py b/msgraph_beta/generated/device_management/assignment_filters/item/device_and_app_management_assignment_filter_item_request_builder.py index bacc5dac149..28cb2f5f95c 100644 --- a/msgraph_beta/generated/device_management/assignment_filters/item/device_and_app_management_assignment_filter_item_request_builder.py +++ b/msgraph_beta/generated/device_management/assignment_filters/item/device_and_app_management_assignment_filter_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceAnd request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceAndAppManagementAssignmentFilterItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceAndApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceAndAppManagementAssignmentFilter] = None, request_configuration: Optional[DeviceAndAppManagementAssignmentFilterItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceAndAppManagementAssig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/assignment_filters/item/get_supported_properties/get_supported_properties_request_builder.py b/msgraph_beta/generated/device_management/assignment_filters/item/get_supported_properties/get_supported_properties_request_builder.py index 6d022d3f19f..da0a04b6377 100644 --- a/msgraph_beta/generated/device_management/assignment_filters/item/get_supported_properties/get_supported_properties_request_builder.py +++ b/msgraph_beta/generated/device_management/assignment_filters/item/get_supported_properties/get_supported_properties_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSupported request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSupportedPropertiesRequestBuilder: diff --git a/msgraph_beta/generated/device_management/assignment_filters/validate_filter/validate_filter_request_builder.py b/msgraph_beta/generated/device_management/assignment_filters/validate_filter/validate_filter_request_builder.py index 636b23bb609..663296c931d 100644 --- a/msgraph_beta/generated/device_management/assignment_filters/validate_filter/validate_filter_request_builder.py +++ b/msgraph_beta/generated/device_management/assignment_filters/validate_filter/validate_filter_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ValidateFilterPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/audit_events/audit_events_request_builder.py b/msgraph_beta/generated/device_management/audit_events/audit_events_request_builder.py index c12e17c7b83..3da3e3a58af 100644 --- a/msgraph_beta/generated/device_management/audit_events/audit_events_request_builder.py +++ b/msgraph_beta/generated/device_management/audit_events/audit_events_request_builder.py @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[AuditEventsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AuditEvent] = None, request_configuration: Optional[AuditEventsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -135,7 +135,7 @@ def to_post_request_information(self,body: Optional[AuditEvent] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/audit_events/get_audit_activity_types_with_category/get_audit_activity_types_with_category_request_builder.py b/msgraph_beta/generated/device_management/audit_events/get_audit_activity_types_with_category/get_audit_activity_types_with_category_request_builder.py index 1e1937565b4..d7762c5fe0d 100644 --- a/msgraph_beta/generated/device_management/audit_events/get_audit_activity_types_with_category/get_audit_activity_types_with_category_request_builder.py +++ b/msgraph_beta/generated/device_management/audit_events/get_audit_activity_types_with_category/get_audit_activity_types_with_category_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GetAuditActi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetAuditActivityTypesWithCategoryRequestBuilder: diff --git a/msgraph_beta/generated/device_management/audit_events/get_audit_categories/get_audit_categories_request_builder.py b/msgraph_beta/generated/device_management/audit_events/get_audit_categories/get_audit_categories_request_builder.py index 1e808a45998..9fa9b72bcdc 100644 --- a/msgraph_beta/generated/device_management/audit_events/get_audit_categories/get_audit_categories_request_builder.py +++ b/msgraph_beta/generated/device_management/audit_events/get_audit_categories/get_audit_categories_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetAuditCate request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetAuditCategoriesRequestBuilder: diff --git a/msgraph_beta/generated/device_management/audit_events/item/audit_event_item_request_builder.py b/msgraph_beta/generated/device_management/audit_events/item/audit_event_item_request_builder.py index 33c60df3b21..213dca37877 100644 --- a/msgraph_beta/generated/device_management/audit_events/item/audit_event_item_request_builder.py +++ b/msgraph_beta/generated/device_management/audit_events/item/audit_event_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AuditEven request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AuditEventItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AuditEventIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AuditEvent] = None, request_configuration: Optional[AuditEventItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AuditEvent] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/autopilot_events/autopilot_events_request_builder.py b/msgraph_beta/generated/device_management/autopilot_events/autopilot_events_request_builder.py index a90f2a1c81e..3a27fc08c67 100644 --- a/msgraph_beta/generated/device_management/autopilot_events/autopilot_events_request_builder.py +++ b/msgraph_beta/generated/device_management/autopilot_events/autopilot_events_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AutopilotEve request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementAutopilotEvent] = None, request_configuration: Optional[AutopilotEventsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementAutopilotEve request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/autopilot_events/item/device_management_autopilot_event_item_request_builder.py b/msgraph_beta/generated/device_management/autopilot_events/item/device_management_autopilot_event_item_request_builder.py index 1bd45f95e29..64e48b5850e 100644 --- a/msgraph_beta/generated/device_management/autopilot_events/item/device_management_autopilot_event_item_request_builder.py +++ b/msgraph_beta/generated/device_management/autopilot_events/item/device_management_autopilot_event_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementAutopilotEventItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementAutopilotEvent] = None, request_configuration: Optional[DeviceManagementAutopilotEventItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementAutopilotEv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/autopilot_events/item/policy_status_details/item/device_management_autopilot_policy_status_detail_item_request_builder.py b/msgraph_beta/generated/device_management/autopilot_events/item/policy_status_details/item/device_management_autopilot_policy_status_detail_item_request_builder.py index 9b0f7585127..5450266de9c 100644 --- a/msgraph_beta/generated/device_management/autopilot_events/item/policy_status_details/item/device_management_autopilot_policy_status_detail_item_request_builder.py +++ b/msgraph_beta/generated/device_management/autopilot_events/item/policy_status_details/item/device_management_autopilot_policy_status_detail_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementAutopilotPolicyStatusDetailItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementAutopilotPolicyStatusDetail] = None, request_configuration: Optional[DeviceManagementAutopilotPolicyStatusDetailItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementAutopilotPo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/autopilot_events/item/policy_status_details/policy_status_details_request_builder.py b/msgraph_beta/generated/device_management/autopilot_events/item/policy_status_details/policy_status_details_request_builder.py index 4ca6d91f225..040a4741710 100644 --- a/msgraph_beta/generated/device_management/autopilot_events/item/policy_status_details/policy_status_details_request_builder.py +++ b/msgraph_beta/generated/device_management/autopilot_events/item/policy_status_details/policy_status_details_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PolicyStatus request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementAutopilotPolicyStatusDetail] = None, request_configuration: Optional[PolicyStatusDetailsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementAutopilotPol request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/cart_to_class_associations/cart_to_class_associations_request_builder.py b/msgraph_beta/generated/device_management/cart_to_class_associations/cart_to_class_associations_request_builder.py index 62a55505506..ffa5ad4d1db 100644 --- a/msgraph_beta/generated/device_management/cart_to_class_associations/cart_to_class_associations_request_builder.py +++ b/msgraph_beta/generated/device_management/cart_to_class_associations/cart_to_class_associations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[CartToClassA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CartToClassAssociation] = None, request_configuration: Optional[CartToClassAssociationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[CartToClassAssociation] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/cart_to_class_associations/item/cart_to_class_association_item_request_builder.py b/msgraph_beta/generated/device_management/cart_to_class_associations/item/cart_to_class_association_item_request_builder.py index 3cbb288b122..c8390cd4f2f 100644 --- a/msgraph_beta/generated/device_management/cart_to_class_associations/item/cart_to_class_association_item_request_builder.py +++ b/msgraph_beta/generated/device_management/cart_to_class_associations/item/cart_to_class_association_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[CartToCla request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CartToClassAssociationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[CartToClassA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CartToClassAssociation] = None, request_configuration: Optional[CartToClassAssociationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[CartToClassAssociation] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/categories/categories_request_builder.py b/msgraph_beta/generated/device_management/categories/categories_request_builder.py index 6733b8c4a96..dfb2cd0a821 100644 --- a/msgraph_beta/generated/device_management/categories/categories_request_builder.py +++ b/msgraph_beta/generated/device_management/categories/categories_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementSettingCategory] = None, request_configuration: Optional[CategoriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementSettingCateg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/categories/item/device_management_setting_category_item_request_builder.py b/msgraph_beta/generated/device_management/categories/item/device_management_setting_category_item_request_builder.py index 82ce95eb0c7..f498eb00a1e 100644 --- a/msgraph_beta/generated/device_management/categories/item/device_management_setting_category_item_request_builder.py +++ b/msgraph_beta/generated/device_management/categories/item/device_management_setting_category_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementSettingCategoryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementSettingCategory] = None, request_configuration: Optional[DeviceManagementSettingCategoryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementSettingCate request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/categories/item/setting_definitions/item/device_management_setting_definition_item_request_builder.py b/msgraph_beta/generated/device_management/categories/item/setting_definitions/item/device_management_setting_definition_item_request_builder.py index 8b7fabec0d2..53f2d8086de 100644 --- a/msgraph_beta/generated/device_management/categories/item/setting_definitions/item/device_management_setting_definition_item_request_builder.py +++ b/msgraph_beta/generated/device_management/categories/item/setting_definitions/item/device_management_setting_definition_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementSettingDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementSettingDefinition] = None, request_configuration: Optional[DeviceManagementSettingDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementSettingDefi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/categories/item/setting_definitions/setting_definitions_request_builder.py b/msgraph_beta/generated/device_management/categories/item/setting_definitions/setting_definitions_request_builder.py index 9e4084d9fd1..cec1ba0e9b9 100644 --- a/msgraph_beta/generated/device_management/categories/item/setting_definitions/setting_definitions_request_builder.py +++ b/msgraph_beta/generated/device_management/categories/item/setting_definitions/setting_definitions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementSettingDefinition] = None, request_configuration: Optional[SettingDefinitionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementSettingDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/certificate_connector_details/certificate_connector_details_request_builder.py b/msgraph_beta/generated/device_management/certificate_connector_details/certificate_connector_details_request_builder.py index e3a85cbc02a..f3f08acb42e 100644 --- a/msgraph_beta/generated/device_management/certificate_connector_details/certificate_connector_details_request_builder.py +++ b/msgraph_beta/generated/device_management/certificate_connector_details/certificate_connector_details_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[CertificateC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CertificateConnectorDetails] = None, request_configuration: Optional[CertificateConnectorDetailsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[CertificateConnectorDetails] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/certificate_connector_details/item/certificate_connector_details_item_request_builder.py b/msgraph_beta/generated/device_management/certificate_connector_details/item/certificate_connector_details_item_request_builder.py index 0cca7e0ef7a..f594b6f49ef 100644 --- a/msgraph_beta/generated/device_management/certificate_connector_details/item/certificate_connector_details_item_request_builder.py +++ b/msgraph_beta/generated/device_management/certificate_connector_details/item/certificate_connector_details_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Certifica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CertificateConnectorDetailsItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[CertificateC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CertificateConnectorDetails] = None, request_configuration: Optional[CertificateConnectorDetailsItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[CertificateConnectorDetails request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/certificate_connector_details/item/get_health_metric_time_series/get_health_metric_time_series_request_builder.py b/msgraph_beta/generated/device_management/certificate_connector_details/item/get_health_metric_time_series/get_health_metric_time_series_request_builder.py index 2d8e11ac19e..0371a300ad6 100644 --- a/msgraph_beta/generated/device_management/certificate_connector_details/item/get_health_metric_time_series/get_health_metric_time_series_request_builder.py +++ b/msgraph_beta/generated/device_management/certificate_connector_details/item/get_health_metric_time_series/get_health_metric_time_series_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GetHealthMetricTimeSeriesPos request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/certificate_connector_details/item/get_health_metrics/get_health_metrics_request_builder.py b/msgraph_beta/generated/device_management/certificate_connector_details/item/get_health_metrics/get_health_metrics_request_builder.py index dd2524b4448..928900f730c 100644 --- a/msgraph_beta/generated/device_management/certificate_connector_details/item/get_health_metrics/get_health_metrics_request_builder.py +++ b/msgraph_beta/generated/device_management/certificate_connector_details/item/get_health_metrics/get_health_metrics_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GetHealthMetricsPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/chrome_o_s_onboarding_settings/chrome_o_s_onboarding_settings_request_builder.py b/msgraph_beta/generated/device_management/chrome_o_s_onboarding_settings/chrome_o_s_onboarding_settings_request_builder.py index e2229a38110..12717b1c36c 100644 --- a/msgraph_beta/generated/device_management/chrome_o_s_onboarding_settings/chrome_o_s_onboarding_settings_request_builder.py +++ b/msgraph_beta/generated/device_management/chrome_o_s_onboarding_settings/chrome_o_s_onboarding_settings_request_builder.py @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[ChromeOSOnbo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChromeOSOnboardingSettings] = None, request_configuration: Optional[ChromeOSOnboardingSettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ChromeOSOnboardingSettings] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/chrome_o_s_onboarding_settings/connect/connect_request_builder.py b/msgraph_beta/generated/device_management/chrome_o_s_onboarding_settings/connect/connect_request_builder.py index 98b27c14b1c..01927a938bd 100644 --- a/msgraph_beta/generated/device_management/chrome_o_s_onboarding_settings/connect/connect_request_builder.py +++ b/msgraph_beta/generated/device_management/chrome_o_s_onboarding_settings/connect/connect_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ConnectPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/chrome_o_s_onboarding_settings/disconnect/disconnect_request_builder.py b/msgraph_beta/generated/device_management/chrome_o_s_onboarding_settings/disconnect/disconnect_request_builder.py index ed4f2625b45..ee166dc55d0 100644 --- a/msgraph_beta/generated/device_management/chrome_o_s_onboarding_settings/disconnect/disconnect_request_builder.py +++ b/msgraph_beta/generated/device_management/chrome_o_s_onboarding_settings/disconnect/disconnect_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[DisconnectR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DisconnectRequestBuilder: diff --git a/msgraph_beta/generated/device_management/chrome_o_s_onboarding_settings/item/chrome_o_s_onboarding_settings_item_request_builder.py b/msgraph_beta/generated/device_management/chrome_o_s_onboarding_settings/item/chrome_o_s_onboarding_settings_item_request_builder.py index c0ae1709c86..b9491bd8616 100644 --- a/msgraph_beta/generated/device_management/chrome_o_s_onboarding_settings/item/chrome_o_s_onboarding_settings_item_request_builder.py +++ b/msgraph_beta/generated/device_management/chrome_o_s_onboarding_settings/item/chrome_o_s_onboarding_settings_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ChromeOSO request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChromeOSOnboardingSettingsItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ChromeOSOnbo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChromeOSOnboardingSettings] = None, request_configuration: Optional[ChromeOSOnboardingSettingsItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ChromeOSOnboardingSettings] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/cloud_p_c_connectivity_issues/cloud_p_c_connectivity_issues_request_builder.py b/msgraph_beta/generated/device_management/cloud_p_c_connectivity_issues/cloud_p_c_connectivity_issues_request_builder.py index cdfc2595dc2..4fc76461fcc 100644 --- a/msgraph_beta/generated/device_management/cloud_p_c_connectivity_issues/cloud_p_c_connectivity_issues_request_builder.py +++ b/msgraph_beta/generated/device_management/cloud_p_c_connectivity_issues/cloud_p_c_connectivity_issues_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[CloudPCConne request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CloudPCConnectivityIssue] = None, request_configuration: Optional[CloudPCConnectivityIssuesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[CloudPCConnectivityIssue] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/cloud_p_c_connectivity_issues/item/cloud_p_c_connectivity_issue_item_request_builder.py b/msgraph_beta/generated/device_management/cloud_p_c_connectivity_issues/item/cloud_p_c_connectivity_issue_item_request_builder.py index cf2bb3aa24c..1c5eb7a1d7c 100644 --- a/msgraph_beta/generated/device_management/cloud_p_c_connectivity_issues/item/cloud_p_c_connectivity_issue_item_request_builder.py +++ b/msgraph_beta/generated/device_management/cloud_p_c_connectivity_issues/item/cloud_p_c_connectivity_issue_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[CloudPCCo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CloudPCConnectivityIssueItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[CloudPCConne request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CloudPCConnectivityIssue] = None, request_configuration: Optional[CloudPCConnectivityIssueItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[CloudPCConnectivityIssue] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/app_diagnostics_with_upn/app_diagnostics_with_upn_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/app_diagnostics_with_upn/app_diagnostics_with_upn_request_builder.py index 43d3faadf06..45f36e8d66e 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/app_diagnostics_with_upn/app_diagnostics_with_upn_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/app_diagnostics_with_upn/app_diagnostics_with_upn_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[AppDiagnosti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppDiagnosticsWithUpnRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/bulk_reprovision_cloud_pc/bulk_reprovision_cloud_pc_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/bulk_reprovision_cloud_pc/bulk_reprovision_cloud_pc_request_builder.py index e9d80cc3db1..e7f11895fe0 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/bulk_reprovision_cloud_pc/bulk_reprovision_cloud_pc_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/bulk_reprovision_cloud_pc/bulk_reprovision_cloud_pc_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[BulkReprovisionCloudPcPostRequestBody] = None, request_configuration: Optional[BulkReprovisionCloudPcRequestBuilderPostRequestConfiguration] = None) -> Optional[CloudPcBulkRemoteActionResult]: """ - Bulk reprovision a set of Cloud PC devices with Intune managed device IDs. This API is available in the following national cloud deployments. + Bulk reprovision a set of Cloud PC devices with Intune managed device IDs. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcBulkRemoteActionResult] @@ -54,7 +54,7 @@ async def post(self,body: Optional[BulkReprovisionCloudPcPostRequestBody] = None def to_post_request_information(self,body: Optional[BulkReprovisionCloudPcPostRequestBody] = None, request_configuration: Optional[BulkReprovisionCloudPcRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Bulk reprovision a set of Cloud PC devices with Intune managed device IDs. This API is available in the following national cloud deployments. + Bulk reprovision a set of Cloud PC devices with Intune managed device IDs. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[BulkReprovisionCloudPcPostRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_request_builder.py index 5fbe1f07064..7ec2833b721 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[BulkRestoreCloudPcPostRequestBody] = None, request_configuration: Optional[BulkRestoreCloudPcRequestBuilderPostRequestConfiguration] = None) -> Optional[CloudPcBulkRemoteActionResult]: """ - Restore multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices and a restore point date and time. This API is available in the following national cloud deployments. + Restore multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices and a restore point date and time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcBulkRemoteActionResult] @@ -54,7 +54,7 @@ async def post(self,body: Optional[BulkRestoreCloudPcPostRequestBody] = None, re def to_post_request_information(self,body: Optional[BulkRestoreCloudPcPostRequestBody] = None, request_configuration: Optional[BulkRestoreCloudPcRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices and a restore point date and time. This API is available in the following national cloud deployments. + Restore multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices and a restore point date and time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[BulkRestoreCloudPcPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_request_builder.py index 699bee2682e..71d26bd67a9 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[BulkSetCloudPcReviewStatusPostRequestBody] = None, request_configuration: Optional[BulkSetCloudPcReviewStatusRequestBuilderPostRequestConfiguration] = None) -> Optional[CloudPcBulkRemoteActionResult]: """ - Set the review status of multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices. This API is available in the following national cloud deployments. + Set the review status of multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcBulkRemoteActionResult] @@ -54,7 +54,7 @@ async def post(self,body: Optional[BulkSetCloudPcReviewStatusPostRequestBody] = def to_post_request_information(self,body: Optional[BulkSetCloudPcReviewStatusPostRequestBody] = None, request_configuration: Optional[BulkSetCloudPcReviewStatusRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Set the review status of multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices. This API is available in the following national cloud deployments. + Set the review status of multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[BulkSetCloudPcReviewStatusPo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/comanaged_devices_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/comanaged_devices_request_builder.py index c1b05c06d92..48d2b30f898 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/comanaged_devices_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/comanaged_devices_request_builder.py @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ComanagedDev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedDevice] = None, request_configuration: Optional[ComanagedDevicesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_post_request_information(self,body: Optional[ManagedDevice] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/download_app_diagnostics/download_app_diagnostics_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/download_app_diagnostics/download_app_diagnostics_request_builder.py index 9629e285a20..69f73f6d1e8 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/download_app_diagnostics/download_app_diagnostics_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/download_app_diagnostics/download_app_diagnostics_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[DownloadAppDiagnosticsPostRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/execute_action/execute_action_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/execute_action/execute_action_request_builder.py index 012da84c93a..045bec13e4c 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/execute_action/execute_action_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/execute_action/execute_action_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ExecuteActionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/activate_device_esim/activate_device_esim_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/activate_device_esim/activate_device_esim_request_builder.py index 4490a5c49e3..344b1da9941 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/activate_device_esim/activate_device_esim_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/activate_device_esim/activate_device_esim_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ActivateDeviceEsimPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/assignment_filter_evaluation_status_details/assignment_filter_evaluation_status_details_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/assignment_filter_evaluation_status_details/assignment_filter_evaluation_status_details_request_builder.py index 351f3f6d203..b9b625fd7cc 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/assignment_filter_evaluation_status_details/assignment_filter_evaluation_status_details_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/assignment_filter_evaluation_status_details/assignment_filter_evaluation_status_details_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentFi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AssignmentFilterEvaluationStatusDetails] = None, request_configuration: Optional[AssignmentFilterEvaluationStatusDetailsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AssignmentFilterEvaluationSt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/assignment_filter_evaluation_status_details/item/assignment_filter_evaluation_status_details_item_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/assignment_filter_evaluation_status_details/item/assignment_filter_evaluation_status_details_item_request_builder.py index fb7456fe37e..7614ff680af 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/assignment_filter_evaluation_status_details/item/assignment_filter_evaluation_status_details_item_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/assignment_filter_evaluation_status_details/item/assignment_filter_evaluation_status_details_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Assignmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AssignmentFilterEvaluationStatusDetailsItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentFi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AssignmentFilterEvaluationStatusDetails] = None, request_configuration: Optional[AssignmentFilterEvaluationStatusDetailsItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AssignmentFilterEvaluationS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/bypass_activation_lock/bypass_activation_lock_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/bypass_activation_lock/bypass_activation_lock_request_builder.py index d931c686df9..d72ca7bf94b 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/bypass_activation_lock/bypass_activation_lock_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/bypass_activation_lock/bypass_activation_lock_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[BypassActiv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> BypassActivationLockRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/clean_windows_device/clean_windows_device_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/clean_windows_device/clean_windows_device_request_builder.py index 0e9f4a26786..abd9c31a7e8 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/clean_windows_device/clean_windows_device_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/clean_windows_device/clean_windows_device_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[CleanWindowsDevicePostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/create_device_log_collection_request/create_device_log_collection_request_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/create_device_log_collection_request/create_device_log_collection_request_request_builder.py index 8196e239b66..a0a116346c4 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/create_device_log_collection_request/create_device_log_collection_request_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/create_device_log_collection_request/create_device_log_collection_request_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CreateDeviceLogCollectionReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/delete_user_from_shared_apple_device/delete_user_from_shared_apple_device_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/delete_user_from_shared_apple_device/delete_user_from_shared_apple_device_request_builder.py index f21a90bae53..9c24282dd6d 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/delete_user_from_shared_apple_device/delete_user_from_shared_apple_device_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/delete_user_from_shared_apple_device/delete_user_from_shared_apple_device_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[DeleteUserFromSharedAppleDev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/deprovision/deprovision_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/deprovision/deprovision_request_builder.py index 42daebbe785..884a7ec886f 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/deprovision/deprovision_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/deprovision/deprovision_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[DeprovisionPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/detected_apps/detected_apps_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/detected_apps/detected_apps_request_builder.py index 7221518fa7f..84b2ef4120c 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/detected_apps/detected_apps_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/detected_apps/detected_apps_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[DetectedApps request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DetectedAppsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/detected_apps/item/detected_app_item_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/detected_apps/item/detected_app_item_request_builder.py index 7333dae8896..70a60c266e1 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/detected_apps/item/detected_app_item_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/detected_apps/item/detected_app_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DetectedAppI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DetectedAppItemRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/device_category/device_category_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/device_category/device_category_request_builder.py index 3bc61269e83..158201a121b 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/device_category/device_category_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/device_category/device_category_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceCategoryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCatego request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceCategory] = None, request_configuration: Optional[DeviceCategoryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceCategory] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/device_compliance_policy_states/device_compliance_policy_states_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/device_compliance_policy_states/device_compliance_policy_states_request_builder.py index 1764fc92d60..687930050f1 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/device_compliance_policy_states/device_compliance_policy_states_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/device_compliance_policy_states/device_compliance_policy_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCompli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceCompliancePolicyState] = None, request_configuration: Optional[DeviceCompliancePolicyStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceCompliancePolicyState] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/device_compliance_policy_states/item/device_compliance_policy_state_item_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/device_compliance_policy_states/item/device_compliance_policy_state_item_request_builder.py index 0010b9bfe46..6f6aa252819 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/device_compliance_policy_states/item/device_compliance_policy_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/device_compliance_policy_states/item/device_compliance_policy_state_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCom request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceCompliancePolicyStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCompli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceCompliancePolicyState] = None, request_configuration: Optional[DeviceCompliancePolicyStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceCompliancePolicyState request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/device_configuration_states/device_configuration_states_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/device_configuration_states/device_configuration_states_request_builder.py index 4ed63a4e389..f2a47554b23 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/device_configuration_states/device_configuration_states_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/device_configuration_states/device_configuration_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceConfigurationState] = None, request_configuration: Optional[DeviceConfigurationStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceConfigurationState] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/device_configuration_states/item/device_configuration_state_item_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/device_configuration_states/item/device_configuration_state_item_request_builder.py index fb9aaac258c..b584ee501fd 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/device_configuration_states/item/device_configuration_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/device_configuration_states/item/device_configuration_state_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceConfigurationStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceConfigurationState] = None, request_configuration: Optional[DeviceConfigurationStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceConfigurationState] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/device_health_script_states/device_health_script_states_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/device_health_script_states/device_health_script_states_request_builder.py index 500050ebadc..8bdc127bc1d 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/device_health_script_states/device_health_script_states_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/device_health_script_states/device_health_script_states_request_builder.py @@ -88,7 +88,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceHealth request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceHealthScriptPolicyState] = None, request_configuration: Optional[DeviceHealthScriptStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -107,7 +107,7 @@ def to_post_request_information(self,body: Optional[DeviceHealthScriptPolicyStat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/device_health_script_states/with_id_with_policy_id_with_device_id/with_id_with_policy_id_with_device_id_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/device_health_script_states/with_id_with_policy_id_with_device_id/with_id_with_policy_id_with_device_id_request_builder.py index 6f37adf637f..a247e98c2c5 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/device_health_script_states/with_id_with_policy_id_with_device_id/with_id_with_policy_id_with_device_id_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/device_health_script_states/with_id_with_policy_id_with_device_id/with_id_with_policy_id_with_device_id_request_builder.py @@ -110,7 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[WithIdWit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WithIdWithPolicyIdWithDeviceIdRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[WithIdWithPo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceHealthScriptPolicyState] = None, request_configuration: Optional[WithIdWithPolicyIdWithDeviceIdRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[DeviceHealthScriptPolicySta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/disable/disable_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/disable/disable_request_builder.py index 1be0dd16663..d174adff8ea 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/disable/disable_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/disable/disable_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[DisableRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DisableRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/disable_lost_mode/disable_lost_mode_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/disable_lost_mode/disable_lost_mode_request_builder.py index 6897cafdbfa..3cb94df19e6 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/disable_lost_mode/disable_lost_mode_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/disable_lost_mode/disable_lost_mode_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[DisableLost request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DisableLostModeRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/enable_lost_mode/enable_lost_mode_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/enable_lost_mode/enable_lost_mode_request_builder.py index 3d0a4c615e0..2019f9d7de0 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/enable_lost_mode/enable_lost_mode_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/enable_lost_mode/enable_lost_mode_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[EnableLostModePostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/enroll_now_action/enroll_now_action_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/enroll_now_action/enroll_now_action_request_builder.py index 408917fcab4..4f944fb537a 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/enroll_now_action/enroll_now_action_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/enroll_now_action/enroll_now_action_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[EnrollNowAc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EnrollNowActionRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_request_builder.py index ee7b59f86f5..03bdb3a8270 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetCloudPcRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetCloudPcRemoteActionResultsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/get_cloud_pc_review_status/get_cloud_pc_review_status_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/get_cloud_pc_review_status/get_cloud_pc_review_status_request_builder.py index c6227e705c0..3844e9a5fa9 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/get_cloud_pc_review_status/get_cloud_pc_review_status_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/get_cloud_pc_review_status/get_cloud_pc_review_status_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetCloudPcRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetCloudPcReviewStatusRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/get_file_vault_key/get_file_vault_key_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/get_file_vault_key/get_file_vault_key_request_builder.py index 2054e803b9e..75804c4c774 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/get_file_vault_key/get_file_vault_key_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/get_file_vault_key/get_file_vault_key_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetFileVault request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetFileVaultKeyRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/get_non_compliant_settings/get_non_compliant_settings_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/get_non_compliant_settings/get_non_compliant_settings_request_builder.py index 6eb93b4af9c..f344aba6c15 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/get_non_compliant_settings/get_non_compliant_settings_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/get_non_compliant_settings/get_non_compliant_settings_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetNonCompli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetNonCompliantSettingsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/initiate_mobile_device_management_key_recovery/initiate_mobile_device_management_key_recovery_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/initiate_mobile_device_management_key_recovery/initiate_mobile_device_management_key_recovery_request_builder.py index 2b73f6f0d6e..863d5d95165 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/initiate_mobile_device_management_key_recovery/initiate_mobile_device_management_key_recovery_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/initiate_mobile_device_management_key_recovery/initiate_mobile_device_management_key_recovery_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[InitiateMob request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InitiateMobileDeviceManagementKeyRecoveryRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/initiate_on_demand_proactive_remediation/initiate_on_demand_proactive_remediation_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/initiate_on_demand_proactive_remediation/initiate_on_demand_proactive_remediation_request_builder.py index 99b585a8f43..6f4cfe72ba6 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/initiate_on_demand_proactive_remediation/initiate_on_demand_proactive_remediation_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/initiate_on_demand_proactive_remediation/initiate_on_demand_proactive_remediation_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[InitiateOnDemandProactiveRem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/locate_device/locate_device_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/locate_device/locate_device_request_builder.py index 5990e3f3dff..a2ead1e4c22 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/locate_device/locate_device_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/locate_device/locate_device_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[LocateDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LocateDeviceRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/log_collection_requests/item/create_download_url/create_download_url_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/log_collection_requests/item/create_download_url/create_download_url_request_builder.py index 2ef2e317bd1..fada901f14d 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/log_collection_requests/item/create_download_url/create_download_url_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/log_collection_requests/item/create_download_url/create_download_url_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[CreateDownl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreateDownloadUrlRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/log_collection_requests/item/device_log_collection_response_item_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/log_collection_requests/item/device_log_collection_response_item_request_builder.py index a60a49e0f39..8981a0bc73d 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/log_collection_requests/item/device_log_collection_response_item_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/log_collection_requests/item/device_log_collection_response_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceLog request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceLogCollectionResponseItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceLogCol request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceLogCollectionResponse] = None, request_configuration: Optional[DeviceLogCollectionResponseItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceLogCollectionResponse request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/log_collection_requests/log_collection_requests_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/log_collection_requests/log_collection_requests_request_builder.py index 46b3e4fffbe..8a5d20f0647 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/log_collection_requests/log_collection_requests_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/log_collection_requests/log_collection_requests_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[LogCollectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceLogCollectionResponse] = None, request_configuration: Optional[LogCollectionRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceLogCollectionResponse] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/logout_shared_apple_device_active_user/logout_shared_apple_device_active_user_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/logout_shared_apple_device_active_user/logout_shared_apple_device_active_user_request_builder.py index 00e93e1f71a..c7fa5ee6523 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/logout_shared_apple_device_active_user/logout_shared_apple_device_active_user_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/logout_shared_apple_device_active_user/logout_shared_apple_device_active_user_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[LogoutShare request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LogoutSharedAppleDeviceActiveUserRequestBuilder: 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 cff454179fd..77829170e88 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 @@ -39,6 +39,7 @@ from .log_collection_requests.log_collection_requests_request_builder import LogCollectionRequestsRequestBuilder from .managed_device_mobile_app_configuration_states.managed_device_mobile_app_configuration_states_request_builder import ManagedDeviceMobileAppConfigurationStatesRequestBuilder from .override_compliance_state.override_compliance_state_request_builder import OverrideComplianceStateRequestBuilder + from .pause_configuration_refresh.pause_configuration_refresh_request_builder import PauseConfigurationRefreshRequestBuilder from .play_lost_mode_sound.play_lost_mode_sound_request_builder import PlayLostModeSoundRequestBuilder from .reboot_now.reboot_now_request_builder import RebootNowRequestBuilder from .recover_passcode.recover_passcode_request_builder import RecoverPasscodeRequestBuilder @@ -159,7 +160,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedDeviceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -176,7 +177,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedDevice] = None, request_configuration: Optional[ManagedDeviceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -195,7 +196,7 @@ def to_patch_request_information(self,body: Optional[ManagedDevice] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -452,6 +453,15 @@ def override_compliance_state(self) -> OverrideComplianceStateRequestBuilder: return OverrideComplianceStateRequestBuilder(self.request_adapter, self.path_parameters) + @property + def pause_configuration_refresh(self) -> PauseConfigurationRefreshRequestBuilder: + """ + Provides operations to call the pauseConfigurationRefresh method. + """ + from .pause_configuration_refresh.pause_configuration_refresh_request_builder import PauseConfigurationRefreshRequestBuilder + + return PauseConfigurationRefreshRequestBuilder(self.request_adapter, self.path_parameters) + @property def play_lost_mode_sound(self) -> PlayLostModeSoundRequestBuilder: """ diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/managed_device_mobile_app_configuration_states/item/managed_device_mobile_app_configuration_state_item_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/managed_device_mobile_app_configuration_states/item/managed_device_mobile_app_configuration_state_item_request_builder.py index e6f1336e808..0d938d68036 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/managed_device_mobile_app_configuration_states/item/managed_device_mobile_app_configuration_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/managed_device_mobile_app_configuration_states/item/managed_device_mobile_app_configuration_state_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedDeviceMobileAppConfigurationStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedDeviceMobileAppConfigurationState] = None, request_configuration: Optional[ManagedDeviceMobileAppConfigurationStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ManagedDeviceMobileAppConfi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/managed_device_mobile_app_configuration_states/managed_device_mobile_app_configuration_states_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/managed_device_mobile_app_configuration_states/managed_device_mobile_app_configuration_states_request_builder.py index 53b00bb418e..bbadce07cfd 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/managed_device_mobile_app_configuration_states/managed_device_mobile_app_configuration_states_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/managed_device_mobile_app_configuration_states/managed_device_mobile_app_configuration_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedDeviceMobileAppConfigurationState] = None, request_configuration: Optional[ManagedDeviceMobileAppConfigurationStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedDeviceMobileAppConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/override_compliance_state/override_compliance_state_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/override_compliance_state/override_compliance_state_request_builder.py index fd84ba8611d..d197797adfc 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/override_compliance_state/override_compliance_state_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/override_compliance_state/override_compliance_state_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[OverrideComplianceStatePostR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/pause_configuration_refresh/pause_configuration_refresh_post_request_body.py b/msgraph_beta/generated/device_management/comanaged_devices/item/pause_configuration_refresh/pause_configuration_refresh_post_request_body.py new file mode 100644 index 00000000000..2e762a0b5f9 --- /dev/null +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/pause_configuration_refresh/pause_configuration_refresh_post_request_body.py @@ -0,0 +1,49 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class PauseConfigurationRefreshPostRequestBody(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 pauseTimePeriodInMinutes property + pause_time_period_in_minutes: Optional[int] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> PauseConfigurationRefreshPostRequestBody: + """ + 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: PauseConfigurationRefreshPostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return PauseConfigurationRefreshPostRequestBody() + + 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]] = { + "pauseTimePeriodInMinutes": lambda n : setattr(self, 'pause_time_period_in_minutes', 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_int_value("pauseTimePeriodInMinutes", self.pause_time_period_in_minutes) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/pause_configuration_refresh/pause_configuration_refresh_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/pause_configuration_refresh/pause_configuration_refresh_request_builder.py new file mode 100644 index 00000000000..d7a6b34d4dc --- /dev/null +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/pause_configuration_refresh/pause_configuration_refresh_request_builder.py @@ -0,0 +1,91 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .pause_configuration_refresh_post_request_body import PauseConfigurationRefreshPostRequestBody + +class PauseConfigurationRefreshRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the pauseConfigurationRefresh method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new PauseConfigurationRefreshRequestBuilder 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}/pauseConfigurationRefresh", path_parameters) + + async def post(self,body: Optional[PauseConfigurationRefreshPostRequestBody] = None, request_configuration: Optional[PauseConfigurationRefreshRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Initiates a command to pause config refresh for the device. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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: Optional[PauseConfigurationRefreshPostRequestBody] = None, request_configuration: Optional[PauseConfigurationRefreshRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Initiates a command to pause config refresh for the device. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> PauseConfigurationRefreshRequestBuilder: + """ + 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: PauseConfigurationRefreshRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return PauseConfigurationRefreshRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class PauseConfigurationRefreshRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/play_lost_mode_sound/play_lost_mode_sound_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/play_lost_mode_sound/play_lost_mode_sound_request_builder.py index 2ab87745b21..1dad14a2bb8 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/play_lost_mode_sound/play_lost_mode_sound_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/play_lost_mode_sound/play_lost_mode_sound_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[PlayLostModeSoundPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/reboot_now/reboot_now_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/reboot_now/reboot_now_request_builder.py index 28073e83da6..32ddac38341 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/reboot_now/reboot_now_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/reboot_now/reboot_now_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RebootNowRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RebootNowRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/recover_passcode/recover_passcode_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/recover_passcode/recover_passcode_request_builder.py index 411f1b8af9c..c3f894702d4 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/recover_passcode/recover_passcode_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/recover_passcode/recover_passcode_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RecoverPass request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RecoverPasscodeRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/reenable/reenable_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/reenable/reenable_request_builder.py index 266a0099e7a..adad5b9b057 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/reenable/reenable_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/reenable/reenable_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[ReenableReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReenableRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/remote_lock/remote_lock_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/remote_lock/remote_lock_request_builder.py index 693eecfba6d..30873a289fb 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/remote_lock/remote_lock_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/remote_lock/remote_lock_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RemoteLockR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RemoteLockRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/remove_device_firmware_configuration_interface_management/remove_device_firmware_configuration_interface_management_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/remove_device_firmware_configuration_interface_management/remove_device_firmware_configuration_interface_management_request_builder.py index e208904d444..b36ff9e3a9c 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/remove_device_firmware_configuration_interface_management/remove_device_firmware_configuration_interface_management_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/remove_device_firmware_configuration_interface_management/remove_device_firmware_configuration_interface_management_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RemoveDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/reprovision_cloud_pc/reprovision_cloud_pc_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/reprovision_cloud_pc/reprovision_cloud_pc_request_builder.py index 06bfae03526..1b87f575ccd 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/reprovision_cloud_pc/reprovision_cloud_pc_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/reprovision_cloud_pc/reprovision_cloud_pc_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ReprovisionCloudPcRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reprovision a Cloud PC with an Intune managed device ID. This API is available in the following national cloud deployments. + Reprovision a Cloud PC with an Intune managed device ID. 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/manageddevice-reprovisioncloudpc?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ReprovisionCloudPcRequestBui def to_post_request_information(self,request_configuration: Optional[ReprovisionCloudPcRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reprovision a Cloud PC with an Intune managed device ID. This API is available in the following national cloud deployments. + Reprovision a Cloud PC with an Intune managed device ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[Reprovision request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReprovisionCloudPcRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/request_remote_assistance/request_remote_assistance_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/request_remote_assistance/request_remote_assistance_request_builder.py index 0e9e92410d5..fd619f322c0 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/request_remote_assistance/request_remote_assistance_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/request_remote_assistance/request_remote_assistance_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestRemo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RequestRemoteAssistanceRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/reset_passcode/reset_passcode_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/reset_passcode/reset_passcode_request_builder.py index fe6751b680a..9a3b4fc6f22 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/reset_passcode/reset_passcode_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/reset_passcode/reset_passcode_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[ResetPassco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResetPasscodeRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/resize_cloud_pc/resize_cloud_pc_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/resize_cloud_pc/resize_cloud_pc_request_builder.py index a3df4334fbb..caf3ab9ee21 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/resize_cloud_pc/resize_cloud_pc_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/resize_cloud_pc/resize_cloud_pc_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ResizeCloudPcPostRequestBody] = None, request_configuration: Optional[ResizeCloudPcRequestBuilderPostRequestConfiguration] = None) -> None: """ - Upgrade or downgrade an existing Cloud PC to another configuration with a new virtual CPU (vCPU) and storage size. This API is available in the following national cloud deployments. + Upgrade or downgrade an existing Cloud PC to another configuration with a new virtual CPU (vCPU) and storage size. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ResizeCloudPcPostRequestBody] = None, request def to_post_request_information(self,body: Optional[ResizeCloudPcPostRequestBody] = None, request_configuration: Optional[ResizeCloudPcRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Upgrade or downgrade an existing Cloud PC to another configuration with a new virtual CPU (vCPU) and storage size. This API is available in the following national cloud deployments. + Upgrade or downgrade an existing Cloud PC to another configuration with a new virtual CPU (vCPU) and storage size. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ResizeCloudPcPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/restore_cloud_pc/restore_cloud_pc_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/restore_cloud_pc/restore_cloud_pc_request_builder.py index 32e0c56236b..2d8fb66ac70 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/restore_cloud_pc/restore_cloud_pc_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/restore_cloud_pc/restore_cloud_pc_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RestoreCloudPcPostRequestBody] = None, request_configuration: Optional[RestoreCloudPcRequestBuilderPostRequestConfiguration] = None) -> None: """ - Restore a Cloud PC device to a previous state with an Intune managed device ID. This API is available in the following national cloud deployments. + Restore a Cloud PC device to a previous state with an Intune managed device ID. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RestoreCloudPcPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[RestoreCloudPcPostRequestBody] = None, request_configuration: Optional[RestoreCloudPcRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a Cloud PC device to a previous state with an Intune managed device ID. This API is available in the following national cloud deployments. + Restore a Cloud PC device to a previous state with an Intune managed device ID. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RestoreCloudPcPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/retire/retire_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/retire/retire_request_builder.py index 32dc097dac1..5bdac56db9b 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/retire/retire_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/retire/retire_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RetireReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RetireRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/revoke_apple_vpp_licenses/revoke_apple_vpp_licenses_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/revoke_apple_vpp_licenses/revoke_apple_vpp_licenses_request_builder.py index c9bbe97ab63..e945cd72f55 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/revoke_apple_vpp_licenses/revoke_apple_vpp_licenses_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/revoke_apple_vpp_licenses/revoke_apple_vpp_licenses_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RevokeApple request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RevokeAppleVppLicensesRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/rotate_bit_locker_keys/rotate_bit_locker_keys_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/rotate_bit_locker_keys/rotate_bit_locker_keys_request_builder.py index 70021d1e5d6..1c129ad3353 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/rotate_bit_locker_keys/rotate_bit_locker_keys_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/rotate_bit_locker_keys/rotate_bit_locker_keys_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RotateBitLo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RotateBitLockerKeysRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/rotate_file_vault_key/rotate_file_vault_key_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/rotate_file_vault_key/rotate_file_vault_key_request_builder.py index f461a8dd40e..ece5c34c674 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/rotate_file_vault_key/rotate_file_vault_key_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/rotate_file_vault_key/rotate_file_vault_key_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RotateFileV request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RotateFileVaultKeyRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/rotate_local_admin_password/rotate_local_admin_password_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/rotate_local_admin_password/rotate_local_admin_password_request_builder.py index 8d351a3abc3..ac1360f464a 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/rotate_local_admin_password/rotate_local_admin_password_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/rotate_local_admin_password/rotate_local_admin_password_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RotateLocal request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RotateLocalAdminPasswordRequestBuilder: 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 d42bf7abee3..3c4b604bcf9 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[SecurityB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SecurityBaselineStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[SecurityBase request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SecurityBaselineState] = None, request_configuration: Optional[SecurityBaselineStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[SecurityBaselineState] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 28a8f655fed..f5a17ad24fe 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[SecurityB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SecurityBaselineSettingStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SecurityBase request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SecurityBaselineSettingState] = None, request_configuration: Optional[SecurityBaselineSettingStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[SecurityBaselineSettingStat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 6181ee724b4..2a11318c530 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingState request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SecurityBaselineSettingState] = None, request_configuration: Optional[SettingStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[SecurityBaselineSettingState request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 4a678d16dbf..766a1e2d3cc 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SecurityBase request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SecurityBaselineState] = None, request_configuration: Optional[SecurityBaselineStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[SecurityBaselineState] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/send_custom_notification_to_company_portal/send_custom_notification_to_company_portal_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/send_custom_notification_to_company_portal/send_custom_notification_to_company_portal_request_builder.py index f9e8cfc9b89..f72f350bfd3 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/send_custom_notification_to_company_portal/send_custom_notification_to_company_portal_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/send_custom_notification_to_company_portal/send_custom_notification_to_company_portal_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SendCustomNotificationToComp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_request_builder.py index ebc3c72037f..8c00d02594c 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SetCloudPcReviewStatusPostRequestBody] = None, request_configuration: Optional[SetCloudPcReviewStatusRequestBuilderPostRequestConfiguration] = None) -> None: """ - Set the review status of a specific Cloud PC device. Use this API to set the review status of a Cloud PC to in review if you consider a Cloud PC as suspicious. After the review is completed, use this API again to set the Cloud PC back to a normal state. This API is available in the following national cloud deployments. + Set the review status of a specific Cloud PC device. Use this API to set the review status of a Cloud PC to in review if you consider a Cloud PC as suspicious. After the review is completed, use this API again to set the Cloud PC back to a normal state. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SetCloudPcReviewStatusPostRequestBody] = None def to_post_request_information(self,body: Optional[SetCloudPcReviewStatusPostRequestBody] = None, request_configuration: Optional[SetCloudPcReviewStatusRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Set the review status of a specific Cloud PC device. Use this API to set the review status of a Cloud PC to in review if you consider a Cloud PC as suspicious. After the review is completed, use this API again to set the Cloud PC back to a normal state. This API is available in the following national cloud deployments. + Set the review status of a specific Cloud PC device. Use this API to set the review status of a Cloud PC to in review if you consider a Cloud PC as suspicious. After the review is completed, use this API again to set the Cloud PC back to a normal state. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SetCloudPcReviewStatusPostRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/set_device_name/set_device_name_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/set_device_name/set_device_name_request_builder.py index fb064d21ff3..e38810f02c2 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/set_device_name/set_device_name_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/set_device_name/set_device_name_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetDeviceNamePostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/shut_down/shut_down_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/shut_down/shut_down_request_builder.py index 351aff7996a..965dc263e06 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/shut_down/shut_down_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/shut_down/shut_down_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[ShutDownReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ShutDownRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/sync_device/sync_device_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/sync_device/sync_device_request_builder.py index d4c7a470f7e..04e7c6d5394 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/sync_device/sync_device_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/sync_device/sync_device_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[SyncDeviceR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SyncDeviceRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/trigger_configuration_manager_action/trigger_configuration_manager_action_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/trigger_configuration_manager_action/trigger_configuration_manager_action_request_builder.py index 313719c1e07..31e32b1cbff 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/trigger_configuration_manager_action/trigger_configuration_manager_action_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/trigger_configuration_manager_action/trigger_configuration_manager_action_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[TriggerConfigurationManagerA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/update_windows_device_account/update_windows_device_account_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/update_windows_device_account/update_windows_device_account_request_builder.py index 3c0fdc9f4e5..b50d91005d5 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/update_windows_device_account/update_windows_device_account_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/update_windows_device_account/update_windows_device_account_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UpdateWindowsDeviceAccountPo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/users/users_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/users/users_request_builder.py index e862e67730e..487df28ce4e 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/users/users_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/users/users_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[UsersRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UsersRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/windows_defender_scan/windows_defender_scan_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/windows_defender_scan/windows_defender_scan_request_builder.py index 11748f80564..906e7c579e8 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/windows_defender_scan/windows_defender_scan_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/windows_defender_scan/windows_defender_scan_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[WindowsDefenderScanPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/windows_defender_update_signatures/windows_defender_update_signatures_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/windows_defender_update_signatures/windows_defender_update_signatures_request_builder.py index 6e54d168762..22bdb401828 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/windows_defender_update_signatures/windows_defender_update_signatures_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/windows_defender_update_signatures/windows_defender_update_signatures_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[WindowsDefe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> WindowsDefenderUpdateSignaturesRequestBuilder: diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/windows_protection_state/detected_malware_state/detected_malware_state_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/windows_protection_state/detected_malware_state/detected_malware_state_request_builder.py index 6ae890ab0cc..389585d9e20 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/windows_protection_state/detected_malware_state/detected_malware_state_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/windows_protection_state/detected_malware_state/detected_malware_state_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DetectedMalw request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsDeviceMalwareState] = None, request_configuration: Optional[DetectedMalwareStateRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WindowsDeviceMalwareState] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/windows_protection_state/detected_malware_state/item/windows_device_malware_state_item_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/windows_protection_state/detected_malware_state/item/windows_device_malware_state_item_request_builder.py index a21125ed05d..14230f71819 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/windows_protection_state/detected_malware_state/item/windows_device_malware_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/windows_protection_state/detected_malware_state/item/windows_device_malware_state_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsDeviceMalwareStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsDeviceMalwareState] = None, request_configuration: Optional[WindowsDeviceMalwareStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WindowsDeviceMalwareState] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/windows_protection_state/windows_protection_state_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/windows_protection_state/windows_protection_state_request_builder.py index 474978084e2..d2eff4ac7ed 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/windows_protection_state/windows_protection_state_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/windows_protection_state/windows_protection_state_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsPr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsProtectionStateRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsProte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsProtectionState] = None, request_configuration: Optional[WindowsProtectionStateRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WindowsProtectionState] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/item/wipe/wipe_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/item/wipe/wipe_request_builder.py index 0fb6e527310..e68bc75cbdd 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/item/wipe/wipe_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/item/wipe/wipe_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[WipePostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanaged_devices/move_devices_to_o_u/move_devices_to_o_u_request_builder.py b/msgraph_beta/generated/device_management/comanaged_devices/move_devices_to_o_u/move_devices_to_o_u_request_builder.py index 60f7410f003..27cb61b67a8 100644 --- a/msgraph_beta/generated/device_management/comanaged_devices/move_devices_to_o_u/move_devices_to_o_u_request_builder.py +++ b/msgraph_beta/generated/device_management/comanaged_devices/move_devices_to_o_u/move_devices_to_o_u_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[MoveDevicesToOUPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanagement_eligible_devices/comanagement_eligible_devices_request_builder.py b/msgraph_beta/generated/device_management/comanagement_eligible_devices/comanagement_eligible_devices_request_builder.py index 8a2790fbd19..57dd2a3fdb8 100644 --- a/msgraph_beta/generated/device_management/comanagement_eligible_devices/comanagement_eligible_devices_request_builder.py +++ b/msgraph_beta/generated/device_management/comanagement_eligible_devices/comanagement_eligible_devices_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Comanagement request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ComanagementEligibleDevice] = None, request_configuration: Optional[ComanagementEligibleDevicesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ComanagementEligibleDevice] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/comanagement_eligible_devices/item/comanagement_eligible_device_item_request_builder.py b/msgraph_beta/generated/device_management/comanagement_eligible_devices/item/comanagement_eligible_device_item_request_builder.py index c441555aa38..05ff9458760 100644 --- a/msgraph_beta/generated/device_management/comanagement_eligible_devices/item/comanagement_eligible_device_item_request_builder.py +++ b/msgraph_beta/generated/device_management/comanagement_eligible_devices/item/comanagement_eligible_device_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Comanagem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ComanagementEligibleDeviceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[Comanagement request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ComanagementEligibleDevice] = None, request_configuration: Optional[ComanagementEligibleDeviceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ComanagementEligibleDevice] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/compliance_categories/compliance_categories_request_builder.py b/msgraph_beta/generated/device_management/compliance_categories/compliance_categories_request_builder.py index 89dc038fe9d..079abd1e80e 100644 --- a/msgraph_beta/generated/device_management/compliance_categories/compliance_categories_request_builder.py +++ b/msgraph_beta/generated/device_management/compliance_categories/compliance_categories_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ComplianceCa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementConfigurationCategory] = None, request_configuration: Optional[ComplianceCategoriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementConfiguratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/compliance_categories/item/device_management_configuration_category_item_request_builder.py b/msgraph_beta/generated/device_management/compliance_categories/item/device_management_configuration_category_item_request_builder.py index 88aa548f887..e95b157f97a 100644 --- a/msgraph_beta/generated/device_management/compliance_categories/item/device_management_configuration_category_item_request_builder.py +++ b/msgraph_beta/generated/device_management/compliance_categories/item/device_management_configuration_category_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementConfigurationCategoryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementConfigurationCategory] = None, request_configuration: Optional[DeviceManagementConfigurationCategoryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementConfigurati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/compliance_management_partners/compliance_management_partners_request_builder.py b/msgraph_beta/generated/device_management/compliance_management_partners/compliance_management_partners_request_builder.py index 7df97adba91..cf9393fb8f5 100644 --- a/msgraph_beta/generated/device_management/compliance_management_partners/compliance_management_partners_request_builder.py +++ b/msgraph_beta/generated/device_management/compliance_management_partners/compliance_management_partners_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ComplianceMa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ComplianceManagementPartner] = None, request_configuration: Optional[ComplianceManagementPartnersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ComplianceManagementPartner] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/compliance_management_partners/item/compliance_management_partner_item_request_builder.py b/msgraph_beta/generated/device_management/compliance_management_partners/item/compliance_management_partner_item_request_builder.py index 9525cfdf287..1bac60e3d88 100644 --- a/msgraph_beta/generated/device_management/compliance_management_partners/item/compliance_management_partner_item_request_builder.py +++ b/msgraph_beta/generated/device_management/compliance_management_partners/item/compliance_management_partner_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Complianc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ComplianceManagementPartnerItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ComplianceMa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ComplianceManagementPartner] = None, request_configuration: Optional[ComplianceManagementPartnerItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ComplianceManagementPartner request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/compliance_policies/compliance_policies_request_builder.py b/msgraph_beta/generated/device_management/compliance_policies/compliance_policies_request_builder.py index f62be7c0ddc..048ff356a18 100644 --- a/msgraph_beta/generated/device_management/compliance_policies/compliance_policies_request_builder.py +++ b/msgraph_beta/generated/device_management/compliance_policies/compliance_policies_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[CompliancePo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementCompliancePolicy] = None, request_configuration: Optional[CompliancePoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementCompliancePo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/compliance_policies/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_management/compliance_policies/item/assign/assign_request_builder.py index 5cda2dde429..4e627a8e34a 100644 --- a/msgraph_beta/generated/device_management/compliance_policies/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_management/compliance_policies/item/assign/assign_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/compliance_policies/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_management/compliance_policies/item/assignments/assignments_request_builder.py index b6a448a3d4a..0d2bbdc766c 100644 --- a/msgraph_beta/generated/device_management/compliance_policies/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/compliance_policies/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementConfigurationPolicyAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementConfiguratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/compliance_policies/item/assignments/item/device_management_configuration_policy_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/compliance_policies/item/assignments/item/device_management_configuration_policy_assignment_item_request_builder.py index 4df68be0298..e04227d65d7 100644 --- a/msgraph_beta/generated/device_management/compliance_policies/item/assignments/item/device_management_configuration_policy_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/compliance_policies/item/assignments/item/device_management_configuration_policy_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementConfigurationPolicyAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementConfigurationPolicyAssignment] = None, request_configuration: Optional[DeviceManagementConfigurationPolicyAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementConfigurati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/compliance_policies/item/device_management_compliance_policy_item_request_builder.py b/msgraph_beta/generated/device_management/compliance_policies/item/device_management_compliance_policy_item_request_builder.py index 851a8ceef6d..5bd0abce4f9 100644 --- a/msgraph_beta/generated/device_management/compliance_policies/item/device_management_compliance_policy_item_request_builder.py +++ b/msgraph_beta/generated/device_management/compliance_policies/item/device_management_compliance_policy_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementCompliancePolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementCompliancePolicy] = None, request_configuration: Optional[DeviceManagementCompliancePolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementComplianceP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/compliance_policies/item/scheduled_actions_for_rule/item/device_management_compliance_scheduled_action_for_rule_item_request_builder.py b/msgraph_beta/generated/device_management/compliance_policies/item/scheduled_actions_for_rule/item/device_management_compliance_scheduled_action_for_rule_item_request_builder.py index 7c170b8bd00..5652cf4e8c8 100644 --- a/msgraph_beta/generated/device_management/compliance_policies/item/scheduled_actions_for_rule/item/device_management_compliance_scheduled_action_for_rule_item_request_builder.py +++ b/msgraph_beta/generated/device_management/compliance_policies/item/scheduled_actions_for_rule/item/device_management_compliance_scheduled_action_for_rule_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementComplianceScheduledActionForRuleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementComplianceScheduledActionForRule] = None, request_configuration: Optional[DeviceManagementComplianceScheduledActionForRuleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementComplianceS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/item/device_management_compliance_action_item_item_request_builder.py b/msgraph_beta/generated/device_management/compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/item/device_management_compliance_action_item_item_request_builder.py index 45cd4c41d47..1151517f09b 100644 --- a/msgraph_beta/generated/device_management/compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/item/device_management_compliance_action_item_item_request_builder.py +++ b/msgraph_beta/generated/device_management/compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/item/device_management_compliance_action_item_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementComplianceActionItemItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementComplianceActionItem] = None, request_configuration: Optional[DeviceManagementComplianceActionItemItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementComplianceA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/scheduled_action_configurations_request_builder.py b/msgraph_beta/generated/device_management/compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/scheduled_action_configurations_request_builder.py index 602e2789a00..cd457ea9764 100644 --- a/msgraph_beta/generated/device_management/compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/scheduled_action_configurations_request_builder.py +++ b/msgraph_beta/generated/device_management/compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/scheduled_action_configurations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ScheduledAct request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementComplianceActionItem] = None, request_configuration: Optional[ScheduledActionConfigurationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementComplianceAc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/compliance_policies/item/scheduled_actions_for_rule/scheduled_actions_for_rule_request_builder.py b/msgraph_beta/generated/device_management/compliance_policies/item/scheduled_actions_for_rule/scheduled_actions_for_rule_request_builder.py index f6055b1b9c9..5d7a5022cef 100644 --- a/msgraph_beta/generated/device_management/compliance_policies/item/scheduled_actions_for_rule/scheduled_actions_for_rule_request_builder.py +++ b/msgraph_beta/generated/device_management/compliance_policies/item/scheduled_actions_for_rule/scheduled_actions_for_rule_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ScheduledAct request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementComplianceScheduledActionForRule] = None, request_configuration: Optional[ScheduledActionsForRuleRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementComplianceSc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/compliance_policies/item/set_scheduled_actions/set_scheduled_actions_request_builder.py b/msgraph_beta/generated/device_management/compliance_policies/item/set_scheduled_actions/set_scheduled_actions_request_builder.py index 7804e3a450b..eec7d27476d 100644 --- a/msgraph_beta/generated/device_management/compliance_policies/item/set_scheduled_actions/set_scheduled_actions_request_builder.py +++ b/msgraph_beta/generated/device_management/compliance_policies/item/set_scheduled_actions/set_scheduled_actions_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SetScheduledActionsPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/compliance_policies/item/settings/item/device_management_configuration_setting_item_request_builder.py b/msgraph_beta/generated/device_management/compliance_policies/item/settings/item/device_management_configuration_setting_item_request_builder.py index e3e9ceca4c6..d40b35b4fce 100644 --- a/msgraph_beta/generated/device_management/compliance_policies/item/settings/item/device_management_configuration_setting_item_request_builder.py +++ b/msgraph_beta/generated/device_management/compliance_policies/item/settings/item/device_management_configuration_setting_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementConfigurationSettingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementConfigurationSetting] = None, request_configuration: Optional[DeviceManagementConfigurationSettingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementConfigurati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/compliance_policies/item/settings/item/setting_definitions/item/device_management_configuration_setting_definition_item_request_builder.py b/msgraph_beta/generated/device_management/compliance_policies/item/settings/item/setting_definitions/item/device_management_configuration_setting_definition_item_request_builder.py index f52977966bc..07b9ba41505 100644 --- a/msgraph_beta/generated/device_management/compliance_policies/item/settings/item/setting_definitions/item/device_management_configuration_setting_definition_item_request_builder.py +++ b/msgraph_beta/generated/device_management/compliance_policies/item/settings/item/setting_definitions/item/device_management_configuration_setting_definition_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeviceManagementConfigurationSettingDefinitionItemRequestBuilder: diff --git a/msgraph_beta/generated/device_management/compliance_policies/item/settings/item/setting_definitions/setting_definitions_request_builder.py b/msgraph_beta/generated/device_management/compliance_policies/item/settings/item/setting_definitions/setting_definitions_request_builder.py index 4243b0e2a0c..2e7f45a829a 100644 --- a/msgraph_beta/generated/device_management/compliance_policies/item/settings/item/setting_definitions/setting_definitions_request_builder.py +++ b/msgraph_beta/generated/device_management/compliance_policies/item/settings/item/setting_definitions/setting_definitions_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SettingDefinitionsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/compliance_policies/item/settings/settings_request_builder.py b/msgraph_beta/generated/device_management/compliance_policies/item/settings/settings_request_builder.py index 0a711fc327c..0666e002e81 100644 --- a/msgraph_beta/generated/device_management/compliance_policies/item/settings/settings_request_builder.py +++ b/msgraph_beta/generated/device_management/compliance_policies/item/settings/settings_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementConfigurationSetting] = None, request_configuration: Optional[SettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementConfiguratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/compliance_settings/compliance_settings_request_builder.py b/msgraph_beta/generated/device_management/compliance_settings/compliance_settings_request_builder.py index d68b6187e1b..c10987999fe 100644 --- a/msgraph_beta/generated/device_management/compliance_settings/compliance_settings_request_builder.py +++ b/msgraph_beta/generated/device_management/compliance_settings/compliance_settings_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ComplianceSe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementConfigurationSettingDefinition] = None, request_configuration: Optional[ComplianceSettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementConfiguratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/compliance_settings/item/device_management_configuration_setting_definition_item_request_builder.py b/msgraph_beta/generated/device_management/compliance_settings/item/device_management_configuration_setting_definition_item_request_builder.py index 004203efdec..e8fa7b7f3ad 100644 --- a/msgraph_beta/generated/device_management/compliance_settings/item/device_management_configuration_setting_definition_item_request_builder.py +++ b/msgraph_beta/generated/device_management/compliance_settings/item/device_management_configuration_setting_definition_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementConfigurationSettingDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementConfigurationSettingDefinition] = None, request_configuration: Optional[DeviceManagementConfigurationSettingDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementConfigurati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/conditional_access_settings/conditional_access_settings_request_builder.py b/msgraph_beta/generated/device_management/conditional_access_settings/conditional_access_settings_request_builder.py index 8df23d252df..8309964ba2b 100644 --- a/msgraph_beta/generated/device_management/conditional_access_settings/conditional_access_settings_request_builder.py +++ b/msgraph_beta/generated/device_management/conditional_access_settings/conditional_access_settings_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Condition request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConditionalAccessSettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ConditionalA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnPremisesConditionalAccessSettings] = None, request_configuration: Optional[ConditionalAccessSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[OnPremisesConditionalAccess request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/config_manager_collections/config_manager_collections_request_builder.py b/msgraph_beta/generated/device_management/config_manager_collections/config_manager_collections_request_builder.py index a8d644f3b09..58be8c07c88 100644 --- a/msgraph_beta/generated/device_management/config_manager_collections/config_manager_collections_request_builder.py +++ b/msgraph_beta/generated/device_management/config_manager_collections/config_manager_collections_request_builder.py @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[ConfigManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ConfigManagerCollection] = None, request_configuration: Optional[ConfigManagerCollectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -134,7 +134,7 @@ def to_post_request_information(self,body: Optional[ConfigManagerCollection] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/config_manager_collections/get_policy_summary_with_policy_id/get_policy_summary_with_policy_id_request_builder.py b/msgraph_beta/generated/device_management/config_manager_collections/get_policy_summary_with_policy_id/get_policy_summary_with_policy_id_request_builder.py index 1f35753153d..ccdd6aaee34 100644 --- a/msgraph_beta/generated/device_management/config_manager_collections/get_policy_summary_with_policy_id/get_policy_summary_with_policy_id_request_builder.py +++ b/msgraph_beta/generated/device_management/config_manager_collections/get_policy_summary_with_policy_id/get_policy_summary_with_policy_id_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[GetPolicySum request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetPolicySummaryWithPolicyIdRequestBuilder: diff --git a/msgraph_beta/generated/device_management/config_manager_collections/item/config_manager_collection_item_request_builder.py b/msgraph_beta/generated/device_management/config_manager_collections/item/config_manager_collection_item_request_builder.py index 1a7ad24e352..a13fa495ac8 100644 --- a/msgraph_beta/generated/device_management/config_manager_collections/item/config_manager_collection_item_request_builder.py +++ b/msgraph_beta/generated/device_management/config_manager_collections/item/config_manager_collection_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ConfigMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConfigManagerCollectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ConfigManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConfigManagerCollection] = None, request_configuration: Optional[ConfigManagerCollectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ConfigManagerCollection] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/configuration_categories/configuration_categories_request_builder.py b/msgraph_beta/generated/device_management/configuration_categories/configuration_categories_request_builder.py index 1d2982bb1cd..3c430d0efd8 100644 --- a/msgraph_beta/generated/device_management/configuration_categories/configuration_categories_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_categories/configuration_categories_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Configuratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementConfigurationCategory] = None, request_configuration: Optional[ConfigurationCategoriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementConfiguratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/configuration_categories/item/device_management_configuration_category_item_request_builder.py b/msgraph_beta/generated/device_management/configuration_categories/item/device_management_configuration_category_item_request_builder.py index af4f8fe3afa..0e8ebe5a6ac 100644 --- a/msgraph_beta/generated/device_management/configuration_categories/item/device_management_configuration_category_item_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_categories/item/device_management_configuration_category_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementConfigurationCategoryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementConfigurationCategory] = None, request_configuration: Optional[DeviceManagementConfigurationCategoryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementConfigurati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/configuration_policies/configuration_policies_request_builder.py b/msgraph_beta/generated/device_management/configuration_policies/configuration_policies_request_builder.py index f5bbfe7a909..264ef8febbc 100644 --- a/msgraph_beta/generated/device_management/configuration_policies/configuration_policies_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_policies/configuration_policies_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Configuratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementConfigurationPolicy] = None, request_configuration: Optional[ConfigurationPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementConfiguratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/configuration_policies/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_management/configuration_policies/item/assign/assign_request_builder.py index de928f6d0f1..76c91179e7e 100644 --- a/msgraph_beta/generated/device_management/configuration_policies/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_policies/item/assign/assign_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/configuration_policies/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_management/configuration_policies/item/assignments/assignments_request_builder.py index 0cc1a893145..30f0caad0cf 100644 --- a/msgraph_beta/generated/device_management/configuration_policies/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_policies/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementConfigurationPolicyAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementConfiguratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/configuration_policies/item/assignments/item/device_management_configuration_policy_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/configuration_policies/item/assignments/item/device_management_configuration_policy_assignment_item_request_builder.py index 6f81f5a202e..4dd16d0576b 100644 --- a/msgraph_beta/generated/device_management/configuration_policies/item/assignments/item/device_management_configuration_policy_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_policies/item/assignments/item/device_management_configuration_policy_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementConfigurationPolicyAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementConfigurationPolicyAssignment] = None, request_configuration: Optional[DeviceManagementConfigurationPolicyAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementConfigurati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/configuration_policies/item/create_copy/create_copy_request_builder.py b/msgraph_beta/generated/device_management/configuration_policies/item/create_copy/create_copy_request_builder.py index a8d83dd9741..a0642cb183a 100644 --- a/msgraph_beta/generated/device_management/configuration_policies/item/create_copy/create_copy_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_policies/item/create_copy/create_copy_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CreateCopyPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/configuration_policies/item/device_management_configuration_policy_item_request_builder.py b/msgraph_beta/generated/device_management/configuration_policies/item/device_management_configuration_policy_item_request_builder.py index d67ad8fa1a6..9691c53a236 100644 --- a/msgraph_beta/generated/device_management/configuration_policies/item/device_management_configuration_policy_item_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_policies/item/device_management_configuration_policy_item_request_builder.py @@ -16,6 +16,7 @@ from .assignments.assignments_request_builder import AssignmentsRequestBuilder from .create_copy.create_copy_request_builder import CreateCopyRequestBuilder from .reorder.reorder_request_builder import ReorderRequestBuilder + from .retrieve_latest_upgrade_default_baseline_policy.retrieve_latest_upgrade_default_baseline_policy_request_builder import RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder from .settings.settings_request_builder import SettingsRequestBuilder class DeviceManagementConfigurationPolicyItemRequestBuilder(BaseRequestBuilder): @@ -108,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementConfigurationPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementConfigurationPolicy] = None, request_configuration: Optional[DeviceManagementConfigurationPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +145,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementConfigurati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -194,6 +195,15 @@ def reorder(self) -> ReorderRequestBuilder: return ReorderRequestBuilder(self.request_adapter, self.path_parameters) + @property + def retrieve_latest_upgrade_default_baseline_policy(self) -> RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder: + """ + Provides operations to call the retrieveLatestUpgradeDefaultBaselinePolicy method. + """ + from .retrieve_latest_upgrade_default_baseline_policy.retrieve_latest_upgrade_default_baseline_policy_request_builder import RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder + + return RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder(self.request_adapter, self.path_parameters) + @property def settings(self) -> SettingsRequestBuilder: """ diff --git a/msgraph_beta/generated/device_management/configuration_policies/item/reorder/reorder_request_builder.py b/msgraph_beta/generated/device_management/configuration_policies/item/reorder/reorder_request_builder.py index e07004fe7ce..e2443128e65 100644 --- a/msgraph_beta/generated/device_management/configuration_policies/item/reorder/reorder_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_policies/item/reorder/reorder_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ReorderPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/configuration_policies/item/retrieve_latest_upgrade_default_baseline_policy/retrieve_latest_upgrade_default_baseline_policy_request_builder.py b/msgraph_beta/generated/device_management/configuration_policies/item/retrieve_latest_upgrade_default_baseline_policy/retrieve_latest_upgrade_default_baseline_policy_request_builder.py new file mode 100644 index 00000000000..94d300e58bd --- /dev/null +++ b/msgraph_beta/generated/device_management/configuration_policies/item/retrieve_latest_upgrade_default_baseline_policy/retrieve_latest_upgrade_default_baseline_policy_request_builder.py @@ -0,0 +1,86 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.device_management_configuration_policy import DeviceManagementConfigurationPolicy + from .....models.o_data_errors.o_data_error import ODataError + +class RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the retrieveLatestUpgradeDefaultBaselinePolicy method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder 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/configurationPolicies/{deviceManagementConfigurationPolicy%2Did}/retrieveLatestUpgradeDefaultBaselinePolicy()", path_parameters) + + async def get(self,request_configuration: Optional[RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilderGetRequestConfiguration] = None) -> Optional[DeviceManagementConfigurationPolicy]: + """ + Invoke function retrieveLatestUpgradeDefaultBaselinePolicy + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DeviceManagementConfigurationPolicy] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.device_management_configuration_policy import DeviceManagementConfigurationPolicy + + return await self.request_adapter.send_async(request_info, DeviceManagementConfigurationPolicy, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Invoke function retrieveLatestUpgradeDefaultBaselinePolicy + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder: + """ + 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: RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/device_management/configuration_policies/item/settings/item/device_management_configuration_setting_item_request_builder.py b/msgraph_beta/generated/device_management/configuration_policies/item/settings/item/device_management_configuration_setting_item_request_builder.py index a62a6caabcd..674c4d9a6ac 100644 --- a/msgraph_beta/generated/device_management/configuration_policies/item/settings/item/device_management_configuration_setting_item_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_policies/item/settings/item/device_management_configuration_setting_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementConfigurationSettingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementConfigurationSetting] = None, request_configuration: Optional[DeviceManagementConfigurationSettingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementConfigurati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/configuration_policies/item/settings/item/setting_definitions/item/device_management_configuration_setting_definition_item_request_builder.py b/msgraph_beta/generated/device_management/configuration_policies/item/settings/item/setting_definitions/item/device_management_configuration_setting_definition_item_request_builder.py index 14e9f36a996..b5077e3915a 100644 --- a/msgraph_beta/generated/device_management/configuration_policies/item/settings/item/setting_definitions/item/device_management_configuration_setting_definition_item_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_policies/item/settings/item/setting_definitions/item/device_management_configuration_setting_definition_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeviceManagementConfigurationSettingDefinitionItemRequestBuilder: diff --git a/msgraph_beta/generated/device_management/configuration_policies/item/settings/item/setting_definitions/setting_definitions_request_builder.py b/msgraph_beta/generated/device_management/configuration_policies/item/settings/item/setting_definitions/setting_definitions_request_builder.py index 6f4f915120e..d076a6ac5c8 100644 --- a/msgraph_beta/generated/device_management/configuration_policies/item/settings/item/setting_definitions/setting_definitions_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_policies/item/settings/item/setting_definitions/setting_definitions_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SettingDefinitionsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/configuration_policies/item/settings/settings_request_builder.py b/msgraph_beta/generated/device_management/configuration_policies/item/settings/settings_request_builder.py index b2e416749ac..c6e541f4c0b 100644 --- a/msgraph_beta/generated/device_management/configuration_policies/item/settings/settings_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_policies/item/settings/settings_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementConfigurationSetting] = None, request_configuration: Optional[SettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementConfiguratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/configuration_policy_templates/configuration_policy_templates_request_builder.py b/msgraph_beta/generated/device_management/configuration_policy_templates/configuration_policy_templates_request_builder.py index 19e0bc13d76..0c4902a8207 100644 --- a/msgraph_beta/generated/device_management/configuration_policy_templates/configuration_policy_templates_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_policy_templates/configuration_policy_templates_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Configuratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementConfigurationPolicyTemplate] = None, request_configuration: Optional[ConfigurationPolicyTemplatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementConfiguratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/configuration_policy_templates/item/device_management_configuration_policy_template_item_request_builder.py b/msgraph_beta/generated/device_management/configuration_policy_templates/item/device_management_configuration_policy_template_item_request_builder.py index ecb1751af85..11b4777508d 100644 --- a/msgraph_beta/generated/device_management/configuration_policy_templates/item/device_management_configuration_policy_template_item_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_policy_templates/item/device_management_configuration_policy_template_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementConfigurationPolicyTemplateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementConfigurationPolicyTemplate] = None, request_configuration: Optional[DeviceManagementConfigurationPolicyTemplateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementConfigurati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/configuration_policy_templates/item/setting_templates/item/device_management_configuration_setting_template_item_request_builder.py b/msgraph_beta/generated/device_management/configuration_policy_templates/item/setting_templates/item/device_management_configuration_setting_template_item_request_builder.py index e373843b0c6..a1f01782c0d 100644 --- a/msgraph_beta/generated/device_management/configuration_policy_templates/item/setting_templates/item/device_management_configuration_setting_template_item_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_policy_templates/item/setting_templates/item/device_management_configuration_setting_template_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementConfigurationSettingTemplateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementConfigurationSettingTemplate] = None, request_configuration: Optional[DeviceManagementConfigurationSettingTemplateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementConfigurati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/configuration_policy_templates/item/setting_templates/item/setting_definitions/item/device_management_configuration_setting_definition_item_request_builder.py b/msgraph_beta/generated/device_management/configuration_policy_templates/item/setting_templates/item/setting_definitions/item/device_management_configuration_setting_definition_item_request_builder.py index 107112659dc..e276d27a3e7 100644 --- a/msgraph_beta/generated/device_management/configuration_policy_templates/item/setting_templates/item/setting_definitions/item/device_management_configuration_setting_definition_item_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_policy_templates/item/setting_templates/item/setting_definitions/item/device_management_configuration_setting_definition_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementConfigurationSettingDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementConfigurationSettingDefinition] = None, request_configuration: Optional[DeviceManagementConfigurationSettingDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementConfigurati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/configuration_policy_templates/item/setting_templates/item/setting_definitions/setting_definitions_request_builder.py b/msgraph_beta/generated/device_management/configuration_policy_templates/item/setting_templates/item/setting_definitions/setting_definitions_request_builder.py index e268c7a2319..7d5da1503c7 100644 --- a/msgraph_beta/generated/device_management/configuration_policy_templates/item/setting_templates/item/setting_definitions/setting_definitions_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_policy_templates/item/setting_templates/item/setting_definitions/setting_definitions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementConfigurationSettingDefinition] = None, request_configuration: Optional[SettingDefinitionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementConfiguratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/configuration_policy_templates/item/setting_templates/setting_templates_request_builder.py b/msgraph_beta/generated/device_management/configuration_policy_templates/item/setting_templates/setting_templates_request_builder.py index cea12521e21..db715581d4b 100644 --- a/msgraph_beta/generated/device_management/configuration_policy_templates/item/setting_templates/setting_templates_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_policy_templates/item/setting_templates/setting_templates_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingTempl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementConfigurationSettingTemplate] = None, request_configuration: Optional[SettingTemplatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementConfiguratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/configuration_settings/configuration_settings_request_builder.py b/msgraph_beta/generated/device_management/configuration_settings/configuration_settings_request_builder.py index 93eb4aeabb0..601f5b45e98 100644 --- a/msgraph_beta/generated/device_management/configuration_settings/configuration_settings_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_settings/configuration_settings_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Configuratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementConfigurationSettingDefinition] = None, request_configuration: Optional[ConfigurationSettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementConfiguratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/configuration_settings/item/device_management_configuration_setting_definition_item_request_builder.py b/msgraph_beta/generated/device_management/configuration_settings/item/device_management_configuration_setting_definition_item_request_builder.py index a3399d9b735..f87ddc3e2a3 100644 --- a/msgraph_beta/generated/device_management/configuration_settings/item/device_management_configuration_setting_definition_item_request_builder.py +++ b/msgraph_beta/generated/device_management/configuration_settings/item/device_management_configuration_setting_definition_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementConfigurationSettingDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementConfigurationSettingDefinition] = None, request_configuration: Optional[DeviceManagementConfigurationSettingDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementConfigurati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/data_sharing_consents/data_sharing_consents_request_builder.py b/msgraph_beta/generated/device_management/data_sharing_consents/data_sharing_consents_request_builder.py index 96362f27e23..2cd7e92b1d4 100644 --- a/msgraph_beta/generated/device_management/data_sharing_consents/data_sharing_consents_request_builder.py +++ b/msgraph_beta/generated/device_management/data_sharing_consents/data_sharing_consents_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DataSharingC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DataSharingConsent] = None, request_configuration: Optional[DataSharingConsentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DataSharingConsent] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/data_sharing_consents/item/consent_to_data_sharing/consent_to_data_sharing_request_builder.py b/msgraph_beta/generated/device_management/data_sharing_consents/item/consent_to_data_sharing/consent_to_data_sharing_request_builder.py index a44568e2b8c..07ffad42b5a 100644 --- a/msgraph_beta/generated/device_management/data_sharing_consents/item/consent_to_data_sharing/consent_to_data_sharing_request_builder.py +++ b/msgraph_beta/generated/device_management/data_sharing_consents/item/consent_to_data_sharing/consent_to_data_sharing_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[ConsentToDa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ConsentToDataSharingRequestBuilder: diff --git a/msgraph_beta/generated/device_management/data_sharing_consents/item/data_sharing_consent_item_request_builder.py b/msgraph_beta/generated/device_management/data_sharing_consents/item/data_sharing_consent_item_request_builder.py index 34d31f8e2da..c7186ba7775 100644 --- a/msgraph_beta/generated/device_management/data_sharing_consents/item/data_sharing_consent_item_request_builder.py +++ b/msgraph_beta/generated/device_management/data_sharing_consents/item/data_sharing_consent_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DataShari request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DataSharingConsentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DataSharingC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DataSharingConsent] = None, request_configuration: Optional[DataSharingConsentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DataSharingConsent] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/dep_onboarding_settings/dep_onboarding_settings_request_builder.py b/msgraph_beta/generated/device_management/dep_onboarding_settings/dep_onboarding_settings_request_builder.py index 36324901ff4..f9bb21f2ce1 100644 --- a/msgraph_beta/generated/device_management/dep_onboarding_settings/dep_onboarding_settings_request_builder.py +++ b/msgraph_beta/generated/device_management/dep_onboarding_settings/dep_onboarding_settings_request_builder.py @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[DepOnboardin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DepOnboardingSetting] = None, request_configuration: Optional[DepOnboardingSettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -134,7 +134,7 @@ def to_post_request_information(self,body: Optional[DepOnboardingSetting] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/dep_onboarding_settings/get_expiring_vpp_token_count_with_expiring_before_date_time/get_expiring_vpp_token_count_with_expiring_before_date_time_request_builder.py b/msgraph_beta/generated/device_management/dep_onboarding_settings/get_expiring_vpp_token_count_with_expiring_before_date_time/get_expiring_vpp_token_count_with_expiring_before_date_time_request_builder.py index 9bd2e98b1d3..d766e54cc50 100644 --- a/msgraph_beta/generated/device_management/dep_onboarding_settings/get_expiring_vpp_token_count_with_expiring_before_date_time/get_expiring_vpp_token_count_with_expiring_before_date_time_request_builder.py +++ b/msgraph_beta/generated/device_management/dep_onboarding_settings/get_expiring_vpp_token_count_with_expiring_before_date_time/get_expiring_vpp_token_count_with_expiring_before_date_time_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[GetExpiringV request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetExpiringVppTokenCountWithExpiringBeforeDateTimeRequestBuilder: diff --git a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/default_ios_enrollment_profile/default_ios_enrollment_profile_request_builder.py b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/default_ios_enrollment_profile/default_ios_enrollment_profile_request_builder.py index a97defb0481..95458de6b4b 100644 --- a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/default_ios_enrollment_profile/default_ios_enrollment_profile_request_builder.py +++ b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/default_ios_enrollment_profile/default_ios_enrollment_profile_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DefaultIosEn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DefaultIosEnrollmentProfileRequestBuilder: diff --git a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/default_mac_os_enrollment_profile/default_mac_os_enrollment_profile_request_builder.py b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/default_mac_os_enrollment_profile/default_mac_os_enrollment_profile_request_builder.py index 1335071a629..e83b5f355d5 100644 --- a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/default_mac_os_enrollment_profile/default_mac_os_enrollment_profile_request_builder.py +++ b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/default_mac_os_enrollment_profile/default_mac_os_enrollment_profile_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DefaultMacOs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DefaultMacOsEnrollmentProfileRequestBuilder: diff --git a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/dep_onboarding_setting_item_request_builder.py b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/dep_onboarding_setting_item_request_builder.py index 4f1246bd4d3..9aa13157efa 100644 --- a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/dep_onboarding_setting_item_request_builder.py +++ b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/dep_onboarding_setting_item_request_builder.py @@ -113,7 +113,7 @@ def to_delete_request_information(self,request_configuration: Optional[DepOnboar request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DepOnboardingSettingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -130,7 +130,7 @@ def to_get_request_information(self,request_configuration: Optional[DepOnboardin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DepOnboardingSetting] = None, request_configuration: Optional[DepOnboardingSettingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -149,7 +149,7 @@ def to_patch_request_information(self,body: Optional[DepOnboardingSetting] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/enrollment_profiles/enrollment_profiles_request_builder.py b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/enrollment_profiles/enrollment_profiles_request_builder.py index 6aa0c5825ed..ac92c5ce5a5 100644 --- a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/enrollment_profiles/enrollment_profiles_request_builder.py +++ b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/enrollment_profiles/enrollment_profiles_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[EnrollmentPr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EnrollmentProfile] = None, request_configuration: Optional[EnrollmentProfilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[EnrollmentProfile] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/enrollment_profiles/item/enrollment_profile_item_request_builder.py b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/enrollment_profiles/item/enrollment_profile_item_request_builder.py index bae79b96df6..79f9f6487fc 100644 --- a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/enrollment_profiles/item/enrollment_profile_item_request_builder.py +++ b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/enrollment_profiles/item/enrollment_profile_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[Enrollmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EnrollmentProfileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[EnrollmentPr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EnrollmentProfile] = None, request_configuration: Optional[EnrollmentProfileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[EnrollmentProfile] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/enrollment_profiles/item/export_mobile_config/export_mobile_config_request_builder.py b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/enrollment_profiles/item/export_mobile_config/export_mobile_config_request_builder.py index 0d0ef25e755..3e849d5d970 100644 --- a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/enrollment_profiles/item/export_mobile_config/export_mobile_config_request_builder.py +++ b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/enrollment_profiles/item/export_mobile_config/export_mobile_config_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[ExportMobile request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExportMobileConfigRequestBuilder: diff --git a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/enrollment_profiles/item/set_default_profile/set_default_profile_request_builder.py b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/enrollment_profiles/item/set_default_profile/set_default_profile_request_builder.py index 66f569a9d40..4748c12f66e 100644 --- a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/enrollment_profiles/item/set_default_profile/set_default_profile_request_builder.py +++ b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/enrollment_profiles/item/set_default_profile/set_default_profile_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[SetDefaultP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetDefaultProfileRequestBuilder: diff --git a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/enrollment_profiles/item/update_device_profile_assignment/update_device_profile_assignment_request_builder.py b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/enrollment_profiles/item/update_device_profile_assignment/update_device_profile_assignment_request_builder.py index 558cf5d405b..e91e0322b94 100644 --- a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/enrollment_profiles/item/update_device_profile_assignment/update_device_profile_assignment_request_builder.py +++ b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/enrollment_profiles/item/update_device_profile_assignment/update_device_profile_assignment_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UpdateDeviceProfileAssignmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/generate_encryption_public_key/generate_encryption_public_key_request_builder.py b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/generate_encryption_public_key/generate_encryption_public_key_request_builder.py index dd0b65cd016..f9cf5e22f33 100644 --- a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/generate_encryption_public_key/generate_encryption_public_key_request_builder.py +++ b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/generate_encryption_public_key/generate_encryption_public_key_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[GenerateEnc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GenerateEncryptionPublicKeyRequestBuilder: diff --git a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/get_encryption_public_key/get_encryption_public_key_request_builder.py b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/get_encryption_public_key/get_encryption_public_key_request_builder.py index 2e0602c94fd..103cb5a685c 100644 --- a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/get_encryption_public_key/get_encryption_public_key_request_builder.py +++ b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/get_encryption_public_key/get_encryption_public_key_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetEncryptio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetEncryptionPublicKeyRequestBuilder: diff --git a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/imported_apple_device_identities/import_apple_device_identity_list/import_apple_device_identity_list_request_builder.py b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/imported_apple_device_identities/import_apple_device_identity_list/import_apple_device_identity_list_request_builder.py index 909b980131f..084ad17526c 100644 --- a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/imported_apple_device_identities/import_apple_device_identity_list/import_apple_device_identity_list_request_builder.py +++ b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/imported_apple_device_identities/import_apple_device_identity_list/import_apple_device_identity_list_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImportAppleDeviceIdentityLis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/imported_apple_device_identities/imported_apple_device_identities_request_builder.py b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/imported_apple_device_identities/imported_apple_device_identities_request_builder.py index de353d7e764..a062a271060 100644 --- a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/imported_apple_device_identities/imported_apple_device_identities_request_builder.py +++ b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/imported_apple_device_identities/imported_apple_device_identities_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ImportedAppl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ImportedAppleDeviceIdentity] = None, request_configuration: Optional[ImportedAppleDeviceIdentitiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ImportedAppleDeviceIdentity] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/imported_apple_device_identities/item/imported_apple_device_identity_item_request_builder.py b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/imported_apple_device_identities/item/imported_apple_device_identity_item_request_builder.py index 9fdfeca0444..8cc4074a787 100644 --- a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/imported_apple_device_identities/item/imported_apple_device_identity_item_request_builder.py +++ b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/imported_apple_device_identities/item/imported_apple_device_identity_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ImportedA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ImportedAppleDeviceIdentityItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ImportedAppl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ImportedAppleDeviceIdentity] = None, request_configuration: Optional[ImportedAppleDeviceIdentityItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ImportedAppleDeviceIdentity request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/share_for_school_data_sync_service/share_for_school_data_sync_service_request_builder.py b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/share_for_school_data_sync_service/share_for_school_data_sync_service_request_builder.py index 8e20d6d78f6..ae9a62d7bc9 100644 --- a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/share_for_school_data_sync_service/share_for_school_data_sync_service_request_builder.py +++ b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/share_for_school_data_sync_service/share_for_school_data_sync_service_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[ShareForSch request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ShareForSchoolDataSyncServiceRequestBuilder: diff --git a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/sync_with_apple_device_enrollment_program/sync_with_apple_device_enrollment_program_request_builder.py b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/sync_with_apple_device_enrollment_program/sync_with_apple_device_enrollment_program_request_builder.py index 19360986530..164d17f99d4 100644 --- a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/sync_with_apple_device_enrollment_program/sync_with_apple_device_enrollment_program_request_builder.py +++ b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/sync_with_apple_device_enrollment_program/sync_with_apple_device_enrollment_program_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[SyncWithApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SyncWithAppleDeviceEnrollmentProgramRequestBuilder: diff --git a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/unshare_for_school_data_sync_service/unshare_for_school_data_sync_service_request_builder.py b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/unshare_for_school_data_sync_service/unshare_for_school_data_sync_service_request_builder.py index 542b38e9623..547b2d86844 100644 --- a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/unshare_for_school_data_sync_service/unshare_for_school_data_sync_service_request_builder.py +++ b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/unshare_for_school_data_sync_service/unshare_for_school_data_sync_service_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[UnshareForS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnshareForSchoolDataSyncServiceRequestBuilder: diff --git a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/upload_dep_token/upload_dep_token_request_builder.py b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/upload_dep_token/upload_dep_token_request_builder.py index 9ee95ec354e..809fa8cb1dd 100644 --- a/msgraph_beta/generated/device_management/dep_onboarding_settings/item/upload_dep_token/upload_dep_token_request_builder.py +++ b/msgraph_beta/generated/device_management/dep_onboarding_settings/item/upload_dep_token/upload_dep_token_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UploadDepTokenPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/derived_credentials/derived_credentials_request_builder.py b/msgraph_beta/generated/device_management/derived_credentials/derived_credentials_request_builder.py index b685944fca8..e7f6c076cbf 100644 --- a/msgraph_beta/generated/device_management/derived_credentials/derived_credentials_request_builder.py +++ b/msgraph_beta/generated/device_management/derived_credentials/derived_credentials_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DerivedCrede request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementDerivedCredentialSettings] = None, request_configuration: Optional[DerivedCredentialsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementDerivedCrede request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/derived_credentials/item/device_management_derived_credential_settings_item_request_builder.py b/msgraph_beta/generated/device_management/derived_credentials/item/device_management_derived_credential_settings_item_request_builder.py index 652368f14b4..2567aa5a949 100644 --- a/msgraph_beta/generated/device_management/derived_credentials/item/device_management_derived_credential_settings_item_request_builder.py +++ b/msgraph_beta/generated/device_management/derived_credentials/item/device_management_derived_credential_settings_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementDerivedCredentialSettingsItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementDerivedCredentialSettings] = None, request_configuration: Optional[DeviceManagementDerivedCredentialSettingsItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementDerivedCred request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/detected_apps/detected_apps_request_builder.py b/msgraph_beta/generated/device_management/detected_apps/detected_apps_request_builder.py index 02c32f8f1ac..75fd93554c9 100644 --- a/msgraph_beta/generated/device_management/detected_apps/detected_apps_request_builder.py +++ b/msgraph_beta/generated/device_management/detected_apps/detected_apps_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DetectedApps request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DetectedApp] = None, request_configuration: Optional[DetectedAppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DetectedApp] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/detected_apps/item/detected_app_item_request_builder.py b/msgraph_beta/generated/device_management/detected_apps/item/detected_app_item_request_builder.py index 848e5ee41d4..89c6f52c3ce 100644 --- a/msgraph_beta/generated/device_management/detected_apps/item/detected_app_item_request_builder.py +++ b/msgraph_beta/generated/device_management/detected_apps/item/detected_app_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DetectedA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DetectedAppItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DetectedAppI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DetectedApp] = None, request_configuration: Optional[DetectedAppItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DetectedApp] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/detected_apps/item/managed_devices/item/managed_device_item_request_builder.py b/msgraph_beta/generated/device_management/detected_apps/item/managed_devices/item/managed_device_item_request_builder.py index 5ab2450b1ec..76803a22941 100644 --- a/msgraph_beta/generated/device_management/detected_apps/item/managed_devices/item/managed_device_item_request_builder.py +++ b/msgraph_beta/generated/device_management/detected_apps/item/managed_devices/item/managed_device_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagedDeviceItemRequestBuilder: diff --git a/msgraph_beta/generated/device_management/detected_apps/item/managed_devices/managed_devices_request_builder.py b/msgraph_beta/generated/device_management/detected_apps/item/managed_devices/managed_devices_request_builder.py index bcecb005d6a..58939b2f5e6 100644 --- a/msgraph_beta/generated/device_management/detected_apps/item/managed_devices/managed_devices_request_builder.py +++ b/msgraph_beta/generated/device_management/detected_apps/item/managed_devices/managed_devices_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagedDevicesRequestBuilder: diff --git a/msgraph_beta/generated/device_management/device_categories/device_categories_request_builder.py b/msgraph_beta/generated/device_management/device_categories/device_categories_request_builder.py index d8ab9a6e536..4d95c5a62f8 100644 --- a/msgraph_beta/generated/device_management/device_categories/device_categories_request_builder.py +++ b/msgraph_beta/generated/device_management/device_categories/device_categories_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCatego request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceCategory] = None, request_configuration: Optional[DeviceCategoriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceCategory] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_categories/item/device_category_item_request_builder.py b/msgraph_beta/generated/device_management/device_categories/item/device_category_item_request_builder.py index 805f3867951..24d67992aaf 100644 --- a/msgraph_beta/generated/device_management/device_categories/item/device_category_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_categories/item/device_category_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceCategoryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCatego request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceCategory] = None, request_configuration: Optional[DeviceCategoryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceCategory] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py index 6934e54d0af..11300b20a28 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py @@ -108,7 +108,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCompli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceCompliancePolicy] = None, request_configuration: Optional[DeviceCompliancePoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -127,7 +127,7 @@ def to_post_request_information(self,body: Optional[DeviceCompliancePolicy] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/get_devices_scheduled_to_retire/get_devices_scheduled_to_retire_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/get_devices_scheduled_to_retire/get_devices_scheduled_to_retire_request_builder.py index a9965a8ce74..9b4703c823f 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/get_devices_scheduled_to_retire/get_devices_scheduled_to_retire_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/get_devices_scheduled_to_retire/get_devices_scheduled_to_retire_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetDevicesSc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetDevicesScheduledToRetireRequestBuilder: diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/get_noncompliant_devices_to_retire/get_noncompliant_devices_to_retire_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/get_noncompliant_devices_to_retire/get_noncompliant_devices_to_retire_request_builder.py index 287f802b148..5dd0d4a969b 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/get_noncompliant_devices_to_retire/get_noncompliant_devices_to_retire_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/get_noncompliant_devices_to_retire/get_noncompliant_devices_to_retire_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetNoncompliantDevicesToReti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/has_payload_links/has_payload_links_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/has_payload_links/has_payload_links_request_builder.py index d3cd597fdba..27ba30db13e 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/has_payload_links/has_payload_links_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/has_payload_links/has_payload_links_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[HasPayloadLinksPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/assign/assign_request_builder.py index 5ebb50c5d4e..45565d96a71 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/assign/assign_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/assignments/assignments_request_builder.py index 2a5ff72b3b0..f17250c9d4b 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceCompliancePolicyAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceCompliancePolicyAssign request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/assignments/item/device_compliance_policy_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/assignments/item/device_compliance_policy_assignment_item_request_builder.py index 9822035388d..1af3d1fd3bf 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/assignments/item/device_compliance_policy_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/assignments/item/device_compliance_policy_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCom request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceCompliancePolicyAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCompli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceCompliancePolicyAssignment] = None, request_configuration: Optional[DeviceCompliancePolicyAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceCompliancePolicyAssig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py index bfc04f274f0..ffa921fed7d 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py @@ -112,7 +112,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCom request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceCompliancePolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -129,7 +129,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCompli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceCompliancePolicy] = None, request_configuration: Optional[DeviceCompliancePolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -148,7 +148,7 @@ def to_patch_request_information(self,body: Optional[DeviceCompliancePolicy] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/device_setting_state_summaries/device_setting_state_summaries_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/device_setting_state_summaries/device_setting_state_summaries_request_builder.py index 42268b18fe1..284c6ac8bc3 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/device_setting_state_summaries/device_setting_state_summaries_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/device_setting_state_summaries/device_setting_state_summaries_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceSettin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SettingStateDeviceSummary] = None, request_configuration: Optional[DeviceSettingStateSummariesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[SettingStateDeviceSummary] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/device_setting_state_summaries/item/setting_state_device_summary_item_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/device_setting_state_summaries/item/setting_state_device_summary_item_request_builder.py index f8d4f9eb9c2..16a9109976d 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/device_setting_state_summaries/item/setting_state_device_summary_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/device_setting_state_summaries/item/setting_state_device_summary_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[SettingSt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SettingStateDeviceSummaryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingState request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SettingStateDeviceSummary] = None, request_configuration: Optional[SettingStateDeviceSummaryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[SettingStateDeviceSummary] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/device_status_overview/device_status_overview_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/device_status_overview/device_status_overview_request_builder.py index cdbfd855f04..9bcb10ae5ad 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/device_status_overview/device_status_overview_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/device_status_overview/device_status_overview_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceSta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceStatusOverviewRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceStatus request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceComplianceDeviceOverview] = None, request_configuration: Optional[DeviceStatusOverviewRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceComplianceDeviceOverv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/device_statuses/device_statuses_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/device_statuses/device_statuses_request_builder.py index 280b5c36ec3..0717b826cf7 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/device_statuses/device_statuses_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/device_statuses/device_statuses_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceStatus request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceComplianceDeviceStatus] = None, request_configuration: Optional[DeviceStatusesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceComplianceDeviceStatus request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/device_statuses/item/device_compliance_device_status_item_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/device_statuses/item/device_compliance_device_status_item_request_builder.py index 28d7f6a9aaf..c942518ae0a 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/device_statuses/item/device_compliance_device_status_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/device_statuses/item/device_compliance_device_status_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCom request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceComplianceDeviceStatusItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCompli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceComplianceDeviceStatus] = None, request_configuration: Optional[DeviceComplianceDeviceStatusItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceComplianceDeviceStatu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/schedule_actions_for_rules/schedule_actions_for_rules_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/schedule_actions_for_rules/schedule_actions_for_rules_request_builder.py index a9f07858710..6201bd99cf8 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/schedule_actions_for_rules/schedule_actions_for_rules_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/schedule_actions_for_rules/schedule_actions_for_rules_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ScheduleActionsForRulesPostR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/device_compliance_scheduled_action_for_rule_item_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/device_compliance_scheduled_action_for_rule_item_request_builder.py index f5108b99eb4..6d4a89a585b 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/device_compliance_scheduled_action_for_rule_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/device_compliance_scheduled_action_for_rule_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCom request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceComplianceScheduledActionForRuleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCompli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceComplianceScheduledActionForRule] = None, request_configuration: Optional[DeviceComplianceScheduledActionForRuleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceComplianceScheduledAc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/item/device_compliance_action_item_item_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/item/device_compliance_action_item_item_request_builder.py index 4db6af9db58..a98e9eb2b41 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/item/device_compliance_action_item_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/item/device_compliance_action_item_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCom request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceComplianceActionItemItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCompli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceComplianceActionItem] = None, request_configuration: Optional[DeviceComplianceActionItemItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceComplianceActionItem] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/scheduled_action_configurations_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/scheduled_action_configurations_request_builder.py index d970a5c21f0..6dd5c8c4f96 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/scheduled_action_configurations_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/scheduled_action_configurations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ScheduledAct request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceComplianceActionItem] = None, request_configuration: Optional[ScheduledActionConfigurationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceComplianceActionItem] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/scheduled_actions_for_rule_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/scheduled_actions_for_rule_request_builder.py index 4a035c3e4a0..de37b4c45a2 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/scheduled_actions_for_rule_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/scheduled_actions_for_rule/scheduled_actions_for_rule_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ScheduledAct request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceComplianceScheduledActionForRule] = None, request_configuration: Optional[ScheduledActionsForRuleRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceComplianceScheduledAct request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/user_status_overview/user_status_overview_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/user_status_overview/user_status_overview_request_builder.py index cc67a2a5c84..7b0952e4a00 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/user_status_overview/user_status_overview_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/user_status_overview/user_status_overview_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserStatu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserStatusOverviewRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserStatusOv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceComplianceUserOverview] = None, request_configuration: Optional[UserStatusOverviewRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceComplianceUserOvervie request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/user_statuses/item/device_compliance_user_status_item_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/user_statuses/item/device_compliance_user_status_item_request_builder.py index e749bb8fac7..a90bdc89be6 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/user_statuses/item/device_compliance_user_status_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/user_statuses/item/device_compliance_user_status_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCom request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceComplianceUserStatusItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCompli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceComplianceUserStatus] = None, request_configuration: Optional[DeviceComplianceUserStatusItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceComplianceUserStatus] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/item/user_statuses/user_statuses_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/item/user_statuses/user_statuses_request_builder.py index 2b90953f618..5479eea8d28 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/item/user_statuses/user_statuses_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/item/user_statuses/user_statuses_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserStatuses request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceComplianceUserStatus] = None, request_configuration: Optional[UserStatusesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceComplianceUserStatus] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 c928885a55d..ee39d61c037 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshDevi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshDeviceComplianceReportSummarizationRequestBuilder: diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/set_scheduled_retire_state/set_scheduled_retire_state_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/set_scheduled_retire_state/set_scheduled_retire_state_request_builder.py index 751f9ab3637..d40d77065b0 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/set_scheduled_retire_state/set_scheduled_retire_state_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/set_scheduled_retire_state/set_scheduled_retire_state_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetScheduledRetireStatePostR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_policies/validate_compliance_script/validate_compliance_script_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policies/validate_compliance_script/validate_compliance_script_request_builder.py index 5162a59fce6..89457c358ce 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policies/validate_compliance_script/validate_compliance_script_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policies/validate_compliance_script/validate_compliance_script_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ValidateComplianceScriptPost request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_policy_device_state_summary/device_compliance_policy_device_state_summary_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policy_device_state_summary/device_compliance_policy_device_state_summary_request_builder.py index 7f68e7aad47..c7475fc6c66 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policy_device_state_summary/device_compliance_policy_device_state_summary_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policy_device_state_summary/device_compliance_policy_device_state_summary_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCom request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceCompliancePolicyDeviceStateSummaryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCompli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceCompliancePolicyDeviceStateSummary] = None, request_configuration: Optional[DeviceCompliancePolicyDeviceStateSummaryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceCompliancePolicyDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_policy_setting_state_summaries/device_compliance_policy_setting_state_summaries_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policy_setting_state_summaries/device_compliance_policy_setting_state_summaries_request_builder.py index d1fb46a5fd5..c1308721d17 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policy_setting_state_summaries/device_compliance_policy_setting_state_summaries_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policy_setting_state_summaries/device_compliance_policy_setting_state_summaries_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCompli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceCompliancePolicySettingStateSummary] = None, request_configuration: Optional[DeviceCompliancePolicySettingStateSummariesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceCompliancePolicySettin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_policy_setting_state_summary_item_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_policy_setting_state_summary_item_request_builder.py index 08e794fe1d2..8b40a0d83d6 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_policy_setting_state_summary_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_policy_setting_state_summary_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCom request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceCompliancePolicySettingStateSummaryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCompli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceCompliancePolicySettingStateSummary] = None, request_configuration: Optional[DeviceCompliancePolicySettingStateSummaryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceCompliancePolicySetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_setting_states/device_compliance_setting_states_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_setting_states/device_compliance_setting_states_request_builder.py index de80eccc33d..4b3e2bd7a00 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_setting_states/device_compliance_setting_states_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_setting_states/device_compliance_setting_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCompli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceComplianceSettingState] = None, request_configuration: Optional[DeviceComplianceSettingStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceComplianceSettingState request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_setting_states/item/device_compliance_setting_state_item_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_setting_states/item/device_compliance_setting_state_item_request_builder.py index 67939eb9ed1..8117c082558 100644 --- a/msgraph_beta/generated/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_setting_states/item/device_compliance_setting_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_setting_states/item/device_compliance_setting_state_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCom request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceComplianceSettingStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCompli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceComplianceSettingState] = None, request_configuration: Optional[DeviceComplianceSettingStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceComplianceSettingStat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_scripts/device_compliance_scripts_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_scripts/device_compliance_scripts_request_builder.py index d0cb890959a..f839c154389 100644 --- a/msgraph_beta/generated/device_management/device_compliance_scripts/device_compliance_scripts_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_scripts/device_compliance_scripts_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCompli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceComplianceScript] = None, request_configuration: Optional[DeviceComplianceScriptsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceComplianceScript] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_scripts/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_scripts/item/assign/assign_request_builder.py index 2a3df26a9f6..ef146b70d13 100644 --- a/msgraph_beta/generated/device_management/device_compliance_scripts/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_scripts/item/assign/assign_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_scripts/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_scripts/item/assignments/assignments_request_builder.py index 1b62edd1275..4a63d8d2f4f 100644 --- a/msgraph_beta/generated/device_management/device_compliance_scripts/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_scripts/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceHealthScriptAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceHealthScriptAssignment request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_scripts/item/assignments/item/device_health_script_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_scripts/item/assignments/item/device_health_script_assignment_item_request_builder.py index 4e40237823c..96c8f95d22c 100644 --- a/msgraph_beta/generated/device_management/device_compliance_scripts/item/assignments/item/device_health_script_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_scripts/item/assignments/item/device_health_script_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceHea request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceHealthScriptAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceHealth request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceHealthScriptAssignment] = None, request_configuration: Optional[DeviceHealthScriptAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceHealthScriptAssignmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_scripts/item/device_compliance_script_item_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_scripts/item/device_compliance_script_item_request_builder.py index 170cbffff85..555a28d7094 100644 --- a/msgraph_beta/generated/device_management/device_compliance_scripts/item/device_compliance_script_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_scripts/item/device_compliance_script_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCom request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceComplianceScriptItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCompli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceComplianceScript] = None, request_configuration: Optional[DeviceComplianceScriptItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[DeviceComplianceScript] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_scripts/item/device_run_states/device_run_states_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_scripts/item/device_run_states/device_run_states_request_builder.py index 0517bb2e56f..110c87f2396 100644 --- a/msgraph_beta/generated/device_management/device_compliance_scripts/item/device_run_states/device_run_states_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_scripts/item/device_run_states/device_run_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceRunSta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceComplianceScriptDeviceState] = None, request_configuration: Optional[DeviceRunStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceComplianceScriptDevice request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_scripts/item/device_run_states/item/device_compliance_script_device_state_item_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_scripts/item/device_run_states/item/device_compliance_script_device_state_item_request_builder.py index e56a595babc..735484af783 100644 --- a/msgraph_beta/generated/device_management/device_compliance_scripts/item/device_run_states/item/device_compliance_script_device_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_scripts/item/device_run_states/item/device_compliance_script_device_state_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCom request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceComplianceScriptDeviceStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCompli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceComplianceScriptDeviceState] = None, request_configuration: Optional[DeviceComplianceScriptDeviceStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceComplianceScriptDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_compliance_scripts/item/device_run_states/item/managed_device/managed_device_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_scripts/item/device_run_states/item/managed_device/managed_device_request_builder.py index 17e20e8a4f0..812ff361618 100644 --- a/msgraph_beta/generated/device_management/device_compliance_scripts/item/device_run_states/item/managed_device/managed_device_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_scripts/item/device_run_states/item/managed_device/managed_device_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagedDeviceRequestBuilder: diff --git a/msgraph_beta/generated/device_management/device_compliance_scripts/item/run_summary/run_summary_request_builder.py b/msgraph_beta/generated/device_management/device_compliance_scripts/item/run_summary/run_summary_request_builder.py index 63db0efbd6b..007352791a7 100644 --- a/msgraph_beta/generated/device_management/device_compliance_scripts/item/run_summary/run_summary_request_builder.py +++ b/msgraph_beta/generated/device_management/device_compliance_scripts/item/run_summary/run_summary_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RunSummar request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RunSummaryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RunSummaryRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceComplianceScriptRunSummary] = None, request_configuration: Optional[RunSummaryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceComplianceScriptRunSu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_configuration_conflict_summary/device_configuration_conflict_summary_request_builder.py b/msgraph_beta/generated/device_management/device_configuration_conflict_summary/device_configuration_conflict_summary_request_builder.py index 5768d6d67d0..c00c641c55f 100644 --- a/msgraph_beta/generated/device_management/device_configuration_conflict_summary/device_configuration_conflict_summary_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configuration_conflict_summary/device_configuration_conflict_summary_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceConfigurationConflictSummary] = None, request_configuration: Optional[DeviceConfigurationConflictSummaryRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceConfigurationConflictS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_configuration_conflict_summary/item/device_configuration_conflict_summary_item_request_builder.py b/msgraph_beta/generated/device_management/device_configuration_conflict_summary/item/device_configuration_conflict_summary_item_request_builder.py index 63ed3eddee9..6f09c9a016b 100644 --- a/msgraph_beta/generated/device_management/device_configuration_conflict_summary/item/device_configuration_conflict_summary_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configuration_conflict_summary/item/device_configuration_conflict_summary_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceConfigurationConflictSummaryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceConfigurationConflictSummary] = None, request_configuration: Optional[DeviceConfigurationConflictSummaryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceConfigurationConflict request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_configuration_device_state_summaries/device_configuration_device_state_summaries_request_builder.py b/msgraph_beta/generated/device_management/device_configuration_device_state_summaries/device_configuration_device_state_summaries_request_builder.py index e1834c0a320..cff9de76c0f 100644 --- a/msgraph_beta/generated/device_management/device_configuration_device_state_summaries/device_configuration_device_state_summaries_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configuration_device_state_summaries/device_configuration_device_state_summaries_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceConfigurationDeviceStateSummariesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceConfigurationDeviceStateSummary] = None, request_configuration: Optional[DeviceConfigurationDeviceStateSummariesRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceConfigurationDeviceSt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_configuration_restricted_apps_violations/device_configuration_restricted_apps_violations_request_builder.py b/msgraph_beta/generated/device_management/device_configuration_restricted_apps_violations/device_configuration_restricted_apps_violations_request_builder.py index 26ccdf83bce..0106d13c581 100644 --- a/msgraph_beta/generated/device_management/device_configuration_restricted_apps_violations/device_configuration_restricted_apps_violations_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configuration_restricted_apps_violations/device_configuration_restricted_apps_violations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[RestrictedAppsViolation] = None, request_configuration: Optional[DeviceConfigurationRestrictedAppsViolationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[RestrictedAppsViolation] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_configuration_restricted_apps_violations/item/restricted_apps_violation_item_request_builder.py b/msgraph_beta/generated/device_management/device_configuration_restricted_apps_violations/item/restricted_apps_violation_item_request_builder.py index 4f266ee955a..a8393d44286 100644 --- a/msgraph_beta/generated/device_management/device_configuration_restricted_apps_violations/item/restricted_apps_violation_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configuration_restricted_apps_violations/item/restricted_apps_violation_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Restricte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RestrictedAppsViolationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RestrictedAp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RestrictedAppsViolation] = None, request_configuration: Optional[RestrictedAppsViolationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[RestrictedAppsViolation] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 a9bfa49d5ae..17345a69124 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceConfigurationUserStateSummariesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceConfigurationUserStateSummary] = None, request_configuration: Optional[DeviceConfigurationUserStateSummariesRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceConfigurationUserStat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_configurations/device_configurations_request_builder.py b/msgraph_beta/generated/device_management/device_configurations/device_configurations_request_builder.py index 5fc5de35501..7c85a30e351 100644 --- a/msgraph_beta/generated/device_management/device_configurations/device_configurations_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations/device_configurations_request_builder.py @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceConfiguration] = None, request_configuration: Optional[DeviceConfigurationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[DeviceConfiguration] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_configurations/get_ios_available_update_versions/get_ios_available_update_versions_request_builder.py b/msgraph_beta/generated/device_management/device_configurations/get_ios_available_update_versions/get_ios_available_update_versions_request_builder.py index a5dcddec918..e1d841e92f9 100644 --- a/msgraph_beta/generated/device_management/device_configurations/get_ios_available_update_versions/get_ios_available_update_versions_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations/get_ios_available_update_versions/get_ios_available_update_versions_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetIosAvaila request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetIosAvailableUpdateVersionsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/device_configurations/get_targeted_users_and_devices/get_targeted_users_and_devices_request_builder.py b/msgraph_beta/generated/device_management/device_configurations/get_targeted_users_and_devices/get_targeted_users_and_devices_request_builder.py index 8e55e4624d8..348f06a6a18 100644 --- a/msgraph_beta/generated/device_management/device_configurations/get_targeted_users_and_devices/get_targeted_users_and_devices_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations/get_targeted_users_and_devices/get_targeted_users_and_devices_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GetTargetedUsersAndDevicesPo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_configurations/has_payload_links/has_payload_links_request_builder.py b/msgraph_beta/generated/device_management/device_configurations/has_payload_links/has_payload_links_request_builder.py index 991922e1442..d1a80cc3ea3 100644 --- a/msgraph_beta/generated/device_management/device_configurations/has_payload_links/has_payload_links_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations/has_payload_links/has_payload_links_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[HasPayloadLinksPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_configurations/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_management/device_configurations/item/assign/assign_request_builder.py index 15ca98c2f50..37e932269c0 100644 --- a/msgraph_beta/generated/device_management/device_configurations/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations/item/assign/assign_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_configurations/item/assigned_access_multi_mode_profiles/assigned_access_multi_mode_profiles_request_builder.py b/msgraph_beta/generated/device_management/device_configurations/item/assigned_access_multi_mode_profiles/assigned_access_multi_mode_profiles_request_builder.py index 70e1979195d..6413849f519 100644 --- a/msgraph_beta/generated/device_management/device_configurations/item/assigned_access_multi_mode_profiles/assigned_access_multi_mode_profiles_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations/item/assigned_access_multi_mode_profiles/assigned_access_multi_mode_profiles_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[AssignedAccessMultiModeProfi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_configurations/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_management/device_configurations/item/assignments/assignments_request_builder.py index 8693c2b1ddd..2fe1b869eec 100644 --- a/msgraph_beta/generated/device_management/device_configurations/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceConfigurationAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceConfigurationAssignmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_configurations/item/assignments/item/device_configuration_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/device_configurations/item/assignments/item/device_configuration_assignment_item_request_builder.py index 1f687baa57d..ae63dbc527e 100644 --- a/msgraph_beta/generated/device_management/device_configurations/item/assignments/item/device_configuration_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations/item/assignments/item/device_configuration_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceConfigurationAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceConfigurationAssignment] = None, request_configuration: Optional[DeviceConfigurationAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceConfigurationAssignme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py b/msgraph_beta/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py index c47a1cfa912..cd2f4d65e57 100644 --- a/msgraph_beta/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py @@ -126,7 +126,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceConfigurationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceConfiguration] = None, request_configuration: Optional[DeviceConfigurationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -162,7 +162,7 @@ def to_patch_request_information(self,body: Optional[DeviceConfiguration] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_configurations/item/device_setting_state_summaries/device_setting_state_summaries_request_builder.py b/msgraph_beta/generated/device_management/device_configurations/item/device_setting_state_summaries/device_setting_state_summaries_request_builder.py index 96b2553ee58..985604da6e3 100644 --- a/msgraph_beta/generated/device_management/device_configurations/item/device_setting_state_summaries/device_setting_state_summaries_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations/item/device_setting_state_summaries/device_setting_state_summaries_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceSettin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SettingStateDeviceSummary] = None, request_configuration: Optional[DeviceSettingStateSummariesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[SettingStateDeviceSummary] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_configurations/item/device_setting_state_summaries/item/setting_state_device_summary_item_request_builder.py b/msgraph_beta/generated/device_management/device_configurations/item/device_setting_state_summaries/item/setting_state_device_summary_item_request_builder.py index 41f2ac81c0c..2abe38a5d7f 100644 --- a/msgraph_beta/generated/device_management/device_configurations/item/device_setting_state_summaries/item/setting_state_device_summary_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations/item/device_setting_state_summaries/item/setting_state_device_summary_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[SettingSt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SettingStateDeviceSummaryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingState request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SettingStateDeviceSummary] = None, request_configuration: Optional[SettingStateDeviceSummaryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[SettingStateDeviceSummary] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_configurations/item/device_status_overview/device_status_overview_request_builder.py b/msgraph_beta/generated/device_management/device_configurations/item/device_status_overview/device_status_overview_request_builder.py index 7c3a6036a05..df4038f791e 100644 --- a/msgraph_beta/generated/device_management/device_configurations/item/device_status_overview/device_status_overview_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations/item/device_status_overview/device_status_overview_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceSta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceStatusOverviewRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceStatus request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceConfigurationDeviceOverview] = None, request_configuration: Optional[DeviceStatusOverviewRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceConfigurationDeviceOv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_configurations/item/device_statuses/device_statuses_request_builder.py b/msgraph_beta/generated/device_management/device_configurations/item/device_statuses/device_statuses_request_builder.py index 8c60d4bd24c..e09f3ee583c 100644 --- a/msgraph_beta/generated/device_management/device_configurations/item/device_statuses/device_statuses_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations/item/device_statuses/device_statuses_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceStatus request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceConfigurationDeviceStatus] = None, request_configuration: Optional[DeviceStatusesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceConfigurationDeviceSta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_configurations/item/device_statuses/item/device_configuration_device_status_item_request_builder.py b/msgraph_beta/generated/device_management/device_configurations/item/device_statuses/item/device_configuration_device_status_item_request_builder.py index 6be11022a7b..694ed9b2e42 100644 --- a/msgraph_beta/generated/device_management/device_configurations/item/device_statuses/item/device_configuration_device_status_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations/item/device_statuses/item/device_configuration_device_status_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceConfigurationDeviceStatusItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceConfigurationDeviceStatus] = None, request_configuration: Optional[DeviceConfigurationDeviceStatusItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceConfigurationDeviceSt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_configurations/item/get_oma_setting_plain_text_value_with_secret_reference_value_id/get_oma_setting_plain_text_value_with_secret_reference_value_id_request_builder.py b/msgraph_beta/generated/device_management/device_configurations/item/get_oma_setting_plain_text_value_with_secret_reference_value_id/get_oma_setting_plain_text_value_with_secret_reference_value_id_request_builder.py index 905235b7fbb..0877d8090bd 100644 --- a/msgraph_beta/generated/device_management/device_configurations/item/get_oma_setting_plain_text_value_with_secret_reference_value_id/get_oma_setting_plain_text_value_with_secret_reference_value_id_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations/item/get_oma_setting_plain_text_value_with_secret_reference_value_id/get_oma_setting_plain_text_value_with_secret_reference_value_id_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[GetOmaSettin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder: diff --git a/msgraph_beta/generated/device_management/device_configurations/item/group_assignments/group_assignments_request_builder.py b/msgraph_beta/generated/device_management/device_configurations/item/group_assignments/group_assignments_request_builder.py index 8f92e291f20..097d106a2fd 100644 --- a/msgraph_beta/generated/device_management/device_configurations/item/group_assignments/group_assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations/item/group_assignments/group_assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupAssignm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceConfigurationGroupAssignment] = None, request_configuration: Optional[GroupAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceConfigurationGroupAssi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_configurations/item/group_assignments/item/device_configuration/device_configuration_request_builder.py b/msgraph_beta/generated/device_management/device_configurations/item/group_assignments/item/device_configuration/device_configuration_request_builder.py index 17fd10f0c97..3f37ab55250 100644 --- a/msgraph_beta/generated/device_management/device_configurations/item/group_assignments/item/device_configuration/device_configuration_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations/item/group_assignments/item/device_configuration/device_configuration_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeviceConfigurationRequestBuilder: diff --git a/msgraph_beta/generated/device_management/device_configurations/item/group_assignments/item/device_configuration_group_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/device_configurations/item/group_assignments/item/device_configuration_group_assignment_item_request_builder.py index 36db2dcc564..f074134167b 100644 --- a/msgraph_beta/generated/device_management/device_configurations/item/group_assignments/item/device_configuration_group_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations/item/group_assignments/item/device_configuration_group_assignment_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceConfigurationGroupAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceConfigurationGroupAssignment] = None, request_configuration: Optional[DeviceConfigurationGroupAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceConfigurationGroupAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_configurations/item/user_status_overview/user_status_overview_request_builder.py b/msgraph_beta/generated/device_management/device_configurations/item/user_status_overview/user_status_overview_request_builder.py index 66597a8a725..8c4b7e49c6b 100644 --- a/msgraph_beta/generated/device_management/device_configurations/item/user_status_overview/user_status_overview_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations/item/user_status_overview/user_status_overview_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserStatu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserStatusOverviewRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserStatusOv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceConfigurationUserOverview] = None, request_configuration: Optional[UserStatusOverviewRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceConfigurationUserOver request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_configurations/item/user_statuses/item/device_configuration_user_status_item_request_builder.py b/msgraph_beta/generated/device_management/device_configurations/item/user_statuses/item/device_configuration_user_status_item_request_builder.py index 36eac222223..985f45fa22c 100644 --- a/msgraph_beta/generated/device_management/device_configurations/item/user_statuses/item/device_configuration_user_status_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations/item/user_statuses/item/device_configuration_user_status_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceConfigurationUserStatusItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceConfigurationUserStatus] = None, request_configuration: Optional[DeviceConfigurationUserStatusItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceConfigurationUserStat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_configurations/item/user_statuses/user_statuses_request_builder.py b/msgraph_beta/generated/device_management/device_configurations/item/user_statuses/user_statuses_request_builder.py index 09f3751d988..220f57f83a4 100644 --- a/msgraph_beta/generated/device_management/device_configurations/item/user_statuses/user_statuses_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations/item/user_statuses/user_statuses_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserStatuses request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceConfigurationUserStatus] = None, request_configuration: Optional[UserStatusesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceConfigurationUserStatu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_configurations/item/windows_privacy_access_controls/windows_privacy_access_controls_request_builder.py b/msgraph_beta/generated/device_management/device_configurations/item/windows_privacy_access_controls/windows_privacy_access_controls_request_builder.py index 27aedaf8994..86c41e048cd 100644 --- a/msgraph_beta/generated/device_management/device_configurations/item/windows_privacy_access_controls/windows_privacy_access_controls_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations/item/windows_privacy_access_controls/windows_privacy_access_controls_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[WindowsPrivacyAccessControls request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_configurations_all_managed_device_certificate_states/device_configurations_all_managed_device_certificate_states_request_builder.py b/msgraph_beta/generated/device_management/device_configurations_all_managed_device_certificate_states/device_configurations_all_managed_device_certificate_states_request_builder.py index f00f99d9d8f..ce60c023ee2 100644 --- a/msgraph_beta/generated/device_management/device_configurations_all_managed_device_certificate_states/device_configurations_all_managed_device_certificate_states_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations_all_managed_device_certificate_states/device_configurations_all_managed_device_certificate_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedAllDeviceCertificateState] = None, request_configuration: Optional[DeviceConfigurationsAllManagedDeviceCertificateStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedAllDeviceCertificateS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_configurations_all_managed_device_certificate_states/item/managed_all_device_certificate_state_item_request_builder.py b/msgraph_beta/generated/device_management/device_configurations_all_managed_device_certificate_states/item/managed_all_device_certificate_state_item_request_builder.py index ca8aa35b878..ac67a7283fe 100644 --- a/msgraph_beta/generated/device_management/device_configurations_all_managed_device_certificate_states/item/managed_all_device_certificate_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_configurations_all_managed_device_certificate_states/item/managed_all_device_certificate_state_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedAl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedAllDeviceCertificateStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedAllDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedAllDeviceCertificateState] = None, request_configuration: Optional[ManagedAllDeviceCertificateStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ManagedAllDeviceCertificate request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/device_custom_attribute_shell_scripts_request_builder.py b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/device_custom_attribute_shell_scripts_request_builder.py index c412c9b6309..64dd1006373 100644 --- a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/device_custom_attribute_shell_scripts_request_builder.py +++ b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/device_custom_attribute_shell_scripts_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCustom request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceCustomAttributeShellScript] = None, request_configuration: Optional[DeviceCustomAttributeShellScriptsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceCustomAttributeShellSc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/assign/assign_request_builder.py index 8f7b238e432..8fe3f0bae03 100644 --- a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/assign/assign_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/assignments/assignments_request_builder.py index 14d3976d711..a8b2a9ecfda 100644 --- a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementScriptAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementScriptAssign request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/assignments/item/device_management_script_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/assignments/item/device_management_script_assignment_item_request_builder.py index 7df75be8006..b0781ac0608 100644 --- a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/assignments/item/device_management_script_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/assignments/item/device_management_script_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementScriptAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementScriptAssignment] = None, request_configuration: Optional[DeviceManagementScriptAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementScriptAssig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/device_custom_attribute_shell_script_item_request_builder.py b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/device_custom_attribute_shell_script_item_request_builder.py index 6954eb3fe39..8fb5bc14414 100644 --- a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/device_custom_attribute_shell_script_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/device_custom_attribute_shell_script_item_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCus request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceCustomAttributeShellScriptItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCustom request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceCustomAttributeShellScript] = None, request_configuration: Optional[DeviceCustomAttributeShellScriptItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[DeviceCustomAttributeShellS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/device_run_states/device_run_states_request_builder.py b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/device_run_states/device_run_states_request_builder.py index 785f4ed6362..89940f76b7b 100644 --- a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/device_run_states/device_run_states_request_builder.py +++ b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/device_run_states/device_run_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceRunSta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementScriptDeviceState] = None, request_configuration: Optional[DeviceRunStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementScriptDevice request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/device_run_states/item/device_management_script_device_state_item_request_builder.py b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/device_run_states/item/device_management_script_device_state_item_request_builder.py index 81270496b0f..1dbc00d3364 100644 --- a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/device_run_states/item/device_management_script_device_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/device_run_states/item/device_management_script_device_state_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementScriptDeviceStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementScriptDeviceState] = None, request_configuration: Optional[DeviceManagementScriptDeviceStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementScriptDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/device_run_states/item/managed_device/managed_device_request_builder.py b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/device_run_states/item/managed_device/managed_device_request_builder.py index 991d06ae25f..a826f0428eb 100644 --- a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/device_run_states/item/managed_device/managed_device_request_builder.py +++ b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/device_run_states/item/managed_device/managed_device_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagedDeviceRequestBuilder: diff --git a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/group_assignments/group_assignments_request_builder.py b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/group_assignments/group_assignments_request_builder.py index b6486c34cd3..81078ce2b93 100644 --- a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/group_assignments/group_assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/group_assignments/group_assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupAssignm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementScriptGroupAssignment] = None, request_configuration: Optional[GroupAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementScriptGroupA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/group_assignments/item/device_management_script_group_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/group_assignments/item/device_management_script_group_assignment_item_request_builder.py index bb640d4d9cc..2a0e484f591 100644 --- a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/group_assignments/item/device_management_script_group_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/group_assignments/item/device_management_script_group_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementScriptGroupAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementScriptGroupAssignment] = None, request_configuration: Optional[DeviceManagementScriptGroupAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementScriptGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/run_summary/run_summary_request_builder.py b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/run_summary/run_summary_request_builder.py index ea0d856845a..e574164f78c 100644 --- a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/run_summary/run_summary_request_builder.py +++ b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/run_summary/run_summary_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RunSummaryRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RunSummaryRequestBuilder: diff --git a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/user_run_states/item/device_management_script_user_state_item_request_builder.py b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/user_run_states/item/device_management_script_user_state_item_request_builder.py index ac9cb120fa6..c447c849117 100644 --- a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/user_run_states/item/device_management_script_user_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/user_run_states/item/device_management_script_user_state_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementScriptUserStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementScriptUserState] = None, request_configuration: Optional[DeviceManagementScriptUserStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementScriptUserS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/user_run_states/item/device_run_states/device_run_states_request_builder.py b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/user_run_states/item/device_run_states/device_run_states_request_builder.py index 3cf9cb3d829..28d697ceb87 100644 --- a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/user_run_states/item/device_run_states/device_run_states_request_builder.py +++ b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/user_run_states/item/device_run_states/device_run_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceRunSta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementScriptDeviceState] = None, request_configuration: Optional[DeviceRunStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementScriptDevice request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/user_run_states/item/device_run_states/item/device_management_script_device_state_item_request_builder.py b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/user_run_states/item/device_run_states/item/device_management_script_device_state_item_request_builder.py index f7bf24972d7..08bd86ae2d6 100644 --- a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/user_run_states/item/device_run_states/item/device_management_script_device_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/user_run_states/item/device_run_states/item/device_management_script_device_state_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementScriptDeviceStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementScriptDeviceState] = None, request_configuration: Optional[DeviceManagementScriptDeviceStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementScriptDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/user_run_states/item/device_run_states/item/managed_device/managed_device_request_builder.py b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/user_run_states/item/device_run_states/item/managed_device/managed_device_request_builder.py index 2d73485ed4b..545de2756c4 100644 --- a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/user_run_states/item/device_run_states/item/managed_device/managed_device_request_builder.py +++ b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/user_run_states/item/device_run_states/item/managed_device/managed_device_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagedDeviceRequestBuilder: diff --git a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/user_run_states/user_run_states_request_builder.py b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/user_run_states/user_run_states_request_builder.py index bd7ece54a00..f42c1f7ae0a 100644 --- a/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/user_run_states/user_run_states_request_builder.py +++ b/msgraph_beta/generated/device_management/device_custom_attribute_shell_scripts/item/user_run_states/user_run_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserRunState request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementScriptUserState] = None, request_configuration: Optional[UserRunStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementScriptUserSt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_enrollment_configurations/create_enrollment_notification_configuration/create_enrollment_notification_configuration_request_builder.py b/msgraph_beta/generated/device_management/device_enrollment_configurations/create_enrollment_notification_configuration/create_enrollment_notification_configuration_request_builder.py index b051de6ced0..8e1c6cab006 100644 --- a/msgraph_beta/generated/device_management/device_enrollment_configurations/create_enrollment_notification_configuration/create_enrollment_notification_configuration_request_builder.py +++ b/msgraph_beta/generated/device_management/device_enrollment_configurations/create_enrollment_notification_configuration/create_enrollment_notification_configuration_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[CreateEnrollmentNotification request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py b/msgraph_beta/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py index ed1f2407b16..9037a3018b4 100644 --- a/msgraph_beta/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py +++ b/msgraph_beta/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceEnroll request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceEnrollmentConfiguration] = None, request_configuration: Optional[DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[DeviceEnrollmentConfiguratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_enrollment_configurations/has_payload_links/has_payload_links_request_builder.py b/msgraph_beta/generated/device_management/device_enrollment_configurations/has_payload_links/has_payload_links_request_builder.py index 7de66a099b3..66f6307c0c6 100644 --- a/msgraph_beta/generated/device_management/device_enrollment_configurations/has_payload_links/has_payload_links_request_builder.py +++ b/msgraph_beta/generated/device_management/device_enrollment_configurations/has_payload_links/has_payload_links_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[HasPayloadLinksPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_enrollment_configurations/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_management/device_enrollment_configurations/item/assign/assign_request_builder.py index af4dd67cb9c..e6955d4e2b3 100644 --- a/msgraph_beta/generated/device_management/device_enrollment_configurations/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_management/device_enrollment_configurations/item/assign/assign_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_enrollment_configurations/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_management/device_enrollment_configurations/item/assignments/assignments_request_builder.py index 01382e3942f..09ab9b5c902 100644 --- a/msgraph_beta/generated/device_management/device_enrollment_configurations/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/device_enrollment_configurations/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EnrollmentConfigurationAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[EnrollmentConfigurationAssig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_enrollment_configurations/item/assignments/item/enrollment_configuration_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/device_enrollment_configurations/item/assignments/item/enrollment_configuration_assignment_item_request_builder.py index 6ba62850f7a..115f4dcc36e 100644 --- a/msgraph_beta/generated/device_management/device_enrollment_configurations/item/assignments/item/enrollment_configuration_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_enrollment_configurations/item/assignments/item/enrollment_configuration_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Enrollmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EnrollmentConfigurationAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[EnrollmentCo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EnrollmentConfigurationAssignment] = None, request_configuration: Optional[EnrollmentConfigurationAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[EnrollmentConfigurationAssi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py b/msgraph_beta/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py index 92e703b30ef..6b9ae0a0a42 100644 --- a/msgraph_beta/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceEnr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceEnroll request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceEnrollmentConfiguration] = None, request_configuration: Optional[DeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[DeviceEnrollmentConfigurati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_enrollment_configurations/item/set_priority/set_priority_request_builder.py b/msgraph_beta/generated/device_management/device_enrollment_configurations/item/set_priority/set_priority_request_builder.py index b0ea20c44c2..e60ebd293d1 100644 --- a/msgraph_beta/generated/device_management/device_enrollment_configurations/item/set_priority/set_priority_request_builder.py +++ b/msgraph_beta/generated/device_management/device_enrollment_configurations/item/set_priority/set_priority_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetPriorityPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_health_scripts/are_global_scripts_available/are_global_scripts_available_request_builder.py b/msgraph_beta/generated/device_management/device_health_scripts/are_global_scripts_available/are_global_scripts_available_request_builder.py index 47755101d4b..42d80f30bc0 100644 --- a/msgraph_beta/generated/device_management/device_health_scripts/are_global_scripts_available/are_global_scripts_available_request_builder.py +++ b/msgraph_beta/generated/device_management/device_health_scripts/are_global_scripts_available/are_global_scripts_available_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[AreGlobalScr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AreGlobalScriptsAvailableRequestBuilder: diff --git a/msgraph_beta/generated/device_management/device_health_scripts/device_health_scripts_request_builder.py b/msgraph_beta/generated/device_management/device_health_scripts/device_health_scripts_request_builder.py index 66a6e294dde..ea4cd692fd8 100644 --- a/msgraph_beta/generated/device_management/device_health_scripts/device_health_scripts_request_builder.py +++ b/msgraph_beta/generated/device_management/device_health_scripts/device_health_scripts_request_builder.py @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceHealth request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceHealthScript] = None, request_configuration: Optional[DeviceHealthScriptsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[DeviceHealthScript] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_health_scripts/enable_global_scripts/enable_global_scripts_request_builder.py b/msgraph_beta/generated/device_management/device_health_scripts/enable_global_scripts/enable_global_scripts_request_builder.py index afc004e3d1e..dae6b8b61d2 100644 --- a/msgraph_beta/generated/device_management/device_health_scripts/enable_global_scripts/enable_global_scripts_request_builder.py +++ b/msgraph_beta/generated/device_management/device_health_scripts/enable_global_scripts/enable_global_scripts_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[EnableGloba request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EnableGlobalScriptsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/device_health_scripts/get_remediation_summary/get_remediation_summary_request_builder.py b/msgraph_beta/generated/device_management/device_health_scripts/get_remediation_summary/get_remediation_summary_request_builder.py index 8d216e7a61c..95e6f225217 100644 --- a/msgraph_beta/generated/device_management/device_health_scripts/get_remediation_summary/get_remediation_summary_request_builder.py +++ b/msgraph_beta/generated/device_management/device_health_scripts/get_remediation_summary/get_remediation_summary_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetRemediati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetRemediationSummaryRequestBuilder: diff --git a/msgraph_beta/generated/device_management/device_health_scripts/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_management/device_health_scripts/item/assign/assign_request_builder.py index ebfe85ca5ba..3f0632bc74d 100644 --- a/msgraph_beta/generated/device_management/device_health_scripts/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_management/device_health_scripts/item/assign/assign_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_health_scripts/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_management/device_health_scripts/item/assignments/assignments_request_builder.py index 391b009dfab..17d86ec8e8f 100644 --- a/msgraph_beta/generated/device_management/device_health_scripts/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/device_health_scripts/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceHealthScriptAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceHealthScriptAssignment request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_health_scripts/item/assignments/item/device_health_script_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/device_health_scripts/item/assignments/item/device_health_script_assignment_item_request_builder.py index 5a11cf6a649..8d66e2133d4 100644 --- a/msgraph_beta/generated/device_management/device_health_scripts/item/assignments/item/device_health_script_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_health_scripts/item/assignments/item/device_health_script_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceHea request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceHealthScriptAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceHealth request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceHealthScriptAssignment] = None, request_configuration: Optional[DeviceHealthScriptAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceHealthScriptAssignmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_health_scripts/item/device_health_script_item_request_builder.py b/msgraph_beta/generated/device_management/device_health_scripts/item/device_health_script_item_request_builder.py index 17deae6d494..02b17610a37 100644 --- a/msgraph_beta/generated/device_management/device_health_scripts/item/device_health_script_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_health_scripts/item/device_health_script_item_request_builder.py @@ -110,7 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceHea request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceHealthScriptItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceHealth request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceHealthScript] = None, request_configuration: Optional[DeviceHealthScriptItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[DeviceHealthScript] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_health_scripts/item/device_run_states/device_run_states_request_builder.py b/msgraph_beta/generated/device_management/device_health_scripts/item/device_run_states/device_run_states_request_builder.py index e89ea444c4f..cbf9cd0370b 100644 --- a/msgraph_beta/generated/device_management/device_health_scripts/item/device_run_states/device_run_states_request_builder.py +++ b/msgraph_beta/generated/device_management/device_health_scripts/item/device_run_states/device_run_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceRunSta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceHealthScriptDeviceState] = None, request_configuration: Optional[DeviceRunStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceHealthScriptDeviceStat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_health_scripts/item/device_run_states/item/device_health_script_device_state_item_request_builder.py b/msgraph_beta/generated/device_management/device_health_scripts/item/device_run_states/item/device_health_script_device_state_item_request_builder.py index d697c4a981d..cb5a77ab0c5 100644 --- a/msgraph_beta/generated/device_management/device_health_scripts/item/device_run_states/item/device_health_script_device_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_health_scripts/item/device_run_states/item/device_health_script_device_state_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceHea request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceHealthScriptDeviceStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceHealth request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceHealthScriptDeviceState] = None, request_configuration: Optional[DeviceHealthScriptDeviceStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceHealthScriptDeviceSta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_health_scripts/item/device_run_states/item/managed_device/managed_device_request_builder.py b/msgraph_beta/generated/device_management/device_health_scripts/item/device_run_states/item/managed_device/managed_device_request_builder.py index 47fadc86889..f77b1cb9e8a 100644 --- a/msgraph_beta/generated/device_management/device_health_scripts/item/device_run_states/item/managed_device/managed_device_request_builder.py +++ b/msgraph_beta/generated/device_management/device_health_scripts/item/device_run_states/item/managed_device/managed_device_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagedDeviceRequestBuilder: diff --git a/msgraph_beta/generated/device_management/device_health_scripts/item/get_global_script_highest_available_version/get_global_script_highest_available_version_request_builder.py b/msgraph_beta/generated/device_management/device_health_scripts/item/get_global_script_highest_available_version/get_global_script_highest_available_version_request_builder.py index d3b9927d880..dad43d1b16e 100644 --- a/msgraph_beta/generated/device_management/device_health_scripts/item/get_global_script_highest_available_version/get_global_script_highest_available_version_request_builder.py +++ b/msgraph_beta/generated/device_management/device_health_scripts/item/get_global_script_highest_available_version/get_global_script_highest_available_version_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[GetGlobalSc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetGlobalScriptHighestAvailableVersionRequestBuilder: diff --git a/msgraph_beta/generated/device_management/device_health_scripts/item/get_remediation_history/get_remediation_history_request_builder.py b/msgraph_beta/generated/device_management/device_health_scripts/item/get_remediation_history/get_remediation_history_request_builder.py index 918e021b2d3..4cd1d97fe92 100644 --- a/msgraph_beta/generated/device_management/device_health_scripts/item/get_remediation_history/get_remediation_history_request_builder.py +++ b/msgraph_beta/generated/device_management/device_health_scripts/item/get_remediation_history/get_remediation_history_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetRemediati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetRemediationHistoryRequestBuilder: diff --git a/msgraph_beta/generated/device_management/device_health_scripts/item/run_summary/run_summary_request_builder.py b/msgraph_beta/generated/device_management/device_health_scripts/item/run_summary/run_summary_request_builder.py index b21f09a1e05..d1f9ffa7cc4 100644 --- a/msgraph_beta/generated/device_management/device_health_scripts/item/run_summary/run_summary_request_builder.py +++ b/msgraph_beta/generated/device_management/device_health_scripts/item/run_summary/run_summary_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RunSummar request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RunSummaryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RunSummaryRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceHealthScriptRunSummary] = None, request_configuration: Optional[RunSummaryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceHealthScriptRunSummar request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_health_scripts/item/update_global_script/update_global_script_request_builder.py b/msgraph_beta/generated/device_management/device_health_scripts/item/update_global_script/update_global_script_request_builder.py index bb9564bf4b7..1ce6acd9605 100644 --- a/msgraph_beta/generated/device_management/device_health_scripts/item/update_global_script/update_global_script_request_builder.py +++ b/msgraph_beta/generated/device_management/device_health_scripts/item/update_global_script/update_global_script_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[UpdateGlobalScriptPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_management_partners/device_management_partners_request_builder.py b/msgraph_beta/generated/device_management/device_management_partners/device_management_partners_request_builder.py index 2e8a14a5ae7..5c02f30312c 100644 --- a/msgraph_beta/generated/device_management/device_management_partners/device_management_partners_request_builder.py +++ b/msgraph_beta/generated/device_management/device_management_partners/device_management_partners_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementPartner] = None, request_configuration: Optional[DeviceManagementPartnersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementPartner] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_management_partners/item/device_management_partner_item_request_builder.py b/msgraph_beta/generated/device_management/device_management_partners/item/device_management_partner_item_request_builder.py index 759b44b57dd..3a682752d27 100644 --- a/msgraph_beta/generated/device_management/device_management_partners/item/device_management_partner_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_management_partners/item/device_management_partner_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementPartnerItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementPartner] = None, request_configuration: Optional[DeviceManagementPartnerItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementPartner] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_management_partners/item/terminate/terminate_request_builder.py b/msgraph_beta/generated/device_management/device_management_partners/item/terminate/terminate_request_builder.py index 072b473b0d7..67dd9f8c31d 100644 --- a/msgraph_beta/generated/device_management/device_management_partners/item/terminate/terminate_request_builder.py +++ b/msgraph_beta/generated/device_management/device_management_partners/item/terminate/terminate_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[TerminateRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TerminateRequestBuilder: diff --git a/msgraph_beta/generated/device_management/device_management_request_builder.py b/msgraph_beta/generated/device_management/device_management_request_builder.py index 629f7a92ad5..88bd2d4397d 100644 --- a/msgraph_beta/generated/device_management/device_management_request_builder.py +++ b/msgraph_beta/generated/device_management/device_management_request_builder.py @@ -63,6 +63,7 @@ from .device_management_scripts.device_management_scripts_request_builder import DeviceManagementScriptsRequestBuilder from .device_shell_scripts.device_shell_scripts_request_builder import DeviceShellScriptsRequestBuilder from .domain_join_connectors.domain_join_connectors_request_builder import DomainJoinConnectorsRequestBuilder + from .elevation_requests.elevation_requests_request_builder import ElevationRequestsRequestBuilder from .embedded_s_i_m_activation_code_pools.embedded_s_i_m_activation_code_pools_request_builder import EmbeddedSIMActivationCodePoolsRequestBuilder from .enable_android_device_administrator_enrollment.enable_android_device_administrator_enrollment_request_builder import EnableAndroidDeviceAdministratorEnrollmentRequestBuilder from .enable_legacy_pc_management.enable_legacy_pc_management_request_builder import EnableLegacyPcManagementRequestBuilder @@ -324,7 +325,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagement] = None, request_configuration: Optional[DeviceManagementRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -343,7 +344,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagement] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -828,6 +829,15 @@ def domain_join_connectors(self) -> DomainJoinConnectorsRequestBuilder: return DomainJoinConnectorsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def elevation_requests(self) -> ElevationRequestsRequestBuilder: + """ + Provides operations to manage the elevationRequests property of the microsoft.graph.deviceManagement entity. + """ + from .elevation_requests.elevation_requests_request_builder import ElevationRequestsRequestBuilder + + return ElevationRequestsRequestBuilder(self.request_adapter, self.path_parameters) + @property def embedded_s_i_m_activation_code_pools(self) -> EmbeddedSIMActivationCodePoolsRequestBuilder: """ diff --git a/msgraph_beta/generated/device_management/device_management_scripts/device_management_scripts_request_builder.py b/msgraph_beta/generated/device_management/device_management_scripts/device_management_scripts_request_builder.py index 189aed3890a..4d60a8e9f48 100644 --- a/msgraph_beta/generated/device_management/device_management_scripts/device_management_scripts_request_builder.py +++ b/msgraph_beta/generated/device_management/device_management_scripts/device_management_scripts_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementScript] = None, request_configuration: Optional[DeviceManagementScriptsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementScript] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_management_scripts/has_payload_links/has_payload_links_request_builder.py b/msgraph_beta/generated/device_management/device_management_scripts/has_payload_links/has_payload_links_request_builder.py index 3710df6a24e..3fc0aa3c2ec 100644 --- a/msgraph_beta/generated/device_management/device_management_scripts/has_payload_links/has_payload_links_request_builder.py +++ b/msgraph_beta/generated/device_management/device_management_scripts/has_payload_links/has_payload_links_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[HasPayloadLinksPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_management_scripts/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_management/device_management_scripts/item/assign/assign_request_builder.py index be672d439c4..0d9e70c943c 100644 --- a/msgraph_beta/generated/device_management/device_management_scripts/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_management/device_management_scripts/item/assign/assign_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_management_scripts/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_management/device_management_scripts/item/assignments/assignments_request_builder.py index e8a91378838..c0e89ca53c5 100644 --- a/msgraph_beta/generated/device_management/device_management_scripts/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/device_management_scripts/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementScriptAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementScriptAssign request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_management_scripts/item/assignments/item/device_management_script_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/device_management_scripts/item/assignments/item/device_management_script_assignment_item_request_builder.py index 9ececef319a..1aef241037a 100644 --- a/msgraph_beta/generated/device_management/device_management_scripts/item/assignments/item/device_management_script_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_management_scripts/item/assignments/item/device_management_script_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementScriptAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementScriptAssignment] = None, request_configuration: Optional[DeviceManagementScriptAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementScriptAssig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_management_scripts/item/device_management_script_item_request_builder.py b/msgraph_beta/generated/device_management/device_management_scripts/item/device_management_script_item_request_builder.py index 34ee4286d71..500ab74d488 100644 --- a/msgraph_beta/generated/device_management/device_management_scripts/item/device_management_script_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_management_scripts/item/device_management_script_item_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementScriptItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementScript] = None, request_configuration: Optional[DeviceManagementScriptItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementScript] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_management_scripts/item/device_run_states/device_run_states_request_builder.py b/msgraph_beta/generated/device_management/device_management_scripts/item/device_run_states/device_run_states_request_builder.py index 278b3bcfeec..52c7a061847 100644 --- a/msgraph_beta/generated/device_management/device_management_scripts/item/device_run_states/device_run_states_request_builder.py +++ b/msgraph_beta/generated/device_management/device_management_scripts/item/device_run_states/device_run_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceRunSta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementScriptDeviceState] = None, request_configuration: Optional[DeviceRunStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementScriptDevice request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_management_scripts/item/device_run_states/item/device_management_script_device_state_item_request_builder.py b/msgraph_beta/generated/device_management/device_management_scripts/item/device_run_states/item/device_management_script_device_state_item_request_builder.py index 10d3c4ebf5b..77d363eb8ab 100644 --- a/msgraph_beta/generated/device_management/device_management_scripts/item/device_run_states/item/device_management_script_device_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_management_scripts/item/device_run_states/item/device_management_script_device_state_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementScriptDeviceStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementScriptDeviceState] = None, request_configuration: Optional[DeviceManagementScriptDeviceStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementScriptDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_management_scripts/item/device_run_states/item/managed_device/managed_device_request_builder.py b/msgraph_beta/generated/device_management/device_management_scripts/item/device_run_states/item/managed_device/managed_device_request_builder.py index 5714b304acc..1a49ab146ac 100644 --- a/msgraph_beta/generated/device_management/device_management_scripts/item/device_run_states/item/managed_device/managed_device_request_builder.py +++ b/msgraph_beta/generated/device_management/device_management_scripts/item/device_run_states/item/managed_device/managed_device_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagedDeviceRequestBuilder: diff --git a/msgraph_beta/generated/device_management/device_management_scripts/item/group_assignments/group_assignments_request_builder.py b/msgraph_beta/generated/device_management/device_management_scripts/item/group_assignments/group_assignments_request_builder.py index 6b6be879f39..559e627c2fd 100644 --- a/msgraph_beta/generated/device_management/device_management_scripts/item/group_assignments/group_assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/device_management_scripts/item/group_assignments/group_assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupAssignm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementScriptGroupAssignment] = None, request_configuration: Optional[GroupAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementScriptGroupA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_management_scripts/item/group_assignments/item/device_management_script_group_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/device_management_scripts/item/group_assignments/item/device_management_script_group_assignment_item_request_builder.py index 0305d3d26b5..a5ad70e66b1 100644 --- a/msgraph_beta/generated/device_management/device_management_scripts/item/group_assignments/item/device_management_script_group_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_management_scripts/item/group_assignments/item/device_management_script_group_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementScriptGroupAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementScriptGroupAssignment] = None, request_configuration: Optional[DeviceManagementScriptGroupAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementScriptGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_management_scripts/item/run_summary/run_summary_request_builder.py b/msgraph_beta/generated/device_management/device_management_scripts/item/run_summary/run_summary_request_builder.py index 91ea8ad51b6..eb5f275034f 100644 --- a/msgraph_beta/generated/device_management/device_management_scripts/item/run_summary/run_summary_request_builder.py +++ b/msgraph_beta/generated/device_management/device_management_scripts/item/run_summary/run_summary_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RunSummaryRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RunSummaryRequestBuilder: diff --git a/msgraph_beta/generated/device_management/device_management_scripts/item/user_run_states/item/device_management_script_user_state_item_request_builder.py b/msgraph_beta/generated/device_management/device_management_scripts/item/user_run_states/item/device_management_script_user_state_item_request_builder.py index ac40ad8f7e6..28451873ae9 100644 --- a/msgraph_beta/generated/device_management/device_management_scripts/item/user_run_states/item/device_management_script_user_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_management_scripts/item/user_run_states/item/device_management_script_user_state_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementScriptUserStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementScriptUserState] = None, request_configuration: Optional[DeviceManagementScriptUserStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementScriptUserS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_management_scripts/item/user_run_states/item/device_run_states/device_run_states_request_builder.py b/msgraph_beta/generated/device_management/device_management_scripts/item/user_run_states/item/device_run_states/device_run_states_request_builder.py index f180db35a68..f43d591c96b 100644 --- a/msgraph_beta/generated/device_management/device_management_scripts/item/user_run_states/item/device_run_states/device_run_states_request_builder.py +++ b/msgraph_beta/generated/device_management/device_management_scripts/item/user_run_states/item/device_run_states/device_run_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceRunSta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementScriptDeviceState] = None, request_configuration: Optional[DeviceRunStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementScriptDevice request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_management_scripts/item/user_run_states/item/device_run_states/item/device_management_script_device_state_item_request_builder.py b/msgraph_beta/generated/device_management/device_management_scripts/item/user_run_states/item/device_run_states/item/device_management_script_device_state_item_request_builder.py index fb4ecfac4b9..9f3d45eb23d 100644 --- a/msgraph_beta/generated/device_management/device_management_scripts/item/user_run_states/item/device_run_states/item/device_management_script_device_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_management_scripts/item/user_run_states/item/device_run_states/item/device_management_script_device_state_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementScriptDeviceStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementScriptDeviceState] = None, request_configuration: Optional[DeviceManagementScriptDeviceStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementScriptDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_management_scripts/item/user_run_states/item/device_run_states/item/managed_device/managed_device_request_builder.py b/msgraph_beta/generated/device_management/device_management_scripts/item/user_run_states/item/device_run_states/item/managed_device/managed_device_request_builder.py index 06e613db745..55a4a34d1ce 100644 --- a/msgraph_beta/generated/device_management/device_management_scripts/item/user_run_states/item/device_run_states/item/managed_device/managed_device_request_builder.py +++ b/msgraph_beta/generated/device_management/device_management_scripts/item/user_run_states/item/device_run_states/item/managed_device/managed_device_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagedDeviceRequestBuilder: diff --git a/msgraph_beta/generated/device_management/device_management_scripts/item/user_run_states/user_run_states_request_builder.py b/msgraph_beta/generated/device_management/device_management_scripts/item/user_run_states/user_run_states_request_builder.py index a5cb2d194a8..a6eac7d6f67 100644 --- a/msgraph_beta/generated/device_management/device_management_scripts/item/user_run_states/user_run_states_request_builder.py +++ b/msgraph_beta/generated/device_management/device_management_scripts/item/user_run_states/user_run_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserRunState request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementScriptUserState] = None, request_configuration: Optional[UserRunStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementScriptUserSt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_shell_scripts/device_shell_scripts_request_builder.py b/msgraph_beta/generated/device_management/device_shell_scripts/device_shell_scripts_request_builder.py index a8644090315..197d59070ef 100644 --- a/msgraph_beta/generated/device_management/device_shell_scripts/device_shell_scripts_request_builder.py +++ b/msgraph_beta/generated/device_management/device_shell_scripts/device_shell_scripts_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceShellS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceShellScript] = None, request_configuration: Optional[DeviceShellScriptsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceShellScript] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_shell_scripts/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_management/device_shell_scripts/item/assign/assign_request_builder.py index 4a9e47ed9d6..6636c96efd6 100644 --- a/msgraph_beta/generated/device_management/device_shell_scripts/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_management/device_shell_scripts/item/assign/assign_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_shell_scripts/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_management/device_shell_scripts/item/assignments/assignments_request_builder.py index a9c71b6fb19..15bc6d231f7 100644 --- a/msgraph_beta/generated/device_management/device_shell_scripts/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/device_shell_scripts/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementScriptAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementScriptAssign request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_shell_scripts/item/assignments/item/device_management_script_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/device_shell_scripts/item/assignments/item/device_management_script_assignment_item_request_builder.py index 34a3e9eaf9d..0b97ecc0a4b 100644 --- a/msgraph_beta/generated/device_management/device_shell_scripts/item/assignments/item/device_management_script_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_shell_scripts/item/assignments/item/device_management_script_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementScriptAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementScriptAssignment] = None, request_configuration: Optional[DeviceManagementScriptAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementScriptAssig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_shell_scripts/item/device_run_states/device_run_states_request_builder.py b/msgraph_beta/generated/device_management/device_shell_scripts/item/device_run_states/device_run_states_request_builder.py index fdebfb7c58c..56de4e166dd 100644 --- a/msgraph_beta/generated/device_management/device_shell_scripts/item/device_run_states/device_run_states_request_builder.py +++ b/msgraph_beta/generated/device_management/device_shell_scripts/item/device_run_states/device_run_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceRunSta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementScriptDeviceState] = None, request_configuration: Optional[DeviceRunStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementScriptDevice request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_shell_scripts/item/device_run_states/item/device_management_script_device_state_item_request_builder.py b/msgraph_beta/generated/device_management/device_shell_scripts/item/device_run_states/item/device_management_script_device_state_item_request_builder.py index f42239e1947..9887b70d542 100644 --- a/msgraph_beta/generated/device_management/device_shell_scripts/item/device_run_states/item/device_management_script_device_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_shell_scripts/item/device_run_states/item/device_management_script_device_state_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementScriptDeviceStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementScriptDeviceState] = None, request_configuration: Optional[DeviceManagementScriptDeviceStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementScriptDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_shell_scripts/item/device_run_states/item/managed_device/managed_device_request_builder.py b/msgraph_beta/generated/device_management/device_shell_scripts/item/device_run_states/item/managed_device/managed_device_request_builder.py index bc568c15d0b..ecf362d6529 100644 --- a/msgraph_beta/generated/device_management/device_shell_scripts/item/device_run_states/item/managed_device/managed_device_request_builder.py +++ b/msgraph_beta/generated/device_management/device_shell_scripts/item/device_run_states/item/managed_device/managed_device_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagedDeviceRequestBuilder: diff --git a/msgraph_beta/generated/device_management/device_shell_scripts/item/device_shell_script_item_request_builder.py b/msgraph_beta/generated/device_management/device_shell_scripts/item/device_shell_script_item_request_builder.py index 69bfd6bc199..483c021af10 100644 --- a/msgraph_beta/generated/device_management/device_shell_scripts/item/device_shell_script_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_shell_scripts/item/device_shell_script_item_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceShe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceShellScriptItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceShellS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceShellScript] = None, request_configuration: Optional[DeviceShellScriptItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[DeviceShellScript] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_shell_scripts/item/group_assignments/group_assignments_request_builder.py b/msgraph_beta/generated/device_management/device_shell_scripts/item/group_assignments/group_assignments_request_builder.py index 0d59946f4c7..75f8faf90e9 100644 --- a/msgraph_beta/generated/device_management/device_shell_scripts/item/group_assignments/group_assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/device_shell_scripts/item/group_assignments/group_assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupAssignm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementScriptGroupAssignment] = None, request_configuration: Optional[GroupAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementScriptGroupA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_shell_scripts/item/group_assignments/item/device_management_script_group_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/device_shell_scripts/item/group_assignments/item/device_management_script_group_assignment_item_request_builder.py index 59479a5e07e..2a40aeac73e 100644 --- a/msgraph_beta/generated/device_management/device_shell_scripts/item/group_assignments/item/device_management_script_group_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_shell_scripts/item/group_assignments/item/device_management_script_group_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementScriptGroupAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementScriptGroupAssignment] = None, request_configuration: Optional[DeviceManagementScriptGroupAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementScriptGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_shell_scripts/item/run_summary/run_summary_request_builder.py b/msgraph_beta/generated/device_management/device_shell_scripts/item/run_summary/run_summary_request_builder.py index f6e445ffcf2..97ebac1db07 100644 --- a/msgraph_beta/generated/device_management/device_shell_scripts/item/run_summary/run_summary_request_builder.py +++ b/msgraph_beta/generated/device_management/device_shell_scripts/item/run_summary/run_summary_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RunSummaryRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RunSummaryRequestBuilder: diff --git a/msgraph_beta/generated/device_management/device_shell_scripts/item/user_run_states/item/device_management_script_user_state_item_request_builder.py b/msgraph_beta/generated/device_management/device_shell_scripts/item/user_run_states/item/device_management_script_user_state_item_request_builder.py index a203d2c4738..6976ccfe808 100644 --- a/msgraph_beta/generated/device_management/device_shell_scripts/item/user_run_states/item/device_management_script_user_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_shell_scripts/item/user_run_states/item/device_management_script_user_state_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementScriptUserStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementScriptUserState] = None, request_configuration: Optional[DeviceManagementScriptUserStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementScriptUserS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_shell_scripts/item/user_run_states/item/device_run_states/device_run_states_request_builder.py b/msgraph_beta/generated/device_management/device_shell_scripts/item/user_run_states/item/device_run_states/device_run_states_request_builder.py index c53361dc16b..644022b3ee3 100644 --- a/msgraph_beta/generated/device_management/device_shell_scripts/item/user_run_states/item/device_run_states/device_run_states_request_builder.py +++ b/msgraph_beta/generated/device_management/device_shell_scripts/item/user_run_states/item/device_run_states/device_run_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceRunSta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementScriptDeviceState] = None, request_configuration: Optional[DeviceRunStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementScriptDevice request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_shell_scripts/item/user_run_states/item/device_run_states/item/device_management_script_device_state_item_request_builder.py b/msgraph_beta/generated/device_management/device_shell_scripts/item/user_run_states/item/device_run_states/item/device_management_script_device_state_item_request_builder.py index 8f7aa57c612..933e28c9b93 100644 --- a/msgraph_beta/generated/device_management/device_shell_scripts/item/user_run_states/item/device_run_states/item/device_management_script_device_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/device_shell_scripts/item/user_run_states/item/device_run_states/item/device_management_script_device_state_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementScriptDeviceStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementScriptDeviceState] = None, request_configuration: Optional[DeviceManagementScriptDeviceStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementScriptDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/device_shell_scripts/item/user_run_states/item/device_run_states/item/managed_device/managed_device_request_builder.py b/msgraph_beta/generated/device_management/device_shell_scripts/item/user_run_states/item/device_run_states/item/managed_device/managed_device_request_builder.py index e3130e20487..1cbf97d59fd 100644 --- a/msgraph_beta/generated/device_management/device_shell_scripts/item/user_run_states/item/device_run_states/item/managed_device/managed_device_request_builder.py +++ b/msgraph_beta/generated/device_management/device_shell_scripts/item/user_run_states/item/device_run_states/item/managed_device/managed_device_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagedDeviceRequestBuilder: diff --git a/msgraph_beta/generated/device_management/device_shell_scripts/item/user_run_states/user_run_states_request_builder.py b/msgraph_beta/generated/device_management/device_shell_scripts/item/user_run_states/user_run_states_request_builder.py index 546048e404e..fbf26c13dbf 100644 --- a/msgraph_beta/generated/device_management/device_shell_scripts/item/user_run_states/user_run_states_request_builder.py +++ b/msgraph_beta/generated/device_management/device_shell_scripts/item/user_run_states/user_run_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserRunState request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementScriptUserState] = None, request_configuration: Optional[UserRunStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementScriptUserSt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/domain_join_connectors/domain_join_connectors_request_builder.py b/msgraph_beta/generated/device_management/domain_join_connectors/domain_join_connectors_request_builder.py index 8ed97759556..d0217c2d9bb 100644 --- a/msgraph_beta/generated/device_management/domain_join_connectors/domain_join_connectors_request_builder.py +++ b/msgraph_beta/generated/device_management/domain_join_connectors/domain_join_connectors_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DomainJoinCo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementDomainJoinConnector] = None, request_configuration: Optional[DomainJoinConnectorsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementDomainJoinCo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/domain_join_connectors/item/device_management_domain_join_connector_item_request_builder.py b/msgraph_beta/generated/device_management/domain_join_connectors/item/device_management_domain_join_connector_item_request_builder.py index 1fa56f1434d..fc1554140f1 100644 --- a/msgraph_beta/generated/device_management/domain_join_connectors/item/device_management_domain_join_connector_item_request_builder.py +++ b/msgraph_beta/generated/device_management/domain_join_connectors/item/device_management_domain_join_connector_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementDomainJoinConnectorItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementDomainJoinConnector] = None, request_configuration: Optional[DeviceManagementDomainJoinConnectorItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementDomainJoinC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/elevation_requests/count/count_request_builder.py b/msgraph_beta/generated/device_management/elevation_requests/count/count_request_builder.py new file mode 100644 index 00000000000..c29209966e4 --- /dev/null +++ b/msgraph_beta/generated/device_management/elevation_requests/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/deviceManagement/elevationRequests/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/device_management/elevation_requests/elevation_requests_request_builder.py b/msgraph_beta/generated/device_management/elevation_requests/elevation_requests_request_builder.py new file mode 100644 index 00000000000..ccc263e9a40 --- /dev/null +++ b/msgraph_beta/generated/device_management/elevation_requests/elevation_requests_request_builder.py @@ -0,0 +1,226 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ...models.o_data_errors.o_data_error import ODataError + from ...models.privilege_management_elevation_request import PrivilegeManagementElevationRequest + from ...models.privilege_management_elevation_request_collection_response import PrivilegeManagementElevationRequestCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.privilege_management_elevation_request_item_request_builder import PrivilegeManagementElevationRequestItemRequestBuilder + +class ElevationRequestsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the elevationRequests property of the microsoft.graph.deviceManagement entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ElevationRequestsRequestBuilder 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/elevationRequests{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_privilege_management_elevation_request_id(self,privilege_management_elevation_request_id: str) -> PrivilegeManagementElevationRequestItemRequestBuilder: + """ + Provides operations to manage the elevationRequests property of the microsoft.graph.deviceManagement entity. + param privilege_management_elevation_request_id: The unique identifier of privilegeManagementElevationRequest + Returns: PrivilegeManagementElevationRequestItemRequestBuilder + """ + if not privilege_management_elevation_request_id: + raise TypeError("privilege_management_elevation_request_id cannot be null.") + from .item.privilege_management_elevation_request_item_request_builder import PrivilegeManagementElevationRequestItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["privilegeManagementElevationRequest%2Did"] = privilege_management_elevation_request_id + return PrivilegeManagementElevationRequestItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[ElevationRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[PrivilegeManagementElevationRequestCollectionResponse]: + """ + List of elevation requests + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[PrivilegeManagementElevationRequestCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...models.privilege_management_elevation_request_collection_response import PrivilegeManagementElevationRequestCollectionResponse + + return await self.request_adapter.send_async(request_info, PrivilegeManagementElevationRequestCollectionResponse, error_mapping) + + async def post(self,body: Optional[PrivilegeManagementElevationRequest] = None, request_configuration: Optional[ElevationRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[PrivilegeManagementElevationRequest]: + """ + Create new navigation property to elevationRequests for deviceManagement + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[PrivilegeManagementElevationRequest] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...models.privilege_management_elevation_request import PrivilegeManagementElevationRequest + + return await self.request_adapter.send_async(request_info, PrivilegeManagementElevationRequest, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[ElevationRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + List of elevation requests + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[PrivilegeManagementElevationRequest] = None, request_configuration: Optional[ElevationRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to elevationRequests for deviceManagement + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> ElevationRequestsRequestBuilder: + """ + 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: ElevationRequestsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ElevationRequestsRequestBuilder(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 ElevationRequestsRequestBuilderGetQueryParameters(): + """ + List of elevation requests + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ElevationRequestsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[ElevationRequestsRequestBuilder.ElevationRequestsRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ElevationRequestsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/device_management/elevation_requests/item/approve/approve_post_request_body.py b/msgraph_beta/generated/device_management/elevation_requests/item/approve/approve_post_request_body.py new file mode 100644 index 00000000000..0ed5cae1179 --- /dev/null +++ b/msgraph_beta/generated/device_management/elevation_requests/item/approve/approve_post_request_body.py @@ -0,0 +1,49 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class ApprovePostRequestBody(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 reviewerJustification property + reviewer_justification: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> ApprovePostRequestBody: + """ + 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: ApprovePostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return ApprovePostRequestBody() + + 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]] = { + "reviewerJustification": lambda n : setattr(self, 'reviewer_justification', 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("reviewerJustification", self.reviewer_justification) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/device_management/elevation_requests/item/approve/approve_request_builder.py b/msgraph_beta/generated/device_management/elevation_requests/item/approve/approve_request_builder.py new file mode 100644 index 00000000000..42a13df2401 --- /dev/null +++ b/msgraph_beta/generated/device_management/elevation_requests/item/approve/approve_request_builder.py @@ -0,0 +1,94 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.privilege_management_elevation_request import PrivilegeManagementElevationRequest + from .approve_post_request_body import ApprovePostRequestBody + +class ApproveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the approve method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ApproveRequestBuilder 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/elevationRequests/{privilegeManagementElevationRequest%2Did}/approve", path_parameters) + + async def post(self,body: Optional[ApprovePostRequestBody] = None, request_configuration: Optional[ApproveRequestBuilderPostRequestConfiguration] = None) -> Optional[PrivilegeManagementElevationRequest]: + """ + Invoke action approve + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[PrivilegeManagementElevationRequest] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.privilege_management_elevation_request import PrivilegeManagementElevationRequest + + return await self.request_adapter.send_async(request_info, PrivilegeManagementElevationRequest, error_mapping) + + def to_post_request_information(self,body: Optional[ApprovePostRequestBody] = None, request_configuration: Optional[ApproveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action approve + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> ApproveRequestBuilder: + """ + 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: ApproveRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ApproveRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ApproveRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/device_management/elevation_requests/item/deny/deny_post_request_body.py b/msgraph_beta/generated/device_management/elevation_requests/item/deny/deny_post_request_body.py new file mode 100644 index 00000000000..e8fad1236b4 --- /dev/null +++ b/msgraph_beta/generated/device_management/elevation_requests/item/deny/deny_post_request_body.py @@ -0,0 +1,49 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class DenyPostRequestBody(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 reviewerJustification property + reviewer_justification: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> DenyPostRequestBody: + """ + 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: DenyPostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return DenyPostRequestBody() + + 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]] = { + "reviewerJustification": lambda n : setattr(self, 'reviewer_justification', 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("reviewerJustification", self.reviewer_justification) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/device_management/elevation_requests/item/deny/deny_request_builder.py b/msgraph_beta/generated/device_management/elevation_requests/item/deny/deny_request_builder.py new file mode 100644 index 00000000000..b2534889bba --- /dev/null +++ b/msgraph_beta/generated/device_management/elevation_requests/item/deny/deny_request_builder.py @@ -0,0 +1,94 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.privilege_management_elevation_request import PrivilegeManagementElevationRequest + from .deny_post_request_body import DenyPostRequestBody + +class DenyRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the deny method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new DenyRequestBuilder 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/elevationRequests/{privilegeManagementElevationRequest%2Did}/deny", path_parameters) + + async def post(self,body: Optional[DenyPostRequestBody] = None, request_configuration: Optional[DenyRequestBuilderPostRequestConfiguration] = None) -> Optional[PrivilegeManagementElevationRequest]: + """ + Invoke action deny + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[PrivilegeManagementElevationRequest] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.privilege_management_elevation_request import PrivilegeManagementElevationRequest + + return await self.request_adapter.send_async(request_info, PrivilegeManagementElevationRequest, error_mapping) + + def to_post_request_information(self,body: Optional[DenyPostRequestBody] = None, request_configuration: Optional[DenyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action deny + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> DenyRequestBuilder: + """ + 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: DenyRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return DenyRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class DenyRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/device_management/elevation_requests/item/get_all_elevation_requests/get_all_elevation_requests_post_response.py b/msgraph_beta/generated/device_management/elevation_requests/item/get_all_elevation_requests/get_all_elevation_requests_post_response.py new file mode 100644 index 00000000000..10f18caee8f --- /dev/null +++ b/msgraph_beta/generated/device_management/elevation_requests/item/get_all_elevation_requests/get_all_elevation_requests_post_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.privilege_management_elevation_request import PrivilegeManagementElevationRequest + +from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class GetAllElevationRequestsPostResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[PrivilegeManagementElevationRequest]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> GetAllElevationRequestsPostResponse: + """ + 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: GetAllElevationRequestsPostResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return GetAllElevationRequestsPostResponse() + + 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.privilege_management_elevation_request import PrivilegeManagementElevationRequest + + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.privilege_management_elevation_request import PrivilegeManagementElevationRequest + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(PrivilegeManagementElevationRequest)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/device_management/elevation_requests/item/get_all_elevation_requests/get_all_elevation_requests_request_builder.py b/msgraph_beta/generated/device_management/elevation_requests/item/get_all_elevation_requests/get_all_elevation_requests_request_builder.py new file mode 100644 index 00000000000..8ad824d00d7 --- /dev/null +++ b/msgraph_beta/generated/device_management/elevation_requests/item/get_all_elevation_requests/get_all_elevation_requests_request_builder.py @@ -0,0 +1,86 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .get_all_elevation_requests_post_response import GetAllElevationRequestsPostResponse + +class GetAllElevationRequestsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getAllElevationRequests method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new GetAllElevationRequestsRequestBuilder 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/elevationRequests/{privilegeManagementElevationRequest%2Did}/getAllElevationRequests", path_parameters) + + async def post(self,request_configuration: Optional[GetAllElevationRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetAllElevationRequestsPostResponse]: + """ + Invoke action getAllElevationRequests + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[GetAllElevationRequestsPostResponse] + """ + request_info = self.to_post_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .get_all_elevation_requests_post_response import GetAllElevationRequestsPostResponse + + return await self.request_adapter.send_async(request_info, GetAllElevationRequestsPostResponse, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[GetAllElevationRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action getAllElevationRequests + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> GetAllElevationRequestsRequestBuilder: + """ + 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: GetAllElevationRequestsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GetAllElevationRequestsRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GetAllElevationRequestsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/device_management/elevation_requests/item/privilege_management_elevation_request_item_request_builder.py b/msgraph_beta/generated/device_management/elevation_requests/item/privilege_management_elevation_request_item_request_builder.py new file mode 100644 index 00000000000..d1f173fe5d4 --- /dev/null +++ b/msgraph_beta/generated/device_management/elevation_requests/item/privilege_management_elevation_request_item_request_builder.py @@ -0,0 +1,245 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.o_data_errors.o_data_error import ODataError + from ....models.privilege_management_elevation_request import PrivilegeManagementElevationRequest + from .approve.approve_request_builder import ApproveRequestBuilder + from .deny.deny_request_builder import DenyRequestBuilder + from .get_all_elevation_requests.get_all_elevation_requests_request_builder import GetAllElevationRequestsRequestBuilder + +class PrivilegeManagementElevationRequestItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the elevationRequests property of the microsoft.graph.deviceManagement entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new PrivilegeManagementElevationRequestItemRequestBuilder 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/elevationRequests/{privilegeManagementElevationRequest%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[PrivilegeManagementElevationRequestItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property elevationRequests for deviceManagement + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[PrivilegeManagementElevationRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PrivilegeManagementElevationRequest]: + """ + List of elevation requests + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[PrivilegeManagementElevationRequest] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.privilege_management_elevation_request import PrivilegeManagementElevationRequest + + return await self.request_adapter.send_async(request_info, PrivilegeManagementElevationRequest, error_mapping) + + async def patch(self,body: Optional[PrivilegeManagementElevationRequest] = None, request_configuration: Optional[PrivilegeManagementElevationRequestItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[PrivilegeManagementElevationRequest]: + """ + Update the navigation property elevationRequests in deviceManagement + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[PrivilegeManagementElevationRequest] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.privilege_management_elevation_request import PrivilegeManagementElevationRequest + + return await self.request_adapter.send_async(request_info, PrivilegeManagementElevationRequest, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[PrivilegeManagementElevationRequestItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property elevationRequests for deviceManagement + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[PrivilegeManagementElevationRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + List of elevation requests + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[PrivilegeManagementElevationRequest] = None, request_configuration: Optional[PrivilegeManagementElevationRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property elevationRequests in deviceManagement + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> PrivilegeManagementElevationRequestItemRequestBuilder: + """ + 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: PrivilegeManagementElevationRequestItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return PrivilegeManagementElevationRequestItemRequestBuilder(self.request_adapter, raw_url) + + @property + def approve(self) -> ApproveRequestBuilder: + """ + Provides operations to call the approve method. + """ + from .approve.approve_request_builder import ApproveRequestBuilder + + return ApproveRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def deny(self) -> DenyRequestBuilder: + """ + Provides operations to call the deny method. + """ + from .deny.deny_request_builder import DenyRequestBuilder + + return DenyRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def get_all_elevation_requests(self) -> GetAllElevationRequestsRequestBuilder: + """ + Provides operations to call the getAllElevationRequests method. + """ + from .get_all_elevation_requests.get_all_elevation_requests_request_builder import GetAllElevationRequestsRequestBuilder + + return GetAllElevationRequestsRequestBuilder(self.request_adapter, self.path_parameters) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class PrivilegeManagementElevationRequestItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class PrivilegeManagementElevationRequestItemRequestBuilderGetQueryParameters(): + """ + List of elevation requests + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class PrivilegeManagementElevationRequestItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[PrivilegeManagementElevationRequestItemRequestBuilder.PrivilegeManagementElevationRequestItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class PrivilegeManagementElevationRequestItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/embedded_s_i_m_activation_code_pools_request_builder.py b/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/embedded_s_i_m_activation_code_pools_request_builder.py index 2ec02242f3f..dab12d36ea9 100644 --- a/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/embedded_s_i_m_activation_code_pools_request_builder.py +++ b/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/embedded_s_i_m_activation_code_pools_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[EmbeddedSIMA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EmbeddedSIMActivationCodePool] = None, request_configuration: Optional[EmbeddedSIMActivationCodePoolsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[EmbeddedSIMActivationCodePoo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/assign/assign_request_builder.py index 15e52774049..11067a23386 100644 --- a/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/assign/assign_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/assignments/assignments_request_builder.py index 5b35cbeea2c..cec9b4d9a5c 100644 --- a/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EmbeddedSIMActivationCodePoolAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[EmbeddedSIMActivationCodePoo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/assignments/item/embedded_s_i_m_activation_code_pool_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/assignments/item/embedded_s_i_m_activation_code_pool_assignment_item_request_builder.py index 90b7800196b..b261beee93c 100644 --- a/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/assignments/item/embedded_s_i_m_activation_code_pool_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/assignments/item/embedded_s_i_m_activation_code_pool_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[EmbeddedS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EmbeddedSIMActivationCodePoolAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[EmbeddedSIMA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EmbeddedSIMActivationCodePoolAssignment] = None, request_configuration: Optional[EmbeddedSIMActivationCodePoolAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[EmbeddedSIMActivationCodePo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/device_states/device_states_request_builder.py b/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/device_states/device_states_request_builder.py index 38cbb2f0aee..db892c999b7 100644 --- a/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/device_states/device_states_request_builder.py +++ b/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/device_states/device_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceStates request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EmbeddedSIMDeviceState] = None, request_configuration: Optional[DeviceStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[EmbeddedSIMDeviceState] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/device_states/item/embedded_s_i_m_device_state_item_request_builder.py b/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/device_states/item/embedded_s_i_m_device_state_item_request_builder.py index e9499b94cd5..e9a6efb2c2c 100644 --- a/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/device_states/item/embedded_s_i_m_device_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/device_states/item/embedded_s_i_m_device_state_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[EmbeddedS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EmbeddedSIMDeviceStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[EmbeddedSIMD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EmbeddedSIMDeviceState] = None, request_configuration: Optional[EmbeddedSIMDeviceStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[EmbeddedSIMDeviceState] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/embedded_s_i_m_activation_code_pool_item_request_builder.py b/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/embedded_s_i_m_activation_code_pool_item_request_builder.py index c21d2c8b07e..c6ca281db40 100644 --- a/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/embedded_s_i_m_activation_code_pool_item_request_builder.py +++ b/msgraph_beta/generated/device_management/embedded_s_i_m_activation_code_pools/item/embedded_s_i_m_activation_code_pool_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[EmbeddedS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EmbeddedSIMActivationCodePoolItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[EmbeddedSIMA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EmbeddedSIMActivationCodePool] = None, request_configuration: Optional[EmbeddedSIMActivationCodePoolItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[EmbeddedSIMActivationCodePo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/enable_android_device_administrator_enrollment/enable_android_device_administrator_enrollment_request_builder.py b/msgraph_beta/generated/device_management/enable_android_device_administrator_enrollment/enable_android_device_administrator_enrollment_request_builder.py index 6855e3ceb82..0e5d78fdcc1 100644 --- a/msgraph_beta/generated/device_management/enable_android_device_administrator_enrollment/enable_android_device_administrator_enrollment_request_builder.py +++ b/msgraph_beta/generated/device_management/enable_android_device_administrator_enrollment/enable_android_device_administrator_enrollment_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[EnableAndro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EnableAndroidDeviceAdministratorEnrollmentRequestBuilder: diff --git a/msgraph_beta/generated/device_management/enable_legacy_pc_management/enable_legacy_pc_management_request_builder.py b/msgraph_beta/generated/device_management/enable_legacy_pc_management/enable_legacy_pc_management_request_builder.py index 318ad150c41..97fc7f79482 100644 --- a/msgraph_beta/generated/device_management/enable_legacy_pc_management/enable_legacy_pc_management_request_builder.py +++ b/msgraph_beta/generated/device_management/enable_legacy_pc_management/enable_legacy_pc_management_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[EnableLegac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EnableLegacyPcManagementRequestBuilder: diff --git a/msgraph_beta/generated/device_management/enable_unlicensed_adminstrators/enable_unlicensed_adminstrators_request_builder.py b/msgraph_beta/generated/device_management/enable_unlicensed_adminstrators/enable_unlicensed_adminstrators_request_builder.py index df7ba1298a3..cee75572152 100644 --- a/msgraph_beta/generated/device_management/enable_unlicensed_adminstrators/enable_unlicensed_adminstrators_request_builder.py +++ b/msgraph_beta/generated/device_management/enable_unlicensed_adminstrators/enable_unlicensed_adminstrators_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[EnableUnlic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EnableUnlicensedAdminstratorsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/evaluate_assignment_filter/evaluate_assignment_filter_request_builder.py b/msgraph_beta/generated/device_management/evaluate_assignment_filter/evaluate_assignment_filter_request_builder.py index e5f6e6cd287..48fdf1a3a84 100644 --- a/msgraph_beta/generated/device_management/evaluate_assignment_filter/evaluate_assignment_filter_request_builder.py +++ b/msgraph_beta/generated/device_management/evaluate_assignment_filter/evaluate_assignment_filter_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[EvaluateAssignmentFilterPost request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/exchange_connectors/exchange_connectors_request_builder.py b/msgraph_beta/generated/device_management/exchange_connectors/exchange_connectors_request_builder.py index baf58ed724a..2d8b3b50695 100644 --- a/msgraph_beta/generated/device_management/exchange_connectors/exchange_connectors_request_builder.py +++ b/msgraph_beta/generated/device_management/exchange_connectors/exchange_connectors_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ExchangeConn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementExchangeConnector] = None, request_configuration: Optional[ExchangeConnectorsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementExchangeConn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/exchange_connectors/item/device_management_exchange_connector_item_request_builder.py b/msgraph_beta/generated/device_management/exchange_connectors/item/device_management_exchange_connector_item_request_builder.py index 7f2db36ba54..d3f221e1066 100644 --- a/msgraph_beta/generated/device_management/exchange_connectors/item/device_management_exchange_connector_item_request_builder.py +++ b/msgraph_beta/generated/device_management/exchange_connectors/item/device_management_exchange_connector_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementExchangeConnectorItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementExchangeConnector] = None, request_configuration: Optional[DeviceManagementExchangeConnectorItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementExchangeCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/exchange_connectors/item/sync/sync_request_builder.py b/msgraph_beta/generated/device_management/exchange_connectors/item/sync/sync_request_builder.py index 4dc4d3a0b7f..cc596d4dbce 100644 --- a/msgraph_beta/generated/device_management/exchange_connectors/item/sync/sync_request_builder.py +++ b/msgraph_beta/generated/device_management/exchange_connectors/item/sync/sync_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SyncPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/exchange_on_premises_policies/exchange_on_premises_policies_request_builder.py b/msgraph_beta/generated/device_management/exchange_on_premises_policies/exchange_on_premises_policies_request_builder.py index f4c94ffb00c..2b14ff31125 100644 --- a/msgraph_beta/generated/device_management/exchange_on_premises_policies/exchange_on_premises_policies_request_builder.py +++ b/msgraph_beta/generated/device_management/exchange_on_premises_policies/exchange_on_premises_policies_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ExchangeOnPr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementExchangeOnPremisesPolicy] = None, request_configuration: Optional[ExchangeOnPremisesPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementExchangeOnPr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/exchange_on_premises_policies/item/conditional_access_settings/conditional_access_settings_request_builder.py b/msgraph_beta/generated/device_management/exchange_on_premises_policies/item/conditional_access_settings/conditional_access_settings_request_builder.py index 0dbdaa388a5..c5a09284946 100644 --- a/msgraph_beta/generated/device_management/exchange_on_premises_policies/item/conditional_access_settings/conditional_access_settings_request_builder.py +++ b/msgraph_beta/generated/device_management/exchange_on_premises_policies/item/conditional_access_settings/conditional_access_settings_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Condition request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConditionalAccessSettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ConditionalA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnPremisesConditionalAccessSettings] = None, request_configuration: Optional[ConditionalAccessSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[OnPremisesConditionalAccess request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/exchange_on_premises_policies/item/device_management_exchange_on_premises_policy_item_request_builder.py b/msgraph_beta/generated/device_management/exchange_on_premises_policies/item/device_management_exchange_on_premises_policy_item_request_builder.py index 36cce50a3b3..2d6a987a10e 100644 --- a/msgraph_beta/generated/device_management/exchange_on_premises_policies/item/device_management_exchange_on_premises_policy_item_request_builder.py +++ b/msgraph_beta/generated/device_management/exchange_on_premises_policies/item/device_management_exchange_on_premises_policy_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementExchangeOnPremisesPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementExchangeOnPremisesPolicy] = None, request_configuration: Optional[DeviceManagementExchangeOnPremisesPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementExchangeOnP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/exchange_on_premises_policy/conditional_access_settings/conditional_access_settings_request_builder.py b/msgraph_beta/generated/device_management/exchange_on_premises_policy/conditional_access_settings/conditional_access_settings_request_builder.py index 31756341bbd..c1b1b6a4019 100644 --- a/msgraph_beta/generated/device_management/exchange_on_premises_policy/conditional_access_settings/conditional_access_settings_request_builder.py +++ b/msgraph_beta/generated/device_management/exchange_on_premises_policy/conditional_access_settings/conditional_access_settings_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Condition request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConditionalAccessSettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ConditionalA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnPremisesConditionalAccessSettings] = None, request_configuration: Optional[ConditionalAccessSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[OnPremisesConditionalAccess request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/exchange_on_premises_policy/exchange_on_premises_policy_request_builder.py b/msgraph_beta/generated/device_management/exchange_on_premises_policy/exchange_on_premises_policy_request_builder.py index 7159d727803..a8ab8ffc162 100644 --- a/msgraph_beta/generated/device_management/exchange_on_premises_policy/exchange_on_premises_policy_request_builder.py +++ b/msgraph_beta/generated/device_management/exchange_on_premises_policy/exchange_on_premises_policy_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ExchangeO request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExchangeOnPremisesPolicyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExchangeOnPr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementExchangeOnPremisesPolicy] = None, request_configuration: Optional[ExchangeOnPremisesPolicyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementExchangeOnP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/get_assigned_role_details/get_assigned_role_details_request_builder.py b/msgraph_beta/generated/device_management/get_assigned_role_details/get_assigned_role_details_request_builder.py index d57ae129597..c0fca86fb7c 100644 --- a/msgraph_beta/generated/device_management/get_assigned_role_details/get_assigned_role_details_request_builder.py +++ b/msgraph_beta/generated/device_management/get_assigned_role_details/get_assigned_role_details_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetAssignedR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetAssignedRoleDetailsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/get_assignment_filters_status_details/get_assignment_filters_status_details_request_builder.py b/msgraph_beta/generated/device_management/get_assignment_filters_status_details/get_assignment_filters_status_details_request_builder.py index 89c7d7bcbf2..473f2b847ab 100644 --- a/msgraph_beta/generated/device_management/get_assignment_filters_status_details/get_assignment_filters_status_details_request_builder.py +++ b/msgraph_beta/generated/device_management/get_assignment_filters_status_details/get_assignment_filters_status_details_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GetAssignmentFiltersStatusDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/get_comanaged_devices_summary/get_comanaged_devices_summary_request_builder.py b/msgraph_beta/generated/device_management/get_comanaged_devices_summary/get_comanaged_devices_summary_request_builder.py index 9825af70087..74205ab9ae6 100644 --- a/msgraph_beta/generated/device_management/get_comanaged_devices_summary/get_comanaged_devices_summary_request_builder.py +++ b/msgraph_beta/generated/device_management/get_comanaged_devices_summary/get_comanaged_devices_summary_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetComanaged request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetComanagedDevicesSummaryRequestBuilder: diff --git a/msgraph_beta/generated/device_management/get_comanagement_eligible_devices_summary/get_comanagement_eligible_devices_summary_request_builder.py b/msgraph_beta/generated/device_management/get_comanagement_eligible_devices_summary/get_comanagement_eligible_devices_summary_request_builder.py index 8f3201a4abc..d24438c15d5 100644 --- a/msgraph_beta/generated/device_management/get_comanagement_eligible_devices_summary/get_comanagement_eligible_devices_summary_request_builder.py +++ b/msgraph_beta/generated/device_management/get_comanagement_eligible_devices_summary/get_comanagement_eligible_devices_summary_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetComanagem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetComanagementEligibleDevicesSummaryRequestBuilder: diff --git a/msgraph_beta/generated/device_management/get_effective_permissions/get_effective_permissions_request_builder.py b/msgraph_beta/generated/device_management/get_effective_permissions/get_effective_permissions_request_builder.py index e015c6b7424..613e434babf 100644 --- a/msgraph_beta/generated/device_management/get_effective_permissions/get_effective_permissions_request_builder.py +++ b/msgraph_beta/generated/device_management/get_effective_permissions/get_effective_permissions_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetEffective request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetEffectivePermissionsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/get_effective_permissions_with_scope/get_effective_permissions_with_scope_request_builder.py b/msgraph_beta/generated/device_management/get_effective_permissions_with_scope/get_effective_permissions_with_scope_request_builder.py index 7c520582ca8..111fcf7b214 100644 --- a/msgraph_beta/generated/device_management/get_effective_permissions_with_scope/get_effective_permissions_with_scope_request_builder.py +++ b/msgraph_beta/generated/device_management/get_effective_permissions_with_scope/get_effective_permissions_with_scope_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GetEffective request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetEffectivePermissionsWithScopeRequestBuilder: diff --git a/msgraph_beta/generated/device_management/get_role_scope_tags_by_ids_with_ids/get_role_scope_tags_by_ids_with_ids_request_builder.py b/msgraph_beta/generated/device_management/get_role_scope_tags_by_ids_with_ids/get_role_scope_tags_by_ids_with_ids_request_builder.py index 420d305b3d3..61ce5159e1a 100644 --- a/msgraph_beta/generated/device_management/get_role_scope_tags_by_ids_with_ids/get_role_scope_tags_by_ids_with_ids_request_builder.py +++ b/msgraph_beta/generated/device_management/get_role_scope_tags_by_ids_with_ids/get_role_scope_tags_by_ids_with_ids_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GetRoleScope request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetRoleScopeTagsByIdsWithIdsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/get_role_scope_tags_by_resource_with_resource/get_role_scope_tags_by_resource_with_resource_request_builder.py b/msgraph_beta/generated/device_management/get_role_scope_tags_by_resource_with_resource/get_role_scope_tags_by_resource_with_resource_request_builder.py index 1b1000acda7..96f9bfb94df 100644 --- a/msgraph_beta/generated/device_management/get_role_scope_tags_by_resource_with_resource/get_role_scope_tags_by_resource_with_resource_request_builder.py +++ b/msgraph_beta/generated/device_management/get_role_scope_tags_by_resource_with_resource/get_role_scope_tags_by_resource_with_resource_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GetRoleScope request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetRoleScopeTagsByResourceWithResourceRequestBuilder: diff --git a/msgraph_beta/generated/device_management/get_suggested_enrollment_limit_with_enrollment_type/get_suggested_enrollment_limit_with_enrollment_type_request_builder.py b/msgraph_beta/generated/device_management/get_suggested_enrollment_limit_with_enrollment_type/get_suggested_enrollment_limit_with_enrollment_type_request_builder.py index 1deab1f0ef6..11af0852a4a 100644 --- a/msgraph_beta/generated/device_management/get_suggested_enrollment_limit_with_enrollment_type/get_suggested_enrollment_limit_with_enrollment_type_request_builder.py +++ b/msgraph_beta/generated/device_management/get_suggested_enrollment_limit_with_enrollment_type/get_suggested_enrollment_limit_with_enrollment_type_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSuggested request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSuggestedEnrollmentLimitWithEnrollmentTypeRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_categories/group_policy_categories_request_builder.py b/msgraph_beta/generated/device_management/group_policy_categories/group_policy_categories_request_builder.py index 0b952ef9f5b..9db07448d1d 100644 --- a/msgraph_beta/generated/device_management/group_policy_categories/group_policy_categories_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_categories/group_policy_categories_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GroupPolicyCategory] = None, request_configuration: Optional[GroupPolicyCategoriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GroupPolicyCategory] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_categories/item/children/children_request_builder.py b/msgraph_beta/generated/device_management/group_policy_categories/item/children/children_request_builder.py index cf84a2e3607..c3ea06c720d 100644 --- a/msgraph_beta/generated/device_management/group_policy_categories/item/children/children_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_categories/item/children/children_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[ChildrenRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ChildrenRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_categories/item/children/item/group_policy_category_item_request_builder.py b/msgraph_beta/generated/device_management/group_policy_categories/item/children/item/group_policy_category_item_request_builder.py index c596b69d635..99c41b4c3e0 100644 --- a/msgraph_beta/generated/device_management/group_policy_categories/item/children/item/group_policy_category_item_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_categories/item/children/item/group_policy_category_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GroupPolicyCategoryItemRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_categories/item/definition_file/definition_file_request_builder.py b/msgraph_beta/generated/device_management/group_policy_categories/item/definition_file/definition_file_request_builder.py index 3481a92ca0f..0db6423a8ae 100644 --- a/msgraph_beta/generated/device_management/group_policy_categories/item/definition_file/definition_file_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_categories/item/definition_file/definition_file_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DefinitionFi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DefinitionFileRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_categories/item/definitions/definitions_request_builder.py b/msgraph_beta/generated/device_management/group_policy_categories/item/definitions/definitions_request_builder.py index df505fe86da..dccd83f2e31 100644 --- a/msgraph_beta/generated/device_management/group_policy_categories/item/definitions/definitions_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_categories/item/definitions/definitions_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[DefinitionsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DefinitionsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_categories/item/definitions/item/group_policy_definition_item_request_builder.py b/msgraph_beta/generated/device_management/group_policy_categories/item/definitions/item/group_policy_definition_item_request_builder.py index 5935c587048..40f2e62f34d 100644 --- a/msgraph_beta/generated/device_management/group_policy_categories/item/definitions/item/group_policy_definition_item_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_categories/item/definitions/item/group_policy_definition_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GroupPolicyDefinitionItemRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_categories/item/group_policy_category_item_request_builder.py b/msgraph_beta/generated/device_management/group_policy_categories/item/group_policy_category_item_request_builder.py index 1eb525f48ad..d256e2c1c93 100644 --- a/msgraph_beta/generated/device_management/group_policy_categories/item/group_policy_category_item_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_categories/item/group_policy_category_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[GroupPoli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GroupPolicyCategoryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GroupPolicyCategory] = None, request_configuration: Optional[GroupPolicyCategoryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[GroupPolicyCategory] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_categories/item/parent/parent_request_builder.py b/msgraph_beta/generated/device_management/group_policy_categories/item/parent/parent_request_builder.py index 15ecb0bcac1..372f251276d 100644 --- a/msgraph_beta/generated/device_management/group_policy_categories/item/parent/parent_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_categories/item/parent/parent_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_configurations/group_policy_configurations_request_builder.py b/msgraph_beta/generated/device_management/group_policy_configurations/group_policy_configurations_request_builder.py index ddba6c3e492..0a06c4e09e0 100644 --- a/msgraph_beta/generated/device_management/group_policy_configurations/group_policy_configurations_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_configurations/group_policy_configurations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GroupPolicyConfiguration] = None, request_configuration: Optional[GroupPolicyConfigurationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GroupPolicyConfiguration] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_configurations/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_management/group_policy_configurations/item/assign/assign_request_builder.py index 26a98f4f2fd..5ac5be4e204 100644 --- a/msgraph_beta/generated/device_management/group_policy_configurations/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_configurations/item/assign/assign_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_configurations/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_management/group_policy_configurations/item/assignments/assignments_request_builder.py index 932fe6adf8e..f3c19f36b71 100644 --- a/msgraph_beta/generated/device_management/group_policy_configurations/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_configurations/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GroupPolicyConfigurationAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GroupPolicyConfigurationAssi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_configurations/item/assignments/item/group_policy_configuration_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/group_policy_configurations/item/assignments/item/group_policy_configuration_assignment_item_request_builder.py index c739e090ad6..b38689e9927 100644 --- a/msgraph_beta/generated/device_management/group_policy_configurations/item/assignments/item/group_policy_configuration_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_configurations/item/assignments/item/group_policy_configuration_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[GroupPoli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GroupPolicyConfigurationAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GroupPolicyConfigurationAssignment] = None, request_configuration: Optional[GroupPolicyConfigurationAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[GroupPolicyConfigurationAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/definition_values_request_builder.py b/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/definition_values_request_builder.py index 53ad995ebef..f598f6a6ae7 100644 --- a/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/definition_values_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/definition_values_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DefinitionVa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GroupPolicyDefinitionValue] = None, request_configuration: Optional[DefinitionValuesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GroupPolicyDefinitionValue] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/item/definition/definition_request_builder.py b/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/item/definition/definition_request_builder.py index e2b399497ff..efbe4bcd493 100644 --- a/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/item/definition/definition_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/item/definition/definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DefinitionRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DefinitionRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/item/group_policy_definition_value_item_request_builder.py b/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/item/group_policy_definition_value_item_request_builder.py index 1d8d00c0f33..677fb409f0f 100644 --- a/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/item/group_policy_definition_value_item_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/item/group_policy_definition_value_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[GroupPoli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GroupPolicyDefinitionValueItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GroupPolicyDefinitionValue] = None, request_configuration: Optional[GroupPolicyDefinitionValueItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[GroupPolicyDefinitionValue] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/item/presentation_values/item/definition_value/definition_value_request_builder.py b/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/item/presentation_values/item/definition_value/definition_value_request_builder.py index b852ea29b8c..9d23f2caa23 100644 --- a/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/item/presentation_values/item/definition_value/definition_value_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/item/presentation_values/item/definition_value/definition_value_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DefinitionVa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DefinitionValueRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/item/presentation_values/item/group_policy_presentation_value_item_request_builder.py b/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/item/presentation_values/item/group_policy_presentation_value_item_request_builder.py index 95a0bfcc6fa..1bec2bbe82f 100644 --- a/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/item/presentation_values/item/group_policy_presentation_value_item_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/item/presentation_values/item/group_policy_presentation_value_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[GroupPoli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GroupPolicyPresentationValueItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GroupPolicyPresentationValue] = None, request_configuration: Optional[GroupPolicyPresentationValueItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[GroupPolicyPresentationValu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/item/presentation_values/item/presentation/presentation_request_builder.py b/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/item/presentation_values/item/presentation/presentation_request_builder.py index 2675a47db5a..5112f6118f3 100644 --- a/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/item/presentation_values/item/presentation/presentation_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/item/presentation_values/item/presentation/presentation_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[Presentation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PresentationRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/item/presentation_values/presentation_values_request_builder.py b/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/item/presentation_values/presentation_values_request_builder.py index f273b420f14..d0c9fc6c3f9 100644 --- a/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/item/presentation_values/presentation_values_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_configurations/item/definition_values/item/presentation_values/presentation_values_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Presentation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GroupPolicyPresentationValue] = None, request_configuration: Optional[PresentationValuesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GroupPolicyPresentationValue request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_configurations/item/group_policy_configuration_item_request_builder.py b/msgraph_beta/generated/device_management/group_policy_configurations/item/group_policy_configuration_item_request_builder.py index 066c91b9d8a..749ef0427a8 100644 --- a/msgraph_beta/generated/device_management/group_policy_configurations/item/group_policy_configuration_item_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_configurations/item/group_policy_configuration_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[GroupPoli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GroupPolicyConfigurationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GroupPolicyConfiguration] = None, request_configuration: Optional[GroupPolicyConfigurationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[GroupPolicyConfiguration] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_configurations/item/update_definition_values/update_definition_values_request_builder.py b/msgraph_beta/generated/device_management/group_policy_configurations/item/update_definition_values/update_definition_values_request_builder.py index bcd1d56d79d..e2f2747a82f 100644 --- a/msgraph_beta/generated/device_management/group_policy_configurations/item/update_definition_values/update_definition_values_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_configurations/item/update_definition_values/update_definition_values_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UpdateDefinitionValuesPostRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_definition_files/group_policy_definition_files_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definition_files/group_policy_definition_files_request_builder.py index fe83ff1f063..78cbdb724dc 100644 --- a/msgraph_beta/generated/device_management/group_policy_definition_files/group_policy_definition_files_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definition_files/group_policy_definition_files_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GroupPolicyDefinitionFile] = None, request_configuration: Optional[GroupPolicyDefinitionFilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GroupPolicyDefinitionFile] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_definition_files/item/definitions/definitions_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definition_files/item/definitions/definitions_request_builder.py index 1af61957366..184c491f8f2 100644 --- a/msgraph_beta/generated/device_management/group_policy_definition_files/item/definitions/definitions_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definition_files/item/definitions/definitions_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[DefinitionsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DefinitionsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_definition_files/item/definitions/item/group_policy_definition_item_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definition_files/item/definitions/item/group_policy_definition_item_request_builder.py index d6cb905d997..e07fc28cbd0 100644 --- a/msgraph_beta/generated/device_management/group_policy_definition_files/item/definitions/item/group_policy_definition_item_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definition_files/item/definitions/item/group_policy_definition_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GroupPolicyDefinitionItemRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_definition_files/item/group_policy_definition_file_item_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definition_files/item/group_policy_definition_file_item_request_builder.py index f6997f872de..a144b75b029 100644 --- a/msgraph_beta/generated/device_management/group_policy_definition_files/item/group_policy_definition_file_item_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definition_files/item/group_policy_definition_file_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[GroupPoli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GroupPolicyDefinitionFileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GroupPolicyDefinitionFile] = None, request_configuration: Optional[GroupPolicyDefinitionFileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[GroupPolicyDefinitionFile] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/group_policy_definitions_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/group_policy_definitions_request_builder.py index ca214a8b6f2..e4f6614c3bf 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/group_policy_definitions_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/group_policy_definitions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GroupPolicyDefinition] = None, request_configuration: Optional[GroupPolicyDefinitionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GroupPolicyDefinition] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/category/category_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/category/category_request_builder.py index 898b005c30a..1165a337e9c 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/category/category_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/category/category_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoryRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CategoryRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/definition_file/definition_file_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/definition_file/definition_file_request_builder.py index 09df95b1aa1..603bbef8e98 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/definition_file/definition_file_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/definition_file/definition_file_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DefinitionFi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DefinitionFileRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/group_policy_definition_item_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/group_policy_definition_item_request_builder.py index 93e09f8b1c2..eb12c0f386c 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/group_policy_definition_item_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/group_policy_definition_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[GroupPoli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GroupPolicyDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GroupPolicyDefinition] = None, request_configuration: Optional[GroupPolicyDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[GroupPolicyDefinition] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/category/category_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/category/category_request_builder.py index 7030e613686..bf470763e11 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/category/category_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/category/category_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoryRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CategoryRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/definition_file/definition_file_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/definition_file/definition_file_request_builder.py index 9bc1d4f6b23..3acf7e33ddc 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/definition_file/definition_file_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/definition_file/definition_file_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DefinitionFi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DefinitionFileRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/next_version_definition_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/next_version_definition_request_builder.py index ff2a5c5bcf7..061bc4fb259 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/next_version_definition_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/next_version_definition_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[NextVersi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[NextVersionDefinitionRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[NextVersionD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GroupPolicyDefinition] = None, request_configuration: Optional[NextVersionDefinitionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[GroupPolicyDefinition] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/presentations/item/definition/definition_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/presentations/item/definition/definition_request_builder.py index b99b1cf0d3e..a956d6c594d 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/presentations/item/definition/definition_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/presentations/item/definition/definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DefinitionRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DefinitionRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/presentations/item/group_policy_presentation_item_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/presentations/item/group_policy_presentation_item_request_builder.py index 7908a10e2c7..2d6d599ff3f 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/presentations/item/group_policy_presentation_item_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/presentations/item/group_policy_presentation_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[GroupPoli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GroupPolicyPresentationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GroupPolicyPresentation] = None, request_configuration: Optional[GroupPolicyPresentationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[GroupPolicyPresentation] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/presentations/presentations_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/presentations/presentations_request_builder.py index 0f3522ed11a..4baea47e721 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/presentations/presentations_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/presentations/presentations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Presentation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GroupPolicyPresentation] = None, request_configuration: Optional[PresentationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GroupPolicyPresentation] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/previous_version_definition/category/category_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/previous_version_definition/category/category_request_builder.py index 89a5f449c2c..e22f8faf84b 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/previous_version_definition/category/category_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/previous_version_definition/category/category_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoryRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CategoryRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/previous_version_definition/definition_file/definition_file_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/previous_version_definition/definition_file/definition_file_request_builder.py index ccf6ffad995..eb9dbf15eec 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/previous_version_definition/definition_file/definition_file_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/previous_version_definition/definition_file/definition_file_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DefinitionFi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DefinitionFileRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/previous_version_definition/presentations/item/definition/definition_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/previous_version_definition/presentations/item/definition/definition_request_builder.py index 0c4b7b0ed84..ab25597c0d0 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/previous_version_definition/presentations/item/definition/definition_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/previous_version_definition/presentations/item/definition/definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DefinitionRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DefinitionRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/previous_version_definition/presentations/item/group_policy_presentation_item_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/previous_version_definition/presentations/item/group_policy_presentation_item_request_builder.py index 4dde0e6b78f..dac695c00a1 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/previous_version_definition/presentations/item/group_policy_presentation_item_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/previous_version_definition/presentations/item/group_policy_presentation_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[GroupPoli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GroupPolicyPresentationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GroupPolicyPresentation] = None, request_configuration: Optional[GroupPolicyPresentationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[GroupPolicyPresentation] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/previous_version_definition/presentations/presentations_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/previous_version_definition/presentations/presentations_request_builder.py index 73488de1a42..93839747b1a 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/previous_version_definition/presentations/presentations_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/previous_version_definition/presentations/presentations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Presentation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GroupPolicyPresentation] = None, request_configuration: Optional[PresentationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GroupPolicyPresentation] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/previous_version_definition/previous_version_definition_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/previous_version_definition/previous_version_definition_request_builder.py index df6f8cfcf5f..57c88463993 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/previous_version_definition/previous_version_definition_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/next_version_definition/previous_version_definition/previous_version_definition_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[PreviousV request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PreviousVersionDefinitionRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[PreviousVers request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GroupPolicyDefinition] = None, request_configuration: Optional[PreviousVersionDefinitionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[GroupPolicyDefinition] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/presentations/item/definition/definition_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/presentations/item/definition/definition_request_builder.py index ffac4fa87d6..8e7a08049fa 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/presentations/item/definition/definition_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/presentations/item/definition/definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DefinitionRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DefinitionRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/presentations/item/group_policy_presentation_item_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/presentations/item/group_policy_presentation_item_request_builder.py index b5bc674e945..c11fbbbbce3 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/presentations/item/group_policy_presentation_item_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/presentations/item/group_policy_presentation_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[GroupPoli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GroupPolicyPresentationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GroupPolicyPresentation] = None, request_configuration: Optional[GroupPolicyPresentationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[GroupPolicyPresentation] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/presentations/presentations_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/presentations/presentations_request_builder.py index 909f72f3be1..072372fbac2 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/presentations/presentations_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/presentations/presentations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Presentation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GroupPolicyPresentation] = None, request_configuration: Optional[PresentationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GroupPolicyPresentation] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/category/category_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/category/category_request_builder.py index f60be58211f..a00973294f8 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/category/category_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/category/category_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoryRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CategoryRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/definition_file/definition_file_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/definition_file/definition_file_request_builder.py index 253b666b235..48f5a37049d 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/definition_file/definition_file_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/definition_file/definition_file_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DefinitionFi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DefinitionFileRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/next_version_definition/category/category_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/next_version_definition/category/category_request_builder.py index 4038aa19c54..c06dea5c2f4 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/next_version_definition/category/category_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/next_version_definition/category/category_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoryRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CategoryRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/next_version_definition/definition_file/definition_file_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/next_version_definition/definition_file/definition_file_request_builder.py index 139c16d8416..16e48001406 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/next_version_definition/definition_file/definition_file_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/next_version_definition/definition_file/definition_file_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DefinitionFi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DefinitionFileRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/next_version_definition/next_version_definition_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/next_version_definition/next_version_definition_request_builder.py index 4b6d4c1e130..da600b47955 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/next_version_definition/next_version_definition_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/next_version_definition/next_version_definition_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[NextVersi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[NextVersionDefinitionRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[NextVersionD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GroupPolicyDefinition] = None, request_configuration: Optional[NextVersionDefinitionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[GroupPolicyDefinition] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/next_version_definition/presentations/item/definition/definition_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/next_version_definition/presentations/item/definition/definition_request_builder.py index 62e4b1f7dcd..856d2c17973 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/next_version_definition/presentations/item/definition/definition_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/next_version_definition/presentations/item/definition/definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DefinitionRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DefinitionRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/next_version_definition/presentations/item/group_policy_presentation_item_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/next_version_definition/presentations/item/group_policy_presentation_item_request_builder.py index 3b9bbbed0e9..f1c4f89ea66 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/next_version_definition/presentations/item/group_policy_presentation_item_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/next_version_definition/presentations/item/group_policy_presentation_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[GroupPoli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GroupPolicyPresentationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GroupPolicyPresentation] = None, request_configuration: Optional[GroupPolicyPresentationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[GroupPolicyPresentation] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/next_version_definition/presentations/presentations_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/next_version_definition/presentations/presentations_request_builder.py index 41f3dc471cd..e82279fb10a 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/next_version_definition/presentations/presentations_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/next_version_definition/presentations/presentations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Presentation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GroupPolicyPresentation] = None, request_configuration: Optional[PresentationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GroupPolicyPresentation] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/presentations/item/definition/definition_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/presentations/item/definition/definition_request_builder.py index 8d5077d2c7f..b7ebeb660af 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/presentations/item/definition/definition_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/presentations/item/definition/definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DefinitionRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DefinitionRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/presentations/item/group_policy_presentation_item_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/presentations/item/group_policy_presentation_item_request_builder.py index 33ea355cc23..060559f7224 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/presentations/item/group_policy_presentation_item_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/presentations/item/group_policy_presentation_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[GroupPoli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GroupPolicyPresentationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GroupPolicyPresentation] = None, request_configuration: Optional[GroupPolicyPresentationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[GroupPolicyPresentation] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/presentations/presentations_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/presentations/presentations_request_builder.py index 2b35a28b609..31e54c17a80 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/presentations/presentations_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/presentations/presentations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Presentation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GroupPolicyPresentation] = None, request_configuration: Optional[PresentationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GroupPolicyPresentation] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/previous_version_definition_request_builder.py b/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/previous_version_definition_request_builder.py index f93d448ed80..cfc43bbc64d 100644 --- a/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/previous_version_definition_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_definitions/item/previous_version_definition/previous_version_definition_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[PreviousV request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PreviousVersionDefinitionRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[PreviousVers request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GroupPolicyDefinition] = None, request_configuration: Optional[PreviousVersionDefinitionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[GroupPolicyDefinition] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_migration_reports/create_migration_report/create_migration_report_request_builder.py b/msgraph_beta/generated/device_management/group_policy_migration_reports/create_migration_report/create_migration_report_request_builder.py index fb4b90b268b..2a5f913adcb 100644 --- a/msgraph_beta/generated/device_management/group_policy_migration_reports/create_migration_report/create_migration_report_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_migration_reports/create_migration_report/create_migration_report_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CreateMigrationReportPostReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_migration_reports/group_policy_migration_reports_request_builder.py b/msgraph_beta/generated/device_management/group_policy_migration_reports/group_policy_migration_reports_request_builder.py index f00a98905b2..2e07e4a768d 100644 --- a/msgraph_beta/generated/device_management/group_policy_migration_reports/group_policy_migration_reports_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_migration_reports/group_policy_migration_reports_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GroupPolicyMigrationReport] = None, request_configuration: Optional[GroupPolicyMigrationReportsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[GroupPolicyMigrationReport] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_migration_reports/item/group_policy_migration_report_item_request_builder.py b/msgraph_beta/generated/device_management/group_policy_migration_reports/item/group_policy_migration_report_item_request_builder.py index f3dbff01146..52131c741e0 100644 --- a/msgraph_beta/generated/device_management/group_policy_migration_reports/item/group_policy_migration_report_item_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_migration_reports/item/group_policy_migration_report_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[GroupPoli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GroupPolicyMigrationReportItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GroupPolicyMigrationReport] = None, request_configuration: Optional[GroupPolicyMigrationReportItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[GroupPolicyMigrationReport] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_migration_reports/item/group_policy_setting_mappings/group_policy_setting_mappings_request_builder.py b/msgraph_beta/generated/device_management/group_policy_migration_reports/item/group_policy_setting_mappings/group_policy_setting_mappings_request_builder.py index dc11a924650..6e997554cfc 100644 --- a/msgraph_beta/generated/device_management/group_policy_migration_reports/item/group_policy_setting_mappings/group_policy_setting_mappings_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_migration_reports/item/group_policy_setting_mappings/group_policy_setting_mappings_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GroupPolicySettingMapping] = None, request_configuration: Optional[GroupPolicySettingMappingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GroupPolicySettingMapping] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_migration_reports/item/group_policy_setting_mappings/item/group_policy_setting_mapping_item_request_builder.py b/msgraph_beta/generated/device_management/group_policy_migration_reports/item/group_policy_setting_mappings/item/group_policy_setting_mapping_item_request_builder.py index 17600a946ab..0764de5d92e 100644 --- a/msgraph_beta/generated/device_management/group_policy_migration_reports/item/group_policy_setting_mappings/item/group_policy_setting_mapping_item_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_migration_reports/item/group_policy_setting_mappings/item/group_policy_setting_mapping_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[GroupPoli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GroupPolicySettingMappingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GroupPolicySettingMapping] = None, request_configuration: Optional[GroupPolicySettingMappingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[GroupPolicySettingMapping] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_migration_reports/item/unsupported_group_policy_extensions/item/unsupported_group_policy_extension_item_request_builder.py b/msgraph_beta/generated/device_management/group_policy_migration_reports/item/unsupported_group_policy_extensions/item/unsupported_group_policy_extension_item_request_builder.py index 18b4c0a7654..1c8d7ea9e1f 100644 --- a/msgraph_beta/generated/device_management/group_policy_migration_reports/item/unsupported_group_policy_extensions/item/unsupported_group_policy_extension_item_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_migration_reports/item/unsupported_group_policy_extensions/item/unsupported_group_policy_extension_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Unsupport request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnsupportedGroupPolicyExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UnsupportedG request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnsupportedGroupPolicyExtension] = None, request_configuration: Optional[UnsupportedGroupPolicyExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UnsupportedGroupPolicyExten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_migration_reports/item/unsupported_group_policy_extensions/unsupported_group_policy_extensions_request_builder.py b/msgraph_beta/generated/device_management/group_policy_migration_reports/item/unsupported_group_policy_extensions/unsupported_group_policy_extensions_request_builder.py index 24699295068..1cf9a67875b 100644 --- a/msgraph_beta/generated/device_management/group_policy_migration_reports/item/unsupported_group_policy_extensions/unsupported_group_policy_extensions_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_migration_reports/item/unsupported_group_policy_extensions/unsupported_group_policy_extensions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UnsupportedG request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnsupportedGroupPolicyExtension] = None, request_configuration: Optional[UnsupportedGroupPolicyExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UnsupportedGroupPolicyExtens request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_migration_reports/item/update_scope_tags/update_scope_tags_request_builder.py b/msgraph_beta/generated/device_management/group_policy_migration_reports/item/update_scope_tags/update_scope_tags_request_builder.py index a2e97555ff0..c34e16e32bf 100644 --- a/msgraph_beta/generated/device_management/group_policy_migration_reports/item/update_scope_tags/update_scope_tags_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_migration_reports/item/update_scope_tags/update_scope_tags_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[UpdateScopeTagsPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_object_files/group_policy_object_files_request_builder.py b/msgraph_beta/generated/device_management/group_policy_object_files/group_policy_object_files_request_builder.py index ab559ee6a5c..eb662f20104 100644 --- a/msgraph_beta/generated/device_management/group_policy_object_files/group_policy_object_files_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_object_files/group_policy_object_files_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyO request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GroupPolicyObjectFile] = None, request_configuration: Optional[GroupPolicyObjectFilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GroupPolicyObjectFile] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_object_files/item/group_policy_object_file_item_request_builder.py b/msgraph_beta/generated/device_management/group_policy_object_files/item/group_policy_object_file_item_request_builder.py index 9038d526d6c..345f82d920d 100644 --- a/msgraph_beta/generated/device_management/group_policy_object_files/item/group_policy_object_file_item_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_object_files/item/group_policy_object_file_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[GroupPoli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GroupPolicyObjectFileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyO request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GroupPolicyObjectFile] = None, request_configuration: Optional[GroupPolicyObjectFileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[GroupPolicyObjectFile] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/group_policy_uploaded_definition_files_request_builder.py b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/group_policy_uploaded_definition_files_request_builder.py index 369e91c8ef8..612c31aa70d 100644 --- a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/group_policy_uploaded_definition_files_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/group_policy_uploaded_definition_files_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyU request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GroupPolicyUploadedDefinitionFile] = None, request_configuration: Optional[GroupPolicyUploadedDefinitionFilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GroupPolicyUploadedDefinitio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/add_language_files/add_language_files_request_builder.py b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/add_language_files/add_language_files_request_builder.py index b845fa1054f..57dd391e0bf 100644 --- a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/add_language_files/add_language_files_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/add_language_files/add_language_files_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[AddLanguageFilesPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/definitions/definitions_request_builder.py b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/definitions/definitions_request_builder.py index e4c38767a31..5e1cfdfd246 100644 --- a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/definitions/definitions_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/definitions/definitions_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[DefinitionsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DefinitionsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/definitions/item/group_policy_definition_item_request_builder.py b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/definitions/item/group_policy_definition_item_request_builder.py index d7288a79a4e..0532af68d58 100644 --- a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/definitions/item/group_policy_definition_item_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/definitions/item/group_policy_definition_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GroupPolicyDefinitionItemRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/group_policy_operations/group_policy_operations_request_builder.py b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/group_policy_operations/group_policy_operations_request_builder.py index d60cf0f5446..1d46b01f072 100644 --- a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/group_policy_operations/group_policy_operations_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/group_policy_operations/group_policy_operations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyO request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GroupPolicyOperation] = None, request_configuration: Optional[GroupPolicyOperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GroupPolicyOperation] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/group_policy_operations/item/group_policy_operation_item_request_builder.py b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/group_policy_operations/item/group_policy_operation_item_request_builder.py index 2ffa970716b..f88288b1ee5 100644 --- a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/group_policy_operations/item/group_policy_operation_item_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/group_policy_operations/item/group_policy_operation_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[GroupPoli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GroupPolicyOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyO request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GroupPolicyOperation] = None, request_configuration: Optional[GroupPolicyOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[GroupPolicyOperation] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/group_policy_uploaded_definition_file_item_request_builder.py b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/group_policy_uploaded_definition_file_item_request_builder.py index c582641e4d1..53bbd6d4827 100644 --- a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/group_policy_uploaded_definition_file_item_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/group_policy_uploaded_definition_file_item_request_builder.py @@ -110,7 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[GroupPoli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GroupPolicyUploadedDefinitionFileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupPolicyU request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GroupPolicyUploadedDefinitionFile] = None, request_configuration: Optional[GroupPolicyUploadedDefinitionFileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[GroupPolicyUploadedDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/remove/remove_request_builder.py b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/remove/remove_request_builder.py index cdefab7074f..8e99127e06a 100644 --- a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/remove/remove_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/remove/remove_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RemoveReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RemoveRequestBuilder: diff --git a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/remove_language_files/remove_language_files_request_builder.py b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/remove_language_files/remove_language_files_request_builder.py index f1482cd1d74..590c5264ad1 100644 --- a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/remove_language_files/remove_language_files_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/remove_language_files/remove_language_files_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[RemoveLanguageFilesPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/update_language_files/update_language_files_request_builder.py b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/update_language_files/update_language_files_request_builder.py index ba190d9a593..6d7dccb4521 100644 --- a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/update_language_files/update_language_files_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/update_language_files/update_language_files_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UpdateLanguageFilesPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/upload_new_version/upload_new_version_request_builder.py b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/upload_new_version/upload_new_version_request_builder.py index 2f4cc80f389..3b079d52084 100644 --- a/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/upload_new_version/upload_new_version_request_builder.py +++ b/msgraph_beta/generated/device_management/group_policy_uploaded_definition_files/item/upload_new_version/upload_new_version_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UploadNewVersionPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/imported_device_identities/import_device_identity_list/import_device_identity_list_request_builder.py b/msgraph_beta/generated/device_management/imported_device_identities/import_device_identity_list/import_device_identity_list_request_builder.py index a0b5d9af1ed..cd40012ced4 100644 --- a/msgraph_beta/generated/device_management/imported_device_identities/import_device_identity_list/import_device_identity_list_request_builder.py +++ b/msgraph_beta/generated/device_management/imported_device_identities/import_device_identity_list/import_device_identity_list_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImportDeviceIdentityListPost request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/imported_device_identities/imported_device_identities_request_builder.py b/msgraph_beta/generated/device_management/imported_device_identities/imported_device_identities_request_builder.py index e6af10ea689..89731dc576f 100644 --- a/msgraph_beta/generated/device_management/imported_device_identities/imported_device_identities_request_builder.py +++ b/msgraph_beta/generated/device_management/imported_device_identities/imported_device_identities_request_builder.py @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[ImportedDevi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ImportedDeviceIdentity] = None, request_configuration: Optional[ImportedDeviceIdentitiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ImportedDeviceIdentity] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/imported_device_identities/item/imported_device_identity_item_request_builder.py b/msgraph_beta/generated/device_management/imported_device_identities/item/imported_device_identity_item_request_builder.py index 55856d4da7c..6761586b4fa 100644 --- a/msgraph_beta/generated/device_management/imported_device_identities/item/imported_device_identity_item_request_builder.py +++ b/msgraph_beta/generated/device_management/imported_device_identities/item/imported_device_identity_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ImportedD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ImportedDeviceIdentityItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ImportedDevi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ImportedDeviceIdentity] = None, request_configuration: Optional[ImportedDeviceIdentityItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ImportedDeviceIdentity] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/imported_device_identities/search_existing_identities/search_existing_identities_request_builder.py b/msgraph_beta/generated/device_management/imported_device_identities/search_existing_identities/search_existing_identities_request_builder.py index bd9f16edcb2..ca44509ad1b 100644 --- a/msgraph_beta/generated/device_management/imported_device_identities/search_existing_identities/search_existing_identities_request_builder.py +++ b/msgraph_beta/generated/device_management/imported_device_identities/search_existing_identities/search_existing_identities_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SearchExistingIdentitiesPost request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/imported_windows_autopilot_device_identities/import_/import_request_builder.py b/msgraph_beta/generated/device_management/imported_windows_autopilot_device_identities/import_/import_request_builder.py index 75d5fd14542..76f72a90d82 100644 --- a/msgraph_beta/generated/device_management/imported_windows_autopilot_device_identities/import_/import_request_builder.py +++ b/msgraph_beta/generated/device_management/imported_windows_autopilot_device_identities/import_/import_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImportPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/imported_windows_autopilot_device_identities/imported_windows_autopilot_device_identities_request_builder.py b/msgraph_beta/generated/device_management/imported_windows_autopilot_device_identities/imported_windows_autopilot_device_identities_request_builder.py index 0db06ec80dc..a0eeaae0c53 100644 --- a/msgraph_beta/generated/device_management/imported_windows_autopilot_device_identities/imported_windows_autopilot_device_identities_request_builder.py +++ b/msgraph_beta/generated/device_management/imported_windows_autopilot_device_identities/imported_windows_autopilot_device_identities_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ImportedWind request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ImportedWindowsAutopilotDeviceIdentity] = None, request_configuration: Optional[ImportedWindowsAutopilotDeviceIdentitiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ImportedWindowsAutopilotDevi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/imported_windows_autopilot_device_identities/item/imported_windows_autopilot_device_identity_item_request_builder.py b/msgraph_beta/generated/device_management/imported_windows_autopilot_device_identities/item/imported_windows_autopilot_device_identity_item_request_builder.py index 6ca9d8462e9..c741110a066 100644 --- a/msgraph_beta/generated/device_management/imported_windows_autopilot_device_identities/item/imported_windows_autopilot_device_identity_item_request_builder.py +++ b/msgraph_beta/generated/device_management/imported_windows_autopilot_device_identities/item/imported_windows_autopilot_device_identity_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ImportedW request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ImportedWindowsAutopilotDeviceIdentityItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ImportedWind request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ImportedWindowsAutopilotDeviceIdentity] = None, request_configuration: Optional[ImportedWindowsAutopilotDeviceIdentityItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ImportedWindowsAutopilotDev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/intents/intents_request_builder.py b/msgraph_beta/generated/device_management/intents/intents_request_builder.py index 0fbab80fb6f..11fb10b6274 100644 --- a/msgraph_beta/generated/device_management/intents/intents_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/intents_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[IntentsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementIntent] = None, request_configuration: Optional[IntentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementIntent] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/intents/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_management/intents/item/assign/assign_request_builder.py index c341fbf4138..ba05e47b209 100644 --- a/msgraph_beta/generated/device_management/intents/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/assign/assign_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/intents/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_management/intents/item/assignments/assignments_request_builder.py index d5fe3d46ede..3f9ed822a38 100644 --- a/msgraph_beta/generated/device_management/intents/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementIntentAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementIntentAssign request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/intents/item/assignments/item/device_management_intent_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/intents/item/assignments/item/device_management_intent_assignment_item_request_builder.py index 513c29f2cf4..012506c66c7 100644 --- a/msgraph_beta/generated/device_management/intents/item/assignments/item/device_management_intent_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/assignments/item/device_management_intent_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementIntentAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementIntentAssignment] = None, request_configuration: Optional[DeviceManagementIntentAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementIntentAssig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/intents/item/categories/categories_request_builder.py b/msgraph_beta/generated/device_management/intents/item/categories/categories_request_builder.py index 1cd64c82e6f..d40782a9d01 100644 --- a/msgraph_beta/generated/device_management/intents/item/categories/categories_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/categories/categories_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementIntentSettingCategory] = None, request_configuration: Optional[CategoriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementIntentSettin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/intents/item/categories/item/device_management_intent_setting_category_item_request_builder.py b/msgraph_beta/generated/device_management/intents/item/categories/item/device_management_intent_setting_category_item_request_builder.py index 349141dd9bf..c5842657364 100644 --- a/msgraph_beta/generated/device_management/intents/item/categories/item/device_management_intent_setting_category_item_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/categories/item/device_management_intent_setting_category_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementIntentSettingCategoryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementIntentSettingCategory] = None, request_configuration: Optional[DeviceManagementIntentSettingCategoryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementIntentSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/intents/item/categories/item/setting_definitions/item/device_management_setting_definition_item_request_builder.py b/msgraph_beta/generated/device_management/intents/item/categories/item/setting_definitions/item/device_management_setting_definition_item_request_builder.py index 80afa989998..5a39e1b496a 100644 --- a/msgraph_beta/generated/device_management/intents/item/categories/item/setting_definitions/item/device_management_setting_definition_item_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/categories/item/setting_definitions/item/device_management_setting_definition_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementSettingDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementSettingDefinition] = None, request_configuration: Optional[DeviceManagementSettingDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementSettingDefi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/intents/item/categories/item/setting_definitions/setting_definitions_request_builder.py b/msgraph_beta/generated/device_management/intents/item/categories/item/setting_definitions/setting_definitions_request_builder.py index d0005b4f3f7..f170325c4c9 100644 --- a/msgraph_beta/generated/device_management/intents/item/categories/item/setting_definitions/setting_definitions_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/categories/item/setting_definitions/setting_definitions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementSettingDefinition] = None, request_configuration: Optional[SettingDefinitionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementSettingDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/intents/item/categories/item/settings/item/device_management_setting_instance_item_request_builder.py b/msgraph_beta/generated/device_management/intents/item/categories/item/settings/item/device_management_setting_instance_item_request_builder.py index d4ed65908f0..42a8060fce9 100644 --- a/msgraph_beta/generated/device_management/intents/item/categories/item/settings/item/device_management_setting_instance_item_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/categories/item/settings/item/device_management_setting_instance_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementSettingInstanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementSettingInstance] = None, request_configuration: Optional[DeviceManagementSettingInstanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementSettingInst request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/intents/item/categories/item/settings/settings_request_builder.py b/msgraph_beta/generated/device_management/intents/item/categories/item/settings/settings_request_builder.py index 443430b7a32..8f71bca1440 100644 --- a/msgraph_beta/generated/device_management/intents/item/categories/item/settings/settings_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/categories/item/settings/settings_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementSettingInstance] = None, request_configuration: Optional[SettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementSettingInsta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/intents/item/compare_with_template_id/compare_with_template_id_request_builder.py b/msgraph_beta/generated/device_management/intents/item/compare_with_template_id/compare_with_template_id_request_builder.py index fddc303090c..42b51baf541 100644 --- a/msgraph_beta/generated/device_management/intents/item/compare_with_template_id/compare_with_template_id_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/compare_with_template_id/compare_with_template_id_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[CompareWithT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CompareWithTemplateIdRequestBuilder: diff --git a/msgraph_beta/generated/device_management/intents/item/create_copy/create_copy_request_builder.py b/msgraph_beta/generated/device_management/intents/item/create_copy/create_copy_request_builder.py index a15693d8ed6..8701729c100 100644 --- a/msgraph_beta/generated/device_management/intents/item/create_copy/create_copy_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/create_copy/create_copy_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CreateCopyPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/intents/item/device_management_intent_item_request_builder.py b/msgraph_beta/generated/device_management/intents/item/device_management_intent_item_request_builder.py index df67644849d..887a6751116 100644 --- a/msgraph_beta/generated/device_management/intents/item/device_management_intent_item_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/device_management_intent_item_request_builder.py @@ -129,7 +129,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementIntentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -146,7 +146,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementIntent] = None, request_configuration: Optional[DeviceManagementIntentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -165,7 +165,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementIntent] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/intents/item/device_setting_state_summaries/device_setting_state_summaries_request_builder.py b/msgraph_beta/generated/device_management/intents/item/device_setting_state_summaries/device_setting_state_summaries_request_builder.py index a89f39e218f..4fd09e4b917 100644 --- a/msgraph_beta/generated/device_management/intents/item/device_setting_state_summaries/device_setting_state_summaries_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/device_setting_state_summaries/device_setting_state_summaries_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceSettin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementIntentDeviceSettingStateSummary] = None, request_configuration: Optional[DeviceSettingStateSummariesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementIntentDevice request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/intents/item/device_setting_state_summaries/item/device_management_intent_device_setting_state_summary_item_request_builder.py b/msgraph_beta/generated/device_management/intents/item/device_setting_state_summaries/item/device_management_intent_device_setting_state_summary_item_request_builder.py index 781ec37da88..944c3c4571c 100644 --- a/msgraph_beta/generated/device_management/intents/item/device_setting_state_summaries/item/device_management_intent_device_setting_state_summary_item_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/device_setting_state_summaries/item/device_management_intent_device_setting_state_summary_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementIntentDeviceSettingStateSummaryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementIntentDeviceSettingStateSummary] = None, request_configuration: Optional[DeviceManagementIntentDeviceSettingStateSummaryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementIntentDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/intents/item/device_state_summary/device_state_summary_request_builder.py b/msgraph_beta/generated/device_management/intents/item/device_state_summary/device_state_summary_request_builder.py index 9ea488bcd58..ca3ec518920 100644 --- a/msgraph_beta/generated/device_management/intents/item/device_state_summary/device_state_summary_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/device_state_summary/device_state_summary_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceSta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceStateSummaryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceStateS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementIntentDeviceStateSummary] = None, request_configuration: Optional[DeviceStateSummaryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementIntentDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/intents/item/device_states/device_states_request_builder.py b/msgraph_beta/generated/device_management/intents/item/device_states/device_states_request_builder.py index 34a3043e55e..3c99afe2228 100644 --- a/msgraph_beta/generated/device_management/intents/item/device_states/device_states_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/device_states/device_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceStates request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementIntentDeviceState] = None, request_configuration: Optional[DeviceStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementIntentDevice request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/intents/item/device_states/item/device_management_intent_device_state_item_request_builder.py b/msgraph_beta/generated/device_management/intents/item/device_states/item/device_management_intent_device_state_item_request_builder.py index 104533fd2c0..2ee2e11f471 100644 --- a/msgraph_beta/generated/device_management/intents/item/device_states/item/device_management_intent_device_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/device_states/item/device_management_intent_device_state_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementIntentDeviceStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementIntentDeviceState] = None, request_configuration: Optional[DeviceManagementIntentDeviceStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementIntentDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/intents/item/get_customized_settings/get_customized_settings_request_builder.py b/msgraph_beta/generated/device_management/intents/item/get_customized_settings/get_customized_settings_request_builder.py index 4eeaecfc057..36167573d32 100644 --- a/msgraph_beta/generated/device_management/intents/item/get_customized_settings/get_customized_settings_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/get_customized_settings/get_customized_settings_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetCustomize request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetCustomizedSettingsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/intents/item/migrate_to_template/migrate_to_template_request_builder.py b/msgraph_beta/generated/device_management/intents/item/migrate_to_template/migrate_to_template_request_builder.py index 06578f0b1c7..7de0d293bf1 100644 --- a/msgraph_beta/generated/device_management/intents/item/migrate_to_template/migrate_to_template_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/migrate_to_template/migrate_to_template_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[MigrateToTemplatePostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/intents/item/settings/item/device_management_setting_instance_item_request_builder.py b/msgraph_beta/generated/device_management/intents/item/settings/item/device_management_setting_instance_item_request_builder.py index 73f949c3f9d..bed69e31685 100644 --- a/msgraph_beta/generated/device_management/intents/item/settings/item/device_management_setting_instance_item_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/settings/item/device_management_setting_instance_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementSettingInstanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementSettingInstance] = None, request_configuration: Optional[DeviceManagementSettingInstanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementSettingInst request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/intents/item/settings/settings_request_builder.py b/msgraph_beta/generated/device_management/intents/item/settings/settings_request_builder.py index 85b4b12b1f5..602bdbc9bda 100644 --- a/msgraph_beta/generated/device_management/intents/item/settings/settings_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/settings/settings_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementSettingInstance] = None, request_configuration: Optional[SettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementSettingInsta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/intents/item/update_settings/update_settings_request_builder.py b/msgraph_beta/generated/device_management/intents/item/update_settings/update_settings_request_builder.py index 42834509ac0..5a8980f9e4d 100644 --- a/msgraph_beta/generated/device_management/intents/item/update_settings/update_settings_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/update_settings/update_settings_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UpdateSettingsPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/intents/item/user_state_summary/user_state_summary_request_builder.py b/msgraph_beta/generated/device_management/intents/item/user_state_summary/user_state_summary_request_builder.py index 8d9c0b15ef8..3b41f6f5f70 100644 --- a/msgraph_beta/generated/device_management/intents/item/user_state_summary/user_state_summary_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/user_state_summary/user_state_summary_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserState request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserStateSummaryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserStateSum request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementIntentUserStateSummary] = None, request_configuration: Optional[UserStateSummaryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementIntentUserS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/intents/item/user_states/item/device_management_intent_user_state_item_request_builder.py b/msgraph_beta/generated/device_management/intents/item/user_states/item/device_management_intent_user_state_item_request_builder.py index f53e867af5c..c901b643282 100644 --- a/msgraph_beta/generated/device_management/intents/item/user_states/item/device_management_intent_user_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/user_states/item/device_management_intent_user_state_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementIntentUserStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementIntentUserState] = None, request_configuration: Optional[DeviceManagementIntentUserStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementIntentUserS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/intents/item/user_states/user_states_request_builder.py b/msgraph_beta/generated/device_management/intents/item/user_states/user_states_request_builder.py index f4ff2aefaf8..f165d079171 100644 --- a/msgraph_beta/generated/device_management/intents/item/user_states/user_states_request_builder.py +++ b/msgraph_beta/generated/device_management/intents/item/user_states/user_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserStatesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementIntentUserState] = None, request_configuration: Optional[UserStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementIntentUserSt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/intune_branding_profiles/intune_branding_profiles_request_builder.py b/msgraph_beta/generated/device_management/intune_branding_profiles/intune_branding_profiles_request_builder.py index 60205b99886..073e32fbf56 100644 --- a/msgraph_beta/generated/device_management/intune_branding_profiles/intune_branding_profiles_request_builder.py +++ b/msgraph_beta/generated/device_management/intune_branding_profiles/intune_branding_profiles_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[IntuneBrandi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[IntuneBrandingProfile] = None, request_configuration: Optional[IntuneBrandingProfilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[IntuneBrandingProfile] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/intune_branding_profiles/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_management/intune_branding_profiles/item/assign/assign_request_builder.py index 1249089187a..c22f274e418 100644 --- a/msgraph_beta/generated/device_management/intune_branding_profiles/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_management/intune_branding_profiles/item/assign/assign_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/intune_branding_profiles/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_management/intune_branding_profiles/item/assignments/assignments_request_builder.py index 00ec6d3ea9f..01b2aec263b 100644 --- a/msgraph_beta/generated/device_management/intune_branding_profiles/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/intune_branding_profiles/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[IntuneBrandingProfileAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[IntuneBrandingProfileAssignm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/intune_branding_profiles/item/assignments/item/intune_branding_profile_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/intune_branding_profiles/item/assignments/item/intune_branding_profile_assignment_item_request_builder.py index 14bfb58bb76..b028224eef5 100644 --- a/msgraph_beta/generated/device_management/intune_branding_profiles/item/assignments/item/intune_branding_profile_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/intune_branding_profiles/item/assignments/item/intune_branding_profile_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[IntuneBra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[IntuneBrandingProfileAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[IntuneBrandi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[IntuneBrandingProfileAssignment] = None, request_configuration: Optional[IntuneBrandingProfileAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[IntuneBrandingProfileAssign request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/intune_branding_profiles/item/intune_branding_profile_item_request_builder.py b/msgraph_beta/generated/device_management/intune_branding_profiles/item/intune_branding_profile_item_request_builder.py index 60b1990ec77..e4526462c7b 100644 --- a/msgraph_beta/generated/device_management/intune_branding_profiles/item/intune_branding_profile_item_request_builder.py +++ b/msgraph_beta/generated/device_management/intune_branding_profiles/item/intune_branding_profile_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[IntuneBra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[IntuneBrandingProfileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[IntuneBrandi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[IntuneBrandingProfile] = None, request_configuration: Optional[IntuneBrandingProfileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[IntuneBrandingProfile] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/ios_update_statuses/ios_update_statuses_request_builder.py b/msgraph_beta/generated/device_management/ios_update_statuses/ios_update_statuses_request_builder.py index c1244339376..3160bd36ee8 100644 --- a/msgraph_beta/generated/device_management/ios_update_statuses/ios_update_statuses_request_builder.py +++ b/msgraph_beta/generated/device_management/ios_update_statuses/ios_update_statuses_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[IosUpdateSta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[IosUpdateDeviceStatus] = None, request_configuration: Optional[IosUpdateStatusesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[IosUpdateDeviceStatus] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/ios_update_statuses/item/ios_update_device_status_item_request_builder.py b/msgraph_beta/generated/device_management/ios_update_statuses/item/ios_update_device_status_item_request_builder.py index 1e909f2bfd7..a18bc836294 100644 --- a/msgraph_beta/generated/device_management/ios_update_statuses/item/ios_update_device_status_item_request_builder.py +++ b/msgraph_beta/generated/device_management/ios_update_statuses/item/ios_update_device_status_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[IosUpdate request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[IosUpdateDeviceStatusItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[IosUpdateDev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[IosUpdateDeviceStatus] = None, request_configuration: Optional[IosUpdateDeviceStatusItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[IosUpdateDeviceStatus] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/item/category_summaries/category_summaries_request_builder.py b/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/item/category_summaries/category_summaries_request_builder.py index f8b85e713fd..d1c6c969701 100644 --- a/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/item/category_summaries/category_summaries_request_builder.py +++ b/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/item/category_summaries/category_summaries_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[CategorySumm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MacOSSoftwareUpdateCategorySummary] = None, request_configuration: Optional[CategorySummariesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MacOSSoftwareUpdateCategoryS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/item/category_summaries/item/mac_o_s_software_update_category_summary_item_request_builder.py b/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/item/category_summaries/item/mac_o_s_software_update_category_summary_item_request_builder.py index b626ddb58ae..db138744d15 100644 --- a/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/item/category_summaries/item/mac_o_s_software_update_category_summary_item_request_builder.py +++ b/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/item/category_summaries/item/mac_o_s_software_update_category_summary_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[MacOSSoft request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MacOSSoftwareUpdateCategorySummaryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[MacOSSoftwar request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MacOSSoftwareUpdateCategorySummary] = None, request_configuration: Optional[MacOSSoftwareUpdateCategorySummaryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[MacOSSoftwareUpdateCategory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/item/category_summaries/item/update_state_summaries/item/mac_o_s_software_update_state_summary_item_request_builder.py b/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/item/category_summaries/item/update_state_summaries/item/mac_o_s_software_update_state_summary_item_request_builder.py index 5d692310653..140185a5c23 100644 --- a/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/item/category_summaries/item/update_state_summaries/item/mac_o_s_software_update_state_summary_item_request_builder.py +++ b/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/item/category_summaries/item/update_state_summaries/item/mac_o_s_software_update_state_summary_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MacOSSoft request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MacOSSoftwareUpdateStateSummaryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MacOSSoftwar request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MacOSSoftwareUpdateStateSummary] = None, request_configuration: Optional[MacOSSoftwareUpdateStateSummaryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MacOSSoftwareUpdateStateSum request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/item/category_summaries/item/update_state_summaries/update_state_summaries_request_builder.py b/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/item/category_summaries/item/update_state_summaries/update_state_summaries_request_builder.py index 4ee5288815a..42ff4e8fb69 100644 --- a/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/item/category_summaries/item/update_state_summaries/update_state_summaries_request_builder.py +++ b/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/item/category_summaries/item/update_state_summaries/update_state_summaries_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UpdateStateS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MacOSSoftwareUpdateStateSummary] = None, request_configuration: Optional[UpdateStateSummariesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MacOSSoftwareUpdateStateSumm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/item/mac_o_s_software_update_account_summary_item_request_builder.py b/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/item/mac_o_s_software_update_account_summary_item_request_builder.py index 1439e48cadd..f1ee5fbe19d 100644 --- a/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/item/mac_o_s_software_update_account_summary_item_request_builder.py +++ b/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/item/mac_o_s_software_update_account_summary_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[MacOSSoft request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MacOSSoftwareUpdateAccountSummaryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[MacOSSoftwar request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MacOSSoftwareUpdateAccountSummary] = None, request_configuration: Optional[MacOSSoftwareUpdateAccountSummaryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[MacOSSoftwareUpdateAccountS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/mac_o_s_software_update_account_summaries_request_builder.py b/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/mac_o_s_software_update_account_summaries_request_builder.py index ca2c19f048d..df20606b923 100644 --- a/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/mac_o_s_software_update_account_summaries_request_builder.py +++ b/msgraph_beta/generated/device_management/mac_o_s_software_update_account_summaries/mac_o_s_software_update_account_summaries_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[MacOSSoftwar request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MacOSSoftwareUpdateAccountSummary] = None, request_configuration: Optional[MacOSSoftwareUpdateAccountSummariesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MacOSSoftwareUpdateAccountSu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_device_encryption_states/item/managed_device_encryption_state_item_request_builder.py b/msgraph_beta/generated/device_management/managed_device_encryption_states/item/managed_device_encryption_state_item_request_builder.py index 88e518e78a4..87e5ef55ff7 100644 --- a/msgraph_beta/generated/device_management/managed_device_encryption_states/item/managed_device_encryption_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_device_encryption_states/item/managed_device_encryption_state_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedDeviceEncryptionStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedDeviceEncryptionState] = None, request_configuration: Optional[ManagedDeviceEncryptionStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ManagedDeviceEncryptionStat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_device_encryption_states/managed_device_encryption_states_request_builder.py b/msgraph_beta/generated/device_management/managed_device_encryption_states/managed_device_encryption_states_request_builder.py index 0306e692318..0da3d3a6947 100644 --- a/msgraph_beta/generated/device_management/managed_device_encryption_states/managed_device_encryption_states_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_device_encryption_states/managed_device_encryption_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedDeviceEncryptionState] = None, request_configuration: Optional[ManagedDeviceEncryptionStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedDeviceEncryptionState request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_device_overview/managed_device_overview_request_builder.py b/msgraph_beta/generated/device_management/managed_device_overview/managed_device_overview_request_builder.py index f854a3ae42b..c0bf0150799 100644 --- a/msgraph_beta/generated/device_management/managed_device_overview/managed_device_overview_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_device_overview/managed_device_overview_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagedDeviceOverviewRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/app_diagnostics_with_upn/app_diagnostics_with_upn_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/app_diagnostics_with_upn/app_diagnostics_with_upn_request_builder.py index 56538bba9d6..dd29032361e 100644 --- a/msgraph_beta/generated/device_management/managed_devices/app_diagnostics_with_upn/app_diagnostics_with_upn_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/app_diagnostics_with_upn/app_diagnostics_with_upn_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[AppDiagnosti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppDiagnosticsWithUpnRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/bulk_reprovision_cloud_pc/bulk_reprovision_cloud_pc_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/bulk_reprovision_cloud_pc/bulk_reprovision_cloud_pc_request_builder.py index 171fe46e2b4..80caa7593ee 100644 --- a/msgraph_beta/generated/device_management/managed_devices/bulk_reprovision_cloud_pc/bulk_reprovision_cloud_pc_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/bulk_reprovision_cloud_pc/bulk_reprovision_cloud_pc_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[BulkReprovisionCloudPcPostRequestBody] = None, request_configuration: Optional[BulkReprovisionCloudPcRequestBuilderPostRequestConfiguration] = None) -> Optional[CloudPcBulkRemoteActionResult]: """ - Bulk reprovision a set of Cloud PC devices with Intune managed device IDs. This API is available in the following national cloud deployments. + Bulk reprovision a set of Cloud PC devices with Intune managed device IDs. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcBulkRemoteActionResult] @@ -54,7 +54,7 @@ async def post(self,body: Optional[BulkReprovisionCloudPcPostRequestBody] = None def to_post_request_information(self,body: Optional[BulkReprovisionCloudPcPostRequestBody] = None, request_configuration: Optional[BulkReprovisionCloudPcRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Bulk reprovision a set of Cloud PC devices with Intune managed device IDs. This API is available in the following national cloud deployments. + Bulk reprovision a set of Cloud PC devices with Intune managed device IDs. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[BulkReprovisionCloudPcPostRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_request_builder.py index c7e4f346be3..07cd57fc852 100644 --- a/msgraph_beta/generated/device_management/managed_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[BulkRestoreCloudPcPostRequestBody] = None, request_configuration: Optional[BulkRestoreCloudPcRequestBuilderPostRequestConfiguration] = None) -> Optional[CloudPcBulkRemoteActionResult]: """ - Restore multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices and a restore point date and time. This API is available in the following national cloud deployments. + Restore multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices and a restore point date and time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcBulkRemoteActionResult] @@ -54,7 +54,7 @@ async def post(self,body: Optional[BulkRestoreCloudPcPostRequestBody] = None, re def to_post_request_information(self,body: Optional[BulkRestoreCloudPcPostRequestBody] = None, request_configuration: Optional[BulkRestoreCloudPcRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices and a restore point date and time. This API is available in the following national cloud deployments. + Restore multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices and a restore point date and time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[BulkRestoreCloudPcPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_request_builder.py index 45d2543f18f..7b03311124c 100644 --- a/msgraph_beta/generated/device_management/managed_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[BulkSetCloudPcReviewStatusPostRequestBody] = None, request_configuration: Optional[BulkSetCloudPcReviewStatusRequestBuilderPostRequestConfiguration] = None) -> Optional[CloudPcBulkRemoteActionResult]: """ - Set the review status of multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices. This API is available in the following national cloud deployments. + Set the review status of multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcBulkRemoteActionResult] @@ -54,7 +54,7 @@ async def post(self,body: Optional[BulkSetCloudPcReviewStatusPostRequestBody] = def to_post_request_information(self,body: Optional[BulkSetCloudPcReviewStatusPostRequestBody] = None, request_configuration: Optional[BulkSetCloudPcReviewStatusRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Set the review status of multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices. This API is available in the following national cloud deployments. + Set the review status of multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[BulkSetCloudPcReviewStatusPo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/download_app_diagnostics/download_app_diagnostics_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/download_app_diagnostics/download_app_diagnostics_request_builder.py index f6a95809dd0..5d873804526 100644 --- a/msgraph_beta/generated/device_management/managed_devices/download_app_diagnostics/download_app_diagnostics_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/download_app_diagnostics/download_app_diagnostics_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[DownloadAppDiagnosticsPostRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/execute_action/execute_action_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/execute_action/execute_action_request_builder.py index da58038f1d4..7a6158e3c2a 100644 --- a/msgraph_beta/generated/device_management/managed_devices/execute_action/execute_action_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/execute_action/execute_action_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ExecuteActionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/activate_device_esim/activate_device_esim_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/activate_device_esim/activate_device_esim_request_builder.py index 822321df1fc..a79a038f173 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/activate_device_esim/activate_device_esim_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/activate_device_esim/activate_device_esim_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ActivateDeviceEsimPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/assignment_filter_evaluation_status_details/assignment_filter_evaluation_status_details_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/assignment_filter_evaluation_status_details/assignment_filter_evaluation_status_details_request_builder.py index b496bc8b161..509814134f7 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/assignment_filter_evaluation_status_details/assignment_filter_evaluation_status_details_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/assignment_filter_evaluation_status_details/assignment_filter_evaluation_status_details_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentFi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AssignmentFilterEvaluationStatusDetails] = None, request_configuration: Optional[AssignmentFilterEvaluationStatusDetailsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AssignmentFilterEvaluationSt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/assignment_filter_evaluation_status_details/item/assignment_filter_evaluation_status_details_item_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/assignment_filter_evaluation_status_details/item/assignment_filter_evaluation_status_details_item_request_builder.py index e1cd83207c7..b3cc748b240 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/assignment_filter_evaluation_status_details/item/assignment_filter_evaluation_status_details_item_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/assignment_filter_evaluation_status_details/item/assignment_filter_evaluation_status_details_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Assignmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AssignmentFilterEvaluationStatusDetailsItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentFi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AssignmentFilterEvaluationStatusDetails] = None, request_configuration: Optional[AssignmentFilterEvaluationStatusDetailsItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AssignmentFilterEvaluationS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/bypass_activation_lock/bypass_activation_lock_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/bypass_activation_lock/bypass_activation_lock_request_builder.py index 52f8230b7c9..e9c2b8174f6 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/bypass_activation_lock/bypass_activation_lock_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/bypass_activation_lock/bypass_activation_lock_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[BypassActiv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> BypassActivationLockRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/item/clean_windows_device/clean_windows_device_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/clean_windows_device/clean_windows_device_request_builder.py index 0984c827d19..feb4849ee61 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/clean_windows_device/clean_windows_device_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/clean_windows_device/clean_windows_device_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[CleanWindowsDevicePostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/create_device_log_collection_request/create_device_log_collection_request_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/create_device_log_collection_request/create_device_log_collection_request_request_builder.py index 5ea97afac3a..4230e310259 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/create_device_log_collection_request/create_device_log_collection_request_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/create_device_log_collection_request/create_device_log_collection_request_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CreateDeviceLogCollectionReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/delete_user_from_shared_apple_device/delete_user_from_shared_apple_device_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/delete_user_from_shared_apple_device/delete_user_from_shared_apple_device_request_builder.py index 2ab74711bff..507952dd262 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/delete_user_from_shared_apple_device/delete_user_from_shared_apple_device_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/delete_user_from_shared_apple_device/delete_user_from_shared_apple_device_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[DeleteUserFromSharedAppleDev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/deprovision/deprovision_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/deprovision/deprovision_request_builder.py index 95e2ecde2ec..fadced8b568 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/deprovision/deprovision_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/deprovision/deprovision_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[DeprovisionPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/detected_apps/detected_apps_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/detected_apps/detected_apps_request_builder.py index 375f5f6e4a0..68601cce54c 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/detected_apps/detected_apps_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/detected_apps/detected_apps_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[DetectedApps request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DetectedAppsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/item/detected_apps/item/detected_app_item_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/detected_apps/item/detected_app_item_request_builder.py index 1ed6ee7226f..57e65e24220 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/detected_apps/item/detected_app_item_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/detected_apps/item/detected_app_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DetectedAppI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DetectedAppItemRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/item/device_category/device_category_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/device_category/device_category_request_builder.py index 8917e9dff96..dcc331d2a01 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/device_category/device_category_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/device_category/device_category_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceCategoryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCatego request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceCategory] = None, request_configuration: Optional[DeviceCategoryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceCategory] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/device_compliance_policy_states/device_compliance_policy_states_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/device_compliance_policy_states/device_compliance_policy_states_request_builder.py index 6315497c46f..18e2cb0633d 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/device_compliance_policy_states/device_compliance_policy_states_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/device_compliance_policy_states/device_compliance_policy_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCompli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceCompliancePolicyState] = None, request_configuration: Optional[DeviceCompliancePolicyStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceCompliancePolicyState] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/device_compliance_policy_states/item/device_compliance_policy_state_item_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/device_compliance_policy_states/item/device_compliance_policy_state_item_request_builder.py index aee4bcf91d4..ecff1fb8bb8 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/device_compliance_policy_states/item/device_compliance_policy_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/device_compliance_policy_states/item/device_compliance_policy_state_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCom request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceCompliancePolicyStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCompli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceCompliancePolicyState] = None, request_configuration: Optional[DeviceCompliancePolicyStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceCompliancePolicyState request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/device_configuration_states/device_configuration_states_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/device_configuration_states/device_configuration_states_request_builder.py index 795ebc2995b..198803c037f 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/device_configuration_states/device_configuration_states_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/device_configuration_states/device_configuration_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceConfigurationState] = None, request_configuration: Optional[DeviceConfigurationStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceConfigurationState] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/device_configuration_states/item/device_configuration_state_item_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/device_configuration_states/item/device_configuration_state_item_request_builder.py index e36154727c0..8252986bc0d 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/device_configuration_states/item/device_configuration_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/device_configuration_states/item/device_configuration_state_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceConfigurationStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceConfigurationState] = None, request_configuration: Optional[DeviceConfigurationStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceConfigurationState] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/device_health_script_states/device_health_script_states_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/device_health_script_states/device_health_script_states_request_builder.py index aa7ade22de8..c22eef84ae0 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/device_health_script_states/device_health_script_states_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/device_health_script_states/device_health_script_states_request_builder.py @@ -88,7 +88,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceHealth request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceHealthScriptPolicyState] = None, request_configuration: Optional[DeviceHealthScriptStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -107,7 +107,7 @@ def to_post_request_information(self,body: Optional[DeviceHealthScriptPolicyStat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/device_health_script_states/with_id_with_policy_id_with_device_id/with_id_with_policy_id_with_device_id_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/device_health_script_states/with_id_with_policy_id_with_device_id/with_id_with_policy_id_with_device_id_request_builder.py index cf7fe6a6516..e5ac46f4f76 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/device_health_script_states/with_id_with_policy_id_with_device_id/with_id_with_policy_id_with_device_id_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/device_health_script_states/with_id_with_policy_id_with_device_id/with_id_with_policy_id_with_device_id_request_builder.py @@ -110,7 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[WithIdWit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WithIdWithPolicyIdWithDeviceIdRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[WithIdWithPo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceHealthScriptPolicyState] = None, request_configuration: Optional[WithIdWithPolicyIdWithDeviceIdRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[DeviceHealthScriptPolicySta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/disable/disable_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/disable/disable_request_builder.py index c4047c8e450..244195970e9 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/disable/disable_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/disable/disable_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[DisableRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DisableRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/item/disable_lost_mode/disable_lost_mode_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/disable_lost_mode/disable_lost_mode_request_builder.py index f618a4e5d27..2b612faa77c 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/disable_lost_mode/disable_lost_mode_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/disable_lost_mode/disable_lost_mode_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[DisableLost request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DisableLostModeRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/item/enable_lost_mode/enable_lost_mode_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/enable_lost_mode/enable_lost_mode_request_builder.py index 31523003d87..0aaeea80661 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/enable_lost_mode/enable_lost_mode_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/enable_lost_mode/enable_lost_mode_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[EnableLostModePostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/enroll_now_action/enroll_now_action_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/enroll_now_action/enroll_now_action_request_builder.py index f42cf79fcd5..da3b07cd1d2 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/enroll_now_action/enroll_now_action_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/enroll_now_action/enroll_now_action_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[EnrollNowAc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EnrollNowActionRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_request_builder.py index a72c7c96566..269034b9fc8 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetCloudPcRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetCloudPcRemoteActionResultsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/item/get_cloud_pc_review_status/get_cloud_pc_review_status_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/get_cloud_pc_review_status/get_cloud_pc_review_status_request_builder.py index c011658c75b..af7334fda2f 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/get_cloud_pc_review_status/get_cloud_pc_review_status_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/get_cloud_pc_review_status/get_cloud_pc_review_status_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetCloudPcRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetCloudPcReviewStatusRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/item/get_file_vault_key/get_file_vault_key_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/get_file_vault_key/get_file_vault_key_request_builder.py index 303efc9403a..ffd5086e174 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/get_file_vault_key/get_file_vault_key_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/get_file_vault_key/get_file_vault_key_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetFileVault request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetFileVaultKeyRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/item/get_non_compliant_settings/get_non_compliant_settings_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/get_non_compliant_settings/get_non_compliant_settings_request_builder.py index 94775f0fd26..df2f4a86f1d 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/get_non_compliant_settings/get_non_compliant_settings_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/get_non_compliant_settings/get_non_compliant_settings_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetNonCompli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetNonCompliantSettingsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/item/initiate_mobile_device_management_key_recovery/initiate_mobile_device_management_key_recovery_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/initiate_mobile_device_management_key_recovery/initiate_mobile_device_management_key_recovery_request_builder.py index afd04840e28..47d22b81d0e 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/initiate_mobile_device_management_key_recovery/initiate_mobile_device_management_key_recovery_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/initiate_mobile_device_management_key_recovery/initiate_mobile_device_management_key_recovery_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[InitiateMob request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InitiateMobileDeviceManagementKeyRecoveryRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/item/initiate_on_demand_proactive_remediation/initiate_on_demand_proactive_remediation_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/initiate_on_demand_proactive_remediation/initiate_on_demand_proactive_remediation_request_builder.py index 96c3e636621..73c2303049f 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/initiate_on_demand_proactive_remediation/initiate_on_demand_proactive_remediation_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/initiate_on_demand_proactive_remediation/initiate_on_demand_proactive_remediation_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[InitiateOnDemandProactiveRem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/locate_device/locate_device_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/locate_device/locate_device_request_builder.py index 4eface345bf..07a3d6c86b7 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/locate_device/locate_device_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/locate_device/locate_device_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[LocateDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LocateDeviceRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/item/log_collection_requests/item/create_download_url/create_download_url_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/log_collection_requests/item/create_download_url/create_download_url_request_builder.py index 5c3a212eadd..5693be7c135 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/log_collection_requests/item/create_download_url/create_download_url_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/log_collection_requests/item/create_download_url/create_download_url_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[CreateDownl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreateDownloadUrlRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/item/log_collection_requests/item/device_log_collection_response_item_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/log_collection_requests/item/device_log_collection_response_item_request_builder.py index 5de753e0cf6..afb69f63fb6 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/log_collection_requests/item/device_log_collection_response_item_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/log_collection_requests/item/device_log_collection_response_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceLog request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceLogCollectionResponseItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceLogCol request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceLogCollectionResponse] = None, request_configuration: Optional[DeviceLogCollectionResponseItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceLogCollectionResponse request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/log_collection_requests/log_collection_requests_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/log_collection_requests/log_collection_requests_request_builder.py index f156315be26..204fb7d37d5 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/log_collection_requests/log_collection_requests_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/log_collection_requests/log_collection_requests_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[LogCollectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceLogCollectionResponse] = None, request_configuration: Optional[LogCollectionRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceLogCollectionResponse] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/logout_shared_apple_device_active_user/logout_shared_apple_device_active_user_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/logout_shared_apple_device_active_user/logout_shared_apple_device_active_user_request_builder.py index 6743f7bf569..1aa1be7e625 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/logout_shared_apple_device_active_user/logout_shared_apple_device_active_user_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/logout_shared_apple_device_active_user/logout_shared_apple_device_active_user_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[LogoutShare request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LogoutSharedAppleDeviceActiveUserRequestBuilder: 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 074ea7a2106..fabcc743c66 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 @@ -39,6 +39,7 @@ from .log_collection_requests.log_collection_requests_request_builder import LogCollectionRequestsRequestBuilder from .managed_device_mobile_app_configuration_states.managed_device_mobile_app_configuration_states_request_builder import ManagedDeviceMobileAppConfigurationStatesRequestBuilder from .override_compliance_state.override_compliance_state_request_builder import OverrideComplianceStateRequestBuilder + from .pause_configuration_refresh.pause_configuration_refresh_request_builder import PauseConfigurationRefreshRequestBuilder from .play_lost_mode_sound.play_lost_mode_sound_request_builder import PlayLostModeSoundRequestBuilder from .reboot_now.reboot_now_request_builder import RebootNowRequestBuilder from .recover_passcode.recover_passcode_request_builder import RecoverPasscodeRequestBuilder @@ -159,7 +160,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedDeviceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -176,7 +177,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedDevice] = None, request_configuration: Optional[ManagedDeviceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -195,7 +196,7 @@ def to_patch_request_information(self,body: Optional[ManagedDevice] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -452,6 +453,15 @@ def override_compliance_state(self) -> OverrideComplianceStateRequestBuilder: return OverrideComplianceStateRequestBuilder(self.request_adapter, self.path_parameters) + @property + def pause_configuration_refresh(self) -> PauseConfigurationRefreshRequestBuilder: + """ + Provides operations to call the pauseConfigurationRefresh method. + """ + from .pause_configuration_refresh.pause_configuration_refresh_request_builder import PauseConfigurationRefreshRequestBuilder + + return PauseConfigurationRefreshRequestBuilder(self.request_adapter, self.path_parameters) + @property def play_lost_mode_sound(self) -> PlayLostModeSoundRequestBuilder: """ diff --git a/msgraph_beta/generated/device_management/managed_devices/item/managed_device_mobile_app_configuration_states/item/managed_device_mobile_app_configuration_state_item_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/managed_device_mobile_app_configuration_states/item/managed_device_mobile_app_configuration_state_item_request_builder.py index 11efd40246c..d1a1644865a 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/managed_device_mobile_app_configuration_states/item/managed_device_mobile_app_configuration_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/managed_device_mobile_app_configuration_states/item/managed_device_mobile_app_configuration_state_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedDeviceMobileAppConfigurationStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedDeviceMobileAppConfigurationState] = None, request_configuration: Optional[ManagedDeviceMobileAppConfigurationStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ManagedDeviceMobileAppConfi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/managed_device_mobile_app_configuration_states/managed_device_mobile_app_configuration_states_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/managed_device_mobile_app_configuration_states/managed_device_mobile_app_configuration_states_request_builder.py index 792c46517fb..6cc938e242e 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/managed_device_mobile_app_configuration_states/managed_device_mobile_app_configuration_states_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/managed_device_mobile_app_configuration_states/managed_device_mobile_app_configuration_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedDeviceMobileAppConfigurationState] = None, request_configuration: Optional[ManagedDeviceMobileAppConfigurationStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedDeviceMobileAppConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/override_compliance_state/override_compliance_state_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/override_compliance_state/override_compliance_state_request_builder.py index 9d97ccb2ab4..12b6caf0f93 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/override_compliance_state/override_compliance_state_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/override_compliance_state/override_compliance_state_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[OverrideComplianceStatePostR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/pause_configuration_refresh/pause_configuration_refresh_post_request_body.py b/msgraph_beta/generated/device_management/managed_devices/item/pause_configuration_refresh/pause_configuration_refresh_post_request_body.py new file mode 100644 index 00000000000..2e762a0b5f9 --- /dev/null +++ b/msgraph_beta/generated/device_management/managed_devices/item/pause_configuration_refresh/pause_configuration_refresh_post_request_body.py @@ -0,0 +1,49 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class PauseConfigurationRefreshPostRequestBody(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 pauseTimePeriodInMinutes property + pause_time_period_in_minutes: Optional[int] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> PauseConfigurationRefreshPostRequestBody: + """ + 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: PauseConfigurationRefreshPostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return PauseConfigurationRefreshPostRequestBody() + + 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]] = { + "pauseTimePeriodInMinutes": lambda n : setattr(self, 'pause_time_period_in_minutes', 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_int_value("pauseTimePeriodInMinutes", self.pause_time_period_in_minutes) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/device_management/managed_devices/item/pause_configuration_refresh/pause_configuration_refresh_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/pause_configuration_refresh/pause_configuration_refresh_request_builder.py new file mode 100644 index 00000000000..f9135e39a57 --- /dev/null +++ b/msgraph_beta/generated/device_management/managed_devices/item/pause_configuration_refresh/pause_configuration_refresh_request_builder.py @@ -0,0 +1,91 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .pause_configuration_refresh_post_request_body import PauseConfigurationRefreshPostRequestBody + +class PauseConfigurationRefreshRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the pauseConfigurationRefresh method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new PauseConfigurationRefreshRequestBuilder 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}/pauseConfigurationRefresh", path_parameters) + + async def post(self,body: Optional[PauseConfigurationRefreshPostRequestBody] = None, request_configuration: Optional[PauseConfigurationRefreshRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Initiates a command to pause config refresh for the device. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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: Optional[PauseConfigurationRefreshPostRequestBody] = None, request_configuration: Optional[PauseConfigurationRefreshRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Initiates a command to pause config refresh for the device. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> PauseConfigurationRefreshRequestBuilder: + """ + 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: PauseConfigurationRefreshRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return PauseConfigurationRefreshRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class PauseConfigurationRefreshRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/device_management/managed_devices/item/play_lost_mode_sound/play_lost_mode_sound_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/play_lost_mode_sound/play_lost_mode_sound_request_builder.py index 2a4acaebe33..4b9cb021b5f 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/play_lost_mode_sound/play_lost_mode_sound_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/play_lost_mode_sound/play_lost_mode_sound_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[PlayLostModeSoundPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/reboot_now/reboot_now_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/reboot_now/reboot_now_request_builder.py index f9e18046b32..2cb2334de69 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/reboot_now/reboot_now_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/reboot_now/reboot_now_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RebootNowRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RebootNowRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/item/recover_passcode/recover_passcode_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/recover_passcode/recover_passcode_request_builder.py index aae08d46f01..8556d093f57 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/recover_passcode/recover_passcode_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/recover_passcode/recover_passcode_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RecoverPass request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RecoverPasscodeRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/item/reenable/reenable_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/reenable/reenable_request_builder.py index 6c7b9156301..8fc6a227bbf 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/reenable/reenable_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/reenable/reenable_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[ReenableReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReenableRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/item/remote_lock/remote_lock_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/remote_lock/remote_lock_request_builder.py index f68de76a982..0b600f122a1 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/remote_lock/remote_lock_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/remote_lock/remote_lock_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RemoteLockR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RemoteLockRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/item/remove_device_firmware_configuration_interface_management/remove_device_firmware_configuration_interface_management_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/remove_device_firmware_configuration_interface_management/remove_device_firmware_configuration_interface_management_request_builder.py index 4e845998dfb..4bca68b121b 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/remove_device_firmware_configuration_interface_management/remove_device_firmware_configuration_interface_management_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/remove_device_firmware_configuration_interface_management/remove_device_firmware_configuration_interface_management_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RemoveDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/item/reprovision_cloud_pc/reprovision_cloud_pc_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/reprovision_cloud_pc/reprovision_cloud_pc_request_builder.py index 7da236e9244..b8a57b29def 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/reprovision_cloud_pc/reprovision_cloud_pc_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/reprovision_cloud_pc/reprovision_cloud_pc_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ReprovisionCloudPcRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reprovision a Cloud PC with an Intune managed device ID. This API is available in the following national cloud deployments. + Reprovision a Cloud PC with an Intune managed device ID. 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/manageddevice-reprovisioncloudpc?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ReprovisionCloudPcRequestBui def to_post_request_information(self,request_configuration: Optional[ReprovisionCloudPcRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reprovision a Cloud PC with an Intune managed device ID. This API is available in the following national cloud deployments. + Reprovision a Cloud PC with an Intune managed device ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[Reprovision request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReprovisionCloudPcRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/item/request_remote_assistance/request_remote_assistance_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/request_remote_assistance/request_remote_assistance_request_builder.py index ea8c07256eb..1f2d20dca6c 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/request_remote_assistance/request_remote_assistance_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/request_remote_assistance/request_remote_assistance_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestRemo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RequestRemoteAssistanceRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/item/reset_passcode/reset_passcode_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/reset_passcode/reset_passcode_request_builder.py index 6132dcb4b70..38049a01d5a 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/reset_passcode/reset_passcode_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/reset_passcode/reset_passcode_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[ResetPassco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResetPasscodeRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/item/resize_cloud_pc/resize_cloud_pc_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/resize_cloud_pc/resize_cloud_pc_request_builder.py index 069f6f61a16..877e695d122 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/resize_cloud_pc/resize_cloud_pc_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/resize_cloud_pc/resize_cloud_pc_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ResizeCloudPcPostRequestBody] = None, request_configuration: Optional[ResizeCloudPcRequestBuilderPostRequestConfiguration] = None) -> None: """ - Upgrade or downgrade an existing Cloud PC to another configuration with a new virtual CPU (vCPU) and storage size. This API is available in the following national cloud deployments. + Upgrade or downgrade an existing Cloud PC to another configuration with a new virtual CPU (vCPU) and storage size. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ResizeCloudPcPostRequestBody] = None, request def to_post_request_information(self,body: Optional[ResizeCloudPcPostRequestBody] = None, request_configuration: Optional[ResizeCloudPcRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Upgrade or downgrade an existing Cloud PC to another configuration with a new virtual CPU (vCPU) and storage size. This API is available in the following national cloud deployments. + Upgrade or downgrade an existing Cloud PC to another configuration with a new virtual CPU (vCPU) and storage size. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ResizeCloudPcPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/restore_cloud_pc/restore_cloud_pc_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/restore_cloud_pc/restore_cloud_pc_request_builder.py index a1dccb8cd4e..16e679141a8 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/restore_cloud_pc/restore_cloud_pc_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/restore_cloud_pc/restore_cloud_pc_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RestoreCloudPcPostRequestBody] = None, request_configuration: Optional[RestoreCloudPcRequestBuilderPostRequestConfiguration] = None) -> None: """ - Restore a Cloud PC device to a previous state with an Intune managed device ID. This API is available in the following national cloud deployments. + Restore a Cloud PC device to a previous state with an Intune managed device ID. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RestoreCloudPcPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[RestoreCloudPcPostRequestBody] = None, request_configuration: Optional[RestoreCloudPcRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a Cloud PC device to a previous state with an Intune managed device ID. This API is available in the following national cloud deployments. + Restore a Cloud PC device to a previous state with an Intune managed device ID. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RestoreCloudPcPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/retire/retire_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/retire/retire_request_builder.py index 8df325bf0dc..990e44c2a56 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/retire/retire_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/retire/retire_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RetireReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RetireRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/item/revoke_apple_vpp_licenses/revoke_apple_vpp_licenses_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/revoke_apple_vpp_licenses/revoke_apple_vpp_licenses_request_builder.py index 0c317ded0d5..c9202fb4f05 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/revoke_apple_vpp_licenses/revoke_apple_vpp_licenses_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/revoke_apple_vpp_licenses/revoke_apple_vpp_licenses_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RevokeApple request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RevokeAppleVppLicensesRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/item/rotate_bit_locker_keys/rotate_bit_locker_keys_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/rotate_bit_locker_keys/rotate_bit_locker_keys_request_builder.py index 5a0884dce55..ff5e4e8d575 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/rotate_bit_locker_keys/rotate_bit_locker_keys_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/rotate_bit_locker_keys/rotate_bit_locker_keys_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RotateBitLo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RotateBitLockerKeysRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/item/rotate_file_vault_key/rotate_file_vault_key_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/rotate_file_vault_key/rotate_file_vault_key_request_builder.py index b798857a911..ed5fa7a7615 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/rotate_file_vault_key/rotate_file_vault_key_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/rotate_file_vault_key/rotate_file_vault_key_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RotateFileV request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RotateFileVaultKeyRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/item/rotate_local_admin_password/rotate_local_admin_password_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/rotate_local_admin_password/rotate_local_admin_password_request_builder.py index c87f8a701f9..ddbdf8a2e51 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/rotate_local_admin_password/rotate_local_admin_password_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/rotate_local_admin_password/rotate_local_admin_password_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RotateLocal request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RotateLocalAdminPasswordRequestBuilder: 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 98e46269835..24143c4f2ca 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[SecurityB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SecurityBaselineStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[SecurityBase request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SecurityBaselineState] = None, request_configuration: Optional[SecurityBaselineStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[SecurityBaselineState] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 491a51d05cc..4bf769d54c8 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[SecurityB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SecurityBaselineSettingStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SecurityBase request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SecurityBaselineSettingState] = None, request_configuration: Optional[SecurityBaselineSettingStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[SecurityBaselineSettingStat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 155033adf43..9f698c11c40 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingState request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SecurityBaselineSettingState] = None, request_configuration: Optional[SettingStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[SecurityBaselineSettingState request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 daefa2ccc56..8be1600ee63 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SecurityBase request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SecurityBaselineState] = None, request_configuration: Optional[SecurityBaselineStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[SecurityBaselineState] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/send_custom_notification_to_company_portal/send_custom_notification_to_company_portal_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/send_custom_notification_to_company_portal/send_custom_notification_to_company_portal_request_builder.py index 9c125554d69..92075ca2726 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/send_custom_notification_to_company_portal/send_custom_notification_to_company_portal_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/send_custom_notification_to_company_portal/send_custom_notification_to_company_portal_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SendCustomNotificationToComp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_request_builder.py index 990259c504c..0d5debe5cd5 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SetCloudPcReviewStatusPostRequestBody] = None, request_configuration: Optional[SetCloudPcReviewStatusRequestBuilderPostRequestConfiguration] = None) -> None: """ - Set the review status of a specific Cloud PC device. Use this API to set the review status of a Cloud PC to in review if you consider a Cloud PC as suspicious. After the review is completed, use this API again to set the Cloud PC back to a normal state. This API is available in the following national cloud deployments. + Set the review status of a specific Cloud PC device. Use this API to set the review status of a Cloud PC to in review if you consider a Cloud PC as suspicious. After the review is completed, use this API again to set the Cloud PC back to a normal state. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SetCloudPcReviewStatusPostRequestBody] = None def to_post_request_information(self,body: Optional[SetCloudPcReviewStatusPostRequestBody] = None, request_configuration: Optional[SetCloudPcReviewStatusRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Set the review status of a specific Cloud PC device. Use this API to set the review status of a Cloud PC to in review if you consider a Cloud PC as suspicious. After the review is completed, use this API again to set the Cloud PC back to a normal state. This API is available in the following national cloud deployments. + Set the review status of a specific Cloud PC device. Use this API to set the review status of a Cloud PC to in review if you consider a Cloud PC as suspicious. After the review is completed, use this API again to set the Cloud PC back to a normal state. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SetCloudPcReviewStatusPostRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/set_device_name/set_device_name_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/set_device_name/set_device_name_request_builder.py index 5a94e8b8763..5c5b8ba0b50 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/set_device_name/set_device_name_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/set_device_name/set_device_name_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetDeviceNamePostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/shut_down/shut_down_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/shut_down/shut_down_request_builder.py index fd220de3efc..5fb6ad0b66d 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/shut_down/shut_down_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/shut_down/shut_down_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[ShutDownReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ShutDownRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/item/sync_device/sync_device_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/sync_device/sync_device_request_builder.py index b0f8915ff9f..0b6862bc49e 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/sync_device/sync_device_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/sync_device/sync_device_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[SyncDeviceR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SyncDeviceRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/item/trigger_configuration_manager_action/trigger_configuration_manager_action_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/trigger_configuration_manager_action/trigger_configuration_manager_action_request_builder.py index 0727e641dcc..70dddd2be54 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/trigger_configuration_manager_action/trigger_configuration_manager_action_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/trigger_configuration_manager_action/trigger_configuration_manager_action_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[TriggerConfigurationManagerA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/update_windows_device_account/update_windows_device_account_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/update_windows_device_account/update_windows_device_account_request_builder.py index 5ec148367a1..0f3b5422d4a 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/update_windows_device_account/update_windows_device_account_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/update_windows_device_account/update_windows_device_account_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UpdateWindowsDeviceAccountPo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/users/users_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/users/users_request_builder.py index 70a57f89013..c00e7c99f24 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/users/users_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/users/users_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[UsersRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UsersRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/item/windows_defender_scan/windows_defender_scan_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/windows_defender_scan/windows_defender_scan_request_builder.py index ccc70408cfa..c98347231ee 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/windows_defender_scan/windows_defender_scan_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/windows_defender_scan/windows_defender_scan_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[WindowsDefenderScanPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/windows_defender_update_signatures/windows_defender_update_signatures_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/windows_defender_update_signatures/windows_defender_update_signatures_request_builder.py index 03cfa2a7976..734fa0bf958 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/windows_defender_update_signatures/windows_defender_update_signatures_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/windows_defender_update_signatures/windows_defender_update_signatures_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[WindowsDefe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> WindowsDefenderUpdateSignaturesRequestBuilder: diff --git a/msgraph_beta/generated/device_management/managed_devices/item/windows_protection_state/detected_malware_state/detected_malware_state_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/windows_protection_state/detected_malware_state/detected_malware_state_request_builder.py index 1ffcdc952fa..58a9ed452df 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/windows_protection_state/detected_malware_state/detected_malware_state_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/windows_protection_state/detected_malware_state/detected_malware_state_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DetectedMalw request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsDeviceMalwareState] = None, request_configuration: Optional[DetectedMalwareStateRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WindowsDeviceMalwareState] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/windows_protection_state/detected_malware_state/item/windows_device_malware_state_item_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/windows_protection_state/detected_malware_state/item/windows_device_malware_state_item_request_builder.py index 428f895f8ea..4936764ff1e 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/windows_protection_state/detected_malware_state/item/windows_device_malware_state_item_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/windows_protection_state/detected_malware_state/item/windows_device_malware_state_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsDeviceMalwareStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsDeviceMalwareState] = None, request_configuration: Optional[WindowsDeviceMalwareStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WindowsDeviceMalwareState] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/windows_protection_state/windows_protection_state_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/windows_protection_state/windows_protection_state_request_builder.py index c96535ba257..1393b5f0bd1 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/windows_protection_state/windows_protection_state_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/windows_protection_state/windows_protection_state_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsPr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsProtectionStateRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsProte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsProtectionState] = None, request_configuration: Optional[WindowsProtectionStateRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WindowsProtectionState] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/item/wipe/wipe_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/item/wipe/wipe_request_builder.py index 935964dd6c2..d99bea82021 100644 --- a/msgraph_beta/generated/device_management/managed_devices/item/wipe/wipe_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/item/wipe/wipe_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[WipePostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/managed_devices_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/managed_devices_request_builder.py index 7cd7342096a..d1b2f3c34d5 100644 --- a/msgraph_beta/generated/device_management/managed_devices/managed_devices_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/managed_devices_request_builder.py @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedDevice] = None, request_configuration: Optional[ManagedDevicesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_post_request_information(self,body: Optional[ManagedDevice] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/managed_devices/move_devices_to_o_u/move_devices_to_o_u_request_builder.py b/msgraph_beta/generated/device_management/managed_devices/move_devices_to_o_u/move_devices_to_o_u_request_builder.py index e9d4c4286ef..cf7f0cae206 100644 --- a/msgraph_beta/generated/device_management/managed_devices/move_devices_to_o_u/move_devices_to_o_u_request_builder.py +++ b/msgraph_beta/generated/device_management/managed_devices/move_devices_to_o_u/move_devices_to_o_u_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[MoveDevicesToOUPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/microsoft_tunnel_configurations/item/microsoft_tunnel_configuration_item_request_builder.py b/msgraph_beta/generated/device_management/microsoft_tunnel_configurations/item/microsoft_tunnel_configuration_item_request_builder.py index eed453ca97a..161bb793b29 100644 --- a/msgraph_beta/generated/device_management/microsoft_tunnel_configurations/item/microsoft_tunnel_configuration_item_request_builder.py +++ b/msgraph_beta/generated/device_management/microsoft_tunnel_configurations/item/microsoft_tunnel_configuration_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Microsoft request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MicrosoftTunnelConfigurationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftTun request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MicrosoftTunnelConfiguration] = None, request_configuration: Optional[MicrosoftTunnelConfigurationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MicrosoftTunnelConfiguratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/microsoft_tunnel_configurations/microsoft_tunnel_configurations_request_builder.py b/msgraph_beta/generated/device_management/microsoft_tunnel_configurations/microsoft_tunnel_configurations_request_builder.py index ef6485c60bf..8116716e085 100644 --- a/msgraph_beta/generated/device_management/microsoft_tunnel_configurations/microsoft_tunnel_configurations_request_builder.py +++ b/msgraph_beta/generated/device_management/microsoft_tunnel_configurations/microsoft_tunnel_configurations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftTun request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MicrosoftTunnelConfiguration] = None, request_configuration: Optional[MicrosoftTunnelConfigurationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MicrosoftTunnelConfiguration request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/microsoft_tunnel_health_thresholds/item/microsoft_tunnel_health_threshold_item_request_builder.py b/msgraph_beta/generated/device_management/microsoft_tunnel_health_thresholds/item/microsoft_tunnel_health_threshold_item_request_builder.py index 1b7078fdc65..92703cb9a24 100644 --- a/msgraph_beta/generated/device_management/microsoft_tunnel_health_thresholds/item/microsoft_tunnel_health_threshold_item_request_builder.py +++ b/msgraph_beta/generated/device_management/microsoft_tunnel_health_thresholds/item/microsoft_tunnel_health_threshold_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Microsoft request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MicrosoftTunnelHealthThresholdItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftTun request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MicrosoftTunnelHealthThreshold] = None, request_configuration: Optional[MicrosoftTunnelHealthThresholdItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MicrosoftTunnelHealthThresh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/microsoft_tunnel_health_thresholds/microsoft_tunnel_health_thresholds_request_builder.py b/msgraph_beta/generated/device_management/microsoft_tunnel_health_thresholds/microsoft_tunnel_health_thresholds_request_builder.py index 78dee287110..57f012dcccc 100644 --- a/msgraph_beta/generated/device_management/microsoft_tunnel_health_thresholds/microsoft_tunnel_health_thresholds_request_builder.py +++ b/msgraph_beta/generated/device_management/microsoft_tunnel_health_thresholds/microsoft_tunnel_health_thresholds_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftTun request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MicrosoftTunnelHealthThreshold] = None, request_configuration: Optional[MicrosoftTunnelHealthThresholdsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MicrosoftTunnelHealthThresho request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/microsoft_tunnel_server_log_collection_responses/item/create_download_url/create_download_url_request_builder.py b/msgraph_beta/generated/device_management/microsoft_tunnel_server_log_collection_responses/item/create_download_url/create_download_url_request_builder.py index e58468d233b..d364a7453b7 100644 --- a/msgraph_beta/generated/device_management/microsoft_tunnel_server_log_collection_responses/item/create_download_url/create_download_url_request_builder.py +++ b/msgraph_beta/generated/device_management/microsoft_tunnel_server_log_collection_responses/item/create_download_url/create_download_url_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[CreateDownl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreateDownloadUrlRequestBuilder: diff --git a/msgraph_beta/generated/device_management/microsoft_tunnel_server_log_collection_responses/item/generate_download_url/generate_download_url_request_builder.py b/msgraph_beta/generated/device_management/microsoft_tunnel_server_log_collection_responses/item/generate_download_url/generate_download_url_request_builder.py index 26ceddf2ebe..22e6504447c 100644 --- a/msgraph_beta/generated/device_management/microsoft_tunnel_server_log_collection_responses/item/generate_download_url/generate_download_url_request_builder.py +++ b/msgraph_beta/generated/device_management/microsoft_tunnel_server_log_collection_responses/item/generate_download_url/generate_download_url_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[GenerateDow request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GenerateDownloadUrlRequestBuilder: diff --git a/msgraph_beta/generated/device_management/microsoft_tunnel_server_log_collection_responses/item/microsoft_tunnel_server_log_collection_response_item_request_builder.py b/msgraph_beta/generated/device_management/microsoft_tunnel_server_log_collection_responses/item/microsoft_tunnel_server_log_collection_response_item_request_builder.py index 4306f819f16..0ac55b52431 100644 --- a/msgraph_beta/generated/device_management/microsoft_tunnel_server_log_collection_responses/item/microsoft_tunnel_server_log_collection_response_item_request_builder.py +++ b/msgraph_beta/generated/device_management/microsoft_tunnel_server_log_collection_responses/item/microsoft_tunnel_server_log_collection_response_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Microsoft request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MicrosoftTunnelServerLogCollectionResponseItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftTun request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MicrosoftTunnelServerLogCollectionResponse] = None, request_configuration: Optional[MicrosoftTunnelServerLogCollectionResponseItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MicrosoftTunnelServerLogCol request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/microsoft_tunnel_server_log_collection_responses/microsoft_tunnel_server_log_collection_responses_request_builder.py b/msgraph_beta/generated/device_management/microsoft_tunnel_server_log_collection_responses/microsoft_tunnel_server_log_collection_responses_request_builder.py index 05a5c908e91..23760262b8a 100644 --- a/msgraph_beta/generated/device_management/microsoft_tunnel_server_log_collection_responses/microsoft_tunnel_server_log_collection_responses_request_builder.py +++ b/msgraph_beta/generated/device_management/microsoft_tunnel_server_log_collection_responses/microsoft_tunnel_server_log_collection_responses_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftTun request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MicrosoftTunnelServerLogCollectionResponse] = None, request_configuration: Optional[MicrosoftTunnelServerLogCollectionResponsesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MicrosoftTunnelServerLogColl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_configuration/microsoft_tunnel_configuration_request_builder.py b/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_configuration/microsoft_tunnel_configuration_request_builder.py index ad91295bd1c..b12f7aba470 100644 --- a/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_configuration/microsoft_tunnel_configuration_request_builder.py +++ b/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_configuration/microsoft_tunnel_configuration_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Microsoft request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MicrosoftTunnelConfigurationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftTun request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MicrosoftTunnelConfiguration] = None, request_configuration: Optional[MicrosoftTunnelConfigurationRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MicrosoftTunnelConfiguratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/item/create_server_log_collection_request/create_server_log_collection_request_request_builder.py b/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/item/create_server_log_collection_request/create_server_log_collection_request_request_builder.py index 3300f875b8c..fd38ea55c82 100644 --- a/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/item/create_server_log_collection_request/create_server_log_collection_request_request_builder.py +++ b/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/item/create_server_log_collection_request/create_server_log_collection_request_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CreateServerLogCollectionReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/item/generate_server_log_collection_request/generate_server_log_collection_request_request_builder.py b/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/item/generate_server_log_collection_request/generate_server_log_collection_request_request_builder.py index 8b8511081fe..0b90b93c824 100644 --- a/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/item/generate_server_log_collection_request/generate_server_log_collection_request_request_builder.py +++ b/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/item/generate_server_log_collection_request/generate_server_log_collection_request_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GenerateServerLogCollectionR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/item/get_health_metric_time_series/get_health_metric_time_series_request_builder.py b/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/item/get_health_metric_time_series/get_health_metric_time_series_request_builder.py index bf0d0d49a43..174c341d992 100644 --- a/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/item/get_health_metric_time_series/get_health_metric_time_series_request_builder.py +++ b/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/item/get_health_metric_time_series/get_health_metric_time_series_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GetHealthMetricTimeSeriesPos request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/item/get_health_metrics/get_health_metrics_request_builder.py b/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/item/get_health_metrics/get_health_metrics_request_builder.py index f5fa10c97c6..045e1f023f8 100644 --- a/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/item/get_health_metrics/get_health_metrics_request_builder.py +++ b/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/item/get_health_metrics/get_health_metrics_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GetHealthMetricsPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/item/microsoft_tunnel_server_item_request_builder.py b/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/item/microsoft_tunnel_server_item_request_builder.py index a345923f388..fa746c50c37 100644 --- a/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/item/microsoft_tunnel_server_item_request_builder.py +++ b/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/item/microsoft_tunnel_server_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[Microsoft request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MicrosoftTunnelServerItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftTun request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MicrosoftTunnelServer] = None, request_configuration: Optional[MicrosoftTunnelServerItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[MicrosoftTunnelServer] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/microsoft_tunnel_servers_request_builder.py b/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/microsoft_tunnel_servers_request_builder.py index 95339b1d090..6ef57c55ff0 100644 --- a/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/microsoft_tunnel_servers_request_builder.py +++ b/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_servers/microsoft_tunnel_servers_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftTun request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MicrosoftTunnelServer] = None, request_configuration: Optional[MicrosoftTunnelServersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MicrosoftTunnelServer] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_site_item_request_builder.py b/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_site_item_request_builder.py index 44120b395e2..97faa98d600 100644 --- a/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_site_item_request_builder.py +++ b/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/microsoft_tunnel_site_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[Microsoft request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MicrosoftTunnelSiteItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftTun request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MicrosoftTunnelSite] = None, request_configuration: Optional[MicrosoftTunnelSiteItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[MicrosoftTunnelSite] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/request_upgrade/request_upgrade_request_builder.py b/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/request_upgrade/request_upgrade_request_builder.py index aecac0b85eb..55fe73be18e 100644 --- a/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/request_upgrade/request_upgrade_request_builder.py +++ b/msgraph_beta/generated/device_management/microsoft_tunnel_sites/item/request_upgrade/request_upgrade_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestUpgr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RequestUpgradeRequestBuilder: diff --git a/msgraph_beta/generated/device_management/microsoft_tunnel_sites/microsoft_tunnel_sites_request_builder.py b/msgraph_beta/generated/device_management/microsoft_tunnel_sites/microsoft_tunnel_sites_request_builder.py index 56d4eda5147..1b46c20ad25 100644 --- a/msgraph_beta/generated/device_management/microsoft_tunnel_sites/microsoft_tunnel_sites_request_builder.py +++ b/msgraph_beta/generated/device_management/microsoft_tunnel_sites/microsoft_tunnel_sites_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftTun request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MicrosoftTunnelSite] = None, request_configuration: Optional[MicrosoftTunnelSitesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MicrosoftTunnelSite] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py b/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py index e5ecb5595a0..50121e7a12f 100644 --- a/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py +++ b/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AppLogCollec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AppLogCollectionRequest] = None, request_configuration: Optional[AppLogCollectionRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AppLogCollectionRequest] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py b/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py index 766ffaffb17..acaf26b6df0 100644 --- a/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py +++ b/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AppLogCol request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AppLogCollectionRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AppLogCollec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AppLogCollectionRequest] = None, request_configuration: Optional[AppLogCollectionRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AppLogCollectionRequest] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/create_download_url/create_download_url_request_builder.py b/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/create_download_url/create_download_url_request_builder.py index 7e02c77c23f..6c292463c99 100644 --- a/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/create_download_url/create_download_url_request_builder.py +++ b/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/create_download_url/create_download_url_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[CreateDownl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreateDownloadUrlRequestBuilder: diff --git a/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/mobile_app_troubleshooting_event_item_request_builder.py b/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/mobile_app_troubleshooting_event_item_request_builder.py index 2623e6d8772..64c02510d42 100644 --- a/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/mobile_app_troubleshooting_event_item_request_builder.py +++ b/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/mobile_app_troubleshooting_event_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppTroubleshootingEventItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppTro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppTroubleshootingEvent] = None, request_configuration: Optional[MobileAppTroubleshootingEventItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[MobileAppTroubleshootingEve request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/mobile_app_troubleshooting_events_request_builder.py b/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/mobile_app_troubleshooting_events_request_builder.py index 9ed1682dce5..f993abb4e2b 100644 --- a/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/mobile_app_troubleshooting_events_request_builder.py +++ b/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/mobile_app_troubleshooting_events_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppTro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppTroubleshootingEvent] = None, request_configuration: Optional[MobileAppTroubleshootingEventsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppTroubleshootingEven request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/mobile_threat_defense_connectors/item/mobile_threat_defense_connector_item_request_builder.py b/msgraph_beta/generated/device_management/mobile_threat_defense_connectors/item/mobile_threat_defense_connector_item_request_builder.py index 93b1e4571d4..ddb9d4c7736 100644 --- a/msgraph_beta/generated/device_management/mobile_threat_defense_connectors/item/mobile_threat_defense_connector_item_request_builder.py +++ b/msgraph_beta/generated/device_management/mobile_threat_defense_connectors/item/mobile_threat_defense_connector_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileThr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileThreatDefenseConnectorItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileThreat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileThreatDefenseConnector] = None, request_configuration: Optional[MobileThreatDefenseConnectorItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileThreatDefenseConnecto request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/mobile_threat_defense_connectors/mobile_threat_defense_connectors_request_builder.py b/msgraph_beta/generated/device_management/mobile_threat_defense_connectors/mobile_threat_defense_connectors_request_builder.py index 64314e5513f..8803930bb02 100644 --- a/msgraph_beta/generated/device_management/mobile_threat_defense_connectors/mobile_threat_defense_connectors_request_builder.py +++ b/msgraph_beta/generated/device_management/mobile_threat_defense_connectors/mobile_threat_defense_connectors_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileThreat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileThreatDefenseConnector] = None, request_configuration: Optional[MobileThreatDefenseConnectorsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileThreatDefenseConnector request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/monitoring/alert_records/alert_records_request_builder.py b/msgraph_beta/generated/device_management/monitoring/alert_records/alert_records_request_builder.py index 344981a833c..af88dffc8e5 100644 --- a/msgraph_beta/generated/device_management/monitoring/alert_records/alert_records_request_builder.py +++ b/msgraph_beta/generated/device_management/monitoring/alert_records/alert_records_request_builder.py @@ -46,7 +46,7 @@ def by_alert_record_id(self,alert_record_id: str) -> AlertRecordItemRequestBuild async def get(self,request_configuration: Optional[AlertRecordsRequestBuilderGetRequestConfiguration] = None) -> Optional[AlertRecordCollectionResponse]: """ - Get a list of the alertRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of the alertRecord objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AlertRecordCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/devicemanagement-alertrecord-list?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[AlertRecord] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[AlertRecordsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the alertRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of the alertRecord objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[AlertRecords request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AlertRecord] = None, request_configuration: Optional[AlertRecordsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[AlertRecord] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def microsoft_graph_device_management_get_portal_notifications(self) -> Microsof @dataclass class AlertRecordsRequestBuilderGetQueryParameters(): """ - Get a list of the alertRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of the alertRecord objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/monitoring/alert_records/item/alert_record_item_request_builder.py b/msgraph_beta/generated/device_management/monitoring/alert_records/item/alert_record_item_request_builder.py index 25993d525f5..9d12f544654 100644 --- a/msgraph_beta/generated/device_management/monitoring/alert_records/item/alert_record_item_request_builder.py +++ b/msgraph_beta/generated/device_management/monitoring/alert_records/item/alert_record_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AlertRecordItemRequestBuil async def get(self,request_configuration: Optional[AlertRecordItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AlertRecord]: """ - Read the properties and relationships of an alertRecord object. This API is available in the following national cloud deployments. + Read the properties and relationships of an alertRecord object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AlertRecord] Find more info here: https://learn.microsoft.com/graph/api/devicemanagement-alertrecord-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[AlertReco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AlertRecordItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an alertRecord object. This API is available in the following national cloud deployments. + Read the properties and relationships of an alertRecord object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AlertRecordI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AlertRecord] = None, request_configuration: Optional[AlertRecordItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AlertRecord] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class AlertRecordItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class AlertRecordItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an alertRecord object. This API is available in the following national cloud deployments. + Read the properties and relationships of an alertRecord object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/monitoring/alert_records/item/microsoft_graph_device_management_set_portal_notification_as_sent/microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.py b/msgraph_beta/generated/device_management/monitoring/alert_records/item/microsoft_graph_device_management_set_portal_notification_as_sent/microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.py index 9542ec0ae44..836752d92c6 100644 --- a/msgraph_beta/generated/device_management/monitoring/alert_records/item/microsoft_graph_device_management_set_portal_notification_as_sent/microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.py +++ b/msgraph_beta/generated/device_management/monitoring/alert_records/item/microsoft_graph_device_management_set_portal_notification_as_sent/microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[MicrosoftGraphDeviceManagementSetPortalNotificationAsSentRequestBuilderPostRequestConfiguration] = None) -> None: """ - Set the status of the notification associated with the specified alertRecord on the Microsoft EndPoint Manager admin center as sent, by setting the isPortalNotificationSent property of the portal notification to true. This API is available in the following national cloud deployments. + Set the status of the notification associated with the specified alertRecord on the Microsoft EndPoint Manager admin center as sent, by setting the isPortalNotificationSent property of the portal notification to true. 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/devicemanagement-alertrecord-setportalnotificationassent?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[MicrosoftGraphDeviceManageme def to_post_request_information(self,request_configuration: Optional[MicrosoftGraphDeviceManagementSetPortalNotificationAsSentRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Set the status of the notification associated with the specified alertRecord on the Microsoft EndPoint Manager admin center as sent, by setting the isPortalNotificationSent property of the portal notification to true. This API is available in the following national cloud deployments. + Set the status of the notification associated with the specified alertRecord on the Microsoft EndPoint Manager admin center as sent, by setting the isPortalNotificationSent property of the portal notification to true. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphDeviceManagementSetPortalNotificationAsSentRequestBuilder: diff --git a/msgraph_beta/generated/device_management/monitoring/alert_records/microsoft_graph_device_management_get_portal_notifications/microsoft_graph_device_management_get_portal_notifications_request_builder.py b/msgraph_beta/generated/device_management/monitoring/alert_records/microsoft_graph_device_management_get_portal_notifications/microsoft_graph_device_management_get_portal_notifications_request_builder.py index d0c8975512e..74742937bc0 100644 --- a/msgraph_beta/generated/device_management/monitoring/alert_records/microsoft_graph_device_management_get_portal_notifications/microsoft_graph_device_management_get_portal_notifications_request_builder.py +++ b/msgraph_beta/generated/device_management/monitoring/alert_records/microsoft_graph_device_management_get_portal_notifications/microsoft_graph_device_management_get_portal_notifications_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphDeviceManagementGetPortalNotificationsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/monitoring/alert_rules/alert_rules_request_builder.py b/msgraph_beta/generated/device_management/monitoring/alert_rules/alert_rules_request_builder.py index 92fb750c952..96baf4e74cc 100644 --- a/msgraph_beta/generated/device_management/monitoring/alert_rules/alert_rules_request_builder.py +++ b/msgraph_beta/generated/device_management/monitoring/alert_rules/alert_rules_request_builder.py @@ -45,7 +45,7 @@ def by_alert_rule_id(self,alert_rule_id: str) -> AlertRuleItemRequestBuilder: async def get(self,request_configuration: Optional[AlertRulesRequestBuilderGetRequestConfiguration] = None) -> Optional[AlertRuleCollectionResponse]: """ - Get a list of the alertRule objects and their properties. This API is available in the following national cloud deployments. + Get a list of the alertRule objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AlertRuleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/devicemanagement-alertrule-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AlertRulesRequestBuilderGetRe async def post(self,body: Optional[AlertRule] = None, request_configuration: Optional[AlertRulesRequestBuilderPostRequestConfiguration] = None) -> Optional[AlertRule]: """ - Create an alertRule object. This API is available in the following national cloud deployments. + Create an alertRule object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AlertRule] @@ -92,7 +92,7 @@ async def post(self,body: Optional[AlertRule] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[AlertRulesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the alertRule objects and their properties. This API is available in the following national cloud deployments. + Get a list of the alertRule objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[AlertRulesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AlertRule] = None, request_configuration: Optional[AlertRulesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an alertRule object. This API is available in the following national cloud deployments. + Create an alertRule object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[AlertRule] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AlertRulesRequestBuilderGetQueryParameters(): """ - Get a list of the alertRule objects and their properties. This API is available in the following national cloud deployments. + Get a list of the alertRule objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/monitoring/alert_rules/item/alert_rule_item_request_builder.py b/msgraph_beta/generated/device_management/monitoring/alert_rules/item/alert_rule_item_request_builder.py index 0e47e5ed530..8078a85fa45 100644 --- a/msgraph_beta/generated/device_management/monitoring/alert_rules/item/alert_rule_item_request_builder.py +++ b/msgraph_beta/generated/device_management/monitoring/alert_rules/item/alert_rule_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[AlertRuleItemRequestBuilde async def get(self,request_configuration: Optional[AlertRuleItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AlertRule]: """ - Read the properties and relationships of an alertRule object. This API is available in the following national cloud deployments. + Read the properties and relationships of an alertRule object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AlertRule] Find more info here: https://learn.microsoft.com/graph/api/devicemanagement-alertrule-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[AlertRuleItemRequestBuilderGe async def patch(self,body: Optional[AlertRule] = None, request_configuration: Optional[AlertRuleItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[AlertRule]: """ - Update the properties of an alertRule object. This API is available in the following national cloud deployments. + Update the properties of an alertRule object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AlertRule] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[AlertRule request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AlertRuleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an alertRule object. This API is available in the following national cloud deployments. + Read the properties and relationships of an alertRule object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[AlertRuleIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AlertRule] = None, request_configuration: Optional[AlertRuleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an alertRule object. This API is available in the following national cloud deployments. + Update the properties of an alertRule object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AlertRule] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class AlertRuleItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class AlertRuleItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an alertRule object. This API is available in the following national cloud deployments. + Read the properties and relationships of an alertRule object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/monitoring/monitoring_request_builder.py b/msgraph_beta/generated/device_management/monitoring/monitoring_request_builder.py index 34d9ba8d3cc..920b96cd15a 100644 --- a/msgraph_beta/generated/device_management/monitoring/monitoring_request_builder.py +++ b/msgraph_beta/generated/device_management/monitoring/monitoring_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Monitorin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MonitoringRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MonitoringRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Monitoring] = None, request_configuration: Optional[MonitoringRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Monitoring] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/ndes_connectors/item/ndes_connector_item_request_builder.py b/msgraph_beta/generated/device_management/ndes_connectors/item/ndes_connector_item_request_builder.py index 3666646bd7d..a109ce82e94 100644 --- a/msgraph_beta/generated/device_management/ndes_connectors/item/ndes_connector_item_request_builder.py +++ b/msgraph_beta/generated/device_management/ndes_connectors/item/ndes_connector_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[NdesConne request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[NdesConnectorItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[NdesConnecto request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[NdesConnector] = None, request_configuration: Optional[NdesConnectorItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[NdesConnector] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/ndes_connectors/ndes_connectors_request_builder.py b/msgraph_beta/generated/device_management/ndes_connectors/ndes_connectors_request_builder.py index 1d302a22d63..28b17579f97 100644 --- a/msgraph_beta/generated/device_management/ndes_connectors/ndes_connectors_request_builder.py +++ b/msgraph_beta/generated/device_management/ndes_connectors/ndes_connectors_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[NdesConnecto request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[NdesConnector] = None, request_configuration: Optional[NdesConnectorsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[NdesConnector] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/notification_message_templates/item/localized_notification_messages/item/localized_notification_message_item_request_builder.py b/msgraph_beta/generated/device_management/notification_message_templates/item/localized_notification_messages/item/localized_notification_message_item_request_builder.py index c6fa3b7f6cc..bc50d69a62f 100644 --- a/msgraph_beta/generated/device_management/notification_message_templates/item/localized_notification_messages/item/localized_notification_message_item_request_builder.py +++ b/msgraph_beta/generated/device_management/notification_message_templates/item/localized_notification_messages/item/localized_notification_message_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Localized request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LocalizedNotificationMessageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[LocalizedNot request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[LocalizedNotificationMessage] = None, request_configuration: Optional[LocalizedNotificationMessageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[LocalizedNotificationMessag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/notification_message_templates/item/localized_notification_messages/localized_notification_messages_request_builder.py b/msgraph_beta/generated/device_management/notification_message_templates/item/localized_notification_messages/localized_notification_messages_request_builder.py index c724bb8b38b..7e6f49293ae 100644 --- a/msgraph_beta/generated/device_management/notification_message_templates/item/localized_notification_messages/localized_notification_messages_request_builder.py +++ b/msgraph_beta/generated/device_management/notification_message_templates/item/localized_notification_messages/localized_notification_messages_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[LocalizedNot request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[LocalizedNotificationMessage] = None, request_configuration: Optional[LocalizedNotificationMessagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[LocalizedNotificationMessage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/notification_message_templates/item/notification_message_template_item_request_builder.py b/msgraph_beta/generated/device_management/notification_message_templates/item/notification_message_template_item_request_builder.py index dd9a2536e99..c68141b313e 100644 --- a/msgraph_beta/generated/device_management/notification_message_templates/item/notification_message_template_item_request_builder.py +++ b/msgraph_beta/generated/device_management/notification_message_templates/item/notification_message_template_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Notificat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[NotificationMessageTemplateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[Notification request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[NotificationMessageTemplate] = None, request_configuration: Optional[NotificationMessageTemplateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[NotificationMessageTemplate request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/notification_message_templates/item/send_test_message/send_test_message_request_builder.py b/msgraph_beta/generated/device_management/notification_message_templates/item/send_test_message/send_test_message_request_builder.py index 66714872b6d..8661e11ed83 100644 --- a/msgraph_beta/generated/device_management/notification_message_templates/item/send_test_message/send_test_message_request_builder.py +++ b/msgraph_beta/generated/device_management/notification_message_templates/item/send_test_message/send_test_message_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[SendTestMes request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SendTestMessageRequestBuilder: diff --git a/msgraph_beta/generated/device_management/notification_message_templates/notification_message_templates_request_builder.py b/msgraph_beta/generated/device_management/notification_message_templates/notification_message_templates_request_builder.py index a8e40ce441b..6f849be87cb 100644 --- a/msgraph_beta/generated/device_management/notification_message_templates/notification_message_templates_request_builder.py +++ b/msgraph_beta/generated/device_management/notification_message_templates/notification_message_templates_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Notification request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[NotificationMessageTemplate] = None, request_configuration: Optional[NotificationMessageTemplatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[NotificationMessageTemplate] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/privilege_management_elevations/item/privilege_management_elevation_item_request_builder.py b/msgraph_beta/generated/device_management/privilege_management_elevations/item/privilege_management_elevation_item_request_builder.py index b4c7d550664..3a78c32e45a 100644 --- a/msgraph_beta/generated/device_management/privilege_management_elevations/item/privilege_management_elevation_item_request_builder.py +++ b/msgraph_beta/generated/device_management/privilege_management_elevations/item/privilege_management_elevation_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Privilege request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrivilegeManagementElevationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PrivilegeMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrivilegeManagementElevation] = None, request_configuration: Optional[PrivilegeManagementElevationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PrivilegeManagementElevatio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/privilege_management_elevations/privilege_management_elevations_request_builder.py b/msgraph_beta/generated/device_management/privilege_management_elevations/privilege_management_elevations_request_builder.py index aaf11b48ed9..475697289a0 100644 --- a/msgraph_beta/generated/device_management/privilege_management_elevations/privilege_management_elevations_request_builder.py +++ b/msgraph_beta/generated/device_management/privilege_management_elevations/privilege_management_elevations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PrivilegeMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrivilegeManagementElevation] = None, request_configuration: Optional[PrivilegeManagementElevationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[PrivilegeManagementElevation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/remote_action_audits/item/remote_action_audit_item_request_builder.py b/msgraph_beta/generated/device_management/remote_action_audits/item/remote_action_audit_item_request_builder.py index c4182664f74..b02d4f3f75d 100644 --- a/msgraph_beta/generated/device_management/remote_action_audits/item/remote_action_audit_item_request_builder.py +++ b/msgraph_beta/generated/device_management/remote_action_audits/item/remote_action_audit_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RemoteAct request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RemoteActionAuditItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RemoteAction request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RemoteActionAudit] = None, request_configuration: Optional[RemoteActionAuditItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[RemoteActionAudit] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/remote_action_audits/remote_action_audits_request_builder.py b/msgraph_beta/generated/device_management/remote_action_audits/remote_action_audits_request_builder.py index 9b80e783422..1dea93a8a67 100644 --- a/msgraph_beta/generated/device_management/remote_action_audits/remote_action_audits_request_builder.py +++ b/msgraph_beta/generated/device_management/remote_action_audits/remote_action_audits_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RemoteAction request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[RemoteActionAudit] = None, request_configuration: Optional[RemoteActionAuditsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[RemoteActionAudit] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 a0068a20fc3..d5b339c6ddf 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[BeginOnboar request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> BeginOnboardingRequestBuilder: diff --git a/msgraph_beta/generated/device_management/remote_assistance_partners/item/disconnect/disconnect_request_builder.py b/msgraph_beta/generated/device_management/remote_assistance_partners/item/disconnect/disconnect_request_builder.py index 467a2e91445..3b635cfe57f 100644 --- a/msgraph_beta/generated/device_management/remote_assistance_partners/item/disconnect/disconnect_request_builder.py +++ b/msgraph_beta/generated/device_management/remote_assistance_partners/item/disconnect/disconnect_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[DisconnectR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DisconnectRequestBuilder: diff --git a/msgraph_beta/generated/device_management/remote_assistance_partners/item/remote_assistance_partner_item_request_builder.py b/msgraph_beta/generated/device_management/remote_assistance_partners/item/remote_assistance_partner_item_request_builder.py index f26c3c40b8b..54e66ef4828 100644 --- a/msgraph_beta/generated/device_management/remote_assistance_partners/item/remote_assistance_partner_item_request_builder.py +++ b/msgraph_beta/generated/device_management/remote_assistance_partners/item/remote_assistance_partner_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RemoteAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RemoteAssistancePartnerItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[RemoteAssist request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RemoteAssistancePartner] = None, request_configuration: Optional[RemoteAssistancePartnerItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[RemoteAssistancePartner] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/remote_assistance_partners/remote_assistance_partners_request_builder.py b/msgraph_beta/generated/device_management/remote_assistance_partners/remote_assistance_partners_request_builder.py index 8d5d179e611..6b158fa7d60 100644 --- a/msgraph_beta/generated/device_management/remote_assistance_partners/remote_assistance_partners_request_builder.py +++ b/msgraph_beta/generated/device_management/remote_assistance_partners/remote_assistance_partners_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RemoteAssist request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[RemoteAssistancePartner] = None, request_configuration: Optional[RemoteAssistancePartnersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[RemoteAssistancePartner] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/remote_assistance_settings/remote_assistance_settings_request_builder.py b/msgraph_beta/generated/device_management/remote_assistance_settings/remote_assistance_settings_request_builder.py index ee8aaf18813..e2cb16c2eee 100644 --- a/msgraph_beta/generated/device_management/remote_assistance_settings/remote_assistance_settings_request_builder.py +++ b/msgraph_beta/generated/device_management/remote_assistance_settings/remote_assistance_settings_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RemoteAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RemoteAssistanceSettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RemoteAssist request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RemoteAssistanceSettings] = None, request_configuration: Optional[RemoteAssistanceSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[RemoteAssistanceSettings] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/cached_report_configurations/cached_report_configurations_request_builder.py b/msgraph_beta/generated/device_management/reports/cached_report_configurations/cached_report_configurations_request_builder.py index a8891576ae4..187ccf09398 100644 --- a/msgraph_beta/generated/device_management/reports/cached_report_configurations/cached_report_configurations_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/cached_report_configurations/cached_report_configurations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[CachedReport request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementCachedReportConfiguration] = None, request_configuration: Optional[CachedReportConfigurationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementCachedReport request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/cached_report_configurations/item/device_management_cached_report_configuration_item_request_builder.py b/msgraph_beta/generated/device_management/reports/cached_report_configurations/item/device_management_cached_report_configuration_item_request_builder.py index 562ce0e24c7..f275eed9996 100644 --- a/msgraph_beta/generated/device_management/reports/cached_report_configurations/item/device_management_cached_report_configuration_item_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/cached_report_configurations/item/device_management_cached_report_configuration_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementCachedReportConfigurationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementCachedReportConfiguration] = None, request_configuration: Optional[DeviceManagementCachedReportConfigurationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementCachedRepor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/export_jobs/export_jobs_request_builder.py b/msgraph_beta/generated/device_management/reports/export_jobs/export_jobs_request_builder.py index bb4ad1e3dea..a15687f997e 100644 --- a/msgraph_beta/generated/device_management/reports/export_jobs/export_jobs_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/export_jobs/export_jobs_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ExportJobsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementExportJob] = None, request_configuration: Optional[ExportJobsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementExportJob] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/export_jobs/item/device_management_export_job_item_request_builder.py b/msgraph_beta/generated/device_management/reports/export_jobs/item/device_management_export_job_item_request_builder.py index eb23d98e454..2fbe1061cfc 100644 --- a/msgraph_beta/generated/device_management/reports/export_jobs/item/device_management_export_job_item_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/export_jobs/item/device_management_export_job_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementExportJobItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementExportJob] = None, request_configuration: Optional[DeviceManagementExportJobItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementExportJob] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_active_malware_report/get_active_malware_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_active_malware_report/get_active_malware_report_request_builder.py index 699c7160f99..ad8b7ef88f4 100644 --- a/msgraph_beta/generated/device_management/reports/get_active_malware_report/get_active_malware_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_active_malware_report/get_active_malware_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetActiveMalwareReportPostRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_active_malware_summary_report/get_active_malware_summary_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_active_malware_summary_report/get_active_malware_summary_report_request_builder.py index 52fac357fed..e7a98e27548 100644 --- a/msgraph_beta/generated/device_management/reports/get_active_malware_summary_report/get_active_malware_summary_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_active_malware_summary_report/get_active_malware_summary_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetActiveMalwareSummaryRepor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_all_certificates_report/get_all_certificates_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_all_certificates_report/get_all_certificates_report_request_builder.py index 297db357816..5020ad66051 100644 --- a/msgraph_beta/generated/device_management/reports/get_all_certificates_report/get_all_certificates_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_all_certificates_report/get_all_certificates_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetAllCertificatesReportPost request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_app_status_overview_report/get_app_status_overview_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_app_status_overview_report/get_app_status_overview_report_request_builder.py index e81c582f798..0bb8a6da091 100644 --- a/msgraph_beta/generated/device_management/reports/get_app_status_overview_report/get_app_status_overview_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_app_status_overview_report/get_app_status_overview_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetAppStatusOverviewReportPo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_apps_install_summary_report/get_apps_install_summary_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_apps_install_summary_report/get_apps_install_summary_report_request_builder.py index e8facf0845b..475aa65bf7e 100644 --- a/msgraph_beta/generated/device_management/reports/get_apps_install_summary_report/get_apps_install_summary_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_apps_install_summary_report/get_apps_install_summary_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetAppsInstallSummaryReportP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_cached_report/get_cached_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_cached_report/get_cached_report_request_builder.py index 4c348adc2d5..5ad1b84a74c 100644 --- a/msgraph_beta/generated/device_management/reports/get_cached_report/get_cached_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_cached_report/get_cached_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetCachedReportPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_certificates_report/get_certificates_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_certificates_report/get_certificates_report_request_builder.py index 387f862d5c2..bfb884d3d3f 100644 --- a/msgraph_beta/generated/device_management/reports/get_certificates_report/get_certificates_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_certificates_report/get_certificates_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetCertificatesReportPostReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_compliance_policies_report_for_device/get_compliance_policies_report_for_device_request_builder.py b/msgraph_beta/generated/device_management/reports/get_compliance_policies_report_for_device/get_compliance_policies_report_for_device_request_builder.py index 12c70e69bea..edde910cb29 100644 --- a/msgraph_beta/generated/device_management/reports/get_compliance_policies_report_for_device/get_compliance_policies_report_for_device_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_compliance_policies_report_for_device/get_compliance_policies_report_for_device_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetCompliancePoliciesReportF request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_compliance_policy_device_summary_report/get_compliance_policy_device_summary_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_compliance_policy_device_summary_report/get_compliance_policy_device_summary_report_request_builder.py index e7bd40af0ed..2071b374188 100644 --- a/msgraph_beta/generated/device_management/reports/get_compliance_policy_device_summary_report/get_compliance_policy_device_summary_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_compliance_policy_device_summary_report/get_compliance_policy_device_summary_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetCompliancePolicyDeviceSum request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_compliance_policy_devices_report/get_compliance_policy_devices_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_compliance_policy_devices_report/get_compliance_policy_devices_report_request_builder.py index c6c285bcdfb..993bbf41fac 100644 --- a/msgraph_beta/generated/device_management/reports/get_compliance_policy_devices_report/get_compliance_policy_devices_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_compliance_policy_devices_report/get_compliance_policy_devices_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetCompliancePolicyDevicesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_compliance_policy_non_compliance_report/get_compliance_policy_non_compliance_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_compliance_policy_non_compliance_report/get_compliance_policy_non_compliance_report_request_builder.py index 2c557ae71ad..c53534f5c1f 100644 --- a/msgraph_beta/generated/device_management/reports/get_compliance_policy_non_compliance_report/get_compliance_policy_non_compliance_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_compliance_policy_non_compliance_report/get_compliance_policy_non_compliance_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetCompliancePolicyNonCompli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_compliance_policy_non_compliance_summary_report/get_compliance_policy_non_compliance_summary_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_compliance_policy_non_compliance_summary_report/get_compliance_policy_non_compliance_summary_report_request_builder.py index 63c71faf157..9158ac29228 100644 --- a/msgraph_beta/generated/device_management/reports/get_compliance_policy_non_compliance_summary_report/get_compliance_policy_non_compliance_summary_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_compliance_policy_non_compliance_summary_report/get_compliance_policy_non_compliance_summary_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetCompliancePolicyNonCompli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_compliance_setting_details_report/get_compliance_setting_details_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_compliance_setting_details_report/get_compliance_setting_details_report_request_builder.py index 1915d1c8925..b423e644927 100644 --- a/msgraph_beta/generated/device_management/reports/get_compliance_setting_details_report/get_compliance_setting_details_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_compliance_setting_details_report/get_compliance_setting_details_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetComplianceSettingDetailsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_compliance_setting_non_compliance_report/get_compliance_setting_non_compliance_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_compliance_setting_non_compliance_report/get_compliance_setting_non_compliance_report_request_builder.py index 99a6c590f04..78a18df8fba 100644 --- a/msgraph_beta/generated/device_management/reports/get_compliance_setting_non_compliance_report/get_compliance_setting_non_compliance_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_compliance_setting_non_compliance_report/get_compliance_setting_non_compliance_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetComplianceSettingNonCompl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_compliance_settings_report/get_compliance_settings_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_compliance_settings_report/get_compliance_settings_report_request_builder.py index 6ce8e26902a..474e7219b19 100644 --- a/msgraph_beta/generated/device_management/reports/get_compliance_settings_report/get_compliance_settings_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_compliance_settings_report/get_compliance_settings_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetComplianceSettingsReportP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_config_manager_device_policy_status_report/get_config_manager_device_policy_status_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_config_manager_device_policy_status_report/get_config_manager_device_policy_status_report_request_builder.py index 85a8ac99900..9be29783d88 100644 --- a/msgraph_beta/generated/device_management/reports/get_config_manager_device_policy_status_report/get_config_manager_device_policy_status_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_config_manager_device_policy_status_report/get_config_manager_device_policy_status_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetConfigManagerDevicePolicy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_configuration_policies_report_for_device/get_configuration_policies_report_for_device_request_builder.py b/msgraph_beta/generated/device_management/reports/get_configuration_policies_report_for_device/get_configuration_policies_report_for_device_request_builder.py index 08ea08f2061..d2a3e31933c 100644 --- a/msgraph_beta/generated/device_management/reports/get_configuration_policies_report_for_device/get_configuration_policies_report_for_device_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_configuration_policies_report_for_device/get_configuration_policies_report_for_device_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetConfigurationPoliciesRepo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_configuration_policy_device_summary_report/get_configuration_policy_device_summary_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_configuration_policy_device_summary_report/get_configuration_policy_device_summary_report_request_builder.py index d9ee20cfeb0..3ca4742ac40 100644 --- a/msgraph_beta/generated/device_management/reports/get_configuration_policy_device_summary_report/get_configuration_policy_device_summary_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_configuration_policy_device_summary_report/get_configuration_policy_device_summary_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetConfigurationPolicyDevice request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_configuration_policy_devices_report/get_configuration_policy_devices_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_configuration_policy_devices_report/get_configuration_policy_devices_report_request_builder.py index 6fd058350d8..0d69ced1898 100644 --- a/msgraph_beta/generated/device_management/reports/get_configuration_policy_devices_report/get_configuration_policy_devices_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_configuration_policy_devices_report/get_configuration_policy_devices_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetConfigurationPolicyDevice request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_configuration_policy_non_compliance_report/get_configuration_policy_non_compliance_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_configuration_policy_non_compliance_report/get_configuration_policy_non_compliance_report_request_builder.py index 883ded25cdb..cea159204ae 100644 --- a/msgraph_beta/generated/device_management/reports/get_configuration_policy_non_compliance_report/get_configuration_policy_non_compliance_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_configuration_policy_non_compliance_report/get_configuration_policy_non_compliance_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetConfigurationPolicyNonCom request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_configuration_policy_non_compliance_summary_report/get_configuration_policy_non_compliance_summary_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_configuration_policy_non_compliance_summary_report/get_configuration_policy_non_compliance_summary_report_request_builder.py index 8789f57e709..d5b0e6bba4c 100644 --- a/msgraph_beta/generated/device_management/reports/get_configuration_policy_non_compliance_summary_report/get_configuration_policy_non_compliance_summary_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_configuration_policy_non_compliance_summary_report/get_configuration_policy_non_compliance_summary_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetConfigurationPolicyNonCom request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_configuration_policy_settings_device_summary_report/get_configuration_policy_settings_device_summary_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_configuration_policy_settings_device_summary_report/get_configuration_policy_settings_device_summary_report_request_builder.py index ae360b47887..0a19983e249 100644 --- a/msgraph_beta/generated/device_management/reports/get_configuration_policy_settings_device_summary_report/get_configuration_policy_settings_device_summary_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_configuration_policy_settings_device_summary_report/get_configuration_policy_settings_device_summary_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetConfigurationPolicySettin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_configuration_setting_details_report/get_configuration_setting_details_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_configuration_setting_details_report/get_configuration_setting_details_report_request_builder.py index b544ff80559..e52f351ae9e 100644 --- a/msgraph_beta/generated/device_management/reports/get_configuration_setting_details_report/get_configuration_setting_details_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_configuration_setting_details_report/get_configuration_setting_details_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetConfigurationSettingDetai request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_configuration_setting_non_compliance_report/get_configuration_setting_non_compliance_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_configuration_setting_non_compliance_report/get_configuration_setting_non_compliance_report_request_builder.py index 4a032cc68f5..3ab38ca0d31 100644 --- a/msgraph_beta/generated/device_management/reports/get_configuration_setting_non_compliance_report/get_configuration_setting_non_compliance_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_configuration_setting_non_compliance_report/get_configuration_setting_non_compliance_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetConfigurationSettingNonCo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_configuration_settings_report/get_configuration_settings_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_configuration_settings_report/get_configuration_settings_report_request_builder.py index 337b771d2dc..c2455471ec6 100644 --- a/msgraph_beta/generated/device_management/reports/get_configuration_settings_report/get_configuration_settings_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_configuration_settings_report/get_configuration_settings_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetConfigurationSettingsRepo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_device_configuration_policy_settings_summary_report/get_device_configuration_policy_settings_summary_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_device_configuration_policy_settings_summary_report/get_device_configuration_policy_settings_summary_report_request_builder.py index 88f63c41b93..cd4d22abe59 100644 --- a/msgraph_beta/generated/device_management/reports/get_device_configuration_policy_settings_summary_report/get_device_configuration_policy_settings_summary_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_device_configuration_policy_settings_summary_report/get_device_configuration_policy_settings_summary_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetDeviceConfigurationPolicy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_device_configuration_policy_status_summary/get_device_configuration_policy_status_summary_request_builder.py b/msgraph_beta/generated/device_management/reports/get_device_configuration_policy_status_summary/get_device_configuration_policy_status_summary_request_builder.py index 12449e3ae06..a8e0f76bf34 100644 --- a/msgraph_beta/generated/device_management/reports/get_device_configuration_policy_status_summary/get_device_configuration_policy_status_summary_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_device_configuration_policy_status_summary/get_device_configuration_policy_status_summary_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetDeviceConfigurationPolicy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_device_install_status_report/get_device_install_status_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_device_install_status_report/get_device_install_status_report_request_builder.py index 2b39915adcc..ea0e8c9e636 100644 --- a/msgraph_beta/generated/device_management/reports/get_device_install_status_report/get_device_install_status_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_device_install_status_report/get_device_install_status_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetDeviceInstallStatusReport request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_device_management_intent_per_setting_contributing_profiles/get_device_management_intent_per_setting_contributing_profiles_request_builder.py b/msgraph_beta/generated/device_management/reports/get_device_management_intent_per_setting_contributing_profiles/get_device_management_intent_per_setting_contributing_profiles_request_builder.py index 393daceccbd..0d149e53394 100644 --- a/msgraph_beta/generated/device_management/reports/get_device_management_intent_per_setting_contributing_profiles/get_device_management_intent_per_setting_contributing_profiles_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_device_management_intent_per_setting_contributing_profiles/get_device_management_intent_per_setting_contributing_profiles_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetDeviceManagementIntentPer request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_device_management_intent_settings_report/get_device_management_intent_settings_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_device_management_intent_settings_report/get_device_management_intent_settings_report_request_builder.py index 0c833371a94..fd0eac89460 100644 --- a/msgraph_beta/generated/device_management/reports/get_device_management_intent_settings_report/get_device_management_intent_settings_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_device_management_intent_settings_report/get_device_management_intent_settings_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetDeviceManagementIntentSet request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_device_non_compliance_report/get_device_non_compliance_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_device_non_compliance_report/get_device_non_compliance_report_request_builder.py index 1f8d0216422..0f1a03c4ac9 100644 --- a/msgraph_beta/generated/device_management/reports/get_device_non_compliance_report/get_device_non_compliance_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_device_non_compliance_report/get_device_non_compliance_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetDeviceNonComplianceReport request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_device_policies_compliance_report/get_device_policies_compliance_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_device_policies_compliance_report/get_device_policies_compliance_report_request_builder.py index 30fd3154df9..f6c4d861ada 100644 --- a/msgraph_beta/generated/device_management/reports/get_device_policies_compliance_report/get_device_policies_compliance_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_device_policies_compliance_report/get_device_policies_compliance_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetDevicePoliciesComplianceR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_device_policy_settings_compliance_report/get_device_policy_settings_compliance_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_device_policy_settings_compliance_report/get_device_policy_settings_compliance_report_request_builder.py index 45c30e16b95..ef50a99c46a 100644 --- a/msgraph_beta/generated/device_management/reports/get_device_policy_settings_compliance_report/get_device_policy_settings_compliance_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_device_policy_settings_compliance_report/get_device_policy_settings_compliance_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetDevicePolicySettingsCompl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_device_status_by_compliace_policy_report/get_device_status_by_compliace_policy_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_device_status_by_compliace_policy_report/get_device_status_by_compliace_policy_report_request_builder.py index 08f7d484a02..a7b28b5774b 100644 --- a/msgraph_beta/generated/device_management/reports/get_device_status_by_compliace_policy_report/get_device_status_by_compliace_policy_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_device_status_by_compliace_policy_report/get_device_status_by_compliace_policy_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetDeviceStatusByCompliacePo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_device_status_by_compliance_policy_setting_report/get_device_status_by_compliance_policy_setting_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_device_status_by_compliance_policy_setting_report/get_device_status_by_compliance_policy_setting_report_request_builder.py index cc92697f8cb..5db0c065692 100644 --- a/msgraph_beta/generated/device_management/reports/get_device_status_by_compliance_policy_setting_report/get_device_status_by_compliance_policy_setting_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_device_status_by_compliance_policy_setting_report/get_device_status_by_compliance_policy_setting_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetDeviceStatusByComplianceP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_device_status_summary_by_compliace_policy_report/get_device_status_summary_by_compliace_policy_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_device_status_summary_by_compliace_policy_report/get_device_status_summary_by_compliace_policy_report_request_builder.py index 846b5117ea9..d8794cd9738 100644 --- a/msgraph_beta/generated/device_management/reports/get_device_status_summary_by_compliace_policy_report/get_device_status_summary_by_compliace_policy_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_device_status_summary_by_compliace_policy_report/get_device_status_summary_by_compliace_policy_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetDeviceStatusSummaryByComp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_device_status_summary_by_compliance_policy_settings_report/get_device_status_summary_by_compliance_policy_settings_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_device_status_summary_by_compliance_policy_settings_report/get_device_status_summary_by_compliance_policy_settings_report_request_builder.py index 73f20da29d3..b991c56dec6 100644 --- a/msgraph_beta/generated/device_management/reports/get_device_status_summary_by_compliance_policy_settings_report/get_device_status_summary_by_compliance_policy_settings_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_device_status_summary_by_compliance_policy_settings_report/get_device_status_summary_by_compliance_policy_settings_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetDeviceStatusSummaryByComp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_devices_status_by_policy_platform_compliance_report/get_devices_status_by_policy_platform_compliance_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_devices_status_by_policy_platform_compliance_report/get_devices_status_by_policy_platform_compliance_report_request_builder.py index 0cc6efe98d6..071b118e61a 100644 --- a/msgraph_beta/generated/device_management/reports/get_devices_status_by_policy_platform_compliance_report/get_devices_status_by_policy_platform_compliance_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_devices_status_by_policy_platform_compliance_report/get_devices_status_by_policy_platform_compliance_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetDevicesStatusByPolicyPlat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_devices_status_by_setting_report/get_devices_status_by_setting_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_devices_status_by_setting_report/get_devices_status_by_setting_report_request_builder.py index 5785d03afef..896e0c9efe9 100644 --- a/msgraph_beta/generated/device_management/reports/get_devices_status_by_setting_report/get_devices_status_by_setting_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_devices_status_by_setting_report/get_devices_status_by_setting_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetDevicesStatusBySettingRep request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_devices_without_compliance_policy_report/get_devices_without_compliance_policy_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_devices_without_compliance_policy_report/get_devices_without_compliance_policy_report_request_builder.py index cbc69bc0832..796485adbc8 100644 --- a/msgraph_beta/generated/device_management/reports/get_devices_without_compliance_policy_report/get_devices_without_compliance_policy_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_devices_without_compliance_policy_report/get_devices_without_compliance_policy_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetDevicesWithoutComplianceP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_encryption_report_for_devices/get_encryption_report_for_devices_request_builder.py b/msgraph_beta/generated/device_management/reports/get_encryption_report_for_devices/get_encryption_report_for_devices_request_builder.py index da9613f7105..59c7fd67a57 100644 --- a/msgraph_beta/generated/device_management/reports/get_encryption_report_for_devices/get_encryption_report_for_devices_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_encryption_report_for_devices/get_encryption_report_for_devices_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetEncryptionReportForDevice request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_enrollment_configuration_policies_by_device/get_enrollment_configuration_policies_by_device_request_builder.py b/msgraph_beta/generated/device_management/reports/get_enrollment_configuration_policies_by_device/get_enrollment_configuration_policies_by_device_request_builder.py index 03a18645090..15bc2385917 100644 --- a/msgraph_beta/generated/device_management/reports/get_enrollment_configuration_policies_by_device/get_enrollment_configuration_policies_by_device_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_enrollment_configuration_policies_by_device/get_enrollment_configuration_policies_by_device_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetEnrollmentConfigurationPo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_failed_mobile_apps_report/get_failed_mobile_apps_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_failed_mobile_apps_report/get_failed_mobile_apps_report_request_builder.py index 1fb805f10e5..6b86a959867 100644 --- a/msgraph_beta/generated/device_management/reports/get_failed_mobile_apps_report/get_failed_mobile_apps_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_failed_mobile_apps_report/get_failed_mobile_apps_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetFailedMobileAppsReportPos request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_failed_mobile_apps_summary_report/get_failed_mobile_apps_summary_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_failed_mobile_apps_summary_report/get_failed_mobile_apps_summary_report_request_builder.py index b82b7cd4b64..277860ae849 100644 --- a/msgraph_beta/generated/device_management/reports/get_failed_mobile_apps_summary_report/get_failed_mobile_apps_summary_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_failed_mobile_apps_summary_report/get_failed_mobile_apps_summary_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetFailedMobileAppsSummaryRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_group_policy_settings_device_settings_report/get_group_policy_settings_device_settings_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_group_policy_settings_device_settings_report/get_group_policy_settings_device_settings_report_request_builder.py index ef2833a1870..3d1d05f97d2 100644 --- a/msgraph_beta/generated/device_management/reports/get_group_policy_settings_device_settings_report/get_group_policy_settings_device_settings_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_group_policy_settings_device_settings_report/get_group_policy_settings_device_settings_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetGroupPolicySettingsDevice request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_historical_report/get_historical_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_historical_report/get_historical_report_request_builder.py index 4c7a121615c..a03018e0815 100644 --- a/msgraph_beta/generated/device_management/reports/get_historical_report/get_historical_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_historical_report/get_historical_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetHistoricalReportPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_malware_summary_report/get_malware_summary_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_malware_summary_report/get_malware_summary_report_request_builder.py index 201cdc7b293..a11afcac1f2 100644 --- a/msgraph_beta/generated/device_management/reports/get_malware_summary_report/get_malware_summary_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_malware_summary_report/get_malware_summary_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetMalwareSummaryReportPostR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_mobile_application_management_app_configuration_report/get_mobile_application_management_app_configuration_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_mobile_application_management_app_configuration_report/get_mobile_application_management_app_configuration_report_request_builder.py index 9d3b9f5123f..886b2a9b6a9 100644 --- a/msgraph_beta/generated/device_management/reports/get_mobile_application_management_app_configuration_report/get_mobile_application_management_app_configuration_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_mobile_application_management_app_configuration_report/get_mobile_application_management_app_configuration_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetMobileApplicationManageme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_mobile_application_management_app_registration_summary_report/get_mobile_application_management_app_registration_summary_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_mobile_application_management_app_registration_summary_report/get_mobile_application_management_app_registration_summary_report_request_builder.py index 028b28d40f4..ee299afff7d 100644 --- a/msgraph_beta/generated/device_management/reports/get_mobile_application_management_app_registration_summary_report/get_mobile_application_management_app_registration_summary_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_mobile_application_management_app_registration_summary_report/get_mobile_application_management_app_registration_summary_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetMobileApplicationManageme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_noncompliant_devices_and_settings_report/get_noncompliant_devices_and_settings_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_noncompliant_devices_and_settings_report/get_noncompliant_devices_and_settings_report_request_builder.py index 385136e14a2..2951c739b76 100644 --- a/msgraph_beta/generated/device_management/reports/get_noncompliant_devices_and_settings_report/get_noncompliant_devices_and_settings_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_noncompliant_devices_and_settings_report/get_noncompliant_devices_and_settings_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetNoncompliantDevicesAndSet request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_policy_non_compliance_metadata/get_policy_non_compliance_metadata_request_builder.py b/msgraph_beta/generated/device_management/reports/get_policy_non_compliance_metadata/get_policy_non_compliance_metadata_request_builder.py index a8be3130f11..842a8701c60 100644 --- a/msgraph_beta/generated/device_management/reports/get_policy_non_compliance_metadata/get_policy_non_compliance_metadata_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_policy_non_compliance_metadata/get_policy_non_compliance_metadata_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetPolicyNonComplianceMetada request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_policy_non_compliance_report/get_policy_non_compliance_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_policy_non_compliance_report/get_policy_non_compliance_report_request_builder.py index a4c52fce6be..d05dd9f18cc 100644 --- a/msgraph_beta/generated/device_management/reports/get_policy_non_compliance_report/get_policy_non_compliance_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_policy_non_compliance_report/get_policy_non_compliance_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetPolicyNonComplianceReport request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_policy_non_compliance_summary_report/get_policy_non_compliance_summary_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_policy_non_compliance_summary_report/get_policy_non_compliance_summary_report_request_builder.py index 00fc3fb309e..c0cf8c7f44a 100644 --- a/msgraph_beta/generated/device_management/reports/get_policy_non_compliance_summary_report/get_policy_non_compliance_summary_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_policy_non_compliance_summary_report/get_policy_non_compliance_summary_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetPolicyNonComplianceSummar request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_quiet_time_policy_user_summary_report/get_quiet_time_policy_user_summary_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_quiet_time_policy_user_summary_report/get_quiet_time_policy_user_summary_report_request_builder.py index afb1b170501..71bdf07a77f 100644 --- a/msgraph_beta/generated/device_management/reports/get_quiet_time_policy_user_summary_report/get_quiet_time_policy_user_summary_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_quiet_time_policy_user_summary_report/get_quiet_time_policy_user_summary_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetQuietTimePolicyUserSummar request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_quiet_time_policy_users_report/get_quiet_time_policy_users_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_quiet_time_policy_users_report/get_quiet_time_policy_users_report_request_builder.py index bdf1efbc262..186c3ce8324 100644 --- a/msgraph_beta/generated/device_management/reports/get_quiet_time_policy_users_report/get_quiet_time_policy_users_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_quiet_time_policy_users_report/get_quiet_time_policy_users_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetQuietTimePolicyUsersRepor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_related_apps_status_report/get_related_apps_status_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_related_apps_status_report/get_related_apps_status_report_request_builder.py index d6b5419c03c..ec029287d42 100644 --- a/msgraph_beta/generated/device_management/reports/get_related_apps_status_report/get_related_apps_status_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_related_apps_status_report/get_related_apps_status_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetRelatedAppsStatusReportPo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_remote_assistance_sessions_report/get_remote_assistance_sessions_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_remote_assistance_sessions_report/get_remote_assistance_sessions_report_request_builder.py index 7391b19db4f..79feff80acd 100644 --- a/msgraph_beta/generated/device_management/reports/get_remote_assistance_sessions_report/get_remote_assistance_sessions_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_remote_assistance_sessions_report/get_remote_assistance_sessions_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetRemoteAssistanceSessionsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_report_filters/get_report_filters_request_builder.py b/msgraph_beta/generated/device_management/reports/get_report_filters/get_report_filters_request_builder.py index a1695114013..c176eb30fb6 100644 --- a/msgraph_beta/generated/device_management/reports/get_report_filters/get_report_filters_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_report_filters/get_report_filters_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetReportFiltersPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_setting_non_compliance_report/get_setting_non_compliance_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_setting_non_compliance_report/get_setting_non_compliance_report_request_builder.py index 891629cf333..43fda76b3b3 100644 --- a/msgraph_beta/generated/device_management/reports/get_setting_non_compliance_report/get_setting_non_compliance_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_setting_non_compliance_report/get_setting_non_compliance_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetSettingNonComplianceRepor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_unhealthy_defender_agents_report/get_unhealthy_defender_agents_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_unhealthy_defender_agents_report/get_unhealthy_defender_agents_report_request_builder.py index 12d690fa580..be8a51bd739 100644 --- a/msgraph_beta/generated/device_management/reports/get_unhealthy_defender_agents_report/get_unhealthy_defender_agents_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_unhealthy_defender_agents_report/get_unhealthy_defender_agents_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetUnhealthyDefenderAgentsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_unhealthy_firewall_report/get_unhealthy_firewall_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_unhealthy_firewall_report/get_unhealthy_firewall_report_request_builder.py index f300e589290..c2fe991c850 100644 --- a/msgraph_beta/generated/device_management/reports/get_unhealthy_firewall_report/get_unhealthy_firewall_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_unhealthy_firewall_report/get_unhealthy_firewall_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetUnhealthyFirewallReportPo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_unhealthy_firewall_summary_report/get_unhealthy_firewall_summary_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_unhealthy_firewall_summary_report/get_unhealthy_firewall_summary_report_request_builder.py index e3a7213ead2..19ee23c383d 100644 --- a/msgraph_beta/generated/device_management/reports/get_unhealthy_firewall_summary_report/get_unhealthy_firewall_summary_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_unhealthy_firewall_summary_report/get_unhealthy_firewall_summary_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetUnhealthyFirewallSummaryR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_user_install_status_report/get_user_install_status_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_user_install_status_report/get_user_install_status_report_request_builder.py index bdc47028e1b..bf45ec1a6dd 100644 --- a/msgraph_beta/generated/device_management/reports/get_user_install_status_report/get_user_install_status_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_user_install_status_report/get_user_install_status_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetUserInstallStatusReportPo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_windows_driver_update_alert_summary_report/get_windows_driver_update_alert_summary_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_windows_driver_update_alert_summary_report/get_windows_driver_update_alert_summary_report_request_builder.py index b7b80c11759..4cd79b93f1c 100644 --- a/msgraph_beta/generated/device_management/reports/get_windows_driver_update_alert_summary_report/get_windows_driver_update_alert_summary_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_windows_driver_update_alert_summary_report/get_windows_driver_update_alert_summary_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetWindowsDriverUpdateAlertS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_windows_driver_update_alerts_per_policy_per_device_report/get_windows_driver_update_alerts_per_policy_per_device_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_windows_driver_update_alerts_per_policy_per_device_report/get_windows_driver_update_alerts_per_policy_per_device_report_request_builder.py index 06b42551433..255f8eac4f7 100644 --- a/msgraph_beta/generated/device_management/reports/get_windows_driver_update_alerts_per_policy_per_device_report/get_windows_driver_update_alerts_per_policy_per_device_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_windows_driver_update_alerts_per_policy_per_device_report/get_windows_driver_update_alerts_per_policy_per_device_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetWindowsDriverUpdateAlerts request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_windows_quality_update_alert_summary_report/get_windows_quality_update_alert_summary_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_windows_quality_update_alert_summary_report/get_windows_quality_update_alert_summary_report_request_builder.py index 2c61c802a33..173003548a7 100644 --- a/msgraph_beta/generated/device_management/reports/get_windows_quality_update_alert_summary_report/get_windows_quality_update_alert_summary_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_windows_quality_update_alert_summary_report/get_windows_quality_update_alert_summary_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetWindowsQualityUpdateAlert request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_windows_quality_update_alerts_per_policy_per_device_report/get_windows_quality_update_alerts_per_policy_per_device_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_windows_quality_update_alerts_per_policy_per_device_report/get_windows_quality_update_alerts_per_policy_per_device_report_request_builder.py index a7ce6453f2a..4afe3b39c96 100644 --- a/msgraph_beta/generated/device_management/reports/get_windows_quality_update_alerts_per_policy_per_device_report/get_windows_quality_update_alerts_per_policy_per_device_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_windows_quality_update_alerts_per_policy_per_device_report/get_windows_quality_update_alerts_per_policy_per_device_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetWindowsQualityUpdateAlert request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_windows_update_alert_summary_report/get_windows_update_alert_summary_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_windows_update_alert_summary_report/get_windows_update_alert_summary_report_request_builder.py index fbb666f125d..286a18c26fc 100644 --- a/msgraph_beta/generated/device_management/reports/get_windows_update_alert_summary_report/get_windows_update_alert_summary_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_windows_update_alert_summary_report/get_windows_update_alert_summary_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetWindowsUpdateAlertSummary request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_windows_update_alerts_per_policy_per_device_report/get_windows_update_alerts_per_policy_per_device_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_windows_update_alerts_per_policy_per_device_report/get_windows_update_alerts_per_policy_per_device_report_request_builder.py index 420b8e70b15..e8cd6613d0d 100644 --- a/msgraph_beta/generated/device_management/reports/get_windows_update_alerts_per_policy_per_device_report/get_windows_update_alerts_per_policy_per_device_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_windows_update_alerts_per_policy_per_device_report/get_windows_update_alerts_per_policy_per_device_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetWindowsUpdateAlertsPerPol request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/get_zebra_fota_deployment_report/get_zebra_fota_deployment_report_request_builder.py b/msgraph_beta/generated/device_management/reports/get_zebra_fota_deployment_report/get_zebra_fota_deployment_report_request_builder.py index 22fb1cff2be..a4150236163 100644 --- a/msgraph_beta/generated/device_management/reports/get_zebra_fota_deployment_report/get_zebra_fota_deployment_report_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/get_zebra_fota_deployment_report/get_zebra_fota_deployment_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[GetZebraFotaDeploymentReport request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reports/reports_request_builder.py b/msgraph_beta/generated/device_management/reports/reports_request_builder.py index 8d3270d935c..72a9ad6d87c 100644 --- a/msgraph_beta/generated/device_management/reports/reports_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/reports_request_builder.py @@ -175,7 +175,7 @@ def to_delete_request_information(self,request_configuration: Optional[ReportsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ReportsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -192,7 +192,7 @@ def to_get_request_information(self,request_configuration: Optional[ReportsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementReports] = None, request_configuration: Optional[ReportsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -211,7 +211,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementReports] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/resource_access_profiles/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_management/resource_access_profiles/item/assign/assign_request_builder.py index 1ed4eb20abc..f26cdbd85e0 100644 --- a/msgraph_beta/generated/device_management/resource_access_profiles/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_management/resource_access_profiles/item/assign/assign_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/resource_access_profiles/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_management/resource_access_profiles/item/assignments/assignments_request_builder.py index 8c3120af2c7..45c0b03b098 100644 --- a/msgraph_beta/generated/device_management/resource_access_profiles/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/resource_access_profiles/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementResourceAccessProfileAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementResourceAcce request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/resource_access_profiles/item/assignments/item/device_management_resource_access_profile_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/resource_access_profiles/item/assignments/item/device_management_resource_access_profile_assignment_item_request_builder.py index 89631717672..3ec9e794b78 100644 --- a/msgraph_beta/generated/device_management/resource_access_profiles/item/assignments/item/device_management_resource_access_profile_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/resource_access_profiles/item/assignments/item/device_management_resource_access_profile_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementResourceAccessProfileAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementResourceAccessProfileAssignment] = None, request_configuration: Optional[DeviceManagementResourceAccessProfileAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementResourceAcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/resource_access_profiles/item/device_management_resource_access_profile_base_item_request_builder.py b/msgraph_beta/generated/device_management/resource_access_profiles/item/device_management_resource_access_profile_base_item_request_builder.py index 71a2974a4d3..e3be0a98d43 100644 --- a/msgraph_beta/generated/device_management/resource_access_profiles/item/device_management_resource_access_profile_base_item_request_builder.py +++ b/msgraph_beta/generated/device_management/resource_access_profiles/item/device_management_resource_access_profile_base_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementResourceAccessProfileBaseItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementResourceAccessProfileBase] = None, request_configuration: Optional[DeviceManagementResourceAccessProfileBaseItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementResourceAcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/resource_access_profiles/query_by_platform_type/query_by_platform_type_request_builder.py b/msgraph_beta/generated/device_management/resource_access_profiles/query_by_platform_type/query_by_platform_type_request_builder.py index df8d2a67d2a..3035626e794 100644 --- a/msgraph_beta/generated/device_management/resource_access_profiles/query_by_platform_type/query_by_platform_type_request_builder.py +++ b/msgraph_beta/generated/device_management/resource_access_profiles/query_by_platform_type/query_by_platform_type_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[QueryByPlatformTypePostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/resource_access_profiles/resource_access_profiles_request_builder.py b/msgraph_beta/generated/device_management/resource_access_profiles/resource_access_profiles_request_builder.py index a09de20bb6c..332f0603649 100644 --- a/msgraph_beta/generated/device_management/resource_access_profiles/resource_access_profiles_request_builder.py +++ b/msgraph_beta/generated/device_management/resource_access_profiles/resource_access_profiles_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceAcce request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementResourceAccessProfileBase] = None, request_configuration: Optional[ResourceAccessProfilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementResourceAcce request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/resource_operations/item/get_scopes_for_user_with_userid/get_scopes_for_user_with_userid_request_builder.py b/msgraph_beta/generated/device_management/resource_operations/item/get_scopes_for_user_with_userid/get_scopes_for_user_with_userid_request_builder.py index a8899742edf..52cd70d22bb 100644 --- a/msgraph_beta/generated/device_management/resource_operations/item/get_scopes_for_user_with_userid/get_scopes_for_user_with_userid_request_builder.py +++ b/msgraph_beta/generated/device_management/resource_operations/item/get_scopes_for_user_with_userid/get_scopes_for_user_with_userid_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GetScopesFor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetScopesForUserWithUseridRequestBuilder: diff --git a/msgraph_beta/generated/device_management/resource_operations/item/resource_operation_item_request_builder.py b/msgraph_beta/generated/device_management/resource_operations/item/resource_operation_item_request_builder.py index 51f43b7d683..7c5262b8f1f 100644 --- a/msgraph_beta/generated/device_management/resource_operations/item/resource_operation_item_request_builder.py +++ b/msgraph_beta/generated/device_management/resource_operations/item/resource_operation_item_request_builder.py @@ -116,7 +116,7 @@ def to_delete_request_information(self,request_configuration: Optional[ResourceO request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ResourceOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -133,7 +133,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceOper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ResourceOperation] = None, request_configuration: Optional[ResourceOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -152,7 +152,7 @@ def to_patch_request_information(self,body: Optional[ResourceOperation] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/resource_operations/resource_operations_request_builder.py b/msgraph_beta/generated/device_management/resource_operations/resource_operations_request_builder.py index dea3b2f9142..1aee7a47661 100644 --- a/msgraph_beta/generated/device_management/resource_operations/resource_operations_request_builder.py +++ b/msgraph_beta/generated/device_management/resource_operations/resource_operations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceOper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ResourceOperation] = None, request_configuration: Optional[ResourceOperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ResourceOperation] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reusable_policy_settings/item/clone/clone_request_builder.py b/msgraph_beta/generated/device_management/reusable_policy_settings/item/clone/clone_request_builder.py index 757c1989ce9..66ce70bfb0e 100644 --- a/msgraph_beta/generated/device_management/reusable_policy_settings/item/clone/clone_request_builder.py +++ b/msgraph_beta/generated/device_management/reusable_policy_settings/item/clone/clone_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[CloneReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CloneRequestBuilder: diff --git a/msgraph_beta/generated/device_management/reusable_policy_settings/item/device_management_reusable_policy_setting_item_request_builder.py b/msgraph_beta/generated/device_management/reusable_policy_settings/item/device_management_reusable_policy_setting_item_request_builder.py index cb5b55bf6f6..b48b9535ec6 100644 --- a/msgraph_beta/generated/device_management/reusable_policy_settings/item/device_management_reusable_policy_setting_item_request_builder.py +++ b/msgraph_beta/generated/device_management/reusable_policy_settings/item/device_management_reusable_policy_setting_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementReusablePolicySettingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementReusablePolicySetting] = None, request_configuration: Optional[DeviceManagementReusablePolicySettingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementReusablePol request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assign/assign_request_builder.py index 3f60447c259..633ec82ccf9 100644 --- a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assign/assign_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assignments/assignments_request_builder.py index f21f489ff13..e9129ecc90b 100644 --- a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementConfigurationPolicyAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementConfiguratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assignments/item/device_management_configuration_policy_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assignments/item/device_management_configuration_policy_assignment_item_request_builder.py index 83d1435c431..c6f7b09fae6 100644 --- a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assignments/item/device_management_configuration_policy_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/assignments/item/device_management_configuration_policy_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementConfigurationPolicyAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementConfigurationPolicyAssignment] = None, request_configuration: Optional[DeviceManagementConfigurationPolicyAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementConfigurati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/create_copy/create_copy_request_builder.py b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/create_copy/create_copy_request_builder.py index e5b7f3076ae..d7c1164631c 100644 --- a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/create_copy/create_copy_request_builder.py +++ b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/create_copy/create_copy_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CreateCopyPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/device_management_configuration_policy_item_request_builder.py b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/device_management_configuration_policy_item_request_builder.py index 3d536df8896..0637f8a0671 100644 --- a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/device_management_configuration_policy_item_request_builder.py +++ b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/device_management_configuration_policy_item_request_builder.py @@ -16,6 +16,7 @@ from .assignments.assignments_request_builder import AssignmentsRequestBuilder from .create_copy.create_copy_request_builder import CreateCopyRequestBuilder from .reorder.reorder_request_builder import ReorderRequestBuilder + from .retrieve_latest_upgrade_default_baseline_policy.retrieve_latest_upgrade_default_baseline_policy_request_builder import RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder from .settings.settings_request_builder import SettingsRequestBuilder class DeviceManagementConfigurationPolicyItemRequestBuilder(BaseRequestBuilder): @@ -108,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementConfigurationPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementConfigurationPolicy] = None, request_configuration: Optional[DeviceManagementConfigurationPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +145,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementConfigurati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -194,6 +195,15 @@ def reorder(self) -> ReorderRequestBuilder: return ReorderRequestBuilder(self.request_adapter, self.path_parameters) + @property + def retrieve_latest_upgrade_default_baseline_policy(self) -> RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder: + """ + Provides operations to call the retrieveLatestUpgradeDefaultBaselinePolicy method. + """ + from .retrieve_latest_upgrade_default_baseline_policy.retrieve_latest_upgrade_default_baseline_policy_request_builder import RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder + + return RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder(self.request_adapter, self.path_parameters) + @property def settings(self) -> SettingsRequestBuilder: """ diff --git a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/reorder/reorder_request_builder.py b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/reorder/reorder_request_builder.py index a08b998fbe7..ebed2cf01c5 100644 --- a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/reorder/reorder_request_builder.py +++ b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/reorder/reorder_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ReorderPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/retrieve_latest_upgrade_default_baseline_policy/retrieve_latest_upgrade_default_baseline_policy_request_builder.py b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/retrieve_latest_upgrade_default_baseline_policy/retrieve_latest_upgrade_default_baseline_policy_request_builder.py new file mode 100644 index 00000000000..16dbb5e5108 --- /dev/null +++ b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/retrieve_latest_upgrade_default_baseline_policy/retrieve_latest_upgrade_default_baseline_policy_request_builder.py @@ -0,0 +1,86 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.device_management_configuration_policy import DeviceManagementConfigurationPolicy + from .......models.o_data_errors.o_data_error import ODataError + +class RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the retrieveLatestUpgradeDefaultBaselinePolicy method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder 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/reusablePolicySettings/{deviceManagementReusablePolicySetting%2Did}/referencingConfigurationPolicies/{deviceManagementConfigurationPolicy%2Did}/retrieveLatestUpgradeDefaultBaselinePolicy()", path_parameters) + + async def get(self,request_configuration: Optional[RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilderGetRequestConfiguration] = None) -> Optional[DeviceManagementConfigurationPolicy]: + """ + Invoke function retrieveLatestUpgradeDefaultBaselinePolicy + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DeviceManagementConfigurationPolicy] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.device_management_configuration_policy import DeviceManagementConfigurationPolicy + + return await self.request_adapter.send_async(request_info, DeviceManagementConfigurationPolicy, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Invoke function retrieveLatestUpgradeDefaultBaselinePolicy + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder: + """ + 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: RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/settings/item/device_management_configuration_setting_item_request_builder.py b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/settings/item/device_management_configuration_setting_item_request_builder.py index 597cba9380a..5f896c99fd4 100644 --- a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/settings/item/device_management_configuration_setting_item_request_builder.py +++ b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/settings/item/device_management_configuration_setting_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementConfigurationSettingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementConfigurationSetting] = None, request_configuration: Optional[DeviceManagementConfigurationSettingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementConfigurati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/settings/item/setting_definitions/item/device_management_configuration_setting_definition_item_request_builder.py b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/settings/item/setting_definitions/item/device_management_configuration_setting_definition_item_request_builder.py index 43f22b4bf63..af977690ed3 100644 --- a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/settings/item/setting_definitions/item/device_management_configuration_setting_definition_item_request_builder.py +++ b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/settings/item/setting_definitions/item/device_management_configuration_setting_definition_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeviceManagementConfigurationSettingDefinitionItemRequestBuilder: diff --git a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/settings/item/setting_definitions/setting_definitions_request_builder.py b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/settings/item/setting_definitions/setting_definitions_request_builder.py index 4988dd91d80..3e7e407b816 100644 --- a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/settings/item/setting_definitions/setting_definitions_request_builder.py +++ b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/settings/item/setting_definitions/setting_definitions_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SettingDefinitionsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/settings/settings_request_builder.py b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/settings/settings_request_builder.py index e6fa70a3489..92c95df261a 100644 --- a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/settings/settings_request_builder.py +++ b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/item/settings/settings_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementConfigurationSetting] = None, request_configuration: Optional[SettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementConfiguratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/referencing_configuration_policies_request_builder.py b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/referencing_configuration_policies_request_builder.py index e32ac843a93..196a798b297 100644 --- a/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/referencing_configuration_policies_request_builder.py +++ b/msgraph_beta/generated/device_management/reusable_policy_settings/item/referencing_configuration_policies/referencing_configuration_policies_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ReferencingC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementConfigurationPolicy] = None, request_configuration: Optional[ReferencingConfigurationPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementConfiguratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reusable_policy_settings/reusable_policy_settings_request_builder.py b/msgraph_beta/generated/device_management/reusable_policy_settings/reusable_policy_settings_request_builder.py index 38b1831a4e6..9d38afe5c0e 100644 --- a/msgraph_beta/generated/device_management/reusable_policy_settings/reusable_policy_settings_request_builder.py +++ b/msgraph_beta/generated/device_management/reusable_policy_settings/reusable_policy_settings_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ReusablePoli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementReusablePolicySetting] = None, request_configuration: Optional[ReusablePolicySettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementReusablePoli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reusable_settings/item/device_management_configuration_setting_definition_item_request_builder.py b/msgraph_beta/generated/device_management/reusable_settings/item/device_management_configuration_setting_definition_item_request_builder.py index bc29f3cffa3..ab32875586a 100644 --- a/msgraph_beta/generated/device_management/reusable_settings/item/device_management_configuration_setting_definition_item_request_builder.py +++ b/msgraph_beta/generated/device_management/reusable_settings/item/device_management_configuration_setting_definition_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementConfigurationSettingDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementConfigurationSettingDefinition] = None, request_configuration: Optional[DeviceManagementConfigurationSettingDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementConfigurati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/reusable_settings/reusable_settings_request_builder.py b/msgraph_beta/generated/device_management/reusable_settings/reusable_settings_request_builder.py index 5af66a4d08a..91c9821d219 100644 --- a/msgraph_beta/generated/device_management/reusable_settings/reusable_settings_request_builder.py +++ b/msgraph_beta/generated/device_management/reusable_settings/reusable_settings_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ReusableSett request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementConfigurationSettingDefinition] = None, request_configuration: Optional[ReusableSettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementConfiguratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/role_assignments/item/device_and_app_management_role_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/role_assignments/item/device_and_app_management_role_assignment_item_request_builder.py index f92ad9b6649..a8b5bd5ff1a 100644 --- a/msgraph_beta/generated/device_management/role_assignments/item/device_and_app_management_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/role_assignments/item/device_and_app_management_role_assignment_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceAnd request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceAndAppManagementRoleAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceAndApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceAndAppManagementRoleAssignment] = None, request_configuration: Optional[DeviceAndAppManagementRoleAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[DeviceAndAppManagementRoleA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/role_assignments/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/device_management/role_assignments/item/role_definition/role_definition_request_builder.py index 1bea5a4f81b..dd460d9ba1d 100644 --- a/msgraph_beta/generated/device_management/role_assignments/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/device_management/role_assignments/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/device_management/role_assignments/item/role_scope_tags/item/role_scope_tag_item_request_builder.py b/msgraph_beta/generated/device_management/role_assignments/item/role_scope_tags/item/role_scope_tag_item_request_builder.py index 4794d08a4ff..a667ae0796a 100644 --- a/msgraph_beta/generated/device_management/role_assignments/item/role_scope_tags/item/role_scope_tag_item_request_builder.py +++ b/msgraph_beta/generated/device_management/role_assignments/item/role_scope_tags/item/role_scope_tag_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleScopeTag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleScopeTagItemRequestBuilder: diff --git a/msgraph_beta/generated/device_management/role_assignments/item/role_scope_tags/role_scope_tags_request_builder.py b/msgraph_beta/generated/device_management/role_assignments/item/role_scope_tags/role_scope_tags_request_builder.py index 047e4bc1160..925ceefeb63 100644 --- a/msgraph_beta/generated/device_management/role_assignments/item/role_scope_tags/role_scope_tags_request_builder.py +++ b/msgraph_beta/generated/device_management/role_assignments/item/role_scope_tags/role_scope_tags_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleScopeTag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleScopeTagsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/role_assignments/role_assignments_request_builder.py b/msgraph_beta/generated/device_management/role_assignments/role_assignments_request_builder.py index 752424dc3af..a558ae32edb 100644 --- a/msgraph_beta/generated/device_management/role_assignments/role_assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/role_assignments/role_assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleAssignme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceAndAppManagementRoleAssignment] = None, request_configuration: Optional[RoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceAndAppManagementRoleAs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/role_definitions/item/role_assignments/item/role_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/role_definitions/item/role_assignments/item/role_assignment_item_request_builder.py index c00369dee48..457141585e0 100644 --- a/msgraph_beta/generated/device_management/role_definitions/item/role_assignments/item/role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/role_definitions/item/role_assignments/item/role_assignment_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RoleAssig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RoleAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleAssignme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RoleAssignment] = None, request_configuration: Optional[RoleAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[RoleAssignment] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/role_definitions/item/role_assignments/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/device_management/role_definitions/item/role_assignments/item/role_definition/role_definition_request_builder.py index 40b554fd6ab..bf6bd54311a 100644 --- a/msgraph_beta/generated/device_management/role_definitions/item/role_assignments/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/device_management/role_definitions/item/role_assignments/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/device_management/role_definitions/item/role_assignments/role_assignments_request_builder.py b/msgraph_beta/generated/device_management/role_definitions/item/role_assignments/role_assignments_request_builder.py index ee3da3dffea..aa80a614489 100644 --- a/msgraph_beta/generated/device_management/role_definitions/item/role_assignments/role_assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/role_definitions/item/role_assignments/role_assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleAssignme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[RoleAssignment] = None, request_configuration: Optional[RoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[RoleAssignment] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/role_definitions/item/role_definition_item_request_builder.py b/msgraph_beta/generated/device_management/role_definitions/item/role_definition_item_request_builder.py index 70740cf9573..faa5a955649 100644 --- a/msgraph_beta/generated/device_management/role_definitions/item/role_definition_item_request_builder.py +++ b/msgraph_beta/generated/device_management/role_definitions/item/role_definition_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RoleDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RoleDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RoleDefinition] = None, request_configuration: Optional[RoleDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[RoleDefinition] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/role_definitions/role_definitions_request_builder.py b/msgraph_beta/generated/device_management/role_definitions/role_definitions_request_builder.py index b0b3d2210eb..46a1f8c3dfe 100644 --- a/msgraph_beta/generated/device_management/role_definitions/role_definitions_request_builder.py +++ b/msgraph_beta/generated/device_management/role_definitions/role_definitions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[RoleDefinition] = None, request_configuration: Optional[RoleDefinitionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[RoleDefinition] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/role_scope_tags/get_role_scope_tags_by_id/get_role_scope_tags_by_id_request_builder.py b/msgraph_beta/generated/device_management/role_scope_tags/get_role_scope_tags_by_id/get_role_scope_tags_by_id_request_builder.py index dc8090d4039..ca031e63437 100644 --- a/msgraph_beta/generated/device_management/role_scope_tags/get_role_scope_tags_by_id/get_role_scope_tags_by_id_request_builder.py +++ b/msgraph_beta/generated/device_management/role_scope_tags/get_role_scope_tags_by_id/get_role_scope_tags_by_id_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GetRoleScopeTagsByIdPostRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/role_scope_tags/has_custom_role_scope_tag/has_custom_role_scope_tag_request_builder.py b/msgraph_beta/generated/device_management/role_scope_tags/has_custom_role_scope_tag/has_custom_role_scope_tag_request_builder.py index d2f74b68bbb..e5010c0ad42 100644 --- a/msgraph_beta/generated/device_management/role_scope_tags/has_custom_role_scope_tag/has_custom_role_scope_tag_request_builder.py +++ b/msgraph_beta/generated/device_management/role_scope_tags/has_custom_role_scope_tag/has_custom_role_scope_tag_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[HasCustomRol request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> HasCustomRoleScopeTagRequestBuilder: diff --git a/msgraph_beta/generated/device_management/role_scope_tags/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_management/role_scope_tags/item/assign/assign_request_builder.py index 760632def5c..5af1604b326 100644 --- a/msgraph_beta/generated/device_management/role_scope_tags/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_management/role_scope_tags/item/assign/assign_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/role_scope_tags/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_management/role_scope_tags/item/assignments/assignments_request_builder.py index aa1f1823091..1993527fd85 100644 --- a/msgraph_beta/generated/device_management/role_scope_tags/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/role_scope_tags/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[RoleScopeTagAutoAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[RoleScopeTagAutoAssignment] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/role_scope_tags/item/assignments/item/role_scope_tag_auto_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/role_scope_tags/item/assignments/item/role_scope_tag_auto_assignment_item_request_builder.py index a3806b9ef15..2c903e75ad9 100644 --- a/msgraph_beta/generated/device_management/role_scope_tags/item/assignments/item/role_scope_tag_auto_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/role_scope_tags/item/assignments/item/role_scope_tag_auto_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RoleScope request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RoleScopeTagAutoAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleScopeTag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RoleScopeTagAutoAssignment] = None, request_configuration: Optional[RoleScopeTagAutoAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[RoleScopeTagAutoAssignment] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/role_scope_tags/item/role_scope_tag_item_request_builder.py b/msgraph_beta/generated/device_management/role_scope_tags/item/role_scope_tag_item_request_builder.py index 05847f4cd58..6e54b24f636 100644 --- a/msgraph_beta/generated/device_management/role_scope_tags/item/role_scope_tag_item_request_builder.py +++ b/msgraph_beta/generated/device_management/role_scope_tags/item/role_scope_tag_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RoleScope request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RoleScopeTagItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleScopeTag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RoleScopeTag] = None, request_configuration: Optional[RoleScopeTagItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[RoleScopeTag] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/role_scope_tags/role_scope_tags_request_builder.py b/msgraph_beta/generated/device_management/role_scope_tags/role_scope_tags_request_builder.py index a5221436e55..78295ec1bbb 100644 --- a/msgraph_beta/generated/device_management/role_scope_tags/role_scope_tags_request_builder.py +++ b/msgraph_beta/generated/device_management/role_scope_tags/role_scope_tags_request_builder.py @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleScopeTag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[RoleScopeTag] = None, request_configuration: Optional[RoleScopeTagsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[RoleScopeTag] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/scoped_for_resource_with_resource/scoped_for_resource_with_resource_request_builder.py b/msgraph_beta/generated/device_management/scoped_for_resource_with_resource/scoped_for_resource_with_resource_request_builder.py index 1cd71b8ac39..b08aac36c2c 100644 --- a/msgraph_beta/generated/device_management/scoped_for_resource_with_resource/scoped_for_resource_with_resource_request_builder.py +++ b/msgraph_beta/generated/device_management/scoped_for_resource_with_resource/scoped_for_resource_with_resource_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[ScopedForRes request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ScopedForResourceWithResourceRequestBuilder: diff --git a/msgraph_beta/generated/device_management/send_custom_notification_to_company_portal/send_custom_notification_to_company_portal_request_builder.py b/msgraph_beta/generated/device_management/send_custom_notification_to_company_portal/send_custom_notification_to_company_portal_request_builder.py index 22828be377e..70845a682a2 100644 --- a/msgraph_beta/generated/device_management/send_custom_notification_to_company_portal/send_custom_notification_to_company_portal_request_builder.py +++ b/msgraph_beta/generated/device_management/send_custom_notification_to_company_portal/send_custom_notification_to_company_portal_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SendCustomNotificationToComp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/service_now_connections/item/service_now_connection_item_request_builder.py b/msgraph_beta/generated/device_management/service_now_connections/item/service_now_connection_item_request_builder.py index 0683cf2c5fa..a053505cb58 100644 --- a/msgraph_beta/generated/device_management/service_now_connections/item/service_now_connection_item_request_builder.py +++ b/msgraph_beta/generated/device_management/service_now_connections/item/service_now_connection_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ServiceNo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ServiceNowConnectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceNowCo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ServiceNowConnection] = None, request_configuration: Optional[ServiceNowConnectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ServiceNowConnection] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/service_now_connections/service_now_connections_request_builder.py b/msgraph_beta/generated/device_management/service_now_connections/service_now_connections_request_builder.py index 94b56428a1a..c33d473a2ab 100644 --- a/msgraph_beta/generated/device_management/service_now_connections/service_now_connections_request_builder.py +++ b/msgraph_beta/generated/device_management/service_now_connections/service_now_connections_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceNowCo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ServiceNowConnection] = None, request_configuration: Optional[ServiceNowConnectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ServiceNowConnection] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/setting_definitions/item/device_management_setting_definition_item_request_builder.py b/msgraph_beta/generated/device_management/setting_definitions/item/device_management_setting_definition_item_request_builder.py index a3cc45e4a84..4e9524f7fd6 100644 --- a/msgraph_beta/generated/device_management/setting_definitions/item/device_management_setting_definition_item_request_builder.py +++ b/msgraph_beta/generated/device_management/setting_definitions/item/device_management_setting_definition_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementSettingDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementSettingDefinition] = None, request_configuration: Optional[DeviceManagementSettingDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementSettingDefi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/setting_definitions/setting_definitions_request_builder.py b/msgraph_beta/generated/device_management/setting_definitions/setting_definitions_request_builder.py index 3fe037b7e72..be54bb91bc9 100644 --- a/msgraph_beta/generated/device_management/setting_definitions/setting_definitions_request_builder.py +++ b/msgraph_beta/generated/device_management/setting_definitions/setting_definitions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementSettingDefinition] = None, request_configuration: Optional[SettingDefinitionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementSettingDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/software_update_status_summary/software_update_status_summary_request_builder.py b/msgraph_beta/generated/device_management/software_update_status_summary/software_update_status_summary_request_builder.py index ebbf62c7307..8dca9d7a330 100644 --- a/msgraph_beta/generated/device_management/software_update_status_summary/software_update_status_summary_request_builder.py +++ b/msgraph_beta/generated/device_management/software_update_status_summary/software_update_status_summary_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SoftwareUpda request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SoftwareUpdateStatusSummaryRequestBuilder: diff --git a/msgraph_beta/generated/device_management/telecom_expense_management_partners/item/telecom_expense_management_partner_item_request_builder.py b/msgraph_beta/generated/device_management/telecom_expense_management_partners/item/telecom_expense_management_partner_item_request_builder.py index 7851a25f753..a740c2f5d7c 100644 --- a/msgraph_beta/generated/device_management/telecom_expense_management_partners/item/telecom_expense_management_partner_item_request_builder.py +++ b/msgraph_beta/generated/device_management/telecom_expense_management_partners/item/telecom_expense_management_partner_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[TelecomEx request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TelecomExpenseManagementPartnerItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[TelecomExpen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TelecomExpenseManagementPartner] = None, request_configuration: Optional[TelecomExpenseManagementPartnerItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[TelecomExpenseManagementPar request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/telecom_expense_management_partners/telecom_expense_management_partners_request_builder.py b/msgraph_beta/generated/device_management/telecom_expense_management_partners/telecom_expense_management_partners_request_builder.py index 54330aa47b6..d63b5a806f1 100644 --- a/msgraph_beta/generated/device_management/telecom_expense_management_partners/telecom_expense_management_partners_request_builder.py +++ b/msgraph_beta/generated/device_management/telecom_expense_management_partners/telecom_expense_management_partners_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[TelecomExpen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TelecomExpenseManagementPartner] = None, request_configuration: Optional[TelecomExpenseManagementPartnersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[TelecomExpenseManagementPart request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/template_insights/item/device_management_template_insights_definition_item_request_builder.py b/msgraph_beta/generated/device_management/template_insights/item/device_management_template_insights_definition_item_request_builder.py index adff8df0344..777c725222c 100644 --- a/msgraph_beta/generated/device_management/template_insights/item/device_management_template_insights_definition_item_request_builder.py +++ b/msgraph_beta/generated/device_management/template_insights/item/device_management_template_insights_definition_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementTemplateInsightsDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementTemplateInsightsDefinition] = None, request_configuration: Optional[DeviceManagementTemplateInsightsDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementTemplateIns request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/template_insights/template_insights_request_builder.py b/msgraph_beta/generated/device_management/template_insights/template_insights_request_builder.py index e9a0b3dbf4b..c52f8ab7eda 100644 --- a/msgraph_beta/generated/device_management/template_insights/template_insights_request_builder.py +++ b/msgraph_beta/generated/device_management/template_insights/template_insights_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[TemplateInsi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementTemplateInsightsDefinition] = None, request_configuration: Optional[TemplateInsightsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementTemplateInsi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/template_settings/item/device_management_configuration_setting_template_item_request_builder.py b/msgraph_beta/generated/device_management/template_settings/item/device_management_configuration_setting_template_item_request_builder.py index f0c327f7881..35e541f6688 100644 --- a/msgraph_beta/generated/device_management/template_settings/item/device_management_configuration_setting_template_item_request_builder.py +++ b/msgraph_beta/generated/device_management/template_settings/item/device_management_configuration_setting_template_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementConfigurationSettingTemplateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementConfigurationSettingTemplate] = None, request_configuration: Optional[DeviceManagementConfigurationSettingTemplateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementConfigurati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/template_settings/item/setting_definitions/item/device_management_configuration_setting_definition_item_request_builder.py b/msgraph_beta/generated/device_management/template_settings/item/setting_definitions/item/device_management_configuration_setting_definition_item_request_builder.py index b8cffd03299..50071b4bb8f 100644 --- a/msgraph_beta/generated/device_management/template_settings/item/setting_definitions/item/device_management_configuration_setting_definition_item_request_builder.py +++ b/msgraph_beta/generated/device_management/template_settings/item/setting_definitions/item/device_management_configuration_setting_definition_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementConfigurationSettingDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementConfigurationSettingDefinition] = None, request_configuration: Optional[DeviceManagementConfigurationSettingDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementConfigurati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/template_settings/item/setting_definitions/setting_definitions_request_builder.py b/msgraph_beta/generated/device_management/template_settings/item/setting_definitions/setting_definitions_request_builder.py index fad5b862ae4..ee89264aa77 100644 --- a/msgraph_beta/generated/device_management/template_settings/item/setting_definitions/setting_definitions_request_builder.py +++ b/msgraph_beta/generated/device_management/template_settings/item/setting_definitions/setting_definitions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementConfigurationSettingDefinition] = None, request_configuration: Optional[SettingDefinitionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementConfiguratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/template_settings/template_settings_request_builder.py b/msgraph_beta/generated/device_management/template_settings/template_settings_request_builder.py index 4e656e9fccb..9994fc566c0 100644 --- a/msgraph_beta/generated/device_management/template_settings/template_settings_request_builder.py +++ b/msgraph_beta/generated/device_management/template_settings/template_settings_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[TemplateSett request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementConfigurationSettingTemplate] = None, request_configuration: Optional[TemplateSettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementConfiguratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/templates/import_office365_device_configuration_policies/import_office365_device_configuration_policies_request_builder.py b/msgraph_beta/generated/device_management/templates/import_office365_device_configuration_policies/import_office365_device_configuration_policies_request_builder.py index 7f72eadc42b..b3e175e9b49 100644 --- a/msgraph_beta/generated/device_management/templates/import_office365_device_configuration_policies/import_office365_device_configuration_policies_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/import_office365_device_configuration_policies/import_office365_device_configuration_policies_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[ImportOffic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ImportOffice365DeviceConfigurationPoliciesRequestBuilder: diff --git a/msgraph_beta/generated/device_management/templates/item/categories/categories_request_builder.py b/msgraph_beta/generated/device_management/templates/item/categories/categories_request_builder.py index 7fdcc96eae3..84b4647c99f 100644 --- a/msgraph_beta/generated/device_management/templates/item/categories/categories_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/categories/categories_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementTemplateSettingCategory] = None, request_configuration: Optional[CategoriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementTemplateSett request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/templates/item/categories/item/device_management_template_setting_category_item_request_builder.py b/msgraph_beta/generated/device_management/templates/item/categories/item/device_management_template_setting_category_item_request_builder.py index df37d9a8315..632817c4648 100644 --- a/msgraph_beta/generated/device_management/templates/item/categories/item/device_management_template_setting_category_item_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/categories/item/device_management_template_setting_category_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementTemplateSettingCategoryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementTemplateSettingCategory] = None, request_configuration: Optional[DeviceManagementTemplateSettingCategoryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementTemplateSet request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/templates/item/categories/item/recommended_settings/item/device_management_setting_instance_item_request_builder.py b/msgraph_beta/generated/device_management/templates/item/categories/item/recommended_settings/item/device_management_setting_instance_item_request_builder.py index 36e465f5dc4..10c147f3e79 100644 --- a/msgraph_beta/generated/device_management/templates/item/categories/item/recommended_settings/item/device_management_setting_instance_item_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/categories/item/recommended_settings/item/device_management_setting_instance_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementSettingInstanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementSettingInstance] = None, request_configuration: Optional[DeviceManagementSettingInstanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementSettingInst request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/templates/item/categories/item/recommended_settings/recommended_settings_request_builder.py b/msgraph_beta/generated/device_management/templates/item/categories/item/recommended_settings/recommended_settings_request_builder.py index dac7815fb81..a918bef8e54 100644 --- a/msgraph_beta/generated/device_management/templates/item/categories/item/recommended_settings/recommended_settings_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/categories/item/recommended_settings/recommended_settings_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RecommendedS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementSettingInstance] = None, request_configuration: Optional[RecommendedSettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementSettingInsta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/templates/item/categories/item/setting_definitions/item/device_management_setting_definition_item_request_builder.py b/msgraph_beta/generated/device_management/templates/item/categories/item/setting_definitions/item/device_management_setting_definition_item_request_builder.py index 1427455cb25..71ad853b560 100644 --- a/msgraph_beta/generated/device_management/templates/item/categories/item/setting_definitions/item/device_management_setting_definition_item_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/categories/item/setting_definitions/item/device_management_setting_definition_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementSettingDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementSettingDefinition] = None, request_configuration: Optional[DeviceManagementSettingDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementSettingDefi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/templates/item/categories/item/setting_definitions/setting_definitions_request_builder.py b/msgraph_beta/generated/device_management/templates/item/categories/item/setting_definitions/setting_definitions_request_builder.py index e2d2a392ce9..f86c50bd7f6 100644 --- a/msgraph_beta/generated/device_management/templates/item/categories/item/setting_definitions/setting_definitions_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/categories/item/setting_definitions/setting_definitions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementSettingDefinition] = None, request_configuration: Optional[SettingDefinitionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementSettingDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/templates/item/compare_with_template_id/compare_with_template_id_request_builder.py b/msgraph_beta/generated/device_management/templates/item/compare_with_template_id/compare_with_template_id_request_builder.py index 5137f7de5be..8cf27b0ede7 100644 --- a/msgraph_beta/generated/device_management/templates/item/compare_with_template_id/compare_with_template_id_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/compare_with_template_id/compare_with_template_id_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[CompareWithT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CompareWithTemplateIdRequestBuilder: diff --git a/msgraph_beta/generated/device_management/templates/item/create_instance/create_instance_request_builder.py b/msgraph_beta/generated/device_management/templates/item/create_instance/create_instance_request_builder.py index 0028aaf86e9..ad495cac4bb 100644 --- a/msgraph_beta/generated/device_management/templates/item/create_instance/create_instance_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/create_instance/create_instance_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CreateInstancePostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/templates/item/device_management_template_item_request_builder.py b/msgraph_beta/generated/device_management/templates/item/device_management_template_item_request_builder.py index 9f2038810be..07735d7d5cd 100644 --- a/msgraph_beta/generated/device_management/templates/item/device_management_template_item_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/device_management_template_item_request_builder.py @@ -120,7 +120,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementTemplateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -137,7 +137,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementTemplate] = None, request_configuration: Optional[DeviceManagementTemplateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -156,7 +156,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementTemplate] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/templates/item/migratable_to/import_office365_device_configuration_policies/import_office365_device_configuration_policies_request_builder.py b/msgraph_beta/generated/device_management/templates/item/migratable_to/import_office365_device_configuration_policies/import_office365_device_configuration_policies_request_builder.py index bccb2ca2e00..efca848726c 100644 --- a/msgraph_beta/generated/device_management/templates/item/migratable_to/import_office365_device_configuration_policies/import_office365_device_configuration_policies_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/migratable_to/import_office365_device_configuration_policies/import_office365_device_configuration_policies_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[ImportOffic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ImportOffice365DeviceConfigurationPoliciesRequestBuilder: diff --git a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/categories_request_builder.py b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/categories_request_builder.py index 99cae716ca2..a69f43f95db 100644 --- a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/categories_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/categories_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementTemplateSettingCategory] = None, request_configuration: Optional[CategoriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementTemplateSett request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/item/device_management_template_setting_category_item_request_builder.py b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/item/device_management_template_setting_category_item_request_builder.py index fa9cb6a3edc..2bd1a95d3f5 100644 --- a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/item/device_management_template_setting_category_item_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/item/device_management_template_setting_category_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementTemplateSettingCategoryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementTemplateSettingCategory] = None, request_configuration: Optional[DeviceManagementTemplateSettingCategoryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementTemplateSet request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/item/recommended_settings/item/device_management_setting_instance_item_request_builder.py b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/item/recommended_settings/item/device_management_setting_instance_item_request_builder.py index 8f30348ac05..d5f5e20f1ca 100644 --- a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/item/recommended_settings/item/device_management_setting_instance_item_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/item/recommended_settings/item/device_management_setting_instance_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementSettingInstanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementSettingInstance] = None, request_configuration: Optional[DeviceManagementSettingInstanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementSettingInst request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/item/recommended_settings/recommended_settings_request_builder.py b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/item/recommended_settings/recommended_settings_request_builder.py index 707813bb7b4..ef81125fb84 100644 --- a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/item/recommended_settings/recommended_settings_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/item/recommended_settings/recommended_settings_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RecommendedS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementSettingInstance] = None, request_configuration: Optional[RecommendedSettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementSettingInsta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/item/setting_definitions/item/device_management_setting_definition_item_request_builder.py b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/item/setting_definitions/item/device_management_setting_definition_item_request_builder.py index b4049d8eed9..60d9055e6cf 100644 --- a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/item/setting_definitions/item/device_management_setting_definition_item_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/item/setting_definitions/item/device_management_setting_definition_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementSettingDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementSettingDefinition] = None, request_configuration: Optional[DeviceManagementSettingDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementSettingDefi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/item/setting_definitions/setting_definitions_request_builder.py b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/item/setting_definitions/setting_definitions_request_builder.py index 2b011c0ed4d..ab90d763df3 100644 --- a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/item/setting_definitions/setting_definitions_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/categories/item/setting_definitions/setting_definitions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementSettingDefinition] = None, request_configuration: Optional[SettingDefinitionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementSettingDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/compare_with_template_id/compare_with_template_id_request_builder.py b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/compare_with_template_id/compare_with_template_id_request_builder.py index 32dc3948054..69fa4bbbbdd 100644 --- a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/compare_with_template_id/compare_with_template_id_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/compare_with_template_id/compare_with_template_id_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[CompareWithT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CompareWithTemplateIdRequestBuilder: diff --git a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/create_instance/create_instance_request_builder.py b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/create_instance/create_instance_request_builder.py index 140fc367f56..7084466daa3 100644 --- a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/create_instance/create_instance_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/create_instance/create_instance_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CreateInstancePostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/device_management_template_item_request_builder.py b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/device_management_template_item_request_builder.py index 3ac5c65b5ec..2eef39b98a4 100644 --- a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/device_management_template_item_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/device_management_template_item_request_builder.py @@ -119,7 +119,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementTemplateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -136,7 +136,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementTemplate] = None, request_configuration: Optional[DeviceManagementTemplateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -155,7 +155,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementTemplate] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/settings/item/device_management_setting_instance_item_request_builder.py b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/settings/item/device_management_setting_instance_item_request_builder.py index cccc623ebc7..2d83878a9f7 100644 --- a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/settings/item/device_management_setting_instance_item_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/settings/item/device_management_setting_instance_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementSettingInstanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementSettingInstance] = None, request_configuration: Optional[DeviceManagementSettingInstanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementSettingInst request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/settings/settings_request_builder.py b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/settings/settings_request_builder.py index 1df4c2b6ae2..30db92f0bb2 100644 --- a/msgraph_beta/generated/device_management/templates/item/migratable_to/item/settings/settings_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/migratable_to/item/settings/settings_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementSettingInstance] = None, request_configuration: Optional[SettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementSettingInsta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/templates/item/migratable_to/migratable_to_request_builder.py b/msgraph_beta/generated/device_management/templates/item/migratable_to/migratable_to_request_builder.py index a4057ebdbc5..c455311edce 100644 --- a/msgraph_beta/generated/device_management/templates/item/migratable_to/migratable_to_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/migratable_to/migratable_to_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[MigratableTo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementTemplate] = None, request_configuration: Optional[MigratableToRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementTemplate] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/templates/item/settings/item/device_management_setting_instance_item_request_builder.py b/msgraph_beta/generated/device_management/templates/item/settings/item/device_management_setting_instance_item_request_builder.py index 839cffd3736..e56302a3dd6 100644 --- a/msgraph_beta/generated/device_management/templates/item/settings/item/device_management_setting_instance_item_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/settings/item/device_management_setting_instance_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementSettingInstanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementSettingInstance] = None, request_configuration: Optional[DeviceManagementSettingInstanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementSettingInst request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/templates/item/settings/settings_request_builder.py b/msgraph_beta/generated/device_management/templates/item/settings/settings_request_builder.py index 65d7336c8e3..7f3a5db0b0c 100644 --- a/msgraph_beta/generated/device_management/templates/item/settings/settings_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/item/settings/settings_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementSettingInstance] = None, request_configuration: Optional[SettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementSettingInsta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/templates/templates_request_builder.py b/msgraph_beta/generated/device_management/templates/templates_request_builder.py index a53e2a73db1..efaa2cdc64c 100644 --- a/msgraph_beta/generated/device_management/templates/templates_request_builder.py +++ b/msgraph_beta/generated/device_management/templates/templates_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[TemplatesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementTemplate] = None, request_configuration: Optional[TemplatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementTemplate] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/tenant_attach_r_b_a_c/enable/enable_request_builder.py b/msgraph_beta/generated/device_management/tenant_attach_r_b_a_c/enable/enable_request_builder.py index c381a2f5036..97b6e1913d9 100644 --- a/msgraph_beta/generated/device_management/tenant_attach_r_b_a_c/enable/enable_request_builder.py +++ b/msgraph_beta/generated/device_management/tenant_attach_r_b_a_c/enable/enable_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[EnablePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/tenant_attach_r_b_a_c/get_state/get_state_request_builder.py b/msgraph_beta/generated/device_management/tenant_attach_r_b_a_c/get_state/get_state_request_builder.py index a1d403e10d0..aaa3a993325 100644 --- a/msgraph_beta/generated/device_management/tenant_attach_r_b_a_c/get_state/get_state_request_builder.py +++ b/msgraph_beta/generated/device_management/tenant_attach_r_b_a_c/get_state/get_state_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetStateRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetStateRequestBuilder: diff --git a/msgraph_beta/generated/device_management/tenant_attach_r_b_a_c/tenant_attach_r_b_a_c_request_builder.py b/msgraph_beta/generated/device_management/tenant_attach_r_b_a_c/tenant_attach_r_b_a_c_request_builder.py index 406931fbeec..65141c8bcb0 100644 --- a/msgraph_beta/generated/device_management/tenant_attach_r_b_a_c/tenant_attach_r_b_a_c_request_builder.py +++ b/msgraph_beta/generated/device_management/tenant_attach_r_b_a_c/tenant_attach_r_b_a_c_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[TenantAtt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TenantAttachRBACRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TenantAttach request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TenantAttachRBAC] = None, request_configuration: Optional[TenantAttachRBACRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[TenantAttachRBAC] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/terms_and_conditions/item/acceptance_statuses/acceptance_statuses_request_builder.py b/msgraph_beta/generated/device_management/terms_and_conditions/item/acceptance_statuses/acceptance_statuses_request_builder.py index 5db44171814..76ff37c29ce 100644 --- a/msgraph_beta/generated/device_management/terms_and_conditions/item/acceptance_statuses/acceptance_statuses_request_builder.py +++ b/msgraph_beta/generated/device_management/terms_and_conditions/item/acceptance_statuses/acceptance_statuses_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AcceptanceSt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TermsAndConditionsAcceptanceStatus] = None, request_configuration: Optional[AcceptanceStatusesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[TermsAndConditionsAcceptance request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/terms_and_conditions/item/acceptance_statuses/item/terms_and_conditions/terms_and_conditions_request_builder.py b/msgraph_beta/generated/device_management/terms_and_conditions/item/acceptance_statuses/item/terms_and_conditions/terms_and_conditions_request_builder.py index 19ff9d95acb..670530f5dd7 100644 --- a/msgraph_beta/generated/device_management/terms_and_conditions/item/acceptance_statuses/item/terms_and_conditions/terms_and_conditions_request_builder.py +++ b/msgraph_beta/generated/device_management/terms_and_conditions/item/acceptance_statuses/item/terms_and_conditions/terms_and_conditions_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TermsAndCond request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TermsAndConditionsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/terms_and_conditions/item/acceptance_statuses/item/terms_and_conditions_acceptance_status_item_request_builder.py b/msgraph_beta/generated/device_management/terms_and_conditions/item/acceptance_statuses/item/terms_and_conditions_acceptance_status_item_request_builder.py index d323c43abf2..e9a87799c97 100644 --- a/msgraph_beta/generated/device_management/terms_and_conditions/item/acceptance_statuses/item/terms_and_conditions_acceptance_status_item_request_builder.py +++ b/msgraph_beta/generated/device_management/terms_and_conditions/item/acceptance_statuses/item/terms_and_conditions_acceptance_status_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermsAndC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermsAndConditionsAcceptanceStatusItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TermsAndCond request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TermsAndConditionsAcceptanceStatus] = None, request_configuration: Optional[TermsAndConditionsAcceptanceStatusItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[TermsAndConditionsAcceptanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/terms_and_conditions/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_management/terms_and_conditions/item/assignments/assignments_request_builder.py index e4f91274899..7852182a19a 100644 --- a/msgraph_beta/generated/device_management/terms_and_conditions/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/terms_and_conditions/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TermsAndConditionsAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[TermsAndConditionsAssignment request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/terms_and_conditions/item/assignments/item/terms_and_conditions_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/terms_and_conditions/item/assignments/item/terms_and_conditions_assignment_item_request_builder.py index 8cbbc9143f7..aae9be316e8 100644 --- a/msgraph_beta/generated/device_management/terms_and_conditions/item/assignments/item/terms_and_conditions_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/terms_and_conditions/item/assignments/item/terms_and_conditions_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermsAndC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermsAndConditionsAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[TermsAndCond request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TermsAndConditionsAssignment] = None, request_configuration: Optional[TermsAndConditionsAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[TermsAndConditionsAssignmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/terms_and_conditions/item/group_assignments/group_assignments_request_builder.py b/msgraph_beta/generated/device_management/terms_and_conditions/item/group_assignments/group_assignments_request_builder.py index 987915830c4..a71a5189625 100644 --- a/msgraph_beta/generated/device_management/terms_and_conditions/item/group_assignments/group_assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/terms_and_conditions/item/group_assignments/group_assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupAssignm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TermsAndConditionsGroupAssignment] = None, request_configuration: Optional[GroupAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[TermsAndConditionsGroupAssig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/terms_and_conditions/item/group_assignments/item/terms_and_conditions/terms_and_conditions_request_builder.py b/msgraph_beta/generated/device_management/terms_and_conditions/item/group_assignments/item/terms_and_conditions/terms_and_conditions_request_builder.py index 36eb0db5a65..ada96d22510 100644 --- a/msgraph_beta/generated/device_management/terms_and_conditions/item/group_assignments/item/terms_and_conditions/terms_and_conditions_request_builder.py +++ b/msgraph_beta/generated/device_management/terms_and_conditions/item/group_assignments/item/terms_and_conditions/terms_and_conditions_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TermsAndCond request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TermsAndConditionsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/terms_and_conditions/item/group_assignments/item/terms_and_conditions_group_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/terms_and_conditions/item/group_assignments/item/terms_and_conditions_group_assignment_item_request_builder.py index d6a3aeda86c..7de3f527c69 100644 --- a/msgraph_beta/generated/device_management/terms_and_conditions/item/group_assignments/item/terms_and_conditions_group_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/terms_and_conditions/item/group_assignments/item/terms_and_conditions_group_assignment_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermsAndC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermsAndConditionsGroupAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TermsAndCond request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TermsAndConditionsGroupAssignment] = None, request_configuration: Optional[TermsAndConditionsGroupAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[TermsAndConditionsGroupAssi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/terms_and_conditions/item/terms_and_conditions_item_request_builder.py b/msgraph_beta/generated/device_management/terms_and_conditions/item/terms_and_conditions_item_request_builder.py index 927c68ccc7f..6a9298b4177 100644 --- a/msgraph_beta/generated/device_management/terms_and_conditions/item/terms_and_conditions_item_request_builder.py +++ b/msgraph_beta/generated/device_management/terms_and_conditions/item/terms_and_conditions_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermsAndC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermsAndConditionsItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[TermsAndCond request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TermsAndConditions] = None, request_configuration: Optional[TermsAndConditionsItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[TermsAndConditions] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/terms_and_conditions/terms_and_conditions_request_builder.py b/msgraph_beta/generated/device_management/terms_and_conditions/terms_and_conditions_request_builder.py index b004d1edbf5..ac3e59dae71 100644 --- a/msgraph_beta/generated/device_management/terms_and_conditions/terms_and_conditions_request_builder.py +++ b/msgraph_beta/generated/device_management/terms_and_conditions/terms_and_conditions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[TermsAndCond request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TermsAndConditions] = None, request_configuration: Optional[TermsAndConditionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[TermsAndConditions] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/troubleshooting_events/item/device_management_troubleshooting_event_item_request_builder.py b/msgraph_beta/generated/device_management/troubleshooting_events/item/device_management_troubleshooting_event_item_request_builder.py index 2ba768c3828..0bbaf1602ab 100644 --- a/msgraph_beta/generated/device_management/troubleshooting_events/item/device_management_troubleshooting_event_item_request_builder.py +++ b/msgraph_beta/generated/device_management/troubleshooting_events/item/device_management_troubleshooting_event_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementTroubleshootingEventItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementTroubleshootingEvent] = None, request_configuration: Optional[DeviceManagementTroubleshootingEventItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementTroubleshoo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/troubleshooting_events/troubleshooting_events_request_builder.py b/msgraph_beta/generated/device_management/troubleshooting_events/troubleshooting_events_request_builder.py index 87263079724..c63841b8b03 100644 --- a/msgraph_beta/generated/device_management/troubleshooting_events/troubleshooting_events_request_builder.py +++ b/msgraph_beta/generated/device_management/troubleshooting_events/troubleshooting_events_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Troubleshoot request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementTroubleshootingEvent] = None, request_configuration: Optional[TroubleshootingEventsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementTroubleshoot request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_anomaly/item/user_experience_analytics_anomaly_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_anomaly/item/user_experience_analytics_anomaly_item_request_builder.py index 85b14b98ccc..3e55e5d6fc2 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_anomaly/item/user_experience_analytics_anomaly_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_anomaly/item/user_experience_analytics_anomaly_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsAnomalyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsAnomaly] = None, request_configuration: Optional[UserExperienceAnalyticsAnomalyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsAnom request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_anomaly/user_experience_analytics_anomaly_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_anomaly/user_experience_analytics_anomaly_request_builder.py index 6a7f79ffabb..9725e1f5d15 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_anomaly/user_experience_analytics_anomaly_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_anomaly/user_experience_analytics_anomaly_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsAnomaly] = None, request_configuration: Optional[UserExperienceAnalyticsAnomalyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsAnoma request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_anomaly_correlation_group_overview/item/user_experience_analytics_anomaly_correlation_group_overview_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_anomaly_correlation_group_overview/item/user_experience_analytics_anomaly_correlation_group_overview_item_request_builder.py index b377bcccfe0..51aaeb9097d 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_anomaly_correlation_group_overview/item/user_experience_analytics_anomaly_correlation_group_overview_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_anomaly_correlation_group_overview/item/user_experience_analytics_anomaly_correlation_group_overview_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsAnomalyCorrelationGroupOverviewItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsAnomalyCorrelationGroupOverview] = None, request_configuration: Optional[UserExperienceAnalyticsAnomalyCorrelationGroupOverviewItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsAnom request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_anomaly_correlation_group_overview/user_experience_analytics_anomaly_correlation_group_overview_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_anomaly_correlation_group_overview/user_experience_analytics_anomaly_correlation_group_overview_request_builder.py index c482312a5ac..7587e165542 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_anomaly_correlation_group_overview/user_experience_analytics_anomaly_correlation_group_overview_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_anomaly_correlation_group_overview/user_experience_analytics_anomaly_correlation_group_overview_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsAnomalyCorrelationGroupOverview] = None, request_configuration: Optional[UserExperienceAnalyticsAnomalyCorrelationGroupOverviewRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsAnoma request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_anomaly_device/item/user_experience_analytics_anomaly_device_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_anomaly_device/item/user_experience_analytics_anomaly_device_item_request_builder.py index f9354af670d..ef5c1b35c74 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_anomaly_device/item/user_experience_analytics_anomaly_device_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_anomaly_device/item/user_experience_analytics_anomaly_device_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsAnomalyDeviceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsAnomalyDevice] = None, request_configuration: Optional[UserExperienceAnalyticsAnomalyDeviceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsAnom request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_anomaly_device/user_experience_analytics_anomaly_device_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_anomaly_device/user_experience_analytics_anomaly_device_request_builder.py index d6be95ec191..aceb6a00a60 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_anomaly_device/user_experience_analytics_anomaly_device_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_anomaly_device/user_experience_analytics_anomaly_device_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsAnomalyDevice] = None, request_configuration: Optional[UserExperienceAnalyticsAnomalyDeviceRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsAnoma request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance/item/user_experience_analytics_app_health_application_performance_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance/item/user_experience_analytics_app_health_application_performance_item_request_builder.py index 2d710b11882..9bec60ca62e 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance/item/user_experience_analytics_app_health_application_performance_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance/item/user_experience_analytics_app_health_application_performance_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsAppHealthApplicationPerformance] = None, request_configuration: Optional[UserExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsAppH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance/user_experience_analytics_app_health_application_performance_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance/user_experience_analytics_app_health_application_performance_request_builder.py index 728109007c5..e4d30267ace 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance/user_experience_analytics_app_health_application_performance_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance/user_experience_analytics_app_health_application_performance_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsAppHealthApplicationPerformance] = None, request_configuration: Optional[UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsAppHe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version/item/user_experience_analytics_app_health_app_performance_by_app_version_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version/item/user_experience_analytics_app_health_app_performance_by_app_version_item_request_builder.py index 54053fd9dc7..ce0a2cbc280 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version/item/user_experience_analytics_app_health_app_performance_by_app_version_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version/item/user_experience_analytics_app_health_app_performance_by_app_version_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsAppHealthAppPerformanceByAppVersion] = None, request_configuration: Optional[UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsAppH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version/user_experience_analytics_app_health_application_performance_by_app_version_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version/user_experience_analytics_app_health_application_performance_by_app_version_request_builder.py index 57455bb4061..a5e182a6cb5 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version/user_experience_analytics_app_health_application_performance_by_app_version_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version/user_experience_analytics_app_health_application_performance_by_app_version_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsAppHealthAppPerformanceByAppVersion] = None, request_configuration: Optional[UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsAppHe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version_details/item/user_experience_analytics_app_health_app_performance_by_app_version_details_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version_details/item/user_experience_analytics_app_health_app_performance_by_app_version_details_item_request_builder.py index 1e2f559b9dd..a1e1cc023cf 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version_details/item/user_experience_analytics_app_health_app_performance_by_app_version_details_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version_details/item/user_experience_analytics_app_health_app_performance_by_app_version_details_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails] = None, request_configuration: Optional[UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsAppH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version_details/user_experience_analytics_app_health_application_performance_by_app_version_details_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version_details/user_experience_analytics_app_health_application_performance_by_app_version_details_request_builder.py index 008520d248f..87b755f3329 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version_details/user_experience_analytics_app_health_application_performance_by_app_version_details_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version_details/user_experience_analytics_app_health_application_performance_by_app_version_details_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails] = None, request_configuration: Optional[UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsAppHe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version_device_id/item/user_experience_analytics_app_health_app_performance_by_app_version_device_id_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version_device_id/item/user_experience_analytics_app_health_app_performance_by_app_version_device_id_item_request_builder.py index 96e7567035a..43fd133d5c1 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version_device_id/item/user_experience_analytics_app_health_app_performance_by_app_version_device_id_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version_device_id/item/user_experience_analytics_app_health_app_performance_by_app_version_device_id_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId] = None, request_configuration: Optional[UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsAppH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version_device_id/user_experience_analytics_app_health_application_performance_by_app_version_device_id_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version_device_id/user_experience_analytics_app_health_application_performance_by_app_version_device_id_request_builder.py index 61e9c2d58fe..e1a0086ede1 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version_device_id/user_experience_analytics_app_health_application_performance_by_app_version_device_id_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_app_version_device_id/user_experience_analytics_app_health_application_performance_by_app_version_device_id_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId] = None, request_configuration: Optional[UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsAppHe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_o_s_version/item/user_experience_analytics_app_health_app_performance_by_o_s_version_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_o_s_version/item/user_experience_analytics_app_health_app_performance_by_o_s_version_item_request_builder.py index 0d83ccb839e..0201f164bba 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_o_s_version/item/user_experience_analytics_app_health_app_performance_by_o_s_version_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_o_s_version/item/user_experience_analytics_app_health_app_performance_by_o_s_version_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion] = None, request_configuration: Optional[UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsAppH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_o_s_version/user_experience_analytics_app_health_application_performance_by_o_s_version_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_o_s_version/user_experience_analytics_app_health_application_performance_by_o_s_version_request_builder.py index 03757f5fe22..4175920a9a8 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_o_s_version/user_experience_analytics_app_health_application_performance_by_o_s_version_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_application_performance_by_o_s_version/user_experience_analytics_app_health_application_performance_by_o_s_version_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion] = None, request_configuration: Optional[UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsAppHe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_model_performance/item/user_experience_analytics_app_health_device_model_performance_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_model_performance/item/user_experience_analytics_app_health_device_model_performance_item_request_builder.py index 6a64f42bea3..d62be062a73 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_model_performance/item/user_experience_analytics_app_health_device_model_performance_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_model_performance/item/user_experience_analytics_app_health_device_model_performance_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsAppHealthDeviceModelPerformance] = None, request_configuration: Optional[UserExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsAppH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_model_performance/user_experience_analytics_app_health_device_model_performance_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_model_performance/user_experience_analytics_app_health_device_model_performance_request_builder.py index 91cadc10434..643301a282d 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_model_performance/user_experience_analytics_app_health_device_model_performance_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_model_performance/user_experience_analytics_app_health_device_model_performance_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsAppHealthDeviceModelPerformance] = None, request_configuration: Optional[UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsAppHe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_performance/item/user_experience_analytics_app_health_device_performance_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_performance/item/user_experience_analytics_app_health_device_performance_item_request_builder.py index 489f3506d2f..f2666f1a4af 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_performance/item/user_experience_analytics_app_health_device_performance_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_performance/item/user_experience_analytics_app_health_device_performance_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsAppHealthDevicePerformance] = None, request_configuration: Optional[UserExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsAppH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_performance/user_experience_analytics_app_health_device_performance_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_performance/user_experience_analytics_app_health_device_performance_request_builder.py index 917b9a7321f..88a06f80d80 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_performance/user_experience_analytics_app_health_device_performance_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_performance/user_experience_analytics_app_health_device_performance_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsAppHealthDevicePerformance] = None, request_configuration: Optional[UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsAppHe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_performance_details/item/user_experience_analytics_app_health_device_performance_details_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_performance_details/item/user_experience_analytics_app_health_device_performance_details_item_request_builder.py index f0d7ae8c6e4..ec3bd07bdfc 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_performance_details/item/user_experience_analytics_app_health_device_performance_details_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_performance_details/item/user_experience_analytics_app_health_device_performance_details_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsAppHealthDevicePerformanceDetails] = None, request_configuration: Optional[UserExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsAppH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_performance_details/user_experience_analytics_app_health_device_performance_details_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_performance_details/user_experience_analytics_app_health_device_performance_details_request_builder.py index ec649c7deca..0f123e9462c 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_performance_details/user_experience_analytics_app_health_device_performance_details_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_device_performance_details/user_experience_analytics_app_health_device_performance_details_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsAppHealthDevicePerformanceDetails] = None, request_configuration: Optional[UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsAppHe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_o_s_version_performance/item/user_experience_analytics_app_health_o_s_version_performance_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_o_s_version_performance/item/user_experience_analytics_app_health_o_s_version_performance_item_request_builder.py index 18f55b61964..eb9144753d7 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_o_s_version_performance/item/user_experience_analytics_app_health_o_s_version_performance_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_o_s_version_performance/item/user_experience_analytics_app_health_o_s_version_performance_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsAppHealthOSVersionPerformance] = None, request_configuration: Optional[UserExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsAppH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_o_s_version_performance/user_experience_analytics_app_health_o_s_version_performance_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_o_s_version_performance/user_experience_analytics_app_health_o_s_version_performance_request_builder.py index dae36eb3c3c..c58e6887553 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_o_s_version_performance/user_experience_analytics_app_health_o_s_version_performance_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_o_s_version_performance/user_experience_analytics_app_health_o_s_version_performance_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsAppHealthOSVersionPerformance] = None, request_configuration: Optional[UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsAppHe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_overview/metric_values/item/user_experience_analytics_metric_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_overview/metric_values/item/user_experience_analytics_metric_item_request_builder.py index 4fd01ec3ae7..c3d48becaa1 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_overview/metric_values/item/user_experience_analytics_metric_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_overview/metric_values/item/user_experience_analytics_metric_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsMetricItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsMetric] = None, request_configuration: Optional[UserExperienceAnalyticsMetricItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsMetr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_overview/metric_values/metric_values_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_overview/metric_values/metric_values_request_builder.py index 59c4df478ce..4941b9c3cbd 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_overview/metric_values/metric_values_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_overview/metric_values/metric_values_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[MetricValues request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsMetric] = None, request_configuration: Optional[MetricValuesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsMetri request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_overview/user_experience_analytics_app_health_overview_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_overview/user_experience_analytics_app_health_overview_request_builder.py index 82746146b98..4b91c9e7078 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_app_health_overview/user_experience_analytics_app_health_overview_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_app_health_overview/user_experience_analytics_app_health_overview_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsAppHealthOverviewRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsCategory] = None, request_configuration: Optional[UserExperienceAnalyticsAppHealthOverviewRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsCate request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/app_health_metrics/app_health_metrics_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/app_health_metrics/app_health_metrics_request_builder.py index e6ad3ca2e76..2ff2275f03c 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/app_health_metrics/app_health_metrics_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/app_health_metrics/app_health_metrics_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AppHealthMet request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppHealthMetricsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/battery_health_metrics/battery_health_metrics_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/battery_health_metrics/battery_health_metrics_request_builder.py index 782f9712ffd..0dd0d4f0533 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/battery_health_metrics/battery_health_metrics_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/battery_health_metrics/battery_health_metrics_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[BatteryHealt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> BatteryHealthMetricsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/best_practices_metrics/best_practices_metrics_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/best_practices_metrics/best_practices_metrics_request_builder.py index ad991a6bc70..7282b33449b 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/best_practices_metrics/best_practices_metrics_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/best_practices_metrics/best_practices_metrics_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[BestPractice request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> BestPracticesMetricsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/device_boot_performance_metrics/device_boot_performance_metrics_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/device_boot_performance_metrics/device_boot_performance_metrics_request_builder.py index 7c929398f92..7e89498c039 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/device_boot_performance_metrics/device_boot_performance_metrics_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/device_boot_performance_metrics/device_boot_performance_metrics_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceBootPe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeviceBootPerformanceMetricsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/reboot_analytics_metrics/reboot_analytics_metrics_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/reboot_analytics_metrics/reboot_analytics_metrics_request_builder.py index 7e35cbb4b9e..617c871f269 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/reboot_analytics_metrics/reboot_analytics_metrics_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/reboot_analytics_metrics/reboot_analytics_metrics_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RebootAnalyt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RebootAnalyticsMetricsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/resource_performance_metrics/resource_performance_metrics_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/resource_performance_metrics/resource_performance_metrics_request_builder.py index 3cad23c8d79..ca0c7b4e9ca 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/resource_performance_metrics/resource_performance_metrics_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/resource_performance_metrics/resource_performance_metrics_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourcePerf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourcePerformanceMetricsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/user_experience_analytics_baseline_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/user_experience_analytics_baseline_item_request_builder.py index a4c33cd7403..c817843bb34 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/user_experience_analytics_baseline_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/user_experience_analytics_baseline_item_request_builder.py @@ -110,7 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsBaselineItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsBaseline] = None, request_configuration: Optional[UserExperienceAnalyticsBaselineItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsBase request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/work_from_anywhere_metrics/work_from_anywhere_metrics_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/work_from_anywhere_metrics/work_from_anywhere_metrics_request_builder.py index 3f23d511301..2a668308d3f 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/work_from_anywhere_metrics/work_from_anywhere_metrics_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_baselines/item/work_from_anywhere_metrics/work_from_anywhere_metrics_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[WorkFromAnyw request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> WorkFromAnywhereMetricsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_baselines/user_experience_analytics_baselines_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_baselines/user_experience_analytics_baselines_request_builder.py index 45cb6234ba7..87415ec2a18 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_baselines/user_experience_analytics_baselines_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_baselines/user_experience_analytics_baselines_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsBaseline] = None, request_configuration: Optional[UserExperienceAnalyticsBaselinesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsBasel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_app_impact/item/user_experience_analytics_battery_health_app_impact_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_app_impact/item/user_experience_analytics_battery_health_app_impact_item_request_builder.py index eb058febfb6..0c5eb5241ab 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_app_impact/item/user_experience_analytics_battery_health_app_impact_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_app_impact/item/user_experience_analytics_battery_health_app_impact_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsBatteryHealthAppImpactItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsBatteryHealthAppImpact] = None, request_configuration: Optional[UserExperienceAnalyticsBatteryHealthAppImpactItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsBatt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_app_impact/user_experience_analytics_battery_health_app_impact_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_app_impact/user_experience_analytics_battery_health_app_impact_request_builder.py index f1aa55abfbe..76c151e62d3 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_app_impact/user_experience_analytics_battery_health_app_impact_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_app_impact/user_experience_analytics_battery_health_app_impact_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsBatteryHealthAppImpact] = None, request_configuration: Optional[UserExperienceAnalyticsBatteryHealthAppImpactRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsBatte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_capacity_details/user_experience_analytics_battery_health_capacity_details_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_capacity_details/user_experience_analytics_battery_health_capacity_details_request_builder.py index 48ad4d0a0cc..f46c154b3c9 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_capacity_details/user_experience_analytics_battery_health_capacity_details_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_capacity_details/user_experience_analytics_battery_health_capacity_details_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsBatteryHealthCapacityDetailsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsBatteryHealthCapacityDetails] = None, request_configuration: Optional[UserExperienceAnalyticsBatteryHealthCapacityDetailsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsBatt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_app_impact/item/user_experience_analytics_battery_health_device_app_impact_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_app_impact/item/user_experience_analytics_battery_health_device_app_impact_item_request_builder.py index 0ea78056c6d..c7a6894848d 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_app_impact/item/user_experience_analytics_battery_health_device_app_impact_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_app_impact/item/user_experience_analytics_battery_health_device_app_impact_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsBatteryHealthDeviceAppImpactItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsBatteryHealthDeviceAppImpact] = None, request_configuration: Optional[UserExperienceAnalyticsBatteryHealthDeviceAppImpactItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsBatt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_app_impact/user_experience_analytics_battery_health_device_app_impact_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_app_impact/user_experience_analytics_battery_health_device_app_impact_request_builder.py index ad992295fe8..c6c2cdea23b 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_app_impact/user_experience_analytics_battery_health_device_app_impact_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_app_impact/user_experience_analytics_battery_health_device_app_impact_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsBatteryHealthDeviceAppImpact] = None, request_configuration: Optional[UserExperienceAnalyticsBatteryHealthDeviceAppImpactRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsBatte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_performance/item/user_experience_analytics_battery_health_device_performance_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_performance/item/user_experience_analytics_battery_health_device_performance_item_request_builder.py index ba72686a941..29440c170a1 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_performance/item/user_experience_analytics_battery_health_device_performance_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_performance/item/user_experience_analytics_battery_health_device_performance_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsBatteryHealthDevicePerformanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsBatteryHealthDevicePerformance] = None, request_configuration: Optional[UserExperienceAnalyticsBatteryHealthDevicePerformanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsBatt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_performance/user_experience_analytics_battery_health_device_performance_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_performance/user_experience_analytics_battery_health_device_performance_request_builder.py index d90c13b5eb6..7b7835ec66c 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_performance/user_experience_analytics_battery_health_device_performance_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_performance/user_experience_analytics_battery_health_device_performance_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsBatteryHealthDevicePerformance] = None, request_configuration: Optional[UserExperienceAnalyticsBatteryHealthDevicePerformanceRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsBatte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_runtime_history/item/user_experience_analytics_battery_health_device_runtime_history_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_runtime_history/item/user_experience_analytics_battery_health_device_runtime_history_item_request_builder.py index 97f926f045b..9daf4b583bd 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_runtime_history/item/user_experience_analytics_battery_health_device_runtime_history_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_runtime_history/item/user_experience_analytics_battery_health_device_runtime_history_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistory] = None, request_configuration: Optional[UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsBatt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_runtime_history/user_experience_analytics_battery_health_device_runtime_history_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_runtime_history/user_experience_analytics_battery_health_device_runtime_history_request_builder.py index 5461fee1df9..b9053eb0642 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_runtime_history/user_experience_analytics_battery_health_device_runtime_history_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_device_runtime_history/user_experience_analytics_battery_health_device_runtime_history_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistory] = None, request_configuration: Optional[UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsBatte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_model_performance/item/user_experience_analytics_battery_health_model_performance_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_model_performance/item/user_experience_analytics_battery_health_model_performance_item_request_builder.py index 4eadf2ecbf1..0629475e2ac 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_model_performance/item/user_experience_analytics_battery_health_model_performance_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_model_performance/item/user_experience_analytics_battery_health_model_performance_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsBatteryHealthModelPerformanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsBatteryHealthModelPerformance] = None, request_configuration: Optional[UserExperienceAnalyticsBatteryHealthModelPerformanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsBatt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_model_performance/user_experience_analytics_battery_health_model_performance_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_model_performance/user_experience_analytics_battery_health_model_performance_request_builder.py index 7f4aa1317d6..c83a39f4b73 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_model_performance/user_experience_analytics_battery_health_model_performance_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_model_performance/user_experience_analytics_battery_health_model_performance_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsBatteryHealthModelPerformance] = None, request_configuration: Optional[UserExperienceAnalyticsBatteryHealthModelPerformanceRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsBatte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_os_performance/item/user_experience_analytics_battery_health_os_performance_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_os_performance/item/user_experience_analytics_battery_health_os_performance_item_request_builder.py index 2591e647eb2..086654998e9 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_os_performance/item/user_experience_analytics_battery_health_os_performance_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_os_performance/item/user_experience_analytics_battery_health_os_performance_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsBatteryHealthOsPerformanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsBatteryHealthOsPerformance] = None, request_configuration: Optional[UserExperienceAnalyticsBatteryHealthOsPerformanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsBatt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_os_performance/user_experience_analytics_battery_health_os_performance_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_os_performance/user_experience_analytics_battery_health_os_performance_request_builder.py index 26d51c6fff2..a6286fccc51 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_os_performance/user_experience_analytics_battery_health_os_performance_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_os_performance/user_experience_analytics_battery_health_os_performance_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsBatteryHealthOsPerformance] = None, request_configuration: Optional[UserExperienceAnalyticsBatteryHealthOsPerformanceRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsBatte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_runtime_details/user_experience_analytics_battery_health_runtime_details_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_runtime_details/user_experience_analytics_battery_health_runtime_details_request_builder.py index aa1eb7d7003..bcb2d3b9518 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_runtime_details/user_experience_analytics_battery_health_runtime_details_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_battery_health_runtime_details/user_experience_analytics_battery_health_runtime_details_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsBatteryHealthRuntimeDetailsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsBatteryHealthRuntimeDetails] = None, request_configuration: Optional[UserExperienceAnalyticsBatteryHealthRuntimeDetailsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsBatt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_categories/item/metric_values/item/user_experience_analytics_metric_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_categories/item/metric_values/item/user_experience_analytics_metric_item_request_builder.py index c1c883e6262..43968f92877 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_categories/item/metric_values/item/user_experience_analytics_metric_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_categories/item/metric_values/item/user_experience_analytics_metric_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsMetricItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsMetric] = None, request_configuration: Optional[UserExperienceAnalyticsMetricItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsMetr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_categories/item/metric_values/metric_values_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_categories/item/metric_values/metric_values_request_builder.py index 361ccb120b1..b379759762b 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_categories/item/metric_values/metric_values_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_categories/item/metric_values/metric_values_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[MetricValues request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsMetric] = None, request_configuration: Optional[MetricValuesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsMetri request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_categories/item/user_experience_analytics_category_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_categories/item/user_experience_analytics_category_item_request_builder.py index 42ba46fbd92..06934af4ac7 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_categories/item/user_experience_analytics_category_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_categories/item/user_experience_analytics_category_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsCategoryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsCategory] = None, request_configuration: Optional[UserExperienceAnalyticsCategoryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsCate request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_categories/user_experience_analytics_categories_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_categories/user_experience_analytics_categories_request_builder.py index 4c0af7d6c11..548b83d9332 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_categories/user_experience_analytics_categories_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_categories/user_experience_analytics_categories_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsCategory] = None, request_configuration: Optional[UserExperienceAnalyticsCategoriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsCateg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_metric_history/item/user_experience_analytics_metric_history_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_metric_history/item/user_experience_analytics_metric_history_item_request_builder.py index 08f8be3b08c..58500d5d4d4 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_metric_history/item/user_experience_analytics_metric_history_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_metric_history/item/user_experience_analytics_metric_history_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsMetricHistoryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsMetricHistory] = None, request_configuration: Optional[UserExperienceAnalyticsMetricHistoryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsMetr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_metric_history/user_experience_analytics_device_metric_history_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_metric_history/user_experience_analytics_device_metric_history_request_builder.py index 0c5fe376e46..41ae9b0204e 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_metric_history/user_experience_analytics_device_metric_history_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_metric_history/user_experience_analytics_device_metric_history_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsMetricHistory] = None, request_configuration: Optional[UserExperienceAnalyticsDeviceMetricHistoryRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsMetri request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_performance/item/user_experience_analytics_device_performance_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_performance/item/user_experience_analytics_device_performance_item_request_builder.py index 72de4d5bdb4..9f1894d7e16 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_performance/item/user_experience_analytics_device_performance_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_performance/item/user_experience_analytics_device_performance_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsDevicePerformanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsDevicePerformance] = None, request_configuration: Optional[UserExperienceAnalyticsDevicePerformanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsDevi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_performance/summarize_device_performance_devices_with_summarize_by/summarize_device_performance_devices_with_summarize_by_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_performance/summarize_device_performance_devices_with_summarize_by/summarize_device_performance_devices_with_summarize_by_request_builder.py index f298863028d..513aefab1b9 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_performance/summarize_device_performance_devices_with_summarize_by/summarize_device_performance_devices_with_summarize_by_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_performance/summarize_device_performance_devices_with_summarize_by/summarize_device_performance_devices_with_summarize_by_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[SummarizeDev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SummarizeDevicePerformanceDevicesWithSummarizeByRequestBuilder: diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_performance/user_experience_analytics_device_performance_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_performance/user_experience_analytics_device_performance_request_builder.py index d28cd6bcbf8..fb32ac71a00 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_performance/user_experience_analytics_device_performance_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_performance/user_experience_analytics_device_performance_request_builder.py @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsDevicePerformance] = None, request_configuration: Optional[UserExperienceAnalyticsDevicePerformanceRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -134,7 +134,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_scope/trigger_device_scope_action/trigger_device_scope_action_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_scope/trigger_device_scope_action/trigger_device_scope_action_request_builder.py index 687fc3f914e..447dc4d34a3 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_scope/trigger_device_scope_action/trigger_device_scope_action_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_scope/trigger_device_scope_action/trigger_device_scope_action_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[TriggerDeviceScopeActionPost request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_scope/user_experience_analytics_device_scope_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_scope/user_experience_analytics_device_scope_request_builder.py index 203d51f66de..4f4e67c4fa7 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_scope/user_experience_analytics_device_scope_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_scope/user_experience_analytics_device_scope_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsDeviceScopeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsDeviceScope] = None, request_configuration: Optional[UserExperienceAnalyticsDeviceScopeRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsDevi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_scopes/item/trigger_device_scope_action/trigger_device_scope_action_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_scopes/item/trigger_device_scope_action/trigger_device_scope_action_request_builder.py index 6269a50a835..971849d3ad0 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_scopes/item/trigger_device_scope_action/trigger_device_scope_action_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_scopes/item/trigger_device_scope_action/trigger_device_scope_action_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[TriggerDeviceScopeActionPost request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_scopes/item/user_experience_analytics_device_scope_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_scopes/item/user_experience_analytics_device_scope_item_request_builder.py index fb78605c84b..a61098364f1 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_scopes/item/user_experience_analytics_device_scope_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_scopes/item/user_experience_analytics_device_scope_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsDeviceScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsDeviceScope] = None, request_configuration: Optional[UserExperienceAnalyticsDeviceScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsDevi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_scopes/user_experience_analytics_device_scopes_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_scopes/user_experience_analytics_device_scopes_request_builder.py index 31c77c33cef..2edc775c98b 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_scopes/user_experience_analytics_device_scopes_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_scopes/user_experience_analytics_device_scopes_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsDeviceScope] = None, request_configuration: Optional[UserExperienceAnalyticsDeviceScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_scores/item/user_experience_analytics_device_scores_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_scores/item/user_experience_analytics_device_scores_item_request_builder.py index 204dc3655e0..b33c976d0ed 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_scores/item/user_experience_analytics_device_scores_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_scores/item/user_experience_analytics_device_scores_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsDeviceScoresItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsDeviceScores] = None, request_configuration: Optional[UserExperienceAnalyticsDeviceScoresItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsDevi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_scores/user_experience_analytics_device_scores_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_scores/user_experience_analytics_device_scores_request_builder.py index bb21f5bb3a1..330ca31b773 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_scores/user_experience_analytics_device_scores_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_scores/user_experience_analytics_device_scores_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsDeviceScores] = None, request_configuration: Optional[UserExperienceAnalyticsDeviceScoresRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_history/item/user_experience_analytics_device_startup_history_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_history/item/user_experience_analytics_device_startup_history_item_request_builder.py index d80f019df1d..5c13a45b228 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_history/item/user_experience_analytics_device_startup_history_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_history/item/user_experience_analytics_device_startup_history_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsDeviceStartupHistoryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsDeviceStartupHistory] = None, request_configuration: Optional[UserExperienceAnalyticsDeviceStartupHistoryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsDevi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_history/user_experience_analytics_device_startup_history_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_history/user_experience_analytics_device_startup_history_request_builder.py index 76cc9553a59..fe2162814d0 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_history/user_experience_analytics_device_startup_history_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_history/user_experience_analytics_device_startup_history_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsDeviceStartupHistory] = None, request_configuration: Optional[UserExperienceAnalyticsDeviceStartupHistoryRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_process_performance/item/user_experience_analytics_device_startup_process_performance_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_process_performance/item/user_experience_analytics_device_startup_process_performance_item_request_builder.py index 0144f3bbb02..2a1eef5d171 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_process_performance/item/user_experience_analytics_device_startup_process_performance_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_process_performance/item/user_experience_analytics_device_startup_process_performance_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsDeviceStartupProcessPerformance] = None, request_configuration: Optional[UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsDevi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_process_performance/user_experience_analytics_device_startup_process_performance_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_process_performance/user_experience_analytics_device_startup_process_performance_request_builder.py index 6985c3bd343..3a474c5dce3 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_process_performance/user_experience_analytics_device_startup_process_performance_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_process_performance/user_experience_analytics_device_startup_process_performance_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsDeviceStartupProcessPerformance] = None, request_configuration: Optional[UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_processes/item/user_experience_analytics_device_startup_process_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_processes/item/user_experience_analytics_device_startup_process_item_request_builder.py index 0a7ffe05c7e..111c14df0cf 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_processes/item/user_experience_analytics_device_startup_process_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_processes/item/user_experience_analytics_device_startup_process_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsDeviceStartupProcessItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsDeviceStartupProcess] = None, request_configuration: Optional[UserExperienceAnalyticsDeviceStartupProcessItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsDevi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_processes/user_experience_analytics_device_startup_processes_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_processes/user_experience_analytics_device_startup_processes_request_builder.py index 7f287029ec3..bcb73d30a73 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_processes/user_experience_analytics_device_startup_processes_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_startup_processes/user_experience_analytics_device_startup_processes_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsDeviceStartupProcess] = None, request_configuration: Optional[UserExperienceAnalyticsDeviceStartupProcessesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_timeline_event/item/user_experience_analytics_device_timeline_event_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_timeline_event/item/user_experience_analytics_device_timeline_event_item_request_builder.py index 4365af258eb..76b09d5d73d 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_timeline_event/item/user_experience_analytics_device_timeline_event_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_timeline_event/item/user_experience_analytics_device_timeline_event_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsDeviceTimelineEventItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsDeviceTimelineEvent] = None, request_configuration: Optional[UserExperienceAnalyticsDeviceTimelineEventItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsDevi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_device_timeline_event/user_experience_analytics_device_timeline_event_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_device_timeline_event/user_experience_analytics_device_timeline_event_request_builder.py index 77e37d8788d..2ee53762457 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_device_timeline_event/user_experience_analytics_device_timeline_event_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_device_timeline_event/user_experience_analytics_device_timeline_event_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsDeviceTimelineEvent] = None, request_configuration: Optional[UserExperienceAnalyticsDeviceTimelineEventRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_devices_without_cloud_identity/item/user_experience_analytics_device_without_cloud_identity_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_devices_without_cloud_identity/item/user_experience_analytics_device_without_cloud_identity_item_request_builder.py index 6c76ffbf0c2..69d3a65f679 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_devices_without_cloud_identity/item/user_experience_analytics_device_without_cloud_identity_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_devices_without_cloud_identity/item/user_experience_analytics_device_without_cloud_identity_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsDeviceWithoutCloudIdentityItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsDeviceWithoutCloudIdentity] = None, request_configuration: Optional[UserExperienceAnalyticsDeviceWithoutCloudIdentityItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsDevi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_devices_without_cloud_identity/user_experience_analytics_devices_without_cloud_identity_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_devices_without_cloud_identity/user_experience_analytics_devices_without_cloud_identity_request_builder.py index 6d9da6d6170..ca9769f6890 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_devices_without_cloud_identity/user_experience_analytics_devices_without_cloud_identity_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_devices_without_cloud_identity/user_experience_analytics_devices_without_cloud_identity_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsDeviceWithoutCloudIdentity] = None, request_configuration: Optional[UserExperienceAnalyticsDevicesWithoutCloudIdentityRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_impacting_process/item/user_experience_analytics_impacting_process_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_impacting_process/item/user_experience_analytics_impacting_process_item_request_builder.py index 59005dbf231..c83612f29ad 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_impacting_process/item/user_experience_analytics_impacting_process_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_impacting_process/item/user_experience_analytics_impacting_process_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsImpactingProcessItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsImpactingProcess] = None, request_configuration: Optional[UserExperienceAnalyticsImpactingProcessItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsImpa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_impacting_process/user_experience_analytics_impacting_process_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_impacting_process/user_experience_analytics_impacting_process_request_builder.py index 8ce6dea3850..cd0b98e98c8 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_impacting_process/user_experience_analytics_impacting_process_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_impacting_process/user_experience_analytics_impacting_process_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsImpactingProcess] = None, request_configuration: Optional[UserExperienceAnalyticsImpactingProcessRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsImpac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_metric_history/item/user_experience_analytics_metric_history_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_metric_history/item/user_experience_analytics_metric_history_item_request_builder.py index 4712d5760b8..cbd342ce769 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_metric_history/item/user_experience_analytics_metric_history_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_metric_history/item/user_experience_analytics_metric_history_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsMetricHistoryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsMetricHistory] = None, request_configuration: Optional[UserExperienceAnalyticsMetricHistoryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsMetr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_metric_history/user_experience_analytics_metric_history_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_metric_history/user_experience_analytics_metric_history_request_builder.py index 18710cb1f9a..01b030b770b 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_metric_history/user_experience_analytics_metric_history_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_metric_history/user_experience_analytics_metric_history_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsMetricHistory] = None, request_configuration: Optional[UserExperienceAnalyticsMetricHistoryRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsMetri request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_model_scores/item/user_experience_analytics_model_scores_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_model_scores/item/user_experience_analytics_model_scores_item_request_builder.py index d2aeeb78cf8..482f23ae7c6 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_model_scores/item/user_experience_analytics_model_scores_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_model_scores/item/user_experience_analytics_model_scores_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsModelScoresItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsModelScores] = None, request_configuration: Optional[UserExperienceAnalyticsModelScoresItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsMode request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_model_scores/user_experience_analytics_model_scores_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_model_scores/user_experience_analytics_model_scores_request_builder.py index ee0e3f78dde..cfec31bd2ba 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_model_scores/user_experience_analytics_model_scores_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_model_scores/user_experience_analytics_model_scores_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsModelScores] = None, request_configuration: Optional[UserExperienceAnalyticsModelScoresRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsModel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_not_autopilot_ready_device/item/user_experience_analytics_not_autopilot_ready_device_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_not_autopilot_ready_device/item/user_experience_analytics_not_autopilot_ready_device_item_request_builder.py index 963a2cedb7a..b49f426ae15 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_not_autopilot_ready_device/item/user_experience_analytics_not_autopilot_ready_device_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_not_autopilot_ready_device/item/user_experience_analytics_not_autopilot_ready_device_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsNotAutopilotReadyDeviceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsNotAutopilotReadyDevice] = None, request_configuration: Optional[UserExperienceAnalyticsNotAutopilotReadyDeviceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsNotA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_not_autopilot_ready_device/user_experience_analytics_not_autopilot_ready_device_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_not_autopilot_ready_device/user_experience_analytics_not_autopilot_ready_device_request_builder.py index 02e95027ee2..331e0166c4f 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_not_autopilot_ready_device/user_experience_analytics_not_autopilot_ready_device_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_not_autopilot_ready_device/user_experience_analytics_not_autopilot_ready_device_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsNotAutopilotReadyDevice] = None, request_configuration: Optional[UserExperienceAnalyticsNotAutopilotReadyDeviceRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsNotAu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_overview/user_experience_analytics_overview_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_overview/user_experience_analytics_overview_request_builder.py index 5ae55c58d46..3c2fa1f72db 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_overview/user_experience_analytics_overview_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_overview/user_experience_analytics_overview_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsOverviewRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsOverview] = None, request_configuration: Optional[UserExperienceAnalyticsOverviewRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsOver request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_remote_connection/item/user_experience_analytics_remote_connection_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_remote_connection/item/user_experience_analytics_remote_connection_item_request_builder.py index 4a1bee0ad05..cb25b5a3027 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_remote_connection/item/user_experience_analytics_remote_connection_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_remote_connection/item/user_experience_analytics_remote_connection_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsRemoteConnectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsRemoteConnection] = None, request_configuration: Optional[UserExperienceAnalyticsRemoteConnectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsRemo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_remote_connection/summarize_device_remote_connection_with_summarize_by/summarize_device_remote_connection_with_summarize_by_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_remote_connection/summarize_device_remote_connection_with_summarize_by/summarize_device_remote_connection_with_summarize_by_request_builder.py index 96d08de5857..aa546fbaabb 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_remote_connection/summarize_device_remote_connection_with_summarize_by/summarize_device_remote_connection_with_summarize_by_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_remote_connection/summarize_device_remote_connection_with_summarize_by/summarize_device_remote_connection_with_summarize_by_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[SummarizeDev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SummarizeDeviceRemoteConnectionWithSummarizeByRequestBuilder: diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_remote_connection/user_experience_analytics_remote_connection_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_remote_connection/user_experience_analytics_remote_connection_request_builder.py index f3e65c63130..67da6b7f5a7 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_remote_connection/user_experience_analytics_remote_connection_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_remote_connection/user_experience_analytics_remote_connection_request_builder.py @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsRemoteConnection] = None, request_configuration: Optional[UserExperienceAnalyticsRemoteConnectionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -134,7 +134,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsRemot request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_resource_performance/item/user_experience_analytics_resource_performance_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_resource_performance/item/user_experience_analytics_resource_performance_item_request_builder.py index 389abe3e98e..cbd9e8f2394 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_resource_performance/item/user_experience_analytics_resource_performance_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_resource_performance/item/user_experience_analytics_resource_performance_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsResourcePerformanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsResourcePerformance] = None, request_configuration: Optional[UserExperienceAnalyticsResourcePerformanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsReso request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_resource_performance/summarize_device_resource_performance_with_summarize_by/summarize_device_resource_performance_with_summarize_by_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_resource_performance/summarize_device_resource_performance_with_summarize_by/summarize_device_resource_performance_with_summarize_by_request_builder.py index 226a7838797..5bc1c6fd76f 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_resource_performance/summarize_device_resource_performance_with_summarize_by/summarize_device_resource_performance_with_summarize_by_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_resource_performance/summarize_device_resource_performance_with_summarize_by/summarize_device_resource_performance_with_summarize_by_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[SummarizeDev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SummarizeDeviceResourcePerformanceWithSummarizeByRequestBuilder: diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_resource_performance/user_experience_analytics_resource_performance_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_resource_performance/user_experience_analytics_resource_performance_request_builder.py index a7ffa41e831..6fb47780745 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_resource_performance/user_experience_analytics_resource_performance_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_resource_performance/user_experience_analytics_resource_performance_request_builder.py @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsResourcePerformance] = None, request_configuration: Optional[UserExperienceAnalyticsResourcePerformanceRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -134,7 +134,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsResou request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_score_history/item/user_experience_analytics_score_history_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_score_history/item/user_experience_analytics_score_history_item_request_builder.py index 5c6fafe1c50..7756e20aa29 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_score_history/item/user_experience_analytics_score_history_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_score_history/item/user_experience_analytics_score_history_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsScoreHistoryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsScoreHistory] = None, request_configuration: Optional[UserExperienceAnalyticsScoreHistoryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsScor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_score_history/user_experience_analytics_score_history_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_score_history/user_experience_analytics_score_history_request_builder.py index 7da233a80b4..ccf0afb65aa 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_score_history/user_experience_analytics_score_history_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_score_history/user_experience_analytics_score_history_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsScoreHistory] = None, request_configuration: Optional[UserExperienceAnalyticsScoreHistoryRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsScore request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_summarize_work_from_anywhere_devices/user_experience_analytics_summarize_work_from_anywhere_devices_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_summarize_work_from_anywhere_devices/user_experience_analytics_summarize_work_from_anywhere_devices_request_builder.py index 52be79045eb..223c45e11ff 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_summarize_work_from_anywhere_devices/user_experience_analytics_summarize_work_from_anywhere_devices_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_summarize_work_from_anywhere_devices/user_experience_analytics_summarize_work_from_anywhere_devices_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesRequestBuilder: diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_summarized_device_scopes/user_experience_analytics_summarized_device_scopes_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_summarized_device_scopes/user_experience_analytics_summarized_device_scopes_request_builder.py index febfffe73b7..7f6434aa673 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_summarized_device_scopes/user_experience_analytics_summarized_device_scopes_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_summarized_device_scopes/user_experience_analytics_summarized_device_scopes_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserExperienceAnalyticsSummarizedDeviceScopesRequestBuilder: diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_hardware_readiness_metric/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_hardware_readiness_metric/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_request_builder.py index f65a16e3b3e..b5e2d8d65d5 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_hardware_readiness_metric/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_hardware_readiness_metric/user_experience_analytics_work_from_anywhere_hardware_readiness_metric_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric] = None, request_configuration: Optional[UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsWork request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/item/metric_devices/item/user_experience_analytics_work_from_anywhere_device_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/item/metric_devices/item/user_experience_analytics_work_from_anywhere_device_item_request_builder.py index 52aa9a965d8..9bd3c094345 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/item/metric_devices/item/user_experience_analytics_work_from_anywhere_device_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/item/metric_devices/item/user_experience_analytics_work_from_anywhere_device_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsWorkFromAnywhereDevice] = None, request_configuration: Optional[UserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsWork request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/item/metric_devices/metric_devices_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/item/metric_devices/metric_devices_request_builder.py index ea03ee8f406..33d918d6736 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/item/metric_devices/metric_devices_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/item/metric_devices/metric_devices_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[MetricDevice request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsWorkFromAnywhereDevice] = None, request_configuration: Optional[MetricDevicesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsWorkF request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/item/user_experience_analytics_work_from_anywhere_metric_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/item/user_experience_analytics_work_from_anywhere_metric_item_request_builder.py index 1c36819ed17..e9274503885 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/item/user_experience_analytics_work_from_anywhere_metric_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/item/user_experience_analytics_work_from_anywhere_metric_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsWorkFromAnywhereMetric] = None, request_configuration: Optional[UserExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsWork request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/user_experience_analytics_work_from_anywhere_metrics_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/user_experience_analytics_work_from_anywhere_metrics_request_builder.py index e9fc4db6d77..91fe70b8e88 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/user_experience_analytics_work_from_anywhere_metrics_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_metrics/user_experience_analytics_work_from_anywhere_metrics_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsWorkFromAnywhereMetric] = None, request_configuration: Optional[UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsWorkF request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_model_performance/item/user_experience_analytics_work_from_anywhere_model_performance_item_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_model_performance/item/user_experience_analytics_work_from_anywhere_model_performance_item_request_builder.py index c56161e2c00..c7b331eebb1 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_model_performance/item/user_experience_analytics_work_from_anywhere_model_performance_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_model_performance/item/user_experience_analytics_work_from_anywhere_model_performance_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserExper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsWorkFromAnywhereModelPerformance] = None, request_configuration: Optional[UserExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserExperienceAnalyticsWork request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_model_performance/user_experience_analytics_work_from_anywhere_model_performance_request_builder.py b/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_model_performance/user_experience_analytics_work_from_anywhere_model_performance_request_builder.py index 3607c44f527..6d757baccd8 100644 --- a/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_model_performance/user_experience_analytics_work_from_anywhere_model_performance_request_builder.py +++ b/msgraph_beta/generated/device_management/user_experience_analytics_work_from_anywhere_model_performance/user_experience_analytics_work_from_anywhere_model_performance_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserExperien request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserExperienceAnalyticsWorkFromAnywhereModelPerformance] = None, request_configuration: Optional[UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserExperienceAnalyticsWorkF request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_pfx_certificates/item/user_p_f_x_certificate_item_request_builder.py b/msgraph_beta/generated/device_management/user_pfx_certificates/item/user_p_f_x_certificate_item_request_builder.py index 9d84c4cdc39..d351a91b284 100644 --- a/msgraph_beta/generated/device_management/user_pfx_certificates/item/user_p_f_x_certificate_item_request_builder.py +++ b/msgraph_beta/generated/device_management/user_pfx_certificates/item/user_p_f_x_certificate_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserPFXCe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserPFXCertificateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserPFXCerti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserPFXCertificate] = None, request_configuration: Optional[UserPFXCertificateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserPFXCertificate] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/user_pfx_certificates/user_pfx_certificates_request_builder.py b/msgraph_beta/generated/device_management/user_pfx_certificates/user_pfx_certificates_request_builder.py index 7e1f19971b5..c8ed28de45d 100644 --- a/msgraph_beta/generated/device_management/user_pfx_certificates/user_pfx_certificates_request_builder.py +++ b/msgraph_beta/generated/device_management/user_pfx_certificates/user_pfx_certificates_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserPfxCerti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserPFXCertificate] = None, request_configuration: Optional[UserPfxCertificatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserPFXCertificate] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/verify_windows_enrollment_auto_discovery_with_domain_name/verify_windows_enrollment_auto_discovery_with_domain_name_request_builder.py b/msgraph_beta/generated/device_management/verify_windows_enrollment_auto_discovery_with_domain_name/verify_windows_enrollment_auto_discovery_with_domain_name_request_builder.py index b7df9da7782..bdc77abf338 100644 --- a/msgraph_beta/generated/device_management/verify_windows_enrollment_auto_discovery_with_domain_name/verify_windows_enrollment_auto_discovery_with_domain_name_request_builder.py +++ b/msgraph_beta/generated/device_management/verify_windows_enrollment_auto_discovery_with_domain_name/verify_windows_enrollment_auto_discovery_with_domain_name_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[VerifyWindow request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameRequestBuilder: diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/audit_events/audit_events_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/audit_events/audit_events_request_builder.py index ddf4f8fe3c0..2c93a2c5c0c 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/audit_events/audit_events_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/audit_events/audit_events_request_builder.py @@ -46,7 +46,7 @@ def by_cloud_pc_audit_event_id(self,cloud_pc_audit_event_id: str) -> CloudPcAudi async def get(self,request_configuration: Optional[AuditEventsRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcAuditEventCollectionResponse]: """ - List all the cloudPcAuditEvent objects for the tenant. This API is available in the following national cloud deployments. + List all the cloudPcAuditEvent objects for the tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcAuditEventCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/virtualendpoint-list-auditevents?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[CloudPcAuditEvent] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[AuditEventsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all the cloudPcAuditEvent objects for the tenant. This API is available in the following national cloud deployments. + List all the cloudPcAuditEvent objects for the tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[AuditEventsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CloudPcAuditEvent] = None, request_configuration: Optional[AuditEventsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[CloudPcAuditEvent] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def get_audit_activity_types(self) -> GetAuditActivityTypesRequestBuilder: @dataclass class AuditEventsRequestBuilderGetQueryParameters(): """ - List all the cloudPcAuditEvent objects for the tenant. This API is available in the following national cloud deployments. + List all the cloudPcAuditEvent objects for the tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/audit_events/get_audit_activity_types/get_audit_activity_types_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/audit_events/get_audit_activity_types/get_audit_activity_types_request_builder.py index d6c5c8d142f..57e9a476398 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/audit_events/get_audit_activity_types/get_audit_activity_types_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/audit_events/get_audit_activity_types/get_audit_activity_types_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetAuditActi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetAuditActivityTypesRequestBuilder: diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/audit_events/item/cloud_pc_audit_event_item_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/audit_events/item/cloud_pc_audit_event_item_request_builder.py index 5a74fdc15e7..29625255e48 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/audit_events/item/cloud_pc_audit_event_item_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/audit_events/item/cloud_pc_audit_event_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[CloudPcAuditEventItemReque async def get(self,request_configuration: Optional[CloudPcAuditEventItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcAuditEvent]: """ - Read the properties and relationships of a cloudPcAuditEvent object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcAuditEvent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcAuditEvent] Find more info here: https://learn.microsoft.com/graph/api/cloudpcauditevent-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[CloudPcAu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CloudPcAuditEventItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a cloudPcAuditEvent object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcAuditEvent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CloudPcAudit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CloudPcAuditEvent] = None, request_configuration: Optional[CloudPcAuditEventItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[CloudPcAuditEvent] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class CloudPcAuditEventItemRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class CloudPcAuditEventItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a cloudPcAuditEvent object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcAuditEvent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/bulk_actions/bulk_actions_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/bulk_actions/bulk_actions_request_builder.py index 8e7a8f2abc1..8427892542a 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/bulk_actions/bulk_actions_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/bulk_actions/bulk_actions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[BulkActionsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CloudPcBulkAction] = None, request_configuration: Optional[BulkActionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[CloudPcBulkAction] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/bulk_actions/item/cloud_pc_bulk_action_item_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/bulk_actions/item/cloud_pc_bulk_action_item_request_builder.py index efcf8cfae54..5eece2b2481 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/bulk_actions/item/cloud_pc_bulk_action_item_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/bulk_actions/item/cloud_pc_bulk_action_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[CloudPcBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CloudPcBulkActionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[CloudPcBulkA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CloudPcBulkAction] = None, request_configuration: Optional[CloudPcBulkActionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[CloudPcBulkAction] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/bulk_resize/bulk_resize_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/bulk_resize/bulk_resize_request_builder.py index 557fa1617d8..596e42cd679 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/bulk_resize/bulk_resize_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/bulk_resize/bulk_resize_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[BulkResizePostRequestBody] = None, request_configuration: Optional[BulkResizeRequestBuilderPostRequestConfiguration] = None) -> Optional[BulkResizePostResponse]: """ - Perform a bulk resize action to resize a group of cloudPCs that have successfully passed validation. If any devices can't be resized, those devices indicate 'resize failed'. The remaining devices are provisioned for the resize process. This API is available in the following national cloud deployments. + Perform a bulk resize action to resize a group of cloudPCs that have successfully passed validation. If any devices can't be resized, those devices indicate 'resize failed'. The remaining devices are provisioned for the resize process. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BulkResizePostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[BulkResizePostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[BulkResizePostRequestBody] = None, request_configuration: Optional[BulkResizeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Perform a bulk resize action to resize a group of cloudPCs that have successfully passed validation. If any devices can't be resized, those devices indicate 'resize failed'. The remaining devices are provisioned for the resize process. This API is available in the following national cloud deployments. + Perform a bulk resize action to resize a group of cloudPCs that have successfully passed validation. If any devices can't be resized, those devices indicate 'resize failed'. The remaining devices are provisioned for the resize process. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[BulkResizePostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/cloud_p_cs_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/cloud_p_cs_request_builder.py index 20a42c24012..d095d367d71 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/cloud_p_cs_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/cloud_p_cs_request_builder.py @@ -48,7 +48,7 @@ def by_cloud_p_c_id(self,cloud_p_c_id: str) -> CloudPCItemRequestBuilder: async def get(self,request_configuration: Optional[CloudPCsRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPCCollectionResponse]: """ - List the cloudPC devices in a tenant. This API is available in the following national cloud deployments. + List the cloudPC devices in a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPCCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/virtualendpoint-list-cloudpcs?view=graph-rest-1.0 @@ -109,7 +109,7 @@ async def post(self,body: Optional[CloudPC] = None, request_configuration: Optio def to_get_request_information(self,request_configuration: Optional[CloudPCsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the cloudPC devices in a tenant. This API is available in the following national cloud deployments. + List the cloudPC devices in a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CloudPCsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CloudPC] = None, request_configuration: Optional[CloudPCsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_post_request_information(self,body: Optional[CloudPC] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -184,7 +184,7 @@ def validate_bulk_resize(self) -> ValidateBulkResizeRequestBuilder: @dataclass class CloudPCsRequestBuilderGetQueryParameters(): """ - List the cloudPC devices in a tenant. This API is available in the following national cloud deployments. + List the cloudPC devices in a tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.py index 85e8018ce34..2c4d11ae8f4 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.py @@ -66,7 +66,7 @@ def to_get_request_information(self,request_configuration: Optional[GetProvision request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilder: diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/change_user_account_type/change_user_account_type_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/change_user_account_type/change_user_account_type_request_builder.py index c773fb1c0d1..d171a2c4fb5 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/change_user_account_type/change_user_account_type_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/change_user_account_type/change_user_account_type_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ChangeUserAccountTypePostRequestBody] = None, request_configuration: Optional[ChangeUserAccountTypeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Change the account type of the user on a specific Cloud PC. This API is available in the following national cloud deployments. + Change the account type of the user on a specific Cloud PC. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ChangeUserAccountTypePostRequestBody] = None, def to_post_request_information(self,body: Optional[ChangeUserAccountTypePostRequestBody] = None, request_configuration: Optional[ChangeUserAccountTypeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Change the account type of the user on a specific Cloud PC. This API is available in the following national cloud deployments. + Change the account type of the user on a specific Cloud PC. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ChangeUserAccountTypePostReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/cloud_p_c_item_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/cloud_p_c_item_request_builder.py index 51567da279a..fba5958c2be 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/cloud_p_c_item_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/cloud_p_c_item_request_builder.py @@ -66,7 +66,7 @@ async def delete(self,request_configuration: Optional[CloudPCItemRequestBuilderD async def get(self,request_configuration: Optional[CloudPCItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPC]: """ - Read the properties and relationships of a specific cloudPC object. This API is available in the following national cloud deployments. + Read the properties and relationships of a specific cloudPC object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPC] Find more info here: https://learn.microsoft.com/graph/api/cloudpc-get?view=graph-rest-1.0 @@ -123,12 +123,12 @@ def to_delete_request_information(self,request_configuration: Optional[CloudPCIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CloudPCItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a specific cloudPC object. This API is available in the following national cloud deployments. + Read the properties and relationships of a specific cloudPC object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -140,7 +140,7 @@ def to_get_request_information(self,request_configuration: Optional[CloudPCItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CloudPC] = None, request_configuration: Optional[CloudPCItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -159,7 +159,7 @@ def to_patch_request_information(self,body: Optional[CloudPC] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -357,7 +357,7 @@ class CloudPCItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurati @dataclass class CloudPCItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a specific cloudPC object. This API is available in the following national cloud deployments. + Read the properties and relationships of a specific cloudPC object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/create_snapshot/create_snapshot_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/create_snapshot/create_snapshot_request_builder.py index 441f48c3c4a..ac7a7d6c7e9 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/create_snapshot/create_snapshot_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/create_snapshot/create_snapshot_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[CreateSnaps request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreateSnapshotRequestBuilder: diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/end_grace_period/end_grace_period_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/end_grace_period/end_grace_period_request_builder.py index f5939081261..b55aa46a94a 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/end_grace_period/end_grace_period_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/end_grace_period/end_grace_period_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[EndGracePeriodRequestBuilderPostRequestConfiguration] = None) -> None: """ - End the grace period for a specific Cloud PC. The grace period is triggered when the Cloud PC license is removed or the provisioning policy is unassigned. It allows users to access Cloud PCs for up to seven days before deprovisioning occurs. Ending the grace period immediately deprovisions the Cloud PC without waiting the seven days. This API is available in the following national cloud deployments. + End the grace period for a specific Cloud PC. The grace period is triggered when the Cloud PC license is removed or the provisioning policy is unassigned. It allows users to access Cloud PCs for up to seven days before deprovisioning occurs. Ending the grace period immediately deprovisions the Cloud PC without waiting the seven days. 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/cloudpc-endgraceperiod?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[EndGracePeriodRequestBuilder def to_post_request_information(self,request_configuration: Optional[EndGracePeriodRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - End the grace period for a specific Cloud PC. The grace period is triggered when the Cloud PC license is removed or the provisioning policy is unassigned. It allows users to access Cloud PCs for up to seven days before deprovisioning occurs. Ending the grace period immediately deprovisions the Cloud PC without waiting the seven days. This API is available in the following national cloud deployments. + End the grace period for a specific Cloud PC. The grace period is triggered when the Cloud PC license is removed or the provisioning policy is unassigned. It allows users to access Cloud PCs for up to seven days before deprovisioning occurs. Ending the grace period immediately deprovisions the Cloud PC without waiting the seven days. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[EndGracePer request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EndGracePeriodRequestBuilder: diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_cloud_pc_connectivity_history/get_cloud_pc_connectivity_history_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_cloud_pc_connectivity_history/get_cloud_pc_connectivity_history_request_builder.py index 4496f71063d..eb3becb2f16 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_cloud_pc_connectivity_history/get_cloud_pc_connectivity_history_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_cloud_pc_connectivity_history/get_cloud_pc_connectivity_history_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetCloudPcCo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetCloudPcConnectivityHistoryRequestBuilder: diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_cloud_pc_launch_info/get_cloud_pc_launch_info_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_cloud_pc_launch_info/get_cloud_pc_launch_info_request_builder.py index f05d075b6c7..a37b5d3180a 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_cloud_pc_launch_info/get_cloud_pc_launch_info_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_cloud_pc_launch_info/get_cloud_pc_launch_info_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetCloudPcLa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetCloudPcLaunchInfoRequestBuilder: diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_frontline_cloud_pc_access_state/get_frontline_cloud_pc_access_state_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_frontline_cloud_pc_access_state/get_frontline_cloud_pc_access_state_request_builder.py index c49d404fe13..718199b747d 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_frontline_cloud_pc_access_state/get_frontline_cloud_pc_access_state_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_frontline_cloud_pc_access_state/get_frontline_cloud_pc_access_state_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetFrontline request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetFrontlineCloudPcAccessStateRequestBuilder: diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_shift_work_cloud_pc_access_state/get_shift_work_cloud_pc_access_state_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_shift_work_cloud_pc_access_state/get_shift_work_cloud_pc_access_state_request_builder.py index eed0534337a..7de10f14f84 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_shift_work_cloud_pc_access_state/get_shift_work_cloud_pc_access_state_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_shift_work_cloud_pc_access_state/get_shift_work_cloud_pc_access_state_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetShiftWork request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetShiftWorkCloudPcAccessStateRequestBuilder: diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_supported_cloud_pc_remote_actions/get_supported_cloud_pc_remote_actions_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_supported_cloud_pc_remote_actions/get_supported_cloud_pc_remote_actions_request_builder.py index 8b4dcfbaab5..5ec99d25129 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_supported_cloud_pc_remote_actions/get_supported_cloud_pc_remote_actions_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/get_supported_cloud_pc_remote_actions/get_supported_cloud_pc_remote_actions_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSupported request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSupportedCloudPcRemoteActionsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/power_off/power_off_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/power_off/power_off_request_builder.py index d613c8ac302..1dcba27274f 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/power_off/power_off_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/power_off/power_off_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[PowerOffRequestBuilderPostRequestConfiguration] = None) -> None: """ - Power off a Windows 365 Frontline Cloud PC. This action supports Microsoft Endpoint Manager (MEM) admin scenarios. After a Windows 365 Frontline Cloud PC is powered off, it's deallocated, and licenses are revoked immediately. Only IT admin users can perform this action. This API is available in the following national cloud deployments. + Power off a Windows 365 Frontline Cloud PC. This action supports Microsoft Endpoint Manager (MEM) admin scenarios. After a Windows 365 Frontline Cloud PC is powered off, it's deallocated, and licenses are revoked immediately. Only IT admin users can perform this action. 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/cloudpc-poweroff?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[PowerOffRequestBuilderPostRe def to_post_request_information(self,request_configuration: Optional[PowerOffRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Power off a Windows 365 Frontline Cloud PC. This action supports Microsoft Endpoint Manager (MEM) admin scenarios. After a Windows 365 Frontline Cloud PC is powered off, it's deallocated, and licenses are revoked immediately. Only IT admin users can perform this action. This API is available in the following national cloud deployments. + Power off a Windows 365 Frontline Cloud PC. This action supports Microsoft Endpoint Manager (MEM) admin scenarios. After a Windows 365 Frontline Cloud PC is powered off, it's deallocated, and licenses are revoked immediately. Only IT admin users can perform this action. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[PowerOffReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PowerOffRequestBuilder: diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/power_on/power_on_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/power_on/power_on_request_builder.py index eace4b116fb..49c8074f6a7 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/power_on/power_on_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/power_on/power_on_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[PowerOnRequestBuilderPostRequestConfiguration] = None) -> None: """ - Power on a Windows 365 Frontline Cloud PC. This action supports Microsoft Endpoint Manager (MEM) admin scenarios. After a Windows 365 Frontline Cloud PC is powered on, it is allocated to a user, and licenses are assigned immediately. Only IT admin users can perform this action. This API is available in the following national cloud deployments. + Power on a Windows 365 Frontline Cloud PC. This action supports Microsoft Endpoint Manager (MEM) admin scenarios. After a Windows 365 Frontline Cloud PC is powered on, it is allocated to a user, and licenses are assigned immediately. Only IT admin users can perform this action. 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/cloudpc-poweron?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[PowerOnRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[PowerOnRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Power on a Windows 365 Frontline Cloud PC. This action supports Microsoft Endpoint Manager (MEM) admin scenarios. After a Windows 365 Frontline Cloud PC is powered on, it is allocated to a user, and licenses are assigned immediately. Only IT admin users can perform this action. This API is available in the following national cloud deployments. + Power on a Windows 365 Frontline Cloud PC. This action supports Microsoft Endpoint Manager (MEM) admin scenarios. After a Windows 365 Frontline Cloud PC is powered on, it is allocated to a user, and licenses are assigned immediately. Only IT admin users can perform this action. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[PowerOnRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PowerOnRequestBuilder: diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/reboot/reboot_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/reboot/reboot_request_builder.py index e1fb7a54f72..3d1fa012a40 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/reboot/reboot_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/reboot/reboot_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RebootRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reboot a specific Cloud PC. This API is available in the following national cloud deployments. + Reboot a specific Cloud PC. 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/cloudpc-reboot?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RebootRequestBuilderPostRequ def to_post_request_information(self,request_configuration: Optional[RebootRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reboot a specific Cloud PC. This API is available in the following national cloud deployments. + Reboot a specific Cloud PC. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RebootReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RebootRequestBuilder: diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/rename/rename_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/rename/rename_request_builder.py index 91febbf727e..183a7d6e6d1 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/rename/rename_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/rename/rename_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RenamePostRequestBody] = None, request_configuration: Optional[RenameRequestBuilderPostRequestConfiguration] = None) -> None: """ - Rename a specific Cloud PC. Use this API to update the displayName for the Cloud PC entity. This API is available in the following national cloud deployments. + Rename a specific Cloud PC. Use this API to update the displayName for the Cloud PC entity. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RenamePostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[RenamePostRequestBody] = None, request_configuration: Optional[RenameRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Rename a specific Cloud PC. Use this API to update the displayName for the Cloud PC entity. This API is available in the following national cloud deployments. + Rename a specific Cloud PC. Use this API to update the displayName for the Cloud PC entity. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RenamePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/reprovision/reprovision_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/reprovision/reprovision_request_builder.py index 1447a2c9f11..3903fe1d717 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/reprovision/reprovision_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/reprovision/reprovision_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ReprovisionPostRequestBody] = None, request_configuration: Optional[ReprovisionRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reprovision a specific Cloud PC. This API is available in the following national cloud deployments. + Reprovision a specific Cloud PC. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ReprovisionPostRequestBody] = None, request_c def to_post_request_information(self,body: Optional[ReprovisionPostRequestBody] = None, request_configuration: Optional[ReprovisionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reprovision a specific Cloud PC. This API is available in the following national cloud deployments. + Reprovision a specific Cloud PC. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ReprovisionPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/resize/resize_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/resize/resize_request_builder.py index 213bd4bd9c8..6432c9c4e62 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/resize/resize_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/resize/resize_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ResizePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/restore/restore_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/restore/restore_request_builder.py index 313ac6948bb..a11b601067c 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/restore/restore_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/restore/restore_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RestorePostRequestBody] = None, request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> None: """ - Restore a specific Cloud PC. Use this API to trigger a remote action that restores a Cloud PC device to a previous state. This API is available in the following national cloud deployments. + Restore a specific Cloud PC. Use this API to trigger a remote action that restores a Cloud PC device to a previous state. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RestorePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[RestorePostRequestBody] = None, request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a specific Cloud PC. Use this API to trigger a remote action that restores a Cloud PC device to a previous state. This API is available in the following national cloud deployments. + Restore a specific Cloud PC. Use this API to trigger a remote action that restores a Cloud PC device to a previous state. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RestorePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/retry_partner_agent_installation/retry_partner_agent_installation_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/retry_partner_agent_installation/retry_partner_agent_installation_request_builder.py index 05e5af70f7f..4571d4b0352 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/retry_partner_agent_installation/retry_partner_agent_installation_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/retry_partner_agent_installation/retry_partner_agent_installation_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RetryPartnerAgentInstallationRequestBuilderPostRequestConfiguration] = None) -> None: """ - Retry installation for the partner agents that failed to install on the Cloud PC. Service side checks which agent installation failed firstly and retry. This API is available in the following national cloud deployments. + Retry installation for the partner agents that failed to install on the Cloud PC. Service side checks which agent installation failed firstly and retry. 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/cloudpc-retrypartneragentinstallation?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RetryPartnerAgentInstallatio def to_post_request_information(self,request_configuration: Optional[RetryPartnerAgentInstallationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Retry installation for the partner agents that failed to install on the Cloud PC. Service side checks which agent installation failed firstly and retry. This API is available in the following national cloud deployments. + Retry installation for the partner agents that failed to install on the Cloud PC. Service side checks which agent installation failed firstly and retry. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RetryPartne request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RetryPartnerAgentInstallationRequestBuilder: diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/start/start_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/start/start_request_builder.py index 34f1ac97419..6bf4b377965 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/start/start_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/start/start_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[StartRequestBuilderPostRequestConfiguration] = None) -> None: """ - Start a specific Cloud PC for a user. Currently, only Windows 365 Frontline Cloud PCs are supported. This API is available in the following national cloud deployments. + Start a specific Cloud PC for a user. Currently, only Windows 365 Frontline Cloud PCs are supported. 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/cloudpc-start?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[StartRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[StartRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Start a specific Cloud PC for a user. Currently, only Windows 365 Frontline Cloud PCs are supported. This API is available in the following national cloud deployments. + Start a specific Cloud PC for a user. Currently, only Windows 365 Frontline Cloud PCs are supported. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[StartReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> StartRequestBuilder: diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/stop/stop_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/stop/stop_request_builder.py index 7c672a996dc..7addf4ed757 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/stop/stop_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/stop/stop_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[StopRequestBuilderPostRequestConfiguration] = None) -> None: """ - Stop a specific Cloud PC for a user. Currently, only Windows 365 Frontline Cloud PCs are supported. This API is available in the following national cloud deployments. + Stop a specific Cloud PC for a user. Currently, only Windows 365 Frontline Cloud PCs are supported. 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/cloudpc-stop?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[StopRequestBuilderPostReques def to_post_request_information(self,request_configuration: Optional[StopRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Stop a specific Cloud PC for a user. Currently, only Windows 365 Frontline Cloud PCs are supported. This API is available in the following national cloud deployments. + Stop a specific Cloud PC for a user. Currently, only Windows 365 Frontline Cloud PCs are supported. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[StopRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> StopRequestBuilder: diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/troubleshoot/troubleshoot_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/troubleshoot/troubleshoot_request_builder.py index 788f7b81fb4..b490a74b60a 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/troubleshoot/troubleshoot_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/item/troubleshoot/troubleshoot_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[TroubleshootRequestBuilderPostRequestConfiguration] = None) -> None: """ - Troubleshoot a specific Cloud PC. Use this API to check the health status of the Cloud PC and the session host. This API is available in the following national cloud deployments. + Troubleshoot a specific Cloud PC. Use this API to check the health status of the Cloud PC and the session host. 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/cloudpc-troubleshoot?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[TroubleshootRequestBuilderPo def to_post_request_information(self,request_configuration: Optional[TroubleshootRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Troubleshoot a specific Cloud PC. Use this API to check the health status of the Cloud PC and the session host. This API is available in the following national cloud deployments. + Troubleshoot a specific Cloud PC. Use this API to check the health status of the Cloud PC and the session host. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[Troubleshoo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TroubleshootRequestBuilder: diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/validate_bulk_resize/validate_bulk_resize_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/validate_bulk_resize/validate_bulk_resize_request_builder.py index 7096ce5e2fd..e89ef2e8555 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/validate_bulk_resize/validate_bulk_resize_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cloud_p_cs/validate_bulk_resize/validate_bulk_resize_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ValidateBulkResizePostRequestBody] = None, request_configuration: Optional[ValidateBulkResizeRequestBuilderPostRequestConfiguration] = None) -> Optional[ValidateBulkResizePostResponse]: """ - Validate that a set of cloudPC devices meet the requirements to be bulk resized. This API is available in the following national cloud deployments. + Validate that a set of cloudPC devices meet the requirements to be bulk resized. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ValidateBulkResizePostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[ValidateBulkResizePostRequestBody] = None, re def to_post_request_information(self,body: Optional[ValidateBulkResizePostRequestBody] = None, request_configuration: Optional[ValidateBulkResizeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Validate that a set of cloudPC devices meet the requirements to be bulk resized. This API is available in the following national cloud deployments. + Validate that a set of cloudPC devices meet the requirements to be bulk resized. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[ValidateBulkResizePostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/cross_cloud_government_organization_mapping/cross_cloud_government_organization_mapping_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/cross_cloud_government_organization_mapping/cross_cloud_government_organization_mapping_request_builder.py index dbf191d8b43..33d46456f12 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/cross_cloud_government_organization_mapping/cross_cloud_government_organization_mapping_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/cross_cloud_government_organization_mapping/cross_cloud_government_organization_mapping_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[CrossCloudGovernmentOrgani async def get(self,request_configuration: Optional[CrossCloudGovernmentOrganizationMappingRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcCrossCloudGovernmentOrganizationMapping]: """ - Read the properties and relationships of a cloudPcCrossCloudGovernmentOrganizationMapping object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcCrossCloudGovernmentOrganizationMapping object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcCrossCloudGovernmentOrganizationMapping] Find more info here: https://learn.microsoft.com/graph/api/cloudpccrosscloudgovernmentorganizationmapping-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[CrossClou request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CrossCloudGovernmentOrganizationMappingRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a cloudPcCrossCloudGovernmentOrganizationMapping object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcCrossCloudGovernmentOrganizationMapping object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CrossCloudGo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CloudPcCrossCloudGovernmentOrganizationMapping] = None, request_configuration: Optional[CrossCloudGovernmentOrganizationMappingRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[CloudPcCrossCloudGovernment request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class CrossCloudGovernmentOrganizationMappingRequestBuilderDeleteRequestConfigur @dataclass class CrossCloudGovernmentOrganizationMappingRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a cloudPcCrossCloudGovernmentOrganizationMapping object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcCrossCloudGovernmentOrganizationMapping object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/device_images/device_images_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/device_images/device_images_request_builder.py index 95886dcd5d8..a26a5683ae4 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/device_images/device_images_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/device_images/device_images_request_builder.py @@ -46,7 +46,7 @@ def by_cloud_pc_device_image_id(self,cloud_pc_device_image_id: str) -> CloudPcDe async def get(self,request_configuration: Optional[DeviceImagesRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcDeviceImageCollectionResponse]: """ - List the properties and relationships of the cloudPcDeviceImage objects (OS images) uploaded to Cloud PC. This API is available in the following national cloud deployments. + List the properties and relationships of the cloudPcDeviceImage objects (OS images) uploaded to Cloud PC. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcDeviceImageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/virtualendpoint-list-deviceimages?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[DeviceImagesRequestBuilderGet async def post(self,body: Optional[CloudPcDeviceImage] = None, request_configuration: Optional[DeviceImagesRequestBuilderPostRequestConfiguration] = None) -> Optional[CloudPcDeviceImage]: """ - Create a new cloudPcDeviceImage object. Upload a custom OS image that you can later provision on Cloud PCs. This API is available in the following national cloud deployments. + Create a new cloudPcDeviceImage object. Upload a custom OS image that you can later provision on Cloud PCs. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcDeviceImage] @@ -93,7 +93,7 @@ async def post(self,body: Optional[CloudPcDeviceImage] = None, request_configura def to_get_request_information(self,request_configuration: Optional[DeviceImagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the properties and relationships of the cloudPcDeviceImage objects (OS images) uploaded to Cloud PC. This API is available in the following national cloud deployments. + List the properties and relationships of the cloudPcDeviceImage objects (OS images) uploaded to Cloud PC. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[DeviceImages request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CloudPcDeviceImage] = None, request_configuration: Optional[DeviceImagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new cloudPcDeviceImage object. Upload a custom OS image that you can later provision on Cloud PCs. This API is available in the following national cloud deployments. + Create a new cloudPcDeviceImage object. Upload a custom OS image that you can later provision on Cloud PCs. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[CloudPcDeviceImage] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def get_source_images(self) -> GetSourceImagesRequestBuilder: @dataclass class DeviceImagesRequestBuilderGetQueryParameters(): """ - List the properties and relationships of the cloudPcDeviceImage objects (OS images) uploaded to Cloud PC. This API is available in the following national cloud deployments. + List the properties and relationships of the cloudPcDeviceImage objects (OS images) uploaded to Cloud PC. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/device_images/get_source_images/get_source_images_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/device_images/get_source_images/get_source_images_request_builder.py index 6b6b7ceab9e..9bdc529174a 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/device_images/get_source_images/get_source_images_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/device_images/get_source_images/get_source_images_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSourceIma request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSourceImagesRequestBuilder: diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/device_images/item/cloud_pc_device_image_item_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/device_images/item/cloud_pc_device_image_item_request_builder.py index 2ee8456fe52..b1620c3901d 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/device_images/item/cloud_pc_device_image_item_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/device_images/item/cloud_pc_device_image_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[CloudPcDeviceImageItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a cloudPcDeviceImage object. This API is available in the following national cloud deployments. + Delete a cloudPcDeviceImage object. 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/cloudpcdeviceimage-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[CloudPcDeviceImageItemRequ async def get(self,request_configuration: Optional[CloudPcDeviceImageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcDeviceImage]: """ - Read the properties and relationships of a specific cloudPcDeviceImage object. This API is available in the following national cloud deployments. + Read the properties and relationships of a specific cloudPcDeviceImage object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcDeviceImage] Find more info here: https://learn.microsoft.com/graph/api/cloudpcdeviceimage-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[CloudPcDeviceImage] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[CloudPcDeviceImageItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a cloudPcDeviceImage object. This API is available in the following national cloud deployments. + Delete a cloudPcDeviceImage object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[CloudPcDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CloudPcDeviceImageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a specific cloudPcDeviceImage object. This API is available in the following national cloud deployments. + Read the properties and relationships of a specific cloudPcDeviceImage object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[CloudPcDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CloudPcDeviceImage] = None, request_configuration: Optional[CloudPcDeviceImageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[CloudPcDeviceImage] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class CloudPcDeviceImageItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class CloudPcDeviceImageItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a specific cloudPcDeviceImage object. This API is available in the following national cloud deployments. + Read the properties and relationships of a specific cloudPcDeviceImage object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/device_images/item/reupload/reupload_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/device_images/item/reupload/reupload_request_builder.py index 1650594528b..f65e7fa8547 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/device_images/item/reupload/reupload_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/device_images/item/reupload/reupload_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ReuploadRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reupload a cloudPcDeviceImage object that failed to upload. This API is available in the following national cloud deployments. + Reupload a cloudPcDeviceImage object that failed to upload. 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/cloudpcdeviceimage-reupload?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ReuploadRequestBuilderPostRe def to_post_request_information(self,request_configuration: Optional[ReuploadRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reupload a cloudPcDeviceImage object that failed to upload. This API is available in the following national cloud deployments. + Reupload a cloudPcDeviceImage object that failed to upload. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ReuploadReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReuploadRequestBuilder: diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/external_partner_settings/external_partner_settings_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/external_partner_settings/external_partner_settings_request_builder.py index ee552764849..218c77760c1 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/external_partner_settings/external_partner_settings_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/external_partner_settings/external_partner_settings_request_builder.py @@ -45,7 +45,7 @@ def by_cloud_pc_external_partner_setting_id(self,cloud_pc_external_partner_setti async def get(self,request_configuration: Optional[ExternalPartnerSettingsRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcExternalPartnerSettingCollectionResponse]: """ - Get a list of the cloudPcExternalPartnerSetting objects and their properties. This API is available in the following national cloud deployments. + Get a list of the cloudPcExternalPartnerSetting objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcExternalPartnerSettingCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/virtualendpoint-list-externalpartnersettings?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ExternalPartnerSettingsReques async def post(self,body: Optional[CloudPcExternalPartnerSetting] = None, request_configuration: Optional[ExternalPartnerSettingsRequestBuilderPostRequestConfiguration] = None) -> Optional[CloudPcExternalPartnerSetting]: """ - Create a new cloudPcExternalPartnerSetting object. This API is available in the following national cloud deployments. + Create a new cloudPcExternalPartnerSetting object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcExternalPartnerSetting] @@ -92,7 +92,7 @@ async def post(self,body: Optional[CloudPcExternalPartnerSetting] = None, reques def to_get_request_information(self,request_configuration: Optional[ExternalPartnerSettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the cloudPcExternalPartnerSetting objects and their properties. This API is available in the following national cloud deployments. + Get a list of the cloudPcExternalPartnerSetting objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ExternalPart request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CloudPcExternalPartnerSetting] = None, request_configuration: Optional[ExternalPartnerSettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new cloudPcExternalPartnerSetting object. This API is available in the following national cloud deployments. + Create a new cloudPcExternalPartnerSetting object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[CloudPcExternalPartnerSettin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExternalPartnerSettingsRequestBuilderGetQueryParameters(): """ - Get a list of the cloudPcExternalPartnerSetting objects and their properties. This API is available in the following national cloud deployments. + Get a list of the cloudPcExternalPartnerSetting objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/external_partner_settings/item/cloud_pc_external_partner_setting_item_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/external_partner_settings/item/cloud_pc_external_partner_setting_item_request_builder.py index 3b5a146dac3..f5f04ddc18e 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/external_partner_settings/item/cloud_pc_external_partner_setting_item_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/external_partner_settings/item/cloud_pc_external_partner_setting_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[CloudPcExternalPartnerSett async def get(self,request_configuration: Optional[CloudPcExternalPartnerSettingItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcExternalPartnerSetting]: """ - Read the properties and relationships of a cloudPcExternalPartnerSetting object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcExternalPartnerSetting object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcExternalPartnerSetting] Find more info here: https://learn.microsoft.com/graph/api/cloudpcexternalpartnersetting-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[CloudPcExternalPartnerSetting async def patch(self,body: Optional[CloudPcExternalPartnerSetting] = None, request_configuration: Optional[CloudPcExternalPartnerSettingItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[CloudPcExternalPartnerSetting]: """ - Update the properties of a cloudPcExternalPartnerSetting object. This API is available in the following national cloud deployments. + Update the properties of a cloudPcExternalPartnerSetting object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcExternalPartnerSetting] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[CloudPcEx request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CloudPcExternalPartnerSettingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a cloudPcExternalPartnerSetting object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcExternalPartnerSetting object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[CloudPcExter request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CloudPcExternalPartnerSetting] = None, request_configuration: Optional[CloudPcExternalPartnerSettingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a cloudPcExternalPartnerSetting object. This API is available in the following national cloud deployments. + Update the properties of a cloudPcExternalPartnerSetting object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[CloudPcExternalPartnerSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class CloudPcExternalPartnerSettingItemRequestBuilderDeleteRequestConfiguration( @dataclass class CloudPcExternalPartnerSettingItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a cloudPcExternalPartnerSetting object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcExternalPartnerSetting object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/front_line_service_plans/front_line_service_plans_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/front_line_service_plans/front_line_service_plans_request_builder.py index a9cc2ce67b8..d122e4a2874 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/front_line_service_plans/front_line_service_plans_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/front_line_service_plans/front_line_service_plans_request_builder.py @@ -45,7 +45,7 @@ def by_cloud_pc_front_line_service_plan_id(self,cloud_pc_front_line_service_plan async def get(self,request_configuration: Optional[FrontLineServicePlansRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcFrontLineServicePlanCollectionResponse]: """ - Get a list of the cloudPcFrontLineServicePlan objects and their properties. This API is available in the following national cloud deployments. + Get a list of the cloudPcFrontLineServicePlan objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcFrontLineServicePlanCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/virtualendpoint-list-frontlineserviceplans?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[CloudPcFrontLineServicePlan] = None, request_ def to_get_request_information(self,request_configuration: Optional[FrontLineServicePlansRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the cloudPcFrontLineServicePlan objects and their properties. This API is available in the following national cloud deployments. + Get a list of the cloudPcFrontLineServicePlan objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[FrontLineSer request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CloudPcFrontLineServicePlan] = None, request_configuration: Optional[FrontLineServicePlansRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[CloudPcFrontLineServicePlan] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class FrontLineServicePlansRequestBuilderGetQueryParameters(): """ - Get a list of the cloudPcFrontLineServicePlan objects and their properties. This API is available in the following national cloud deployments. + Get a list of the cloudPcFrontLineServicePlan objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/front_line_service_plans/item/cloud_pc_front_line_service_plan_item_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/front_line_service_plans/item/cloud_pc_front_line_service_plan_item_request_builder.py index e8d67d172f8..3487bd1499c 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/front_line_service_plans/item/cloud_pc_front_line_service_plan_item_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/front_line_service_plans/item/cloud_pc_front_line_service_plan_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[CloudPcFrontLineServicePla async def get(self,request_configuration: Optional[CloudPcFrontLineServicePlanItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcFrontLineServicePlan]: """ - Get the properties and relationships of a cloudPcFrontLineServicePlan object. This API is available in the following national cloud deployments. + Get the properties and relationships of a cloudPcFrontLineServicePlan object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcFrontLineServicePlan] Find more info here: https://learn.microsoft.com/graph/api/cloudpcfrontlineserviceplan-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[CloudPcFr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CloudPcFrontLineServicePlanItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a cloudPcFrontLineServicePlan object. This API is available in the following national cloud deployments. + Get the properties and relationships of a cloudPcFrontLineServicePlan object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CloudPcFront request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CloudPcFrontLineServicePlan] = None, request_configuration: Optional[CloudPcFrontLineServicePlanItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[CloudPcFrontLineServicePlan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class CloudPcFrontLineServicePlanItemRequestBuilderDeleteRequestConfiguration(Ba @dataclass class CloudPcFrontLineServicePlanItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a cloudPcFrontLineServicePlan object. This API is available in the following national cloud deployments. + Get the properties and relationships of a cloudPcFrontLineServicePlan object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/gallery_images/gallery_images_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/gallery_images/gallery_images_request_builder.py index f01ef8a418e..e08083cf046 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/gallery_images/gallery_images_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/gallery_images/gallery_images_request_builder.py @@ -45,7 +45,7 @@ def by_cloud_pc_gallery_image_id(self,cloud_pc_gallery_image_id: str) -> CloudPc async def get(self,request_configuration: Optional[GalleryImagesRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcGalleryImageCollectionResponse]: """ - List the properties and relationships of the cloudPcGalleryImage objects. This API is available in the following national cloud deployments. + List the properties and relationships of the cloudPcGalleryImage objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcGalleryImageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/virtualendpoint-list-galleryimages?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[CloudPcGalleryImage] = None, request_configur def to_get_request_information(self,request_configuration: Optional[GalleryImagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the properties and relationships of the cloudPcGalleryImage objects. This API is available in the following national cloud deployments. + List the properties and relationships of the cloudPcGalleryImage objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[GalleryImage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CloudPcGalleryImage] = None, request_configuration: Optional[GalleryImagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[CloudPcGalleryImage] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class GalleryImagesRequestBuilderGetQueryParameters(): """ - List the properties and relationships of the cloudPcGalleryImage objects. This API is available in the following national cloud deployments. + List the properties and relationships of the cloudPcGalleryImage objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/gallery_images/item/cloud_pc_gallery_image_item_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/gallery_images/item/cloud_pc_gallery_image_item_request_builder.py index 1c7b6dda6e4..df362e4dc55 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/gallery_images/item/cloud_pc_gallery_image_item_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/gallery_images/item/cloud_pc_gallery_image_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[CloudPcGalleryImageItemReq async def get(self,request_configuration: Optional[CloudPcGalleryImageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcGalleryImage]: """ - Read the properties and relationships of a specific cloudPcGalleryImage object. This API is available in the following national cloud deployments. + Read the properties and relationships of a specific cloudPcGalleryImage object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcGalleryImage] Find more info here: https://learn.microsoft.com/graph/api/cloudpcgalleryimage-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[CloudPcGa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CloudPcGalleryImageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a specific cloudPcGalleryImage object. This API is available in the following national cloud deployments. + Read the properties and relationships of a specific cloudPcGalleryImage object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CloudPcGalle request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CloudPcGalleryImage] = None, request_configuration: Optional[CloudPcGalleryImageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[CloudPcGalleryImage] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class CloudPcGalleryImageItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class CloudPcGalleryImageItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a specific cloudPcGalleryImage object. This API is available in the following national cloud deployments. + Read the properties and relationships of a specific cloudPcGalleryImage object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/get_effective_permissions/get_effective_permissions_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/get_effective_permissions/get_effective_permissions_request_builder.py index 8fbfe537414..287516d48d4 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/get_effective_permissions/get_effective_permissions_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/get_effective_permissions/get_effective_permissions_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetEffective request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetEffectivePermissionsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/on_premises_connections/item/cloud_pc_on_premises_connection_item_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/on_premises_connections/item/cloud_pc_on_premises_connection_item_request_builder.py index dd2efce69e1..b07ba047e8c 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/on_premises_connections/item/cloud_pc_on_premises_connection_item_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/on_premises_connections/item/cloud_pc_on_premises_connection_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[CloudPcOnPremisesConnectionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a specific cloudPcOnPremisesConnection object. When you delete an Azure network connection, permissions to the service are removed from the specified Azure resources. You cannot delete an Azure network connection when it's in use, as indicated by the inUse property. This API is available in the following national cloud deployments. + Delete a specific cloudPcOnPremisesConnection object. When you delete an Azure network connection, permissions to the service are removed from the specified Azure resources. You cannot delete an Azure network connection when it's in use, as indicated by the inUse property. 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/cloudpconpremisesconnection-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[CloudPcOnPremisesConnectio async def get(self,request_configuration: Optional[CloudPcOnPremisesConnectionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcOnPremisesConnection]: """ - Read the properties and relationships of the cloudPcOnPremisesConnection object. This API is available in the following national cloud deployments. + Read the properties and relationships of the cloudPcOnPremisesConnection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcOnPremisesConnection] Find more info here: https://learn.microsoft.com/graph/api/cloudpconpremisesconnection-get?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[CloudPcOnPremisesConnectionIt async def patch(self,body: Optional[CloudPcOnPremisesConnection] = None, request_configuration: Optional[CloudPcOnPremisesConnectionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[CloudPcOnPremisesConnection]: """ - Update the properties of a cloudPcOnPremisesConnection object. This API is available in the following national cloud deployments. + Update the properties of a cloudPcOnPremisesConnection object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcOnPremisesConnection] @@ -97,7 +97,7 @@ async def patch(self,body: Optional[CloudPcOnPremisesConnection] = None, request def to_delete_request_information(self,request_configuration: Optional[CloudPcOnPremisesConnectionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a specific cloudPcOnPremisesConnection object. When you delete an Azure network connection, permissions to the service are removed from the specified Azure resources. You cannot delete an Azure network connection when it's in use, as indicated by the inUse property. This API is available in the following national cloud deployments. + Delete a specific cloudPcOnPremisesConnection object. When you delete an Azure network connection, permissions to the service are removed from the specified Azure resources. You cannot delete an Azure network connection when it's in use, as indicated by the inUse property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[CloudPcOn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CloudPcOnPremisesConnectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of the cloudPcOnPremisesConnection object. This API is available in the following national cloud deployments. + Read the properties and relationships of the cloudPcOnPremisesConnection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[CloudPcOnPre request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CloudPcOnPremisesConnection] = None, request_configuration: Optional[CloudPcOnPremisesConnectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a cloudPcOnPremisesConnection object. This API is available in the following national cloud deployments. + Update the properties of a cloudPcOnPremisesConnection object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[CloudPcOnPremisesConnection request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class CloudPcOnPremisesConnectionItemRequestBuilderDeleteRequestConfiguration(Ba @dataclass class CloudPcOnPremisesConnectionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of the cloudPcOnPremisesConnection object. This API is available in the following national cloud deployments. + Read the properties and relationships of the cloudPcOnPremisesConnection object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/on_premises_connections/item/run_health_checks/run_health_checks_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/on_premises_connections/item/run_health_checks/run_health_checks_request_builder.py index 33e8a778872..6ea6bae3a1f 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/on_premises_connections/item/run_health_checks/run_health_checks_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/on_premises_connections/item/run_health_checks/run_health_checks_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RunHealthChecksRequestBuilderPostRequestConfiguration] = None) -> None: """ - Run health checks on the cloudPcOnPremisesConnection object. This will trigger a new health check for this cloudPcOnPremisesConnection object and change the healthCheckStatus and healthCheckStatusDetails properties when check finished. This API is available in the following national cloud deployments. + Run health checks on the cloudPcOnPremisesConnection object. This will trigger a new health check for this cloudPcOnPremisesConnection object and change the healthCheckStatus and healthCheckStatusDetails properties when check finished. 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/cloudpconpremisesconnection-runhealthcheck?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RunHealthChecksRequestBuilde def to_post_request_information(self,request_configuration: Optional[RunHealthChecksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Run health checks on the cloudPcOnPremisesConnection object. This will trigger a new health check for this cloudPcOnPremisesConnection object and change the healthCheckStatus and healthCheckStatusDetails properties when check finished. This API is available in the following national cloud deployments. + Run health checks on the cloudPcOnPremisesConnection object. This will trigger a new health check for this cloudPcOnPremisesConnection object and change the healthCheckStatus and healthCheckStatusDetails properties when check finished. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RunHealthCh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RunHealthChecksRequestBuilder: diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/on_premises_connections/item/update_ad_domain_password/update_ad_domain_password_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/on_premises_connections/item/update_ad_domain_password/update_ad_domain_password_request_builder.py index 1a01f314efc..f608ed1d885 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/on_premises_connections/item/update_ad_domain_password/update_ad_domain_password_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/on_premises_connections/item/update_ad_domain_password/update_ad_domain_password_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UpdateAdDomainPasswordPostRequestBody] = None, request_configuration: Optional[UpdateAdDomainPasswordRequestBuilderPostRequestConfiguration] = None) -> None: """ - Update the Active Directory domain password for a cloudPcOnPremisesConnection object. This API is supported when the type of the cloudPcOnPremisesConnection object is hybridAzureADJoin. This API is available in the following national cloud deployments. + Update the Active Directory domain password for a cloudPcOnPremisesConnection object. This API is supported when the type of the cloudPcOnPremisesConnection object is hybridAzureADJoin. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[UpdateAdDomainPasswordPostRequestBody] = None def to_post_request_information(self,body: Optional[UpdateAdDomainPasswordPostRequestBody] = None, request_configuration: Optional[UpdateAdDomainPasswordRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Update the Active Directory domain password for a cloudPcOnPremisesConnection object. This API is supported when the type of the cloudPcOnPremisesConnection object is hybridAzureADJoin. This API is available in the following national cloud deployments. + Update the Active Directory domain password for a cloudPcOnPremisesConnection object. This API is supported when the type of the cloudPcOnPremisesConnection object is hybridAzureADJoin. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[UpdateAdDomainPasswordPostRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/on_premises_connections/on_premises_connections_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/on_premises_connections/on_premises_connections_request_builder.py index 127eae75dd1..068390b9cf8 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/on_premises_connections/on_premises_connections_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/on_premises_connections/on_premises_connections_request_builder.py @@ -45,7 +45,7 @@ def by_cloud_pc_on_premises_connection_id(self,cloud_pc_on_premises_connection_i async def get(self,request_configuration: Optional[OnPremisesConnectionsRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcOnPremisesConnectionCollectionResponse]: """ - List properties and relationships of the cloudPcOnPremisesConnection objects. This API is available in the following national cloud deployments. + List properties and relationships of the cloudPcOnPremisesConnection objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcOnPremisesConnectionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/virtualendpoint-list-onpremisesconnections?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[OnPremisesConnectionsRequestB async def post(self,body: Optional[CloudPcOnPremisesConnection] = None, request_configuration: Optional[OnPremisesConnectionsRequestBuilderPostRequestConfiguration] = None) -> Optional[CloudPcOnPremisesConnection]: """ - Create a new cloudPcOnPremisesConnection object for provisioning Cloud PCs. This API is available in the following national cloud deployments. + Create a new cloudPcOnPremisesConnection object for provisioning Cloud PCs. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcOnPremisesConnection] @@ -92,7 +92,7 @@ async def post(self,body: Optional[CloudPcOnPremisesConnection] = None, request_ def to_get_request_information(self,request_configuration: Optional[OnPremisesConnectionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List properties and relationships of the cloudPcOnPremisesConnection objects. This API is available in the following national cloud deployments. + List properties and relationships of the cloudPcOnPremisesConnection objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[OnPremisesCo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CloudPcOnPremisesConnection] = None, request_configuration: Optional[OnPremisesConnectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new cloudPcOnPremisesConnection object for provisioning Cloud PCs. This API is available in the following national cloud deployments. + Create a new cloudPcOnPremisesConnection object for provisioning Cloud PCs. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[CloudPcOnPremisesConnection] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OnPremisesConnectionsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the cloudPcOnPremisesConnection objects. This API is available in the following national cloud deployments. + List properties and relationships of the cloudPcOnPremisesConnection objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/organization_settings/organization_settings_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/organization_settings/organization_settings_request_builder.py index 84014440e26..b091f510610 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/organization_settings/organization_settings_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/organization_settings/organization_settings_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[OrganizationSettingsReques async def get(self,request_configuration: Optional[OrganizationSettingsRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcOrganizationSettings]: """ - Read the properties and relationships of the cloudPcOrganizationSettings from the current tenant. A tenant has only one cloudPcOrganizationSettings object. This API is available in the following national cloud deployments. + Read the properties and relationships of the cloudPcOrganizationSettings from the current tenant. A tenant has only one cloudPcOrganizationSettings object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcOrganizationSettings] Find more info here: https://learn.microsoft.com/graph/api/cloudpcorganizationsettings-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[OrganizationSettingsRequestBu async def patch(self,body: Optional[CloudPcOrganizationSettings] = None, request_configuration: Optional[OrganizationSettingsRequestBuilderPatchRequestConfiguration] = None) -> Optional[CloudPcOrganizationSettings]: """ - Update the properties of the cloudPcOrganizationSettings object in a tenant. This API is available in the following national cloud deployments. + Update the properties of the cloudPcOrganizationSettings object in a tenant. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcOrganizationSettings] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Organizat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OrganizationSettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of the cloudPcOrganizationSettings from the current tenant. A tenant has only one cloudPcOrganizationSettings object. This API is available in the following national cloud deployments. + Read the properties and relationships of the cloudPcOrganizationSettings from the current tenant. A tenant has only one cloudPcOrganizationSettings object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[Organization request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CloudPcOrganizationSettings] = None, request_configuration: Optional[OrganizationSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of the cloudPcOrganizationSettings object in a tenant. This API is available in the following national cloud deployments. + Update the properties of the cloudPcOrganizationSettings object in a tenant. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[CloudPcOrganizationSettings request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class OrganizationSettingsRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class OrganizationSettingsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of the cloudPcOrganizationSettings from the current tenant. A tenant has only one cloudPcOrganizationSettings object. This API is available in the following national cloud deployments. + Read the properties and relationships of the cloudPcOrganizationSettings from the current tenant. A tenant has only one cloudPcOrganizationSettings object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/apply_config/apply_config_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/apply_config/apply_config_request_builder.py index 14142142578..39cb71c7e0e 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/apply_config/apply_config_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/apply_config/apply_config_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ApplyConfigPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/apply/apply_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/apply/apply_request_builder.py index 1974efa754a..903409e7eca 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/apply/apply_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/apply/apply_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ApplyPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assign/assign_request_builder.py index 67882770d52..119705b5801 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assign/assign_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AssignPostRequestBody] = None, request_configuration: Optional[AssignRequestBuilderPostRequestConfiguration] = None) -> None: """ - Assign cloudPcProvisioningPolicy to user groups. This API is available in the following national cloud deployments. + Assign cloudPcProvisioningPolicy to user groups. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AssignPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AssignPostRequestBody] = None, request_configuration: Optional[AssignRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Assign cloudPcProvisioningPolicy to user groups. This API is available in the following national cloud deployments. + Assign cloudPcProvisioningPolicy to user groups. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/assignments_request_builder.py index c77f6f7a562..40e5ff1856a 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CloudPcProvisioningPolicyAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[CloudPcProvisioningPolicyAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users/assigned_users_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users/assigned_users_request_builder.py index 5c395fe8319..0bd8387b2fc 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users/assigned_users_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users/assigned_users_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignedUser request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AssignedUsersRequestBuilder: diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users/item/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users/item/mailbox_settings/mailbox_settings_request_builder.py index 88863570303..9399f182a1c 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users/item/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users/item/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users/item/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users/item/service_provisioning_errors/service_provisioning_errors_request_builder.py index e3a3ca0fdd6..9513f6ae9f8 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users/item/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users/item/user_item_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users/item/user_item_request_builder.py index d98aaa24b2d..11c03fe5dba 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users/item/user_item_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/assigned_users/item/user_item_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[UserItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserItemRequestBuilder: diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/cloud_pc_provisioning_policy_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/cloud_pc_provisioning_policy_assignment_item_request_builder.py index cb056b964d7..61fd87c6754 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/cloud_pc_provisioning_policy_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/cloud_pc_provisioning_policy_assignment_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[CloudPcPr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CloudPcProvisioningPolicyAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CloudPcProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CloudPcProvisioningPolicyAssignment] = None, request_configuration: Optional[CloudPcProvisioningPolicyAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[CloudPcProvisioningPolicyAs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/cloud_pc_provisioning_policy_item_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/cloud_pc_provisioning_policy_item_request_builder.py index 43f855b5836..f34e3715909 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/cloud_pc_provisioning_policy_item_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/item/cloud_pc_provisioning_policy_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[CloudPcProvisioningPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a cloudPcProvisioningPolicy object. You can’t delete a policy that’s in use. This API is available in the following national cloud deployments. + Delete a cloudPcProvisioningPolicy object. You can’t delete a policy that’s in use. 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/cloudpcprovisioningpolicy-delete?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[CloudPcProvisioningPolicyI async def get(self,request_configuration: Optional[CloudPcProvisioningPolicyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcProvisioningPolicy]: """ - Read the properties and relationships of a cloudPcProvisioningPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcProvisioningPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcProvisioningPolicy] Find more info here: https://learn.microsoft.com/graph/api/cloudpcprovisioningpolicy-get?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[CloudPcProvisioningPolicyItem async def patch(self,body: Optional[CloudPcProvisioningPolicy] = None, request_configuration: Optional[CloudPcProvisioningPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[CloudPcProvisioningPolicy]: """ - Update the properties of a cloudPcProvisioningPolicy object. This API is available in the following national cloud deployments. + Update the properties of a cloudPcProvisioningPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcProvisioningPolicy] @@ -98,7 +98,7 @@ async def patch(self,body: Optional[CloudPcProvisioningPolicy] = None, request_c def to_delete_request_information(self,request_configuration: Optional[CloudPcProvisioningPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a cloudPcProvisioningPolicy object. You can’t delete a policy that’s in use. This API is available in the following national cloud deployments. + Delete a cloudPcProvisioningPolicy object. You can’t delete a policy that’s in use. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[CloudPcPr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CloudPcProvisioningPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a cloudPcProvisioningPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcProvisioningPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,12 +126,12 @@ def to_get_request_information(self,request_configuration: Optional[CloudPcProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CloudPcProvisioningPolicy] = None, request_configuration: Optional[CloudPcProvisioningPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a cloudPcProvisioningPolicy object. This API is available in the following national cloud deployments. + Update the properties of a cloudPcProvisioningPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[CloudPcProvisioningPolicy] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -199,7 +199,7 @@ class CloudPcProvisioningPolicyItemRequestBuilderDeleteRequestConfiguration(Base @dataclass class CloudPcProvisioningPolicyItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a cloudPcProvisioningPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcProvisioningPolicy object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/provisioning_policies_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/provisioning_policies_request_builder.py index 8da289d4be5..5dedcf0bbab 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/provisioning_policies_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/provisioning_policies/provisioning_policies_request_builder.py @@ -46,7 +46,7 @@ def by_cloud_pc_provisioning_policy_id(self,cloud_pc_provisioning_policy_id: str async def get(self,request_configuration: Optional[ProvisioningPoliciesRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcProvisioningPolicyCollectionResponse]: """ - List properties and relationships of the cloudPcProvisioningPolicy objects. This API is available in the following national cloud deployments. + List properties and relationships of the cloudPcProvisioningPolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcProvisioningPolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/virtualendpoint-list-provisioningpolicies?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[ProvisioningPoliciesRequestBu async def post(self,body: Optional[CloudPcProvisioningPolicy] = None, request_configuration: Optional[ProvisioningPoliciesRequestBuilderPostRequestConfiguration] = None) -> Optional[CloudPcProvisioningPolicy]: """ - Create a new cloudPcProvisioningPolicy object. This API is available in the following national cloud deployments. + Create a new cloudPcProvisioningPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcProvisioningPolicy] @@ -93,7 +93,7 @@ async def post(self,body: Optional[CloudPcProvisioningPolicy] = None, request_co def to_get_request_information(self,request_configuration: Optional[ProvisioningPoliciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List properties and relationships of the cloudPcProvisioningPolicy objects. This API is available in the following national cloud deployments. + List properties and relationships of the cloudPcProvisioningPolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[Provisioning request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CloudPcProvisioningPolicy] = None, request_configuration: Optional[ProvisioningPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new cloudPcProvisioningPolicy object. This API is available in the following national cloud deployments. + Create a new cloudPcProvisioningPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[CloudPcProvisioningPolicy] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ProvisioningPoliciesRequestBuilderGetQueryParameters(): """ - List properties and relationships of the cloudPcProvisioningPolicy objects. This API is available in the following national cloud deployments. + List properties and relationships of the cloudPcProvisioningPolicy objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/export_jobs/export_jobs_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/export_jobs/export_jobs_request_builder.py index 4cd6241cd02..c78aa5dd0e9 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/export_jobs/export_jobs_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/export_jobs/export_jobs_request_builder.py @@ -45,7 +45,7 @@ def by_cloud_pc_export_job_id(self,cloud_pc_export_job_id: str) -> CloudPcExport async def get(self,request_configuration: Optional[ExportJobsRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcExportJobCollectionResponse]: """ - Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property becomes completed, the report has finished downloading in the location specified by the exportUrl property. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property becomes completed, the report has finished downloading in the location specified by the exportUrl property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcExportJobCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExportJobsRequestBuilderGetRe async def post(self,body: Optional[CloudPcExportJob] = None, request_configuration: Optional[ExportJobsRequestBuilderPostRequestConfiguration] = None) -> Optional[CloudPcExportJob]: """ - Create a new cloudPcExportJob resource to initiate downloading the entire or specified portion of a report. Use the GET cloudPcExportJob operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property result is completed, the report has finished downloading to the location specified by the exportUrl property. This API is available in the following national cloud deployments. + Create a new cloudPcExportJob resource to initiate downloading the entire or specified portion of a report. Use the GET cloudPcExportJob operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property result is completed, the report has finished downloading to the location specified by the exportUrl property. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcExportJob] @@ -91,7 +91,7 @@ async def post(self,body: Optional[CloudPcExportJob] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[ExportJobsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property becomes completed, the report has finished downloading in the location specified by the exportUrl property. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property becomes completed, the report has finished downloading in the location specified by the exportUrl property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExportJobsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CloudPcExportJob] = None, request_configuration: Optional[ExportJobsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new cloudPcExportJob resource to initiate downloading the entire or specified portion of a report. Use the GET cloudPcExportJob operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property result is completed, the report has finished downloading to the location specified by the exportUrl property. This API is available in the following national cloud deployments. + Create a new cloudPcExportJob resource to initiate downloading the entire or specified portion of a report. Use the GET cloudPcExportJob operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property result is completed, the report has finished downloading to the location specified by the exportUrl property. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[CloudPcExportJob] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExportJobsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property becomes completed, the report has finished downloading in the location specified by the exportUrl property. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property becomes completed, the report has finished downloading in the location specified by the exportUrl property. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/export_jobs/item/cloud_pc_export_job_item_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/export_jobs/item/cloud_pc_export_job_item_request_builder.py index 921d4f25c1f..942e9bc7e1c 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/export_jobs/item/cloud_pc_export_job_item_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/export_jobs/item/cloud_pc_export_job_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[CloudPcExportJobItemReques async def get(self,request_configuration: Optional[CloudPcExportJobItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcExportJob]: """ - Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property becomes completed, the report has finished downloading in the location specified by the exportUrl property. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property becomes completed, the report has finished downloading in the location specified by the exportUrl property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcExportJob] Find more info here: https://learn.microsoft.com/graph/api/cloudpcexportjob-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[CloudPcEx request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CloudPcExportJobItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property becomes completed, the report has finished downloading in the location specified by the exportUrl property. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property becomes completed, the report has finished downloading in the location specified by the exportUrl property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CloudPcExpor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CloudPcExportJob] = None, request_configuration: Optional[CloudPcExportJobItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[CloudPcExportJob] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class CloudPcExportJobItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class CloudPcExportJobItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property becomes completed, the report has finished downloading in the location specified by the exportUrl property. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property becomes completed, the report has finished downloading in the location specified by the exportUrl property. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_action_status_reports/get_action_status_reports_post_request_body.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_action_status_reports/get_action_status_reports_post_request_body.py new file mode 100644 index 00000000000..11d4edbb092 --- /dev/null +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_action_status_reports/get_action_status_reports_post_request_body.py @@ -0,0 +1,73 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class GetActionStatusReportsPostRequestBody(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 filter property + filter: Optional[str] = None + # The groupBy property + group_by: Optional[List[str]] = None + # The orderBy property + order_by: Optional[List[str]] = None + # The search property + search: Optional[str] = None + # The select property + select: Optional[List[str]] = None + # The skip property + skip: Optional[int] = None + # The top property + top: Optional[int] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> GetActionStatusReportsPostRequestBody: + """ + 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: GetActionStatusReportsPostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return GetActionStatusReportsPostRequestBody() + + 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]] = { + "filter": lambda n : setattr(self, 'filter', n.get_str_value()), + "groupBy": lambda n : setattr(self, 'group_by', n.get_collection_of_primitive_values(str)), + "orderBy": lambda n : setattr(self, 'order_by', n.get_collection_of_primitive_values(str)), + "search": lambda n : setattr(self, 'search', n.get_str_value()), + "select": lambda n : setattr(self, 'select', n.get_collection_of_primitive_values(str)), + "skip": lambda n : setattr(self, 'skip', n.get_int_value()), + "top": lambda n : setattr(self, 'top', 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("filter", self.filter) + writer.write_collection_of_primitive_values("groupBy", self.group_by) + writer.write_collection_of_primitive_values("orderBy", self.order_by) + writer.write_str_value("search", self.search) + writer.write_collection_of_primitive_values("select", self.select) + writer.write_int_value("skip", self.skip) + writer.write_int_value("top", self.top) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_action_status_reports/get_action_status_reports_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_action_status_reports/get_action_status_reports_request_builder.py new file mode 100644 index 00000000000..a5c87733f02 --- /dev/null +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_action_status_reports/get_action_status_reports_request_builder.py @@ -0,0 +1,92 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .get_action_status_reports_post_request_body import GetActionStatusReportsPostRequestBody + +class GetActionStatusReportsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getActionStatusReports method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new GetActionStatusReportsRequestBuilder 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/virtualEndpoint/reports/getActionStatusReports", path_parameters) + + async def post(self,body: Optional[GetActionStatusReportsPostRequestBody] = None, request_configuration: Optional[GetActionStatusReportsRequestBuilderPostRequestConfiguration] = None) -> bytes: + """ + Get the remote action status reports, including data such as the Cloud PC ID, Cloud PC device display name, initiating user's principal name, device owner's user principal name, action taken, and action state. + param body: The request body + 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/cloudpcreports-getactionstatusreports?view=graph-rest-1.0 + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) + + def to_post_request_information(self,body: Optional[GetActionStatusReportsPostRequestBody] = None, request_configuration: Optional[GetActionStatusReportsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Get the remote action status reports, including data such as the Cloud PC ID, Cloud PC device display name, initiating user's principal name, device owner's user principal name, action taken, and action state. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + request_info.headers.try_add("Accept", "application/octet-stream, application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> GetActionStatusReportsRequestBuilder: + """ + 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: GetActionStatusReportsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GetActionStatusReportsRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GetActionStatusReportsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_performance_report/get_cloud_pc_performance_report_post_request_body.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_performance_report/get_cloud_pc_performance_report_post_request_body.py new file mode 100644 index 00000000000..3d17c829ba3 --- /dev/null +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_performance_report/get_cloud_pc_performance_report_post_request_body.py @@ -0,0 +1,84 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.cloud_p_c_performance_report_name import CloudPCPerformanceReportName + +@dataclass +class GetCloudPcPerformanceReportPostRequestBody(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 filter property + filter: Optional[str] = None + # The groupBy property + group_by: Optional[List[str]] = None + # The orderBy property + order_by: Optional[List[str]] = None + # The reportName property + report_name: Optional[CloudPCPerformanceReportName] = None + # The search property + search: Optional[str] = None + # The select property + select: Optional[List[str]] = None + # The skip property + skip: Optional[int] = None + # The top property + top: Optional[int] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> GetCloudPcPerformanceReportPostRequestBody: + """ + 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: GetCloudPcPerformanceReportPostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return GetCloudPcPerformanceReportPostRequestBody() + + 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.cloud_p_c_performance_report_name import CloudPCPerformanceReportName + + from .....models.cloud_p_c_performance_report_name import CloudPCPerformanceReportName + + fields: Dict[str, Callable[[Any], None]] = { + "filter": lambda n : setattr(self, 'filter', n.get_str_value()), + "groupBy": lambda n : setattr(self, 'group_by', n.get_collection_of_primitive_values(str)), + "orderBy": lambda n : setattr(self, 'order_by', n.get_collection_of_primitive_values(str)), + "reportName": lambda n : setattr(self, 'report_name', n.get_enum_value(CloudPCPerformanceReportName)), + "search": lambda n : setattr(self, 'search', n.get_str_value()), + "select": lambda n : setattr(self, 'select', n.get_collection_of_primitive_values(str)), + "skip": lambda n : setattr(self, 'skip', n.get_int_value()), + "top": lambda n : setattr(self, 'top', 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("filter", self.filter) + writer.write_collection_of_primitive_values("groupBy", self.group_by) + writer.write_collection_of_primitive_values("orderBy", self.order_by) + writer.write_enum_value("reportName", self.report_name) + writer.write_str_value("search", self.search) + writer.write_collection_of_primitive_values("select", self.select) + writer.write_int_value("skip", self.skip) + writer.write_int_value("top", self.top) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_performance_report/get_cloud_pc_performance_report_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_performance_report/get_cloud_pc_performance_report_request_builder.py new file mode 100644 index 00000000000..658fe360554 --- /dev/null +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_performance_report/get_cloud_pc_performance_report_request_builder.py @@ -0,0 +1,91 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .get_cloud_pc_performance_report_post_request_body import GetCloudPcPerformanceReportPostRequestBody + +class GetCloudPcPerformanceReportRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getCloudPcPerformanceReport method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new GetCloudPcPerformanceReportRequestBuilder 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/virtualEndpoint/reports/getCloudPcPerformanceReport", path_parameters) + + async def post(self,body: Optional[GetCloudPcPerformanceReportPostRequestBody] = None, request_configuration: Optional[GetCloudPcPerformanceReportRequestBuilderPostRequestConfiguration] = None) -> bytes: + """ + Invoke action getCloudPcPerformanceReport + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: bytes + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) + + def to_post_request_information(self,body: Optional[GetCloudPcPerformanceReportPostRequestBody] = None, request_configuration: Optional[GetCloudPcPerformanceReportRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action getCloudPcPerformanceReport + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + request_info.headers.try_add("Accept", "application/octet-stream, application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> GetCloudPcPerformanceReportRequestBuilder: + """ + 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: GetCloudPcPerformanceReportRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GetCloudPcPerformanceReportRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GetCloudPcPerformanceReportRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_recommendation_reports/get_cloud_pc_recommendation_reports_post_request_body.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_recommendation_reports/get_cloud_pc_recommendation_reports_post_request_body.py new file mode 100644 index 00000000000..b7de1af082b --- /dev/null +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_recommendation_reports/get_cloud_pc_recommendation_reports_post_request_body.py @@ -0,0 +1,84 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.cloud_pc_report_name import CloudPcReportName + +@dataclass +class GetCloudPcRecommendationReportsPostRequestBody(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 filter property + filter: Optional[str] = None + # The groupBy property + group_by: Optional[List[str]] = None + # The orderBy property + order_by: Optional[List[str]] = None + # The reportName property + report_name: Optional[CloudPcReportName] = None + # The search property + search: Optional[str] = None + # The select property + select: Optional[List[str]] = None + # The skip property + skip: Optional[int] = None + # The top property + top: Optional[int] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> GetCloudPcRecommendationReportsPostRequestBody: + """ + 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: GetCloudPcRecommendationReportsPostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return GetCloudPcRecommendationReportsPostRequestBody() + + 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.cloud_pc_report_name import CloudPcReportName + + from .....models.cloud_pc_report_name import CloudPcReportName + + fields: Dict[str, Callable[[Any], None]] = { + "filter": lambda n : setattr(self, 'filter', n.get_str_value()), + "groupBy": lambda n : setattr(self, 'group_by', n.get_collection_of_primitive_values(str)), + "orderBy": lambda n : setattr(self, 'order_by', n.get_collection_of_primitive_values(str)), + "reportName": lambda n : setattr(self, 'report_name', n.get_enum_value(CloudPcReportName)), + "search": lambda n : setattr(self, 'search', n.get_str_value()), + "select": lambda n : setattr(self, 'select', n.get_collection_of_primitive_values(str)), + "skip": lambda n : setattr(self, 'skip', n.get_int_value()), + "top": lambda n : setattr(self, 'top', 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("filter", self.filter) + writer.write_collection_of_primitive_values("groupBy", self.group_by) + writer.write_collection_of_primitive_values("orderBy", self.order_by) + writer.write_enum_value("reportName", self.report_name) + writer.write_str_value("search", self.search) + writer.write_collection_of_primitive_values("select", self.select) + writer.write_int_value("skip", self.skip) + writer.write_int_value("top", self.top) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_recommendation_reports/get_cloud_pc_recommendation_reports_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_recommendation_reports/get_cloud_pc_recommendation_reports_request_builder.py new file mode 100644 index 00000000000..197a49437c4 --- /dev/null +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_cloud_pc_recommendation_reports/get_cloud_pc_recommendation_reports_request_builder.py @@ -0,0 +1,91 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .get_cloud_pc_recommendation_reports_post_request_body import GetCloudPcRecommendationReportsPostRequestBody + +class GetCloudPcRecommendationReportsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getCloudPcRecommendationReports method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new GetCloudPcRecommendationReportsRequestBuilder 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/virtualEndpoint/reports/getCloudPcRecommendationReports", path_parameters) + + async def post(self,body: Optional[GetCloudPcRecommendationReportsPostRequestBody] = None, request_configuration: Optional[GetCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration] = None) -> bytes: + """ + Invoke action getCloudPcRecommendationReports + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: bytes + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) + + def to_post_request_information(self,body: Optional[GetCloudPcRecommendationReportsPostRequestBody] = None, request_configuration: Optional[GetCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action getCloudPcRecommendationReports + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + request_info.headers.try_add("Accept", "application/octet-stream, application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> GetCloudPcRecommendationReportsRequestBuilder: + """ + 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: GetCloudPcRecommendationReportsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GetCloudPcRecommendationReportsRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GetCloudPcRecommendationReportsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_connection_quality_reports/get_connection_quality_reports_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_connection_quality_reports/get_connection_quality_reports_request_builder.py index 3e5aa950c1b..5b4c8031761 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_connection_quality_reports/get_connection_quality_reports_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_connection_quality_reports/get_connection_quality_reports_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetConnectionQualityReportsPostRequestBody] = None, request_configuration: Optional[GetConnectionQualityReportsRequestBuilderPostRequestConfiguration] = None) -> bytes: """ - Get the overall connection quality reports for all devices within a current tenant during a given time period, including metrics like the average round trip time (P50), average available bandwidth, and UDP connection percentage. Get also other real-time metrics such as last connection round trip time, last connection client IP, last connection gateway, and last connection protocol. This API is available in the following national cloud deployments. + Get the overall connection quality reports for all devices within a current tenant during a given time period, including metrics like the average round trip time (P50), average available bandwidth, and UDP connection percentage. Get also other real-time metrics such as last connection round trip time, last connection client IP, last connection gateway, and last connection protocol. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes @@ -51,7 +51,7 @@ async def post(self,body: Optional[GetConnectionQualityReportsPostRequestBody] = def to_post_request_information(self,body: Optional[GetConnectionQualityReportsPostRequestBody] = None, request_configuration: Optional[GetConnectionQualityReportsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Get the overall connection quality reports for all devices within a current tenant during a given time period, including metrics like the average round trip time (P50), average available bandwidth, and UDP connection percentage. Get also other real-time metrics such as last connection round trip time, last connection client IP, last connection gateway, and last connection protocol. This API is available in the following national cloud deployments. + Get the overall connection quality reports for all devices within a current tenant during a given time period, including metrics like the average round trip time (P50), average available bandwidth, and UDP connection percentage. Get also other real-time metrics such as last connection round trip time, last connection client IP, last connection gateway, and last connection protocol. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[GetConnectionQualityReportsP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_daily_aggregated_remote_connection_reports/get_daily_aggregated_remote_connection_reports_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_daily_aggregated_remote_connection_reports/get_daily_aggregated_remote_connection_reports_request_builder.py index a4c58730b15..5d3bc761530 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_daily_aggregated_remote_connection_reports/get_daily_aggregated_remote_connection_reports_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_daily_aggregated_remote_connection_reports/get_daily_aggregated_remote_connection_reports_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetDailyAggregatedRemoteConnectionReportsPostRequestBody] = None, request_configuration: Optional[GetDailyAggregatedRemoteConnectionReportsRequestBuilderPostRequestConfiguration] = None) -> bytes: """ - Get the daily aggregated remote connection reports, such as round trip time, available bandwidth, and so on, in a given period. This API is available in the following national cloud deployments. + Get the daily aggregated remote connection reports, such as round trip time, available bandwidth, and so on, in a given period. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes @@ -51,7 +51,7 @@ async def post(self,body: Optional[GetDailyAggregatedRemoteConnectionReportsPost def to_post_request_information(self,body: Optional[GetDailyAggregatedRemoteConnectionReportsPostRequestBody] = None, request_configuration: Optional[GetDailyAggregatedRemoteConnectionReportsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Get the daily aggregated remote connection reports, such as round trip time, available bandwidth, and so on, in a given period. This API is available in the following national cloud deployments. + Get the daily aggregated remote connection reports, such as round trip time, available bandwidth, and so on, in a given period. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[GetDailyAggregatedRemoteConn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_frontline_report/get_frontline_report_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_frontline_report/get_frontline_report_request_builder.py index 5e764f2cccb..934e7c34060 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_frontline_report/get_frontline_report_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_frontline_report/get_frontline_report_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetFrontlineReportPostRequestBody] = None, request_configuration: Optional[GetFrontlineReportRequestBuilderPostRequestConfiguration] = None) -> bytes: """ - Get the Windows 365 Frontline reports, such as real-time or historical data reports. This API is available in the following national cloud deployments. + Get the Windows 365 Frontline reports, such as real-time or historical data reports. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes @@ -51,7 +51,7 @@ async def post(self,body: Optional[GetFrontlineReportPostRequestBody] = None, re def to_post_request_information(self,body: Optional[GetFrontlineReportPostRequestBody] = None, request_configuration: Optional[GetFrontlineReportRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Get the Windows 365 Frontline reports, such as real-time or historical data reports. This API is available in the following national cloud deployments. + Get the Windows 365 Frontline reports, such as real-time or historical data reports. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[GetFrontlineReportPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_inaccessible_cloud_pc_reports/get_inaccessible_cloud_pc_reports_post_request_body.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_inaccessible_cloud_pc_reports/get_inaccessible_cloud_pc_reports_post_request_body.py index 89f9f728c34..385e67b4e90 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_inaccessible_cloud_pc_reports/get_inaccessible_cloud_pc_reports_post_request_body.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_inaccessible_cloud_pc_reports/get_inaccessible_cloud_pc_reports_post_request_body.py @@ -4,6 +4,9 @@ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +if TYPE_CHECKING: + from .....models.cloud_p_c_inaccessible_report_name import CloudPCInaccessibleReportName + @dataclass class GetInaccessibleCloudPcReportsPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): # Stores model information. @@ -17,6 +20,8 @@ class GetInaccessibleCloudPcReportsPostRequestBody(AdditionalDataHolder, BackedM group_by: Optional[List[str]] = None # The orderBy property order_by: Optional[List[str]] = None + # The reportName property + report_name: Optional[CloudPCInaccessibleReportName] = None # The search property search: Optional[str] = None # The select property @@ -42,10 +47,15 @@ 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.cloud_p_c_inaccessible_report_name import CloudPCInaccessibleReportName + + from .....models.cloud_p_c_inaccessible_report_name import CloudPCInaccessibleReportName + fields: Dict[str, Callable[[Any], None]] = { "filter": lambda n : setattr(self, 'filter', n.get_str_value()), "groupBy": lambda n : setattr(self, 'group_by', n.get_collection_of_primitive_values(str)), "orderBy": lambda n : setattr(self, 'order_by', n.get_collection_of_primitive_values(str)), + "reportName": lambda n : setattr(self, 'report_name', n.get_enum_value(CloudPCInaccessibleReportName)), "search": lambda n : setattr(self, 'search', n.get_str_value()), "select": lambda n : setattr(self, 'select', n.get_collection_of_primitive_values(str)), "skip": lambda n : setattr(self, 'skip', n.get_int_value()), @@ -64,6 +74,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("filter", self.filter) writer.write_collection_of_primitive_values("groupBy", self.group_by) writer.write_collection_of_primitive_values("orderBy", self.order_by) + writer.write_enum_value("reportName", self.report_name) writer.write_str_value("search", self.search) writer.write_collection_of_primitive_values("select", self.select) writer.write_int_value("skip", self.skip) diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_inaccessible_cloud_pc_reports/get_inaccessible_cloud_pc_reports_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_inaccessible_cloud_pc_reports/get_inaccessible_cloud_pc_reports_request_builder.py index 455352e9b7c..16454768f45 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_inaccessible_cloud_pc_reports/get_inaccessible_cloud_pc_reports_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_inaccessible_cloud_pc_reports/get_inaccessible_cloud_pc_reports_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetInaccessibleCloudPcReportsPostRequestBody] = None, request_configuration: Optional[GetInaccessibleCloudPcReportsRequestBuilderPostRequestConfiguration] = None) -> bytes: """ - Get inaccessible Cloud PCs with details, including the latest health state, failed connection count, failed health check count, and system status. An inaccessible Cloud PC represents a Cloud PC that is in an unavailable state (at least one of the health checks failed) or has consecutive user connections failure. This API is available in the following national cloud deployments. + Get inaccessible Cloud PCs with details, including the latest health state, failed connection count, failed health check count, and system status. An inaccessible Cloud PC represents a Cloud PC that is in an unavailable state (at least one of the health checks failed) or has consecutive user connections failure. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes @@ -51,7 +51,7 @@ async def post(self,body: Optional[GetInaccessibleCloudPcReportsPostRequestBody] def to_post_request_information(self,body: Optional[GetInaccessibleCloudPcReportsPostRequestBody] = None, request_configuration: Optional[GetInaccessibleCloudPcReportsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Get inaccessible Cloud PCs with details, including the latest health state, failed connection count, failed health check count, and system status. An inaccessible Cloud PC represents a Cloud PC that is in an unavailable state (at least one of the health checks failed) or has consecutive user connections failure. This API is available in the following national cloud deployments. + Get inaccessible Cloud PCs with details, including the latest health state, failed connection count, failed health check count, and system status. An inaccessible Cloud PC represents a Cloud PC that is in an unavailable state (at least one of the health checks failed) or has consecutive user connections failure. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[GetInaccessibleCloudPcReport request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_raw_remote_connection_reports/get_raw_remote_connection_reports_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_raw_remote_connection_reports/get_raw_remote_connection_reports_request_builder.py index 4627ee43f1e..03e286ea2eb 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_raw_remote_connection_reports/get_raw_remote_connection_reports_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_raw_remote_connection_reports/get_raw_remote_connection_reports_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetRawRemoteConnectionReportsPostRequestBody] = None, request_configuration: Optional[GetRawRemoteConnectionReportsRequestBuilderPostRequestConfiguration] = None) -> bytes: """ - Get the raw real-time remote connection report for a Cloud PC without any calculation, such as roundTripTime or available bandwidth, which are aggregated hourly from the raw event data. This API is available in the following national cloud deployments. + Get the raw real-time remote connection report for a Cloud PC without any calculation, such as roundTripTime or available bandwidth, which are aggregated hourly from the raw event data. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes @@ -51,7 +51,7 @@ async def post(self,body: Optional[GetRawRemoteConnectionReportsPostRequestBody] def to_post_request_information(self,body: Optional[GetRawRemoteConnectionReportsPostRequestBody] = None, request_configuration: Optional[GetRawRemoteConnectionReportsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Get the raw real-time remote connection report for a Cloud PC without any calculation, such as roundTripTime or available bandwidth, which are aggregated hourly from the raw event data. This API is available in the following national cloud deployments. + Get the raw real-time remote connection report for a Cloud PC without any calculation, such as roundTripTime or available bandwidth, which are aggregated hourly from the raw event data. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[GetRawRemoteConnectionReport request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_real_time_remote_connection_latency_with_cloud_pc_id/get_real_time_remote_connection_latency_with_cloud_pc_id_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_real_time_remote_connection_latency_with_cloud_pc_id/get_real_time_remote_connection_latency_with_cloud_pc_id_request_builder.py index 3244be008c4..bbd82210080 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_real_time_remote_connection_latency_with_cloud_pc_id/get_real_time_remote_connection_latency_with_cloud_pc_id_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_real_time_remote_connection_latency_with_cloud_pc_id/get_real_time_remote_connection_latency_with_cloud_pc_id_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetRealTimeR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetRealTimeRemoteConnectionLatencyWithCloudPcIdRequestBuilder: diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_real_time_remote_connection_status_with_cloud_pc_id/get_real_time_remote_connection_status_with_cloud_pc_id_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_real_time_remote_connection_status_with_cloud_pc_id/get_real_time_remote_connection_status_with_cloud_pc_id_request_builder.py index ca3073d183d..5d251391846 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_real_time_remote_connection_status_with_cloud_pc_id/get_real_time_remote_connection_status_with_cloud_pc_id_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_real_time_remote_connection_status_with_cloud_pc_id/get_real_time_remote_connection_status_with_cloud_pc_id_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetRealTimeR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetRealTimeRemoteConnectionStatusWithCloudPcIdRequestBuilder: diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_remote_connection_historical_reports/get_remote_connection_historical_reports_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_remote_connection_historical_reports/get_remote_connection_historical_reports_request_builder.py index 6715bc614ea..8b0fd4a689a 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_remote_connection_historical_reports/get_remote_connection_historical_reports_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_remote_connection_historical_reports/get_remote_connection_historical_reports_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetRemoteConnectionHistoricalReportsPostRequestBody] = None, request_configuration: Optional[GetRemoteConnectionHistoricalReportsRequestBuilderPostRequestConfiguration] = None) -> bytes: """ - Get the remote connection history records of a Cloud PC during a given period. This report contains data such as signInDateTime, signOutDateTime, usageInHour, remoteSignInTimeInSec and roundTripTimeInMsP50, and so on. This data is aggregated hourly for a specified time period, such as the last seven days. This API is available in the following national cloud deployments. + Get the remote connection history records of a Cloud PC during a given period. This report contains data such as signInDateTime, signOutDateTime, usageInHour, remoteSignInTimeInSec and roundTripTimeInMsP50, and so on. This data is aggregated hourly for a specified time period, such as the last seven days. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes @@ -51,7 +51,7 @@ async def post(self,body: Optional[GetRemoteConnectionHistoricalReportsPostReque def to_post_request_information(self,body: Optional[GetRemoteConnectionHistoricalReportsPostRequestBody] = None, request_configuration: Optional[GetRemoteConnectionHistoricalReportsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Get the remote connection history records of a Cloud PC during a given period. This report contains data such as signInDateTime, signOutDateTime, usageInHour, remoteSignInTimeInSec and roundTripTimeInMsP50, and so on. This data is aggregated hourly for a specified time period, such as the last seven days. This API is available in the following national cloud deployments. + Get the remote connection history records of a Cloud PC during a given period. This report contains data such as signInDateTime, signOutDateTime, usageInHour, remoteSignInTimeInSec and roundTripTimeInMsP50, and so on. This data is aggregated hourly for a specified time period, such as the last seven days. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[GetRemoteConnectionHistorica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_shared_use_license_usage_report/get_shared_use_license_usage_report_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_shared_use_license_usage_report/get_shared_use_license_usage_report_request_builder.py index 8c066b064fd..9bd16349a6c 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_shared_use_license_usage_report/get_shared_use_license_usage_report_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_shared_use_license_usage_report/get_shared_use_license_usage_report_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetSharedUseLicenseUsageReportPostRequestBody] = None, request_configuration: Optional[GetSharedUseLicenseUsageReportRequestBuilderPostRequestConfiguration] = None) -> bytes: """ - Get a usage report on shared-use licenses, such as servicePlanId, licenseCount, and claimedLicenseCount, for real-time, 7 days, or 28 days trend. This API is available in the following national cloud deployments. + Get a usage report on shared-use licenses, such as servicePlanId, licenseCount, and claimedLicenseCount, for real-time, 7 days, or 28 days trend. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes @@ -51,7 +51,7 @@ async def post(self,body: Optional[GetSharedUseLicenseUsageReportPostRequestBody def to_post_request_information(self,body: Optional[GetSharedUseLicenseUsageReportPostRequestBody] = None, request_configuration: Optional[GetSharedUseLicenseUsageReportRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Get a usage report on shared-use licenses, such as servicePlanId, licenseCount, and claimedLicenseCount, for real-time, 7 days, or 28 days trend. This API is available in the following national cloud deployments. + Get a usage report on shared-use licenses, such as servicePlanId, licenseCount, and claimedLicenseCount, for real-time, 7 days, or 28 days trend. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[GetSharedUseLicenseUsageRepo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_total_aggregated_remote_connection_reports/get_total_aggregated_remote_connection_reports_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_total_aggregated_remote_connection_reports/get_total_aggregated_remote_connection_reports_request_builder.py index 11403e51a0b..535b6564600 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_total_aggregated_remote_connection_reports/get_total_aggregated_remote_connection_reports_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/get_total_aggregated_remote_connection_reports/get_total_aggregated_remote_connection_reports_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetTotalAggregatedRemoteConnectionReportsPostRequestBody] = None, request_configuration: Optional[GetTotalAggregatedRemoteConnectionReportsRequestBuilderPostRequestConfiguration] = None) -> bytes: """ - Get the total aggregated remote connection usage of a Cloud PC during a given time span. This API is available in the following national cloud deployments. + Get the total aggregated remote connection usage of a Cloud PC during a given time span. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes @@ -51,7 +51,7 @@ async def post(self,body: Optional[GetTotalAggregatedRemoteConnectionReportsPost def to_post_request_information(self,body: Optional[GetTotalAggregatedRemoteConnectionReportsPostRequestBody] = None, request_configuration: Optional[GetTotalAggregatedRemoteConnectionReportsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Get the total aggregated remote connection usage of a Cloud PC during a given time span. This API is available in the following national cloud deployments. + Get the total aggregated remote connection usage of a Cloud PC during a given time span. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[GetTotalAggregatedRemoteConn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/reports_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/reports_request_builder.py index f1ec32308b6..70b015a38be 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/reports/reports_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/reports_request_builder.py @@ -13,6 +13,9 @@ from ....models.cloud_pc_reports import CloudPcReports from ....models.o_data_errors.o_data_error import ODataError from .export_jobs.export_jobs_request_builder import ExportJobsRequestBuilder + from .get_action_status_reports.get_action_status_reports_request_builder import GetActionStatusReportsRequestBuilder + from .get_cloud_pc_performance_report.get_cloud_pc_performance_report_request_builder import GetCloudPcPerformanceReportRequestBuilder + from .get_cloud_pc_recommendation_reports.get_cloud_pc_recommendation_reports_request_builder import GetCloudPcRecommendationReportsRequestBuilder from .get_connection_quality_reports.get_connection_quality_reports_request_builder import GetConnectionQualityReportsRequestBuilder from .get_daily_aggregated_remote_connection_reports.get_daily_aggregated_remote_connection_reports_request_builder import GetDailyAggregatedRemoteConnectionReportsRequestBuilder from .get_frontline_report.get_frontline_report_request_builder import GetFrontlineReportRequestBuilder @@ -23,6 +26,7 @@ from .get_remote_connection_historical_reports.get_remote_connection_historical_reports_request_builder import GetRemoteConnectionHistoricalReportsRequestBuilder from .get_shared_use_license_usage_report.get_shared_use_license_usage_report_request_builder import GetSharedUseLicenseUsageReportRequestBuilder from .get_total_aggregated_remote_connection_reports.get_total_aggregated_remote_connection_reports_request_builder import GetTotalAggregatedRemoteConnectionReportsRequestBuilder + from .retrieve_cross_region_disaster_recovery_report.retrieve_cross_region_disaster_recovery_report_request_builder import RetrieveCrossRegionDisasterRecoveryReportRequestBuilder class ReportsRequestBuilder(BaseRequestBuilder): """ @@ -138,7 +142,7 @@ def to_delete_request_information(self,request_configuration: Optional[ReportsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ReportsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -155,7 +159,7 @@ def to_get_request_information(self,request_configuration: Optional[ReportsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CloudPcReports] = None, request_configuration: Optional[ReportsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -174,7 +178,7 @@ def to_patch_request_information(self,body: Optional[CloudPcReports] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -197,6 +201,33 @@ def export_jobs(self) -> ExportJobsRequestBuilder: return ExportJobsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def get_action_status_reports(self) -> GetActionStatusReportsRequestBuilder: + """ + Provides operations to call the getActionStatusReports method. + """ + from .get_action_status_reports.get_action_status_reports_request_builder import GetActionStatusReportsRequestBuilder + + return GetActionStatusReportsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def get_cloud_pc_performance_report(self) -> GetCloudPcPerformanceReportRequestBuilder: + """ + Provides operations to call the getCloudPcPerformanceReport method. + """ + from .get_cloud_pc_performance_report.get_cloud_pc_performance_report_request_builder import GetCloudPcPerformanceReportRequestBuilder + + return GetCloudPcPerformanceReportRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def get_cloud_pc_recommendation_reports(self) -> GetCloudPcRecommendationReportsRequestBuilder: + """ + Provides operations to call the getCloudPcRecommendationReports method. + """ + from .get_cloud_pc_recommendation_reports.get_cloud_pc_recommendation_reports_request_builder import GetCloudPcRecommendationReportsRequestBuilder + + return GetCloudPcRecommendationReportsRequestBuilder(self.request_adapter, self.path_parameters) + @property def get_connection_quality_reports(self) -> GetConnectionQualityReportsRequestBuilder: """ @@ -269,6 +300,15 @@ def get_total_aggregated_remote_connection_reports(self) -> GetTotalAggregatedRe return GetTotalAggregatedRemoteConnectionReportsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def retrieve_cross_region_disaster_recovery_report(self) -> RetrieveCrossRegionDisasterRecoveryReportRequestBuilder: + """ + Provides operations to call the retrieveCrossRegionDisasterRecoveryReport method. + """ + from .retrieve_cross_region_disaster_recovery_report.retrieve_cross_region_disaster_recovery_report_request_builder import RetrieveCrossRegionDisasterRecoveryReportRequestBuilder + + return RetrieveCrossRegionDisasterRecoveryReportRequestBuilder(self.request_adapter, self.path_parameters) + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_cross_region_disaster_recovery_report/retrieve_cross_region_disaster_recovery_report_post_request_body.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_cross_region_disaster_recovery_report/retrieve_cross_region_disaster_recovery_report_post_request_body.py new file mode 100644 index 00000000000..76a681057d1 --- /dev/null +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_cross_region_disaster_recovery_report/retrieve_cross_region_disaster_recovery_report_post_request_body.py @@ -0,0 +1,73 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class RetrieveCrossRegionDisasterRecoveryReportPostRequestBody(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 filter property + filter: Optional[str] = None + # The groupBy property + group_by: Optional[List[str]] = None + # The orderBy property + order_by: Optional[List[str]] = None + # The search property + search: Optional[str] = None + # The select property + select: Optional[List[str]] = None + # The skip property + skip: Optional[int] = None + # The top property + top: Optional[int] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> RetrieveCrossRegionDisasterRecoveryReportPostRequestBody: + """ + 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: RetrieveCrossRegionDisasterRecoveryReportPostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return RetrieveCrossRegionDisasterRecoveryReportPostRequestBody() + + 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]] = { + "filter": lambda n : setattr(self, 'filter', n.get_str_value()), + "groupBy": lambda n : setattr(self, 'group_by', n.get_collection_of_primitive_values(str)), + "orderBy": lambda n : setattr(self, 'order_by', n.get_collection_of_primitive_values(str)), + "search": lambda n : setattr(self, 'search', n.get_str_value()), + "select": lambda n : setattr(self, 'select', n.get_collection_of_primitive_values(str)), + "skip": lambda n : setattr(self, 'skip', n.get_int_value()), + "top": lambda n : setattr(self, 'top', 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("filter", self.filter) + writer.write_collection_of_primitive_values("groupBy", self.group_by) + writer.write_collection_of_primitive_values("orderBy", self.order_by) + writer.write_str_value("search", self.search) + writer.write_collection_of_primitive_values("select", self.select) + writer.write_int_value("skip", self.skip) + writer.write_int_value("top", self.top) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_cross_region_disaster_recovery_report/retrieve_cross_region_disaster_recovery_report_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_cross_region_disaster_recovery_report/retrieve_cross_region_disaster_recovery_report_request_builder.py new file mode 100644 index 00000000000..8deafeb1eb7 --- /dev/null +++ b/msgraph_beta/generated/device_management/virtual_endpoint/reports/retrieve_cross_region_disaster_recovery_report/retrieve_cross_region_disaster_recovery_report_request_builder.py @@ -0,0 +1,91 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .retrieve_cross_region_disaster_recovery_report_post_request_body import RetrieveCrossRegionDisasterRecoveryReportPostRequestBody + +class RetrieveCrossRegionDisasterRecoveryReportRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the retrieveCrossRegionDisasterRecoveryReport method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new RetrieveCrossRegionDisasterRecoveryReportRequestBuilder 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/virtualEndpoint/reports/retrieveCrossRegionDisasterRecoveryReport", path_parameters) + + async def post(self,body: Optional[RetrieveCrossRegionDisasterRecoveryReportPostRequestBody] = None, request_configuration: Optional[RetrieveCrossRegionDisasterRecoveryReportRequestBuilderPostRequestConfiguration] = None) -> bytes: + """ + Invoke action retrieveCrossRegionDisasterRecoveryReport + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: bytes + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) + + def to_post_request_information(self,body: Optional[RetrieveCrossRegionDisasterRecoveryReportPostRequestBody] = None, request_configuration: Optional[RetrieveCrossRegionDisasterRecoveryReportRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action retrieveCrossRegionDisasterRecoveryReport + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + request_info.headers.try_add("Accept", "application/octet-stream, application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> RetrieveCrossRegionDisasterRecoveryReportRequestBuilder: + """ + 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: RetrieveCrossRegionDisasterRecoveryReportRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return RetrieveCrossRegionDisasterRecoveryReportRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class RetrieveCrossRegionDisasterRecoveryReportRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/retrieve_scoped_permissions/retrieve_scoped_permissions_get_response.py b/msgraph_beta/generated/device_management/virtual_endpoint/retrieve_scoped_permissions/retrieve_scoped_permissions_get_response.py new file mode 100644 index 00000000000..624ccfdfe29 --- /dev/null +++ b/msgraph_beta/generated/device_management/virtual_endpoint/retrieve_scoped_permissions/retrieve_scoped_permissions_get_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.cloud_pc_scoped_permission import CloudPcScopedPermission + +from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class RetrieveScopedPermissionsGetResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[CloudPcScopedPermission]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> RetrieveScopedPermissionsGetResponse: + """ + 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: RetrieveScopedPermissionsGetResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return RetrieveScopedPermissionsGetResponse() + + 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.cloud_pc_scoped_permission import CloudPcScopedPermission + + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.cloud_pc_scoped_permission import CloudPcScopedPermission + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(CloudPcScopedPermission)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/retrieve_scoped_permissions/retrieve_scoped_permissions_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/retrieve_scoped_permissions/retrieve_scoped_permissions_request_builder.py new file mode 100644 index 00000000000..f80411414bd --- /dev/null +++ b/msgraph_beta/generated/device_management/virtual_endpoint/retrieve_scoped_permissions/retrieve_scoped_permissions_request_builder.py @@ -0,0 +1,131 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.o_data_errors.o_data_error import ODataError + from .retrieve_scoped_permissions_get_response import RetrieveScopedPermissionsGetResponse + +class RetrieveScopedPermissionsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the retrieveScopedPermissions method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new RetrieveScopedPermissionsRequestBuilder 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/virtualEndpoint/retrieveScopedPermissions(){?%24top,%24skip,%24search,%24filter,%24count}", path_parameters) + + async def get(self,request_configuration: Optional[RetrieveScopedPermissionsRequestBuilderGetRequestConfiguration] = None) -> Optional[RetrieveScopedPermissionsGetResponse]: + """ + Invoke function retrieveScopedPermissions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RetrieveScopedPermissionsGetResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .retrieve_scoped_permissions_get_response import RetrieveScopedPermissionsGetResponse + + return await self.request_adapter.send_async(request_info, RetrieveScopedPermissionsGetResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RetrieveScopedPermissionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Invoke function retrieveScopedPermissions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> RetrieveScopedPermissionsRequestBuilder: + """ + 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: RetrieveScopedPermissionsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return RetrieveScopedPermissionsRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RetrieveScopedPermissionsRequestBuilderGetQueryParameters(): + """ + Invoke function retrieveScopedPermissions + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class RetrieveScopedPermissionsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[RetrieveScopedPermissionsRequestBuilder.RetrieveScopedPermissionsRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/retrieve_tenant_encryption_setting/retrieve_tenant_encryption_setting_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/retrieve_tenant_encryption_setting/retrieve_tenant_encryption_setting_request_builder.py new file mode 100644 index 00000000000..5f8139447ab --- /dev/null +++ b/msgraph_beta/generated/device_management/virtual_endpoint/retrieve_tenant_encryption_setting/retrieve_tenant_encryption_setting_request_builder.py @@ -0,0 +1,86 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.cloud_pc_tenant_encryption_setting import CloudPcTenantEncryptionSetting + from ....models.o_data_errors.o_data_error import ODataError + +class RetrieveTenantEncryptionSettingRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the retrieveTenantEncryptionSetting method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new RetrieveTenantEncryptionSettingRequestBuilder 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/virtualEndpoint/retrieveTenantEncryptionSetting()", path_parameters) + + async def get(self,request_configuration: Optional[RetrieveTenantEncryptionSettingRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcTenantEncryptionSetting]: + """ + Invoke function retrieveTenantEncryptionSetting + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[CloudPcTenantEncryptionSetting] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.cloud_pc_tenant_encryption_setting import CloudPcTenantEncryptionSetting + + return await self.request_adapter.send_async(request_info, CloudPcTenantEncryptionSetting, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RetrieveTenantEncryptionSettingRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Invoke function retrieveTenantEncryptionSetting + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> RetrieveTenantEncryptionSettingRequestBuilder: + """ + 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: RetrieveTenantEncryptionSettingRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return RetrieveTenantEncryptionSettingRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class RetrieveTenantEncryptionSettingRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/service_plans/item/cloud_pc_service_plan_item_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/service_plans/item/cloud_pc_service_plan_item_request_builder.py index b28035f8fec..6b6ee21f4c6 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/service_plans/item/cloud_pc_service_plan_item_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/service_plans/item/cloud_pc_service_plan_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[CloudPcSe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CloudPcServicePlanItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[CloudPcServi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CloudPcServicePlan] = None, request_configuration: Optional[CloudPcServicePlanItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[CloudPcServicePlan] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/service_plans/service_plans_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/service_plans/service_plans_request_builder.py index 7e057fb1c99..d7b5d87bfd5 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/service_plans/service_plans_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/service_plans/service_plans_request_builder.py @@ -45,7 +45,7 @@ def by_cloud_pc_service_plan_id(self,cloud_pc_service_plan_id: str) -> CloudPcSe async def get(self,request_configuration: Optional[ServicePlansRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcServicePlanCollectionResponse]: """ - List the currently available service plans that an organization can purchase for their Cloud PCs. For examples of currently available service plans, see Windows 365 compare plans and pricing. Currently, Microsoft Graph API is available for Windows 365 Enterprise. This API is available in the following national cloud deployments. + List the currently available service plans that an organization can purchase for their Cloud PCs. For examples of currently available service plans, see Windows 365 compare plans and pricing. Currently, Microsoft Graph API is available for Windows 365 Enterprise. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcServicePlanCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/virtualendpoint-list-serviceplans?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[CloudPcServicePlan] = None, request_configura def to_get_request_information(self,request_configuration: Optional[ServicePlansRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the currently available service plans that an organization can purchase for their Cloud PCs. For examples of currently available service plans, see Windows 365 compare plans and pricing. Currently, Microsoft Graph API is available for Windows 365 Enterprise. This API is available in the following national cloud deployments. + List the currently available service plans that an organization can purchase for their Cloud PCs. For examples of currently available service plans, see Windows 365 compare plans and pricing. Currently, Microsoft Graph API is available for Windows 365 Enterprise. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ServicePlans request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CloudPcServicePlan] = None, request_configuration: Optional[ServicePlansRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[CloudPcServicePlan] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServicePlansRequestBuilderGetQueryParameters(): """ - List the currently available service plans that an organization can purchase for their Cloud PCs. For examples of currently available service plans, see Windows 365 compare plans and pricing. Currently, Microsoft Graph API is available for Windows 365 Enterprise. This API is available in the following national cloud deployments. + List the currently available service plans that an organization can purchase for their Cloud PCs. For examples of currently available service plans, see Windows 365 compare plans and pricing. Currently, Microsoft Graph API is available for Windows 365 Enterprise. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/shared_use_service_plans/item/cloud_pc_shared_use_service_plan_item_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/shared_use_service_plans/item/cloud_pc_shared_use_service_plan_item_request_builder.py index 24d64fd8e9b..0960f327e12 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/shared_use_service_plans/item/cloud_pc_shared_use_service_plan_item_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/shared_use_service_plans/item/cloud_pc_shared_use_service_plan_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[CloudPcSharedUseServicePla async def get(self,request_configuration: Optional[CloudPcSharedUseServicePlanItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcSharedUseServicePlan]: """ - Read the properties and relationships of a cloudPcSharedUseServicePlan object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcSharedUseServicePlan object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcSharedUseServicePlan] Find more info here: https://learn.microsoft.com/graph/api/cloudpcshareduseserviceplan-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[CloudPcSh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CloudPcSharedUseServicePlanItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a cloudPcSharedUseServicePlan object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcSharedUseServicePlan object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CloudPcShare request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CloudPcSharedUseServicePlan] = None, request_configuration: Optional[CloudPcSharedUseServicePlanItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[CloudPcSharedUseServicePlan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class CloudPcSharedUseServicePlanItemRequestBuilderDeleteRequestConfiguration(Ba @dataclass class CloudPcSharedUseServicePlanItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a cloudPcSharedUseServicePlan object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcSharedUseServicePlan object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/shared_use_service_plans/shared_use_service_plans_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/shared_use_service_plans/shared_use_service_plans_request_builder.py index d5e8673349e..6115fb1c791 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/shared_use_service_plans/shared_use_service_plans_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/shared_use_service_plans/shared_use_service_plans_request_builder.py @@ -45,7 +45,7 @@ def by_cloud_pc_shared_use_service_plan_id(self,cloud_pc_shared_use_service_plan async def get(self,request_configuration: Optional[SharedUseServicePlansRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcSharedUseServicePlanCollectionResponse]: """ - Get a list of the cloudPcSharedUseServicePlan objects and their properties. This API is available in the following national cloud deployments. + Get a list of the cloudPcSharedUseServicePlan objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcSharedUseServicePlanCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/virtualendpoint-list-shareduseserviceplans?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[CloudPcSharedUseServicePlan] = None, request_ def to_get_request_information(self,request_configuration: Optional[SharedUseServicePlansRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the cloudPcSharedUseServicePlan objects and their properties. This API is available in the following national cloud deployments. + Get a list of the cloudPcSharedUseServicePlan objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SharedUseSer request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CloudPcSharedUseServicePlan] = None, request_configuration: Optional[SharedUseServicePlansRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[CloudPcSharedUseServicePlan] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SharedUseServicePlansRequestBuilderGetQueryParameters(): """ - Get a list of the cloudPcSharedUseServicePlan objects and their properties. This API is available in the following national cloud deployments. + Get a list of the cloudPcSharedUseServicePlan objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/snapshots/get_storage_accounts_with_subscription_id/get_storage_accounts_with_subscription_id_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/snapshots/get_storage_accounts_with_subscription_id/get_storage_accounts_with_subscription_id_request_builder.py index 564b87e5998..7b4769643c1 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/snapshots/get_storage_accounts_with_subscription_id/get_storage_accounts_with_subscription_id_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/snapshots/get_storage_accounts_with_subscription_id/get_storage_accounts_with_subscription_id_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GetStorageAc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetStorageAccountsWithSubscriptionIdRequestBuilder: diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/snapshots/get_subscriptions/get_subscriptions_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/snapshots/get_subscriptions/get_subscriptions_request_builder.py index e571ec6f6eb..adf49b274a6 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/snapshots/get_subscriptions/get_subscriptions_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/snapshots/get_subscriptions/get_subscriptions_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSubscript request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSubscriptionsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/snapshots/item/cloud_pc_snapshot_item_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/snapshots/item/cloud_pc_snapshot_item_request_builder.py index f14a0de3cc9..2476e2d258b 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/snapshots/item/cloud_pc_snapshot_item_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/snapshots/item/cloud_pc_snapshot_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[CloudPcSnapshotItemRequest async def get(self,request_configuration: Optional[CloudPcSnapshotItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcSnapshot]: """ - Read the properties and relationships of a cloudPcSnapshot object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcSnapshot object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcSnapshot] Find more info here: https://learn.microsoft.com/graph/api/cloudpcsnapshot-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[CloudPcSn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CloudPcSnapshotItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a cloudPcSnapshot object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcSnapshot object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CloudPcSnaps request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CloudPcSnapshot] = None, request_configuration: Optional[CloudPcSnapshotItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[CloudPcSnapshot] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class CloudPcSnapshotItemRequestBuilderDeleteRequestConfiguration(BaseRequestCon @dataclass class CloudPcSnapshotItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a cloudPcSnapshot object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcSnapshot object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/snapshots/snapshots_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/snapshots/snapshots_request_builder.py index 92dcf8bbac1..62f69a6a539 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/snapshots/snapshots_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/snapshots/snapshots_request_builder.py @@ -47,7 +47,7 @@ def by_cloud_pc_snapshot_id(self,cloud_pc_snapshot_id: str) -> CloudPcSnapshotIt async def get(self,request_configuration: Optional[SnapshotsRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcSnapshotCollectionResponse]: """ - Get a list of cloudPcSnapshot objects and their properties. This API is available in the following national cloud deployments. + Get a list of cloudPcSnapshot objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcSnapshotCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/virtualendpoint-list-snapshots?view=graph-rest-1.0 @@ -105,7 +105,7 @@ async def post(self,body: Optional[CloudPcSnapshot] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[SnapshotsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of cloudPcSnapshot objects and their properties. This API is available in the following national cloud deployments. + Get a list of cloudPcSnapshot objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[SnapshotsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CloudPcSnapshot] = None, request_configuration: Optional[SnapshotsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -136,7 +136,7 @@ def to_post_request_information(self,body: Optional[CloudPcSnapshot] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -171,7 +171,7 @@ def get_subscriptions(self) -> GetSubscriptionsRequestBuilder: @dataclass class SnapshotsRequestBuilderGetQueryParameters(): """ - Get a list of cloudPcSnapshot objects and their properties. This API is available in the following national cloud deployments. + Get a list of cloudPcSnapshot objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/supported_regions/item/cloud_pc_supported_region_item_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/supported_regions/item/cloud_pc_supported_region_item_request_builder.py index e1acd26a93a..29125a23089 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/supported_regions/item/cloud_pc_supported_region_item_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/supported_regions/item/cloud_pc_supported_region_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[CloudPcSu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CloudPcSupportedRegionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[CloudPcSuppo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CloudPcSupportedRegion] = None, request_configuration: Optional[CloudPcSupportedRegionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[CloudPcSupportedRegion] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/supported_regions/supported_regions_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/supported_regions/supported_regions_request_builder.py index 3ab0333160c..d5742ff54ee 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/supported_regions/supported_regions_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/supported_regions/supported_regions_request_builder.py @@ -45,7 +45,7 @@ def by_cloud_pc_supported_region_id(self,cloud_pc_supported_region_id: str) -> C async def get(self,request_configuration: Optional[SupportedRegionsRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcSupportedRegionCollectionResponse]: """ - List the supported regions that are available for creating Cloud PC connections. This API is available in the following national cloud deployments. + List the supported regions that are available for creating Cloud PC connections. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcSupportedRegionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/virtualendpoint-list-supportedregions?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[CloudPcSupportedRegion] = None, request_confi def to_get_request_information(self,request_configuration: Optional[SupportedRegionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the supported regions that are available for creating Cloud PC connections. This API is available in the following national cloud deployments. + List the supported regions that are available for creating Cloud PC connections. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SupportedReg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CloudPcSupportedRegion] = None, request_configuration: Optional[SupportedRegionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[CloudPcSupportedRegion] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SupportedRegionsRequestBuilderGetQueryParameters(): """ - List the supported regions that are available for creating Cloud PC connections. This API is available in the following national cloud deployments. + List the supported regions that are available for creating Cloud PC connections. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/item/assign/assign_request_builder.py index 88bd3703617..c35c0949112 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/item/assign/assign_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AssignPostRequestBody] = None, request_configuration: Optional[AssignRequestBuilderPostRequestConfiguration] = None) -> None: """ - Assign a cloudPcUserSetting to user groups. This API is available in the following national cloud deployments. + Assign a cloudPcUserSetting to user groups. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AssignPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AssignPostRequestBody] = None, request_configuration: Optional[AssignRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Assign a cloudPcUserSetting to user groups. This API is available in the following national cloud deployments. + Assign a cloudPcUserSetting to user groups. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/item/assignments/assignments_request_builder.py index 926d779dfdb..25b5c21faa7 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CloudPcUserSettingAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[CloudPcUserSettingAssignment request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/item/assignments/item/cloud_pc_user_setting_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/item/assignments/item/cloud_pc_user_setting_assignment_item_request_builder.py index 858682a8f43..5841c87dc67 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/item/assignments/item/cloud_pc_user_setting_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/item/assignments/item/cloud_pc_user_setting_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[CloudPcUs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CloudPcUserSettingAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[CloudPcUserS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CloudPcUserSettingAssignment] = None, request_configuration: Optional[CloudPcUserSettingAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[CloudPcUserSettingAssignmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/item/cloud_pc_user_setting_item_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/item/cloud_pc_user_setting_item_request_builder.py index 0f1843573c0..c16c88bca72 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/item/cloud_pc_user_setting_item_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/item/cloud_pc_user_setting_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[CloudPcUserSettingItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a cloudPcUserSetting object. This API is available in the following national cloud deployments. + Delete a cloudPcUserSetting object. 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/cloudpcusersetting-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[CloudPcUserSettingItemRequ async def get(self,request_configuration: Optional[CloudPcUserSettingItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcUserSetting]: """ - Read the properties and relationships of a cloudPcUserSetting object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcUserSetting object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcUserSetting] Find more info here: https://learn.microsoft.com/graph/api/cloudpcusersetting-get?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[CloudPcUserSettingItemRequest async def patch(self,body: Optional[CloudPcUserSetting] = None, request_configuration: Optional[CloudPcUserSettingItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[CloudPcUserSetting]: """ - Update the properties of a cloudPcUserSetting object. This API is available in the following national cloud deployments. + Update the properties of a cloudPcUserSetting object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcUserSetting] @@ -97,7 +97,7 @@ async def patch(self,body: Optional[CloudPcUserSetting] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[CloudPcUserSettingItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a cloudPcUserSetting object. This API is available in the following national cloud deployments. + Delete a cloudPcUserSetting object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[CloudPcUs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CloudPcUserSettingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a cloudPcUserSetting object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcUserSetting object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[CloudPcUserS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CloudPcUserSetting] = None, request_configuration: Optional[CloudPcUserSettingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a cloudPcUserSetting object. This API is available in the following national cloud deployments. + Update the properties of a cloudPcUserSetting object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[CloudPcUserSetting] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class CloudPcUserSettingItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class CloudPcUserSettingItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a cloudPcUserSetting object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcUserSetting object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/user_settings_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/user_settings_request_builder.py index 142cd13cf1c..cbce7979a02 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/user_settings_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/user_settings/user_settings_request_builder.py @@ -45,7 +45,7 @@ def by_cloud_pc_user_setting_id(self,cloud_pc_user_setting_id: str) -> CloudPcUs async def get(self,request_configuration: Optional[UserSettingsRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcUserSettingCollectionResponse]: """ - Retrieve a list of cloudPcUserSetting objects. This API is available in the following national cloud deployments. + Retrieve a list of cloudPcUserSetting objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcUserSettingCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/virtualendpoint-list-usersettings?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[UserSettingsRequestBuilderGet async def post(self,body: Optional[CloudPcUserSetting] = None, request_configuration: Optional[UserSettingsRequestBuilderPostRequestConfiguration] = None) -> Optional[CloudPcUserSetting]: """ - Create a new cloudPcUserSetting object. This API is available in the following national cloud deployments. + Create a new cloudPcUserSetting object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcUserSetting] @@ -92,7 +92,7 @@ async def post(self,body: Optional[CloudPcUserSetting] = None, request_configura def to_get_request_information(self,request_configuration: Optional[UserSettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of cloudPcUserSetting objects. This API is available in the following national cloud deployments. + Retrieve a list of cloudPcUserSetting objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[UserSettings request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CloudPcUserSetting] = None, request_configuration: Optional[UserSettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new cloudPcUserSetting object. This API is available in the following national cloud deployments. + Create a new cloudPcUserSetting object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[CloudPcUserSetting] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class UserSettingsRequestBuilderGetQueryParameters(): """ - Retrieve a list of cloudPcUserSetting objects. This API is available in the following national cloud deployments. + Retrieve a list of cloudPcUserSetting objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/device_management/virtual_endpoint/virtual_endpoint_request_builder.py b/msgraph_beta/generated/device_management/virtual_endpoint/virtual_endpoint_request_builder.py index e84c04e3c40..2debc04ae87 100644 --- a/msgraph_beta/generated/device_management/virtual_endpoint/virtual_endpoint_request_builder.py +++ b/msgraph_beta/generated/device_management/virtual_endpoint/virtual_endpoint_request_builder.py @@ -25,6 +25,8 @@ from .organization_settings.organization_settings_request_builder import OrganizationSettingsRequestBuilder from .provisioning_policies.provisioning_policies_request_builder import ProvisioningPoliciesRequestBuilder from .reports.reports_request_builder import ReportsRequestBuilder + from .retrieve_scoped_permissions.retrieve_scoped_permissions_request_builder import RetrieveScopedPermissionsRequestBuilder + from .retrieve_tenant_encryption_setting.retrieve_tenant_encryption_setting_request_builder import RetrieveTenantEncryptionSettingRequestBuilder from .service_plans.service_plans_request_builder import ServicePlansRequestBuilder from .shared_use_service_plans.shared_use_service_plans_request_builder import SharedUseServicePlansRequestBuilder from .snapshots.snapshots_request_builder import SnapshotsRequestBuilder @@ -121,7 +123,7 @@ def to_delete_request_information(self,request_configuration: Optional[VirtualEn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[VirtualEndpointRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -138,7 +140,7 @@ def to_get_request_information(self,request_configuration: Optional[VirtualEndpo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[VirtualEndpoint] = None, request_configuration: Optional[VirtualEndpointRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -157,7 +159,7 @@ def to_patch_request_information(self,body: Optional[VirtualEndpoint] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -288,6 +290,24 @@ def reports(self) -> ReportsRequestBuilder: return ReportsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def retrieve_scoped_permissions(self) -> RetrieveScopedPermissionsRequestBuilder: + """ + Provides operations to call the retrieveScopedPermissions method. + """ + from .retrieve_scoped_permissions.retrieve_scoped_permissions_request_builder import RetrieveScopedPermissionsRequestBuilder + + return RetrieveScopedPermissionsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def retrieve_tenant_encryption_setting(self) -> RetrieveTenantEncryptionSettingRequestBuilder: + """ + Provides operations to call the retrieveTenantEncryptionSetting method. + """ + from .retrieve_tenant_encryption_setting.retrieve_tenant_encryption_setting_request_builder import RetrieveTenantEncryptionSettingRequestBuilder + + return RetrieveTenantEncryptionSettingRequestBuilder(self.request_adapter, self.path_parameters) + @property def service_plans(self) -> ServicePlansRequestBuilder: """ diff --git a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/has_payload_links/has_payload_links_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/has_payload_links/has_payload_links_request_builder.py index 15f2b92a2c0..bcaa252ba1e 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/has_payload_links/has_payload_links_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/has_payload_links/has_payload_links_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[HasPayloadLinksPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assign/assign_request_builder.py index e201cad2d57..08775f2becd 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assign/assign_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/assigned_devices_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/assigned_devices_request_builder.py index 22b079acd72..57059d59f8d 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/assigned_devices_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/assigned_devices_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignedDevi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsAutopilotDeviceIdentity] = None, request_configuration: Optional[AssignedDevicesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WindowsAutopilotDeviceIdenti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/allow_next_enrollment/allow_next_enrollment_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/allow_next_enrollment/allow_next_enrollment_request_builder.py index bd09b9f5fc6..a467b1f9f35 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/allow_next_enrollment/allow_next_enrollment_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/allow_next_enrollment/allow_next_enrollment_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[AllowNextEn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllowNextEnrollmentRequestBuilder: diff --git a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/assign_resource_account_to_device/assign_resource_account_to_device_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/assign_resource_account_to_device/assign_resource_account_to_device_request_builder.py index 77ce75beb75..08799fafc6a 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/assign_resource_account_to_device/assign_resource_account_to_device_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/assign_resource_account_to_device/assign_resource_account_to_device_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[AssignResourceAccountToDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/assign_user_to_device/assign_user_to_device_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/assign_user_to_device/assign_user_to_device_request_builder.py index 1f5c3680a53..487a688590a 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/assign_user_to_device/assign_user_to_device_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/assign_user_to_device/assign_user_to_device_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[AssignUserToDevicePostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/deployment_profile/deployment_profile_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/deployment_profile/deployment_profile_request_builder.py index 3cc7ddf4a80..cf83121b168 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/deployment_profile/deployment_profile_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/deployment_profile/deployment_profile_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeploymentPr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeploymentProfileRequestBuilder: diff --git a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/intended_deployment_profile/intended_deployment_profile_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/intended_deployment_profile/intended_deployment_profile_request_builder.py index 6644a140542..7d8e4febd35 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/intended_deployment_profile/intended_deployment_profile_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/intended_deployment_profile/intended_deployment_profile_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[IntendedDepl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IntendedDeploymentProfileRequestBuilder: diff --git a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/unassign_resource_account_from_device/unassign_resource_account_from_device_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/unassign_resource_account_from_device/unassign_resource_account_from_device_request_builder.py index 358bfe3de90..f3a3fa327cc 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/unassign_resource_account_from_device/unassign_resource_account_from_device_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/unassign_resource_account_from_device/unassign_resource_account_from_device_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[UnassignRes request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnassignResourceAccountFromDeviceRequestBuilder: diff --git a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/unassign_user_from_device/unassign_user_from_device_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/unassign_user_from_device/unassign_user_from_device_request_builder.py index bb02c40d537..3554c0bb4b5 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/unassign_user_from_device/unassign_user_from_device_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/unassign_user_from_device/unassign_user_from_device_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[UnassignUse request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnassignUserFromDeviceRequestBuilder: diff --git a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/update_device_properties/update_device_properties_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/update_device_properties/update_device_properties_request_builder.py index d186da14e03..5ced59169ea 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/update_device_properties/update_device_properties_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/update_device_properties/update_device_properties_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UpdateDevicePropertiesPostRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/windows_autopilot_device_identity_item_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/windows_autopilot_device_identity_item_request_builder.py index 20b71b11064..e8f42e863b0 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/windows_autopilot_device_identity_item_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assigned_devices/item/windows_autopilot_device_identity_item_request_builder.py @@ -111,7 +111,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsAu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsAutopilotDeviceIdentityItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -128,7 +128,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsAutop request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsAutopilotDeviceIdentity] = None, request_configuration: Optional[WindowsAutopilotDeviceIdentityItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[WindowsAutopilotDeviceIdent request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assignments/assignments_request_builder.py index b103649ada3..e158084d115 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsAutopilotDeploymentProfileAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WindowsAutopilotDeploymentPr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assignments/item/windows_autopilot_deployment_profile_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assignments/item/windows_autopilot_deployment_profile_assignment_item_request_builder.py index ba7db9423f2..7513ed698ac 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assignments/item/windows_autopilot_deployment_profile_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/assignments/item/windows_autopilot_deployment_profile_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsAu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsAutopilotDeploymentProfileAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsAutop request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsAutopilotDeploymentProfileAssignment] = None, request_configuration: Optional[WindowsAutopilotDeploymentProfileAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WindowsAutopilotDeploymentP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/windows_autopilot_deployment_profile_item_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/windows_autopilot_deployment_profile_item_request_builder.py index ebdaa5337e4..89dd3b51175 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/windows_autopilot_deployment_profile_item_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/item/windows_autopilot_deployment_profile_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsAu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsAutopilotDeploymentProfileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsAutop request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsAutopilotDeploymentProfile] = None, request_configuration: Optional[WindowsAutopilotDeploymentProfileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[WindowsAutopilotDeploymentP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/windows_autopilot_deployment_profiles_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/windows_autopilot_deployment_profiles_request_builder.py index fb9e98d894e..ff9e8727c42 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/windows_autopilot_deployment_profiles_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_deployment_profiles/windows_autopilot_deployment_profiles_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsAutop request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsAutopilotDeploymentProfile] = None, request_configuration: Optional[WindowsAutopilotDeploymentProfilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[WindowsAutopilotDeploymentPr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/allow_next_enrollment/allow_next_enrollment_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/allow_next_enrollment/allow_next_enrollment_request_builder.py index 6433e029971..aec0d0685e9 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/allow_next_enrollment/allow_next_enrollment_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/allow_next_enrollment/allow_next_enrollment_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[AllowNextEn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllowNextEnrollmentRequestBuilder: diff --git a/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/assign_resource_account_to_device/assign_resource_account_to_device_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/assign_resource_account_to_device/assign_resource_account_to_device_request_builder.py index e3b13b76ba5..ed8ebd7d571 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/assign_resource_account_to_device/assign_resource_account_to_device_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/assign_resource_account_to_device/assign_resource_account_to_device_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[AssignResourceAccountToDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/assign_user_to_device/assign_user_to_device_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/assign_user_to_device/assign_user_to_device_request_builder.py index 1b199c1e311..c790dda1e5a 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/assign_user_to_device/assign_user_to_device_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/assign_user_to_device/assign_user_to_device_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[AssignUserToDevicePostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/deployment_profile/deployment_profile_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/deployment_profile/deployment_profile_request_builder.py index 5fbd279bff2..3be22237fa2 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/deployment_profile/deployment_profile_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/deployment_profile/deployment_profile_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeploymentPr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeploymentProfileRequestBuilder: diff --git a/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/intended_deployment_profile/intended_deployment_profile_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/intended_deployment_profile/intended_deployment_profile_request_builder.py index 8484bbc0860..a0bbd01c4b9 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/intended_deployment_profile/intended_deployment_profile_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/intended_deployment_profile/intended_deployment_profile_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[IntendedDepl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IntendedDeploymentProfileRequestBuilder: diff --git a/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/unassign_resource_account_from_device/unassign_resource_account_from_device_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/unassign_resource_account_from_device/unassign_resource_account_from_device_request_builder.py index 21afc7be77d..4e09338b0f7 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/unassign_resource_account_from_device/unassign_resource_account_from_device_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/unassign_resource_account_from_device/unassign_resource_account_from_device_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[UnassignRes request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnassignResourceAccountFromDeviceRequestBuilder: diff --git a/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/unassign_user_from_device/unassign_user_from_device_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/unassign_user_from_device/unassign_user_from_device_request_builder.py index 19f301b3b2e..13a2687058c 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/unassign_user_from_device/unassign_user_from_device_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/unassign_user_from_device/unassign_user_from_device_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[UnassignUse request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnassignUserFromDeviceRequestBuilder: diff --git a/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/update_device_properties/update_device_properties_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/update_device_properties/update_device_properties_request_builder.py index af7ad5373bc..6df4cd19d85 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/update_device_properties/update_device_properties_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/update_device_properties/update_device_properties_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UpdateDevicePropertiesPostRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/windows_autopilot_device_identity_item_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/windows_autopilot_device_identity_item_request_builder.py index e330e767387..f55ede4c274 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/windows_autopilot_device_identity_item_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_device_identities/item/windows_autopilot_device_identity_item_request_builder.py @@ -111,7 +111,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsAu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsAutopilotDeviceIdentityItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -128,7 +128,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsAutop request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsAutopilotDeviceIdentity] = None, request_configuration: Optional[WindowsAutopilotDeviceIdentityItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[WindowsAutopilotDeviceIdent request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_autopilot_device_identities/windows_autopilot_device_identities_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_device_identities/windows_autopilot_device_identities_request_builder.py index b76535425fe..08286ba7a8a 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_device_identities/windows_autopilot_device_identities_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_device_identities/windows_autopilot_device_identities_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsAutop request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsAutopilotDeviceIdentity] = None, request_configuration: Optional[WindowsAutopilotDeviceIdentitiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WindowsAutopilotDeviceIdenti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_autopilot_settings/sync/sync_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_settings/sync/sync_request_builder.py index e7181882cba..bf153726fc3 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_settings/sync/sync_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_settings/sync/sync_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[SyncRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SyncRequestBuilder: diff --git a/msgraph_beta/generated/device_management/windows_autopilot_settings/windows_autopilot_settings_request_builder.py b/msgraph_beta/generated/device_management/windows_autopilot_settings/windows_autopilot_settings_request_builder.py index 9c723324910..9580caaa036 100644 --- a/msgraph_beta/generated/device_management/windows_autopilot_settings/windows_autopilot_settings_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_autopilot_settings/windows_autopilot_settings_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsAu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsAutopilotSettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsAutop request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsAutopilotSettings] = None, request_configuration: Optional[WindowsAutopilotSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WindowsAutopilotSettings] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/assign/assign_request_builder.py index f27b00c88a9..a01e3fd89be 100644 --- a/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/assign/assign_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/assignments/assignments_request_builder.py index 9d4c62cc5c6..ca23203c0ba 100644 --- a/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsDriverUpdateProfileAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WindowsDriverUpdateProfileAs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/assignments/item/windows_driver_update_profile_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/assignments/item/windows_driver_update_profile_assignment_item_request_builder.py index a21e14b2ea2..299c48e48f0 100644 --- a/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/assignments/item/windows_driver_update_profile_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/assignments/item/windows_driver_update_profile_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsDr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsDriverUpdateProfileAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsDrive request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsDriverUpdateProfileAssignment] = None, request_configuration: Optional[WindowsDriverUpdateProfileAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WindowsDriverUpdateProfileA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/driver_inventories/driver_inventories_request_builder.py b/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/driver_inventories/driver_inventories_request_builder.py index 495858c3e8d..8872a5eccb0 100644 --- a/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/driver_inventories/driver_inventories_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/driver_inventories/driver_inventories_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DriverInvent request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsDriverUpdateInventory] = None, request_configuration: Optional[DriverInventoriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WindowsDriverUpdateInventory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/driver_inventories/item/windows_driver_update_inventory_item_request_builder.py b/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/driver_inventories/item/windows_driver_update_inventory_item_request_builder.py index 23f8ba0bd9e..c4ea9088de2 100644 --- a/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/driver_inventories/item/windows_driver_update_inventory_item_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/driver_inventories/item/windows_driver_update_inventory_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsDr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsDriverUpdateInventoryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsDrive request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsDriverUpdateInventory] = None, request_configuration: Optional[WindowsDriverUpdateInventoryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WindowsDriverUpdateInventor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/execute_action/execute_action_request_builder.py b/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/execute_action/execute_action_request_builder.py index 67553163729..7cf8d7c2a9d 100644 --- a/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/execute_action/execute_action_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/execute_action/execute_action_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ExecuteActionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/sync_inventory/sync_inventory_request_builder.py b/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/sync_inventory/sync_inventory_request_builder.py index 87f41bf8f9b..0fdf11c60a1 100644 --- a/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/sync_inventory/sync_inventory_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/sync_inventory/sync_inventory_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[SyncInvento request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SyncInventoryRequestBuilder: diff --git a/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/windows_driver_update_profile_item_request_builder.py b/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/windows_driver_update_profile_item_request_builder.py index 56ad29071c7..670a9282f1c 100644 --- a/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/windows_driver_update_profile_item_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_driver_update_profiles/item/windows_driver_update_profile_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsDr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsDriverUpdateProfileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsDrive request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsDriverUpdateProfile] = None, request_configuration: Optional[WindowsDriverUpdateProfileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[WindowsDriverUpdateProfile] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_driver_update_profiles/windows_driver_update_profiles_request_builder.py b/msgraph_beta/generated/device_management/windows_driver_update_profiles/windows_driver_update_profiles_request_builder.py index 16a8feb954e..70f014d7e4e 100644 --- a/msgraph_beta/generated/device_management/windows_driver_update_profiles/windows_driver_update_profiles_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_driver_update_profiles/windows_driver_update_profiles_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsDrive request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsDriverUpdateProfile] = None, request_configuration: Optional[WindowsDriverUpdateProfilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WindowsDriverUpdateProfile] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_feature_update_profiles/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_management/windows_feature_update_profiles/item/assign/assign_request_builder.py index 8ae3ff5b63d..c6a8c8801c6 100644 --- a/msgraph_beta/generated/device_management/windows_feature_update_profiles/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_feature_update_profiles/item/assign/assign_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_feature_update_profiles/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_management/windows_feature_update_profiles/item/assignments/assignments_request_builder.py index ce25924e76b..7e9054240df 100644 --- a/msgraph_beta/generated/device_management/windows_feature_update_profiles/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_feature_update_profiles/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsFeatureUpdateProfileAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WindowsFeatureUpdateProfileA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_feature_update_profiles/item/assignments/item/windows_feature_update_profile_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/windows_feature_update_profiles/item/assignments/item/windows_feature_update_profile_assignment_item_request_builder.py index b7dd73efccb..c1a1cff951f 100644 --- a/msgraph_beta/generated/device_management/windows_feature_update_profiles/item/assignments/item/windows_feature_update_profile_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_feature_update_profiles/item/assignments/item/windows_feature_update_profile_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsFe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsFeatureUpdateProfileAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsFeatu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsFeatureUpdateProfileAssignment] = None, request_configuration: Optional[WindowsFeatureUpdateProfileAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WindowsFeatureUpdateProfile request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_feature_update_profiles/item/windows_feature_update_profile_item_request_builder.py b/msgraph_beta/generated/device_management/windows_feature_update_profiles/item/windows_feature_update_profile_item_request_builder.py index 7075ccbb521..83375062409 100644 --- a/msgraph_beta/generated/device_management/windows_feature_update_profiles/item/windows_feature_update_profile_item_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_feature_update_profiles/item/windows_feature_update_profile_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsFe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsFeatureUpdateProfileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsFeatu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsFeatureUpdateProfile] = None, request_configuration: Optional[WindowsFeatureUpdateProfileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[WindowsFeatureUpdateProfile request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_feature_update_profiles/windows_feature_update_profiles_request_builder.py b/msgraph_beta/generated/device_management/windows_feature_update_profiles/windows_feature_update_profiles_request_builder.py index 432d540ffe3..bf434903eed 100644 --- a/msgraph_beta/generated/device_management/windows_feature_update_profiles/windows_feature_update_profiles_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_feature_update_profiles/windows_feature_update_profiles_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsFeatu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsFeatureUpdateProfile] = None, request_configuration: Optional[WindowsFeatureUpdateProfilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WindowsFeatureUpdateProfile] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_information_protection_app_learning_summaries/item/windows_information_protection_app_learning_summary_item_request_builder.py b/msgraph_beta/generated/device_management/windows_information_protection_app_learning_summaries/item/windows_information_protection_app_learning_summary_item_request_builder.py index 3dcf7e516ba..24f069848e1 100644 --- a/msgraph_beta/generated/device_management/windows_information_protection_app_learning_summaries/item/windows_information_protection_app_learning_summary_item_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_information_protection_app_learning_summaries/item/windows_information_protection_app_learning_summary_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsInformationProtectionAppLearningSummaryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsInfor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsInformationProtectionAppLearningSummary] = None, request_configuration: Optional[WindowsInformationProtectionAppLearningSummaryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WindowsInformationProtectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_information_protection_app_learning_summaries/windows_information_protection_app_learning_summaries_request_builder.py b/msgraph_beta/generated/device_management/windows_information_protection_app_learning_summaries/windows_information_protection_app_learning_summaries_request_builder.py index b6261727765..e1b07b9569b 100644 --- a/msgraph_beta/generated/device_management/windows_information_protection_app_learning_summaries/windows_information_protection_app_learning_summaries_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_information_protection_app_learning_summaries/windows_information_protection_app_learning_summaries_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsInfor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsInformationProtectionAppLearningSummary] = None, request_configuration: Optional[WindowsInformationProtectionAppLearningSummariesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WindowsInformationProtection request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_information_protection_network_learning_summaries/item/windows_information_protection_network_learning_summary_item_request_builder.py b/msgraph_beta/generated/device_management/windows_information_protection_network_learning_summaries/item/windows_information_protection_network_learning_summary_item_request_builder.py index a7bd661d2f3..95ace662a32 100644 --- a/msgraph_beta/generated/device_management/windows_information_protection_network_learning_summaries/item/windows_information_protection_network_learning_summary_item_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_information_protection_network_learning_summaries/item/windows_information_protection_network_learning_summary_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsInformationProtectionNetworkLearningSummaryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsInfor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsInformationProtectionNetworkLearningSummary] = None, request_configuration: Optional[WindowsInformationProtectionNetworkLearningSummaryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WindowsInformationProtectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_information_protection_network_learning_summaries/windows_information_protection_network_learning_summaries_request_builder.py b/msgraph_beta/generated/device_management/windows_information_protection_network_learning_summaries/windows_information_protection_network_learning_summaries_request_builder.py index ac9e9ae8323..d4fa8a201ca 100644 --- a/msgraph_beta/generated/device_management/windows_information_protection_network_learning_summaries/windows_information_protection_network_learning_summaries_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_information_protection_network_learning_summaries/windows_information_protection_network_learning_summaries_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsInfor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsInformationProtectionNetworkLearningSummary] = None, request_configuration: Optional[WindowsInformationProtectionNetworkLearningSummariesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WindowsInformationProtection request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_malware_information/item/device_malware_states/device_malware_states_request_builder.py b/msgraph_beta/generated/device_management/windows_malware_information/item/device_malware_states/device_malware_states_request_builder.py index d7dd8e3381e..4dea5a04760 100644 --- a/msgraph_beta/generated/device_management/windows_malware_information/item/device_malware_states/device_malware_states_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_malware_information/item/device_malware_states/device_malware_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceMalwar request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MalwareStateForWindowsDevice] = None, request_configuration: Optional[DeviceMalwareStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MalwareStateForWindowsDevice request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_malware_information/item/device_malware_states/item/malware_state_for_windows_device_item_request_builder.py b/msgraph_beta/generated/device_management/windows_malware_information/item/device_malware_states/item/malware_state_for_windows_device_item_request_builder.py index f08bcccdbe2..43d2e1cb890 100644 --- a/msgraph_beta/generated/device_management/windows_malware_information/item/device_malware_states/item/malware_state_for_windows_device_item_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_malware_information/item/device_malware_states/item/malware_state_for_windows_device_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MalwareSt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MalwareStateForWindowsDeviceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MalwareState request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MalwareStateForWindowsDevice] = None, request_configuration: Optional[MalwareStateForWindowsDeviceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MalwareStateForWindowsDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_malware_information/item/windows_malware_information_item_request_builder.py b/msgraph_beta/generated/device_management/windows_malware_information/item/windows_malware_information_item_request_builder.py index ae5c9484e2f..9dd30230a67 100644 --- a/msgraph_beta/generated/device_management/windows_malware_information/item/windows_malware_information_item_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_malware_information/item/windows_malware_information_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsMa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsMalwareInformationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsMalwa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsMalwareInformation] = None, request_configuration: Optional[WindowsMalwareInformationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WindowsMalwareInformation] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_malware_information/windows_malware_information_request_builder.py b/msgraph_beta/generated/device_management/windows_malware_information/windows_malware_information_request_builder.py index 28e5a52db51..c831681ac52 100644 --- a/msgraph_beta/generated/device_management/windows_malware_information/windows_malware_information_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_malware_information/windows_malware_information_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsMalwa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsMalwareInformation] = None, request_configuration: Optional[WindowsMalwareInformationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WindowsMalwareInformation] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_quality_update_profiles/item/assign/assign_request_builder.py b/msgraph_beta/generated/device_management/windows_quality_update_profiles/item/assign/assign_request_builder.py index cd01a84c5f6..3f5bc2ece96 100644 --- a/msgraph_beta/generated/device_management/windows_quality_update_profiles/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_quality_update_profiles/item/assign/assign_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_quality_update_profiles/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_management/windows_quality_update_profiles/item/assignments/assignments_request_builder.py index 5fe2c9f271c..a0eb2e17883 100644 --- a/msgraph_beta/generated/device_management/windows_quality_update_profiles/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_quality_update_profiles/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsQualityUpdateProfileAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WindowsQualityUpdateProfileA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_quality_update_profiles/item/assignments/item/windows_quality_update_profile_assignment_item_request_builder.py b/msgraph_beta/generated/device_management/windows_quality_update_profiles/item/assignments/item/windows_quality_update_profile_assignment_item_request_builder.py index 47785fc985f..039bf9f3e20 100644 --- a/msgraph_beta/generated/device_management/windows_quality_update_profiles/item/assignments/item/windows_quality_update_profile_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_quality_update_profiles/item/assignments/item/windows_quality_update_profile_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsQu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsQualityUpdateProfileAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsQuali request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsQualityUpdateProfileAssignment] = None, request_configuration: Optional[WindowsQualityUpdateProfileAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WindowsQualityUpdateProfile request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_quality_update_profiles/item/windows_quality_update_profile_item_request_builder.py b/msgraph_beta/generated/device_management/windows_quality_update_profiles/item/windows_quality_update_profile_item_request_builder.py index 545a61c8999..a651f1a986c 100644 --- a/msgraph_beta/generated/device_management/windows_quality_update_profiles/item/windows_quality_update_profile_item_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_quality_update_profiles/item/windows_quality_update_profile_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsQu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsQualityUpdateProfileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsQuali request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsQualityUpdateProfile] = None, request_configuration: Optional[WindowsQualityUpdateProfileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[WindowsQualityUpdateProfile request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_quality_update_profiles/windows_quality_update_profiles_request_builder.py b/msgraph_beta/generated/device_management/windows_quality_update_profiles/windows_quality_update_profiles_request_builder.py index 04307683f8a..68f59849024 100644 --- a/msgraph_beta/generated/device_management/windows_quality_update_profiles/windows_quality_update_profiles_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_quality_update_profiles/windows_quality_update_profiles_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsQuali request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsQualityUpdateProfile] = None, request_configuration: Optional[WindowsQualityUpdateProfilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WindowsQualityUpdateProfile] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_update_catalog_items/item/windows_update_catalog_item_item_request_builder.py b/msgraph_beta/generated/device_management/windows_update_catalog_items/item/windows_update_catalog_item_item_request_builder.py index 46078a09dbc..9f74570e5d6 100644 --- a/msgraph_beta/generated/device_management/windows_update_catalog_items/item/windows_update_catalog_item_item_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_update_catalog_items/item/windows_update_catalog_item_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsUp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsUpdateCatalogItemItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsUpdat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsUpdateCatalogItem] = None, request_configuration: Optional[WindowsUpdateCatalogItemItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WindowsUpdateCatalogItem] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/windows_update_catalog_items/windows_update_catalog_items_request_builder.py b/msgraph_beta/generated/device_management/windows_update_catalog_items/windows_update_catalog_items_request_builder.py index 66c5d5b513a..99eb1b90f13 100644 --- a/msgraph_beta/generated/device_management/windows_update_catalog_items/windows_update_catalog_items_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_update_catalog_items/windows_update_catalog_items_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsUpdat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsUpdateCatalogItem] = None, request_configuration: Optional[WindowsUpdateCatalogItemsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WindowsUpdateCatalogItem] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/zebra_fota_artifacts/item/zebra_fota_artifact_item_request_builder.py b/msgraph_beta/generated/device_management/zebra_fota_artifacts/item/zebra_fota_artifact_item_request_builder.py index c9a0cc1a8a2..37110cf8e70 100644 --- a/msgraph_beta/generated/device_management/zebra_fota_artifacts/item/zebra_fota_artifact_item_request_builder.py +++ b/msgraph_beta/generated/device_management/zebra_fota_artifacts/item/zebra_fota_artifact_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ZebraFota request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ZebraFotaArtifactItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ZebraFotaArt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ZebraFotaArtifact] = None, request_configuration: Optional[ZebraFotaArtifactItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ZebraFotaArtifact] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/zebra_fota_artifacts/zebra_fota_artifacts_request_builder.py b/msgraph_beta/generated/device_management/zebra_fota_artifacts/zebra_fota_artifacts_request_builder.py index ecdf97e0632..aa6bb664aed 100644 --- a/msgraph_beta/generated/device_management/zebra_fota_artifacts/zebra_fota_artifacts_request_builder.py +++ b/msgraph_beta/generated/device_management/zebra_fota_artifacts/zebra_fota_artifacts_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ZebraFotaArt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ZebraFotaArtifact] = None, request_configuration: Optional[ZebraFotaArtifactsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ZebraFotaArtifact] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/zebra_fota_connector/approve_fota_apps/approve_fota_apps_request_builder.py b/msgraph_beta/generated/device_management/zebra_fota_connector/approve_fota_apps/approve_fota_apps_request_builder.py index 1e9035388a9..934c0cd2727 100644 --- a/msgraph_beta/generated/device_management/zebra_fota_connector/approve_fota_apps/approve_fota_apps_request_builder.py +++ b/msgraph_beta/generated/device_management/zebra_fota_connector/approve_fota_apps/approve_fota_apps_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[ApproveFota request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ApproveFotaAppsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/zebra_fota_connector/connect/connect_request_builder.py b/msgraph_beta/generated/device_management/zebra_fota_connector/connect/connect_request_builder.py index 1580ac6e5f6..0d8a7b6973f 100644 --- a/msgraph_beta/generated/device_management/zebra_fota_connector/connect/connect_request_builder.py +++ b/msgraph_beta/generated/device_management/zebra_fota_connector/connect/connect_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[ConnectRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ConnectRequestBuilder: diff --git a/msgraph_beta/generated/device_management/zebra_fota_connector/disconnect/disconnect_request_builder.py b/msgraph_beta/generated/device_management/zebra_fota_connector/disconnect/disconnect_request_builder.py index 6c9e95c5ba4..32d41ee466c 100644 --- a/msgraph_beta/generated/device_management/zebra_fota_connector/disconnect/disconnect_request_builder.py +++ b/msgraph_beta/generated/device_management/zebra_fota_connector/disconnect/disconnect_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[DisconnectR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DisconnectRequestBuilder: diff --git a/msgraph_beta/generated/device_management/zebra_fota_connector/has_active_deployments/has_active_deployments_request_builder.py b/msgraph_beta/generated/device_management/zebra_fota_connector/has_active_deployments/has_active_deployments_request_builder.py index eaf5388ebb3..b474e8ffc9c 100644 --- a/msgraph_beta/generated/device_management/zebra_fota_connector/has_active_deployments/has_active_deployments_request_builder.py +++ b/msgraph_beta/generated/device_management/zebra_fota_connector/has_active_deployments/has_active_deployments_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[HasActiveDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> HasActiveDeploymentsRequestBuilder: diff --git a/msgraph_beta/generated/device_management/zebra_fota_connector/zebra_fota_connector_request_builder.py b/msgraph_beta/generated/device_management/zebra_fota_connector/zebra_fota_connector_request_builder.py index 9c73a5368e7..23c86372656 100644 --- a/msgraph_beta/generated/device_management/zebra_fota_connector/zebra_fota_connector_request_builder.py +++ b/msgraph_beta/generated/device_management/zebra_fota_connector/zebra_fota_connector_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[ZebraFota request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ZebraFotaConnectorRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[ZebraFotaCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ZebraFotaConnector] = None, request_configuration: Optional[ZebraFotaConnectorRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[ZebraFotaConnector] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/zebra_fota_deployments/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/device_management/zebra_fota_deployments/item/cancel/cancel_request_builder.py index 93e848a22e6..4e1ff672b7e 100644 --- a/msgraph_beta/generated/device_management/zebra_fota_deployments/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/device_management/zebra_fota_deployments/item/cancel/cancel_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[CancelReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CancelRequestBuilder: diff --git a/msgraph_beta/generated/device_management/zebra_fota_deployments/item/zebra_fota_deployment_item_request_builder.py b/msgraph_beta/generated/device_management/zebra_fota_deployments/item/zebra_fota_deployment_item_request_builder.py index 4005030c4a8..d4c8ba28bb2 100644 --- a/msgraph_beta/generated/device_management/zebra_fota_deployments/item/zebra_fota_deployment_item_request_builder.py +++ b/msgraph_beta/generated/device_management/zebra_fota_deployments/item/zebra_fota_deployment_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ZebraFota request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ZebraFotaDeploymentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ZebraFotaDep request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ZebraFotaDeployment] = None, request_configuration: Optional[ZebraFotaDeploymentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ZebraFotaDeployment] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/device_management/zebra_fota_deployments/zebra_fota_deployments_request_builder.py b/msgraph_beta/generated/device_management/zebra_fota_deployments/zebra_fota_deployments_request_builder.py index deb9a86efab..b3ff4e39050 100644 --- a/msgraph_beta/generated/device_management/zebra_fota_deployments/zebra_fota_deployments_request_builder.py +++ b/msgraph_beta/generated/device_management/zebra_fota_deployments/zebra_fota_deployments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ZebraFotaDep request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ZebraFotaDeployment] = None, request_configuration: Optional[ZebraFotaDeploymentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ZebraFotaDeployment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/devices/delta/delta_request_builder.py b/msgraph_beta/generated/devices/delta/delta_request_builder.py index 630b36a1899..9c4d4fc5753 100644 --- a/msgraph_beta/generated/devices/delta/delta_request_builder.py +++ b/msgraph_beta/generated/devices/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/devices/devices_request_builder.py b/msgraph_beta/generated/devices/devices_request_builder.py index 6b102a5df27..3c26b0220cd 100644 --- a/msgraph_beta/generated/devices/devices_request_builder.py +++ b/msgraph_beta/generated/devices/devices_request_builder.py @@ -49,7 +49,7 @@ def by_device_id(self,device_id: str) -> DeviceItemRequestBuilder: async def get(self,request_configuration: Optional[DevicesRequestBuilderGetRequestConfiguration] = None) -> Optional[DeviceCollectionResponse]: """ - Retrieve a list of devices registered in the directory. This API is available in the following national cloud deployments. + Retrieve a list of devices registered in the directory. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/device-list?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[DevicesRequestBuilderGetReque async def post(self,body: Optional[Device] = None, request_configuration: Optional[DevicesRequestBuilderPostRequestConfiguration] = None) -> Optional[Device]: """ - Create a new device. This API is available in the following national cloud deployments. + Create a new device. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Device] @@ -96,7 +96,7 @@ async def post(self,body: Optional[Device] = None, request_configuration: Option def to_get_request_information(self,request_configuration: Optional[DevicesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of devices registered in the directory. This API is available in the following national cloud deployments. + Retrieve a list of devices registered in the directory. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_get_request_information(self,request_configuration: Optional[DevicesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Device] = None, request_configuration: Optional[DevicesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new device. This API is available in the following national cloud deployments. + Create a new device. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -127,7 +127,7 @@ def to_post_request_information(self,body: Optional[Device] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ def validate_properties(self) -> ValidatePropertiesRequestBuilder: @dataclass class DevicesRequestBuilderGetQueryParameters(): """ - Retrieve a list of devices registered in the directory. This API is available in the following national cloud deployments. + Retrieve a list of devices registered in the directory. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/devices/get_by_ids/get_by_ids_request_builder.py b/msgraph_beta/generated/devices/get_by_ids/get_by_ids_request_builder.py index 4e4652cbd59..6e44566b6b7 100644 --- a/msgraph_beta/generated/devices/get_by_ids/get_by_ids_request_builder.py +++ b/msgraph_beta/generated/devices/get_by_ids/get_by_ids_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetByIdsPostResponse]: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetByIdsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/devices/get_user_owned_objects/get_user_owned_objects_request_builder.py b/msgraph_beta/generated/devices/get_user_owned_objects/get_user_owned_objects_request_builder.py index 733f937d1ce..5d971bf7ca1 100644 --- a/msgraph_beta/generated/devices/get_user_owned_objects/get_user_owned_objects_request_builder.py +++ b/msgraph_beta/generated/devices/get_user_owned_objects/get_user_owned_objects_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, request_configuration: Optional[GetUserOwnedObjectsRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. This API is available in the following national cloud deployments. + Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, r def to_post_request_information(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, request_configuration: Optional[GetUserOwnedObjectsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. This API is available in the following national cloud deployments. + Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetUserOwnedObjectsPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/devices/item/check_member_groups/check_member_groups_request_builder.py b/msgraph_beta/generated/devices/item/check_member_groups/check_member_groups_request_builder.py index f12286948ae..742ae7d697d 100644 --- a/msgraph_beta/generated/devices/item/check_member_groups/check_member_groups_request_builder.py +++ b/msgraph_beta/generated/devices/item/check_member_groups/check_member_groups_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[CheckMemberGroupsPostResponse]: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, req def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/devices/item/check_member_objects/check_member_objects_request_builder.py b/msgraph_beta/generated/devices/item/check_member_objects/check_member_objects_request_builder.py index f862935c796..5ff4236e8d5 100644 --- a/msgraph_beta/generated/devices/item/check_member_objects/check_member_objects_request_builder.py +++ b/msgraph_beta/generated/devices/item/check_member_objects/check_member_objects_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CheckMemberObjectsPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/devices/item/commands/commands_request_builder.py b/msgraph_beta/generated/devices/item/commands/commands_request_builder.py index 4e93e4972a6..2b94a7185c2 100644 --- a/msgraph_beta/generated/devices/item/commands/commands_request_builder.py +++ b/msgraph_beta/generated/devices/item/commands/commands_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[CommandsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Command] = None, request_configuration: Optional[CommandsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Command] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/devices/item/commands/item/command_item_request_builder.py b/msgraph_beta/generated/devices/item/commands/item/command_item_request_builder.py index 7465f1ee974..369644469de 100644 --- a/msgraph_beta/generated/devices/item/commands/item/command_item_request_builder.py +++ b/msgraph_beta/generated/devices/item/commands/item/command_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[CommandIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CommandItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CommandItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Command] = None, request_configuration: Optional[CommandItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Command] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/devices/item/commands/item/responsepayload/responsepayload_request_builder.py b/msgraph_beta/generated/devices/item/commands/item/responsepayload/responsepayload_request_builder.py index bcd99541ed7..22fc507bc55 100644 --- a/msgraph_beta/generated/devices/item/commands/item/responsepayload/responsepayload_request_builder.py +++ b/msgraph_beta/generated/devices/item/commands/item/responsepayload/responsepayload_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[Responsepayl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResponsepayloadRequestBuilder: diff --git a/msgraph_beta/generated/devices/item/device_item_request_builder.py b/msgraph_beta/generated/devices/item/device_item_request_builder.py index d4e4c9c8a5d..bee8f1b3259 100644 --- a/msgraph_beta/generated/devices/item/device_item_request_builder.py +++ b/msgraph_beta/generated/devices/item/device_item_request_builder.py @@ -40,7 +40,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[DeviceItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a registered device. This API is available in the following national cloud deployments. + Delete a registered device. 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/device-delete?view=graph-rest-1.0 @@ -60,7 +60,7 @@ async def delete(self,request_configuration: Optional[DeviceItemRequestBuilderDe async def get(self,request_configuration: Optional[DeviceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Device]: """ - Get the properties and relationships of a device object. Since the device resource supports extensions, you can also use the GET operation to get custom properties and extension data in a device instance. This API is available in the following national cloud deployments. + Get the properties and relationships of a device object. Since the device resource supports extensions, you can also use the GET operation to get custom properties and extension data in a device instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Device] Find more info here: https://learn.microsoft.com/graph/api/device-get?view=graph-rest-1.0 @@ -82,7 +82,7 @@ async def get(self,request_configuration: Optional[DeviceItemRequestBuilderGetRe async def patch(self,body: Optional[Device] = None, request_configuration: Optional[DeviceItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Device]: """ - Update the properties of a device. Only certain properties of a device can be updated through approved Mobile Device Management (MDM) apps. This API is available in the following national cloud deployments. + Update the properties of a device. Only certain properties of a device can be updated through approved Mobile Device Management (MDM) apps. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Device] @@ -107,7 +107,7 @@ async def patch(self,body: Optional[Device] = None, request_configuration: Optio def to_delete_request_information(self,request_configuration: Optional[DeviceItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a registered device. This API is available in the following national cloud deployments. + Delete a registered device. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -118,12 +118,12 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a device object. Since the device resource supports extensions, you can also use the GET operation to get custom properties and extension data in a device instance. This API is available in the following national cloud deployments. + Get the properties and relationships of a device object. Since the device resource supports extensions, you can also use the GET operation to get custom properties and extension data in a device instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,12 +135,12 @@ def to_get_request_information(self,request_configuration: Optional[DeviceItemRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Device] = None, request_configuration: Optional[DeviceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a device. Only certain properties of a device can be updated through approved Mobile Device Management (MDM) apps. This API is available in the following national cloud deployments. + Update the properties of a device. Only certain properties of a device can be updated through approved Mobile Device Management (MDM) apps. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -154,7 +154,7 @@ def to_patch_request_information(self,body: Optional[Device] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -289,7 +289,7 @@ class DeviceItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguratio @dataclass class DeviceItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a device object. Since the device resource supports extensions, you can also use the GET operation to get custom properties and extension data in a device instance. This API is available in the following national cloud deployments. + Get the properties and relationships of a device object. Since the device resource supports extensions, you can also use the GET operation to get custom properties and extension data in a device instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/devices/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/devices/item/extensions/extensions_request_builder.py index 6c0f428bf96..03878174a0f 100644 --- a/msgraph_beta/generated/devices/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/devices/item/extensions/extensions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/devices/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/devices/item/extensions/item/extension_item_request_builder.py index bc4c9c6c9dd..9003957ad27 100644 --- a/msgraph_beta/generated/devices/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/devices/item/extensions/item/extension_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/devices/item/get_member_groups/get_member_groups_request_builder.py b/msgraph_beta/generated/devices/item/get_member_groups/get_member_groups_request_builder.py index 43edb8e30b8..12f0c24f069 100644 --- a/msgraph_beta/generated/devices/item/get_member_groups/get_member_groups_request_builder.py +++ b/msgraph_beta/generated/devices/item/get_member_groups/get_member_groups_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetMemberGroupsPostResponse]: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/devices/item/get_member_objects/get_member_objects_request_builder.py b/msgraph_beta/generated/devices/item/get_member_objects/get_member_objects_request_builder.py index 0983863b2c5..ee66ca8f63a 100644 --- a/msgraph_beta/generated/devices/item/get_member_objects/get_member_objects_request_builder.py +++ b/msgraph_beta/generated/devices/item/get_member_objects/get_member_objects_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GetMemberObjectsPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/devices/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py b/msgraph_beta/generated/devices/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py index c28feee3074..93eb12da8ad 100644 --- a/msgraph_beta/generated/devices/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py +++ b/msgraph_beta/generated/devices/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAdminis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAdministrativeUnitRequestBuilder: diff --git a/msgraph_beta/generated/devices/item/member_of/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/devices/item/member_of/graph_group/graph_group_request_builder.py index 9f54a5492c1..d35f095ed9b 100644 --- a/msgraph_beta/generated/devices/item/member_of/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/devices/item/member_of/graph_group/graph_group_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/devices/item/member_of/item/directory_object_item_request_builder.py b/msgraph_beta/generated/devices/item/member_of/item/directory_object_item_request_builder.py index 6aecfff102b..da40815f04a 100644 --- a/msgraph_beta/generated/devices/item/member_of/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/devices/item/member_of/item/directory_object_item_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: diff --git a/msgraph_beta/generated/devices/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py b/msgraph_beta/generated/devices/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py index 5942b7ec23c..57d64a5c468 100644 --- a/msgraph_beta/generated/devices/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py +++ b/msgraph_beta/generated/devices/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAdminis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAdministrativeUnitRequestBuilder: diff --git a/msgraph_beta/generated/devices/item/member_of/item/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/devices/item/member_of/item/graph_group/graph_group_request_builder.py index 52b8a196404..0b70f6370d4 100644 --- a/msgraph_beta/generated/devices/item/member_of/item/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/devices/item/member_of/item/graph_group/graph_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/devices/item/member_of/member_of_request_builder.py b/msgraph_beta/generated/devices/item/member_of/member_of_request_builder.py index 1447fc87078..0a5268a17b3 100644 --- a/msgraph_beta/generated/devices/item/member_of/member_of_request_builder.py +++ b/msgraph_beta/generated/devices/item/member_of/member_of_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[MemberOfRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MemberOfRequestBuilder: diff --git a/msgraph_beta/generated/devices/item/registered_owners/graph_endpoint/graph_endpoint_request_builder.py b/msgraph_beta/generated/devices/item/registered_owners/graph_endpoint/graph_endpoint_request_builder.py index c397cd1c9f4..8d82234dc31 100644 --- a/msgraph_beta/generated/devices/item/registered_owners/graph_endpoint/graph_endpoint_request_builder.py +++ b/msgraph_beta/generated/devices/item/registered_owners/graph_endpoint/graph_endpoint_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphEndpoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphEndpointRequestBuilder: diff --git a/msgraph_beta/generated/devices/item/registered_owners/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/devices/item/registered_owners/graph_service_principal/graph_service_principal_request_builder.py index 59b9c4d3c5f..fc7b9b72a08 100644 --- a/msgraph_beta/generated/devices/item/registered_owners/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/devices/item/registered_owners/graph_service_principal/graph_service_principal_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/devices/item/registered_owners/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/devices/item/registered_owners/graph_user/graph_user_request_builder.py index 62c12e0a064..875915d8b9c 100644 --- a/msgraph_beta/generated/devices/item/registered_owners/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/devices/item/registered_owners/graph_user/graph_user_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/devices/item/registered_owners/item/graph_endpoint/graph_endpoint_request_builder.py b/msgraph_beta/generated/devices/item/registered_owners/item/graph_endpoint/graph_endpoint_request_builder.py index 2815022fe29..df388c4460c 100644 --- a/msgraph_beta/generated/devices/item/registered_owners/item/graph_endpoint/graph_endpoint_request_builder.py +++ b/msgraph_beta/generated/devices/item/registered_owners/item/graph_endpoint/graph_endpoint_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphEndpoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphEndpointRequestBuilder: diff --git a/msgraph_beta/generated/devices/item/registered_owners/item/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/devices/item/registered_owners/item/graph_service_principal/graph_service_principal_request_builder.py index 068f2c8f996..c220a1b2e4a 100644 --- a/msgraph_beta/generated/devices/item/registered_owners/item/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/devices/item/registered_owners/item/graph_service_principal/graph_service_principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/devices/item/registered_owners/item/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/devices/item/registered_owners/item/graph_user/graph_user_request_builder.py index 5b30b3b3439..8a5f5096382 100644 --- a/msgraph_beta/generated/devices/item/registered_owners/item/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/devices/item/registered_owners/item/graph_user/graph_user_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/devices/item/registered_owners/item/ref/ref_request_builder.py b/msgraph_beta/generated/devices/item/registered_owners/item/ref/ref_request_builder.py index 2793b00bf4b..cc6dfab6e15 100644 --- a/msgraph_beta/generated/devices/item/registered_owners/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/devices/item/registered_owners/item/ref/ref_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a user as a registered owner of the device. This API is available in the following national cloud deployments. + Remove a user as a registered owner of the device. 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/device-delete-registeredowners?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a user as a registered owner of the device. This API is available in the following national cloud deployments. + Remove a user as a registered owner of the device. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Remove a user as a registered owner of the device. This API is available in the following national cloud deployments. + Remove a user as a registered owner of the device. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/devices/item/registered_owners/ref/ref_request_builder.py b/msgraph_beta/generated/devices/item/registered_owners/ref/ref_request_builder.py index 08cb2fb3406..cbe575d7262 100644 --- a/msgraph_beta/generated/devices/item/registered_owners/ref/ref_request_builder.py +++ b/msgraph_beta/generated/devices/item/registered_owners/ref/ref_request_builder.py @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add a user as a registered owner of the device. This API is available in the following national cloud deployments. + Add a user as a registered owner of the device. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a user as a registered owner of the device. This API is available in the following national cloud deployments. + Add a user as a registered owner of the device. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/devices/item/registered_owners/registered_owners_request_builder.py b/msgraph_beta/generated/devices/item/registered_owners/registered_owners_request_builder.py index 78d3a6030b5..f9580b34c6d 100644 --- a/msgraph_beta/generated/devices/item/registered_owners/registered_owners_request_builder.py +++ b/msgraph_beta/generated/devices/item/registered_owners/registered_owners_request_builder.py @@ -35,7 +35,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.devices.item.registeredOwners.item collection - param directory_object_id: Unique identifier of the item + param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ if not directory_object_id: @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[RegisteredOw request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RegisteredOwnersRequestBuilder: diff --git a/msgraph_beta/generated/devices/item/registered_users/graph_endpoint/graph_endpoint_request_builder.py b/msgraph_beta/generated/devices/item/registered_users/graph_endpoint/graph_endpoint_request_builder.py index 127a9429a99..6bc9c7a692f 100644 --- a/msgraph_beta/generated/devices/item/registered_users/graph_endpoint/graph_endpoint_request_builder.py +++ b/msgraph_beta/generated/devices/item/registered_users/graph_endpoint/graph_endpoint_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphEndpoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphEndpointRequestBuilder: diff --git a/msgraph_beta/generated/devices/item/registered_users/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/devices/item/registered_users/graph_service_principal/graph_service_principal_request_builder.py index 119fe0387c3..b77dc1b6e89 100644 --- a/msgraph_beta/generated/devices/item/registered_users/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/devices/item/registered_users/graph_service_principal/graph_service_principal_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/devices/item/registered_users/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/devices/item/registered_users/graph_user/graph_user_request_builder.py index da0ddb7b7d3..11cd486c3cc 100644 --- a/msgraph_beta/generated/devices/item/registered_users/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/devices/item/registered_users/graph_user/graph_user_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/devices/item/registered_users/item/graph_endpoint/graph_endpoint_request_builder.py b/msgraph_beta/generated/devices/item/registered_users/item/graph_endpoint/graph_endpoint_request_builder.py index a17c26b8567..c64de18ccbd 100644 --- a/msgraph_beta/generated/devices/item/registered_users/item/graph_endpoint/graph_endpoint_request_builder.py +++ b/msgraph_beta/generated/devices/item/registered_users/item/graph_endpoint/graph_endpoint_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphEndpoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphEndpointRequestBuilder: diff --git a/msgraph_beta/generated/devices/item/registered_users/item/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/devices/item/registered_users/item/graph_service_principal/graph_service_principal_request_builder.py index 53b71cfce96..ecb715fd47c 100644 --- a/msgraph_beta/generated/devices/item/registered_users/item/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/devices/item/registered_users/item/graph_service_principal/graph_service_principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/devices/item/registered_users/item/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/devices/item/registered_users/item/graph_user/graph_user_request_builder.py index 8b76fb3f7a8..60120f83521 100644 --- a/msgraph_beta/generated/devices/item/registered_users/item/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/devices/item/registered_users/item/graph_user/graph_user_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/devices/item/registered_users/item/ref/ref_request_builder.py b/msgraph_beta/generated/devices/item/registered_users/item/ref/ref_request_builder.py index 05f44211fa8..01caff1ae81 100644 --- a/msgraph_beta/generated/devices/item/registered_users/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/devices/item/registered_users/item/ref/ref_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a user as a registered user of the device. This API is available in the following national cloud deployments. + Remove a user as a registered user of the device. 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/device-delete-registeredusers?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a user as a registered user of the device. This API is available in the following national cloud deployments. + Remove a user as a registered user of the device. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Remove a user as a registered user of the device. This API is available in the following national cloud deployments. + Remove a user as a registered user of the device. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/devices/item/registered_users/ref/ref_request_builder.py b/msgraph_beta/generated/devices/item/registered_users/ref/ref_request_builder.py index 23bba9cd4d8..3cdebd98a94 100644 --- a/msgraph_beta/generated/devices/item/registered_users/ref/ref_request_builder.py +++ b/msgraph_beta/generated/devices/item/registered_users/ref/ref_request_builder.py @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add a registered user for the device. This API is available in the following national cloud deployments. + Add a registered user for the device. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a registered user for the device. This API is available in the following national cloud deployments. + Add a registered user for the device. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/devices/item/registered_users/registered_users_request_builder.py b/msgraph_beta/generated/devices/item/registered_users/registered_users_request_builder.py index 93d7f8f8130..f71ccdcc720 100644 --- a/msgraph_beta/generated/devices/item/registered_users/registered_users_request_builder.py +++ b/msgraph_beta/generated/devices/item/registered_users/registered_users_request_builder.py @@ -35,7 +35,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.devices.item.registeredUsers.item collection - param directory_object_id: Unique identifier of the item + param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ if not directory_object_id: @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[RegisteredUs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RegisteredUsersRequestBuilder: diff --git a/msgraph_beta/generated/devices/item/restore/restore_request_builder.py b/msgraph_beta/generated/devices/item/restore/restore_request_builder.py index 77b7b50b6dd..dfd9b24d061 100644 --- a/msgraph_beta/generated/devices/item/restore/restore_request_builder.py +++ b/msgraph_beta/generated/devices/item/restore/restore_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RestoreRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[RestoreRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RestoreRequestBuilder: diff --git a/msgraph_beta/generated/devices/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py b/msgraph_beta/generated/devices/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py index cccc647cfc4..f99ee3f5a68 100644 --- a/msgraph_beta/generated/devices/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py +++ b/msgraph_beta/generated/devices/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAdminis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAdministrativeUnitRequestBuilder: diff --git a/msgraph_beta/generated/devices/item/transitive_member_of/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/devices/item/transitive_member_of/graph_group/graph_group_request_builder.py index 7b86405efb8..39d4963c21e 100644 --- a/msgraph_beta/generated/devices/item/transitive_member_of/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/devices/item/transitive_member_of/graph_group/graph_group_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/devices/item/transitive_member_of/item/directory_object_item_request_builder.py b/msgraph_beta/generated/devices/item/transitive_member_of/item/directory_object_item_request_builder.py index bc66f156b79..cbb4edb6735 100644 --- a/msgraph_beta/generated/devices/item/transitive_member_of/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/devices/item/transitive_member_of/item/directory_object_item_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: diff --git a/msgraph_beta/generated/devices/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py b/msgraph_beta/generated/devices/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py index 8a30b69de88..886218fe234 100644 --- a/msgraph_beta/generated/devices/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py +++ b/msgraph_beta/generated/devices/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAdminis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAdministrativeUnitRequestBuilder: diff --git a/msgraph_beta/generated/devices/item/transitive_member_of/item/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/devices/item/transitive_member_of/item/graph_group/graph_group_request_builder.py index f05949e5f6f..0a8bbfa0542 100644 --- a/msgraph_beta/generated/devices/item/transitive_member_of/item/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/devices/item/transitive_member_of/item/graph_group/graph_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/devices/item/transitive_member_of/transitive_member_of_request_builder.py b/msgraph_beta/generated/devices/item/transitive_member_of/transitive_member_of_request_builder.py index e117bfb9373..1115e032059 100644 --- a/msgraph_beta/generated/devices/item/transitive_member_of/transitive_member_of_request_builder.py +++ b/msgraph_beta/generated/devices/item/transitive_member_of/transitive_member_of_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[TransitiveMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TransitiveMemberOfRequestBuilder: diff --git a/msgraph_beta/generated/devices/item/usage_rights/item/usage_right_item_request_builder.py b/msgraph_beta/generated/devices/item/usage_rights/item/usage_right_item_request_builder.py index 8a79a5c776b..d143b2576f6 100644 --- a/msgraph_beta/generated/devices/item/usage_rights/item/usage_right_item_request_builder.py +++ b/msgraph_beta/generated/devices/item/usage_rights/item/usage_right_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UsageRigh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UsageRightItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UsageRightIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UsageRight] = None, request_configuration: Optional[UsageRightItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UsageRight] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/devices/item/usage_rights/usage_rights_request_builder.py b/msgraph_beta/generated/devices/item/usage_rights/usage_rights_request_builder.py index e03281fcc48..514e69a0228 100644 --- a/msgraph_beta/generated/devices/item/usage_rights/usage_rights_request_builder.py +++ b/msgraph_beta/generated/devices/item/usage_rights/usage_rights_request_builder.py @@ -45,7 +45,7 @@ def by_usage_right_id(self,usage_right_id: str) -> UsageRightItemRequestBuilder: async def get(self,request_configuration: Optional[UsageRightsRequestBuilderGetRequestConfiguration] = None) -> Optional[UsageRightCollectionResponse]: """ - Retrieve a list of usageRight objects for a given device. This API is available in the following national cloud deployments. + Retrieve a list of usageRight objects for a given device. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UsageRightCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/device-list-usagerights?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[UsageRight] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[UsageRightsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of usageRight objects for a given device. This API is available in the following national cloud deployments. + Retrieve a list of usageRight objects for a given device. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[UsageRightsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UsageRight] = None, request_configuration: Optional[UsageRightsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UsageRight] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class UsageRightsRequestBuilderGetQueryParameters(): """ - Retrieve a list of usageRight objects for a given device. This API is available in the following national cloud deployments. + Retrieve a list of usageRight objects for a given device. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/devices/validate_properties/validate_properties_request_builder.py b/msgraph_beta/generated/devices/validate_properties/validate_properties_request_builder.py index bd890a1adfe..c6c485e9f9f 100644 --- a/msgraph_beta/generated/devices/validate_properties/validate_properties_request_builder.py +++ b/msgraph_beta/generated/devices/validate_properties/validate_properties_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> None: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, re def to_post_request_information(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ValidatePropertiesPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/devices_with_device_id/devices_with_device_id_request_builder.py b/msgraph_beta/generated/devices_with_device_id/devices_with_device_id_request_builder.py index 02c70e3d14c..18c8e85cf76 100644 --- a/msgraph_beta/generated/devices_with_device_id/devices_with_device_id_request_builder.py +++ b/msgraph_beta/generated/devices_with_device_id/devices_with_device_id_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[DevicesWithDeviceIdRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a registered device. This API is available in the following national cloud deployments. + Delete a registered device. 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/device-delete?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[DevicesWithDeviceIdRequest async def get(self,request_configuration: Optional[DevicesWithDeviceIdRequestBuilderGetRequestConfiguration] = None) -> Optional[Device]: """ - Get the properties and relationships of a device object. Since the device resource supports extensions, you can also use the GET operation to get custom properties and extension data in a device instance. This API is available in the following national cloud deployments. + Get the properties and relationships of a device object. Since the device resource supports extensions, you can also use the GET operation to get custom properties and extension data in a device instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Device] Find more info here: https://learn.microsoft.com/graph/api/device-get?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[DevicesWithDeviceIdRequestBui async def patch(self,body: Optional[Device] = None, request_configuration: Optional[DevicesWithDeviceIdRequestBuilderPatchRequestConfiguration] = None) -> Optional[Device]: """ - Update the properties of a device. Only certain properties of a device can be updated through approved Mobile Device Management (MDM) apps. This API is available in the following national cloud deployments. + Update the properties of a device. Only certain properties of a device can be updated through approved Mobile Device Management (MDM) apps. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Device] @@ -98,7 +98,7 @@ async def patch(self,body: Optional[Device] = None, request_configuration: Optio def to_delete_request_information(self,request_configuration: Optional[DevicesWithDeviceIdRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a registered device. This API is available in the following national cloud deployments. + Delete a registered device. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[DevicesWi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DevicesWithDeviceIdRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a device object. Since the device resource supports extensions, you can also use the GET operation to get custom properties and extension data in a device instance. This API is available in the following national cloud deployments. + Get the properties and relationships of a device object. Since the device resource supports extensions, you can also use the GET operation to get custom properties and extension data in a device instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,12 +126,12 @@ def to_get_request_information(self,request_configuration: Optional[DevicesWithD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Device] = None, request_configuration: Optional[DevicesWithDeviceIdRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a device. Only certain properties of a device can be updated through approved Mobile Device Management (MDM) apps. This API is available in the following national cloud deployments. + Update the properties of a device. Only certain properties of a device can be updated through approved Mobile Device Management (MDM) apps. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[Device] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -172,7 +172,7 @@ class DevicesWithDeviceIdRequestBuilderDeleteRequestConfiguration(BaseRequestCon @dataclass class DevicesWithDeviceIdRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a device object. Since the device resource supports extensions, you can also use the GET operation to get custom properties and extension data in a device instance. This API is available in the following national cloud deployments. + Get the properties and relationships of a device object. Since the device resource supports extensions, you can also use the GET operation to get custom properties and extension data in a device instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory/administrative_units/administrative_units_request_builder.py b/msgraph_beta/generated/directory/administrative_units/administrative_units_request_builder.py index 721e757e137..ec45c6aaebc 100644 --- a/msgraph_beta/generated/directory/administrative_units/administrative_units_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/administrative_units_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[Administrati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AdministrativeUnit] = None, request_configuration: Optional[AdministrativeUnitsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AdministrativeUnit] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/administrative_units/delta/delta_request_builder.py b/msgraph_beta/generated/directory/administrative_units/delta/delta_request_builder.py index d0d6e78b423..8955686f802 100644 --- a/msgraph_beta/generated/directory/administrative_units/delta/delta_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/directory/administrative_units/item/administrative_unit_item_request_builder.py b/msgraph_beta/generated/directory/administrative_units/item/administrative_unit_item_request_builder.py index 1a6f149ef0a..49812f0bf8b 100644 --- a/msgraph_beta/generated/directory/administrative_units/item/administrative_unit_item_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/item/administrative_unit_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[Administr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AdministrativeUnitItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[Administrati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AdministrativeUnit] = None, request_configuration: Optional[AdministrativeUnitItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[AdministrativeUnit] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/administrative_units/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/directory/administrative_units/item/extensions/extensions_request_builder.py index cc89ffa6088..c0f308dce2d 100644 --- a/msgraph_beta/generated/directory/administrative_units/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/item/extensions/extensions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/administrative_units/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/directory/administrative_units/item/extensions/item/extension_item_request_builder.py index 4beae27f0e2..ef7c5200ce9 100644 --- a/msgraph_beta/generated/directory/administrative_units/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/item/extensions/item/extension_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/administrative_units/item/members/graph_application/graph_application_request_builder.py b/msgraph_beta/generated/directory/administrative_units/item/members/graph_application/graph_application_request_builder.py index 942fad90239..d545fec8f56 100644 --- a/msgraph_beta/generated/directory/administrative_units/item/members/graph_application/graph_application_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/item/members/graph_application/graph_application_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphApplica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphApplicationRequestBuilder: diff --git a/msgraph_beta/generated/directory/administrative_units/item/members/graph_device/graph_device_request_builder.py b/msgraph_beta/generated/directory/administrative_units/item/members/graph_device/graph_device_request_builder.py index 92449d7cf32..bfe868c4c8d 100644 --- a/msgraph_beta/generated/directory/administrative_units/item/members/graph_device/graph_device_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/item/members/graph_device/graph_device_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphDeviceR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphDeviceRequestBuilder: diff --git a/msgraph_beta/generated/directory/administrative_units/item/members/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/directory/administrative_units/item/members/graph_group/graph_group_request_builder.py index 27430ade5de..42cd35479aa 100644 --- a/msgraph_beta/generated/directory/administrative_units/item/members/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/item/members/graph_group/graph_group_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/directory/administrative_units/item/members/graph_org_contact/graph_org_contact_request_builder.py b/msgraph_beta/generated/directory/administrative_units/item/members/graph_org_contact/graph_org_contact_request_builder.py index e0816f6ef71..634ff4dc500 100644 --- a/msgraph_beta/generated/directory/administrative_units/item/members/graph_org_contact/graph_org_contact_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/item/members/graph_org_contact/graph_org_contact_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphOrgCont request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphOrgContactRequestBuilder: diff --git a/msgraph_beta/generated/directory/administrative_units/item/members/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/directory/administrative_units/item/members/graph_service_principal/graph_service_principal_request_builder.py index 53179a72582..5188df8aff8 100644 --- a/msgraph_beta/generated/directory/administrative_units/item/members/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/item/members/graph_service_principal/graph_service_principal_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/directory/administrative_units/item/members/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/directory/administrative_units/item/members/graph_user/graph_user_request_builder.py index fe637761606..1f8d6bcb57a 100644 --- a/msgraph_beta/generated/directory/administrative_units/item/members/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/item/members/graph_user/graph_user_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/directory/administrative_units/item/members/item/graph_application/graph_application_request_builder.py b/msgraph_beta/generated/directory/administrative_units/item/members/item/graph_application/graph_application_request_builder.py index 4d57dfd2bcd..a5248659a25 100644 --- a/msgraph_beta/generated/directory/administrative_units/item/members/item/graph_application/graph_application_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/item/members/item/graph_application/graph_application_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphApplica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphApplicationRequestBuilder: diff --git a/msgraph_beta/generated/directory/administrative_units/item/members/item/graph_device/graph_device_request_builder.py b/msgraph_beta/generated/directory/administrative_units/item/members/item/graph_device/graph_device_request_builder.py index 9054df20c55..82b4f31990a 100644 --- a/msgraph_beta/generated/directory/administrative_units/item/members/item/graph_device/graph_device_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/item/members/item/graph_device/graph_device_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphDeviceR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphDeviceRequestBuilder: diff --git a/msgraph_beta/generated/directory/administrative_units/item/members/item/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/directory/administrative_units/item/members/item/graph_group/graph_group_request_builder.py index e387f32278f..7acf0ec9727 100644 --- a/msgraph_beta/generated/directory/administrative_units/item/members/item/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/item/members/item/graph_group/graph_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/directory/administrative_units/item/members/item/graph_org_contact/graph_org_contact_request_builder.py b/msgraph_beta/generated/directory/administrative_units/item/members/item/graph_org_contact/graph_org_contact_request_builder.py index d14e7cc9eee..e2c015bb77b 100644 --- a/msgraph_beta/generated/directory/administrative_units/item/members/item/graph_org_contact/graph_org_contact_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/item/members/item/graph_org_contact/graph_org_contact_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphOrgCont request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphOrgContactRequestBuilder: diff --git a/msgraph_beta/generated/directory/administrative_units/item/members/item/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/directory/administrative_units/item/members/item/graph_service_principal/graph_service_principal_request_builder.py index 691fc140d38..a5837032799 100644 --- a/msgraph_beta/generated/directory/administrative_units/item/members/item/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/item/members/item/graph_service_principal/graph_service_principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/directory/administrative_units/item/members/item/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/directory/administrative_units/item/members/item/graph_user/graph_user_request_builder.py index c3a10bf333d..89e068380cd 100644 --- a/msgraph_beta/generated/directory/administrative_units/item/members/item/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/item/members/item/graph_user/graph_user_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/directory/administrative_units/item/members/item/ref/ref_request_builder.py b/msgraph_beta/generated/directory/administrative_units/item/members/item/ref/ref_request_builder.py index de233cf1ab6..3def737a0c4 100644 --- a/msgraph_beta/generated/directory/administrative_units/item/members/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/item/members/item/ref/ref_request_builder.py @@ -58,7 +58,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: diff --git a/msgraph_beta/generated/directory/administrative_units/item/members/members_request_builder.py b/msgraph_beta/generated/directory/administrative_units/item/members/members_request_builder.py index 0e9f2cd9002..6b01aa41065 100644 --- a/msgraph_beta/generated/directory/administrative_units/item/members/members_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/item/members/members_request_builder.py @@ -39,7 +39,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.directory.administrativeUnits.item.members.item collection - param directory_object_id: Unique identifier of the item + param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ if not directory_object_id: @@ -110,7 +110,7 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DirectoryObject] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -129,7 +129,7 @@ def to_post_request_information(self,body: Optional[DirectoryObject] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/administrative_units/item/members/ref/ref_request_builder.py b/msgraph_beta/generated/directory/administrative_units/item/members/ref/ref_request_builder.py index 71ba8151ec9..88747e65730 100644 --- a/msgraph_beta/generated/directory/administrative_units/item/members/ref/ref_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/item/members/ref/ref_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/administrative_units/item/scoped_role_members/item/scoped_role_membership_item_request_builder.py b/msgraph_beta/generated/directory/administrative_units/item/scoped_role_members/item/scoped_role_membership_item_request_builder.py index 9f9752aab1f..a8c864d5d5c 100644 --- a/msgraph_beta/generated/directory/administrative_units/item/scoped_role_members/item/scoped_role_membership_item_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/item/scoped_role_members/item/scoped_role_membership_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ScopedRoleMembershipItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a Microsoft Entra role assignment with administrative unit scope. This API is available in the following national cloud deployments. + Remove a Microsoft Entra role assignment with administrative unit scope. 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/administrativeunit-delete-scopedrolemembers?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ScopedRoleMembershipItemRe async def get(self,request_configuration: Optional[ScopedRoleMembershipItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ScopedRoleMembership]: """ - Get a Microsoft Entra role assignment with administrative unit scope. This API is available in the following national cloud deployments. + Get a Microsoft Entra role assignment with administrative unit scope. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ScopedRoleMembership] Find more info here: https://learn.microsoft.com/graph/api/administrativeunit-get-scopedrolemembers?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[ScopedRoleMembership] = None, request_config def to_delete_request_information(self,request_configuration: Optional[ScopedRoleMembershipItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a Microsoft Entra role assignment with administrative unit scope. This API is available in the following national cloud deployments. + Remove a Microsoft Entra role assignment with administrative unit scope. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ScopedRol request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ScopedRoleMembershipItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a Microsoft Entra role assignment with administrative unit scope. This API is available in the following national cloud deployments. + Get a Microsoft Entra role assignment with administrative unit scope. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ScopedRoleMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ScopedRoleMembership] = None, request_configuration: Optional[ScopedRoleMembershipItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ScopedRoleMembership] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ScopedRoleMembershipItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class ScopedRoleMembershipItemRequestBuilderGetQueryParameters(): """ - Get a Microsoft Entra role assignment with administrative unit scope. This API is available in the following national cloud deployments. + Get a Microsoft Entra role assignment with administrative unit scope. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory/administrative_units/item/scoped_role_members/scoped_role_members_request_builder.py b/msgraph_beta/generated/directory/administrative_units/item/scoped_role_members/scoped_role_members_request_builder.py index 9217812b8d8..9fd31e30c41 100644 --- a/msgraph_beta/generated/directory/administrative_units/item/scoped_role_members/scoped_role_members_request_builder.py +++ b/msgraph_beta/generated/directory/administrative_units/item/scoped_role_members/scoped_role_members_request_builder.py @@ -45,7 +45,7 @@ def by_scoped_role_membership_id(self,scoped_role_membership_id: str) -> ScopedR async def get(self,request_configuration: Optional[ScopedRoleMembersRequestBuilderGetRequestConfiguration] = None) -> Optional[ScopedRoleMembershipCollectionResponse]: """ - List Microsoft Entra role assignments with administrative unit scope. This API is available in the following national cloud deployments. + List Microsoft Entra role assignments with administrative unit scope. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ScopedRoleMembershipCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/administrativeunit-list-scopedrolemembers?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ScopedRoleMembersRequestBuild async def post(self,body: Optional[ScopedRoleMembership] = None, request_configuration: Optional[ScopedRoleMembersRequestBuilderPostRequestConfiguration] = None) -> Optional[ScopedRoleMembership]: """ - Assign a Microsoft Entra role with administrative unit scope. For a list of roles that can be assigned with administrative unit scope, see Assign Microsoft Entra roles with administrative unit scope. This API is available in the following national cloud deployments. + Assign a Microsoft Entra role with administrative unit scope. For a list of roles that can be assigned with administrative unit scope, see Assign Microsoft Entra roles with administrative unit scope. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ScopedRoleMembership] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ScopedRoleMembership] = None, request_configu def to_get_request_information(self,request_configuration: Optional[ScopedRoleMembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List Microsoft Entra role assignments with administrative unit scope. This API is available in the following national cloud deployments. + List Microsoft Entra role assignments with administrative unit scope. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ScopedRoleMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ScopedRoleMembership] = None, request_configuration: Optional[ScopedRoleMembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Assign a Microsoft Entra role with administrative unit scope. For a list of roles that can be assigned with administrative unit scope, see Assign Microsoft Entra roles with administrative unit scope. This API is available in the following national cloud deployments. + Assign a Microsoft Entra role with administrative unit scope. For a list of roles that can be assigned with administrative unit scope, see Assign Microsoft Entra roles with administrative unit scope. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ScopedRoleMembership] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ScopedRoleMembersRequestBuilderGetQueryParameters(): """ - List Microsoft Entra role assignments with administrative unit scope. This API is available in the following national cloud deployments. + List Microsoft Entra role assignments with administrative unit scope. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory/attribute_sets/attribute_sets_request_builder.py b/msgraph_beta/generated/directory/attribute_sets/attribute_sets_request_builder.py index 477a7720f28..c5f12aefb79 100644 --- a/msgraph_beta/generated/directory/attribute_sets/attribute_sets_request_builder.py +++ b/msgraph_beta/generated/directory/attribute_sets/attribute_sets_request_builder.py @@ -45,7 +45,7 @@ def by_attribute_set_id(self,attribute_set_id: str) -> AttributeSetItemRequestBu async def get(self,request_configuration: Optional[AttributeSetsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttributeSetCollectionResponse]: """ - Get a list of the attributeSet objects and their properties. This API is available in the following national cloud deployments. + Get a list of the attributeSet objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttributeSetCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/directory-list-attributesets?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AttributeSetsRequestBuilderGe async def post(self,body: Optional[AttributeSet] = None, request_configuration: Optional[AttributeSetsRequestBuilderPostRequestConfiguration] = None) -> Optional[AttributeSet]: """ - Create a new attributeSet object. This API is available in the following national cloud deployments. + Create a new attributeSet object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttributeSet] @@ -92,7 +92,7 @@ async def post(self,body: Optional[AttributeSet] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[AttributeSetsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the attributeSet objects and their properties. This API is available in the following national cloud deployments. + Get a list of the attributeSet objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[AttributeSet request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AttributeSet] = None, request_configuration: Optional[AttributeSetsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new attributeSet object. This API is available in the following national cloud deployments. + Create a new attributeSet object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[AttributeSet] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AttributeSetsRequestBuilderGetQueryParameters(): """ - Get a list of the attributeSet objects and their properties. This API is available in the following national cloud deployments. + Get a list of the attributeSet objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory/attribute_sets/item/attribute_set_item_request_builder.py b/msgraph_beta/generated/directory/attribute_sets/item/attribute_set_item_request_builder.py index 8c52d4782a7..fadf29b2d96 100644 --- a/msgraph_beta/generated/directory/attribute_sets/item/attribute_set_item_request_builder.py +++ b/msgraph_beta/generated/directory/attribute_sets/item/attribute_set_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[AttributeSetItemRequestBui async def get(self,request_configuration: Optional[AttributeSetItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AttributeSet]: """ - Read the properties and relationships of an attributeSet object. This API is available in the following national cloud deployments. + Read the properties and relationships of an attributeSet object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttributeSet] Find more info here: https://learn.microsoft.com/graph/api/attributeset-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[AttributeSetItemRequestBuilde async def patch(self,body: Optional[AttributeSet] = None, request_configuration: Optional[AttributeSetItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[AttributeSet]: """ - Update the properties of an attributeSet object. This API is available in the following national cloud deployments. + Update the properties of an attributeSet object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttributeSet] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attribute request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttributeSetItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an attributeSet object. This API is available in the following national cloud deployments. + Read the properties and relationships of an attributeSet object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[AttributeSet request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AttributeSet] = None, request_configuration: Optional[AttributeSetItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an attributeSet object. This API is available in the following national cloud deployments. + Update the properties of an attributeSet object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AttributeSet] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class AttributeSetItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class AttributeSetItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an attributeSet object. This API is available in the following national cloud deployments. + Read the properties and relationships of an attributeSet object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory/certificate_authorities/certificate_authorities_request_builder.py b/msgraph_beta/generated/directory/certificate_authorities/certificate_authorities_request_builder.py index 5f35e7fc194..5771ecf66b8 100644 --- a/msgraph_beta/generated/directory/certificate_authorities/certificate_authorities_request_builder.py +++ b/msgraph_beta/generated/directory/certificate_authorities/certificate_authorities_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Certifica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CertificateAuthoritiesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CertificateA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CertificateAuthorityPath] = None, request_configuration: Optional[CertificateAuthoritiesRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[CertificateAuthorityPath] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/certificate_authorities/certificate_based_application_configurations/certificate_based_application_configurations_request_builder.py b/msgraph_beta/generated/directory/certificate_authorities/certificate_based_application_configurations/certificate_based_application_configurations_request_builder.py index c8a515b1605..a65aa90c7ea 100644 --- a/msgraph_beta/generated/directory/certificate_authorities/certificate_based_application_configurations/certificate_based_application_configurations_request_builder.py +++ b/msgraph_beta/generated/directory/certificate_authorities/certificate_based_application_configurations/certificate_based_application_configurations_request_builder.py @@ -45,7 +45,7 @@ def by_certificate_based_application_configuration_id(self,certificate_based_app async def get(self,request_configuration: Optional[CertificateBasedApplicationConfigurationsRequestBuilderGetRequestConfiguration] = None) -> Optional[CertificateBasedApplicationConfigurationCollectionResponse]: """ - Get a list of certificateBasedApplicationConfiguration objects. This API is available in the following national cloud deployments. + Get a list of certificateBasedApplicationConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CertificateBasedApplicationConfigurationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/certificateauthoritypath-list-certificatebasedapplicationconfigurations?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[CertificateBasedApplicationConfiguration] = N def to_get_request_information(self,request_configuration: Optional[CertificateBasedApplicationConfigurationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of certificateBasedApplicationConfiguration objects. This API is available in the following national cloud deployments. + Get a list of certificateBasedApplicationConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[CertificateB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CertificateBasedApplicationConfiguration] = None, request_configuration: Optional[CertificateBasedApplicationConfigurationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[CertificateBasedApplicationC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CertificateBasedApplicationConfigurationsRequestBuilderGetQueryParameters(): """ - Get a list of certificateBasedApplicationConfiguration objects. This API is available in the following national cloud deployments. + Get a list of certificateBasedApplicationConfiguration objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory/certificate_authorities/certificate_based_application_configurations/item/certificate_based_application_configuration_item_request_builder.py b/msgraph_beta/generated/directory/certificate_authorities/certificate_based_application_configurations/item/certificate_based_application_configuration_item_request_builder.py index 92f4824cf1c..3ee8e495bfb 100644 --- a/msgraph_beta/generated/directory/certificate_authorities/certificate_based_application_configurations/item/certificate_based_application_configuration_item_request_builder.py +++ b/msgraph_beta/generated/directory/certificate_authorities/certificate_based_application_configurations/item/certificate_based_application_configuration_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[CertificateBasedApplicationConfigurationItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete the properties and relationships of a certificateBasedApplicationConfiguration object. This API is available in the following national cloud deployments. + Delete the properties and relationships of a certificateBasedApplicationConfiguration object. 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/certificatebasedapplicationconfiguration-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[CertificateBasedApplicatio async def get(self,request_configuration: Optional[CertificateBasedApplicationConfigurationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CertificateBasedApplicationConfiguration]: """ - Read the properties and relationships of a certificateBasedApplicationConfiguration object. This API is available in the following national cloud deployments. + Read the properties and relationships of a certificateBasedApplicationConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CertificateBasedApplicationConfiguration] Find more info here: https://learn.microsoft.com/graph/api/certificatebasedapplicationconfiguration-get?view=graph-rest-1.0 @@ -96,7 +96,7 @@ async def patch(self,body: Optional[CertificateBasedApplicationConfiguration] = def to_delete_request_information(self,request_configuration: Optional[CertificateBasedApplicationConfigurationItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete the properties and relationships of a certificateBasedApplicationConfiguration object. This API is available in the following national cloud deployments. + Delete the properties and relationships of a certificateBasedApplicationConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[Certifica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CertificateBasedApplicationConfigurationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a certificateBasedApplicationConfiguration object. This API is available in the following national cloud deployments. + Read the properties and relationships of a certificateBasedApplicationConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[CertificateB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CertificateBasedApplicationConfiguration] = None, request_configuration: Optional[CertificateBasedApplicationConfigurationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[CertificateBasedApplication request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class CertificateBasedApplicationConfigurationItemRequestBuilderDeleteRequestCon @dataclass class CertificateBasedApplicationConfigurationItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a certificateBasedApplicationConfiguration object. This API is available in the following national cloud deployments. + Read the properties and relationships of a certificateBasedApplicationConfiguration object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory/certificate_authorities/certificate_based_application_configurations/item/trusted_certificate_authorities/item/certificate_authority_as_entity_item_request_builder.py b/msgraph_beta/generated/directory/certificate_authorities/certificate_based_application_configurations/item/trusted_certificate_authorities/item/certificate_authority_as_entity_item_request_builder.py index 9abd554e694..eb0460d02c8 100644 --- a/msgraph_beta/generated/directory/certificate_authorities/certificate_based_application_configurations/item/trusted_certificate_authorities/item/certificate_authority_as_entity_item_request_builder.py +++ b/msgraph_beta/generated/directory/certificate_authorities/certificate_based_application_configurations/item/trusted_certificate_authorities/item/certificate_authority_as_entity_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Certifica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CertificateAuthorityAsEntityItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[CertificateA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CertificateAuthorityAsEntity] = None, request_configuration: Optional[CertificateAuthorityAsEntityItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[CertificateAuthorityAsEntit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/certificate_authorities/certificate_based_application_configurations/item/trusted_certificate_authorities/trusted_certificate_authorities_request_builder.py b/msgraph_beta/generated/directory/certificate_authorities/certificate_based_application_configurations/item/trusted_certificate_authorities/trusted_certificate_authorities_request_builder.py index 16a51ff27c9..6dc4ac4ceae 100644 --- a/msgraph_beta/generated/directory/certificate_authorities/certificate_based_application_configurations/item/trusted_certificate_authorities/trusted_certificate_authorities_request_builder.py +++ b/msgraph_beta/generated/directory/certificate_authorities/certificate_based_application_configurations/item/trusted_certificate_authorities/trusted_certificate_authorities_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[TrustedCerti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CertificateAuthorityAsEntity] = None, request_configuration: Optional[TrustedCertificateAuthoritiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[CertificateAuthorityAsEntity request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/custom_security_attribute_definitions/custom_security_attribute_definitions_request_builder.py b/msgraph_beta/generated/directory/custom_security_attribute_definitions/custom_security_attribute_definitions_request_builder.py index bce3d619dea..7b2681bf604 100644 --- a/msgraph_beta/generated/directory/custom_security_attribute_definitions/custom_security_attribute_definitions_request_builder.py +++ b/msgraph_beta/generated/directory/custom_security_attribute_definitions/custom_security_attribute_definitions_request_builder.py @@ -45,7 +45,7 @@ def by_custom_security_attribute_definition_id(self,custom_security_attribute_de async def get(self,request_configuration: Optional[CustomSecurityAttributeDefinitionsRequestBuilderGetRequestConfiguration] = None) -> Optional[CustomSecurityAttributeDefinitionCollectionResponse]: """ - Get a list of the customSecurityAttributeDefinition objects and their properties. This API is available in the following national cloud deployments. + Get a list of the customSecurityAttributeDefinition objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomSecurityAttributeDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/directory-list-customsecurityattributedefinitions?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[CustomSecurityAttributeDefini async def post(self,body: Optional[CustomSecurityAttributeDefinition] = None, request_configuration: Optional[CustomSecurityAttributeDefinitionsRequestBuilderPostRequestConfiguration] = None) -> Optional[CustomSecurityAttributeDefinition]: """ - Create a new customSecurityAttributeDefinition object. This API is available in the following national cloud deployments. + Create a new customSecurityAttributeDefinition object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomSecurityAttributeDefinition] @@ -92,7 +92,7 @@ async def post(self,body: Optional[CustomSecurityAttributeDefinition] = None, re def to_get_request_information(self,request_configuration: Optional[CustomSecurityAttributeDefinitionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the customSecurityAttributeDefinition objects and their properties. This API is available in the following national cloud deployments. + Get a list of the customSecurityAttributeDefinition objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[CustomSecuri request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CustomSecurityAttributeDefinition] = None, request_configuration: Optional[CustomSecurityAttributeDefinitionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new customSecurityAttributeDefinition object. This API is available in the following national cloud deployments. + Create a new customSecurityAttributeDefinition object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[CustomSecurityAttributeDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CustomSecurityAttributeDefinitionsRequestBuilderGetQueryParameters(): """ - Get a list of the customSecurityAttributeDefinition objects and their properties. This API is available in the following national cloud deployments. + Get a list of the customSecurityAttributeDefinition objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory/custom_security_attribute_definitions/item/allowed_values/allowed_values_request_builder.py b/msgraph_beta/generated/directory/custom_security_attribute_definitions/item/allowed_values/allowed_values_request_builder.py index ce317a48efa..92a29855305 100644 --- a/msgraph_beta/generated/directory/custom_security_attribute_definitions/item/allowed_values/allowed_values_request_builder.py +++ b/msgraph_beta/generated/directory/custom_security_attribute_definitions/item/allowed_values/allowed_values_request_builder.py @@ -45,7 +45,7 @@ def by_allowed_value_id(self,allowed_value_id: str) -> AllowedValueItemRequestBu async def get(self,request_configuration: Optional[AllowedValuesRequestBuilderGetRequestConfiguration] = None) -> Optional[AllowedValueCollectionResponse]: """ - Get a list of the allowedValue objects and their properties. This API is available in the following national cloud deployments. + Get a list of the allowedValue objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AllowedValueCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/customsecurityattributedefinition-list-allowedvalues?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AllowedValuesRequestBuilderGe async def post(self,body: Optional[AllowedValue] = None, request_configuration: Optional[AllowedValuesRequestBuilderPostRequestConfiguration] = None) -> Optional[AllowedValue]: """ - Create a new allowedValue object. This API is available in the following national cloud deployments. + Create a new allowedValue object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AllowedValue] @@ -92,7 +92,7 @@ async def post(self,body: Optional[AllowedValue] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[AllowedValuesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the allowedValue objects and their properties. This API is available in the following national cloud deployments. + Get a list of the allowedValue objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[AllowedValue request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AllowedValue] = None, request_configuration: Optional[AllowedValuesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new allowedValue object. This API is available in the following national cloud deployments. + Create a new allowedValue object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[AllowedValue] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AllowedValuesRequestBuilderGetQueryParameters(): """ - Get a list of the allowedValue objects and their properties. This API is available in the following national cloud deployments. + Get a list of the allowedValue objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory/custom_security_attribute_definitions/item/allowed_values/item/allowed_value_item_request_builder.py b/msgraph_beta/generated/directory/custom_security_attribute_definitions/item/allowed_values/item/allowed_value_item_request_builder.py index f8af7a00598..c6d514799cb 100644 --- a/msgraph_beta/generated/directory/custom_security_attribute_definitions/item/allowed_values/item/allowed_value_item_request_builder.py +++ b/msgraph_beta/generated/directory/custom_security_attribute_definitions/item/allowed_values/item/allowed_value_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[AllowedValueItemRequestBui async def get(self,request_configuration: Optional[AllowedValueItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AllowedValue]: """ - Read the properties and relationships of an allowedValue object. This API is available in the following national cloud deployments. + Read the properties and relationships of an allowedValue object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AllowedValue] Find more info here: https://learn.microsoft.com/graph/api/allowedvalue-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[AllowedValueItemRequestBuilde async def patch(self,body: Optional[AllowedValue] = None, request_configuration: Optional[AllowedValueItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[AllowedValue]: """ - Update the properties of an allowedValue object. This API is available in the following national cloud deployments. + Update the properties of an allowedValue object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AllowedValue] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[AllowedVa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AllowedValueItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an allowedValue object. This API is available in the following national cloud deployments. + Read the properties and relationships of an allowedValue object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[AllowedValue request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AllowedValue] = None, request_configuration: Optional[AllowedValueItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an allowedValue object. This API is available in the following national cloud deployments. + Update the properties of an allowedValue object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AllowedValue] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class AllowedValueItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class AllowedValueItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an allowedValue object. This API is available in the following national cloud deployments. + Read the properties and relationships of an allowedValue object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory/custom_security_attribute_definitions/item/custom_security_attribute_definition_item_request_builder.py b/msgraph_beta/generated/directory/custom_security_attribute_definitions/item/custom_security_attribute_definition_item_request_builder.py index cdad365afe0..90d382b547e 100644 --- a/msgraph_beta/generated/directory/custom_security_attribute_definitions/item/custom_security_attribute_definition_item_request_builder.py +++ b/msgraph_beta/generated/directory/custom_security_attribute_definitions/item/custom_security_attribute_definition_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[CustomSecurityAttributeDef async def get(self,request_configuration: Optional[CustomSecurityAttributeDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CustomSecurityAttributeDefinition]: """ - Read the properties and relationships of a customSecurityAttributeDefinition object. This API is available in the following national cloud deployments. + Read the properties and relationships of a customSecurityAttributeDefinition object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomSecurityAttributeDefinition] Find more info here: https://learn.microsoft.com/graph/api/customsecurityattributedefinition-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[CustomSecurityAttributeDefini async def patch(self,body: Optional[CustomSecurityAttributeDefinition] = None, request_configuration: Optional[CustomSecurityAttributeDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[CustomSecurityAttributeDefinition]: """ - Update the properties of a customSecurityAttributeDefinition object. This API is available in the following national cloud deployments. + Update the properties of a customSecurityAttributeDefinition object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomSecurityAttributeDefinition] @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[CustomSec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CustomSecurityAttributeDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a customSecurityAttributeDefinition object. This API is available in the following national cloud deployments. + Read the properties and relationships of a customSecurityAttributeDefinition object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[CustomSecuri request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CustomSecurityAttributeDefinition] = None, request_configuration: Optional[CustomSecurityAttributeDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a customSecurityAttributeDefinition object. This API is available in the following national cloud deployments. + Update the properties of a customSecurityAttributeDefinition object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[CustomSecurityAttributeDefi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class CustomSecurityAttributeDefinitionItemRequestBuilderDeleteRequestConfigurat @dataclass class CustomSecurityAttributeDefinitionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a customSecurityAttributeDefinition object. This API is available in the following national cloud deployments. + Read the properties and relationships of a customSecurityAttributeDefinition object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory/deleted_items/deleted_items_request_builder.py b/msgraph_beta/generated/directory/deleted_items/deleted_items_request_builder.py index 08e833dcfdc..1ed0abc638e 100644 --- a/msgraph_beta/generated/directory/deleted_items/deleted_items_request_builder.py +++ b/msgraph_beta/generated/directory/deleted_items/deleted_items_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[DeletedItems request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeletedItemsRequestBuilder: diff --git a/msgraph_beta/generated/directory/deleted_items/get_by_ids/get_by_ids_request_builder.py b/msgraph_beta/generated/directory/deleted_items/get_by_ids/get_by_ids_request_builder.py index 1e61da4c92c..a702b4b3904 100644 --- a/msgraph_beta/generated/directory/deleted_items/get_by_ids/get_by_ids_request_builder.py +++ b/msgraph_beta/generated/directory/deleted_items/get_by_ids/get_by_ids_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetByIdsPostResponse]: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetByIdsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/deleted_items/graph_administrative_unit/graph_administrative_unit_request_builder.py b/msgraph_beta/generated/directory/deleted_items/graph_administrative_unit/graph_administrative_unit_request_builder.py index 91fa68f84fe..34a6fb20e8e 100644 --- a/msgraph_beta/generated/directory/deleted_items/graph_administrative_unit/graph_administrative_unit_request_builder.py +++ b/msgraph_beta/generated/directory/deleted_items/graph_administrative_unit/graph_administrative_unit_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAdminis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAdministrativeUnitRequestBuilder: diff --git a/msgraph_beta/generated/directory/deleted_items/graph_application/graph_application_request_builder.py b/msgraph_beta/generated/directory/deleted_items/graph_application/graph_application_request_builder.py index 6c5a006b7bc..a882d145dfc 100644 --- a/msgraph_beta/generated/directory/deleted_items/graph_application/graph_application_request_builder.py +++ b/msgraph_beta/generated/directory/deleted_items/graph_application/graph_application_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphApplica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphApplicationRequestBuilder: diff --git a/msgraph_beta/generated/directory/deleted_items/graph_device/graph_device_request_builder.py b/msgraph_beta/generated/directory/deleted_items/graph_device/graph_device_request_builder.py index 1bbed3e808a..0c268d2c7bf 100644 --- a/msgraph_beta/generated/directory/deleted_items/graph_device/graph_device_request_builder.py +++ b/msgraph_beta/generated/directory/deleted_items/graph_device/graph_device_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphDeviceR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphDeviceRequestBuilder: diff --git a/msgraph_beta/generated/directory/deleted_items/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/directory/deleted_items/graph_group/graph_group_request_builder.py index 0a324bd0760..48d59768a7b 100644 --- a/msgraph_beta/generated/directory/deleted_items/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/directory/deleted_items/graph_group/graph_group_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/directory/deleted_items/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/directory/deleted_items/graph_service_principal/graph_service_principal_request_builder.py index 5cc99b18fbc..c5a3a912ec6 100644 --- a/msgraph_beta/generated/directory/deleted_items/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/directory/deleted_items/graph_service_principal/graph_service_principal_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/directory/deleted_items/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/directory/deleted_items/graph_user/graph_user_request_builder.py index ce7abf086f7..2bdab9a5c47 100644 --- a/msgraph_beta/generated/directory/deleted_items/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/directory/deleted_items/graph_user/graph_user_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/directory/deleted_items/item/check_member_groups/check_member_groups_request_builder.py b/msgraph_beta/generated/directory/deleted_items/item/check_member_groups/check_member_groups_request_builder.py index 0cde678d1ff..00c0eb2756c 100644 --- a/msgraph_beta/generated/directory/deleted_items/item/check_member_groups/check_member_groups_request_builder.py +++ b/msgraph_beta/generated/directory/deleted_items/item/check_member_groups/check_member_groups_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[CheckMemberGroupsPostResponse]: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, req def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/deleted_items/item/check_member_objects/check_member_objects_request_builder.py b/msgraph_beta/generated/directory/deleted_items/item/check_member_objects/check_member_objects_request_builder.py index b0053e47b08..e10a7682f69 100644 --- a/msgraph_beta/generated/directory/deleted_items/item/check_member_objects/check_member_objects_request_builder.py +++ b/msgraph_beta/generated/directory/deleted_items/item/check_member_objects/check_member_objects_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CheckMemberObjectsPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/deleted_items/item/directory_object_item_request_builder.py b/msgraph_beta/generated/directory/deleted_items/item/directory_object_item_request_builder.py index f0b67c6cc05..0255e491538 100644 --- a/msgraph_beta/generated/directory/deleted_items/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/directory/deleted_items/item/directory_object_item_request_builder.py @@ -72,7 +72,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: diff --git a/msgraph_beta/generated/directory/deleted_items/item/get_member_groups/get_member_groups_request_builder.py b/msgraph_beta/generated/directory/deleted_items/item/get_member_groups/get_member_groups_request_builder.py index b3d3ce36ceb..04736f528b8 100644 --- a/msgraph_beta/generated/directory/deleted_items/item/get_member_groups/get_member_groups_request_builder.py +++ b/msgraph_beta/generated/directory/deleted_items/item/get_member_groups/get_member_groups_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetMemberGroupsPostResponse]: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/deleted_items/item/get_member_objects/get_member_objects_request_builder.py b/msgraph_beta/generated/directory/deleted_items/item/get_member_objects/get_member_objects_request_builder.py index 7224dc83a66..ff524e48e04 100644 --- a/msgraph_beta/generated/directory/deleted_items/item/get_member_objects/get_member_objects_request_builder.py +++ b/msgraph_beta/generated/directory/deleted_items/item/get_member_objects/get_member_objects_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GetMemberObjectsPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/deleted_items/item/graph_administrative_unit/graph_administrative_unit_request_builder.py b/msgraph_beta/generated/directory/deleted_items/item/graph_administrative_unit/graph_administrative_unit_request_builder.py index 66df2ccba42..87ec251546b 100644 --- a/msgraph_beta/generated/directory/deleted_items/item/graph_administrative_unit/graph_administrative_unit_request_builder.py +++ b/msgraph_beta/generated/directory/deleted_items/item/graph_administrative_unit/graph_administrative_unit_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAdminis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAdministrativeUnitRequestBuilder: diff --git a/msgraph_beta/generated/directory/deleted_items/item/graph_application/graph_application_request_builder.py b/msgraph_beta/generated/directory/deleted_items/item/graph_application/graph_application_request_builder.py index 32974590e2d..99e60a7cbbc 100644 --- a/msgraph_beta/generated/directory/deleted_items/item/graph_application/graph_application_request_builder.py +++ b/msgraph_beta/generated/directory/deleted_items/item/graph_application/graph_application_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphApplica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphApplicationRequestBuilder: diff --git a/msgraph_beta/generated/directory/deleted_items/item/graph_device/graph_device_request_builder.py b/msgraph_beta/generated/directory/deleted_items/item/graph_device/graph_device_request_builder.py index a7fa263c0d0..c4104dbe5ce 100644 --- a/msgraph_beta/generated/directory/deleted_items/item/graph_device/graph_device_request_builder.py +++ b/msgraph_beta/generated/directory/deleted_items/item/graph_device/graph_device_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphDeviceR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphDeviceRequestBuilder: diff --git a/msgraph_beta/generated/directory/deleted_items/item/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/directory/deleted_items/item/graph_group/graph_group_request_builder.py index 0be558428e2..5dfcff38900 100644 --- a/msgraph_beta/generated/directory/deleted_items/item/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/directory/deleted_items/item/graph_group/graph_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/directory/deleted_items/item/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/directory/deleted_items/item/graph_service_principal/graph_service_principal_request_builder.py index 7a5bd763683..01ce5c5cd0b 100644 --- a/msgraph_beta/generated/directory/deleted_items/item/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/directory/deleted_items/item/graph_service_principal/graph_service_principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/directory/deleted_items/item/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/directory/deleted_items/item/graph_user/graph_user_request_builder.py index eb34ca08bca..b6cd451abea 100644 --- a/msgraph_beta/generated/directory/deleted_items/item/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/directory/deleted_items/item/graph_user/graph_user_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/directory/deleted_items/item/restore/restore_request_builder.py b/msgraph_beta/generated/directory/deleted_items/item/restore/restore_request_builder.py index 02825c55f74..c1379ece5fe 100644 --- a/msgraph_beta/generated/directory/deleted_items/item/restore/restore_request_builder.py +++ b/msgraph_beta/generated/directory/deleted_items/item/restore/restore_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RestoreRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[RestoreRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RestoreRequestBuilder: diff --git a/msgraph_beta/generated/directory/deleted_items/validate_properties/validate_properties_request_builder.py b/msgraph_beta/generated/directory/deleted_items/validate_properties/validate_properties_request_builder.py index b064aa5f0b7..10807fc269c 100644 --- a/msgraph_beta/generated/directory/deleted_items/validate_properties/validate_properties_request_builder.py +++ b/msgraph_beta/generated/directory/deleted_items/validate_properties/validate_properties_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> None: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, re def to_post_request_information(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ValidatePropertiesPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/device_local_credentials/device_local_credentials_request_builder.py b/msgraph_beta/generated/directory/device_local_credentials/device_local_credentials_request_builder.py index c5be56aec70..fb1189a5d6c 100644 --- a/msgraph_beta/generated/directory/device_local_credentials/device_local_credentials_request_builder.py +++ b/msgraph_beta/generated/directory/device_local_credentials/device_local_credentials_request_builder.py @@ -45,7 +45,7 @@ def by_device_local_credential_info_id(self,device_local_credential_info_id: str async def get(self,request_configuration: Optional[DeviceLocalCredentialsRequestBuilderGetRequestConfiguration] = None) -> Optional[DeviceLocalCredentialInfoCollectionResponse]: """ - Get a list of the deviceLocalCredentialInfo objects and their properties excluding the credentials. This API is available in the following national cloud deployments. + Get a list of the deviceLocalCredentialInfo objects and their properties excluding the credentials. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceLocalCredentialInfoCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/directory-list-devicelocalcredentials?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[DeviceLocalCredentialInfo] = None, request_co def to_get_request_information(self,request_configuration: Optional[DeviceLocalCredentialsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the deviceLocalCredentialInfo objects and their properties excluding the credentials. This API is available in the following national cloud deployments. + Get a list of the deviceLocalCredentialInfo objects and their properties excluding the credentials. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceLocalC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceLocalCredentialInfo] = None, request_configuration: Optional[DeviceLocalCredentialsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[DeviceLocalCredentialInfo] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DeviceLocalCredentialsRequestBuilderGetQueryParameters(): """ - Get a list of the deviceLocalCredentialInfo objects and their properties excluding the credentials. This API is available in the following national cloud deployments. + Get a list of the deviceLocalCredentialInfo objects and their properties excluding the credentials. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory/device_local_credentials/item/device_local_credential_info_item_request_builder.py b/msgraph_beta/generated/directory/device_local_credentials/item/device_local_credential_info_item_request_builder.py index 98e2b7f4040..79d4928a5ba 100644 --- a/msgraph_beta/generated/directory/device_local_credentials/item/device_local_credential_info_item_request_builder.py +++ b/msgraph_beta/generated/directory/device_local_credentials/item/device_local_credential_info_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[DeviceLocalCredentialInfoI async def get(self,request_configuration: Optional[DeviceLocalCredentialInfoItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DeviceLocalCredentialInfo]: """ - Retrieve the properties of a deviceLocalCredentialInfo for a specified device object. This API is available in the following national cloud deployments. + Retrieve the properties of a deviceLocalCredentialInfo for a specified device object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceLocalCredentialInfo] Find more info here: https://learn.microsoft.com/graph/api/devicelocalcredentialinfo-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceLoc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceLocalCredentialInfoItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of a deviceLocalCredentialInfo for a specified device object. This API is available in the following national cloud deployments. + Retrieve the properties of a deviceLocalCredentialInfo for a specified device object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceLocalC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceLocalCredentialInfo] = None, request_configuration: Optional[DeviceLocalCredentialInfoItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceLocalCredentialInfo] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class DeviceLocalCredentialInfoItemRequestBuilderDeleteRequestConfiguration(Base @dataclass class DeviceLocalCredentialInfoItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties of a deviceLocalCredentialInfo for a specified device object. This API is available in the following national cloud deployments. + Retrieve the properties of a deviceLocalCredentialInfo for a specified device object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory/directory_request_builder.py b/msgraph_beta/generated/directory/directory_request_builder.py index 3a3e062feaa..d045ad892d3 100644 --- a/msgraph_beta/generated/directory/directory_request_builder.py +++ b/msgraph_beta/generated/directory/directory_request_builder.py @@ -100,7 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Directory] = None, request_configuration: Optional[DirectoryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -119,7 +119,7 @@ def to_patch_request_information(self,body: Optional[Directory] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/feature_rollout_policies/feature_rollout_policies_request_builder.py b/msgraph_beta/generated/directory/feature_rollout_policies/feature_rollout_policies_request_builder.py index 223e6079df2..83e7f8d3f3f 100644 --- a/msgraph_beta/generated/directory/feature_rollout_policies/feature_rollout_policies_request_builder.py +++ b/msgraph_beta/generated/directory/feature_rollout_policies/feature_rollout_policies_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[FeatureRollo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[FeatureRolloutPolicy] = None, request_configuration: Optional[FeatureRolloutPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[FeatureRolloutPolicy] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/applies_to_request_builder.py b/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/applies_to_request_builder.py index 8ca3db114da..799383c627e 100644 --- a/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/applies_to_request_builder.py +++ b/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/applies_to_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.directory.featureRolloutPolicies.item.appliesTo.item collection - param directory_object_id: Unique identifier of the item + param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ if not directory_object_id: @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AppliesToRequestBuilderGetReq async def post(self,body: Optional[DirectoryObject] = None, request_configuration: Optional[AppliesToRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. This API is available in the following national cloud deployments. + Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[AppliesToReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DirectoryObject] = None, request_configuration: Optional[AppliesToRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. This API is available in the following national cloud deployments. + Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[DirectoryObject] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/item/ref/ref_request_builder.py b/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/item/ref/ref_request_builder.py index 888513e8119..99eb56d4d2a 100644 --- a/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/item/ref/ref_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. This API is available in the following national cloud deployments. + Remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. 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/featurerolloutpolicy-delete-appliesto?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. This API is available in the following national cloud deployments. + Remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. This API is available in the following national cloud deployments. + Remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/ref/ref_request_builder.py b/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/ref/ref_request_builder.py index b9841f6bb39..458aab2cc6e 100644 --- a/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/ref/ref_request_builder.py +++ b/msgraph_beta/generated/directory/feature_rollout_policies/item/applies_to/ref/ref_request_builder.py @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. This API is available in the following national cloud deployments. + Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -85,12 +85,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. This API is available in the following national cloud deployments. + Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -104,7 +104,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/feature_rollout_policies/item/feature_rollout_policy_item_request_builder.py b/msgraph_beta/generated/directory/feature_rollout_policies/item/feature_rollout_policy_item_request_builder.py index 4716289787c..c2a0d6c3047 100644 --- a/msgraph_beta/generated/directory/feature_rollout_policies/item/feature_rollout_policy_item_request_builder.py +++ b/msgraph_beta/generated/directory/feature_rollout_policies/item/feature_rollout_policy_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[FeatureRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FeatureRolloutPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[FeatureRollo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[FeatureRolloutPolicy] = None, request_configuration: Optional[FeatureRolloutPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[FeatureRolloutPolicy] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/federation_configurations/available_provider_types/available_provider_types_request_builder.py b/msgraph_beta/generated/directory/federation_configurations/available_provider_types/available_provider_types_request_builder.py index 022bbaa1ca4..50a84d9b403 100644 --- a/msgraph_beta/generated/directory/federation_configurations/available_provider_types/available_provider_types_request_builder.py +++ b/msgraph_beta/generated/directory/federation_configurations/available_provider_types/available_provider_types_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AvailablePro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AvailableProviderTypesRequestBuilder: diff --git a/msgraph_beta/generated/directory/federation_configurations/federation_configurations_request_builder.py b/msgraph_beta/generated/directory/federation_configurations/federation_configurations_request_builder.py index 4e9deca7a73..7160a258758 100644 --- a/msgraph_beta/generated/directory/federation_configurations/federation_configurations_request_builder.py +++ b/msgraph_beta/generated/directory/federation_configurations/federation_configurations_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[FederationCo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[IdentityProviderBase] = None, request_configuration: Optional[FederationConfigurationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[IdentityProviderBase] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/federation_configurations/item/identity_provider_base_item_request_builder.py b/msgraph_beta/generated/directory/federation_configurations/item/identity_provider_base_item_request_builder.py index afbd7892898..1acc00762d1 100644 --- a/msgraph_beta/generated/directory/federation_configurations/item/identity_provider_base_item_request_builder.py +++ b/msgraph_beta/generated/directory/federation_configurations/item/identity_provider_base_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[IdentityProviderBaseItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a samlOrWsFedExternalDomainFederation object. This API is available in the following national cloud deployments. + Delete a samlOrWsFedExternalDomainFederation object. 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/samlorwsfedexternaldomainfederation-delete?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def patch(self,body: Optional[IdentityProviderBase] = None, request_config def to_delete_request_information(self,request_configuration: Optional[IdentityProviderBaseItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a samlOrWsFedExternalDomainFederation object. This API is available in the following national cloud deployments. + Delete a samlOrWsFedExternalDomainFederation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[IdentityP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[IdentityProviderBaseItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[IdentityProv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[IdentityProviderBase] = None, request_configuration: Optional[IdentityProviderBaseItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[IdentityProviderBase] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 b5771911412..62599cd0437 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ImpactedReso request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ImpactedResource] = None, request_configuration: Optional[ImpactedResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ImpactedResource] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/impacted_resources/item/complete/complete_request_builder.py b/msgraph_beta/generated/directory/impacted_resources/item/complete/complete_request_builder.py index 08cf65a69d3..dac3b61c91c 100644 --- a/msgraph_beta/generated/directory/impacted_resources/item/complete/complete_request_builder.py +++ b/msgraph_beta/generated/directory/impacted_resources/item/complete/complete_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CompleteRequestBuilderPostRequestConfiguration] = None) -> Optional[ImpactedResource]: """ - Complete an impactedResource object and update its status to completedByUser. This API is available in the following national cloud deployments. + Complete an impactedResource object and update its status to completedByUser. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ImpactedResource] Find more info here: https://learn.microsoft.com/graph/api/impactedresource-complete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[CompleteRequestBuilderPostRe def to_post_request_information(self,request_configuration: Optional[CompleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Complete an impactedResource object and update its status to completedByUser. This API is available in the following national cloud deployments. + Complete an impactedResource object and update its status to completedByUser. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[CompleteReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CompleteRequestBuilder: diff --git a/msgraph_beta/generated/directory/impacted_resources/item/dismiss/dismiss_request_builder.py b/msgraph_beta/generated/directory/impacted_resources/item/dismiss/dismiss_request_builder.py index f4bd621b620..5ad71257c72 100644 --- a/msgraph_beta/generated/directory/impacted_resources/item/dismiss/dismiss_request_builder.py +++ b/msgraph_beta/generated/directory/impacted_resources/item/dismiss/dismiss_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DismissPostRequestBody] = None, request_configuration: Optional[DismissRequestBuilderPostRequestConfiguration] = None) -> Optional[ImpactedResource]: """ - Dismiss an impactedResources object and update its status to dismissed. This API is available in the following national cloud deployments. + Dismiss an impactedResources object and update its status to dismissed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ImpactedResource] @@ -54,7 +54,7 @@ async def post(self,body: Optional[DismissPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DismissPostRequestBody] = None, request_configuration: Optional[DismissRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss an impactedResources object and update its status to dismissed. This API is available in the following national cloud deployments. + Dismiss an impactedResources object and update its status to dismissed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[DismissPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 0add5907b97..b51df7851f1 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 @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[ImpactedR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ImpactedResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[ImpactedReso request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ImpactedResource] = None, request_configuration: Optional[ImpactedResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[ImpactedResource] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/impacted_resources/item/postpone/postpone_request_builder.py b/msgraph_beta/generated/directory/impacted_resources/item/postpone/postpone_request_builder.py index bc9c9975137..5cea14a9a26 100644 --- a/msgraph_beta/generated/directory/impacted_resources/item/postpone/postpone_request_builder.py +++ b/msgraph_beta/generated/directory/impacted_resources/item/postpone/postpone_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[PostponePostRequestBody] = None, request_configuration: Optional[PostponeRequestBuilderPostRequestConfiguration] = None) -> Optional[ImpactedResource]: """ - Postpone action on an impactedResource object to a specified future date and time by marking its status as postponed. On the specified date and time, Microsoft Entra ID will automatically mark the status of the impactedResource object to active. This API is available in the following national cloud deployments. + Postpone action on an impactedResource object to a specified future date and time by marking its status as postponed. On the specified date and time, Microsoft Entra ID will automatically mark the status of the impactedResource object to active. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ImpactedResource] @@ -54,7 +54,7 @@ async def post(self,body: Optional[PostponePostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[PostponePostRequestBody] = None, request_configuration: Optional[PostponeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone action on an impactedResource object to a specified future date and time by marking its status as postponed. On the specified date and time, Microsoft Entra ID will automatically mark the status of the impactedResource object to active. This API is available in the following national cloud deployments. + Postpone action on an impactedResource object to a specified future date and time by marking its status as postponed. On the specified date and time, Microsoft Entra ID will automatically mark the status of the impactedResource object to active. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[PostponePostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/impacted_resources/item/reactivate/reactivate_request_builder.py b/msgraph_beta/generated/directory/impacted_resources/item/reactivate/reactivate_request_builder.py index 586738d3789..5ab7cf7f441 100644 --- a/msgraph_beta/generated/directory/impacted_resources/item/reactivate/reactivate_request_builder.py +++ b/msgraph_beta/generated/directory/impacted_resources/item/reactivate/reactivate_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ReactivateRequestBuilderPostRequestConfiguration] = None) -> Optional[ImpactedResource]: """ - Reactivate an accidentally dismissed, completed, or postponed impactedResource object. This action updates the status of the resource to active. This method is relevant only if the status of the impactedResource object is dismissed, postponed, or completedByUser. This API is available in the following national cloud deployments. + Reactivate an accidentally dismissed, completed, or postponed impactedResource object. This action updates the status of the resource to active. This method is relevant only if the status of the impactedResource object is dismissed, postponed, or completedByUser. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ImpactedResource] Find more info here: https://learn.microsoft.com/graph/api/impactedresource-reactivate?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[ReactivateRequestBuilderPost def to_post_request_information(self,request_configuration: Optional[ReactivateRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reactivate an accidentally dismissed, completed, or postponed impactedResource object. This action updates the status of the resource to active. This method is relevant only if the status of the impactedResource object is dismissed, postponed, or completedByUser. This API is available in the following national cloud deployments. + Reactivate an accidentally dismissed, completed, or postponed impactedResource object. This action updates the status of the resource to active. This method is relevant only if the status of the impactedResource object is dismissed, postponed, or completedByUser. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[ReactivateR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReactivateRequestBuilder: diff --git a/msgraph_beta/generated/directory/inbound_shared_user_profiles/inbound_shared_user_profiles_request_builder.py b/msgraph_beta/generated/directory/inbound_shared_user_profiles/inbound_shared_user_profiles_request_builder.py index 6d3e5cb64d8..730a9e58fee 100644 --- a/msgraph_beta/generated/directory/inbound_shared_user_profiles/inbound_shared_user_profiles_request_builder.py +++ b/msgraph_beta/generated/directory/inbound_shared_user_profiles/inbound_shared_user_profiles_request_builder.py @@ -45,7 +45,7 @@ def by_inbound_shared_user_profile_user_id(self,inbound_shared_user_profile_user async def get(self,request_configuration: Optional[InboundSharedUserProfilesRequestBuilderGetRequestConfiguration] = None) -> Optional[InboundSharedUserProfileCollectionResponse]: """ - Retrieve the properties of all inboundSharedUserProfiles. This API is available in the following national cloud deployments. + Retrieve the properties of all inboundSharedUserProfiles. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InboundSharedUserProfileCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/directory-list-inboundshareduserprofiles?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[InboundSharedUserProfile] = None, request_con def to_get_request_information(self,request_configuration: Optional[InboundSharedUserProfilesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of all inboundSharedUserProfiles. This API is available in the following national cloud deployments. + Retrieve the properties of all inboundSharedUserProfiles. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[InboundShare request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[InboundSharedUserProfile] = None, request_configuration: Optional[InboundSharedUserProfilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[InboundSharedUserProfile] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class InboundSharedUserProfilesRequestBuilderGetQueryParameters(): """ - Retrieve the properties of all inboundSharedUserProfiles. This API is available in the following national cloud deployments. + Retrieve the properties of all inboundSharedUserProfiles. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory/inbound_shared_user_profiles/item/export_personal_data/export_personal_data_request_builder.py b/msgraph_beta/generated/directory/inbound_shared_user_profiles/item/export_personal_data/export_personal_data_request_builder.py index 7f109bb1b22..457f6529660 100644 --- a/msgraph_beta/generated/directory/inbound_shared_user_profiles/item/export_personal_data/export_personal_data_request_builder.py +++ b/msgraph_beta/generated/directory/inbound_shared_user_profiles/item/export_personal_data/export_personal_data_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ExportPersonalDataPostRequestBody] = None, request_configuration: Optional[ExportPersonalDataRequestBuilderPostRequestConfiguration] = None) -> None: """ - Create a request to export the personal data for an inboundSharedUserProfile. This API is available in the following national cloud deployments. + Create a request to export the personal data for an inboundSharedUserProfile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ExportPersonalDataPostRequestBody] = None, re def to_post_request_information(self,body: Optional[ExportPersonalDataPostRequestBody] = None, request_configuration: Optional[ExportPersonalDataRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a request to export the personal data for an inboundSharedUserProfile. This API is available in the following national cloud deployments. + Create a request to export the personal data for an inboundSharedUserProfile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ExportPersonalDataPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/inbound_shared_user_profiles/item/inbound_shared_user_profile_user_item_request_builder.py b/msgraph_beta/generated/directory/inbound_shared_user_profiles/item/inbound_shared_user_profile_user_item_request_builder.py index 559bc6b955c..d5a08319638 100644 --- a/msgraph_beta/generated/directory/inbound_shared_user_profiles/item/inbound_shared_user_profile_user_item_request_builder.py +++ b/msgraph_beta/generated/directory/inbound_shared_user_profiles/item/inbound_shared_user_profile_user_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[InboundSharedUserProfileUs async def get(self,request_configuration: Optional[InboundSharedUserProfileUserItemRequestBuilderGetRequestConfiguration] = None) -> Optional[InboundSharedUserProfile]: """ - Read the properties of an inboundSharedUserProfile. This API is available in the following national cloud deployments. + Read the properties of an inboundSharedUserProfile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InboundSharedUserProfile] Find more info here: https://learn.microsoft.com/graph/api/inboundshareduserprofile-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[InboundSh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[InboundSharedUserProfileUserItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties of an inboundSharedUserProfile. This API is available in the following national cloud deployments. + Read the properties of an inboundSharedUserProfile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[InboundShare request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[InboundSharedUserProfile] = None, request_configuration: Optional[InboundSharedUserProfileUserItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[InboundSharedUserProfile] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class InboundSharedUserProfileUserItemRequestBuilderDeleteRequestConfiguration(B @dataclass class InboundSharedUserProfileUserItemRequestBuilderGetQueryParameters(): """ - Read the properties of an inboundSharedUserProfile. This API is available in the following national cloud deployments. + Read the properties of an inboundSharedUserProfile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory/inbound_shared_user_profiles/item/remove_personal_data/remove_personal_data_request_builder.py b/msgraph_beta/generated/directory/inbound_shared_user_profiles/item/remove_personal_data/remove_personal_data_request_builder.py index 8fd7875c895..f8658fb6e5f 100644 --- a/msgraph_beta/generated/directory/inbound_shared_user_profiles/item/remove_personal_data/remove_personal_data_request_builder.py +++ b/msgraph_beta/generated/directory/inbound_shared_user_profiles/item/remove_personal_data/remove_personal_data_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RemovePersonalDataRequestBuilderPostRequestConfiguration] = None) -> None: """ - Create a request to remove the personal data for an inboundSharedUserProfile. This API is available in the following national cloud deployments. + Create a request to remove the personal data for an inboundSharedUserProfile. 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/inboundshareduserprofile-removepersonaldata?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RemovePersonalDataRequestBui def to_post_request_information(self,request_configuration: Optional[RemovePersonalDataRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a request to remove the personal data for an inboundSharedUserProfile. This API is available in the following national cloud deployments. + Create a request to remove the personal data for an inboundSharedUserProfile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RemovePerso request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RemovePersonalDataRequestBuilder: diff --git a/msgraph_beta/generated/directory/on_premises_synchronization/item/on_premises_directory_synchronization_item_request_builder.py b/msgraph_beta/generated/directory/on_premises_synchronization/item/on_premises_directory_synchronization_item_request_builder.py index 74a6f9c67bc..3c493c536a1 100644 --- a/msgraph_beta/generated/directory/on_premises_synchronization/item/on_premises_directory_synchronization_item_request_builder.py +++ b/msgraph_beta/generated/directory/on_premises_synchronization/item/on_premises_directory_synchronization_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[OnPremisesDirectorySynchro async def get(self,request_configuration: Optional[OnPremisesDirectorySynchronizationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OnPremisesDirectorySynchronization]: """ - Read the properties and relationships of an onPremisesDirectorySynchronization object. This API is available in the following national cloud deployments. + Read the properties and relationships of an onPremisesDirectorySynchronization object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnPremisesDirectorySynchronization] Find more info here: https://learn.microsoft.com/graph/api/onpremisesdirectorysynchronization-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[OnPremisesDirectorySynchroniz async def patch(self,body: Optional[OnPremisesDirectorySynchronization] = None, request_configuration: Optional[OnPremisesDirectorySynchronizationItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[OnPremisesDirectorySynchronization]: """ - Update the properties of an onPremisesDirectorySynchronization object. This API is available in the following national cloud deployments. + Update the properties of an onPremisesDirectorySynchronization object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnPremisesDirectorySynchronization] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[OnPremise request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnPremisesDirectorySynchronizationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an onPremisesDirectorySynchronization object. This API is available in the following national cloud deployments. + Read the properties and relationships of an onPremisesDirectorySynchronization object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[OnPremisesDi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnPremisesDirectorySynchronization] = None, request_configuration: Optional[OnPremisesDirectorySynchronizationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an onPremisesDirectorySynchronization object. This API is available in the following national cloud deployments. + Update the properties of an onPremisesDirectorySynchronization object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[OnPremisesDirectorySynchron request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class OnPremisesDirectorySynchronizationItemRequestBuilderDeleteRequestConfigura @dataclass class OnPremisesDirectorySynchronizationItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an onPremisesDirectorySynchronization object. This API is available in the following national cloud deployments. + Read the properties and relationships of an onPremisesDirectorySynchronization object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory/on_premises_synchronization/on_premises_synchronization_request_builder.py b/msgraph_beta/generated/directory/on_premises_synchronization/on_premises_synchronization_request_builder.py index 8edcc738148..e467cfa9b59 100644 --- a/msgraph_beta/generated/directory/on_premises_synchronization/on_premises_synchronization_request_builder.py +++ b/msgraph_beta/generated/directory/on_premises_synchronization/on_premises_synchronization_request_builder.py @@ -45,7 +45,7 @@ def by_on_premises_directory_synchronization_id(self,on_premises_directory_synch async def get(self,request_configuration: Optional[OnPremisesSynchronizationRequestBuilderGetRequestConfiguration] = None) -> Optional[OnPremisesDirectorySynchronizationCollectionResponse]: """ - Read the properties and relationships of an onPremisesDirectorySynchronization object. This API is available in the following national cloud deployments. + Read the properties and relationships of an onPremisesDirectorySynchronization object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnPremisesDirectorySynchronizationCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[OnPremisesDirectorySynchronization] = None, r def to_get_request_information(self,request_configuration: Optional[OnPremisesSynchronizationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an onPremisesDirectorySynchronization object. This API is available in the following national cloud deployments. + Read the properties and relationships of an onPremisesDirectorySynchronization object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[OnPremisesSy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnPremisesDirectorySynchronization] = None, request_configuration: Optional[OnPremisesSynchronizationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnPremisesDirectorySynchroni request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OnPremisesSynchronizationRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an onPremisesDirectorySynchronization object. This API is available in the following national cloud deployments. + Read the properties and relationships of an onPremisesDirectorySynchronization object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory/outbound_shared_user_profiles/item/outbound_shared_user_profile_user_item_request_builder.py b/msgraph_beta/generated/directory/outbound_shared_user_profiles/item/outbound_shared_user_profile_user_item_request_builder.py index 3d16ae7fb17..0a458c8c2d4 100644 --- a/msgraph_beta/generated/directory/outbound_shared_user_profiles/item/outbound_shared_user_profile_user_item_request_builder.py +++ b/msgraph_beta/generated/directory/outbound_shared_user_profiles/item/outbound_shared_user_profile_user_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[OutboundSharedUserProfileU async def get(self,request_configuration: Optional[OutboundSharedUserProfileUserItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OutboundSharedUserProfile]: """ - Get the details of an outboundSharedUserProfile. This API is available in the following national cloud deployments. + Get the details of an outboundSharedUserProfile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutboundSharedUserProfile] Find more info here: https://learn.microsoft.com/graph/api/outboundshareduserprofile-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[OutboundS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OutboundSharedUserProfileUserItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the details of an outboundSharedUserProfile. This API is available in the following national cloud deployments. + Get the details of an outboundSharedUserProfile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[OutboundShar request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OutboundSharedUserProfile] = None, request_configuration: Optional[OutboundSharedUserProfileUserItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[OutboundSharedUserProfile] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class OutboundSharedUserProfileUserItemRequestBuilderDeleteRequestConfiguration( @dataclass class OutboundSharedUserProfileUserItemRequestBuilderGetQueryParameters(): """ - Get the details of an outboundSharedUserProfile. This API is available in the following national cloud deployments. + Get the details of an outboundSharedUserProfile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory/outbound_shared_user_profiles/item/tenants/item/remove_personal_data/remove_personal_data_request_builder.py b/msgraph_beta/generated/directory/outbound_shared_user_profiles/item/tenants/item/remove_personal_data/remove_personal_data_request_builder.py index 3336b414aee..3f3a8cd6cbc 100644 --- a/msgraph_beta/generated/directory/outbound_shared_user_profiles/item/tenants/item/remove_personal_data/remove_personal_data_request_builder.py +++ b/msgraph_beta/generated/directory/outbound_shared_user_profiles/item/tenants/item/remove_personal_data/remove_personal_data_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RemovePersonalDataRequestBuilderPostRequestConfiguration] = None) -> None: """ - Create a request to remove the personal data for an outboundSharedUserProfile. This API is available in the following national cloud deployments. + Create a request to remove the personal data for an outboundSharedUserProfile. 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/tenantreference-removepersonaldata?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RemovePersonalDataRequestBui def to_post_request_information(self,request_configuration: Optional[RemovePersonalDataRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a request to remove the personal data for an outboundSharedUserProfile. This API is available in the following national cloud deployments. + Create a request to remove the personal data for an outboundSharedUserProfile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RemovePerso request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RemovePersonalDataRequestBuilder: diff --git a/msgraph_beta/generated/directory/outbound_shared_user_profiles/item/tenants/item/tenant_reference_tenant_item_request_builder.py b/msgraph_beta/generated/directory/outbound_shared_user_profiles/item/tenants/item/tenant_reference_tenant_item_request_builder.py index 0b195eeb35c..a4a3e2971b6 100644 --- a/msgraph_beta/generated/directory/outbound_shared_user_profiles/item/tenants/item/tenant_reference_tenant_item_request_builder.py +++ b/msgraph_beta/generated/directory/outbound_shared_user_profiles/item/tenants/item/tenant_reference_tenant_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[TenantRef request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TenantReferenceTenantItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TenantRefere request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TenantReference] = None, request_configuration: Optional[TenantReferenceTenantItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[TenantReference] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/outbound_shared_user_profiles/item/tenants/tenants_request_builder.py b/msgraph_beta/generated/directory/outbound_shared_user_profiles/item/tenants/tenants_request_builder.py index e7f453ea0b5..33f45262bf9 100644 --- a/msgraph_beta/generated/directory/outbound_shared_user_profiles/item/tenants/tenants_request_builder.py +++ b/msgraph_beta/generated/directory/outbound_shared_user_profiles/item/tenants/tenants_request_builder.py @@ -45,7 +45,7 @@ def by_tenant_reference_tenant_id(self,tenant_reference_tenant_id: str) -> Tenan async def get(self,request_configuration: Optional[TenantsRequestBuilderGetRequestConfiguration] = None) -> Optional[TenantReferenceCollectionResponse]: """ - List the tenant references of an outboundSharedUserProfile. This API is available in the following national cloud deployments. + List the tenant references of an outboundSharedUserProfile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TenantReferenceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/outboundshareduserprofile-list-tenants?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[TenantReference] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[TenantsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the tenant references of an outboundSharedUserProfile. This API is available in the following national cloud deployments. + List the tenant references of an outboundSharedUserProfile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[TenantsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TenantReference] = None, request_configuration: Optional[TenantsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[TenantReference] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TenantsRequestBuilderGetQueryParameters(): """ - List the tenant references of an outboundSharedUserProfile. This API is available in the following national cloud deployments. + List the tenant references of an outboundSharedUserProfile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory/outbound_shared_user_profiles/outbound_shared_user_profiles_request_builder.py b/msgraph_beta/generated/directory/outbound_shared_user_profiles/outbound_shared_user_profiles_request_builder.py index efc15da166e..289f7f03380 100644 --- a/msgraph_beta/generated/directory/outbound_shared_user_profiles/outbound_shared_user_profiles_request_builder.py +++ b/msgraph_beta/generated/directory/outbound_shared_user_profiles/outbound_shared_user_profiles_request_builder.py @@ -45,7 +45,7 @@ def by_outbound_shared_user_profile_user_id(self,outbound_shared_user_profile_us async def get(self,request_configuration: Optional[OutboundSharedUserProfilesRequestBuilderGetRequestConfiguration] = None) -> Optional[OutboundSharedUserProfileCollectionResponse]: """ - Retrieve the properties of all outboundSharedUserProfiles. This API is available in the following national cloud deployments. + Retrieve the properties of all outboundSharedUserProfiles. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutboundSharedUserProfileCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/directory-list-outboundshareduserprofiles?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[OutboundSharedUserProfile] = None, request_co def to_get_request_information(self,request_configuration: Optional[OutboundSharedUserProfilesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of all outboundSharedUserProfiles. This API is available in the following national cloud deployments. + Retrieve the properties of all outboundSharedUserProfiles. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[OutboundShar request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OutboundSharedUserProfile] = None, request_configuration: Optional[OutboundSharedUserProfilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[OutboundSharedUserProfile] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OutboundSharedUserProfilesRequestBuilderGetQueryParameters(): """ - Retrieve the properties of all outboundSharedUserProfiles. This API is available in the following national cloud deployments. + Retrieve the properties of all outboundSharedUserProfiles. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory/recommendations/item/complete/complete_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/complete/complete_request_builder.py index 3e4c69cb8b5..295ac89392b 100644 --- a/msgraph_beta/generated/directory/recommendations/item/complete/complete_request_builder.py +++ b/msgraph_beta/generated/directory/recommendations/item/complete/complete_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CompleteRequestBuilderPostRequestConfiguration] = None) -> Optional[Recommendation]: """ - Complete a recommendation object and update its status to completedByUser. This API is available in the following national cloud deployments. + Complete a recommendation object and update its status to completedByUser. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Recommendation] Find more info here: https://learn.microsoft.com/graph/api/recommendation-complete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[CompleteRequestBuilderPostRe def to_post_request_information(self,request_configuration: Optional[CompleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Complete a recommendation object and update its status to completedByUser. This API is available in the following national cloud deployments. + Complete a recommendation object and update its status to completedByUser. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[CompleteReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CompleteRequestBuilder: diff --git a/msgraph_beta/generated/directory/recommendations/item/dismiss/dismiss_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/dismiss/dismiss_request_builder.py index 1781856068a..9965dc34081 100644 --- a/msgraph_beta/generated/directory/recommendations/item/dismiss/dismiss_request_builder.py +++ b/msgraph_beta/generated/directory/recommendations/item/dismiss/dismiss_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DismissPostRequestBody] = None, request_configuration: Optional[DismissRequestBuilderPostRequestConfiguration] = None) -> Optional[Recommendation]: """ - Dismiss a recommendation object that you consider to be inapplicable to your tenant and update its status to dismissed . This API is available in the following national cloud deployments. + Dismiss a recommendation object that you consider to be inapplicable to your tenant and update its status to dismissed . param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Recommendation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[DismissPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DismissPostRequestBody] = None, request_configuration: Optional[DismissRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a recommendation object that you consider to be inapplicable to your tenant and update its status to dismissed . This API is available in the following national cloud deployments. + Dismiss a recommendation object that you consider to be inapplicable to your tenant and update its status to dismissed . param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[DismissPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 90375497014..38fd284a2c7 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ImpactedReso request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ImpactedResource] = None, request_configuration: Optional[ImpactedResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ImpactedResource] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/complete/complete_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/complete/complete_request_builder.py index 22f86215286..70b5e405f75 100644 --- a/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/complete/complete_request_builder.py +++ b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/complete/complete_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CompleteRequestBuilderPostRequestConfiguration] = None) -> Optional[ImpactedResource]: """ - Complete an impactedResource object and update its status to completedByUser. This API is available in the following national cloud deployments. + Complete an impactedResource object and update its status to completedByUser. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ImpactedResource] Find more info here: https://learn.microsoft.com/graph/api/impactedresource-complete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[CompleteRequestBuilderPostRe def to_post_request_information(self,request_configuration: Optional[CompleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Complete an impactedResource object and update its status to completedByUser. This API is available in the following national cloud deployments. + Complete an impactedResource object and update its status to completedByUser. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[CompleteReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CompleteRequestBuilder: diff --git a/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/dismiss/dismiss_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/dismiss/dismiss_request_builder.py index df94fb61108..26e5eef128b 100644 --- a/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/dismiss/dismiss_request_builder.py +++ b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/dismiss/dismiss_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DismissPostRequestBody] = None, request_configuration: Optional[DismissRequestBuilderPostRequestConfiguration] = None) -> Optional[ImpactedResource]: """ - Dismiss an impactedResources object and update its status to dismissed. This API is available in the following national cloud deployments. + Dismiss an impactedResources object and update its status to dismissed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ImpactedResource] @@ -54,7 +54,7 @@ async def post(self,body: Optional[DismissPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DismissPostRequestBody] = None, request_configuration: Optional[DismissRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss an impactedResources object and update its status to dismissed. This API is available in the following national cloud deployments. + Dismiss an impactedResources object and update its status to dismissed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[DismissPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 fd059ae3d37..f5e5ebb5bcc 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 @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[ImpactedR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ImpactedResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[ImpactedReso request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ImpactedResource] = None, request_configuration: Optional[ImpactedResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[ImpactedResource] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/postpone/postpone_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/postpone/postpone_request_builder.py index 20de1e11e33..ef08f62f2a1 100644 --- a/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/postpone/postpone_request_builder.py +++ b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/postpone/postpone_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[PostponePostRequestBody] = None, request_configuration: Optional[PostponeRequestBuilderPostRequestConfiguration] = None) -> Optional[ImpactedResource]: """ - Postpone action on an impactedResource object to a specified future date and time by marking its status as postponed. On the specified date and time, Microsoft Entra ID will automatically mark the status of the impactedResource object to active. This API is available in the following national cloud deployments. + Postpone action on an impactedResource object to a specified future date and time by marking its status as postponed. On the specified date and time, Microsoft Entra ID will automatically mark the status of the impactedResource object to active. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ImpactedResource] @@ -54,7 +54,7 @@ async def post(self,body: Optional[PostponePostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[PostponePostRequestBody] = None, request_configuration: Optional[PostponeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone action on an impactedResource object to a specified future date and time by marking its status as postponed. On the specified date and time, Microsoft Entra ID will automatically mark the status of the impactedResource object to active. This API is available in the following national cloud deployments. + Postpone action on an impactedResource object to a specified future date and time by marking its status as postponed. On the specified date and time, Microsoft Entra ID will automatically mark the status of the impactedResource object to active. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[PostponePostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/reactivate/reactivate_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/reactivate/reactivate_request_builder.py index 062bd12ee5c..9ad739bbd32 100644 --- a/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/reactivate/reactivate_request_builder.py +++ b/msgraph_beta/generated/directory/recommendations/item/impacted_resources/item/reactivate/reactivate_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ReactivateRequestBuilderPostRequestConfiguration] = None) -> Optional[ImpactedResource]: """ - Reactivate an accidentally dismissed, completed, or postponed impactedResource object. This action updates the status of the resource to active. This method is relevant only if the status of the impactedResource object is dismissed, postponed, or completedByUser. This API is available in the following national cloud deployments. + Reactivate an accidentally dismissed, completed, or postponed impactedResource object. This action updates the status of the resource to active. This method is relevant only if the status of the impactedResource object is dismissed, postponed, or completedByUser. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ImpactedResource] Find more info here: https://learn.microsoft.com/graph/api/impactedresource-reactivate?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[ReactivateRequestBuilderPost def to_post_request_information(self,request_configuration: Optional[ReactivateRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reactivate an accidentally dismissed, completed, or postponed impactedResource object. This action updates the status of the resource to active. This method is relevant only if the status of the impactedResource object is dismissed, postponed, or completedByUser. This API is available in the following national cloud deployments. + Reactivate an accidentally dismissed, completed, or postponed impactedResource object. This action updates the status of the resource to active. This method is relevant only if the status of the impactedResource object is dismissed, postponed, or completedByUser. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[ReactivateR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReactivateRequestBuilder: diff --git a/msgraph_beta/generated/directory/recommendations/item/postpone/postpone_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/postpone/postpone_request_builder.py index cf9b5e7e4d0..ab9c78fcc35 100644 --- a/msgraph_beta/generated/directory/recommendations/item/postpone/postpone_request_builder.py +++ b/msgraph_beta/generated/directory/recommendations/item/postpone/postpone_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[PostponePostRequestBody] = None, request_configuration: Optional[PostponeRequestBuilderPostRequestConfiguration] = None) -> Optional[Recommendation]: """ - Postpone action on a recommendation object to a specified future date and time by marking its status as postponed. On the date and time provided, Microsoft Entra ID will automatically update the status of the recommendation object to active again. This API is available in the following national cloud deployments. + Postpone action on a recommendation object to a specified future date and time by marking its status as postponed. On the date and time provided, Microsoft Entra ID will automatically update the status of the recommendation object to active again. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Recommendation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[PostponePostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[PostponePostRequestBody] = None, request_configuration: Optional[PostponeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone action on a recommendation object to a specified future date and time by marking its status as postponed. On the date and time provided, Microsoft Entra ID will automatically update the status of the recommendation object to active again. This API is available in the following national cloud deployments. + Postpone action on a recommendation object to a specified future date and time by marking its status as postponed. On the date and time provided, Microsoft Entra ID will automatically update the status of the recommendation object to active again. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[PostponePostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/recommendations/item/reactivate/reactivate_request_builder.py b/msgraph_beta/generated/directory/recommendations/item/reactivate/reactivate_request_builder.py index 88ea8dce19b..dfdeb5e9f0b 100644 --- a/msgraph_beta/generated/directory/recommendations/item/reactivate/reactivate_request_builder.py +++ b/msgraph_beta/generated/directory/recommendations/item/reactivate/reactivate_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ReactivateRequestBuilderPostRequestConfiguration] = None) -> Optional[Recommendation]: """ - Reactivate a completed, dismissed, or postponed recommendation object. This action updates the status of the recommendation to active. This method only works when the status of the recommendation is completedByUser, dismissed, or postponed. This API is available in the following national cloud deployments. + Reactivate a completed, dismissed, or postponed recommendation object. This action updates the status of the recommendation to active. This method only works when the status of the recommendation is completedByUser, dismissed, or postponed. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Recommendation] Find more info here: https://learn.microsoft.com/graph/api/recommendation-reactivate?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[ReactivateRequestBuilderPost def to_post_request_information(self,request_configuration: Optional[ReactivateRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reactivate a completed, dismissed, or postponed recommendation object. This action updates the status of the recommendation to active. This method only works when the status of the recommendation is completedByUser, dismissed, or postponed. This API is available in the following national cloud deployments. + Reactivate a completed, dismissed, or postponed recommendation object. This action updates the status of the recommendation to active. This method only works when the status of the recommendation is completedByUser, dismissed, or postponed. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[ReactivateR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReactivateRequestBuilder: 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 f30d42f11d7..04e99d2881a 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 @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[RecommendationItemRequestB async def get(self,request_configuration: Optional[RecommendationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Recommendation]: """ - Read the properties and relationships of a recommendation object. This API is available in the following national cloud deployments. + Read the properties and relationships of a recommendation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Recommendation] Find more info here: https://learn.microsoft.com/graph/api/recommendation-get?view=graph-rest-1.0 @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[Recommend request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RecommendationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a recommendation object. This API is available in the following national cloud deployments. + Read the properties and relationships of a recommendation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[Recommendati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Recommendation] = None, request_configuration: Optional[RecommendationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[Recommendation] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -217,7 +217,7 @@ class RecommendationItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class RecommendationItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a recommendation object. This API is available in the following national cloud deployments. + Read the properties and relationships of a recommendation object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory/recommendations/recommendations_request_builder.py b/msgraph_beta/generated/directory/recommendations/recommendations_request_builder.py index 3fe23e411d3..e5bad8ad982 100644 --- a/msgraph_beta/generated/directory/recommendations/recommendations_request_builder.py +++ b/msgraph_beta/generated/directory/recommendations/recommendations_request_builder.py @@ -45,7 +45,7 @@ def by_recommendation_id(self,recommendation_id: str) -> RecommendationItemReque async def get(self,request_configuration: Optional[RecommendationsRequestBuilderGetRequestConfiguration] = None) -> Optional[RecommendationCollectionResponse]: """ - Get a list of the recommendation objects and their properties. This API is available in the following national cloud deployments. + Get a list of the recommendation objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RecommendationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/directory-list-recommendation?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[Recommendation] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[RecommendationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the recommendation objects and their properties. This API is available in the following national cloud deployments. + Get a list of the recommendation objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[Recommendati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Recommendation] = None, request_configuration: Optional[RecommendationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Recommendation] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RecommendationsRequestBuilderGetQueryParameters(): """ - Get a list of the recommendation objects and their properties. This API is available in the following national cloud deployments. + Get a list of the recommendation objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory/shared_email_domains/item/shared_email_domain_item_request_builder.py b/msgraph_beta/generated/directory/shared_email_domains/item/shared_email_domain_item_request_builder.py index 482213b9f6f..912d6a1f670 100644 --- a/msgraph_beta/generated/directory/shared_email_domains/item/shared_email_domain_item_request_builder.py +++ b/msgraph_beta/generated/directory/shared_email_domains/item/shared_email_domain_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[SharedEma request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SharedEmailDomainItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SharedEmailD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SharedEmailDomain] = None, request_configuration: Optional[SharedEmailDomainItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[SharedEmailDomain] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/shared_email_domains/shared_email_domains_request_builder.py b/msgraph_beta/generated/directory/shared_email_domains/shared_email_domains_request_builder.py index 243cab3591d..a188922615b 100644 --- a/msgraph_beta/generated/directory/shared_email_domains/shared_email_domains_request_builder.py +++ b/msgraph_beta/generated/directory/shared_email_domains/shared_email_domains_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SharedEmailD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SharedEmailDomain] = None, request_configuration: Optional[SharedEmailDomainsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[SharedEmailDomain] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory/subscriptions/item/company_subscription_item_request_builder.py b/msgraph_beta/generated/directory/subscriptions/item/company_subscription_item_request_builder.py index 9bd40052348..3a37a964fb2 100644 --- a/msgraph_beta/generated/directory/subscriptions/item/company_subscription_item_request_builder.py +++ b/msgraph_beta/generated/directory/subscriptions/item/company_subscription_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[CompanySubscriptionItemReq async def get(self,request_configuration: Optional[CompanySubscriptionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CompanySubscription]: """ - Get a specific commercial subscription that an organization has acquired. This API is available in the following national cloud deployments. + Get a specific commercial subscription that an organization has acquired. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CompanySubscription] Find more info here: https://learn.microsoft.com/graph/api/companysubscription-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[CompanySu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CompanySubscriptionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a specific commercial subscription that an organization has acquired. This API is available in the following national cloud deployments. + Get a specific commercial subscription that an organization has acquired. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CompanySubsc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CompanySubscription] = None, request_configuration: Optional[CompanySubscriptionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[CompanySubscription] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class CompanySubscriptionItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class CompanySubscriptionItemRequestBuilderGetQueryParameters(): """ - Get a specific commercial subscription that an organization has acquired. This API is available in the following national cloud deployments. + Get a specific commercial subscription that an organization has acquired. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory/subscriptions/subscriptions_request_builder.py b/msgraph_beta/generated/directory/subscriptions/subscriptions_request_builder.py index 128747afea8..c2de0c4b426 100644 --- a/msgraph_beta/generated/directory/subscriptions/subscriptions_request_builder.py +++ b/msgraph_beta/generated/directory/subscriptions/subscriptions_request_builder.py @@ -45,7 +45,7 @@ def by_company_subscription_id(self,company_subscription_id: str) -> CompanySubs async def get(self,request_configuration: Optional[SubscriptionsRequestBuilderGetRequestConfiguration] = None) -> Optional[CompanySubscriptionCollectionResponse]: """ - Get the list of commercial subscriptions that an organization has acquired. This API is available in the following national cloud deployments. + Get the list of commercial subscriptions that an organization has acquired. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CompanySubscriptionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/directory-list-subscriptions?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[CompanySubscription] = None, request_configur def to_get_request_information(self,request_configuration: Optional[SubscriptionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of commercial subscriptions that an organization has acquired. This API is available in the following national cloud deployments. + Get the list of commercial subscriptions that an organization has acquired. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[Subscription request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CompanySubscription] = None, request_configuration: Optional[SubscriptionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[CompanySubscription] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SubscriptionsRequestBuilderGetQueryParameters(): """ - Get the list of commercial subscriptions that an organization has acquired. This API is available in the following national cloud deployments. + Get the list of commercial subscriptions that an organization has acquired. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory_objects/delta/delta_request_builder.py b/msgraph_beta/generated/directory_objects/delta/delta_request_builder.py index dbd577b60b7..9918f1a8084 100644 --- a/msgraph_beta/generated/directory_objects/delta/delta_request_builder.py +++ b/msgraph_beta/generated/directory_objects/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/directory_objects/directory_objects_request_builder.py b/msgraph_beta/generated/directory_objects/directory_objects_request_builder.py index c6dcdcb0286..2a5a2489e3b 100644 --- a/msgraph_beta/generated/directory_objects/directory_objects_request_builder.py +++ b/msgraph_beta/generated/directory_objects/directory_objects_request_builder.py @@ -106,7 +106,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DirectoryObject] = None, request_configuration: Optional[DirectoryObjectsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_post_request_information(self,body: Optional[DirectoryObject] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_objects/get_by_ids/get_by_ids_request_builder.py b/msgraph_beta/generated/directory_objects/get_by_ids/get_by_ids_request_builder.py index 4822a487465..4434715d817 100644 --- a/msgraph_beta/generated/directory_objects/get_by_ids/get_by_ids_request_builder.py +++ b/msgraph_beta/generated/directory_objects/get_by_ids/get_by_ids_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetByIdsPostResponse]: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetByIdsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_objects/get_user_owned_objects/get_user_owned_objects_request_builder.py b/msgraph_beta/generated/directory_objects/get_user_owned_objects/get_user_owned_objects_request_builder.py index aab84796ed4..4f7152aaac5 100644 --- a/msgraph_beta/generated/directory_objects/get_user_owned_objects/get_user_owned_objects_request_builder.py +++ b/msgraph_beta/generated/directory_objects/get_user_owned_objects/get_user_owned_objects_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, request_configuration: Optional[GetUserOwnedObjectsRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. This API is available in the following national cloud deployments. + Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, r def to_post_request_information(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, request_configuration: Optional[GetUserOwnedObjectsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. This API is available in the following national cloud deployments. + Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetUserOwnedObjectsPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_objects/item/check_member_groups/check_member_groups_request_builder.py b/msgraph_beta/generated/directory_objects/item/check_member_groups/check_member_groups_request_builder.py index 167ae44dc3e..96feedf41bf 100644 --- a/msgraph_beta/generated/directory_objects/item/check_member_groups/check_member_groups_request_builder.py +++ b/msgraph_beta/generated/directory_objects/item/check_member_groups/check_member_groups_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[CheckMemberGroupsPostResponse]: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, req def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_objects/item/check_member_objects/check_member_objects_request_builder.py b/msgraph_beta/generated/directory_objects/item/check_member_objects/check_member_objects_request_builder.py index 7a581518bcb..15076f68305 100644 --- a/msgraph_beta/generated/directory_objects/item/check_member_objects/check_member_objects_request_builder.py +++ b/msgraph_beta/generated/directory_objects/item/check_member_objects/check_member_objects_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CheckMemberObjectsPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_objects/item/directory_object_item_request_builder.py b/msgraph_beta/generated/directory_objects/item/directory_object_item_request_builder.py index f40a6f91956..c80c27502c1 100644 --- a/msgraph_beta/generated/directory_objects/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/directory_objects/item/directory_object_item_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[DirectoryObjectItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a directory object, for example, a group, user, application, or service principal. This API is available in the following national cloud deployments. + Delete a directory object, for example, a group, user, application, or service principal. 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/directoryobject-delete?view=graph-rest-1.0 @@ -53,7 +53,7 @@ async def delete(self,request_configuration: Optional[DirectoryObjectItemRequest async def get(self,request_configuration: Optional[DirectoryObjectItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Retrieve the properties and relationships of a directoryObject object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a directoryObject object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directoryobject-get?view=graph-rest-1.0 @@ -99,7 +99,7 @@ async def patch(self,body: Optional[DirectoryObject] = None, request_configurati def to_delete_request_information(self,request_configuration: Optional[DirectoryObjectItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a directory object, for example, a group, user, application, or service principal. This API is available in the following national cloud deployments. + Delete a directory object, for example, a group, user, application, or service principal. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -110,12 +110,12 @@ def to_delete_request_information(self,request_configuration: Optional[Directory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DirectoryObjectItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a directoryObject object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a directoryObject object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DirectoryObject] = None, request_configuration: Optional[DirectoryObjectItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[DirectoryObject] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -218,7 +218,7 @@ class DirectoryObjectItemRequestBuilderDeleteRequestConfiguration(BaseRequestCon @dataclass class DirectoryObjectItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a directoryObject object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a directoryObject object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory_objects/item/get_member_groups/get_member_groups_request_builder.py b/msgraph_beta/generated/directory_objects/item/get_member_groups/get_member_groups_request_builder.py index 18f9a5f785a..788b30b9eb8 100644 --- a/msgraph_beta/generated/directory_objects/item/get_member_groups/get_member_groups_request_builder.py +++ b/msgraph_beta/generated/directory_objects/item/get_member_groups/get_member_groups_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetMemberGroupsPostResponse]: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_objects/item/get_member_objects/get_member_objects_request_builder.py b/msgraph_beta/generated/directory_objects/item/get_member_objects/get_member_objects_request_builder.py index 8c059a1e94a..930539f6c89 100644 --- a/msgraph_beta/generated/directory_objects/item/get_member_objects/get_member_objects_request_builder.py +++ b/msgraph_beta/generated/directory_objects/item/get_member_objects/get_member_objects_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GetMemberObjectsPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_objects/item/restore/restore_request_builder.py b/msgraph_beta/generated/directory_objects/item/restore/restore_request_builder.py index d41614a1843..b063ee54f6b 100644 --- a/msgraph_beta/generated/directory_objects/item/restore/restore_request_builder.py +++ b/msgraph_beta/generated/directory_objects/item/restore/restore_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RestoreRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[RestoreRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RestoreRequestBuilder: diff --git a/msgraph_beta/generated/directory_objects/validate_properties/validate_properties_request_builder.py b/msgraph_beta/generated/directory_objects/validate_properties/validate_properties_request_builder.py index 64ffff3aef5..8fd26852220 100644 --- a/msgraph_beta/generated/directory_objects/validate_properties/validate_properties_request_builder.py +++ b/msgraph_beta/generated/directory_objects/validate_properties/validate_properties_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> None: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, re def to_post_request_information(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ValidatePropertiesPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_role_templates/delta/delta_request_builder.py b/msgraph_beta/generated/directory_role_templates/delta/delta_request_builder.py index eea2472c41f..4279b4a80bc 100644 --- a/msgraph_beta/generated/directory_role_templates/delta/delta_request_builder.py +++ b/msgraph_beta/generated/directory_role_templates/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/directory_role_templates/directory_role_templates_request_builder.py b/msgraph_beta/generated/directory_role_templates/directory_role_templates_request_builder.py index c9393e0595b..ba43072f279 100644 --- a/msgraph_beta/generated/directory_role_templates/directory_role_templates_request_builder.py +++ b/msgraph_beta/generated/directory_role_templates/directory_role_templates_request_builder.py @@ -49,7 +49,7 @@ def by_directory_role_template_id(self,directory_role_template_id: str) -> Direc async def get(self,request_configuration: Optional[DirectoryRoleTemplatesRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryRoleTemplateCollectionResponse]: """ - Retrieve a list of directoryroletemplate objects. This API is available in the following national cloud deployments. + Retrieve a list of directoryroletemplate objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryRoleTemplateCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/directoryroletemplate-list?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def post(self,body: Optional[DirectoryRoleTemplate] = None, request_config def to_get_request_information(self,request_configuration: Optional[DirectoryRoleTemplatesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of directoryroletemplate objects. This API is available in the following national cloud deployments. + Retrieve a list of directoryroletemplate objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,7 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryRol request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DirectoryRoleTemplate] = None, request_configuration: Optional[DirectoryRoleTemplatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_post_request_information(self,body: Optional[DirectoryRoleTemplate] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ def validate_properties(self) -> ValidatePropertiesRequestBuilder: @dataclass class DirectoryRoleTemplatesRequestBuilderGetQueryParameters(): """ - Retrieve a list of directoryroletemplate objects. This API is available in the following national cloud deployments. + Retrieve a list of directoryroletemplate objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory_role_templates/get_by_ids/get_by_ids_request_builder.py b/msgraph_beta/generated/directory_role_templates/get_by_ids/get_by_ids_request_builder.py index bafb38fe205..4f658472c45 100644 --- a/msgraph_beta/generated/directory_role_templates/get_by_ids/get_by_ids_request_builder.py +++ b/msgraph_beta/generated/directory_role_templates/get_by_ids/get_by_ids_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetByIdsPostResponse]: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetByIdsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_role_templates/get_user_owned_objects/get_user_owned_objects_request_builder.py b/msgraph_beta/generated/directory_role_templates/get_user_owned_objects/get_user_owned_objects_request_builder.py index 1d160ad882c..37e6f67b3f4 100644 --- a/msgraph_beta/generated/directory_role_templates/get_user_owned_objects/get_user_owned_objects_request_builder.py +++ b/msgraph_beta/generated/directory_role_templates/get_user_owned_objects/get_user_owned_objects_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, request_configuration: Optional[GetUserOwnedObjectsRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. This API is available in the following national cloud deployments. + Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, r def to_post_request_information(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, request_configuration: Optional[GetUserOwnedObjectsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. This API is available in the following national cloud deployments. + Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetUserOwnedObjectsPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_role_templates/item/check_member_groups/check_member_groups_request_builder.py b/msgraph_beta/generated/directory_role_templates/item/check_member_groups/check_member_groups_request_builder.py index 40cb859fb0d..bdb3b515952 100644 --- a/msgraph_beta/generated/directory_role_templates/item/check_member_groups/check_member_groups_request_builder.py +++ b/msgraph_beta/generated/directory_role_templates/item/check_member_groups/check_member_groups_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[CheckMemberGroupsPostResponse]: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, req def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_role_templates/item/check_member_objects/check_member_objects_request_builder.py b/msgraph_beta/generated/directory_role_templates/item/check_member_objects/check_member_objects_request_builder.py index a1899a99c01..2c7c35328f3 100644 --- a/msgraph_beta/generated/directory_role_templates/item/check_member_objects/check_member_objects_request_builder.py +++ b/msgraph_beta/generated/directory_role_templates/item/check_member_objects/check_member_objects_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CheckMemberObjectsPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_role_templates/item/directory_role_template_item_request_builder.py b/msgraph_beta/generated/directory_role_templates/item/directory_role_template_item_request_builder.py index 9bf9d6d5775..00f44046bb8 100644 --- a/msgraph_beta/generated/directory_role_templates/item/directory_role_template_item_request_builder.py +++ b/msgraph_beta/generated/directory_role_templates/item/directory_role_template_item_request_builder.py @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[DirectoryRoleTemplateItemR async def get(self,request_configuration: Optional[DirectoryRoleTemplateItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryRoleTemplate]: """ - Retrieve the properties and relationships of a directoryroletemplate object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a directoryroletemplate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryRoleTemplate] Find more info here: https://learn.microsoft.com/graph/api/directoryroletemplate-get?view=graph-rest-1.0 @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[Directory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DirectoryRoleTemplateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a directoryroletemplate object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a directoryroletemplate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryRol request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DirectoryRoleTemplate] = None, request_configuration: Optional[DirectoryRoleTemplateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[DirectoryRoleTemplate] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -217,7 +217,7 @@ class DirectoryRoleTemplateItemRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class DirectoryRoleTemplateItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a directoryroletemplate object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a directoryroletemplate object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory_role_templates/item/get_member_groups/get_member_groups_request_builder.py b/msgraph_beta/generated/directory_role_templates/item/get_member_groups/get_member_groups_request_builder.py index fb74a4aa273..6afad2017ee 100644 --- a/msgraph_beta/generated/directory_role_templates/item/get_member_groups/get_member_groups_request_builder.py +++ b/msgraph_beta/generated/directory_role_templates/item/get_member_groups/get_member_groups_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetMemberGroupsPostResponse]: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_role_templates/item/get_member_objects/get_member_objects_request_builder.py b/msgraph_beta/generated/directory_role_templates/item/get_member_objects/get_member_objects_request_builder.py index 5e7a8e7ba5a..b0d2db44553 100644 --- a/msgraph_beta/generated/directory_role_templates/item/get_member_objects/get_member_objects_request_builder.py +++ b/msgraph_beta/generated/directory_role_templates/item/get_member_objects/get_member_objects_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GetMemberObjectsPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_role_templates/item/restore/restore_request_builder.py b/msgraph_beta/generated/directory_role_templates/item/restore/restore_request_builder.py index 5a1b3f08e7e..2a7e40cd7a9 100644 --- a/msgraph_beta/generated/directory_role_templates/item/restore/restore_request_builder.py +++ b/msgraph_beta/generated/directory_role_templates/item/restore/restore_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RestoreRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[RestoreRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RestoreRequestBuilder: diff --git a/msgraph_beta/generated/directory_role_templates/validate_properties/validate_properties_request_builder.py b/msgraph_beta/generated/directory_role_templates/validate_properties/validate_properties_request_builder.py index 112adda0f4b..8fe8714e6b5 100644 --- a/msgraph_beta/generated/directory_role_templates/validate_properties/validate_properties_request_builder.py +++ b/msgraph_beta/generated/directory_role_templates/validate_properties/validate_properties_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> None: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, re def to_post_request_information(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ValidatePropertiesPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_roles/delta/delta_request_builder.py b/msgraph_beta/generated/directory_roles/delta/delta_request_builder.py index 2dea4df1d51..473cbe9b698 100644 --- a/msgraph_beta/generated/directory_roles/delta/delta_request_builder.py +++ b/msgraph_beta/generated/directory_roles/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/directory_roles/directory_roles_request_builder.py b/msgraph_beta/generated/directory_roles/directory_roles_request_builder.py index 3bef43305a2..ee2813163b5 100644 --- a/msgraph_beta/generated/directory_roles/directory_roles_request_builder.py +++ b/msgraph_beta/generated/directory_roles/directory_roles_request_builder.py @@ -49,7 +49,7 @@ def by_directory_role_id(self,directory_role_id: str) -> DirectoryRoleItemReques async def get(self,request_configuration: Optional[DirectoryRolesRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryRoleCollectionResponse]: """ - List the directory roles that are activated in the tenant. This operation only returns roles that have been activated. A role becomes activated when an admin activates the role using the Activate directoryRole API. Not all built-in roles are initially activated. When assigning a role using the Microsoft Entra admin center, the role activation step is implicitly done on the admin's behalf. To get the full list of roles that are available in Microsoft Entra, use List directoryRoleTemplates. This API is available in the following national cloud deployments. + List the directory roles that are activated in the tenant. This operation only returns roles that have been activated. A role becomes activated when an admin activates the role using the Activate directoryRole API. Not all built-in roles are initially activated. When assigning a role using the Microsoft Entra admin center, the role activation step is implicitly done on the admin's behalf. To get the full list of roles that are available in Microsoft Entra, use List directoryRoleTemplates. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryRoleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/directoryrole-list?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[DirectoryRolesRequestBuilderG async def post(self,body: Optional[DirectoryRole] = None, request_configuration: Optional[DirectoryRolesRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryRole]: """ - Activate a directory role. To read a directory role or update its members, it must first be activated in the tenant. The Company Administrators and the implicit user directory roles (User, Guest User, and Restricted Guest User roles) are activated by default. To access and assign members to other directory roles, you must first activate it with its corresponding directory role template ID. This API is available in the following national cloud deployments. + Activate a directory role. To read a directory role or update its members, it must first be activated in the tenant. The Company Administrators and the implicit user directory roles (User, Guest User, and Restricted Guest User roles) are activated by default. To access and assign members to other directory roles, you must first activate it with its corresponding directory role template ID. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryRole] @@ -96,7 +96,7 @@ async def post(self,body: Optional[DirectoryRole] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[DirectoryRolesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the directory roles that are activated in the tenant. This operation only returns roles that have been activated. A role becomes activated when an admin activates the role using the Activate directoryRole API. Not all built-in roles are initially activated. When assigning a role using the Microsoft Entra admin center, the role activation step is implicitly done on the admin's behalf. To get the full list of roles that are available in Microsoft Entra, use List directoryRoleTemplates. This API is available in the following national cloud deployments. + List the directory roles that are activated in the tenant. This operation only returns roles that have been activated. A role becomes activated when an admin activates the role using the Activate directoryRole API. Not all built-in roles are initially activated. When assigning a role using the Microsoft Entra admin center, the role activation step is implicitly done on the admin's behalf. To get the full list of roles that are available in Microsoft Entra, use List directoryRoleTemplates. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryRol request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DirectoryRole] = None, request_configuration: Optional[DirectoryRolesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Activate a directory role. To read a directory role or update its members, it must first be activated in the tenant. The Company Administrators and the implicit user directory roles (User, Guest User, and Restricted Guest User roles) are activated by default. To access and assign members to other directory roles, you must first activate it with its corresponding directory role template ID. This API is available in the following national cloud deployments. + Activate a directory role. To read a directory role or update its members, it must first be activated in the tenant. The Company Administrators and the implicit user directory roles (User, Guest User, and Restricted Guest User roles) are activated by default. To access and assign members to other directory roles, you must first activate it with its corresponding directory role template ID. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -127,7 +127,7 @@ def to_post_request_information(self,body: Optional[DirectoryRole] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ def validate_properties(self) -> ValidatePropertiesRequestBuilder: @dataclass class DirectoryRolesRequestBuilderGetQueryParameters(): """ - List the directory roles that are activated in the tenant. This operation only returns roles that have been activated. A role becomes activated when an admin activates the role using the Activate directoryRole API. Not all built-in roles are initially activated. When assigning a role using the Microsoft Entra admin center, the role activation step is implicitly done on the admin's behalf. To get the full list of roles that are available in Microsoft Entra, use List directoryRoleTemplates. This API is available in the following national cloud deployments. + List the directory roles that are activated in the tenant. This operation only returns roles that have been activated. A role becomes activated when an admin activates the role using the Activate directoryRole API. Not all built-in roles are initially activated. When assigning a role using the Microsoft Entra admin center, the role activation step is implicitly done on the admin's behalf. To get the full list of roles that are available in Microsoft Entra, use List directoryRoleTemplates. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory_roles/get_by_ids/get_by_ids_request_builder.py b/msgraph_beta/generated/directory_roles/get_by_ids/get_by_ids_request_builder.py index f21afb32c67..c399682a515 100644 --- a/msgraph_beta/generated/directory_roles/get_by_ids/get_by_ids_request_builder.py +++ b/msgraph_beta/generated/directory_roles/get_by_ids/get_by_ids_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetByIdsPostResponse]: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetByIdsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_roles/get_user_owned_objects/get_user_owned_objects_request_builder.py b/msgraph_beta/generated/directory_roles/get_user_owned_objects/get_user_owned_objects_request_builder.py index 653dbad908d..dc6d6a6377b 100644 --- a/msgraph_beta/generated/directory_roles/get_user_owned_objects/get_user_owned_objects_request_builder.py +++ b/msgraph_beta/generated/directory_roles/get_user_owned_objects/get_user_owned_objects_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, request_configuration: Optional[GetUserOwnedObjectsRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. This API is available in the following national cloud deployments. + Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, r def to_post_request_information(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, request_configuration: Optional[GetUserOwnedObjectsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. This API is available in the following national cloud deployments. + Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetUserOwnedObjectsPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_roles/item/check_member_groups/check_member_groups_request_builder.py b/msgraph_beta/generated/directory_roles/item/check_member_groups/check_member_groups_request_builder.py index 6a694221840..a2d2fa945b3 100644 --- a/msgraph_beta/generated/directory_roles/item/check_member_groups/check_member_groups_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/check_member_groups/check_member_groups_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[CheckMemberGroupsPostResponse]: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, req def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_roles/item/check_member_objects/check_member_objects_request_builder.py b/msgraph_beta/generated/directory_roles/item/check_member_objects/check_member_objects_request_builder.py index e2d5f70f7f7..78c337fda02 100644 --- a/msgraph_beta/generated/directory_roles/item/check_member_objects/check_member_objects_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/check_member_objects/check_member_objects_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CheckMemberObjectsPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_roles/item/directory_role_item_request_builder.py b/msgraph_beta/generated/directory_roles/item/directory_role_item_request_builder.py index 3100405bf21..8ae3c1466d1 100644 --- a/msgraph_beta/generated/directory_roles/item/directory_role_item_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/directory_role_item_request_builder.py @@ -54,7 +54,7 @@ async def delete(self,request_configuration: Optional[DirectoryRoleItemRequestBu async def get(self,request_configuration: Optional[DirectoryRoleItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryRole]: """ - Retrieve the properties of a directoryRole object. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. This API is available in the following national cloud deployments. + Retrieve the properties of a directoryRole object. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryRole] Find more info here: https://learn.microsoft.com/graph/api/directoryrole-get?view=graph-rest-1.0 @@ -111,12 +111,12 @@ def to_delete_request_information(self,request_configuration: Optional[Directory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DirectoryRoleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of a directoryRole object. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. This API is available in the following national cloud deployments. + Retrieve the properties of a directoryRole object. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -128,7 +128,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryRol request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DirectoryRole] = None, request_configuration: Optional[DirectoryRoleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[DirectoryRole] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -237,7 +237,7 @@ class DirectoryRoleItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class DirectoryRoleItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties of a directoryRole object. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. This API is available in the following national cloud deployments. + Retrieve the properties of a directoryRole object. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory_roles/item/get_member_groups/get_member_groups_request_builder.py b/msgraph_beta/generated/directory_roles/item/get_member_groups/get_member_groups_request_builder.py index 5aae7ae708a..ea2d06631d5 100644 --- a/msgraph_beta/generated/directory_roles/item/get_member_groups/get_member_groups_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/get_member_groups/get_member_groups_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetMemberGroupsPostResponse]: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_roles/item/get_member_objects/get_member_objects_request_builder.py b/msgraph_beta/generated/directory_roles/item/get_member_objects/get_member_objects_request_builder.py index 7eb26a81ebe..6f8ede9438a 100644 --- a/msgraph_beta/generated/directory_roles/item/get_member_objects/get_member_objects_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/get_member_objects/get_member_objects_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GetMemberObjectsPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_roles/item/members/graph_application/graph_application_request_builder.py b/msgraph_beta/generated/directory_roles/item/members/graph_application/graph_application_request_builder.py index 798fe46ae95..5907f3108ed 100644 --- a/msgraph_beta/generated/directory_roles/item/members/graph_application/graph_application_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/members/graph_application/graph_application_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphApplica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphApplicationRequestBuilder: diff --git a/msgraph_beta/generated/directory_roles/item/members/graph_device/graph_device_request_builder.py b/msgraph_beta/generated/directory_roles/item/members/graph_device/graph_device_request_builder.py index 460dc3e2af3..94acb2b0a17 100644 --- a/msgraph_beta/generated/directory_roles/item/members/graph_device/graph_device_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/members/graph_device/graph_device_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphDeviceR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphDeviceRequestBuilder: diff --git a/msgraph_beta/generated/directory_roles/item/members/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/directory_roles/item/members/graph_group/graph_group_request_builder.py index 764df2062bc..612bf663d9e 100644 --- a/msgraph_beta/generated/directory_roles/item/members/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/members/graph_group/graph_group_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/directory_roles/item/members/graph_org_contact/graph_org_contact_request_builder.py b/msgraph_beta/generated/directory_roles/item/members/graph_org_contact/graph_org_contact_request_builder.py index 037f6853773..395a033f554 100644 --- a/msgraph_beta/generated/directory_roles/item/members/graph_org_contact/graph_org_contact_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/members/graph_org_contact/graph_org_contact_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphOrgCont request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphOrgContactRequestBuilder: diff --git a/msgraph_beta/generated/directory_roles/item/members/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/directory_roles/item/members/graph_service_principal/graph_service_principal_request_builder.py index ca5981fddaf..27f79fc86e1 100644 --- a/msgraph_beta/generated/directory_roles/item/members/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/members/graph_service_principal/graph_service_principal_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/directory_roles/item/members/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/directory_roles/item/members/graph_user/graph_user_request_builder.py index b9af217233b..2162aeba981 100644 --- a/msgraph_beta/generated/directory_roles/item/members/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/members/graph_user/graph_user_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/directory_roles/item/members/item/graph_application/graph_application_request_builder.py b/msgraph_beta/generated/directory_roles/item/members/item/graph_application/graph_application_request_builder.py index 1bbbc40edee..dc501cc53d6 100644 --- a/msgraph_beta/generated/directory_roles/item/members/item/graph_application/graph_application_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/members/item/graph_application/graph_application_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphApplica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphApplicationRequestBuilder: diff --git a/msgraph_beta/generated/directory_roles/item/members/item/graph_device/graph_device_request_builder.py b/msgraph_beta/generated/directory_roles/item/members/item/graph_device/graph_device_request_builder.py index 408bb72dba9..047b2b5d364 100644 --- a/msgraph_beta/generated/directory_roles/item/members/item/graph_device/graph_device_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/members/item/graph_device/graph_device_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphDeviceR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphDeviceRequestBuilder: diff --git a/msgraph_beta/generated/directory_roles/item/members/item/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/directory_roles/item/members/item/graph_group/graph_group_request_builder.py index 35b31ee5905..de9893a367e 100644 --- a/msgraph_beta/generated/directory_roles/item/members/item/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/members/item/graph_group/graph_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/directory_roles/item/members/item/graph_org_contact/graph_org_contact_request_builder.py b/msgraph_beta/generated/directory_roles/item/members/item/graph_org_contact/graph_org_contact_request_builder.py index 27f78773c14..70eeaf73869 100644 --- a/msgraph_beta/generated/directory_roles/item/members/item/graph_org_contact/graph_org_contact_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/members/item/graph_org_contact/graph_org_contact_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphOrgCont request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphOrgContactRequestBuilder: diff --git a/msgraph_beta/generated/directory_roles/item/members/item/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/directory_roles/item/members/item/graph_service_principal/graph_service_principal_request_builder.py index 3c9445c3d0a..8feea01ea75 100644 --- a/msgraph_beta/generated/directory_roles/item/members/item/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/members/item/graph_service_principal/graph_service_principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/directory_roles/item/members/item/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/directory_roles/item/members/item/graph_user/graph_user_request_builder.py index 8fee62d179c..3e1f172c558 100644 --- a/msgraph_beta/generated/directory_roles/item/members/item/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/members/item/graph_user/graph_user_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/directory_roles/item/members/item/ref/ref_request_builder.py b/msgraph_beta/generated/directory_roles/item/members/item/ref/ref_request_builder.py index cd4a578d624..672f707d661 100644 --- a/msgraph_beta/generated/directory_roles/item/members/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/members/item/ref/ref_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a member from a directoryRole. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. This API is available in the following national cloud deployments. + Remove a member from a directoryRole. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. 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/directoryrole-delete-member?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a member from a directoryRole. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. This API is available in the following national cloud deployments. + Remove a member from a directoryRole. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Remove a member from a directoryRole. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. This API is available in the following national cloud deployments. + Remove a member from a directoryRole. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory_roles/item/members/members_request_builder.py b/msgraph_beta/generated/directory_roles/item/members/members_request_builder.py index 15767858f92..a8aeee92597 100644 --- a/msgraph_beta/generated/directory_roles/item/members/members_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/members/members_request_builder.py @@ -38,7 +38,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.directoryRoles.item.members.item collection - param directory_object_id: Unique identifier of the item + param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ if not directory_object_id: @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MembersRequestBuilder: diff --git a/msgraph_beta/generated/directory_roles/item/members/ref/ref_request_builder.py b/msgraph_beta/generated/directory_roles/item/members/ref/ref_request_builder.py index 0a489ef4fbf..ac502c67456 100644 --- a/msgraph_beta/generated/directory_roles/item/members/ref/ref_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/members/ref/ref_request_builder.py @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Create a new directory role member. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. This API is available in the following national cloud deployments. + Create a new directory role member. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new directory role member. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. This API is available in the following national cloud deployments. + Create a new directory role member. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_roles/item/restore/restore_request_builder.py b/msgraph_beta/generated/directory_roles/item/restore/restore_request_builder.py index 77081bd046a..0dbff704369 100644 --- a/msgraph_beta/generated/directory_roles/item/restore/restore_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/restore/restore_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RestoreRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[RestoreRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RestoreRequestBuilder: diff --git a/msgraph_beta/generated/directory_roles/item/scoped_members/item/scoped_role_membership_item_request_builder.py b/msgraph_beta/generated/directory_roles/item/scoped_members/item/scoped_role_membership_item_request_builder.py index 8299b6401bb..40cf842aecb 100644 --- a/msgraph_beta/generated/directory_roles/item/scoped_members/item/scoped_role_membership_item_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/scoped_members/item/scoped_role_membership_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ScopedRol request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ScopedRoleMembershipItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ScopedRoleMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ScopedRoleMembership] = None, request_configuration: Optional[ScopedRoleMembershipItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ScopedRoleMembership] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_roles/item/scoped_members/scoped_members_request_builder.py b/msgraph_beta/generated/directory_roles/item/scoped_members/scoped_members_request_builder.py index 041373de34b..82aae2733a9 100644 --- a/msgraph_beta/generated/directory_roles/item/scoped_members/scoped_members_request_builder.py +++ b/msgraph_beta/generated/directory_roles/item/scoped_members/scoped_members_request_builder.py @@ -45,7 +45,7 @@ def by_scoped_role_membership_id(self,scoped_role_membership_id: str) -> ScopedR async def get(self,request_configuration: Optional[ScopedMembersRequestBuilderGetRequestConfiguration] = None) -> Optional[ScopedRoleMembershipCollectionResponse]: """ - Retrieve a list of scopedRoleMembership objects for a directory role. This API is available in the following national cloud deployments. + Retrieve a list of scopedRoleMembership objects for a directory role. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ScopedRoleMembershipCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/directoryrole-list-scopedmembers?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ScopedRoleMembership] = None, request_configu def to_get_request_information(self,request_configuration: Optional[ScopedMembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of scopedRoleMembership objects for a directory role. This API is available in the following national cloud deployments. + Retrieve a list of scopedRoleMembership objects for a directory role. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ScopedMember request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ScopedRoleMembership] = None, request_configuration: Optional[ScopedMembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ScopedRoleMembership] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ScopedMembersRequestBuilderGetQueryParameters(): """ - Retrieve a list of scopedRoleMembership objects for a directory role. This API is available in the following national cloud deployments. + Retrieve a list of scopedRoleMembership objects for a directory role. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory_roles/validate_properties/validate_properties_request_builder.py b/msgraph_beta/generated/directory_roles/validate_properties/validate_properties_request_builder.py index 70b34195b3b..9f4af429c6d 100644 --- a/msgraph_beta/generated/directory_roles/validate_properties/validate_properties_request_builder.py +++ b/msgraph_beta/generated/directory_roles/validate_properties/validate_properties_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> None: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, re def to_post_request_information(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ValidatePropertiesPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_roles_with_role_template_id/directory_roles_with_role_template_id_request_builder.py b/msgraph_beta/generated/directory_roles_with_role_template_id/directory_roles_with_role_template_id_request_builder.py index 5ee4c817bba..0f9d79a2ca6 100644 --- a/msgraph_beta/generated/directory_roles_with_role_template_id/directory_roles_with_role_template_id_request_builder.py +++ b/msgraph_beta/generated/directory_roles_with_role_template_id/directory_roles_with_role_template_id_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[DirectoryRolesWithRoleTemp async def get(self,request_configuration: Optional[DirectoryRolesWithRoleTemplateIdRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryRole]: """ - Retrieve the properties of a directoryRole object. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. This API is available in the following national cloud deployments. + Retrieve the properties of a directoryRole object. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryRole] Find more info here: https://learn.microsoft.com/graph/api/directoryrole-get?view=graph-rest-1.0 @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[Directory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DirectoryRolesWithRoleTemplateIdRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of a directoryRole object. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. This API is available in the following national cloud deployments. + Retrieve the properties of a directoryRole object. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryRol request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DirectoryRole] = None, request_configuration: Optional[DirectoryRolesWithRoleTemplateIdRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[DirectoryRole] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -170,7 +170,7 @@ class DirectoryRolesWithRoleTemplateIdRequestBuilderDeleteRequestConfiguration(B @dataclass class DirectoryRolesWithRoleTemplateIdRequestBuilderGetQueryParameters(): """ - Retrieve the properties of a directoryRole object. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. This API is available in the following national cloud deployments. + Retrieve the properties of a directoryRole object. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory_setting_templates/delta/delta_request_builder.py b/msgraph_beta/generated/directory_setting_templates/delta/delta_request_builder.py index 3204a65c991..cca90de41cf 100644 --- a/msgraph_beta/generated/directory_setting_templates/delta/delta_request_builder.py +++ b/msgraph_beta/generated/directory_setting_templates/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/directory_setting_templates/directory_setting_templates_request_builder.py b/msgraph_beta/generated/directory_setting_templates/directory_setting_templates_request_builder.py index 8b7c381628b..b7d334b3a73 100644 --- a/msgraph_beta/generated/directory_setting_templates/directory_setting_templates_request_builder.py +++ b/msgraph_beta/generated/directory_setting_templates/directory_setting_templates_request_builder.py @@ -49,7 +49,7 @@ def by_directory_setting_template_id(self,directory_setting_template_id: str) -> async def get(self,request_configuration: Optional[DirectorySettingTemplatesRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectorySettingTemplateCollectionResponse]: """ - Directory setting templates represents a set of templates of directory settings, from which directory settings may be created and used within a tenant. This operation retrieves the list of available directorySettingTemplates objects. This API is available in the following national cloud deployments. + Directory setting templates represents a set of templates of directory settings, from which directory settings may be created and used within a tenant. This operation retrieves the list of available directorySettingTemplates objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectorySettingTemplateCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/directorysettingtemplate-list?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def post(self,body: Optional[DirectorySettingTemplate] = None, request_con def to_get_request_information(self,request_configuration: Optional[DirectorySettingTemplatesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Directory setting templates represents a set of templates of directory settings, from which directory settings may be created and used within a tenant. This operation retrieves the list of available directorySettingTemplates objects. This API is available in the following national cloud deployments. + Directory setting templates represents a set of templates of directory settings, from which directory settings may be created and used within a tenant. This operation retrieves the list of available directorySettingTemplates objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,7 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySet request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DirectorySettingTemplate] = None, request_configuration: Optional[DirectorySettingTemplatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_post_request_information(self,body: Optional[DirectorySettingTemplate] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ def validate_properties(self) -> ValidatePropertiesRequestBuilder: @dataclass class DirectorySettingTemplatesRequestBuilderGetQueryParameters(): """ - Directory setting templates represents a set of templates of directory settings, from which directory settings may be created and used within a tenant. This operation retrieves the list of available directorySettingTemplates objects. This API is available in the following national cloud deployments. + Directory setting templates represents a set of templates of directory settings, from which directory settings may be created and used within a tenant. This operation retrieves the list of available directorySettingTemplates objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory_setting_templates/get_by_ids/get_by_ids_request_builder.py b/msgraph_beta/generated/directory_setting_templates/get_by_ids/get_by_ids_request_builder.py index 2ebe16ea746..17774e7766e 100644 --- a/msgraph_beta/generated/directory_setting_templates/get_by_ids/get_by_ids_request_builder.py +++ b/msgraph_beta/generated/directory_setting_templates/get_by_ids/get_by_ids_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetByIdsPostResponse]: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetByIdsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_setting_templates/get_user_owned_objects/get_user_owned_objects_request_builder.py b/msgraph_beta/generated/directory_setting_templates/get_user_owned_objects/get_user_owned_objects_request_builder.py index 09a95351e9a..86ac68c7d3e 100644 --- a/msgraph_beta/generated/directory_setting_templates/get_user_owned_objects/get_user_owned_objects_request_builder.py +++ b/msgraph_beta/generated/directory_setting_templates/get_user_owned_objects/get_user_owned_objects_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, request_configuration: Optional[GetUserOwnedObjectsRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. This API is available in the following national cloud deployments. + Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, r def to_post_request_information(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, request_configuration: Optional[GetUserOwnedObjectsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. This API is available in the following national cloud deployments. + Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetUserOwnedObjectsPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_setting_templates/item/check_member_groups/check_member_groups_request_builder.py b/msgraph_beta/generated/directory_setting_templates/item/check_member_groups/check_member_groups_request_builder.py index b30fb1b25e5..87303925d80 100644 --- a/msgraph_beta/generated/directory_setting_templates/item/check_member_groups/check_member_groups_request_builder.py +++ b/msgraph_beta/generated/directory_setting_templates/item/check_member_groups/check_member_groups_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[CheckMemberGroupsPostResponse]: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, req def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_setting_templates/item/check_member_objects/check_member_objects_request_builder.py b/msgraph_beta/generated/directory_setting_templates/item/check_member_objects/check_member_objects_request_builder.py index 7e65e2c3c8e..5649ffa0f14 100644 --- a/msgraph_beta/generated/directory_setting_templates/item/check_member_objects/check_member_objects_request_builder.py +++ b/msgraph_beta/generated/directory_setting_templates/item/check_member_objects/check_member_objects_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CheckMemberObjectsPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_setting_templates/item/directory_setting_template_item_request_builder.py b/msgraph_beta/generated/directory_setting_templates/item/directory_setting_template_item_request_builder.py index f2d8fea54f9..da3fbc29d73 100644 --- a/msgraph_beta/generated/directory_setting_templates/item/directory_setting_template_item_request_builder.py +++ b/msgraph_beta/generated/directory_setting_templates/item/directory_setting_template_item_request_builder.py @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[DirectorySettingTemplateIt async def get(self,request_configuration: Optional[DirectorySettingTemplateItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectorySettingTemplate]: """ - A directory setting template represents a template of settings from which settings may be created within a tenant. This operation allows retrieval of the properties of the directorySettingTemplate object, including the available settings and their defaults. This API is available in the following national cloud deployments. + A directory setting template represents a template of settings from which settings may be created within a tenant. This operation allows retrieval of the properties of the directorySettingTemplate object, including the available settings and their defaults. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectorySettingTemplate] Find more info here: https://learn.microsoft.com/graph/api/directorysettingtemplate-get?view=graph-rest-1.0 @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[Directory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DirectorySettingTemplateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - A directory setting template represents a template of settings from which settings may be created within a tenant. This operation allows retrieval of the properties of the directorySettingTemplate object, including the available settings and their defaults. This API is available in the following national cloud deployments. + A directory setting template represents a template of settings from which settings may be created within a tenant. This operation allows retrieval of the properties of the directorySettingTemplate object, including the available settings and their defaults. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySet request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DirectorySettingTemplate] = None, request_configuration: Optional[DirectorySettingTemplateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[DirectorySettingTemplate] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -217,7 +217,7 @@ class DirectorySettingTemplateItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class DirectorySettingTemplateItemRequestBuilderGetQueryParameters(): """ - A directory setting template represents a template of settings from which settings may be created within a tenant. This operation allows retrieval of the properties of the directorySettingTemplate object, including the available settings and their defaults. This API is available in the following national cloud deployments. + A directory setting template represents a template of settings from which settings may be created within a tenant. This operation allows retrieval of the properties of the directorySettingTemplate object, including the available settings and their defaults. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/directory_setting_templates/item/get_member_groups/get_member_groups_request_builder.py b/msgraph_beta/generated/directory_setting_templates/item/get_member_groups/get_member_groups_request_builder.py index 298ffafadfe..5908b68b4c5 100644 --- a/msgraph_beta/generated/directory_setting_templates/item/get_member_groups/get_member_groups_request_builder.py +++ b/msgraph_beta/generated/directory_setting_templates/item/get_member_groups/get_member_groups_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetMemberGroupsPostResponse]: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_setting_templates/item/get_member_objects/get_member_objects_request_builder.py b/msgraph_beta/generated/directory_setting_templates/item/get_member_objects/get_member_objects_request_builder.py index 49ca536df26..349001ad9fc 100644 --- a/msgraph_beta/generated/directory_setting_templates/item/get_member_objects/get_member_objects_request_builder.py +++ b/msgraph_beta/generated/directory_setting_templates/item/get_member_objects/get_member_objects_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GetMemberObjectsPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/directory_setting_templates/item/restore/restore_request_builder.py b/msgraph_beta/generated/directory_setting_templates/item/restore/restore_request_builder.py index 3135e8c4f73..19d0c70b696 100644 --- a/msgraph_beta/generated/directory_setting_templates/item/restore/restore_request_builder.py +++ b/msgraph_beta/generated/directory_setting_templates/item/restore/restore_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RestoreRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[RestoreRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RestoreRequestBuilder: diff --git a/msgraph_beta/generated/directory_setting_templates/validate_properties/validate_properties_request_builder.py b/msgraph_beta/generated/directory_setting_templates/validate_properties/validate_properties_request_builder.py index f1961fdd58a..82be20c2047 100644 --- a/msgraph_beta/generated/directory_setting_templates/validate_properties/validate_properties_request_builder.py +++ b/msgraph_beta/generated/directory_setting_templates/validate_properties/validate_properties_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> None: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, re def to_post_request_information(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ValidatePropertiesPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/domain_dns_records/domain_dns_records_request_builder.py b/msgraph_beta/generated/domain_dns_records/domain_dns_records_request_builder.py index b7a45a23c34..d764a5867a2 100644 --- a/msgraph_beta/generated/domain_dns_records/domain_dns_records_request_builder.py +++ b/msgraph_beta/generated/domain_dns_records/domain_dns_records_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DomainDnsRec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DomainDnsRecord] = None, request_configuration: Optional[DomainDnsRecordsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DomainDnsRecord] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/domain_dns_records/item/domain_dns_record_item_request_builder.py b/msgraph_beta/generated/domain_dns_records/item/domain_dns_record_item_request_builder.py index 9beadd598e2..4bf792c2d1a 100644 --- a/msgraph_beta/generated/domain_dns_records/item/domain_dns_record_item_request_builder.py +++ b/msgraph_beta/generated/domain_dns_records/item/domain_dns_record_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DomainDns request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DomainDnsRecordItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DomainDnsRec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DomainDnsRecord] = None, request_configuration: Optional[DomainDnsRecordItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DomainDnsRecord] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/domains/domains_request_builder.py b/msgraph_beta/generated/domains/domains_request_builder.py index a85d8fbeac0..92f5ad2ef6e 100644 --- a/msgraph_beta/generated/domains/domains_request_builder.py +++ b/msgraph_beta/generated/domains/domains_request_builder.py @@ -45,7 +45,7 @@ def by_domain_id(self,domain_id: str) -> DomainItemRequestBuilder: async def get(self,request_configuration: Optional[DomainsRequestBuilderGetRequestConfiguration] = None) -> Optional[DomainCollectionResponse]: """ - Retrieve a list of domain objects. This API is available in the following national cloud deployments. + Retrieve a list of domain objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DomainCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/domain-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[DomainsRequestBuilderGetReque async def post(self,body: Optional[Domain] = None, request_configuration: Optional[DomainsRequestBuilderPostRequestConfiguration] = None) -> Optional[Domain]: """ - Adds a domain to the tenant. Important: You cannot use an associated domain with your Microsoft Entra tenant until ownership is verified. See List verificationDnsRecords for details. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified. This API is available in the following national cloud deployments. + Adds a domain to the tenant. Important: You cannot use an associated domain with your Microsoft Entra tenant until ownership is verified. See List verificationDnsRecords for details. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Domain] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Domain] = None, request_configuration: Option def to_get_request_information(self,request_configuration: Optional[DomainsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of domain objects. This API is available in the following national cloud deployments. + Retrieve a list of domain objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[DomainsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Domain] = None, request_configuration: Optional[DomainsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Adds a domain to the tenant. Important: You cannot use an associated domain with your Microsoft Entra tenant until ownership is verified. See List verificationDnsRecords for details. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified. This API is available in the following national cloud deployments. + Adds a domain to the tenant. Important: You cannot use an associated domain with your Microsoft Entra tenant until ownership is verified. See List verificationDnsRecords for details. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Domain] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DomainsRequestBuilderGetQueryParameters(): """ - Retrieve a list of domain objects. This API is available in the following national cloud deployments. + Retrieve a list of domain objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/domains/item/domain_item_request_builder.py b/msgraph_beta/generated/domains/item/domain_item_request_builder.py index c9130a05109..7048ff37d31 100644 --- a/msgraph_beta/generated/domains/item/domain_item_request_builder.py +++ b/msgraph_beta/generated/domains/item/domain_item_request_builder.py @@ -37,7 +37,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[DomainItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes a domain from a tenant. This API is available in the following national cloud deployments. + Deletes a domain from a tenant. 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/domain-delete?view=graph-rest-1.0 @@ -57,7 +57,7 @@ async def delete(self,request_configuration: Optional[DomainItemRequestBuilderDe async def get(self,request_configuration: Optional[DomainItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Domain]: """ - Retrieve the properties and relationships of domain object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of domain object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Domain] Find more info here: https://learn.microsoft.com/graph/api/domain-get?view=graph-rest-1.0 @@ -79,7 +79,7 @@ async def get(self,request_configuration: Optional[DomainItemRequestBuilderGetRe async def patch(self,body: Optional[Domain] = None, request_configuration: Optional[DomainItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Domain]: """ - Update the properties of domain object. This API is available in the following national cloud deployments. + Update the properties of domain object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Domain] @@ -104,7 +104,7 @@ async def patch(self,body: Optional[Domain] = None, request_configuration: Optio def to_delete_request_information(self,request_configuration: Optional[DomainItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes a domain from a tenant. This API is available in the following national cloud deployments. + Deletes a domain from a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -115,12 +115,12 @@ def to_delete_request_information(self,request_configuration: Optional[DomainIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DomainItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of domain object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of domain object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -132,12 +132,12 @@ def to_get_request_information(self,request_configuration: Optional[DomainItemRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Domain] = None, request_configuration: Optional[DomainItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of domain object. This API is available in the following national cloud deployments. + Update the properties of domain object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -151,7 +151,7 @@ def to_patch_request_information(self,body: Optional[Domain] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -259,7 +259,7 @@ class DomainItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguratio @dataclass class DomainItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of domain object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of domain object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/domains/item/domain_name_references/domain_name_references_request_builder.py b/msgraph_beta/generated/domains/item/domain_name_references/domain_name_references_request_builder.py index f80c619ec58..a0b4a4284f8 100644 --- a/msgraph_beta/generated/domains/item/domain_name_references/domain_name_references_request_builder.py +++ b/msgraph_beta/generated/domains/item/domain_name_references/domain_name_references_request_builder.py @@ -44,7 +44,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem async def get(self,request_configuration: Optional[DomainNameReferencesRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryObjectCollectionResponse]: """ - Retrieve a list of directoryObject with a reference to the domain. The returned list will contain all directory objects that have a dependency on the domain. This API is available in the following national cloud deployments. + Retrieve a list of directoryObject with a reference to the domain. The returned list will contain all directory objects that have a dependency on the domain. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/domain-list-domainnamereferences?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[DomainNameReferencesRequestBu def to_get_request_information(self,request_configuration: Optional[DomainNameReferencesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of directoryObject with a reference to the domain. The returned list will contain all directory objects that have a dependency on the domain. This API is available in the following national cloud deployments. + Retrieve a list of directoryObject with a reference to the domain. The returned list will contain all directory objects that have a dependency on the domain. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[DomainNameRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DomainNameReferencesRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DomainNameReferencesRequestBuilderGetQueryParameters(): """ - Retrieve a list of directoryObject with a reference to the domain. The returned list will contain all directory objects that have a dependency on the domain. This API is available in the following national cloud deployments. + Retrieve a list of directoryObject with a reference to the domain. The returned list will contain all directory objects that have a dependency on the domain. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/domains/item/domain_name_references/item/directory_object_item_request_builder.py b/msgraph_beta/generated/domains/item/domain_name_references/item/directory_object_item_request_builder.py index ecb7561c516..89a2e2384e2 100644 --- a/msgraph_beta/generated/domains/item/domain_name_references/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/domains/item/domain_name_references/item/directory_object_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: diff --git a/msgraph_beta/generated/domains/item/federation_configuration/federation_configuration_request_builder.py b/msgraph_beta/generated/domains/item/federation_configuration/federation_configuration_request_builder.py index b876f1f2369..7ad4103ccf5 100644 --- a/msgraph_beta/generated/domains/item/federation_configuration/federation_configuration_request_builder.py +++ b/msgraph_beta/generated/domains/item/federation_configuration/federation_configuration_request_builder.py @@ -45,7 +45,7 @@ def by_internal_domain_federation_id(self,internal_domain_federation_id: str) -> async def get(self,request_configuration: Optional[FederationConfigurationRequestBuilderGetRequestConfiguration] = None) -> Optional[InternalDomainFederationCollectionResponse]: """ - Read the properties of the internalDomainFederation objects for the domain. This API returns only one object in the collection. This API is available in the following national cloud deployments. + Read the properties of the internalDomainFederation objects for the domain. This API returns only one object in the collection. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InternalDomainFederationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/domain-list-federationconfiguration?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[FederationConfigurationReques async def post(self,body: Optional[InternalDomainFederation] = None, request_configuration: Optional[FederationConfigurationRequestBuilderPostRequestConfiguration] = None) -> Optional[InternalDomainFederation]: """ - Create a new internalDomainFederation object. This API is available in the following national cloud deployments. + Create a new internalDomainFederation object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InternalDomainFederation] @@ -92,7 +92,7 @@ async def post(self,body: Optional[InternalDomainFederation] = None, request_con def to_get_request_information(self,request_configuration: Optional[FederationConfigurationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties of the internalDomainFederation objects for the domain. This API returns only one object in the collection. This API is available in the following national cloud deployments. + Read the properties of the internalDomainFederation objects for the domain. This API returns only one object in the collection. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[FederationCo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[InternalDomainFederation] = None, request_configuration: Optional[FederationConfigurationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new internalDomainFederation object. This API is available in the following national cloud deployments. + Create a new internalDomainFederation object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[InternalDomainFederation] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class FederationConfigurationRequestBuilderGetQueryParameters(): """ - Read the properties of the internalDomainFederation objects for the domain. This API returns only one object in the collection. This API is available in the following national cloud deployments. + Read the properties of the internalDomainFederation objects for the domain. This API returns only one object in the collection. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/domains/item/federation_configuration/item/internal_domain_federation_item_request_builder.py b/msgraph_beta/generated/domains/item/federation_configuration/item/internal_domain_federation_item_request_builder.py index e8c1e1ed82a..042a514991d 100644 --- a/msgraph_beta/generated/domains/item/federation_configuration/item/internal_domain_federation_item_request_builder.py +++ b/msgraph_beta/generated/domains/item/federation_configuration/item/internal_domain_federation_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[InternalDomainFederationItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes an internalDomainFederation object. This API is available in the following national cloud deployments. + Deletes an internalDomainFederation object. 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/internaldomainfederation-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[InternalDomainFederationIt async def get(self,request_configuration: Optional[InternalDomainFederationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[InternalDomainFederation]: """ - Read the properties and relationships of an internalDomainFederation object. This API is available in the following national cloud deployments. + Read the properties and relationships of an internalDomainFederation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InternalDomainFederation] Find more info here: https://learn.microsoft.com/graph/api/internaldomainfederation-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[InternalDomainFederationItemR async def patch(self,body: Optional[InternalDomainFederation] = None, request_configuration: Optional[InternalDomainFederationItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[InternalDomainFederation]: """ - Update the properties of an internalDomainFederation object. This API is available in the following national cloud deployments. + Update the properties of an internalDomainFederation object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InternalDomainFederation] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[InternalDomainFederation] = None, request_co def to_delete_request_information(self,request_configuration: Optional[InternalDomainFederationItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes an internalDomainFederation object. This API is available in the following national cloud deployments. + Deletes an internalDomainFederation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[InternalD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[InternalDomainFederationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an internalDomainFederation object. This API is available in the following national cloud deployments. + Read the properties and relationships of an internalDomainFederation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[InternalDoma request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[InternalDomainFederation] = None, request_configuration: Optional[InternalDomainFederationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an internalDomainFederation object. This API is available in the following national cloud deployments. + Update the properties of an internalDomainFederation object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[InternalDomainFederation] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class InternalDomainFederationItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class InternalDomainFederationItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an internalDomainFederation object. This API is available in the following national cloud deployments. + Read the properties and relationships of an internalDomainFederation object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/domains/item/force_delete/force_delete_request_builder.py b/msgraph_beta/generated/domains/item/force_delete/force_delete_request_builder.py index c6bbd965db5..685fa1c2288 100644 --- a/msgraph_beta/generated/domains/item/force_delete/force_delete_request_builder.py +++ b/msgraph_beta/generated/domains/item/force_delete/force_delete_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForceDeletePostRequestBody] = None, request_configuration: Optional[ForceDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Deletes a domain using an asynchronous operation. Prior to calling forceDelete, you must update or remove any references to Exchange as the provisioning service. The following actions are performed as part of this operation: After the domain deletion completes, API operations for the deleted domain will return a 404 HTTP response code. To verify deletion of a domain, you can perform a get domain. If the domain was successfully deleted, a 404 HTTP response code will be returned in the response. This API is available in the following national cloud deployments. + Deletes a domain using an asynchronous operation. Prior to calling forceDelete, you must update or remove any references to Exchange as the provisioning service. The following actions are performed as part of this operation: After the domain deletion completes, API operations for the deleted domain will return a 404 HTTP response code. To verify deletion of a domain, you can perform a get domain. If the domain was successfully deleted, a 404 HTTP response code will be returned in the response. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForceDeletePostRequestBody] = None, request_c def to_post_request_information(self,body: Optional[ForceDeletePostRequestBody] = None, request_configuration: Optional[ForceDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Deletes a domain using an asynchronous operation. Prior to calling forceDelete, you must update or remove any references to Exchange as the provisioning service. The following actions are performed as part of this operation: After the domain deletion completes, API operations for the deleted domain will return a 404 HTTP response code. To verify deletion of a domain, you can perform a get domain. If the domain was successfully deleted, a 404 HTTP response code will be returned in the response. This API is available in the following national cloud deployments. + Deletes a domain using an asynchronous operation. Prior to calling forceDelete, you must update or remove any references to Exchange as the provisioning service. The following actions are performed as part of this operation: After the domain deletion completes, API operations for the deleted domain will return a 404 HTTP response code. To verify deletion of a domain, you can perform a get domain. If the domain was successfully deleted, a 404 HTTP response code will be returned in the response. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForceDeletePostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/domains/item/promote/promote_request_builder.py b/msgraph_beta/generated/domains/item/promote/promote_request_builder.py index c4b78de617e..7d2b2b8a85f 100644 --- a/msgraph_beta/generated/domains/item/promote/promote_request_builder.py +++ b/msgraph_beta/generated/domains/item/promote/promote_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[PromoteRequestBuilderPostRequestConfiguration] = None) -> Optional[PromotePostResponse]: """ - Promote a verified subdomain to the root domain. A verified domain has its isVerified property set to true. This API is available in the following national cloud deployments. + Promote a verified subdomain to the root domain. A verified domain has its isVerified property set to true. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PromotePostResponse] Find more info here: https://learn.microsoft.com/graph/api/domain-promote?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[PromoteRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[PromoteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Promote a verified subdomain to the root domain. A verified domain has its isVerified property set to true. This API is available in the following national cloud deployments. + Promote a verified subdomain to the root domain. A verified domain has its isVerified property set to true. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[PromoteRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PromoteRequestBuilder: diff --git a/msgraph_beta/generated/domains/item/promote_to_initial/promote_to_initial_request_builder.py b/msgraph_beta/generated/domains/item/promote_to_initial/promote_to_initial_request_builder.py index be8d0d83c45..98a23ada918 100644 --- a/msgraph_beta/generated/domains/item/promote_to_initial/promote_to_initial_request_builder.py +++ b/msgraph_beta/generated/domains/item/promote_to_initial/promote_to_initial_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[PromoteToIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PromoteToInitialRequestBuilder: diff --git a/msgraph_beta/generated/domains/item/service_configuration_records/item/domain_dns_record_item_request_builder.py b/msgraph_beta/generated/domains/item/service_configuration_records/item/domain_dns_record_item_request_builder.py index cd158925403..7b8f23921a9 100644 --- a/msgraph_beta/generated/domains/item/service_configuration_records/item/domain_dns_record_item_request_builder.py +++ b/msgraph_beta/generated/domains/item/service_configuration_records/item/domain_dns_record_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DomainDns request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DomainDnsRecordItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DomainDnsRec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DomainDnsRecord] = None, request_configuration: Optional[DomainDnsRecordItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DomainDnsRecord] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/domains/item/service_configuration_records/service_configuration_records_request_builder.py b/msgraph_beta/generated/domains/item/service_configuration_records/service_configuration_records_request_builder.py index 3f67eac4e78..badd013ac7d 100644 --- a/msgraph_beta/generated/domains/item/service_configuration_records/service_configuration_records_request_builder.py +++ b/msgraph_beta/generated/domains/item/service_configuration_records/service_configuration_records_request_builder.py @@ -45,7 +45,7 @@ def by_domain_dns_record_id(self,domain_dns_record_id: str) -> DomainDnsRecordIt async def get(self,request_configuration: Optional[ServiceConfigurationRecordsRequestBuilderGetRequestConfiguration] = None) -> Optional[DomainDnsRecordCollectionResponse]: """ - Retrieves a list of domainDnsRecord objects needed to enable services for the domain. Use the returned list to add records to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. This API is available in the following national cloud deployments. + Retrieves a list of domainDnsRecord objects needed to enable services for the domain. Use the returned list to add records to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DomainDnsRecordCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/domain-list-serviceconfigurationrecords?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[DomainDnsRecord] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[ServiceConfigurationRecordsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieves a list of domainDnsRecord objects needed to enable services for the domain. Use the returned list to add records to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. This API is available in the following national cloud deployments. + Retrieves a list of domainDnsRecord objects needed to enable services for the domain. Use the returned list to add records to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceConfi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DomainDnsRecord] = None, request_configuration: Optional[ServiceConfigurationRecordsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[DomainDnsRecord] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceConfigurationRecordsRequestBuilderGetQueryParameters(): """ - Retrieves a list of domainDnsRecord objects needed to enable services for the domain. Use the returned list to add records to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. This API is available in the following national cloud deployments. + Retrieves a list of domainDnsRecord objects needed to enable services for the domain. Use the returned list to add records to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/domains/item/shared_email_domain_invitations/item/shared_email_domain_invitation_item_request_builder.py b/msgraph_beta/generated/domains/item/shared_email_domain_invitations/item/shared_email_domain_invitation_item_request_builder.py index 8b98dca1ab7..c2c0ea3256b 100644 --- a/msgraph_beta/generated/domains/item/shared_email_domain_invitations/item/shared_email_domain_invitation_item_request_builder.py +++ b/msgraph_beta/generated/domains/item/shared_email_domain_invitations/item/shared_email_domain_invitation_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[SharedEma request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SharedEmailDomainInvitationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SharedEmailD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SharedEmailDomainInvitation] = None, request_configuration: Optional[SharedEmailDomainInvitationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[SharedEmailDomainInvitation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/domains/item/shared_email_domain_invitations/shared_email_domain_invitations_request_builder.py b/msgraph_beta/generated/domains/item/shared_email_domain_invitations/shared_email_domain_invitations_request_builder.py index 3047f9db7ef..e93ddc67d54 100644 --- a/msgraph_beta/generated/domains/item/shared_email_domain_invitations/shared_email_domain_invitations_request_builder.py +++ b/msgraph_beta/generated/domains/item/shared_email_domain_invitations/shared_email_domain_invitations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SharedEmailD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SharedEmailDomainInvitation] = None, request_configuration: Optional[SharedEmailDomainInvitationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[SharedEmailDomainInvitation] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/domains/item/verification_dns_records/item/domain_dns_record_item_request_builder.py b/msgraph_beta/generated/domains/item/verification_dns_records/item/domain_dns_record_item_request_builder.py index 9597a105091..3149d569366 100644 --- a/msgraph_beta/generated/domains/item/verification_dns_records/item/domain_dns_record_item_request_builder.py +++ b/msgraph_beta/generated/domains/item/verification_dns_records/item/domain_dns_record_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DomainDns request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DomainDnsRecordItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DomainDnsRec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DomainDnsRecord] = None, request_configuration: Optional[DomainDnsRecordItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DomainDnsRecord] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/domains/item/verification_dns_records/verification_dns_records_request_builder.py b/msgraph_beta/generated/domains/item/verification_dns_records/verification_dns_records_request_builder.py index 0760143cbf5..455363d7792 100644 --- a/msgraph_beta/generated/domains/item/verification_dns_records/verification_dns_records_request_builder.py +++ b/msgraph_beta/generated/domains/item/verification_dns_records/verification_dns_records_request_builder.py @@ -45,7 +45,7 @@ def by_domain_dns_record_id(self,domain_dns_record_id: str) -> DomainDnsRecordIt async def get(self,request_configuration: Optional[VerificationDnsRecordsRequestBuilderGetRequestConfiguration] = None) -> Optional[DomainDnsRecordCollectionResponse]: """ - Retrieve a list of domainDnsRecord objects. You cannot use an associated domain with your Microsoft Entra tenant until ownership is verified. To verify the ownership of the domain, retrieve the domain verification records and add the details to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified. This API is available in the following national cloud deployments. + Retrieve a list of domainDnsRecord objects. You cannot use an associated domain with your Microsoft Entra tenant until ownership is verified. To verify the ownership of the domain, retrieve the domain verification records and add the details to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DomainDnsRecordCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/domain-list-verificationdnsrecords?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[DomainDnsRecord] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[VerificationDnsRecordsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of domainDnsRecord objects. You cannot use an associated domain with your Microsoft Entra tenant until ownership is verified. To verify the ownership of the domain, retrieve the domain verification records and add the details to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified. This API is available in the following national cloud deployments. + Retrieve a list of domainDnsRecord objects. You cannot use an associated domain with your Microsoft Entra tenant until ownership is verified. To verify the ownership of the domain, retrieve the domain verification records and add the details to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[Verification request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DomainDnsRecord] = None, request_configuration: Optional[VerificationDnsRecordsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[DomainDnsRecord] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class VerificationDnsRecordsRequestBuilderGetQueryParameters(): """ - Retrieve a list of domainDnsRecord objects. You cannot use an associated domain with your Microsoft Entra tenant until ownership is verified. To verify the ownership of the domain, retrieve the domain verification records and add the details to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified. This API is available in the following national cloud deployments. + Retrieve a list of domainDnsRecord objects. You cannot use an associated domain with your Microsoft Entra tenant until ownership is verified. To verify the ownership of the domain, retrieve the domain verification records and add the details to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/domains/item/verify/verify_request_builder.py b/msgraph_beta/generated/domains/item/verify/verify_request_builder.py index a8da5fc2db9..03d1d054c6c 100644 --- a/msgraph_beta/generated/domains/item/verify/verify_request_builder.py +++ b/msgraph_beta/generated/domains/item/verify/verify_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[VerifyRequestBuilderPostRequestConfiguration] = None) -> Optional[Domain]: """ - Validates the ownership of the domain. This API is available in the following national cloud deployments. + Validates the ownership of the domain. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Domain] Find more info here: https://learn.microsoft.com/graph/api/domain-verify?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[VerifyRequestBuilderPostRequ def to_post_request_information(self,request_configuration: Optional[VerifyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Validates the ownership of the domain. This API is available in the following national cloud deployments. + Validates the ownership of the domain. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[VerifyReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> VerifyRequestBuilder: diff --git a/msgraph_beta/generated/drives/drives_request_builder.py b/msgraph_beta/generated/drives/drives_request_builder.py index 6d37b4841c6..6f7912a3063 100644 --- a/msgraph_beta/generated/drives/drives_request_builder.py +++ b/msgraph_beta/generated/drives/drives_request_builder.py @@ -101,7 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[DrivesReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Drive] = None, request_configuration: Optional[DrivesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_post_request_information(self,body: Optional[Drive] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/activities/activities_request_builder.py b/msgraph_beta/generated/drives/item/activities/activities_request_builder.py index d2468116d3f..c59d7c8b191 100644 --- a/msgraph_beta/generated/drives/item/activities/activities_request_builder.py +++ b/msgraph_beta/generated/drives/item/activities/activities_request_builder.py @@ -45,7 +45,7 @@ def by_item_activity_o_l_d_id(self,item_activity_o_l_d_id: str) -> ItemActivityO async def get(self,request_configuration: Optional[ActivitiesRequestBuilderGetRequestConfiguration] = None) -> Optional[ItemActivityOLDCollectionResponse]: """ - List the recent activities that took place on an item or under a hierarchy. This API is available in the following national cloud deployments. + List the recent activities that took place on an item or under a hierarchy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemActivityOLDCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/activities-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ItemActivityOLD] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[ActivitiesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the recent activities that took place on an item or under a hierarchy. This API is available in the following national cloud deployments. + List the recent activities that took place on an item or under a hierarchy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivitiesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ItemActivityOLD] = None, request_configuration: Optional[ActivitiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ItemActivityOLD] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ActivitiesRequestBuilderGetQueryParameters(): """ - List the recent activities that took place on an item or under a hierarchy. This API is available in the following national cloud deployments. + List the recent activities that took place on an item or under a hierarchy. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/activities/item/drive_item/content/content_request_builder.py b/msgraph_beta/generated/drives/item/activities/item/drive_item/content/content_request_builder.py index c4f78006635..bca5692eb0d 100644 --- a/msgraph_beta/generated/drives/item/activities/item/drive_item/content/content_request_builder.py +++ b/msgraph_beta/generated/drives/item/activities/item/drive_item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/drives/item/activities/item/drive_item/drive_item_request_builder.py b/msgraph_beta/generated/drives/item/activities/item/drive_item/drive_item_request_builder.py index 98dd6db2f1a..a9aedae6d6e 100644 --- a/msgraph_beta/generated/drives/item/activities/item/drive_item/drive_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/activities/item/drive_item/drive_item_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveItemRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/activities/item/item_activity_o_l_d_item_request_builder.py b/msgraph_beta/generated/drives/item/activities/item/item_activity_o_l_d_item_request_builder.py index 5ceaaf8df52..6a641c5d17c 100644 --- a/msgraph_beta/generated/drives/item/activities/item/item_activity_o_l_d_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/activities/item/item_activity_o_l_d_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemActiv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemActivityOLDItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemActivity request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemActivityOLD] = None, request_configuration: Optional[ItemActivityOLDItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ItemActivityOLD] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/activities/item/list_item/list_item_request_builder.py b/msgraph_beta/generated/drives/item/activities/item/list_item/list_item_request_builder.py index 21a32e4c462..aefc7df156a 100644 --- a/msgraph_beta/generated/drives/item/activities/item/list_item/list_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/activities/item/list_item/list_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ListItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ListItemRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/bundles/bundles_request_builder.py b/msgraph_beta/generated/drives/item/bundles/bundles_request_builder.py index 7642d251cf8..0138838396f 100644 --- a/msgraph_beta/generated/drives/item/bundles/bundles_request_builder.py +++ b/msgraph_beta/generated/drives/item/bundles/bundles_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[BundlesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DriveItem] = None, request_configuration: Optional[BundlesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DriveItem] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/bundles/item/content/content_request_builder.py b/msgraph_beta/generated/drives/item/bundles/item/content/content_request_builder.py index 701e26796ee..6a6c8fd57a1 100644 --- a/msgraph_beta/generated/drives/item/bundles/item/content/content_request_builder.py +++ b/msgraph_beta/generated/drives/item/bundles/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/drives/item/bundles/item/drive_item_item_request_builder.py b/msgraph_beta/generated/drives/item/bundles/item/drive_item_item_request_builder.py index c1b7f95fbab..1aa4fa7f181 100644 --- a/msgraph_beta/generated/drives/item/bundles/item/drive_item_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/bundles/item/drive_item_item_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveItemIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveItemItemRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/created_by_user/created_by_user_request_builder.py b/msgraph_beta/generated/drives/item/created_by_user/created_by_user_request_builder.py index 50a1fe49744..e06dd7f5af2 100644 --- a/msgraph_beta/generated/drives/item/created_by_user/created_by_user_request_builder.py +++ b/msgraph_beta/generated/drives/item/created_by_user/created_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[CreatedByUse request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreatedByUserRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/drives/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py index 9b369240751..688b3b08413 100644 --- a/msgraph_beta/generated/drives/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/drives/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/drives/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index f6040a1d57a..4889f551660 100644 --- a/msgraph_beta/generated/drives/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/drives/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/drive_item_request_builder.py b/msgraph_beta/generated/drives/item/drive_item_request_builder.py index 4c12b7459eb..b0c455aebf6 100644 --- a/msgraph_beta/generated/drives/item/drive_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/drive_item_request_builder.py @@ -127,7 +127,7 @@ def to_delete_request_information(self,request_configuration: Optional[DriveItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DriveItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Drive] = None, request_configuration: Optional[DriveItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -163,7 +163,7 @@ def to_patch_request_information(self,body: Optional[Drive] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/following/following_request_builder.py b/msgraph_beta/generated/drives/item/following/following_request_builder.py index 45242914eb4..bb329c4a190 100644 --- a/msgraph_beta/generated/drives/item/following/following_request_builder.py +++ b/msgraph_beta/generated/drives/item/following/following_request_builder.py @@ -44,7 +44,7 @@ def by_drive_item_id(self,drive_item_id: str) -> DriveItemItemRequestBuilder: async def get(self,request_configuration: Optional[FollowingRequestBuilderGetRequestConfiguration] = None) -> Optional[DriveItemCollectionResponse]: """ - List the items that have been followed by the signed in user.This collection includes items that are in the user's drive as well as items they have access to from other drives. This API is available in the following national cloud deployments. + List the items that have been followed by the signed in user.This collection includes items that are in the user's drive as well as items they have access to from other drives. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItemCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/drive-list-following?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[FollowingRequestBuilderGetReq def to_get_request_information(self,request_configuration: Optional[FollowingRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the items that have been followed by the signed in user.This collection includes items that are in the user's drive as well as items they have access to from other drives. This API is available in the following national cloud deployments. + List the items that have been followed by the signed in user.This collection includes items that are in the user's drive as well as items they have access to from other drives. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[FollowingReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FollowingRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class FollowingRequestBuilderGetQueryParameters(): """ - List the items that have been followed by the signed in user.This collection includes items that are in the user's drive as well as items they have access to from other drives. This API is available in the following national cloud deployments. + List the items that have been followed by the signed in user.This collection includes items that are in the user's drive as well as items they have access to from other drives. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/following/item/content/content_request_builder.py b/msgraph_beta/generated/drives/item/following/item/content/content_request_builder.py index cd58218df1d..bfd64d14d6d 100644 --- a/msgraph_beta/generated/drives/item/following/item/content/content_request_builder.py +++ b/msgraph_beta/generated/drives/item/following/item/content/content_request_builder.py @@ -83,7 +83,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -102,7 +102,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/drives/item/following/item/drive_item_item_request_builder.py b/msgraph_beta/generated/drives/item/following/item/drive_item_item_request_builder.py index bfe655b9364..aa6c10c2789 100644 --- a/msgraph_beta/generated/drives/item/following/item/drive_item_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/following/item/drive_item_item_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveItemIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveItemItemRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/activities/activities_request_builder.py b/msgraph_beta/generated/drives/item/items/item/activities/activities_request_builder.py index c7d75bd261d..48b25e83559 100644 --- a/msgraph_beta/generated/drives/item/items/item/activities/activities_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/activities/activities_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivitiesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ActivitiesRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/activities/item/item_activity_o_l_d_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/activities/item/item_activity_o_l_d_item_request_builder.py index e55b1672633..ab6f09d2427 100644 --- a/msgraph_beta/generated/drives/item/items/item/activities/item/item_activity_o_l_d_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/activities/item/item_activity_o_l_d_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemActivity request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ItemActivityOLDItemRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/analytics/all_time/all_time_request_builder.py b/msgraph_beta/generated/drives/item/items/item/analytics/all_time/all_time_request_builder.py index 23d091f5267..d66a0aa17be 100644 --- a/msgraph_beta/generated/drives/item/items/item/analytics/all_time/all_time_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/analytics/all_time/all_time_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AllTimeReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllTimeRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/analytics/analytics_request_builder.py b/msgraph_beta/generated/drives/item/items/item/analytics/analytics_request_builder.py index daba3c5ff36..b5c1c096d2d 100644 --- a/msgraph_beta/generated/drives/item/items/item/analytics/analytics_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/analytics/analytics_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[AnalyticsRequestBuilderDel async def get(self,request_configuration: Optional[AnalyticsRequestBuilderGetRequestConfiguration] = None) -> Optional[ItemAnalytics]: """ - Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the getActivitiesByInterval][] API. This API is available in the following [national cloud deployments. + Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the [getActivitiesByInterval][] API. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemAnalytics] Find more info here: https://learn.microsoft.com/graph/api/itemanalytics-get?view=graph-rest-1.0 @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[Analytics request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AnalyticsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the getActivitiesByInterval][] API. This API is available in the following [national cloud deployments. + Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the [getActivitiesByInterval][] API. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[AnalyticsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemAnalytics] = None, request_configuration: Optional[AnalyticsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[ItemAnalytics] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -197,7 +197,7 @@ class AnalyticsRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration @dataclass class AnalyticsRequestBuilderGetQueryParameters(): """ - Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the getActivitiesByInterval][] API. This API is available in the following [national cloud deployments. + Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the [getActivitiesByInterval][] API. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item/activities/activities_request_builder.py b/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item/activities/activities_request_builder.py index d361a0ff717..654c5f246c6 100644 --- a/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item/activities/activities_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item/activities/activities_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivitiesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ItemActivity] = None, request_configuration: Optional[ActivitiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ItemActivity] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item/activities/item/drive_item/content/content_request_builder.py b/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item/activities/item/drive_item/content/content_request_builder.py index 2bebb303f18..7487a38a7a8 100644 --- a/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item/activities/item/drive_item/content/content_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item/activities/item/drive_item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item/activities/item/drive_item/drive_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item/activities/item/drive_item/drive_item_request_builder.py index ae9b134c46c..121857b5d4e 100644 --- a/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item/activities/item/drive_item/drive_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item/activities/item/drive_item/drive_item_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveItemRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item/activities/item/item_activity_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item/activities/item/item_activity_item_request_builder.py index e18b1455db9..85139d2f6df 100644 --- a/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item/activities/item/item_activity_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item/activities/item/item_activity_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemActiv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemActivityItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemActivity request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemActivity] = None, request_configuration: Optional[ItemActivityItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ItemActivity] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item/item_activity_stat_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item/item_activity_stat_item_request_builder.py index d3f425c2444..afd5d0ce18e 100644 --- a/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item/item_activity_stat_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item/item_activity_stat_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemActiv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemActivityStatItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemActivity request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemActivityStat] = None, request_configuration: Optional[ItemActivityStatItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ItemActivityStat] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item_activity_stats_request_builder.py b/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item_activity_stats_request_builder.py index a510604e5d9..ef7353b6055 100644 --- a/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item_activity_stats_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/analytics/item_activity_stats/item_activity_stats_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemActivity request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ItemActivityStat] = None, request_configuration: Optional[ItemActivityStatsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ItemActivityStat] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/analytics/last_seven_days/last_seven_days_request_builder.py b/msgraph_beta/generated/drives/item/items/item/analytics/last_seven_days/last_seven_days_request_builder.py index be54bea3a9d..cf80f070afb 100644 --- a/msgraph_beta/generated/drives/item/items/item/analytics/last_seven_days/last_seven_days_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/analytics/last_seven_days/last_seven_days_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[LastSevenDay request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastSevenDaysRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/assign_sensitivity_label/assign_sensitivity_label_request_builder.py b/msgraph_beta/generated/drives/item/items/item/assign_sensitivity_label/assign_sensitivity_label_request_builder.py index d6f54d8d673..cc63b365c21 100644 --- a/msgraph_beta/generated/drives/item/items/item/assign_sensitivity_label/assign_sensitivity_label_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/assign_sensitivity_label/assign_sensitivity_label_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[AssignSensitivityLabelPostRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/checkin/checkin_request_builder.py b/msgraph_beta/generated/drives/item/items/item/checkin/checkin_request_builder.py index eaa13575dd7..03d6d46801a 100644 --- a/msgraph_beta/generated/drives/item/items/item/checkin/checkin_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/checkin/checkin_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CheckinPostRequestBody] = None, request_configuration: Optional[CheckinRequestBuilderPostRequestConfiguration] = None) -> None: """ - Check in a checked out driveItem resource, which makes the version of the document available to others. This API is available in the following national cloud deployments. + Check in a checked out driveItem resource, which makes the version of the document available to others. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CheckinPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[CheckinPostRequestBody] = None, request_configuration: Optional[CheckinRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Check in a checked out driveItem resource, which makes the version of the document available to others. This API is available in the following national cloud deployments. + Check in a checked out driveItem resource, which makes the version of the document available to others. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CheckinPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/checkout/checkout_request_builder.py b/msgraph_beta/generated/drives/item/items/item/checkout/checkout_request_builder.py index 7cf8dba5127..c31c4a66edb 100644 --- a/msgraph_beta/generated/drives/item/items/item/checkout/checkout_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/checkout/checkout_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CheckoutRequestBuilderPostRequestConfiguration] = None) -> None: """ - Check out a driveItem resource to prevent others from editing the document, and prevent your changes from being visible until the documented is checked in. This API is available in the following national cloud deployments. + Check out a driveItem resource to prevent others from editing the document, and prevent your changes from being visible until the documented is checked in. 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/driveitem-checkout?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[CheckoutRequestBuilderPostRe def to_post_request_information(self,request_configuration: Optional[CheckoutRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Check out a driveItem resource to prevent others from editing the document, and prevent your changes from being visible until the documented is checked in. This API is available in the following national cloud deployments. + Check out a driveItem resource to prevent others from editing the document, and prevent your changes from being visible until the documented is checked in. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[CheckoutReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CheckoutRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/children/children_request_builder.py b/msgraph_beta/generated/drives/item/items/item/children/children_request_builder.py index 275502eda78..d13358c6b34 100644 --- a/msgraph_beta/generated/drives/item/items/item/children/children_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/children/children_request_builder.py @@ -45,7 +45,7 @@ def by_drive_item_id1(self,drive_item_id1: str) -> DriveItemItemRequestBuilder: async def get(self,request_configuration: Optional[ChildrenRequestBuilderGetRequestConfiguration] = None) -> Optional[DriveItemCollectionResponse]: """ - Return a collection of DriveItems in the children relationship of a DriveItem. DriveItems with a non-null folder or package facet can have one or more child DriveItems. This API is available in the following national cloud deployments. + Return a collection of DriveItems in the children relationship of a DriveItem. DriveItems with a non-null folder or package facet can have one or more child DriveItems. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItemCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/driveitem-list-children?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[DriveItem] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ChildrenRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Return a collection of DriveItems in the children relationship of a DriveItem. DriveItems with a non-null folder or package facet can have one or more child DriveItems. This API is available in the following national cloud deployments. + Return a collection of DriveItems in the children relationship of a DriveItem. DriveItems with a non-null folder or package facet can have one or more child DriveItems. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[ChildrenRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DriveItem] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[DriveItem] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ChildrenRequestBuilderGetQueryParameters(): """ - Return a collection of DriveItems in the children relationship of a DriveItem. DriveItems with a non-null folder or package facet can have one or more child DriveItems. This API is available in the following national cloud deployments. + Return a collection of DriveItems in the children relationship of a DriveItem. DriveItems with a non-null folder or package facet can have one or more child DriveItems. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/children/item/content/content_request_builder.py b/msgraph_beta/generated/drives/item/items/item/children/item/content/content_request_builder.py index 75e41027483..94fe46b274b 100644 --- a/msgraph_beta/generated/drives/item/items/item/children/item/content/content_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/children/item/content/content_request_builder.py @@ -83,7 +83,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -102,7 +102,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/children/item/drive_item_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/children/item/drive_item_item_request_builder.py index 0e08893120b..6d17bd40da2 100644 --- a/msgraph_beta/generated/drives/item/items/item/children/item/drive_item_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/children/item/drive_item_item_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveItemIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveItemItemRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/content/content_request_builder.py b/msgraph_beta/generated/drives/item/items/item/content/content_request_builder.py index 93aed17be9a..0a52efdd9c8 100644 --- a/msgraph_beta/generated/drives/item/items/item/content/content_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/copy/copy_request_builder.py b/msgraph_beta/generated/drives/item/items/item/copy/copy_request_builder.py index f44fa9282e1..f0d06718b9a 100644 --- a/msgraph_beta/generated/drives/item/items/item/copy/copy_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/copy/copy_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyPostRequestBody] = None, request_configuration: Optional[CopyRequestBuilderPostRequestConfiguration] = None) -> Optional[DriveItem]: """ - Asynchronously creates a copy of an driveItem][item-resource] (including any children), under a new parent item or with a new name. This API is available in the following [national cloud deployments. + Asynchronously creates a copy of an [driveItem][item-resource] (including any children), under a new parent item or with a new name. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyPostRequestBody] = None, request_configur def to_post_request_information(self,body: Optional[CopyPostRequestBody] = None, request_configuration: Optional[CopyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Asynchronously creates a copy of an driveItem][item-resource] (including any children), under a new parent item or with a new name. This API is available in the following [national cloud deployments. + Asynchronously creates a copy of an [driveItem][item-resource] (including any children), under a new parent item or with a new name. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/create_link/create_link_request_builder.py b/msgraph_beta/generated/drives/item/items/item/create_link/create_link_request_builder.py index 87c3afc138b..4737a118616 100644 --- a/msgraph_beta/generated/drives/item/items/item/create_link/create_link_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/create_link/create_link_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateLinkPostRequestBody] = None, request_configuration: Optional[CreateLinkRequestBuilderPostRequestConfiguration] = None) -> Optional[Permission]: """ - You can use createLink action to share a driveItem via a sharing link. The createLink action will create a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link will be returned. DriveItem resources inherit sharing permissions from their ancestors. This API is available in the following national cloud deployments. + You can use createLink action to share a driveItem via a sharing link. The createLink action will create a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link will be returned. DriveItem resources inherit sharing permissions from their ancestors. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Permission] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateLinkPostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[CreateLinkPostRequestBody] = None, request_configuration: Optional[CreateLinkRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - You can use createLink action to share a driveItem via a sharing link. The createLink action will create a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link will be returned. DriveItem resources inherit sharing permissions from their ancestors. This API is available in the following national cloud deployments. + You can use createLink action to share a driveItem via a sharing link. The createLink action will create a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link will be returned. DriveItem resources inherit sharing permissions from their ancestors. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateLinkPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/drives/item/items/item/create_upload_session/create_upload_session_request_builder.py index 5b844b99c10..7433a749371 100644 --- a/msgraph_beta/generated/drives/item/items/item/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/create_upload_session/create_upload_session_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/created_by_user/created_by_user_request_builder.py b/msgraph_beta/generated/drives/item/items/item/created_by_user/created_by_user_request_builder.py index 57474bf70bd..8ac6f84af46 100644 --- a/msgraph_beta/generated/drives/item/items/item/created_by_user/created_by_user_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/created_by_user/created_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[CreatedByUse request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreatedByUserRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/drives/item/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py index bd9289cf347..ae1c77f6fa5 100644 --- a/msgraph_beta/generated/drives/item/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/drives/item/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index c2ce8565bee..8ccb6af5046 100644 --- a/msgraph_beta/generated/drives/item/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/delta/delta_request_builder.py b/msgraph_beta/generated/drives/item/items/item/delta/delta_request_builder.py index c3b2ff49a07..54eacd0ab4f 100644 --- a/msgraph_beta/generated/drives/item/items/item/delta/delta_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/delta_with_token/delta_with_token_request_builder.py b/msgraph_beta/generated/drives/item/items/item/delta_with_token/delta_with_token_request_builder.py index 9e7425ff096..5f2c1869d6f 100644 --- a/msgraph_beta/generated/drives/item/items/item/delta_with_token/delta_with_token_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/delta_with_token/delta_with_token_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaWithTok request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaWithTokenRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/drive_item_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/drive_item_item_request_builder.py index 6ceccb48cbb..25ecccba366 100644 --- a/msgraph_beta/generated/drives/item/items/item/drive_item_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/drive_item_item_request_builder.py @@ -59,7 +59,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[DriveItemItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a DriveItem by using its ID or path.Deleting items using this method moves the items to the recycle bin instead of permanently deleting the item. This API is available in the following national cloud deployments. + Delete a DriveItem by using its ID or path.Deleting items using this method moves the items to the recycle bin instead of permanently deleting the item. 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/driveitem-delete?view=graph-rest-1.0 @@ -130,7 +130,7 @@ def get_activities_by_interval_with_start_date_time_with_end_date_time_with_inte async def patch(self,body: Optional[DriveItem] = None, request_configuration: Optional[DriveItemItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[DriveItem]: """ - To move a DriveItem to a new parent item, your app requests to update the parentReference of the DriveItem to move. This is a special case of the Update method.Your app can combine moving an item to a new container and updating other properties of the item into a single request. Items cannot be moved between Drives using this request. This API is available in the following national cloud deployments. + To move a DriveItem to a new parent item, your app requests to update the parentReference of the DriveItem to move. This is a special case of the Update method.Your app can combine moving an item to a new container and updating other properties of the item into a single request. Items cannot be moved between Drives using this request. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -167,7 +167,7 @@ def search_with_q(self,q: Optional[str] = None) -> SearchWithQRequestBuilder: def to_delete_request_information(self,request_configuration: Optional[DriveItemItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a DriveItem by using its ID or path.Deleting items using this method moves the items to the recycle bin instead of permanently deleting the item. This API is available in the following national cloud deployments. + Delete a DriveItem by using its ID or path.Deleting items using this method moves the items to the recycle bin instead of permanently deleting the item. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -178,7 +178,7 @@ def to_delete_request_information(self,request_configuration: Optional[DriveItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DriveItemItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -195,12 +195,12 @@ def to_get_request_information(self,request_configuration: Optional[DriveItemIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DriveItem] = None, request_configuration: Optional[DriveItemItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - To move a DriveItem to a new parent item, your app requests to update the parentReference of the DriveItem to move. This is a special case of the Update method.Your app can combine moving an item to a new container and updating other properties of the item into a single request. Items cannot be moved between Drives using this request. This API is available in the following national cloud deployments. + To move a DriveItem to a new parent item, your app requests to update the parentReference of the DriveItem to move. This is a special case of the Update method.Your app can combine moving an item to a new container and updating other properties of the item into a single request. Items cannot be moved between Drives using this request. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -214,7 +214,7 @@ def to_patch_request_information(self,body: Optional[DriveItem] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/extract_sensitivity_labels/extract_sensitivity_labels_request_builder.py b/msgraph_beta/generated/drives/item/items/item/extract_sensitivity_labels/extract_sensitivity_labels_request_builder.py index 31e9affb2b8..38fd66d71d2 100644 --- a/msgraph_beta/generated/drives/item/items/item/extract_sensitivity_labels/extract_sensitivity_labels_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/extract_sensitivity_labels/extract_sensitivity_labels_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[ExtractSens request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExtractSensitivityLabelsRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/follow/follow_request_builder.py b/msgraph_beta/generated/drives/item/items/item/follow/follow_request_builder.py index 780cc628375..2f86fbdf86a 100644 --- a/msgraph_beta/generated/drives/item/items/item/follow/follow_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/follow/follow_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[FollowRequestBuilderPostRequestConfiguration] = None) -> Optional[DriveItem]: """ - Follow a driveItem. This API is available in the following national cloud deployments. + Follow a driveItem. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] Find more info here: https://learn.microsoft.com/graph/api/driveitem-follow?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[FollowRequestBuilderPostRequ def to_post_request_information(self,request_configuration: Optional[FollowRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Follow a driveItem. This API is available in the following national cloud deployments. + Follow a driveItem. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[FollowReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FollowRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.py b/msgraph_beta/generated/drives/item/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.py index dbc74875a65..c80b2e61a59 100644 --- a/msgraph_beta/generated/drives/item/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.py @@ -68,7 +68,7 @@ def to_get_request_information(self,request_configuration: Optional[GetActivitie request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/invite/invite_request_builder.py b/msgraph_beta/generated/drives/item/items/item/invite/invite_request_builder.py index 44459ea8249..cb9175a2e4a 100644 --- a/msgraph_beta/generated/drives/item/items/item/invite/invite_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/invite/invite_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[InvitePostRequestBody] = None, request_configuration: Optional[InviteRequestBuilderPostRequestConfiguration] = None) -> Optional[InvitePostResponse]: """ - Sends a sharing invitation for a DriveItem.A sharing invitation provides permissions to the recipients and optionally sends an email to the recipients to notify them the item was shared. This API is available in the following national cloud deployments. + Sends a sharing invitation for a DriveItem.A sharing invitation provides permissions to the recipients and optionally sends an email to the recipients to notify them the item was shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InvitePostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[InvitePostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[InvitePostRequestBody] = None, request_configuration: Optional[InviteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Sends a sharing invitation for a DriveItem.A sharing invitation provides permissions to the recipients and optionally sends an email to the recipients to notify them the item was shared. This API is available in the following national cloud deployments. + Sends a sharing invitation for a DriveItem.A sharing invitation provides permissions to the recipients and optionally sends an email to the recipients to notify them the item was shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[InvitePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/last_modified_by_user/last_modified_by_user_request_builder.py b/msgraph_beta/generated/drives/item/items/item/last_modified_by_user/last_modified_by_user_request_builder.py index a9af7dba8c0..cdda995f658 100644 --- a/msgraph_beta/generated/drives/item/items/item/last_modified_by_user/last_modified_by_user_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/last_modified_by_user/last_modified_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[LastModified request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastModifiedByUserRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/drives/item/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py index 08b5b6f31aa..fa6ce4f666e 100644 --- a/msgraph_beta/generated/drives/item/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/drives/item/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index 1e3fa4c89b7..29d36e523b5 100644 --- a/msgraph_beta/generated/drives/item/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/list_item/list_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/list_item/list_item_request_builder.py index 053a24bd708..0730cae11cb 100644 --- a/msgraph_beta/generated/drives/item/items/item/list_item/list_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/list_item/list_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ListItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ListItemRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/permanent_delete/permanent_delete_request_builder.py b/msgraph_beta/generated/drives/item/items/item/permanent_delete/permanent_delete_request_builder.py index 664ef80288e..55944633f51 100644 --- a/msgraph_beta/generated/drives/item/items/item/permanent_delete/permanent_delete_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/permanent_delete/permanent_delete_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[PermanentDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PermanentDeleteRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/permissions/item/grant/grant_request_builder.py b/msgraph_beta/generated/drives/item/items/item/permissions/item/grant/grant_request_builder.py index 04bfcccf517..3d000706f14 100644 --- a/msgraph_beta/generated/drives/item/items/item/permissions/item/grant/grant_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/permissions/item/grant/grant_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GrantPostRequestBody] = None, request_configuration: Optional[GrantRequestBuilderPostRequestConfiguration] = None) -> Optional[GrantPostResponse]: """ - Grant users access to a link represented by a permission][]. This API is available in the following [national cloud deployments. + Grant users access to a link represented by a [permission][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GrantPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GrantPostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[GrantPostRequestBody] = None, request_configuration: Optional[GrantRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Grant users access to a link represented by a permission][]. This API is available in the following [national cloud deployments. + Grant users access to a link represented by a [permission][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GrantPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/permissions/item/permission_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/permissions/item/permission_item_request_builder.py index c97ce5b8336..0cb29e94fd0 100644 --- a/msgraph_beta/generated/drives/item/items/item/permissions/item/permission_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/permissions/item/permission_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[PermissionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove access to a DriveItem. Only sharing permissions that are not inherited can be deleted.The inheritedFrom property must be null. This API is available in the following national cloud deployments. + Remove access to a DriveItem. Only sharing permissions that are not inherited can be deleted.The inheritedFrom property must be null. 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/permission-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[PermissionItemRequestBuild async def get(self,request_configuration: Optional[PermissionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Permission]: """ - Return the effective sharing permission for a particular permission resource. Effective permissions of an item can come from two sources: permissions set directly on the item itself or permissions that are inherited from the item's ancestors. Callers can differentiate if the permission is inherited or not by checking the inheritedFrom property.This property is an ItemReference resource referencing the ancestor that the permission is inherited from. This API is available in the following national cloud deployments. + Return the effective sharing permission for a particular permission resource. Effective permissions of an item can come from two sources: permissions set directly on the item itself or permissions that are inherited from the item's ancestors. Callers can differentiate if the permission is inherited or not by checking the inheritedFrom property.This property is an ItemReference resource referencing the ancestor that the permission is inherited from. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Permission] Find more info here: https://learn.microsoft.com/graph/api/permission-get?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[PermissionItemRequestBuilderG async def patch(self,body: Optional[Permission] = None, request_configuration: Optional[PermissionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Permission]: """ - Update the properties of a sharing permission by patching the permission resource. Only the roles property can be modified this way. This API is available in the following national cloud deployments. + Update the properties of a sharing permission by patching the permission resource. Only the roles property can be modified this way. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Permission] @@ -97,7 +97,7 @@ async def patch(self,body: Optional[Permission] = None, request_configuration: O def to_delete_request_information(self,request_configuration: Optional[PermissionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove access to a DriveItem. Only sharing permissions that are not inherited can be deleted.The inheritedFrom property must be null. This API is available in the following national cloud deployments. + Remove access to a DriveItem. Only sharing permissions that are not inherited can be deleted.The inheritedFrom property must be null. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[Permissio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PermissionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Return the effective sharing permission for a particular permission resource. Effective permissions of an item can come from two sources: permissions set directly on the item itself or permissions that are inherited from the item's ancestors. Callers can differentiate if the permission is inherited or not by checking the inheritedFrom property.This property is an ItemReference resource referencing the ancestor that the permission is inherited from. This API is available in the following national cloud deployments. + Return the effective sharing permission for a particular permission resource. Effective permissions of an item can come from two sources: permissions set directly on the item itself or permissions that are inherited from the item's ancestors. Callers can differentiate if the permission is inherited or not by checking the inheritedFrom property.This property is an ItemReference resource referencing the ancestor that the permission is inherited from. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[PermissionIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Permission] = None, request_configuration: Optional[PermissionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a sharing permission by patching the permission resource. Only the roles property can be modified this way. This API is available in the following national cloud deployments. + Update the properties of a sharing permission by patching the permission resource. Only the roles property can be modified this way. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[Permission] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class PermissionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class PermissionItemRequestBuilderGetQueryParameters(): """ - Return the effective sharing permission for a particular permission resource. Effective permissions of an item can come from two sources: permissions set directly on the item itself or permissions that are inherited from the item's ancestors. Callers can differentiate if the permission is inherited or not by checking the inheritedFrom property.This property is an ItemReference resource referencing the ancestor that the permission is inherited from. This API is available in the following national cloud deployments. + Return the effective sharing permission for a particular permission resource. Effective permissions of an item can come from two sources: permissions set directly on the item itself or permissions that are inherited from the item's ancestors. Callers can differentiate if the permission is inherited or not by checking the inheritedFrom property.This property is an ItemReference resource referencing the ancestor that the permission is inherited from. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/permissions/item/revoke_grants/revoke_grants_request_builder.py b/msgraph_beta/generated/drives/item/items/item/permissions/item/revoke_grants/revoke_grants_request_builder.py index 0ad1d9b8b44..4990769e2c7 100644 --- a/msgraph_beta/generated/drives/item/items/item/permissions/item/revoke_grants/revoke_grants_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/permissions/item/revoke_grants/revoke_grants_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RevokeGrantsPostRequestBody] = None, request_configuration: Optional[RevokeGrantsRequestBuilderPostRequestConfiguration] = None) -> Optional[Permission]: """ - Revoke access to a listItem][] or [driveItem][] granted via a sharing link by removing the specified [recipient][] from the link. This API is available in the following [national cloud deployments. + Revoke access to a [listItem][] or [driveItem][] granted via a sharing link by removing the specified [recipient][] from the link. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Permission] @@ -54,7 +54,7 @@ async def post(self,body: Optional[RevokeGrantsPostRequestBody] = None, request_ def to_post_request_information(self,body: Optional[RevokeGrantsPostRequestBody] = None, request_configuration: Optional[RevokeGrantsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Revoke access to a listItem][] or [driveItem][] granted via a sharing link by removing the specified [recipient][] from the link. This API is available in the following [national cloud deployments. + Revoke access to a [listItem][] or [driveItem][] granted via a sharing link by removing the specified [recipient][] from the link. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[RevokeGrantsPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/permissions/permissions_request_builder.py b/msgraph_beta/generated/drives/item/items/item/permissions/permissions_request_builder.py index 1722b0202b6..00c9044accc 100644 --- a/msgraph_beta/generated/drives/item/items/item/permissions/permissions_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/permissions/permissions_request_builder.py @@ -45,7 +45,7 @@ def by_permission_id(self,permission_id: str) -> PermissionItemRequestBuilder: async def get(self,request_configuration: Optional[PermissionsRequestBuilderGetRequestConfiguration] = None) -> Optional[PermissionCollectionResponse]: """ - List the effective sharing permissions on a driveItem. This API is available in the following national cloud deployments. + List the effective sharing permissions on a driveItem. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/driveitem-list-permissions?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[Permission] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[PermissionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the effective sharing permissions on a driveItem. This API is available in the following national cloud deployments. + List the effective sharing permissions on a driveItem. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PermissionsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Permission] = None, request_configuration: Optional[PermissionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Permission] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PermissionsRequestBuilderGetQueryParameters(): """ - List the effective sharing permissions on a driveItem. This API is available in the following national cloud deployments. + List the effective sharing permissions on a driveItem. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/preview/preview_request_builder.py b/msgraph_beta/generated/drives/item/items/item/preview/preview_request_builder.py index ed0eace108b..79470bd7908 100644 --- a/msgraph_beta/generated/drives/item/items/item/preview/preview_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/preview/preview_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[PreviewPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/restore/restore_request_builder.py b/msgraph_beta/generated/drives/item/items/item/restore/restore_request_builder.py index dbaa9c18a8c..0aa700686eb 100644 --- a/msgraph_beta/generated/drives/item/items/item/restore/restore_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/restore/restore_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RestorePostRequestBody] = None, request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> Optional[DriveItem]: """ - Restore a driveItem that has been deleted and is currently in the recycle bin. This API is available in the following national cloud deployments. + Restore a driveItem that has been deleted and is currently in the recycle bin. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] @@ -54,7 +54,7 @@ async def post(self,body: Optional[RestorePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[RestorePostRequestBody] = None, request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a driveItem that has been deleted and is currently in the recycle bin. This API is available in the following national cloud deployments. + Restore a driveItem that has been deleted and is currently in the recycle bin. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[RestorePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/retention_label/retention_label_request_builder.py b/msgraph_beta/generated/drives/item/items/item/retention_label/retention_label_request_builder.py index e869457cabd..99be65110f0 100644 --- a/msgraph_beta/generated/drives/item/items/item/retention_label/retention_label_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/retention_label/retention_label_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RetentionLabelRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a retention label from a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. This API is available in the following national cloud deployments. + Remove a retention label from a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. 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/driveitem-removeretentionlabel?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[RetentionLabelRequestBuilderG async def patch(self,body: Optional[ItemRetentionLabel] = None, request_configuration: Optional[RetentionLabelRequestBuilderPatchRequestConfiguration] = None) -> Optional[ItemRetentionLabel]: """ - Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. Conflict resolution is based on the following principle: explicit wins over implicit. For example, if a file in the folder has already been explicitly tagged with a label, that file doesn't inherit the label of the parent. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. This API is available in the following national cloud deployments. + Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemRetentionLabel] @@ -94,7 +94,7 @@ async def patch(self,body: Optional[ItemRetentionLabel] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[RetentionLabelRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a retention label from a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. This API is available in the following national cloud deployments. + Remove a retention label from a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Retention request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RetentionLabelRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[RetentionLab request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemRetentionLabel] = None, request_configuration: Optional[RetentionLabelRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. Conflict resolution is based on the following principle: explicit wins over implicit. For example, if a file in the folder has already been explicitly tagged with a label, that file doesn't inherit the label of the parent. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. This API is available in the following national cloud deployments. + Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ItemRetentionLabel] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/search_with_q/search_with_q_request_builder.py b/msgraph_beta/generated/drives/item/items/item/search_with_q/search_with_q_request_builder.py index 634e40a6262..2e97e9d1501 100644 --- a/msgraph_beta/generated/drives/item/items/item/search_with_q/search_with_q_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/search_with_q/search_with_q_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[SearchWithQR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SearchWithQRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/subscriptions/item/reauthorize/reauthorize_request_builder.py b/msgraph_beta/generated/drives/item/items/item/subscriptions/item/reauthorize/reauthorize_request_builder.py index a7e17fa261a..709dfbc32c7 100644 --- a/msgraph_beta/generated/drives/item/items/item/subscriptions/item/reauthorize/reauthorize_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/subscriptions/item/reauthorize/reauthorize_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ReauthorizeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reauthorize a subscription when you receive a reauthorizationRequired challenge. This API is available in the following national cloud deployments. + Reauthorize a subscription when you receive a reauthorizationRequired challenge. 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/subscription-reauthorize?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ReauthorizeRequestBuilderPos def to_post_request_information(self,request_configuration: Optional[ReauthorizeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reauthorize a subscription when you receive a reauthorizationRequired challenge. This API is available in the following national cloud deployments. + Reauthorize a subscription when you receive a reauthorizationRequired challenge. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[Reauthorize request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReauthorizeRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/subscriptions/item/subscription_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/subscriptions/item/subscription_item_request_builder.py index 88dd9aec94a..face0b59af9 100644 --- a/msgraph_beta/generated/drives/item/items/item/subscriptions/item/subscription_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/subscriptions/item/subscription_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Subscript request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SubscriptionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[Subscription request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Subscription] = None, request_configuration: Optional[SubscriptionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Subscription] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/subscriptions/subscriptions_request_builder.py b/msgraph_beta/generated/drives/item/items/item/subscriptions/subscriptions_request_builder.py index 7b7c3250e63..467c9e27a2f 100644 --- a/msgraph_beta/generated/drives/item/items/item/subscriptions/subscriptions_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/subscriptions/subscriptions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Subscription request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Subscription] = None, request_configuration: Optional[SubscriptionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Subscription] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/thumbnails/item/thumbnail_set_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/thumbnails/item/thumbnail_set_item_request_builder.py index 93e9f90ee9f..97c85f82eea 100644 --- a/msgraph_beta/generated/drives/item/items/item/thumbnails/item/thumbnail_set_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/thumbnails/item/thumbnail_set_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ThumbnailSetItemRequestBui async def get(self,request_configuration: Optional[ThumbnailSetItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ThumbnailSet]: """ - Collection containing [ThumbnailSet][] objects associated with the item. For more info, see [getting thumbnails][]. Read-only. Nullable. + Collection of [thumbnailSet][] objects associated with the item. For more information, see [getting thumbnails][]. Read-only. Nullable. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ThumbnailSet] """ @@ -103,12 +103,12 @@ def to_delete_request_information(self,request_configuration: Optional[Thumbnail request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ThumbnailSetItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Collection containing [ThumbnailSet][] objects associated with the item. For more info, see [getting thumbnails][]. Read-only. Nullable. + Collection of [thumbnailSet][] objects associated with the item. For more information, see [getting thumbnails][]. Read-only. Nullable. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ThumbnailSet request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ThumbnailSet] = None, request_configuration: Optional[ThumbnailSetItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ThumbnailSet] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -166,7 +166,7 @@ class ThumbnailSetItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class ThumbnailSetItemRequestBuilderGetQueryParameters(): """ - Collection containing [ThumbnailSet][] objects associated with the item. For more info, see [getting thumbnails][]. Read-only. Nullable. + Collection of [thumbnailSet][] objects associated with the item. For more information, see [getting thumbnails][]. Read-only. Nullable. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/thumbnails/thumbnails_request_builder.py b/msgraph_beta/generated/drives/item/items/item/thumbnails/thumbnails_request_builder.py index 8526a735c7d..bb112cc1d78 100644 --- a/msgraph_beta/generated/drives/item/items/item/thumbnails/thumbnails_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/thumbnails/thumbnails_request_builder.py @@ -45,7 +45,7 @@ def by_thumbnail_set_id(self,thumbnail_set_id: str) -> ThumbnailSetItemRequestBu async def get(self,request_configuration: Optional[ThumbnailsRequestBuilderGetRequestConfiguration] = None) -> Optional[ThumbnailSetCollectionResponse]: """ - Retrieve a collection of ThumbnailSet resources for a DriveItem resource. A DriveItem can be represented by zero or more ThumbnailSet resources.Each thumbnailSet can have one or more thumbnail objects, which are images that represent the item.For example, a thumbnailSet may include thumbnail objects, such as common ones including small, medium, or large. There are many ways to work with thumbnails on OneDrive.Here are the most common ones: This API is available in the following national cloud deployments. + Retrieve a collection of ThumbnailSet resources for a DriveItem resource. A DriveItem can be represented by zero or more ThumbnailSet resources.Each thumbnailSet can have one or more thumbnail objects, which are images that represent the item.For example, a thumbnailSet may include thumbnail objects, such as common ones including small, medium, or large. There are many ways to work with thumbnails on OneDrive.Here are the most common ones: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ThumbnailSetCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/driveitem-list-thumbnails?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ThumbnailSet] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[ThumbnailsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a collection of ThumbnailSet resources for a DriveItem resource. A DriveItem can be represented by zero or more ThumbnailSet resources.Each thumbnailSet can have one or more thumbnail objects, which are images that represent the item.For example, a thumbnailSet may include thumbnail objects, such as common ones including small, medium, or large. There are many ways to work with thumbnails on OneDrive.Here are the most common ones: This API is available in the following national cloud deployments. + Retrieve a collection of ThumbnailSet resources for a DriveItem resource. A DriveItem can be represented by zero or more ThumbnailSet resources.Each thumbnailSet can have one or more thumbnail objects, which are images that represent the item.For example, a thumbnailSet may include thumbnail objects, such as common ones including small, medium, or large. There are many ways to work with thumbnails on OneDrive.Here are the most common ones: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ThumbnailsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ThumbnailSet] = None, request_configuration: Optional[ThumbnailsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ThumbnailSet] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ThumbnailsRequestBuilderGetQueryParameters(): """ - Retrieve a collection of ThumbnailSet resources for a DriveItem resource. A DriveItem can be represented by zero or more ThumbnailSet resources.Each thumbnailSet can have one or more thumbnail objects, which are images that represent the item.For example, a thumbnailSet may include thumbnail objects, such as common ones including small, medium, or large. There are many ways to work with thumbnails on OneDrive.Here are the most common ones: This API is available in the following national cloud deployments. + Retrieve a collection of ThumbnailSet resources for a DriveItem resource. A DriveItem can be represented by zero or more ThumbnailSet resources.Each thumbnailSet can have one or more thumbnail objects, which are images that represent the item.For example, a thumbnailSet may include thumbnail objects, such as common ones including small, medium, or large. There are many ways to work with thumbnails on OneDrive.Here are the most common ones: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/unfollow/unfollow_request_builder.py b/msgraph_beta/generated/drives/item/items/item/unfollow/unfollow_request_builder.py index 38f8ba980ce..47d4a1b82ad 100644 --- a/msgraph_beta/generated/drives/item/items/item/unfollow/unfollow_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/unfollow/unfollow_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UnfollowRequestBuilderPostRequestConfiguration] = None) -> None: """ - Unfollow a driveItem. This API is available in the following national cloud deployments. + Unfollow a driveItem. 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/driveitem-unfollow?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UnfollowRequestBuilderPostRe def to_post_request_information(self,request_configuration: Optional[UnfollowRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Unfollow a driveItem. This API is available in the following national cloud deployments. + Unfollow a driveItem. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UnfollowReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnfollowRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/validate_permission/validate_permission_request_builder.py b/msgraph_beta/generated/drives/item/items/item/validate_permission/validate_permission_request_builder.py index 3de08819985..8129be42563 100644 --- a/msgraph_beta/generated/drives/item/items/item/validate_permission/validate_permission_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/validate_permission/validate_permission_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ValidatePermissionPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/versions/item/content/content_request_builder.py b/msgraph_beta/generated/drives/item/items/item/versions/item/content/content_request_builder.py index d76ff5f8524..787c903b094 100644 --- a/msgraph_beta/generated/drives/item/items/item/versions/item/content/content_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/versions/item/content/content_request_builder.py @@ -83,7 +83,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -102,7 +102,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/versions/item/drive_item_version_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/versions/item/drive_item_version_item_request_builder.py index 35e92e3e0ac..e2c475b1ac1 100644 --- a/msgraph_beta/generated/drives/item/items/item/versions/item/drive_item_version_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/versions/item/drive_item_version_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[DriveItemVersionItemReques async def get(self,request_configuration: Optional[DriveItemVersionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DriveItemVersion]: """ - Retrieve the metadata for a specific version of a DriveItem. This API is available in the following national cloud deployments. + Retrieve the metadata for a specific version of a DriveItem. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItemVersion] Find more info here: https://learn.microsoft.com/graph/api/driveitemversion-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[DriveItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DriveItemVersionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the metadata for a specific version of a DriveItem. This API is available in the following national cloud deployments. + Retrieve the metadata for a specific version of a DriveItem. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveItemVer request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DriveItemVersion] = None, request_configuration: Optional[DriveItemVersionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[DriveItemVersion] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class DriveItemVersionItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class DriveItemVersionItemRequestBuilderGetQueryParameters(): """ - Retrieve the metadata for a specific version of a DriveItem. This API is available in the following national cloud deployments. + Retrieve the metadata for a specific version of a DriveItem. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/versions/item/restore_version/restore_version_request_builder.py b/msgraph_beta/generated/drives/item/items/item/versions/item/restore_version/restore_version_request_builder.py index 3a7ffe0a09c..1b96ec3d42e 100644 --- a/msgraph_beta/generated/drives/item/items/item/versions/item/restore_version/restore_version_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/versions/item/restore_version/restore_version_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RestoreVersionRequestBuilderPostRequestConfiguration] = None) -> None: """ - Restore a previous version of a DriveItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the file. This API is available in the following national cloud deployments. + Restore a previous version of a DriveItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the file. 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/driveitemversion-restore?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RestoreVersionRequestBuilder def to_post_request_information(self,request_configuration: Optional[RestoreVersionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a previous version of a DriveItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the file. This API is available in the following national cloud deployments. + Restore a previous version of a DriveItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the file. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RestoreVers request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RestoreVersionRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/versions/versions_request_builder.py b/msgraph_beta/generated/drives/item/items/item/versions/versions_request_builder.py index 87226b3f7eb..258c9354f5d 100644 --- a/msgraph_beta/generated/drives/item/items/item/versions/versions_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/versions/versions_request_builder.py @@ -45,7 +45,7 @@ def by_drive_item_version_id(self,drive_item_version_id: str) -> DriveItemVersio async def get(self,request_configuration: Optional[VersionsRequestBuilderGetRequestConfiguration] = None) -> Optional[DriveItemVersionCollectionResponse]: """ - OneDrive and SharePoint can be configured to retain the history for files.Depending on the service and configuration, a new version can be created for each edit, each time the file is saved, manually, or never. Previous versions of a document may be retained for a finite period of time depending on admin settings that may be unique per user or location. This API is available in the following national cloud deployments. + OneDrive and SharePoint can be configured to retain the history for files.Depending on the service and configuration, a new version can be created for each edit, each time the file is saved, manually, or never. Previous versions of a document may be retained for a finite period of time depending on admin settings that may be unique per user or location. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItemVersionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/driveitem-list-versions?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[DriveItemVersion] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[VersionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - OneDrive and SharePoint can be configured to retain the history for files.Depending on the service and configuration, a new version can be created for each edit, each time the file is saved, manually, or never. Previous versions of a document may be retained for a finite period of time depending on admin settings that may be unique per user or location. This API is available in the following national cloud deployments. + OneDrive and SharePoint can be configured to retain the history for files.Depending on the service and configuration, a new version can be created for each edit, each time the file is saved, manually, or never. Previous versions of a document may be retained for a finite period of time depending on admin settings that may be unique per user or location. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[VersionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DriveItemVersion] = None, request_configuration: Optional[VersionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[DriveItemVersion] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class VersionsRequestBuilderGetQueryParameters(): """ - OneDrive and SharePoint can be configured to retain the history for files.Depending on the service and configuration, a new version can be created for each edit, each time the file is saved, manually, or never. Previous versions of a document may be retained for a finite period of time depending on admin settings that may be unique per user or location. This API is available in the following national cloud deployments. + OneDrive and SharePoint can be configured to retain the history for files.Depending on the service and configuration, a new version can be created for each edit, each time the file is saved, manually, or never. Previous versions of a document may be retained for a finite period of time depending on admin settings that may be unique per user or location. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/application/application_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/application/application_request_builder.py index 661b80373f7..3c888ee6252 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/application/application_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/application/application_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ApplicationRequestBuilderD async def get(self,request_configuration: Optional[ApplicationRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookApplication]: """ - Retrieve the properties and relationships of a workbookApplication object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a workbookApplication object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookApplication] Find more info here: https://learn.microsoft.com/graph/api/workbookapplication-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Applicati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ApplicationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a workbookApplication object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a workbookApplication object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ApplicationR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookApplication] = None, request_configuration: Optional[ApplicationRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[WorkbookApplication] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ApplicationRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurati @dataclass class ApplicationRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a workbookApplication object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a workbookApplication object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/application/calculate/calculate_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/application/calculate/calculate_request_builder.py index 7b4069fd03c..51d6d16f435 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/application/calculate/calculate_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/application/calculate/calculate_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CalculatePostRequestBody] = None, request_configuration: Optional[CalculateRequestBuilderPostRequestConfiguration] = None) -> None: """ - Recalculate all currently opened workbooks in Excel. This API is available in the following national cloud deployments. + Recalculate all currently opened workbooks in Excel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CalculatePostRequestBody] = None, request_con def to_post_request_information(self,body: Optional[CalculatePostRequestBody] = None, request_configuration: Optional[CalculateRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Recalculate all currently opened workbooks in Excel. This API is available in the following national cloud deployments. + Recalculate all currently opened workbooks in Excel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CalculatePostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/close_session/close_session_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/close_session/close_session_request_builder.py index d07603de310..473dce254d4 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/close_session/close_session_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/close_session/close_session_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CloseSessionRequestBuilderPostRequestConfiguration] = None) -> None: """ - Use this API to close an existing workbook session. This API is available in the following national cloud deployments. + Use this API to close an existing workbook session. 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/workbook-closesession?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[CloseSessionRequestBuilderPo def to_post_request_information(self,request_configuration: Optional[CloseSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to close an existing workbook session. This API is available in the following national cloud deployments. + Use this API to close an existing workbook session. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[CloseSessio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CloseSessionRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/comments_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/comments_request_builder.py index 4e03186c953..112f8061987 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/comments_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/comments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[CommentsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WorkbookComment] = None, request_configuration: Optional[CommentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WorkbookComment] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/changes/changes_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/changes/changes_request_builder.py index 830165ba879..42dfe69b740 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/changes/changes_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/changes/changes_request_builder.py @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[ChangesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WorkbookDocumentTaskChange] = None, request_configuration: Optional[ChangesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -134,7 +134,7 @@ def to_post_request_information(self,body: Optional[WorkbookDocumentTaskChange] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/changes/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/changes/count/count_request_builder.py index b6e4861c567..d52a5f3f27a 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/changes/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/changes/count/count_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[CountRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/changes/item/workbook_document_task_change_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/changes/item/workbook_document_task_change_item_request_builder.py index e73fa411a83..16307885dfe 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/changes/item/workbook_document_task_change_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/changes/item/workbook_document_task_change_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[WorkbookD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkbookDocumentTaskChangeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[WorkbookDocu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookDocumentTaskChange] = None, request_configuration: Optional[WorkbookDocumentTaskChangeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WorkbookDocumentTaskChange] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/changes/item_at_with_index/item_at_with_index_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/changes/item_at_with_index/item_at_with_index_request_builder.py index 7df759460d2..1bca53ac237 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/changes/item_at_with_index/item_at_with_index_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/changes/item_at_with_index/item_at_with_index_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemAtWithIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ItemAtWithIndexRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/comment_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/comment_request_builder.py index 70280ec1065..129d6211f5f 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/comment_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/comment_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[CommentRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CommentRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CommentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookComment] = None, request_configuration: Optional[CommentRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookComment] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/changes/changes_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/changes/changes_request_builder.py index 1427e5ec78a..2bd85cfb935 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/changes/changes_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/changes/changes_request_builder.py @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[ChangesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WorkbookDocumentTaskChange] = None, request_configuration: Optional[ChangesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -134,7 +134,7 @@ def to_post_request_information(self,body: Optional[WorkbookDocumentTaskChange] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/changes/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/changes/count/count_request_builder.py index e7c229fb7db..97be1423c96 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/changes/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/changes/count/count_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[CountRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/changes/item/workbook_document_task_change_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/changes/item/workbook_document_task_change_item_request_builder.py index b5786eeb113..03bacdca847 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/changes/item/workbook_document_task_change_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/changes/item/workbook_document_task_change_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[WorkbookD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkbookDocumentTaskChangeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[WorkbookDocu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookDocumentTaskChange] = None, request_configuration: Optional[WorkbookDocumentTaskChangeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WorkbookDocumentTaskChange] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/changes/item_at_with_index/item_at_with_index_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/changes/item_at_with_index/item_at_with_index_request_builder.py index 52c6ef7e320..b89a8566ebf 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/changes/item_at_with_index/item_at_with_index_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/changes/item_at_with_index/item_at_with_index_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemAtWithIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ItemAtWithIndexRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/task_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/task_request_builder.py index cc6809afa82..bb17b5c51bd 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/task_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/task_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[TaskReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TaskRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookDocumentTask] = None, request_configuration: Optional[TaskRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookDocumentTask] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/task_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/task_request_builder.py index 1056a23c9e1..b6a53fb39f8 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/task_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/task_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[TaskReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TaskRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookDocumentTask] = None, request_configuration: Optional[TaskRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[WorkbookDocumentTask] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/workbook_comment_reply_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/workbook_comment_reply_item_request_builder.py index c7f268ac2d1..afb6883bbbe 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/workbook_comment_reply_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/item/workbook_comment_reply_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[WorkbookC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkbookCommentReplyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[WorkbookComm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookCommentReply] = None, request_configuration: Optional[WorkbookCommentReplyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookCommentReply] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/replies_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/replies_request_builder.py index 635843551ad..cc28f194c86 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/replies_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/replies/replies_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RepliesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WorkbookCommentReply] = None, request_configuration: Optional[RepliesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WorkbookCommentReply] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/changes/changes_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/changes/changes_request_builder.py index 47555094be4..a66b1e9e441 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/changes/changes_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/changes/changes_request_builder.py @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[ChangesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WorkbookDocumentTaskChange] = None, request_configuration: Optional[ChangesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -134,7 +134,7 @@ def to_post_request_information(self,body: Optional[WorkbookDocumentTaskChange] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/changes/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/changes/count/count_request_builder.py index 24970166eb9..29abf335eeb 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/changes/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/changes/count/count_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[CountRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/changes/item/workbook_document_task_change_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/changes/item/workbook_document_task_change_item_request_builder.py index 646c3878a34..9226e5d6c35 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/changes/item/workbook_document_task_change_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/changes/item/workbook_document_task_change_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[WorkbookD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkbookDocumentTaskChangeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[WorkbookDocu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookDocumentTaskChange] = None, request_configuration: Optional[WorkbookDocumentTaskChangeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WorkbookDocumentTaskChange] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/changes/item_at_with_index/item_at_with_index_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/changes/item_at_with_index/item_at_with_index_request_builder.py index f3b2ada7cdd..3c0e7f5fb3d 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/changes/item_at_with_index/item_at_with_index_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/changes/item_at_with_index/item_at_with_index_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemAtWithIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ItemAtWithIndexRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/comment_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/comment_request_builder.py index 04c8877f350..31dc250994a 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/comment_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/comment_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[CommentRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CommentRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CommentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookComment] = None, request_configuration: Optional[CommentRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookComment] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/changes/changes_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/changes/changes_request_builder.py index 2d020410bec..58a047a846a 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/changes/changes_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/changes/changes_request_builder.py @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[ChangesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WorkbookDocumentTaskChange] = None, request_configuration: Optional[ChangesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -134,7 +134,7 @@ def to_post_request_information(self,body: Optional[WorkbookDocumentTaskChange] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/changes/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/changes/count/count_request_builder.py index 97613b1ebf1..7afd36b34a4 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/changes/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/changes/count/count_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[CountRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/changes/item/workbook_document_task_change_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/changes/item/workbook_document_task_change_item_request_builder.py index dbc5dd66722..c7c6eb2c8ce 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/changes/item/workbook_document_task_change_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/changes/item/workbook_document_task_change_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[WorkbookD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkbookDocumentTaskChangeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[WorkbookDocu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookDocumentTaskChange] = None, request_configuration: Optional[WorkbookDocumentTaskChangeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WorkbookDocumentTaskChange] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/changes/item_at_with_index/item_at_with_index_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/changes/item_at_with_index/item_at_with_index_request_builder.py index 4b4e053e1fe..2285616aa8d 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/changes/item_at_with_index/item_at_with_index_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/changes/item_at_with_index/item_at_with_index_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemAtWithIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ItemAtWithIndexRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/task_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/task_request_builder.py index 7dc2079e6d2..66188e36725 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/task_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/task_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[TaskReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TaskRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookDocumentTask] = None, request_configuration: Optional[TaskRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookDocumentTask] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/workbook_comment_reply_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/workbook_comment_reply_item_request_builder.py index 5867ac372a1..72e5febfac4 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/workbook_comment_reply_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/workbook_comment_reply_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[WorkbookC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkbookCommentReplyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[WorkbookComm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookCommentReply] = None, request_configuration: Optional[WorkbookCommentReplyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookCommentReply] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/replies_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/replies_request_builder.py index 8e97c0c39bb..5f64369d062 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/replies_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/replies_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RepliesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WorkbookCommentReply] = None, request_configuration: Optional[RepliesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WorkbookCommentReply] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/task_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/task_request_builder.py index e3df76b03fe..24cd0328522 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/task_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/task/task_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[TaskReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TaskRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookDocumentTask] = None, request_configuration: Optional[TaskRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[WorkbookDocumentTask] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/workbook_comment_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/workbook_comment_item_request_builder.py index 14df9e1c169..97a99d757c7 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/workbook_comment_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/comments/item/workbook_comment_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[WorkbookC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkbookCommentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[WorkbookComm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookComment] = None, request_configuration: Optional[WorkbookCommentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[WorkbookComment] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/create_session/create_session_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/create_session/create_session_request_builder.py index 33cf8729c62..d8c332d5792 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/create_session/create_session_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/create_session/create_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateSessionPostRequestBody] = None, request_configuration: Optional[CreateSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[WorkbookSessionInfo]: """ - Create a new workbook session. Excel APIs can be called in one of two modes: To represent the session in the API, use the workbook-session-id: {session-id} header. In some cases, creating a new session requires an indeterminate time to complete. Microsoft Graph also provides a long running operations pattern. This pattern provides a way to poll for creation status updates, without waiting for the creation to complete. The following are the steps: This API is available in the following national cloud deployments. + Create a new workbook session. Excel APIs can be called in one of two modes: To represent the session in the API, use the workbook-session-id: {session-id} header. In some cases, creating a new session requires an indeterminate time to complete. Microsoft Graph also provides a long running operations pattern. This pattern provides a way to poll for creation status updates, without waiting for the creation to complete. The following are the steps: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookSessionInfo] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateSessionPostRequestBody] = None, request def to_post_request_information(self,body: Optional[CreateSessionPostRequestBody] = None, request_configuration: Optional[CreateSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new workbook session. Excel APIs can be called in one of two modes: To represent the session in the API, use the workbook-session-id: {session-id} header. In some cases, creating a new session requires an indeterminate time to complete. Microsoft Graph also provides a long running operations pattern. This pattern provides a way to poll for creation status updates, without waiting for the creation to complete. The following are the steps: This API is available in the following national cloud deployments. + Create a new workbook session. Excel APIs can be called in one of two modes: To represent the session in the API, use the workbook-session-id: {session-id} header. In some cases, creating a new session requires an indeterminate time to complete. Microsoft Graph also provides a long running operations pattern. This pattern provides a way to poll for creation status updates, without waiting for the creation to complete. The following are the steps: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateSessionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/abs/abs_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/abs/abs_request_builder.py index 8c4de956cec..e5824413196 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/abs/abs_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/abs/abs_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AbsPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/accr_int/accr_int_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/accr_int/accr_int_request_builder.py index 3ddd93e9b6a..272c3f0a1f5 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/accr_int/accr_int_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/accr_int/accr_int_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AccrIntPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/accr_int_m/accr_int_m_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/accr_int_m/accr_int_m_request_builder.py index 795e5dcf424..f8d2b358c43 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/accr_int_m/accr_int_m_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/accr_int_m/accr_int_m_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AccrIntMPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/acos/acos_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/acos/acos_request_builder.py index 3f446a65b3f..1d36f49460f 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/acos/acos_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/acos/acos_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AcosPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/acosh/acosh_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/acosh/acosh_request_builder.py index 14f788e174a..5878b30da63 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/acosh/acosh_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/acosh/acosh_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AcoshPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/acot/acot_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/acot/acot_request_builder.py index f90067d8dc2..067b4462a05 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/acot/acot_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/acot/acot_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AcotPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/acoth/acoth_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/acoth/acoth_request_builder.py index 00867eb8cbf..c51d1a3e5cd 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/acoth/acoth_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/acoth/acoth_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AcothPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/amor_degrc/amor_degrc_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/amor_degrc/amor_degrc_request_builder.py index db2b5af0dca..b29d6943e3c 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/amor_degrc/amor_degrc_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/amor_degrc/amor_degrc_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AmorDegrcPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/amor_linc/amor_linc_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/amor_linc/amor_linc_request_builder.py index 2edff230a63..261f9e91a63 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/amor_linc/amor_linc_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/amor_linc/amor_linc_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AmorLincPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/and_/and_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/and_/and_request_builder.py index ea1dcf65b08..73435677803 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/and_/and_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/and_/and_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AndPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/arabic/arabic_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/arabic/arabic_request_builder.py index bdbe73b8ccb..201683ef7f9 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/arabic/arabic_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/arabic/arabic_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ArabicPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/areas/areas_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/areas/areas_request_builder.py index 41083ba017d..55f45bd595b 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/areas/areas_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/areas/areas_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AreasPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/asc/asc_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/asc/asc_request_builder.py index afe7124ef51..dea8ecfbf24 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/asc/asc_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/asc/asc_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AscPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/asin/asin_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/asin/asin_request_builder.py index 8db9b5ab7f4..14c6fecf5ae 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/asin/asin_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/asin/asin_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AsinPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/asinh/asinh_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/asinh/asinh_request_builder.py index 4f31c8459d9..11d6fbb1f44 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/asinh/asinh_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/asinh/asinh_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AsinhPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/atan/atan_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/atan/atan_request_builder.py index 41faeefdecc..71de606064c 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/atan/atan_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/atan/atan_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AtanPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/atan2/atan2_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/atan2/atan2_request_builder.py index ee15be3a6d0..f1ee618559b 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/atan2/atan2_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/atan2/atan2_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Atan2PostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/atanh/atanh_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/atanh/atanh_request_builder.py index 2611fde7a7d..6b847d89570 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/atanh/atanh_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/atanh/atanh_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AtanhPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/ave_dev/ave_dev_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/ave_dev/ave_dev_request_builder.py index 0783f8c606a..f7ab66afffd 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/ave_dev/ave_dev_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/ave_dev/ave_dev_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AveDevPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/average/average_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/average/average_request_builder.py index fdad6f04cd8..17caf2b2d79 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/average/average_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/average/average_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AveragePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/average_a/average_a_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/average_a/average_a_request_builder.py index becf836548b..78ccd52f067 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/average_a/average_a_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/average_a/average_a_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AverageAPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/average_if/average_if_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/average_if/average_if_request_builder.py index 1f6aba9b11c..add28972854 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/average_if/average_if_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/average_if/average_if_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AverageIfPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/average_ifs/average_ifs_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/average_ifs/average_ifs_request_builder.py index 3c863ca9ee2..e65f7b65895 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/average_ifs/average_ifs_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/average_ifs/average_ifs_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AverageIfsPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/baht_text/baht_text_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/baht_text/baht_text_request_builder.py index 262255a3cc1..c5ed8558b3e 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/baht_text/baht_text_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/baht_text/baht_text_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[BahtTextPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/base/base_request_builder_.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/base/base_request_builder_.py index bb90c88cf55..47b2e36070f 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/base/base_request_builder_.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/base/base_request_builder_.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[BasePostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/bessel_i/bessel_i_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/bessel_i/bessel_i_request_builder.py index 2e82687686e..8bd6e524ff9 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/bessel_i/bessel_i_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/bessel_i/bessel_i_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[BesselIPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/bessel_j/bessel_j_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/bessel_j/bessel_j_request_builder.py index 140503a2d11..fd6b351d6c5 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/bessel_j/bessel_j_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/bessel_j/bessel_j_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[BesselJPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/bessel_k/bessel_k_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/bessel_k/bessel_k_request_builder.py index 7738f972029..473266dbdb3 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/bessel_k/bessel_k_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/bessel_k/bessel_k_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[BesselKPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/bessel_y/bessel_y_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/bessel_y/bessel_y_request_builder.py index 3575a845aa3..a9973d7feea 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/bessel_y/bessel_y_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/bessel_y/bessel_y_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[BesselYPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/beta_dist/beta_dist_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/beta_dist/beta_dist_request_builder.py index dc4e55b80f7..f05bf1b398e 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/beta_dist/beta_dist_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/beta_dist/beta_dist_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Beta_DistPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/beta_inv/beta_inv_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/beta_inv/beta_inv_request_builder.py index 488f342439f..e831ad5660b 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/beta_inv/beta_inv_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/beta_inv/beta_inv_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Beta_InvPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/bin2_dec/bin2_dec_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/bin2_dec/bin2_dec_request_builder.py index 315f182c10e..a66e9468cfa 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/bin2_dec/bin2_dec_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/bin2_dec/bin2_dec_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Bin2DecPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/bin2_hex/bin2_hex_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/bin2_hex/bin2_hex_request_builder.py index aad351aabed..5100b1246d1 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/bin2_hex/bin2_hex_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/bin2_hex/bin2_hex_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Bin2HexPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/bin2_oct/bin2_oct_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/bin2_oct/bin2_oct_request_builder.py index 3de8edbd561..8cc5a10c6ea 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/bin2_oct/bin2_oct_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/bin2_oct/bin2_oct_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Bin2OctPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/binom_dist/binom_dist_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/binom_dist/binom_dist_request_builder.py index 6988b1f826b..590c64d7c93 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/binom_dist/binom_dist_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/binom_dist/binom_dist_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Binom_DistPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/binom_dist_range/binom_dist_range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/binom_dist_range/binom_dist_range_request_builder.py index 3c47a90ef33..932e842af09 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/binom_dist_range/binom_dist_range_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/binom_dist_range/binom_dist_range_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Binom_Dist_RangePostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/binom_inv/binom_inv_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/binom_inv/binom_inv_request_builder.py index 565e410872e..22d4fe5ff07 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/binom_inv/binom_inv_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/binom_inv/binom_inv_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Binom_InvPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/bitand/bitand_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/bitand/bitand_request_builder.py index c765de0ef99..64e00513286 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/bitand/bitand_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/bitand/bitand_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[BitandPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/bitlshift/bitlshift_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/bitlshift/bitlshift_request_builder.py index a7475fc43a0..412c689ceea 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/bitlshift/bitlshift_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/bitlshift/bitlshift_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[BitlshiftPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/bitor/bitor_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/bitor/bitor_request_builder.py index f8f180af734..2ce290ac36d 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/bitor/bitor_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/bitor/bitor_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[BitorPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/bitrshift/bitrshift_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/bitrshift/bitrshift_request_builder.py index f2f2034c24d..87f17f88af3 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/bitrshift/bitrshift_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/bitrshift/bitrshift_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[BitrshiftPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/bitxor/bitxor_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/bitxor/bitxor_request_builder.py index 26c623eb3d7..257bd79d203 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/bitxor/bitxor_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/bitxor/bitxor_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[BitxorPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/ceiling_math/ceiling_math_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/ceiling_math/ceiling_math_request_builder.py index cfb9b4d2106..f84b73c42fb 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/ceiling_math/ceiling_math_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/ceiling_math/ceiling_math_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Ceiling_MathPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/ceiling_precise/ceiling_precise_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/ceiling_precise/ceiling_precise_request_builder.py index d4c3f379bed..31633946f98 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/ceiling_precise/ceiling_precise_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/ceiling_precise/ceiling_precise_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Ceiling_PrecisePostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/char/char_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/char/char_request_builder.py index 389ccda8881..35394195dad 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/char/char_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/char/char_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CharPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/chi_sq_dist/chi_sq_dist_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/chi_sq_dist/chi_sq_dist_request_builder.py index b58d2ac05f7..165f5482537 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/chi_sq_dist/chi_sq_dist_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/chi_sq_dist/chi_sq_dist_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ChiSq_DistPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/chi_sq_dist_r_t/chi_sq_dist_r_t_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/chi_sq_dist_r_t/chi_sq_dist_r_t_request_builder.py index 868ef6dd2c3..fbe8deb718f 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/chi_sq_dist_r_t/chi_sq_dist_r_t_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/chi_sq_dist_r_t/chi_sq_dist_r_t_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ChiSq_Dist_RTPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/chi_sq_inv/chi_sq_inv_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/chi_sq_inv/chi_sq_inv_request_builder.py index 32adbd6c264..4f9c2e0ae0d 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/chi_sq_inv/chi_sq_inv_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/chi_sq_inv/chi_sq_inv_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ChiSq_InvPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/chi_sq_inv_r_t/chi_sq_inv_r_t_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/chi_sq_inv_r_t/chi_sq_inv_r_t_request_builder.py index b71a10c3a23..fce9d94bee8 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/chi_sq_inv_r_t/chi_sq_inv_r_t_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/chi_sq_inv_r_t/chi_sq_inv_r_t_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ChiSq_Inv_RTPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/choose/choose_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/choose/choose_request_builder.py index 91cc902a9fb..c3f33aff751 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/choose/choose_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/choose/choose_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ChoosePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/clean/clean_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/clean/clean_request_builder.py index d650fb21bfd..a6e4061bd0f 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/clean/clean_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/clean/clean_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CleanPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/code/code_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/code/code_request_builder.py index aafa06225be..01d7a240c7d 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/code/code_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/code/code_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CodePostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/columns/columns_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/columns/columns_request_builder.py index 3baf48f8531..fdc73009412 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/columns/columns_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/columns/columns_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ColumnsPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/combin/combin_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/combin/combin_request_builder.py index a87317365ab..43dd6793008 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/combin/combin_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/combin/combin_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CombinPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/combina/combina_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/combina/combina_request_builder.py index 9882707825b..dc25121d341 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/combina/combina_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/combina/combina_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CombinaPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/complex/complex_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/complex/complex_request_builder.py index 220348d2254..2ec40d7f38d 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/complex/complex_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/complex/complex_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ComplexPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/concatenate/concatenate_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/concatenate/concatenate_request_builder.py index 89b34799843..85205fcb29b 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/concatenate/concatenate_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/concatenate/concatenate_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ConcatenatePostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/confidence_norm/confidence_norm_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/confidence_norm/confidence_norm_request_builder.py index c33b9174143..0b358ccc7c0 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/confidence_norm/confidence_norm_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/confidence_norm/confidence_norm_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Confidence_NormPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/confidence_t/confidence_t_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/confidence_t/confidence_t_request_builder.py index 0197a2e8dea..566d2b88c8c 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/confidence_t/confidence_t_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/confidence_t/confidence_t_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Confidence_TPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/convert/convert_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/convert/convert_request_builder.py index efdb3f0a465..ae6d9eb0f87 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/convert/convert_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/convert/convert_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ConvertPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/cos/cos_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/cos/cos_request_builder.py index 78baafc8896..cae25ea920c 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/cos/cos_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/cos/cos_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CosPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/cosh/cosh_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/cosh/cosh_request_builder.py index 9edab0b043e..b84cc1e8c2b 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/cosh/cosh_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/cosh/cosh_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CoshPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/cot/cot_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/cot/cot_request_builder.py index aa9ed9dc61c..929cb3060a4 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/cot/cot_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/cot/cot_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CotPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/coth/coth_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/coth/coth_request_builder.py index 29ceb974484..cf95ea45a56 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/coth/coth_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/coth/coth_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CothPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/count/count_request_builder.py index 94b305e11a9..f99e518b562 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/count/count_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CountPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/count_a/count_a_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/count_a/count_a_request_builder.py index 0741b06fb07..1bcd93eb316 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/count_a/count_a_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/count_a/count_a_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CountAPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/count_blank/count_blank_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/count_blank/count_blank_request_builder.py index f1d671832fa..6518bc7f175 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/count_blank/count_blank_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/count_blank/count_blank_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CountBlankPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/count_if/count_if_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/count_if/count_if_request_builder.py index a9c5151d05c..95fc1addfc7 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/count_if/count_if_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/count_if/count_if_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CountIfPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/count_ifs/count_ifs_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/count_ifs/count_ifs_request_builder.py index d5c47a60f4a..7c4e5485c85 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/count_ifs/count_ifs_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/count_ifs/count_ifs_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CountIfsPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/coup_day_bs/coup_day_bs_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/coup_day_bs/coup_day_bs_request_builder.py index 17b555c3be9..636c74dfc64 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/coup_day_bs/coup_day_bs_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/coup_day_bs/coup_day_bs_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CoupDayBsPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/coup_days/coup_days_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/coup_days/coup_days_request_builder.py index b5fc5b0e389..c4687585746 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/coup_days/coup_days_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/coup_days/coup_days_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CoupDaysPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/coup_days_nc/coup_days_nc_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/coup_days_nc/coup_days_nc_request_builder.py index b7a0ca50d55..108fd8e1314 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/coup_days_nc/coup_days_nc_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/coup_days_nc/coup_days_nc_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CoupDaysNcPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/coup_ncd/coup_ncd_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/coup_ncd/coup_ncd_request_builder.py index 8aa29050acc..86830a212d2 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/coup_ncd/coup_ncd_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/coup_ncd/coup_ncd_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CoupNcdPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/coup_num/coup_num_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/coup_num/coup_num_request_builder.py index 5bf73c56aba..057131ad490 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/coup_num/coup_num_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/coup_num/coup_num_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CoupNumPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/coup_pcd/coup_pcd_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/coup_pcd/coup_pcd_request_builder.py index 87bdfb03d97..42e9ecbf571 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/coup_pcd/coup_pcd_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/coup_pcd/coup_pcd_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CoupPcdPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/csc/csc_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/csc/csc_request_builder.py index 9dda36eaf02..8694dda9eac 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/csc/csc_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/csc/csc_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CscPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/csch/csch_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/csch/csch_request_builder.py index 32a12205212..5df2fa594aa 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/csch/csch_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/csch/csch_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CschPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/cum_i_pmt/cum_i_pmt_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/cum_i_pmt/cum_i_pmt_request_builder.py index 38f966dbdc7..c81f69ccf05 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/cum_i_pmt/cum_i_pmt_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/cum_i_pmt/cum_i_pmt_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CumIPmtPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/cum_princ/cum_princ_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/cum_princ/cum_princ_request_builder.py index e94109ad09b..eca0a50d6e7 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/cum_princ/cum_princ_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/cum_princ/cum_princ_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CumPrincPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/date/date_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/date/date_request_builder.py index 0377b39d2bb..bba39c2860f 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/date/date_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/date/date_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DatePostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/datevalue/datevalue_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/datevalue/datevalue_request_builder.py index 3d0489a3e87..04f01fd1921 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/datevalue/datevalue_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/datevalue/datevalue_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DatevaluePostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/daverage/daverage_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/daverage/daverage_request_builder.py index 2648ae3785d..ea5f54cd969 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/daverage/daverage_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/daverage/daverage_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DaveragePostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/day/day_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/day/day_request_builder.py index 34638cc1734..20cd8de2baa 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/day/day_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/day/day_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DayPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/days/days_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/days/days_request_builder.py index 28d008e4e80..9276d2243e7 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/days/days_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/days/days_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DaysPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/days360/days360_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/days360/days360_request_builder.py index 629ad845890..d6ecabd50e6 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/days360/days360_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/days360/days360_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Days360PostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/db/db_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/db/db_request_builder.py index 7db2d6ea714..f0bbe38dbce 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/db/db_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/db/db_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DbPostRequestBody] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dbcs/dbcs_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dbcs/dbcs_request_builder.py index 577eb0cf545..93c3b8fdd3d 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dbcs/dbcs_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dbcs/dbcs_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DbcsPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dcount/dcount_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dcount/dcount_request_builder.py index be46e3854f1..0049fc32285 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dcount/dcount_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dcount/dcount_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DcountPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dcount_a/dcount_a_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dcount_a/dcount_a_request_builder.py index ef997e982d5..ee02179d770 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dcount_a/dcount_a_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dcount_a/dcount_a_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DcountAPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/ddb/ddb_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/ddb/ddb_request_builder.py index 052dc4d70e4..205abb91538 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/ddb/ddb_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/ddb/ddb_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DdbPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dec2_bin/dec2_bin_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dec2_bin/dec2_bin_request_builder.py index b679a77b086..7485a27a858 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dec2_bin/dec2_bin_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dec2_bin/dec2_bin_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Dec2BinPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dec2_hex/dec2_hex_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dec2_hex/dec2_hex_request_builder.py index 2454e1ee9b6..f84660ded71 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dec2_hex/dec2_hex_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dec2_hex/dec2_hex_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Dec2HexPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dec2_oct/dec2_oct_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dec2_oct/dec2_oct_request_builder.py index 88542f014bc..7e3b3d3cf06 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dec2_oct/dec2_oct_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dec2_oct/dec2_oct_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Dec2OctPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/decimal/decimal_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/decimal/decimal_request_builder.py index 92ddbe337b7..d657e4dbe99 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/decimal/decimal_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/decimal/decimal_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DecimalPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/degrees/degrees_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/degrees/degrees_request_builder.py index c17e69bdee0..84bb800999b 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/degrees/degrees_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/degrees/degrees_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DegreesPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/delta/delta_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/delta/delta_request_builder.py index 0691a83dfde..5b1df54b70c 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/delta/delta_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/delta/delta_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DeltaPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dev_sq/dev_sq_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dev_sq/dev_sq_request_builder.py index 4a8bbab9566..5852c94a14e 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dev_sq/dev_sq_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dev_sq/dev_sq_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DevSqPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dget/dget_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dget/dget_request_builder.py index e443990c448..fd4f36ce978 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dget/dget_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dget/dget_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DgetPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/disc/disc_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/disc/disc_request_builder.py index 5b2eafcd877..785eea21d08 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/disc/disc_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/disc/disc_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DiscPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dmax/dmax_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dmax/dmax_request_builder.py index e43630f192f..74ea8c5fd7a 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dmax/dmax_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dmax/dmax_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DmaxPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dmin/dmin_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dmin/dmin_request_builder.py index 35c8b0dd4b2..e5e76b3f921 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dmin/dmin_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dmin/dmin_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DminPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dollar/dollar_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dollar/dollar_request_builder.py index 33330d61554..55f5719f41a 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dollar/dollar_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dollar/dollar_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DollarPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dollar_de/dollar_de_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dollar_de/dollar_de_request_builder.py index a6bf7f06db5..b4270684cf1 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dollar_de/dollar_de_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dollar_de/dollar_de_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DollarDePostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dollar_fr/dollar_fr_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dollar_fr/dollar_fr_request_builder.py index 338c12d3cc3..b8337045b32 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dollar_fr/dollar_fr_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dollar_fr/dollar_fr_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DollarFrPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dproduct/dproduct_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dproduct/dproduct_request_builder.py index 2449dd09237..b008de91567 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dproduct/dproduct_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dproduct/dproduct_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DproductPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dst_dev/dst_dev_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dst_dev/dst_dev_request_builder.py index 7b96375c002..193083cd6e4 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dst_dev/dst_dev_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dst_dev/dst_dev_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DstDevPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dst_dev_p/dst_dev_p_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dst_dev_p/dst_dev_p_request_builder.py index df1e54b408c..b958a1c2bef 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dst_dev_p/dst_dev_p_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dst_dev_p/dst_dev_p_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DstDevPPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dsum/dsum_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dsum/dsum_request_builder.py index ef66ac266af..1ff8ee84643 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dsum/dsum_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dsum/dsum_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DsumPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/duration/duration_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/duration/duration_request_builder.py index 7c2b09b351c..4da81453dad 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/duration/duration_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/duration/duration_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DurationPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dvar/dvar_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dvar/dvar_request_builder.py index f7a79667c6f..4309965967a 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dvar/dvar_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dvar/dvar_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DvarPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dvar_p/dvar_p_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dvar_p/dvar_p_request_builder.py index 2702af3573b..a4bb02b7e57 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/dvar_p/dvar_p_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/dvar_p/dvar_p_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DvarPPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/ecma_ceiling/ecma_ceiling_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/ecma_ceiling/ecma_ceiling_request_builder.py index e4725423267..d550a1914e8 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/ecma_ceiling/ecma_ceiling_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/ecma_ceiling/ecma_ceiling_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Ecma_CeilingPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/edate/edate_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/edate/edate_request_builder.py index d333992fbbb..cfecd403dcf 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/edate/edate_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/edate/edate_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[EdatePostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/effect/effect_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/effect/effect_request_builder.py index da4363c611f..8b400ea12d5 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/effect/effect_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/effect/effect_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[EffectPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/eo_month/eo_month_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/eo_month/eo_month_request_builder.py index 2a75ffe37da..77e4ab81a67 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/eo_month/eo_month_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/eo_month/eo_month_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[EoMonthPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/erf/erf_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/erf/erf_request_builder.py index 690a6c202be..20d1874d766 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/erf/erf_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/erf/erf_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ErfPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/erf_c/erf_c_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/erf_c/erf_c_request_builder.py index f660f2b690e..c25af57cefd 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/erf_c/erf_c_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/erf_c/erf_c_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ErfCPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/erf_c_precise/erf_c_precise_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/erf_c_precise/erf_c_precise_request_builder.py index 31df9e68849..db2ce28dbc5 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/erf_c_precise/erf_c_precise_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/erf_c_precise/erf_c_precise_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ErfC_PrecisePostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/erf_precise/erf_precise_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/erf_precise/erf_precise_request_builder.py index 281b92250e8..17bf1c1479b 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/erf_precise/erf_precise_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/erf_precise/erf_precise_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Erf_PrecisePostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/error_type/error_type_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/error_type/error_type_request_builder.py index 7c1baf84b11..045baab00df 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/error_type/error_type_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/error_type/error_type_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Error_TypePostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/even/even_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/even/even_request_builder.py index 2ae22823891..3c5252f7cbf 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/even/even_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/even/even_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[EvenPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/exact/exact_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/exact/exact_request_builder.py index 69830cd73fc..73625e83f3f 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/exact/exact_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/exact/exact_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ExactPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/exp/exp_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/exp/exp_request_builder.py index 73065251221..1acda5e9117 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/exp/exp_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/exp/exp_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ExpPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/expon_dist/expon_dist_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/expon_dist/expon_dist_request_builder.py index f74f6789970..771404d4303 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/expon_dist/expon_dist_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/expon_dist/expon_dist_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Expon_DistPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/f_dist/f_dist_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/f_dist/f_dist_request_builder.py index c543726c02e..64a96e35896 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/f_dist/f_dist_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/f_dist/f_dist_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[F_DistPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/f_dist_r_t/f_dist_r_t_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/f_dist_r_t/f_dist_r_t_request_builder.py index 85aa12d159a..f49e4b3db11 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/f_dist_r_t/f_dist_r_t_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/f_dist_r_t/f_dist_r_t_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[F_Dist_RTPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/f_inv/f_inv_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/f_inv/f_inv_request_builder.py index 6148812f285..c4a7b77776b 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/f_inv/f_inv_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/f_inv/f_inv_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[F_InvPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/f_inv_r_t/f_inv_r_t_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/f_inv_r_t/f_inv_r_t_request_builder.py index 282d302734e..5daa3c5e031 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/f_inv_r_t/f_inv_r_t_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/f_inv_r_t/f_inv_r_t_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[F_Inv_RTPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/fact/fact_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/fact/fact_request_builder.py index 39129598826..fdff06d2c00 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/fact/fact_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/fact/fact_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[FactPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/fact_double/fact_double_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/fact_double/fact_double_request_builder.py index e5e16b1a81b..178477449a7 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/fact_double/fact_double_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/fact_double/fact_double_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[FactDoublePostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/false_/false_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/false_/false_request_builder.py index 4d9d33b51db..9eadf7ac3f5 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/false_/false_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/false_/false_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[FalseReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FalseRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/find/find_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/find/find_request_builder.py index 94c05ba4d77..99831370ebc 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/find/find_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/find/find_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[FindPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/find_b/find_b_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/find_b/find_b_request_builder.py index 95283142b3e..54ff6b107e4 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/find_b/find_b_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/find_b/find_b_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[FindBPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/fisher/fisher_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/fisher/fisher_request_builder.py index 48046bf7f34..e87a662a5cd 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/fisher/fisher_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/fisher/fisher_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[FisherPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/fisher_inv/fisher_inv_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/fisher_inv/fisher_inv_request_builder.py index d57cbf2972c..471b57a90f5 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/fisher_inv/fisher_inv_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/fisher_inv/fisher_inv_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[FisherInvPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/fixed/fixed_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/fixed/fixed_request_builder.py index 03bbab47507..68da6031a31 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/fixed/fixed_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/fixed/fixed_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[FixedPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/floor_math/floor_math_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/floor_math/floor_math_request_builder.py index 305b778f74f..a32e3e0b02b 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/floor_math/floor_math_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/floor_math/floor_math_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Floor_MathPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/floor_precise/floor_precise_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/floor_precise/floor_precise_request_builder.py index c5675a5329d..213355f6ff0 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/floor_precise/floor_precise_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/floor_precise/floor_precise_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Floor_PrecisePostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/functions_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/functions_request_builder.py index 158be502644..5cfa90efd89 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/functions_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/functions_request_builder.py @@ -469,7 +469,7 @@ def to_delete_request_information(self,request_configuration: Optional[Functions request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FunctionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -486,7 +486,7 @@ def to_get_request_information(self,request_configuration: Optional[FunctionsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookFunctions] = None, request_configuration: Optional[FunctionsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -505,7 +505,7 @@ def to_patch_request_information(self,body: Optional[WorkbookFunctions] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/fv/fv_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/fv/fv_request_builder.py index b16a6e202f4..0de16b078da 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/fv/fv_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/fv/fv_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[FvPostRequestBody] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/fvschedule/fvschedule_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/fvschedule/fvschedule_request_builder.py index 7e6cca78e18..20e6f39cb40 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/fvschedule/fvschedule_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/fvschedule/fvschedule_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[FvschedulePostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/gamma/gamma_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/gamma/gamma_request_builder.py index 704b199a1c1..1e604372b84 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/gamma/gamma_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/gamma/gamma_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GammaPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/gamma_dist/gamma_dist_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/gamma_dist/gamma_dist_request_builder.py index b66d28c2290..8ab2a171a93 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/gamma_dist/gamma_dist_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/gamma_dist/gamma_dist_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Gamma_DistPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/gamma_inv/gamma_inv_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/gamma_inv/gamma_inv_request_builder.py index 2f03ecc2436..b14c6a638ae 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/gamma_inv/gamma_inv_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/gamma_inv/gamma_inv_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Gamma_InvPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/gamma_ln/gamma_ln_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/gamma_ln/gamma_ln_request_builder.py index 284e5c9adda..27e38414188 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/gamma_ln/gamma_ln_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/gamma_ln/gamma_ln_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GammaLnPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/gamma_ln_precise/gamma_ln_precise_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/gamma_ln_precise/gamma_ln_precise_request_builder.py index 090c864e471..b2e3c4f68a1 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/gamma_ln_precise/gamma_ln_precise_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/gamma_ln_precise/gamma_ln_precise_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GammaLn_PrecisePostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/gauss/gauss_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/gauss/gauss_request_builder.py index 13274121c02..86a0255d0df 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/gauss/gauss_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/gauss/gauss_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GaussPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/gcd/gcd_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/gcd/gcd_request_builder.py index ff9a82c7166..9111dc7722b 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/gcd/gcd_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/gcd/gcd_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GcdPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/ge_step/ge_step_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/ge_step/ge_step_request_builder.py index f8b1386cd6c..52cfdcfeadc 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/ge_step/ge_step_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/ge_step/ge_step_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GeStepPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/geo_mean/geo_mean_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/geo_mean/geo_mean_request_builder.py index 6a6cb3b5497..16c0bf0b311 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/geo_mean/geo_mean_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/geo_mean/geo_mean_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GeoMeanPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/har_mean/har_mean_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/har_mean/har_mean_request_builder.py index 5bd01ac05e6..7aee57875b9 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/har_mean/har_mean_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/har_mean/har_mean_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[HarMeanPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/hex2_bin/hex2_bin_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/hex2_bin/hex2_bin_request_builder.py index 2c540397faf..d92b0e1adb7 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/hex2_bin/hex2_bin_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/hex2_bin/hex2_bin_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Hex2BinPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/hex2_dec/hex2_dec_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/hex2_dec/hex2_dec_request_builder.py index 636e6c303dc..4a217f2d5f3 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/hex2_dec/hex2_dec_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/hex2_dec/hex2_dec_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Hex2DecPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/hex2_oct/hex2_oct_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/hex2_oct/hex2_oct_request_builder.py index ea498dcf7e5..84be42c5371 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/hex2_oct/hex2_oct_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/hex2_oct/hex2_oct_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Hex2OctPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/hlookup/hlookup_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/hlookup/hlookup_request_builder.py index 7e592924ead..97078cde083 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/hlookup/hlookup_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/hlookup/hlookup_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[HlookupPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/hour/hour_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/hour/hour_request_builder.py index 126b2e0ff40..6b48e86a3e5 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/hour/hour_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/hour/hour_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[HourPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/hyp_geom_dist/hyp_geom_dist_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/hyp_geom_dist/hyp_geom_dist_request_builder.py index a8272b88bc1..e3933c5010a 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/hyp_geom_dist/hyp_geom_dist_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/hyp_geom_dist/hyp_geom_dist_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[HypGeom_DistPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/hyperlink/hyperlink_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/hyperlink/hyperlink_request_builder.py index 6d5f1dd875b..06d95f08718 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/hyperlink/hyperlink_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/hyperlink/hyperlink_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[HyperlinkPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/if_/if_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/if_/if_request_builder.py index ebf9efee92a..9437f158721 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/if_/if_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/if_/if_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[IfPostRequestBody] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_abs/im_abs_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_abs/im_abs_request_builder.py index 9587e333518..cc23ffff753 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_abs/im_abs_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_abs/im_abs_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImAbsPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_argument/im_argument_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_argument/im_argument_request_builder.py index 3060c755cf4..df2cfceca09 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_argument/im_argument_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_argument/im_argument_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImArgumentPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_conjugate/im_conjugate_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_conjugate/im_conjugate_request_builder.py index 40501f64a14..062a299978a 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_conjugate/im_conjugate_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_conjugate/im_conjugate_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImConjugatePostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_cos/im_cos_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_cos/im_cos_request_builder.py index d9dd1dfa97d..3b4b65e35ed 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_cos/im_cos_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_cos/im_cos_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImCosPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_cosh/im_cosh_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_cosh/im_cosh_request_builder.py index 599877188b6..f2956537295 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_cosh/im_cosh_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_cosh/im_cosh_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImCoshPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_cot/im_cot_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_cot/im_cot_request_builder.py index 09c8aa9d792..bce06367bc4 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_cot/im_cot_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_cot/im_cot_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImCotPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_csc/im_csc_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_csc/im_csc_request_builder.py index d435a00695d..1d02560cfe7 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_csc/im_csc_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_csc/im_csc_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImCscPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_csch/im_csch_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_csch/im_csch_request_builder.py index c4d9a95dc7b..f3392ce43a8 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_csch/im_csch_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_csch/im_csch_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImCschPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_div/im_div_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_div/im_div_request_builder.py index ba66382f2f1..f990d5f0b94 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_div/im_div_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_div/im_div_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImDivPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_exp/im_exp_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_exp/im_exp_request_builder.py index 33a204beaba..cefa76cf33f 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_exp/im_exp_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_exp/im_exp_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImExpPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_ln/im_ln_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_ln/im_ln_request_builder.py index 7ff3028e7b8..1a58b452c1c 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_ln/im_ln_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_ln/im_ln_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImLnPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_log10/im_log10_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_log10/im_log10_request_builder.py index 78b8339a335..fa73a78f232 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_log10/im_log10_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_log10/im_log10_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImLog10PostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_log2/im_log2_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_log2/im_log2_request_builder.py index a0982213113..2a18a57522f 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_log2/im_log2_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_log2/im_log2_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImLog2PostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_power/im_power_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_power/im_power_request_builder.py index a0f2656e211..a333d74877b 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_power/im_power_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_power/im_power_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImPowerPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_product/im_product_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_product/im_product_request_builder.py index 00e4631cfa6..c1f8a06c900 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_product/im_product_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_product/im_product_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImProductPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_real/im_real_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_real/im_real_request_builder.py index 345d480cc14..38de3a0a679 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_real/im_real_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_real/im_real_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImRealPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_sec/im_sec_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_sec/im_sec_request_builder.py index a95d789ed42..251a0bd9e68 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_sec/im_sec_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_sec/im_sec_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImSecPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_sech/im_sech_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_sech/im_sech_request_builder.py index bb8b00c04a4..837779aa490 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_sech/im_sech_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_sech/im_sech_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImSechPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_sin/im_sin_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_sin/im_sin_request_builder.py index 5df1ac69344..f099bb4eaa0 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_sin/im_sin_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_sin/im_sin_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImSinPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_sinh/im_sinh_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_sinh/im_sinh_request_builder.py index f4fc3d1eaed..6ed1dfc3ae9 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_sinh/im_sinh_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_sinh/im_sinh_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImSinhPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_sqrt/im_sqrt_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_sqrt/im_sqrt_request_builder.py index 39c145339ef..f6236cfbda9 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_sqrt/im_sqrt_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_sqrt/im_sqrt_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImSqrtPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_sub/im_sub_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_sub/im_sub_request_builder.py index f5c90ce005e..ad152db7349 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_sub/im_sub_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_sub/im_sub_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImSubPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_sum/im_sum_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_sum/im_sum_request_builder.py index 75f41fc509b..0691e81b700 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_sum/im_sum_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_sum/im_sum_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImSumPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_tan/im_tan_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_tan/im_tan_request_builder.py index 5fba944d2c5..a7819425461 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_tan/im_tan_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/im_tan/im_tan_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImTanPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/imaginary/imaginary_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/imaginary/imaginary_request_builder.py index 9ac1dfcedbe..298e7775e0e 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/imaginary/imaginary_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/imaginary/imaginary_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImaginaryPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/int/int_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/int/int_request_builder.py index a40700d079a..47c281cae34 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/int/int_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/int/int_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[IntPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/int_rate/int_rate_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/int_rate/int_rate_request_builder.py index d517ac7547c..0921b43536f 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/int_rate/int_rate_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/int_rate/int_rate_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[IntRatePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/ipmt/ipmt_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/ipmt/ipmt_request_builder.py index ec602a38c61..06918cfdeb9 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/ipmt/ipmt_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/ipmt/ipmt_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[IpmtPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/irr/irr_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/irr/irr_request_builder.py index fce04a8660f..0b03c874953 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/irr/irr_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/irr/irr_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[IrrPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_err/is_err_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_err/is_err_request_builder.py index d10f9b2c8b1..741b59a01ef 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_err/is_err_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_err/is_err_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[IsErrPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_error/is_error_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_error/is_error_request_builder.py index 4628b6fb13a..ea13d620ea8 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_error/is_error_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_error/is_error_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[IsErrorPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_even/is_even_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_even/is_even_request_builder.py index f2c62fadac0..f63567e12bd 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_even/is_even_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_even/is_even_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[IsEvenPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_formula/is_formula_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_formula/is_formula_request_builder.py index 6116353ffcb..d6591e16ac9 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_formula/is_formula_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_formula/is_formula_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[IsFormulaPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_logical/is_logical_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_logical/is_logical_request_builder.py index 41f050ada53..523900a2b17 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_logical/is_logical_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_logical/is_logical_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[IsLogicalPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_n_a/is_n_a_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_n_a/is_n_a_request_builder.py index da86b6e34b1..2e83d1b1603 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_n_a/is_n_a_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_n_a/is_n_a_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[IsNAPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_non_text/is_non_text_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_non_text/is_non_text_request_builder.py index 940b4fd2f53..602715a85e2 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_non_text/is_non_text_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_non_text/is_non_text_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[IsNonTextPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_number/is_number_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_number/is_number_request_builder.py index ee8fc158a5a..7c13bdedf07 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_number/is_number_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_number/is_number_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[IsNumberPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_odd/is_odd_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_odd/is_odd_request_builder.py index 1f8e8043083..b976df53958 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_odd/is_odd_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_odd/is_odd_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[IsOddPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_text/is_text_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_text/is_text_request_builder.py index 71942db14a2..b087ffc10c3 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_text/is_text_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/is_text/is_text_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[IsTextPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/iso_ceiling/iso_ceiling_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/iso_ceiling/iso_ceiling_request_builder.py index 4e6f4e4d09d..2f2c6c5aa5b 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/iso_ceiling/iso_ceiling_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/iso_ceiling/iso_ceiling_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Iso_CeilingPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/iso_week_num/iso_week_num_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/iso_week_num/iso_week_num_request_builder.py index d511a153d50..877b988fde8 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/iso_week_num/iso_week_num_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/iso_week_num/iso_week_num_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[IsoWeekNumPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/ispmt/ispmt_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/ispmt/ispmt_request_builder.py index 6d9150f030f..33cb75b90e9 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/ispmt/ispmt_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/ispmt/ispmt_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[IspmtPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/isref/isref_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/isref/isref_request_builder.py index da5884aec53..1ec53fd88e4 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/isref/isref_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/isref/isref_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[IsrefPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/kurt/kurt_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/kurt/kurt_request_builder.py index c46680a4450..53e617bd5e7 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/kurt/kurt_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/kurt/kurt_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[KurtPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/large/large_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/large/large_request_builder.py index 69622f3cefd..2fd17d78277 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/large/large_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/large/large_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[LargePostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/lcm/lcm_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/lcm/lcm_request_builder.py index d675751e6b8..61af1658819 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/lcm/lcm_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/lcm/lcm_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[LcmPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/left/left_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/left/left_request_builder.py index d74101fb6f0..c658d385978 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/left/left_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/left/left_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[LeftPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/leftb/leftb_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/leftb/leftb_request_builder.py index d8b0bc455d2..8d3c07f2ce8 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/leftb/leftb_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/leftb/leftb_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[LeftbPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/len/len_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/len/len_request_builder.py index aba04eb822f..6482bb5f036 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/len/len_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/len/len_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[LenPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/lenb/lenb_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/lenb/lenb_request_builder.py index bc710d510b4..f4d9b5f5991 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/lenb/lenb_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/lenb/lenb_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[LenbPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/ln/ln_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/ln/ln_request_builder.py index 299da84b457..c93009b8a21 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/ln/ln_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/ln/ln_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[LnPostRequestBody] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/log/log_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/log/log_request_builder.py index 8a55a533981..1121b051c4a 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/log/log_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/log/log_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[LogPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/log10/log10_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/log10/log10_request_builder.py index 06a9a003a01..f9374281b51 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/log10/log10_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/log10/log10_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Log10PostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/log_norm_dist/log_norm_dist_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/log_norm_dist/log_norm_dist_request_builder.py index a41d93a6c8e..acafd7e8f72 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/log_norm_dist/log_norm_dist_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/log_norm_dist/log_norm_dist_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[LogNorm_DistPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/log_norm_inv/log_norm_inv_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/log_norm_inv/log_norm_inv_request_builder.py index 6a19cd288f4..596aeb0cd42 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/log_norm_inv/log_norm_inv_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/log_norm_inv/log_norm_inv_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[LogNorm_InvPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/lookup/lookup_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/lookup/lookup_request_builder.py index 1ce2ced91c4..d8c9d9ceb9e 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/lookup/lookup_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/lookup/lookup_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[LookupPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/lower/lower_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/lower/lower_request_builder.py index 74e6d27b8f9..91afea06d6a 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/lower/lower_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/lower/lower_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[LowerPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/match/match_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/match/match_request_builder.py index 8080dda7b22..c2025717dbd 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/match/match_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/match/match_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[MatchPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/max/max_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/max/max_request_builder.py index cbbfbb84ac8..63a5ab2ec58 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/max/max_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/max/max_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[MaxPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/max_a/max_a_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/max_a/max_a_request_builder.py index 5c3f0c67cfb..49336f732fe 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/max_a/max_a_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/max_a/max_a_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[MaxAPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/mduration/mduration_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/mduration/mduration_request_builder.py index caaa2992851..5cc159f5cc4 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/mduration/mduration_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/mduration/mduration_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[MdurationPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/median/median_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/median/median_request_builder.py index ed731c9241c..2df3ef05fdd 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/median/median_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/median/median_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[MedianPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/mid/mid_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/mid/mid_request_builder.py index 8efd22d7d84..1e5a132799b 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/mid/mid_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/mid/mid_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[MidPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/midb/midb_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/midb/midb_request_builder.py index 65059fca4de..f454159e923 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/midb/midb_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/midb/midb_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[MidbPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/min/min_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/min/min_request_builder.py index d42045b574b..a73f9d67570 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/min/min_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/min/min_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[MinPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/min_a/min_a_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/min_a/min_a_request_builder.py index 55eb35121d2..e173739bd59 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/min_a/min_a_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/min_a/min_a_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[MinAPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/minute/minute_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/minute/minute_request_builder.py index bb12621d47d..40cb9f3030d 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/minute/minute_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/minute/minute_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[MinutePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/mirr/mirr_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/mirr/mirr_request_builder.py index 8218da04da0..be3466b37f3 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/mirr/mirr_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/mirr/mirr_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[MirrPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/mod/mod_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/mod/mod_request_builder.py index cb39a9a594a..6f414523f06 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/mod/mod_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/mod/mod_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ModPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/month/month_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/month/month_request_builder.py index 038ed6b598f..d343f2386c5 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/month/month_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/month/month_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[MonthPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/mround/mround_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/mround/mround_request_builder.py index f8ff5e7f668..e8914f06c59 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/mround/mround_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/mround/mround_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[MroundPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/multi_nomial/multi_nomial_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/multi_nomial/multi_nomial_request_builder.py index 943dbe6a827..665dbfc43f7 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/multi_nomial/multi_nomial_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/multi_nomial/multi_nomial_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[MultiNomialPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/n/n_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/n/n_request_builder.py index 48fad2aa107..2c7dd850fee 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/n/n_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/n/n_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[NPostRequestBody] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/na/na_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/na/na_request_builder.py index b13bdd1a129..001858336b8 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/na/na_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/na/na_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[NaRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> NaRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/neg_binom_dist/neg_binom_dist_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/neg_binom_dist/neg_binom_dist_request_builder.py index f9871395979..4568bebabb2 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/neg_binom_dist/neg_binom_dist_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/neg_binom_dist/neg_binom_dist_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[NegBinom_DistPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/network_days/network_days_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/network_days/network_days_request_builder.py index 7206fac1a1b..278e80ccc00 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/network_days/network_days_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/network_days/network_days_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[NetworkDaysPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/network_days_intl/network_days_intl_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/network_days_intl/network_days_intl_request_builder.py index c701768fdce..d824e66a452 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/network_days_intl/network_days_intl_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/network_days_intl/network_days_intl_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[NetworkDays_IntlPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/nominal/nominal_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/nominal/nominal_request_builder.py index 610a83fd1bd..a0d656a6b73 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/nominal/nominal_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/nominal/nominal_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[NominalPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/norm_dist/norm_dist_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/norm_dist/norm_dist_request_builder.py index 1149a3ff108..12cc03b9ae7 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/norm_dist/norm_dist_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/norm_dist/norm_dist_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Norm_DistPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/norm_inv/norm_inv_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/norm_inv/norm_inv_request_builder.py index eed10830f6c..18034c88699 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/norm_inv/norm_inv_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/norm_inv/norm_inv_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Norm_InvPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/norm_s_dist/norm_s_dist_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/norm_s_dist/norm_s_dist_request_builder.py index 282de9b5877..4b13bcd5e3d 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/norm_s_dist/norm_s_dist_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/norm_s_dist/norm_s_dist_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Norm_S_DistPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/norm_s_inv/norm_s_inv_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/norm_s_inv/norm_s_inv_request_builder.py index 19bfcf1e0b1..b34551f01d6 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/norm_s_inv/norm_s_inv_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/norm_s_inv/norm_s_inv_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Norm_S_InvPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/not_/not_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/not_/not_request_builder.py index ee02719580f..af9b651130f 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/not_/not_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/not_/not_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[NotPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/now/now_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/now/now_request_builder.py index fb0366c4c7f..22fd12d62f9 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/now/now_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/now/now_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[NowRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> NowRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/nper/nper_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/nper/nper_request_builder.py index 4fc6b128a98..ee8a0bf575b 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/nper/nper_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/nper/nper_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[NperPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/npv/npv_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/npv/npv_request_builder.py index 792a7d3895b..3457a8df9f3 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/npv/npv_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/npv/npv_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[NpvPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/number_value/number_value_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/number_value/number_value_request_builder.py index 3a551b2778d..55fcbf16e4c 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/number_value/number_value_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/number_value/number_value_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[NumberValuePostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/oct2_bin/oct2_bin_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/oct2_bin/oct2_bin_request_builder.py index 3ccfbb9d75a..d9e3cf2891a 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/oct2_bin/oct2_bin_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/oct2_bin/oct2_bin_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Oct2BinPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/oct2_dec/oct2_dec_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/oct2_dec/oct2_dec_request_builder.py index 0342972352e..faf1cc17631 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/oct2_dec/oct2_dec_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/oct2_dec/oct2_dec_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Oct2DecPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/oct2_hex/oct2_hex_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/oct2_hex/oct2_hex_request_builder.py index c642d32023b..30ba7d6e3da 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/oct2_hex/oct2_hex_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/oct2_hex/oct2_hex_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Oct2HexPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/odd/odd_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/odd/odd_request_builder.py index 2f4af09fa1e..5b49c18030e 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/odd/odd_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/odd/odd_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[OddPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/odd_f_price/odd_f_price_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/odd_f_price/odd_f_price_request_builder.py index 85c14e8fd45..81eb533a7b2 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/odd_f_price/odd_f_price_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/odd_f_price/odd_f_price_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[OddFPricePostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/odd_f_yield/odd_f_yield_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/odd_f_yield/odd_f_yield_request_builder.py index 6d5fc2571a7..c71070b5846 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/odd_f_yield/odd_f_yield_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/odd_f_yield/odd_f_yield_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[OddFYieldPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/odd_l_price/odd_l_price_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/odd_l_price/odd_l_price_request_builder.py index 87b6d6173a5..90dccfa4c67 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/odd_l_price/odd_l_price_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/odd_l_price/odd_l_price_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[OddLPricePostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/odd_l_yield/odd_l_yield_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/odd_l_yield/odd_l_yield_request_builder.py index 55e20fea5c7..671fc0d24f3 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/odd_l_yield/odd_l_yield_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/odd_l_yield/odd_l_yield_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[OddLYieldPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/or_/or_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/or_/or_request_builder.py index f98be4ed26b..72cbb4862b6 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/or_/or_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/or_/or_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[OrPostRequestBody] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/pduration/pduration_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/pduration/pduration_request_builder.py index e3d97e888eb..7ca32ceb35d 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/pduration/pduration_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/pduration/pduration_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[PdurationPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/percent_rank_exc/percent_rank_exc_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/percent_rank_exc/percent_rank_exc_request_builder.py index 7453a684e9d..2b0e20eb300 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/percent_rank_exc/percent_rank_exc_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/percent_rank_exc/percent_rank_exc_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[PercentRank_ExcPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/percent_rank_inc/percent_rank_inc_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/percent_rank_inc/percent_rank_inc_request_builder.py index b524c7963ed..1f1c66b5e8d 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/percent_rank_inc/percent_rank_inc_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/percent_rank_inc/percent_rank_inc_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[PercentRank_IncPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/percentile_exc/percentile_exc_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/percentile_exc/percentile_exc_request_builder.py index 1b2630bf7d7..039ecd63edb 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/percentile_exc/percentile_exc_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/percentile_exc/percentile_exc_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Percentile_ExcPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/percentile_inc/percentile_inc_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/percentile_inc/percentile_inc_request_builder.py index 89d0ae6993e..792869d184d 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/percentile_inc/percentile_inc_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/percentile_inc/percentile_inc_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Percentile_IncPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/permut/permut_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/permut/permut_request_builder.py index 10c5f82fda7..58390f06190 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/permut/permut_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/permut/permut_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[PermutPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/permutationa/permutationa_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/permutationa/permutationa_request_builder.py index d0bc38db4ee..10440fbf727 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/permutationa/permutationa_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/permutationa/permutationa_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[PermutationaPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/phi/phi_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/phi/phi_request_builder.py index 3a54c804279..e857500ea80 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/phi/phi_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/phi/phi_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[PhiPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/pi/pi_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/pi/pi_request_builder.py index 58055adb070..8d83ac234d1 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/pi/pi_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/pi/pi_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[PiRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PiRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/pmt/pmt_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/pmt/pmt_request_builder.py index 498258a98b9..bebd5f80d38 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/pmt/pmt_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/pmt/pmt_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[PmtPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/poisson_dist/poisson_dist_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/poisson_dist/poisson_dist_request_builder.py index 9f596c0924f..ed1534b462e 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/poisson_dist/poisson_dist_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/poisson_dist/poisson_dist_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Poisson_DistPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/power/power_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/power/power_request_builder.py index 0717b2f3170..0db6525c8df 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/power/power_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/power/power_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[PowerPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/ppmt/ppmt_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/ppmt/ppmt_request_builder.py index 14e9c3b1a3f..32e3741175d 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/ppmt/ppmt_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/ppmt/ppmt_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[PpmtPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/price/price_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/price/price_request_builder.py index d0ce5d4db74..af7575d92dd 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/price/price_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/price/price_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[PricePostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/price_disc/price_disc_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/price_disc/price_disc_request_builder.py index 65d771590ea..918453f6c28 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/price_disc/price_disc_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/price_disc/price_disc_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[PriceDiscPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/price_mat/price_mat_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/price_mat/price_mat_request_builder.py index 56ecbd8abf8..c8474c1fd63 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/price_mat/price_mat_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/price_mat/price_mat_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[PriceMatPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/product/product_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/product/product_request_builder.py index 8c17f6cdb0f..b11450447ad 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/product/product_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/product/product_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ProductPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/proper/proper_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/proper/proper_request_builder.py index a8c54a49658..e62d4c51ac8 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/proper/proper_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/proper/proper_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ProperPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/pv/pv_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/pv/pv_request_builder.py index d62e9d1dc17..1c4933fb375 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/pv/pv_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/pv/pv_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[PvPostRequestBody] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/quartile_exc/quartile_exc_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/quartile_exc/quartile_exc_request_builder.py index 840c0bfb7fd..18cda142877 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/quartile_exc/quartile_exc_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/quartile_exc/quartile_exc_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Quartile_ExcPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/quartile_inc/quartile_inc_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/quartile_inc/quartile_inc_request_builder.py index d72312bb9ef..4868346b083 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/quartile_inc/quartile_inc_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/quartile_inc/quartile_inc_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Quartile_IncPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/quotient/quotient_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/quotient/quotient_request_builder.py index 488b2d17912..4717d9ba5b8 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/quotient/quotient_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/quotient/quotient_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[QuotientPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/radians/radians_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/radians/radians_request_builder.py index 8b9a4746a5a..ca3499a2327 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/radians/radians_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/radians/radians_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[RadiansPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/rand/rand_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/rand/rand_request_builder.py index b0afe52588b..39767a5cab0 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/rand/rand_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/rand/rand_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[RandRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RandRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/rand_between/rand_between_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/rand_between/rand_between_request_builder.py index ef08caed892..e48fd9fcca9 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/rand_between/rand_between_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/rand_between/rand_between_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[RandBetweenPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/rank_avg/rank_avg_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/rank_avg/rank_avg_request_builder.py index 0673c344876..c3817d38405 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/rank_avg/rank_avg_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/rank_avg/rank_avg_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Rank_AvgPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/rank_eq/rank_eq_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/rank_eq/rank_eq_request_builder.py index 19dae4fc3f0..0a1d289d5bc 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/rank_eq/rank_eq_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/rank_eq/rank_eq_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Rank_EqPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/rate/rate_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/rate/rate_request_builder.py index 2184528daac..f69bf0b98b5 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/rate/rate_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/rate/rate_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[RatePostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/received/received_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/received/received_request_builder.py index 2c2ca8e878e..257b2b7cf70 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/received/received_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/received/received_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ReceivedPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/replace/replace_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/replace/replace_request_builder.py index 052aa0ec75f..05ab5328477 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/replace/replace_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/replace/replace_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ReplacePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/replace_b/replace_b_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/replace_b/replace_b_request_builder.py index fa5465bebc7..d72b49f2b52 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/replace_b/replace_b_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/replace_b/replace_b_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ReplaceBPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/rept/rept_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/rept/rept_request_builder.py index e01caff7222..b9f2a765934 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/rept/rept_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/rept/rept_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ReptPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/right/right_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/right/right_request_builder.py index 9a3b6bba77e..5caba0215f9 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/right/right_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/right/right_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[RightPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/rightb/rightb_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/rightb/rightb_request_builder.py index 73a36333883..fe9217b84a9 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/rightb/rightb_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/rightb/rightb_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[RightbPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/roman/roman_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/roman/roman_request_builder.py index 96f4fca2b72..76659b41c92 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/roman/roman_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/roman/roman_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[RomanPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/round/round_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/round/round_request_builder.py index 846c69570cd..ce91d038024 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/round/round_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/round/round_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[RoundPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/round_down/round_down_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/round_down/round_down_request_builder.py index 77a4d70dd50..89ad5697795 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/round_down/round_down_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/round_down/round_down_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[RoundDownPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/round_up/round_up_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/round_up/round_up_request_builder.py index fbb3f487ad3..3730323d21f 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/round_up/round_up_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/round_up/round_up_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[RoundUpPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/rows/rows_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/rows/rows_request_builder.py index 6f993a801da..50324625515 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/rows/rows_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/rows/rows_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[RowsPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/rri/rri_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/rri/rri_request_builder.py index c0c051a1ef7..2e32c931117 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/rri/rri_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/rri/rri_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[RriPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/sec/sec_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/sec/sec_request_builder.py index 9a8daf61b55..dccd3dc5649 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/sec/sec_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/sec/sec_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SecPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/sech/sech_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/sech/sech_request_builder.py index 5243ea2a834..e66d721dc08 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/sech/sech_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/sech/sech_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SechPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/second/second_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/second/second_request_builder.py index 09ee655b57d..c61711aa744 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/second/second_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/second/second_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SecondPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/series_sum/series_sum_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/series_sum/series_sum_request_builder.py index 8317f84c0be..9fed4a1ae69 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/series_sum/series_sum_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/series_sum/series_sum_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SeriesSumPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/sheet/sheet_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/sheet/sheet_request_builder.py index 427787815ec..c46e897173b 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/sheet/sheet_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/sheet/sheet_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SheetPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/sheets/sheets_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/sheets/sheets_request_builder.py index e3c85932dc4..f7a640da51d 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/sheets/sheets_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/sheets/sheets_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SheetsPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/sign/sign_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/sign/sign_request_builder.py index 7bf315562e3..8c9c44f1e1d 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/sign/sign_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/sign/sign_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SignPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/sin/sin_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/sin/sin_request_builder.py index 64e27827fdd..48a11660aac 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/sin/sin_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/sin/sin_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SinPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/sinh/sinh_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/sinh/sinh_request_builder.py index 8d0c4171683..7853bf037a9 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/sinh/sinh_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/sinh/sinh_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SinhPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/skew/skew_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/skew/skew_request_builder.py index b37b5f6a987..80caf4405c8 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/skew/skew_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/skew/skew_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SkewPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/skew_p/skew_p_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/skew_p/skew_p_request_builder.py index f64d4fc59c6..6e7970820c5 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/skew_p/skew_p_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/skew_p/skew_p_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Skew_pPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/sln/sln_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/sln/sln_request_builder.py index 37e0e97d371..4692cc222d4 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/sln/sln_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/sln/sln_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SlnPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/small/small_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/small/small_request_builder.py index 123be7f1f87..905539dd8c3 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/small/small_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/small/small_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SmallPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/sqrt/sqrt_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/sqrt/sqrt_request_builder.py index aa5b5674dc8..25724481fc5 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/sqrt/sqrt_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/sqrt/sqrt_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SqrtPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/sqrt_pi/sqrt_pi_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/sqrt_pi/sqrt_pi_request_builder.py index c9c0428d74d..eb91af0e523 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/sqrt_pi/sqrt_pi_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/sqrt_pi/sqrt_pi_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SqrtPiPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/st_dev_a/st_dev_a_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/st_dev_a/st_dev_a_request_builder.py index f6fbf679e80..7e08b26089b 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/st_dev_a/st_dev_a_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/st_dev_a/st_dev_a_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[StDevAPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/st_dev_p/st_dev_p_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/st_dev_p/st_dev_p_request_builder.py index 82f9db8ad2e..d57741af457 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/st_dev_p/st_dev_p_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/st_dev_p/st_dev_p_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[StDev_PPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/st_dev_p_a/st_dev_p_a_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/st_dev_p_a/st_dev_p_a_request_builder.py index 71642cacef3..dbfc2f3921f 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/st_dev_p_a/st_dev_p_a_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/st_dev_p_a/st_dev_p_a_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[StDevPAPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/st_dev_s/st_dev_s_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/st_dev_s/st_dev_s_request_builder.py index c19ee34cde1..68fcc29f5b1 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/st_dev_s/st_dev_s_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/st_dev_s/st_dev_s_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[StDev_SPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/standardize/standardize_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/standardize/standardize_request_builder.py index 8565b529d65..a342050813e 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/standardize/standardize_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/standardize/standardize_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[StandardizePostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/substitute/substitute_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/substitute/substitute_request_builder.py index f4d1788a4ba..9265ef5d01c 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/substitute/substitute_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/substitute/substitute_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SubstitutePostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/subtotal/subtotal_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/subtotal/subtotal_request_builder.py index c5ba457c946..38f626818c8 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/subtotal/subtotal_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/subtotal/subtotal_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SubtotalPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/sum/sum_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/sum/sum_request_builder.py index 94c7fe64c20..dd603d87156 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/sum/sum_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/sum/sum_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SumPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/sum_if/sum_if_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/sum_if/sum_if_request_builder.py index 01ba32eb39e..85a3f915c41 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/sum_if/sum_if_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/sum_if/sum_if_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SumIfPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/sum_ifs/sum_ifs_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/sum_ifs/sum_ifs_request_builder.py index 9fb6a6506f7..532ebbe6c43 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/sum_ifs/sum_ifs_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/sum_ifs/sum_ifs_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SumIfsPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/sum_sq/sum_sq_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/sum_sq/sum_sq_request_builder.py index b0826a9b2b1..dbeeb409ca3 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/sum_sq/sum_sq_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/sum_sq/sum_sq_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SumSqPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/syd/syd_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/syd/syd_request_builder.py index 6ed21a40d81..00960d9f801 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/syd/syd_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/syd/syd_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SydPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/t/t_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/t/t_request_builder.py index 8f59fdcd5e4..f55929a1b4c 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/t/t_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/t/t_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[TPostRequestBody] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/t_dist/t_dist_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/t_dist/t_dist_request_builder.py index 9a74ed97acf..6d76df5b970 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/t_dist/t_dist_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/t_dist/t_dist_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[T_DistPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/t_dist_2_t/t_dist_2_t_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/t_dist_2_t/t_dist_2_t_request_builder.py index 58fc29e1ef6..95e3937efff 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/t_dist_2_t/t_dist_2_t_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/t_dist_2_t/t_dist_2_t_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[T_Dist_2TPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/t_dist_r_t/t_dist_r_t_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/t_dist_r_t/t_dist_r_t_request_builder.py index 991caab5abe..7819ba919e8 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/t_dist_r_t/t_dist_r_t_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/t_dist_r_t/t_dist_r_t_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[T_Dist_RTPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/t_inv/t_inv_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/t_inv/t_inv_request_builder.py index 8e6b6650a12..cbaba32dc6a 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/t_inv/t_inv_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/t_inv/t_inv_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[T_InvPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/t_inv_2_t/t_inv_2_t_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/t_inv_2_t/t_inv_2_t_request_builder.py index 3f196d7f20e..bf6ab7a0316 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/t_inv_2_t/t_inv_2_t_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/t_inv_2_t/t_inv_2_t_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[T_Inv_2TPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/tan/tan_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/tan/tan_request_builder.py index 21368b70199..6ee8d293487 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/tan/tan_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/tan/tan_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[TanPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/tanh/tanh_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/tanh/tanh_request_builder.py index 8326b58d150..1681607a058 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/tanh/tanh_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/tanh/tanh_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[TanhPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/tbill_eq/tbill_eq_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/tbill_eq/tbill_eq_request_builder.py index 7c7e6ec07bb..d75d0e790d0 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/tbill_eq/tbill_eq_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/tbill_eq/tbill_eq_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[TbillEqPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/tbill_price/tbill_price_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/tbill_price/tbill_price_request_builder.py index 72f6f1d6311..44b5b45d88b 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/tbill_price/tbill_price_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/tbill_price/tbill_price_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[TbillPricePostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/tbill_yield/tbill_yield_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/tbill_yield/tbill_yield_request_builder.py index f559621cc5a..97e455e1804 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/tbill_yield/tbill_yield_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/tbill_yield/tbill_yield_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[TbillYieldPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/text/text_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/text/text_request_builder.py index 674bfac4519..d1979205252 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/text/text_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/text/text_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[TextPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/time/time_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/time/time_request_builder.py index 740ac6ae442..ccb8b87d734 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/time/time_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/time/time_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[TimePostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/timevalue/timevalue_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/timevalue/timevalue_request_builder.py index 731deb8af66..792da93f32d 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/timevalue/timevalue_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/timevalue/timevalue_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[TimevaluePostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/today/today_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/today/today_request_builder.py index 7edc2704d57..81a2d1e8e0c 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/today/today_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/today/today_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[TodayReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TodayRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/trim/trim_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/trim/trim_request_builder.py index 0d292419424..408cdca4867 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/trim/trim_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/trim/trim_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[TrimPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/trim_mean/trim_mean_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/trim_mean/trim_mean_request_builder.py index 95a0f0f0cf1..a28216e92c3 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/trim_mean/trim_mean_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/trim_mean/trim_mean_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[TrimMeanPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/true_/true_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/true_/true_request_builder.py index a0ad25a16e6..5a9fac94d0f 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/true_/true_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/true_/true_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[TrueRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TrueRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/trunc/trunc_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/trunc/trunc_request_builder.py index c3611a26f82..8a86766bb42 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/trunc/trunc_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/trunc/trunc_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[TruncPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/type/type_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/type/type_request_builder.py index fc6354828e6..d4013abd204 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/type/type_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/type/type_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[TypePostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/unichar/unichar_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/unichar/unichar_request_builder.py index 6944fb26c7b..ba4ca02e75e 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/unichar/unichar_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/unichar/unichar_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[UnicharPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/unicode/unicode_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/unicode/unicode_request_builder.py index 718131f3c0c..6b208cccdbc 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/unicode/unicode_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/unicode/unicode_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[UnicodePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/upper/upper_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/upper/upper_request_builder.py index c856c73f127..382c92f55cf 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/upper/upper_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/upper/upper_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[UpperPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/usdollar/usdollar_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/usdollar/usdollar_request_builder.py index 0a894143e76..461741438b0 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/usdollar/usdollar_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/usdollar/usdollar_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[UsdollarPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/value/value_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/value/value_request_builder.py index dd7bb022c2b..1da62df0e51 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/value/value_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/value/value_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ValuePostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/var_a/var_a_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/var_a/var_a_request_builder.py index 7c8d607a4df..0ee87e5256b 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/var_a/var_a_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/var_a/var_a_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[VarAPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/var_p/var_p_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/var_p/var_p_request_builder.py index bc996865975..e6203cff8dc 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/var_p/var_p_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/var_p/var_p_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Var_PPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/var_p_a/var_p_a_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/var_p_a/var_p_a_request_builder.py index 94f384052d6..95eb1a9cb96 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/var_p_a/var_p_a_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/var_p_a/var_p_a_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[VarPAPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/var_s/var_s_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/var_s/var_s_request_builder.py index 5868d41bb42..d5d0120d643 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/var_s/var_s_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/var_s/var_s_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Var_SPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/vdb/vdb_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/vdb/vdb_request_builder.py index 4fb59956477..675833be834 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/vdb/vdb_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/vdb/vdb_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[VdbPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/vlookup/vlookup_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/vlookup/vlookup_request_builder.py index 19a77493116..68085499d4c 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/vlookup/vlookup_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/vlookup/vlookup_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[VlookupPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/week_num/week_num_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/week_num/week_num_request_builder.py index b2074e8558c..8cd4375754f 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/week_num/week_num_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/week_num/week_num_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[WeekNumPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/weekday/weekday_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/weekday/weekday_request_builder.py index 9c76e35b98a..e1cc7991a80 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/weekday/weekday_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/weekday/weekday_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[WeekdayPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/weibull_dist/weibull_dist_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/weibull_dist/weibull_dist_request_builder.py index d0dae12220e..457983e1078 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/weibull_dist/weibull_dist_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/weibull_dist/weibull_dist_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Weibull_DistPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/work_day/work_day_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/work_day/work_day_request_builder.py index 361ee142e4a..e5117c44d48 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/work_day/work_day_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/work_day/work_day_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[WorkDayPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/work_day_intl/work_day_intl_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/work_day_intl/work_day_intl_request_builder.py index e6770a51448..e4b04a61e66 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/work_day_intl/work_day_intl_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/work_day_intl/work_day_intl_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[WorkDay_IntlPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/xirr/xirr_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/xirr/xirr_request_builder.py index fca4829ba34..7cd68737604 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/xirr/xirr_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/xirr/xirr_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[XirrPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/xnpv/xnpv_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/xnpv/xnpv_request_builder.py index d806262590e..30387f608ac 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/xnpv/xnpv_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/xnpv/xnpv_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[XnpvPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/xor/xor_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/xor/xor_request_builder.py index 67b1e9332e1..b3c92d276ad 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/xor/xor_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/xor/xor_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[XorPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/year/year_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/year/year_request_builder.py index 7bf74e84470..1ee91c96220 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/year/year_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/year/year_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[YearPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/year_frac/year_frac_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/year_frac/year_frac_request_builder.py index 7a3bbb721cb..c73fe06c759 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/year_frac/year_frac_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/year_frac/year_frac_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[YearFracPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/yield_/yield_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/yield_/yield_request_builder.py index cf2af4e5959..406958a3b3e 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/yield_/yield_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/yield_/yield_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[YieldPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/yield_disc/yield_disc_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/yield_disc/yield_disc_request_builder.py index 481045e4d30..619f52dc2c0 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/yield_disc/yield_disc_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/yield_disc/yield_disc_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[YieldDiscPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/yield_mat/yield_mat_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/yield_mat/yield_mat_request_builder.py index b764129f39b..0f6720a18d7 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/yield_mat/yield_mat_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/yield_mat/yield_mat_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[YieldMatPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/functions/z_test/z_test_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/functions/z_test/z_test_request_builder.py index ff1439e8c4f..8c1a4ed1c97 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/functions/z_test/z_test_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/functions/z_test/z_test_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[Z_TestPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/names/add/add_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/names/add/add_request_builder.py index e03fab546f5..b42371718cd 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/names/add/add_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/names/add/add_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> Optional[WorkbookNamedItem]: """ - Adds a new name to the collection of the given scope using the user's locale for the formula. This API is available in the following national cloud deployments. + Adds a new name to the collection of the given scope using the user's locale for the formula. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookNamedItem] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddPostRequestBody] = None, request_configura def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Adds a new name to the collection of the given scope using the user's locale for the formula. This API is available in the following national cloud deployments. + Adds a new name to the collection of the given scope using the user's locale for the formula. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/names/add_formula_local/add_formula_local_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/names/add_formula_local/add_formula_local_request_builder.py index 7b3483ac714..30f008806fc 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/names/add_formula_local/add_formula_local_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/names/add_formula_local/add_formula_local_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddFormulaLocalPostRequestBody] = None, request_configuration: Optional[AddFormulaLocalRequestBuilderPostRequestConfiguration] = None) -> Optional[WorkbookNamedItem]: """ - Adds a new name to the collection of the given scope using the user's locale for the formula. This API is available in the following national cloud deployments. + Adds a new name to the collection of the given scope using the user's locale for the formula. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookNamedItem] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddFormulaLocalPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[AddFormulaLocalPostRequestBody] = None, request_configuration: Optional[AddFormulaLocalRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Adds a new name to the collection of the given scope using the user's locale for the formula. This API is available in the following national cloud deployments. + Adds a new name to the collection of the given scope using the user's locale for the formula. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddFormulaLocalPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py index d39b241ee8d..7b0d37b61f1 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py @@ -28,10 +28,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RangeRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookRange]: """ - Retrieve the properties and relationships of range object. This API is available in the following national cloud deployments. + Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] - Find more info here: https://learn.microsoft.com/graph/api/range-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[RangeRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[RangeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of range object. This API is available in the following national cloud deployments. + Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RangeRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RangeRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/names/item/workbook_named_item_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/names/item/workbook_named_item_item_request_builder.py index 525a2b98586..143ba953474 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/names/item/workbook_named_item_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/names/item/workbook_named_item_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[WorkbookNamedItemItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a workbookNamedItem object. This API is available in the following national cloud deployments. + Delete a workbookNamedItem object. 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/nameditem-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[WorkbookNamedItemItemReque async def get(self,request_configuration: Optional[WorkbookNamedItemItemRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookNamedItem]: """ - Retrieve the properties and relationships of nameditem object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of nameditem object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookNamedItem] Find more info here: https://learn.microsoft.com/graph/api/nameditem-get?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[WorkbookNamedItemItemRequestB async def patch(self,body: Optional[WorkbookNamedItem] = None, request_configuration: Optional[WorkbookNamedItemItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[WorkbookNamedItem]: """ - Update the properties of nameditem object. This API is available in the following national cloud deployments. + Update the properties of nameditem object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookNamedItem] @@ -97,7 +97,7 @@ async def patch(self,body: Optional[WorkbookNamedItem] = None, request_configura def to_delete_request_information(self,request_configuration: Optional[WorkbookNamedItemItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a workbookNamedItem object. This API is available in the following national cloud deployments. + Delete a workbookNamedItem object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[WorkbookN request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkbookNamedItemItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of nameditem object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of nameditem object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[WorkbookName request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookNamedItem] = None, request_configuration: Optional[WorkbookNamedItemItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of nameditem object. This API is available in the following national cloud deployments. + Update the properties of nameditem object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[WorkbookNamedItem] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class WorkbookNamedItemItemRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class WorkbookNamedItemItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of nameditem object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of nameditem object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/names/item/worksheet/worksheet_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/names/item/worksheet/worksheet_request_builder.py index 1b083c950b8..2966476bb83 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/names/item/worksheet/worksheet_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/names/item/worksheet/worksheet_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[WorksheetReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> WorksheetRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/names/names_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/names/names_request_builder.py index 5453e47879c..f4bf964ab2a 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/names/names_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/names/names_request_builder.py @@ -47,7 +47,7 @@ def by_workbook_named_item_id(self,workbook_named_item_id: str) -> WorkbookNamed async def get(self,request_configuration: Optional[NamesRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookNamedItemCollectionResponse]: """ - Retrieve a list of nameditem objects. This API is available in the following national cloud deployments. + Retrieve a list of nameditem objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookNamedItemCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/workbook-list-names?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def post(self,body: Optional[WorkbookNamedItem] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[NamesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of nameditem objects. This API is available in the following national cloud deployments. + Retrieve a list of nameditem objects. 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[NamesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WorkbookNamedItem] = None, request_configuration: Optional[NamesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[WorkbookNamedItem] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ def count(self) -> CountRequestBuilder: @dataclass class NamesRequestBuilderGetQueryParameters(): """ - Retrieve a list of nameditem objects. This API is available in the following national cloud deployments. + Retrieve a list of nameditem objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/operations/item/workbook_operation_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/operations/item/workbook_operation_item_request_builder.py index 7df75eb7b9c..57ecda7b151 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/operations/item/workbook_operation_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/operations/item/workbook_operation_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[WorkbookOperationItemReque async def get(self,request_configuration: Optional[WorkbookOperationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookOperation]: """ - Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. This API is available in the following national cloud deployments. + Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookOperation] Find more info here: https://learn.microsoft.com/graph/api/workbookoperation-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[WorkbookO request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkbookOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. This API is available in the following national cloud deployments. + Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[WorkbookOper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookOperation] = None, request_configuration: Optional[WorkbookOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookOperation] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class WorkbookOperationItemRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class WorkbookOperationItemRequestBuilderGetQueryParameters(): """ - Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. This API is available in the following national cloud deployments. + Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/operations/operations_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/operations/operations_request_builder.py index e92426268f0..7e118e16069 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/operations/operations_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/operations/operations_request_builder.py @@ -45,7 +45,7 @@ def by_workbook_operation_id(self,workbook_operation_id: str) -> WorkbookOperati async def get(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookOperationCollectionResponse]: """ - Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. This API is available in the following national cloud deployments. + Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookOperationCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[WorkbookOperation] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. This API is available in the following national cloud deployments. + Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WorkbookOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WorkbookOperation] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OperationsRequestBuilderGetQueryParameters(): """ - Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. This API is available in the following national cloud deployments. + Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/refresh_session/refresh_session_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/refresh_session/refresh_session_request_builder.py index 6fcbd22c952..1dee4032242 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/refresh_session/refresh_session_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/refresh_session/refresh_session_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RefreshSessionRequestBuilderPostRequestConfiguration] = None) -> None: """ - Use this API to refresh an existing workbook session. This API is available in the following national cloud deployments. + Use this API to refresh an existing workbook session. 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/workbook-refreshsession?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RefreshSessionRequestBuilder def to_post_request_information(self,request_configuration: Optional[RefreshSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to refresh an existing workbook session. This API is available in the following national cloud deployments. + Use this API to refresh an existing workbook session. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshSess request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshSessionRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/session_info_resource_with_key/session_info_resource_with_key_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/session_info_resource_with_key/session_info_resource_with_key_request_builder.py index 1df58603e01..5161fc483a3 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/session_info_resource_with_key/session_info_resource_with_key_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/session_info_resource_with_key/session_info_resource_with_key_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[SessionInfoR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SessionInfoResourceWithKeyRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/table_row_operation_result_with_key/table_row_operation_result_with_key_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/table_row_operation_result_with_key/table_row_operation_result_with_key_request_builder.py index bcd4c3ab07c..6e2b32912b2 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/table_row_operation_result_with_key/table_row_operation_result_with_key_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/table_row_operation_result_with_key/table_row_operation_result_with_key_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[TableRowOper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TableRowOperationResultWithKeyRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py index 44a425d5cd0..cdba78eaa23 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> Optional[WorkbookTable]: """ - Use this API to create a new Table. This API is available in the following national cloud deployments. + Use this API to create a new Table. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTable] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddPostRequestBody] = None, request_configura def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Table. This API is available in the following national cloud deployments. + Use this API to create a new Table. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/count/count_request_builder.py index d2f781692cb..9a31929c6b4 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/count/count_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[CountRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/clear_filters/clear_filters_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/clear_filters/clear_filters_request_builder.py index 97b6dc7d47d..e5f4a8ec4fd 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/clear_filters/clear_filters_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/clear_filters/clear_filters_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ClearFiltersRequestBuilderPostRequestConfiguration] = None) -> None: """ - Clears all the filters currently applied on the table. This API is available in the following national cloud deployments. + Clears all the filters currently applied on the table. 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/table-clearfilters?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ClearFiltersRequestBuilderPo def to_post_request_information(self,request_configuration: Optional[ClearFiltersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clears all the filters currently applied on the table. This API is available in the following national cloud deployments. + Clears all the filters currently applied on the table. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ClearFilter request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ClearFiltersRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/add/add_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/add/add_request_builder.py index e541185ada3..cdf80701d5e 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/add/add_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/add/add_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> Optional[WorkbookTableColumn]: """ - Adds a new column to the table. This API is available in the following national cloud deployments. + Adds a new column to the table. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTableColumn] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddPostRequestBody] = None, request_configura def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Adds a new column to the table. This API is available in the following national cloud deployments. + Adds a new column to the table. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/columns_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/columns_request_builder.py index 39ff795ec29..6dfab53c380 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/columns_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/columns_request_builder.py @@ -47,7 +47,7 @@ def by_workbook_table_column_id(self,workbook_table_column_id: str) -> WorkbookT async def get(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookTableColumnCollectionResponse]: """ - Retrieve a list of tablecolumn objects. This API is available in the following national cloud deployments. + Retrieve a list of tablecolumn objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTableColumnCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/tablecolumn-list?view=graph-rest-1.0 @@ -81,7 +81,7 @@ def item_at_with_index(self,index: Optional[int] = None) -> ItemAtWithIndexReque async def post(self,body: Optional[WorkbookTableColumn] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> Optional[WorkbookTableColumn]: """ - Use this API to create a new TableColumn. This API is available in the following national cloud deployments. + Use this API to create a new TableColumn. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTableColumn] @@ -106,7 +106,7 @@ async def post(self,body: Optional[WorkbookTableColumn] = None, request_configur def to_get_request_information(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of tablecolumn objects. This API is available in the following national cloud deployments. + Retrieve a list of tablecolumn objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -118,12 +118,12 @@ def to_get_request_information(self,request_configuration: Optional[ColumnsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WorkbookTableColumn] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new TableColumn. This API is available in the following national cloud deployments. + Use this API to create a new TableColumn. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -137,7 +137,7 @@ def to_post_request_information(self,body: Optional[WorkbookTableColumn] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -172,7 +172,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ColumnsRequestBuilderGetQueryParameters(): """ - Retrieve a list of tablecolumn objects. This API is available in the following national cloud deployments. + Retrieve a list of tablecolumn objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/count/count_request_builder.py index 6c7d2748d8b..7cf47e2275e 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/count/count_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[CountRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/data_body_range/data_body_range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/data_body_range/data_body_range_request_builder.py index 5390d6238a7..8a386404b92 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/data_body_range/data_body_range_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/data_body_range/data_body_range_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DataBodyRangeRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookRange]: """ - Gets the range object associated with the data body of the column. This API is available in the following national cloud deployments. + Gets the range object associated with the data body of the column. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] Find more info here: https://learn.microsoft.com/graph/api/tablecolumn-databodyrange?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DataBodyRangeRequestBuilderGe def to_get_request_information(self,request_configuration: Optional[DataBodyRangeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Gets the range object associated with the data body of the column. This API is available in the following national cloud deployments. + Gets the range object associated with the data body of the column. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DataBodyRang request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DataBodyRangeRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply/apply_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply/apply_request_builder.py index 44d2d0db826..381fd840d5e 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply/apply_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply/apply_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ApplyPostRequestBody] = None, request_configuration: Optional[ApplyRequestBuilderPostRequestConfiguration] = None) -> None: """ - Apply the given filter criteria on the given column. This API is available in the following national cloud deployments. + Apply the given filter criteria on the given column. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ApplyPostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[ApplyPostRequestBody] = None, request_configuration: Optional[ApplyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Apply the given filter criteria on the given column. This API is available in the following national cloud deployments. + Apply the given filter criteria on the given column. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ApplyPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_bottom_items_filter/apply_bottom_items_filter_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_bottom_items_filter/apply_bottom_items_filter_request_builder.py index 45b0a1e5076..6a9c13aedbe 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_bottom_items_filter/apply_bottom_items_filter_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_bottom_items_filter/apply_bottom_items_filter_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ApplyBottomItemsFilterPostRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_bottom_percent_filter/apply_bottom_percent_filter_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_bottom_percent_filter/apply_bottom_percent_filter_request_builder.py index 212d69e7e8b..fbb2bee8c5f 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_bottom_percent_filter/apply_bottom_percent_filter_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_bottom_percent_filter/apply_bottom_percent_filter_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ApplyBottomPercentFilterPost request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_cell_color_filter/apply_cell_color_filter_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_cell_color_filter/apply_cell_color_filter_request_builder.py index e7203773459..8ee79639800 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_cell_color_filter/apply_cell_color_filter_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_cell_color_filter/apply_cell_color_filter_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ApplyCellColorFilterPostRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_custom_filter/apply_custom_filter_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_custom_filter/apply_custom_filter_request_builder.py index 2be50add9c9..0e02908f09d 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_custom_filter/apply_custom_filter_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_custom_filter/apply_custom_filter_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ApplyCustomFilterPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_dynamic_filter/apply_dynamic_filter_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_dynamic_filter/apply_dynamic_filter_request_builder.py index 8ddb619fb26..e15c29b6a48 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_dynamic_filter/apply_dynamic_filter_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_dynamic_filter/apply_dynamic_filter_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ApplyDynamicFilterPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_font_color_filter/apply_font_color_filter_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_font_color_filter/apply_font_color_filter_request_builder.py index 2938d81aabb..3016d19bca1 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_font_color_filter/apply_font_color_filter_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_font_color_filter/apply_font_color_filter_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ApplyFontColorFilterPostRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_icon_filter/apply_icon_filter_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_icon_filter/apply_icon_filter_request_builder.py index 09ea4aef766..86a33f1a4af 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_icon_filter/apply_icon_filter_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_icon_filter/apply_icon_filter_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ApplyIconFilterPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_top_items_filter/apply_top_items_filter_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_top_items_filter/apply_top_items_filter_request_builder.py index 92f87f439e8..79d71b7f3e7 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_top_items_filter/apply_top_items_filter_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_top_items_filter/apply_top_items_filter_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ApplyTopItemsFilterPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_top_percent_filter/apply_top_percent_filter_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_top_percent_filter/apply_top_percent_filter_request_builder.py index dc445981adc..aca7bc4e411 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_top_percent_filter/apply_top_percent_filter_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_top_percent_filter/apply_top_percent_filter_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ApplyTopPercentFilterPostReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_values_filter/apply_values_filter_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_values_filter/apply_values_filter_request_builder.py index 72838872705..59c4b97ee28 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_values_filter/apply_values_filter_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_values_filter/apply_values_filter_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ApplyValuesFilterPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/clear/clear_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/clear/clear_request_builder.py index 297bd18768b..85e7eb7485d 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/clear/clear_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/clear/clear_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> None: """ - Clear the filter on the given column. This API is available in the following national cloud deployments. + Clear the filter on the given column. 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/filter-clear?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ClearRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clear the filter on the given column. This API is available in the following national cloud deployments. + Clear the filter on the given column. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ClearReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ClearRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/filter_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/filter_request_builder.py index 2d1091cce5d..d5ed7234a57 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/filter_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/filter_request_builder.py @@ -115,7 +115,7 @@ def to_delete_request_information(self,request_configuration: Optional[FilterReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FilterRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -132,7 +132,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookFilter] = None, request_configuration: Optional[FilterRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -151,7 +151,7 @@ def to_patch_request_information(self,body: Optional[WorkbookFilter] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/header_row_range/header_row_range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/header_row_range/header_row_range_request_builder.py index 2ed186614c7..e21b82ebb3b 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/header_row_range/header_row_range_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/header_row_range/header_row_range_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[HeaderRowRangeRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookRange]: """ - Gets the range object associated with the header row of the column. This API is available in the following national cloud deployments. + Gets the range object associated with the header row of the column. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] Find more info here: https://learn.microsoft.com/graph/api/tablecolumn-headerrowrange?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[HeaderRowRangeRequestBuilderG def to_get_request_information(self,request_configuration: Optional[HeaderRowRangeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Gets the range object associated with the header row of the column. This API is available in the following national cloud deployments. + Gets the range object associated with the header row of the column. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[HeaderRowRan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> HeaderRowRangeRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/range/range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/range/range_request_builder.py index 44c43c34ce9..922da52665d 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/range/range_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/range/range_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RangeRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookRange]: """ - Gets the range object associated with the entire column. This API is available in the following national cloud deployments. + Gets the range object associated with the entire column. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] Find more info here: https://learn.microsoft.com/graph/api/tablecolumn-range?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[RangeRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[RangeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Gets the range object associated with the entire column. This API is available in the following national cloud deployments. + Gets the range object associated with the entire column. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RangeRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RangeRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/total_row_range/total_row_range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/total_row_range/total_row_range_request_builder.py index 78afa9865a7..567d953beec 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/total_row_range/total_row_range_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/total_row_range/total_row_range_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[TotalRowRangeRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookRange]: """ - Gets the range object associated with the totals row of the column. This API is available in the following national cloud deployments. + Gets the range object associated with the totals row of the column. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] Find more info here: https://learn.microsoft.com/graph/api/tablecolumn-totalrowrange?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[TotalRowRangeRequestBuilderGe def to_get_request_information(self,request_configuration: Optional[TotalRowRangeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Gets the range object associated with the totals row of the column. This API is available in the following national cloud deployments. + Gets the range object associated with the totals row of the column. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TotalRowRang request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TotalRowRangeRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/workbook_table_column_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/workbook_table_column_item_request_builder.py index 4e7207b8b0f..39ed4eae269 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/workbook_table_column_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item/workbook_table_column_item_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[WorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes the column from the table. This API is available in the following national cloud deployments. + Deletes the column from the table. 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/tablecolumn-delete?view=graph-rest-1.0 @@ -53,7 +53,7 @@ async def delete(self,request_configuration: Optional[WorkbookTableColumnItemReq async def get(self,request_configuration: Optional[WorkbookTableColumnItemRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookTableColumn]: """ - Retrieve the properties and relationships of tablecolumn object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of tablecolumn object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTableColumn] Find more info here: https://learn.microsoft.com/graph/api/tablecolumn-get?view=graph-rest-1.0 @@ -75,7 +75,7 @@ async def get(self,request_configuration: Optional[WorkbookTableColumnItemReques async def patch(self,body: Optional[WorkbookTableColumn] = None, request_configuration: Optional[WorkbookTableColumnItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[WorkbookTableColumn]: """ - Update the properties of tablecolumn object. This API is available in the following national cloud deployments. + Update the properties of tablecolumn object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTableColumn] @@ -100,7 +100,7 @@ async def patch(self,body: Optional[WorkbookTableColumn] = None, request_configu def to_delete_request_information(self,request_configuration: Optional[WorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes the column from the table. This API is available in the following national cloud deployments. + Deletes the column from the table. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -111,12 +111,12 @@ def to_delete_request_information(self,request_configuration: Optional[WorkbookT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkbookTableColumnItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of tablecolumn object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of tablecolumn object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -128,12 +128,12 @@ def to_get_request_information(self,request_configuration: Optional[WorkbookTabl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookTableColumn] = None, request_configuration: Optional[WorkbookTableColumnItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of tablecolumn object. This API is available in the following national cloud deployments. + Update the properties of tablecolumn object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[WorkbookTableColumn] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -219,7 +219,7 @@ class WorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class WorkbookTableColumnItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of tablecolumn object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of tablecolumn object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item_at_with_index/item_at_with_index_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item_at_with_index/item_at_with_index_request_builder.py index e89286d6254..b6d63fbae67 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item_at_with_index/item_at_with_index_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/columns/item_at_with_index/item_at_with_index_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemAtWithIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ItemAtWithIndexRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/convert_to_range/convert_to_range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/convert_to_range/convert_to_range_request_builder.py index 25d2a731794..747b2d88518 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/convert_to_range/convert_to_range_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/convert_to_range/convert_to_range_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ConvertToRangeRequestBuilderPostRequestConfiguration] = None) -> Optional[WorkbookRange]: """ - Converts the table into a normal range of cells. All data is preserved. This API is available in the following national cloud deployments. + Converts the table into a normal range of cells. All data is preserved. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] Find more info here: https://learn.microsoft.com/graph/api/table-converttorange?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[ConvertToRangeRequestBuilder def to_post_request_information(self,request_configuration: Optional[ConvertToRangeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Converts the table into a normal range of cells. All data is preserved. This API is available in the following national cloud deployments. + Converts the table into a normal range of cells. All data is preserved. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[ConvertToRa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ConvertToRangeRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/data_body_range/data_body_range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/data_body_range/data_body_range_request_builder.py index 9f8303ec324..9a1e0a4001d 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/data_body_range/data_body_range_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/data_body_range/data_body_range_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DataBodyRangeRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookRange]: """ - Gets the range object associated with the data body of the table. This API is available in the following national cloud deployments. + Gets the range object associated with the data body of the table. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] Find more info here: https://learn.microsoft.com/graph/api/table-databodyrange?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DataBodyRangeRequestBuilderGe def to_get_request_information(self,request_configuration: Optional[DataBodyRangeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Gets the range object associated with the data body of the table. This API is available in the following national cloud deployments. + Gets the range object associated with the data body of the table. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DataBodyRang request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DataBodyRangeRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/header_row_range/header_row_range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/header_row_range/header_row_range_request_builder.py index c157a65be3b..0368295f70e 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/header_row_range/header_row_range_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/header_row_range/header_row_range_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[HeaderRowRangeRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookRange]: """ - Gets the range object associated with header row of the table. This API is available in the following national cloud deployments. + Gets the range object associated with header row of the table. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] Find more info here: https://learn.microsoft.com/graph/api/table-headerrowrange?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[HeaderRowRangeRequestBuilderG def to_get_request_information(self,request_configuration: Optional[HeaderRowRangeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Gets the range object associated with header row of the table. This API is available in the following national cloud deployments. + Gets the range object associated with header row of the table. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[HeaderRowRan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> HeaderRowRangeRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/range/range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/range/range_request_builder.py index ebc24dea993..b4e8722273f 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/range/range_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/range/range_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RangeRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookRange]: """ - Gets the range object associated with the entire table. This API is available in the following national cloud deployments. + Gets the range object associated with the entire table. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] Find more info here: https://learn.microsoft.com/graph/api/table-range?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[RangeRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[RangeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Gets the range object associated with the entire table. This API is available in the following national cloud deployments. + Gets the range object associated with the entire table. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RangeRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RangeRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/reapply_filters/reapply_filters_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/reapply_filters/reapply_filters_request_builder.py index c21877aff1e..dcc3a918eb7 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/reapply_filters/reapply_filters_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/reapply_filters/reapply_filters_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ReapplyFiltersRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reapplies all the filters currently on the table. This API is available in the following national cloud deployments. + Reapplies all the filters currently on the table. 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/table-reapplyfilters?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ReapplyFiltersRequestBuilder def to_post_request_information(self,request_configuration: Optional[ReapplyFiltersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reapplies all the filters currently on the table. This API is available in the following national cloud deployments. + Reapplies all the filters currently on the table. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ReapplyFilt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReapplyFiltersRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/rows/add/add_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/rows/add/add_request_builder.py index 56bcbc7612c..373111d875c 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/rows/add/add_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/rows/add/add_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> Optional[WorkbookTableRow]: """ - Adds rows to the end of the table. Note that the API can accept multiple rows data using this API. Adding one row at a time could lead to performance degradation. The recommended approach would be to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform single rows add operation. Experiment with the number of rows to determine the ideal number of rows to use in single API call. This API is available in the following national cloud deployments. + Adds rows to the end of the table. Note that the API can accept multiple rows data using this API. Adding one row at a time could lead to performance degradation. The recommended approach would be to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform single rows add operation. Experiment with the number of rows to determine the ideal number of rows to use in single API call. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTableRow] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddPostRequestBody] = None, request_configura def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Adds rows to the end of the table. Note that the API can accept multiple rows data using this API. Adding one row at a time could lead to performance degradation. The recommended approach would be to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform single rows add operation. Experiment with the number of rows to determine the ideal number of rows to use in single API call. This API is available in the following national cloud deployments. + Adds rows to the end of the table. Note that the API can accept multiple rows data using this API. Adding one row at a time could lead to performance degradation. The recommended approach would be to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform single rows add operation. Experiment with the number of rows to determine the ideal number of rows to use in single API call. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/rows/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/rows/count/count_request_builder.py index 068d24d1b87..9abaef7665e 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/rows/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/rows/count/count_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[CountRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/rows/item/range/range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/rows/item/range/range_request_builder.py index c319983218b..46482734071 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/rows/item/range/range_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/rows/item/range/range_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RangeRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RangeRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/rows/item/workbook_table_row_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/rows/item/workbook_table_row_item_request_builder.py index 5cb4180c105..7d10f03e845 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/rows/item/workbook_table_row_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/rows/item/workbook_table_row_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[WorkbookTableRowItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes the row from the table. This API is available in the following national cloud deployments. + Deletes the row from the table. 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/tablerow-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[WorkbookTableRowItemReques async def get(self,request_configuration: Optional[WorkbookTableRowItemRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookTableRow]: """ - Retrieve the properties and relationships of tablerow object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of tablerow object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTableRow] Find more info here: https://learn.microsoft.com/graph/api/tablerow-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[WorkbookTableRowItemRequestBu async def patch(self,body: Optional[WorkbookTableRow] = None, request_configuration: Optional[WorkbookTableRowItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[WorkbookTableRow]: """ - Update the properties of tablerow object. This API is available in the following national cloud deployments. + Update the properties of tablerow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTableRow] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[WorkbookTableRow] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[WorkbookTableRowItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes the row from the table. This API is available in the following national cloud deployments. + Deletes the row from the table. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[WorkbookT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkbookTableRowItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of tablerow object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of tablerow object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[WorkbookTabl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookTableRow] = None, request_configuration: Optional[WorkbookTableRowItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of tablerow object. This API is available in the following national cloud deployments. + Update the properties of tablerow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[WorkbookTableRow] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class WorkbookTableRowItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class WorkbookTableRowItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of tablerow object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of tablerow object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/rows/item_at_with_index/item_at_with_index_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/rows/item_at_with_index/item_at_with_index_request_builder.py index c9bffd741aa..33e646ba007 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/rows/item_at_with_index/item_at_with_index_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/rows/item_at_with_index/item_at_with_index_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemAtWithIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ItemAtWithIndexRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/rows/rows_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/rows/rows_request_builder.py index 930645f82c2..a870e1d3437 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/rows/rows_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/rows/rows_request_builder.py @@ -47,10 +47,10 @@ def by_workbook_table_row_id(self,workbook_table_row_id: str) -> WorkbookTableRo async def get(self,request_configuration: Optional[RowsRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookTableRowCollectionResponse]: """ - Retrieve a list of tablerow objects. This API is available in the following national cloud deployments. + Retrieve a list of tablerow objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTableRowCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/tablerow-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -81,7 +81,7 @@ def item_at_with_index(self,index: Optional[int] = None) -> ItemAtWithIndexReque async def post(self,body: Optional[WorkbookTableRow] = None, request_configuration: Optional[RowsRequestBuilderPostRequestConfiguration] = None) -> Optional[WorkbookTableRow]: """ - Add rows to the end of a table. The API can accept multiple rows data using this API. Adding one row at a time can lead to performance degradation. The recommended approach is to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. This API is available in the following national cloud deployments. + Add rows to the end of a table. The API can accept multiple rows data using this API. Adding one row at a time can lead to performance degradation. The recommended approach is to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTableRow] @@ -106,7 +106,7 @@ async def post(self,body: Optional[WorkbookTableRow] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RowsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of tablerow objects. This API is available in the following national cloud deployments. + Retrieve a list of tablerow objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -118,12 +118,12 @@ def to_get_request_information(self,request_configuration: Optional[RowsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WorkbookTableRow] = None, request_configuration: Optional[RowsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add rows to the end of a table. The API can accept multiple rows data using this API. Adding one row at a time can lead to performance degradation. The recommended approach is to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. This API is available in the following national cloud deployments. + Add rows to the end of a table. The API can accept multiple rows data using this API. Adding one row at a time can lead to performance degradation. The recommended approach is to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -137,7 +137,7 @@ def to_post_request_information(self,body: Optional[WorkbookTableRow] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -172,7 +172,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RowsRequestBuilderGetQueryParameters(): """ - Retrieve a list of tablerow objects. This API is available in the following national cloud deployments. + Retrieve a list of tablerow objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/sort/apply/apply_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/sort/apply/apply_request_builder.py index f3b35021554..9316ab56ee5 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/sort/apply/apply_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/sort/apply/apply_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ApplyPostRequestBody] = None, request_configuration: Optional[ApplyRequestBuilderPostRequestConfiguration] = None) -> None: """ - Perform a sort operation. This API is available in the following national cloud deployments. + Perform a sort operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ApplyPostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[ApplyPostRequestBody] = None, request_configuration: Optional[ApplyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Perform a sort operation. This API is available in the following national cloud deployments. + Perform a sort operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ApplyPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/sort/clear/clear_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/sort/clear/clear_request_builder.py index 87af10d6117..9e1052b3b2d 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/sort/clear/clear_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/sort/clear/clear_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> None: """ - Clears the sorting that is currently on the table. While this doesn't modify the table's ordering, it clears the state of the header buttons. This API is available in the following national cloud deployments. + Clears the sorting that is currently on the table. While this doesn't modify the table's ordering, it clears the state of the header buttons. 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/tablesort-clear?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ClearRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clears the sorting that is currently on the table. While this doesn't modify the table's ordering, it clears the state of the header buttons. This API is available in the following national cloud deployments. + Clears the sorting that is currently on the table. While this doesn't modify the table's ordering, it clears the state of the header buttons. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ClearReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ClearRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/sort/reapply/reapply_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/sort/reapply/reapply_request_builder.py index 9746b3102f8..6a1f0df21f4 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/sort/reapply/reapply_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/sort/reapply/reapply_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ReapplyRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reapplies the current sorting parameters to the table. This API is available in the following national cloud deployments. + Reapplies the current sorting parameters to the table. 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/tablesort-reapply?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ReapplyRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[ReapplyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reapplies the current sorting parameters to the table. This API is available in the following national cloud deployments. + Reapplies the current sorting parameters to the table. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ReapplyRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReapplyRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/sort/sort_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/sort/sort_request_builder.py index eede19eaee1..e0d5d819324 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/sort/sort_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/sort/sort_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[SortRequestBuilderDeleteRe async def get(self,request_configuration: Optional[SortRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookTableSort]: """ - Retrieve the properties and relationships of tablesort object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of tablesort object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTableSort] Find more info here: https://learn.microsoft.com/graph/api/tablesort-get?view=graph-rest-1.0 @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[SortReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SortRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of tablesort object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of tablesort object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[SortRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookTableSort] = None, request_configuration: Optional[SortRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[WorkbookTableSort] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -197,7 +197,7 @@ class SortRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class SortRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of tablesort object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of tablesort object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/total_row_range/total_row_range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/total_row_range/total_row_range_request_builder.py index dfd246a2476..319590f7ece 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/total_row_range/total_row_range_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/total_row_range/total_row_range_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[TotalRowRangeRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookRange]: """ - Gets the range object associated with totals row of the table. This API is available in the following national cloud deployments. + Gets the range object associated with totals row of the table. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] Find more info here: https://learn.microsoft.com/graph/api/table-totalrowrange?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[TotalRowRangeRequestBuilderGe def to_get_request_information(self,request_configuration: Optional[TotalRowRangeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Gets the range object associated with totals row of the table. This API is available in the following national cloud deployments. + Gets the range object associated with totals row of the table. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TotalRowRang request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TotalRowRangeRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/workbook_table_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/workbook_table_item_request_builder.py index 2cfbd56c4c9..150bea6d5de 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/workbook_table_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/workbook_table_item_request_builder.py @@ -39,7 +39,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[WorkbookTableItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes the table. This API is available in the following national cloud deployments. + Deletes the table. 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/table-delete?view=graph-rest-1.0 @@ -59,7 +59,7 @@ async def delete(self,request_configuration: Optional[WorkbookTableItemRequestBu async def get(self,request_configuration: Optional[WorkbookTableItemRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookTable]: """ - Retrieve the properties and relationships of table object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of table object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTable] Find more info here: https://learn.microsoft.com/graph/api/table-get?view=graph-rest-1.0 @@ -81,7 +81,7 @@ async def get(self,request_configuration: Optional[WorkbookTableItemRequestBuild async def patch(self,body: Optional[WorkbookTable] = None, request_configuration: Optional[WorkbookTableItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[WorkbookTable]: """ - Update the properties of table object. This API is available in the following national cloud deployments. + Update the properties of table object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTable] @@ -106,7 +106,7 @@ async def patch(self,body: Optional[WorkbookTable] = None, request_configuration def to_delete_request_information(self,request_configuration: Optional[WorkbookTableItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes the table. This API is available in the following national cloud deployments. + Deletes the table. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,12 +117,12 @@ def to_delete_request_information(self,request_configuration: Optional[WorkbookT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkbookTableItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of table object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of table object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -134,12 +134,12 @@ def to_get_request_information(self,request_configuration: Optional[WorkbookTabl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookTable] = None, request_configuration: Optional[WorkbookTableItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of table object. This API is available in the following national cloud deployments. + Update the properties of table object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -153,7 +153,7 @@ def to_patch_request_information(self,body: Optional[WorkbookTable] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -279,7 +279,7 @@ class WorkbookTableItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class WorkbookTableItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of table object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of table object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/worksheet/worksheet_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/worksheet/worksheet_request_builder.py index 89f8f7810b1..69f3c878584 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/worksheet/worksheet_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item/worksheet/worksheet_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[WorksheetReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> WorksheetRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item_at_with_index/item_at_with_index_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item_at_with_index/item_at_with_index_request_builder.py index 9942a4173a4..aa144ff2484 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/item_at_with_index/item_at_with_index_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/item_at_with_index/item_at_with_index_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemAtWithIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ItemAtWithIndexRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/tables_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/tables_request_builder.py index 196df4b0b08..643f57fd58d 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/tables_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/tables_request_builder.py @@ -47,7 +47,7 @@ def by_workbook_table_id(self,workbook_table_id: str) -> WorkbookTableItemReques async def get(self,request_configuration: Optional[TablesRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookTableCollectionResponse]: """ - Retrieve a list of table objects. This API is available in the following national cloud deployments. + Retrieve a list of table objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTableCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/table-list?view=graph-rest-1.0 @@ -105,7 +105,7 @@ async def post(self,body: Optional[WorkbookTable] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[TablesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of table objects. This API is available in the following national cloud deployments. + Retrieve a list of table objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[TablesReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WorkbookTable] = None, request_configuration: Optional[TablesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -136,7 +136,7 @@ def to_post_request_information(self,body: Optional[WorkbookTable] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -171,7 +171,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TablesRequestBuilderGetQueryParameters(): """ - Retrieve a list of table objects. This API is available in the following national cloud deployments. + Retrieve a list of table objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/workbook_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/workbook_request_builder.py index afd0728dc62..408184789a0 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/workbook_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/workbook_request_builder.py @@ -139,7 +139,7 @@ def to_delete_request_information(self,request_configuration: Optional[WorkbookR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkbookRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -156,7 +156,7 @@ def to_get_request_information(self,request_configuration: Optional[WorkbookRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Workbook] = None, request_configuration: Optional[WorkbookRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -175,7 +175,7 @@ def to_patch_request_information(self,body: Optional[Workbook] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/add/add_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/add/add_request_builder.py index 3f7860f1768..ca6b9d76ac3 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/add/add_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/add/add_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> Optional[WorkbookWorksheet]: """ - Adds a new worksheet to the workbook. The worksheet is added at the end of existing worksheets. If you wish to activate the newly added worksheet, call '.activate() on it. This API is available in the following national cloud deployments. + Adds a new worksheet to the workbook. The worksheet is added at the end of existing worksheets. If you wish to activate the newly added worksheet, call '.activate() on it. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookWorksheet] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddPostRequestBody] = None, request_configura def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Adds a new worksheet to the workbook. The worksheet is added at the end of existing worksheets. If you wish to activate the newly added worksheet, call '.activate() on it. This API is available in the following national cloud deployments. + Adds a new worksheet to the workbook. The worksheet is added at the end of existing worksheets. If you wish to activate the newly added worksheet, call '.activate() on it. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/cell_with_row_with_column/cell_with_row_with_column_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/cell_with_row_with_column/cell_with_row_with_column_request_builder.py index fc017ed616e..42f3e6c2d25 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/cell_with_row_with_column/cell_with_row_with_column_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/cell_with_row_with_column/cell_with_row_with_column_request_builder.py @@ -65,7 +65,7 @@ def to_get_request_information(self,request_configuration: Optional[CellWithRowW request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CellWithRowWithColumnRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/add/add_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/add/add_request_builder.py index 09770ca50b6..0515a1f5150 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/add/add_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/add/add_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> Optional[WorkbookChart]: """ - Creates a new chart. This API is available in the following national cloud deployments. + Creates a new chart. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChart] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddPostRequestBody] = None, request_configura def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Creates a new chart. This API is available in the following national cloud deployments. + Creates a new chart. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/charts_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/charts_request_builder.py index 2f90ffe8325..5a068fa8f31 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/charts_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/charts_request_builder.py @@ -48,10 +48,10 @@ def by_workbook_chart_id(self,workbook_chart_id: str) -> WorkbookChartItemReques async def get(self,request_configuration: Optional[ChartsRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookChartCollectionResponse]: """ - Retrieve a list of chart objects. This API is available in the following national cloud deployments. + Retrieve a list of chart objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/chart-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/worksheet-list-charts?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -94,7 +94,7 @@ def item_with_name(self,name: Optional[str] = None) -> ItemWithNameRequestBuilde async def post(self,body: Optional[WorkbookChart] = None, request_configuration: Optional[ChartsRequestBuilderPostRequestConfiguration] = None) -> Optional[WorkbookChart]: """ - Use this API to create a new Chart. This API is available in the following national cloud deployments. + Use this API to create a new Chart. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChart] @@ -119,7 +119,7 @@ async def post(self,body: Optional[WorkbookChart] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[ChartsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of chart objects. This API is available in the following national cloud deployments. + Retrieve a list of chart objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -131,12 +131,12 @@ def to_get_request_information(self,request_configuration: Optional[ChartsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WorkbookChart] = None, request_configuration: Optional[ChartsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Chart. This API is available in the following national cloud deployments. + Use this API to create a new Chart. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -150,7 +150,7 @@ def to_post_request_information(self,body: Optional[WorkbookChart] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -185,7 +185,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ChartsRequestBuilderGetQueryParameters(): """ - Retrieve a list of chart objects. This API is available in the following national cloud deployments. + Retrieve a list of chart objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/count/count_request_builder.py index b3dbc3f2986..47a8afcb1b1 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/count/count_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[CountRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/axes_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/axes_request_builder.py index 68911c638da..8fdee612a03 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/axes_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/axes_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[AxesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AxesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[AxesRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartAxes] = None, request_configuration: Optional[AxesRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartAxes] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/category_axis_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/category_axis_request_builder.py index 3bd73e5eee4..eb71dc8424d 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/category_axis_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/category_axis_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[CategoryA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CategoryAxisRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoryAxis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartAxis] = None, request_configuration: Optional[CategoryAxisRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartAxis] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/format/font/font_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/format/font/font_request_builder.py index b40bec69fd5..7b4f1c5fdb4 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/format/font/font_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/format/font/font_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[FontRequestBuilderDeleteRe async def get(self,request_configuration: Optional[FontRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookChartFont]: """ - Retrieve the properties and relationships of chartfont object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartfont object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartFont] Find more info here: https://learn.microsoft.com/graph/api/chartfont-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[FontRequestBuilderGetRequestC async def patch(self,body: Optional[WorkbookChartFont] = None, request_configuration: Optional[FontRequestBuilderPatchRequestConfiguration] = None) -> Optional[WorkbookChartFont]: """ - Update the properties of chartfont object. This API is available in the following national cloud deployments. + Update the properties of chartfont object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartFont] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[FontReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FontRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chartfont object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartfont object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[FontRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartFont] = None, request_configuration: Optional[FontRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of chartfont object. This API is available in the following national cloud deployments. + Update the properties of chartfont object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartFont] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class FontRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class FontRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chartfont object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartfont object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/format/format_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/format/format_request_builder.py index c11b23d9a1a..3d140d01bfb 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/format/format_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/format/format_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[FormatReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[FormatReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartAxisFormat] = None, request_configuration: Optional[FormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartAxisFormat] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/format/line/clear/clear_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/format/line/clear/clear_request_builder.py index 7c7448019fb..699ea76f9e3 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/format/line/clear/clear_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/format/line/clear/clear_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> None: """ - Clear the line format of a chart element. This API is available in the following national cloud deployments. + Clear the line format of a chart element. 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/chartlineformat-clear?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ClearRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clear the line format of a chart element. This API is available in the following national cloud deployments. + Clear the line format of a chart element. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ClearReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ClearRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/format/line/line_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/format/line/line_request_builder.py index 61ba3aba521..a9f4e1293d9 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/format/line/line_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/format/line/line_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[LineRequestBuilderDeleteRe async def get(self,request_configuration: Optional[LineRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookChartLineFormat]: """ - Retrieve the properties and relationships of chartlineformat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartlineformat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartLineFormat] Find more info here: https://learn.microsoft.com/graph/api/chartlineformat-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[LineRequestBuilderGetRequestC async def patch(self,body: Optional[WorkbookChartLineFormat] = None, request_configuration: Optional[LineRequestBuilderPatchRequestConfiguration] = None) -> Optional[WorkbookChartLineFormat]: """ - Update the properties of chartlineformat object. This API is available in the following national cloud deployments. + Update the properties of chartlineformat object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartLineFormat] @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[LineReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LineRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chartlineformat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartlineformat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[LineRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartLineFormat] = None, request_configuration: Optional[LineRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of chartlineformat object. This API is available in the following national cloud deployments. + Update the properties of chartlineformat object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartLineFormat] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class LineRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class LineRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chartlineformat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartlineformat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/major_gridlines/format/format_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/major_gridlines/format/format_request_builder.py index 2ea2ab26fd9..f800dbf94eb 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/major_gridlines/format/format_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/major_gridlines/format/format_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[FormatReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[FormatReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartGridlinesFormat] = None, request_configuration: Optional[FormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartGridlinesForma request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/major_gridlines/format/line/clear/clear_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/major_gridlines/format/line/clear/clear_request_builder.py index 46472ab9c30..08beff31b6c 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/major_gridlines/format/line/clear/clear_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/major_gridlines/format/line/clear/clear_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> None: """ - Clear the line format of a chart element. This API is available in the following national cloud deployments. + Clear the line format of a chart element. 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/chartlineformat-clear?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ClearRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clear the line format of a chart element. This API is available in the following national cloud deployments. + Clear the line format of a chart element. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ClearReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ClearRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/major_gridlines/format/line/line_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/major_gridlines/format/line/line_request_builder.py index e8d791f2bd9..d346b894d83 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/major_gridlines/format/line/line_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/major_gridlines/format/line/line_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[LineReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LineRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[LineRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartLineFormat] = None, request_configuration: Optional[LineRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartLineFormat] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/major_gridlines/major_gridlines_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/major_gridlines/major_gridlines_request_builder.py index a47f2429668..62bf740d7d6 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/major_gridlines/major_gridlines_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/major_gridlines/major_gridlines_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[MajorGrid request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MajorGridlinesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[MajorGridlin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartGridlines] = None, request_configuration: Optional[MajorGridlinesRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartGridlines] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/minor_gridlines/format/format_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/minor_gridlines/format/format_request_builder.py index 774776c9ace..2d1c5475fcd 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/minor_gridlines/format/format_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/minor_gridlines/format/format_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[FormatReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[FormatReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartGridlinesFormat] = None, request_configuration: Optional[FormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartGridlinesForma request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/minor_gridlines/format/line/clear/clear_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/minor_gridlines/format/line/clear/clear_request_builder.py index d9c4c393b9c..ba23fc0751e 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/minor_gridlines/format/line/clear/clear_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/minor_gridlines/format/line/clear/clear_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> None: """ - Clear the line format of a chart element. This API is available in the following national cloud deployments. + Clear the line format of a chart element. 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/chartlineformat-clear?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ClearRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clear the line format of a chart element. This API is available in the following national cloud deployments. + Clear the line format of a chart element. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ClearReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ClearRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/minor_gridlines/format/line/line_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/minor_gridlines/format/line/line_request_builder.py index 2c8f2f10d78..f45625d9715 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/minor_gridlines/format/line/line_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/minor_gridlines/format/line/line_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[LineReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LineRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[LineRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartLineFormat] = None, request_configuration: Optional[LineRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartLineFormat] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/minor_gridlines/minor_gridlines_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/minor_gridlines/minor_gridlines_request_builder.py index 29a230f312d..80fa2dee0b6 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/minor_gridlines/minor_gridlines_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/minor_gridlines/minor_gridlines_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[MinorGridlinesRequestBuild async def get(self,request_configuration: Optional[MinorGridlinesRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookChartGridlines]: """ - Retrieve the properties and relationships of chartgridlines object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartgridlines object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartGridlines] Find more info here: https://learn.microsoft.com/graph/api/chartgridlines-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[MinorGridlinesRequestBuilderG async def patch(self,body: Optional[WorkbookChartGridlines] = None, request_configuration: Optional[MinorGridlinesRequestBuilderPatchRequestConfiguration] = None) -> Optional[WorkbookChartGridlines]: """ - Update the properties of chartgridlines object. This API is available in the following national cloud deployments. + Update the properties of chartgridlines object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartGridlines] @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[MinorGrid request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MinorGridlinesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chartgridlines object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartgridlines object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[MinorGridlin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartGridlines] = None, request_configuration: Optional[MinorGridlinesRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of chartgridlines object. This API is available in the following national cloud deployments. + Update the properties of chartgridlines object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartGridlines] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class MinorGridlinesRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class MinorGridlinesRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chartgridlines object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartgridlines object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/title/format/font/font_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/title/format/font/font_request_builder.py index 66afe345116..2011c6820f4 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/title/format/font/font_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/title/format/font/font_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[FontReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FontRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[FontRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartFont] = None, request_configuration: Optional[FontRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartFont] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/title/format/format_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/title/format/format_request_builder.py index 04758244607..9558c2f6ccc 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/title/format/format_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/title/format/format_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[FormatReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[FormatReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartAxisTitleFormat] = None, request_configuration: Optional[FormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartAxisTitleForma request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/title/title_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/title/title_request_builder.py index 8cdff15fa6b..b6d8767035a 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/title/title_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/title/title_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[TitleRequestBuilderDeleteR async def get(self,request_configuration: Optional[TitleRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookChartAxisTitle]: """ - Retrieve the properties and relationships of chartaxistitle object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartaxistitle object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartAxisTitle] Find more info here: https://learn.microsoft.com/graph/api/chartaxistitle-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[TitleRequestBuilderGetRequest async def patch(self,body: Optional[WorkbookChartAxisTitle] = None, request_configuration: Optional[TitleRequestBuilderPatchRequestConfiguration] = None) -> Optional[WorkbookChartAxisTitle]: """ - Update the properties of workbookChartAxisTitle object. This API is available in the following national cloud deployments. + Update the properties of workbookChartAxisTitle object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartAxisTitle] @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[TitleRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TitleRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chartaxistitle object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartaxistitle object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[TitleRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartAxisTitle] = None, request_configuration: Optional[TitleRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of workbookChartAxisTitle object. This API is available in the following national cloud deployments. + Update the properties of workbookChartAxisTitle object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartAxisTitle] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class TitleRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class TitleRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chartaxistitle object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartaxistitle object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/format/font/font_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/format/font/font_request_builder.py index 55ee2dcd971..5994fd171bf 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/format/font/font_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/format/font/font_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[FontRequestBuilderDeleteRe async def get(self,request_configuration: Optional[FontRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookChartFont]: """ - Retrieve the properties and relationships of chartfont object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartfont object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartFont] Find more info here: https://learn.microsoft.com/graph/api/chartfont-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[FontRequestBuilderGetRequestC async def patch(self,body: Optional[WorkbookChartFont] = None, request_configuration: Optional[FontRequestBuilderPatchRequestConfiguration] = None) -> Optional[WorkbookChartFont]: """ - Update the properties of chartfont object. This API is available in the following national cloud deployments. + Update the properties of chartfont object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartFont] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[FontReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FontRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chartfont object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartfont object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[FontRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartFont] = None, request_configuration: Optional[FontRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of chartfont object. This API is available in the following national cloud deployments. + Update the properties of chartfont object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartFont] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class FontRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class FontRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chartfont object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartfont object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/format/format_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/format/format_request_builder.py index 59158b1e1c0..3c5c39e6965 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/format/format_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/format/format_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[FormatReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[FormatReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartAxisFormat] = None, request_configuration: Optional[FormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartAxisFormat] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/format/line/clear/clear_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/format/line/clear/clear_request_builder.py index 921446c9ef5..2290ee5e793 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/format/line/clear/clear_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/format/line/clear/clear_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> None: """ - Clear the line format of a chart element. This API is available in the following national cloud deployments. + Clear the line format of a chart element. 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/chartlineformat-clear?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ClearRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clear the line format of a chart element. This API is available in the following national cloud deployments. + Clear the line format of a chart element. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ClearReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ClearRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/format/line/line_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/format/line/line_request_builder.py index bfcfb60b259..e74d55c672c 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/format/line/line_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/format/line/line_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[LineRequestBuilderDeleteRe async def get(self,request_configuration: Optional[LineRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookChartLineFormat]: """ - Retrieve the properties and relationships of chartlineformat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartlineformat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartLineFormat] Find more info here: https://learn.microsoft.com/graph/api/chartlineformat-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[LineRequestBuilderGetRequestC async def patch(self,body: Optional[WorkbookChartLineFormat] = None, request_configuration: Optional[LineRequestBuilderPatchRequestConfiguration] = None) -> Optional[WorkbookChartLineFormat]: """ - Update the properties of chartlineformat object. This API is available in the following national cloud deployments. + Update the properties of chartlineformat object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartLineFormat] @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[LineReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LineRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chartlineformat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartlineformat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[LineRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartLineFormat] = None, request_configuration: Optional[LineRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of chartlineformat object. This API is available in the following national cloud deployments. + Update the properties of chartlineformat object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartLineFormat] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class LineRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class LineRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chartlineformat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartlineformat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/major_gridlines/format/format_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/major_gridlines/format/format_request_builder.py index 820c6ec7ba6..82215063cb4 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/major_gridlines/format/format_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/major_gridlines/format/format_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[FormatReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[FormatReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartGridlinesFormat] = None, request_configuration: Optional[FormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartGridlinesForma request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/major_gridlines/format/line/clear/clear_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/major_gridlines/format/line/clear/clear_request_builder.py index 10e19a1ffdb..1f196f54fbf 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/major_gridlines/format/line/clear/clear_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/major_gridlines/format/line/clear/clear_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> None: """ - Clear the line format of a chart element. This API is available in the following national cloud deployments. + Clear the line format of a chart element. 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/chartlineformat-clear?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ClearRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clear the line format of a chart element. This API is available in the following national cloud deployments. + Clear the line format of a chart element. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ClearReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ClearRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/major_gridlines/format/line/line_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/major_gridlines/format/line/line_request_builder.py index a9badee90ff..fd6a49aeaf1 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/major_gridlines/format/line/line_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/major_gridlines/format/line/line_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[LineReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LineRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[LineRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartLineFormat] = None, request_configuration: Optional[LineRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartLineFormat] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/major_gridlines/major_gridlines_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/major_gridlines/major_gridlines_request_builder.py index 78013f4ffc0..913009af4d1 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/major_gridlines/major_gridlines_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/major_gridlines/major_gridlines_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[MajorGrid request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MajorGridlinesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[MajorGridlin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartGridlines] = None, request_configuration: Optional[MajorGridlinesRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartGridlines] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/minor_gridlines/format/format_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/minor_gridlines/format/format_request_builder.py index 4d3d1856b99..89f44de3fdd 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/minor_gridlines/format/format_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/minor_gridlines/format/format_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[FormatReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[FormatReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartGridlinesFormat] = None, request_configuration: Optional[FormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartGridlinesForma request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/minor_gridlines/format/line/clear/clear_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/minor_gridlines/format/line/clear/clear_request_builder.py index c923c056d55..d4ed447592b 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/minor_gridlines/format/line/clear/clear_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/minor_gridlines/format/line/clear/clear_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> None: """ - Clear the line format of a chart element. This API is available in the following national cloud deployments. + Clear the line format of a chart element. 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/chartlineformat-clear?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ClearRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clear the line format of a chart element. This API is available in the following national cloud deployments. + Clear the line format of a chart element. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ClearReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ClearRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/minor_gridlines/format/line/line_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/minor_gridlines/format/line/line_request_builder.py index 820b5b6ed08..5184f67af22 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/minor_gridlines/format/line/line_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/minor_gridlines/format/line/line_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[LineReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LineRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[LineRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartLineFormat] = None, request_configuration: Optional[LineRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartLineFormat] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/minor_gridlines/minor_gridlines_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/minor_gridlines/minor_gridlines_request_builder.py index ec1726105a7..00c024701cb 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/minor_gridlines/minor_gridlines_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/minor_gridlines/minor_gridlines_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[MinorGridlinesRequestBuild async def get(self,request_configuration: Optional[MinorGridlinesRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookChartGridlines]: """ - Retrieve the properties and relationships of chartgridlines object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartgridlines object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartGridlines] Find more info here: https://learn.microsoft.com/graph/api/chartgridlines-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[MinorGridlinesRequestBuilderG async def patch(self,body: Optional[WorkbookChartGridlines] = None, request_configuration: Optional[MinorGridlinesRequestBuilderPatchRequestConfiguration] = None) -> Optional[WorkbookChartGridlines]: """ - Update the properties of chartgridlines object. This API is available in the following national cloud deployments. + Update the properties of chartgridlines object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartGridlines] @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[MinorGrid request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MinorGridlinesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chartgridlines object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartgridlines object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[MinorGridlin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartGridlines] = None, request_configuration: Optional[MinorGridlinesRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of chartgridlines object. This API is available in the following national cloud deployments. + Update the properties of chartgridlines object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartGridlines] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class MinorGridlinesRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class MinorGridlinesRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chartgridlines object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartgridlines object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/series_axis_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/series_axis_request_builder.py index da458992d33..0c96ed5cfc4 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/series_axis_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/series_axis_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[SeriesAxi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SeriesAxisRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[SeriesAxisRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartAxis] = None, request_configuration: Optional[SeriesAxisRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartAxis] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/title/format/font/font_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/title/format/font/font_request_builder.py index a2278f024ef..e666bda16d4 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/title/format/font/font_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/title/format/font/font_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[FontReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FontRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[FontRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartFont] = None, request_configuration: Optional[FontRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartFont] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/title/format/format_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/title/format/format_request_builder.py index b57bd148479..c11b12f40ff 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/title/format/format_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/title/format/format_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[FormatReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[FormatReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartAxisTitleFormat] = None, request_configuration: Optional[FormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartAxisTitleForma request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/title/title_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/title/title_request_builder.py index 4963980e3b4..170d428d319 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/title/title_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/title/title_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[TitleRequestBuilderDeleteR async def get(self,request_configuration: Optional[TitleRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookChartAxisTitle]: """ - Retrieve the properties and relationships of chartaxistitle object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartaxistitle object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartAxisTitle] Find more info here: https://learn.microsoft.com/graph/api/chartaxistitle-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[TitleRequestBuilderGetRequest async def patch(self,body: Optional[WorkbookChartAxisTitle] = None, request_configuration: Optional[TitleRequestBuilderPatchRequestConfiguration] = None) -> Optional[WorkbookChartAxisTitle]: """ - Update the properties of workbookChartAxisTitle object. This API is available in the following national cloud deployments. + Update the properties of workbookChartAxisTitle object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartAxisTitle] @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[TitleRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TitleRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chartaxistitle object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartaxistitle object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[TitleRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartAxisTitle] = None, request_configuration: Optional[TitleRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of workbookChartAxisTitle object. This API is available in the following national cloud deployments. + Update the properties of workbookChartAxisTitle object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartAxisTitle] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class TitleRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class TitleRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chartaxistitle object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartaxistitle object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/format/font/font_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/format/font/font_request_builder.py index ae9373b4692..b82783cbab2 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/format/font/font_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/format/font/font_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[FontRequestBuilderDeleteRe async def get(self,request_configuration: Optional[FontRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookChartFont]: """ - Retrieve the properties and relationships of chartfont object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartfont object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartFont] Find more info here: https://learn.microsoft.com/graph/api/chartfont-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[FontRequestBuilderGetRequestC async def patch(self,body: Optional[WorkbookChartFont] = None, request_configuration: Optional[FontRequestBuilderPatchRequestConfiguration] = None) -> Optional[WorkbookChartFont]: """ - Update the properties of chartfont object. This API is available in the following national cloud deployments. + Update the properties of chartfont object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartFont] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[FontReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FontRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chartfont object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartfont object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[FontRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartFont] = None, request_configuration: Optional[FontRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of chartfont object. This API is available in the following national cloud deployments. + Update the properties of chartfont object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartFont] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class FontRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class FontRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chartfont object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartfont object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/format/format_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/format/format_request_builder.py index 311b1290030..bf88a9cc95f 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/format/format_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/format/format_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[FormatReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[FormatReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartAxisFormat] = None, request_configuration: Optional[FormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartAxisFormat] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/format/line/clear/clear_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/format/line/clear/clear_request_builder.py index b1303025fa1..2ce31b03ffa 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/format/line/clear/clear_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/format/line/clear/clear_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> None: """ - Clear the line format of a chart element. This API is available in the following national cloud deployments. + Clear the line format of a chart element. 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/chartlineformat-clear?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ClearRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clear the line format of a chart element. This API is available in the following national cloud deployments. + Clear the line format of a chart element. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ClearReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ClearRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/format/line/line_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/format/line/line_request_builder.py index d643ef791d9..3e35515fd98 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/format/line/line_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/format/line/line_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[LineRequestBuilderDeleteRe async def get(self,request_configuration: Optional[LineRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookChartLineFormat]: """ - Retrieve the properties and relationships of chartlineformat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartlineformat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartLineFormat] Find more info here: https://learn.microsoft.com/graph/api/chartlineformat-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[LineRequestBuilderGetRequestC async def patch(self,body: Optional[WorkbookChartLineFormat] = None, request_configuration: Optional[LineRequestBuilderPatchRequestConfiguration] = None) -> Optional[WorkbookChartLineFormat]: """ - Update the properties of chartlineformat object. This API is available in the following national cloud deployments. + Update the properties of chartlineformat object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartLineFormat] @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[LineReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LineRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chartlineformat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartlineformat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[LineRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartLineFormat] = None, request_configuration: Optional[LineRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of chartlineformat object. This API is available in the following national cloud deployments. + Update the properties of chartlineformat object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartLineFormat] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class LineRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class LineRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chartlineformat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartlineformat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/major_gridlines/format/format_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/major_gridlines/format/format_request_builder.py index 4bac5f88ac7..d2d494807eb 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/major_gridlines/format/format_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/major_gridlines/format/format_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[FormatReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[FormatReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartGridlinesFormat] = None, request_configuration: Optional[FormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartGridlinesForma request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/major_gridlines/format/line/clear/clear_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/major_gridlines/format/line/clear/clear_request_builder.py index dcc02848f56..a4b51317d71 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/major_gridlines/format/line/clear/clear_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/major_gridlines/format/line/clear/clear_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> None: """ - Clear the line format of a chart element. This API is available in the following national cloud deployments. + Clear the line format of a chart element. 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/chartlineformat-clear?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ClearRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clear the line format of a chart element. This API is available in the following national cloud deployments. + Clear the line format of a chart element. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ClearReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ClearRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/major_gridlines/format/line/line_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/major_gridlines/format/line/line_request_builder.py index 982b43fcdc2..1d1aed7989d 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/major_gridlines/format/line/line_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/major_gridlines/format/line/line_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[LineReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LineRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[LineRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartLineFormat] = None, request_configuration: Optional[LineRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartLineFormat] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/major_gridlines/major_gridlines_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/major_gridlines/major_gridlines_request_builder.py index 2568fb48310..89416493e29 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/major_gridlines/major_gridlines_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/major_gridlines/major_gridlines_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[MajorGrid request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MajorGridlinesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[MajorGridlin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartGridlines] = None, request_configuration: Optional[MajorGridlinesRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartGridlines] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/minor_gridlines/format/format_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/minor_gridlines/format/format_request_builder.py index f76bd32bc54..40afedda0be 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/minor_gridlines/format/format_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/minor_gridlines/format/format_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[FormatReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[FormatReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartGridlinesFormat] = None, request_configuration: Optional[FormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartGridlinesForma request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/minor_gridlines/format/line/clear/clear_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/minor_gridlines/format/line/clear/clear_request_builder.py index 6bdc30a135b..d9a369db89a 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/minor_gridlines/format/line/clear/clear_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/minor_gridlines/format/line/clear/clear_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> None: """ - Clear the line format of a chart element. This API is available in the following national cloud deployments. + Clear the line format of a chart element. 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/chartlineformat-clear?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ClearRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clear the line format of a chart element. This API is available in the following national cloud deployments. + Clear the line format of a chart element. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ClearReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ClearRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/minor_gridlines/format/line/line_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/minor_gridlines/format/line/line_request_builder.py index 899e7dec452..38476b70d11 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/minor_gridlines/format/line/line_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/minor_gridlines/format/line/line_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[LineReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LineRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[LineRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartLineFormat] = None, request_configuration: Optional[LineRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartLineFormat] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/minor_gridlines/minor_gridlines_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/minor_gridlines/minor_gridlines_request_builder.py index 1f5780fb980..0db7158e077 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/minor_gridlines/minor_gridlines_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/minor_gridlines/minor_gridlines_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[MinorGridlinesRequestBuild async def get(self,request_configuration: Optional[MinorGridlinesRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookChartGridlines]: """ - Retrieve the properties and relationships of chartgridlines object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartgridlines object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartGridlines] Find more info here: https://learn.microsoft.com/graph/api/chartgridlines-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[MinorGridlinesRequestBuilderG async def patch(self,body: Optional[WorkbookChartGridlines] = None, request_configuration: Optional[MinorGridlinesRequestBuilderPatchRequestConfiguration] = None) -> Optional[WorkbookChartGridlines]: """ - Update the properties of chartgridlines object. This API is available in the following national cloud deployments. + Update the properties of chartgridlines object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartGridlines] @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[MinorGrid request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MinorGridlinesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chartgridlines object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartgridlines object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[MinorGridlin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartGridlines] = None, request_configuration: Optional[MinorGridlinesRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of chartgridlines object. This API is available in the following national cloud deployments. + Update the properties of chartgridlines object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartGridlines] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class MinorGridlinesRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class MinorGridlinesRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chartgridlines object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartgridlines object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/title/format/font/font_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/title/format/font/font_request_builder.py index f229dbb3b82..eb413f7be9b 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/title/format/font/font_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/title/format/font/font_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[FontReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FontRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[FontRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartFont] = None, request_configuration: Optional[FontRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartFont] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/title/format/format_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/title/format/format_request_builder.py index 8a49419fc7d..6e2a39176bd 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/title/format/format_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/title/format/format_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[FormatReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[FormatReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartAxisTitleFormat] = None, request_configuration: Optional[FormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartAxisTitleForma request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/title/title_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/title/title_request_builder.py index 32fa360feb4..b9cf1438c34 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/title/title_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/title/title_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[TitleRequestBuilderDeleteR async def get(self,request_configuration: Optional[TitleRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookChartAxisTitle]: """ - Retrieve the properties and relationships of chartaxistitle object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartaxistitle object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartAxisTitle] Find more info here: https://learn.microsoft.com/graph/api/chartaxistitle-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[TitleRequestBuilderGetRequest async def patch(self,body: Optional[WorkbookChartAxisTitle] = None, request_configuration: Optional[TitleRequestBuilderPatchRequestConfiguration] = None) -> Optional[WorkbookChartAxisTitle]: """ - Update the properties of workbookChartAxisTitle object. This API is available in the following national cloud deployments. + Update the properties of workbookChartAxisTitle object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartAxisTitle] @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[TitleRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TitleRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chartaxistitle object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartaxistitle object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[TitleRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartAxisTitle] = None, request_configuration: Optional[TitleRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of workbookChartAxisTitle object. This API is available in the following national cloud deployments. + Update the properties of workbookChartAxisTitle object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartAxisTitle] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class TitleRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class TitleRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chartaxistitle object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartaxistitle object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/value_axis_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/value_axis_request_builder.py index bef682f1ab3..e2e1c292b40 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/value_axis_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/value_axis_request_builder.py @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[ValueAxisRequestBuilderDel async def get(self,request_configuration: Optional[ValueAxisRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookChartAxis]: """ - Retrieve the properties and relationships of chartaxis object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartaxis object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartAxis] Find more info here: https://learn.microsoft.com/graph/api/chartaxis-get?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[ValueAxisRequestBuilderGetReq async def patch(self,body: Optional[WorkbookChartAxis] = None, request_configuration: Optional[ValueAxisRequestBuilderPatchRequestConfiguration] = None) -> Optional[WorkbookChartAxis]: """ - Update the properties of workbookChartAxis object. This API is available in the following national cloud deployments. + Update the properties of workbookChartAxis object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartAxis] @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[ValueAxis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ValueAxisRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chartaxis object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartaxis object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,12 +126,12 @@ def to_get_request_information(self,request_configuration: Optional[ValueAxisReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartAxis] = None, request_configuration: Optional[ValueAxisRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of workbookChartAxis object. This API is available in the following national cloud deployments. + Update the properties of workbookChartAxis object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartAxis] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -208,7 +208,7 @@ class ValueAxisRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration @dataclass class ValueAxisRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chartaxis object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartaxis object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/data_labels_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/data_labels_request_builder.py index ffa7dca7df3..1947f40f22a 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/data_labels_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/data_labels_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[DataLabelsRequestBuilderDe async def get(self,request_configuration: Optional[DataLabelsRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookChartDataLabels]: """ - Retrieve the properties and relationships of chartdatalabels object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartdatalabels object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartDataLabels] Find more info here: https://learn.microsoft.com/graph/api/chartdatalabels-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[DataLabelsRequestBuilderGetRe async def patch(self,body: Optional[WorkbookChartDataLabels] = None, request_configuration: Optional[DataLabelsRequestBuilderPatchRequestConfiguration] = None) -> Optional[WorkbookChartDataLabels]: """ - Update the properties of chartdatalabels object. This API is available in the following national cloud deployments. + Update the properties of chartdatalabels object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartDataLabels] @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[DataLabel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DataLabelsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chartdatalabels object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartdatalabels object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[DataLabelsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartDataLabels] = None, request_configuration: Optional[DataLabelsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of chartdatalabels object. This API is available in the following national cloud deployments. + Update the properties of chartdatalabels object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartDataLabels] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class DataLabelsRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguratio @dataclass class DataLabelsRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chartdatalabels object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartdatalabels object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/fill/clear/clear_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/fill/clear/clear_request_builder.py index b39afcb5315..29e3e85acbb 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/fill/clear/clear_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/fill/clear/clear_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> None: """ - Clear the fill color of a chart element. This API is available in the following national cloud deployments. + Clear the fill color of a chart element. 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/chartfill-clear?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ClearRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clear the fill color of a chart element. This API is available in the following national cloud deployments. + Clear the fill color of a chart element. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ClearReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ClearRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/fill/fill_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/fill/fill_request_builder.py index 7cb7a5d00be..2f00afbbdd8 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/fill/fill_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/fill/fill_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[FillReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FillRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[FillRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartFill] = None, request_configuration: Optional[FillRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartFill] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/fill/set_solid_color/set_solid_color_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/fill/set_solid_color/set_solid_color_request_builder.py index 23be5c2d0cd..fb9c61cde45 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/fill/set_solid_color/set_solid_color_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/fill/set_solid_color/set_solid_color_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SetSolidColorPostRequestBody] = None, request_configuration: Optional[SetSolidColorRequestBuilderPostRequestConfiguration] = None) -> None: """ - Sets the fill formatting of a chart element to a uniform color. This API is available in the following national cloud deployments. + Sets the fill formatting of a chart element to a uniform color. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SetSolidColorPostRequestBody] = None, request def to_post_request_information(self,body: Optional[SetSolidColorPostRequestBody] = None, request_configuration: Optional[SetSolidColorRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Sets the fill formatting of a chart element to a uniform color. This API is available in the following national cloud deployments. + Sets the fill formatting of a chart element to a uniform color. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SetSolidColorPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/font/font_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/font/font_request_builder.py index aa7140c4614..ef1cb86c5e4 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/font/font_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/font/font_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[FontReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FontRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[FontRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartFont] = None, request_configuration: Optional[FontRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartFont] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/format_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/format_request_builder.py index 85808927ae4..f930211c104 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/format_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/format_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[FormatReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[FormatReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartDataLabelFormat] = None, request_configuration: Optional[FormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartDataLabelForma request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/clear/clear_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/clear/clear_request_builder.py index ad51011b920..769478b301a 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/clear/clear_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/clear/clear_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> None: """ - Clear the fill color of a chart element. This API is available in the following national cloud deployments. + Clear the fill color of a chart element. 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/chartfill-clear?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ClearRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clear the fill color of a chart element. This API is available in the following national cloud deployments. + Clear the fill color of a chart element. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ClearReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ClearRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/fill_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/fill_request_builder.py index 1654c6fd296..4079dd2643e 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/fill_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/fill_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[FillReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FillRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[FillRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartFill] = None, request_configuration: Optional[FillRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartFill] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/set_solid_color/set_solid_color_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/set_solid_color/set_solid_color_request_builder.py index 2538e9aaf88..cb0d97f6f06 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/set_solid_color/set_solid_color_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/set_solid_color/set_solid_color_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SetSolidColorPostRequestBody] = None, request_configuration: Optional[SetSolidColorRequestBuilderPostRequestConfiguration] = None) -> None: """ - Sets the fill formatting of a chart element to a uniform color. This API is available in the following national cloud deployments. + Sets the fill formatting of a chart element to a uniform color. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SetSolidColorPostRequestBody] = None, request def to_post_request_information(self,body: Optional[SetSolidColorPostRequestBody] = None, request_configuration: Optional[SetSolidColorRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Sets the fill formatting of a chart element to a uniform color. This API is available in the following national cloud deployments. + Sets the fill formatting of a chart element to a uniform color. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SetSolidColorPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/format/font/font_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/format/font/font_request_builder.py index 00acb9b31e2..cd28fa18322 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/format/font/font_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/format/font/font_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[FontReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FontRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[FontRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartFont] = None, request_configuration: Optional[FontRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartFont] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/format/format_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/format/format_request_builder.py index 1d26a226f8b..b13f352f60f 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/format/format_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/format/format_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[FormatReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[FormatReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartAreaFormat] = None, request_configuration: Optional[FormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartAreaFormat] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/image/image_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/image/image_request_builder.py index 7e9d0704379..ffc36687100 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/image/image_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/image/image_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[ImageRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ImageRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/image_with_width/image_with_width_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/image_with_width/image_with_width_request_builder.py index 5b3bc353df2..4cd6d5032fa 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/image_with_width/image_with_width_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/image_with_width/image_with_width_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[ImageWithWid request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ImageWithWidthRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/image_with_width_with_height/image_with_width_with_height_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/image_with_width_with_height/image_with_width_with_height_request_builder.py index b8a74ac222e..39cfe6c0f29 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/image_with_width_with_height/image_with_width_with_height_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/image_with_width_with_height/image_with_width_with_height_request_builder.py @@ -65,7 +65,7 @@ def to_get_request_information(self,request_configuration: Optional[ImageWithWid request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ImageWithWidthWithHeightRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/image_with_width_with_height_with_fitting_mode/image_with_width_with_height_with_fitting_mode_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/image_with_width_with_height_with_fitting_mode/image_with_width_with_height_with_fitting_mode_request_builder.py index b1da6edd825..a748b0434a9 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/image_with_width_with_height_with_fitting_mode/image_with_width_with_height_with_fitting_mode_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/image_with_width_with_height_with_fitting_mode/image_with_width_with_height_with_fitting_mode_request_builder.py @@ -67,7 +67,7 @@ def to_get_request_information(self,request_configuration: Optional[ImageWithWid request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ImageWithWidthWithHeightWithFittingModeRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/clear/clear_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/clear/clear_request_builder.py index 1b02a10941e..cfdb4b77a70 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/clear/clear_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/clear/clear_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> None: """ - Clear the fill color of a chart element. This API is available in the following national cloud deployments. + Clear the fill color of a chart element. 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/chartfill-clear?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ClearRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clear the fill color of a chart element. This API is available in the following national cloud deployments. + Clear the fill color of a chart element. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ClearReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ClearRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/fill_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/fill_request_builder.py index 87cf256c61b..88b16e843b1 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/fill_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/fill_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[FillReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FillRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[FillRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartFill] = None, request_configuration: Optional[FillRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartFill] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/set_solid_color/set_solid_color_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/set_solid_color/set_solid_color_request_builder.py index ef663403204..9f27be20c4a 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/set_solid_color/set_solid_color_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/set_solid_color/set_solid_color_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SetSolidColorPostRequestBody] = None, request_configuration: Optional[SetSolidColorRequestBuilderPostRequestConfiguration] = None) -> None: """ - Sets the fill formatting of a chart element to a uniform color. This API is available in the following national cloud deployments. + Sets the fill formatting of a chart element to a uniform color. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SetSolidColorPostRequestBody] = None, request def to_post_request_information(self,body: Optional[SetSolidColorPostRequestBody] = None, request_configuration: Optional[SetSolidColorRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Sets the fill formatting of a chart element to a uniform color. This API is available in the following national cloud deployments. + Sets the fill formatting of a chart element to a uniform color. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SetSolidColorPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/font/font_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/font/font_request_builder.py index ba31b9361eb..1a40128e704 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/font/font_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/font/font_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[FontReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FontRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[FontRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartFont] = None, request_configuration: Optional[FontRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartFont] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/format_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/format_request_builder.py index 4f954832e4d..53c603c223a 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/format_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/format_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[FormatReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[FormatReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartLegendFormat] = None, request_configuration: Optional[FormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartLegendFormat] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/legend_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/legend_request_builder.py index 700a685b825..b87a2b51819 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/legend_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/legend_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[LegendRequestBuilderDelete async def get(self,request_configuration: Optional[LegendRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookChartLegend]: """ - Retrieve the properties and relationships of chartlegend object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartlegend object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartLegend] Find more info here: https://learn.microsoft.com/graph/api/chartlegend-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[LegendRequestBuilderGetReques async def patch(self,body: Optional[WorkbookChartLegend] = None, request_configuration: Optional[LegendRequestBuilderPatchRequestConfiguration] = None) -> Optional[WorkbookChartLegend]: """ - Update the properties of chartlegend object. This API is available in the following national cloud deployments. + Update the properties of chartlegend object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartLegend] @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[LegendReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LegendRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chartlegend object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartlegend object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[LegendReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartLegend] = None, request_configuration: Optional[LegendRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of chartlegend object. This API is available in the following national cloud deployments. + Update the properties of chartlegend object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartLegend] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class LegendRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class LegendRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chartlegend object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartlegend object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/count/count_request_builder.py index 4e6d84aff91..eef85e9ce25 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/count/count_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[CountRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/clear/clear_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/clear/clear_request_builder.py index 5f9737d3449..57baf53c1c0 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/clear/clear_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/clear/clear_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> None: """ - Clear the fill color of a chart element. This API is available in the following national cloud deployments. + Clear the fill color of a chart element. 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/chartfill-clear?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ClearRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clear the fill color of a chart element. This API is available in the following national cloud deployments. + Clear the fill color of a chart element. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ClearReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ClearRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/fill_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/fill_request_builder.py index 11002fe7a96..2da41e504e9 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/fill_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/fill_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[FillReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FillRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[FillRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartFill] = None, request_configuration: Optional[FillRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartFill] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/set_solid_color/set_solid_color_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/set_solid_color/set_solid_color_request_builder.py index e5da1f50212..d97e7d2538a 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/set_solid_color/set_solid_color_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/set_solid_color/set_solid_color_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SetSolidColorPostRequestBody] = None, request_configuration: Optional[SetSolidColorRequestBuilderPostRequestConfiguration] = None) -> None: """ - Sets the fill formatting of a chart element to a uniform color. This API is available in the following national cloud deployments. + Sets the fill formatting of a chart element to a uniform color. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SetSolidColorPostRequestBody] = None, request def to_post_request_information(self,body: Optional[SetSolidColorPostRequestBody] = None, request_configuration: Optional[SetSolidColorRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Sets the fill formatting of a chart element to a uniform color. This API is available in the following national cloud deployments. + Sets the fill formatting of a chart element to a uniform color. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SetSolidColorPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/format_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/format_request_builder.py index 7c97653a009..6d462e52242 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/format_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/format_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[FormatReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[FormatReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartSeriesFormat] = None, request_configuration: Optional[FormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartSeriesFormat] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/line/clear/clear_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/line/clear/clear_request_builder.py index d09ca8a62c3..b57da45ccc7 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/line/clear/clear_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/line/clear/clear_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> None: """ - Clear the line format of a chart element. This API is available in the following national cloud deployments. + Clear the line format of a chart element. 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/chartlineformat-clear?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ClearRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clear the line format of a chart element. This API is available in the following national cloud deployments. + Clear the line format of a chart element. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ClearReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ClearRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/line/line_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/line/line_request_builder.py index 6e3247a707e..a5d11c3509d 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/line/line_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/line/line_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[LineReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LineRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[LineRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartLineFormat] = None, request_configuration: Optional[LineRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartLineFormat] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/count/count_request_builder.py index 41cdece0a17..8245616a908 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/count/count_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[CountRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/clear/clear_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/clear/clear_request_builder.py index 8aaa111ceef..a0eede21e87 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/clear/clear_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/clear/clear_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> None: """ - Clear the fill color of a chart element. This API is available in the following national cloud deployments. + Clear the fill color of a chart element. 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/chartfill-clear?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ClearRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clear the fill color of a chart element. This API is available in the following national cloud deployments. + Clear the fill color of a chart element. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ClearReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ClearRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/fill_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/fill_request_builder.py index 0498b16886a..853c9080cbf 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/fill_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/fill_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[FillReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FillRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[FillRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartFill] = None, request_configuration: Optional[FillRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartFill] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/set_solid_color/set_solid_color_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/set_solid_color/set_solid_color_request_builder.py index 2d0e7c1635a..636254a7733 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/set_solid_color/set_solid_color_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/set_solid_color/set_solid_color_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SetSolidColorPostRequestBody] = None, request_configuration: Optional[SetSolidColorRequestBuilderPostRequestConfiguration] = None) -> None: """ - Sets the fill formatting of a chart element to a uniform color. This API is available in the following national cloud deployments. + Sets the fill formatting of a chart element to a uniform color. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SetSolidColorPostRequestBody] = None, request def to_post_request_information(self,body: Optional[SetSolidColorPostRequestBody] = None, request_configuration: Optional[SetSolidColorRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Sets the fill formatting of a chart element to a uniform color. This API is available in the following national cloud deployments. + Sets the fill formatting of a chart element to a uniform color. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SetSolidColorPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/format_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/format_request_builder.py index 892734bd95f..dcbd23f4222 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/format_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/format_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[FormatReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[FormatReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartPointFormat] = None, request_configuration: Optional[FormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartPointFormat] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/workbook_chart_point_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/workbook_chart_point_item_request_builder.py index 704c1fc5c67..92a40523b38 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/workbook_chart_point_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/workbook_chart_point_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[WorkbookChartPointItemRequ async def get(self,request_configuration: Optional[WorkbookChartPointItemRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookChartPoint]: """ - Retrieve the properties and relationships of chartpoint object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartpoint object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartPoint] Find more info here: https://learn.microsoft.com/graph/api/chartpoint-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[WorkbookC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkbookChartPointItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chartpoint object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartpoint object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[WorkbookChar request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartPoint] = None, request_configuration: Optional[WorkbookChartPointItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartPoint] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class WorkbookChartPointItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class WorkbookChartPointItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chartpoint object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartpoint object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item_at_with_index/item_at_with_index_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item_at_with_index/item_at_with_index_request_builder.py index 07679abcbb3..e7d76b5922c 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item_at_with_index/item_at_with_index_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item_at_with_index/item_at_with_index_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemAtWithIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ItemAtWithIndexRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/points_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/points_request_builder.py index 3d7f38ad4ea..bffd69523f4 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/points_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/points_request_builder.py @@ -46,7 +46,7 @@ def by_workbook_chart_point_id(self,workbook_chart_point_id: str) -> WorkbookCha async def get(self,request_configuration: Optional[PointsRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookChartPointCollectionResponse]: """ - Retrieve a list of chartpoints objects. This API is available in the following national cloud deployments. + Retrieve a list of chartpoints objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartPointCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chartseries-list-points?view=graph-rest-1.0 @@ -80,7 +80,7 @@ def item_at_with_index(self,index: Optional[int] = None) -> ItemAtWithIndexReque async def post(self,body: Optional[WorkbookChartPoint] = None, request_configuration: Optional[PointsRequestBuilderPostRequestConfiguration] = None) -> Optional[WorkbookChartPoint]: """ - Use this API to create a new ChartPoint. This API is available in the following national cloud deployments. + Use this API to create a new ChartPoint. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartPoint] @@ -105,7 +105,7 @@ async def post(self,body: Optional[WorkbookChartPoint] = None, request_configura def to_get_request_information(self,request_configuration: Optional[PointsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of chartpoints objects. This API is available in the following national cloud deployments. + Retrieve a list of chartpoints objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,12 +117,12 @@ def to_get_request_information(self,request_configuration: Optional[PointsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WorkbookChartPoint] = None, request_configuration: Optional[PointsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new ChartPoint. This API is available in the following national cloud deployments. + Use this API to create a new ChartPoint. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -136,7 +136,7 @@ def to_post_request_information(self,body: Optional[WorkbookChartPoint] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -162,7 +162,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PointsRequestBuilderGetQueryParameters(): """ - Retrieve a list of chartpoints objects. This API is available in the following national cloud deployments. + Retrieve a list of chartpoints objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/workbook_chart_series_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/workbook_chart_series_item_request_builder.py index b25f25a7ab6..7911053e24a 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/workbook_chart_series_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/workbook_chart_series_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[WorkbookChartSeriesItemReq async def get(self,request_configuration: Optional[WorkbookChartSeriesItemRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookChartSeries]: """ - Retrieve the properties and relationships of chartseries object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartseries object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartSeries] Find more info here: https://learn.microsoft.com/graph/api/chartseries-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[WorkbookChartSeriesItemReques async def patch(self,body: Optional[WorkbookChartSeries] = None, request_configuration: Optional[WorkbookChartSeriesItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[WorkbookChartSeries]: """ - Update the properties of chartseries object. This API is available in the following national cloud deployments. + Update the properties of chartseries object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartSeries] @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[WorkbookC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkbookChartSeriesItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chartseries object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartseries object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[WorkbookChar request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartSeries] = None, request_configuration: Optional[WorkbookChartSeriesItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of chartseries object. This API is available in the following national cloud deployments. + Update the properties of chartseries object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartSeries] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ class WorkbookChartSeriesItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class WorkbookChartSeriesItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chartseries object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chartseries object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item_at_with_index/item_at_with_index_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item_at_with_index/item_at_with_index_request_builder.py index 76612c382a0..f01304ad9f9 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item_at_with_index/item_at_with_index_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item_at_with_index/item_at_with_index_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemAtWithIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ItemAtWithIndexRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/series_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/series_request_builder.py index b297d7fe314..e1efa0434ee 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/series_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/series_request_builder.py @@ -46,7 +46,7 @@ def by_workbook_chart_series_id(self,workbook_chart_series_id: str) -> WorkbookC async def get(self,request_configuration: Optional[SeriesRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookChartSeriesCollectionResponse]: """ - Retrieve a list of chartseries objects. This API is available in the following national cloud deployments. + Retrieve a list of chartseries objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartSeriesCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chartseries-list?view=graph-rest-1.0 @@ -80,7 +80,7 @@ def item_at_with_index(self,index: Optional[int] = None) -> ItemAtWithIndexReque async def post(self,body: Optional[WorkbookChartSeries] = None, request_configuration: Optional[SeriesRequestBuilderPostRequestConfiguration] = None) -> Optional[WorkbookChartSeries]: """ - Use this API to create a new ChartSeries. This API is available in the following national cloud deployments. + Use this API to create a new ChartSeries. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartSeries] @@ -105,7 +105,7 @@ async def post(self,body: Optional[WorkbookChartSeries] = None, request_configur def to_get_request_information(self,request_configuration: Optional[SeriesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of chartseries objects. This API is available in the following national cloud deployments. + Retrieve a list of chartseries objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,12 +117,12 @@ def to_get_request_information(self,request_configuration: Optional[SeriesReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WorkbookChartSeries] = None, request_configuration: Optional[SeriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new ChartSeries. This API is available in the following national cloud deployments. + Use this API to create a new ChartSeries. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -136,7 +136,7 @@ def to_post_request_information(self,body: Optional[WorkbookChartSeries] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -162,7 +162,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SeriesRequestBuilderGetQueryParameters(): """ - Retrieve a list of chartseries objects. This API is available in the following national cloud deployments. + Retrieve a list of chartseries objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/set_data/set_data_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/set_data/set_data_request_builder.py index 89aca3bbda5..44cb84fb799 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/set_data/set_data_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/set_data/set_data_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SetDataPostRequestBody] = None, request_configuration: Optional[SetDataRequestBuilderPostRequestConfiguration] = None) -> None: """ - Resets the source data for the chart. This API is available in the following national cloud deployments. + Resets the source data for the chart. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SetDataPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[SetDataPostRequestBody] = None, request_configuration: Optional[SetDataRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Resets the source data for the chart. This API is available in the following national cloud deployments. + Resets the source data for the chart. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SetDataPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/set_position/set_position_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/set_position/set_position_request_builder.py index 2353eb39a9d..e9817ae009c 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/set_position/set_position_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/set_position/set_position_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SetPositionPostRequestBody] = None, request_configuration: Optional[SetPositionRequestBuilderPostRequestConfiguration] = None) -> None: """ - Positions the chart relative to cells on the worksheet. This API is available in the following national cloud deployments. + Positions the chart relative to cells on the worksheet. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SetPositionPostRequestBody] = None, request_c def to_post_request_information(self,body: Optional[SetPositionPostRequestBody] = None, request_configuration: Optional[SetPositionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Positions the chart relative to cells on the worksheet. This API is available in the following national cloud deployments. + Positions the chart relative to cells on the worksheet. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SetPositionPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/clear/clear_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/clear/clear_request_builder.py index bcbec7882a0..eddcf26924f 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/clear/clear_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/clear/clear_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> None: """ - Clear the fill color of a chart element. This API is available in the following national cloud deployments. + Clear the fill color of a chart element. 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/chartfill-clear?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ClearRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clear the fill color of a chart element. This API is available in the following national cloud deployments. + Clear the fill color of a chart element. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ClearReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ClearRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/fill_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/fill_request_builder.py index cd83b678a3d..6f2c724014c 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/fill_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/fill_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[FillReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FillRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[FillRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartFill] = None, request_configuration: Optional[FillRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartFill] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/set_solid_color/set_solid_color_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/set_solid_color/set_solid_color_request_builder.py index 186140841c7..c18d7192189 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/set_solid_color/set_solid_color_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/set_solid_color/set_solid_color_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SetSolidColorPostRequestBody] = None, request_configuration: Optional[SetSolidColorRequestBuilderPostRequestConfiguration] = None) -> None: """ - Sets the fill formatting of a chart element to a uniform color. This API is available in the following national cloud deployments. + Sets the fill formatting of a chart element to a uniform color. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SetSolidColorPostRequestBody] = None, request def to_post_request_information(self,body: Optional[SetSolidColorPostRequestBody] = None, request_configuration: Optional[SetSolidColorRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Sets the fill formatting of a chart element to a uniform color. This API is available in the following national cloud deployments. + Sets the fill formatting of a chart element to a uniform color. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SetSolidColorPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/font/font_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/font/font_request_builder.py index 66a3b89896b..36f48c12f2b 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/font/font_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/font/font_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[FontReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FontRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[FontRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartFont] = None, request_configuration: Optional[FontRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartFont] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/format_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/format_request_builder.py index 9f009f736e0..243ad1dc92a 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/format_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/format_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[FormatReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[FormatReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartTitleFormat] = None, request_configuration: Optional[FormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartTitleFormat] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/title_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/title_request_builder.py index 08dc720d79d..f2a962c20aa 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/title_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/title_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[TitleRequestBuilderDeleteR async def get(self,request_configuration: Optional[TitleRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookChartTitle]: """ - Retrieve the properties and relationships of charttitle object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of charttitle object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartTitle] Find more info here: https://learn.microsoft.com/graph/api/charttitle-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[TitleRequestBuilderGetRequest async def patch(self,body: Optional[WorkbookChartTitle] = None, request_configuration: Optional[TitleRequestBuilderPatchRequestConfiguration] = None) -> Optional[WorkbookChartTitle]: """ - Update the properties of charttitle object. This API is available in the following national cloud deployments. + Update the properties of charttitle object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChartTitle] @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[TitleRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TitleRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of charttitle object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of charttitle object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[TitleRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChartTitle] = None, request_configuration: Optional[TitleRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of charttitle object. This API is available in the following national cloud deployments. + Update the properties of charttitle object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChartTitle] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class TitleRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class TitleRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of charttitle object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of charttitle object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/workbook_chart_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/workbook_chart_item_request_builder.py index 3be8f9055af..b877a80d67e 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/workbook_chart_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/workbook_chart_item_request_builder.py @@ -41,7 +41,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[WorkbookChartItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes the chart object. This API is available in the following national cloud deployments. + Deletes the chart object. 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/chart-delete?view=graph-rest-1.0 @@ -61,7 +61,7 @@ async def delete(self,request_configuration: Optional[WorkbookChartItemRequestBu async def get(self,request_configuration: Optional[WorkbookChartItemRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookChart]: """ - Retrieve the properties and relationships of chart object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chart object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChart] Find more info here: https://learn.microsoft.com/graph/api/chart-get?view=graph-rest-1.0 @@ -128,7 +128,7 @@ def image_with_width_with_height_with_fitting_mode(self,fitting_mode: Optional[s async def patch(self,body: Optional[WorkbookChart] = None, request_configuration: Optional[WorkbookChartItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[WorkbookChart]: """ - Update the properties of chart object. This API is available in the following national cloud deployments. + Update the properties of chart object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookChart] @@ -153,7 +153,7 @@ async def patch(self,body: Optional[WorkbookChart] = None, request_configuration def to_delete_request_information(self,request_configuration: Optional[WorkbookChartItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes the chart object. This API is available in the following national cloud deployments. + Deletes the chart object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -164,12 +164,12 @@ def to_delete_request_information(self,request_configuration: Optional[WorkbookC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkbookChartItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chart object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chart object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -181,12 +181,12 @@ def to_get_request_information(self,request_configuration: Optional[WorkbookChar request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookChart] = None, request_configuration: Optional[WorkbookChartItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of chart object. This API is available in the following national cloud deployments. + Update the properties of chart object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -200,7 +200,7 @@ def to_patch_request_information(self,body: Optional[WorkbookChart] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -317,7 +317,7 @@ class WorkbookChartItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class WorkbookChartItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chart object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chart object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/worksheet/worksheet_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/worksheet/worksheet_request_builder.py index ceb645c6191..630437e4bb0 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/worksheet/worksheet_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/worksheet/worksheet_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[WorksheetReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> WorksheetRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item_at_with_index/item_at_with_index_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item_at_with_index/item_at_with_index_request_builder.py index 738e153d3d3..2fdc8004958 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item_at_with_index/item_at_with_index_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item_at_with_index/item_at_with_index_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemAtWithIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ItemAtWithIndexRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item_with_name/item_with_name_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item_with_name/item_with_name_request_builder.py index a86976fd299..b217c13e7a6 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item_with_name/item_with_name_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item_with_name/item_with_name_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemWithName request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ItemWithNameRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/add/add_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/add/add_request_builder.py index 0346b90d1a5..0b7a1abf1de 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/add/add_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/add/add_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> Optional[WorkbookNamedItem]: """ - Adds a new name to the collection of the given scope using the user's locale for the formula. This API is available in the following national cloud deployments. + Adds a new name to the collection of the given scope using the user's locale for the formula. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookNamedItem] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddPostRequestBody] = None, request_configura def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Adds a new name to the collection of the given scope using the user's locale for the formula. This API is available in the following national cloud deployments. + Adds a new name to the collection of the given scope using the user's locale for the formula. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/add_formula_local/add_formula_local_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/add_formula_local/add_formula_local_request_builder.py index 5f4760b669f..916a71c4624 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/add_formula_local/add_formula_local_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/add_formula_local/add_formula_local_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddFormulaLocalPostRequestBody] = None, request_configuration: Optional[AddFormulaLocalRequestBuilderPostRequestConfiguration] = None) -> Optional[WorkbookNamedItem]: """ - Adds a new name to the collection of the given scope using the user's locale for the formula. This API is available in the following national cloud deployments. + Adds a new name to the collection of the given scope using the user's locale for the formula. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookNamedItem] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddFormulaLocalPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[AddFormulaLocalPostRequestBody] = None, request_configuration: Optional[AddFormulaLocalRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Adds a new name to the collection of the given scope using the user's locale for the formula. This API is available in the following national cloud deployments. + Adds a new name to the collection of the given scope using the user's locale for the formula. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddFormulaLocalPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py index 7912d36fcb4..c13709cbb1a 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py @@ -28,10 +28,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RangeRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookRange]: """ - Retrieve the properties and relationships of range object. This API is available in the following national cloud deployments. + Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] - Find more info here: https://learn.microsoft.com/graph/api/range-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[RangeRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[RangeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of range object. This API is available in the following national cloud deployments. + Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RangeRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RangeRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/item/workbook_named_item_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/item/workbook_named_item_item_request_builder.py index 950bee44ca9..10f0be52dc5 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/item/workbook_named_item_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/item/workbook_named_item_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[WorkbookN request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkbookNamedItemItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[WorkbookName request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookNamedItem] = None, request_configuration: Optional[WorkbookNamedItemItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[WorkbookNamedItem] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/item/worksheet/worksheet_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/item/worksheet/worksheet_request_builder.py index 27db8e3004e..fcd1a0e82e1 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/item/worksheet/worksheet_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/item/worksheet/worksheet_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[WorksheetReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> WorksheetRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/names_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/names_request_builder.py index fb0f98a5751..4a89a7273fb 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/names_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/names_request_builder.py @@ -47,7 +47,7 @@ def by_workbook_named_item_id(self,workbook_named_item_id: str) -> WorkbookNamed async def get(self,request_configuration: Optional[NamesRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookNamedItemCollectionResponse]: """ - Retrieve a list of named item associated with the worksheet. This API is available in the following national cloud deployments. + Retrieve a list of named item associated with the worksheet. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookNamedItemCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/worksheet-list-names?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def post(self,body: Optional[WorkbookNamedItem] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[NamesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of named item associated with the worksheet. This API is available in the following national cloud deployments. + Retrieve a list of named item associated with the worksheet. 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[NamesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WorkbookNamedItem] = None, request_configuration: Optional[NamesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[WorkbookNamedItem] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ def count(self) -> CountRequestBuilder: @dataclass class NamesRequestBuilderGetQueryParameters(): """ - Retrieve a list of named item associated with the worksheet. This API is available in the following national cloud deployments. + Retrieve a list of named item associated with the worksheet. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/pivot_tables/item/refresh/refresh_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/pivot_tables/item/refresh/refresh_request_builder.py index 0075fae6d93..43e02513b32 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/pivot_tables/item/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/pivot_tables/item/refresh/refresh_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/pivot_tables/item/workbook_pivot_table_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/pivot_tables/item/workbook_pivot_table_item_request_builder.py index 5aefb1cc85c..28469302400 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/pivot_tables/item/workbook_pivot_table_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/pivot_tables/item/workbook_pivot_table_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[WorkbookP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkbookPivotTableItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[WorkbookPivo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookPivotTable] = None, request_configuration: Optional[WorkbookPivotTableItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[WorkbookPivotTable] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/pivot_tables/item/worksheet/worksheet_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/pivot_tables/item/worksheet/worksheet_request_builder.py index 9f749452f94..1ac5e4f271a 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/pivot_tables/item/worksheet/worksheet_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/pivot_tables/item/worksheet/worksheet_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[WorksheetReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> WorksheetRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/pivot_tables/pivot_tables_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/pivot_tables/pivot_tables_request_builder.py index 358c855583a..68646f3308f 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/pivot_tables/pivot_tables_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/pivot_tables/pivot_tables_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PivotTablesR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WorkbookPivotTable] = None, request_configuration: Optional[PivotTablesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[WorkbookPivotTable] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/pivot_tables/refresh_all/refresh_all_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/pivot_tables/refresh_all/refresh_all_request_builder.py index bb2660a12fd..4e39577a28a 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/pivot_tables/refresh_all/refresh_all_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/pivot_tables/refresh_all/refresh_all_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshAllR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshAllRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/protection/protect/protect_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/protection/protect/protect_request_builder.py index 7d939c2afb0..702be86ea17 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/protection/protect/protect_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/protection/protect/protect_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ProtectPostRequestBody] = None, request_configuration: Optional[ProtectRequestBuilderPostRequestConfiguration] = None) -> None: """ - Protect a worksheet. It throws if the worksheet has been protected. This API is available in the following national cloud deployments. + Protect a worksheet. It throws if the worksheet has been protected. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ProtectPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ProtectPostRequestBody] = None, request_configuration: Optional[ProtectRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Protect a worksheet. It throws if the worksheet has been protected. This API is available in the following national cloud deployments. + Protect a worksheet. It throws if the worksheet has been protected. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ProtectPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/protection/protection_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/protection/protection_request_builder.py index 7b154b0923a..b365d307b7c 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/protection/protection_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/protection/protection_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[ProtectionRequestBuilderDe async def get(self,request_configuration: Optional[ProtectionRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookWorksheetProtection]: """ - Retrieve the properties and relationships of workbookWorksheetProtection object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of workbookWorksheetProtection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookWorksheetProtection] Find more info here: https://learn.microsoft.com/graph/api/worksheetprotection-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Protectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ProtectionRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of workbookWorksheetProtection object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of workbookWorksheetProtection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[ProtectionRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookWorksheetProtection] = None, request_configuration: Optional[ProtectionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[WorkbookWorksheetProtection request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class ProtectionRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguratio @dataclass class ProtectionRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of workbookWorksheetProtection object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of workbookWorksheetProtection object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/protection/unprotect/unprotect_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/protection/unprotect/unprotect_request_builder.py index 379ebb51b76..2a1439bb3dd 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/protection/unprotect/unprotect_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/protection/unprotect/unprotect_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UnprotectRequestBuilderPostRequestConfiguration] = None) -> None: """ - Unprotect a worksheet This API is available in the following national cloud deployments. + Unprotect a worksheet 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/worksheetprotection-unprotect?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UnprotectRequestBuilderPostR def to_post_request_information(self,request_configuration: Optional[UnprotectRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Unprotect a worksheet This API is available in the following national cloud deployments. + Unprotect a worksheet param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UnprotectRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnprotectRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/range/range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/range/range_request_builder.py index 539a506d37c..70b815c5e80 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/range/range_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/range/range_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[RangeRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RangeRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/range_with_address/range_with_address_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/range_with_address/range_with_address_request_builder.py index f6b15ecba61..594ebd5b9df 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/range_with_address/range_with_address_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/range_with_address/range_with_address_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[RangeWithAdd request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RangeWithAddressRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py index ff9a8171b38..07ded2ceb81 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> Optional[WorkbookTable]: """ - Use this API to create a new Table. This API is available in the following national cloud deployments. + Use this API to create a new Table. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTable] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddPostRequestBody] = None, request_configura def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Table. This API is available in the following national cloud deployments. + Use this API to create a new Table. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/count/count_request_builder.py index bfe4f2f60b0..24038df755f 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/count/count_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[CountRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/clear_filters/clear_filters_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/clear_filters/clear_filters_request_builder.py index fbbddaa8693..67e5f8a6919 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/clear_filters/clear_filters_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/clear_filters/clear_filters_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ClearFiltersRequestBuilderPostRequestConfiguration] = None) -> None: """ - Clears all the filters currently applied on the table. This API is available in the following national cloud deployments. + Clears all the filters currently applied on the table. 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/table-clearfilters?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ClearFiltersRequestBuilderPo def to_post_request_information(self,request_configuration: Optional[ClearFiltersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clears all the filters currently applied on the table. This API is available in the following national cloud deployments. + Clears all the filters currently applied on the table. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ClearFilter request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ClearFiltersRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/add/add_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/add/add_request_builder.py index bdf5112383b..2ad68faa28f 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/add/add_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/add/add_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> Optional[WorkbookTableColumn]: """ - Adds a new column to the table. This API is available in the following national cloud deployments. + Adds a new column to the table. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTableColumn] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddPostRequestBody] = None, request_configura def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Adds a new column to the table. This API is available in the following national cloud deployments. + Adds a new column to the table. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/columns_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/columns_request_builder.py index e9d09393036..2efcf8274cf 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/columns_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/columns_request_builder.py @@ -47,7 +47,7 @@ def by_workbook_table_column_id(self,workbook_table_column_id: str) -> WorkbookT async def get(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookTableColumnCollectionResponse]: """ - Retrieve a list of tablecolumn objects. This API is available in the following national cloud deployments. + Retrieve a list of tablecolumn objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTableColumnCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/tablecolumn-list?view=graph-rest-1.0 @@ -81,7 +81,7 @@ def item_at_with_index(self,index: Optional[int] = None) -> ItemAtWithIndexReque async def post(self,body: Optional[WorkbookTableColumn] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> Optional[WorkbookTableColumn]: """ - Use this API to create a new TableColumn. This API is available in the following national cloud deployments. + Use this API to create a new TableColumn. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTableColumn] @@ -106,7 +106,7 @@ async def post(self,body: Optional[WorkbookTableColumn] = None, request_configur def to_get_request_information(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of tablecolumn objects. This API is available in the following national cloud deployments. + Retrieve a list of tablecolumn objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -118,12 +118,12 @@ def to_get_request_information(self,request_configuration: Optional[ColumnsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WorkbookTableColumn] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new TableColumn. This API is available in the following national cloud deployments. + Use this API to create a new TableColumn. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -137,7 +137,7 @@ def to_post_request_information(self,body: Optional[WorkbookTableColumn] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -172,7 +172,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ColumnsRequestBuilderGetQueryParameters(): """ - Retrieve a list of tablecolumn objects. This API is available in the following national cloud deployments. + Retrieve a list of tablecolumn objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/count/count_request_builder.py index d233a22eabf..0515fd61618 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/count/count_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[CountRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/data_body_range/data_body_range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/data_body_range/data_body_range_request_builder.py index dca7a708ad1..7ee74835437 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/data_body_range/data_body_range_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/data_body_range/data_body_range_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DataBodyRangeRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookRange]: """ - Gets the range object associated with the data body of the column. This API is available in the following national cloud deployments. + Gets the range object associated with the data body of the column. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] Find more info here: https://learn.microsoft.com/graph/api/tablecolumn-databodyrange?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DataBodyRangeRequestBuilderGe def to_get_request_information(self,request_configuration: Optional[DataBodyRangeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Gets the range object associated with the data body of the column. This API is available in the following national cloud deployments. + Gets the range object associated with the data body of the column. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DataBodyRang request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DataBodyRangeRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply/apply_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply/apply_request_builder.py index 73f891fa819..ab20883d0e8 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply/apply_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply/apply_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ApplyPostRequestBody] = None, request_configuration: Optional[ApplyRequestBuilderPostRequestConfiguration] = None) -> None: """ - Apply the given filter criteria on the given column. This API is available in the following national cloud deployments. + Apply the given filter criteria on the given column. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ApplyPostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[ApplyPostRequestBody] = None, request_configuration: Optional[ApplyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Apply the given filter criteria on the given column. This API is available in the following national cloud deployments. + Apply the given filter criteria on the given column. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ApplyPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_bottom_items_filter/apply_bottom_items_filter_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_bottom_items_filter/apply_bottom_items_filter_request_builder.py index 75cbbd81fdd..2ed51c99684 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_bottom_items_filter/apply_bottom_items_filter_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_bottom_items_filter/apply_bottom_items_filter_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ApplyBottomItemsFilterPostRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_bottom_percent_filter/apply_bottom_percent_filter_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_bottom_percent_filter/apply_bottom_percent_filter_request_builder.py index 6d65f0b6eaf..289a8fc5da4 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_bottom_percent_filter/apply_bottom_percent_filter_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_bottom_percent_filter/apply_bottom_percent_filter_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ApplyBottomPercentFilterPost request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_cell_color_filter/apply_cell_color_filter_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_cell_color_filter/apply_cell_color_filter_request_builder.py index 4e128e95efc..04b3ad4584a 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_cell_color_filter/apply_cell_color_filter_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_cell_color_filter/apply_cell_color_filter_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ApplyCellColorFilterPostRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_custom_filter/apply_custom_filter_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_custom_filter/apply_custom_filter_request_builder.py index 4e6a21f2d80..be747f7cb9d 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_custom_filter/apply_custom_filter_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_custom_filter/apply_custom_filter_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ApplyCustomFilterPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_dynamic_filter/apply_dynamic_filter_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_dynamic_filter/apply_dynamic_filter_request_builder.py index ce92b955a10..e9d87fc4f2f 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_dynamic_filter/apply_dynamic_filter_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_dynamic_filter/apply_dynamic_filter_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ApplyDynamicFilterPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_font_color_filter/apply_font_color_filter_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_font_color_filter/apply_font_color_filter_request_builder.py index de40c48ee05..d19f368e35b 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_font_color_filter/apply_font_color_filter_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_font_color_filter/apply_font_color_filter_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ApplyFontColorFilterPostRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_icon_filter/apply_icon_filter_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_icon_filter/apply_icon_filter_request_builder.py index 128fa2184ef..5a942cf3074 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_icon_filter/apply_icon_filter_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_icon_filter/apply_icon_filter_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ApplyIconFilterPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_top_items_filter/apply_top_items_filter_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_top_items_filter/apply_top_items_filter_request_builder.py index 12607beb07e..4e81490741f 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_top_items_filter/apply_top_items_filter_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_top_items_filter/apply_top_items_filter_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ApplyTopItemsFilterPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_top_percent_filter/apply_top_percent_filter_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_top_percent_filter/apply_top_percent_filter_request_builder.py index 6297fd11552..e9ccd8c2589 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_top_percent_filter/apply_top_percent_filter_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_top_percent_filter/apply_top_percent_filter_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ApplyTopPercentFilterPostReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_values_filter/apply_values_filter_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_values_filter/apply_values_filter_request_builder.py index 8040a0960fc..f0e185a1faf 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_values_filter/apply_values_filter_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_values_filter/apply_values_filter_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ApplyValuesFilterPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/clear/clear_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/clear/clear_request_builder.py index 10aac088d73..0a288035373 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/clear/clear_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/clear/clear_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> None: """ - Clear the filter on the given column. This API is available in the following national cloud deployments. + Clear the filter on the given column. 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/filter-clear?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ClearRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clear the filter on the given column. This API is available in the following national cloud deployments. + Clear the filter on the given column. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ClearReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ClearRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/filter_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/filter_request_builder.py index 6d3fa8704e4..72d72eabd86 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/filter_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/filter_request_builder.py @@ -115,7 +115,7 @@ def to_delete_request_information(self,request_configuration: Optional[FilterReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FilterRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -132,7 +132,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookFilter] = None, request_configuration: Optional[FilterRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -151,7 +151,7 @@ def to_patch_request_information(self,body: Optional[WorkbookFilter] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/header_row_range/header_row_range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/header_row_range/header_row_range_request_builder.py index 8a57a2e2d81..12f3138be74 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/header_row_range/header_row_range_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/header_row_range/header_row_range_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[HeaderRowRangeRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookRange]: """ - Gets the range object associated with the header row of the column. This API is available in the following national cloud deployments. + Gets the range object associated with the header row of the column. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] Find more info here: https://learn.microsoft.com/graph/api/tablecolumn-headerrowrange?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[HeaderRowRangeRequestBuilderG def to_get_request_information(self,request_configuration: Optional[HeaderRowRangeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Gets the range object associated with the header row of the column. This API is available in the following national cloud deployments. + Gets the range object associated with the header row of the column. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[HeaderRowRan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> HeaderRowRangeRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/range/range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/range/range_request_builder.py index fbd3f3f6a92..6d076d863ec 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/range/range_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/range/range_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RangeRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookRange]: """ - Gets the range object associated with the entire column. This API is available in the following national cloud deployments. + Gets the range object associated with the entire column. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] Find more info here: https://learn.microsoft.com/graph/api/tablecolumn-range?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[RangeRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[RangeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Gets the range object associated with the entire column. This API is available in the following national cloud deployments. + Gets the range object associated with the entire column. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RangeRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RangeRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/total_row_range/total_row_range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/total_row_range/total_row_range_request_builder.py index e8d776daae6..9eab310f6cc 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/total_row_range/total_row_range_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/total_row_range/total_row_range_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[TotalRowRangeRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookRange]: """ - Gets the range object associated with the totals row of the column. This API is available in the following national cloud deployments. + Gets the range object associated with the totals row of the column. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] Find more info here: https://learn.microsoft.com/graph/api/tablecolumn-totalrowrange?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[TotalRowRangeRequestBuilderGe def to_get_request_information(self,request_configuration: Optional[TotalRowRangeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Gets the range object associated with the totals row of the column. This API is available in the following national cloud deployments. + Gets the range object associated with the totals row of the column. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TotalRowRang request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TotalRowRangeRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/workbook_table_column_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/workbook_table_column_item_request_builder.py index 13397ac6669..3eba21588eb 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/workbook_table_column_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/workbook_table_column_item_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[WorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes the column from the table. This API is available in the following national cloud deployments. + Deletes the column from the table. 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/tablecolumn-delete?view=graph-rest-1.0 @@ -53,7 +53,7 @@ async def delete(self,request_configuration: Optional[WorkbookTableColumnItemReq async def get(self,request_configuration: Optional[WorkbookTableColumnItemRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookTableColumn]: """ - Retrieve the properties and relationships of tablecolumn object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of tablecolumn object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTableColumn] Find more info here: https://learn.microsoft.com/graph/api/tablecolumn-get?view=graph-rest-1.0 @@ -75,7 +75,7 @@ async def get(self,request_configuration: Optional[WorkbookTableColumnItemReques async def patch(self,body: Optional[WorkbookTableColumn] = None, request_configuration: Optional[WorkbookTableColumnItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[WorkbookTableColumn]: """ - Update the properties of tablecolumn object. This API is available in the following national cloud deployments. + Update the properties of tablecolumn object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTableColumn] @@ -100,7 +100,7 @@ async def patch(self,body: Optional[WorkbookTableColumn] = None, request_configu def to_delete_request_information(self,request_configuration: Optional[WorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes the column from the table. This API is available in the following national cloud deployments. + Deletes the column from the table. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -111,12 +111,12 @@ def to_delete_request_information(self,request_configuration: Optional[WorkbookT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkbookTableColumnItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of tablecolumn object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of tablecolumn object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -128,12 +128,12 @@ def to_get_request_information(self,request_configuration: Optional[WorkbookTabl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookTableColumn] = None, request_configuration: Optional[WorkbookTableColumnItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of tablecolumn object. This API is available in the following national cloud deployments. + Update the properties of tablecolumn object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[WorkbookTableColumn] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -219,7 +219,7 @@ class WorkbookTableColumnItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class WorkbookTableColumnItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of tablecolumn object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of tablecolumn object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item_at_with_index/item_at_with_index_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item_at_with_index/item_at_with_index_request_builder.py index be9e53d05bf..349cc37d695 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item_at_with_index/item_at_with_index_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item_at_with_index/item_at_with_index_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemAtWithIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ItemAtWithIndexRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/convert_to_range/convert_to_range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/convert_to_range/convert_to_range_request_builder.py index 996bcb1e33b..219087433f4 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/convert_to_range/convert_to_range_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/convert_to_range/convert_to_range_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ConvertToRangeRequestBuilderPostRequestConfiguration] = None) -> Optional[WorkbookRange]: """ - Converts the table into a normal range of cells. All data is preserved. This API is available in the following national cloud deployments. + Converts the table into a normal range of cells. All data is preserved. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] Find more info here: https://learn.microsoft.com/graph/api/table-converttorange?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[ConvertToRangeRequestBuilder def to_post_request_information(self,request_configuration: Optional[ConvertToRangeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Converts the table into a normal range of cells. All data is preserved. This API is available in the following national cloud deployments. + Converts the table into a normal range of cells. All data is preserved. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[ConvertToRa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ConvertToRangeRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/data_body_range/data_body_range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/data_body_range/data_body_range_request_builder.py index 46d524934a4..c7f47bd36d3 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/data_body_range/data_body_range_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/data_body_range/data_body_range_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DataBodyRangeRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookRange]: """ - Gets the range object associated with the data body of the table. This API is available in the following national cloud deployments. + Gets the range object associated with the data body of the table. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] Find more info here: https://learn.microsoft.com/graph/api/table-databodyrange?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DataBodyRangeRequestBuilderGe def to_get_request_information(self,request_configuration: Optional[DataBodyRangeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Gets the range object associated with the data body of the table. This API is available in the following national cloud deployments. + Gets the range object associated with the data body of the table. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DataBodyRang request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DataBodyRangeRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/header_row_range/header_row_range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/header_row_range/header_row_range_request_builder.py index 70a91b44f40..aec4bf5332a 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/header_row_range/header_row_range_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/header_row_range/header_row_range_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[HeaderRowRangeRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookRange]: """ - Gets the range object associated with header row of the table. This API is available in the following national cloud deployments. + Gets the range object associated with header row of the table. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] Find more info here: https://learn.microsoft.com/graph/api/table-headerrowrange?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[HeaderRowRangeRequestBuilderG def to_get_request_information(self,request_configuration: Optional[HeaderRowRangeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Gets the range object associated with header row of the table. This API is available in the following national cloud deployments. + Gets the range object associated with header row of the table. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[HeaderRowRan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> HeaderRowRangeRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/range/range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/range/range_request_builder.py index 9834a7aad4c..d765b50f71b 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/range/range_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/range/range_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RangeRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookRange]: """ - Gets the range object associated with the entire table. This API is available in the following national cloud deployments. + Gets the range object associated with the entire table. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] Find more info here: https://learn.microsoft.com/graph/api/table-range?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[RangeRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[RangeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Gets the range object associated with the entire table. This API is available in the following national cloud deployments. + Gets the range object associated with the entire table. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RangeRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RangeRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/reapply_filters/reapply_filters_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/reapply_filters/reapply_filters_request_builder.py index c2cfbc9921b..2f1fb543254 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/reapply_filters/reapply_filters_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/reapply_filters/reapply_filters_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ReapplyFiltersRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reapplies all the filters currently on the table. This API is available in the following national cloud deployments. + Reapplies all the filters currently on the table. 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/table-reapplyfilters?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ReapplyFiltersRequestBuilder def to_post_request_information(self,request_configuration: Optional[ReapplyFiltersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reapplies all the filters currently on the table. This API is available in the following national cloud deployments. + Reapplies all the filters currently on the table. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ReapplyFilt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReapplyFiltersRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/add/add_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/add/add_request_builder.py index 4d7789ffab2..4da237ba13e 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/add/add_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/add/add_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> Optional[WorkbookTableRow]: """ - Adds rows to the end of the table. Note that the API can accept multiple rows data using this API. Adding one row at a time could lead to performance degradation. The recommended approach would be to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform single rows add operation. Experiment with the number of rows to determine the ideal number of rows to use in single API call. This API is available in the following national cloud deployments. + Adds rows to the end of the table. Note that the API can accept multiple rows data using this API. Adding one row at a time could lead to performance degradation. The recommended approach would be to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform single rows add operation. Experiment with the number of rows to determine the ideal number of rows to use in single API call. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTableRow] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddPostRequestBody] = None, request_configura def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Adds rows to the end of the table. Note that the API can accept multiple rows data using this API. Adding one row at a time could lead to performance degradation. The recommended approach would be to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform single rows add operation. Experiment with the number of rows to determine the ideal number of rows to use in single API call. This API is available in the following national cloud deployments. + Adds rows to the end of the table. Note that the API can accept multiple rows data using this API. Adding one row at a time could lead to performance degradation. The recommended approach would be to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform single rows add operation. Experiment with the number of rows to determine the ideal number of rows to use in single API call. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/count/count_request_builder.py index 7e98a54bd4f..ef5db70b57f 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/count/count_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[CountRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/item/range/range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/item/range/range_request_builder.py index 931cf29e37f..1a2bbd59cf8 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/item/range/range_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/item/range/range_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RangeRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RangeRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/item/workbook_table_row_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/item/workbook_table_row_item_request_builder.py index e34f9bf847a..6f7158d7a51 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/item/workbook_table_row_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/item/workbook_table_row_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[WorkbookTableRowItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes the row from the table. This API is available in the following national cloud deployments. + Deletes the row from the table. 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/tablerow-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[WorkbookTableRowItemReques async def get(self,request_configuration: Optional[WorkbookTableRowItemRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookTableRow]: """ - Retrieve the properties and relationships of tablerow object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of tablerow object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTableRow] Find more info here: https://learn.microsoft.com/graph/api/tablerow-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[WorkbookTableRowItemRequestBu async def patch(self,body: Optional[WorkbookTableRow] = None, request_configuration: Optional[WorkbookTableRowItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[WorkbookTableRow]: """ - Update the properties of tablerow object. This API is available in the following national cloud deployments. + Update the properties of tablerow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTableRow] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[WorkbookTableRow] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[WorkbookTableRowItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes the row from the table. This API is available in the following national cloud deployments. + Deletes the row from the table. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[WorkbookT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkbookTableRowItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of tablerow object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of tablerow object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[WorkbookTabl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookTableRow] = None, request_configuration: Optional[WorkbookTableRowItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of tablerow object. This API is available in the following national cloud deployments. + Update the properties of tablerow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[WorkbookTableRow] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class WorkbookTableRowItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class WorkbookTableRowItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of tablerow object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of tablerow object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/item_at_with_index/item_at_with_index_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/item_at_with_index/item_at_with_index_request_builder.py index a579eaaba3f..5effb9b4ec0 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/item_at_with_index/item_at_with_index_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/item_at_with_index/item_at_with_index_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemAtWithIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ItemAtWithIndexRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/rows_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/rows_request_builder.py index 0a41b54a855..a3b18a330df 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/rows_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/rows_request_builder.py @@ -47,10 +47,10 @@ def by_workbook_table_row_id(self,workbook_table_row_id: str) -> WorkbookTableRo async def get(self,request_configuration: Optional[RowsRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookTableRowCollectionResponse]: """ - Retrieve a list of tablerow objects. This API is available in the following national cloud deployments. + Retrieve a list of tablerow objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTableRowCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/table-list-rows?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/tablerow-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -81,7 +81,7 @@ def item_at_with_index(self,index: Optional[int] = None) -> ItemAtWithIndexReque async def post(self,body: Optional[WorkbookTableRow] = None, request_configuration: Optional[RowsRequestBuilderPostRequestConfiguration] = None) -> Optional[WorkbookTableRow]: """ - Add rows to the end of a table. The API can accept multiple rows data using this API. Adding one row at a time can lead to performance degradation. The recommended approach is to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. This API is available in the following national cloud deployments. + Add rows to the end of a table. The API can accept multiple rows data using this API. Adding one row at a time can lead to performance degradation. The recommended approach is to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTableRow] @@ -106,7 +106,7 @@ async def post(self,body: Optional[WorkbookTableRow] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[RowsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of tablerow objects. This API is available in the following national cloud deployments. + Retrieve a list of tablerow objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -118,12 +118,12 @@ def to_get_request_information(self,request_configuration: Optional[RowsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WorkbookTableRow] = None, request_configuration: Optional[RowsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add rows to the end of a table. The API can accept multiple rows data using this API. Adding one row at a time can lead to performance degradation. The recommended approach is to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. This API is available in the following national cloud deployments. + Add rows to the end of a table. The API can accept multiple rows data using this API. Adding one row at a time can lead to performance degradation. The recommended approach is to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform a single row add operation. Experiment with the number of rows to determine the ideal number of rows to use in a single API call. This request might occasionally result in a 504 HTTP error. The appropriate response to this error is to repeat the request. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -137,7 +137,7 @@ def to_post_request_information(self,body: Optional[WorkbookTableRow] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -172,7 +172,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RowsRequestBuilderGetQueryParameters(): """ - Retrieve a list of tablerow objects. This API is available in the following national cloud deployments. + Retrieve a list of tablerow objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/sort/apply/apply_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/sort/apply/apply_request_builder.py index aca6ede7ba4..fe0a7723156 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/sort/apply/apply_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/sort/apply/apply_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ApplyPostRequestBody] = None, request_configuration: Optional[ApplyRequestBuilderPostRequestConfiguration] = None) -> None: """ - Perform a sort operation. This API is available in the following national cloud deployments. + Perform a sort operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ApplyPostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[ApplyPostRequestBody] = None, request_configuration: Optional[ApplyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Perform a sort operation. This API is available in the following national cloud deployments. + Perform a sort operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ApplyPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/sort/clear/clear_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/sort/clear/clear_request_builder.py index 089178e6764..2a6c86f4eac 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/sort/clear/clear_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/sort/clear/clear_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> None: """ - Clears the sorting that is currently on the table. While this doesn't modify the table's ordering, it clears the state of the header buttons. This API is available in the following national cloud deployments. + Clears the sorting that is currently on the table. While this doesn't modify the table's ordering, it clears the state of the header buttons. 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/tablesort-clear?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ClearRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[ClearRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clears the sorting that is currently on the table. While this doesn't modify the table's ordering, it clears the state of the header buttons. This API is available in the following national cloud deployments. + Clears the sorting that is currently on the table. While this doesn't modify the table's ordering, it clears the state of the header buttons. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ClearReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ClearRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/sort/reapply/reapply_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/sort/reapply/reapply_request_builder.py index e9b13d4dd4e..d7cc079ecf6 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/sort/reapply/reapply_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/sort/reapply/reapply_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ReapplyRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reapplies the current sorting parameters to the table. This API is available in the following national cloud deployments. + Reapplies the current sorting parameters to the table. 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/tablesort-reapply?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ReapplyRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[ReapplyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reapplies the current sorting parameters to the table. This API is available in the following national cloud deployments. + Reapplies the current sorting parameters to the table. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ReapplyRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReapplyRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/sort/sort_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/sort/sort_request_builder.py index 22f887182e3..c52bb347ad0 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/sort/sort_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/sort/sort_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[SortRequestBuilderDeleteRe async def get(self,request_configuration: Optional[SortRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookTableSort]: """ - Retrieve the properties and relationships of tablesort object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of tablesort object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTableSort] Find more info here: https://learn.microsoft.com/graph/api/tablesort-get?view=graph-rest-1.0 @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[SortReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SortRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of tablesort object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of tablesort object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[SortRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookTableSort] = None, request_configuration: Optional[SortRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[WorkbookTableSort] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -197,7 +197,7 @@ class SortRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class SortRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of tablesort object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of tablesort object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/total_row_range/total_row_range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/total_row_range/total_row_range_request_builder.py index f2d9d3c136c..a59731cc4c4 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/total_row_range/total_row_range_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/total_row_range/total_row_range_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[TotalRowRangeRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookRange]: """ - Gets the range object associated with totals row of the table. This API is available in the following national cloud deployments. + Gets the range object associated with totals row of the table. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] Find more info here: https://learn.microsoft.com/graph/api/table-totalrowrange?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[TotalRowRangeRequestBuilderGe def to_get_request_information(self,request_configuration: Optional[TotalRowRangeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Gets the range object associated with totals row of the table. This API is available in the following national cloud deployments. + Gets the range object associated with totals row of the table. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TotalRowRang request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TotalRowRangeRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/workbook_table_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/workbook_table_item_request_builder.py index 968f2633af9..e5840e3783b 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/workbook_table_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/workbook_table_item_request_builder.py @@ -114,7 +114,7 @@ def to_delete_request_information(self,request_configuration: Optional[WorkbookT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkbookTableItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -131,7 +131,7 @@ def to_get_request_information(self,request_configuration: Optional[WorkbookTabl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookTable] = None, request_configuration: Optional[WorkbookTableItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -150,7 +150,7 @@ def to_patch_request_information(self,body: Optional[WorkbookTable] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/worksheet/worksheet_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/worksheet/worksheet_request_builder.py index 48111b2f5a5..74857b86585 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/worksheet/worksheet_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/worksheet/worksheet_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[WorksheetReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> WorksheetRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item_at_with_index/item_at_with_index_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item_at_with_index/item_at_with_index_request_builder.py index 59ce22365c2..4fbba4ece70 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item_at_with_index/item_at_with_index_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item_at_with_index/item_at_with_index_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemAtWithIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ItemAtWithIndexRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/tables_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/tables_request_builder.py index a291d26ec74..7ed4e4dc16c 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/tables_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/tables_request_builder.py @@ -47,7 +47,7 @@ def by_workbook_table_id(self,workbook_table_id: str) -> WorkbookTableItemReques async def get(self,request_configuration: Optional[TablesRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookTableCollectionResponse]: """ - Retrieve a list of table objects. This API is available in the following national cloud deployments. + Retrieve a list of table objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTableCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/worksheet-list-tables?view=graph-rest-1.0 @@ -105,7 +105,7 @@ async def post(self,body: Optional[WorkbookTable] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[TablesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of table objects. This API is available in the following national cloud deployments. + Retrieve a list of table objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[TablesReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WorkbookTable] = None, request_configuration: Optional[TablesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -136,7 +136,7 @@ def to_post_request_information(self,body: Optional[WorkbookTable] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -171,7 +171,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TablesRequestBuilderGetQueryParameters(): """ - Retrieve a list of table objects. This API is available in the following national cloud deployments. + Retrieve a list of table objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/count/count_request_builder.py index 1e2321760ab..9e4a2eb0775 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/count/count_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[CountRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/changes/changes_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/changes/changes_request_builder.py index 00db4176cbf..68a289228e3 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/changes/changes_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/changes/changes_request_builder.py @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[ChangesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WorkbookDocumentTaskChange] = None, request_configuration: Optional[ChangesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -134,7 +134,7 @@ def to_post_request_information(self,body: Optional[WorkbookDocumentTaskChange] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/changes/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/changes/count/count_request_builder.py index 94d886ddcb7..4569cf7c847 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/changes/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/changes/count/count_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[CountRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/changes/item/workbook_document_task_change_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/changes/item/workbook_document_task_change_item_request_builder.py index 05b044a40b5..b57d5680ea1 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/changes/item/workbook_document_task_change_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/changes/item/workbook_document_task_change_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[WorkbookD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkbookDocumentTaskChangeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[WorkbookDocu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookDocumentTaskChange] = None, request_configuration: Optional[WorkbookDocumentTaskChangeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WorkbookDocumentTaskChange] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/changes/item_at_with_index/item_at_with_index_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/changes/item_at_with_index/item_at_with_index_request_builder.py index 3420d1d91d9..321c8a5aa12 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/changes/item_at_with_index/item_at_with_index_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/changes/item_at_with_index/item_at_with_index_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemAtWithIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ItemAtWithIndexRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/comment_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/comment_request_builder.py index 0c9a2fdff22..6b576e9486b 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/comment_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/comment_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[CommentRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CommentRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[CommentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookComment] = None, request_configuration: Optional[CommentRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[WorkbookComment] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/changes/changes_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/changes/changes_request_builder.py index e4f2d00a33e..aee2c0f0791 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/changes/changes_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/changes/changes_request_builder.py @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[ChangesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WorkbookDocumentTaskChange] = None, request_configuration: Optional[ChangesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -134,7 +134,7 @@ def to_post_request_information(self,body: Optional[WorkbookDocumentTaskChange] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/changes/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/changes/count/count_request_builder.py index fca8a4366e3..7a71f026f80 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/changes/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/changes/count/count_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[CountRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/changes/item/workbook_document_task_change_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/changes/item/workbook_document_task_change_item_request_builder.py index 2b36238c846..9a305b58e3d 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/changes/item/workbook_document_task_change_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/changes/item/workbook_document_task_change_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[WorkbookD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkbookDocumentTaskChangeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[WorkbookDocu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookDocumentTaskChange] = None, request_configuration: Optional[WorkbookDocumentTaskChangeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WorkbookDocumentTaskChange] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/changes/item_at_with_index/item_at_with_index_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/changes/item_at_with_index/item_at_with_index_request_builder.py index 781938f7677..526c2738334 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/changes/item_at_with_index/item_at_with_index_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/changes/item_at_with_index/item_at_with_index_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemAtWithIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ItemAtWithIndexRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/task_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/task_request_builder.py index 35a5e21d7d5..5d3d4fd2907 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/task_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/task_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[TaskReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TaskRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookDocumentTask] = None, request_configuration: Optional[TaskRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookDocumentTask] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/workbook_comment_reply_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/workbook_comment_reply_item_request_builder.py index a3eaf7f603a..1932fc3fbd7 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/workbook_comment_reply_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/workbook_comment_reply_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[WorkbookC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkbookCommentReplyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[WorkbookComm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookCommentReply] = None, request_configuration: Optional[WorkbookCommentReplyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookCommentReply] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/replies_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/replies_request_builder.py index 24d2833227c..78cc55c9574 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/replies_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/replies_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RepliesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WorkbookCommentReply] = None, request_configuration: Optional[RepliesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WorkbookCommentReply] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/changes/changes_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/changes/changes_request_builder.py index 8cca40aa96c..4e758df2d99 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/changes/changes_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/changes/changes_request_builder.py @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[ChangesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WorkbookDocumentTaskChange] = None, request_configuration: Optional[ChangesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -134,7 +134,7 @@ def to_post_request_information(self,body: Optional[WorkbookDocumentTaskChange] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/changes/count/count_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/changes/count/count_request_builder.py index 3e71f0d3c33..bd3a884c69e 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/changes/count/count_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/changes/count/count_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[CountRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CountRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/changes/item/workbook_document_task_change_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/changes/item/workbook_document_task_change_item_request_builder.py index a54bed182e9..e3613b138ea 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/changes/item/workbook_document_task_change_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/changes/item/workbook_document_task_change_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[WorkbookD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkbookDocumentTaskChangeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[WorkbookDocu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookDocumentTaskChange] = None, request_configuration: Optional[WorkbookDocumentTaskChangeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WorkbookDocumentTaskChange] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/changes/item_at_with_index/item_at_with_index_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/changes/item_at_with_index/item_at_with_index_request_builder.py index 03ea0514f22..a0c0a178cae 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/changes/item_at_with_index/item_at_with_index_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/changes/item_at_with_index/item_at_with_index_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemAtWithIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ItemAtWithIndexRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/task_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/task_request_builder.py index 971bb7448aa..022e3c3a9d4 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/task_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/task_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[TaskReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TaskRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookDocumentTask] = None, request_configuration: Optional[TaskRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WorkbookDocumentTask] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/workbook_document_task_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/workbook_document_task_item_request_builder.py index 916767db9c2..28c25d83223 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/workbook_document_task_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/workbook_document_task_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[WorkbookD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkbookDocumentTaskItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[WorkbookDocu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookDocumentTask] = None, request_configuration: Optional[WorkbookDocumentTaskItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[WorkbookDocumentTask] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item_at_with_index/item_at_with_index_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item_at_with_index/item_at_with_index_request_builder.py index 859fad3503b..d1178844df0 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item_at_with_index/item_at_with_index_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item_at_with_index/item_at_with_index_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemAtWithIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ItemAtWithIndexRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/tasks_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/tasks_request_builder.py index 7c0742fc23f..dfc5d62787b 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/tasks_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/tasks_request_builder.py @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[TasksRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WorkbookDocumentTask] = None, request_configuration: Optional[TasksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -134,7 +134,7 @@ def to_post_request_information(self,body: Optional[WorkbookDocumentTask] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/used_range/used_range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/used_range/used_range_request_builder.py index 694e074c288..d2669d145bb 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/used_range/used_range_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/used_range/used_range_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[UsedRangeReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UsedRangeRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/used_range_with_values_only/used_range_with_values_only_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/used_range_with_values_only/used_range_with_values_only_request_builder.py index 041f25115b9..5e016a497ea 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/used_range_with_values_only/used_range_with_values_only_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/used_range_with_values_only/used_range_with_values_only_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[UsedRangeWit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UsedRangeWithValuesOnlyRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/workbook_worksheet_item_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/workbook_worksheet_item_request_builder.py index 9e58d0793b8..651dd8e120d 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/workbook_worksheet_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/workbook_worksheet_item_request_builder.py @@ -54,7 +54,7 @@ def cell_with_row_with_column(self,column: Optional[int] = None, row: Optional[i async def delete(self,request_configuration: Optional[WorkbookWorksheetItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes the worksheet from the workbook. This API is available in the following national cloud deployments. + Deletes the worksheet from the workbook. 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/worksheet-delete?view=graph-rest-1.0 @@ -74,7 +74,7 @@ async def delete(self,request_configuration: Optional[WorkbookWorksheetItemReque async def get(self,request_configuration: Optional[WorkbookWorksheetItemRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookWorksheet]: """ - Retrieve the properties and relationships of worksheet object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of worksheet object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookWorksheet] Find more info here: https://learn.microsoft.com/graph/api/worksheet-get?view=graph-rest-1.0 @@ -96,7 +96,7 @@ async def get(self,request_configuration: Optional[WorkbookWorksheetItemRequestB async def patch(self,body: Optional[WorkbookWorksheet] = None, request_configuration: Optional[WorkbookWorksheetItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[WorkbookWorksheet]: """ - Update the properties of worksheet object. This API is available in the following national cloud deployments. + Update the properties of worksheet object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookWorksheet] @@ -133,7 +133,7 @@ def range_with_address(self,address: Optional[str] = None) -> RangeWithAddressRe def to_delete_request_information(self,request_configuration: Optional[WorkbookWorksheetItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes the worksheet from the workbook. This API is available in the following national cloud deployments. + Deletes the worksheet from the workbook. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -144,12 +144,12 @@ def to_delete_request_information(self,request_configuration: Optional[WorkbookW request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkbookWorksheetItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of worksheet object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of worksheet object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -161,12 +161,12 @@ def to_get_request_information(self,request_configuration: Optional[WorkbookWork request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkbookWorksheet] = None, request_configuration: Optional[WorkbookWorksheetItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of worksheet object. This API is available in the following national cloud deployments. + Update the properties of worksheet object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -180,7 +180,7 @@ def to_patch_request_information(self,body: Optional[WorkbookWorksheet] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -291,7 +291,7 @@ class WorkbookWorksheetItemRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class WorkbookWorksheetItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of worksheet object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of worksheet object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/worksheets_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/worksheets_request_builder.py index fe62b333593..7147e5f9fc2 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/worksheets_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/worksheets_request_builder.py @@ -46,10 +46,10 @@ def by_workbook_worksheet_id(self,workbook_worksheet_id: str) -> WorkbookWorkshe async def get(self,request_configuration: Optional[WorksheetsRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkbookWorksheetCollectionResponse]: """ - Retrieve a list of worksheet objects. This API is available in the following national cloud deployments. + Retrieve a list of worksheet objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookWorksheetCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/workbook-list-worksheets?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/worksheet-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -92,7 +92,7 @@ async def post(self,body: Optional[WorkbookWorksheet] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[WorksheetsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of worksheet objects. This API is available in the following national cloud deployments. + Retrieve a list of worksheet objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[WorksheetsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WorkbookWorksheet] = None, request_configuration: Optional[WorksheetsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[WorkbookWorksheet] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def count(self) -> CountRequestBuilder: @dataclass class WorksheetsRequestBuilderGetQueryParameters(): """ - Retrieve a list of worksheet objects. This API is available in the following national cloud deployments. + Retrieve a list of worksheet objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/items/items_request_builder.py b/msgraph_beta/generated/drives/item/items/items_request_builder.py index b9844a628c6..07173db1316 100644 --- a/msgraph_beta/generated/drives/item/items/items_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/items_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DriveItem] = None, request_configuration: Optional[ItemsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DriveItem] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/last_modified_by_user/last_modified_by_user_request_builder.py b/msgraph_beta/generated/drives/item/last_modified_by_user/last_modified_by_user_request_builder.py index 9ab48ac6829..b596f7790ed 100644 --- a/msgraph_beta/generated/drives/item/last_modified_by_user/last_modified_by_user_request_builder.py +++ b/msgraph_beta/generated/drives/item/last_modified_by_user/last_modified_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[LastModified request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastModifiedByUserRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/drives/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py index fde5a8f4f1e..55fef770d6a 100644 --- a/msgraph_beta/generated/drives/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/drives/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/drives/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index e23e125f813..7031e71eb7b 100644 --- a/msgraph_beta/generated/drives/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/drives/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/list_/activities/activities_request_builder.py b/msgraph_beta/generated/drives/item/list_/activities/activities_request_builder.py index 5d39a4b7b22..fadc4bdd050 100644 --- a/msgraph_beta/generated/drives/item/list_/activities/activities_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/activities/activities_request_builder.py @@ -86,7 +86,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivitiesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ItemActivityOLD] = None, request_configuration: Optional[ActivitiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ItemActivityOLD] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/list_/columns/columns_request_builder.py b/msgraph_beta/generated/drives/item/list_/columns/columns_request_builder.py index 4602e1491a7..da6f46de6f2 100644 --- a/msgraph_beta/generated/drives/item/list_/columns/columns_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/columns/columns_request_builder.py @@ -45,7 +45,7 @@ def by_column_definition_id(self,column_definition_id: str) -> ColumnDefinitionI async def get(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> Optional[ColumnDefinitionCollectionResponse]: """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [list][list]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [list][list]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/list-list-columns?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ColumnsRequestBuilderGetReque async def post(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Create a column for a list][list] with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ColumnDefinition] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [list][list]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [list][list]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ColumnsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a column for a list][list] with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ColumnDefinition] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ColumnsRequestBuilderGetQueryParameters(): """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [list][list]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [list][list]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/list_/columns/item/column_definition_item_request_builder.py b/msgraph_beta/generated/drives/item/list_/columns/item/column_definition_item_request_builder.py index 1950a39c1ee..e77185bc5ea 100644 --- a/msgraph_beta/generated/drives/item/list_/columns/item/column_definition_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/columns/item/column_definition_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ColumnDef request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnDefini request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/list_/columns/item/source_column/source_column_request_builder.py b/msgraph_beta/generated/drives/item/list_/columns/item/source_column/source_column_request_builder.py index 46aa5f011bd..47641cc6af6 100644 --- a/msgraph_beta/generated/drives/item/list_/columns/item/source_column/source_column_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/columns/item/source_column/source_column_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SourceColumn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SourceColumnRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/list_/content_types/add_copy/add_copy_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/add_copy/add_copy_request_builder.py index 8c7cabc7b68..694bc530052 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/add_copy/add_copy_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/add_copy/add_copy_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddCopyPostRequestBody] = None, request_configuration: Optional[AddCopyRequestBuilderPostRequestConfiguration] = None) -> Optional[ContentType]: """ - Add a copy of a content type][contentType] from a [site][site] to a [list][list]. This API is available in the following [national cloud deployments. + Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentType] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddCopyPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[AddCopyPostRequestBody] = None, request_configuration: Optional[AddCopyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a copy of a content type][contentType] from a [site][site] to a [list][list]. This API is available in the following [national cloud deployments. + Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddCopyPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/list_/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.py index 4d1e903feee..48f848eeeb7 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddCopyFromContentTypeHubPostRequestBody] = None, request_configuration: Optional[AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration] = None) -> Optional[ContentType]: """ - Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. This API is available in the following national cloud deployments. + Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentType] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddCopyFromContentTypeHubPostRequestBody] = N def to_post_request_information(self,body: Optional[AddCopyFromContentTypeHubPostRequestBody] = None, request_configuration: Optional[AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. This API is available in the following national cloud deployments. + Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddCopyFromContentTypeHubPos request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/list_/content_types/content_types_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/content_types_request_builder.py index 41670e377f8..4d2a8b751a7 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/content_types_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/content_types_request_builder.py @@ -48,7 +48,7 @@ def by_content_type_id(self,content_type_id: str) -> ContentTypeItemRequestBuild async def get(self,request_configuration: Optional[ContentTypesRequestBuilderGetRequestConfiguration] = None) -> Optional[ContentTypeCollectionResponse]: """ - Get the collection of contentType][contentType] resources in a [list][]. This API is available in the following [national cloud deployments. + Get the collection of [contentType][contentType] resources in a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentTypeCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/list-list-contenttypes?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def post(self,body: Optional[ContentType] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[ContentTypesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the collection of contentType][contentType] resources in a [list][]. This API is available in the following [national cloud deployments. + Get the collection of [contentType][contentType] resources in a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,7 +106,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentTypes request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ContentType] = None, request_configuration: Optional[ContentTypesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_post_request_information(self,body: Optional[ContentType] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ def get_compatible_hub_content_types(self) -> GetCompatibleHubContentTypesReques @dataclass class ContentTypesRequestBuilderGetQueryParameters(): """ - Get the collection of contentType][contentType] resources in a [list][]. This API is available in the following [national cloud deployments. + Get the collection of [contentType][contentType] resources in a [list][]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/list_/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_request_builder.py index 30289765429..748e696a422 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetCompatibl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetCompatibleHubContentTypesRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/list_/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py index 7bff4c13952..696a92c3220 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, request_configuration: Optional[AssociateWithHubSitesRequestBuilderPostRequestConfiguration] = None) -> None: """ - Associate a content type][contentType] with a list of hub sites. This API is available in the following [national cloud deployments. + Associate a [content type][contentType] with a list of hub sites. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, def to_post_request_information(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, request_configuration: Optional[AssociateWithHubSitesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Associate a content type][contentType] with a list of hub sites. This API is available in the following [national cloud deployments. + Associate a [content type][contentType] with a list of hub sites. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AssociateWithHubSitesPostReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/list_/content_types/item/base/base_request_builder_.py b/msgraph_beta/generated/drives/item/list_/content_types/item/base/base_request_builder_.py index e1d42f847cc..a605d0f88fb 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/item/base/base_request_builder_.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/item/base/base_request_builder_.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[BaseRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> BaseRequestBuilder_: diff --git a/msgraph_beta/generated/drives/item/list_/content_types/item/base_types/base_types_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/item/base_types/base_types_request_builder.py index f67a46b8bdc..725e18f9c4d 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/item/base_types/base_types_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/item/base_types/base_types_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[BaseTypesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> BaseTypesRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/list_/content_types/item/base_types/item/content_type_item_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/item/base_types/item/content_type_item_request_builder.py index b8d2bca75e4..2e7c27ce6f3 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/item/base_types/item/content_type_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/item/base_types/item/content_type_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentTypeI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ContentTypeItemRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/list_/content_types/item/column_links/column_links_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/item/column_links/column_links_request_builder.py index 362d8661561..3fb23a0a7ae 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/item/column_links/column_links_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/item/column_links/column_links_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnLinksR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ColumnLink] = None, request_configuration: Optional[ColumnLinksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ColumnLink] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/list_/content_types/item/column_links/item/column_link_item_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/item/column_links/item/column_link_item_request_builder.py index ba4316f9b4f..a2c7132e848 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/item/column_links/item/column_link_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/item/column_links/item/column_link_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ColumnLin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ColumnLinkItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnLinkIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ColumnLink] = None, request_configuration: Optional[ColumnLinkItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ColumnLink] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/list_/content_types/item/column_positions/column_positions_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/item/column_positions/column_positions_request_builder.py index e493435fad8..50864821afa 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/item/column_positions/column_positions_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/item/column_positions/column_positions_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnPositi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ColumnPositionsRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/list_/content_types/item/column_positions/item/column_definition_item_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/item/column_positions/item/column_definition_item_request_builder.py index b5c25f3db67..6e120661024 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/item/column_positions/item/column_definition_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/item/column_positions/item/column_definition_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnDefini request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ColumnDefinitionItemRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/list_/content_types/item/columns/columns_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/item/columns/columns_request_builder.py index 26ec9cdaf78..5b5105ec64e 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/item/columns/columns_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/item/columns/columns_request_builder.py @@ -45,7 +45,7 @@ def by_column_definition_id(self,column_definition_id: str) -> ColumnDefinitionI async def get(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> Optional[ColumnDefinitionCollectionResponse]: """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [content type][contentType]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/contenttype-list-columns?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ColumnsRequestBuilderGetReque async def post(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Add a column to a content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + Add a column to a [content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ColumnDefinition] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [content type][contentType]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ColumnsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a column to a content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + Add a column to a [content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ColumnDefinition] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ColumnsRequestBuilderGetQueryParameters(): """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [content type][contentType]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/list_/content_types/item/columns/item/column_definition_item_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/item/columns/item/column_definition_item_request_builder.py index f39bac2d3a4..afc929d139d 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/item/columns/item/column_definition_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/item/columns/item/column_definition_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a column][columndefinition] from a [site][], [list][] or [content type][contentType]. This API is available in the following [national cloud deployments. + Remove a [column][columndefinition] from a [site][], [list][] or [content type][contentType]. 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/columndefinition-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[ColumnDefinitionItemReques async def get(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Retrieve the metadata for a site][], [list][] or [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] Find more info here: https://learn.microsoft.com/graph/api/columndefinition-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[ColumnDefinitionItemRequestBu async def patch(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Update a site][], [list][] or [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Update a [site][], [list][] or [content type][contentType] [column][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[ColumnDefinition] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a column][columndefinition] from a [site][], [list][] or [content type][contentType]. This API is available in the following [national cloud deployments. + Remove a [column][columndefinition] from a [site][], [list][] or [content type][contentType]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[ColumnDef request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the metadata for a site][], [list][] or [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[ColumnDefini request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update a site][], [list][] or [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Update a [site][], [list][] or [content type][contentType] [column][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class ColumnDefinitionItemRequestBuilderGetQueryParameters(): """ - Retrieve the metadata for a site][], [list][] or [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/list_/content_types/item/columns/item/source_column/source_column_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/item/columns/item/source_column/source_column_request_builder.py index d6dbb463e02..0af236d7db3 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/item/columns/item/source_column/source_column_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/item/columns/item/source_column/source_column_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SourceColumn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SourceColumnRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/list_/content_types/item/content_type_item_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/item/content_type_item_request_builder.py index 8869c5a9770..2efa7387b7e 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/item/content_type_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/item/content_type_item_request_builder.py @@ -113,7 +113,7 @@ def to_delete_request_information(self,request_configuration: Optional[ContentTy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ContentTypeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -130,7 +130,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentTypeI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ContentType] = None, request_configuration: Optional[ContentTypeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -149,7 +149,7 @@ def to_patch_request_information(self,body: Optional[ContentType] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/list_/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py index 87a10baa3c9..cd0b8041f34 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] = None, request_configuration: Optional[CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration] = None) -> None: """ - Copy a file to a default content location in a content type][contentType]. The file can then be added as a default file or template via a POST operation. This API is available in the following [national cloud deployments. + Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] def to_post_request_information(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] = None, request_configuration: Optional[CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a file to a default content location in a content type][contentType]. The file can then be added as a default file or template via a POST operation. This API is available in the following [national cloud deployments. + Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CopyToDefaultContentLocation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/list_/content_types/item/is_published/is_published_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/item/is_published/is_published_request_builder.py index c9209e7e027..fbde669c4ec 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/item/is_published/is_published_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/item/is_published/is_published_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[IsPublishedR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IsPublishedRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/list_/content_types/item/publish/publish_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/item/publish/publish_request_builder.py index 33b78bf3723..3535f406eb4 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/item/publish/publish_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/item/publish/publish_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[PublishRequestBuilderPostRequestConfiguration] = None) -> None: """ - Publishes a contentType][] present in a content type hub site. This API is available in the following [national cloud deployments. + Publishes a [contentType][] present in a content type hub site. 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/contenttype-publish?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[PublishRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[PublishRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Publishes a contentType][] present in a content type hub site. This API is available in the following [national cloud deployments. + Publishes a [contentType][] present in a content type hub site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[PublishRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PublishRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/list_/content_types/item/unpublish/unpublish_request_builder.py b/msgraph_beta/generated/drives/item/list_/content_types/item/unpublish/unpublish_request_builder.py index cc75c404f28..94029f93ac4 100644 --- a/msgraph_beta/generated/drives/item/list_/content_types/item/unpublish/unpublish_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/content_types/item/unpublish/unpublish_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UnpublishRequestBuilderPostRequestConfiguration] = None) -> None: """ - Unpublish a contentType][] from a content type hub site. This API is available in the following [national cloud deployments. + Unpublish a [contentType][] from a content type hub site. 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/contenttype-unpublish?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UnpublishRequestBuilderPostR def to_post_request_information(self,request_configuration: Optional[UnpublishRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Unpublish a contentType][] from a content type hub site. This API is available in the following [national cloud deployments. + Unpublish a [contentType][] from a content type hub site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UnpublishRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnpublishRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/list_/created_by_user/created_by_user_request_builder.py b/msgraph_beta/generated/drives/item/list_/created_by_user/created_by_user_request_builder.py index 1a771fbc413..56f03b31ea3 100644 --- a/msgraph_beta/generated/drives/item/list_/created_by_user/created_by_user_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/created_by_user/created_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[CreatedByUse request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreatedByUserRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/list_/created_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/drives/item/list_/created_by_user/mailbox_settings/mailbox_settings_request_builder.py index ae2be5e0141..e4538afbbfd 100644 --- a/msgraph_beta/generated/drives/item/list_/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/created_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/list_/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/drives/item/list_/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index 8e03ff61c86..aad280a0ca8 100644 --- a/msgraph_beta/generated/drives/item/list_/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/list_/drive/drive_request_builder.py b/msgraph_beta/generated/drives/item/list_/drive/drive_request_builder.py index a55668394c4..eb8c65998fe 100644 --- a/msgraph_beta/generated/drives/item/list_/drive/drive_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/drive/drive_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/list_/items/delta/delta_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/delta/delta_request_builder.py index 90d68ea2b99..4fcb3a249bc 100644 --- a/msgraph_beta/generated/drives/item/list_/items/delta/delta_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/list_/items/delta_with_token/delta_with_token_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/delta_with_token/delta_with_token_request_builder.py index 1e2298a88d1..c41c165b95b 100644 --- a/msgraph_beta/generated/drives/item/list_/items/delta_with_token/delta_with_token_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/delta_with_token/delta_with_token_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaWithTok request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaWithTokenRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/list_/items/item/activities/activities_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/activities/activities_request_builder.py index 9049f023782..7532eec46be 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/activities/activities_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/activities/activities_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivitiesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ItemActivityOLD] = None, request_configuration: Optional[ActivitiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ItemActivityOLD] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/list_/items/item/activities/item/drive_item/content/content_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/activities/item/drive_item/content/content_request_builder.py index 2faded3aec9..9207f20f81d 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/activities/item/drive_item/content/content_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/activities/item/drive_item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/drives/item/list_/items/item/activities/item/drive_item/drive_item_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/activities/item/drive_item/drive_item_request_builder.py index 002d9be1102..64b9291ac7b 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/activities/item/drive_item/drive_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/activities/item/drive_item/drive_item_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveItemRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/list_/items/item/activities/item/item_activity_o_l_d_item_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/activities/item/item_activity_o_l_d_item_request_builder.py index b03a5ffb445..76bcebc84bb 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/activities/item/item_activity_o_l_d_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/activities/item/item_activity_o_l_d_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemActiv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemActivityOLDItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemActivity request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemActivityOLD] = None, request_configuration: Optional[ItemActivityOLDItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ItemActivityOLD] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/list_/items/item/activities/item/list_item/list_item_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/activities/item/list_item/list_item_request_builder.py index 4139bc8c057..6fba19ce3be 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/activities/item/list_item/list_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/activities/item/list_item/list_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ListItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ListItemRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/list_/items/item/analytics/analytics_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/analytics/analytics_request_builder.py index c55101dc4e9..cb42a9354dc 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/analytics/analytics_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/analytics/analytics_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AnalyticsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AnalyticsRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/list_/items/item/create_link/create_link_post_request_body.py b/msgraph_beta/generated/drives/item/list_/items/item/create_link/create_link_post_request_body.py index af36bfbd9d1..da4d09f02fb 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/create_link/create_link_post_request_body.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/create_link/create_link_post_request_body.py @@ -17,6 +17,8 @@ class CreateLinkPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): additional_data: Dict[str, Any] = field(default_factory=dict) # The expirationDateTime property expiration_date_time: Optional[datetime.datetime] = None + # The message property + message: Optional[str] = None # The password property password: Optional[str] = None # The recipients property @@ -52,6 +54,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "expirationDateTime": lambda n : setattr(self, 'expiration_date_time', n.get_datetime_value()), + "message": lambda n : setattr(self, 'message', n.get_str_value()), "password": lambda n : setattr(self, 'password', n.get_str_value()), "recipients": lambda n : setattr(self, 'recipients', n.get_collection_of_object_values(DriveRecipient)), "retainInheritedPermissions": lambda n : setattr(self, 'retain_inherited_permissions', n.get_bool_value()), @@ -70,6 +73,7 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") writer.write_datetime_value("expirationDateTime", self.expiration_date_time) + writer.write_str_value("message", self.message) writer.write_str_value("password", self.password) writer.write_collection_of_object_values("recipients", self.recipients) writer.write_bool_value("retainInheritedPermissions", self.retain_inherited_permissions) diff --git a/msgraph_beta/generated/drives/item/list_/items/item/create_link/create_link_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/create_link/create_link_request_builder.py index 7662190ae47..a39577e2f94 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/create_link/create_link_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/create_link/create_link_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateLinkPostRequestBody] = None, request_configuration: Optional[CreateLinkRequestBuilderPostRequestConfiguration] = None) -> Optional[Permission]: """ - Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action will return the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. This API is available in the following national cloud deployments. + Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action will return the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Permission] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateLinkPostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[CreateLinkPostRequestBody] = None, request_configuration: Optional[CreateLinkRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action will return the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. This API is available in the following national cloud deployments. + Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action will return the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateLinkPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/list_/items/item/created_by_user/created_by_user_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/created_by_user/created_by_user_request_builder.py index b49b8ea1ebd..2dde4a7b9d3 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/created_by_user/created_by_user_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/created_by_user/created_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[CreatedByUse request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreatedByUserRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/list_/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py index 5cec84fee56..3205bf14f5d 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/list_/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index 5e72726517c..94d7a330522 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/list_/items/item/document_set_versions/document_set_versions_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/document_set_versions/document_set_versions_request_builder.py index 7670601e1e4..a40196084d0 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/document_set_versions/document_set_versions_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/document_set_versions/document_set_versions_request_builder.py @@ -45,7 +45,7 @@ def by_document_set_version_id(self,document_set_version_id: str) -> DocumentSet async def get(self,request_configuration: Optional[DocumentSetVersionsRequestBuilderGetRequestConfiguration] = None) -> Optional[DocumentSetVersionCollectionResponse]: """ - Get a list of the versions of a document set item in a list. This API is available in the following national cloud deployments. + Get a list of the versions of a document set item in a list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DocumentSetVersionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/listitem-list-documentsetversions?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[DocumentSetVersionsRequestBui async def post(self,body: Optional[DocumentSetVersion] = None, request_configuration: Optional[DocumentSetVersionsRequestBuilderPostRequestConfiguration] = None) -> Optional[DocumentSetVersion]: """ - Create a new version of a document set item in a list. This API is available in the following national cloud deployments. + Create a new version of a document set item in a list. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DocumentSetVersion] @@ -92,7 +92,7 @@ async def post(self,body: Optional[DocumentSetVersion] = None, request_configura def to_get_request_information(self,request_configuration: Optional[DocumentSetVersionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the versions of a document set item in a list. This API is available in the following national cloud deployments. + Get a list of the versions of a document set item in a list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[DocumentSetV request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DocumentSetVersion] = None, request_configuration: Optional[DocumentSetVersionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new version of a document set item in a list. This API is available in the following national cloud deployments. + Create a new version of a document set item in a list. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[DocumentSetVersion] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DocumentSetVersionsRequestBuilderGetQueryParameters(): """ - Get a list of the versions of a document set item in a list. This API is available in the following national cloud deployments. + Get a list of the versions of a document set item in a list. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/list_/items/item/document_set_versions/item/document_set_version_item_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/document_set_versions/item/document_set_version_item_request_builder.py index 0778af6a2ad..6125b8a519a 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/document_set_versions/item/document_set_version_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/document_set_versions/item/document_set_version_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a version of a document set in a list. This API is available in the following national cloud deployments. + Delete a version of a document set in a list. 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/documentsetversion-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[DocumentSetVersionItemRequ async def get(self,request_configuration: Optional[DocumentSetVersionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DocumentSetVersion]: """ - Read the properties and relationships of a documentSetVersion object. This API is available in the following national cloud deployments. + Read the properties and relationships of a documentSetVersion object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DocumentSetVersion] Find more info here: https://learn.microsoft.com/graph/api/documentsetversion-get?view=graph-rest-1.0 @@ -96,7 +96,7 @@ async def patch(self,body: Optional[DocumentSetVersion] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a version of a document set in a list. This API is available in the following national cloud deployments. + Delete a version of a document set in a list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[DocumentS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DocumentSetVersionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a documentSetVersion object. This API is available in the following national cloud deployments. + Read the properties and relationships of a documentSetVersion object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[DocumentSetV request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DocumentSetVersion] = None, request_configuration: Optional[DocumentSetVersionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[DocumentSetVersion] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ class DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class DocumentSetVersionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a documentSetVersion object. This API is available in the following national cloud deployments. + Read the properties and relationships of a documentSetVersion object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/list_/items/item/document_set_versions/item/fields/fields_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/document_set_versions/item/fields/fields_request_builder.py index f2a0af4dbbc..5afd141d8a9 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/document_set_versions/item/fields/fields_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/document_set_versions/item/fields/fields_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[FieldsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FieldsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[FieldsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[FieldValueSet] = None, request_configuration: Optional[FieldsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[FieldValueSet] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/list_/items/item/document_set_versions/item/restore/restore_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/document_set_versions/item/restore/restore_request_builder.py index a6dd6bd9970..9a6940546d7 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/document_set_versions/item/restore/restore_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/document_set_versions/item/restore/restore_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> None: """ - Restore a document set version. This API is available in the following national cloud deployments. + Restore a document set version. 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/documentsetversion-restore?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RestoreRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a document set version. This API is available in the following national cloud deployments. + Restore a document set version. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RestoreRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RestoreRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/list_/items/item/drive_item/content/content_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/drive_item/content/content_request_builder.py index efdc7fe4a0d..324476d3296 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/drive_item/content/content_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/drive_item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/drives/item/list_/items/item/drive_item/drive_item_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/drive_item/drive_item_request_builder.py index f9dc8eae7c3..256651a2622 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/drive_item/drive_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/drive_item/drive_item_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveItemRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/list_/items/item/fields/fields_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/fields/fields_request_builder.py index 3cace3d67e2..97e8151f659 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/fields/fields_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/fields/fields_request_builder.py @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[FieldsRequestBuilderGetReques async def patch(self,body: Optional[FieldValueSet] = None, request_configuration: Optional[FieldsRequestBuilderPatchRequestConfiguration] = None) -> Optional[FieldValueSet]: """ - Update the properties on a listItem][]. This API is available in the following [national cloud deployments. + Update the properties on a [listItem][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FieldValueSet] @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[FieldsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FieldsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,12 +121,12 @@ def to_get_request_information(self,request_configuration: Optional[FieldsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[FieldValueSet] = None, request_configuration: Optional[FieldsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties on a listItem][]. This API is available in the following [national cloud deployments. + Update the properties on a [listItem][]. 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 to_patch_request_information(self,body: Optional[FieldValueSet] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/list_/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.py index c2028f1ad3d..fbde44c35b9 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.py @@ -68,7 +68,7 @@ def to_get_request_information(self,request_configuration: Optional[GetActivitie request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/list_/items/item/last_modified_by_user/last_modified_by_user_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/last_modified_by_user/last_modified_by_user_request_builder.py index 734acb0f977..384021da99a 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/last_modified_by_user/last_modified_by_user_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/last_modified_by_user/last_modified_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[LastModified request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastModifiedByUserRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/list_/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py index 059e09449bf..e8b2cbb5182 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/list_/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index 5a6156f7ff8..642bbc8bf44 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/list_/items/item/list_item_item_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/list_item_item_request_builder.py index d3422e64e0f..ed805587223 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/list_item_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/list_item_item_request_builder.py @@ -38,7 +38,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ListItemItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Removes an item from a list][]. This API is available in the following [national cloud deployments. + Removes an item from a [list][]. 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/listitem-delete?view=graph-rest-1.0 @@ -58,7 +58,7 @@ async def delete(self,request_configuration: Optional[ListItemItemRequestBuilder async def get(self,request_configuration: Optional[ListItemItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ListItem]: """ - Returns the metadata for an item][] in a [list][]. This API is available in the following [national cloud deployments. + Returns the metadata for an [item][] in a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ListItem] Find more info here: https://learn.microsoft.com/graph/api/listitem-get?view=graph-rest-1.0 @@ -122,7 +122,7 @@ async def patch(self,body: Optional[ListItem] = None, request_configuration: Opt def to_delete_request_information(self,request_configuration: Optional[ListItemItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Removes an item from a list][]. This API is available in the following [national cloud deployments. + Removes an item from a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -133,12 +133,12 @@ def to_delete_request_information(self,request_configuration: Optional[ListItemI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ListItemItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Returns the metadata for an item][] in a [list][]. This API is available in the following [national cloud deployments. + Returns the metadata for an [item][] in a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -150,7 +150,7 @@ def to_get_request_information(self,request_configuration: Optional[ListItemItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ListItem] = None, request_configuration: Optional[ListItemItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -169,7 +169,7 @@ def to_patch_request_information(self,body: Optional[ListItem] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -277,7 +277,7 @@ class ListItemItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class ListItemItemRequestBuilderGetQueryParameters(): """ - Returns the metadata for an item][] in a [list][]. This API is available in the following [national cloud deployments. + Returns the metadata for an [item][] in a [list][]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/list_/items/item/versions/item/fields/fields_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/versions/item/fields/fields_request_builder.py index fe771afeb5a..7d87e2b2ae3 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/versions/item/fields/fields_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/versions/item/fields/fields_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[FieldsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FieldsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[FieldsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[FieldValueSet] = None, request_configuration: Optional[FieldsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[FieldValueSet] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/list_/items/item/versions/item/list_item_version_item_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/versions/item/list_item_version_item_request_builder.py index 74ca4bf88fa..064b3d4fe79 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/versions/item/list_item_version_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/versions/item/list_item_version_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ListItemV request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ListItemVersionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ListItemVers request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ListItemVersion] = None, request_configuration: Optional[ListItemVersionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ListItemVersion] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/list_/items/item/versions/item/restore_version/restore_version_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/versions/item/restore_version/restore_version_request_builder.py index 8fa3caf1654..3330e7d52dc 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/versions/item/restore_version/restore_version_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/versions/item/restore_version/restore_version_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RestoreVers request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RestoreVersionRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/list_/items/item/versions/versions_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/item/versions/versions_request_builder.py index d5c415b1a0d..ba1715f40f5 100644 --- a/msgraph_beta/generated/drives/item/list_/items/item/versions/versions_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/item/versions/versions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[VersionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ListItemVersion] = None, request_configuration: Optional[VersionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ListItemVersion] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/list_/items/items_request_builder.py b/msgraph_beta/generated/drives/item/list_/items/items_request_builder.py index dc1431eb906..d4aab563ce4 100644 --- a/msgraph_beta/generated/drives/item/list_/items/items_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/items/items_request_builder.py @@ -59,7 +59,7 @@ def delta_with_token(self,token: Optional[str] = None) -> DeltaWithTokenRequestB async def get(self,request_configuration: Optional[ItemsRequestBuilderGetRequestConfiguration] = None) -> Optional[ListItemCollectionResponse]: """ - Get the collection of items][item] in a [list][]. This API is available in the following [national cloud deployments. + Get the collection of [items][item] in a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ListItemCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/listitem-list?view=graph-rest-1.0 @@ -81,7 +81,7 @@ async def get(self,request_configuration: Optional[ItemsRequestBuilderGetRequest async def post(self,body: Optional[ListItem] = None, request_configuration: Optional[ItemsRequestBuilderPostRequestConfiguration] = None) -> Optional[ListItem]: """ - Create a new listItem][] in a [list][]. This API is available in the following [national cloud deployments. + Create a new [listItem][] in a [list][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ListItem] @@ -106,7 +106,7 @@ async def post(self,body: Optional[ListItem] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[ItemsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the collection of items][item] in a [list][]. This API is available in the following [national cloud deployments. + Get the collection of [items][item] in a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -118,12 +118,12 @@ def to_get_request_information(self,request_configuration: Optional[ItemsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ListItem] = None, request_configuration: Optional[ItemsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new listItem][] in a [list][]. This API is available in the following [national cloud deployments. + Create a new [listItem][] in a [list][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -137,7 +137,7 @@ def to_post_request_information(self,body: Optional[ListItem] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -172,7 +172,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class ItemsRequestBuilderGetQueryParameters(): """ - Get the collection of items][item] in a [list][]. This API is available in the following [national cloud deployments. + Get the collection of [items][item] in a [list][]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/list_/last_modified_by_user/last_modified_by_user_request_builder.py b/msgraph_beta/generated/drives/item/list_/last_modified_by_user/last_modified_by_user_request_builder.py index 54c8e811773..8f1d74ea110 100644 --- a/msgraph_beta/generated/drives/item/list_/last_modified_by_user/last_modified_by_user_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/last_modified_by_user/last_modified_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[LastModified request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastModifiedByUserRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/list_/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/drives/item/list_/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py index 6847ba8d06f..7b54228ca94 100644 --- a/msgraph_beta/generated/drives/item/list_/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/list_/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/drives/item/list_/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index 61f2986ef2c..bac05c79fcc 100644 --- a/msgraph_beta/generated/drives/item/list_/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/list_/list_request_builder.py b/msgraph_beta/generated/drives/item/list_/list_request_builder.py index f586012e52c..f13193994b6 100644 --- a/msgraph_beta/generated/drives/item/list_/list_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/list_request_builder.py @@ -112,7 +112,7 @@ def to_delete_request_information(self,request_configuration: Optional[ListReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ListRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -129,7 +129,7 @@ def to_get_request_information(self,request_configuration: Optional[ListRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[List_] = None, request_configuration: Optional[ListRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -148,7 +148,7 @@ def to_patch_request_information(self,body: Optional[List_] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/list_/operations/item/rich_long_running_operation_item_request_builder.py b/msgraph_beta/generated/drives/item/list_/operations/item/rich_long_running_operation_item_request_builder.py index 21e59352c5e..8ab6612117d 100644 --- a/msgraph_beta/generated/drives/item/list_/operations/item/rich_long_running_operation_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/operations/item/rich_long_running_operation_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RichLongR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RichLongRunningOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RichLongRunn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RichLongRunningOperation] = None, request_configuration: Optional[RichLongRunningOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[RichLongRunningOperation] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/list_/operations/operations_request_builder.py b/msgraph_beta/generated/drives/item/list_/operations/operations_request_builder.py index f0a896b860d..a9f684efd06 100644 --- a/msgraph_beta/generated/drives/item/list_/operations/operations_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/operations/operations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[RichLongRunningOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[RichLongRunningOperation] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/list_/subscriptions/item/reauthorize/reauthorize_request_builder.py b/msgraph_beta/generated/drives/item/list_/subscriptions/item/reauthorize/reauthorize_request_builder.py index 306da2b9a3a..c2f202de87a 100644 --- a/msgraph_beta/generated/drives/item/list_/subscriptions/item/reauthorize/reauthorize_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/subscriptions/item/reauthorize/reauthorize_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ReauthorizeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reauthorize a subscription when you receive a reauthorizationRequired challenge. This API is available in the following national cloud deployments. + Reauthorize a subscription when you receive a reauthorizationRequired challenge. 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/subscription-reauthorize?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ReauthorizeRequestBuilderPos def to_post_request_information(self,request_configuration: Optional[ReauthorizeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reauthorize a subscription when you receive a reauthorizationRequired challenge. This API is available in the following national cloud deployments. + Reauthorize a subscription when you receive a reauthorizationRequired challenge. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[Reauthorize request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReauthorizeRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/list_/subscriptions/item/subscription_item_request_builder.py b/msgraph_beta/generated/drives/item/list_/subscriptions/item/subscription_item_request_builder.py index e17d1532b2d..b4d41571dbf 100644 --- a/msgraph_beta/generated/drives/item/list_/subscriptions/item/subscription_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/subscriptions/item/subscription_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Subscript request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SubscriptionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[Subscription request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Subscription] = None, request_configuration: Optional[SubscriptionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Subscription] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/list_/subscriptions/subscriptions_request_builder.py b/msgraph_beta/generated/drives/item/list_/subscriptions/subscriptions_request_builder.py index 4563ac22e38..be00d93d020 100644 --- a/msgraph_beta/generated/drives/item/list_/subscriptions/subscriptions_request_builder.py +++ b/msgraph_beta/generated/drives/item/list_/subscriptions/subscriptions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Subscription request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Subscription] = None, request_configuration: Optional[SubscriptionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Subscription] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/drives/item/recent/recent_request_builder.py b/msgraph_beta/generated/drives/item/recent/recent_request_builder.py index ac3a170b503..a327921c0c7 100644 --- a/msgraph_beta/generated/drives/item/recent/recent_request_builder.py +++ b/msgraph_beta/generated/drives/item/recent/recent_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RecentReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RecentRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/root/content/content_request_builder.py b/msgraph_beta/generated/drives/item/root/content/content_request_builder.py index 46105fe5fb4..94fbf255e67 100644 --- a/msgraph_beta/generated/drives/item/root/content/content_request_builder.py +++ b/msgraph_beta/generated/drives/item/root/content/content_request_builder.py @@ -83,7 +83,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -102,7 +102,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/drives/item/root/root_request_builder.py b/msgraph_beta/generated/drives/item/root/root_request_builder.py index 5eb4e0b7aea..228653ec4d3 100644 --- a/msgraph_beta/generated/drives/item/root/root_request_builder.py +++ b/msgraph_beta/generated/drives/item/root/root_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RootRequestBuilderGetRequestConfiguration] = None) -> Optional[DriveItem]: """ - Retrieve the metadata for a driveItem in a drive by file system path or ID. This API is available in the following national cloud deployments. + Retrieve the metadata for a driveItem in a drive by file system path or ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] Find more info here: https://learn.microsoft.com/graph/api/driveitem-get?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RootRequestBuilderGetRequestC def to_get_request_information(self,request_configuration: Optional[RootRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the metadata for a driveItem in a drive by file system path or ID. This API is available in the following national cloud deployments. + Retrieve the metadata for a driveItem in a drive by file system path or ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[RootRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RootRequestBuilder: @@ -88,7 +88,7 @@ def content(self) -> ContentRequestBuilder: @dataclass class RootRequestBuilderGetQueryParameters(): """ - Retrieve the metadata for a driveItem in a drive by file system path or ID. This API is available in the following national cloud deployments. + Retrieve the metadata for a driveItem in a drive by file system path or ID. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/search_with_q/search_with_q_request_builder.py b/msgraph_beta/generated/drives/item/search_with_q/search_with_q_request_builder.py index 907bf6d3f41..333b1bea04f 100644 --- a/msgraph_beta/generated/drives/item/search_with_q/search_with_q_request_builder.py +++ b/msgraph_beta/generated/drives/item/search_with_q/search_with_q_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[SearchWithQR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SearchWithQRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/shared_with_me/shared_with_me_request_builder.py b/msgraph_beta/generated/drives/item/shared_with_me/shared_with_me_request_builder.py index edf94b00193..4ab04292d1b 100644 --- a/msgraph_beta/generated/drives/item/shared_with_me/shared_with_me_request_builder.py +++ b/msgraph_beta/generated/drives/item/shared_with_me/shared_with_me_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SharedWithMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SharedWithMeRequestBuilder: diff --git a/msgraph_beta/generated/drives/item/special/item/content/content_request_builder.py b/msgraph_beta/generated/drives/item/special/item/content/content_request_builder.py index 11578edc13c..c80c0f08466 100644 --- a/msgraph_beta/generated/drives/item/special/item/content/content_request_builder.py +++ b/msgraph_beta/generated/drives/item/special/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/drives/item/special/item/drive_item_item_request_builder.py b/msgraph_beta/generated/drives/item/special/item/drive_item_item_request_builder.py index 4ce9a2e57ee..b55c9b2e2fa 100644 --- a/msgraph_beta/generated/drives/item/special/item/drive_item_item_request_builder.py +++ b/msgraph_beta/generated/drives/item/special/item/drive_item_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DriveItemItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DriveItem]: """ - Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. This API is available in the following national cloud deployments. + Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] Find more info here: https://learn.microsoft.com/graph/api/drive-get-specialfolder?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[DriveItemItemRequestBuilderGe def to_get_request_information(self,request_configuration: Optional[DriveItemItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. This API is available in the following national cloud deployments. + Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveItemIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveItemItemRequestBuilder: @@ -88,7 +88,7 @@ def content(self) -> ContentRequestBuilder: @dataclass class DriveItemItemRequestBuilderGetQueryParameters(): """ - Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. This API is available in the following national cloud deployments. + Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/drives/item/special/special_request_builder.py b/msgraph_beta/generated/drives/item/special/special_request_builder.py index d827d9a12e9..0b31d00923e 100644 --- a/msgraph_beta/generated/drives/item/special/special_request_builder.py +++ b/msgraph_beta/generated/drives/item/special/special_request_builder.py @@ -44,7 +44,7 @@ def by_drive_item_id(self,drive_item_id: str) -> DriveItemItemRequestBuilder: async def get(self,request_configuration: Optional[SpecialRequestBuilderGetRequestConfiguration] = None) -> Optional[DriveItemCollectionResponse]: """ - Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. This API is available in the following national cloud deployments. + Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItemCollectionResponse] """ @@ -65,7 +65,7 @@ async def get(self,request_configuration: Optional[SpecialRequestBuilderGetReque def to_get_request_information(self,request_configuration: Optional[SpecialRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. This API is available in the following national cloud deployments. + Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[SpecialReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SpecialRequestBuilder: @@ -102,7 +102,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SpecialRequestBuilderGetQueryParameters(): """ - Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. This API is available in the following national cloud deployments. + Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/classes_request_builder.py b/msgraph_beta/generated/education/classes/classes_request_builder.py index 9ffdbc13152..e1542fe087b 100644 --- a/msgraph_beta/generated/education/classes/classes_request_builder.py +++ b/msgraph_beta/generated/education/classes/classes_request_builder.py @@ -46,7 +46,7 @@ def by_education_class_id(self,education_class_id: str) -> EducationClassItemReq async def get(self,request_configuration: Optional[ClassesRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationClassCollectionResponse]: """ - Retrieve a list of all class objects. This API is available in the following national cloud deployments. + Retrieve a list of all class objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationClassCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationroot-list-classes?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[ClassesRequestBuilderGetReque async def post(self,body: Optional[EducationClass] = None, request_configuration: Optional[ClassesRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationClass]: """ - Create a new class. This will also create a universal group. When you use this API to create a class, it will add special properties to the group, which willadd features such as assignments and special handling within Microsoft Teams when teams are created using the group. Please note that this API only creates the universal group and does not create a team. Microsoft Teams provides a user interface for teachers to create teams for their own classes using the groups created by this API. This API is available in the following national cloud deployments. + Create a new class. This will also create a universal group. When you use this API to create a class, it will add special properties to the group, which willadd features such as assignments and special handling within Microsoft Teams when teams are created using the group. Please note that this API only creates the universal group and does not create a team. Microsoft Teams provides a user interface for teachers to create teams for their own classes using the groups created by this API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationClass] @@ -93,7 +93,7 @@ async def post(self,body: Optional[EducationClass] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[ClassesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of all class objects. This API is available in the following national cloud deployments. + Retrieve a list of all class objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[ClassesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationClass] = None, request_configuration: Optional[ClassesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new class. This will also create a universal group. When you use this API to create a class, it will add special properties to the group, which willadd features such as assignments and special handling within Microsoft Teams when teams are created using the group. Please note that this API only creates the universal group and does not create a team. Microsoft Teams provides a user interface for teachers to create teams for their own classes using the groups created by this API. This API is available in the following national cloud deployments. + Create a new class. This will also create a universal group. When you use this API to create a class, it will add special properties to the group, which willadd features such as assignments and special handling within Microsoft Teams when teams are created using the group. Please note that this API only creates the universal group and does not create a team. Microsoft Teams provides a user interface for teachers to create teams for their own classes using the groups created by this API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[EducationClass] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class ClassesRequestBuilderGetQueryParameters(): """ - Retrieve a list of all class objects. This API is available in the following national cloud deployments. + Retrieve a list of all class objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/delta/delta_request_builder.py b/msgraph_beta/generated/education/classes/delta/delta_request_builder.py index e5846f441bd..4a5b7dab50d 100644 --- a/msgraph_beta/generated/education/classes/delta/delta_request_builder.py +++ b/msgraph_beta/generated/education/classes/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/education/classes/item/assignment_categories/assignment_categories_request_builder.py b/msgraph_beta/generated/education/classes/item/assignment_categories/assignment_categories_request_builder.py index 07734a9939c..3dfb767c9b7 100644 --- a/msgraph_beta/generated/education/classes/item/assignment_categories/assignment_categories_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignment_categories/assignment_categories_request_builder.py @@ -46,7 +46,7 @@ def by_education_category_id(self,education_category_id: str) -> EducationCatego async def get(self,request_configuration: Optional[AssignmentCategoriesRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationCategoryCollectionResponse]: """ - Retrieve a list of educationCategory objects. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Retrieve a list of educationCategory objects. Only teachers can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationCategoryCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationclass-list-categories?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AssignmentCategoriesRequestBu async def post(self,body: Optional[EducationCategory] = None, request_configuration: Optional[AssignmentCategoriesRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationCategory]: """ - Create a new educationCategory on an educationClass. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Create a new educationCategory on an educationClass. Only teachers can perform this operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationCategory] @@ -93,7 +93,7 @@ async def post(self,body: Optional[EducationCategory] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[AssignmentCategoriesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of educationCategory objects. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Retrieve a list of educationCategory objects. Only teachers can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentCa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationCategory] = None, request_configuration: Optional[AssignmentCategoriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new educationCategory on an educationClass. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Create a new educationCategory on an educationClass. Only teachers can perform this operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[EducationCategory] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class AssignmentCategoriesRequestBuilderGetQueryParameters(): """ - Retrieve a list of educationCategory objects. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Retrieve a list of educationCategory objects. Only teachers can perform this operation. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/assignment_categories/delta/delta_request_builder.py b/msgraph_beta/generated/education/classes/item/assignment_categories/delta/delta_request_builder.py index 4f7a009f75c..3ff7ff3f64a 100644 --- a/msgraph_beta/generated/education/classes/item/assignment_categories/delta/delta_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignment_categories/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/education/classes/item/assignment_categories/item/education_category_item_request_builder.py b/msgraph_beta/generated/education/classes/item/assignment_categories/item/education_category_item_request_builder.py index c3b73cc2562..7bf68a566a7 100644 --- a/msgraph_beta/generated/education/classes/item/assignment_categories/item/education_category_item_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignment_categories/item/education_category_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[EducationCategoryItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an existing category. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Delete an existing category. Only teachers can perform this operation. 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/educationcategory-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[EducationCategoryItemReque async def get(self,request_configuration: Optional[EducationCategoryItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationCategory]: """ - Retrieve an educationCategory object. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Retrieve an educationCategory object. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationCategory] Find more info here: https://learn.microsoft.com/graph/api/educationcategory-get?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[EducationCategory] = None, request_configura def to_delete_request_information(self,request_configuration: Optional[EducationCategoryItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an existing category. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Delete an existing category. Only teachers can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationCategoryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve an educationCategory object. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Retrieve an educationCategory object. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationCat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationCategory] = None, request_configuration: Optional[EducationCategoryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[EducationCategory] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class EducationCategoryItemRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class EducationCategoryItemRequestBuilderGetQueryParameters(): """ - Retrieve an educationCategory object. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Retrieve an educationCategory object. Only teachers, students, and applications with application permissions can perform this operation. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/assignment_defaults/assignment_defaults_request_builder.py b/msgraph_beta/generated/education/classes/item/assignment_defaults/assignment_defaults_request_builder.py index 31752e7f73f..0346a2d12df 100644 --- a/msgraph_beta/generated/education/classes/item/assignment_defaults/assignment_defaults_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignment_defaults/assignment_defaults_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[AssignmentDefaultsRequestB async def get(self,request_configuration: Optional[AssignmentDefaultsRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationAssignmentDefaults]: """ - Read the properties and relationships of an educationAssignmentDefaults object. These are the class-level assignment defaults respected by new assignments created in the class. Callers can continue to specify custom values on each assignment creation if they don't want the default behaviors. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Read the properties and relationships of an educationAssignmentDefaults object. These are the class-level assignment defaults respected by new assignments created in the class. Callers can continue to specify custom values on each assignment creation if they don't want the default behaviors. Only teachers can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignmentDefaults] Find more info here: https://learn.microsoft.com/graph/api/educationassignmentdefaults-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[AssignmentDefaultsRequestBuil async def patch(self,body: Optional[EducationAssignmentDefaults] = None, request_configuration: Optional[AssignmentDefaultsRequestBuilderPatchRequestConfiguration] = None) -> Optional[EducationAssignmentDefaults]: """ - Update the properties of an educationAssignmentDefaults object. Only teachers can update these settings. This API is available in the following national cloud deployments. + Update the properties of an educationAssignmentDefaults object. Only teachers can update these settings. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignmentDefaults] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Assignmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AssignmentDefaultsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an educationAssignmentDefaults object. These are the class-level assignment defaults respected by new assignments created in the class. Callers can continue to specify custom values on each assignment creation if they don't want the default behaviors. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Read the properties and relationships of an educationAssignmentDefaults object. These are the class-level assignment defaults respected by new assignments created in the class. Callers can continue to specify custom values on each assignment creation if they don't want the default behaviors. Only teachers can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationAssignmentDefaults] = None, request_configuration: Optional[AssignmentDefaultsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an educationAssignmentDefaults object. Only teachers can update these settings. This API is available in the following national cloud deployments. + Update the properties of an educationAssignmentDefaults object. Only teachers can update these settings. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[EducationAssignmentDefaults request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class AssignmentDefaultsRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class AssignmentDefaultsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an educationAssignmentDefaults object. These are the class-level assignment defaults respected by new assignments created in the class. Callers can continue to specify custom values on each assignment creation if they don't want the default behaviors. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Read the properties and relationships of an educationAssignmentDefaults object. These are the class-level assignment defaults respected by new assignments created in the class. Callers can continue to specify custom values on each assignment creation if they don't want the default behaviors. Only teachers can perform this operation. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/assignment_settings/assignment_settings_request_builder.py b/msgraph_beta/generated/education/classes/item/assignment_settings/assignment_settings_request_builder.py index f12b10059d9..0369245c92f 100644 --- a/msgraph_beta/generated/education/classes/item/assignment_settings/assignment_settings_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignment_settings/assignment_settings_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AssignmentSettingsRequestB async def get(self,request_configuration: Optional[AssignmentSettingsRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationAssignmentSettings]: """ - Read the properties and relationships of an educationAssignmentSettings object. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Read the properties and relationships of an educationAssignmentSettings object. Only teachers can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignmentSettings] Find more info here: https://learn.microsoft.com/graph/api/educationassignmentsettings-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AssignmentSettingsRequestBuil async def patch(self,body: Optional[EducationAssignmentSettings] = None, request_configuration: Optional[AssignmentSettingsRequestBuilderPatchRequestConfiguration] = None) -> Optional[EducationAssignmentSettings]: """ - Update the properties of an educationAssignmentSettings object. Only teachers can update these settings. This API is available in the following national cloud deployments. + Update the properties of an educationAssignmentSettings object. Only teachers can update these settings. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignmentSettings] @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Assignmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AssignmentSettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an educationAssignmentSettings object. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Read the properties and relationships of an educationAssignmentSettings object. Only teachers can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentSe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationAssignmentSettings] = None, request_configuration: Optional[AssignmentSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an educationAssignmentSettings object. Only teachers can update these settings. This API is available in the following national cloud deployments. + Update the properties of an educationAssignmentSettings object. Only teachers can update these settings. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[EducationAssignmentSettings request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class AssignmentSettingsRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class AssignmentSettingsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an educationAssignmentSettings object. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Read the properties and relationships of an educationAssignmentSettings object. Only teachers can perform this operation. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/assignment_settings/grading_categories/grading_categories_request_builder.py b/msgraph_beta/generated/education/classes/item/assignment_settings/grading_categories/grading_categories_request_builder.py index 4e47f180eba..04f76f8b315 100644 --- a/msgraph_beta/generated/education/classes/item/assignment_settings/grading_categories/grading_categories_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignment_settings/grading_categories/grading_categories_request_builder.py @@ -45,7 +45,7 @@ def by_education_grading_category_id(self,education_grading_category_id: str) -> async def get(self,request_configuration: Optional[GradingCategoriesRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationGradingCategoryCollectionResponse]: """ - Get a list of the educationGradingCategory objects and their properties. This API is available in the following national cloud deployments. + Get a list of the educationGradingCategory objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationGradingCategoryCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-list-gradingcategory?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[EducationGradingCategory] = None, request_con def to_get_request_information(self,request_configuration: Optional[GradingCategoriesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the educationGradingCategory objects and their properties. This API is available in the following national cloud deployments. + Get a list of the educationGradingCategory objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[GradingCateg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationGradingCategory] = None, request_configuration: Optional[GradingCategoriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[EducationGradingCategory] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class GradingCategoriesRequestBuilderGetQueryParameters(): """ - Get a list of the educationGradingCategory objects and their properties. This API is available in the following national cloud deployments. + Get a list of the educationGradingCategory objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/assignment_settings/grading_categories/item/education_grading_category_item_request_builder.py b/msgraph_beta/generated/education/classes/item/assignment_settings/grading_categories/item/education_grading_category_item_request_builder.py index 1ba92a986c2..fe01e6c4080 100644 --- a/msgraph_beta/generated/education/classes/item/assignment_settings/grading_categories/item/education_grading_category_item_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignment_settings/grading_categories/item/education_grading_category_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationGradingCategoryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationGradingCategory] = None, request_configuration: Optional[EducationGradingCategoryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[EducationGradingCategory] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/classes/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/assignments_request_builder.py index 6f8d3545799..494aca263a7 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/assignments_request_builder.py @@ -46,7 +46,7 @@ def by_education_assignment_id(self,education_assignment_id: str) -> EducationAs async def get(self,request_configuration: Optional[AssignmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationAssignmentCollectionResponse]: """ - Retrieve a list of assignment objects. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application executing with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. This API is available in the following national cloud deployments. + Retrieve a list of assignment objects. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application executing with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationclass-list-assignments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AssignmentsRequestBuilderGetR async def post(self,body: Optional[EducationAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationAssignment]: """ - Create a new assignment. Only teachers in a class can create an assignment. Assignments start in the Draft state, which means that students will not see the assignment until publication. This API is available in the following national cloud deployments. + Create a new assignment. Only teachers in a class can create an assignment. Assignments start in the Draft state, which means that students will not see the assignment until publication. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[EducationAssignment] = None, request_configur def to_get_request_information(self,request_configuration: Optional[AssignmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of assignment objects. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application executing with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. This API is available in the following national cloud deployments. + Retrieve a list of assignment objects. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application executing with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new assignment. Only teachers in a class can create an assignment. Assignments start in the Draft state, which means that students will not see the assignment until publication. This API is available in the following national cloud deployments. + Create a new assignment. Only teachers in a class can create an assignment. Assignments start in the Draft state, which means that students will not see the assignment until publication. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[EducationAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class AssignmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of assignment objects. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application executing with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. This API is available in the following national cloud deployments. + Retrieve a list of assignment objects. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application executing with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/assignments/delta/delta_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/delta/delta_request_builder.py index ec42c3db526..9b93d557dbf 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/delta/delta_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/activate/activate_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/activate/activate_request_builder.py index 2625c3b3c06..41fdc03235b 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/activate/activate_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/activate/activate_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ActivateRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationAssignment]: """ - Activate an inactive educationAssignment to signal that the assignment has further action items for teachers and students. This action can only be performed by a teacher on currently inactive assignments. This API is available in the following national cloud deployments. + Activate an inactive educationAssignment to signal that the assignment has further action items for teachers and students. This action can only be performed by a teacher on currently inactive assignments. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignment] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-activate?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[ActivateRequestBuilderPostRe def to_post_request_information(self,request_configuration: Optional[ActivateRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Activate an inactive educationAssignment to signal that the assignment has further action items for teachers and students. This action can only be performed by a teacher on currently inactive assignments. This API is available in the following national cloud deployments. + Activate an inactive educationAssignment to signal that the assignment has further action items for teachers and students. This action can only be performed by a teacher on currently inactive assignments. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[ActivateReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ActivateRequestBuilder: diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/categories/categories_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/categories/categories_request_builder.py index 8824163ee45..2ac64d9f7c6 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/categories/categories_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/categories/categories_request_builder.py @@ -34,7 +34,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_education_category_id(self,education_category_id: str) -> EducationCategoryItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.education.classes.item.assignments.item.categories.item collection - param education_category_id: Unique identifier of the item + param education_category_id: The unique identifier of educationCategory Returns: EducationCategoryItemRequestBuilder """ if not education_category_id: @@ -47,7 +47,7 @@ def by_education_category_id(self,education_category_id: str) -> EducationCatego async def get(self,request_configuration: Optional[CategoriesRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationCategoryCollectionResponse]: """ - List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationCategoryCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-list-categories?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def post(self,body: Optional[EducationCategory] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[CategoriesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. 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[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationCategory] = None, request_configuration: Optional[CategoriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[EducationCategory] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class CategoriesRequestBuilderGetQueryParameters(): """ - List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/categories/delta/delta_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/categories/delta/delta_request_builder.py index c533b0157c9..c57348ab15f 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/categories/delta/delta_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/categories/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/categories/item/ref/ref_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/categories/item/ref/ref_request_builder.py index 0c7dcba9b3f..76ae4b3d978 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/categories/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/categories/item/ref/ref_request_builder.py @@ -58,7 +58,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/categories/ref/ref_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/categories/ref/ref_request_builder.py index 6eb29004a80..786df0f3727 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/categories/ref/ref_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/categories/ref/ref_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-list-categories?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -121,7 +121,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderGetQueryParameters(): """ - List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/deactivate/deactivate_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/deactivate/deactivate_request_builder.py index 160f60ab712..33ef30a9398 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/deactivate/deactivate_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/deactivate/deactivate_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DeactivateRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationAssignment]: """ - Mark an assigned educationAssignment as inactive to signal that the assignment has no further action items for teachers and students. This action can only be performed by a teacher on assigned assignments. This API is available in the following national cloud deployments. + Mark an assigned educationAssignment as inactive to signal that the assignment has no further action items for teachers and students. This action can only be performed by a teacher on assigned assignments. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignment] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-deactivate?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[DeactivateRequestBuilderPost def to_post_request_information(self,request_configuration: Optional[DeactivateRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Mark an assigned educationAssignment as inactive to signal that the assignment has no further action items for teachers and students. This action can only be performed by a teacher on assigned assignments. This API is available in the following national cloud deployments. + Mark an assigned educationAssignment as inactive to signal that the assignment has no further action items for teachers and students. This action can only be performed by a teacher on assigned assignments. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[DeactivateR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeactivateRequestBuilder: diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/education_assignment_item_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/education_assignment_item_request_builder.py index 2c199f8cfe8..1b6082e1b0d 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/education_assignment_item_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/education_assignment_item_request_builder.py @@ -38,7 +38,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[EducationAssignmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an existing assignment. Only teachers within a class can delete assignments. This API is available in the following national cloud deployments. + Delete an existing assignment. Only teachers within a class can delete assignments. 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/educationassignment-delete?view=graph-rest-1.0 @@ -58,7 +58,7 @@ async def delete(self,request_configuration: Optional[EducationAssignmentItemReq async def get(self,request_configuration: Optional[EducationAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationAssignment]: """ - Get the properties and relationships of an assignment. Only teachers, students, and applications with application permissions can perform this operation. Students can only see assignments assigned to them; teachers and applications with application permissions can see all assignments in a class. You can use the Prefer header in your request to get the inactive status in case the assignment is deactivated; otherwise, you will get an unknownFutureValue value in the response. This API is available in the following national cloud deployments. + Get the properties and relationships of an assignment. Only teachers, students, and applications with application permissions can perform this operation. Students can only see assignments assigned to them; teachers and applications with application permissions can see all assignments in a class. You can use the Prefer header in your request to get the inactive status in case the assignment is deactivated; otherwise, you will get an unknownFutureValue value in the response. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignment] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-get?view=graph-rest-1.0 @@ -80,7 +80,7 @@ async def get(self,request_configuration: Optional[EducationAssignmentItemReques async def patch(self,body: Optional[EducationAssignment] = None, request_configuration: Optional[EducationAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[EducationAssignment]: """ - Update an educationAssignment object. Only teachers in the class can do this. You can't use a PATCH request to change the status of an assignment. Use the publish action to change the assignment status. This API is available in the following national cloud deployments. + Update an educationAssignment object. Only teachers in the class can do this. You can't use a PATCH request to change the status of an assignment. Use the publish action to change the assignment status. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignment] @@ -105,7 +105,7 @@ async def patch(self,body: Optional[EducationAssignment] = None, request_configu def to_delete_request_information(self,request_configuration: Optional[EducationAssignmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an existing assignment. Only teachers within a class can delete assignments. This API is available in the following national cloud deployments. + Delete an existing assignment. Only teachers within a class can delete assignments. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,12 +116,12 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of an assignment. Only teachers, students, and applications with application permissions can perform this operation. Students can only see assignments assigned to them; teachers and applications with application permissions can see all assignments in a class. You can use the Prefer header in your request to get the inactive status in case the assignment is deactivated; otherwise, you will get an unknownFutureValue value in the response. This API is available in the following national cloud deployments. + Get the properties and relationships of an assignment. Only teachers, students, and applications with application permissions can perform this operation. Students can only see assignments assigned to them; teachers and applications with application permissions can see all assignments in a class. You can use the Prefer header in your request to get the inactive status in case the assignment is deactivated; otherwise, you will get an unknownFutureValue value in the response. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -133,12 +133,12 @@ def to_get_request_information(self,request_configuration: Optional[EducationAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationAssignment] = None, request_configuration: Optional[EducationAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update an educationAssignment object. Only teachers in the class can do this. You can't use a PATCH request to change the status of an assignment. Use the publish action to change the assignment status. This API is available in the following national cloud deployments. + Update an educationAssignment object. Only teachers in the class can do this. You can't use a PATCH request to change the status of an assignment. Use the publish action to change the assignment status. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -152,7 +152,7 @@ def to_patch_request_information(self,body: Optional[EducationAssignment] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -269,7 +269,7 @@ class EducationAssignmentItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class EducationAssignmentItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of an assignment. Only teachers, students, and applications with application permissions can perform this operation. Students can only see assignments assigned to them; teachers and applications with application permissions can see all assignments in a class. You can use the Prefer header in your request to get the inactive status in case the assignment is deactivated; otherwise, you will get an unknownFutureValue value in the response. This API is available in the following national cloud deployments. + Get the properties and relationships of an assignment. Only teachers, students, and applications with application permissions can perform this operation. Students can only see assignments assigned to them; teachers and applications with application permissions can see all assignments in a class. You can use the Prefer header in your request to get the inactive status in case the assignment is deactivated; otherwise, you will get an unknownFutureValue value in the response. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/grading_category/grading_category_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/grading_category/grading_category_request_builder.py index 30cad03166c..cf6c227d5fa 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/grading_category/grading_category_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/grading_category/grading_category_request_builder.py @@ -80,7 +80,7 @@ def to_delete_request_information(self,request_configuration: Optional[GradingCa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GradingCategoryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -97,7 +97,7 @@ def to_get_request_information(self,request_configuration: Optional[GradingCateg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GradingCategoryRequestBuilder: diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/publish/publish_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/publish/publish_request_builder.py index 1d9009b32ae..fb1cb54bb92 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/publish/publish_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/publish/publish_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[PublishRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationAssignment]: """ - Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. When you call this API, educationSubmission objects are created and the assignment appears in the student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. To update the properties of a published assignment, see update an assignment. This API is available in the following national cloud deployments. + Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. When you call this API, educationSubmission objects are created and the assignment appears in the student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. To update the properties of a published assignment, see update an assignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignment] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-publish?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[PublishRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[PublishRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. When you call this API, educationSubmission objects are created and the assignment appears in the student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. To update the properties of a published assignment, see update an assignment. This API is available in the following national cloud deployments. + Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. When you call this API, educationSubmission objects are created and the assignment appears in the student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. To update the properties of a published assignment, see update an assignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[PublishRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PublishRequestBuilder: diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/resources/item/dependent_resources/dependent_resources_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/resources/item/dependent_resources/dependent_resources_request_builder.py index 855244d1037..5feb510b3ce 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/resources/item/dependent_resources/dependent_resources_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/resources/item/dependent_resources/dependent_resources_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DependentRes request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationAssignmentResource] = None, request_configuration: Optional[DependentResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[EducationAssignmentResource] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/resources/item/dependent_resources/item/education_assignment_resource_item_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/resources/item/dependent_resources/item/education_assignment_resource_item_request_builder.py index 0b7f08d305f..2087b6e847b 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/resources/item/dependent_resources/item/education_assignment_resource_item_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/resources/item/dependent_resources/item/education_assignment_resource_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationAssignmentResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationAssignmentResource] = None, request_configuration: Optional[EducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[EducationAssignmentResource request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/resources/item/education_assignment_resource_item_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/resources/item/education_assignment_resource_item_request_builder.py index 95c678877c4..475984b6f9b 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/resources/item/education_assignment_resource_item_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/resources/item/education_assignment_resource_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[EducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a specific educationAssignmentResource attached to an assignment. Only teachers in the class can remove a resource. After an assignment has been published to students, teachers can't remove resources that are marked as 'distributeToStudents'. This API is available in the following national cloud deployments. + Delete a specific educationAssignmentResource attached to an assignment. Only teachers in the class can remove a resource. After an assignment has been published to students, teachers can't remove resources that are marked as 'distributeToStudents'. 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/educationassignmentresource-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[EducationAssignmentResourc async def get(self,request_configuration: Optional[EducationAssignmentResourceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationAssignmentResource]: """ - Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignmentResource] Find more info here: https://learn.microsoft.com/graph/api/educationassignmentresource-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[EducationAssignmentResource] = None, request def to_delete_request_information(self,request_configuration: Optional[EducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a specific educationAssignmentResource attached to an assignment. Only teachers in the class can remove a resource. After an assignment has been published to students, teachers can't remove resources that are marked as 'distributeToStudents'. This API is available in the following national cloud deployments. + Delete a specific educationAssignmentResource attached to an assignment. Only teachers in the class can remove a resource. After an assignment has been published to students, teachers can't remove resources that are marked as 'distributeToStudents'. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationAssignmentResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationAssignmentResource] = None, request_configuration: Optional[EducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[EducationAssignmentResource request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class EducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration(Ba @dataclass class EducationAssignmentResourceItemRequestBuilderGetQueryParameters(): """ - Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/resources/resources_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/resources/resources_request_builder.py index d4f18630bcd..ea98150a650 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/resources/resources_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/resources/resources_request_builder.py @@ -45,7 +45,7 @@ def by_education_assignment_resource_id(self,education_assignment_resource_id: s async def get(self,request_configuration: Optional[ResourcesRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationAssignmentResourceCollectionResponse]: """ - Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignmentResourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-list-resources?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ResourcesRequestBuilderGetReq async def post(self,body: Optional[EducationAssignmentResource] = None, request_configuration: Optional[ResourcesRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationAssignmentResource]: """ - Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. This API is available in the following national cloud deployments. + Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignmentResource] @@ -92,7 +92,7 @@ async def post(self,body: Optional[EducationAssignmentResource] = None, request_ def to_get_request_information(self,request_configuration: Optional[ResourcesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ResourcesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationAssignmentResource] = None, request_configuration: Optional[ResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. This API is available in the following national cloud deployments. + Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[EducationAssignmentResource] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ResourcesRequestBuilderGetQueryParameters(): """ - Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/rubric/ref/ref_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/rubric/ref/ref_request_builder.py index 47c03ad3a92..e60b5ee4e97 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/rubric/ref/ref_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/rubric/ref/ref_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. This API is available in the following national cloud deployments. + Delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. 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/educationassignment-delete-rubric?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[str]: """ - Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[str] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-get-rubric?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def put(self,body: Optional[ReferenceUpdate] = None, request_configuration: Optional[RefRequestBuilderPutRequestConfiguration] = None) -> None: """ - Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -91,7 +91,7 @@ async def put(self,body: Optional[ReferenceUpdate] = None, request_configuration def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. This API is available in the following national cloud deployments. + Delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,12 +102,12 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -118,12 +118,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_put_request_information(self,body: Optional[ReferenceUpdate] = None, request_configuration: Optional[RefRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: """ - Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -137,7 +137,7 @@ def to_put_request_information(self,body: Optional[ReferenceUpdate] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/rubric/rubric_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/rubric/rubric_request_builder.py index f1890a36248..ae214e0b33b 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/rubric/rubric_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/rubric/rubric_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RubricRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. This API is available in the following national cloud deployments. + Delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. 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/educationassignment-delete-rubric?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RubricRequestBuilderDelete async def get(self,request_configuration: Optional[RubricRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationRubric]: """ - Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationRubric] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-get-rubric?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[RubricRequestBuilderGetReques async def patch(self,body: Optional[EducationRubric] = None, request_configuration: Optional[RubricRequestBuilderPatchRequestConfiguration] = None) -> Optional[EducationRubric]: """ - Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationRubric] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[EducationRubric] = None, request_configurati def to_delete_request_information(self,request_configuration: Optional[RubricRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. This API is available in the following national cloud deployments. + Delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[RubricReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RubricRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[RubricReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationRubric] = None, request_configuration: Optional[RubricRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[EducationRubric] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class RubricRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class RubricRequestBuilderGetQueryParameters(): """ - Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/set_up_feedback_resources_folder/set_up_feedback_resources_folder_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/set_up_feedback_resources_folder/set_up_feedback_resources_folder_request_builder.py index 940cf8a3e38..e7620700742 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/set_up_feedback_resources_folder/set_up_feedback_resources_folder_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/set_up_feedback_resources_folder/set_up_feedback_resources_folder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SetUpFeedbackResourcesFolderRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationAssignment]: """ - Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. This API is available in the following national cloud deployments. + Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignment] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-setupfeedbackresourcesfolder?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[SetUpFeedbackResourcesFolder def to_post_request_information(self,request_configuration: Optional[SetUpFeedbackResourcesFolderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. This API is available in the following national cloud deployments. + Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[SetUpFeedba request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetUpFeedbackResourcesFolderRequestBuilder: diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/set_up_resources_folder/set_up_resources_folder_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/set_up_resources_folder/set_up_resources_folder_request_builder.py index 3a634ac40bc..a75579d62a4 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/set_up_resources_folder/set_up_resources_folder_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/set_up_resources_folder/set_up_resources_folder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SetUpResourcesFolderRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationAssignment]: """ - Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. This API is available in the following national cloud deployments. + Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignment] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-setupresourcesfolder?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[SetUpResourcesFolderRequestB def to_post_request_information(self,request_configuration: Optional[SetUpResourcesFolderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. This API is available in the following national cloud deployments. + Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[SetUpResour request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetUpResourcesFolderRequestBuilder: diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/education_submission_item_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/education_submission_item_request_builder.py index f0cb6d4779c..1ff422ec4b5 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/education_submission_item_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/education_submission_item_request_builder.py @@ -12,6 +12,7 @@ if TYPE_CHECKING: from ........models.education_submission import EducationSubmission from ........models.o_data_errors.o_data_error import ODataError + from .excuse.excuse_request_builder import ExcuseRequestBuilder from .outcomes.outcomes_request_builder import OutcomesRequestBuilder from .reassign.reassign_request_builder import ReassignRequestBuilder from .resources.resources_request_builder import ResourcesRequestBuilder @@ -55,7 +56,7 @@ async def delete(self,request_configuration: Optional[EducationSubmissionItemReq async def get(self,request_configuration: Optional[EducationSubmissionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationSubmission]: """ - Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmission] Find more info here: https://learn.microsoft.com/graph/api/educationsubmission-get?view=graph-rest-1.0 @@ -112,12 +113,12 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationSubmissionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -129,7 +130,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationSub request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationSubmission] = None, request_configuration: Optional[EducationSubmissionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -148,7 +149,7 @@ def to_patch_request_information(self,body: Optional[EducationSubmission] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -162,6 +163,15 @@ def with_url(self,raw_url: Optional[str] = None) -> EducationSubmissionItemReque raise TypeError("raw_url cannot be null.") return EducationSubmissionItemRequestBuilder(self.request_adapter, raw_url) + @property + def excuse(self) -> ExcuseRequestBuilder: + """ + Provides operations to call the excuse method. + """ + from .excuse.excuse_request_builder import ExcuseRequestBuilder + + return ExcuseRequestBuilder(self.request_adapter, self.path_parameters) + @property def outcomes(self) -> OutcomesRequestBuilder: """ @@ -247,7 +257,7 @@ class EducationSubmissionItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class EducationSubmissionItemRequestBuilderGetQueryParameters(): """ - Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/excuse/excuse_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/excuse/excuse_request_builder.py new file mode 100644 index 00000000000..8e6cfb44812 --- /dev/null +++ b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/excuse/excuse_request_builder.py @@ -0,0 +1,87 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .........models.education_submission import EducationSubmission + from .........models.o_data_errors.o_data_error import ODataError + +class ExcuseRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the excuse method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ExcuseRequestBuilder 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}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/excuse", path_parameters) + + async def post(self,request_configuration: Optional[ExcuseRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationSubmission]: + """ + Excuse a submission. Excused submissions aren't included in average grade calculations. Grading rubrics and feedback are deleted. Only teachers can perform this action. If the Prefer: include-unknown-enum-members request header is provided, the excused submission retains the excused status. Otherwise, the submission status changes to returned. For more information about how to use this header, see the Examples section. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[EducationSubmission] + Find more info here: https://learn.microsoft.com/graph/api/educationsubmission-excuse?view=graph-rest-1.0 + """ + request_info = self.to_post_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.education_submission import EducationSubmission + + return await self.request_adapter.send_async(request_info, EducationSubmission, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[ExcuseRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Excuse a submission. Excused submissions aren't included in average grade calculations. Grading rubrics and feedback are deleted. Only teachers can perform this action. If the Prefer: include-unknown-enum-members request header is provided, the excused submission retains the excused status. Otherwise, the submission status changes to returned. For more information about how to use this header, see the Examples section. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> ExcuseRequestBuilder: + """ + 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: ExcuseRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ExcuseRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ExcuseRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/outcomes/item/education_outcome_item_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/outcomes/item/education_outcome_item_request_builder.py index e52dd761091..fe75442990f 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/outcomes/item/education_outcome_item_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/outcomes/item/education_outcome_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[EducationOutcomeItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a feedback resource from a submission. This can only be done by a teacher. This API is available in the following national cloud deployments. + Delete a feedback resource from a submission. This can only be done by a teacher. 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/educationfeedbackresourceoutcome-delete?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[EducationOutcomeItemRequestBu async def patch(self,body: Optional[EducationOutcome] = None, request_configuration: Optional[EducationOutcomeItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[EducationOutcome]: """ - Update the properties of an educationOutcome object. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Update the properties of an educationOutcome object. Only teachers can perform this operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationOutcome] @@ -94,7 +94,7 @@ async def patch(self,body: Optional[EducationOutcome] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[EducationOutcomeItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a feedback resource from a submission. This can only be done by a teacher. This API is available in the following national cloud deployments. + Delete a feedback resource from a submission. This can only be done by a teacher. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationOutcomeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[EducationOut request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationOutcome] = None, request_configuration: Optional[EducationOutcomeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an educationOutcome object. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Update the properties of an educationOutcome object. Only teachers can perform this operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[EducationOutcome] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/outcomes/outcomes_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/outcomes/outcomes_request_builder.py index ccb787a6b68..a4c4074cb13 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/outcomes/outcomes_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/outcomes/outcomes_request_builder.py @@ -45,7 +45,7 @@ def by_education_outcome_id(self,education_outcome_id: str) -> EducationOutcomeI async def get(self,request_configuration: Optional[OutcomesRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationOutcomeCollectionResponse]: """ - Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. This API is available in the following national cloud deployments. + Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationOutcomeCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationsubmission-list-outcomes?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[OutcomesRequestBuilderGetRequ async def post(self,body: Optional[EducationOutcome] = None, request_configuration: Optional[OutcomesRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationOutcome]: """ - Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or is not in that folder, the POST request will fail. This API is available in the following national cloud deployments. + Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or is not in that folder, the POST request will fail. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationOutcome] @@ -92,7 +92,7 @@ async def post(self,body: Optional[EducationOutcome] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[OutcomesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. This API is available in the following national cloud deployments. + Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[OutcomesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationOutcome] = None, request_configuration: Optional[OutcomesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or is not in that folder, the POST request will fail. This API is available in the following national cloud deployments. + Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or is not in that folder, the POST request will fail. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[EducationOutcome] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OutcomesRequestBuilderGetQueryParameters(): """ - Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. This API is available in the following national cloud deployments. + Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/reassign/reassign_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/reassign/reassign_request_builder.py index 1e7f7bcbdef..b9d3d6a5904 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/reassign/reassign_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/reassign/reassign_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ReassignRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationSubmission]: """ - Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmission] Find more info here: https://learn.microsoft.com/graph/api/educationsubmission-reassign?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[ReassignRequestBuilderPostRe def to_post_request_information(self,request_configuration: Optional[ReassignRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[ReassignReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReassignRequestBuilder: diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/resources/item/dependent_resources/dependent_resources_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/resources/item/dependent_resources/dependent_resources_request_builder.py index b62245de19f..9ac8d44a137 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/resources/item/dependent_resources/dependent_resources_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/resources/item/dependent_resources/dependent_resources_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DependentRes request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationSubmissionResource] = None, request_configuration: Optional[DependentResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[EducationSubmissionResource] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/resources/item/dependent_resources/item/education_submission_resource_item_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/resources/item/dependent_resources/item/education_submission_resource_item_request_builder.py index e91c0f56128..cbfc7ef348f 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/resources/item/dependent_resources/item/education_submission_resource_item_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/resources/item/dependent_resources/item/education_submission_resource_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationSub request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationSubmissionResource] = None, request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[EducationSubmissionResource request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/resources/item/education_submission_resource_item_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/resources/item/education_submission_resource_item_request_builder.py index 6f342e82f84..4a15c5061b2 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/resources/item/education_submission_resource_item_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/resources/item/education_submission_resource_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. This API is available in the following national cloud deployments. + Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. 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/educationsubmissionresource-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[EducationSubmissionResourc async def get(self,request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationSubmissionResource]: """ - Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. This API is available in the following national cloud deployments. + Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmissionResource] Find more info here: https://learn.microsoft.com/graph/api/educationsubmissionresource-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[EducationSubmissionResource] = None, request def to_delete_request_information(self,request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. This API is available in the following national cloud deployments. + Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. This API is available in the following national cloud deployments. + Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationSub request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationSubmissionResource] = None, request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[EducationSubmissionResource request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class EducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration(Ba @dataclass class EducationSubmissionResourceItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. This API is available in the following national cloud deployments. + Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/resources/resources_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/resources/resources_request_builder.py index a460e9155c4..b29c9cab36d 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/resources/resources_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/resources/resources_request_builder.py @@ -45,7 +45,7 @@ def by_education_submission_resource_id(self,education_submission_resource_id: s async def get(self,request_configuration: Optional[ResourcesRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationSubmissionResourceCollectionResponse]: """ - List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. This API is available in the following national cloud deployments. + List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmissionResourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationsubmission-list-resources?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ResourcesRequestBuilderGetReq async def post(self,body: Optional[EducationSubmissionResource] = None, request_configuration: Optional[ResourcesRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationSubmissionResource]: """ - Add a educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. This API is available in the following national cloud deployments. + Add a educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmissionResource] @@ -92,7 +92,7 @@ async def post(self,body: Optional[EducationSubmissionResource] = None, request_ def to_get_request_information(self,request_configuration: Optional[ResourcesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. This API is available in the following national cloud deployments. + List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ResourcesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationSubmissionResource] = None, request_configuration: Optional[ResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. This API is available in the following national cloud deployments. + Add a educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[EducationSubmissionResource] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ResourcesRequestBuilderGetQueryParameters(): """ - List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. This API is available in the following national cloud deployments. + List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/return_/return_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/return_/return_request_builder.py index bdfb4be6f50..9a927ccbd70 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/return_/return_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/return_/return_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ReturnRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationSubmission]: """ - Make the grade and feedback associated with this submission available to the student. This will change the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. This API is available in the following national cloud deployments. + Make the grade and feedback associated with this submission available to the student. This will change the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmission] Find more info here: https://learn.microsoft.com/graph/api/educationsubmission-return?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[ReturnRequestBuilderPostRequ def to_post_request_information(self,request_configuration: Optional[ReturnRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Make the grade and feedback associated with this submission available to the student. This will change the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. This API is available in the following national cloud deployments. + Make the grade and feedback associated with this submission available to the student. This will change the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[ReturnReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReturnRequestBuilder: diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/set_up_resources_folder/set_up_resources_folder_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/set_up_resources_folder/set_up_resources_folder_request_builder.py index 05c49a85bc1..6e63767302c 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/set_up_resources_folder/set_up_resources_folder_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/set_up_resources_folder/set_up_resources_folder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SetUpResourcesFolderRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationSubmission]: """ - Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. This API is available in the following national cloud deployments. + Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmission] Find more info here: https://learn.microsoft.com/graph/api/educationsubmission-setupresourcesfolder?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[SetUpResourcesFolderRequestB def to_post_request_information(self,request_configuration: Optional[SetUpResourcesFolderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. This API is available in the following national cloud deployments. + Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[SetUpResour request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetUpResourcesFolderRequestBuilder: diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/submit/submit_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/submit/submit_request_builder.py index d366b3af16e..0aa82bf497d 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/submit/submit_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/submit/submit_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SubmitRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationSubmission]: """ - Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. This API is available in the following national cloud deployments. + Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmission] Find more info here: https://learn.microsoft.com/graph/api/educationsubmission-submit?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[SubmitRequestBuilderPostRequ def to_post_request_information(self,request_configuration: Optional[SubmitRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. This API is available in the following national cloud deployments. + Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[SubmitReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SubmitRequestBuilder: diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/submitted_resources/item/dependent_resources/dependent_resources_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/submitted_resources/item/dependent_resources/dependent_resources_request_builder.py index d7ce44dfd80..cf7dc23b919 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/submitted_resources/item/dependent_resources/dependent_resources_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/submitted_resources/item/dependent_resources/dependent_resources_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DependentRes request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationSubmissionResource] = None, request_configuration: Optional[DependentResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[EducationSubmissionResource] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/submitted_resources/item/dependent_resources/item/education_submission_resource_item_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/submitted_resources/item/dependent_resources/item/education_submission_resource_item_request_builder.py index 03d9d7ec2a4..e9d487a1e60 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/submitted_resources/item/dependent_resources/item/education_submission_resource_item_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/submitted_resources/item/dependent_resources/item/education_submission_resource_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationSub request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationSubmissionResource] = None, request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[EducationSubmissionResource request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/submitted_resources/item/education_submission_resource_item_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/submitted_resources/item/education_submission_resource_item_request_builder.py index 70138c9a096..4b99604b679 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/submitted_resources/item/education_submission_resource_item_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/submitted_resources/item/education_submission_resource_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationSub request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationSubmissionResource] = None, request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[EducationSubmissionResource request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/submitted_resources/submitted_resources_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/submitted_resources/submitted_resources_request_builder.py index 7bfed1150ab..8fd68065e51 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/submitted_resources/submitted_resources_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/submitted_resources/submitted_resources_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SubmittedRes request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationSubmissionResource] = None, request_configuration: Optional[SubmittedResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[EducationSubmissionResource] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/unsubmit/unsubmit_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/unsubmit/unsubmit_request_builder.py index f36878d32a7..cc4d34aca19 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/unsubmit/unsubmit_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/item/unsubmit/unsubmit_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UnsubmitRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationSubmission]: """ - Indicate that a student wants to work on the submitted assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. This API is available in the following national cloud deployments. + Indicate that a student wants to work on the submitted assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmission] Find more info here: https://learn.microsoft.com/graph/api/educationsubmission-unsubmit?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[UnsubmitRequestBuilderPostRe def to_post_request_information(self,request_configuration: Optional[UnsubmitRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Indicate that a student wants to work on the submitted assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. This API is available in the following national cloud deployments. + Indicate that a student wants to work on the submitted assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[UnsubmitReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnsubmitRequestBuilder: diff --git a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/submissions_request_builder.py b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/submissions_request_builder.py index 3562489afd6..1b8809db5a4 100644 --- a/msgraph_beta/generated/education/classes/item/assignments/item/submissions/submissions_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/assignments/item/submissions/submissions_request_builder.py @@ -45,7 +45,7 @@ def by_education_submission_id(self,education_submission_id: str) -> EducationSu async def get(self,request_configuration: Optional[SubmissionsRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationSubmissionCollectionResponse]: """ - List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions, a student can only get submissions that they are associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions, a student can only get submissions that they're associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmissionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-list-submissions?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[EducationSubmission] = None, request_configur def to_get_request_information(self,request_configuration: Optional[SubmissionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions, a student can only get submissions that they are associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions, a student can only get submissions that they're associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SubmissionsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationSubmission] = None, request_configuration: Optional[SubmissionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[EducationSubmission] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SubmissionsRequestBuilderGetQueryParameters(): """ - List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions, a student can only get submissions that they are associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions, a student can only get submissions that they're associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/education_class_item_request_builder.py b/msgraph_beta/generated/education/classes/item/education_class_item_request_builder.py index d0cc3ac26a7..3e7ad5c1ff4 100644 --- a/msgraph_beta/generated/education/classes/item/education_class_item_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/education_class_item_request_builder.py @@ -37,7 +37,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[EducationClassItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an educationClass. Because a class is also a universal group, deleting a class deletes the group. This API is available in the following national cloud deployments. + Delete an educationClass. Because a class is also a universal group, deleting a class deletes the group. 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/educationclass-delete?view=graph-rest-1.0 @@ -57,7 +57,7 @@ async def delete(self,request_configuration: Optional[EducationClassItemRequestB async def get(self,request_configuration: Optional[EducationClassItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationClass]: """ - Retrieve a class from the system. A class is a universal group with a special property that indicates to the system that the group is a class. Group members represent the students; group admins represent the teachers in the class. If you're using the delegated token, the user will only see classes in which they are members. This API is available in the following national cloud deployments. + Retrieve a class from the system. A class is a universal group with a special property that indicates to the system that the group is a class. Group members represent the students; group admins represent the teachers in the class. If you're using the delegated token, the user will only see classes in which they are members. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationClass] Find more info here: https://learn.microsoft.com/graph/api/educationclass-get?view=graph-rest-1.0 @@ -79,7 +79,7 @@ async def get(self,request_configuration: Optional[EducationClassItemRequestBuil async def patch(self,body: Optional[EducationClass] = None, request_configuration: Optional[EducationClassItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[EducationClass]: """ - Update the properties of a class. This API is available in the following national cloud deployments. + Update the properties of a class. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationClass] @@ -104,7 +104,7 @@ async def patch(self,body: Optional[EducationClass] = None, request_configuratio def to_delete_request_information(self,request_configuration: Optional[EducationClassItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an educationClass. Because a class is also a universal group, deleting a class deletes the group. This API is available in the following national cloud deployments. + Delete an educationClass. Because a class is also a universal group, deleting a class deletes the group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -115,12 +115,12 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationClassItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a class from the system. A class is a universal group with a special property that indicates to the system that the group is a class. Group members represent the students; group admins represent the teachers in the class. If you're using the delegated token, the user will only see classes in which they are members. This API is available in the following national cloud deployments. + Retrieve a class from the system. A class is a universal group with a special property that indicates to the system that the group is a class. Group members represent the students; group admins represent the teachers in the class. If you're using the delegated token, the user will only see classes in which they are members. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -132,12 +132,12 @@ def to_get_request_information(self,request_configuration: Optional[EducationCla request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationClass] = None, request_configuration: Optional[EducationClassItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a class. This API is available in the following national cloud deployments. + Update the properties of a class. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -151,7 +151,7 @@ def to_patch_request_information(self,body: Optional[EducationClass] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -259,7 +259,7 @@ class EducationClassItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class EducationClassItemRequestBuilderGetQueryParameters(): """ - Retrieve a class from the system. A class is a universal group with a special property that indicates to the system that the group is a class. Group members represent the students; group admins represent the teachers in the class. If you're using the delegated token, the user will only see classes in which they are members. This API is available in the following national cloud deployments. + Retrieve a class from the system. A class is a universal group with a special property that indicates to the system that the group is a class. Group members represent the students; group admins represent the teachers in the class. If you're using the delegated token, the user will only see classes in which they are members. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/group/group_request_builder.py b/msgraph_beta/generated/education/classes/item/group/group_request_builder.py index 1e6478cdc70..23c003a1bfb 100644 --- a/msgraph_beta/generated/education/classes/item/group/group_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/group/group_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[GroupRequestBuilderGetRequestConfiguration] = None) -> Optional[Group]: """ - Retrieve the Microsoft 365 group that corresponds to this educationClass. This API is available in the following national cloud deployments. + Retrieve the Microsoft 365 group that corresponds to this educationClass. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] Find more info here: https://learn.microsoft.com/graph/api/educationclass-get-group?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[GroupRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[GroupRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the Microsoft 365 group that corresponds to this educationClass. This API is available in the following national cloud deployments. + Retrieve the Microsoft 365 group that corresponds to this educationClass. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GroupRequestBuilder: @@ -88,7 +88,7 @@ def service_provisioning_errors(self) -> ServiceProvisioningErrorsRequestBuilder @dataclass class GroupRequestBuilderGetQueryParameters(): """ - Retrieve the Microsoft 365 group that corresponds to this educationClass. This API is available in the following national cloud deployments. + Retrieve the Microsoft 365 group that corresponds to this educationClass. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/education/classes/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py index c6aafbe592e..a83cbf30ec7 100644 --- a/msgraph_beta/generated/education/classes/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/members/item/ref/ref_request_builder.py b/msgraph_beta/generated/education/classes/item/members/item/ref/ref_request_builder.py index 0f982953e36..fe76921feed 100644 --- a/msgraph_beta/generated/education/classes/item/members/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/members/item/ref/ref_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove an educationUser from an educationClass. This API is available in the following national cloud deployments. + Remove an educationUser from an educationClass. 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/educationclass-delete-members?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove an educationUser from an educationClass. This API is available in the following national cloud deployments. + Remove an educationUser from an educationClass. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Remove an educationUser from an educationClass. This API is available in the following national cloud deployments. + Remove an educationUser from an educationClass. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/members/members_request_builder.py b/msgraph_beta/generated/education/classes/item/members/members_request_builder.py index 76233bef7e6..273fb85d7de 100644 --- a/msgraph_beta/generated/education/classes/item/members/members_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/members/members_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_education_user_id(self,education_user_id: str) -> EducationUserItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.education.classes.item.members.item collection - param education_user_id: Unique identifier of the item + param education_user_id: The unique identifier of educationUser Returns: EducationUserItemRequestBuilder """ if not education_user_id: @@ -45,7 +45,7 @@ def by_education_user_id(self,education_user_id: str) -> EducationUserItemReques async def get(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationUserCollectionResponse]: """ - Retrieve the teachers and students for a class. Note that if the delegated token is used, members can only be seen by other members of the class. This API is available in the following national cloud deployments. + Retrieve the teachers and students for a class. Note that if the delegated token is used, members can only be seen by other members of the class. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationUserCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationclass-list-members?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[MembersRequestBuilderGetReque def to_get_request_information(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the teachers and students for a class. Note that if the delegated token is used, members can only be seen by other members of the class. This API is available in the following national cloud deployments. + Retrieve the teachers and students for a class. Note that if the delegated token is used, members can only be seen by other members of the class. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MembersRequestBuilder: @@ -113,7 +113,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class MembersRequestBuilderGetQueryParameters(): """ - Retrieve the teachers and students for a class. Note that if the delegated token is used, members can only be seen by other members of the class. This API is available in the following national cloud deployments. + Retrieve the teachers and students for a class. Note that if the delegated token is used, members can only be seen by other members of the class. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/members/ref/ref_request_builder.py b/msgraph_beta/generated/education/classes/item/members/ref/ref_request_builder.py index a1b8e829c79..2e3e5077717 100644 --- a/msgraph_beta/generated/education/classes/item/members/ref/ref_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/members/ref/ref_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - Retrieve the teachers and students for a class. Note that if the delegated token is used, members can only be seen by other members of the class. This API is available in the following national cloud deployments. + Retrieve the teachers and students for a class. Note that if the delegated token is used, members can only be seen by other members of the class. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationclass-list-members?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add an educationUser member to an educationClass. This API is available in the following national cloud deployments. + Add an educationUser member to an educationClass. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -74,7 +74,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the teachers and students for a class. Note that if the delegated token is used, members can only be seen by other members of the class. This API is available in the following national cloud deployments. + Retrieve the teachers and students for a class. Note that if the delegated token is used, members can only be seen by other members of the class. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add an educationUser member to an educationClass. This API is available in the following national cloud deployments. + Add an educationUser member to an educationClass. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -122,7 +122,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderGetQueryParameters(): """ - Retrieve the teachers and students for a class. Note that if the delegated token is used, members can only be seen by other members of the class. This API is available in the following national cloud deployments. + Retrieve the teachers and students for a class. Note that if the delegated token is used, members can only be seen by other members of the class. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/modules/item/education_module_item_request_builder.py b/msgraph_beta/generated/education/classes/item/modules/item/education_module_item_request_builder.py index f01b526ba21..ea821105ba4 100644 --- a/msgraph_beta/generated/education/classes/item/modules/item/education_module_item_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/modules/item/education_module_item_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[EducationModuleItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an existing module in a class. Only teachers within a class can delete modules. This API is available in the following national cloud deployments. + Delete an existing module in a class. Only teachers within a class can delete modules. 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/educationmodule-delete?view=graph-rest-1.0 @@ -53,7 +53,7 @@ async def delete(self,request_configuration: Optional[EducationModuleItemRequest async def get(self,request_configuration: Optional[EducationModuleItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationModule]: """ - Get the properties and relationships of a module. Only teachers, students, and applications with application permissions can perform this operation. Students can only see published modules; teachers and applications with application permissions can see all modules in a class. This API is available in the following national cloud deployments. + Get the properties and relationships of a module. Only teachers, students, and applications with application permissions can perform this operation. Students can only see published modules; teachers and applications with application permissions can see all modules in a class. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationModule] Find more info here: https://learn.microsoft.com/graph/api/educationmodule-get?view=graph-rest-1.0 @@ -75,7 +75,7 @@ async def get(self,request_configuration: Optional[EducationModuleItemRequestBui async def patch(self,body: Optional[EducationModule] = None, request_configuration: Optional[EducationModuleItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[EducationModule]: """ - Update an educationModule object in a class. Only teachers in the class can perform this operation. Note that you can't use a PATCH request to change the status of a module. Use the publish action to change the module status. This API is available in the following national cloud deployments. + Update an educationModule object in a class. Only teachers in the class can perform this operation. Note that you can't use a PATCH request to change the status of a module. Use the publish action to change the module status. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationModule] @@ -100,7 +100,7 @@ async def patch(self,body: Optional[EducationModule] = None, request_configurati def to_delete_request_information(self,request_configuration: Optional[EducationModuleItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an existing module in a class. Only teachers within a class can delete modules. This API is available in the following national cloud deployments. + Delete an existing module in a class. Only teachers within a class can delete modules. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -111,12 +111,12 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationModuleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a module. Only teachers, students, and applications with application permissions can perform this operation. Students can only see published modules; teachers and applications with application permissions can see all modules in a class. This API is available in the following national cloud deployments. + Get the properties and relationships of a module. Only teachers, students, and applications with application permissions can perform this operation. Students can only see published modules; teachers and applications with application permissions can see all modules in a class. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -128,12 +128,12 @@ def to_get_request_information(self,request_configuration: Optional[EducationMod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationModule] = None, request_configuration: Optional[EducationModuleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update an educationModule object in a class. Only teachers in the class can perform this operation. Note that you can't use a PATCH request to change the status of a module. Use the publish action to change the module status. This API is available in the following national cloud deployments. + Update an educationModule object in a class. Only teachers in the class can perform this operation. Note that you can't use a PATCH request to change the status of a module. Use the publish action to change the module status. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[EducationModule] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -219,7 +219,7 @@ class EducationModuleItemRequestBuilderDeleteRequestConfiguration(BaseRequestCon @dataclass class EducationModuleItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a module. Only teachers, students, and applications with application permissions can perform this operation. Students can only see published modules; teachers and applications with application permissions can see all modules in a class. This API is available in the following national cloud deployments. + Get the properties and relationships of a module. Only teachers, students, and applications with application permissions can perform this operation. Students can only see published modules; teachers and applications with application permissions can see all modules in a class. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/modules/item/pin/pin_request_builder.py b/msgraph_beta/generated/education/classes/item/modules/item/pin/pin_request_builder.py index b89dd23ace9..16bbd39a5f9 100644 --- a/msgraph_beta/generated/education/classes/item/modules/item/pin/pin_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/modules/item/pin/pin_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[PinRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationModule]: """ - Pin an educationModule in the class work list. This action sets the isPinned property to true for an educationModule. Only teachers can perform this action and only one module at a time can be pinned in the class work list. This API is available in the following national cloud deployments. + Pin an educationModule in the class work list. This action sets the isPinned property to true for an educationModule. Only teachers can perform this action and only one module at a time can be pinned in the class work list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationModule] Find more info here: https://learn.microsoft.com/graph/api/educationmodule-pin?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[PinRequestBuilderPostRequest def to_post_request_information(self,request_configuration: Optional[PinRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Pin an educationModule in the class work list. This action sets the isPinned property to true for an educationModule. Only teachers can perform this action and only one module at a time can be pinned in the class work list. This API is available in the following national cloud deployments. + Pin an educationModule in the class work list. This action sets the isPinned property to true for an educationModule. Only teachers can perform this action and only one module at a time can be pinned in the class work list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[PinRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PinRequestBuilder: diff --git a/msgraph_beta/generated/education/classes/item/modules/item/publish/publish_request_builder.py b/msgraph_beta/generated/education/classes/item/modules/item/publish/publish_request_builder.py index 9288c64c5ca..083577dbfe8 100644 --- a/msgraph_beta/generated/education/classes/item/modules/item/publish/publish_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/modules/item/publish/publish_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[PublishRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationModule]: """ - Change the state of an educationModule from its original draft status to the published status. Only teachers in the class can perform this operation. When a module is in draft status, students won't see the module. When you call this API, the module appears in the student's class work list. This API is available in the following national cloud deployments. + Change the state of an educationModule from its original draft status to the published status. Only teachers in the class can perform this operation. When a module is in draft status, students won't see the module. When you call this API, the module appears in the student's class work list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationModule] Find more info here: https://learn.microsoft.com/graph/api/educationmodule-publish?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[PublishRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[PublishRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Change the state of an educationModule from its original draft status to the published status. Only teachers in the class can perform this operation. When a module is in draft status, students won't see the module. When you call this API, the module appears in the student's class work list. This API is available in the following national cloud deployments. + Change the state of an educationModule from its original draft status to the published status. Only teachers in the class can perform this operation. When a module is in draft status, students won't see the module. When you call this API, the module appears in the student's class work list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[PublishRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PublishRequestBuilder: diff --git a/msgraph_beta/generated/education/classes/item/modules/item/resources/item/education_module_resource_item_request_builder.py b/msgraph_beta/generated/education/classes/item/modules/item/resources/item/education_module_resource_item_request_builder.py index b14eda2c113..f8eaf5dbda3 100644 --- a/msgraph_beta/generated/education/classes/item/modules/item/resources/item/education_module_resource_item_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/modules/item/resources/item/education_module_resource_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[EducationModuleResourceItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a specific educationModuleResource attached to a module. Only teachers in the class can remove a resource. This API is available in the following national cloud deployments. + Delete a specific educationModuleResource attached to a module. Only teachers in the class can remove a resource. 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/educationmoduleresource-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[EducationModuleResourceIte async def get(self,request_configuration: Optional[EducationModuleResourceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationModuleResource]: """ - Get the properties of a resource associated with a module. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get the properties of a resource associated with a module. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationModuleResource] Find more info here: https://learn.microsoft.com/graph/api/educationmoduleresource-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[EducationModuleResourceItemRe async def patch(self,body: Optional[EducationModuleResource] = None, request_configuration: Optional[EducationModuleResourceItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[EducationModuleResource]: """ - Update a resource in a module. Only teachers can perform this operation. The only one property that can be updated is displayName, for all resource types. This API is available in the following national cloud deployments. + Update a resource in a module. Only teachers can perform this operation. The only one property that can be updated is displayName, for all resource types. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationModuleResource] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[EducationModuleResource] = None, request_con def to_delete_request_information(self,request_configuration: Optional[EducationModuleResourceItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a specific educationModuleResource attached to a module. Only teachers in the class can remove a resource. This API is available in the following national cloud deployments. + Delete a specific educationModuleResource attached to a module. Only teachers in the class can remove a resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationModuleResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties of a resource associated with a module. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get the properties of a resource associated with a module. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[EducationMod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationModuleResource] = None, request_configuration: Optional[EducationModuleResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update a resource in a module. Only teachers can perform this operation. The only one property that can be updated is displayName, for all resource types. This API is available in the following national cloud deployments. + Update a resource in a module. Only teachers can perform this operation. The only one property that can be updated is displayName, for all resource types. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[EducationModuleResource] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class EducationModuleResourceItemRequestBuilderDeleteRequestConfiguration(BaseRe @dataclass class EducationModuleResourceItemRequestBuilderGetQueryParameters(): """ - Get the properties of a resource associated with a module. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get the properties of a resource associated with a module. Only teachers, students, and applications with application permissions can perform this operation. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/modules/item/resources/resources_request_builder.py b/msgraph_beta/generated/education/classes/item/modules/item/resources/resources_request_builder.py index 2f2c590900f..2390f934320 100644 --- a/msgraph_beta/generated/education/classes/item/modules/item/resources/resources_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/modules/item/resources/resources_request_builder.py @@ -45,7 +45,7 @@ def by_education_module_resource_id(self,education_module_resource_id: str) -> E async def get(self,request_configuration: Optional[ResourcesRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationModuleResourceCollectionResponse]: """ - Get all the educationModuleResource objects associated with a module. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get all the educationModuleResource objects associated with a module. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationModuleResourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationmodule-list-resources?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ResourcesRequestBuilderGetReq async def post(self,body: Optional[EducationModuleResource] = None, request_configuration: Optional[ResourcesRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationModuleResource]: """ - Create a resource in a module. Only teachers can perform this operation. You can create the following types of module resources: Every resource has an @odata.type property to indicate which type of resource is being created. This API is available in the following national cloud deployments. + Create a resource in a module. Only teachers can perform this operation. You can create the following types of module resources: Every resource has an @odata.type property to indicate which type of resource is being created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationModuleResource] @@ -92,7 +92,7 @@ async def post(self,body: Optional[EducationModuleResource] = None, request_conf def to_get_request_information(self,request_configuration: Optional[ResourcesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get all the educationModuleResource objects associated with a module. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get all the educationModuleResource objects associated with a module. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ResourcesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationModuleResource] = None, request_configuration: Optional[ResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a resource in a module. Only teachers can perform this operation. You can create the following types of module resources: Every resource has an @odata.type property to indicate which type of resource is being created. This API is available in the following national cloud deployments. + Create a resource in a module. Only teachers can perform this operation. You can create the following types of module resources: Every resource has an @odata.type property to indicate which type of resource is being created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[EducationModuleResource] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ResourcesRequestBuilderGetQueryParameters(): """ - Get all the educationModuleResource objects associated with a module. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get all the educationModuleResource objects associated with a module. Only teachers, students, and applications with application permissions can perform this operation. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/modules/item/set_up_resources_folder/set_up_resources_folder_request_builder.py b/msgraph_beta/generated/education/classes/item/modules/item/set_up_resources_folder/set_up_resources_folder_request_builder.py index cab02028974..f495c4da435 100644 --- a/msgraph_beta/generated/education/classes/item/modules/item/set_up_resources_folder/set_up_resources_folder_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/modules/item/set_up_resources_folder/set_up_resources_folder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SetUpResourcesFolderRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationModule]: """ - Create a SharePoint folder to upload files for a given educationModule. Only teachers can perform this operation. The teacher determines what resources to upload to the SharePoint folder for the module. This API is available in the following national cloud deployments. + Create a SharePoint folder to upload files for a given educationModule. Only teachers can perform this operation. The teacher determines what resources to upload to the SharePoint folder for the module. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationModule] Find more info here: https://learn.microsoft.com/graph/api/educationmodule-setupresourcesfolder?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[SetUpResourcesFolderRequestB def to_post_request_information(self,request_configuration: Optional[SetUpResourcesFolderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a SharePoint folder to upload files for a given educationModule. Only teachers can perform this operation. The teacher determines what resources to upload to the SharePoint folder for the module. This API is available in the following national cloud deployments. + Create a SharePoint folder to upload files for a given educationModule. Only teachers can perform this operation. The teacher determines what resources to upload to the SharePoint folder for the module. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[SetUpResour request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetUpResourcesFolderRequestBuilder: diff --git a/msgraph_beta/generated/education/classes/item/modules/item/unpin/unpin_request_builder.py b/msgraph_beta/generated/education/classes/item/modules/item/unpin/unpin_request_builder.py index 7345f4de74e..8efce2bca47 100644 --- a/msgraph_beta/generated/education/classes/item/modules/item/unpin/unpin_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/modules/item/unpin/unpin_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UnpinRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationModule]: """ - Unpin an educationModule in the classwork list. This action sets the isPinned property to false for an educationModule. Only teachers in the class can perform this operation. This API is available in the following national cloud deployments. + Unpin an educationModule in the classwork list. This action sets the isPinned property to false for an educationModule. Only teachers in the class can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationModule] Find more info here: https://learn.microsoft.com/graph/api/educationmodule-unpin?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[UnpinRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[UnpinRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Unpin an educationModule in the classwork list. This action sets the isPinned property to false for an educationModule. Only teachers in the class can perform this operation. This API is available in the following national cloud deployments. + Unpin an educationModule in the classwork list. This action sets the isPinned property to false for an educationModule. Only teachers in the class can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[UnpinReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnpinRequestBuilder: diff --git a/msgraph_beta/generated/education/classes/item/modules/modules_request_builder.py b/msgraph_beta/generated/education/classes/item/modules/modules_request_builder.py index 93e3bab14d8..794066bc92e 100644 --- a/msgraph_beta/generated/education/classes/item/modules/modules_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/modules/modules_request_builder.py @@ -45,7 +45,7 @@ def by_education_module_id(self,education_module_id: str) -> EducationModuleItem async def get(self,request_configuration: Optional[ModulesRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationModuleCollectionResponse]: """ - Retrieve a list of module objects. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can see all module objects for the class. Students can only see published modules. This API is available in the following national cloud deployments. + Retrieve a list of module objects. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can see all module objects for the class. Students can only see published modules. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationModuleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationclass-list-modules?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ModulesRequestBuilderGetReque async def post(self,body: Optional[EducationModule] = None, request_configuration: Optional[ModulesRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationModule]: """ - Create a new module in a class. Only teachers in a class can create a module. Modules start in the draft state, which means that students won't see the modules until publication. This API is available in the following national cloud deployments. + Create a new module in a class. Only teachers in a class can create a module. Modules start in the draft state, which means that students won't see the modules until publication. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationModule] @@ -92,7 +92,7 @@ async def post(self,body: Optional[EducationModule] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[ModulesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of module objects. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can see all module objects for the class. Students can only see published modules. This API is available in the following national cloud deployments. + Retrieve a list of module objects. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can see all module objects for the class. Students can only see published modules. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ModulesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationModule] = None, request_configuration: Optional[ModulesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new module in a class. Only teachers in a class can create a module. Modules start in the draft state, which means that students won't see the modules until publication. This API is available in the following national cloud deployments. + Create a new module in a class. Only teachers in a class can create a module. Modules start in the draft state, which means that students won't see the modules until publication. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[EducationModule] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ModulesRequestBuilderGetQueryParameters(): """ - Retrieve a list of module objects. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can see all module objects for the class. Students can only see published modules. This API is available in the following national cloud deployments. + Retrieve a list of module objects. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can see all module objects for the class. Students can only see published modules. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/schools/item/education_school_item_request_builder.py b/msgraph_beta/generated/education/classes/item/schools/item/education_school_item_request_builder.py index f61b18886a6..3e9b82eb1f7 100644 --- a/msgraph_beta/generated/education/classes/item/schools/item/education_school_item_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/schools/item/education_school_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationSch request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EducationSchoolItemRequestBuilder: diff --git a/msgraph_beta/generated/education/classes/item/schools/schools_request_builder.py b/msgraph_beta/generated/education/classes/item/schools/schools_request_builder.py index e23d478413a..2fa3ae3f48e 100644 --- a/msgraph_beta/generated/education/classes/item/schools/schools_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/schools/schools_request_builder.py @@ -44,7 +44,7 @@ def by_education_school_id(self,education_school_id: str) -> EducationSchoolItem async def get(self,request_configuration: Optional[SchoolsRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationSchoolCollectionResponse]: """ - Retrieve a list of schools in which the class is taught. This API is available in the following national cloud deployments. + Retrieve a list of schools in which the class is taught. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSchoolCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationclass-list-schools?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[SchoolsRequestBuilderGetReque def to_get_request_information(self,request_configuration: Optional[SchoolsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of schools in which the class is taught. This API is available in the following national cloud deployments. + Retrieve a list of schools in which the class is taught. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[SchoolsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SchoolsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SchoolsRequestBuilderGetQueryParameters(): """ - Retrieve a list of schools in which the class is taught. This API is available in the following national cloud deployments. + Retrieve a list of schools in which the class is taught. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/teachers/item/ref/ref_request_builder.py b/msgraph_beta/generated/education/classes/item/teachers/item/ref/ref_request_builder.py index 6b8b0598b03..ad88c501edc 100644 --- a/msgraph_beta/generated/education/classes/item/teachers/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/teachers/item/ref/ref_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a teacher from an educationClass. This API is available in the following national cloud deployments. + Remove a teacher from an educationClass. 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/educationclass-delete-teachers?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a teacher from an educationClass. This API is available in the following national cloud deployments. + Remove a teacher from an educationClass. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Remove a teacher from an educationClass. This API is available in the following national cloud deployments. + Remove a teacher from an educationClass. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/teachers/ref/ref_request_builder.py b/msgraph_beta/generated/education/classes/item/teachers/ref/ref_request_builder.py index 59a549fa76f..00b48489838 100644 --- a/msgraph_beta/generated/education/classes/item/teachers/ref/ref_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/teachers/ref/ref_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - Retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. This API is available in the following national cloud deployments. + Retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationclass-list-teachers?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add a teacher to a class. This API is available in the following national cloud deployments. + Add a teacher to a class. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -74,7 +74,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. This API is available in the following national cloud deployments. + Retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a teacher to a class. This API is available in the following national cloud deployments. + Add a teacher to a class. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -122,7 +122,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderGetQueryParameters(): """ - Retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. This API is available in the following national cloud deployments. + Retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/classes/item/teachers/teachers_request_builder.py b/msgraph_beta/generated/education/classes/item/teachers/teachers_request_builder.py index 8a03f9a398a..86b23bb7fc5 100644 --- a/msgraph_beta/generated/education/classes/item/teachers/teachers_request_builder.py +++ b/msgraph_beta/generated/education/classes/item/teachers/teachers_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_education_user_id(self,education_user_id: str) -> EducationUserItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.education.classes.item.teachers.item collection - param education_user_id: Unique identifier of the item + param education_user_id: The unique identifier of educationUser Returns: EducationUserItemRequestBuilder """ if not education_user_id: @@ -45,7 +45,7 @@ def by_education_user_id(self,education_user_id: str) -> EducationUserItemReques async def get(self,request_configuration: Optional[TeachersRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationUserCollectionResponse]: """ - Retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. This API is available in the following national cloud deployments. + Retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationUserCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationclass-list-teachers?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TeachersRequestBuilderGetRequ def to_get_request_information(self,request_configuration: Optional[TeachersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. This API is available in the following national cloud deployments. + Retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[TeachersRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeachersRequestBuilder: @@ -113,7 +113,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class TeachersRequestBuilderGetQueryParameters(): """ - Retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. This API is available in the following national cloud deployments. + Retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/education_request_builder.py b/msgraph_beta/generated/education/education_request_builder.py index 68a86bd1753..1df23d3362e 100644 --- a/msgraph_beta/generated/education/education_request_builder.py +++ b/msgraph_beta/generated/education/education_request_builder.py @@ -90,7 +90,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationRoot] = None, request_configuration: Optional[EducationRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -109,7 +109,7 @@ def to_patch_request_information(self,body: Optional[EducationRoot] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/me/assignments/assignments_request_builder.py b/msgraph_beta/generated/education/me/assignments/assignments_request_builder.py index 7fe10247a21..cb31b2658a0 100644 --- a/msgraph_beta/generated/education/me/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/assignments_request_builder.py @@ -46,7 +46,7 @@ def by_education_assignment_id(self,education_assignment_id: str) -> EducationAs async def get(self,request_configuration: Optional[AssignmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationAssignmentCollectionResponse]: """ - Returns a list of assignments assigned to a user for all classes. Only teachers, students, and applications with application permissions can perform this operation. This utility namespace allows a caller to find all the assignments belonging to a student or a teacher in a single call rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. All other operations on the assignment should use the class namespace. This API is available in the following national cloud deployments. + Returns a list of assignments assigned to a user for all classes. Only teachers, students, and applications with application permissions can perform this operation. This utility namespace allows a caller to find all the assignments belonging to a student or a teacher in a single call rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. All other operations on the assignment should use the class namespace. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationuser-list-assignments?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[EducationAssignment] = None, request_configur def to_get_request_information(self,request_configuration: Optional[AssignmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Returns a list of assignments assigned to a user for all classes. Only teachers, students, and applications with application permissions can perform this operation. This utility namespace allows a caller to find all the assignments belonging to a student or a teacher in a single call rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. All other operations on the assignment should use the class namespace. This API is available in the following national cloud deployments. + Returns a list of assignments assigned to a user for all classes. Only teachers, students, and applications with application permissions can perform this operation. This utility namespace allows a caller to find all the assignments belonging to a student or a teacher in a single call rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. All other operations on the assignment should use the class namespace. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[EducationAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class AssignmentsRequestBuilderGetQueryParameters(): """ - Returns a list of assignments assigned to a user for all classes. Only teachers, students, and applications with application permissions can perform this operation. This utility namespace allows a caller to find all the assignments belonging to a student or a teacher in a single call rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. All other operations on the assignment should use the class namespace. This API is available in the following national cloud deployments. + Returns a list of assignments assigned to a user for all classes. Only teachers, students, and applications with application permissions can perform this operation. This utility namespace allows a caller to find all the assignments belonging to a student or a teacher in a single call rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. All other operations on the assignment should use the class namespace. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/me/assignments/delta/delta_request_builder.py b/msgraph_beta/generated/education/me/assignments/delta/delta_request_builder.py index 52f60facf91..790d89d3720 100644 --- a/msgraph_beta/generated/education/me/assignments/delta/delta_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/education/me/assignments/item/activate/activate_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/activate/activate_request_builder.py index fa9706bb035..df7ddbb23d3 100644 --- a/msgraph_beta/generated/education/me/assignments/item/activate/activate_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/activate/activate_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ActivateRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationAssignment]: """ - Activate an inactive educationAssignment to signal that the assignment has further action items for teachers and students. This action can only be performed by a teacher on currently inactive assignments. This API is available in the following national cloud deployments. + Activate an inactive educationAssignment to signal that the assignment has further action items for teachers and students. This action can only be performed by a teacher on currently inactive assignments. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignment] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-activate?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[ActivateRequestBuilderPostRe def to_post_request_information(self,request_configuration: Optional[ActivateRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Activate an inactive educationAssignment to signal that the assignment has further action items for teachers and students. This action can only be performed by a teacher on currently inactive assignments. This API is available in the following national cloud deployments. + Activate an inactive educationAssignment to signal that the assignment has further action items for teachers and students. This action can only be performed by a teacher on currently inactive assignments. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[ActivateReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ActivateRequestBuilder: diff --git a/msgraph_beta/generated/education/me/assignments/item/categories/categories_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/categories/categories_request_builder.py index 75ea8ee0ef9..bc5d1a844d4 100644 --- a/msgraph_beta/generated/education/me/assignments/item/categories/categories_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/categories/categories_request_builder.py @@ -34,7 +34,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_education_category_id(self,education_category_id: str) -> EducationCategoryItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.education.me.assignments.item.categories.item collection - param education_category_id: Unique identifier of the item + param education_category_id: The unique identifier of educationCategory Returns: EducationCategoryItemRequestBuilder """ if not education_category_id: @@ -47,7 +47,7 @@ def by_education_category_id(self,education_category_id: str) -> EducationCatego async def get(self,request_configuration: Optional[CategoriesRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationCategoryCollectionResponse]: """ - List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationCategoryCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-list-categories?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def post(self,body: Optional[EducationCategory] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[CategoriesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. 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[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationCategory] = None, request_configuration: Optional[CategoriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[EducationCategory] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class CategoriesRequestBuilderGetQueryParameters(): """ - List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/me/assignments/item/categories/delta/delta_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/categories/delta/delta_request_builder.py index 4c48064caf2..e80f93096bf 100644 --- a/msgraph_beta/generated/education/me/assignments/item/categories/delta/delta_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/categories/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/education/me/assignments/item/categories/item/ref/ref_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/categories/item/ref/ref_request_builder.py index 68b6d003a2a..3760fb7625b 100644 --- a/msgraph_beta/generated/education/me/assignments/item/categories/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/categories/item/ref/ref_request_builder.py @@ -58,7 +58,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: diff --git a/msgraph_beta/generated/education/me/assignments/item/categories/ref/ref_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/categories/ref/ref_request_builder.py index 202c9d22f7e..69b59b2d970 100644 --- a/msgraph_beta/generated/education/me/assignments/item/categories/ref/ref_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/categories/ref/ref_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-list-categories?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -121,7 +121,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderGetQueryParameters(): """ - List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/me/assignments/item/deactivate/deactivate_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/deactivate/deactivate_request_builder.py index bb6b9e63f4a..6a05780232b 100644 --- a/msgraph_beta/generated/education/me/assignments/item/deactivate/deactivate_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/deactivate/deactivate_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DeactivateRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationAssignment]: """ - Mark an assigned educationAssignment as inactive to signal that the assignment has no further action items for teachers and students. This action can only be performed by a teacher on assigned assignments. This API is available in the following national cloud deployments. + Mark an assigned educationAssignment as inactive to signal that the assignment has no further action items for teachers and students. This action can only be performed by a teacher on assigned assignments. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignment] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-deactivate?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[DeactivateRequestBuilderPost def to_post_request_information(self,request_configuration: Optional[DeactivateRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Mark an assigned educationAssignment as inactive to signal that the assignment has no further action items for teachers and students. This action can only be performed by a teacher on assigned assignments. This API is available in the following national cloud deployments. + Mark an assigned educationAssignment as inactive to signal that the assignment has no further action items for teachers and students. This action can only be performed by a teacher on assigned assignments. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[DeactivateR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeactivateRequestBuilder: diff --git a/msgraph_beta/generated/education/me/assignments/item/education_assignment_item_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/education_assignment_item_request_builder.py index 38e89b4dfa6..cf20829b0d2 100644 --- a/msgraph_beta/generated/education/me/assignments/item/education_assignment_item_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/education_assignment_item_request_builder.py @@ -113,7 +113,7 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -130,7 +130,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationAssignment] = None, request_configuration: Optional[EducationAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -149,7 +149,7 @@ def to_patch_request_information(self,body: Optional[EducationAssignment] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/me/assignments/item/grading_category/grading_category_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/grading_category/grading_category_request_builder.py index 0aa0ffbaf4e..8910ff2a8d3 100644 --- a/msgraph_beta/generated/education/me/assignments/item/grading_category/grading_category_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/grading_category/grading_category_request_builder.py @@ -80,7 +80,7 @@ def to_delete_request_information(self,request_configuration: Optional[GradingCa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GradingCategoryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -97,7 +97,7 @@ def to_get_request_information(self,request_configuration: Optional[GradingCateg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GradingCategoryRequestBuilder: diff --git a/msgraph_beta/generated/education/me/assignments/item/publish/publish_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/publish/publish_request_builder.py index 6722f82f5d2..2c5d22d6ea6 100644 --- a/msgraph_beta/generated/education/me/assignments/item/publish/publish_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/publish/publish_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[PublishRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationAssignment]: """ - Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. When you call this API, educationSubmission objects are created and the assignment appears in the student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. To update the properties of a published assignment, see update an assignment. This API is available in the following national cloud deployments. + Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. When you call this API, educationSubmission objects are created and the assignment appears in the student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. To update the properties of a published assignment, see update an assignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignment] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-publish?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[PublishRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[PublishRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. When you call this API, educationSubmission objects are created and the assignment appears in the student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. To update the properties of a published assignment, see update an assignment. This API is available in the following national cloud deployments. + Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. When you call this API, educationSubmission objects are created and the assignment appears in the student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. To update the properties of a published assignment, see update an assignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[PublishRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PublishRequestBuilder: diff --git a/msgraph_beta/generated/education/me/assignments/item/resources/item/dependent_resources/dependent_resources_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/resources/item/dependent_resources/dependent_resources_request_builder.py index d70e769ccbb..f2ca25c1a5a 100644 --- a/msgraph_beta/generated/education/me/assignments/item/resources/item/dependent_resources/dependent_resources_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/resources/item/dependent_resources/dependent_resources_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DependentRes request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationAssignmentResource] = None, request_configuration: Optional[DependentResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[EducationAssignmentResource] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/me/assignments/item/resources/item/dependent_resources/item/education_assignment_resource_item_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/resources/item/dependent_resources/item/education_assignment_resource_item_request_builder.py index 1d2329c18b7..e7fb48953e2 100644 --- a/msgraph_beta/generated/education/me/assignments/item/resources/item/dependent_resources/item/education_assignment_resource_item_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/resources/item/dependent_resources/item/education_assignment_resource_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationAssignmentResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationAssignmentResource] = None, request_configuration: Optional[EducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[EducationAssignmentResource request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/me/assignments/item/resources/item/education_assignment_resource_item_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/resources/item/education_assignment_resource_item_request_builder.py index f58c3995904..8f3f2b9b8c9 100644 --- a/msgraph_beta/generated/education/me/assignments/item/resources/item/education_assignment_resource_item_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/resources/item/education_assignment_resource_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[EducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a specific educationAssignmentResource attached to an assignment. Only teachers in the class can remove a resource. After an assignment has been published to students, teachers can't remove resources that are marked as 'distributeToStudents'. This API is available in the following national cloud deployments. + Delete a specific educationAssignmentResource attached to an assignment. Only teachers in the class can remove a resource. After an assignment has been published to students, teachers can't remove resources that are marked as 'distributeToStudents'. 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/educationassignmentresource-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[EducationAssignmentResourc async def get(self,request_configuration: Optional[EducationAssignmentResourceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationAssignmentResource]: """ - Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignmentResource] Find more info here: https://learn.microsoft.com/graph/api/educationassignmentresource-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[EducationAssignmentResource] = None, request def to_delete_request_information(self,request_configuration: Optional[EducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a specific educationAssignmentResource attached to an assignment. Only teachers in the class can remove a resource. After an assignment has been published to students, teachers can't remove resources that are marked as 'distributeToStudents'. This API is available in the following national cloud deployments. + Delete a specific educationAssignmentResource attached to an assignment. Only teachers in the class can remove a resource. After an assignment has been published to students, teachers can't remove resources that are marked as 'distributeToStudents'. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationAssignmentResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationAssignmentResource] = None, request_configuration: Optional[EducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[EducationAssignmentResource request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class EducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration(Ba @dataclass class EducationAssignmentResourceItemRequestBuilderGetQueryParameters(): """ - Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/me/assignments/item/resources/resources_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/resources/resources_request_builder.py index a3147539475..c7e9712d3bc 100644 --- a/msgraph_beta/generated/education/me/assignments/item/resources/resources_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/resources/resources_request_builder.py @@ -45,7 +45,7 @@ def by_education_assignment_resource_id(self,education_assignment_resource_id: s async def get(self,request_configuration: Optional[ResourcesRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationAssignmentResourceCollectionResponse]: """ - Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignmentResourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-list-resources?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ResourcesRequestBuilderGetReq async def post(self,body: Optional[EducationAssignmentResource] = None, request_configuration: Optional[ResourcesRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationAssignmentResource]: """ - Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. This API is available in the following national cloud deployments. + Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignmentResource] @@ -92,7 +92,7 @@ async def post(self,body: Optional[EducationAssignmentResource] = None, request_ def to_get_request_information(self,request_configuration: Optional[ResourcesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ResourcesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationAssignmentResource] = None, request_configuration: Optional[ResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. This API is available in the following national cloud deployments. + Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[EducationAssignmentResource] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ResourcesRequestBuilderGetQueryParameters(): """ - Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/me/assignments/item/rubric/ref/ref_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/rubric/ref/ref_request_builder.py index dba766f4db9..25ccaedc5b7 100644 --- a/msgraph_beta/generated/education/me/assignments/item/rubric/ref/ref_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/rubric/ref/ref_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. This API is available in the following national cloud deployments. + Delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. 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/educationassignment-delete-rubric?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[str]: """ - Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[str] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-get-rubric?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def put(self,body: Optional[ReferenceUpdate] = None, request_configuration: Optional[RefRequestBuilderPutRequestConfiguration] = None) -> None: """ - Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -91,7 +91,7 @@ async def put(self,body: Optional[ReferenceUpdate] = None, request_configuration def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. This API is available in the following national cloud deployments. + Delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,12 +102,12 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -118,12 +118,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_put_request_information(self,body: Optional[ReferenceUpdate] = None, request_configuration: Optional[RefRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: """ - Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -137,7 +137,7 @@ def to_put_request_information(self,body: Optional[ReferenceUpdate] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/me/assignments/item/rubric/rubric_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/rubric/rubric_request_builder.py index 0e9541721f0..b36f6caa846 100644 --- a/msgraph_beta/generated/education/me/assignments/item/rubric/rubric_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/rubric/rubric_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RubricRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. This API is available in the following national cloud deployments. + Delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. 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/educationassignment-delete-rubric?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RubricRequestBuilderDelete async def get(self,request_configuration: Optional[RubricRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationRubric]: """ - Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationRubric] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-get-rubric?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[RubricRequestBuilderGetReques async def patch(self,body: Optional[EducationRubric] = None, request_configuration: Optional[RubricRequestBuilderPatchRequestConfiguration] = None) -> Optional[EducationRubric]: """ - Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationRubric] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[EducationRubric] = None, request_configurati def to_delete_request_information(self,request_configuration: Optional[RubricRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. This API is available in the following national cloud deployments. + Delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[RubricReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RubricRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[RubricReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationRubric] = None, request_configuration: Optional[RubricRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[EducationRubric] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class RubricRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class RubricRequestBuilderGetQueryParameters(): """ - Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/me/assignments/item/set_up_feedback_resources_folder/set_up_feedback_resources_folder_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/set_up_feedback_resources_folder/set_up_feedback_resources_folder_request_builder.py index 32e26a07f63..6c418dab413 100644 --- a/msgraph_beta/generated/education/me/assignments/item/set_up_feedback_resources_folder/set_up_feedback_resources_folder_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/set_up_feedback_resources_folder/set_up_feedback_resources_folder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SetUpFeedbackResourcesFolderRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationAssignment]: """ - Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. This API is available in the following national cloud deployments. + Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignment] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-setupfeedbackresourcesfolder?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[SetUpFeedbackResourcesFolder def to_post_request_information(self,request_configuration: Optional[SetUpFeedbackResourcesFolderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. This API is available in the following national cloud deployments. + Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[SetUpFeedba request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetUpFeedbackResourcesFolderRequestBuilder: diff --git a/msgraph_beta/generated/education/me/assignments/item/set_up_resources_folder/set_up_resources_folder_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/set_up_resources_folder/set_up_resources_folder_request_builder.py index b4c04022183..ee1a320cfd8 100644 --- a/msgraph_beta/generated/education/me/assignments/item/set_up_resources_folder/set_up_resources_folder_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/set_up_resources_folder/set_up_resources_folder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SetUpResourcesFolderRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationAssignment]: """ - Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. This API is available in the following national cloud deployments. + Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignment] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-setupresourcesfolder?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[SetUpResourcesFolderRequestB def to_post_request_information(self,request_configuration: Optional[SetUpResourcesFolderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. This API is available in the following national cloud deployments. + Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[SetUpResour request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetUpResourcesFolderRequestBuilder: diff --git a/msgraph_beta/generated/education/me/assignments/item/submissions/item/education_submission_item_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/submissions/item/education_submission_item_request_builder.py index 3266478741e..03a7a199b11 100644 --- a/msgraph_beta/generated/education/me/assignments/item/submissions/item/education_submission_item_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/submissions/item/education_submission_item_request_builder.py @@ -12,6 +12,7 @@ if TYPE_CHECKING: from .......models.education_submission import EducationSubmission from .......models.o_data_errors.o_data_error import ODataError + from .excuse.excuse_request_builder import ExcuseRequestBuilder from .outcomes.outcomes_request_builder import OutcomesRequestBuilder from .reassign.reassign_request_builder import ReassignRequestBuilder from .resources.resources_request_builder import ResourcesRequestBuilder @@ -55,7 +56,7 @@ async def delete(self,request_configuration: Optional[EducationSubmissionItemReq async def get(self,request_configuration: Optional[EducationSubmissionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationSubmission]: """ - Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmission] Find more info here: https://learn.microsoft.com/graph/api/educationsubmission-get?view=graph-rest-1.0 @@ -112,12 +113,12 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationSubmissionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -129,7 +130,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationSub request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationSubmission] = None, request_configuration: Optional[EducationSubmissionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -148,7 +149,7 @@ def to_patch_request_information(self,body: Optional[EducationSubmission] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -162,6 +163,15 @@ def with_url(self,raw_url: Optional[str] = None) -> EducationSubmissionItemReque raise TypeError("raw_url cannot be null.") return EducationSubmissionItemRequestBuilder(self.request_adapter, raw_url) + @property + def excuse(self) -> ExcuseRequestBuilder: + """ + Provides operations to call the excuse method. + """ + from .excuse.excuse_request_builder import ExcuseRequestBuilder + + return ExcuseRequestBuilder(self.request_adapter, self.path_parameters) + @property def outcomes(self) -> OutcomesRequestBuilder: """ @@ -247,7 +257,7 @@ class EducationSubmissionItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class EducationSubmissionItemRequestBuilderGetQueryParameters(): """ - Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/me/assignments/item/submissions/item/excuse/excuse_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/submissions/item/excuse/excuse_request_builder.py new file mode 100644 index 00000000000..30e65a7d06e --- /dev/null +++ b/msgraph_beta/generated/education/me/assignments/item/submissions/item/excuse/excuse_request_builder.py @@ -0,0 +1,87 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.education_submission import EducationSubmission + from ........models.o_data_errors.o_data_error import ODataError + +class ExcuseRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the excuse method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ExcuseRequestBuilder 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}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/excuse", path_parameters) + + async def post(self,request_configuration: Optional[ExcuseRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationSubmission]: + """ + Excuse a submission. Excused submissions aren't included in average grade calculations. Grading rubrics and feedback are deleted. Only teachers can perform this action. If the Prefer: include-unknown-enum-members request header is provided, the excused submission retains the excused status. Otherwise, the submission status changes to returned. For more information about how to use this header, see the Examples section. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[EducationSubmission] + Find more info here: https://learn.microsoft.com/graph/api/educationsubmission-excuse?view=graph-rest-1.0 + """ + request_info = self.to_post_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.education_submission import EducationSubmission + + return await self.request_adapter.send_async(request_info, EducationSubmission, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[ExcuseRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Excuse a submission. Excused submissions aren't included in average grade calculations. Grading rubrics and feedback are deleted. Only teachers can perform this action. If the Prefer: include-unknown-enum-members request header is provided, the excused submission retains the excused status. Otherwise, the submission status changes to returned. For more information about how to use this header, see the Examples section. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> ExcuseRequestBuilder: + """ + 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: ExcuseRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ExcuseRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ExcuseRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/education/me/assignments/item/submissions/item/outcomes/item/education_outcome_item_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/submissions/item/outcomes/item/education_outcome_item_request_builder.py index 3305f8fb3b7..0a68f8cf1f3 100644 --- a/msgraph_beta/generated/education/me/assignments/item/submissions/item/outcomes/item/education_outcome_item_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/submissions/item/outcomes/item/education_outcome_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[EducationOutcomeItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a feedback resource from a submission. This can only be done by a teacher. This API is available in the following national cloud deployments. + Delete a feedback resource from a submission. This can only be done by a teacher. 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/educationfeedbackresourceoutcome-delete?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[EducationOutcomeItemRequestBu async def patch(self,body: Optional[EducationOutcome] = None, request_configuration: Optional[EducationOutcomeItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[EducationOutcome]: """ - Update the properties of an educationOutcome object. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Update the properties of an educationOutcome object. Only teachers can perform this operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationOutcome] @@ -94,7 +94,7 @@ async def patch(self,body: Optional[EducationOutcome] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[EducationOutcomeItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a feedback resource from a submission. This can only be done by a teacher. This API is available in the following national cloud deployments. + Delete a feedback resource from a submission. This can only be done by a teacher. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationOutcomeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[EducationOut request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationOutcome] = None, request_configuration: Optional[EducationOutcomeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an educationOutcome object. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Update the properties of an educationOutcome object. Only teachers can perform this operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[EducationOutcome] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/me/assignments/item/submissions/item/outcomes/outcomes_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/submissions/item/outcomes/outcomes_request_builder.py index 3f4e95dce94..d37d5fcc1bd 100644 --- a/msgraph_beta/generated/education/me/assignments/item/submissions/item/outcomes/outcomes_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/submissions/item/outcomes/outcomes_request_builder.py @@ -45,7 +45,7 @@ def by_education_outcome_id(self,education_outcome_id: str) -> EducationOutcomeI async def get(self,request_configuration: Optional[OutcomesRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationOutcomeCollectionResponse]: """ - Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. This API is available in the following national cloud deployments. + Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationOutcomeCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationsubmission-list-outcomes?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[OutcomesRequestBuilderGetRequ async def post(self,body: Optional[EducationOutcome] = None, request_configuration: Optional[OutcomesRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationOutcome]: """ - Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or is not in that folder, the POST request will fail. This API is available in the following national cloud deployments. + Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or is not in that folder, the POST request will fail. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationOutcome] @@ -92,7 +92,7 @@ async def post(self,body: Optional[EducationOutcome] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[OutcomesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. This API is available in the following national cloud deployments. + Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[OutcomesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationOutcome] = None, request_configuration: Optional[OutcomesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or is not in that folder, the POST request will fail. This API is available in the following national cloud deployments. + Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or is not in that folder, the POST request will fail. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[EducationOutcome] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OutcomesRequestBuilderGetQueryParameters(): """ - Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. This API is available in the following national cloud deployments. + Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/me/assignments/item/submissions/item/reassign/reassign_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/submissions/item/reassign/reassign_request_builder.py index 7da550ab563..f6066fb4358 100644 --- a/msgraph_beta/generated/education/me/assignments/item/submissions/item/reassign/reassign_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/submissions/item/reassign/reassign_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ReassignRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationSubmission]: """ - Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmission] Find more info here: https://learn.microsoft.com/graph/api/educationsubmission-reassign?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[ReassignRequestBuilderPostRe def to_post_request_information(self,request_configuration: Optional[ReassignRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[ReassignReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReassignRequestBuilder: diff --git a/msgraph_beta/generated/education/me/assignments/item/submissions/item/resources/item/dependent_resources/dependent_resources_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/submissions/item/resources/item/dependent_resources/dependent_resources_request_builder.py index 64b58449732..b7ca2cf4ec3 100644 --- a/msgraph_beta/generated/education/me/assignments/item/submissions/item/resources/item/dependent_resources/dependent_resources_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/submissions/item/resources/item/dependent_resources/dependent_resources_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DependentRes request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationSubmissionResource] = None, request_configuration: Optional[DependentResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[EducationSubmissionResource] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/me/assignments/item/submissions/item/resources/item/dependent_resources/item/education_submission_resource_item_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/submissions/item/resources/item/dependent_resources/item/education_submission_resource_item_request_builder.py index 13f2ddbe7c2..c53c7e8033a 100644 --- a/msgraph_beta/generated/education/me/assignments/item/submissions/item/resources/item/dependent_resources/item/education_submission_resource_item_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/submissions/item/resources/item/dependent_resources/item/education_submission_resource_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationSub request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationSubmissionResource] = None, request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[EducationSubmissionResource request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/me/assignments/item/submissions/item/resources/item/education_submission_resource_item_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/submissions/item/resources/item/education_submission_resource_item_request_builder.py index 804a5240920..a645af5e253 100644 --- a/msgraph_beta/generated/education/me/assignments/item/submissions/item/resources/item/education_submission_resource_item_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/submissions/item/resources/item/education_submission_resource_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. This API is available in the following national cloud deployments. + Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. 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/educationsubmissionresource-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[EducationSubmissionResourc async def get(self,request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationSubmissionResource]: """ - Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. This API is available in the following national cloud deployments. + Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmissionResource] Find more info here: https://learn.microsoft.com/graph/api/educationsubmissionresource-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[EducationSubmissionResource] = None, request def to_delete_request_information(self,request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. This API is available in the following national cloud deployments. + Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. This API is available in the following national cloud deployments. + Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationSub request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationSubmissionResource] = None, request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[EducationSubmissionResource request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class EducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration(Ba @dataclass class EducationSubmissionResourceItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. This API is available in the following national cloud deployments. + Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/me/assignments/item/submissions/item/resources/resources_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/submissions/item/resources/resources_request_builder.py index 906663fea96..0ac2a1d4104 100644 --- a/msgraph_beta/generated/education/me/assignments/item/submissions/item/resources/resources_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/submissions/item/resources/resources_request_builder.py @@ -45,7 +45,7 @@ def by_education_submission_resource_id(self,education_submission_resource_id: s async def get(self,request_configuration: Optional[ResourcesRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationSubmissionResourceCollectionResponse]: """ - List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. This API is available in the following national cloud deployments. + List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmissionResourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationsubmission-list-resources?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ResourcesRequestBuilderGetReq async def post(self,body: Optional[EducationSubmissionResource] = None, request_configuration: Optional[ResourcesRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationSubmissionResource]: """ - Add a educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. This API is available in the following national cloud deployments. + Add a educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmissionResource] @@ -92,7 +92,7 @@ async def post(self,body: Optional[EducationSubmissionResource] = None, request_ def to_get_request_information(self,request_configuration: Optional[ResourcesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. This API is available in the following national cloud deployments. + List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ResourcesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationSubmissionResource] = None, request_configuration: Optional[ResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. This API is available in the following national cloud deployments. + Add a educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[EducationSubmissionResource] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ResourcesRequestBuilderGetQueryParameters(): """ - List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. This API is available in the following national cloud deployments. + List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/me/assignments/item/submissions/item/return_/return_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/submissions/item/return_/return_request_builder.py index c517b487cc3..a1cdd1c93d3 100644 --- a/msgraph_beta/generated/education/me/assignments/item/submissions/item/return_/return_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/submissions/item/return_/return_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ReturnRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationSubmission]: """ - Make the grade and feedback associated with this submission available to the student. This will change the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. This API is available in the following national cloud deployments. + Make the grade and feedback associated with this submission available to the student. This will change the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmission] Find more info here: https://learn.microsoft.com/graph/api/educationsubmission-return?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[ReturnRequestBuilderPostRequ def to_post_request_information(self,request_configuration: Optional[ReturnRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Make the grade and feedback associated with this submission available to the student. This will change the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. This API is available in the following national cloud deployments. + Make the grade and feedback associated with this submission available to the student. This will change the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[ReturnReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReturnRequestBuilder: diff --git a/msgraph_beta/generated/education/me/assignments/item/submissions/item/set_up_resources_folder/set_up_resources_folder_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/submissions/item/set_up_resources_folder/set_up_resources_folder_request_builder.py index dd6175ede1e..8b50de934f9 100644 --- a/msgraph_beta/generated/education/me/assignments/item/submissions/item/set_up_resources_folder/set_up_resources_folder_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/submissions/item/set_up_resources_folder/set_up_resources_folder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SetUpResourcesFolderRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationSubmission]: """ - Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. This API is available in the following national cloud deployments. + Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmission] Find more info here: https://learn.microsoft.com/graph/api/educationsubmission-setupresourcesfolder?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[SetUpResourcesFolderRequestB def to_post_request_information(self,request_configuration: Optional[SetUpResourcesFolderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. This API is available in the following national cloud deployments. + Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[SetUpResour request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetUpResourcesFolderRequestBuilder: diff --git a/msgraph_beta/generated/education/me/assignments/item/submissions/item/submit/submit_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/submissions/item/submit/submit_request_builder.py index 19ce718137a..123fd6a5bd1 100644 --- a/msgraph_beta/generated/education/me/assignments/item/submissions/item/submit/submit_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/submissions/item/submit/submit_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SubmitRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationSubmission]: """ - Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. This API is available in the following national cloud deployments. + Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmission] Find more info here: https://learn.microsoft.com/graph/api/educationsubmission-submit?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[SubmitRequestBuilderPostRequ def to_post_request_information(self,request_configuration: Optional[SubmitRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. This API is available in the following national cloud deployments. + Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[SubmitReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SubmitRequestBuilder: diff --git a/msgraph_beta/generated/education/me/assignments/item/submissions/item/submitted_resources/item/dependent_resources/dependent_resources_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/submissions/item/submitted_resources/item/dependent_resources/dependent_resources_request_builder.py index 1fc1141f9da..a2842d6fc43 100644 --- a/msgraph_beta/generated/education/me/assignments/item/submissions/item/submitted_resources/item/dependent_resources/dependent_resources_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/submissions/item/submitted_resources/item/dependent_resources/dependent_resources_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DependentRes request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationSubmissionResource] = None, request_configuration: Optional[DependentResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[EducationSubmissionResource] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/me/assignments/item/submissions/item/submitted_resources/item/dependent_resources/item/education_submission_resource_item_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/submissions/item/submitted_resources/item/dependent_resources/item/education_submission_resource_item_request_builder.py index 928f0b2a752..49dce143c48 100644 --- a/msgraph_beta/generated/education/me/assignments/item/submissions/item/submitted_resources/item/dependent_resources/item/education_submission_resource_item_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/submissions/item/submitted_resources/item/dependent_resources/item/education_submission_resource_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationSub request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationSubmissionResource] = None, request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[EducationSubmissionResource request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/me/assignments/item/submissions/item/submitted_resources/item/education_submission_resource_item_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/submissions/item/submitted_resources/item/education_submission_resource_item_request_builder.py index 7701d0d56f1..f309fdc1cfb 100644 --- a/msgraph_beta/generated/education/me/assignments/item/submissions/item/submitted_resources/item/education_submission_resource_item_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/submissions/item/submitted_resources/item/education_submission_resource_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationSub request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationSubmissionResource] = None, request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[EducationSubmissionResource request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/me/assignments/item/submissions/item/submitted_resources/submitted_resources_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/submissions/item/submitted_resources/submitted_resources_request_builder.py index 0fb274db9b7..ea7f52ee753 100644 --- a/msgraph_beta/generated/education/me/assignments/item/submissions/item/submitted_resources/submitted_resources_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/submissions/item/submitted_resources/submitted_resources_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SubmittedRes request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationSubmissionResource] = None, request_configuration: Optional[SubmittedResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[EducationSubmissionResource] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/me/assignments/item/submissions/item/unsubmit/unsubmit_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/submissions/item/unsubmit/unsubmit_request_builder.py index 12e64404023..80ff2622866 100644 --- a/msgraph_beta/generated/education/me/assignments/item/submissions/item/unsubmit/unsubmit_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/submissions/item/unsubmit/unsubmit_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UnsubmitRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationSubmission]: """ - Indicate that a student wants to work on the submitted assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. This API is available in the following national cloud deployments. + Indicate that a student wants to work on the submitted assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmission] Find more info here: https://learn.microsoft.com/graph/api/educationsubmission-unsubmit?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[UnsubmitRequestBuilderPostRe def to_post_request_information(self,request_configuration: Optional[UnsubmitRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Indicate that a student wants to work on the submitted assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. This API is available in the following national cloud deployments. + Indicate that a student wants to work on the submitted assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[UnsubmitReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnsubmitRequestBuilder: diff --git a/msgraph_beta/generated/education/me/assignments/item/submissions/submissions_request_builder.py b/msgraph_beta/generated/education/me/assignments/item/submissions/submissions_request_builder.py index a368f2597ca..a566468057d 100644 --- a/msgraph_beta/generated/education/me/assignments/item/submissions/submissions_request_builder.py +++ b/msgraph_beta/generated/education/me/assignments/item/submissions/submissions_request_builder.py @@ -45,7 +45,7 @@ def by_education_submission_id(self,education_submission_id: str) -> EducationSu async def get(self,request_configuration: Optional[SubmissionsRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationSubmissionCollectionResponse]: """ - List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions, a student can only get submissions that they are associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions, a student can only get submissions that they're associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmissionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-list-submissions?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[EducationSubmission] = None, request_configur def to_get_request_information(self,request_configuration: Optional[SubmissionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions, a student can only get submissions that they are associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions, a student can only get submissions that they're associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SubmissionsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationSubmission] = None, request_configuration: Optional[SubmissionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[EducationSubmission] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SubmissionsRequestBuilderGetQueryParameters(): """ - List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions, a student can only get submissions that they are associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions, a student can only get submissions that they're associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/me/classes/classes_request_builder.py b/msgraph_beta/generated/education/me/classes/classes_request_builder.py index 03dee59b44c..b242c00b325 100644 --- a/msgraph_beta/generated/education/me/classes/classes_request_builder.py +++ b/msgraph_beta/generated/education/me/classes/classes_request_builder.py @@ -44,7 +44,7 @@ def by_education_class_id(self,education_class_id: str) -> EducationClassItemReq async def get(self,request_configuration: Optional[ClassesRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationClassCollectionResponse]: """ - Get the educationClass resources an educationUser is a member of. This API is available in the following national cloud deployments. + Get the educationClass resources an educationUser is a member of. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationClassCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationuser-list-classes?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ClassesRequestBuilderGetReque def to_get_request_information(self,request_configuration: Optional[ClassesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the educationClass resources an educationUser is a member of. This API is available in the following national cloud deployments. + Get the educationClass resources an educationUser is a member of. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ClassesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ClassesRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ClassesRequestBuilderGetQueryParameters(): """ - Get the educationClass resources an educationUser is a member of. This API is available in the following national cloud deployments. + Get the educationClass resources an educationUser is a member of. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/me/classes/item/education_class_item_request_builder.py b/msgraph_beta/generated/education/me/classes/item/education_class_item_request_builder.py index 54dd0020d2d..e812201829e 100644 --- a/msgraph_beta/generated/education/me/classes/item/education_class_item_request_builder.py +++ b/msgraph_beta/generated/education/me/classes/item/education_class_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationCla request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EducationClassItemRequestBuilder: diff --git a/msgraph_beta/generated/education/me/me_request_builder.py b/msgraph_beta/generated/education/me/me_request_builder.py index b6d597bd719..ed071336b6d 100644 --- a/msgraph_beta/generated/education/me/me_request_builder.py +++ b/msgraph_beta/generated/education/me/me_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[MeRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[MeRequestBui request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationUser] = None, request_configuration: Optional[MeRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[EducationUser] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/me/rubrics/item/education_rubric_item_request_builder.py b/msgraph_beta/generated/education/me/rubrics/item/education_rubric_item_request_builder.py index 54aa6f57ebd..9d18cbe87b1 100644 --- a/msgraph_beta/generated/education/me/rubrics/item/education_rubric_item_request_builder.py +++ b/msgraph_beta/generated/education/me/rubrics/item/education_rubric_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[EducationRubricItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an educationRubric object. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Delete an educationRubric object. Only teachers can perform this operation. 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/educationrubric-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[EducationRubricItemRequest async def get(self,request_configuration: Optional[EducationRubricItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationRubric]: """ - Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationRubric] Find more info here: https://learn.microsoft.com/graph/api/educationrubric-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[EducationRubricItemRequestBui async def patch(self,body: Optional[EducationRubric] = None, request_configuration: Optional[EducationRubricItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[EducationRubric]: """ - Update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/{id}/assignments/{id}/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/{id}/assignments/{id}/rubric, but it cannot be updated. This API is available in the following national cloud deployments. + Update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/{id}/assignments/{id}/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/{id}/assignments/{id}/rubric, but it cannot be updated. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationRubric] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[EducationRubric] = None, request_configurati def to_delete_request_information(self,request_configuration: Optional[EducationRubricItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an educationRubric object. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Delete an educationRubric object. Only teachers can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationRubricItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[EducationRub request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationRubric] = None, request_configuration: Optional[EducationRubricItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/{id}/assignments/{id}/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/{id}/assignments/{id}/rubric, but it cannot be updated. This API is available in the following national cloud deployments. + Update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/{id}/assignments/{id}/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/{id}/assignments/{id}/rubric, but it cannot be updated. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[EducationRubric] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class EducationRubricItemRequestBuilderDeleteRequestConfiguration(BaseRequestCon @dataclass class EducationRubricItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/me/rubrics/rubrics_request_builder.py b/msgraph_beta/generated/education/me/rubrics/rubrics_request_builder.py index a46db9302d3..418d6523ddb 100644 --- a/msgraph_beta/generated/education/me/rubrics/rubrics_request_builder.py +++ b/msgraph_beta/generated/education/me/rubrics/rubrics_request_builder.py @@ -45,7 +45,7 @@ def by_education_rubric_id(self,education_rubric_id: str) -> EducationRubricItem async def get(self,request_configuration: Optional[RubricsRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationRubricCollectionResponse]: """ - Retrieve a list of educationRubric objects. This API is available in the following national cloud deployments. + Retrieve a list of educationRubric objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationRubricCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationuser-list-rubrics?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RubricsRequestBuilderGetReque async def post(self,body: Optional[EducationRubric] = None, request_configuration: Optional[RubricsRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationRubric]: """ - Create a new educationRubric object. This API is available in the following national cloud deployments. + Create a new educationRubric object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationRubric] @@ -92,7 +92,7 @@ async def post(self,body: Optional[EducationRubric] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RubricsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of educationRubric objects. This API is available in the following national cloud deployments. + Retrieve a list of educationRubric objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[RubricsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationRubric] = None, request_configuration: Optional[RubricsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new educationRubric object. This API is available in the following national cloud deployments. + Create a new educationRubric object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[EducationRubric] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RubricsRequestBuilderGetQueryParameters(): """ - Retrieve a list of educationRubric objects. This API is available in the following national cloud deployments. + Retrieve a list of educationRubric objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/me/schools/item/education_school_item_request_builder.py b/msgraph_beta/generated/education/me/schools/item/education_school_item_request_builder.py index a7830a76d3a..88b9d1a9de5 100644 --- a/msgraph_beta/generated/education/me/schools/item/education_school_item_request_builder.py +++ b/msgraph_beta/generated/education/me/schools/item/education_school_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationSch request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EducationSchoolItemRequestBuilder: diff --git a/msgraph_beta/generated/education/me/schools/schools_request_builder.py b/msgraph_beta/generated/education/me/schools/schools_request_builder.py index d853e3af0de..18e66208622 100644 --- a/msgraph_beta/generated/education/me/schools/schools_request_builder.py +++ b/msgraph_beta/generated/education/me/schools/schools_request_builder.py @@ -44,7 +44,7 @@ def by_education_school_id(self,education_school_id: str) -> EducationSchoolItem async def get(self,request_configuration: Optional[SchoolsRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationSchoolCollectionResponse]: """ - Retrieve a list of schools for a user. This API is available in the following national cloud deployments. + Retrieve a list of schools for a user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSchoolCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationuser-list-schools?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[SchoolsRequestBuilderGetReque def to_get_request_information(self,request_configuration: Optional[SchoolsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of schools for a user. This API is available in the following national cloud deployments. + Retrieve a list of schools for a user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[SchoolsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SchoolsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SchoolsRequestBuilderGetQueryParameters(): """ - Retrieve a list of schools for a user. This API is available in the following national cloud deployments. + Retrieve a list of schools for a user. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/me/taught_classes/item/education_class_item_request_builder.py b/msgraph_beta/generated/education/me/taught_classes/item/education_class_item_request_builder.py index c015a5fe10a..7bc88714078 100644 --- a/msgraph_beta/generated/education/me/taught_classes/item/education_class_item_request_builder.py +++ b/msgraph_beta/generated/education/me/taught_classes/item/education_class_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationCla request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EducationClassItemRequestBuilder: diff --git a/msgraph_beta/generated/education/me/taught_classes/taught_classes_request_builder.py b/msgraph_beta/generated/education/me/taught_classes/taught_classes_request_builder.py index effc3a8ecc8..d2ff026c1f3 100644 --- a/msgraph_beta/generated/education/me/taught_classes/taught_classes_request_builder.py +++ b/msgraph_beta/generated/education/me/taught_classes/taught_classes_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[TaughtClasse request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaughtClassesRequestBuilder: diff --git a/msgraph_beta/generated/education/me/user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/education/me/user/mailbox_settings/mailbox_settings_request_builder.py index 9a293fdbd79..843ca861464 100644 --- a/msgraph_beta/generated/education/me/user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/education/me/user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/me/user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/education/me/user/service_provisioning_errors/service_provisioning_errors_request_builder.py index 48a953759fb..cf1d40122ff 100644 --- a/msgraph_beta/generated/education/me/user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/education/me/user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/me/user/user_request_builder.py b/msgraph_beta/generated/education/me/user/user_request_builder.py index 6c933156fca..b340caa5cdd 100644 --- a/msgraph_beta/generated/education/me/user/user_request_builder.py +++ b/msgraph_beta/generated/education/me/user/user_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[UserRequestBuilderGetRequestConfiguration] = None) -> Optional[User]: """ - Retrieve the simple directory user that corresponds to this educationUser. This API is available in the following national cloud deployments. + Retrieve the simple directory user that corresponds to this educationUser. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] Find more info here: https://learn.microsoft.com/graph/api/educationuser-get-user?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[UserRequestBuilderGetRequestC def to_get_request_information(self,request_configuration: Optional[UserRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the simple directory user that corresponds to this educationUser. This API is available in the following national cloud deployments. + Retrieve the simple directory user that corresponds to this educationUser. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[UserRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserRequestBuilder: @@ -98,7 +98,7 @@ def service_provisioning_errors(self) -> ServiceProvisioningErrorsRequestBuilder @dataclass class UserRequestBuilderGetQueryParameters(): """ - Retrieve the simple directory user that corresponds to this educationUser. This API is available in the following national cloud deployments. + Retrieve the simple directory user that corresponds to this educationUser. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/schools/delta/delta_request_builder.py b/msgraph_beta/generated/education/schools/delta/delta_request_builder.py index 98fbdbfcff1..ce5d7383c8f 100644 --- a/msgraph_beta/generated/education/schools/delta/delta_request_builder.py +++ b/msgraph_beta/generated/education/schools/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/education/schools/item/administrative_unit/administrative_unit_request_builder.py b/msgraph_beta/generated/education/schools/item/administrative_unit/administrative_unit_request_builder.py index 9cf0e0fd0cd..a46cb484334 100644 --- a/msgraph_beta/generated/education/schools/item/administrative_unit/administrative_unit_request_builder.py +++ b/msgraph_beta/generated/education/schools/item/administrative_unit/administrative_unit_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[AdministrativeUnitRequestBuilderGetRequestConfiguration] = None) -> Optional[AdministrativeUnit]: """ - Retrieve the directory administrativeUnit that corresponds to this educationSchool. This API is available in the following national cloud deployments. + Retrieve the directory administrativeUnit that corresponds to this educationSchool. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AdministrativeUnit] Find more info here: https://learn.microsoft.com/graph/api/educationschool-get-administrativeUnit?view=graph-rest-1.0 @@ -74,7 +74,7 @@ async def patch(self,body: Optional[AdministrativeUnit] = None, request_configur def to_get_request_information(self,request_configuration: Optional[AdministrativeUnitRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the directory administrativeUnit that corresponds to this educationSchool. This API is available in the following national cloud deployments. + Retrieve the directory administrativeUnit that corresponds to this educationSchool. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,7 +86,7 @@ def to_get_request_information(self,request_configuration: Optional[Administrati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AdministrativeUnit] = None, request_configuration: Optional[AdministrativeUnitRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -105,7 +105,7 @@ def to_patch_request_information(self,body: Optional[AdministrativeUnit] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -122,7 +122,7 @@ def with_url(self,raw_url: Optional[str] = None) -> AdministrativeUnitRequestBui @dataclass class AdministrativeUnitRequestBuilderGetQueryParameters(): """ - Retrieve the directory administrativeUnit that corresponds to this educationSchool. This API is available in the following national cloud deployments. + Retrieve the directory administrativeUnit that corresponds to this educationSchool. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/schools/item/classes/classes_request_builder.py b/msgraph_beta/generated/education/schools/item/classes/classes_request_builder.py index d9bcd93b908..ebda22f46d3 100644 --- a/msgraph_beta/generated/education/schools/item/classes/classes_request_builder.py +++ b/msgraph_beta/generated/education/schools/item/classes/classes_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_education_class_id(self,education_class_id: str) -> EducationClassItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.education.schools.item.classes.item collection - param education_class_id: Unique identifier of the item + param education_class_id: The unique identifier of educationClass Returns: EducationClassItemRequestBuilder """ if not education_class_id: @@ -45,7 +45,7 @@ def by_education_class_id(self,education_class_id: str) -> EducationClassItemReq async def get(self,request_configuration: Optional[ClassesRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationClassCollectionResponse]: """ - Retrieve a list of classes owned by a school. This API is available in the following national cloud deployments. + Retrieve a list of classes owned by a school. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationClassCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationschool-list-classes?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ClassesRequestBuilderGetReque def to_get_request_information(self,request_configuration: Optional[ClassesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of classes owned by a school. This API is available in the following national cloud deployments. + Retrieve a list of classes owned by a school. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[ClassesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ClassesRequestBuilder: @@ -113,7 +113,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class ClassesRequestBuilderGetQueryParameters(): """ - Retrieve a list of classes owned by a school. This API is available in the following national cloud deployments. + Retrieve a list of classes owned by a school. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/schools/item/classes/item/ref/ref_request_builder.py b/msgraph_beta/generated/education/schools/item/classes/item/ref/ref_request_builder.py index 0a5ab2fbeff..c8807199c6f 100644 --- a/msgraph_beta/generated/education/schools/item/classes/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/education/schools/item/classes/item/ref/ref_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a class from a school. This API is available in the following national cloud deployments. + Delete a class from a school. 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/educationschool-delete-classes?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a class from a school. This API is available in the following national cloud deployments. + Delete a class from a school. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Delete a class from a school. This API is available in the following national cloud deployments. + Delete a class from a school. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/schools/item/classes/ref/ref_request_builder.py b/msgraph_beta/generated/education/schools/item/classes/ref/ref_request_builder.py index 51b7ee3dd68..b47dd9d5899 100644 --- a/msgraph_beta/generated/education/schools/item/classes/ref/ref_request_builder.py +++ b/msgraph_beta/generated/education/schools/item/classes/ref/ref_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - Retrieve a list of classes owned by a school. This API is available in the following national cloud deployments. + Retrieve a list of classes owned by a school. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationschool-list-classes?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add a class to a school. This API is available in the following national cloud deployments. + Add a class to a school. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -74,7 +74,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of classes owned by a school. This API is available in the following national cloud deployments. + Retrieve a list of classes owned by a school. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a class to a school. This API is available in the following national cloud deployments. + Add a class to a school. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -122,7 +122,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderGetQueryParameters(): """ - Retrieve a list of classes owned by a school. This API is available in the following national cloud deployments. + Retrieve a list of classes owned by a school. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/schools/item/education_school_item_request_builder.py b/msgraph_beta/generated/education/schools/item/education_school_item_request_builder.py index d11da5bfa52..eeda9049dc6 100644 --- a/msgraph_beta/generated/education/schools/item/education_school_item_request_builder.py +++ b/msgraph_beta/generated/education/schools/item/education_school_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[EducationSchoolItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a school. This API is available in the following national cloud deployments. + Delete a school. 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/educationschool-delete?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[EducationSchoolItemRequest async def get(self,request_configuration: Optional[EducationSchoolItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationSchool]: """ - Retrieve the properties and relationships of the school object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of the school object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSchool] Find more info here: https://learn.microsoft.com/graph/api/educationschool-get?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[EducationSchoolItemRequestBui async def patch(self,body: Optional[EducationSchool] = None, request_configuration: Optional[EducationSchoolItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[EducationSchool]: """ - Update the properties of a school object. This API is available in the following national cloud deployments. + Update the properties of a school object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSchool] @@ -98,7 +98,7 @@ async def patch(self,body: Optional[EducationSchool] = None, request_configurati def to_delete_request_information(self,request_configuration: Optional[EducationSchoolItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a school. This API is available in the following national cloud deployments. + Delete a school. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationSchoolItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of the school object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of the school object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,12 +126,12 @@ def to_get_request_information(self,request_configuration: Optional[EducationSch request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationSchool] = None, request_configuration: Optional[EducationSchoolItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a school object. This API is available in the following national cloud deployments. + Update the properties of a school object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[EducationSchool] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -199,7 +199,7 @@ class EducationSchoolItemRequestBuilderDeleteRequestConfiguration(BaseRequestCon @dataclass class EducationSchoolItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of the school object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of the school object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/schools/item/users/item/ref/ref_request_builder.py b/msgraph_beta/generated/education/schools/item/users/item/ref/ref_request_builder.py index d2fbc8280db..1d2030f8b1e 100644 --- a/msgraph_beta/generated/education/schools/item/users/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/education/schools/item/users/item/ref/ref_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a user from a school. This API is available in the following national cloud deployments. + Delete a user from a school. 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/educationschool-delete-users?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a user from a school. This API is available in the following national cloud deployments. + Delete a user from a school. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Delete a user from a school. This API is available in the following national cloud deployments. + Delete a user from a school. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/schools/item/users/ref/ref_request_builder.py b/msgraph_beta/generated/education/schools/item/users/ref/ref_request_builder.py index 93bd3db4c12..e2590be5cdb 100644 --- a/msgraph_beta/generated/education/schools/item/users/ref/ref_request_builder.py +++ b/msgraph_beta/generated/education/schools/item/users/ref/ref_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - Retrieve a list of users at a school. This API is available in the following national cloud deployments. + Retrieve a list of users at a school. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationschool-list-users?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add a user to a school. This API is available in the following national cloud deployments. + Add a user to a school. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -74,7 +74,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of users at a school. This API is available in the following national cloud deployments. + Retrieve a list of users at a school. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a user to a school. This API is available in the following national cloud deployments. + Add a user to a school. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -122,7 +122,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderGetQueryParameters(): """ - Retrieve a list of users at a school. This API is available in the following national cloud deployments. + Retrieve a list of users at a school. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/schools/item/users/users_request_builder.py b/msgraph_beta/generated/education/schools/item/users/users_request_builder.py index 07d6fb1871b..3d2725e63f4 100644 --- a/msgraph_beta/generated/education/schools/item/users/users_request_builder.py +++ b/msgraph_beta/generated/education/schools/item/users/users_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_education_user_id(self,education_user_id: str) -> EducationUserItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.education.schools.item.users.item collection - param education_user_id: Unique identifier of the item + param education_user_id: The unique identifier of educationUser Returns: EducationUserItemRequestBuilder """ if not education_user_id: @@ -45,7 +45,7 @@ def by_education_user_id(self,education_user_id: str) -> EducationUserItemReques async def get(self,request_configuration: Optional[UsersRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationUserCollectionResponse]: """ - Retrieve a list of users at a school. This API is available in the following national cloud deployments. + Retrieve a list of users at a school. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationUserCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationschool-list-users?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[UsersRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[UsersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of users at a school. This API is available in the following national cloud deployments. + Retrieve a list of users at a school. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[UsersRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UsersRequestBuilder: @@ -113,7 +113,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class UsersRequestBuilderGetQueryParameters(): """ - Retrieve a list of users at a school. This API is available in the following national cloud deployments. + Retrieve a list of users at a school. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/schools/schools_request_builder.py b/msgraph_beta/generated/education/schools/schools_request_builder.py index daf6d7b55ac..83b2aa4ccdd 100644 --- a/msgraph_beta/generated/education/schools/schools_request_builder.py +++ b/msgraph_beta/generated/education/schools/schools_request_builder.py @@ -46,7 +46,7 @@ def by_education_school_id(self,education_school_id: str) -> EducationSchoolItem async def get(self,request_configuration: Optional[SchoolsRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationSchoolCollectionResponse]: """ - Retrieve a list of all school objects. This API is available in the following national cloud deployments. + Retrieve a list of all school objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSchoolCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationroot-list-schools?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[SchoolsRequestBuilderGetReque async def post(self,body: Optional[EducationSchool] = None, request_configuration: Optional[SchoolsRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationSchool]: """ - Create a school. This API is available in the following national cloud deployments. + Create a school. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSchool] @@ -93,7 +93,7 @@ async def post(self,body: Optional[EducationSchool] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[SchoolsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of all school objects. This API is available in the following national cloud deployments. + Retrieve a list of all school objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[SchoolsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationSchool] = None, request_configuration: Optional[SchoolsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a school. This API is available in the following national cloud deployments. + Create a school. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[EducationSchool] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class SchoolsRequestBuilderGetQueryParameters(): """ - Retrieve a list of all school objects. This API is available in the following national cloud deployments. + Retrieve a list of all school objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/synchronization_profiles/item/education_synchronization_profile_item_request_builder.py b/msgraph_beta/generated/education/synchronization_profiles/item/education_synchronization_profile_item_request_builder.py index 752039c4e93..d00ba888dce 100644 --- a/msgraph_beta/generated/education/synchronization_profiles/item/education_synchronization_profile_item_request_builder.py +++ b/msgraph_beta/generated/education/synchronization_profiles/item/education_synchronization_profile_item_request_builder.py @@ -35,7 +35,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[EducationSynchronizationProfileItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a school data synchronization profile in the tenant based on the identifier. This API is available in the following national cloud deployments. + Delete a school data synchronization profile in the tenant based on the identifier. 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/educationsynchronizationprofile-delete?view=graph-rest-1.0 @@ -55,7 +55,7 @@ async def delete(self,request_configuration: Optional[EducationSynchronizationPr async def get(self,request_configuration: Optional[EducationSynchronizationProfileItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationSynchronizationProfile]: """ - Retrieve a school data synchronization profile in the tenant based on the identifier. This API is available in the following national cloud deployments. + Retrieve a school data synchronization profile in the tenant based on the identifier. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSynchronizationProfile] Find more info here: https://learn.microsoft.com/graph/api/educationsynchronizationprofile-get?view=graph-rest-1.0 @@ -101,7 +101,7 @@ async def patch(self,body: Optional[EducationSynchronizationProfile] = None, req def to_delete_request_information(self,request_configuration: Optional[EducationSynchronizationProfileItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a school data synchronization profile in the tenant based on the identifier. This API is available in the following national cloud deployments. + Delete a school data synchronization profile in the tenant based on the identifier. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -112,12 +112,12 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationSynchronizationProfileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a school data synchronization profile in the tenant based on the identifier. This API is available in the following national cloud deployments. + Retrieve a school data synchronization profile in the tenant based on the identifier. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -129,7 +129,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationSyn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationSynchronizationProfile] = None, request_configuration: Optional[EducationSynchronizationProfileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -148,7 +148,7 @@ def to_patch_request_information(self,body: Optional[EducationSynchronizationPro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -238,7 +238,7 @@ class EducationSynchronizationProfileItemRequestBuilderDeleteRequestConfiguratio @dataclass class EducationSynchronizationProfileItemRequestBuilderGetQueryParameters(): """ - Retrieve a school data synchronization profile in the tenant based on the identifier. This API is available in the following national cloud deployments. + Retrieve a school data synchronization profile in the tenant based on the identifier. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/synchronization_profiles/item/errors/errors_request_builder.py b/msgraph_beta/generated/education/synchronization_profiles/item/errors/errors_request_builder.py index 2125a7d3cc4..9878c53bfcd 100644 --- a/msgraph_beta/generated/education/synchronization_profiles/item/errors/errors_request_builder.py +++ b/msgraph_beta/generated/education/synchronization_profiles/item/errors/errors_request_builder.py @@ -45,7 +45,7 @@ def by_education_synchronization_error_id(self,education_synchronization_error_i async def get(self,request_configuration: Optional[ErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationSynchronizationErrorCollectionResponse]: """ - Get the errors generated during validation and/or during a sync of a specific school data synchronization profile in the tenant. This API is available in the following national cloud deployments. + Get the errors generated during validation and/or during a sync of a specific school data synchronization profile in the tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSynchronizationErrorCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationsynchronizationerrors-get?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[EducationSynchronizationError] = None, reques def to_get_request_information(self,request_configuration: Optional[ErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the errors generated during validation and/or during a sync of a specific school data synchronization profile in the tenant. This API is available in the following national cloud deployments. + Get the errors generated during validation and/or during a sync of a specific school data synchronization profile in the tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ErrorsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationSynchronizationError] = None, request_configuration: Optional[ErrorsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[EducationSynchronizationErro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ErrorsRequestBuilderGetQueryParameters(): """ - Get the errors generated during validation and/or during a sync of a specific school data synchronization profile in the tenant. This API is available in the following national cloud deployments. + Get the errors generated during validation and/or during a sync of a specific school data synchronization profile in the tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/synchronization_profiles/item/errors/item/education_synchronization_error_item_request_builder.py b/msgraph_beta/generated/education/synchronization_profiles/item/errors/item/education_synchronization_error_item_request_builder.py index 81457c08636..f0a2fdf5b69 100644 --- a/msgraph_beta/generated/education/synchronization_profiles/item/errors/item/education_synchronization_error_item_request_builder.py +++ b/msgraph_beta/generated/education/synchronization_profiles/item/errors/item/education_synchronization_error_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationSynchronizationErrorItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationSyn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationSynchronizationError] = None, request_configuration: Optional[EducationSynchronizationErrorItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[EducationSynchronizationErr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/synchronization_profiles/item/pause/pause_request_builder.py b/msgraph_beta/generated/education/synchronization_profiles/item/pause/pause_request_builder.py index 979c0792d7d..7302dfa9b0c 100644 --- a/msgraph_beta/generated/education/synchronization_profiles/item/pause/pause_request_builder.py +++ b/msgraph_beta/generated/education/synchronization_profiles/item/pause/pause_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[PauseRequestBuilderPostRequestConfiguration] = None) -> None: """ - Pause the sync of a specific school data synchronization profile in the tenant. This API is available in the following national cloud deployments. + Pause the sync of a specific school data synchronization profile in the tenant. 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/educationsynchronizationprofile-pause?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[PauseRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[PauseRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Pause the sync of a specific school data synchronization profile in the tenant. This API is available in the following national cloud deployments. + Pause the sync of a specific school data synchronization profile in the tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[PauseReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PauseRequestBuilder: diff --git a/msgraph_beta/generated/education/synchronization_profiles/item/profile_status/profile_status_request_builder.py b/msgraph_beta/generated/education/synchronization_profiles/item/profile_status/profile_status_request_builder.py index ca901737fce..fe0556af022 100644 --- a/msgraph_beta/generated/education/synchronization_profiles/item/profile_status/profile_status_request_builder.py +++ b/msgraph_beta/generated/education/synchronization_profiles/item/profile_status/profile_status_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ProfileStatusRequestBuilde async def get(self,request_configuration: Optional[ProfileStatusRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationSynchronizationProfileStatus]: """ - Get the status of a specific school data synchronization profile in the tenant. The response will indicate the status of the sync. This API is available in the following national cloud deployments. + Get the status of a specific school data synchronization profile in the tenant. The response will indicate the status of the sync. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSynchronizationProfileStatus] Find more info here: https://learn.microsoft.com/graph/api/educationsynchronizationprofilestatus-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[ProfileSt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ProfileStatusRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the status of a specific school data synchronization profile in the tenant. The response will indicate the status of the sync. This API is available in the following national cloud deployments. + Get the status of a specific school data synchronization profile in the tenant. The response will indicate the status of the sync. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ProfileStatu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationSynchronizationProfileStatus] = None, request_configuration: Optional[ProfileStatusRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[EducationSynchronizationPro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ProfileStatusRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ProfileStatusRequestBuilderGetQueryParameters(): """ - Get the status of a specific school data synchronization profile in the tenant. The response will indicate the status of the sync. This API is available in the following national cloud deployments. + Get the status of a specific school data synchronization profile in the tenant. The response will indicate the status of the sync. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/synchronization_profiles/item/reset/reset_request_builder.py b/msgraph_beta/generated/education/synchronization_profiles/item/reset/reset_request_builder.py index 9383398cc5e..8c6fd84d222 100644 --- a/msgraph_beta/generated/education/synchronization_profiles/item/reset/reset_request_builder.py +++ b/msgraph_beta/generated/education/synchronization_profiles/item/reset/reset_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ResetRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reset the sync of a specific school data synchronization profile in the tenant. This API is available in the following national cloud deployments. + Reset the sync of a specific school data synchronization profile in the tenant. 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/educationsynchronizationprofile-reset?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ResetRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[ResetRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reset the sync of a specific school data synchronization profile in the tenant. This API is available in the following national cloud deployments. + Reset the sync of a specific school data synchronization profile in the tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ResetReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResetRequestBuilder: diff --git a/msgraph_beta/generated/education/synchronization_profiles/item/resume/resume_request_builder.py b/msgraph_beta/generated/education/synchronization_profiles/item/resume/resume_request_builder.py index 249973c6a90..ea6794990ff 100644 --- a/msgraph_beta/generated/education/synchronization_profiles/item/resume/resume_request_builder.py +++ b/msgraph_beta/generated/education/synchronization_profiles/item/resume/resume_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ResumeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Resume the sync of a specific school data synchronization profile in the tenant. This API is available in the following national cloud deployments. + Resume the sync of a specific school data synchronization profile in the tenant. 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/educationsynchronizationprofile-resume?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ResumeRequestBuilderPostRequ def to_post_request_information(self,request_configuration: Optional[ResumeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Resume the sync of a specific school data synchronization profile in the tenant. This API is available in the following national cloud deployments. + Resume the sync of a specific school data synchronization profile in the tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ResumeReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResumeRequestBuilder: diff --git a/msgraph_beta/generated/education/synchronization_profiles/item/start/start_request_builder.py b/msgraph_beta/generated/education/synchronization_profiles/item/start/start_request_builder.py index 6cdd1cc2a1b..3f687af7fdc 100644 --- a/msgraph_beta/generated/education/synchronization_profiles/item/start/start_request_builder.py +++ b/msgraph_beta/generated/education/synchronization_profiles/item/start/start_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[StartRequestBuilderPostRequestConfiguration] = None) -> Optional[StartPostResponse]: """ - Verify the files uploaded to a specific school data synchronization profile in the tenant. If the verification is successful, synchronization starts on the profile. Otherwise, the response contains errors and warnings. If the response contains errors, the synchronization won't start. If the response contains only warnings, synchronization starts. This API is available in the following national cloud deployments. + Verify the files uploaded to a specific school data synchronization profile in the tenant. If the verification is successful, synchronization starts on the profile. Otherwise, the response contains errors and warnings. If the response contains errors, the synchronization won't start. If the response contains only warnings, synchronization starts. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StartPostResponse] Find more info here: https://learn.microsoft.com/graph/api/educationsynchronizationprofile-start?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[StartRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[StartRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Verify the files uploaded to a specific school data synchronization profile in the tenant. If the verification is successful, synchronization starts on the profile. Otherwise, the response contains errors and warnings. If the response contains errors, the synchronization won't start. If the response contains only warnings, synchronization starts. This API is available in the following national cloud deployments. + Verify the files uploaded to a specific school data synchronization profile in the tenant. If the verification is successful, synchronization starts on the profile. Otherwise, the response contains errors and warnings. If the response contains errors, the synchronization won't start. If the response contains only warnings, synchronization starts. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[StartReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> StartRequestBuilder: diff --git a/msgraph_beta/generated/education/synchronization_profiles/item/upload_url/upload_url_request_builder.py b/msgraph_beta/generated/education/synchronization_profiles/item/upload_url/upload_url_request_builder.py index bbf6629ddd9..90e99aec1b5 100644 --- a/msgraph_beta/generated/education/synchronization_profiles/item/upload_url/upload_url_request_builder.py +++ b/msgraph_beta/generated/education/synchronization_profiles/item/upload_url/upload_url_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[UploadUrlReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UploadUrlRequestBuilder: diff --git a/msgraph_beta/generated/education/synchronization_profiles/synchronization_profiles_request_builder.py b/msgraph_beta/generated/education/synchronization_profiles/synchronization_profiles_request_builder.py index 379cb552ff1..e80d9ad68e7 100644 --- a/msgraph_beta/generated/education/synchronization_profiles/synchronization_profiles_request_builder.py +++ b/msgraph_beta/generated/education/synchronization_profiles/synchronization_profiles_request_builder.py @@ -45,7 +45,7 @@ def by_education_synchronization_profile_id(self,education_synchronization_profi async def get(self,request_configuration: Optional[SynchronizationProfilesRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationSynchronizationProfileCollectionResponse]: """ - Retrieve the collection of school data synchronization profiles in the tenant. This API is available in the following national cloud deployments. + Retrieve the collection of school data synchronization profiles in the tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSynchronizationProfileCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationsynchronizationprofile-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[EducationSynchronizationProfile] = None, requ def to_get_request_information(self,request_configuration: Optional[SynchronizationProfilesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the collection of school data synchronization profiles in the tenant. This API is available in the following national cloud deployments. + Retrieve the collection of school data synchronization profiles in the tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[Synchronizat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationSynchronizationProfile] = None, request_configuration: Optional[SynchronizationProfilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[EducationSynchronizationProf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SynchronizationProfilesRequestBuilderGetQueryParameters(): """ - Retrieve the collection of school data synchronization profiles in the tenant. This API is available in the following national cloud deployments. + Retrieve the collection of school data synchronization profiles in the tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/users/delta/delta_request_builder.py b/msgraph_beta/generated/education/users/delta/delta_request_builder.py index f73bc592f13..dae32e5e84f 100644 --- a/msgraph_beta/generated/education/users/delta/delta_request_builder.py +++ b/msgraph_beta/generated/education/users/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/education/users/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/assignments_request_builder.py index 77b779c0b76..fdfe443f287 100644 --- a/msgraph_beta/generated/education/users/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/assignments_request_builder.py @@ -46,7 +46,7 @@ def by_education_assignment_id(self,education_assignment_id: str) -> EducationAs async def get(self,request_configuration: Optional[AssignmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationAssignmentCollectionResponse]: """ - Returns a list of assignments assigned to a user for all classes. Only teachers, students, and applications with application permissions can perform this operation. This utility namespace allows a caller to find all the assignments belonging to a student or a teacher in a single call rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. All other operations on the assignment should use the class namespace. This API is available in the following national cloud deployments. + Returns a list of assignments assigned to a user for all classes. Only teachers, students, and applications with application permissions can perform this operation. This utility namespace allows a caller to find all the assignments belonging to a student or a teacher in a single call rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. All other operations on the assignment should use the class namespace. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationuser-list-assignments?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[EducationAssignment] = None, request_configur def to_get_request_information(self,request_configuration: Optional[AssignmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Returns a list of assignments assigned to a user for all classes. Only teachers, students, and applications with application permissions can perform this operation. This utility namespace allows a caller to find all the assignments belonging to a student or a teacher in a single call rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. All other operations on the assignment should use the class namespace. This API is available in the following national cloud deployments. + Returns a list of assignments assigned to a user for all classes. Only teachers, students, and applications with application permissions can perform this operation. This utility namespace allows a caller to find all the assignments belonging to a student or a teacher in a single call rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. All other operations on the assignment should use the class namespace. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[EducationAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class AssignmentsRequestBuilderGetQueryParameters(): """ - Returns a list of assignments assigned to a user for all classes. Only teachers, students, and applications with application permissions can perform this operation. This utility namespace allows a caller to find all the assignments belonging to a student or a teacher in a single call rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. All other operations on the assignment should use the class namespace. This API is available in the following national cloud deployments. + Returns a list of assignments assigned to a user for all classes. Only teachers, students, and applications with application permissions can perform this operation. This utility namespace allows a caller to find all the assignments belonging to a student or a teacher in a single call rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. All other operations on the assignment should use the class namespace. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/users/item/assignments/delta/delta_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/delta/delta_request_builder.py index dfe897cdd70..458baaaba09 100644 --- a/msgraph_beta/generated/education/users/item/assignments/delta/delta_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/education/users/item/assignments/item/activate/activate_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/activate/activate_request_builder.py index 1ae80024bc4..ca55171d5ad 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/activate/activate_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/activate/activate_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ActivateRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationAssignment]: """ - Activate an inactive educationAssignment to signal that the assignment has further action items for teachers and students. This action can only be performed by a teacher on currently inactive assignments. This API is available in the following national cloud deployments. + Activate an inactive educationAssignment to signal that the assignment has further action items for teachers and students. This action can only be performed by a teacher on currently inactive assignments. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignment] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-activate?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[ActivateRequestBuilderPostRe def to_post_request_information(self,request_configuration: Optional[ActivateRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Activate an inactive educationAssignment to signal that the assignment has further action items for teachers and students. This action can only be performed by a teacher on currently inactive assignments. This API is available in the following national cloud deployments. + Activate an inactive educationAssignment to signal that the assignment has further action items for teachers and students. This action can only be performed by a teacher on currently inactive assignments. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[ActivateReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ActivateRequestBuilder: diff --git a/msgraph_beta/generated/education/users/item/assignments/item/categories/categories_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/categories/categories_request_builder.py index 6174f31eb20..ba167a9af27 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/categories/categories_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/categories/categories_request_builder.py @@ -34,7 +34,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_education_category_id(self,education_category_id: str) -> EducationCategoryItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.education.users.item.assignments.item.categories.item collection - param education_category_id: Unique identifier of the item + param education_category_id: The unique identifier of educationCategory Returns: EducationCategoryItemRequestBuilder """ if not education_category_id: @@ -47,7 +47,7 @@ def by_education_category_id(self,education_category_id: str) -> EducationCatego async def get(self,request_configuration: Optional[CategoriesRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationCategoryCollectionResponse]: """ - List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationCategoryCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-list-categories?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def post(self,body: Optional[EducationCategory] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[CategoriesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. 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[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationCategory] = None, request_configuration: Optional[CategoriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[EducationCategory] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class CategoriesRequestBuilderGetQueryParameters(): """ - List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/users/item/assignments/item/categories/delta/delta_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/categories/delta/delta_request_builder.py index 78ac55f8625..b26e76ba506 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/categories/delta/delta_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/categories/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/education/users/item/assignments/item/categories/item/ref/ref_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/categories/item/ref/ref_request_builder.py index da20d5d598c..b58d6031d3f 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/categories/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/categories/item/ref/ref_request_builder.py @@ -58,7 +58,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: diff --git a/msgraph_beta/generated/education/users/item/assignments/item/categories/ref/ref_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/categories/ref/ref_request_builder.py index bb355d27b65..09feb31081c 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/categories/ref/ref_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/categories/ref/ref_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-list-categories?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -121,7 +121,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderGetQueryParameters(): """ - List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/users/item/assignments/item/deactivate/deactivate_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/deactivate/deactivate_request_builder.py index b7efcc077db..e659bfa7a09 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/deactivate/deactivate_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/deactivate/deactivate_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DeactivateRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationAssignment]: """ - Mark an assigned educationAssignment as inactive to signal that the assignment has no further action items for teachers and students. This action can only be performed by a teacher on assigned assignments. This API is available in the following national cloud deployments. + Mark an assigned educationAssignment as inactive to signal that the assignment has no further action items for teachers and students. This action can only be performed by a teacher on assigned assignments. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignment] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-deactivate?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[DeactivateRequestBuilderPost def to_post_request_information(self,request_configuration: Optional[DeactivateRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Mark an assigned educationAssignment as inactive to signal that the assignment has no further action items for teachers and students. This action can only be performed by a teacher on assigned assignments. This API is available in the following national cloud deployments. + Mark an assigned educationAssignment as inactive to signal that the assignment has no further action items for teachers and students. This action can only be performed by a teacher on assigned assignments. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[DeactivateR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeactivateRequestBuilder: diff --git a/msgraph_beta/generated/education/users/item/assignments/item/education_assignment_item_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/education_assignment_item_request_builder.py index 59f69ea5bf0..5db9a21e88e 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/education_assignment_item_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/education_assignment_item_request_builder.py @@ -113,7 +113,7 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -130,7 +130,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationAssignment] = None, request_configuration: Optional[EducationAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -149,7 +149,7 @@ def to_patch_request_information(self,body: Optional[EducationAssignment] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/users/item/assignments/item/grading_category/grading_category_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/grading_category/grading_category_request_builder.py index c69dc049bd9..83ada32ce45 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/grading_category/grading_category_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/grading_category/grading_category_request_builder.py @@ -80,7 +80,7 @@ def to_delete_request_information(self,request_configuration: Optional[GradingCa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GradingCategoryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -97,7 +97,7 @@ def to_get_request_information(self,request_configuration: Optional[GradingCateg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GradingCategoryRequestBuilder: diff --git a/msgraph_beta/generated/education/users/item/assignments/item/publish/publish_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/publish/publish_request_builder.py index 1048253af3b..7cc4f0941bf 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/publish/publish_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/publish/publish_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[PublishRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationAssignment]: """ - Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. When you call this API, educationSubmission objects are created and the assignment appears in the student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. To update the properties of a published assignment, see update an assignment. This API is available in the following national cloud deployments. + Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. When you call this API, educationSubmission objects are created and the assignment appears in the student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. To update the properties of a published assignment, see update an assignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignment] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-publish?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[PublishRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[PublishRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. When you call this API, educationSubmission objects are created and the assignment appears in the student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. To update the properties of a published assignment, see update an assignment. This API is available in the following national cloud deployments. + Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. When you call this API, educationSubmission objects are created and the assignment appears in the student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. To update the properties of a published assignment, see update an assignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[PublishRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PublishRequestBuilder: diff --git a/msgraph_beta/generated/education/users/item/assignments/item/resources/item/dependent_resources/dependent_resources_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/resources/item/dependent_resources/dependent_resources_request_builder.py index d64c660639d..f9cfb47e128 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/resources/item/dependent_resources/dependent_resources_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/resources/item/dependent_resources/dependent_resources_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DependentRes request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationAssignmentResource] = None, request_configuration: Optional[DependentResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[EducationAssignmentResource] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/users/item/assignments/item/resources/item/dependent_resources/item/education_assignment_resource_item_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/resources/item/dependent_resources/item/education_assignment_resource_item_request_builder.py index 44937ef59db..96bc2a606d1 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/resources/item/dependent_resources/item/education_assignment_resource_item_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/resources/item/dependent_resources/item/education_assignment_resource_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationAssignmentResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationAssignmentResource] = None, request_configuration: Optional[EducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[EducationAssignmentResource request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/users/item/assignments/item/resources/item/education_assignment_resource_item_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/resources/item/education_assignment_resource_item_request_builder.py index 70a45e2c325..fa426606432 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/resources/item/education_assignment_resource_item_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/resources/item/education_assignment_resource_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[EducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a specific educationAssignmentResource attached to an assignment. Only teachers in the class can remove a resource. After an assignment has been published to students, teachers can't remove resources that are marked as 'distributeToStudents'. This API is available in the following national cloud deployments. + Delete a specific educationAssignmentResource attached to an assignment. Only teachers in the class can remove a resource. After an assignment has been published to students, teachers can't remove resources that are marked as 'distributeToStudents'. 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/educationassignmentresource-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[EducationAssignmentResourc async def get(self,request_configuration: Optional[EducationAssignmentResourceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationAssignmentResource]: """ - Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignmentResource] Find more info here: https://learn.microsoft.com/graph/api/educationassignmentresource-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[EducationAssignmentResource] = None, request def to_delete_request_information(self,request_configuration: Optional[EducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a specific educationAssignmentResource attached to an assignment. Only teachers in the class can remove a resource. After an assignment has been published to students, teachers can't remove resources that are marked as 'distributeToStudents'. This API is available in the following national cloud deployments. + Delete a specific educationAssignmentResource attached to an assignment. Only teachers in the class can remove a resource. After an assignment has been published to students, teachers can't remove resources that are marked as 'distributeToStudents'. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationAssignmentResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationAssignmentResource] = None, request_configuration: Optional[EducationAssignmentResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[EducationAssignmentResource request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class EducationAssignmentResourceItemRequestBuilderDeleteRequestConfiguration(Ba @dataclass class EducationAssignmentResourceItemRequestBuilderGetQueryParameters(): """ - Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/users/item/assignments/item/resources/resources_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/resources/resources_request_builder.py index d3e44ba8be2..a2130a231ab 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/resources/resources_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/resources/resources_request_builder.py @@ -45,7 +45,7 @@ def by_education_assignment_resource_id(self,education_assignment_resource_id: s async def get(self,request_configuration: Optional[ResourcesRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationAssignmentResourceCollectionResponse]: """ - Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignmentResourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-list-resources?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ResourcesRequestBuilderGetReq async def post(self,body: Optional[EducationAssignmentResource] = None, request_configuration: Optional[ResourcesRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationAssignmentResource]: """ - Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. This API is available in the following national cloud deployments. + Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignmentResource] @@ -92,7 +92,7 @@ async def post(self,body: Optional[EducationAssignmentResource] = None, request_ def to_get_request_information(self,request_configuration: Optional[ResourcesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ResourcesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationAssignmentResource] = None, request_configuration: Optional[ResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. This API is available in the following national cloud deployments. + Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[EducationAssignmentResource] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ResourcesRequestBuilderGetQueryParameters(): """ - Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/users/item/assignments/item/rubric/ref/ref_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/rubric/ref/ref_request_builder.py index 7867ed5d666..deec2b614e6 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/rubric/ref/ref_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/rubric/ref/ref_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. This API is available in the following national cloud deployments. + Delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. 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/educationassignment-delete-rubric?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[str]: """ - Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[str] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-get-rubric?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def put(self,body: Optional[ReferenceUpdate] = None, request_configuration: Optional[RefRequestBuilderPutRequestConfiguration] = None) -> None: """ - Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -91,7 +91,7 @@ async def put(self,body: Optional[ReferenceUpdate] = None, request_configuration def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. This API is available in the following national cloud deployments. + Delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,12 +102,12 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -118,12 +118,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_put_request_information(self,body: Optional[ReferenceUpdate] = None, request_configuration: Optional[RefRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: """ - Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -137,7 +137,7 @@ def to_put_request_information(self,body: Optional[ReferenceUpdate] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/users/item/assignments/item/rubric/rubric_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/rubric/rubric_request_builder.py index edfd8ecd370..aef339036d1 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/rubric/rubric_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/rubric/rubric_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RubricRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. This API is available in the following national cloud deployments. + Delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. 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/educationassignment-delete-rubric?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RubricRequestBuilderDelete async def get(self,request_configuration: Optional[RubricRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationRubric]: """ - Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationRubric] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-get-rubric?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[RubricRequestBuilderGetReques async def patch(self,body: Optional[EducationRubric] = None, request_configuration: Optional[RubricRequestBuilderPatchRequestConfiguration] = None) -> Optional[EducationRubric]: """ - Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationRubric] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[EducationRubric] = None, request_configurati def to_delete_request_information(self,request_configuration: Optional[RubricRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. This API is available in the following national cloud deployments. + Delete an educationRubric from an educationAssignment. This method doesn't delete the rubric itself and can only be performed by teachers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[RubricReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RubricRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[RubricReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationRubric] = None, request_configuration: Optional[RubricRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[EducationRubric] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class RubricRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class RubricRequestBuilderGetQueryParameters(): """ - Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. This API is available in the following national cloud deployments. + Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/users/item/assignments/item/set_up_feedback_resources_folder/set_up_feedback_resources_folder_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/set_up_feedback_resources_folder/set_up_feedback_resources_folder_request_builder.py index 9485ecdeae6..df113a6c4f1 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/set_up_feedback_resources_folder/set_up_feedback_resources_folder_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/set_up_feedback_resources_folder/set_up_feedback_resources_folder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SetUpFeedbackResourcesFolderRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationAssignment]: """ - Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. This API is available in the following national cloud deployments. + Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignment] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-setupfeedbackresourcesfolder?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[SetUpFeedbackResourcesFolder def to_post_request_information(self,request_configuration: Optional[SetUpFeedbackResourcesFolderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. This API is available in the following national cloud deployments. + Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[SetUpFeedba request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetUpFeedbackResourcesFolderRequestBuilder: diff --git a/msgraph_beta/generated/education/users/item/assignments/item/set_up_resources_folder/set_up_resources_folder_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/set_up_resources_folder/set_up_resources_folder_request_builder.py index d65fc06a2b2..4eb1e57a79a 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/set_up_resources_folder/set_up_resources_folder_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/set_up_resources_folder/set_up_resources_folder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SetUpResourcesFolderRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationAssignment]: """ - Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. This API is available in the following national cloud deployments. + Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationAssignment] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-setupresourcesfolder?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[SetUpResourcesFolderRequestB def to_post_request_information(self,request_configuration: Optional[SetUpResourcesFolderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. This API is available in the following national cloud deployments. + Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[SetUpResour request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetUpResourcesFolderRequestBuilder: diff --git a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/education_submission_item_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/education_submission_item_request_builder.py index a1f28b3e6ae..e5be78940af 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/education_submission_item_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/education_submission_item_request_builder.py @@ -12,6 +12,7 @@ if TYPE_CHECKING: from ........models.education_submission import EducationSubmission from ........models.o_data_errors.o_data_error import ODataError + from .excuse.excuse_request_builder import ExcuseRequestBuilder from .outcomes.outcomes_request_builder import OutcomesRequestBuilder from .reassign.reassign_request_builder import ReassignRequestBuilder from .resources.resources_request_builder import ResourcesRequestBuilder @@ -55,7 +56,7 @@ async def delete(self,request_configuration: Optional[EducationSubmissionItemReq async def get(self,request_configuration: Optional[EducationSubmissionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationSubmission]: """ - Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmission] Find more info here: https://learn.microsoft.com/graph/api/educationsubmission-get?view=graph-rest-1.0 @@ -112,12 +113,12 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationSubmissionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -129,7 +130,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationSub request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationSubmission] = None, request_configuration: Optional[EducationSubmissionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -148,7 +149,7 @@ def to_patch_request_information(self,body: Optional[EducationSubmission] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -162,6 +163,15 @@ def with_url(self,raw_url: Optional[str] = None) -> EducationSubmissionItemReque raise TypeError("raw_url cannot be null.") return EducationSubmissionItemRequestBuilder(self.request_adapter, raw_url) + @property + def excuse(self) -> ExcuseRequestBuilder: + """ + Provides operations to call the excuse method. + """ + from .excuse.excuse_request_builder import ExcuseRequestBuilder + + return ExcuseRequestBuilder(self.request_adapter, self.path_parameters) + @property def outcomes(self) -> OutcomesRequestBuilder: """ @@ -247,7 +257,7 @@ class EducationSubmissionItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class EducationSubmissionItemRequestBuilderGetQueryParameters(): """ - Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/excuse/excuse_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/excuse/excuse_request_builder.py new file mode 100644 index 00000000000..d533fa4f2b4 --- /dev/null +++ b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/excuse/excuse_request_builder.py @@ -0,0 +1,87 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .........models.education_submission import EducationSubmission + from .........models.o_data_errors.o_data_error import ODataError + +class ExcuseRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the excuse method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ExcuseRequestBuilder 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}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/excuse", path_parameters) + + async def post(self,request_configuration: Optional[ExcuseRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationSubmission]: + """ + Excuse a submission. Excused submissions aren't included in average grade calculations. Grading rubrics and feedback are deleted. Only teachers can perform this action. If the Prefer: include-unknown-enum-members request header is provided, the excused submission retains the excused status. Otherwise, the submission status changes to returned. For more information about how to use this header, see the Examples section. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[EducationSubmission] + Find more info here: https://learn.microsoft.com/graph/api/educationsubmission-excuse?view=graph-rest-1.0 + """ + request_info = self.to_post_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.education_submission import EducationSubmission + + return await self.request_adapter.send_async(request_info, EducationSubmission, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[ExcuseRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Excuse a submission. Excused submissions aren't included in average grade calculations. Grading rubrics and feedback are deleted. Only teachers can perform this action. If the Prefer: include-unknown-enum-members request header is provided, the excused submission retains the excused status. Otherwise, the submission status changes to returned. For more information about how to use this header, see the Examples section. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> ExcuseRequestBuilder: + """ + 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: ExcuseRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ExcuseRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ExcuseRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/outcomes/item/education_outcome_item_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/outcomes/item/education_outcome_item_request_builder.py index 19869b7b273..fb48915db81 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/outcomes/item/education_outcome_item_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/outcomes/item/education_outcome_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[EducationOutcomeItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a feedback resource from a submission. This can only be done by a teacher. This API is available in the following national cloud deployments. + Delete a feedback resource from a submission. This can only be done by a teacher. 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/educationfeedbackresourceoutcome-delete?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[EducationOutcomeItemRequestBu async def patch(self,body: Optional[EducationOutcome] = None, request_configuration: Optional[EducationOutcomeItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[EducationOutcome]: """ - Update the properties of an educationOutcome object. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Update the properties of an educationOutcome object. Only teachers can perform this operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationOutcome] @@ -94,7 +94,7 @@ async def patch(self,body: Optional[EducationOutcome] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[EducationOutcomeItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a feedback resource from a submission. This can only be done by a teacher. This API is available in the following national cloud deployments. + Delete a feedback resource from a submission. This can only be done by a teacher. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationOutcomeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[EducationOut request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationOutcome] = None, request_configuration: Optional[EducationOutcomeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an educationOutcome object. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Update the properties of an educationOutcome object. Only teachers can perform this operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[EducationOutcome] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/outcomes/outcomes_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/outcomes/outcomes_request_builder.py index 749cf247c79..c2372c41d9e 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/outcomes/outcomes_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/outcomes/outcomes_request_builder.py @@ -45,7 +45,7 @@ def by_education_outcome_id(self,education_outcome_id: str) -> EducationOutcomeI async def get(self,request_configuration: Optional[OutcomesRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationOutcomeCollectionResponse]: """ - Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. This API is available in the following national cloud deployments. + Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationOutcomeCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationsubmission-list-outcomes?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[OutcomesRequestBuilderGetRequ async def post(self,body: Optional[EducationOutcome] = None, request_configuration: Optional[OutcomesRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationOutcome]: """ - Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or is not in that folder, the POST request will fail. This API is available in the following national cloud deployments. + Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or is not in that folder, the POST request will fail. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationOutcome] @@ -92,7 +92,7 @@ async def post(self,body: Optional[EducationOutcome] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[OutcomesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. This API is available in the following national cloud deployments. + Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[OutcomesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationOutcome] = None, request_configuration: Optional[OutcomesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or is not in that folder, the POST request will fail. This API is available in the following national cloud deployments. + Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or is not in that folder, the POST request will fail. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[EducationOutcome] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OutcomesRequestBuilderGetQueryParameters(): """ - Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. This API is available in the following national cloud deployments. + Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/reassign/reassign_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/reassign/reassign_request_builder.py index 9a6f8bd8dec..feddb1ba1bb 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/reassign/reassign_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/reassign/reassign_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ReassignRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationSubmission]: """ - Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmission] Find more info here: https://learn.microsoft.com/graph/api/educationsubmission-reassign?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[ReassignRequestBuilderPostRe def to_post_request_information(self,request_configuration: Optional[ReassignRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[ReassignReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReassignRequestBuilder: diff --git a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/resources/item/dependent_resources/dependent_resources_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/resources/item/dependent_resources/dependent_resources_request_builder.py index b6a4d8f8e75..c46989c4792 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/resources/item/dependent_resources/dependent_resources_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/resources/item/dependent_resources/dependent_resources_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DependentRes request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationSubmissionResource] = None, request_configuration: Optional[DependentResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[EducationSubmissionResource] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/resources/item/dependent_resources/item/education_submission_resource_item_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/resources/item/dependent_resources/item/education_submission_resource_item_request_builder.py index ddaaf0b5209..01b211d7f4a 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/resources/item/dependent_resources/item/education_submission_resource_item_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/resources/item/dependent_resources/item/education_submission_resource_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationSub request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationSubmissionResource] = None, request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[EducationSubmissionResource request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/resources/item/education_submission_resource_item_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/resources/item/education_submission_resource_item_request_builder.py index 575f8083361..01fb134dadd 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/resources/item/education_submission_resource_item_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/resources/item/education_submission_resource_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. This API is available in the following national cloud deployments. + Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. 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/educationsubmissionresource-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[EducationSubmissionResourc async def get(self,request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationSubmissionResource]: """ - Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. This API is available in the following national cloud deployments. + Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmissionResource] Find more info here: https://learn.microsoft.com/graph/api/educationsubmissionresource-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[EducationSubmissionResource] = None, request def to_delete_request_information(self,request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. This API is available in the following national cloud deployments. + Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource wasn't copied from the assignment but was added from the student, the resource is deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. This API is available in the following national cloud deployments. + Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationSub request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationSubmissionResource] = None, request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[EducationSubmissionResource request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class EducationSubmissionResourceItemRequestBuilderDeleteRequestConfiguration(Ba @dataclass class EducationSubmissionResourceItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. This API is available in the following national cloud deployments. + Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/resources/resources_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/resources/resources_request_builder.py index bf8fad1f935..9ac49e879df 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/resources/resources_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/resources/resources_request_builder.py @@ -45,7 +45,7 @@ def by_education_submission_resource_id(self,education_submission_resource_id: s async def get(self,request_configuration: Optional[ResourcesRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationSubmissionResourceCollectionResponse]: """ - List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. This API is available in the following national cloud deployments. + List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmissionResourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationsubmission-list-resources?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ResourcesRequestBuilderGetReq async def post(self,body: Optional[EducationSubmissionResource] = None, request_configuration: Optional[ResourcesRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationSubmissionResource]: """ - Add a educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. This API is available in the following national cloud deployments. + Add a educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmissionResource] @@ -92,7 +92,7 @@ async def post(self,body: Optional[EducationSubmissionResource] = None, request_ def to_get_request_information(self,request_configuration: Optional[ResourcesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. This API is available in the following national cloud deployments. + List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ResourcesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationSubmissionResource] = None, request_configuration: Optional[ResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. This API is available in the following national cloud deployments. + Add a educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[EducationSubmissionResource] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ResourcesRequestBuilderGetQueryParameters(): """ - List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. This API is available in the following national cloud deployments. + List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/return_/return_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/return_/return_request_builder.py index f2784afaac3..3708b5af0a4 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/return_/return_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/return_/return_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ReturnRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationSubmission]: """ - Make the grade and feedback associated with this submission available to the student. This will change the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. This API is available in the following national cloud deployments. + Make the grade and feedback associated with this submission available to the student. This will change the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmission] Find more info here: https://learn.microsoft.com/graph/api/educationsubmission-return?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[ReturnRequestBuilderPostRequ def to_post_request_information(self,request_configuration: Optional[ReturnRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Make the grade and feedback associated with this submission available to the student. This will change the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. This API is available in the following national cloud deployments. + Make the grade and feedback associated with this submission available to the student. This will change the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[ReturnReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReturnRequestBuilder: diff --git a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/set_up_resources_folder/set_up_resources_folder_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/set_up_resources_folder/set_up_resources_folder_request_builder.py index 85fc68451c4..9a7e78ac9ba 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/set_up_resources_folder/set_up_resources_folder_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/set_up_resources_folder/set_up_resources_folder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SetUpResourcesFolderRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationSubmission]: """ - Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. This API is available in the following national cloud deployments. + Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmission] Find more info here: https://learn.microsoft.com/graph/api/educationsubmission-setupresourcesfolder?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[SetUpResourcesFolderRequestB def to_post_request_information(self,request_configuration: Optional[SetUpResourcesFolderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. This API is available in the following national cloud deployments. + Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[SetUpResour request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetUpResourcesFolderRequestBuilder: diff --git a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/submit/submit_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/submit/submit_request_builder.py index 2f1d68a84ea..fcae8b08e2f 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/submit/submit_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/submit/submit_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SubmitRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationSubmission]: """ - Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. This API is available in the following national cloud deployments. + Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmission] Find more info here: https://learn.microsoft.com/graph/api/educationsubmission-submit?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[SubmitRequestBuilderPostRequ def to_post_request_information(self,request_configuration: Optional[SubmitRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. This API is available in the following national cloud deployments. + Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[SubmitReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SubmitRequestBuilder: diff --git a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/submitted_resources/item/dependent_resources/dependent_resources_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/submitted_resources/item/dependent_resources/dependent_resources_request_builder.py index ff339f36abf..326c6a02571 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/submitted_resources/item/dependent_resources/dependent_resources_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/submitted_resources/item/dependent_resources/dependent_resources_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DependentRes request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationSubmissionResource] = None, request_configuration: Optional[DependentResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[EducationSubmissionResource] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/submitted_resources/item/dependent_resources/item/education_submission_resource_item_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/submitted_resources/item/dependent_resources/item/education_submission_resource_item_request_builder.py index 57fe553febd..f8add99e345 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/submitted_resources/item/dependent_resources/item/education_submission_resource_item_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/submitted_resources/item/dependent_resources/item/education_submission_resource_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationSub request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationSubmissionResource] = None, request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[EducationSubmissionResource request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/submitted_resources/item/education_submission_resource_item_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/submitted_resources/item/education_submission_resource_item_request_builder.py index bef70560679..1a04c42790f 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/submitted_resources/item/education_submission_resource_item_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/submitted_resources/item/education_submission_resource_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationSub request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationSubmissionResource] = None, request_configuration: Optional[EducationSubmissionResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[EducationSubmissionResource request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/submitted_resources/submitted_resources_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/submitted_resources/submitted_resources_request_builder.py index 87caaf1defb..f01aa833428 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/submitted_resources/submitted_resources_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/submitted_resources/submitted_resources_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SubmittedRes request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationSubmissionResource] = None, request_configuration: Optional[SubmittedResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[EducationSubmissionResource] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/unsubmit/unsubmit_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/unsubmit/unsubmit_request_builder.py index 281dd42af4d..5d076590a9f 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/unsubmit/unsubmit_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/submissions/item/unsubmit/unsubmit_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UnsubmitRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationSubmission]: """ - Indicate that a student wants to work on the submitted assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. This API is available in the following national cloud deployments. + Indicate that a student wants to work on the submitted assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmission] Find more info here: https://learn.microsoft.com/graph/api/educationsubmission-unsubmit?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[UnsubmitRequestBuilderPostRe def to_post_request_information(self,request_configuration: Optional[UnsubmitRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Indicate that a student wants to work on the submitted assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. This API is available in the following national cloud deployments. + Indicate that a student wants to work on the submitted assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[UnsubmitReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnsubmitRequestBuilder: diff --git a/msgraph_beta/generated/education/users/item/assignments/item/submissions/submissions_request_builder.py b/msgraph_beta/generated/education/users/item/assignments/item/submissions/submissions_request_builder.py index cc0d48b6fef..4f8f828fb28 100644 --- a/msgraph_beta/generated/education/users/item/assignments/item/submissions/submissions_request_builder.py +++ b/msgraph_beta/generated/education/users/item/assignments/item/submissions/submissions_request_builder.py @@ -45,7 +45,7 @@ def by_education_submission_id(self,education_submission_id: str) -> EducationSu async def get(self,request_configuration: Optional[SubmissionsRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationSubmissionCollectionResponse]: """ - List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions, a student can only get submissions that they are associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions, a student can only get submissions that they're associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSubmissionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationassignment-list-submissions?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[EducationSubmission] = None, request_configur def to_get_request_information(self,request_configuration: Optional[SubmissionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions, a student can only get submissions that they are associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions, a student can only get submissions that they're associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SubmissionsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationSubmission] = None, request_configuration: Optional[SubmissionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[EducationSubmission] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SubmissionsRequestBuilderGetQueryParameters(): """ - List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions, a student can only get submissions that they are associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. This API is available in the following national cloud deployments. + List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions, a student can only get submissions that they're associated with. Provide the header Prefer: include-unknown-enum-members to properly list submissions with the reassigned status. For details, see the examples section. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/users/item/classes/classes_request_builder.py b/msgraph_beta/generated/education/users/item/classes/classes_request_builder.py index 422a7eec723..92f609ab067 100644 --- a/msgraph_beta/generated/education/users/item/classes/classes_request_builder.py +++ b/msgraph_beta/generated/education/users/item/classes/classes_request_builder.py @@ -44,7 +44,7 @@ def by_education_class_id(self,education_class_id: str) -> EducationClassItemReq async def get(self,request_configuration: Optional[ClassesRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationClassCollectionResponse]: """ - Get the educationClass resources an educationUser is a member of. This API is available in the following national cloud deployments. + Get the educationClass resources an educationUser is a member of. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationClassCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationuser-list-classes?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ClassesRequestBuilderGetReque def to_get_request_information(self,request_configuration: Optional[ClassesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the educationClass resources an educationUser is a member of. This API is available in the following national cloud deployments. + Get the educationClass resources an educationUser is a member of. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ClassesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ClassesRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ClassesRequestBuilderGetQueryParameters(): """ - Get the educationClass resources an educationUser is a member of. This API is available in the following national cloud deployments. + Get the educationClass resources an educationUser is a member of. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/users/item/classes/item/education_class_item_request_builder.py b/msgraph_beta/generated/education/users/item/classes/item/education_class_item_request_builder.py index 4744ea7d9d2..080e2ea0123 100644 --- a/msgraph_beta/generated/education/users/item/classes/item/education_class_item_request_builder.py +++ b/msgraph_beta/generated/education/users/item/classes/item/education_class_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationCla request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EducationClassItemRequestBuilder: diff --git a/msgraph_beta/generated/education/users/item/education_user_item_request_builder.py b/msgraph_beta/generated/education/users/item/education_user_item_request_builder.py index 77ae0c08321..3804c21bb2b 100644 --- a/msgraph_beta/generated/education/users/item/education_user_item_request_builder.py +++ b/msgraph_beta/generated/education/users/item/education_user_item_request_builder.py @@ -34,7 +34,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[EducationUserItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a user. This API is available in the following national cloud deployments. + Delete a user. 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/educationuser-delete?view=graph-rest-1.0 @@ -54,7 +54,7 @@ async def delete(self,request_configuration: Optional[EducationUserItemRequestBu async def get(self,request_configuration: Optional[EducationUserItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationUser]: """ - Retrieve the properties and relationships of a user. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationUser] Find more info here: https://learn.microsoft.com/graph/api/educationuser-get?view=graph-rest-1.0 @@ -76,11 +76,11 @@ async def get(self,request_configuration: Optional[EducationUserItemRequestBuild async def patch(self,body: Optional[EducationUser] = None, request_configuration: Optional[EducationUserItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[EducationUser]: """ - Update the properties of an educationuser object. This API is available in the following national cloud deployments. + Update the relatedContact collection of an educationUser object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationUser] - Find more info here: https://learn.microsoft.com/graph/api/educationuser-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/relatedcontact-update?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -101,7 +101,7 @@ async def patch(self,body: Optional[EducationUser] = None, request_configuration def to_delete_request_information(self,request_configuration: Optional[EducationUserItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a user. This API is available in the following national cloud deployments. + Delete a user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -112,12 +112,12 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationUserItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a user. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -129,12 +129,12 @@ def to_get_request_information(self,request_configuration: Optional[EducationUse request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationUser] = None, request_configuration: Optional[EducationUserItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an educationuser object. This API is available in the following national cloud deployments. + Update the relatedContact collection of an educationUser object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -148,7 +148,7 @@ def to_patch_request_information(self,body: Optional[EducationUser] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -229,7 +229,7 @@ class EducationUserItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class EducationUserItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a user. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a user. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/users/item/rubrics/item/education_rubric_item_request_builder.py b/msgraph_beta/generated/education/users/item/rubrics/item/education_rubric_item_request_builder.py index 0709f94ec5e..b2c0d979a31 100644 --- a/msgraph_beta/generated/education/users/item/rubrics/item/education_rubric_item_request_builder.py +++ b/msgraph_beta/generated/education/users/item/rubrics/item/education_rubric_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[EducationRubricItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an educationRubric object. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Delete an educationRubric object. Only teachers can perform this operation. 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/educationrubric-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[EducationRubricItemRequest async def get(self,request_configuration: Optional[EducationRubricItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationRubric]: """ - Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationRubric] Find more info here: https://learn.microsoft.com/graph/api/educationrubric-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[EducationRubricItemRequestBui async def patch(self,body: Optional[EducationRubric] = None, request_configuration: Optional[EducationRubricItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[EducationRubric]: """ - Update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/{id}/assignments/{id}/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/{id}/assignments/{id}/rubric, but it cannot be updated. This API is available in the following national cloud deployments. + Update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/{id}/assignments/{id}/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/{id}/assignments/{id}/rubric, but it cannot be updated. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationRubric] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[EducationRubric] = None, request_configurati def to_delete_request_information(self,request_configuration: Optional[EducationRubricItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an educationRubric object. Only teachers can perform this operation. This API is available in the following national cloud deployments. + Delete an educationRubric object. Only teachers can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationRubricItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[EducationRub request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationRubric] = None, request_configuration: Optional[EducationRubricItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/{id}/assignments/{id}/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/{id}/assignments/{id}/rubric, but it cannot be updated. This API is available in the following national cloud deployments. + Update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/{id}/assignments/{id}/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/{id}/assignments/{id}/rubric, but it cannot be updated. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[EducationRubric] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class EducationRubricItemRequestBuilderDeleteRequestConfiguration(BaseRequestCon @dataclass class EducationRubricItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/users/item/rubrics/rubrics_request_builder.py b/msgraph_beta/generated/education/users/item/rubrics/rubrics_request_builder.py index 285973b1c61..df09d3947cf 100644 --- a/msgraph_beta/generated/education/users/item/rubrics/rubrics_request_builder.py +++ b/msgraph_beta/generated/education/users/item/rubrics/rubrics_request_builder.py @@ -45,7 +45,7 @@ def by_education_rubric_id(self,education_rubric_id: str) -> EducationRubricItem async def get(self,request_configuration: Optional[RubricsRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationRubricCollectionResponse]: """ - Retrieve a list of educationRubric objects. This API is available in the following national cloud deployments. + Retrieve a list of educationRubric objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationRubricCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationuser-list-rubrics?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RubricsRequestBuilderGetReque async def post(self,body: Optional[EducationRubric] = None, request_configuration: Optional[RubricsRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationRubric]: """ - Create a new educationRubric object. This API is available in the following national cloud deployments. + Create a new educationRubric object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationRubric] @@ -92,7 +92,7 @@ async def post(self,body: Optional[EducationRubric] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RubricsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of educationRubric objects. This API is available in the following national cloud deployments. + Retrieve a list of educationRubric objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[RubricsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationRubric] = None, request_configuration: Optional[RubricsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new educationRubric object. This API is available in the following national cloud deployments. + Create a new educationRubric object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[EducationRubric] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RubricsRequestBuilderGetQueryParameters(): """ - Retrieve a list of educationRubric objects. This API is available in the following national cloud deployments. + Retrieve a list of educationRubric objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/users/item/schools/item/education_school_item_request_builder.py b/msgraph_beta/generated/education/users/item/schools/item/education_school_item_request_builder.py index 17e3ad64b60..c06fb6bb747 100644 --- a/msgraph_beta/generated/education/users/item/schools/item/education_school_item_request_builder.py +++ b/msgraph_beta/generated/education/users/item/schools/item/education_school_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationSch request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EducationSchoolItemRequestBuilder: diff --git a/msgraph_beta/generated/education/users/item/schools/schools_request_builder.py b/msgraph_beta/generated/education/users/item/schools/schools_request_builder.py index fdf91ea0b58..5e84a2c6697 100644 --- a/msgraph_beta/generated/education/users/item/schools/schools_request_builder.py +++ b/msgraph_beta/generated/education/users/item/schools/schools_request_builder.py @@ -44,7 +44,7 @@ def by_education_school_id(self,education_school_id: str) -> EducationSchoolItem async def get(self,request_configuration: Optional[SchoolsRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationSchoolCollectionResponse]: """ - Retrieve a list of schools for a user. This API is available in the following national cloud deployments. + Retrieve a list of schools for a user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationSchoolCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationuser-list-schools?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[SchoolsRequestBuilderGetReque def to_get_request_information(self,request_configuration: Optional[SchoolsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of schools for a user. This API is available in the following national cloud deployments. + Retrieve a list of schools for a user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[SchoolsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SchoolsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SchoolsRequestBuilderGetQueryParameters(): """ - Retrieve a list of schools for a user. This API is available in the following national cloud deployments. + Retrieve a list of schools for a user. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/users/item/taught_classes/item/education_class_item_request_builder.py b/msgraph_beta/generated/education/users/item/taught_classes/item/education_class_item_request_builder.py index fa07c66345e..9de73aa73d3 100644 --- a/msgraph_beta/generated/education/users/item/taught_classes/item/education_class_item_request_builder.py +++ b/msgraph_beta/generated/education/users/item/taught_classes/item/education_class_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[EducationCla request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EducationClassItemRequestBuilder: diff --git a/msgraph_beta/generated/education/users/item/taught_classes/taught_classes_request_builder.py b/msgraph_beta/generated/education/users/item/taught_classes/taught_classes_request_builder.py index c8529210bb9..a365e6d2f61 100644 --- a/msgraph_beta/generated/education/users/item/taught_classes/taught_classes_request_builder.py +++ b/msgraph_beta/generated/education/users/item/taught_classes/taught_classes_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[TaughtClasse request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaughtClassesRequestBuilder: diff --git a/msgraph_beta/generated/education/users/item/user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/education/users/item/user/mailbox_settings/mailbox_settings_request_builder.py index b289c556b56..c60ae7086dc 100644 --- a/msgraph_beta/generated/education/users/item/user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/education/users/item/user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/education/users/item/user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/education/users/item/user/service_provisioning_errors/service_provisioning_errors_request_builder.py index f8fdfcab58c..b4c5c03f63b 100644 --- a/msgraph_beta/generated/education/users/item/user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/education/users/item/user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/users/item/user/user_request_builder.py b/msgraph_beta/generated/education/users/item/user/user_request_builder.py index 4a247d48081..40b8ffa73fe 100644 --- a/msgraph_beta/generated/education/users/item/user/user_request_builder.py +++ b/msgraph_beta/generated/education/users/item/user/user_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[UserRequestBuilderGetRequestConfiguration] = None) -> Optional[User]: """ - Retrieve the simple directory user that corresponds to this educationUser. This API is available in the following national cloud deployments. + Retrieve the simple directory user that corresponds to this educationUser. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] Find more info here: https://learn.microsoft.com/graph/api/educationuser-get-user?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[UserRequestBuilderGetRequestC def to_get_request_information(self,request_configuration: Optional[UserRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the simple directory user that corresponds to this educationUser. This API is available in the following national cloud deployments. + Retrieve the simple directory user that corresponds to this educationUser. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[UserRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserRequestBuilder: @@ -98,7 +98,7 @@ def service_provisioning_errors(self) -> ServiceProvisioningErrorsRequestBuilder @dataclass class UserRequestBuilderGetQueryParameters(): """ - Retrieve the simple directory user that corresponds to this educationUser. This API is available in the following national cloud deployments. + Retrieve the simple directory user that corresponds to this educationUser. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/education/users/users_request_builder.py b/msgraph_beta/generated/education/users/users_request_builder.py index 1d6d646d38e..cc5967e0274 100644 --- a/msgraph_beta/generated/education/users/users_request_builder.py +++ b/msgraph_beta/generated/education/users/users_request_builder.py @@ -46,7 +46,7 @@ def by_education_user_id(self,education_user_id: str) -> EducationUserItemReques async def get(self,request_configuration: Optional[UsersRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationUserCollectionResponse]: """ - Retrieve a list of user objects. These user objects will include education-specific properties. This API is available in the following national cloud deployments. + Retrieve a list of user objects. These user objects will include education-specific properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationUserCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/educationroot-list-users?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[UsersRequestBuilderGetRequest async def post(self,body: Optional[EducationUser] = None, request_configuration: Optional[UsersRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationUser]: """ - Create a new user. This API is available in the following national cloud deployments. + Create a new user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationUser] @@ -93,7 +93,7 @@ async def post(self,body: Optional[EducationUser] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[UsersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of user objects. These user objects will include education-specific properties. This API is available in the following national cloud deployments. + Retrieve a list of user objects. These user objects will include education-specific properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[UsersRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationUser] = None, request_configuration: Optional[UsersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new user. This API is available in the following national cloud deployments. + Create a new user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[EducationUser] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class UsersRequestBuilderGetQueryParameters(): """ - Retrieve a list of user objects. These user objects will include education-specific properties. This API is available in the following national cloud deployments. + Retrieve a list of user objects. These user objects will include education-specific properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/employee_experience/communities/communities_request_builder.py b/msgraph_beta/generated/employee_experience/communities/communities_request_builder.py new file mode 100644 index 00000000000..c1cf84a45e6 --- /dev/null +++ b/msgraph_beta/generated/employee_experience/communities/communities_request_builder.py @@ -0,0 +1,227 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + 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): + """ + Provides operations to manage the communities property of the microsoft.graph.employeeExperience entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new CommunitiesRequestBuilder 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/communities{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_community_id(self,community_id: str) -> CommunityItemRequestBuilder: + """ + Provides operations to manage the communities property of the microsoft.graph.employeeExperience entity. + param community_id: The unique identifier of community + Returns: CommunityItemRequestBuilder + """ + if not community_id: + raise TypeError("community_id cannot be null.") + from .item.community_item_request_builder import CommunityItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["community%2Did"] = community_id + return CommunityItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[CommunitiesRequestBuilderGetRequestConfiguration] = None) -> Optional[CommunityCollectionResponse]: + """ + Read the properties and relationships of a community object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[CommunityCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...models.community_collection_response import CommunityCollectionResponse + + return await self.request_adapter.send_async(request_info, CommunityCollectionResponse, error_mapping) + + async def post(self,body: Optional[Community] = None, request_configuration: Optional[CommunitiesRequestBuilderPostRequestConfiguration] = None) -> Optional[Community]: + """ + Create a new community in Viva Engage. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[Community] + Find more info here: https://learn.microsoft.com/graph/api/employeeexperience-post-communities?view=graph-rest-1.0 + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...models.community import Community + + return await self.request_adapter.send_async(request_info, Community, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[CommunitiesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Read the properties and relationships of a community object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[Community] = None, request_configuration: Optional[CommunitiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create a new community in Viva Engage. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> CommunitiesRequestBuilder: + """ + 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: CommunitiesRequestBuilder + """ + if not raw_url: + 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(): + """ + Read the properties and relationships of a community object. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CommunitiesRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CommunitiesRequestBuilder.CommunitiesRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CommunitiesRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/employee_experience/communities/count/count_request_builder.py b/msgraph_beta/generated/employee_experience/communities/count/count_request_builder.py new file mode 100644 index 00000000000..bf8b9aa6316 --- /dev/null +++ b/msgraph_beta/generated/employee_experience/communities/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/employeeExperience/communities/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/employee_experience/communities/item/community_item_request_builder.py b/msgraph_beta/generated/employee_experience/communities/item/community_item_request_builder.py new file mode 100644 index 00000000000..9c093ecfaae --- /dev/null +++ b/msgraph_beta/generated/employee_experience/communities/item/community_item_request_builder.py @@ -0,0 +1,236 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.community import Community + from ....models.o_data_errors.o_data_error import ODataError + from .group.group_request_builder import GroupRequestBuilder + from .owners.owners_request_builder import OwnersRequestBuilder + +class CommunityItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the communities property of the microsoft.graph.employeeExperience entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new CommunityItemRequestBuilder 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/communities/{community%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[CommunityItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property communities 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CommunityItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Community]: + """ + Read the properties and relationships of a community object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[Community] + Find more info here: https://learn.microsoft.com/graph/api/community-get?view=graph-rest-1.0 + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.community import Community + + return await self.request_adapter.send_async(request_info, Community, error_mapping) + + async def patch(self,body: Optional[Community] = None, request_configuration: Optional[CommunityItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Community]: + """ + Update the navigation property communities in employeeExperience + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[Community] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.community import Community + + return await self.request_adapter.send_async(request_info, Community, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[CommunityItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property communities for employeeExperience + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[CommunityItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Read the properties and relationships of a community object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[Community] = None, request_configuration: Optional[CommunityItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property communities 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 not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> CommunityItemRequestBuilder: + """ + 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: CommunityItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return CommunityItemRequestBuilder(self.request_adapter, raw_url) + + @property + def group(self) -> GroupRequestBuilder: + """ + Provides operations to manage the group property of the microsoft.graph.community entity. + """ + from .group.group_request_builder import GroupRequestBuilder + + return GroupRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def owners(self) -> OwnersRequestBuilder: + """ + Provides operations to manage the owners property of the microsoft.graph.community entity. + """ + from .owners.owners_request_builder import OwnersRequestBuilder + + return OwnersRequestBuilder(self.request_adapter, self.path_parameters) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CommunityItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class CommunityItemRequestBuilderGetQueryParameters(): + """ + Read the properties and relationships of a community object. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CommunityItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CommunityItemRequestBuilder.CommunityItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CommunityItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/employee_experience/communities/item/group/group_request_builder.py b/msgraph_beta/generated/employee_experience/communities/item/group/group_request_builder.py new file mode 100644 index 00000000000..bc2eb27ad20 --- /dev/null +++ b/msgraph_beta/generated/employee_experience/communities/item/group/group_request_builder.py @@ -0,0 +1,126 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.group import Group + from .....models.o_data_errors.o_data_error import ODataError + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + +class GroupRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the group property of the microsoft.graph.community entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new GroupRequestBuilder 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/communities/{community%2Did}/group{?%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[GroupRequestBuilderGetRequestConfiguration] = None) -> Optional[Group]: + """ + The Microsoft 365 group that manages the membership of this community. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[Group] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.group import Group + + return await self.request_adapter.send_async(request_info, Group, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[GroupRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + The Microsoft 365 group that manages the membership of this community. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> GroupRequestBuilder: + """ + 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: GroupRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GroupRequestBuilder(self.request_adapter, raw_url) + + @property + def service_provisioning_errors(self) -> ServiceProvisioningErrorsRequestBuilder: + """ + The serviceProvisioningErrors property + """ + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class GroupRequestBuilderGetQueryParameters(): + """ + The Microsoft 365 group that manages the membership of this community. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GroupRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[GroupRequestBuilder.GroupRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/employee_experience/communities/item/group/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/employee_experience/communities/item/group/service_provisioning_errors/count/count_request_builder.py new file mode 100644 index 00000000000..ff1a5d42a78 --- /dev/null +++ b/msgraph_beta/generated/employee_experience/communities/item/group/service_provisioning_errors/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/employeeExperience/communities/{community%2Did}/group/serviceProvisioningErrors/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/employee_experience/communities/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/employee_experience/communities/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py new file mode 100644 index 00000000000..8238849a885 --- /dev/null +++ b/msgraph_beta/generated/employee_experience/communities/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -0,0 +1,156 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from ......models.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + from .count.count_request_builder import CountRequestBuilder + +class ServiceProvisioningErrorsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /employeeExperience/communities/{community-id}/group/serviceProvisioningErrors + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ServiceProvisioningErrorsRequestBuilder 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/communities/{community%2Did}/group/serviceProvisioningErrors{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: + """ + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ServiceProvisioningErrorCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + + return await self.request_adapter.send_async(request_info, ServiceProvisioningErrorCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: + """ + 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: ServiceProvisioningErrorsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ServiceProvisioningErrorsRequestBuilder(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 ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): + """ + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/employee_experience/communities/item/owners/count/count_request_builder.py b/msgraph_beta/generated/employee_experience/communities/item/owners/count/count_request_builder.py new file mode 100644 index 00000000000..26aa4f3652d --- /dev/null +++ b/msgraph_beta/generated/employee_experience/communities/item/owners/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/employeeExperience/communities/{community%2Did}/owners/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/employee_experience/communities/item/owners/item/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/employee_experience/communities/item/owners/item/mailbox_settings/mailbox_settings_request_builder.py new file mode 100644 index 00000000000..5d30c0e0212 --- /dev/null +++ b/msgraph_beta/generated/employee_experience/communities/item/owners/item/mailbox_settings/mailbox_settings_request_builder.py @@ -0,0 +1,170 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.mailbox_settings import MailboxSettings + from .......models.o_data_errors.o_data_error import ODataError + +class MailboxSettingsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /employeeExperience/communities/{community-id}/owners/{user-id}/mailboxSettings + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new MailboxSettingsRequestBuilder 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/communities/{community%2Did}/owners/{user%2Did}/mailboxSettings{?%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[MailboxSettingsRequestBuilderGetRequestConfiguration] = None) -> Optional[MailboxSettings]: + """ + Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + async def patch(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> Optional[MailboxSettings]: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[MailboxSettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> MailboxSettingsRequestBuilder: + """ + 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: MailboxSettingsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MailboxSettingsRequestBuilderGetQueryParameters(): + """ + Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class MailboxSettingsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class MailboxSettingsRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/employee_experience/communities/item/owners/item/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/employee_experience/communities/item/owners/item/service_provisioning_errors/count/count_request_builder.py new file mode 100644 index 00000000000..0594cc971dd --- /dev/null +++ b/msgraph_beta/generated/employee_experience/communities/item/owners/item/service_provisioning_errors/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/employeeExperience/communities/{community%2Did}/owners/{user%2Did}/serviceProvisioningErrors/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/employee_experience/communities/item/owners/item/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/employee_experience/communities/item/owners/item/service_provisioning_errors/service_provisioning_errors_request_builder.py new file mode 100644 index 00000000000..c229bc64343 --- /dev/null +++ b/msgraph_beta/generated/employee_experience/communities/item/owners/item/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -0,0 +1,156 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .......models.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + from .count.count_request_builder import CountRequestBuilder + +class ServiceProvisioningErrorsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /employeeExperience/communities/{community-id}/owners/{user-id}/serviceProvisioningErrors + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ServiceProvisioningErrorsRequestBuilder 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/communities/{community%2Did}/owners/{user%2Did}/serviceProvisioningErrors{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: + """ + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ServiceProvisioningErrorCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + + return await self.request_adapter.send_async(request_info, ServiceProvisioningErrorCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: + """ + 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: ServiceProvisioningErrorsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ServiceProvisioningErrorsRequestBuilder(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 ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): + """ + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/employee_experience/communities/item/owners/item/user_item_request_builder.py b/msgraph_beta/generated/employee_experience/communities/item/owners/item/user_item_request_builder.py new file mode 100644 index 00000000000..dfd0f721dcd --- /dev/null +++ b/msgraph_beta/generated/employee_experience/communities/item/owners/item/user_item_request_builder.py @@ -0,0 +1,136 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from ......models.user import User + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + +class UserItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the owners property of the microsoft.graph.community entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new UserItemRequestBuilder 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/communities/{community%2Did}/owners/{user%2Did}{?%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[UserItemRequestBuilderGetRequestConfiguration] = None) -> Optional[User]: + """ + The admins of the community. Limited to 100 users. If this property isn't specified when you create the community, the calling user is automatically assigned as the community owner. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[User] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.user import User + + return await self.request_adapter.send_async(request_info, User, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[UserItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + The admins of the community. Limited to 100 users. If this property isn't specified when you create the community, the calling user is automatically assigned as the community owner. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> UserItemRequestBuilder: + """ + 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: UserItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return UserItemRequestBuilder(self.request_adapter, raw_url) + + @property + def mailbox_settings(self) -> MailboxSettingsRequestBuilder: + """ + The mailboxSettings property + """ + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + + return MailboxSettingsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def service_provisioning_errors(self) -> ServiceProvisioningErrorsRequestBuilder: + """ + The serviceProvisioningErrors property + """ + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class UserItemRequestBuilderGetQueryParameters(): + """ + The admins of the community. Limited to 100 users. If this property isn't specified when you create the community, the calling user is automatically assigned as the community owner. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class UserItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[UserItemRequestBuilder.UserItemRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/employee_experience/communities/item/owners/owners_request_builder.py b/msgraph_beta/generated/employee_experience/communities/item/owners/owners_request_builder.py new file mode 100644 index 00000000000..a01e5b12b6b --- /dev/null +++ b/msgraph_beta/generated/employee_experience/communities/item/owners/owners_request_builder.py @@ -0,0 +1,171 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.user_collection_response import UserCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.user_item_request_builder import UserItemRequestBuilder + +class OwnersRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the owners property of the microsoft.graph.community entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new OwnersRequestBuilder 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/communities/{community%2Did}/owners{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_user_id(self,user_id: str) -> UserItemRequestBuilder: + """ + Provides operations to manage the owners property of the microsoft.graph.community entity. + param user_id: The unique identifier of user + Returns: UserItemRequestBuilder + """ + if not user_id: + raise TypeError("user_id cannot be null.") + from .item.user_item_request_builder import UserItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["user%2Did"] = user_id + return UserItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[OwnersRequestBuilderGetRequestConfiguration] = None) -> Optional[UserCollectionResponse]: + """ + The admins of the community. Limited to 100 users. If this property isn't specified when you create the community, the calling user is automatically assigned as the community owner. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[UserCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.user_collection_response import UserCollectionResponse + + return await self.request_adapter.send_async(request_info, UserCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[OwnersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + The admins of the community. Limited to 100 users. If this property isn't specified when you create the community, the calling user is automatically assigned as the community owner. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> OwnersRequestBuilder: + """ + 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: OwnersRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return OwnersRequestBuilder(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 OwnersRequestBuilderGetQueryParameters(): + """ + The admins of the community. Limited to 100 users. If this property isn't specified when you create the community, the calling user is automatically assigned as the community owner. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class OwnersRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[OwnersRequestBuilder.OwnersRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/employee_experience/employee_experience_request_builder.py b/msgraph_beta/generated/employee_experience/employee_experience_request_builder.py index 79d2e485ec2..a86cd758376 100644 --- a/msgraph_beta/generated/employee_experience/employee_experience_request_builder.py +++ b/msgraph_beta/generated/employee_experience/employee_experience_request_builder.py @@ -12,6 +12,9 @@ if TYPE_CHECKING: from ..models.employee_experience import EmployeeExperience from ..models.o_data_errors.o_data_error import ODataError + from .communities.communities_request_builder import CommunitiesRequestBuilder + from .engagement_async_operations.engagement_async_operations_request_builder import EngagementAsyncOperationsRequestBuilder + from .goals.goals_request_builder import GoalsRequestBuilder from .learning_course_activities.learning_course_activities_request_builder import LearningCourseActivitiesRequestBuilder from .learning_providers.learning_providers_request_builder import LearningProvidersRequestBuilder @@ -26,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/employeeExperience{?%24select,%24expand}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/employeeExperience{?%24select}", path_parameters) async def get(self,request_configuration: Optional[EmployeeExperienceRequestBuilderGetRequestConfiguration] = None) -> Optional[EmployeeExperience]: """ @@ -87,7 +90,7 @@ def to_get_request_information(self,request_configuration: Optional[EmployeeExpe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EmployeeExperience] = None, request_configuration: Optional[EmployeeExperienceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -106,7 +109,7 @@ def to_patch_request_information(self,body: Optional[EmployeeExperience] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -120,6 +123,33 @@ def with_url(self,raw_url: Optional[str] = None) -> EmployeeExperienceRequestBui raise TypeError("raw_url cannot be null.") return EmployeeExperienceRequestBuilder(self.request_adapter, raw_url) + @property + def communities(self) -> CommunitiesRequestBuilder: + """ + Provides operations to manage the communities property of the microsoft.graph.employeeExperience entity. + """ + from .communities.communities_request_builder import CommunitiesRequestBuilder + + return CommunitiesRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def engagement_async_operations(self) -> EngagementAsyncOperationsRequestBuilder: + """ + Provides operations to manage the engagementAsyncOperations property of the microsoft.graph.employeeExperience entity. + """ + from .engagement_async_operations.engagement_async_operations_request_builder import EngagementAsyncOperationsRequestBuilder + + return EngagementAsyncOperationsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def goals(self) -> GoalsRequestBuilder: + """ + Provides operations to manage the goals property of the microsoft.graph.employeeExperience entity. + """ + from .goals.goals_request_builder import GoalsRequestBuilder + + return GoalsRequestBuilder(self.request_adapter, self.path_parameters) + @property def learning_course_activities(self) -> LearningCourseActivitiesRequestBuilder: """ @@ -151,15 +181,10 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ if not original_name: 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 diff --git a/msgraph_beta/generated/employee_experience/engagement_async_operations/count/count_request_builder.py b/msgraph_beta/generated/employee_experience/engagement_async_operations/count/count_request_builder.py new file mode 100644 index 00000000000..0e198e55d14 --- /dev/null +++ b/msgraph_beta/generated/employee_experience/engagement_async_operations/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/employeeExperience/engagementAsyncOperations/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + 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 new file mode 100644 index 00000000000..49be81896d5 --- /dev/null +++ b/msgraph_beta/generated/employee_experience/engagement_async_operations/engagement_async_operations_request_builder.py @@ -0,0 +1,226 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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): + """ + Provides operations to manage the engagementAsyncOperations property of the microsoft.graph.employeeExperience entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new EngagementAsyncOperationsRequestBuilder 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/engagementAsyncOperations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_engagement_async_operation_id(self,engagement_async_operation_id: str) -> EngagementAsyncOperationItemRequestBuilder: + """ + Provides operations to manage the engagementAsyncOperations property of the microsoft.graph.employeeExperience entity. + param engagement_async_operation_id: The unique identifier of engagementAsyncOperation + Returns: EngagementAsyncOperationItemRequestBuilder + """ + if not engagement_async_operation_id: + raise TypeError("engagement_async_operation_id cannot be null.") + from .item.engagement_async_operation_item_request_builder import EngagementAsyncOperationItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["engagementAsyncOperation%2Did"] = engagement_async_operation_id + return EngagementAsyncOperationItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[EngagementAsyncOperationsRequestBuilderGetRequestConfiguration] = None) -> Optional[EngagementAsyncOperationCollectionResponse]: + """ + Get an engagementAsyncOperation to track a long-running operation request. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[EngagementAsyncOperationCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...models.engagement_async_operation_collection_response import EngagementAsyncOperationCollectionResponse + + return await self.request_adapter.send_async(request_info, EngagementAsyncOperationCollectionResponse, error_mapping) + + async def post(self,body: Optional[EngagementAsyncOperation] = None, request_configuration: Optional[EngagementAsyncOperationsRequestBuilderPostRequestConfiguration] = 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 not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[EngagementAsyncOperationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get an engagementAsyncOperation to track a long-running operation request. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[EngagementAsyncOperation] = None, request_configuration: Optional[EngagementAsyncOperationsRequestBuilderPostRequestConfiguration] = 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 not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> EngagementAsyncOperationsRequestBuilder: + """ + 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: EngagementAsyncOperationsRequestBuilder + """ + if not raw_url: + 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(): + """ + Get an engagementAsyncOperation to track a long-running operation request. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class EngagementAsyncOperationsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[EngagementAsyncOperationsRequestBuilder.EngagementAsyncOperationsRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class EngagementAsyncOperationsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + 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 new file mode 100644 index 00000000000..c03703cea88 --- /dev/null +++ b/msgraph_beta/generated/employee_experience/engagement_async_operations/item/engagement_async_operation_item_request_builder.py @@ -0,0 +1,216 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.engagement_async_operation import EngagementAsyncOperation + from ....models.o_data_errors.o_data_error import ODataError + +class EngagementAsyncOperationItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the engagementAsyncOperations property of the microsoft.graph.employeeExperience entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new EngagementAsyncOperationItemRequestBuilder 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/engagementAsyncOperations/{engagementAsyncOperation%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[EngagementAsyncOperationItemRequestBuilderDeleteRequestConfiguration] = 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[EngagementAsyncOperationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EngagementAsyncOperation]: + """ + Get an engagementAsyncOperation to track a long-running operation request. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[EngagementAsyncOperation] + Find more info here: https://learn.microsoft.com/graph/api/engagementasyncoperation-get?view=graph-rest-1.0 + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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) + + async def patch(self,body: Optional[EngagementAsyncOperation] = None, request_configuration: Optional[EngagementAsyncOperationItemRequestBuilderPatchRequestConfiguration] = 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 not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[EngagementAsyncOperationItemRequestBuilderDeleteRequestConfiguration] = 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() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[EngagementAsyncOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get an engagementAsyncOperation to track a long-running operation request. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[EngagementAsyncOperation] = None, request_configuration: Optional[EngagementAsyncOperationItemRequestBuilderPatchRequestConfiguration] = 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 not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> EngagementAsyncOperationItemRequestBuilder: + """ + 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: EngagementAsyncOperationItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return EngagementAsyncOperationItemRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class EngagementAsyncOperationItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class EngagementAsyncOperationItemRequestBuilderGetQueryParameters(): + """ + Get an engagementAsyncOperation to track a long-running operation request. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class EngagementAsyncOperationItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[EngagementAsyncOperationItemRequestBuilder.EngagementAsyncOperationItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class EngagementAsyncOperationItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/employee_experience/goals/export_jobs/count/count_request_builder.py b/msgraph_beta/generated/employee_experience/goals/export_jobs/count/count_request_builder.py new file mode 100644 index 00000000000..20bebec4787 --- /dev/null +++ b/msgraph_beta/generated/employee_experience/goals/export_jobs/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/employeeExperience/goals/exportJobs/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/employee_experience/goals/export_jobs/export_jobs_request_builder.py b/msgraph_beta/generated/employee_experience/goals/export_jobs/export_jobs_request_builder.py new file mode 100644 index 00000000000..e7c551f90b5 --- /dev/null +++ b/msgraph_beta/generated/employee_experience/goals/export_jobs/export_jobs_request_builder.py @@ -0,0 +1,228 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.goals_export_job import GoalsExportJob + from ....models.goals_export_job_collection_response import GoalsExportJobCollectionResponse + from ....models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.goals_export_job_item_request_builder import GoalsExportJobItemRequestBuilder + +class ExportJobsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the exportJobs property of the microsoft.graph.goals entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ExportJobsRequestBuilder 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/goals/exportJobs{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_goals_export_job_id(self,goals_export_job_id: str) -> GoalsExportJobItemRequestBuilder: + """ + Provides operations to manage the exportJobs property of the microsoft.graph.goals entity. + param goals_export_job_id: The unique identifier of goalsExportJob + Returns: GoalsExportJobItemRequestBuilder + """ + if not goals_export_job_id: + raise TypeError("goals_export_job_id cannot be null.") + from .item.goals_export_job_item_request_builder import GoalsExportJobItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["goalsExportJob%2Did"] = goals_export_job_id + return GoalsExportJobItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[ExportJobsRequestBuilderGetRequestConfiguration] = None) -> Optional[GoalsExportJobCollectionResponse]: + """ + Get a list of goalsExportJob objects and their properties in a Viva Goals organization. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[GoalsExportJobCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/goals-list-exportjobs?view=graph-rest-1.0 + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.goals_export_job_collection_response import GoalsExportJobCollectionResponse + + return await self.request_adapter.send_async(request_info, GoalsExportJobCollectionResponse, error_mapping) + + async def post(self,body: Optional[GoalsExportJob] = None, request_configuration: Optional[ExportJobsRequestBuilderPostRequestConfiguration] = None) -> Optional[GoalsExportJob]: + """ + Create a new goalsExportJob object in a Viva Goals organization. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[GoalsExportJob] + Find more info here: https://learn.microsoft.com/graph/api/goals-post-exportjobs?view=graph-rest-1.0 + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.goals_export_job import GoalsExportJob + + return await self.request_adapter.send_async(request_info, GoalsExportJob, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[ExportJobsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get a list of goalsExportJob objects and their properties in a Viva Goals organization. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[GoalsExportJob] = None, request_configuration: Optional[ExportJobsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create a new goalsExportJob object in a Viva Goals organization. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> ExportJobsRequestBuilder: + """ + 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: ExportJobsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ExportJobsRequestBuilder(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 ExportJobsRequestBuilderGetQueryParameters(): + """ + Get a list of goalsExportJob objects and their properties in a Viva Goals organization. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ExportJobsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[ExportJobsRequestBuilder.ExportJobsRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ExportJobsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/recordings/item/content/content_request_builder.py b/msgraph_beta/generated/employee_experience/goals/export_jobs/item/content/content_request_builder.py similarity index 85% rename from msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/recordings/item/content/content_request_builder.py rename to msgraph_beta/generated/employee_experience/goals/export_jobs/item/content/content_request_builder.py index 2c4abd662ac..55bbe3c12af 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/recordings/item/content/content_request_builder.py +++ b/msgraph_beta/generated/employee_experience/goals/export_jobs/item/content/content_request_builder.py @@ -10,12 +10,12 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ..........models.call_recording import CallRecording - from ..........models.o_data_errors.o_data_error import ODataError + from ......models.goals_export_job import GoalsExportJob + from ......models.o_data_errors.o_data_error import ODataError class ContentRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the media for the solutionsRoot entity. + Provides operations to manage the media for the employeeExperience entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ @@ -24,18 +24,19 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/recordings/{callRecording%2Did}/content", path_parameters) + super().__init__(request_adapter, "{+baseurl}/employeeExperience/goals/exportJobs/{goalsExportJob%2Did}/content", path_parameters) async def get(self,request_configuration: Optional[ContentRequestBuilderGetRequestConfiguration] = None) -> bytes: """ - The content of the recording. Read-only. + The content of the goalsExportJob. 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/goals-list-exportjobs?view=graph-rest-1.0 """ 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, ParsableFactory] = { "4XX": ODataError, @@ -45,19 +46,19 @@ async def get(self,request_configuration: Optional[ContentRequestBuilderGetReque raise Exception("Http core is null") return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - async def put(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> Optional[CallRecording]: + async def put(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> Optional[GoalsExportJob]: """ - The content of the recording. Read-only. + The content of the goalsExportJob. param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[CallRecording] + Returns: Optional[GoalsExportJob] """ if not body: raise TypeError("body cannot be null.") request_info = self.to_put_request_information( body, 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, ParsableFactory] = { "4XX": ODataError, @@ -65,13 +66,13 @@ async def put(self,body: bytes, request_configuration: Optional[ContentRequestBu } if not self.request_adapter: raise Exception("Http core is null") - from ..........models.call_recording import CallRecording + from ......models.goals_export_job import GoalsExportJob - return await self.request_adapter.send_async(request_info, CallRecording, error_mapping) + return await self.request_adapter.send_async(request_info, GoalsExportJob, error_mapping) def to_get_request_information(self,request_configuration: Optional[ContentRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - The content of the recording. Read-only. + The content of the goalsExportJob. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -82,12 +83,12 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: """ - The content of the recording. Read-only. + The content of the goalsExportJob. param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -101,7 +102,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/employee_experience/goals/export_jobs/item/goals_export_job_item_request_builder.py b/msgraph_beta/generated/employee_experience/goals/export_jobs/item/goals_export_job_item_request_builder.py new file mode 100644 index 00000000000..e3457bc5370 --- /dev/null +++ b/msgraph_beta/generated/employee_experience/goals/export_jobs/item/goals_export_job_item_request_builder.py @@ -0,0 +1,225 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.goals_export_job import GoalsExportJob + from .....models.o_data_errors.o_data_error import ODataError + from .content.content_request_builder import ContentRequestBuilder + +class GoalsExportJobItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the exportJobs property of the microsoft.graph.goals entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new GoalsExportJobItemRequestBuilder 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/goals/exportJobs/{goalsExportJob%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[GoalsExportJobItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property exportJobs 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[GoalsExportJobItemRequestBuilderGetRequestConfiguration] = None) -> Optional[GoalsExportJob]: + """ + Represents a collection of goals export jobs for Viva Goals. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[GoalsExportJob] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.goals_export_job import GoalsExportJob + + return await self.request_adapter.send_async(request_info, GoalsExportJob, error_mapping) + + async def patch(self,body: Optional[GoalsExportJob] = None, request_configuration: Optional[GoalsExportJobItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[GoalsExportJob]: + """ + Update the navigation property exportJobs in employeeExperience + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[GoalsExportJob] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.goals_export_job import GoalsExportJob + + return await self.request_adapter.send_async(request_info, GoalsExportJob, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[GoalsExportJobItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property exportJobs for employeeExperience + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[GoalsExportJobItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Represents a collection of goals export jobs for Viva Goals. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[GoalsExportJob] = None, request_configuration: Optional[GoalsExportJobItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property exportJobs 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 not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> GoalsExportJobItemRequestBuilder: + """ + 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: GoalsExportJobItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GoalsExportJobItemRequestBuilder(self.request_adapter, raw_url) + + @property + def content(self) -> ContentRequestBuilder: + """ + Provides operations to manage the media for the employeeExperience entity. + """ + from .content.content_request_builder import ContentRequestBuilder + + return ContentRequestBuilder(self.request_adapter, self.path_parameters) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GoalsExportJobItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class GoalsExportJobItemRequestBuilderGetQueryParameters(): + """ + Represents a collection of goals export jobs for Viva Goals. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GoalsExportJobItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[GoalsExportJobItemRequestBuilder.GoalsExportJobItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GoalsExportJobItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/employee_experience/goals/goals_request_builder.py b/msgraph_beta/generated/employee_experience/goals/goals_request_builder.py new file mode 100644 index 00000000000..076276e8d38 --- /dev/null +++ b/msgraph_beta/generated/employee_experience/goals/goals_request_builder.py @@ -0,0 +1,225 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ...models.goals import Goals + from ...models.o_data_errors.o_data_error import ODataError + from .export_jobs.export_jobs_request_builder import ExportJobsRequestBuilder + +class GoalsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the goals property of the microsoft.graph.employeeExperience entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new GoalsRequestBuilder 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/goals{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[GoalsRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property goals 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[GoalsRequestBuilderGetRequestConfiguration] = None) -> Optional[Goals]: + """ + Represents a collection of goals in a Viva Goals organization. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[Goals] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...models.goals import Goals + + return await self.request_adapter.send_async(request_info, Goals, error_mapping) + + async def patch(self,body: Optional[Goals] = None, request_configuration: Optional[GoalsRequestBuilderPatchRequestConfiguration] = None) -> Optional[Goals]: + """ + Update the navigation property goals in employeeExperience + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[Goals] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...models.goals import Goals + + return await self.request_adapter.send_async(request_info, Goals, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[GoalsRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property goals for employeeExperience + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[GoalsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Represents a collection of goals in a Viva Goals organization. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[Goals] = None, request_configuration: Optional[GoalsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property goals 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 not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> GoalsRequestBuilder: + """ + 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: GoalsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GoalsRequestBuilder(self.request_adapter, raw_url) + + @property + def export_jobs(self) -> ExportJobsRequestBuilder: + """ + Provides operations to manage the exportJobs property of the microsoft.graph.goals entity. + """ + from .export_jobs.export_jobs_request_builder import ExportJobsRequestBuilder + + return ExportJobsRequestBuilder(self.request_adapter, self.path_parameters) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GoalsRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class GoalsRequestBuilderGetQueryParameters(): + """ + Represents a collection of goals in a Viva Goals organization. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GoalsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[GoalsRequestBuilder.GoalsRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GoalsRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/employee_experience/learning_course_activities/item/learning_course_activity_item_request_builder.py b/msgraph_beta/generated/employee_experience/learning_course_activities/item/learning_course_activity_item_request_builder.py index 42e0cd5b8a6..b94cd915cbb 100644 --- a/msgraph_beta/generated/employee_experience/learning_course_activities/item/learning_course_activity_item_request_builder.py +++ b/msgraph_beta/generated/employee_experience/learning_course_activities/item/learning_course_activity_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[LearningCourseActivityItem async def get(self,request_configuration: Optional[LearningCourseActivityItemRequestBuilderGetRequestConfiguration] = None) -> Optional[LearningCourseActivity]: """ - Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. This API is available in the following national cloud deployments. + Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LearningCourseActivity] Find more info here: https://learn.microsoft.com/graph/api/learningcourseactivity-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[LearningC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LearningCourseActivityItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. This API is available in the following national cloud deployments. + Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[LearningCour request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[LearningCourseActivity] = None, request_configuration: Optional[LearningCourseActivityItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[LearningCourseActivity] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class LearningCourseActivityItemRequestBuilderDeleteRequestConfiguration(BaseReq @dataclass class LearningCourseActivityItemRequestBuilderGetQueryParameters(): """ - Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. This API is available in the following national cloud deployments. + Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/employee_experience/learning_course_activities/learning_course_activities_request_builder.py b/msgraph_beta/generated/employee_experience/learning_course_activities/learning_course_activities_request_builder.py index 470bc186829..567a5b6938a 100644 --- a/msgraph_beta/generated/employee_experience/learning_course_activities/learning_course_activities_request_builder.py +++ b/msgraph_beta/generated/employee_experience/learning_course_activities/learning_course_activities_request_builder.py @@ -45,7 +45,7 @@ def by_learning_course_activity_id(self,learning_course_activity_id: str) -> Lea async def get(self,request_configuration: Optional[LearningCourseActivitiesRequestBuilderGetRequestConfiguration] = None) -> Optional[LearningCourseActivityCollectionResponse]: """ - Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. This API is available in the following national cloud deployments. + Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LearningCourseActivityCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[LearningCourseActivity] = None, request_confi def to_get_request_information(self,request_configuration: Optional[LearningCourseActivitiesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. This API is available in the following national cloud deployments. + Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[LearningCour request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[LearningCourseActivity] = None, request_configuration: Optional[LearningCourseActivitiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[LearningCourseActivity] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class LearningCourseActivitiesRequestBuilderGetQueryParameters(): """ - Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. This API is available in the following national cloud deployments. + Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/employee_experience/learning_providers/item/learning_contents/item/learning_content_item_request_builder.py b/msgraph_beta/generated/employee_experience/learning_providers/item/learning_contents/item/learning_content_item_request_builder.py index e44153860f5..6e2a1449e70 100644 --- a/msgraph_beta/generated/employee_experience/learning_providers/item/learning_contents/item/learning_content_item_request_builder.py +++ b/msgraph_beta/generated/employee_experience/learning_providers/item/learning_contents/item/learning_content_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[LearningContentItemRequest async def get(self,request_configuration: Optional[LearningContentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[LearningContent]: """ - Get the specified learningContent resource which represents the metadata of the specified provider's ingested content. This API is available in the following national cloud deployments. + Get the specified learningContent resource which represents the metadata of the specified provider's ingested content. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LearningContent] Find more info here: https://learn.microsoft.com/graph/api/learningcontent-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[LearningContentItemRequestBui async def patch(self,body: Optional[LearningContent] = None, request_configuration: Optional[LearningContentItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[LearningContent]: """ - Update the specified learningContent resource. Used by a learning provider to ingest or update the metadata for their content in Viva Learning. If the specified learning content doesn't yet exist for the specified provider, this operation creates the metadata for the new content. Otherwise, this operation replaces the metadata of the existing content. This API is available in the following national cloud deployments. + Update the specified learningContent resource. Used by a learning provider to ingest or update the metadata for their content in Viva Learning. If the specified learning content doesn't yet exist for the specified provider, this operation creates the metadata for the new content. Otherwise, this operation replaces the metadata of the existing content. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LearningContent] @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[LearningC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LearningContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the specified learningContent resource which represents the metadata of the specified provider's ingested content. This API is available in the following national cloud deployments. + Get the specified learningContent resource which represents the metadata of the specified provider's ingested content. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[LearningCont request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[LearningContent] = None, request_configuration: Optional[LearningContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the specified learningContent resource. Used by a learning provider to ingest or update the metadata for their content in Viva Learning. If the specified learning content doesn't yet exist for the specified provider, this operation creates the metadata for the new content. Otherwise, this operation replaces the metadata of the existing content. This API is available in the following national cloud deployments. + Update the specified learningContent resource. Used by a learning provider to ingest or update the metadata for their content in Viva Learning. If the specified learning content doesn't yet exist for the specified provider, this operation creates the metadata for the new content. Otherwise, this operation replaces the metadata of the existing content. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[LearningContent] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class LearningContentItemRequestBuilderDeleteRequestConfiguration(BaseRequestCon @dataclass class LearningContentItemRequestBuilderGetQueryParameters(): """ - Get the specified learningContent resource which represents the metadata of the specified provider's ingested content. This API is available in the following national cloud deployments. + Get the specified learningContent resource which represents the metadata of the specified provider's ingested content. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/employee_experience/learning_providers/item/learning_contents/learning_contents_request_builder.py b/msgraph_beta/generated/employee_experience/learning_providers/item/learning_contents/learning_contents_request_builder.py index 864fcbd1de6..a128cafd5c4 100644 --- a/msgraph_beta/generated/employee_experience/learning_providers/item/learning_contents/learning_contents_request_builder.py +++ b/msgraph_beta/generated/employee_experience/learning_providers/item/learning_contents/learning_contents_request_builder.py @@ -45,7 +45,7 @@ def by_learning_content_id(self,learning_content_id: str) -> LearningContentItem async def get(self,request_configuration: Optional[LearningContentsRequestBuilderGetRequestConfiguration] = None) -> Optional[LearningContentCollectionResponse]: """ - Get a list of the learningContent resources and their properties. This list represents the metadata of the specified provider's content in Viva Learning. This API is available in the following national cloud deployments. + Get a list of the learningContent resources and their properties. This list represents the metadata of the specified provider's content in Viva Learning. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LearningContentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/learningprovider-list-learningcontents?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[LearningContent] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[LearningContentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the learningContent resources and their properties. This list represents the metadata of the specified provider's content in Viva Learning. This API is available in the following national cloud deployments. + Get a list of the learningContent resources and their properties. This list represents the metadata of the specified provider's content in Viva Learning. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[LearningCont request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[LearningContent] = None, request_configuration: Optional[LearningContentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[LearningContent] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class LearningContentsRequestBuilderGetQueryParameters(): """ - Get a list of the learningContent resources and their properties. This list represents the metadata of the specified provider's content in Viva Learning. This API is available in the following national cloud deployments. + Get a list of the learningContent resources and their properties. This list represents the metadata of the specified provider's content in Viva Learning. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/employee_experience/learning_providers/item/learning_course_activities/item/learning_course_activity_item_request_builder.py b/msgraph_beta/generated/employee_experience/learning_providers/item/learning_course_activities/item/learning_course_activity_item_request_builder.py index 324bd2c491a..12a3c85b4d6 100644 --- a/msgraph_beta/generated/employee_experience/learning_providers/item/learning_course_activities/item/learning_course_activity_item_request_builder.py +++ b/msgraph_beta/generated/employee_experience/learning_providers/item/learning_course_activities/item/learning_course_activity_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[LearningCourseActivityItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a learningCourseActivity object by using the course activity ID of either an assignment or a self-initiated activity. This API is available in the following national cloud deployments. + Delete a learningCourseActivity object by using the course activity ID of either an assignment or a self-initiated activity. 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/learningcourseactivity-delete?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[LearningCourseActivityItemReq async def patch(self,body: Optional[LearningCourseActivity] = None, request_configuration: Optional[LearningCourseActivityItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[LearningCourseActivity]: """ - Update the properties of a learningCourseActivity object. This API is available in the following national cloud deployments. + Update the properties of a learningCourseActivity object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LearningCourseActivity] @@ -94,7 +94,7 @@ async def patch(self,body: Optional[LearningCourseActivity] = None, request_conf def to_delete_request_information(self,request_configuration: Optional[LearningCourseActivityItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a learningCourseActivity object by using the course activity ID of either an assignment or a self-initiated activity. This API is available in the following national cloud deployments. + Delete a learningCourseActivity object by using the course activity ID of either an assignment or a self-initiated activity. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[LearningC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LearningCourseActivityItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[LearningCour request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[LearningCourseActivity] = None, request_configuration: Optional[LearningCourseActivityItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a learningCourseActivity object. This API is available in the following national cloud deployments. + Update the properties of a learningCourseActivity object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[LearningCourseActivity] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/employee_experience/learning_providers/item/learning_course_activities/learning_course_activities_request_builder.py b/msgraph_beta/generated/employee_experience/learning_providers/item/learning_course_activities/learning_course_activities_request_builder.py index 2e33164c6f4..fcc142c1eaf 100644 --- a/msgraph_beta/generated/employee_experience/learning_providers/item/learning_course_activities/learning_course_activities_request_builder.py +++ b/msgraph_beta/generated/employee_experience/learning_providers/item/learning_course_activities/learning_course_activities_request_builder.py @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[LearningCourseActivitiesReque async def post(self,body: Optional[LearningCourseActivity] = None, request_configuration: Optional[LearningCourseActivitiesRequestBuilderPostRequestConfiguration] = None) -> Optional[LearningCourseActivity]: """ - Create a new learningCourseActivity object. A learning course activity can be one of two types: - Assignment- Self-initiated Use this method to create either type of activity. This API is available in the following national cloud deployments. + Create a new learningCourseActivity object. A learning course activity can be one of two types: - Assignment- Self-initiated Use this method to create either type of activity. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LearningCourseActivity] @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[LearningCour request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[LearningCourseActivity] = None, request_configuration: Optional[LearningCourseActivitiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new learningCourseActivity object. A learning course activity can be one of two types: - Assignment- Self-initiated Use this method to create either type of activity. This API is available in the following national cloud deployments. + Create a new learningCourseActivity object. A learning course activity can be one of two types: - Assignment- Self-initiated Use this method to create either type of activity. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[LearningCourseActivity] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/employee_experience/learning_providers/item/learning_provider_item_request_builder.py b/msgraph_beta/generated/employee_experience/learning_providers/item/learning_provider_item_request_builder.py index 2dd0ea8ced0..dbb4bd2dfb6 100644 --- a/msgraph_beta/generated/employee_experience/learning_providers/item/learning_provider_item_request_builder.py +++ b/msgraph_beta/generated/employee_experience/learning_providers/item/learning_provider_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[LearningProviderItemReques async def get(self,request_configuration: Optional[LearningProviderItemRequestBuilderGetRequestConfiguration] = None) -> Optional[LearningProvider]: """ - Read the properties and relationships of a learningProvider object. This API is available in the following national cloud deployments. + Read the properties and relationships of a learningProvider object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LearningProvider] Find more info here: https://learn.microsoft.com/graph/api/learningprovider-get?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[LearningProviderItemRequestBu async def patch(self,body: Optional[LearningProvider] = None, request_configuration: Optional[LearningProviderItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[LearningProvider]: """ - Update the properties of a learningProvider object. This API is available in the following national cloud deployments. + Update the properties of a learningProvider object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LearningProvider] @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[LearningP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LearningProviderItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a learningProvider object. This API is available in the following national cloud deployments. + Read the properties and relationships of a learningProvider object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[LearningProv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[LearningProvider] = None, request_configuration: Optional[LearningProviderItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a learningProvider object. This API is available in the following national cloud deployments. + Update the properties of a learningProvider object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[LearningProvider] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class LearningProviderItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class LearningProviderItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a learningProvider object. This API is available in the following national cloud deployments. + Read the properties and relationships of a learningProvider object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/employee_experience/learning_providers/learning_providers_request_builder.py b/msgraph_beta/generated/employee_experience/learning_providers/learning_providers_request_builder.py index 04e1932e54d..9febdd1ccf0 100644 --- a/msgraph_beta/generated/employee_experience/learning_providers/learning_providers_request_builder.py +++ b/msgraph_beta/generated/employee_experience/learning_providers/learning_providers_request_builder.py @@ -45,7 +45,7 @@ def by_learning_provider_id(self,learning_provider_id: str) -> LearningProviderI async def get(self,request_configuration: Optional[LearningProvidersRequestBuilderGetRequestConfiguration] = None) -> Optional[LearningProviderCollectionResponse]: """ - Get a list of the learningProvider resources registered in Viva Learning for a tenant. This API is available in the following national cloud deployments. + Get a list of the learningProvider resources registered in Viva Learning for a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LearningProviderCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/employeeexperience-list-learningproviders?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[LearningProvidersRequestBuild async def post(self,body: Optional[LearningProvider] = None, request_configuration: Optional[LearningProvidersRequestBuilderPostRequestConfiguration] = None) -> Optional[LearningProvider]: """ - Create a new learningProvider object and register it with Viva Learning using the specified display name and logos for different themes. This API is available in the following national cloud deployments. + Create a new learningProvider object and register it with Viva Learning using the specified display name and logos for different themes. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LearningProvider] @@ -92,7 +92,7 @@ async def post(self,body: Optional[LearningProvider] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[LearningProvidersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the learningProvider resources registered in Viva Learning for a tenant. This API is available in the following national cloud deployments. + Get a list of the learningProvider resources registered in Viva Learning for a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[LearningProv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[LearningProvider] = None, request_configuration: Optional[LearningProvidersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new learningProvider object and register it with Viva Learning using the specified display name and logos for different themes. This API is available in the following national cloud deployments. + Create a new learningProvider object and register it with Viva Learning using the specified display name and logos for different themes. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[LearningProvider] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class LearningProvidersRequestBuilderGetQueryParameters(): """ - Get a list of the learningProvider resources registered in Viva Learning for a tenant. This API is available in the following national cloud deployments. + Get a list of the learningProvider resources registered in Viva Learning for a tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/external/authorization_systems/authorization_systems_request_builder.py b/msgraph_beta/generated/external/authorization_systems/authorization_systems_request_builder.py index 80baef14094..c943a41a433 100644 --- a/msgraph_beta/generated/external/authorization_systems/authorization_systems_request_builder.py +++ b/msgraph_beta/generated/external/authorization_systems/authorization_systems_request_builder.py @@ -45,9 +45,10 @@ def by_authorization_system_id(self,authorization_system_id: str) -> Authorizati async def get(self,request_configuration: Optional[AuthorizationSystemsRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthorizationSystemCollectionResponse]: """ - Get authorizationSystems from external + List the authorizationSystem objects onboarded to Permissions Management and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthorizationSystemCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-external-list-authorizationsystems?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -90,7 +91,7 @@ async def post(self,body: Optional[AuthorizationSystem] = None, request_configur def to_get_request_information(self,request_configuration: Optional[AuthorizationSystemsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get authorizationSystems from external + List the authorizationSystem objects onboarded to Permissions Management and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[Authorizatio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AuthorizationSystem] = None, request_configuration: Optional[AuthorizationSystemsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +122,7 @@ def to_post_request_information(self,body: Optional[AuthorizationSystem] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AuthorizationSystemsRequestBuilderGetQueryParameters(): """ - Get authorizationSystems from external + List the authorizationSystem objects onboarded to Permissions Management and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/external/authorization_systems/item/authorization_system_item_request_builder.py b/msgraph_beta/generated/external/authorization_systems/item/authorization_system_item_request_builder.py index dadc4de5099..9f8b2b8fefc 100644 --- a/msgraph_beta/generated/external/authorization_systems/item/authorization_system_item_request_builder.py +++ b/msgraph_beta/generated/external/authorization_systems/item/authorization_system_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AuthorizationSystemItemReq async def get(self,request_configuration: Optional[AuthorizationSystemItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthorizationSystem]: """ - Get authorizationSystems from external + Represents an onboarded AWS account, Azure subscription, or GCP project that Microsoft Entra Permissions Management will collect and analyze permissions and actions on. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthorizationSystem] """ @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Authoriza request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AuthorizationSystemItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get authorizationSystems from external + Represents an onboarded AWS account, Azure subscription, or GCP project that Microsoft Entra Permissions Management will collect and analyze permissions and actions on. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[Authorizatio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AuthorizationSystem] = None, request_configuration: Optional[AuthorizationSystemItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AuthorizationSystem] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -176,7 +176,7 @@ class AuthorizationSystemItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class AuthorizationSystemItemRequestBuilderGetQueryParameters(): """ - Get authorizationSystems from external + Represents an onboarded AWS account, Azure subscription, or GCP project that Microsoft Entra Permissions Management will collect and analyze permissions and actions on. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/external/authorization_systems/item/data_collection_info/data_collection_info_request_builder.py b/msgraph_beta/generated/external/authorization_systems/item/data_collection_info/data_collection_info_request_builder.py index cd6a03ba338..a5dbe3e398f 100644 --- a/msgraph_beta/generated/external/authorization_systems/item/data_collection_info/data_collection_info_request_builder.py +++ b/msgraph_beta/generated/external/authorization_systems/item/data_collection_info/data_collection_info_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[DataCollectionInfoRequestB async def get(self,request_configuration: Optional[DataCollectionInfoRequestBuilderGetRequestConfiguration] = None) -> Optional[DataCollectionInfo]: """ - Get dataCollectionInfo from external + Defines how and whether Permissions Management collects data from the onboarded authorization system. Supports $filter (eq) as follows: $filter=dataCollectionInfo/entitlements/permissionsModificationCapability and $filter=dataCollectionInfo/entitlements/status. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DataCollectionInfo] """ @@ -103,12 +103,12 @@ def to_delete_request_information(self,request_configuration: Optional[DataColle request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DataCollectionInfoRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get dataCollectionInfo from external + Defines how and whether Permissions Management collects data from the onboarded authorization system. Supports $filter (eq) as follows: $filter=dataCollectionInfo/entitlements/permissionsModificationCapability and $filter=dataCollectionInfo/entitlements/status. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DataCollecti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DataCollectionInfo] = None, request_configuration: Optional[DataCollectionInfoRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DataCollectionInfo] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -166,7 +166,7 @@ class DataCollectionInfoRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class DataCollectionInfoRequestBuilderGetQueryParameters(): """ - Get dataCollectionInfo from external + Defines how and whether Permissions Management collects data from the onboarded authorization system. Supports $filter (eq) as follows: $filter=dataCollectionInfo/entitlements/permissionsModificationCapability and $filter=dataCollectionInfo/entitlements/status. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/external/connections/connections_request_builder.py b/msgraph_beta/generated/external/connections/connections_request_builder.py index ce80506e06d..0fad4ea05a8 100644 --- a/msgraph_beta/generated/external/connections/connections_request_builder.py +++ b/msgraph_beta/generated/external/connections/connections_request_builder.py @@ -45,7 +45,7 @@ def by_external_connection_id(self,external_connection_id: str) -> ExternalConne async def get(self,request_configuration: Optional[ConnectionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExternalConnectionCollectionResponse]: """ - Retrieve a list of externalConnections. This API is available in the following national cloud deployments. + Retrieve a list of externalConnections. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalConnectionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ConnectionsRequestBuilderGetR async def post(self,body: Optional[ExternalConnection] = None, request_configuration: Optional[ConnectionsRequestBuilderPostRequestConfiguration] = None) -> Optional[ExternalConnection]: """ - Create a new externalConnection. This API is available in the following national cloud deployments. + Create a new externalConnection. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalConnection] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ExternalConnection] = None, request_configura def to_get_request_information(self,request_configuration: Optional[ConnectionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of externalConnections. This API is available in the following national cloud deployments. + Retrieve a list of externalConnections. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ConnectionsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ExternalConnection] = None, request_configuration: Optional[ConnectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new externalConnection. This API is available in the following national cloud deployments. + Create a new externalConnection. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ExternalConnection] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ConnectionsRequestBuilderGetQueryParameters(): """ - Retrieve a list of externalConnections. This API is available in the following national cloud deployments. + Retrieve a list of externalConnections. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/external/connections/item/external_connection_item_request_builder.py b/msgraph_beta/generated/external/connections/item/external_connection_item_request_builder.py index c2e232e0843..829e863ee58 100644 --- a/msgraph_beta/generated/external/connections/item/external_connection_item_request_builder.py +++ b/msgraph_beta/generated/external/connections/item/external_connection_item_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ExternalConnectionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an externalConnection. This API is available in the following national cloud deployments. + Delete an externalConnection. 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/externalconnectors-externalconnection-delete?view=graph-rest-1.0 @@ -53,7 +53,7 @@ async def delete(self,request_configuration: Optional[ExternalConnectionItemRequ async def get(self,request_configuration: Optional[ExternalConnectionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ExternalConnection]: """ - Retrieve the properties and relationships of an externalConnection. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an externalConnection. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalConnection] Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-get?view=graph-rest-1.0 @@ -75,7 +75,7 @@ async def get(self,request_configuration: Optional[ExternalConnectionItemRequest async def patch(self,body: Optional[ExternalConnection] = None, request_configuration: Optional[ExternalConnectionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ExternalConnection]: """ - Update the properties of an externalConnection. This API is available in the following national cloud deployments. + Update the properties of an externalConnection. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalConnection] @@ -100,7 +100,7 @@ async def patch(self,body: Optional[ExternalConnection] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[ExternalConnectionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an externalConnection. This API is available in the following national cloud deployments. + Delete an externalConnection. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -111,12 +111,12 @@ def to_delete_request_information(self,request_configuration: Optional[ExternalC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExternalConnectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an externalConnection. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an externalConnection. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -128,12 +128,12 @@ def to_get_request_information(self,request_configuration: Optional[ExternalConn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ExternalConnection] = None, request_configuration: Optional[ExternalConnectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an externalConnection. This API is available in the following national cloud deployments. + Update the properties of an externalConnection. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[ExternalConnection] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -219,7 +219,7 @@ class ExternalConnectionItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class ExternalConnectionItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an externalConnection. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an externalConnection. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/external/connections/item/groups/groups_request_builder.py b/msgraph_beta/generated/external/connections/item/groups/groups_request_builder.py index 87426842a4c..adffdbf7bf3 100644 --- a/msgraph_beta/generated/external/connections/item/groups/groups_request_builder.py +++ b/msgraph_beta/generated/external/connections/item/groups/groups_request_builder.py @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[GroupsRequestBuilderGetReques async def post(self,body: Optional[ExternalGroup] = None, request_configuration: Optional[GroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[ExternalGroup]: """ - Create a new externalGroup object. This API is available in the following national cloud deployments. + Create a new externalGroup object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalGroup] @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[GroupsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ExternalGroup] = None, request_configuration: Optional[GroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new externalGroup object. This API is available in the following national cloud deployments. + Create a new externalGroup object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ExternalGroup] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/external/connections/item/groups/item/external_group_item_request_builder.py b/msgraph_beta/generated/external/connections/item/groups/item/external_group_item_request_builder.py index a15473d490d..238d73c15aa 100644 --- a/msgraph_beta/generated/external/connections/item/groups/item/external_group_item_request_builder.py +++ b/msgraph_beta/generated/external/connections/item/groups/item/external_group_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ExternalGroupItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an externalGroup object. This API is available in the following national cloud deployments. + Delete an externalGroup object. 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/externalconnectors-externalgroup-delete?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[ExternalGroup] = None, request_configuration def to_delete_request_information(self,request_configuration: Optional[ExternalGroupItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an externalGroup object. This API is available in the following national cloud deployments. + Delete an externalGroup object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ExternalG request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExternalGroupItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ExternalGrou request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ExternalGroup] = None, request_configuration: Optional[ExternalGroupItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ExternalGroup] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/external/connections/item/groups/item/members/item/identity_item_request_builder.py b/msgraph_beta/generated/external/connections/item/groups/item/members/item/identity_item_request_builder.py index 1b7551d2fee..d470a462fae 100644 --- a/msgraph_beta/generated/external/connections/item/groups/item/members/item/identity_item_request_builder.py +++ b/msgraph_beta/generated/external/connections/item/groups/item/members/item/identity_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[IdentityItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an externalGroupMember object. This API is available in the following national cloud deployments. + Delete an externalGroupMember object. 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/externalconnectors-externalgroupmember-delete?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def patch(self,body: Optional[Identity] = None, request_configuration: Opt def to_delete_request_information(self,request_configuration: Optional[IdentityItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an externalGroupMember object. This API is available in the following national cloud deployments. + Delete an externalGroupMember object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[IdentityI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[IdentityItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[IdentityItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Identity] = None, request_configuration: Optional[IdentityItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Identity] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/external/connections/item/groups/item/members/members_request_builder.py b/msgraph_beta/generated/external/connections/item/groups/item/members/members_request_builder.py index d2922a8c357..c09a43d31c6 100644 --- a/msgraph_beta/generated/external/connections/item/groups/item/members/members_request_builder.py +++ b/msgraph_beta/generated/external/connections/item/groups/item/members/members_request_builder.py @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[MembersRequestBuilderGetReque async def post(self,body: Optional[Identity] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> Optional[Identity]: """ - Create a new externalGroupMember object. This API is available in the following national cloud deployments. + Create a new externalGroupMember object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Identity] @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Identity] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new externalGroupMember object. This API is available in the following national cloud deployments. + Create a new externalGroupMember object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Identity] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/external/connections/item/items/item/activities/activities_request_builder.py b/msgraph_beta/generated/external/connections/item/items/item/activities/activities_request_builder.py index 45c2f70fccb..3dc32c087f1 100644 --- a/msgraph_beta/generated/external/connections/item/items/item/activities/activities_request_builder.py +++ b/msgraph_beta/generated/external/connections/item/items/item/activities/activities_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivitiesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ExternalActivity] = None, request_configuration: Optional[ActivitiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ExternalActivity] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/external/connections/item/items/item/activities/item/external_activity_item_request_builder.py b/msgraph_beta/generated/external/connections/item/items/item/activities/item/external_activity_item_request_builder.py index 7121ef9099d..64629f96b75 100644 --- a/msgraph_beta/generated/external/connections/item/items/item/activities/item/external_activity_item_request_builder.py +++ b/msgraph_beta/generated/external/connections/item/items/item/activities/item/external_activity_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ExternalA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExternalActivityItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExternalActi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ExternalActivity] = None, request_configuration: Optional[ExternalActivityItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ExternalActivity] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/external/connections/item/items/item/activities/item/performed_by/performed_by_request_builder.py b/msgraph_beta/generated/external/connections/item/items/item/activities/item/performed_by/performed_by_request_builder.py index 21dc4729b15..8098eb090e1 100644 --- a/msgraph_beta/generated/external/connections/item/items/item/activities/item/performed_by/performed_by_request_builder.py +++ b/msgraph_beta/generated/external/connections/item/items/item/activities/item/performed_by/performed_by_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PerformedByR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PerformedByRequestBuilder: diff --git a/msgraph_beta/generated/external/connections/item/items/item/external_item_item_request_builder.py b/msgraph_beta/generated/external/connections/item/items/item/external_item_item_request_builder.py index c44a726dffa..75f99ae1c90 100644 --- a/msgraph_beta/generated/external/connections/item/items/item/external_item_item_request_builder.py +++ b/msgraph_beta/generated/external/connections/item/items/item/external_item_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ExternalItemItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an externalitem. This API is available in the following national cloud deployments. + Delete an externalitem. 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/externalconnectors-externalitem-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[ExternalItemItemRequestBui async def get(self,request_configuration: Optional[ExternalItemItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ExternalItem]: """ - Get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. This API is available in the following national cloud deployments. + Get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalItem] Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalitem-get?view=graph-rest-1.0 @@ -96,7 +96,7 @@ async def put(self,body: Optional[ExternalItem] = None, request_configuration: O def to_delete_request_information(self,request_configuration: Optional[ExternalItemItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an externalitem. This API is available in the following national cloud deployments. + Delete an externalitem. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[ExternalI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExternalItemItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. This API is available in the following national cloud deployments. + Get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[ExternalItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_put_request_information(self,body: Optional[ExternalItem] = None, request_configuration: Optional[ExternalItemItemRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_put_request_information(self,body: Optional[ExternalItem] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ class ExternalItemItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class ExternalItemItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. This API is available in the following national cloud deployments. + Get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/external/connections/item/items/item/microsoft_graph_external_connectors_add_activities/microsoft_graph_external_connectors_add_activities_request_builder.py b/msgraph_beta/generated/external/connections/item/items/item/microsoft_graph_external_connectors_add_activities/microsoft_graph_external_connectors_add_activities_request_builder.py index 8a40c010fcd..3874dc1cd4e 100644 --- a/msgraph_beta/generated/external/connections/item/items/item/microsoft_graph_external_connectors_add_activities/microsoft_graph_external_connectors_add_activities_request_builder.py +++ b/msgraph_beta/generated/external/connections/item/items/item/microsoft_graph_external_connectors_add_activities/microsoft_graph_external_connectors_add_activities_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AddActivitiesPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/external/connections/item/items/items_request_builder.py b/msgraph_beta/generated/external/connections/item/items/items_request_builder.py index 42ddf981180..62d1ed8a4e6 100644 --- a/msgraph_beta/generated/external/connections/item/items/items_request_builder.py +++ b/msgraph_beta/generated/external/connections/item/items/items_request_builder.py @@ -45,7 +45,7 @@ def by_external_item_id(self,external_item_id: str) -> ExternalItemItemRequestBu async def get(self,request_configuration: Optional[ItemsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExternalItemCollectionResponse]: """ - Get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. This API is available in the following national cloud deployments. + Get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalItemCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[ExternalItem] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[ItemsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. This API is available in the following national cloud deployments. + Get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ExternalItem] = None, request_configuration: Optional[ItemsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ExternalItem] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ItemsRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. This API is available in the following national cloud deployments. + Get the properties and relationships of an externalitem object. This API is provided for diagnostic purposes only. It isn't intended to be used for any other purpose. Repeated requests to this API might result in 429 HTTP errors. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/external/connections/item/operations/item/connection_operation_item_request_builder.py b/msgraph_beta/generated/external/connections/item/operations/item/connection_operation_item_request_builder.py index 128fa781020..8736bc852b9 100644 --- a/msgraph_beta/generated/external/connections/item/operations/item/connection_operation_item_request_builder.py +++ b/msgraph_beta/generated/external/connections/item/operations/item/connection_operation_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Connectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConnectionOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ConnectionOp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConnectionOperation] = None, request_configuration: Optional[ConnectionOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ConnectionOperation] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/external/connections/item/operations/operations_request_builder.py b/msgraph_beta/generated/external/connections/item/operations/operations_request_builder.py index ccd2df12552..67ec6a41696 100644 --- a/msgraph_beta/generated/external/connections/item/operations/operations_request_builder.py +++ b/msgraph_beta/generated/external/connections/item/operations/operations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ConnectionOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ConnectionOperation] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/external/connections/item/quota/quota_request_builder.py b/msgraph_beta/generated/external/connections/item/quota/quota_request_builder.py index f3567bc2266..a66f03cadc1 100644 --- a/msgraph_beta/generated/external/connections/item/quota/quota_request_builder.py +++ b/msgraph_beta/generated/external/connections/item/quota/quota_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[QuotaRequestBuilderDeleteR async def get(self,request_configuration: Optional[QuotaRequestBuilderGetRequestConfiguration] = None) -> Optional[ConnectionQuota]: """ - Retrieve the properties and relationships of a connectionQuota object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a connectionQuota object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConnectionQuota] Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-connectionquota-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[QuotaRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[QuotaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a connectionQuota object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a connectionQuota object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[QuotaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConnectionQuota] = None, request_configuration: Optional[QuotaRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ConnectionQuota] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class QuotaRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class QuotaRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a connectionQuota object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a connectionQuota object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/external/connections/item/schema/schema_request_builder.py b/msgraph_beta/generated/external/connections/item/schema/schema_request_builder.py index 43e942d7b46..6b3f89262b4 100644 --- a/msgraph_beta/generated/external/connections/item/schema/schema_request_builder.py +++ b/msgraph_beta/generated/external/connections/item/schema/schema_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[SchemaRequestBuilderGetRequestConfiguration] = None) -> Optional[Schema]: """ - Retrieve the properties of a schema for an externalConnection. This API is available in the following national cloud deployments. + Retrieve the properties of a schema for an externalConnection. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Schema] Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-schema-get?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[SchemaRequestBuilderGetReques async def patch(self,body: Optional[Schema] = None, request_configuration: Optional[SchemaRequestBuilderPatchRequestConfiguration] = None) -> Optional[Schema]: """ - Create the schema for a Microsoft Search connection. This API is available in the following national cloud deployments. + Create the schema for a Microsoft Search connection. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Schema] @@ -75,7 +75,7 @@ async def patch(self,body: Optional[Schema] = None, request_configuration: Optio def to_get_request_information(self,request_configuration: Optional[SchemaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of a schema for an externalConnection. This API is available in the following national cloud deployments. + Retrieve the properties of a schema for an externalConnection. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -87,12 +87,12 @@ def to_get_request_information(self,request_configuration: Optional[SchemaReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Schema] = None, request_configuration: Optional[SchemaRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Create the schema for a Microsoft Search connection. This API is available in the following national cloud deployments. + Create the schema for a Microsoft Search connection. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -106,7 +106,7 @@ def to_patch_request_information(self,body: Optional[Schema] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -123,7 +123,7 @@ def with_url(self,raw_url: Optional[str] = None) -> SchemaRequestBuilder: @dataclass class SchemaRequestBuilderGetQueryParameters(): """ - Retrieve the properties of a schema for an externalConnection. This API is available in the following national cloud deployments. + Retrieve the properties of a schema for an externalConnection. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/external/external_request_builder.py b/msgraph_beta/generated/external/external_request_builder.py index 34df1f423f4..f3f53e9ff3c 100644 --- a/msgraph_beta/generated/external/external_request_builder.py +++ b/msgraph_beta/generated/external/external_request_builder.py @@ -88,7 +88,7 @@ def to_get_request_information(self,request_configuration: Optional[ExternalRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[External] = None, request_configuration: Optional[ExternalRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -107,7 +107,7 @@ def to_patch_request_information(self,body: Optional[External] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py b/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py index 8fdb2e9b4f4..05876ce7e4c 100644 --- a/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py @@ -45,10 +45,10 @@ def by_industry_data_connector_id(self,industry_data_connector_id: str) -> Indus async def get(self,request_configuration: Optional[DataConnectorsRequestBuilderGetRequestConfiguration] = None) -> Optional[IndustryDataConnectorCollectionResponse]: """ - Get the industryDataConnector resources from the dataConnector navigation property. This API is available in the following national cloud deployments. + Get a list of the azureDataLakeConnector objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IndustryDataConnectorCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/industrydata-industrydataconnector-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/industrydata-azuredatalakeconnector-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -67,11 +67,11 @@ async def get(self,request_configuration: Optional[DataConnectorsRequestBuilderG async def post(self,body: Optional[IndustryDataConnector] = None, request_configuration: Optional[DataConnectorsRequestBuilderPostRequestConfiguration] = None) -> Optional[IndustryDataConnector]: """ - Create a new industryDataConnector object. This API is available in the following national cloud deployments. + Create a new azureDataLakeConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IndustryDataConnector] - Find more info here: https://learn.microsoft.com/graph/api/industrydata-industrydataconnector-post?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/industrydata-azuredatalakeconnector-post?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -92,7 +92,7 @@ async def post(self,body: Optional[IndustryDataConnector] = None, request_config def to_get_request_information(self,request_configuration: Optional[DataConnectorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the industryDataConnector resources from the dataConnector navigation property. This API is available in the following national cloud deployments. + Get a list of the azureDataLakeConnector objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[DataConnecto request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[IndustryDataConnector] = None, request_configuration: Optional[DataConnectorsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new industryDataConnector object. This API is available in the following national cloud deployments. + Create a new azureDataLakeConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[IndustryDataConnector] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DataConnectorsRequestBuilderGetQueryParameters(): """ - Get the industryDataConnector resources from the dataConnector navigation property. This API is available in the following national cloud deployments. + Get a list of the azureDataLakeConnector objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/external/industry_data/data_connectors/item/industry_data_connector_item_request_builder.py b/msgraph_beta/generated/external/industry_data/data_connectors/item/industry_data_connector_item_request_builder.py index 48239e62e68..ba5eae8d45d 100644 --- a/msgraph_beta/generated/external/industry_data/data_connectors/item/industry_data_connector_item_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/data_connectors/item/industry_data_connector_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[IndustryDataConnectorItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an azureDataLakeConnector object. This API is available in the following national cloud deployments. + Delete an azureDataLakeConnector object. 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/industrydata-azuredatalakeconnector-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[IndustryDataConnectorItemR async def get(self,request_configuration: Optional[IndustryDataConnectorItemRequestBuilderGetRequestConfiguration] = None) -> Optional[IndustryDataConnector]: """ - Read the properties and relationships of an industryDataConnector object. This API is available in the following national cloud deployments. + Read the properties and relationships of an industryDataConnector object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IndustryDataConnector] Find more info here: https://learn.microsoft.com/graph/api/industrydata-industrydataconnector-get?view=graph-rest-1.0 @@ -72,11 +72,11 @@ async def get(self,request_configuration: Optional[IndustryDataConnectorItemRequ async def patch(self,body: Optional[IndustryDataConnector] = None, request_configuration: Optional[IndustryDataConnectorItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[IndustryDataConnector]: """ - Update the properties of an azureDataLakeConnector object. This API is available in the following national cloud deployments. + Update the properties of an industryDataConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IndustryDataConnector] - Find more info here: https://learn.microsoft.com/graph/api/industrydata-azuredatalakeconnector-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/industrydata-industrydataconnector-update?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -97,7 +97,7 @@ async def patch(self,body: Optional[IndustryDataConnector] = None, request_confi def to_delete_request_information(self,request_configuration: Optional[IndustryDataConnectorItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an azureDataLakeConnector object. This API is available in the following national cloud deployments. + Delete an azureDataLakeConnector object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[IndustryD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[IndustryDataConnectorItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an industryDataConnector object. This API is available in the following national cloud deployments. + Read the properties and relationships of an industryDataConnector object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[IndustryData request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[IndustryDataConnector] = None, request_configuration: Optional[IndustryDataConnectorItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an azureDataLakeConnector object. This API is available in the following national cloud deployments. + Update the properties of an industryDataConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[IndustryDataConnector] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class IndustryDataConnectorItemRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class IndustryDataConnectorItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an industryDataConnector object. This API is available in the following national cloud deployments. + Read the properties and relationships of an industryDataConnector object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/external/industry_data/data_connectors/item/microsoft_graph_industry_data_validate/microsoft_graph_industry_data_validate_request_builder.py b/msgraph_beta/generated/external/industry_data/data_connectors/item/microsoft_graph_industry_data_validate/microsoft_graph_industry_data_validate_request_builder.py index 3934967e47c..3a951bb0e4e 100644 --- a/msgraph_beta/generated/external/industry_data/data_connectors/item/microsoft_graph_industry_data_validate/microsoft_graph_industry_data_validate_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/data_connectors/item/microsoft_graph_industry_data_validate/microsoft_graph_industry_data_validate_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[MicrosoftGraphIndustryDataValidateRequestBuilderPostRequestConfiguration] = None) -> None: """ - Perform validations applicable for the specific instance of the data connector. This API is available in the following national cloud deployments. + Perform validations applicable for the specific instance of the data connector. 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/industrydata-industrydataconnector-validate?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[MicrosoftGraphIndustryDataVa def to_post_request_information(self,request_configuration: Optional[MicrosoftGraphIndustryDataValidateRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Perform validations applicable for the specific instance of the data connector. This API is available in the following national cloud deployments. + Perform validations applicable for the specific instance of the data connector. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphIndustryDataValidateRequestBuilder: diff --git a/msgraph_beta/generated/external/industry_data/data_connectors/item/source_system/source_system_request_builder.py b/msgraph_beta/generated/external/industry_data/data_connectors/item/source_system/source_system_request_builder.py index 8742a240c14..39374b4345c 100644 --- a/msgraph_beta/generated/external/industry_data/data_connectors/item/source_system/source_system_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/data_connectors/item/source_system/source_system_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SourceSystem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SourceSystemRequestBuilder: diff --git a/msgraph_beta/generated/external/industry_data/inbound_flows/inbound_flows_request_builder.py b/msgraph_beta/generated/external/industry_data/inbound_flows/inbound_flows_request_builder.py index f2223d4296b..616333d9782 100644 --- a/msgraph_beta/generated/external/industry_data/inbound_flows/inbound_flows_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/inbound_flows/inbound_flows_request_builder.py @@ -45,7 +45,7 @@ def by_inbound_flow_id(self,inbound_flow_id: str) -> InboundFlowItemRequestBuild async def get(self,request_configuration: Optional[InboundFlowsRequestBuilderGetRequestConfiguration] = None) -> Optional[InboundFlowCollectionResponse]: """ - Get a list of the inboundFlow objects and their properties. This API is available in the following national cloud deployments. + Get a list of the inboundFlow objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InboundFlowCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/industrydata-inboundflow-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[InboundFlowsRequestBuilderGet async def post(self,body: Optional[InboundFlow] = None, request_configuration: Optional[InboundFlowsRequestBuilderPostRequestConfiguration] = None) -> Optional[InboundFlow]: """ - Create a new inboundFlow object. The following prerequisite resources are required when you create an inboundFlow: This API is available in the following national cloud deployments. + Create a new inboundFlow object. The following prerequisite resources are required when you create an inboundFlow: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InboundFlow] @@ -92,7 +92,7 @@ async def post(self,body: Optional[InboundFlow] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[InboundFlowsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the inboundFlow objects and their properties. This API is available in the following national cloud deployments. + Get a list of the inboundFlow objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[InboundFlows request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[InboundFlow] = None, request_configuration: Optional[InboundFlowsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new inboundFlow object. The following prerequisite resources are required when you create an inboundFlow: This API is available in the following national cloud deployments. + Create a new inboundFlow object. The following prerequisite resources are required when you create an inboundFlow: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[InboundFlow] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class InboundFlowsRequestBuilderGetQueryParameters(): """ - Get a list of the inboundFlow objects and their properties. This API is available in the following national cloud deployments. + Get a list of the inboundFlow objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/external/industry_data/inbound_flows/item/data_connector/data_connector_request_builder.py b/msgraph_beta/generated/external/industry_data/inbound_flows/item/data_connector/data_connector_request_builder.py index e3aacb2f95a..3349477e331 100644 --- a/msgraph_beta/generated/external/industry_data/inbound_flows/item/data_connector/data_connector_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/inbound_flows/item/data_connector/data_connector_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DataConnecto request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DataConnectorRequestBuilder: diff --git a/msgraph_beta/generated/external/industry_data/inbound_flows/item/inbound_flow_item_request_builder.py b/msgraph_beta/generated/external/industry_data/inbound_flows/item/inbound_flow_item_request_builder.py index c7a1a2788c6..9a71adb757e 100644 --- a/msgraph_beta/generated/external/industry_data/inbound_flows/item/inbound_flow_item_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/inbound_flows/item/inbound_flow_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[InboundFlowItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an inboundFileFlow object. This API is available in the following national cloud deployments. + Delete an inboundFileFlow object. 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/industrydata-inboundfileflow-delete?view=graph-rest-1.0 @@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[InboundFlowItemRequestBuil async def get(self,request_configuration: Optional[InboundFlowItemRequestBuilderGetRequestConfiguration] = None) -> Optional[InboundFlow]: """ - Read the properties and relationships of an inboundFileFlow object. This API is available in the following national cloud deployments. + Read the properties and relationships of an inboundFlow object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InboundFlow] - Find more info here: https://learn.microsoft.com/graph/api/industrydata-inboundfileflow-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/industrydata-inboundflow-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[InboundFlowItemRequestBuilder async def patch(self,body: Optional[InboundFlow] = None, request_configuration: Optional[InboundFlowItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[InboundFlow]: """ - Update the properties of an inboundFlow object. This API is available in the following national cloud deployments. + Update the properties of an inboundFlow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InboundFlow] @@ -97,7 +97,7 @@ async def patch(self,body: Optional[InboundFlow] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[InboundFlowItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an inboundFileFlow object. This API is available in the following national cloud deployments. + Delete an inboundFileFlow object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[InboundFl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[InboundFlowItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an inboundFileFlow object. This API is available in the following national cloud deployments. + Read the properties and relationships of an inboundFlow object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[InboundFlowI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[InboundFlow] = None, request_configuration: Optional[InboundFlowItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an inboundFlow object. This API is available in the following national cloud deployments. + Update the properties of an inboundFlow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[InboundFlow] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class InboundFlowItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class InboundFlowItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an inboundFileFlow object. This API is available in the following national cloud deployments. + Read the properties and relationships of an inboundFlow object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/external/industry_data/inbound_flows/item/year/year_request_builder.py b/msgraph_beta/generated/external/industry_data/inbound_flows/item/year/year_request_builder.py index f5b4a7eb98c..4425bad57e6 100644 --- a/msgraph_beta/generated/external/industry_data/inbound_flows/item/year/year_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/inbound_flows/item/year/year_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[YearRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> YearRequestBuilder: diff --git a/msgraph_beta/generated/external/industry_data/industry_data_request_builder.py b/msgraph_beta/generated/external/industry_data/industry_data_request_builder.py index 3423d227c6c..4a0eb7ba128 100644 --- a/msgraph_beta/generated/external/industry_data/industry_data_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/industry_data_request_builder.py @@ -69,7 +69,7 @@ def to_get_request_information(self,request_configuration: Optional[IndustryData request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IndustryDataRequestBuilder: diff --git a/msgraph_beta/generated/external/industry_data/operations/item/long_running_operation_item_request_builder.py b/msgraph_beta/generated/external/industry_data/operations/item/long_running_operation_item_request_builder.py index 20a44b8ffda..65408a6ebdb 100644 --- a/msgraph_beta/generated/external/industry_data/operations/item/long_running_operation_item_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/operations/item/long_running_operation_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[LongRunningOperationItemRe async def get(self,request_configuration: Optional[LongRunningOperationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[LongRunningOperation]: """ - Read the properties and relationships of a fileValidateOperation object. This API is available in the following national cloud deployments. + Read the properties and relationships of a fileValidateOperation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LongRunningOperation] Find more info here: https://learn.microsoft.com/graph/api/industrydata-filevalidateoperation-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[LongRunni request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LongRunningOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a fileValidateOperation object. This API is available in the following national cloud deployments. + Read the properties and relationships of a fileValidateOperation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[LongRunningO request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[LongRunningOperation] = None, request_configuration: Optional[LongRunningOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[LongRunningOperation] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class LongRunningOperationItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class LongRunningOperationItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a fileValidateOperation object. This API is available in the following national cloud deployments. + Read the properties and relationships of a fileValidateOperation object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/external/industry_data/operations/operations_request_builder.py b/msgraph_beta/generated/external/industry_data/operations/operations_request_builder.py index d028b43e7d6..b9289efb853 100644 --- a/msgraph_beta/generated/external/industry_data/operations/operations_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/operations/operations_request_builder.py @@ -45,7 +45,7 @@ def by_long_running_operation_id(self,long_running_operation_id: str) -> LongRun async def get(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> Optional[LongRunningOperationCollectionResponse]: """ - Get a list of long-running file validation operations and their statuses. This API is available in the following national cloud deployments. + Get a list of long-running file validation operations and their statuses. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LongRunningOperationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/industrydata-filevalidateoperation-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[LongRunningOperation] = None, request_configu def to_get_request_information(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of long-running file validation operations and their statuses. This API is available in the following national cloud deployments. + Get a list of long-running file validation operations and their statuses. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[LongRunningOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[LongRunningOperation] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OperationsRequestBuilderGetQueryParameters(): """ - Get a list of long-running file validation operations and their statuses. This API is available in the following national cloud deployments. + Get a list of long-running file validation operations and their statuses. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/external/industry_data/reference_definitions/item/reference_definition_item_request_builder.py b/msgraph_beta/generated/external/industry_data/reference_definitions/item/reference_definition_item_request_builder.py index b3d97808148..ad4fff66d61 100644 --- a/msgraph_beta/generated/external/industry_data/reference_definitions/item/reference_definition_item_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/reference_definitions/item/reference_definition_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ReferenceDefinitionItemReq async def get(self,request_configuration: Optional[ReferenceDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ReferenceDefinition]: """ - Read the properties and relationships of a referenceDefinition object. This API is available in the following national cloud deployments. + Read the properties and relationships of a referenceDefinition object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ReferenceDefinition] Find more info here: https://learn.microsoft.com/graph/api/industrydata-referencedefinition-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Reference request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ReferenceDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a referenceDefinition object. This API is available in the following national cloud deployments. + Read the properties and relationships of a referenceDefinition object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ReferenceDef request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ReferenceDefinition] = None, request_configuration: Optional[ReferenceDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ReferenceDefinition] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ReferenceDefinitionItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class ReferenceDefinitionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a referenceDefinition object. This API is available in the following national cloud deployments. + Read the properties and relationships of a referenceDefinition object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/external/industry_data/reference_definitions/reference_definitions_request_builder.py b/msgraph_beta/generated/external/industry_data/reference_definitions/reference_definitions_request_builder.py index cf4c5c20ba8..6ae83caba88 100644 --- a/msgraph_beta/generated/external/industry_data/reference_definitions/reference_definitions_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/reference_definitions/reference_definitions_request_builder.py @@ -45,7 +45,7 @@ def by_reference_definition_id(self,reference_definition_id: str) -> ReferenceDe async def get(self,request_configuration: Optional[ReferenceDefinitionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ReferenceDefinitionCollectionResponse]: """ - Get a list of the referenceDefinition objects and their properties. This API is available in the following national cloud deployments. + Get a list of the referenceDefinition objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ReferenceDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/industrydata-referencedefinition-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ReferenceDefinition] = None, request_configur def to_get_request_information(self,request_configuration: Optional[ReferenceDefinitionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the referenceDefinition objects and their properties. This API is available in the following national cloud deployments. + Get a list of the referenceDefinition objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ReferenceDef request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceDefinition] = None, request_configuration: Optional[ReferenceDefinitionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ReferenceDefinition] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ReferenceDefinitionsRequestBuilderGetQueryParameters(): """ - Get a list of the referenceDefinition objects and their properties. This API is available in the following national cloud deployments. + Get a list of the referenceDefinition objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/external/industry_data/role_groups/item/role_group_item_request_builder.py b/msgraph_beta/generated/external/industry_data/role_groups/item/role_group_item_request_builder.py index 64105a2843d..c0e34efa8be 100644 --- a/msgraph_beta/generated/external/industry_data/role_groups/item/role_group_item_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/role_groups/item/role_group_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RoleGroupItemRequestBuilde async def get(self,request_configuration: Optional[RoleGroupItemRequestBuilderGetRequestConfiguration] = None) -> Optional[RoleGroup]: """ - Read the properties and relationships of a roleGroup object. This API is available in the following national cloud deployments. + Read the properties and relationships of a roleGroup object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RoleGroup] Find more info here: https://learn.microsoft.com/graph/api/industrydata-rolegroup-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[RoleGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RoleGroupItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a roleGroup object. This API is available in the following national cloud deployments. + Read the properties and relationships of a roleGroup object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleGroupIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RoleGroup] = None, request_configuration: Optional[RoleGroupItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[RoleGroup] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class RoleGroupItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class RoleGroupItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a roleGroup object. This API is available in the following national cloud deployments. + Read the properties and relationships of a roleGroup object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/external/industry_data/role_groups/role_groups_request_builder.py b/msgraph_beta/generated/external/industry_data/role_groups/role_groups_request_builder.py index 4cf2282aa55..b730a40a53a 100644 --- a/msgraph_beta/generated/external/industry_data/role_groups/role_groups_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/role_groups/role_groups_request_builder.py @@ -45,7 +45,7 @@ def by_role_group_id(self,role_group_id: str) -> RoleGroupItemRequestBuilder: async def get(self,request_configuration: Optional[RoleGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[RoleGroupCollectionResponse]: """ - Get a list of the roleGroup objects and their properties. This API is available in the following national cloud deployments. + Get a list of the roleGroup objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RoleGroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/industrydata-rolegroup-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[RoleGroup] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[RoleGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the roleGroup objects and their properties. This API is available in the following national cloud deployments. + Get a list of the roleGroup objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleGroupsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[RoleGroup] = None, request_configuration: Optional[RoleGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[RoleGroup] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleGroupsRequestBuilderGetQueryParameters(): """ - Get a list of the roleGroup objects and their properties. This API is available in the following national cloud deployments. + Get a list of the roleGroup objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/external/industry_data/runs/item/activities/activities_request_builder.py b/msgraph_beta/generated/external/industry_data/runs/item/activities/activities_request_builder.py index 592bb18393d..aff453100af 100644 --- a/msgraph_beta/generated/external/industry_data/runs/item/activities/activities_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/runs/item/activities/activities_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivitiesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ActivitiesRequestBuilder: diff --git a/msgraph_beta/generated/external/industry_data/runs/item/activities/item/activity/activity_request_builder.py b/msgraph_beta/generated/external/industry_data/runs/item/activities/item/activity/activity_request_builder.py index 7bf3c85642e..85520c7dbca 100644 --- a/msgraph_beta/generated/external/industry_data/runs/item/activities/item/activity/activity_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/runs/item/activities/item/activity/activity_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivityRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ActivityRequestBuilder: diff --git a/msgraph_beta/generated/external/industry_data/runs/item/activities/item/industry_data_run_activity_item_request_builder.py b/msgraph_beta/generated/external/industry_data/runs/item/activities/item/industry_data_run_activity_item_request_builder.py index 29103713e17..4e3b9e97221 100644 --- a/msgraph_beta/generated/external/industry_data/runs/item/activities/item/industry_data_run_activity_item_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/runs/item/activities/item/industry_data_run_activity_item_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[IndustryData request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IndustryDataRunActivityItemRequestBuilder: diff --git a/msgraph_beta/generated/external/industry_data/runs/item/industry_data_run_item_request_builder.py b/msgraph_beta/generated/external/industry_data/runs/item/industry_data_run_item_request_builder.py index d3a3b5201c9..7177a90a90c 100644 --- a/msgraph_beta/generated/external/industry_data/runs/item/industry_data_run_item_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/runs/item/industry_data_run_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[IndustryDataRunItemRequestBuilderGetRequestConfiguration] = None) -> Optional[IndustryDataRun]: """ - Read the properties and relationships of an industryDataRun object. This API is available in the following national cloud deployments. + Read the properties and relationships of an industryDataRun object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IndustryDataRun] Find more info here: https://learn.microsoft.com/graph/api/industrydata-industrydatarun-get?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[IndustryDataRunItemRequestBui def to_get_request_information(self,request_configuration: Optional[IndustryDataRunItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an industryDataRun object. This API is available in the following national cloud deployments. + Read the properties and relationships of an industryDataRun object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[IndustryData request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IndustryDataRunItemRequestBuilder: @@ -98,7 +98,7 @@ def microsoft_graph_industry_data_get_statistics(self) -> MicrosoftGraphIndustry @dataclass class IndustryDataRunItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an industryDataRun object. This API is available in the following national cloud deployments. + Read the properties and relationships of an industryDataRun object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/external/industry_data/runs/item/microsoft_graph_industry_data_get_statistics/microsoft_graph_industry_data_get_statistics_request_builder.py b/msgraph_beta/generated/external/industry_data/runs/item/microsoft_graph_industry_data_get_statistics/microsoft_graph_industry_data_get_statistics_request_builder.py index 248154ceb98..8d8cef873e2 100644 --- a/msgraph_beta/generated/external/industry_data/runs/item/microsoft_graph_industry_data_get_statistics/microsoft_graph_industry_data_get_statistics_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/runs/item/microsoft_graph_industry_data_get_statistics/microsoft_graph_industry_data_get_statistics_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphIndustryDataGetStatisticsRequestBuilder: diff --git a/msgraph_beta/generated/external/industry_data/runs/microsoft_graph_industry_data_get_statistics/microsoft_graph_industry_data_get_statistics_request_builder.py b/msgraph_beta/generated/external/industry_data/runs/microsoft_graph_industry_data_get_statistics/microsoft_graph_industry_data_get_statistics_request_builder.py index cc562d119dc..5cf89178747 100644 --- a/msgraph_beta/generated/external/industry_data/runs/microsoft_graph_industry_data_get_statistics/microsoft_graph_industry_data_get_statistics_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/runs/microsoft_graph_industry_data_get_statistics/microsoft_graph_industry_data_get_statistics_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphIndustryDataGetStatisticsRequestBuilder: diff --git a/msgraph_beta/generated/external/industry_data/runs/runs_request_builder.py b/msgraph_beta/generated/external/industry_data/runs/runs_request_builder.py index 52f3f49b897..cd34de8ad4a 100644 --- a/msgraph_beta/generated/external/industry_data/runs/runs_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/runs/runs_request_builder.py @@ -45,7 +45,7 @@ def by_industry_data_run_id(self,industry_data_run_id: str) -> IndustryDataRunIt async def get(self,request_configuration: Optional[RunsRequestBuilderGetRequestConfiguration] = None) -> Optional[IndustryDataRunCollectionResponse]: """ - Get a list of the industryDataRun objects and their properties. This API is available in the following national cloud deployments. + Get a list of the industryDataRun objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IndustryDataRunCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/industrydata-industrydatarun-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RunsRequestBuilderGetRequestC def to_get_request_information(self,request_configuration: Optional[RunsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the industryDataRun objects and their properties. This API is available in the following national cloud deployments. + Get a list of the industryDataRun objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[RunsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RunsRequestBuilder: @@ -113,7 +113,7 @@ def microsoft_graph_industry_data_get_statistics(self) -> MicrosoftGraphIndustry @dataclass class RunsRequestBuilderGetQueryParameters(): """ - Get a list of the industryDataRun objects and their properties. This API is available in the following national cloud deployments. + Get a list of the industryDataRun objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/external/industry_data/source_systems/item/source_system_definition_item_request_builder.py b/msgraph_beta/generated/external/industry_data/source_systems/item/source_system_definition_item_request_builder.py index 46eaa2ab0a9..0f1a14de3e6 100644 --- a/msgraph_beta/generated/external/industry_data/source_systems/item/source_system_definition_item_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/source_systems/item/source_system_definition_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[SourceSystemDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a sourceSystemDefinition object. This API is available in the following national cloud deployments. + Delete a sourceSystemDefinition object. 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/industrydata-sourcesystemdefinition-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[SourceSystemDefinitionItem async def get(self,request_configuration: Optional[SourceSystemDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SourceSystemDefinition]: """ - Read the properties and relationships of a sourceSystemDefinition object. This API is available in the following national cloud deployments. + Read the properties and relationships of a sourceSystemDefinition object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SourceSystemDefinition] Find more info here: https://learn.microsoft.com/graph/api/industrydata-sourcesystemdefinition-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[SourceSystemDefinitionItemReq async def patch(self,body: Optional[SourceSystemDefinition] = None, request_configuration: Optional[SourceSystemDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[SourceSystemDefinition]: """ - Update the properties of a sourceSystemDefinition object. This API is available in the following national cloud deployments. + Update the properties of a sourceSystemDefinition object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SourceSystemDefinition] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[SourceSystemDefinition] = None, request_conf def to_delete_request_information(self,request_configuration: Optional[SourceSystemDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a sourceSystemDefinition object. This API is available in the following national cloud deployments. + Delete a sourceSystemDefinition object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[SourceSys request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SourceSystemDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a sourceSystemDefinition object. This API is available in the following national cloud deployments. + Read the properties and relationships of a sourceSystemDefinition object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[SourceSystem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SourceSystemDefinition] = None, request_configuration: Optional[SourceSystemDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a sourceSystemDefinition object. This API is available in the following national cloud deployments. + Update the properties of a sourceSystemDefinition object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[SourceSystemDefinition] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class SourceSystemDefinitionItemRequestBuilderDeleteRequestConfiguration(BaseReq @dataclass class SourceSystemDefinitionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a sourceSystemDefinition object. This API is available in the following national cloud deployments. + Read the properties and relationships of a sourceSystemDefinition object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/external/industry_data/source_systems/source_systems_request_builder.py b/msgraph_beta/generated/external/industry_data/source_systems/source_systems_request_builder.py index c3f3af86e51..2f5a4e98d76 100644 --- a/msgraph_beta/generated/external/industry_data/source_systems/source_systems_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/source_systems/source_systems_request_builder.py @@ -45,7 +45,7 @@ def by_source_system_definition_id(self,source_system_definition_id: str) -> Sou async def get(self,request_configuration: Optional[SourceSystemsRequestBuilderGetRequestConfiguration] = None) -> Optional[SourceSystemDefinitionCollectionResponse]: """ - Get a list of the sourceSystemDefinition objects and their properties. This API is available in the following national cloud deployments. + Get a list of the sourceSystemDefinition objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SourceSystemDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/industrydata-sourcesystemdefinition-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SourceSystemsRequestBuilderGe async def post(self,body: Optional[SourceSystemDefinition] = None, request_configuration: Optional[SourceSystemsRequestBuilderPostRequestConfiguration] = None) -> Optional[SourceSystemDefinition]: """ - Create a new sourceSystemDefinition object. This API is available in the following national cloud deployments. + Create a new sourceSystemDefinition object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SourceSystemDefinition] @@ -92,7 +92,7 @@ async def post(self,body: Optional[SourceSystemDefinition] = None, request_confi def to_get_request_information(self,request_configuration: Optional[SourceSystemsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the sourceSystemDefinition objects and their properties. This API is available in the following national cloud deployments. + Get a list of the sourceSystemDefinition objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SourceSystem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SourceSystemDefinition] = None, request_configuration: Optional[SourceSystemsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new sourceSystemDefinition object. This API is available in the following national cloud deployments. + Create a new sourceSystemDefinition object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[SourceSystemDefinition] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SourceSystemsRequestBuilderGetQueryParameters(): """ - Get a list of the sourceSystemDefinition objects and their properties. This API is available in the following national cloud deployments. + Get a list of the sourceSystemDefinition objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/external/industry_data/years/item/year_time_period_definition_item_request_builder.py b/msgraph_beta/generated/external/industry_data/years/item/year_time_period_definition_item_request_builder.py index 9e36ecba355..2a6279e85cd 100644 --- a/msgraph_beta/generated/external/industry_data/years/item/year_time_period_definition_item_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/years/item/year_time_period_definition_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[YearTimePeriodDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a yearTimePeriodDefinition object. This API is available in the following national cloud deployments. + Delete a yearTimePeriodDefinition object. 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/industrydata-yeartimeperioddefinition-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[YearTimePeriodDefinitionIt async def get(self,request_configuration: Optional[YearTimePeriodDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[YearTimePeriodDefinition]: """ - Read the properties and relationships of a yearTimePeriodDefinition object. This API is available in the following national cloud deployments. + Read the properties and relationships of a yearTimePeriodDefinition object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[YearTimePeriodDefinition] Find more info here: https://learn.microsoft.com/graph/api/industrydata-yeartimeperioddefinition-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[YearTimePeriodDefinitionItemR async def patch(self,body: Optional[YearTimePeriodDefinition] = None, request_configuration: Optional[YearTimePeriodDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[YearTimePeriodDefinition]: """ - Update the properties of a yearTimePeriodDefinition object. This API is available in the following national cloud deployments. + Update the properties of a yearTimePeriodDefinition object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[YearTimePeriodDefinition] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[YearTimePeriodDefinition] = None, request_co def to_delete_request_information(self,request_configuration: Optional[YearTimePeriodDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a yearTimePeriodDefinition object. This API is available in the following national cloud deployments. + Delete a yearTimePeriodDefinition object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[YearTimeP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[YearTimePeriodDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a yearTimePeriodDefinition object. This API is available in the following national cloud deployments. + Read the properties and relationships of a yearTimePeriodDefinition object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[YearTimePeri request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[YearTimePeriodDefinition] = None, request_configuration: Optional[YearTimePeriodDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a yearTimePeriodDefinition object. This API is available in the following national cloud deployments. + Update the properties of a yearTimePeriodDefinition object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[YearTimePeriodDefinition] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class YearTimePeriodDefinitionItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class YearTimePeriodDefinitionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a yearTimePeriodDefinition object. This API is available in the following national cloud deployments. + Read the properties and relationships of a yearTimePeriodDefinition object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/external/industry_data/years/years_request_builder.py b/msgraph_beta/generated/external/industry_data/years/years_request_builder.py index ceb1926e9da..d5f1035f485 100644 --- a/msgraph_beta/generated/external/industry_data/years/years_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/years/years_request_builder.py @@ -45,7 +45,7 @@ def by_year_time_period_definition_id(self,year_time_period_definition_id: str) async def get(self,request_configuration: Optional[YearsRequestBuilderGetRequestConfiguration] = None) -> Optional[YearTimePeriodDefinitionCollectionResponse]: """ - Get a list of the yearTimePeriodDefinition objects and their properties. This API is available in the following national cloud deployments. + Get a list of the yearTimePeriodDefinition objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[YearTimePeriodDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/industrydata-yeartimeperioddefinition-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[YearsRequestBuilderGetRequest async def post(self,body: Optional[YearTimePeriodDefinition] = None, request_configuration: Optional[YearsRequestBuilderPostRequestConfiguration] = None) -> Optional[YearTimePeriodDefinition]: """ - Create a new yearTimePeriodDefinition object. This API is available in the following national cloud deployments. + Create a new yearTimePeriodDefinition object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[YearTimePeriodDefinition] @@ -92,7 +92,7 @@ async def post(self,body: Optional[YearTimePeriodDefinition] = None, request_con def to_get_request_information(self,request_configuration: Optional[YearsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the yearTimePeriodDefinition objects and their properties. This API is available in the following national cloud deployments. + Get a list of the yearTimePeriodDefinition objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[YearsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[YearTimePeriodDefinition] = None, request_configuration: Optional[YearsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new yearTimePeriodDefinition object. This API is available in the following national cloud deployments. + Create a new yearTimePeriodDefinition object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[YearTimePeriodDefinition] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class YearsRequestBuilderGetQueryParameters(): """ - Get a list of the yearTimePeriodDefinition objects and their properties. This API is available in the following national cloud deployments. + Get a list of the yearTimePeriodDefinition objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/filter_operators/filter_operators_request_builder.py b/msgraph_beta/generated/filter_operators/filter_operators_request_builder.py index 06481a800a0..8e08aeafaac 100644 --- a/msgraph_beta/generated/filter_operators/filter_operators_request_builder.py +++ b/msgraph_beta/generated/filter_operators/filter_operators_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterOperat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[FilterOperatorSchema] = None, request_configuration: Optional[FilterOperatorsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[FilterOperatorSchema] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/filter_operators/item/filter_operator_schema_item_request_builder.py b/msgraph_beta/generated/filter_operators/item/filter_operator_schema_item_request_builder.py index 8ccac5acd88..9e21ff389e6 100644 --- a/msgraph_beta/generated/filter_operators/item/filter_operator_schema_item_request_builder.py +++ b/msgraph_beta/generated/filter_operators/item/filter_operator_schema_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[FilterOpe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FilterOperatorSchemaItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterOperat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[FilterOperatorSchema] = None, request_configuration: Optional[FilterOperatorSchemaItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[FilterOperatorSchema] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/companies_request_builder.py b/msgraph_beta/generated/financials/companies/companies_request_builder.py index 0d854a3accf..cb2022d9474 100644 --- a/msgraph_beta/generated/financials/companies/companies_request_builder.py +++ b/msgraph_beta/generated/financials/companies/companies_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[CompaniesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CompaniesRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/accounts/accounts_request_builder.py b/msgraph_beta/generated/financials/companies/item/accounts/accounts_request_builder.py index 9055763a18a..930b3759b32 100644 --- a/msgraph_beta/generated/financials/companies/item/accounts/accounts_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/accounts/accounts_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[AccountsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccountsRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/accounts/item/account_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/accounts/item/account_item_request_builder.py index 64df0d61c31..6034f6dfc30 100644 --- a/msgraph_beta/generated/financials/companies/item/accounts/item/account_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/accounts/item/account_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccountItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccountItemRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/aged_accounts_payable/aged_accounts_payable_request_builder.py b/msgraph_beta/generated/financials/companies/item/aged_accounts_payable/aged_accounts_payable_request_builder.py index 046687e75ca..df58fc190ab 100644 --- a/msgraph_beta/generated/financials/companies/item/aged_accounts_payable/aged_accounts_payable_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/aged_accounts_payable/aged_accounts_payable_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[AgedAccounts request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AgedAccountsPayableRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/aged_accounts_payable/item/aged_accounts_payable_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/aged_accounts_payable/item/aged_accounts_payable_item_request_builder.py index 0a14277eba1..642be9408de 100644 --- a/msgraph_beta/generated/financials/companies/item/aged_accounts_payable/item/aged_accounts_payable_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/aged_accounts_payable/item/aged_accounts_payable_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AgedAccounts request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AgedAccountsPayableItemRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/aged_accounts_receivable/aged_accounts_receivable_request_builder.py b/msgraph_beta/generated/financials/companies/item/aged_accounts_receivable/aged_accounts_receivable_request_builder.py index 9351cd0d646..6ef129c07bf 100644 --- a/msgraph_beta/generated/financials/companies/item/aged_accounts_receivable/aged_accounts_receivable_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/aged_accounts_receivable/aged_accounts_receivable_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[AgedAccounts request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AgedAccountsReceivableRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/aged_accounts_receivable/item/aged_accounts_receivable_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/aged_accounts_receivable/item/aged_accounts_receivable_item_request_builder.py index c4cccc9c3d7..fbfea116a5f 100644 --- a/msgraph_beta/generated/financials/companies/item/aged_accounts_receivable/item/aged_accounts_receivable_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/aged_accounts_receivable/item/aged_accounts_receivable_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AgedAccounts request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AgedAccountsReceivableItemRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/company_information/company_information_request_builder.py b/msgraph_beta/generated/financials/companies/item/company_information/company_information_request_builder.py index 096b6235ead..dde9ce7f9b0 100644 --- a/msgraph_beta/generated/financials/companies/item/company_information/company_information_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/company_information/company_information_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[CompanyInfor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CompanyInformationRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/company_information/item/company_information_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/company_information/item/company_information_item_request_builder.py index 29c4c241c5c..4b5428d3126 100644 --- a/msgraph_beta/generated/financials/companies/item/company_information/item/company_information_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/company_information/item/company_information_item_request_builder.py @@ -86,7 +86,7 @@ def to_get_request_information(self,request_configuration: Optional[CompanyInfor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CompanyInformation] = None, request_configuration: Optional[CompanyInformationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -105,7 +105,7 @@ def to_patch_request_information(self,body: Optional[CompanyInformation] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/company_information/item/picture/picture_request_builder.py b/msgraph_beta/generated/financials/companies/item/company_information/item/picture/picture_request_builder.py index 25c2b093204..ab92215b0c9 100644 --- a/msgraph_beta/generated/financials/companies/item/company_information/item/picture/picture_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/company_information/item/picture/picture_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[PictureRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -98,7 +98,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/financials/companies/item/company_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/company_item_request_builder.py index 08397f116d4..b027aa7f9f7 100644 --- a/msgraph_beta/generated/financials/companies/item/company_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/company_item_request_builder.py @@ -96,7 +96,7 @@ def to_get_request_information(self,request_configuration: Optional[CompanyItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CompanyItemRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/countries_regions/countries_regions_request_builder.py b/msgraph_beta/generated/financials/companies/item/countries_regions/countries_regions_request_builder.py index e74d8a67b82..909ce14921c 100644 --- a/msgraph_beta/generated/financials/companies/item/countries_regions/countries_regions_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/countries_regions/countries_regions_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[CountriesReg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CountryRegion] = None, request_configuration: Optional[CountriesRegionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[CountryRegion] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/countries_regions/item/country_region_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/countries_regions/item/country_region_item_request_builder.py index 1b9913f9ea5..da485727c31 100644 --- a/msgraph_beta/generated/financials/companies/item/countries_regions/item/country_region_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/countries_regions/item/country_region_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[CountryRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CountryRegionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[CountryRegio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CountryRegion] = None, request_configuration: Optional[CountryRegionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[CountryRegion] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/currencies/currencies_request_builder.py b/msgraph_beta/generated/financials/companies/item/currencies/currencies_request_builder.py index e2075558831..6b27e609155 100644 --- a/msgraph_beta/generated/financials/companies/item/currencies/currencies_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/currencies/currencies_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[CurrenciesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Currency] = None, request_configuration: Optional[CurrenciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Currency] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/currencies/item/currency_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/currencies/item/currency_item_request_builder.py index b317814c1fb..966fe0e4af2 100644 --- a/msgraph_beta/generated/financials/companies/item/currencies/item/currency_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/currencies/item/currency_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[CurrencyI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CurrencyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[CurrencyItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Currency] = None, request_configuration: Optional[CurrencyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Currency] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/customer_payment_journals_request_builder.py b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/customer_payment_journals_request_builder.py index ae93a763968..c7e7e102be4 100644 --- a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/customer_payment_journals_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/customer_payment_journals_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomerPaym request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CustomerPaymentJournal] = None, request_configuration: Optional[CustomerPaymentJournalsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[CustomerPaymentJournal] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/account/account_request_builder.py b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/account/account_request_builder.py index 569ee8dc97e..0d0da79cb9c 100644 --- a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/account/account_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/account/account_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccountReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccountRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payment_journal_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payment_journal_item_request_builder.py index a968625de2d..b564350eb63 100644 --- a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payment_journal_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payment_journal_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[CustomerP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CustomerPaymentJournalItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomerPaym request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CustomerPaymentJournal] = None, request_configuration: Optional[CustomerPaymentJournalItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[CustomerPaymentJournal] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/customer_payments_request_builder.py b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/customer_payments_request_builder.py index e2acfe4405f..c89c2b7185c 100644 --- a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/customer_payments_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/customer_payments_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomerPaym request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CustomerPayment] = None, request_configuration: Optional[CustomerPaymentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[CustomerPayment] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/currency/currency_request_builder.py b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/currency/currency_request_builder.py index 2e42c5b4da4..e1784f05097 100644 --- a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/currency/currency_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/currency/currency_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[CurrencyR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CurrencyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[CurrencyRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Currency] = None, request_configuration: Optional[CurrencyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Currency] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/customer_request_builder.py b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/customer_request_builder.py index 9599bf8b5db..64129284789 100644 --- a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/customer_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/customer_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[CustomerR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CustomerRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomerRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Customer] = None, request_configuration: Optional[CustomerRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[Customer] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/payment_method/payment_method_request_builder.py b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/payment_method/payment_method_request_builder.py index d7501c9c1ec..f541ea6e24b 100644 --- a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/payment_method/payment_method_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/payment_method/payment_method_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PaymentMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PaymentMethodRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PaymentMetho request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PaymentMethod] = None, request_configuration: Optional[PaymentMethodRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PaymentMethod] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/payment_term/payment_term_request_builder.py b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/payment_term/payment_term_request_builder.py index 818e5d0f4e6..e5d2460b4c6 100644 --- a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/payment_term/payment_term_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/payment_term/payment_term_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PaymentTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PaymentTermRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PaymentTermR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PaymentTerm] = None, request_configuration: Optional[PaymentTermRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PaymentTerm] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/picture/item/content/content_request_builder.py b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/picture/item/content/content_request_builder.py index 0aeb5ca7bcf..2ecfd14f2ac 100644 --- a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/picture/item/content/content_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/picture/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/picture/item/picture_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/picture/item/picture_item_request_builder.py index 69a28699f8d..8185c810bba 100644 --- a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/picture/item/picture_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/picture/item/picture_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PictureIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PictureItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Picture] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/picture/picture_request_builder.py b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/picture/picture_request_builder.py index fa6b6890db3..4f3143307b1 100644 --- a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/picture/picture_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/picture/picture_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Picture] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/shipment_method/shipment_method_request_builder.py b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/shipment_method/shipment_method_request_builder.py index 57b33c049c0..20fffcb11bd 100644 --- a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/shipment_method/shipment_method_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer/shipment_method/shipment_method_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ShipmentM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ShipmentMethodRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ShipmentMeth request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ShipmentMethod] = None, request_configuration: Optional[ShipmentMethodRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ShipmentMethod] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer_payment_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer_payment_item_request_builder.py index d83e9506d4a..0091c541cc0 100644 --- a/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer_payment_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customer_payment_journals/item/customer_payments/item/customer_payment_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[CustomerP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CustomerPaymentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomerPaym request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CustomerPayment] = None, request_configuration: Optional[CustomerPaymentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[CustomerPayment] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customer_payments/customer_payments_request_builder.py b/msgraph_beta/generated/financials/companies/item/customer_payments/customer_payments_request_builder.py index 413726a43e3..565825a4bcd 100644 --- a/msgraph_beta/generated/financials/companies/item/customer_payments/customer_payments_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customer_payments/customer_payments_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomerPaym request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CustomerPayment] = None, request_configuration: Optional[CustomerPaymentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[CustomerPayment] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/currency/currency_request_builder.py b/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/currency/currency_request_builder.py index f2de120698d..66b7495f979 100644 --- a/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/currency/currency_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/currency/currency_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[CurrencyR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CurrencyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[CurrencyRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Currency] = None, request_configuration: Optional[CurrencyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Currency] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/customer_request_builder.py b/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/customer_request_builder.py index 9cc0695725b..cad633fb820 100644 --- a/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/customer_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/customer_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[CustomerR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CustomerRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomerRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Customer] = None, request_configuration: Optional[CustomerRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[Customer] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/payment_method/payment_method_request_builder.py b/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/payment_method/payment_method_request_builder.py index ae0d74b7bd9..61d34a21565 100644 --- a/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/payment_method/payment_method_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/payment_method/payment_method_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PaymentMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PaymentMethodRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PaymentMetho request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PaymentMethod] = None, request_configuration: Optional[PaymentMethodRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PaymentMethod] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/payment_term/payment_term_request_builder.py b/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/payment_term/payment_term_request_builder.py index 8988e96f34e..816cbcd1504 100644 --- a/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/payment_term/payment_term_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/payment_term/payment_term_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PaymentTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PaymentTermRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PaymentTermR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PaymentTerm] = None, request_configuration: Optional[PaymentTermRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PaymentTerm] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/picture/item/content/content_request_builder.py b/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/picture/item/content/content_request_builder.py index 4407c0d0c20..e22c2c208ce 100644 --- a/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/picture/item/content/content_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/picture/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/picture/item/picture_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/picture/item/picture_item_request_builder.py index 9822bbba35f..3ed7c42689b 100644 --- a/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/picture/item/picture_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/picture/item/picture_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PictureIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PictureItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Picture] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/picture/picture_request_builder.py b/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/picture/picture_request_builder.py index d748cc165b4..263b2e575ef 100644 --- a/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/picture/picture_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/picture/picture_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Picture] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/shipment_method/shipment_method_request_builder.py b/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/shipment_method/shipment_method_request_builder.py index 7226f6f8301..aacb6d88530 100644 --- a/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/shipment_method/shipment_method_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer/shipment_method/shipment_method_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ShipmentM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ShipmentMethodRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ShipmentMeth request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ShipmentMethod] = None, request_configuration: Optional[ShipmentMethodRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ShipmentMethod] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer_payment_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer_payment_item_request_builder.py index 790a6986976..b8adc761c68 100644 --- a/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer_payment_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customer_payments/item/customer_payment_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[CustomerP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CustomerPaymentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomerPaym request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CustomerPayment] = None, request_configuration: Optional[CustomerPaymentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[CustomerPayment] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customers/customers_request_builder.py b/msgraph_beta/generated/financials/companies/item/customers/customers_request_builder.py index b4bd3284d94..85d0700efc3 100644 --- a/msgraph_beta/generated/financials/companies/item/customers/customers_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customers/customers_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomersReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Customer] = None, request_configuration: Optional[CustomersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Customer] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customers/item/currency/currency_request_builder.py b/msgraph_beta/generated/financials/companies/item/customers/item/currency/currency_request_builder.py index e6736e5091a..b20cd2a0b94 100644 --- a/msgraph_beta/generated/financials/companies/item/customers/item/currency/currency_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customers/item/currency/currency_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[CurrencyR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CurrencyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[CurrencyRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Currency] = None, request_configuration: Optional[CurrencyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Currency] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customers/item/customer_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/customers/item/customer_item_request_builder.py index 0e22dab96a2..8d8319e6b4c 100644 --- a/msgraph_beta/generated/financials/companies/item/customers/item/customer_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customers/item/customer_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[CustomerI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CustomerItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomerItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Customer] = None, request_configuration: Optional[CustomerItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[Customer] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customers/item/payment_method/payment_method_request_builder.py b/msgraph_beta/generated/financials/companies/item/customers/item/payment_method/payment_method_request_builder.py index a7e7536d34d..ac04ea1bdc9 100644 --- a/msgraph_beta/generated/financials/companies/item/customers/item/payment_method/payment_method_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customers/item/payment_method/payment_method_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PaymentMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PaymentMethodRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PaymentMetho request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PaymentMethod] = None, request_configuration: Optional[PaymentMethodRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PaymentMethod] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customers/item/payment_term/payment_term_request_builder.py b/msgraph_beta/generated/financials/companies/item/customers/item/payment_term/payment_term_request_builder.py index 69d160b66a2..f69de38fac0 100644 --- a/msgraph_beta/generated/financials/companies/item/customers/item/payment_term/payment_term_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customers/item/payment_term/payment_term_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PaymentTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PaymentTermRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PaymentTermR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PaymentTerm] = None, request_configuration: Optional[PaymentTermRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PaymentTerm] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customers/item/picture/item/content/content_request_builder.py b/msgraph_beta/generated/financials/companies/item/customers/item/picture/item/content/content_request_builder.py index 296cbc744c4..d54776dd84e 100644 --- a/msgraph_beta/generated/financials/companies/item/customers/item/picture/item/content/content_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customers/item/picture/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customers/item/picture/item/picture_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/customers/item/picture/item/picture_item_request_builder.py index 372dce8f217..ef624a3cede 100644 --- a/msgraph_beta/generated/financials/companies/item/customers/item/picture/item/picture_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customers/item/picture/item/picture_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PictureIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PictureItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Picture] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customers/item/picture/picture_request_builder.py b/msgraph_beta/generated/financials/companies/item/customers/item/picture/picture_request_builder.py index 98db3b5053a..2895cb382e0 100644 --- a/msgraph_beta/generated/financials/companies/item/customers/item/picture/picture_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customers/item/picture/picture_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Picture] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/customers/item/shipment_method/shipment_method_request_builder.py b/msgraph_beta/generated/financials/companies/item/customers/item/shipment_method/shipment_method_request_builder.py index ffaceb8cc6b..4a967634d02 100644 --- a/msgraph_beta/generated/financials/companies/item/customers/item/shipment_method/shipment_method_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/customers/item/shipment_method/shipment_method_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ShipmentM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ShipmentMethodRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ShipmentMeth request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ShipmentMethod] = None, request_configuration: Optional[ShipmentMethodRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ShipmentMethod] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/dimension_values/dimension_values_request_builder.py b/msgraph_beta/generated/financials/companies/item/dimension_values/dimension_values_request_builder.py index 676141918e9..b51c805470a 100644 --- a/msgraph_beta/generated/financials/companies/item/dimension_values/dimension_values_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/dimension_values/dimension_values_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[DimensionVal request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DimensionValuesRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/dimension_values/item/dimension_value_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/dimension_values/item/dimension_value_item_request_builder.py index ab94f483ea3..fe5ad6a9128 100644 --- a/msgraph_beta/generated/financials/companies/item/dimension_values/item/dimension_value_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/dimension_values/item/dimension_value_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DimensionVal request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DimensionValueItemRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/dimensions/dimensions_request_builder.py b/msgraph_beta/generated/financials/companies/item/dimensions/dimensions_request_builder.py index a9a7e3a348f..3217eaf9f54 100644 --- a/msgraph_beta/generated/financials/companies/item/dimensions/dimensions_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/dimensions/dimensions_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[DimensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DimensionsRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/dimensions/item/dimension_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/dimensions/item/dimension_item_request_builder.py index 92043410f71..c8cb99053e6 100644 --- a/msgraph_beta/generated/financials/companies/item/dimensions/item/dimension_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/dimensions/item/dimension_item_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DimensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DimensionItemRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/dimensions/item/dimension_values/dimension_values_request_builder.py b/msgraph_beta/generated/financials/companies/item/dimensions/item/dimension_values/dimension_values_request_builder.py index 41c20d413aa..8acaf0fece9 100644 --- a/msgraph_beta/generated/financials/companies/item/dimensions/item/dimension_values/dimension_values_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/dimensions/item/dimension_values/dimension_values_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[DimensionVal request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DimensionValuesRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/dimensions/item/dimension_values/item/dimension_value_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/dimensions/item/dimension_values/item/dimension_value_item_request_builder.py index b8487b6c180..adfffc34dde 100644 --- a/msgraph_beta/generated/financials/companies/item/dimensions/item/dimension_values/item/dimension_value_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/dimensions/item/dimension_values/item/dimension_value_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DimensionVal request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DimensionValueItemRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/employees/employees_request_builder.py b/msgraph_beta/generated/financials/companies/item/employees/employees_request_builder.py index 063048e21c0..eff42fdc6ac 100644 --- a/msgraph_beta/generated/financials/companies/item/employees/employees_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/employees/employees_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[EmployeesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Employee] = None, request_configuration: Optional[EmployeesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Employee] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/employees/item/employee_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/employees/item/employee_item_request_builder.py index a34598a7a88..b4f892b3bb4 100644 --- a/msgraph_beta/generated/financials/companies/item/employees/item/employee_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/employees/item/employee_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[EmployeeI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EmployeeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[EmployeeItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Employee] = None, request_configuration: Optional[EmployeeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Employee] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/employees/item/picture/item/content/content_request_builder.py b/msgraph_beta/generated/financials/companies/item/employees/item/picture/item/content/content_request_builder.py index 846f602bded..f2a580ee2fd 100644 --- a/msgraph_beta/generated/financials/companies/item/employees/item/picture/item/content/content_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/employees/item/picture/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/financials/companies/item/employees/item/picture/item/picture_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/employees/item/picture/item/picture_item_request_builder.py index 9e0992e9c52..8e7b3fa0bab 100644 --- a/msgraph_beta/generated/financials/companies/item/employees/item/picture/item/picture_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/employees/item/picture/item/picture_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PictureIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PictureItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Picture] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/employees/item/picture/picture_request_builder.py b/msgraph_beta/generated/financials/companies/item/employees/item/picture/picture_request_builder.py index 1595f5a2dd8..43121044047 100644 --- a/msgraph_beta/generated/financials/companies/item/employees/item/picture/picture_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/employees/item/picture/picture_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Picture] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/general_ledger_entries/general_ledger_entries_request_builder.py b/msgraph_beta/generated/financials/companies/item/general_ledger_entries/general_ledger_entries_request_builder.py index a11c9e307ce..c224a3db020 100644 --- a/msgraph_beta/generated/financials/companies/item/general_ledger_entries/general_ledger_entries_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/general_ledger_entries/general_ledger_entries_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[GeneralLedge request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GeneralLedgerEntriesRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/general_ledger_entries/item/account/account_request_builder.py b/msgraph_beta/generated/financials/companies/item/general_ledger_entries/item/account/account_request_builder.py index 1270d5b7fe3..ad3b5432693 100644 --- a/msgraph_beta/generated/financials/companies/item/general_ledger_entries/item/account/account_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/general_ledger_entries/item/account/account_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccountReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccountRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/general_ledger_entries/item/general_ledger_entry_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/general_ledger_entries/item/general_ledger_entry_item_request_builder.py index 8dbac56e13f..0e10efec75a 100644 --- a/msgraph_beta/generated/financials/companies/item/general_ledger_entries/item/general_ledger_entry_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/general_ledger_entries/item/general_ledger_entry_item_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GeneralLedge request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GeneralLedgerEntryItemRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/item_categories/item/item_category_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/item_categories/item/item_category_item_request_builder.py index c257237bbf9..ba879ee159b 100644 --- a/msgraph_beta/generated/financials/companies/item/item_categories/item/item_category_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/item_categories/item/item_category_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemCateg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemCategoryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemCategory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemCategory] = None, request_configuration: Optional[ItemCategoryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ItemCategory] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/item_categories/item_categories_request_builder.py b/msgraph_beta/generated/financials/companies/item/item_categories/item_categories_request_builder.py index 6839b84984e..adbdd59d8fa 100644 --- a/msgraph_beta/generated/financials/companies/item/item_categories/item_categories_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/item_categories/item_categories_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemCategori request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ItemCategory] = None, request_configuration: Optional[ItemCategoriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ItemCategory] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/items/item/item_category/item_category_request_builder.py b/msgraph_beta/generated/financials/companies/item/items/item/item_category/item_category_request_builder.py index b6e1ae364d6..35cd7349806 100644 --- a/msgraph_beta/generated/financials/companies/item/items/item/item_category/item_category_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/items/item/item_category/item_category_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemCateg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemCategoryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemCategory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemCategory] = None, request_configuration: Optional[ItemCategoryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ItemCategory] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/items/item/item_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/items/item/item_item_request_builder.py index a0582fdfd8e..ac24f89c020 100644 --- a/msgraph_beta/generated/financials/companies/item/items/item/item_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/items/item/item_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Item] = None, request_configuration: Optional[ItemItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Item] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/items/item/picture/item/content/content_request_builder.py b/msgraph_beta/generated/financials/companies/item/items/item/picture/item/content/content_request_builder.py index bcdc208d67a..59015c07ce9 100644 --- a/msgraph_beta/generated/financials/companies/item/items/item/picture/item/content/content_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/items/item/picture/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/financials/companies/item/items/item/picture/item/picture_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/items/item/picture/item/picture_item_request_builder.py index 9cf7767b251..9e76f844b2b 100644 --- a/msgraph_beta/generated/financials/companies/item/items/item/picture/item/picture_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/items/item/picture/item/picture_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PictureIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PictureItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Picture] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/items/item/picture/picture_request_builder.py b/msgraph_beta/generated/financials/companies/item/items/item/picture/picture_request_builder.py index e9dcb3db82b..8af34d3f81a 100644 --- a/msgraph_beta/generated/financials/companies/item/items/item/picture/picture_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/items/item/picture/picture_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Picture] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/items/items_request_builder.py b/msgraph_beta/generated/financials/companies/item/items/items_request_builder.py index 585fc543018..6cd9aa5df05 100644 --- a/msgraph_beta/generated/financials/companies/item/items/items_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/items/items_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Item] = None, request_configuration: Optional[ItemsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Item] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/journal_lines/item/account/account_request_builder.py b/msgraph_beta/generated/financials/companies/item/journal_lines/item/account/account_request_builder.py index d6670b4cc35..3a7944dd858 100644 --- a/msgraph_beta/generated/financials/companies/item/journal_lines/item/account/account_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/journal_lines/item/account/account_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccountReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccountRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/journal_lines/item/journal_line_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/journal_lines/item/journal_line_item_request_builder.py index 3bff6bd26a0..516c31b07b2 100644 --- a/msgraph_beta/generated/financials/companies/item/journal_lines/item/journal_line_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/journal_lines/item/journal_line_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[JournalLi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[JournalLineItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[JournalLineI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[JournalLine] = None, request_configuration: Optional[JournalLineItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[JournalLine] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/journal_lines/journal_lines_request_builder.py b/msgraph_beta/generated/financials/companies/item/journal_lines/journal_lines_request_builder.py index c9ba5565ed1..8735fd44f06 100644 --- a/msgraph_beta/generated/financials/companies/item/journal_lines/journal_lines_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/journal_lines/journal_lines_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[JournalLines request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[JournalLine] = None, request_configuration: Optional[JournalLinesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[JournalLine] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/journals/item/account/account_request_builder.py b/msgraph_beta/generated/financials/companies/item/journals/item/account/account_request_builder.py index ddadf13913b..945d27de064 100644 --- a/msgraph_beta/generated/financials/companies/item/journals/item/account/account_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/journals/item/account/account_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccountReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccountRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/journals/item/journal_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/journals/item/journal_item_request_builder.py index 6159b479612..d2b483e15c2 100644 --- a/msgraph_beta/generated/financials/companies/item/journals/item/journal_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/journals/item/journal_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[JournalIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[JournalItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[JournalItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Journal] = None, request_configuration: Optional[JournalItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Journal] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/journals/item/journal_lines/item/account/account_request_builder.py b/msgraph_beta/generated/financials/companies/item/journals/item/journal_lines/item/account/account_request_builder.py index b57a777886e..d3a55dbac28 100644 --- a/msgraph_beta/generated/financials/companies/item/journals/item/journal_lines/item/account/account_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/journals/item/journal_lines/item/account/account_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccountReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccountRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/journals/item/journal_lines/item/journal_line_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/journals/item/journal_lines/item/journal_line_item_request_builder.py index 5c12380b7d5..becb9f26262 100644 --- a/msgraph_beta/generated/financials/companies/item/journals/item/journal_lines/item/journal_line_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/journals/item/journal_lines/item/journal_line_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[JournalLi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[JournalLineItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[JournalLineI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[JournalLine] = None, request_configuration: Optional[JournalLineItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[JournalLine] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/journals/item/journal_lines/journal_lines_request_builder.py b/msgraph_beta/generated/financials/companies/item/journals/item/journal_lines/journal_lines_request_builder.py index 8a70d4c86a1..fc9e3c03130 100644 --- a/msgraph_beta/generated/financials/companies/item/journals/item/journal_lines/journal_lines_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/journals/item/journal_lines/journal_lines_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[JournalLines request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[JournalLine] = None, request_configuration: Optional[JournalLinesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[JournalLine] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/journals/item/post/post_request_builder.py b/msgraph_beta/generated/financials/companies/item/journals/item/post/post_request_builder.py index f4e74ae2dca..5473da2b7dd 100644 --- a/msgraph_beta/generated/financials/companies/item/journals/item/post/post_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/journals/item/post/post_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[PostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PostRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/journals/journals_request_builder.py b/msgraph_beta/generated/financials/companies/item/journals/journals_request_builder.py index ba22fe5ab52..dac61a747c3 100644 --- a/msgraph_beta/generated/financials/companies/item/journals/journals_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/journals/journals_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[JournalsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Journal] = None, request_configuration: Optional[JournalsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Journal] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/payment_methods/item/payment_method_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/payment_methods/item/payment_method_item_request_builder.py index 82a22571ccb..270c66ccd76 100644 --- a/msgraph_beta/generated/financials/companies/item/payment_methods/item/payment_method_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/payment_methods/item/payment_method_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PaymentMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PaymentMethodItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PaymentMetho request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PaymentMethod] = None, request_configuration: Optional[PaymentMethodItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PaymentMethod] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/payment_methods/payment_methods_request_builder.py b/msgraph_beta/generated/financials/companies/item/payment_methods/payment_methods_request_builder.py index a8399bc1cb8..5c3a7aed26c 100644 --- a/msgraph_beta/generated/financials/companies/item/payment_methods/payment_methods_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/payment_methods/payment_methods_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PaymentMetho request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PaymentMethod] = None, request_configuration: Optional[PaymentMethodsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[PaymentMethod] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/payment_terms/item/payment_term_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/payment_terms/item/payment_term_item_request_builder.py index c33cc2bbad1..0428ee6defd 100644 --- a/msgraph_beta/generated/financials/companies/item/payment_terms/item/payment_term_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/payment_terms/item/payment_term_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PaymentTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PaymentTermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PaymentTermI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PaymentTerm] = None, request_configuration: Optional[PaymentTermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PaymentTerm] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/payment_terms/payment_terms_request_builder.py b/msgraph_beta/generated/financials/companies/item/payment_terms/payment_terms_request_builder.py index 0d6bb80a263..00a9e8f9118 100644 --- a/msgraph_beta/generated/financials/companies/item/payment_terms/payment_terms_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/payment_terms/payment_terms_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PaymentTerms request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PaymentTerm] = None, request_configuration: Optional[PaymentTermsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[PaymentTerm] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/picture/item/content/content_request_builder.py b/msgraph_beta/generated/financials/companies/item/picture/item/content/content_request_builder.py index 9d86ca938de..386a3dd491e 100644 --- a/msgraph_beta/generated/financials/companies/item/picture/item/content/content_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/picture/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/financials/companies/item/picture/item/picture_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/picture/item/picture_item_request_builder.py index a87e18cfa5e..1b98d4ed85a 100644 --- a/msgraph_beta/generated/financials/companies/item/picture/item/picture_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/picture/item/picture_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PictureIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PictureItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Picture] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/picture/picture_request_builder.py b/msgraph_beta/generated/financials/companies/item/picture/picture_request_builder.py index d62a8425caf..c393030b021 100644 --- a/msgraph_beta/generated/financials/companies/item/picture/picture_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/picture/picture_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Picture] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/account/account_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/account/account_request_builder.py index 5ac4260e5e9..a1a3aa78b31 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/account/account_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/account/account_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccountReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccountRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/item/item_category/item_category_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/item/item_category/item_category_request_builder.py index d9d8c05c7ba..08e9154483b 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/item/item_category/item_category_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/item/item_category/item_category_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemCateg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemCategoryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemCategory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemCategory] = None, request_configuration: Optional[ItemCategoryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ItemCategory] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/item/item_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/item/item_request_builder.py index 5b51a49e5da..ee3cdd6c2d5 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/item/item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/item/item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Item] = None, request_configuration: Optional[ItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Item] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/item/picture/item/content/content_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/item/picture/item/content/content_request_builder.py index 11e362a9add..c72ae0b8759 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/item/picture/item/content/content_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/item/picture/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/item/picture/item/picture_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/item/picture/item/picture_item_request_builder.py index cc9ee1925e0..c4f147b82b3 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/item/picture/item/picture_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/item/picture/item/picture_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PictureIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PictureItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Picture] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/item/picture/picture_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/item/picture/picture_request_builder.py index 55678e02ab3..e86e1968f8b 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/item/picture/picture_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/item/picture/picture_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Picture] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/purchase_invoice_line_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/purchase_invoice_line_item_request_builder.py index ff1e5ae79a1..0f4657877a1 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/purchase_invoice_line_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/item/purchase_invoice_line_item_request_builder.py @@ -87,7 +87,7 @@ def to_get_request_information(self,request_configuration: Optional[PurchaseInvo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PurchaseInvoiceLine] = None, request_configuration: Optional[PurchaseInvoiceLineItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -106,7 +106,7 @@ def to_patch_request_information(self,body: Optional[PurchaseInvoiceLine] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/purchase_invoice_lines_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/purchase_invoice_lines_request_builder.py index e45bdf88039..a32ff7bbd21 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/purchase_invoice_lines_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoice_lines/purchase_invoice_lines_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[PurchaseInvo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PurchaseInvoiceLinesRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/currency/currency_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/currency/currency_request_builder.py index a925f03a6a5..966a6c21cfa 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/currency/currency_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/currency/currency_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[CurrencyR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CurrencyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[CurrencyRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Currency] = None, request_configuration: Optional[CurrencyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Currency] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/post/post_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/post/post_request_builder.py index f0760309c2e..28964621152 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/post/post_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/post/post_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[PostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PostRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_item_request_builder.py index 45a806e56d4..428aba6f6c0 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_item_request_builder.py @@ -89,7 +89,7 @@ def to_get_request_information(self,request_configuration: Optional[PurchaseInvo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PurchaseInvoice] = None, request_configuration: Optional[PurchaseInvoiceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -108,7 +108,7 @@ def to_patch_request_information(self,body: Optional[PurchaseInvoice] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/account/account_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/account/account_request_builder.py index 77cfb21d8b0..7f2aae600ba 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/account/account_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/account/account_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccountReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccountRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/item/item_category/item_category_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/item/item_category/item_category_request_builder.py index 0db328b17ec..84f18aadde0 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/item/item_category/item_category_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/item/item_category/item_category_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemCateg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemCategoryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemCategory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemCategory] = None, request_configuration: Optional[ItemCategoryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ItemCategory] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/item/item_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/item/item_request_builder.py index d436586f6d5..1eb3bb6eb00 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/item/item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/item/item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Item] = None, request_configuration: Optional[ItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Item] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/item/picture/item/content/content_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/item/picture/item/content/content_request_builder.py index 6c414cae6a1..aeab5a3bbc2 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/item/picture/item/content/content_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/item/picture/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/item/picture/item/picture_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/item/picture/item/picture_item_request_builder.py index 6cd2a17d5fa..de5660779e4 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/item/picture/item/picture_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/item/picture/item/picture_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PictureIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PictureItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Picture] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/item/picture/picture_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/item/picture/picture_request_builder.py index 086d1b8883c..ec5c0966054 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/item/picture/picture_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/item/picture/picture_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Picture] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/purchase_invoice_line_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/purchase_invoice_line_item_request_builder.py index 4f3a155f84d..c114bb087f0 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/purchase_invoice_line_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/item/purchase_invoice_line_item_request_builder.py @@ -87,7 +87,7 @@ def to_get_request_information(self,request_configuration: Optional[PurchaseInvo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PurchaseInvoiceLine] = None, request_configuration: Optional[PurchaseInvoiceLineItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -106,7 +106,7 @@ def to_patch_request_information(self,body: Optional[PurchaseInvoiceLine] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/purchase_invoice_lines_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/purchase_invoice_lines_request_builder.py index 9640f916ef6..fc82a697ed0 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/purchase_invoice_lines_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/purchase_invoice_lines/purchase_invoice_lines_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[PurchaseInvo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PurchaseInvoiceLinesRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/currency/currency_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/currency/currency_request_builder.py index 59cdeb3b3d2..be87bc06e05 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/currency/currency_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/currency/currency_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[CurrencyR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CurrencyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[CurrencyRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Currency] = None, request_configuration: Optional[CurrencyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Currency] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/payment_method/payment_method_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/payment_method/payment_method_request_builder.py index 86688b4cf90..be957482164 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/payment_method/payment_method_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/payment_method/payment_method_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PaymentMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PaymentMethodRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PaymentMetho request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PaymentMethod] = None, request_configuration: Optional[PaymentMethodRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PaymentMethod] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/payment_term/payment_term_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/payment_term/payment_term_request_builder.py index 214a391cbd8..a1dc853136d 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/payment_term/payment_term_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/payment_term/payment_term_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PaymentTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PaymentTermRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PaymentTermR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PaymentTerm] = None, request_configuration: Optional[PaymentTermRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PaymentTerm] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/picture/item/content/content_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/picture/item/content/content_request_builder.py index 0797d3981d2..45daf1de05f 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/picture/item/content/content_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/picture/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/picture/item/picture_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/picture/item/picture_item_request_builder.py index c8d1326245f..9c441953023 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/picture/item/picture_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/picture/item/picture_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PictureIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PictureItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Picture] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/picture/picture_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/picture/picture_request_builder.py index e541adb8baa..bac9a4ca484 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/picture/picture_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/picture/picture_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Picture] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/vendor_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/vendor_request_builder.py index d47024a8b4e..e15d5792033 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/vendor_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoices/item/vendor/vendor_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[VendorReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[VendorRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[VendorReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Vendor] = None, request_configuration: Optional[VendorRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[Vendor] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/purchase_invoices/purchase_invoices_request_builder.py b/msgraph_beta/generated/financials/companies/item/purchase_invoices/purchase_invoices_request_builder.py index 1e6ce248bd8..68309c76b3e 100644 --- a/msgraph_beta/generated/financials/companies/item/purchase_invoices/purchase_invoices_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/purchase_invoices/purchase_invoices_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[PurchaseInvo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PurchaseInvoicesRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/account/account_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/account/account_request_builder.py index 96b69abb92e..bf40a61d6e1 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/account/account_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/account/account_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccountReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccountRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/item/item_category/item_category_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/item/item_category/item_category_request_builder.py index 3597f9aaa5c..7a864e09f4d 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/item/item_category/item_category_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/item/item_category/item_category_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemCateg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemCategoryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemCategory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemCategory] = None, request_configuration: Optional[ItemCategoryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ItemCategory] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/item/item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/item/item_request_builder.py index 71cf297dae7..618ff08585b 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/item/item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/item/item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Item] = None, request_configuration: Optional[ItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Item] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/item/picture/item/content/content_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/item/picture/item/content/content_request_builder.py index f807b1799b3..1dd0a7b1e79 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/item/picture/item/content/content_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/item/picture/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/item/picture/item/picture_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/item/picture/item/picture_item_request_builder.py index 7f0ce636fca..6524e8823cc 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/item/picture/item/picture_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/item/picture/item/picture_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PictureIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PictureItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Picture] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/item/picture/picture_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/item/picture/picture_request_builder.py index a14bffeb267..75a62243fdc 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/item/picture/picture_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/item/picture/picture_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Picture] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/sales_credit_memo_line_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/sales_credit_memo_line_item_request_builder.py index 03c8b6c90e8..505602310dc 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/sales_credit_memo_line_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/item/sales_credit_memo_line_item_request_builder.py @@ -87,7 +87,7 @@ def to_get_request_information(self,request_configuration: Optional[SalesCreditM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SalesCreditMemoLine] = None, request_configuration: Optional[SalesCreditMemoLineItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -106,7 +106,7 @@ def to_patch_request_information(self,body: Optional[SalesCreditMemoLine] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/sales_credit_memo_lines_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/sales_credit_memo_lines_request_builder.py index a2085099de1..979740ac985 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/sales_credit_memo_lines_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memo_lines/sales_credit_memo_lines_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[SalesCreditM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SalesCreditMemoLinesRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/currency/currency_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/currency/currency_request_builder.py index 664b7213ccc..2ed50f2da36 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/currency/currency_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/currency/currency_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[CurrencyR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CurrencyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[CurrencyRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Currency] = None, request_configuration: Optional[CurrencyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Currency] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/currency/currency_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/currency/currency_request_builder.py index dfc5270ecde..e9382ed8a52 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/currency/currency_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/currency/currency_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[CurrencyR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CurrencyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[CurrencyRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Currency] = None, request_configuration: Optional[CurrencyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Currency] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/customer_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/customer_request_builder.py index accf095cdb8..f85f6c1544a 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/customer_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/customer_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[CustomerR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CustomerRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomerRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Customer] = None, request_configuration: Optional[CustomerRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[Customer] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/payment_method/payment_method_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/payment_method/payment_method_request_builder.py index bfa2e515bd3..8aefa41bcb0 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/payment_method/payment_method_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/payment_method/payment_method_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PaymentMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PaymentMethodRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PaymentMetho request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PaymentMethod] = None, request_configuration: Optional[PaymentMethodRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PaymentMethod] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/payment_term/payment_term_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/payment_term/payment_term_request_builder.py index d616b9523b9..502b0b82045 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/payment_term/payment_term_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/payment_term/payment_term_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PaymentTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PaymentTermRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PaymentTermR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PaymentTerm] = None, request_configuration: Optional[PaymentTermRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PaymentTerm] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/picture/item/content/content_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/picture/item/content/content_request_builder.py index 5f165de3998..b86a798555b 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/picture/item/content/content_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/picture/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/picture/item/picture_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/picture/item/picture_item_request_builder.py index 655782c6c90..746c6af0f1e 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/picture/item/picture_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/picture/item/picture_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PictureIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PictureItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Picture] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/picture/picture_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/picture/picture_request_builder.py index 5f43fd01c4f..9aac893f709 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/picture/picture_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/picture/picture_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Picture] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/shipment_method/shipment_method_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/shipment_method/shipment_method_request_builder.py index f4e0b533a1a..9b0dfdc2a56 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/shipment_method/shipment_method_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/customer/shipment_method/shipment_method_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ShipmentM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ShipmentMethodRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ShipmentMeth request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ShipmentMethod] = None, request_configuration: Optional[ShipmentMethodRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ShipmentMethod] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/payment_term/payment_term_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/payment_term/payment_term_request_builder.py index 881fa1a63d8..0955431b81d 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/payment_term/payment_term_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/payment_term/payment_term_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PaymentTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PaymentTermRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PaymentTermR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PaymentTerm] = None, request_configuration: Optional[PaymentTermRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PaymentTerm] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_item_request_builder.py index 0f8398f7393..1b2b741ff34 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_item_request_builder.py @@ -89,7 +89,7 @@ def to_get_request_information(self,request_configuration: Optional[SalesCreditM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SalesCreditMemo] = None, request_configuration: Optional[SalesCreditMemoItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -108,7 +108,7 @@ def to_patch_request_information(self,body: Optional[SalesCreditMemo] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/account/account_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/account/account_request_builder.py index cb7a80ffb27..fd273a009d2 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/account/account_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/account/account_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccountReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccountRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/item/item_category/item_category_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/item/item_category/item_category_request_builder.py index 4bc4110a5e1..76e0a60468d 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/item/item_category/item_category_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/item/item_category/item_category_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemCateg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemCategoryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemCategory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemCategory] = None, request_configuration: Optional[ItemCategoryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ItemCategory] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/item/item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/item/item_request_builder.py index 1b41f060bb0..4c6445207a6 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/item/item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/item/item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Item] = None, request_configuration: Optional[ItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Item] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/item/picture/item/content/content_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/item/picture/item/content/content_request_builder.py index 14cad5d00dc..0475e00480c 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/item/picture/item/content/content_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/item/picture/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/item/picture/item/picture_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/item/picture/item/picture_item_request_builder.py index 04d136fc8fd..30aaae2e088 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/item/picture/item/picture_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/item/picture/item/picture_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PictureIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PictureItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Picture] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/item/picture/picture_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/item/picture/picture_request_builder.py index 21ce221e268..1f707ae196b 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/item/picture/picture_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/item/picture/picture_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Picture] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/sales_credit_memo_line_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/sales_credit_memo_line_item_request_builder.py index 55a85636d05..d705c715ddd 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/sales_credit_memo_line_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/item/sales_credit_memo_line_item_request_builder.py @@ -87,7 +87,7 @@ def to_get_request_information(self,request_configuration: Optional[SalesCreditM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SalesCreditMemoLine] = None, request_configuration: Optional[SalesCreditMemoLineItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -106,7 +106,7 @@ def to_patch_request_information(self,body: Optional[SalesCreditMemoLine] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/sales_credit_memo_lines_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/sales_credit_memo_lines_request_builder.py index a547c39c862..d738e2177cb 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/sales_credit_memo_lines_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/item/sales_credit_memo_lines/sales_credit_memo_lines_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[SalesCreditM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SalesCreditMemoLinesRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/sales_credit_memos_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/sales_credit_memos_request_builder.py index 0cf9886aecc..0c559a5e117 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_credit_memos/sales_credit_memos_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_credit_memos/sales_credit_memos_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[SalesCreditM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SalesCreditMemosRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/account/account_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/account/account_request_builder.py index 6e2687fbebc..9b8f4c29ac7 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/account/account_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/account/account_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccountReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccountRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/item/item_category/item_category_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/item/item_category/item_category_request_builder.py index 06a4f02848c..58e1cbfa298 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/item/item_category/item_category_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/item/item_category/item_category_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemCateg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemCategoryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemCategory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemCategory] = None, request_configuration: Optional[ItemCategoryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ItemCategory] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/item/item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/item/item_request_builder.py index e29862e8e2b..f5a1e3e2521 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/item/item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/item/item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Item] = None, request_configuration: Optional[ItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Item] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/item/picture/item/content/content_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/item/picture/item/content/content_request_builder.py index b0bb15cc40e..a2131600001 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/item/picture/item/content/content_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/item/picture/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/item/picture/item/picture_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/item/picture/item/picture_item_request_builder.py index 806c070e926..9a0b286fcae 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/item/picture/item/picture_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/item/picture/item/picture_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PictureIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PictureItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Picture] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/item/picture/picture_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/item/picture/picture_request_builder.py index 9895cd236c3..cc98ae20756 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/item/picture/picture_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/item/picture/picture_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Picture] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/sales_invoice_line_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/sales_invoice_line_item_request_builder.py index 44b839b7c17..0b06c90bc78 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/sales_invoice_line_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/item/sales_invoice_line_item_request_builder.py @@ -87,7 +87,7 @@ def to_get_request_information(self,request_configuration: Optional[SalesInvoice request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SalesInvoiceLine] = None, request_configuration: Optional[SalesInvoiceLineItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -106,7 +106,7 @@ def to_patch_request_information(self,body: Optional[SalesInvoiceLine] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/sales_invoice_lines_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/sales_invoice_lines_request_builder.py index df40523e693..2b1fa9bcaa8 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/sales_invoice_lines_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoice_lines/sales_invoice_lines_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[SalesInvoice request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SalesInvoiceLinesRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/cancel/cancel_request_builder.py index 8edfddf9199..44cf82e48af 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/cancel/cancel_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[CancelReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CancelRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/cancel_and_send/cancel_and_send_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/cancel_and_send/cancel_and_send_request_builder.py index ee3da607091..78a1387b8ce 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/cancel_and_send/cancel_and_send_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/cancel_and_send/cancel_and_send_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[CancelAndSe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CancelAndSendRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/currency/currency_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/currency/currency_request_builder.py index 75faa0b4162..15c99747738 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/currency/currency_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/currency/currency_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[CurrencyR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CurrencyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[CurrencyRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Currency] = None, request_configuration: Optional[CurrencyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Currency] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/currency/currency_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/currency/currency_request_builder.py index 0deaba33638..6fb54dd70bf 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/currency/currency_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/currency/currency_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[CurrencyR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CurrencyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[CurrencyRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Currency] = None, request_configuration: Optional[CurrencyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Currency] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/customer_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/customer_request_builder.py index 9892081cf8a..6d3dcdf945f 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/customer_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/customer_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[CustomerR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CustomerRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomerRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Customer] = None, request_configuration: Optional[CustomerRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[Customer] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/payment_method/payment_method_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/payment_method/payment_method_request_builder.py index 33002d27fab..14f95f436e8 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/payment_method/payment_method_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/payment_method/payment_method_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PaymentMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PaymentMethodRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PaymentMetho request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PaymentMethod] = None, request_configuration: Optional[PaymentMethodRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PaymentMethod] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/payment_term/payment_term_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/payment_term/payment_term_request_builder.py index bfd925fd781..0ef241b8d70 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/payment_term/payment_term_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/payment_term/payment_term_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PaymentTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PaymentTermRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PaymentTermR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PaymentTerm] = None, request_configuration: Optional[PaymentTermRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PaymentTerm] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/picture/item/content/content_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/picture/item/content/content_request_builder.py index af47a9c8964..508274cecf1 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/picture/item/content/content_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/picture/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/picture/item/picture_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/picture/item/picture_item_request_builder.py index 5a3d00b1a91..63f6919fce6 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/picture/item/picture_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/picture/item/picture_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PictureIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PictureItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Picture] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/picture/picture_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/picture/picture_request_builder.py index 41324099449..1c2342e41e0 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/picture/picture_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/picture/picture_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Picture] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/shipment_method/shipment_method_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/shipment_method/shipment_method_request_builder.py index 89337e52bbe..d4229d92dcc 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/shipment_method/shipment_method_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/customer/shipment_method/shipment_method_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ShipmentM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ShipmentMethodRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ShipmentMeth request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ShipmentMethod] = None, request_configuration: Optional[ShipmentMethodRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ShipmentMethod] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/payment_term/payment_term_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/payment_term/payment_term_request_builder.py index 408a8c84113..302b9e0c73f 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/payment_term/payment_term_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/payment_term/payment_term_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PaymentTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PaymentTermRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PaymentTermR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PaymentTerm] = None, request_configuration: Optional[PaymentTermRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PaymentTerm] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/post/post_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/post/post_request_builder.py index 5a1edd7b900..9df79ed98e9 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/post/post_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/post/post_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[PostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PostRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/post_and_send/post_and_send_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/post_and_send/post_and_send_request_builder.py index 2678ef264fb..338bdf73806 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/post_and_send/post_and_send_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/post_and_send/post_and_send_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[PostAndSend request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PostAndSendRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_item_request_builder.py index 218e79f380c..d29e9a0e59c 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_item_request_builder.py @@ -95,7 +95,7 @@ def to_get_request_information(self,request_configuration: Optional[SalesInvoice request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SalesInvoice] = None, request_configuration: Optional[SalesInvoiceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -114,7 +114,7 @@ def to_patch_request_information(self,body: Optional[SalesInvoice] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/account/account_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/account/account_request_builder.py index 55d5b09da2d..3bb247d13e2 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/account/account_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/account/account_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccountReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccountRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/item/item_category/item_category_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/item/item_category/item_category_request_builder.py index 41811b83370..92b751cb16d 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/item/item_category/item_category_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/item/item_category/item_category_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemCateg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemCategoryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemCategory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemCategory] = None, request_configuration: Optional[ItemCategoryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ItemCategory] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/item/item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/item/item_request_builder.py index 43d219448f6..8f11a289d30 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/item/item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/item/item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Item] = None, request_configuration: Optional[ItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Item] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/item/picture/item/content/content_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/item/picture/item/content/content_request_builder.py index a04caf4052f..fd4ac5bf0b3 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/item/picture/item/content/content_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/item/picture/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/item/picture/item/picture_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/item/picture/item/picture_item_request_builder.py index cb06093f776..582d6698687 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/item/picture/item/picture_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/item/picture/item/picture_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PictureIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PictureItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Picture] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/item/picture/picture_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/item/picture/picture_request_builder.py index f4026cb9456..aa66d15e78c 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/item/picture/picture_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/item/picture/picture_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Picture] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/sales_invoice_line_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/sales_invoice_line_item_request_builder.py index d6e31208ea4..399b505fc74 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/sales_invoice_line_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/item/sales_invoice_line_item_request_builder.py @@ -87,7 +87,7 @@ def to_get_request_information(self,request_configuration: Optional[SalesInvoice request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SalesInvoiceLine] = None, request_configuration: Optional[SalesInvoiceLineItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -106,7 +106,7 @@ def to_patch_request_information(self,body: Optional[SalesInvoiceLine] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/sales_invoice_lines_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/sales_invoice_lines_request_builder.py index 400160847a0..57188a0dc49 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/sales_invoice_lines_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/sales_invoice_lines/sales_invoice_lines_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[SalesInvoice request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SalesInvoiceLinesRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/send/send_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/send/send_request_builder.py index e6bc635ca4f..ccc02288926 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/send/send_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/send/send_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[SendRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SendRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/shipment_method/shipment_method_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/shipment_method/shipment_method_request_builder.py index 4e6ec283b54..147ac3cd21f 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/item/shipment_method/shipment_method_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/item/shipment_method/shipment_method_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ShipmentM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ShipmentMethodRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ShipmentMeth request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ShipmentMethod] = None, request_configuration: Optional[ShipmentMethodRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ShipmentMethod] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_invoices/sales_invoices_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_invoices/sales_invoices_request_builder.py index f37b05f67c3..1e3bf989d60 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_invoices/sales_invoices_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_invoices/sales_invoices_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[SalesInvoice request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SalesInvoicesRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/account/account_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/account/account_request_builder.py index 86d96672c5c..1c257666d15 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/account/account_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/account/account_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccountReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccountRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/item/item_category/item_category_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/item/item_category/item_category_request_builder.py index b9cea06bbc0..c2aaa4d4def 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/item/item_category/item_category_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/item/item_category/item_category_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemCateg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemCategoryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemCategory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemCategory] = None, request_configuration: Optional[ItemCategoryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ItemCategory] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/item/item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/item/item_request_builder.py index 55d7c6ec8f6..391923c1f47 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/item/item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/item/item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Item] = None, request_configuration: Optional[ItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Item] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/item/picture/item/content/content_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/item/picture/item/content/content_request_builder.py index f46e12fe9ee..87d39de0e5f 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/item/picture/item/content/content_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/item/picture/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/item/picture/item/picture_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/item/picture/item/picture_item_request_builder.py index 7bd8562bebd..7bb118450bc 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/item/picture/item/picture_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/item/picture/item/picture_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PictureIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PictureItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Picture] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/item/picture/picture_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/item/picture/picture_request_builder.py index aed64ce3790..4844360c52e 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/item/picture/picture_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/item/picture/picture_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Picture] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/sales_order_line_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/sales_order_line_item_request_builder.py index 5ad6d14caf4..589289a118b 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/sales_order_line_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_order_lines/item/sales_order_line_item_request_builder.py @@ -87,7 +87,7 @@ def to_get_request_information(self,request_configuration: Optional[SalesOrderLi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SalesOrderLine] = None, request_configuration: Optional[SalesOrderLineItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -106,7 +106,7 @@ def to_patch_request_information(self,body: Optional[SalesOrderLine] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_order_lines/sales_order_lines_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_order_lines/sales_order_lines_request_builder.py index d3493367364..d81cfbe3579 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_order_lines/sales_order_lines_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_order_lines/sales_order_lines_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[SalesOrderLi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SalesOrderLinesRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/sales_orders/item/currency/currency_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_orders/item/currency/currency_request_builder.py index cd5bd42c3ec..c434a0ed09a 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_orders/item/currency/currency_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_orders/item/currency/currency_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[CurrencyR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CurrencyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[CurrencyRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Currency] = None, request_configuration: Optional[CurrencyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Currency] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/currency/currency_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/currency/currency_request_builder.py index b91dcd328b5..725f6785046 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/currency/currency_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/currency/currency_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[CurrencyR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CurrencyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[CurrencyRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Currency] = None, request_configuration: Optional[CurrencyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Currency] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/customer_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/customer_request_builder.py index 8e6b3e2d687..15f9a806406 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/customer_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/customer_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[CustomerR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CustomerRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomerRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Customer] = None, request_configuration: Optional[CustomerRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[Customer] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/payment_method/payment_method_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/payment_method/payment_method_request_builder.py index 8759e2dddcb..88519f48118 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/payment_method/payment_method_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/payment_method/payment_method_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PaymentMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PaymentMethodRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PaymentMetho request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PaymentMethod] = None, request_configuration: Optional[PaymentMethodRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PaymentMethod] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/payment_term/payment_term_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/payment_term/payment_term_request_builder.py index 827da5b3c65..4be1b405a42 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/payment_term/payment_term_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/payment_term/payment_term_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PaymentTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PaymentTermRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PaymentTermR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PaymentTerm] = None, request_configuration: Optional[PaymentTermRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PaymentTerm] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/picture/item/content/content_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/picture/item/content/content_request_builder.py index e65cf69cfdd..de7268b431c 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/picture/item/content/content_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/picture/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/picture/item/picture_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/picture/item/picture_item_request_builder.py index ed6e51334b7..534359d2d14 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/picture/item/picture_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/picture/item/picture_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PictureIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PictureItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Picture] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/picture/picture_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/picture/picture_request_builder.py index 7ff3cc07ba3..34969bce620 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/picture/picture_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/picture/picture_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Picture] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/shipment_method/shipment_method_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/shipment_method/shipment_method_request_builder.py index 34623a9195c..ff00d880e1c 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/shipment_method/shipment_method_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_orders/item/customer/shipment_method/shipment_method_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ShipmentM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ShipmentMethodRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ShipmentMeth request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ShipmentMethod] = None, request_configuration: Optional[ShipmentMethodRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ShipmentMethod] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_orders/item/payment_term/payment_term_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_orders/item/payment_term/payment_term_request_builder.py index ec1e410b6da..a401c16befd 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_orders/item/payment_term/payment_term_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_orders/item/payment_term/payment_term_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PaymentTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PaymentTermRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PaymentTermR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PaymentTerm] = None, request_configuration: Optional[PaymentTermRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PaymentTerm] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_item_request_builder.py index b1b82450132..962528f83fa 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_item_request_builder.py @@ -89,7 +89,7 @@ def to_get_request_information(self,request_configuration: Optional[SalesOrderIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SalesOrder] = None, request_configuration: Optional[SalesOrderItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -108,7 +108,7 @@ def to_patch_request_information(self,body: Optional[SalesOrder] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/account/account_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/account/account_request_builder.py index 79e745412df..cebffac68ad 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/account/account_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/account/account_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccountReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccountRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/item/item_category/item_category_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/item/item_category/item_category_request_builder.py index cb294d53292..bf4c3fdcc21 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/item/item_category/item_category_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/item/item_category/item_category_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemCateg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemCategoryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemCategory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemCategory] = None, request_configuration: Optional[ItemCategoryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ItemCategory] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/item/item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/item/item_request_builder.py index e384f733905..812cb21768f 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/item/item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/item/item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Item] = None, request_configuration: Optional[ItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Item] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/item/picture/item/content/content_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/item/picture/item/content/content_request_builder.py index 59340eaf0b6..ff09fb17b56 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/item/picture/item/content/content_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/item/picture/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/item/picture/item/picture_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/item/picture/item/picture_item_request_builder.py index 1c583715ef4..bdecf6e03fa 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/item/picture/item/picture_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/item/picture/item/picture_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PictureIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PictureItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Picture] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/item/picture/picture_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/item/picture/picture_request_builder.py index 9edbc254439..44f1c62d09a 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/item/picture/picture_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/item/picture/picture_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Picture] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/sales_order_line_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/sales_order_line_item_request_builder.py index 0b693996727..31d7527dc13 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/sales_order_line_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/item/sales_order_line_item_request_builder.py @@ -87,7 +87,7 @@ def to_get_request_information(self,request_configuration: Optional[SalesOrderLi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SalesOrderLine] = None, request_configuration: Optional[SalesOrderLineItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -106,7 +106,7 @@ def to_patch_request_information(self,body: Optional[SalesOrderLine] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/sales_order_lines_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/sales_order_lines_request_builder.py index 76dedf6813d..12851cf47cd 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/sales_order_lines_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_orders/item/sales_order_lines/sales_order_lines_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[SalesOrderLi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SalesOrderLinesRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/sales_orders/sales_orders_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_orders/sales_orders_request_builder.py index c71e20b2c1f..39b8ba606bb 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_orders/sales_orders_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_orders/sales_orders_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[SalesOrdersR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SalesOrdersRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/account/account_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/account/account_request_builder.py index abea0d4b309..84f4f40b106 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/account/account_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/account/account_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccountReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccountRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/item/item_category/item_category_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/item/item_category/item_category_request_builder.py index 8d3bc5a1b54..d6beeab9195 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/item/item_category/item_category_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/item/item_category/item_category_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemCateg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemCategoryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemCategory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemCategory] = None, request_configuration: Optional[ItemCategoryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ItemCategory] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/item/item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/item/item_request_builder.py index 758ac19dd7d..092efbaa9e1 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/item/item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/item/item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Item] = None, request_configuration: Optional[ItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Item] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/item/picture/item/content/content_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/item/picture/item/content/content_request_builder.py index 0e153dc01ed..c265b4e9ddc 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/item/picture/item/content/content_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/item/picture/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/item/picture/item/picture_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/item/picture/item/picture_item_request_builder.py index e02dc2d02ac..cdf5743bfbe 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/item/picture/item/picture_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/item/picture/item/picture_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PictureIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PictureItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Picture] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/item/picture/picture_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/item/picture/picture_request_builder.py index 03a31254b02..de70158dd6d 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/item/picture/picture_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/item/picture/picture_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Picture] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/sales_quote_line_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/sales_quote_line_item_request_builder.py index 5e3a442403a..c90c797432c 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/sales_quote_line_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quote_lines/item/sales_quote_line_item_request_builder.py @@ -87,7 +87,7 @@ def to_get_request_information(self,request_configuration: Optional[SalesQuoteLi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SalesQuoteLine] = None, request_configuration: Optional[SalesQuoteLineItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -106,7 +106,7 @@ def to_patch_request_information(self,body: Optional[SalesQuoteLine] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_quote_lines/sales_quote_lines_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quote_lines/sales_quote_lines_request_builder.py index 8f043a27ec9..0cd4c998467 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quote_lines/sales_quote_lines_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quote_lines/sales_quote_lines_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[SalesQuoteLi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SalesQuoteLinesRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/currency/currency_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/currency/currency_request_builder.py index 7295e637ad5..74919c1e638 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/currency/currency_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/currency/currency_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[CurrencyR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CurrencyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[CurrencyRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Currency] = None, request_configuration: Optional[CurrencyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Currency] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/currency/currency_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/currency/currency_request_builder.py index 964ff600192..aafcd706fdf 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/currency/currency_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/currency/currency_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[CurrencyR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CurrencyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[CurrencyRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Currency] = None, request_configuration: Optional[CurrencyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Currency] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/customer_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/customer_request_builder.py index 482a13827a0..b1dfbd03a14 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/customer_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/customer_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[CustomerR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CustomerRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomerRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Customer] = None, request_configuration: Optional[CustomerRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[Customer] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/payment_method/payment_method_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/payment_method/payment_method_request_builder.py index cfe4b867241..deac61bf2ae 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/payment_method/payment_method_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/payment_method/payment_method_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PaymentMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PaymentMethodRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PaymentMetho request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PaymentMethod] = None, request_configuration: Optional[PaymentMethodRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PaymentMethod] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/payment_term/payment_term_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/payment_term/payment_term_request_builder.py index 5d4bd891a76..6f3daf0572c 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/payment_term/payment_term_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/payment_term/payment_term_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PaymentTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PaymentTermRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PaymentTermR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PaymentTerm] = None, request_configuration: Optional[PaymentTermRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PaymentTerm] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/picture/item/content/content_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/picture/item/content/content_request_builder.py index e0243ec98e9..bfb5a12a97e 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/picture/item/content/content_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/picture/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/picture/item/picture_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/picture/item/picture_item_request_builder.py index 8925e92cb73..e2d1111e6f9 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/picture/item/picture_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/picture/item/picture_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PictureIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PictureItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Picture] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/picture/picture_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/picture/picture_request_builder.py index e1f2c530ba3..1b4a4dd6914 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/picture/picture_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/picture/picture_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Picture] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/shipment_method/shipment_method_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/shipment_method/shipment_method_request_builder.py index 0f1df02e4d6..1013e6486cb 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/shipment_method/shipment_method_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/customer/shipment_method/shipment_method_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ShipmentM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ShipmentMethodRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ShipmentMeth request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ShipmentMethod] = None, request_configuration: Optional[ShipmentMethodRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ShipmentMethod] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/make_invoice/make_invoice_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/make_invoice/make_invoice_request_builder.py index 4246b4c2855..ef4790fd915 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/make_invoice/make_invoice_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/make_invoice/make_invoice_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[MakeInvoice request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MakeInvoiceRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/payment_term/payment_term_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/payment_term/payment_term_request_builder.py index 99238927d57..0070943855f 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/payment_term/payment_term_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/payment_term/payment_term_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PaymentTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PaymentTermRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PaymentTermR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PaymentTerm] = None, request_configuration: Optional[PaymentTermRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PaymentTerm] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_item_request_builder.py index 1a59ebda825..1522d9e953a 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_item_request_builder.py @@ -92,7 +92,7 @@ def to_get_request_information(self,request_configuration: Optional[SalesQuoteIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SalesQuote] = None, request_configuration: Optional[SalesQuoteItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -111,7 +111,7 @@ def to_patch_request_information(self,body: Optional[SalesQuote] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/account/account_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/account/account_request_builder.py index 32646c76159..6c3ef9110e5 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/account/account_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/account/account_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccountReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccountRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/item/item_category/item_category_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/item/item_category/item_category_request_builder.py index 9210b635a2c..b5dc5829012 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/item/item_category/item_category_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/item/item_category/item_category_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemCateg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemCategoryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemCategory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemCategory] = None, request_configuration: Optional[ItemCategoryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ItemCategory] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/item/item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/item/item_request_builder.py index eee5b10431d..85dec0b088e 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/item/item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/item/item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Item] = None, request_configuration: Optional[ItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Item] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/item/picture/item/content/content_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/item/picture/item/content/content_request_builder.py index 65fdfa2d340..73bbe7a2e1e 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/item/picture/item/content/content_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/item/picture/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/item/picture/item/picture_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/item/picture/item/picture_item_request_builder.py index 8052046b190..8e213e9ea5b 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/item/picture/item/picture_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/item/picture/item/picture_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PictureIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PictureItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Picture] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/item/picture/picture_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/item/picture/picture_request_builder.py index e5376e64fd8..52621514c64 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/item/picture/picture_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/item/picture/picture_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Picture] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/sales_quote_line_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/sales_quote_line_item_request_builder.py index 2b54ba6526e..8918cd5376f 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/sales_quote_line_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/item/sales_quote_line_item_request_builder.py @@ -87,7 +87,7 @@ def to_get_request_information(self,request_configuration: Optional[SalesQuoteLi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SalesQuoteLine] = None, request_configuration: Optional[SalesQuoteLineItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -106,7 +106,7 @@ def to_patch_request_information(self,body: Optional[SalesQuoteLine] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/sales_quote_lines_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/sales_quote_lines_request_builder.py index f4ff6e65b7c..73430fd386b 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/sales_quote_lines_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/sales_quote_lines/sales_quote_lines_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[SalesQuoteLi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SalesQuoteLinesRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/send/send_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/send/send_request_builder.py index 46b5ccc88a3..b7dd5d6502e 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/send/send_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/send/send_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[SendRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SendRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/shipment_method/shipment_method_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/shipment_method/shipment_method_request_builder.py index 8e0968a354f..720cd2ffffe 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quotes/item/shipment_method/shipment_method_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quotes/item/shipment_method/shipment_method_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ShipmentM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ShipmentMethodRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ShipmentMeth request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ShipmentMethod] = None, request_configuration: Optional[ShipmentMethodRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ShipmentMethod] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/sales_quotes/sales_quotes_request_builder.py b/msgraph_beta/generated/financials/companies/item/sales_quotes/sales_quotes_request_builder.py index 9042701bf2a..7a18a961f78 100644 --- a/msgraph_beta/generated/financials/companies/item/sales_quotes/sales_quotes_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/sales_quotes/sales_quotes_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[SalesQuotesR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SalesQuotesRequestBuilder: diff --git a/msgraph_beta/generated/financials/companies/item/shipment_methods/item/shipment_method_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/shipment_methods/item/shipment_method_item_request_builder.py index aff9bf8ca75..fc28cff84bc 100644 --- a/msgraph_beta/generated/financials/companies/item/shipment_methods/item/shipment_method_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/shipment_methods/item/shipment_method_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ShipmentM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ShipmentMethodItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ShipmentMeth request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ShipmentMethod] = None, request_configuration: Optional[ShipmentMethodItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ShipmentMethod] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/shipment_methods/shipment_methods_request_builder.py b/msgraph_beta/generated/financials/companies/item/shipment_methods/shipment_methods_request_builder.py index 6676b6faa65..f161109a882 100644 --- a/msgraph_beta/generated/financials/companies/item/shipment_methods/shipment_methods_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/shipment_methods/shipment_methods_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ShipmentMeth request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ShipmentMethod] = None, request_configuration: Optional[ShipmentMethodsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ShipmentMethod] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/tax_areas/item/tax_area_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/tax_areas/item/tax_area_item_request_builder.py index fa0515a9246..99f984a4370 100644 --- a/msgraph_beta/generated/financials/companies/item/tax_areas/item/tax_area_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/tax_areas/item/tax_area_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[TaxAreaIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TaxAreaItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[TaxAreaItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TaxArea] = None, request_configuration: Optional[TaxAreaItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[TaxArea] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/tax_areas/tax_areas_request_builder.py b/msgraph_beta/generated/financials/companies/item/tax_areas/tax_areas_request_builder.py index 6cfd59582a8..9e6fc993753 100644 --- a/msgraph_beta/generated/financials/companies/item/tax_areas/tax_areas_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/tax_areas/tax_areas_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[TaxAreasRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TaxArea] = None, request_configuration: Optional[TaxAreasRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[TaxArea] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/tax_groups/item/tax_group_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/tax_groups/item/tax_group_item_request_builder.py index 2383b17cf37..c00075232fd 100644 --- a/msgraph_beta/generated/financials/companies/item/tax_groups/item/tax_group_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/tax_groups/item/tax_group_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[TaxGroupI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TaxGroupItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[TaxGroupItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TaxGroup] = None, request_configuration: Optional[TaxGroupItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[TaxGroup] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/tax_groups/tax_groups_request_builder.py b/msgraph_beta/generated/financials/companies/item/tax_groups/tax_groups_request_builder.py index 04dd09f07eb..ba3f9227843 100644 --- a/msgraph_beta/generated/financials/companies/item/tax_groups/tax_groups_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/tax_groups/tax_groups_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[TaxGroupsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TaxGroup] = None, request_configuration: Optional[TaxGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[TaxGroup] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/units_of_measure/item/unit_of_measure_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/units_of_measure/item/unit_of_measure_item_request_builder.py index 8662b1e65f8..83e98ab143d 100644 --- a/msgraph_beta/generated/financials/companies/item/units_of_measure/item/unit_of_measure_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/units_of_measure/item/unit_of_measure_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UnitOfMea request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnitOfMeasureItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UnitOfMeasur request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnitOfMeasure] = None, request_configuration: Optional[UnitOfMeasureItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UnitOfMeasure] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/units_of_measure/units_of_measure_request_builder.py b/msgraph_beta/generated/financials/companies/item/units_of_measure/units_of_measure_request_builder.py index 802a5ee4d23..5e4e34aff46 100644 --- a/msgraph_beta/generated/financials/companies/item/units_of_measure/units_of_measure_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/units_of_measure/units_of_measure_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[UnitsOfMeasu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnitOfMeasure] = None, request_configuration: Optional[UnitsOfMeasureRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UnitOfMeasure] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/vendors/item/currency/currency_request_builder.py b/msgraph_beta/generated/financials/companies/item/vendors/item/currency/currency_request_builder.py index 64a3b4abdf9..262906884f1 100644 --- a/msgraph_beta/generated/financials/companies/item/vendors/item/currency/currency_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/vendors/item/currency/currency_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[CurrencyR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CurrencyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[CurrencyRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Currency] = None, request_configuration: Optional[CurrencyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Currency] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/vendors/item/payment_method/payment_method_request_builder.py b/msgraph_beta/generated/financials/companies/item/vendors/item/payment_method/payment_method_request_builder.py index 9157e1189a6..18caf307a76 100644 --- a/msgraph_beta/generated/financials/companies/item/vendors/item/payment_method/payment_method_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/vendors/item/payment_method/payment_method_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PaymentMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PaymentMethodRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PaymentMetho request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PaymentMethod] = None, request_configuration: Optional[PaymentMethodRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PaymentMethod] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/vendors/item/payment_term/payment_term_request_builder.py b/msgraph_beta/generated/financials/companies/item/vendors/item/payment_term/payment_term_request_builder.py index edef71fcb22..37415a76fc0 100644 --- a/msgraph_beta/generated/financials/companies/item/vendors/item/payment_term/payment_term_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/vendors/item/payment_term/payment_term_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PaymentTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PaymentTermRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PaymentTermR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PaymentTerm] = None, request_configuration: Optional[PaymentTermRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PaymentTerm] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/vendors/item/picture/item/content/content_request_builder.py b/msgraph_beta/generated/financials/companies/item/vendors/item/picture/item/content/content_request_builder.py index b87c723a410..1899ccad76d 100644 --- a/msgraph_beta/generated/financials/companies/item/vendors/item/picture/item/content/content_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/vendors/item/picture/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/financials/companies/item/vendors/item/picture/item/picture_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/vendors/item/picture/item/picture_item_request_builder.py index 2b27d29e8c9..096966f90ba 100644 --- a/msgraph_beta/generated/financials/companies/item/vendors/item/picture/item/picture_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/vendors/item/picture/item/picture_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PictureIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PictureItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Picture] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/vendors/item/picture/picture_request_builder.py b/msgraph_beta/generated/financials/companies/item/vendors/item/picture/picture_request_builder.py index 5e8f7ea6d19..a5d80669e80 100644 --- a/msgraph_beta/generated/financials/companies/item/vendors/item/picture/picture_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/vendors/item/picture/picture_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PictureReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Picture] = None, request_configuration: Optional[PictureRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Picture] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/vendors/item/vendor_item_request_builder.py b/msgraph_beta/generated/financials/companies/item/vendors/item/vendor_item_request_builder.py index 1d2be2155a7..110c5a612ea 100644 --- a/msgraph_beta/generated/financials/companies/item/vendors/item/vendor_item_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/vendors/item/vendor_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[VendorIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[VendorItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[VendorItemRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Vendor] = None, request_configuration: Optional[VendorItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[Vendor] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/companies/item/vendors/vendors_request_builder.py b/msgraph_beta/generated/financials/companies/item/vendors/vendors_request_builder.py index 6bdd3affdfe..f047086784f 100644 --- a/msgraph_beta/generated/financials/companies/item/vendors/vendors_request_builder.py +++ b/msgraph_beta/generated/financials/companies/item/vendors/vendors_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[VendorsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Vendor] = None, request_configuration: Optional[VendorsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Vendor] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/financials/financials_request_builder.py b/msgraph_beta/generated/financials/financials_request_builder.py index 7e2d977e6ea..c2aa58650dc 100644 --- a/msgraph_beta/generated/financials/financials_request_builder.py +++ b/msgraph_beta/generated/financials/financials_request_builder.py @@ -86,7 +86,7 @@ def to_get_request_information(self,request_configuration: Optional[FinancialsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Financials] = None, request_configuration: Optional[FinancialsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -105,7 +105,7 @@ def to_patch_request_information(self,body: Optional[Financials] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/functions/functions_request_builder.py b/msgraph_beta/generated/functions/functions_request_builder.py index ef9c5aac189..73bd4e5d494 100644 --- a/msgraph_beta/generated/functions/functions_request_builder.py +++ b/msgraph_beta/generated/functions/functions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[FunctionsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AttributeMappingFunctionSchema] = None, request_configuration: Optional[FunctionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AttributeMappingFunctionSche request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/functions/item/attribute_mapping_function_schema_item_request_builder.py b/msgraph_beta/generated/functions/item/attribute_mapping_function_schema_item_request_builder.py index 10f46e56508..f73dc150c33 100644 --- a/msgraph_beta/generated/functions/item/attribute_mapping_function_schema_item_request_builder.py +++ b/msgraph_beta/generated/functions/item/attribute_mapping_function_schema_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Attribute request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttributeMappingFunctionSchemaItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AttributeMap request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AttributeMappingFunctionSchema] = None, request_configuration: Optional[AttributeMappingFunctionSchemaItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AttributeMappingFunctionSch request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_resources/governance_resources_request_builder.py b/msgraph_beta/generated/governance_resources/governance_resources_request_builder.py index c621d6bd393..7f1f9940b54 100644 --- a/msgraph_beta/generated/governance_resources/governance_resources_request_builder.py +++ b/msgraph_beta/generated/governance_resources/governance_resources_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GovernanceResource] = None, request_configuration: Optional[GovernanceResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[GovernanceResource] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_resources/item/governance_resource_item_request_builder.py b/msgraph_beta/generated/governance_resources/item/governance_resource_item_request_builder.py index 08317c10430..22409245d56 100644 --- a/msgraph_beta/generated/governance_resources/item/governance_resource_item_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/governance_resource_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[Governanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GovernanceResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceResource] = None, request_configuration: Optional[GovernanceResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[GovernanceResource] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_resources/item/parent/parent_request_builder.py b/msgraph_beta/generated/governance_resources/item/parent/parent_request_builder.py index 9d69f226d3d..2f026f3a141 100644 --- a/msgraph_beta/generated/governance_resources/item/parent/parent_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/parent/parent_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentRequestBuilder: diff --git a/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/cancel/cancel_request_builder.py index 52def290f9f..62df3df8f30 100644 --- a/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/cancel/cancel_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[CancelReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CancelRequestBuilder: diff --git a/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/governance_role_assignment_request_item_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/governance_role_assignment_request_item_request_builder.py index fd9a4f741ae..3009dab8249 100644 --- a/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/governance_role_assignment_request_item_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/governance_role_assignment_request_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[Governanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GovernanceRoleAssignmentRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceRoleAssignmentRequest] = None, request_configuration: Optional[GovernanceRoleAssignmentRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[GovernanceRoleAssignmentReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/resource/resource_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/resource/resource_request_builder.py index 06a314bce81..37d8d737b81 100644 --- a/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/resource/resource_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/role_definition/resource/resource_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/role_definition/resource/resource_request_builder.py index 07b257e7189..9cde5948d7a 100644 --- a/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/role_definition/resource/resource_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/role_definition/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/role_definition/role_definition_request_builder.py index 7d01b450c79..de5b4803fd7 100644 --- a/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/role_definition/role_definition_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RoleDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RoleDefinitionRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = None, request_configuration: Optional[RoleDefinitionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/role_definition/role_setting/role_setting_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/role_definition/role_setting/role_setting_request_builder.py index b16cb60c17a..29b87ba3fb8 100644 --- a/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/role_definition/role_setting/role_setting_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/role_definition/role_setting/role_setting_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleSettingR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleSettingRequestBuilder: diff --git a/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/subject/subject_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/subject/subject_request_builder.py index 99ee7f720d5..05b1d18a4fb 100644 --- a/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/subject/subject_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/subject/subject_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[SubjectRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SubjectRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SubjectReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceSubject] = None, request_configuration: Optional[SubjectRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[GovernanceSubject] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/update_request/update_request_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/update_request/update_request_request_builder.py index 12361facff7..76cdb48f130 100644 --- a/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/update_request/update_request_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_assignment_requests/item/update_request/update_request_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[UpdateRequestPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_resources/item/role_assignment_requests/role_assignment_requests_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_assignment_requests/role_assignment_requests_request_builder.py index a28c3400c14..6f9b5908d72 100644 --- a/msgraph_beta/generated/governance_resources/item/role_assignment_requests/role_assignment_requests_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_assignment_requests/role_assignment_requests_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleAssignme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GovernanceRoleAssignmentRequest] = None, request_configuration: Optional[RoleAssignmentRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GovernanceRoleAssignmentRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_resources/item/role_assignments/export/export_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_assignments/export/export_request_builder.py index 59b8e5c2fd3..48a951feaf4 100644 --- a/msgraph_beta/generated/governance_resources/item/role_assignments/export/export_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_assignments/export/export_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ExportReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExportRequestBuilder: diff --git a/msgraph_beta/generated/governance_resources/item/role_assignments/item/governance_role_assignment_item_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_assignments/item/governance_role_assignment_item_request_builder.py index 49415bb8ca7..cb17e73d7ba 100644 --- a/msgraph_beta/generated/governance_resources/item/role_assignments/item/governance_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_assignments/item/governance_role_assignment_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[Governanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GovernanceRoleAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceRoleAssignment] = None, request_configuration: Optional[GovernanceRoleAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[GovernanceRoleAssignment] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_resources/item/role_assignments/item/linked_eligible_role_assignment/linked_eligible_role_assignment_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_assignments/item/linked_eligible_role_assignment/linked_eligible_role_assignment_request_builder.py index e322539005b..cce72aee625 100644 --- a/msgraph_beta/generated/governance_resources/item/role_assignments/item/linked_eligible_role_assignment/linked_eligible_role_assignment_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_assignments/item/linked_eligible_role_assignment/linked_eligible_role_assignment_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[LinkedEligib request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LinkedEligibleRoleAssignmentRequestBuilder: diff --git a/msgraph_beta/generated/governance_resources/item/role_assignments/item/resource/resource_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_assignments/item/resource/resource_request_builder.py index f0a05bd4449..a4ab52f6e2f 100644 --- a/msgraph_beta/generated/governance_resources/item/role_assignments/item/resource/resource_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_assignments/item/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/governance_resources/item/role_assignments/item/role_definition/resource/resource_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_assignments/item/role_definition/resource/resource_request_builder.py index 47f48c9aa32..6275dc0c9f5 100644 --- a/msgraph_beta/generated/governance_resources/item/role_assignments/item/role_definition/resource/resource_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_assignments/item/role_definition/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/governance_resources/item/role_assignments/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_assignments/item/role_definition/role_definition_request_builder.py index 67b454e5ec3..9e3d85649a7 100644 --- a/msgraph_beta/generated/governance_resources/item/role_assignments/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_assignments/item/role_definition/role_definition_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RoleDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RoleDefinitionRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = None, request_configuration: Optional[RoleDefinitionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_resources/item/role_assignments/item/role_definition/role_setting/role_setting_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_assignments/item/role_definition/role_setting/role_setting_request_builder.py index 4101256d267..87ade3a5de6 100644 --- a/msgraph_beta/generated/governance_resources/item/role_assignments/item/role_definition/role_setting/role_setting_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_assignments/item/role_definition/role_setting/role_setting_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleSettingR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleSettingRequestBuilder: diff --git a/msgraph_beta/generated/governance_resources/item/role_assignments/item/subject/subject_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_assignments/item/subject/subject_request_builder.py index aae88b498e1..fb91c8946c4 100644 --- a/msgraph_beta/generated/governance_resources/item/role_assignments/item/subject/subject_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_assignments/item/subject/subject_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[SubjectRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SubjectRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SubjectReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceSubject] = None, request_configuration: Optional[SubjectRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[GovernanceSubject] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_resources/item/role_assignments/role_assignments_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_assignments/role_assignments_request_builder.py index 942bf799d5f..b604effc5df 100644 --- a/msgraph_beta/generated/governance_resources/item/role_assignments/role_assignments_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_assignments/role_assignments_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleAssignme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GovernanceRoleAssignment] = None, request_configuration: Optional[RoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[GovernanceRoleAssignment] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_resources/item/role_definitions/item/governance_role_definition_item_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_definitions/item/governance_role_definition_item_request_builder.py index 95b7a19b9f0..c8611f5862d 100644 --- a/msgraph_beta/generated/governance_resources/item/role_definitions/item/governance_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_definitions/item/governance_role_definition_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Governanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GovernanceRoleDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = None, request_configuration: Optional[GovernanceRoleDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_resources/item/role_definitions/item/resource/resource_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_definitions/item/resource/resource_request_builder.py index dd04840f55e..fae4ad342a5 100644 --- a/msgraph_beta/generated/governance_resources/item/role_definitions/item/resource/resource_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_definitions/item/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/governance_resources/item/role_definitions/item/role_setting/role_setting_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_definitions/item/role_setting/role_setting_request_builder.py index 3487a957e88..d4a7d5bdf3e 100644 --- a/msgraph_beta/generated/governance_resources/item/role_definitions/item/role_setting/role_setting_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_definitions/item/role_setting/role_setting_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleSettingR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleSettingRequestBuilder: diff --git a/msgraph_beta/generated/governance_resources/item/role_definitions/role_definitions_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_definitions/role_definitions_request_builder.py index bd00f0631b6..c804ed7d910 100644 --- a/msgraph_beta/generated/governance_resources/item/role_definitions/role_definitions_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_definitions/role_definitions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GovernanceRoleDefinition] = None, request_configuration: Optional[RoleDefinitionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GovernanceRoleDefinition] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_resources/item/role_settings/item/governance_role_setting_item_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_settings/item/governance_role_setting_item_request_builder.py index daf8136d0ac..618a2ed150e 100644 --- a/msgraph_beta/generated/governance_resources/item/role_settings/item/governance_role_setting_item_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_settings/item/governance_role_setting_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Governanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GovernanceRoleSettingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceRoleSetting] = None, request_configuration: Optional[GovernanceRoleSettingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[GovernanceRoleSetting] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_resources/item/role_settings/item/resource/resource_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_settings/item/resource/resource_request_builder.py index b1200af4227..92ea8abfa68 100644 --- a/msgraph_beta/generated/governance_resources/item/role_settings/item/resource/resource_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_settings/item/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/governance_resources/item/role_settings/item/role_definition/resource/resource_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_settings/item/role_definition/resource/resource_request_builder.py index 7ae350c4444..592d655b4ec 100644 --- a/msgraph_beta/generated/governance_resources/item/role_settings/item/role_definition/resource/resource_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_settings/item/role_definition/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/governance_resources/item/role_settings/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_settings/item/role_definition/role_definition_request_builder.py index a2b3538e76c..54c79db1385 100644 --- a/msgraph_beta/generated/governance_resources/item/role_settings/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_settings/item/role_definition/role_definition_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RoleDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RoleDefinitionRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = None, request_configuration: Optional[RoleDefinitionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_resources/item/role_settings/item/role_definition/role_setting/role_setting_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_settings/item/role_definition/role_setting/role_setting_request_builder.py index c4c7c74a6e9..49e89950214 100644 --- a/msgraph_beta/generated/governance_resources/item/role_settings/item/role_definition/role_setting/role_setting_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_settings/item/role_definition/role_setting/role_setting_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleSettingR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleSettingRequestBuilder: diff --git a/msgraph_beta/generated/governance_resources/item/role_settings/role_settings_request_builder.py b/msgraph_beta/generated/governance_resources/item/role_settings/role_settings_request_builder.py index 534402249e4..406010b2aa0 100644 --- a/msgraph_beta/generated/governance_resources/item/role_settings/role_settings_request_builder.py +++ b/msgraph_beta/generated/governance_resources/item/role_settings/role_settings_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleSettings request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GovernanceRoleSetting] = None, request_configuration: Optional[RoleSettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GovernanceRoleSetting] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_resources/register/register_request_builder.py b/msgraph_beta/generated/governance_resources/register/register_request_builder.py index 86e037a4f37..fd945d1ccb8 100644 --- a/msgraph_beta/generated/governance_resources/register/register_request_builder.py +++ b/msgraph_beta/generated/governance_resources/register/register_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[RegisterPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_role_assignment_requests/governance_role_assignment_requests_request_builder.py b/msgraph_beta/generated/governance_role_assignment_requests/governance_role_assignment_requests_request_builder.py index 44d83c4e144..bcd4ca8deea 100644 --- a/msgraph_beta/generated/governance_role_assignment_requests/governance_role_assignment_requests_request_builder.py +++ b/msgraph_beta/generated/governance_role_assignment_requests/governance_role_assignment_requests_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GovernanceRoleAssignmentRequest] = None, request_configuration: Optional[GovernanceRoleAssignmentRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GovernanceRoleAssignmentRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_role_assignment_requests/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/governance_role_assignment_requests/item/cancel/cancel_request_builder.py index c5b1ce3c22d..a8e8601e757 100644 --- a/msgraph_beta/generated/governance_role_assignment_requests/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/governance_role_assignment_requests/item/cancel/cancel_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[CancelReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CancelRequestBuilder: diff --git a/msgraph_beta/generated/governance_role_assignment_requests/item/governance_role_assignment_request_item_request_builder.py b/msgraph_beta/generated/governance_role_assignment_requests/item/governance_role_assignment_request_item_request_builder.py index b04bb088f66..8386e9d4584 100644 --- a/msgraph_beta/generated/governance_role_assignment_requests/item/governance_role_assignment_request_item_request_builder.py +++ b/msgraph_beta/generated/governance_role_assignment_requests/item/governance_role_assignment_request_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[Governanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GovernanceRoleAssignmentRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceRoleAssignmentRequest] = None, request_configuration: Optional[GovernanceRoleAssignmentRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[GovernanceRoleAssignmentReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_role_assignment_requests/item/resource/resource_request_builder.py b/msgraph_beta/generated/governance_role_assignment_requests/item/resource/resource_request_builder.py index d495b9b2234..24324d1aeb6 100644 --- a/msgraph_beta/generated/governance_role_assignment_requests/item/resource/resource_request_builder.py +++ b/msgraph_beta/generated/governance_role_assignment_requests/item/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/governance_role_assignment_requests/item/role_definition/resource/resource_request_builder.py b/msgraph_beta/generated/governance_role_assignment_requests/item/role_definition/resource/resource_request_builder.py index 186f45c0394..7bd0de0761f 100644 --- a/msgraph_beta/generated/governance_role_assignment_requests/item/role_definition/resource/resource_request_builder.py +++ b/msgraph_beta/generated/governance_role_assignment_requests/item/role_definition/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/governance_role_assignment_requests/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/governance_role_assignment_requests/item/role_definition/role_definition_request_builder.py index 51a832cf7fc..2541f888db1 100644 --- a/msgraph_beta/generated/governance_role_assignment_requests/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/governance_role_assignment_requests/item/role_definition/role_definition_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RoleDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RoleDefinitionRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = None, request_configuration: Optional[RoleDefinitionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_role_assignment_requests/item/role_definition/role_setting/role_setting_request_builder.py b/msgraph_beta/generated/governance_role_assignment_requests/item/role_definition/role_setting/role_setting_request_builder.py index 6ca133729fd..1ce1238d588 100644 --- a/msgraph_beta/generated/governance_role_assignment_requests/item/role_definition/role_setting/role_setting_request_builder.py +++ b/msgraph_beta/generated/governance_role_assignment_requests/item/role_definition/role_setting/role_setting_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleSettingR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleSettingRequestBuilder: diff --git a/msgraph_beta/generated/governance_role_assignment_requests/item/subject/subject_request_builder.py b/msgraph_beta/generated/governance_role_assignment_requests/item/subject/subject_request_builder.py index 5b147e66e77..48b46ac7b12 100644 --- a/msgraph_beta/generated/governance_role_assignment_requests/item/subject/subject_request_builder.py +++ b/msgraph_beta/generated/governance_role_assignment_requests/item/subject/subject_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[SubjectRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SubjectRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SubjectReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceSubject] = None, request_configuration: Optional[SubjectRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[GovernanceSubject] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_role_assignment_requests/item/update_request/update_request_request_builder.py b/msgraph_beta/generated/governance_role_assignment_requests/item/update_request/update_request_request_builder.py index 3784d67c4ed..11793aaf17c 100644 --- a/msgraph_beta/generated/governance_role_assignment_requests/item/update_request/update_request_request_builder.py +++ b/msgraph_beta/generated/governance_role_assignment_requests/item/update_request/update_request_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[UpdateRequestPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_role_assignments/export/export_request_builder.py b/msgraph_beta/generated/governance_role_assignments/export/export_request_builder.py index e2a3780b967..bf05950303f 100644 --- a/msgraph_beta/generated/governance_role_assignments/export/export_request_builder.py +++ b/msgraph_beta/generated/governance_role_assignments/export/export_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ExportReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExportRequestBuilder: diff --git a/msgraph_beta/generated/governance_role_assignments/governance_role_assignments_request_builder.py b/msgraph_beta/generated/governance_role_assignments/governance_role_assignments_request_builder.py index edcc9792ddd..c7f7f1a67e5 100644 --- a/msgraph_beta/generated/governance_role_assignments/governance_role_assignments_request_builder.py +++ b/msgraph_beta/generated/governance_role_assignments/governance_role_assignments_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GovernanceRoleAssignment] = None, request_configuration: Optional[GovernanceRoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[GovernanceRoleAssignment] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_role_assignments/item/governance_role_assignment_item_request_builder.py b/msgraph_beta/generated/governance_role_assignments/item/governance_role_assignment_item_request_builder.py index 6528d056048..197c2708280 100644 --- a/msgraph_beta/generated/governance_role_assignments/item/governance_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/governance_role_assignments/item/governance_role_assignment_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[Governanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GovernanceRoleAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceRoleAssignment] = None, request_configuration: Optional[GovernanceRoleAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[GovernanceRoleAssignment] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_role_assignments/item/linked_eligible_role_assignment/linked_eligible_role_assignment_request_builder.py b/msgraph_beta/generated/governance_role_assignments/item/linked_eligible_role_assignment/linked_eligible_role_assignment_request_builder.py index 79c917331a5..56593ea40d2 100644 --- a/msgraph_beta/generated/governance_role_assignments/item/linked_eligible_role_assignment/linked_eligible_role_assignment_request_builder.py +++ b/msgraph_beta/generated/governance_role_assignments/item/linked_eligible_role_assignment/linked_eligible_role_assignment_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[LinkedEligib request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LinkedEligibleRoleAssignmentRequestBuilder: diff --git a/msgraph_beta/generated/governance_role_assignments/item/resource/resource_request_builder.py b/msgraph_beta/generated/governance_role_assignments/item/resource/resource_request_builder.py index 1426e9017cb..0959f6a3d86 100644 --- a/msgraph_beta/generated/governance_role_assignments/item/resource/resource_request_builder.py +++ b/msgraph_beta/generated/governance_role_assignments/item/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/governance_role_assignments/item/role_definition/resource/resource_request_builder.py b/msgraph_beta/generated/governance_role_assignments/item/role_definition/resource/resource_request_builder.py index f87b121bf99..34af6d89786 100644 --- a/msgraph_beta/generated/governance_role_assignments/item/role_definition/resource/resource_request_builder.py +++ b/msgraph_beta/generated/governance_role_assignments/item/role_definition/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/governance_role_assignments/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/governance_role_assignments/item/role_definition/role_definition_request_builder.py index ab23fc7d568..8006e55576d 100644 --- a/msgraph_beta/generated/governance_role_assignments/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/governance_role_assignments/item/role_definition/role_definition_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RoleDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RoleDefinitionRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = None, request_configuration: Optional[RoleDefinitionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_role_assignments/item/role_definition/role_setting/role_setting_request_builder.py b/msgraph_beta/generated/governance_role_assignments/item/role_definition/role_setting/role_setting_request_builder.py index be4fc3108f9..6167d49227b 100644 --- a/msgraph_beta/generated/governance_role_assignments/item/role_definition/role_setting/role_setting_request_builder.py +++ b/msgraph_beta/generated/governance_role_assignments/item/role_definition/role_setting/role_setting_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleSettingR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleSettingRequestBuilder: diff --git a/msgraph_beta/generated/governance_role_assignments/item/subject/subject_request_builder.py b/msgraph_beta/generated/governance_role_assignments/item/subject/subject_request_builder.py index 21251eb3c9b..0f8d7eab5d4 100644 --- a/msgraph_beta/generated/governance_role_assignments/item/subject/subject_request_builder.py +++ b/msgraph_beta/generated/governance_role_assignments/item/subject/subject_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[SubjectRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SubjectRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SubjectReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceSubject] = None, request_configuration: Optional[SubjectRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[GovernanceSubject] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_role_definitions/governance_role_definitions_request_builder.py b/msgraph_beta/generated/governance_role_definitions/governance_role_definitions_request_builder.py index 6391828a75c..b7d95b20ffb 100644 --- a/msgraph_beta/generated/governance_role_definitions/governance_role_definitions_request_builder.py +++ b/msgraph_beta/generated/governance_role_definitions/governance_role_definitions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GovernanceRoleDefinition] = None, request_configuration: Optional[GovernanceRoleDefinitionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GovernanceRoleDefinition] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_role_definitions/item/governance_role_definition_item_request_builder.py b/msgraph_beta/generated/governance_role_definitions/item/governance_role_definition_item_request_builder.py index 778d77c9213..40205ad56f0 100644 --- a/msgraph_beta/generated/governance_role_definitions/item/governance_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/governance_role_definitions/item/governance_role_definition_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Governanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GovernanceRoleDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = None, request_configuration: Optional[GovernanceRoleDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_role_definitions/item/resource/resource_request_builder.py b/msgraph_beta/generated/governance_role_definitions/item/resource/resource_request_builder.py index cc41f938e82..362eb2b3dff 100644 --- a/msgraph_beta/generated/governance_role_definitions/item/resource/resource_request_builder.py +++ b/msgraph_beta/generated/governance_role_definitions/item/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/governance_role_definitions/item/role_setting/role_setting_request_builder.py b/msgraph_beta/generated/governance_role_definitions/item/role_setting/role_setting_request_builder.py index 03869e02de7..95620167f70 100644 --- a/msgraph_beta/generated/governance_role_definitions/item/role_setting/role_setting_request_builder.py +++ b/msgraph_beta/generated/governance_role_definitions/item/role_setting/role_setting_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleSettingR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleSettingRequestBuilder: diff --git a/msgraph_beta/generated/governance_role_settings/governance_role_settings_request_builder.py b/msgraph_beta/generated/governance_role_settings/governance_role_settings_request_builder.py index 1e6e08a576b..886d4f3b6a7 100644 --- a/msgraph_beta/generated/governance_role_settings/governance_role_settings_request_builder.py +++ b/msgraph_beta/generated/governance_role_settings/governance_role_settings_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GovernanceRoleSetting] = None, request_configuration: Optional[GovernanceRoleSettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GovernanceRoleSetting] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_role_settings/item/governance_role_setting_item_request_builder.py b/msgraph_beta/generated/governance_role_settings/item/governance_role_setting_item_request_builder.py index 4ab0962e421..f5562d2ffb7 100644 --- a/msgraph_beta/generated/governance_role_settings/item/governance_role_setting_item_request_builder.py +++ b/msgraph_beta/generated/governance_role_settings/item/governance_role_setting_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Governanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GovernanceRoleSettingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceRoleSetting] = None, request_configuration: Optional[GovernanceRoleSettingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[GovernanceRoleSetting] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_role_settings/item/resource/resource_request_builder.py b/msgraph_beta/generated/governance_role_settings/item/resource/resource_request_builder.py index f62b4c60b9e..f9346b81b8d 100644 --- a/msgraph_beta/generated/governance_role_settings/item/resource/resource_request_builder.py +++ b/msgraph_beta/generated/governance_role_settings/item/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/governance_role_settings/item/role_definition/resource/resource_request_builder.py b/msgraph_beta/generated/governance_role_settings/item/role_definition/resource/resource_request_builder.py index 76bed865adc..761a20876e1 100644 --- a/msgraph_beta/generated/governance_role_settings/item/role_definition/resource/resource_request_builder.py +++ b/msgraph_beta/generated/governance_role_settings/item/role_definition/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/governance_role_settings/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/governance_role_settings/item/role_definition/role_definition_request_builder.py index 4d4f734ed2f..ae613e678bb 100644 --- a/msgraph_beta/generated/governance_role_settings/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/governance_role_settings/item/role_definition/role_definition_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RoleDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RoleDefinitionRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = None, request_configuration: Optional[RoleDefinitionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_role_settings/item/role_definition/role_setting/role_setting_request_builder.py b/msgraph_beta/generated/governance_role_settings/item/role_definition/role_setting/role_setting_request_builder.py index 7dcfdd4662c..f47a47ea2bc 100644 --- a/msgraph_beta/generated/governance_role_settings/item/role_definition/role_setting/role_setting_request_builder.py +++ b/msgraph_beta/generated/governance_role_settings/item/role_definition/role_setting/role_setting_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleSettingR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleSettingRequestBuilder: diff --git a/msgraph_beta/generated/governance_subjects/governance_subjects_request_builder.py b/msgraph_beta/generated/governance_subjects/governance_subjects_request_builder.py index 12cbbac4e02..e091ddfbfa5 100644 --- a/msgraph_beta/generated/governance_subjects/governance_subjects_request_builder.py +++ b/msgraph_beta/generated/governance_subjects/governance_subjects_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceSu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GovernanceSubject] = None, request_configuration: Optional[GovernanceSubjectsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GovernanceSubject] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/governance_subjects/item/governance_subject_item_request_builder.py b/msgraph_beta/generated/governance_subjects/item/governance_subject_item_request_builder.py index 013fef2dc4c..599124aaf4f 100644 --- a/msgraph_beta/generated/governance_subjects/item/governance_subject_item_request_builder.py +++ b/msgraph_beta/generated/governance_subjects/item/governance_subject_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Governanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GovernanceSubjectItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceSu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceSubject] = None, request_configuration: Optional[GovernanceSubjectItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[GovernanceSubject] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/group_lifecycle_policies/group_lifecycle_policies_request_builder.py b/msgraph_beta/generated/group_lifecycle_policies/group_lifecycle_policies_request_builder.py index c50c3894450..f5092cb4c82 100644 --- a/msgraph_beta/generated/group_lifecycle_policies/group_lifecycle_policies_request_builder.py +++ b/msgraph_beta/generated/group_lifecycle_policies/group_lifecycle_policies_request_builder.py @@ -46,7 +46,7 @@ def by_group_lifecycle_policy_id(self,group_lifecycle_policy_id: str) -> GroupLi async def get(self,request_configuration: Optional[GroupLifecyclePoliciesRequestBuilderGetRequestConfiguration] = None) -> Optional[GroupLifecyclePolicyCollectionResponse]: """ - List all the groupLifecyclePolicies. This API is available in the following national cloud deployments. + List all the groupLifecyclePolicies. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GroupLifecyclePolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/grouplifecyclepolicy-list?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[GroupLifecyclePoliciesRequest async def post(self,body: Optional[GroupLifecyclePolicy] = None, request_configuration: Optional[GroupLifecyclePoliciesRequestBuilderPostRequestConfiguration] = None) -> Optional[GroupLifecyclePolicy]: """ - Creates a new groupLifecyclePolicy. This API is available in the following national cloud deployments. + Creates a new groupLifecyclePolicy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GroupLifecyclePolicy] @@ -93,7 +93,7 @@ async def post(self,body: Optional[GroupLifecyclePolicy] = None, request_configu def to_get_request_information(self,request_configuration: Optional[GroupLifecyclePoliciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all the groupLifecyclePolicies. This API is available in the following national cloud deployments. + List all the groupLifecyclePolicies. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[GroupLifecyc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GroupLifecyclePolicy] = None, request_configuration: Optional[GroupLifecyclePoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Creates a new groupLifecyclePolicy. This API is available in the following national cloud deployments. + Creates a new groupLifecyclePolicy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[GroupLifecyclePolicy] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def renew_group(self) -> RenewGroupRequestBuilder: @dataclass class GroupLifecyclePoliciesRequestBuilderGetQueryParameters(): """ - List all the groupLifecyclePolicies. This API is available in the following national cloud deployments. + List all the groupLifecyclePolicies. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/group_lifecycle_policies/item/add_group/add_group_request_builder.py b/msgraph_beta/generated/group_lifecycle_policies/item/add_group/add_group_request_builder.py index 9c19cafa45e..d0aa70e916f 100644 --- a/msgraph_beta/generated/group_lifecycle_policies/item/add_group/add_group_request_builder.py +++ b/msgraph_beta/generated/group_lifecycle_policies/item/add_group/add_group_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AddGroupPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/group_lifecycle_policies/item/group_lifecycle_policy_item_request_builder.py b/msgraph_beta/generated/group_lifecycle_policies/item/group_lifecycle_policy_item_request_builder.py index 415e46de7d7..a6f28a9f5f6 100644 --- a/msgraph_beta/generated/group_lifecycle_policies/item/group_lifecycle_policy_item_request_builder.py +++ b/msgraph_beta/generated/group_lifecycle_policies/item/group_lifecycle_policy_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[GroupLifecyclePolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a groupLifecyclePolicy. This API is available in the following national cloud deployments. + Delete a groupLifecyclePolicy. 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/grouplifecyclepolicy-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[GroupLifecyclePolicyItemRe async def get(self,request_configuration: Optional[GroupLifecyclePolicyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[GroupLifecyclePolicy]: """ - Retrieve the properties and relationships of a groupLifecyclePolicies object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a groupLifecyclePolicies object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GroupLifecyclePolicy] Find more info here: https://learn.microsoft.com/graph/api/grouplifecyclepolicy-get?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[GroupLifecyclePolicyItemReque async def patch(self,body: Optional[GroupLifecyclePolicy] = None, request_configuration: Optional[GroupLifecyclePolicyItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[GroupLifecyclePolicy]: """ - Update the properties of a groupLifecyclePolicygroupLifecyclePolicy resource type object. This API is available in the following national cloud deployments. + Update the properties of a groupLifecyclePolicygroupLifecyclePolicy resource type object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GroupLifecyclePolicy] @@ -97,7 +97,7 @@ async def patch(self,body: Optional[GroupLifecyclePolicy] = None, request_config def to_delete_request_information(self,request_configuration: Optional[GroupLifecyclePolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a groupLifecyclePolicy. This API is available in the following national cloud deployments. + Delete a groupLifecyclePolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[GroupLife request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GroupLifecyclePolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a groupLifecyclePolicies object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a groupLifecyclePolicies object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[GroupLifecyc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GroupLifecyclePolicy] = None, request_configuration: Optional[GroupLifecyclePolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a groupLifecyclePolicygroupLifecyclePolicy resource type object. This API is available in the following national cloud deployments. + Update the properties of a groupLifecyclePolicygroupLifecyclePolicy resource type object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[GroupLifecyclePolicy] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class GroupLifecyclePolicyItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class GroupLifecyclePolicyItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a groupLifecyclePolicies object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a groupLifecyclePolicies object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/group_lifecycle_policies/item/remove_group/remove_group_request_builder.py b/msgraph_beta/generated/group_lifecycle_policies/item/remove_group/remove_group_request_builder.py index 22716031592..65167f869a3 100644 --- a/msgraph_beta/generated/group_lifecycle_policies/item/remove_group/remove_group_request_builder.py +++ b/msgraph_beta/generated/group_lifecycle_policies/item/remove_group/remove_group_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[RemoveGroupPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/group_lifecycle_policies/renew_group/renew_group_request_builder.py b/msgraph_beta/generated/group_lifecycle_policies/renew_group/renew_group_request_builder.py index b1e23b47ee0..dd14577f88d 100644 --- a/msgraph_beta/generated/group_lifecycle_policies/renew_group/renew_group_request_builder.py +++ b/msgraph_beta/generated/group_lifecycle_policies/renew_group/renew_group_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RenewGroupPostRequestBody] = None, request_configuration: Optional[RenewGroupRequestBuilderPostRequestConfiguration] = None) -> Optional[RenewGroupPostResponse]: """ - Renew a group's expiration. When a group is renewed, the group expiration is extended by the number of days defined in the policy. This API is available in the following national cloud deployments. + Renew a group's expiration. When a group is renewed, the group expiration is extended by the number of days defined in the policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RenewGroupPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[RenewGroupPostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[RenewGroupPostRequestBody] = None, request_configuration: Optional[RenewGroupRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Renew a group's expiration. When a group is renewed, the group expiration is extended by the number of days defined in the policy. This API is available in the following national cloud deployments. + Renew a group's expiration. When a group is renewed, the group expiration is extended by the number of days defined in the policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[RenewGroupPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/delta/delta_request_builder.py b/msgraph_beta/generated/groups/delta/delta_request_builder.py index f99ecc75b09..d89b1fef2a9 100644 --- a/msgraph_beta/generated/groups/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/groups/evaluate_dynamic_membership/evaluate_dynamic_membership_request_builder.py b/msgraph_beta/generated/groups/evaluate_dynamic_membership/evaluate_dynamic_membership_request_builder.py index 4cadd6cd702..bad736d1020 100644 --- a/msgraph_beta/generated/groups/evaluate_dynamic_membership/evaluate_dynamic_membership_request_builder.py +++ b/msgraph_beta/generated/groups/evaluate_dynamic_membership/evaluate_dynamic_membership_request_builder.py @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[EvaluateDynamicMembershipPos request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/get_by_ids/get_by_ids_request_builder.py b/msgraph_beta/generated/groups/get_by_ids/get_by_ids_request_builder.py index 6394b2d5334..1c0d3c15c01 100644 --- a/msgraph_beta/generated/groups/get_by_ids/get_by_ids_request_builder.py +++ b/msgraph_beta/generated/groups/get_by_ids/get_by_ids_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetByIdsPostResponse]: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetByIdsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/get_user_owned_objects/get_user_owned_objects_request_builder.py b/msgraph_beta/generated/groups/get_user_owned_objects/get_user_owned_objects_request_builder.py index 583485026e5..22e6787efab 100644 --- a/msgraph_beta/generated/groups/get_user_owned_objects/get_user_owned_objects_request_builder.py +++ b/msgraph_beta/generated/groups/get_user_owned_objects/get_user_owned_objects_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, request_configuration: Optional[GetUserOwnedObjectsRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. This API is available in the following national cloud deployments. + Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, r def to_post_request_information(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, request_configuration: Optional[GetUserOwnedObjectsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. This API is available in the following national cloud deployments. + Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetUserOwnedObjectsPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/groups_request_builder.py b/msgraph_beta/generated/groups/groups_request_builder.py index 31044f948f6..49299eab9b9 100644 --- a/msgraph_beta/generated/groups/groups_request_builder.py +++ b/msgraph_beta/generated/groups/groups_request_builder.py @@ -50,7 +50,7 @@ def by_group_id(self,group_id: str) -> GroupItemRequestBuilder: async def get(self,request_configuration: Optional[GroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[GroupCollectionResponse]: """ - List all the groups available in an organization, excluding dynamic distribution groups. To retrieve dynamic distribution groups, use the Exchange admin center. This operation returns by default only a subset of the more commonly used properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the group and specify the properties in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and are not returned in the $select query. This API is available in the following national cloud deployments. + List all the groups available in an organization, excluding dynamic distribution groups. To retrieve dynamic distribution groups, use the Exchange admin center. This operation returns by default only a subset of the more commonly used properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the group and specify the properties in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and are not returned in the $select query. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/group-list?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[GroupsRequestBuilderGetReques async def post(self,body: Optional[Group] = None, request_configuration: Optional[GroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[Group]: """ - Create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. This API is available in the following national cloud deployments. + Create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] @@ -97,7 +97,7 @@ async def post(self,body: Optional[Group] = None, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[GroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all the groups available in an organization, excluding dynamic distribution groups. To retrieve dynamic distribution groups, use the Exchange admin center. This operation returns by default only a subset of the more commonly used properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the group and specify the properties in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and are not returned in the $select query. This API is available in the following national cloud deployments. + List all the groups available in an organization, excluding dynamic distribution groups. To retrieve dynamic distribution groups, use the Exchange admin center. This operation returns by default only a subset of the more commonly used properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the group and specify the properties in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and are not returned in the $select query. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_get_request_information(self,request_configuration: Optional[GroupsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Group] = None, request_configuration: Optional[GroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. This API is available in the following national cloud deployments. + Create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -128,7 +128,7 @@ def to_post_request_information(self,body: Optional[Group] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -199,7 +199,7 @@ def validate_properties(self) -> ValidatePropertiesRequestBuilder: @dataclass class GroupsRequestBuilderGetQueryParameters(): """ - List all the groups available in an organization, excluding dynamic distribution groups. To retrieve dynamic distribution groups, use the Exchange admin center. This operation returns by default only a subset of the more commonly used properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the group and specify the properties in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and are not returned in the $select query. This API is available in the following national cloud deployments. + List all the groups available in an organization, excluding dynamic distribution groups. To retrieve dynamic distribution groups, use the Exchange admin center. This operation returns by default only a subset of the more commonly used properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the group and specify the properties in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and are not returned in the $select query. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/accepted_senders/accepted_senders_request_builder.py b/msgraph_beta/generated/groups/item/accepted_senders/accepted_senders_request_builder.py index b8f99731de7..eacf3ce6b1d 100644 --- a/msgraph_beta/generated/groups/item/accepted_senders/accepted_senders_request_builder.py +++ b/msgraph_beta/generated/groups/item/accepted_senders/accepted_senders_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.groups.item.acceptedSenders.item collection - param directory_object_id: Unique identifier of the item + param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ if not directory_object_id: @@ -45,7 +45,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem async def get(self,request_configuration: Optional[AcceptedSendersRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryObjectCollectionResponse]: """ - Get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. This API is available in the following national cloud deployments. + Get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/group-list-acceptedsenders?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AcceptedSendersRequestBuilder def to_get_request_information(self,request_configuration: Optional[AcceptedSendersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. This API is available in the following national cloud deployments. + Get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[AcceptedSend request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AcceptedSendersRequestBuilder: @@ -113,7 +113,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class AcceptedSendersRequestBuilderGetQueryParameters(): """ - Get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. This API is available in the following national cloud deployments. + Get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/accepted_senders/item/ref/ref_request_builder.py b/msgraph_beta/generated/groups/item/accepted_senders/item/ref/ref_request_builder.py index 7655493d6a8..6187010cac9 100644 --- a/msgraph_beta/generated/groups/item/accepted_senders/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/groups/item/accepted_senders/item/ref/ref_request_builder.py @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/accepted_senders/ref/ref_request_builder.py b/msgraph_beta/generated/groups/item/accepted_senders/ref/ref_request_builder.py index e731aa60479..14314b91ab0 100644 --- a/msgraph_beta/generated/groups/item/accepted_senders/ref/ref_request_builder.py +++ b/msgraph_beta/generated/groups/item/accepted_senders/ref/ref_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - Get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. This API is available in the following national cloud deployments. + Get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/group-list-acceptedsenders?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add a new user or group to the acceptedSender list. Specify the user or group in @odata.id in the request body. Users in the accepted senders list can post to conversations of the group. Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you'll get an error. This API is available in the following national cloud deployments. + Add a new user or group to the acceptedSender list. Specify the user or group in @odata.id in the request body. Users in the accepted senders list can post to conversations of the group. Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you'll get an error. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -74,7 +74,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. This API is available in the following national cloud deployments. + Get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a new user or group to the acceptedSender list. Specify the user or group in @odata.id in the request body. Users in the accepted senders list can post to conversations of the group. Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you'll get an error. This API is available in the following national cloud deployments. + Add a new user or group to the acceptedSender list. Specify the user or group in @odata.id in the request body. Users in the accepted senders list can post to conversations of the group. Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you'll get an error. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -122,7 +122,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderGetQueryParameters(): """ - Get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. This API is available in the following national cloud deployments. + Get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/add_favorite/add_favorite_request_builder.py b/msgraph_beta/generated/groups/item/add_favorite/add_favorite_request_builder.py index 9b235b44dbb..4491ac05d04 100644 --- a/msgraph_beta/generated/groups/item/add_favorite/add_favorite_request_builder.py +++ b/msgraph_beta/generated/groups/item/add_favorite/add_favorite_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[AddFavoriteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add the group to the list of the current user's favorite groups. Supported for Microsoft 365 groups only. This API is available in the following national cloud deployments. + Add the group to the list of the current user's favorite groups. Supported for Microsoft 365 groups only. 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/group-addfavorite?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[AddFavoriteRequestBuilderPos def to_post_request_information(self,request_configuration: Optional[AddFavoriteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add the group to the list of the current user's favorite groups. Supported for Microsoft 365 groups only. This API is available in the following national cloud deployments. + Add the group to the list of the current user's favorite groups. Supported for Microsoft 365 groups only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[AddFavorite request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AddFavoriteRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/app_role_assignments/app_role_assignments_request_builder.py b/msgraph_beta/generated/groups/item/app_role_assignments/app_role_assignments_request_builder.py index a5bdb59a481..909dcff09d9 100644 --- a/msgraph_beta/generated/groups/item/app_role_assignments/app_role_assignments_request_builder.py +++ b/msgraph_beta/generated/groups/item/app_role_assignments/app_role_assignments_request_builder.py @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AppRoleAssignmentsRequestBuil async def post(self,body: Optional[AppRoleAssignment] = None, request_configuration: Optional[AppRoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[AppRoleAssignment]: """ - Use this API to assign an app role to a security group. All direct members of the group will be considered assigned. Security groups with dynamic memberships are supported. To grant an app role assignment to a group, you need three identifiers: Additional licenses might be required to use a group to manage access to applications. This API is available in the following national cloud deployments. + Use this API to assign an app role to a security group. All direct members of the group will be considered assigned. Security groups with dynamic memberships are supported. To grant an app role assignment to a group, you need three identifiers: Additional licenses might be required to use a group to manage access to applications. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppRoleAssignment] @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[AppRoleAssig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AppRoleAssignment] = None, request_configuration: Optional[AppRoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to assign an app role to a security group. All direct members of the group will be considered assigned. Security groups with dynamic memberships are supported. To grant an app role assignment to a group, you need three identifiers: Additional licenses might be required to use a group to manage access to applications. This API is available in the following national cloud deployments. + Use this API to assign an app role to a security group. All direct members of the group will be considered assigned. Security groups with dynamic memberships are supported. To grant an app role assignment to a group, you need three identifiers: Additional licenses might be required to use a group to manage access to applications. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[AppRoleAssignment] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/app_role_assignments/item/app_role_assignment_item_request_builder.py b/msgraph_beta/generated/groups/item/app_role_assignments/item/app_role_assignment_item_request_builder.py index 6b5e48a8816..7795772d03c 100644 --- a/msgraph_beta/generated/groups/item/app_role_assignments/item/app_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/app_role_assignments/item/app_role_assignment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AppRoleAssignmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes an appRoleAssignment that a group has been granted. This API is available in the following national cloud deployments. + Deletes an appRoleAssignment that a group has been granted. 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/group-delete-approleassignments?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def patch(self,body: Optional[AppRoleAssignment] = None, request_configura def to_delete_request_information(self,request_configuration: Optional[AppRoleAssignmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes an appRoleAssignment that a group has been granted. This API is available in the following national cloud deployments. + Deletes an appRoleAssignment that a group has been granted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AppRoleAs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AppRoleAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AppRoleAssig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AppRoleAssignment] = None, request_configuration: Optional[AppRoleAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AppRoleAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/assign_license/assign_license_request_builder.py b/msgraph_beta/generated/groups/item/assign_license/assign_license_request_builder.py index 222b269c278..89a9fa1cabd 100644 --- a/msgraph_beta/generated/groups/item/assign_license/assign_license_request_builder.py +++ b/msgraph_beta/generated/groups/item/assign_license/assign_license_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AssignLicensePostRequestBody] = None, request_configuration: Optional[AssignLicenseRequestBuilderPostRequestConfiguration] = None) -> Optional[Group]: """ - Add or remove licenses on the group. Licenses assigned to the group will be assigned to all users in the group. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. This API is available in the following national cloud deployments. + Add or remove licenses on the group. Licenses assigned to the group will be assigned to all users in the group. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AssignLicensePostRequestBody] = None, request def to_post_request_information(self,body: Optional[AssignLicensePostRequestBody] = None, request_configuration: Optional[AssignLicenseRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add or remove licenses on the group. Licenses assigned to the group will be assigned to all users in the group. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. This API is available in the following national cloud deployments. + Add or remove licenses on the group. Licenses assigned to the group will be assigned to all users in the group. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AssignLicensePostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_request_builder.py b/msgraph_beta/generated/groups/item/calendar/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_request_builder.py index b202c4115a2..a8b45cc2193 100644 --- a/msgraph_beta/generated/groups/item/calendar/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[AllowedCalen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllowedCalendarSharingRolesWithUserRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_permissions/calendar_permissions_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_permissions/calendar_permissions_request_builder.py index 3bcf18e9098..2baf41771e4 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_permissions/calendar_permissions_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_permissions/calendar_permissions_request_builder.py @@ -45,7 +45,7 @@ def by_calendar_permission_id(self,calendar_permission_id: str) -> CalendarPermi async def get(self,request_configuration: Optional[CalendarPermissionsRequestBuilderGetRequestConfiguration] = None) -> Optional[CalendarPermissionCollectionResponse]: """ - Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + Get the specified permissions object of a user or group calendar that has been shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CalendarPermissionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[CalendarPermissionsRequestBui async def post(self,body: Optional[CalendarPermission] = None, request_configuration: Optional[CalendarPermissionsRequestBuilderPostRequestConfiguration] = None) -> Optional[CalendarPermission]: """ - Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. This API is available in the following national cloud deployments. + Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CalendarPermission] @@ -91,7 +91,7 @@ async def post(self,body: Optional[CalendarPermission] = None, request_configura def to_get_request_information(self,request_configuration: Optional[CalendarPermissionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + Get the specified permissions object of a user or group calendar that has been shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[CalendarPerm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CalendarPermission] = None, request_configuration: Optional[CalendarPermissionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. This API is available in the following national cloud deployments. + Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[CalendarPermission] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CalendarPermissionsRequestBuilderGetQueryParameters(): """ - Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + Get the specified permissions object of a user or group calendar that has been shared. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_permissions/item/calendar_permission_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_permissions/item/calendar_permission_item_request_builder.py index 20e70ce7980..adef50b948f 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_permissions/item/calendar_permission_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_permissions/item/calendar_permission_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[CalendarPermissionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete calendarPermission. This API is available in the following national cloud deployments. + Delete calendarPermission. 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/calendarpermission-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[CalendarPermissionItemRequ async def get(self,request_configuration: Optional[CalendarPermissionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CalendarPermission]: """ - Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + Get the specified permissions object of a user or group calendar that has been shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CalendarPermission] Find more info here: https://learn.microsoft.com/graph/api/calendarpermission-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[CalendarPermissionItemRequest async def patch(self,body: Optional[CalendarPermission] = None, request_configuration: Optional[CalendarPermissionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[CalendarPermission]: """ - Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. This API is available in the following national cloud deployments. + Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CalendarPermission] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[CalendarPermission] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[CalendarPermissionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete calendarPermission. This API is available in the following national cloud deployments. + Delete calendarPermission. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[CalendarP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CalendarPermissionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + Get the specified permissions object of a user or group calendar that has been shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[CalendarPerm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CalendarPermission] = None, request_configuration: Optional[CalendarPermissionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. This API is available in the following national cloud deployments. + Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[CalendarPermission] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class CalendarPermissionItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class CalendarPermissionItemRequestBuilderGetQueryParameters(): """ - Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + Get the specified permissions object of a user or group calendar that has been shared. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_request_builder.py index 9b798468bb8..2ca20f6bef9 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/calendar_view_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/calendar_view_request_builder.py index 32ff51a3d13..0d66c50b360 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/calendar_view_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/calendar_view_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarView request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarViewRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/delta/delta_request_builder.py index 9bb35063642..389c5ee0a94 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/accept/accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/accept/accept_request_builder.py index 0549711ba6f..b73f4827577 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/attachments/attachments_request_builder.py index 7acb0b2ba48..b9d420616ca 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.py index e9ebfc466d2..563db62e1c1 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/attachments/item/attachment_item_request_builder.py index f3b643cd5df..cb37de74254 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/calendar/calendar_request_builder.py index df5b3bf7ab9..4b7ccf60f2f 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/cancel/cancel_request_builder.py index 484d89b8331..a46cfa1f76a 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/decline/decline_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/decline/decline_request_builder.py index 97e2f4323f3..227adc875a9 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/dismiss_reminder/dismiss_reminder_request_builder.py index 8656cada34f..e8100aedcd4 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/event_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/event_item_request_builder.py index 34744047b6b..bc9256ea740 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/event_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/event_item_request_builder.py @@ -73,7 +73,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/delta/delta_request_builder.py index 2def5584055..9adb1de589c 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/exception_occurrences_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/exception_occurrences_request_builder.py index 2e8cbaf6db1..fec541ea7e2 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/exception_occurrences_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/exception_occurrences_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ExceptionOcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExceptionOccurrencesRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/accept/accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/accept/accept_request_builder.py index cc4ca412f88..7e384a574e2 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py index a2e3ee8f52f..66eb301f91a 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py index ed3cf277ecb..849533d79f6 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py index 61f995f4e6a..34dad83c2f9 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/calendar/calendar_request_builder.py index 98049b76e19..7bb81049ba2 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/cancel/cancel_request_builder.py index de4fa5f28e6..e2218c3ed55 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/decline/decline_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/decline/decline_request_builder.py index ccecef4f838..e73d7da0402 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py index b18457cad42..dbab661f59e 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/event_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/event_item_request_builder.py index 479444131a2..7cad7bfbb84 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/event_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/event_item_request_builder.py @@ -72,7 +72,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/extensions/extensions_request_builder.py index 4b959139a77..70d01af13c4 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py index fc067772baa..c2136760444 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/forward/forward_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/forward/forward_request_builder.py index 76a80936fbb..16bc19073e1 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/delta/delta_request_builder.py index 6fde01ebe05..7b73a7c93b1 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/instances_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/instances_request_builder.py index a6c9420901f..2a305974f74 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/instances_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/instances_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[InstancesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InstancesRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py index 9f1c048558f..d587528b52a 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py index 341b964238c..8f99412d596 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py index 676f9183a75..43c6d422719 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py index 61c36b59a3b..ba3aa8c0662 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py index 47953f68bf6..66ff01c4ad3 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py index 306d0931c9c..0f4f03829b6 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py index 8759d96af36..5fda5f8e98a 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py index cac76151ae2..abcca6e6dc2 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/event_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/event_item_request_builder.py index e653d3dc71a..aef0cf5a192 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/event_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/event_item_request_builder.py @@ -71,7 +71,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py index 3adc37cfbf1..16350dd78f4 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py index 4774ec4c446..0ada128330a 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py index 5ed1af83e03..aeab1cff2fe 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py index bcbb4503591..64fb310e4b3 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py index 911dd0f945f..f4512e40708 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py index 4e559d5d45f..e8d257a627c 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py index deded54f54a..466ff47c0e0 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/extensions/extensions_request_builder.py index d03a0948e66..d2afbbdabe4 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/extensions/item/extension_item_request_builder.py index f710d2915b1..7c90ce27aea 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/forward/forward_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/forward/forward_request_builder.py index 85694366df9..3f47a3c9dce 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/delta/delta_request_builder.py index 964621f6192..feb2f7040dc 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/instances_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/instances_request_builder.py index 95c0d4bf290..7e16dc8926f 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/instances_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/instances_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[InstancesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InstancesRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/accept/accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/accept/accept_request_builder.py index d99c3b68aa0..cf5dcc7cc23 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/attachments/attachments_request_builder.py index f814ea546c1..fb5c33c827c 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py index ee28c7307c4..85a9b93bd69 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/attachments/item/attachment_item_request_builder.py index 61915381dfb..ea6807aea90 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/calendar/calendar_request_builder.py index 700ea28aa07..855ffbb3e2a 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/cancel/cancel_request_builder.py index 81661bd780e..d40156bc7c6 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/decline/decline_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/decline/decline_request_builder.py index 273f5fa1321..54ae0403607 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py index ffd1db4c4fa..c52e70dd34a 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/event_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/event_item_request_builder.py index d8eeda288a5..3321acf6808 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/event_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/event_item_request_builder.py @@ -72,7 +72,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/delta/delta_request_builder.py index fcb0c8b8c5b..716fd160b9b 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py index fa86720b184..be14a26a683 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ExceptionOcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExceptionOccurrencesRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py index e83b9a7862b..74aa8e9d4af 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py index a84e5c04c2c..eedb8d26966 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py index ff0b2992917..8898aba416f 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py index 64cb106372c..f45b768f41c 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py index 59363c7aed9..8131afeec7b 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py index fc2b4f64e01..640bcd18631 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py index dd0ab2b99c7..554a63414c1 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py index e9614df47f2..0e9312058ad 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/event_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/event_item_request_builder.py index 770375e331b..f631710ecf1 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/event_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/event_item_request_builder.py @@ -71,7 +71,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py index 13b4bd93802..b8fca140284 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py index 059766b977a..5eab9da134d 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py index f31f7e2986f..675e3b85676 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py index 1bf73a3c23a..9e1a6bc2e02 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py index 488a4b90e04..3d4faef47b5 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/extensions/extensions_request_builder.py index 5fcae6640e6..323f39093c5 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.py index bfb9a7d5751..2adbca3870b 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/forward/forward_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/forward/forward_request_builder.py index 81147ab47a0..01239713259 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py index 7d897a4b45e..34b3782b091 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py index 2191a76f940..5b35cb59cae 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.py index d46cd1de8df..bb940324a7b 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.py index 82ab3ee996b..cb6a1f94006 100644 --- a/msgraph_beta/generated/groups/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/delta/delta_request_builder.py index 426b216c1f0..3fdfc7a89d9 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/events_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/events_request_builder.py index f62be109915..522af03c96e 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/events_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/events_request_builder.py @@ -46,7 +46,7 @@ def by_event_id(self,event_id: str) -> EventItemRequestBuilder: async def get(self,request_configuration: Optional[EventsRequestBuilderGetRequestConfiguration] = None) -> Optional[EventCollectionResponse]: """ - Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. This API is available in the following national cloud deployments. + Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EventCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/calendar-list-events?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[EventsRequestBuilderGetReques async def post(self,body: Optional[Event] = None, request_configuration: Optional[EventsRequestBuilderPostRequestConfiguration] = None) -> Optional[Event]: """ - Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. This API is available in the following national cloud deployments. + Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Event] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Event] = None, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[EventsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. This API is available in the following national cloud deployments. + Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[EventsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Event] = None, request_configuration: Optional[EventsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. This API is available in the following national cloud deployments. + Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Event] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class EventsRequestBuilderGetQueryParameters(): """ - Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. This API is available in the following national cloud deployments. + Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/accept/accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/accept/accept_request_builder.py index 99b7dfe66e1..1c6b0613963 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/attachments/attachments_request_builder.py index ba44698f3a7..e50e29a5ff5 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/attachments/create_upload_session/create_upload_session_request_builder.py index 187b03dedd3..3bcbe55a99e 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/attachments/item/attachment_item_request_builder.py index 2ee6790cf4a..c45fe479820 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/calendar/calendar_request_builder.py index 64a6e867f47..c914d75792d 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/cancel/cancel_request_builder.py index d504802a979..d76780e3e69 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/decline/decline_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/decline/decline_request_builder.py index a76ce71a030..fddebca9497 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/dismiss_reminder/dismiss_reminder_request_builder.py index 7d121a1b66d..77e042c2f29 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/event_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/event_item_request_builder.py index 73b22a54b69..20cf3be7692 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/event_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/event_item_request_builder.py @@ -115,7 +115,7 @@ def to_delete_request_information(self,request_configuration: Optional[EventItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EventItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -132,7 +132,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Event] = None, request_configuration: Optional[EventItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -151,7 +151,7 @@ def to_patch_request_information(self,body: Optional[Event] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/delta/delta_request_builder.py index 4f5c732afcd..f58cbafb070 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/exception_occurrences_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/exception_occurrences_request_builder.py index ff1e6036ca7..d89703577cd 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/exception_occurrences_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/exception_occurrences_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ExceptionOcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExceptionOccurrencesRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/accept/accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/accept/accept_request_builder.py index f520dd6b89c..605897a5cee 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/attachments/attachments_request_builder.py index 8ffcaedabd5..78c11798287 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py index 769d0c09ad9..41e3d625d46 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py index 43c88cf0474..e2a78e647b0 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/calendar/calendar_request_builder.py index e4b420304a6..d6f031ca48e 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/cancel/cancel_request_builder.py index 965ae2c965f..e836a343826 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/decline/decline_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/decline/decline_request_builder.py index c50a9c07a23..f0ac691fe09 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py index 2b9dbf4017b..80701a71877 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/event_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/event_item_request_builder.py index fe62a558695..9f467c7cbb5 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/event_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/event_item_request_builder.py @@ -72,7 +72,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/extensions/extensions_request_builder.py index 6f9d7a0618f..5cb9dfdf711 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py index 91cac03bfdf..37c0c79a8b3 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/forward/forward_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/forward/forward_request_builder.py index 542593e111c..8c1cbf7d4e8 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/delta/delta_request_builder.py index d0eec5c2d6f..b3ba0c423ae 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/instances_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/instances_request_builder.py index af88a77fc74..a343427b01b 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/instances_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/instances_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[InstancesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InstancesRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py index 3610aeb9dc6..a8278c7eb8d 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py index e4abd505c86..aaa11e4ab0e 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py index 160ac830ef2..5d4b1c4f816 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py index 9606dcde725..4b999ec90e9 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py index d95360a1a8d..4cdd3fde58e 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py index 1dd402e03a2..9d3bdf6ec78 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py index 98bf20b9e04..43469cb704d 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py index ff690bf54a4..14e44dda1c0 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/event_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/event_item_request_builder.py index 7f2842b9be8..2a639e8679a 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/event_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/event_item_request_builder.py @@ -71,7 +71,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py index d0129d83fe6..bb812243190 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py index bcb1474caff..cdc4fcda959 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py index 35e985e5358..0f905dce1ab 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py index 0bd4056f87f..60d8ee35a16 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py index 323792909c5..5b856f0beb4 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py index 46326647554..046e69fc744 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py index e1161f1abd8..4da825d0c99 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/extensions/extensions_request_builder.py index 020627d6597..37eb16af9ec 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/extensions/item/extension_item_request_builder.py index 3636ca30001..1c1e115ef44 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/forward/forward_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/forward/forward_request_builder.py index 7f8857eadc9..4c79856f544 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/delta/delta_request_builder.py index c963d161852..347b5d4af72 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/instances_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/instances_request_builder.py index 6b7d7d2b4f0..9053b60ea9f 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/instances_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/instances_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[InstancesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InstancesRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/accept/accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/accept/accept_request_builder.py index 8e1ae65a4e6..5d639f5921f 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/attachments/attachments_request_builder.py index c8b31a75156..b5b0bf0d7ce 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py index eb777eae6a6..204c6d0bffb 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/attachments/item/attachment_item_request_builder.py index c8a897e229d..bedd3a6cfe7 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/calendar/calendar_request_builder.py index 09ca4e19ebf..ca811339e90 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/cancel/cancel_request_builder.py index b6324f1d727..bfbbe777e6a 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/decline/decline_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/decline/decline_request_builder.py index 34f47b59af6..39a9d485b05 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py index 676330cdd59..e91a9639f07 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/event_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/event_item_request_builder.py index 1127a2d35d3..ade0fbba13b 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/event_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/event_item_request_builder.py @@ -72,7 +72,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/delta/delta_request_builder.py index 55c4228e98b..eab052040a3 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py index 161ed865eb2..dd4c942b4a2 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ExceptionOcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExceptionOccurrencesRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py index 9ca3e82ec04..8259e1bea53 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py index 763adabccd7..cbca64a6f0e 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py index 927aa0bd9ea..4d27a51ca5c 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py index f970d5146c4..5435e8dbfbc 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py index 4350bcbaaeb..a9eaf812031 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py index dc5848ea790..b09f51adff8 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py index ee29de4f73d..5c91e794fbe 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py index 022a59630fc..8c2af232a35 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/event_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/event_item_request_builder.py index 2e93fe5a66f..a76f0d46cbc 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/event_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/event_item_request_builder.py @@ -71,7 +71,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py index f9f57f0abc6..3850cfd16a5 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py index 37a95b6e464..344eae08078 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py index 1b1983f31b3..41ee885ed37 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py index 73610216ef1..c40e2f24544 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py index 6a726b3e423..57a5f6eeb7f 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/extensions/extensions_request_builder.py index d41c5547716..de5f8a42839 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/extensions/item/extension_item_request_builder.py index 9c0cbb3f5ca..4a806eae724 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/forward/forward_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/forward/forward_request_builder.py index ab85b4c48eb..4efb04ddce0 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py index 175f1c8e58d..1e1c0a75a5d 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py index bb46eda9dd9..7bec372d2c3 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/snooze_reminder/snooze_reminder_request_builder.py index 841c90f087b..08e7eaf6c4f 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/events/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar/events/item/tentatively_accept/tentatively_accept_request_builder.py index b472500e791..c961e518765 100644 --- a/msgraph_beta/generated/groups/item/calendar/events/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/events/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar/get_schedule/get_schedule_request_builder.py b/msgraph_beta/generated/groups/item/calendar/get_schedule/get_schedule_request_builder.py index c682f015c99..c4266da2c1d 100644 --- a/msgraph_beta/generated/groups/item/calendar/get_schedule/get_schedule_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar/get_schedule/get_schedule_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetSchedulePostRequestBody] = None, request_configuration: Optional[GetScheduleRequestBuilderPostRequestConfiguration] = None) -> Optional[GetSchedulePostResponse]: """ - Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. This API is available in the following national cloud deployments. + Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetSchedulePostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetSchedulePostRequestBody] = None, request_c def to_post_request_information(self,body: Optional[GetSchedulePostRequestBody] = None, request_configuration: Optional[GetScheduleRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. This API is available in the following national cloud deployments. + Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetSchedulePostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/calendar_view_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/calendar_view_request_builder.py index 0efbd7ffcb4..302656015aa 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/calendar_view_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/calendar_view_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarView request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarViewRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar_view/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/delta/delta_request_builder.py index 9819b1dba94..71e788955b1 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/accept/accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/accept/accept_request_builder.py index 605356432dc..605f43571eb 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/attachments/attachments_request_builder.py index 313edd211e8..98c3b350cea 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.py index 81e8f3bea08..8b935e17b84 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/attachments/item/attachment_item_request_builder.py index 3763b94380f..d158246bbf6 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/calendar/calendar_request_builder.py index 18dfad6e150..86e874d45b8 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/cancel/cancel_request_builder.py index 070644905b8..c4afddc63ee 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/decline/decline_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/decline/decline_request_builder.py index db92519e8c5..ee7717bc8a5 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/dismiss_reminder/dismiss_reminder_request_builder.py index dccdaf3c5be..66e588c6a4a 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/event_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/event_item_request_builder.py index 7996d600114..c74205841ef 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/event_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/event_item_request_builder.py @@ -73,7 +73,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/delta/delta_request_builder.py index 4d4390a3c9d..c44d03730d7 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/exception_occurrences_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/exception_occurrences_request_builder.py index c47961b1150..87d36a85f8a 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/exception_occurrences_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/exception_occurrences_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ExceptionOcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExceptionOccurrencesRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/accept/accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/accept/accept_request_builder.py index 3538ca2787f..c3db4ce93d7 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py index b935e4a5e9f..12a6525da85 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py index 796f592db2b..0245cba1791 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py index 506335ec56c..52a23af9dad 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/calendar/calendar_request_builder.py index 8ba3826d811..7ff991f0934 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/cancel/cancel_request_builder.py index 3c0dd9a3d39..0c5cd8f1b39 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/decline/decline_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/decline/decline_request_builder.py index 4f592180488..3b0a2f3a2da 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py index 267d6b4b447..e133e52803e 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/event_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/event_item_request_builder.py index 8da9db5a5fa..7cf1fc9e555 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/event_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/event_item_request_builder.py @@ -72,7 +72,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/extensions/extensions_request_builder.py index 192db58a944..3dce1f47d38 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py index d72e4caa622..38b2b5c87ab 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/forward/forward_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/forward/forward_request_builder.py index 3ea75091a73..fe4eb6cfa9e 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_request_builder.py index 937384bafd9..35abd5a21c9 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/instances_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/instances_request_builder.py index 561f4b933b7..547395c6f11 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/instances_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/instances_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[InstancesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InstancesRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py index c7ca090994c..175f9487674 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py index 6e54eb9a575..3af438907e3 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py index c6fff729d1f..f933c137d96 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py index 76f9659f2ef..a13cbe10d7d 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py index f6bc8e56bfc..a4413cd7621 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py index 04cdeedbd86..7c14e878bf3 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py index 629af0b10f2..83dc1252c67 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py index 966cb08758c..91e80f77503 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/event_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/event_item_request_builder.py index d4ea95e01a2..4565d859571 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/event_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/event_item_request_builder.py @@ -71,7 +71,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py index 93ffbc6bf59..f0e3a025e37 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py index 8313a1d5d26..320ff75c649 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py index bd229883cb9..ec28da85c3c 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py index 76a4796ab8e..599a3214ebd 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py index d396b5d9eb7..d1a8040887a 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py index b463e90db5d..5864c31186e 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py index c2628dba7b4..454516a9e39 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/extensions/extensions_request_builder.py index 3c8367e9fff..59197f4d800 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/extensions/item/extension_item_request_builder.py index 4a932992791..9774f12ac9a 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/forward/forward_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/forward/forward_request_builder.py index 23c26ae7c93..d430a85d96f 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/delta/delta_request_builder.py index 3e5e2361c20..0262f6dd725 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/instances_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/instances_request_builder.py index a911ccee69a..ce871642338 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/instances_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/instances_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[InstancesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InstancesRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/accept/accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/accept/accept_request_builder.py index 904c907254f..e57b0378a15 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py index 1b5a13f8ece..6cce3e2ff27 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py index 6444d2de3d1..0813e93b15a 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/attachments/item/attachment_item_request_builder.py index 853024cb7e8..d5f6c4d3117 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/calendar/calendar_request_builder.py index 97fe3260a48..77e02721032 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/cancel/cancel_request_builder.py index be13d2cc4fb..cc24699b454 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/decline/decline_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/decline/decline_request_builder.py index b14b75b59ae..fed2df55259 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py index 470083fa9dc..7d4f12e0c49 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/event_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/event_item_request_builder.py index 9ee41356dea..c368be75377 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/event_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/event_item_request_builder.py @@ -72,7 +72,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_request_builder.py index 93b4261b012..19b5e8e316d 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py index 0bc94d07397..dbc623720d4 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ExceptionOcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExceptionOccurrencesRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py index 3906f241d3c..54c9ee70df3 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py index 3bd06185fc2..9102d052aa8 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py index b1d0f0e939f..ff6bd94b25c 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py index cf6075b5983..aff032b1232 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py index a38f933b09c..ff2b62c085c 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py index 0cb8256fe87..7570dca58a9 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py index 2609e04d81c..f3a40a36bbb 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py index 4972d0e4045..5d9a788273c 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/event_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/event_item_request_builder.py index a071cc2b9ec..4eb39377f58 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/event_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/event_item_request_builder.py @@ -71,7 +71,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py index 8fbacf07a3f..c8016cf0ab6 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py index 0eb22403db3..bde925ebcac 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py index 0983bbdc3cd..90d398d88f5 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py index e9942460c1d..298a5d47452 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py index 6ba9e196383..0a9c57bd249 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/extensions/extensions_request_builder.py index 473df18ec59..025c1ad2470 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.py index 03476d3a380..6d3bb351336 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/forward/forward_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/forward/forward_request_builder.py index 688838afc39..fc63b24cc47 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py index daa6e4af1da..170c4f66791 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py index bfc2fef7541..7a7bf7a8d61 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.py index 964f5205761..279237932d1 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/groups/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.py index 35497c76785..295da15a01e 100644 --- a/msgraph_beta/generated/groups/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/check_granted_permissions_for_app/check_granted_permissions_for_app_request_builder.py b/msgraph_beta/generated/groups/item/check_granted_permissions_for_app/check_granted_permissions_for_app_request_builder.py index 8887d7bb61a..7620b77ab81 100644 --- a/msgraph_beta/generated/groups/item/check_granted_permissions_for_app/check_granted_permissions_for_app_request_builder.py +++ b/msgraph_beta/generated/groups/item/check_granted_permissions_for_app/check_granted_permissions_for_app_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[CheckGrante request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CheckGrantedPermissionsForAppRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/check_member_groups/check_member_groups_request_builder.py b/msgraph_beta/generated/groups/item/check_member_groups/check_member_groups_request_builder.py index ee4b6339d60..f1cce154220 100644 --- a/msgraph_beta/generated/groups/item/check_member_groups/check_member_groups_request_builder.py +++ b/msgraph_beta/generated/groups/item/check_member_groups/check_member_groups_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[CheckMemberGroupsPostResponse]: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, req def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/check_member_objects/check_member_objects_request_builder.py b/msgraph_beta/generated/groups/item/check_member_objects/check_member_objects_request_builder.py index 1ee1dea5806..07a6af4ccf6 100644 --- a/msgraph_beta/generated/groups/item/check_member_objects/check_member_objects_request_builder.py +++ b/msgraph_beta/generated/groups/item/check_member_objects/check_member_objects_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CheckMemberObjectsPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/conversations/conversations_request_builder.py b/msgraph_beta/generated/groups/item/conversations/conversations_request_builder.py index 705e24d760a..66a5ddedd21 100644 --- a/msgraph_beta/generated/groups/item/conversations/conversations_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/conversations_request_builder.py @@ -45,7 +45,7 @@ def by_conversation_id(self,conversation_id: str) -> ConversationItemRequestBuil async def get(self,request_configuration: Optional[ConversationsRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationCollectionResponse]: """ - Retrieve the list of conversations in this group. This API is available in the following national cloud deployments. + Retrieve the list of conversations in this group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/group-list-conversations?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ConversationsRequestBuilderGe async def post(self,body: Optional[Conversation] = None, request_configuration: Optional[ConversationsRequestBuilderPostRequestConfiguration] = None) -> Optional[Conversation]: """ - Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. This API is available in the following national cloud deployments. + Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Conversation] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Conversation] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[ConversationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of conversations in this group. This API is available in the following national cloud deployments. + Retrieve the list of conversations in this group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[Conversation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Conversation] = None, request_configuration: Optional[ConversationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. This API is available in the following national cloud deployments. + Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Conversation] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ConversationsRequestBuilderGetQueryParameters(): """ - Retrieve the list of conversations in this group. This API is available in the following national cloud deployments. + Retrieve the list of conversations in this group. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/conversations/item/conversation_item_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/conversation_item_request_builder.py index b476ecd2265..e6f0f04734e 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/conversation_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/conversation_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ConversationItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete conversation. This API is available in the following national cloud deployments. + Delete conversation. 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/conversation-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[ConversationItemRequestBui async def get(self,request_configuration: Optional[ConversationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Conversation]: """ - Get a conversation object. This API is available in the following national cloud deployments. + Get a conversation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Conversation] Find more info here: https://learn.microsoft.com/graph/api/group-get-conversation?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[ConversationItemRequestBuilde def to_delete_request_information(self,request_configuration: Optional[ConversationItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete conversation. This API is available in the following national cloud deployments. + Delete conversation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -82,12 +82,12 @@ def to_delete_request_information(self,request_configuration: Optional[Conversat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConversationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a conversation object. This API is available in the following national cloud deployments. + Get a conversation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[Conversation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ConversationItemRequestBuilder: @@ -134,7 +134,7 @@ class ConversationItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class ConversationItemRequestBuilderGetQueryParameters(): """ - Get a conversation object. This API is available in the following national cloud deployments. + Get a conversation object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/conversation_thread_item_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/conversation_thread_item_request_builder.py index af869e6d040..89aa002e2a5 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/conversation_thread_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/conversation_thread_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Conversat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConversationThreadItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[Conversation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConversationThread] = None, request_configuration: Optional[ConversationThreadItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ConversationThread] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/attachments/attachments_request_builder.py index 8543c4906ee..949df2c2df4 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to a post. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to a post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/post-list-attachments?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to a post. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to a post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to a post. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to a post. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/attachments/create_upload_session/create_upload_session_request_builder.py index f34a02d459f..d28664ac07b 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/attachments/item/attachment_item_request_builder.py index efb8c7dd6a4..392c2a422b7 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/attachments/item/attachment_item_request_builder.py @@ -79,7 +79,7 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -96,7 +96,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/extensions/extensions_request_builder.py index e322f4d72f0..62b4f966703 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/extensions/item/extension_item_request_builder.py index f99938268e7..a99fbf3d779 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGe async def patch(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Extension]: """ - Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. This API is available in the following national cloud deployments. + Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. This API is available in the following national cloud deployments. + Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/forward/forward_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/forward/forward_request_builder.py index 906023543c9..cabd54510b1 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/attachments_request_builder.py index c5ab9b7aae7..a469fea644d 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to a post. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to a post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/post-list-attachments?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to a post. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to a post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to a post. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to a post. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/create_upload_session/create_upload_session_request_builder.py index d6e7c45a477..f5f62d84821 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/item/attachment_item_request_builder.py index 0d139bedaf9..b5e42cd7f7e 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/item/attachment_item_request_builder.py @@ -79,7 +79,7 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -96,7 +96,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/extensions/extensions_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/extensions/extensions_request_builder.py index a73cbed02ba..248a8cd9904 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/extensions/item/extension_item_request_builder.py index 9d82516932a..f2f73ec1f9c 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGe async def patch(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Extension]: """ - Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. This API is available in the following national cloud deployments. + Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. This API is available in the following national cloud deployments. + Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/forward/forward_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/forward/forward_request_builder.py index 1bd502d5e5d..6f4655129c9 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/forward/forward_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/in_reply_to_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/in_reply_to_request_builder.py index 5d0412f9380..d9aa752ed8d 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/in_reply_to_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/in_reply_to_request_builder.py @@ -66,7 +66,7 @@ def to_get_request_information(self,request_configuration: Optional[InReplyToReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InReplyToRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/mentions/item/mention_item_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/mentions/item/mention_item_request_builder.py index 500e234cb7b..a17e0aed044 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/mentions/item/mention_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/mentions/item/mention_item_request_builder.py @@ -79,7 +79,7 @@ def to_delete_request_information(self,request_configuration: Optional[MentionIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MentionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -96,7 +96,7 @@ def to_get_request_information(self,request_configuration: Optional[MentionItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MentionItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/mentions/mentions_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/mentions/mentions_request_builder.py index fc96fbbb91a..1c8bd383eb6 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/mentions/mentions_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/mentions/mentions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[MentionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Mention] = None, request_configuration: Optional[MentionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Mention] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/reply/reply_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/reply/reply_request_builder.py index e4133ca5c39..f3698466b88 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/reply/reply_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/in_reply_to/reply/reply_request_builder.py @@ -28,11 +28,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ReplyPostRequestBody] = None, request_configuration: Optional[ReplyRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + Invoke action reply param body: The request body 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/post-reply?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -51,7 +50,7 @@ async def post(self,body: Optional[ReplyPostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[ReplyPostRequestBody] = None, request_configuration: Optional[ReplyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + Invoke action reply param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +64,7 @@ def to_post_request_information(self,body: Optional[ReplyPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/mentions/item/mention_item_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/mentions/item/mention_item_request_builder.py index 08d2e6f4d66..18ff21a76e3 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/mentions/item/mention_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/mentions/item/mention_item_request_builder.py @@ -79,7 +79,7 @@ def to_delete_request_information(self,request_configuration: Optional[MentionIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MentionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -96,7 +96,7 @@ def to_get_request_information(self,request_configuration: Optional[MentionItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MentionItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/mentions/mentions_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/mentions/mentions_request_builder.py index 5598228868c..f27ea6d5d9f 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/mentions/mentions_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/mentions/mentions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[MentionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Mention] = None, request_configuration: Optional[MentionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Mention] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/post_item_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/post_item_request_builder.py index 80ade1535e1..fd2ccaf2818 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/post_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/post_item_request_builder.py @@ -34,7 +34,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[PostItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Post]: """ - Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. This API is available in the following national cloud deployments. + Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Post] Find more info here: https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0 @@ -80,7 +80,7 @@ async def patch(self,body: Optional[Post] = None, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[PostItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. This API is available in the following national cloud deployments. + Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -92,7 +92,7 @@ def to_get_request_information(self,request_configuration: Optional[PostItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Post] = None, request_configuration: Optional[PostItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -111,7 +111,7 @@ def to_patch_request_information(self,body: Optional[Post] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -182,7 +182,7 @@ def reply(self) -> ReplyRequestBuilder: @dataclass class PostItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. This API is available in the following national cloud deployments. + Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/reply/reply_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/reply/reply_request_builder.py index ff9a4987a99..bc4bebfec04 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/reply/reply_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/item/reply/reply_request_builder.py @@ -28,11 +28,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ReplyPostRequestBody] = None, request_configuration: Optional[ReplyRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + Invoke action reply param body: The request body 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/post-reply?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -51,7 +50,7 @@ async def post(self,body: Optional[ReplyPostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[ReplyPostRequestBody] = None, request_configuration: Optional[ReplyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + Invoke action reply param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +64,7 @@ def to_post_request_information(self,body: Optional[ReplyPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/posts_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/posts_request_builder.py index 42868f25e31..19b78953c28 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/posts_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/posts/posts_request_builder.py @@ -44,7 +44,7 @@ def by_post_id(self,post_id: str) -> PostItemRequestBuilder: async def get(self,request_configuration: Optional[PostsRequestBuilderGetRequestConfiguration] = None) -> Optional[PostCollectionResponse]: """ - Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. This API is available in the following national cloud deployments. + Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PostCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/conversationthread-list-posts?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[PostsRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[PostsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. This API is available in the following national cloud deployments. + Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[PostsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PostsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PostsRequestBuilderGetQueryParameters(): """ - Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. This API is available in the following national cloud deployments. + Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py index b0231ebbe87..26a20b890c9 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py @@ -28,11 +28,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ReplyPostRequestBody] = None, request_configuration: Optional[ReplyRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reply to a thread in a group conversation and add a new post to it. You can specify the parent conversation in the request, or, you can specify just the thread without the parent conversation. This API is available in the following national cloud deployments. + Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. param body: The request body 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/conversationthread-reply?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -51,7 +51,7 @@ async def post(self,body: Optional[ReplyPostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[ReplyPostRequestBody] = None, request_configuration: Optional[ReplyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reply to a thread in a group conversation and add a new post to it. You can specify the parent conversation in the request, or, you can specify just the thread without the parent conversation. This API is available in the following national cloud deployments. + Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ReplyPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/threads_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/threads_request_builder.py index a117e8e9a33..895857bd871 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/threads_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/threads_request_builder.py @@ -45,7 +45,7 @@ def by_conversation_thread_id(self,conversation_thread_id: str) -> ConversationT async def get(self,request_configuration: Optional[ThreadsRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationThreadCollectionResponse]: """ - Get all the threads in a group conversation.Note: You can also get all the threads of a group. This API is available in the following national cloud deployments. + Get all the threads in a group conversation.Note: You can also get all the threads of a group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationThreadCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/conversation-list-threads?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ThreadsRequestBuilderGetReque async def post(self,body: Optional[ConversationThread] = None, request_configuration: Optional[ThreadsRequestBuilderPostRequestConfiguration] = None) -> Optional[ConversationThread]: """ - Create a new thread in the specified conversation. A thread and post are created as specified. Use reply thread to further postto that thread. Or, if you get the post ID, you can also reply to that post in that thread. Note: You can also start a new conversation by first creating a thread. This API is available in the following national cloud deployments. + Create a new thread in the specified conversation. A thread and post are created as specified. Use reply thread to further postto that thread. Or, if you get the post ID, you can also reply to that post in that thread. Note: You can also start a new conversation by first creating a thread. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationThread] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ConversationThread] = None, request_configura def to_get_request_information(self,request_configuration: Optional[ThreadsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get all the threads in a group conversation.Note: You can also get all the threads of a group. This API is available in the following national cloud deployments. + Get all the threads in a group conversation.Note: You can also get all the threads of a group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ThreadsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ConversationThread] = None, request_configuration: Optional[ThreadsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new thread in the specified conversation. A thread and post are created as specified. Use reply thread to further postto that thread. Or, if you get the post ID, you can also reply to that post in that thread. Note: You can also start a new conversation by first creating a thread. This API is available in the following national cloud deployments. + Create a new thread in the specified conversation. A thread and post are created as specified. Use reply thread to further postto that thread. Or, if you get the post ID, you can also reply to that post in that thread. Note: You can also start a new conversation by first creating a thread. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ConversationThread] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ThreadsRequestBuilderGetQueryParameters(): """ - Get all the threads in a group conversation.Note: You can also get all the threads of a group. This API is available in the following national cloud deployments. + Get all the threads in a group conversation.Note: You can also get all the threads of a group. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/created_on_behalf_of/created_on_behalf_of_request_builder.py b/msgraph_beta/generated/groups/item/created_on_behalf_of/created_on_behalf_of_request_builder.py index cb3fb363fc6..6c01e935463 100644 --- a/msgraph_beta/generated/groups/item/created_on_behalf_of/created_on_behalf_of_request_builder.py +++ b/msgraph_beta/generated/groups/item/created_on_behalf_of/created_on_behalf_of_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[CreatedOnBehalfOfRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - The user (or application) that created the group. Note: This is not set if the user is an administrator. Read-only. + The user (or application) that created the group. Note: This isn't set if the user is an administrator. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[CreatedOnBehalfOfRequestBuild def to_get_request_information(self,request_configuration: Optional[CreatedOnBehalfOfRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - The user (or application) that created the group. Note: This is not set if the user is an administrator. Read-only. + The user (or application) that created the group. Note: This isn't set if the user is an administrator. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CreatedOnBeh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreatedOnBehalfOfRequestBuilder: @@ -77,7 +77,7 @@ def with_url(self,raw_url: Optional[str] = None) -> CreatedOnBehalfOfRequestBuil @dataclass class CreatedOnBehalfOfRequestBuilderGetQueryParameters(): """ - The user (or application) that created the group. Note: This is not set if the user is an administrator. Read-only. + The user (or application) that created the group. Note: This isn't set if the user is an administrator. Read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/drive/drive_request_builder.py b/msgraph_beta/generated/groups/item/drive/drive_request_builder.py index 089e3eaa24e..b295a034487 100644 --- a/msgraph_beta/generated/groups/item/drive/drive_request_builder.py +++ b/msgraph_beta/generated/groups/item/drive/drive_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/drives/drives_request_builder.py b/msgraph_beta/generated/groups/item/drives/drives_request_builder.py index dea621ca58c..baafc592ab4 100644 --- a/msgraph_beta/generated/groups/item/drives/drives_request_builder.py +++ b/msgraph_beta/generated/groups/item/drives/drives_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[DrivesReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DrivesRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/drives/item/drive_item_request_builder.py b/msgraph_beta/generated/groups/item/drives/item/drive_item_request_builder.py index 3d99e6fab71..b15c1a44dd9 100644 --- a/msgraph_beta/generated/groups/item/drives/item/drive_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/drives/item/drive_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/endpoints/endpoints_request_builder.py b/msgraph_beta/generated/groups/item/endpoints/endpoints_request_builder.py index 199cebcead1..89bbf460d7f 100644 --- a/msgraph_beta/generated/groups/item/endpoints/endpoints_request_builder.py +++ b/msgraph_beta/generated/groups/item/endpoints/endpoints_request_builder.py @@ -45,7 +45,7 @@ def by_endpoint_id(self,endpoint_id: str) -> EndpointItemRequestBuilder: async def get(self,request_configuration: Optional[EndpointsRequestBuilderGetRequestConfiguration] = None) -> Optional[EndpointCollectionResponse]: """ - Retrieve a list of endpoint objects. This API is available in the following national cloud deployments. + Retrieve a list of endpoint objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EndpointCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/group-list-endpoints?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[Endpoint] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[EndpointsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of endpoint objects. This API is available in the following national cloud deployments. + Retrieve a list of endpoint objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[EndpointsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Endpoint] = None, request_configuration: Optional[EndpointsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Endpoint] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class EndpointsRequestBuilderGetQueryParameters(): """ - Retrieve a list of endpoint objects. This API is available in the following national cloud deployments. + Retrieve a list of endpoint objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/endpoints/item/endpoint_item_request_builder.py b/msgraph_beta/generated/groups/item/endpoints/item/endpoint_item_request_builder.py index 8e31e348fcf..bf91dfcf1a7 100644 --- a/msgraph_beta/generated/groups/item/endpoints/item/endpoint_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/endpoints/item/endpoint_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[EndpointItemRequestBuilder async def get(self,request_configuration: Optional[EndpointItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Endpoint]: """ - Retrieve the properties and relationships of a specific endpoint object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a specific endpoint object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Endpoint] Find more info here: https://learn.microsoft.com/graph/api/endpoint-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[EndpointI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EndpointItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a specific endpoint object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a specific endpoint object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[EndpointItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Endpoint] = None, request_configuration: Optional[EndpointItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Endpoint] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class EndpointItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class EndpointItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a specific endpoint object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a specific endpoint object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/evaluate_dynamic_membership/evaluate_dynamic_membership_request_builder.py b/msgraph_beta/generated/groups/item/evaluate_dynamic_membership/evaluate_dynamic_membership_request_builder.py index 4ee31ce89c8..4da1347d338 100644 --- a/msgraph_beta/generated/groups/item/evaluate_dynamic_membership/evaluate_dynamic_membership_request_builder.py +++ b/msgraph_beta/generated/groups/item/evaluate_dynamic_membership/evaluate_dynamic_membership_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[EvaluateDynamicMembershipPostRequestBody] = None, request_configuration: Optional[EvaluateDynamicMembershipRequestBuilderPostRequestConfiguration] = None) -> Optional[EvaluateDynamicMembershipResult]: """ - Evaluate whether a user or device is or would be a member of a dynamic group. The membership rule is returned along with other details that were used in the evaluation. You can complete this operation in the following ways: This API is available in the following national cloud deployments. + Evaluate whether a user or device is or would be a member of a dynamic group. The membership rule is returned along with other details that were used in the evaluation. You can complete this operation in the following ways: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EvaluateDynamicMembershipResult] @@ -54,7 +54,7 @@ async def post(self,body: Optional[EvaluateDynamicMembershipPostRequestBody] = N def to_post_request_information(self,body: Optional[EvaluateDynamicMembershipPostRequestBody] = None, request_configuration: Optional[EvaluateDynamicMembershipRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Evaluate whether a user or device is or would be a member of a dynamic group. The membership rule is returned along with other details that were used in the evaluation. You can complete this operation in the following ways: This API is available in the following national cloud deployments. + Evaluate whether a user or device is or would be a member of a dynamic group. The membership rule is returned along with other details that were used in the evaluation. You can complete this operation in the following ways: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[EvaluateDynamicMembershipPos request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/events/delta/delta_request_builder.py index 627d262140c..98acf809082 100644 --- a/msgraph_beta/generated/groups/item/events/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/events/events_request_builder.py b/msgraph_beta/generated/groups/item/events/events_request_builder.py index 6fd468299b6..7459931578d 100644 --- a/msgraph_beta/generated/groups/item/events/events_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/events_request_builder.py @@ -46,7 +46,7 @@ def by_event_id(self,event_id: str) -> EventItemRequestBuilder: async def get(self,request_configuration: Optional[EventsRequestBuilderGetRequestConfiguration] = None) -> Optional[EventCollectionResponse]: """ - Retrieve a list of event objects. This API is available in the following national cloud deployments. + Retrieve a list of event objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EventCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/group-list-events?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[EventsRequestBuilderGetReques async def post(self,body: Optional[Event] = None, request_configuration: Optional[EventsRequestBuilderPostRequestConfiguration] = None) -> Optional[Event]: """ - Use this API to create a new event. This API is available in the following national cloud deployments. + Use this API to create a new event. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Event] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Event] = None, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[EventsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of event objects. This API is available in the following national cloud deployments. + Retrieve a list of event objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[EventsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Event] = None, request_configuration: Optional[EventsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new event. This API is available in the following national cloud deployments. + Use this API to create a new event. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Event] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class EventsRequestBuilderGetQueryParameters(): """ - Retrieve a list of event objects. This API is available in the following national cloud deployments. + Retrieve a list of event objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/events/item/accept/accept_request_builder.py b/msgraph_beta/generated/groups/item/events/item/accept/accept_request_builder.py index 84e67263dae..059572cc924 100644 --- a/msgraph_beta/generated/groups/item/events/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/events/item/attachments/attachments_request_builder.py index 9898864879b..54c93ea258b 100644 --- a/msgraph_beta/generated/groups/item/events/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/groups/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.py index a370474f5c4..c699d37ad9f 100644 --- a/msgraph_beta/generated/groups/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/groups/item/events/item/attachments/item/attachment_item_request_builder.py index 8f663c2e66e..b2f4491f5e7 100644 --- a/msgraph_beta/generated/groups/item/events/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/events/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/groups/item/events/item/calendar/calendar_request_builder.py index a083ab64f23..fab26e78329 100644 --- a/msgraph_beta/generated/groups/item/events/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/events/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/groups/item/events/item/cancel/cancel_request_builder.py index 7a82ce5e4cc..c7c397ba524 100644 --- a/msgraph_beta/generated/groups/item/events/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/decline/decline_request_builder.py b/msgraph_beta/generated/groups/item/events/item/decline/decline_request_builder.py index 9c193a67db3..d8e290f9386 100644 --- a/msgraph_beta/generated/groups/item/events/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/groups/item/events/item/dismiss_reminder/dismiss_reminder_request_builder.py index 4b9989e198b..55d4e7ca5ce 100644 --- a/msgraph_beta/generated/groups/item/events/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/events/item/event_item_request_builder.py b/msgraph_beta/generated/groups/item/events/item/event_item_request_builder.py index 92014106302..9c2eb0244ce 100644 --- a/msgraph_beta/generated/groups/item/events/item/event_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/event_item_request_builder.py @@ -40,7 +40,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[EventItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an event object. This API is available in the following national cloud deployments. + Delete an event object. 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/group-delete-event?view=graph-rest-1.0 @@ -60,7 +60,7 @@ async def delete(self,request_configuration: Optional[EventItemRequestBuilderDel async def get(self,request_configuration: Optional[EventItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Event]: """ - Get an event object. This API is available in the following national cloud deployments. + Get an event object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Event] Find more info here: https://learn.microsoft.com/graph/api/group-get-event?view=graph-rest-1.0 @@ -82,7 +82,7 @@ async def get(self,request_configuration: Optional[EventItemRequestBuilderGetReq async def patch(self,body: Optional[Event] = None, request_configuration: Optional[EventItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Event]: """ - Update an event object. This API is available in the following national cloud deployments. + Update an event object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Event] @@ -107,7 +107,7 @@ async def patch(self,body: Optional[Event] = None, request_configuration: Option def to_delete_request_information(self,request_configuration: Optional[EventItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an event object. This API is available in the following national cloud deployments. + Delete an event object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -118,12 +118,12 @@ def to_delete_request_information(self,request_configuration: Optional[EventItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EventItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an event object. This API is available in the following national cloud deployments. + Get an event object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,12 +135,12 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Event] = None, request_configuration: Optional[EventItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update an event object. This API is available in the following national cloud deployments. + Update an event object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -154,7 +154,7 @@ def to_patch_request_information(self,body: Optional[Event] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -289,7 +289,7 @@ class EventItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration @dataclass class EventItemRequestBuilderGetQueryParameters(): """ - Get an event object. This API is available in the following national cloud deployments. + Get an event object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/delta/delta_request_builder.py index 119d990acd1..92099acc8bd 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/exception_occurrences_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/exception_occurrences_request_builder.py index da59ca99981..d3c19d61bd5 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/exception_occurrences_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/exception_occurrences_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ExceptionOcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExceptionOccurrencesRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/accept/accept_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/accept/accept_request_builder.py index d4262b83dd8..5f6034b1a24 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py index cea863600f6..9b6cd9252eb 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py index 281c04ef95f..463e200a0d7 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py index 09389bbcb94..af426519094 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/calendar/calendar_request_builder.py index 2a6cd872df8..a6a7f00c423 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/cancel/cancel_request_builder.py index fcffbb3aa7a..38e300073f4 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/decline/decline_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/decline/decline_request_builder.py index dabb259f91d..b7582372901 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py index fe91188f0a1..5622e84e6e6 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/event_item_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/event_item_request_builder.py index 158cec6c0f6..7a644f3fc20 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/event_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/event_item_request_builder.py @@ -72,7 +72,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/extensions/extensions_request_builder.py index 1d1ec8643a4..5950f2def72 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py index 5433ccc05b6..f22ad5756b5 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/forward/forward_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/forward/forward_request_builder.py index 8bcab05d551..db742325e0e 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/delta/delta_request_builder.py index 5390774a0a7..047e2e1ed7e 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/instances_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/instances_request_builder.py index 71adecec495..c6efedb6c4c 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/instances_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/instances_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[InstancesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InstancesRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py index e87119ad3c7..71a26207e86 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py index 34625bfedc1..f05495999c7 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py index 9edb0888066..93c585062a8 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py index 4feec7bbbbe..470b2645fa7 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py index 814048c280a..e0227b2e756 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py index 834aedaf01b..1338825d148 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py index 3510afd5973..445084ba9f1 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py index 90d68bf21d6..b47aa0a47b3 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/event_item_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/event_item_request_builder.py index 21a9b7797bf..bd0d6d1c239 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/event_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/event_item_request_builder.py @@ -71,7 +71,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py index 25eae86f7c4..a94ec511493 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py index ef411987e2f..b2058e37038 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py index 52fe34d9a18..135ecc88ed3 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py index f38cbf778e6..66f00a68564 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py index f882cc6b21a..06d831319b6 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py index 643067b5a3d..82e917cb9e6 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py index 047d06428a4..4e7bcc9553f 100644 --- a/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/groups/item/events/item/extensions/extensions_request_builder.py index 25c52aa1b12..16cca477bfb 100644 --- a/msgraph_beta/generated/groups/item/events/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/events/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/groups/item/events/item/extensions/item/extension_item_request_builder.py index 8fe5323d2d1..94cc390b358 100644 --- a/msgraph_beta/generated/groups/item/events/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/events/item/forward/forward_request_builder.py b/msgraph_beta/generated/groups/item/events/item/forward/forward_request_builder.py index 9ca173f946c..edf0d13f57e 100644 --- a/msgraph_beta/generated/groups/item/events/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/instances/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/delta/delta_request_builder.py index 2be226c2536..fb27f7d8864 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/events/item/instances/instances_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/instances_request_builder.py index f97d0a5bf94..36a20956b8f 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/instances_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/instances_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[InstancesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InstancesRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/accept/accept_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/accept/accept_request_builder.py index c91f662e01d..2bb204836b7 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/attachments/attachments_request_builder.py index 983a6d2f9e9..d46c6ea4c97 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py index 26cb06128ca..c0f8b767966 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/attachments/item/attachment_item_request_builder.py index 6545b6e5eee..ca6fc0450aa 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/calendar/calendar_request_builder.py index ab357771027..8443365dbf0 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/cancel/cancel_request_builder.py index 0e058f63498..d20fe5f6ceb 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/decline/decline_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/decline/decline_request_builder.py index 4943b6135c1..83eb5d49223 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py index dfdf96794c3..b0620514ca9 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/event_item_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/event_item_request_builder.py index ceb259dfd62..1cb5d166aac 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/event_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/event_item_request_builder.py @@ -72,7 +72,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/delta/delta_request_builder.py index 1e563f8813a..81c7ea3d096 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py index 76294348d59..bd6c120ea56 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ExceptionOcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExceptionOccurrencesRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py index 3369f7d007c..ca65efc24ed 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py index 0b278d497b6..ff4a4ea164b 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py index b87c4f5ec6b..fefbf2eb49d 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py index d6ce139361e..742f2019877 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py index 017940049da..25fd6066f8e 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py index 169ae42662b..e4e58811bae 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py index 43e06ffd1be..32f1ec20f1c 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py index 2903ffe9bcc..a3366c6f967 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/event_item_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/event_item_request_builder.py index 6c04fec5224..f5fc1010187 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/event_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/event_item_request_builder.py @@ -71,7 +71,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py index 195a8acecca..9ccaf876b47 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py index 41d265d412d..44b57fa84d1 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py index c6827d0f8a5..1220942efe4 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py index 621cefcbd08..ae55f25c895 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py index 32ba6f6b889..14a5a11263d 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/extensions/extensions_request_builder.py index 6203d5ef895..a46cced7486 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/extensions/item/extension_item_request_builder.py index 48ccbb99ecf..9ca0267631f 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/forward/forward_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/forward/forward_request_builder.py index b7805c89880..8199320214f 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py index b7d8b11ab76..8e4d91eaff6 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/groups/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py index e9e60646bba..5f2d0b77806 100644 --- a/msgraph_beta/generated/groups/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/groups/item/events/item/snooze_reminder/snooze_reminder_request_builder.py index a3dddcfc360..4240baf1511 100644 --- a/msgraph_beta/generated/groups/item/events/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/events/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/groups/item/events/item/tentatively_accept/tentatively_accept_request_builder.py index a1f5c15bf5c..22aebf019bb 100644 --- a/msgraph_beta/generated/groups/item/events/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/groups/item/events/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/groups/item/extensions/extensions_request_builder.py index 4c6ec3e266b..d008840dc1d 100644 --- a/msgraph_beta/generated/groups/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/groups/item/extensions/extensions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/groups/item/extensions/item/extension_item_request_builder.py index 3c70e04f125..9ae2f2507f3 100644 --- a/msgraph_beta/generated/groups/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/extensions/item/extension_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/get_member_groups/get_member_groups_request_builder.py b/msgraph_beta/generated/groups/item/get_member_groups/get_member_groups_request_builder.py index b0a56680f8d..72011f93efc 100644 --- a/msgraph_beta/generated/groups/item/get_member_groups/get_member_groups_request_builder.py +++ b/msgraph_beta/generated/groups/item/get_member_groups/get_member_groups_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetMemberGroupsPostResponse]: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/get_member_objects/get_member_objects_request_builder.py b/msgraph_beta/generated/groups/item/get_member_objects/get_member_objects_request_builder.py index 039f1110d8e..3f63712900a 100644 --- a/msgraph_beta/generated/groups/item/get_member_objects/get_member_objects_request_builder.py +++ b/msgraph_beta/generated/groups/item/get_member_objects/get_member_objects_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GetMemberObjectsPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/group_item_request_builder.py b/msgraph_beta/generated/groups/item/group_item_request_builder.py index b71aae1eb45..ae1b1c8cf9b 100644 --- a/msgraph_beta/generated/groups/item/group_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/group_item_request_builder.py @@ -73,7 +73,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[GroupItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. This API is available in the following national cloud deployments. + Deletes a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. 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/group-delete?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def delete(self,request_configuration: Optional[GroupItemRequestBuilderDel async def get(self,request_configuration: Optional[GroupItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Group]: """ - Get the properties and relationships of a group object. This operation returns by default only a subset of all the available properties, as noted in the Properties section. To get properties that aren't_ returned by default, specify them in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and aren't returned in the $select query. Because the group resource supports extensions, you can also use the GET operation to get custom properties and extension data in a group instance. This API is available in the following national cloud deployments. + Get the properties and relationships of a group object. This operation returns by default only a subset of all the available properties, as noted in the Properties section. To get properties that aren't_ returned by default, specify them in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and aren't returned in the $select query. Because the group resource supports extensions, you can also use the GET operation to get custom properties and extension data in a group instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] Find more info here: https://learn.microsoft.com/graph/api/group-get?view=graph-rest-1.0 @@ -115,7 +115,7 @@ async def get(self,request_configuration: Optional[GroupItemRequestBuilderGetReq async def patch(self,body: Optional[Group] = None, request_configuration: Optional[GroupItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Group]: """ - Update the properties of a group object. This API is available in the following national cloud deployments. + Update the properties of a group object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] @@ -140,7 +140,7 @@ async def patch(self,body: Optional[Group] = None, request_configuration: Option def to_delete_request_information(self,request_configuration: Optional[GroupItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. This API is available in the following national cloud deployments. + Deletes a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -151,12 +151,12 @@ def to_delete_request_information(self,request_configuration: Optional[GroupItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GroupItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a group object. This operation returns by default only a subset of all the available properties, as noted in the Properties section. To get properties that aren't_ returned by default, specify them in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and aren't returned in the $select query. Because the group resource supports extensions, you can also use the GET operation to get custom properties and extension data in a group instance. This API is available in the following national cloud deployments. + Get the properties and relationships of a group object. This operation returns by default only a subset of all the available properties, as noted in the Properties section. To get properties that aren't_ returned by default, specify them in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and aren't returned in the $select query. Because the group resource supports extensions, you can also use the GET operation to get custom properties and extension data in a group instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -168,12 +168,12 @@ def to_get_request_information(self,request_configuration: Optional[GroupItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Group] = None, request_configuration: Optional[GroupItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a group object. This API is available in the following national cloud deployments. + Update the properties of a group object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -187,7 +187,7 @@ def to_patch_request_information(self,body: Optional[Group] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -619,7 +619,7 @@ class GroupItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration @dataclass class GroupItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a group object. This operation returns by default only a subset of all the available properties, as noted in the Properties section. To get properties that aren't_ returned by default, specify them in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and aren't returned in the $select query. Because the group resource supports extensions, you can also use the GET operation to get custom properties and extension data in a group instance. This API is available in the following national cloud deployments. + Get the properties and relationships of a group object. This operation returns by default only a subset of all the available properties, as noted in the Properties section. To get properties that aren't_ returned by default, specify them in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and aren't returned in the $select query. Because the group resource supports extensions, you can also use the GET operation to get custom properties and extension data in a group instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/group_lifecycle_policies/group_lifecycle_policies_request_builder.py b/msgraph_beta/generated/groups/item/group_lifecycle_policies/group_lifecycle_policies_request_builder.py index 3802a5a855e..b3a5c74e9e3 100644 --- a/msgraph_beta/generated/groups/item/group_lifecycle_policies/group_lifecycle_policies_request_builder.py +++ b/msgraph_beta/generated/groups/item/group_lifecycle_policies/group_lifecycle_policies_request_builder.py @@ -46,7 +46,7 @@ def by_group_lifecycle_policy_id(self,group_lifecycle_policy_id: str) -> GroupLi async def get(self,request_configuration: Optional[GroupLifecyclePoliciesRequestBuilderGetRequestConfiguration] = None) -> Optional[GroupLifecyclePolicyCollectionResponse]: """ - Retrieves a list of groupLifecyclePolicy objects to which a group belongs. This API is available in the following national cloud deployments. + Retrieves a list of groupLifecyclePolicy objects to which a group belongs. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GroupLifecyclePolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/group-list-grouplifecyclepolicies?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[GroupLifecyclePolicy] = None, request_configu def to_get_request_information(self,request_configuration: Optional[GroupLifecyclePoliciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieves a list of groupLifecyclePolicy objects to which a group belongs. This API is available in the following national cloud deployments. + Retrieves a list of groupLifecyclePolicy objects to which a group belongs. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupLifecyc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GroupLifecyclePolicy] = None, request_configuration: Optional[GroupLifecyclePoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[GroupLifecyclePolicy] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def renew_group(self) -> RenewGroupRequestBuilder: @dataclass class GroupLifecyclePoliciesRequestBuilderGetQueryParameters(): """ - Retrieves a list of groupLifecyclePolicy objects to which a group belongs. This API is available in the following national cloud deployments. + Retrieves a list of groupLifecyclePolicy objects to which a group belongs. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/group_lifecycle_policies/item/add_group/add_group_request_builder.py b/msgraph_beta/generated/groups/item/group_lifecycle_policies/item/add_group/add_group_request_builder.py index b61f0323bf4..8cf2bced3bb 100644 --- a/msgraph_beta/generated/groups/item/group_lifecycle_policies/item/add_group/add_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/group_lifecycle_policies/item/add_group/add_group_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AddGroupPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/group_lifecycle_policies/item/group_lifecycle_policy_item_request_builder.py b/msgraph_beta/generated/groups/item/group_lifecycle_policies/item/group_lifecycle_policy_item_request_builder.py index 313282f88d9..93c21c8f576 100644 --- a/msgraph_beta/generated/groups/item/group_lifecycle_policies/item/group_lifecycle_policy_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/group_lifecycle_policies/item/group_lifecycle_policy_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[GroupLife request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GroupLifecyclePolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupLifecyc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GroupLifecyclePolicy] = None, request_configuration: Optional[GroupLifecyclePolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[GroupLifecyclePolicy] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/group_lifecycle_policies/item/remove_group/remove_group_request_builder.py b/msgraph_beta/generated/groups/item/group_lifecycle_policies/item/remove_group/remove_group_request_builder.py index cd63395ab32..c0b3f8b9e17 100644 --- a/msgraph_beta/generated/groups/item/group_lifecycle_policies/item/remove_group/remove_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/group_lifecycle_policies/item/remove_group/remove_group_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[RemoveGroupPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/group_lifecycle_policies/renew_group/renew_group_request_builder.py b/msgraph_beta/generated/groups/item/group_lifecycle_policies/renew_group/renew_group_request_builder.py index 93ad3d39548..c9b6cbddd1e 100644 --- a/msgraph_beta/generated/groups/item/group_lifecycle_policies/renew_group/renew_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/group_lifecycle_policies/renew_group/renew_group_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RenewGroupPostRequestBody] = None, request_configuration: Optional[RenewGroupRequestBuilderPostRequestConfiguration] = None) -> Optional[RenewGroupPostResponse]: """ - Renew a group's expiration. When a group is renewed, the group expiration is extended by the number of days defined in the policy. This API is available in the following national cloud deployments. + Renew a group's expiration. When a group is renewed, the group expiration is extended by the number of days defined in the policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RenewGroupPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[RenewGroupPostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[RenewGroupPostRequestBody] = None, request_configuration: Optional[RenewGroupRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Renew a group's expiration. When a group is renewed, the group expiration is extended by the number of days defined in the policy. This API is available in the following national cloud deployments. + Renew a group's expiration. When a group is renewed, the group expiration is extended by the number of days defined in the policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[RenewGroupPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py b/msgraph_beta/generated/groups/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py index fdd0a062e19..d235a6ab2ab 100644 --- a/msgraph_beta/generated/groups/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py +++ b/msgraph_beta/generated/groups/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAdminis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAdministrativeUnitRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/member_of/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/groups/item/member_of/graph_group/graph_group_request_builder.py index 1865973a812..3bd997b4dfe 100644 --- a/msgraph_beta/generated/groups/item/member_of/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/member_of/graph_group/graph_group_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/member_of/item/directory_object_item_request_builder.py b/msgraph_beta/generated/groups/item/member_of/item/directory_object_item_request_builder.py index 11426ffbc21..9e8462f2a1c 100644 --- a/msgraph_beta/generated/groups/item/member_of/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/member_of/item/directory_object_item_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py b/msgraph_beta/generated/groups/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py index 0b581d5e00e..ee2a249542d 100644 --- a/msgraph_beta/generated/groups/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py +++ b/msgraph_beta/generated/groups/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAdminis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAdministrativeUnitRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/member_of/item/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/groups/item/member_of/item/graph_group/graph_group_request_builder.py index dc678d67c46..603bec0c80f 100644 --- a/msgraph_beta/generated/groups/item/member_of/item/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/member_of/item/graph_group/graph_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/member_of/member_of_request_builder.py b/msgraph_beta/generated/groups/item/member_of/member_of_request_builder.py index 0153075d635..f85d35d086c 100644 --- a/msgraph_beta/generated/groups/item/member_of/member_of_request_builder.py +++ b/msgraph_beta/generated/groups/item/member_of/member_of_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[MemberOfRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MemberOfRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/members/graph_application/graph_application_request_builder.py b/msgraph_beta/generated/groups/item/members/graph_application/graph_application_request_builder.py index 60a97dd1479..f40325244f3 100644 --- a/msgraph_beta/generated/groups/item/members/graph_application/graph_application_request_builder.py +++ b/msgraph_beta/generated/groups/item/members/graph_application/graph_application_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphApplica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphApplicationRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/members/graph_device/graph_device_request_builder.py b/msgraph_beta/generated/groups/item/members/graph_device/graph_device_request_builder.py index 8d8032091ec..d883c210962 100644 --- a/msgraph_beta/generated/groups/item/members/graph_device/graph_device_request_builder.py +++ b/msgraph_beta/generated/groups/item/members/graph_device/graph_device_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphDeviceR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphDeviceRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/members/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/groups/item/members/graph_group/graph_group_request_builder.py index 7493f10b1c2..e65c04c14c8 100644 --- a/msgraph_beta/generated/groups/item/members/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/members/graph_group/graph_group_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/members/graph_org_contact/graph_org_contact_request_builder.py b/msgraph_beta/generated/groups/item/members/graph_org_contact/graph_org_contact_request_builder.py index fac5d9b9041..6a360e39fa5 100644 --- a/msgraph_beta/generated/groups/item/members/graph_org_contact/graph_org_contact_request_builder.py +++ b/msgraph_beta/generated/groups/item/members/graph_org_contact/graph_org_contact_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphOrgCont request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphOrgContactRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/members/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/groups/item/members/graph_service_principal/graph_service_principal_request_builder.py index 5a234ef2177..578c4bba5d3 100644 --- a/msgraph_beta/generated/groups/item/members/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/groups/item/members/graph_service_principal/graph_service_principal_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/members/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/groups/item/members/graph_user/graph_user_request_builder.py index acf5d2ace06..50105e03386 100644 --- a/msgraph_beta/generated/groups/item/members/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/groups/item/members/graph_user/graph_user_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/members/item/graph_application/graph_application_request_builder.py b/msgraph_beta/generated/groups/item/members/item/graph_application/graph_application_request_builder.py index 03644265fdd..6b5290f4648 100644 --- a/msgraph_beta/generated/groups/item/members/item/graph_application/graph_application_request_builder.py +++ b/msgraph_beta/generated/groups/item/members/item/graph_application/graph_application_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphApplica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphApplicationRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/members/item/graph_device/graph_device_request_builder.py b/msgraph_beta/generated/groups/item/members/item/graph_device/graph_device_request_builder.py index c98561547dc..71d3a490050 100644 --- a/msgraph_beta/generated/groups/item/members/item/graph_device/graph_device_request_builder.py +++ b/msgraph_beta/generated/groups/item/members/item/graph_device/graph_device_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphDeviceR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphDeviceRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/members/item/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/groups/item/members/item/graph_group/graph_group_request_builder.py index be53fbef233..1d1f13a5bd1 100644 --- a/msgraph_beta/generated/groups/item/members/item/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/members/item/graph_group/graph_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/members/item/graph_org_contact/graph_org_contact_request_builder.py b/msgraph_beta/generated/groups/item/members/item/graph_org_contact/graph_org_contact_request_builder.py index 646c7ed80bd..a9b29bf2d35 100644 --- a/msgraph_beta/generated/groups/item/members/item/graph_org_contact/graph_org_contact_request_builder.py +++ b/msgraph_beta/generated/groups/item/members/item/graph_org_contact/graph_org_contact_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphOrgCont request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphOrgContactRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/members/item/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/groups/item/members/item/graph_service_principal/graph_service_principal_request_builder.py index 936d2aa088a..a092a11eb39 100644 --- a/msgraph_beta/generated/groups/item/members/item/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/groups/item/members/item/graph_service_principal/graph_service_principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/members/item/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/groups/item/members/item/graph_user/graph_user_request_builder.py index 1363424576d..944ae41fbf5 100644 --- a/msgraph_beta/generated/groups/item/members/item/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/groups/item/members/item/graph_user/graph_user_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/members/item/ref/ref_request_builder.py b/msgraph_beta/generated/groups/item/members/item/ref/ref_request_builder.py index 366106358fb..5fc4d0bf944 100644 --- a/msgraph_beta/generated/groups/item/members/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/groups/item/members/item/ref/ref_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a member from a group via the members navigation property. You can't remove a member from groups with dynamic memberships. This API is available in the following national cloud deployments. + Remove a member from a group via the members navigation property. You can't remove a member from groups with dynamic memberships. 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/group-delete-members?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a member from a group via the members navigation property. You can't remove a member from groups with dynamic memberships. This API is available in the following national cloud deployments. + Remove a member from a group via the members navigation property. You can't remove a member from groups with dynamic memberships. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Remove a member from a group via the members navigation property. You can't remove a member from groups with dynamic memberships. This API is available in the following national cloud deployments. + Remove a member from a group via the members navigation property. You can't remove a member from groups with dynamic memberships. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/members/members_request_builder.py b/msgraph_beta/generated/groups/item/members/members_request_builder.py index a9e1b8c22ba..137ac778402 100644 --- a/msgraph_beta/generated/groups/item/members/members_request_builder.py +++ b/msgraph_beta/generated/groups/item/members/members_request_builder.py @@ -38,7 +38,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.groups.item.members.item collection - param directory_object_id: Unique identifier of the item + param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ if not directory_object_id: @@ -51,7 +51,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem async def get(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryObjectCollectionResponse]: """ - Direct members of this group, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName). + Direct group members, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/group-list-members?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[MembersRequestBuilderGetReque def to_get_request_information(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Direct members of this group, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName). + Direct group members, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MembersRequestBuilder: @@ -173,7 +173,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class MembersRequestBuilderGetQueryParameters(): """ - Direct members of this group, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName). + Direct group members, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/members/ref/ref_request_builder.py b/msgraph_beta/generated/groups/item/members/ref/ref_request_builder.py index 814ca450184..790e9430e9a 100644 --- a/msgraph_beta/generated/groups/item/members/ref/ref_request_builder.py +++ b/msgraph_beta/generated/groups/item/members/ref/ref_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - Direct members of this group, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName). + Direct group members, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/group-list-members?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add a member to a security or Microsoft 365 group through the members navigation property. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups. This API is available in the following national cloud deployments. + Add a member to a security or Microsoft 365 group through the members navigation property. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -74,7 +74,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Direct members of this group, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName). + Direct group members, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a member to a security or Microsoft 365 group through the members navigation property. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups. This API is available in the following national cloud deployments. + Add a member to a security or Microsoft 365 group through the members navigation property. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -122,7 +122,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderGetQueryParameters(): """ - Direct members of this group, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName). + Direct group members, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/members_with_license_errors/graph_application/graph_application_request_builder.py b/msgraph_beta/generated/groups/item/members_with_license_errors/graph_application/graph_application_request_builder.py index da4af5a8e1f..60c0076db5c 100644 --- a/msgraph_beta/generated/groups/item/members_with_license_errors/graph_application/graph_application_request_builder.py +++ b/msgraph_beta/generated/groups/item/members_with_license_errors/graph_application/graph_application_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphApplica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphApplicationRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/members_with_license_errors/graph_device/graph_device_request_builder.py b/msgraph_beta/generated/groups/item/members_with_license_errors/graph_device/graph_device_request_builder.py index f4ec2b04336..0715d68e5f8 100644 --- a/msgraph_beta/generated/groups/item/members_with_license_errors/graph_device/graph_device_request_builder.py +++ b/msgraph_beta/generated/groups/item/members_with_license_errors/graph_device/graph_device_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphDeviceR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphDeviceRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/members_with_license_errors/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/groups/item/members_with_license_errors/graph_group/graph_group_request_builder.py index 83a6fae2244..45bc71c00ee 100644 --- a/msgraph_beta/generated/groups/item/members_with_license_errors/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/members_with_license_errors/graph_group/graph_group_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/members_with_license_errors/graph_org_contact/graph_org_contact_request_builder.py b/msgraph_beta/generated/groups/item/members_with_license_errors/graph_org_contact/graph_org_contact_request_builder.py index 64804d8f2b9..796c789fc5c 100644 --- a/msgraph_beta/generated/groups/item/members_with_license_errors/graph_org_contact/graph_org_contact_request_builder.py +++ b/msgraph_beta/generated/groups/item/members_with_license_errors/graph_org_contact/graph_org_contact_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphOrgCont request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphOrgContactRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/members_with_license_errors/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/groups/item/members_with_license_errors/graph_service_principal/graph_service_principal_request_builder.py index e0830d1c7ca..eb443afc23f 100644 --- a/msgraph_beta/generated/groups/item/members_with_license_errors/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/groups/item/members_with_license_errors/graph_service_principal/graph_service_principal_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/members_with_license_errors/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/groups/item/members_with_license_errors/graph_user/graph_user_request_builder.py index 9088610836a..29cb36124e3 100644 --- a/msgraph_beta/generated/groups/item/members_with_license_errors/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/groups/item/members_with_license_errors/graph_user/graph_user_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/members_with_license_errors/item/directory_object_item_request_builder.py b/msgraph_beta/generated/groups/item/members_with_license_errors/item/directory_object_item_request_builder.py index 6f646a1371c..202b818fc19 100644 --- a/msgraph_beta/generated/groups/item/members_with_license_errors/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/members_with_license_errors/item/directory_object_item_request_builder.py @@ -67,7 +67,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/members_with_license_errors/item/graph_application/graph_application_request_builder.py b/msgraph_beta/generated/groups/item/members_with_license_errors/item/graph_application/graph_application_request_builder.py index 1b3802a46b1..696f9207e67 100644 --- a/msgraph_beta/generated/groups/item/members_with_license_errors/item/graph_application/graph_application_request_builder.py +++ b/msgraph_beta/generated/groups/item/members_with_license_errors/item/graph_application/graph_application_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphApplica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphApplicationRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/members_with_license_errors/item/graph_device/graph_device_request_builder.py b/msgraph_beta/generated/groups/item/members_with_license_errors/item/graph_device/graph_device_request_builder.py index 67b75efc1b1..7214c298217 100644 --- a/msgraph_beta/generated/groups/item/members_with_license_errors/item/graph_device/graph_device_request_builder.py +++ b/msgraph_beta/generated/groups/item/members_with_license_errors/item/graph_device/graph_device_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphDeviceR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphDeviceRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/members_with_license_errors/item/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/groups/item/members_with_license_errors/item/graph_group/graph_group_request_builder.py index a208f4d9c0b..e6f6724d89a 100644 --- a/msgraph_beta/generated/groups/item/members_with_license_errors/item/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/members_with_license_errors/item/graph_group/graph_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/members_with_license_errors/item/graph_org_contact/graph_org_contact_request_builder.py b/msgraph_beta/generated/groups/item/members_with_license_errors/item/graph_org_contact/graph_org_contact_request_builder.py index f5f3884ec60..03a76000030 100644 --- a/msgraph_beta/generated/groups/item/members_with_license_errors/item/graph_org_contact/graph_org_contact_request_builder.py +++ b/msgraph_beta/generated/groups/item/members_with_license_errors/item/graph_org_contact/graph_org_contact_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphOrgCont request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphOrgContactRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/members_with_license_errors/item/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/groups/item/members_with_license_errors/item/graph_service_principal/graph_service_principal_request_builder.py index 511c19ce809..d253b16de78 100644 --- a/msgraph_beta/generated/groups/item/members_with_license_errors/item/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/groups/item/members_with_license_errors/item/graph_service_principal/graph_service_principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/members_with_license_errors/item/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/groups/item/members_with_license_errors/item/graph_user/graph_user_request_builder.py index aec1a756f9f..48dece938ba 100644 --- a/msgraph_beta/generated/groups/item/members_with_license_errors/item/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/groups/item/members_with_license_errors/item/graph_user/graph_user_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/members_with_license_errors/members_with_license_errors_request_builder.py b/msgraph_beta/generated/groups/item/members_with_license_errors/members_with_license_errors_request_builder.py index b1568ecfc0f..4f90ba8976e 100644 --- a/msgraph_beta/generated/groups/item/members_with_license_errors/members_with_license_errors_request_builder.py +++ b/msgraph_beta/generated/groups/item/members_with_license_errors/members_with_license_errors_request_builder.py @@ -83,7 +83,7 @@ def to_get_request_information(self,request_configuration: Optional[MembersWithL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MembersWithLicenseErrorsRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.py index fae3feca344..89950adca8f 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetNotebookFromWebUrlPostRequestBody] = None, request_configuration: Optional[GetNotebookFromWebUrlRequestBuilderPostRequestConfiguration] = None) -> Optional[CopyNotebookModel]: """ - Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CopyNotebookModel] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetNotebookFromWebUrlPostRequestBody] = None, def to_post_request_information(self,body: Optional[GetNotebookFromWebUrlPostRequestBody] = None, request_configuration: Optional[GetNotebookFromWebUrlRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetNotebookFromWebUrlPostReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_request_builder.py index e6c7260571d..7011ca6b709 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GetRecentNot request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.py index a932a7a6206..87e3eb61b4f 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyNotebookPostRequestBody] = None, request_configuration: Optional[CopyNotebookRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a notebook to the Notebooks folder in the destination Documents library. The folder is created if it doesn't exist. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a notebook to the Notebooks folder in the destination Documents library. The folder is created if it doesn't exist. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyNotebookPostRequestBody] = None, request_ def to_post_request_information(self,body: Optional[CopyNotebookPostRequestBody] = None, request_configuration: Optional[CopyNotebookRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a notebook to the Notebooks folder in the destination Documents library. The folder is created if it doesn't exist. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a notebook to the Notebooks folder in the destination Documents library. The folder is created if it doesn't exist. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyNotebookPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/notebook_item_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/notebook_item_request_builder.py index 601d26b48be..d47188b7a8f 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/notebook_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/notebook_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[NotebookItemRequestBuilder async def get(self,request_configuration: Optional[NotebookItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Notebook]: """ - Retrieve the properties and relationships of a notebook object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a notebook object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Notebook] Find more info here: https://learn.microsoft.com/graph/api/notebook-get?view=graph-rest-1.0 @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[NotebookI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[NotebookItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a notebook object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a notebook object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[NotebookItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Notebook] = None, request_configuration: Optional[NotebookItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[Notebook] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -197,7 +197,7 @@ class NotebookItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class NotebookItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a notebook object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a notebook object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/parent_notebook/parent_notebook_request_builder.py index b0bd09d2ea6..7d4a5930996 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/parent_section_group/parent_section_group_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/parent_section_group/parent_section_group_request_builder.py index a504235e837..e78091e66e6 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/parent_section_group/parent_section_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/parent_section_group/parent_section_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionGroupRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.py index 8733d5d1594..62bf1f6d894 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[SectionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SectionGroupItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SectionGroup] = None, request_configuration: Optional[SectionGroupItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[SectionGroup] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/section_groups/item/section_group_item_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/section_groups/item/section_group_item_request_builder.py index 2485bda5b44..8d6dc0e2f65 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/section_groups/item/section_group_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/section_groups/item/section_group_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SectionGroupItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/section_groups/section_groups_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/section_groups/section_groups_request_builder.py index e015c49199a..8f7c10cf3ed 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/section_groups/section_groups_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/section_groups/section_groups_request_builder.py @@ -44,7 +44,7 @@ def by_section_group_id1(self,section_group_id1: str) -> SectionGroupItemRequest async def get(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[SectionGroupCollectionResponse]: """ - Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SectionGroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sectiongroup-list-sectiongroups?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[SectionGroupsRequestBuilderGe def to_get_request_information(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SectionGroupsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionGroupsRequestBuilderGetQueryParameters(): """ - Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified section group. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py index cc161721606..d6b6f92031f 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py index 8985e181d87..6edaac91a34 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, re def to_post_request_information(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionGroupPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.py index 9238ee2cb28..51ad79a6ad4 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenoteSe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenoteSectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenoteSecti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[OnenoteSectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[OnenoteSection] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.py index d4a44400d0e..09a342d83c6 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py index cc60348eb5b..982e476f375 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py index 7b36f6b2714..42ca9c6dae2 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenotePa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenotePageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenotePageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[OnenotePageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[OnenotePage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py index afd9c215733..ec937a72a74 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[OnenotePatchContentPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py index df4ad24e12a..1d2fd6a86b5 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py index db3c40d1377..a4dda2b7a73 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py index 1f90cc0d0ce..bc6fc94afb2 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[PreviewReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PreviewRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.py index 2e72ecaf9e0..7599681b543 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PagesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[PagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnenotePage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py index 98fdb42c38c..7e0c85e3b16 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py index 698bff09d8b..5c0ec0d5be9 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionGroupRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.py index ffa2963c2bb..690e4d5c901 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.py @@ -45,7 +45,7 @@ def by_onenote_section_id(self,onenote_section_id: str) -> OnenoteSectionItemReq async def get(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> Optional[OnenoteSectionCollectionResponse]: """ - Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of onenoteSection objects from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSectionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sectiongroup-list-sections?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SectionsRequestBuilderGetRequ async def post(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[SectionsRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteSection]: """ - Create a new section in the specified section group. This API is available in the following national cloud deployments. + Create a new section in the specified section group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSection] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OnenoteSection] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of onenoteSection objects from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SectionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[SectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new section in the specified section group. This API is available in the following national cloud deployments. + Create a new section in the specified section group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OnenoteSection] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionsRequestBuilderGetQueryParameters(): """ - Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of onenoteSection objects from the specified section group. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/section_groups_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/section_groups_request_builder.py index 6eeb011f410..1948a322270 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/section_groups_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/section_groups/section_groups_request_builder.py @@ -45,7 +45,7 @@ def by_section_group_id(self,section_group_id: str) -> SectionGroupItemRequestBu async def get(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[SectionGroupCollectionResponse]: """ - Retrieve a list of section groups from the specified notebook. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified notebook. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SectionGroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/notebook-list-sectiongroups?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SectionGroupsRequestBuilderGe async def post(self,body: Optional[SectionGroup] = None, request_configuration: Optional[SectionGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[SectionGroup]: """ - Create a new section group in the specified notebook. This API is available in the following national cloud deployments. + Create a new section group in the specified notebook. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SectionGroup] @@ -92,7 +92,7 @@ async def post(self,body: Optional[SectionGroup] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of section groups from the specified notebook. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified notebook. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SectionGroup] = None, request_configuration: Optional[SectionGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new section group in the specified notebook. This API is available in the following national cloud deployments. + Create a new section group in the specified notebook. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[SectionGroup] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionGroupsRequestBuilderGetQueryParameters(): """ - Retrieve a list of section groups from the specified notebook. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified notebook. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py index 438a36bf2a9..963c70e9735 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py index 151569d6fe8..73ab8b29e6c 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, re def to_post_request_information(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionGroupPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.py index d0d4820a090..e0688518fcb 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenoteSe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenoteSectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenoteSecti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[OnenoteSectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[OnenoteSection] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.py index a9fb5d80f05..731a1a4b9bd 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py index 0a43f86419f..b6d719b62ba 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.py index 4ff9dab58c3..4ad26aa1905 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenotePa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenotePageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenotePageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[OnenotePageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[OnenotePage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py index 3df4f2e89db..9822d85ab63 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[OnenotePatchContentPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py index 0020df1de04..30548192438 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/parent_section/parent_section_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/parent_section/parent_section_request_builder.py index 1bd55532d5f..34c8cb8a964 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/parent_section/parent_section_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/parent_section/parent_section_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/preview/preview_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/preview/preview_request_builder.py index c83cdf9e0f3..05d50ee1ae1 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/preview/preview_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/preview/preview_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[PreviewReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PreviewRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.py index e1be0b71502..947f72241b2 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PagesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[PagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnenotePage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/parent_notebook/parent_notebook_request_builder.py index 307ccfda352..6374fbcfbb7 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/parent_section_group/parent_section_group_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/parent_section_group/parent_section_group_request_builder.py index d69d950eebc..d3f9c514e19 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/parent_section_group/parent_section_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/item/parent_section_group/parent_section_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionGroupRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/sections_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/sections_request_builder.py index 972f4ea29ff..1f788516fcf 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/sections_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/item/sections/sections_request_builder.py @@ -45,7 +45,7 @@ def by_onenote_section_id(self,onenote_section_id: str) -> OnenoteSectionItemReq async def get(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> Optional[OnenoteSectionCollectionResponse]: """ - Retrieve a list of section objects from the specified notebook. This API is available in the following national cloud deployments. + Retrieve a list of section objects from the specified notebook. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSectionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/notebook-list-sections?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SectionsRequestBuilderGetRequ async def post(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[SectionsRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteSection]: """ - Create a new section in the specified notebook. This API is available in the following national cloud deployments. + Create a new section in the specified notebook. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSection] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OnenoteSection] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of section objects from the specified notebook. This API is available in the following national cloud deployments. + Retrieve a list of section objects from the specified notebook. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SectionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[SectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new section in the specified notebook. This API is available in the following national cloud deployments. + Create a new section in the specified notebook. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OnenoteSection] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionsRequestBuilderGetQueryParameters(): """ - Retrieve a list of section objects from the specified notebook. This API is available in the following national cloud deployments. + Retrieve a list of section objects from the specified notebook. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/onenote/notebooks/notebooks_request_builder.py b/msgraph_beta/generated/groups/item/onenote/notebooks/notebooks_request_builder.py index 13a6af9df2e..b02425b30b5 100644 --- a/msgraph_beta/generated/groups/item/onenote/notebooks/notebooks_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/notebooks/notebooks_request_builder.py @@ -47,7 +47,7 @@ def by_notebook_id(self,notebook_id: str) -> NotebookItemRequestBuilder: async def get(self,request_configuration: Optional[NotebooksRequestBuilderGetRequestConfiguration] = None) -> Optional[NotebookCollectionResponse]: """ - Retrieve a list of notebook objects. This API is available in the following national cloud deployments. + Retrieve a list of notebook objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[NotebookCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/onenote-list-notebooks?view=graph-rest-1.0 @@ -81,7 +81,7 @@ def get_recent_notebooks_with_include_personal_notebooks(self,include_personal_n async def post(self,body: Optional[Notebook] = None, request_configuration: Optional[NotebooksRequestBuilderPostRequestConfiguration] = None) -> Optional[Notebook]: """ - Create a new OneNote notebook. This API is available in the following national cloud deployments. + Create a new OneNote notebook. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Notebook] @@ -106,7 +106,7 @@ async def post(self,body: Optional[Notebook] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[NotebooksRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of notebook objects. This API is available in the following national cloud deployments. + Retrieve a list of notebook objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -118,12 +118,12 @@ def to_get_request_information(self,request_configuration: Optional[NotebooksReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Notebook] = None, request_configuration: Optional[NotebooksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new OneNote notebook. This API is available in the following national cloud deployments. + Create a new OneNote notebook. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -137,7 +137,7 @@ def to_post_request_information(self,body: Optional[Notebook] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -172,7 +172,7 @@ def get_notebook_from_web_url(self) -> GetNotebookFromWebUrlRequestBuilder: @dataclass class NotebooksRequestBuilderGetQueryParameters(): """ - Retrieve a list of notebook objects. This API is available in the following national cloud deployments. + Retrieve a list of notebook objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/onenote/onenote_request_builder.py b/msgraph_beta/generated/groups/item/onenote/onenote_request_builder.py index 4a0b33962ee..7cb9dd74582 100644 --- a/msgraph_beta/generated/groups/item/onenote/onenote_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/onenote_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenoteRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenoteRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenoteReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Onenote] = None, request_configuration: Optional[OnenoteRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[Onenote] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/operations/item/onenote_operation_item_request_builder.py b/msgraph_beta/generated/groups/item/onenote/operations/item/onenote_operation_item_request_builder.py index 95ca15dc4f5..87673d2e1ad 100644 --- a/msgraph_beta/generated/groups/item/onenote/operations/item/onenote_operation_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/operations/item/onenote_operation_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[OnenoteOperationItemReques async def get(self,request_configuration: Optional[OnenoteOperationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] Find more info here: https://learn.microsoft.com/graph/api/onenoteoperation-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[OnenoteOp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenoteOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenoteOpera request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenoteOperation] = None, request_configuration: Optional[OnenoteOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[OnenoteOperation] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class OnenoteOperationItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class OnenoteOperationItemRequestBuilderGetQueryParameters(): """ - Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/onenote/operations/operations_request_builder.py b/msgraph_beta/generated/groups/item/onenote/operations/operations_request_builder.py index 5f09dd42ca7..ba5d3c57618 100644 --- a/msgraph_beta/generated/groups/item/onenote/operations/operations_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/operations/operations_request_builder.py @@ -45,7 +45,7 @@ def by_onenote_operation_id(self,onenote_operation_id: str) -> OnenoteOperationI async def get(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> Optional[OnenoteOperationCollectionResponse]: """ - Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperationCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[OnenoteOperation] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenoteOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnenoteOperation] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OperationsRequestBuilderGetQueryParameters(): """ - Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/onenote/pages/item/content/content_request_builder.py b/msgraph_beta/generated/groups/item/onenote/pages/item/content/content_request_builder.py index b28c3931f1a..4727665ed8f 100644 --- a/msgraph_beta/generated/groups/item/onenote/pages/item/content/content_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/pages/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.py b/msgraph_beta/generated/groups/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.py index 80d0b9980b5..ed027fe283e 100644 --- a/msgraph_beta/generated/groups/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/pages/item/onenote_page_item_request_builder.py b/msgraph_beta/generated/groups/item/onenote/pages/item/onenote_page_item_request_builder.py index 87111877720..17e312b3875 100644 --- a/msgraph_beta/generated/groups/item/onenote/pages/item/onenote_page_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/pages/item/onenote_page_item_request_builder.py @@ -34,7 +34,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[OnenotePageItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a OneNote page. This API is available in the following national cloud deployments. + Delete a OneNote page. 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/page-delete?view=graph-rest-1.0 @@ -99,7 +99,7 @@ async def patch(self,body: Optional[OnenotePage] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[OnenotePageItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a OneNote page. This API is available in the following national cloud deployments. + Delete a OneNote page. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -110,7 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenotePa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenotePageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenotePageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[OnenotePageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[OnenotePage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py b/msgraph_beta/generated/groups/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py index 9bef79a06dd..aadef249fdf 100644 --- a/msgraph_beta/generated/groups/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[OnenotePatchContentPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/pages/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/groups/item/onenote/pages/item/parent_notebook/parent_notebook_request_builder.py index 913f75af5a4..2a4bf555f55 100644 --- a/msgraph_beta/generated/groups/item/onenote/pages/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/pages/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/pages/item/parent_section/parent_section_request_builder.py b/msgraph_beta/generated/groups/item/onenote/pages/item/parent_section/parent_section_request_builder.py index ce208f7692d..09899e6e723 100644 --- a/msgraph_beta/generated/groups/item/onenote/pages/item/parent_section/parent_section_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/pages/item/parent_section/parent_section_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/pages/item/preview/preview_request_builder.py b/msgraph_beta/generated/groups/item/onenote/pages/item/preview/preview_request_builder.py index 967ceac052c..5a02e45e6a6 100644 --- a/msgraph_beta/generated/groups/item/onenote/pages/item/preview/preview_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/pages/item/preview/preview_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[PreviewReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PreviewRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/pages/pages_request_builder.py b/msgraph_beta/generated/groups/item/onenote/pages/pages_request_builder.py index e7ca283ea9d..a0311b4e6c9 100644 --- a/msgraph_beta/generated/groups/item/onenote/pages/pages_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/pages/pages_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PagesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[PagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnenotePage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/resources/item/content/content_request_builder.py b/msgraph_beta/generated/groups/item/onenote/resources/item/content/content_request_builder.py index 5bd85a233af..a8aade0dafa 100644 --- a/msgraph_beta/generated/groups/item/onenote/resources/item/content/content_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/resources/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/resources/item/onenote_resource_item_request_builder.py b/msgraph_beta/generated/groups/item/onenote/resources/item/onenote_resource_item_request_builder.py index a952614d1d1..5cadc22f1e6 100644 --- a/msgraph_beta/generated/groups/item/onenote/resources/item/onenote_resource_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/resources/item/onenote_resource_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenoteRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenoteResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenoteResou request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenoteResource] = None, request_configuration: Optional[OnenoteResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[OnenoteResource] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/resources/resources_request_builder.py b/msgraph_beta/generated/groups/item/onenote/resources/resources_request_builder.py index 2cec33343f8..f6e2d9ac72a 100644 --- a/msgraph_beta/generated/groups/item/onenote/resources/resources_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/resources/resources_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourcesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenoteResource] = None, request_configuration: Optional[ResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnenoteResource] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/section_groups/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/groups/item/onenote/section_groups/item/parent_notebook/parent_notebook_request_builder.py index f5bccd8f72c..709f60f7c8f 100644 --- a/msgraph_beta/generated/groups/item/onenote/section_groups/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/section_groups/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/section_groups/item/parent_section_group/parent_section_group_request_builder.py b/msgraph_beta/generated/groups/item/onenote/section_groups/item/parent_section_group/parent_section_group_request_builder.py index dbd1c4949d2..d87078483f0 100644 --- a/msgraph_beta/generated/groups/item/onenote/section_groups/item/parent_section_group/parent_section_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/section_groups/item/parent_section_group/parent_section_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionGroupRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/section_groups/item/section_group_item_request_builder.py b/msgraph_beta/generated/groups/item/onenote/section_groups/item/section_group_item_request_builder.py index b30270a9d00..24441dc5d47 100644 --- a/msgraph_beta/generated/groups/item/onenote/section_groups/item/section_group_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/section_groups/item/section_group_item_request_builder.py @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[SectionGroupItemRequestBui async def get(self,request_configuration: Optional[SectionGroupItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SectionGroup]: """ - Retrieve the properties and relationships of a sectionGroup object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a sectionGroup object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SectionGroup] Find more info here: https://learn.microsoft.com/graph/api/sectiongroup-get?view=graph-rest-1.0 @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[SectionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SectionGroupItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a sectionGroup object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a sectionGroup object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SectionGroup] = None, request_configuration: Optional[SectionGroupItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[SectionGroup] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -207,7 +207,7 @@ class SectionGroupItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class SectionGroupItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a sectionGroup object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a sectionGroup object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/onenote/section_groups/item/section_groups/item/section_group_item_request_builder.py b/msgraph_beta/generated/groups/item/onenote/section_groups/item/section_groups/item/section_group_item_request_builder.py index 11abf3798d9..cbccfddfe19 100644 --- a/msgraph_beta/generated/groups/item/onenote/section_groups/item/section_groups/item/section_group_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/section_groups/item/section_groups/item/section_group_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SectionGroupItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/section_groups/item/section_groups/section_groups_request_builder.py b/msgraph_beta/generated/groups/item/onenote/section_groups/item/section_groups/section_groups_request_builder.py index 89ea6842db7..c5a17db5196 100644 --- a/msgraph_beta/generated/groups/item/onenote/section_groups/item/section_groups/section_groups_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/section_groups/item/section_groups/section_groups_request_builder.py @@ -44,7 +44,7 @@ def by_section_group_id1(self,section_group_id1: str) -> SectionGroupItemRequest async def get(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[SectionGroupCollectionResponse]: """ - Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SectionGroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sectiongroup-list-sectiongroups?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[SectionGroupsRequestBuilderGe def to_get_request_information(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SectionGroupsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionGroupsRequestBuilderGetQueryParameters(): """ - Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified section group. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py index c1c5c9e5202..41a9792084c 100644 --- a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py index 84f536c02a5..fb0ace335e1 100644 --- a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, re def to_post_request_information(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionGroupPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.py b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.py index df52b085cb5..686c645de32 100644 --- a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenoteSe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenoteSectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenoteSecti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[OnenoteSectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[OnenoteSection] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.py b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.py index ed356df8e72..388353b0309 100644 --- a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py index ae9fbba8899..1f5a2b87065 100644 --- a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py index 251a0cc5ee6..632ea67f3f6 100644 --- a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenotePa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenotePageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenotePageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[OnenotePageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[OnenotePage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py index f83335c1479..f19a15a7836 100644 --- a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[OnenotePatchContentPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py index f6120a18f7d..8c19e1a1d37 100644 --- a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py index 1fcdcb0998a..07cbfe3c4f2 100644 --- a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py index e5a8bb7ac44..b129f93bf46 100644 --- a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[PreviewReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PreviewRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.py b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.py index 85f151ef4b3..3433f00077a 100644 --- a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PagesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[PagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnenotePage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py index eb8f13b6bcb..23a468c811d 100644 --- a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py index ae4da23b367..8030153331d 100644 --- a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionGroupRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/sections_request_builder.py b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/sections_request_builder.py index 162fea3099c..03c39cd173a 100644 --- a/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/sections_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/section_groups/item/sections/sections_request_builder.py @@ -45,7 +45,7 @@ def by_onenote_section_id(self,onenote_section_id: str) -> OnenoteSectionItemReq async def get(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> Optional[OnenoteSectionCollectionResponse]: """ - Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of onenoteSection objects from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSectionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sectiongroup-list-sections?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SectionsRequestBuilderGetRequ async def post(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[SectionsRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteSection]: """ - Create a new section in the specified section group. This API is available in the following national cloud deployments. + Create a new section in the specified section group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSection] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OnenoteSection] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of onenoteSection objects from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SectionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[SectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new section in the specified section group. This API is available in the following national cloud deployments. + Create a new section in the specified section group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OnenoteSection] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionsRequestBuilderGetQueryParameters(): """ - Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of onenoteSection objects from the specified section group. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/onenote/section_groups/section_groups_request_builder.py b/msgraph_beta/generated/groups/item/onenote/section_groups/section_groups_request_builder.py index 4a0ccaf4c01..63c6c8987c7 100644 --- a/msgraph_beta/generated/groups/item/onenote/section_groups/section_groups_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/section_groups/section_groups_request_builder.py @@ -45,7 +45,7 @@ def by_section_group_id(self,section_group_id: str) -> SectionGroupItemRequestBu async def get(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[SectionGroupCollectionResponse]: """ - Retrieve a list of sectionGroup objects. This API is available in the following national cloud deployments. + Retrieve a list of sectionGroup objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SectionGroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/onenote-list-sectiongroups?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[SectionGroup] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of sectionGroup objects. This API is available in the following national cloud deployments. + Retrieve a list of sectionGroup objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SectionGroup] = None, request_configuration: Optional[SectionGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SectionGroup] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionGroupsRequestBuilderGetQueryParameters(): """ - Retrieve a list of sectionGroup objects. This API is available in the following national cloud deployments. + Retrieve a list of sectionGroup objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py b/msgraph_beta/generated/groups/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py index 897a46e96f8..050628620f9 100644 --- a/msgraph_beta/generated/groups/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py b/msgraph_beta/generated/groups/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py index 48a9c1fa328..3d9769a01d5 100644 --- a/msgraph_beta/generated/groups/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, re def to_post_request_information(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionGroupPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/sections/item/onenote_section_item_request_builder.py b/msgraph_beta/generated/groups/item/onenote/sections/item/onenote_section_item_request_builder.py index b918f3f5fa2..d878483f442 100644 --- a/msgraph_beta/generated/groups/item/onenote/sections/item/onenote_section_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/sections/item/onenote_section_item_request_builder.py @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[OnenoteSectionItemRequestB async def get(self,request_configuration: Optional[OnenoteSectionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OnenoteSection]: """ - Retrieve the properties and relationships of a section object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a section object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSection] Find more info here: https://learn.microsoft.com/graph/api/section-get?view=graph-rest-1.0 @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[OnenoteSe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenoteSectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a section object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a section object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenoteSecti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[OnenoteSectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[OnenoteSection] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -217,7 +217,7 @@ class OnenoteSectionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class OnenoteSectionItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a section object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a section object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/content/content_request_builder.py b/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/content/content_request_builder.py index f9f4215a68d..e7ffc8854a1 100644 --- a/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/content/content_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py b/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py index d3a39a300c5..141b4f50462 100644 --- a/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.py b/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.py index 63b47e86053..50cd08c6bb6 100644 --- a/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenotePa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenotePageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenotePageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[OnenotePageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[OnenotePage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py b/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py index 2d57ed41072..b84817872d1 100644 --- a/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[OnenotePatchContentPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py index 18e429225e1..ae7123d1b1a 100644 --- a/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/parent_section/parent_section_request_builder.py b/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/parent_section/parent_section_request_builder.py index eef159e4bb6..76390b89ad0 100644 --- a/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/parent_section/parent_section_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/parent_section/parent_section_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/preview/preview_request_builder.py b/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/preview/preview_request_builder.py index 181a5776ac2..7f2ac6bded4 100644 --- a/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/preview/preview_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/sections/item/pages/item/preview/preview_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[PreviewReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PreviewRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/sections/item/pages/pages_request_builder.py b/msgraph_beta/generated/groups/item/onenote/sections/item/pages/pages_request_builder.py index 3aa88176dd3..68da657c211 100644 --- a/msgraph_beta/generated/groups/item/onenote/sections/item/pages/pages_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/sections/item/pages/pages_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PagesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[PagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnenotePage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/onenote/sections/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/groups/item/onenote/sections/item/parent_notebook/parent_notebook_request_builder.py index 3ee9fefcf60..c2f2cc3c1d6 100644 --- a/msgraph_beta/generated/groups/item/onenote/sections/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/sections/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/sections/item/parent_section_group/parent_section_group_request_builder.py b/msgraph_beta/generated/groups/item/onenote/sections/item/parent_section_group/parent_section_group_request_builder.py index 840a9faaf03..5e2e56f99fa 100644 --- a/msgraph_beta/generated/groups/item/onenote/sections/item/parent_section_group/parent_section_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/sections/item/parent_section_group/parent_section_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionGroupRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/onenote/sections/sections_request_builder.py b/msgraph_beta/generated/groups/item/onenote/sections/sections_request_builder.py index a675cf3320c..682707e3706 100644 --- a/msgraph_beta/generated/groups/item/onenote/sections/sections_request_builder.py +++ b/msgraph_beta/generated/groups/item/onenote/sections/sections_request_builder.py @@ -45,7 +45,7 @@ def by_onenote_section_id(self,onenote_section_id: str) -> OnenoteSectionItemReq async def get(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> Optional[OnenoteSectionCollectionResponse]: """ - Retrieve a list of section objects. This API is available in the following national cloud deployments. + Retrieve a list of section objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSectionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/onenote-list-sections?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[OnenoteSection] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of section objects. This API is available in the following national cloud deployments. + Retrieve a list of section objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[SectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[OnenoteSection] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionsRequestBuilderGetQueryParameters(): """ - Retrieve a list of section objects. This API is available in the following national cloud deployments. + Retrieve a list of section objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/owners/graph_application/graph_application_request_builder.py b/msgraph_beta/generated/groups/item/owners/graph_application/graph_application_request_builder.py index 336461569f0..cf78cf43fb2 100644 --- a/msgraph_beta/generated/groups/item/owners/graph_application/graph_application_request_builder.py +++ b/msgraph_beta/generated/groups/item/owners/graph_application/graph_application_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphApplica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphApplicationRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/owners/graph_device/graph_device_request_builder.py b/msgraph_beta/generated/groups/item/owners/graph_device/graph_device_request_builder.py index fdd310d4de8..f2633aca4ca 100644 --- a/msgraph_beta/generated/groups/item/owners/graph_device/graph_device_request_builder.py +++ b/msgraph_beta/generated/groups/item/owners/graph_device/graph_device_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphDeviceR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphDeviceRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/owners/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/groups/item/owners/graph_group/graph_group_request_builder.py index c27783e23e1..7dfbd9822f6 100644 --- a/msgraph_beta/generated/groups/item/owners/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/owners/graph_group/graph_group_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/owners/graph_org_contact/graph_org_contact_request_builder.py b/msgraph_beta/generated/groups/item/owners/graph_org_contact/graph_org_contact_request_builder.py index 5baa6c99664..c25e12c7108 100644 --- a/msgraph_beta/generated/groups/item/owners/graph_org_contact/graph_org_contact_request_builder.py +++ b/msgraph_beta/generated/groups/item/owners/graph_org_contact/graph_org_contact_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphOrgCont request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphOrgContactRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/owners/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/groups/item/owners/graph_service_principal/graph_service_principal_request_builder.py index 93ef5c2dea5..657494f88d3 100644 --- a/msgraph_beta/generated/groups/item/owners/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/groups/item/owners/graph_service_principal/graph_service_principal_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/owners/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/groups/item/owners/graph_user/graph_user_request_builder.py index 581bf7fe106..3754998ad6d 100644 --- a/msgraph_beta/generated/groups/item/owners/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/groups/item/owners/graph_user/graph_user_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/owners/item/graph_application/graph_application_request_builder.py b/msgraph_beta/generated/groups/item/owners/item/graph_application/graph_application_request_builder.py index 83271eebee0..1f48c0fe9bb 100644 --- a/msgraph_beta/generated/groups/item/owners/item/graph_application/graph_application_request_builder.py +++ b/msgraph_beta/generated/groups/item/owners/item/graph_application/graph_application_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphApplica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphApplicationRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/owners/item/graph_device/graph_device_request_builder.py b/msgraph_beta/generated/groups/item/owners/item/graph_device/graph_device_request_builder.py index eea63fe1dae..4a18c6dbbfb 100644 --- a/msgraph_beta/generated/groups/item/owners/item/graph_device/graph_device_request_builder.py +++ b/msgraph_beta/generated/groups/item/owners/item/graph_device/graph_device_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphDeviceR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphDeviceRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/owners/item/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/groups/item/owners/item/graph_group/graph_group_request_builder.py index b6372f600e2..284406f8ef1 100644 --- a/msgraph_beta/generated/groups/item/owners/item/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/owners/item/graph_group/graph_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/owners/item/graph_org_contact/graph_org_contact_request_builder.py b/msgraph_beta/generated/groups/item/owners/item/graph_org_contact/graph_org_contact_request_builder.py index 2cc30b87939..d46f13638d3 100644 --- a/msgraph_beta/generated/groups/item/owners/item/graph_org_contact/graph_org_contact_request_builder.py +++ b/msgraph_beta/generated/groups/item/owners/item/graph_org_contact/graph_org_contact_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphOrgCont request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphOrgContactRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/owners/item/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/groups/item/owners/item/graph_service_principal/graph_service_principal_request_builder.py index befa9ad6ef3..03a6730aaa7 100644 --- a/msgraph_beta/generated/groups/item/owners/item/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/groups/item/owners/item/graph_service_principal/graph_service_principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/owners/item/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/groups/item/owners/item/graph_user/graph_user_request_builder.py index aac46a8ecab..1c21a722f6b 100644 --- a/msgraph_beta/generated/groups/item/owners/item/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/groups/item/owners/item/graph_user/graph_user_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/owners/item/ref/ref_request_builder.py b/msgraph_beta/generated/groups/item/owners/item/ref/ref_request_builder.py index 1b677a907f4..d1fe5702555 100644 --- a/msgraph_beta/generated/groups/item/owners/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/groups/item/owners/item/ref/ref_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Use this API to remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. This API is available in the following national cloud deployments. + Use this API to remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. 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/group-delete-owners?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Use this API to remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. This API is available in the following national cloud deployments. + Use this API to remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Use this API to remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. This API is available in the following national cloud deployments. + Use this API to remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/owners/owners_request_builder.py b/msgraph_beta/generated/groups/item/owners/owners_request_builder.py index 5f2cb472955..74f67e2ae68 100644 --- a/msgraph_beta/generated/groups/item/owners/owners_request_builder.py +++ b/msgraph_beta/generated/groups/item/owners/owners_request_builder.py @@ -38,7 +38,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.groups.item.owners.item collection - param directory_object_id: Unique identifier of the item + param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ if not directory_object_id: @@ -51,7 +51,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem async def get(self,request_configuration: Optional[OwnersRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryObjectCollectionResponse]: """ - The owners of the group who can be users or service principals. Nullable. If this property is not specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1); Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). + The owners of the group who can be users or service principals. Nullable. If this property isn't specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1); Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/group-list-owners?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[OwnersRequestBuilderGetReques def to_get_request_information(self,request_configuration: Optional[OwnersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - The owners of the group who can be users or service principals. Nullable. If this property is not specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1); Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). + The owners of the group who can be users or service principals. Nullable. If this property isn't specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1); Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[OwnersReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> OwnersRequestBuilder: @@ -173,7 +173,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class OwnersRequestBuilderGetQueryParameters(): """ - The owners of the group who can be users or service principals. Nullable. If this property is not specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1); Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). + The owners of the group who can be users or service principals. Nullable. If this property isn't specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1); Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/owners/ref/ref_request_builder.py b/msgraph_beta/generated/groups/item/owners/ref/ref_request_builder.py index 5641c930f7d..dd780c69678 100644 --- a/msgraph_beta/generated/groups/item/owners/ref/ref_request_builder.py +++ b/msgraph_beta/generated/groups/item/owners/ref/ref_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - The owners of the group who can be users or service principals. Nullable. If this property is not specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1); Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). + The owners of the group who can be users or service principals. Nullable. If this property isn't specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1); Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/group-list-owners?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add a user or service principal to a Microsoft 365 or security group's owners. The owners are a set of users or service principals who are allowed to modify the group object. This API is available in the following national cloud deployments. + Add a user or service principal to a Microsoft 365 or security group's owners. The owners are a set of users or service principals who are allowed to modify the group object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -74,7 +74,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - The owners of the group who can be users or service principals. Nullable. If this property is not specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1); Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). + The owners of the group who can be users or service principals. Nullable. If this property isn't specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1); Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a user or service principal to a Microsoft 365 or security group's owners. The owners are a set of users or service principals who are allowed to modify the group object. This API is available in the following national cloud deployments. + Add a user or service principal to a Microsoft 365 or security group's owners. The owners are a set of users or service principals who are allowed to modify the group object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -122,7 +122,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderGetQueryParameters(): """ - The owners of the group who can be users or service principals. Nullable. If this property is not specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1); Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). + The owners of the group who can be users or service principals. Nullable. If this property isn't specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1); Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/permission_grants/item/resource_specific_permission_grant_item_request_builder.py b/msgraph_beta/generated/groups/item/permission_grants/item/resource_specific_permission_grant_item_request_builder.py index 5670bfa2495..e4c6bca9aa4 100644 --- a/msgraph_beta/generated/groups/item/permission_grants/item/resource_specific_permission_grant_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/permission_grants/item/resource_specific_permission_grant_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ResourceSpecificPermission async def get(self,request_configuration: Optional[ResourceSpecificPermissionGrantItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ResourceSpecificPermissionGrant]: """ - The permissions that have been granted for a group to a specific application. Supports $expand. + The permissions granted for a group to a specific application. Supports $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ResourceSpecificPermissionGrant] """ @@ -103,12 +103,12 @@ def to_delete_request_information(self,request_configuration: Optional[ResourceS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ResourceSpecificPermissionGrantItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - The permissions that have been granted for a group to a specific application. Supports $expand. + The permissions granted for a group to a specific application. Supports $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceSpec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ResourceSpecificPermissionGrant] = None, request_configuration: Optional[ResourceSpecificPermissionGrantItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ResourceSpecificPermissionG request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -166,7 +166,7 @@ class ResourceSpecificPermissionGrantItemRequestBuilderDeleteRequestConfiguratio @dataclass class ResourceSpecificPermissionGrantItemRequestBuilderGetQueryParameters(): """ - The permissions that have been granted for a group to a specific application. Supports $expand. + The permissions granted for a group to a specific application. Supports $expand. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/permission_grants/permission_grants_request_builder.py b/msgraph_beta/generated/groups/item/permission_grants/permission_grants_request_builder.py index 77a9d08c44a..a9304bf4f67 100644 --- a/msgraph_beta/generated/groups/item/permission_grants/permission_grants_request_builder.py +++ b/msgraph_beta/generated/groups/item/permission_grants/permission_grants_request_builder.py @@ -45,7 +45,7 @@ def by_resource_specific_permission_grant_id(self,resource_specific_permission_g async def get(self,request_configuration: Optional[PermissionGrantsRequestBuilderGetRequestConfiguration] = None) -> Optional[ResourceSpecificPermissionGrantCollectionResponse]: """ - List all resource-specific permission grants on the group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + List all resource-specific permission grants on the group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ResourceSpecificPermissionGrantCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/group-list-permissiongrants?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ResourceSpecificPermissionGrant] = None, requ def to_get_request_information(self,request_configuration: Optional[PermissionGrantsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all resource-specific permission grants on the group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + List all resource-specific permission grants on the group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PermissionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ResourceSpecificPermissionGrant] = None, request_configuration: Optional[PermissionGrantsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ResourceSpecificPermissionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PermissionGrantsRequestBuilderGetQueryParameters(): """ - List all resource-specific permission grants on the group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + List all resource-specific permission grants on the group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/photo/photo_request_builder.py b/msgraph_beta/generated/groups/item/photo/photo_request_builder.py index 83d282812d0..d4507219d5c 100644 --- a/msgraph_beta/generated/groups/item/photo/photo_request_builder.py +++ b/msgraph_beta/generated/groups/item/photo/photo_request_builder.py @@ -27,25 +27,6 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni """ super().__init__(request_adapter, "{+baseurl}/groups/{group%2Did}/photo{?%24select}", path_parameters) - async def delete(self,request_configuration: Optional[PhotoRequestBuilderDeleteRequestConfiguration] = None) -> None: - """ - Delete navigation property photo for groups - 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, ParsableFactory] = { - "4XX": ODataError, - "5XX": 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[PhotoRequestBuilderGetRequestConfiguration] = None) -> Optional[ProfilePhoto]: """ The group's profile photo. @@ -91,22 +72,6 @@ async def patch(self,body: Optional[ProfilePhoto] = None, request_configuration: return await self.request_adapter.send_async(request_info, ProfilePhoto, error_mapping) - def to_delete_request_information(self,request_configuration: Optional[PhotoRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: - """ - Delete navigation property photo for groups - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") - return request_info - def to_get_request_information(self,request_configuration: Optional[PhotoRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ The group's profile photo. @@ -121,7 +86,7 @@ def to_get_request_information(self,request_configuration: Optional[PhotoRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ProfilePhoto] = None, request_configuration: Optional[PhotoRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +105,7 @@ def to_patch_request_information(self,body: Optional[ProfilePhoto] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -163,16 +128,6 @@ def content(self) -> ContentRequestBuilder: return ContentRequestBuilder(self.request_adapter, self.path_parameters) - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class PhotoRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - @dataclass class PhotoRequestBuilderGetQueryParameters(): """ diff --git a/msgraph_beta/generated/groups/item/photo/value/content_request_builder.py b/msgraph_beta/generated/groups/item/photo/value/content_request_builder.py index 4fff54065a7..400d3c8d158 100644 --- a/msgraph_beta/generated/groups/item/photo/value/content_request_builder.py +++ b/msgraph_beta/generated/groups/item/photo/value/content_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -98,7 +98,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/groups/item/photos/item/profile_photo_item_request_builder.py b/msgraph_beta/generated/groups/item/photos/item/profile_photo_item_request_builder.py index d85ccbb770f..7313ec2e61d 100644 --- a/msgraph_beta/generated/groups/item/photos/item/profile_photo_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/photos/item/profile_photo_item_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ProfilePhoto request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ProfilePhotoItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/photos/item/value/content_request_builder.py b/msgraph_beta/generated/groups/item/photos/item/value/content_request_builder.py index f4f3457cf63..425679ccc0c 100644 --- a/msgraph_beta/generated/groups/item/photos/item/value/content_request_builder.py +++ b/msgraph_beta/generated/groups/item/photos/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/groups/item/photos/photos_request_builder.py b/msgraph_beta/generated/groups/item/photos/photos_request_builder.py index fdfd07793c6..3522c13c7db 100644 --- a/msgraph_beta/generated/groups/item/photos/photos_request_builder.py +++ b/msgraph_beta/generated/groups/item/photos/photos_request_builder.py @@ -43,7 +43,7 @@ def by_profile_photo_id(self,profile_photo_id: str) -> ProfilePhotoItemRequestBu async def get(self,request_configuration: Optional[PhotosRequestBuilderGetRequestConfiguration] = None) -> Optional[ProfilePhotoCollectionResponse]: """ - Retrieve a list of profilePhoto objects. This API is available in the following national cloud deployments. + Retrieve a list of profilePhoto objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProfilePhotoCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/group-list-photos?view=graph-rest-1.0 @@ -65,7 +65,7 @@ async def get(self,request_configuration: Optional[PhotosRequestBuilderGetReques def to_get_request_information(self,request_configuration: Optional[PhotosRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of profilePhoto objects. This API is available in the following national cloud deployments. + Retrieve a list of profilePhoto objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[PhotosReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PhotosRequestBuilder: @@ -93,7 +93,7 @@ def with_url(self,raw_url: Optional[str] = None) -> PhotosRequestBuilder: @dataclass class PhotosRequestBuilderGetQueryParameters(): """ - Retrieve a list of profilePhoto objects. This API is available in the following national cloud deployments. + Retrieve a list of profilePhoto objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/planner/planner_request_builder.py b/msgraph_beta/generated/groups/item/planner/planner_request_builder.py index 604ca20cfd0..f907047194e 100644 --- a/msgraph_beta/generated/groups/item/planner/planner_request_builder.py +++ b/msgraph_beta/generated/groups/item/planner/planner_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PlannerRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PlannerRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PlannerReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerGroup] = None, request_configuration: Optional[PlannerRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[PlannerGroup] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/planner/plans/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/planner/plans/delta/delta_request_builder.py index 543c53e4249..a4ee3d4e229 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/planner/plans/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/archive/archive_post_request_body.py b/msgraph_beta/generated/groups/item/planner/plans/item/archive/archive_post_request_body.py new file mode 100644 index 00000000000..2ab115bfc27 --- /dev/null +++ b/msgraph_beta/generated/groups/item/planner/plans/item/archive/archive_post_request_body.py @@ -0,0 +1,49 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class ArchivePostRequestBody(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 justification property + justification: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> ArchivePostRequestBody: + """ + 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: ArchivePostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return ArchivePostRequestBody() + + 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]] = { + "justification": lambda n : setattr(self, 'justification', 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("justification", self.justification) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/archive/archive_request_builder.py b/msgraph_beta/generated/groups/item/planner/plans/item/archive/archive_request_builder.py new file mode 100644 index 00000000000..685703d4782 --- /dev/null +++ b/msgraph_beta/generated/groups/item/planner/plans/item/archive/archive_request_builder.py @@ -0,0 +1,91 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .archive_post_request_body import ArchivePostRequestBody + +class ArchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the archive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ArchiveRequestBuilder 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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/archive", path_parameters) + + async def post(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Invoke action archive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action archive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> ArchiveRequestBuilder: + """ + 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: ArchiveRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ArchiveRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ArchiveRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/buckets/buckets_request_builder.py b/msgraph_beta/generated/groups/item/planner/plans/item/buckets/buckets_request_builder.py index c56c832ae69..d14fb8f183c 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/item/buckets/buckets_request_builder.py +++ b/msgraph_beta/generated/groups/item/planner/plans/item/buckets/buckets_request_builder.py @@ -46,7 +46,7 @@ def by_planner_bucket_id(self,planner_bucket_id: str) -> PlannerBucketItemReques async def get(self,request_configuration: Optional[BucketsRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerBucketCollectionResponse]: """ - Retrieve a list of plannerBucket objects contained by a plannerPlan object. This API is available in the following national cloud deployments. + Retrieve a list of plannerBucket objects contained by a plannerPlan object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerBucketCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/plannerplan-list-buckets?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[PlannerBucket] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[BucketsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of plannerBucket objects contained by a plannerPlan object. This API is available in the following national cloud deployments. + Retrieve a list of plannerBucket objects contained by a plannerPlan object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[BucketsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PlannerBucket] = None, request_configuration: Optional[BucketsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PlannerBucket] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class BucketsRequestBuilderGetQueryParameters(): """ - Retrieve a list of plannerBucket objects contained by a plannerPlan object. This API is available in the following national cloud deployments. + Retrieve a list of plannerBucket objects contained by a plannerPlan object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/buckets/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/planner/plans/item/buckets/delta/delta_request_builder.py index 526f09ced7b..f173c746051 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/item/buckets/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/planner/plans/item/buckets/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/planner_bucket_item_request_builder.py b/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/planner_bucket_item_request_builder.py index 9a0684c3b53..4f46e160e09 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/planner_bucket_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/planner_bucket_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PlannerBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PlannerBucketItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PlannerBucke request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerBucket] = None, request_configuration: Optional[PlannerBucketItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[PlannerBucket] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/delta/delta_request_builder.py index 9416edc8d11..0032ba6db07 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py b/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py index f9a0803b640..84cbe153feb 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py +++ b/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[AssignedToTaskBoardFormatR async def get(self,request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerAssignedToTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerAssignedToTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[AssignedT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignedToTa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerAssignedToTaskBoardTaskFormat] = None, request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerAssignedToTaskBoardT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class AssignedToTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class AssignedToTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py b/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py index ee53a2e184e..8e30bbacada 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py +++ b/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[BucketTaskBoardFormatReque async def get(self,request_configuration: Optional[BucketTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerBucketTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerBucketTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[BucketTas request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BucketTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[BucketTaskBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerBucketTaskBoardTaskFormat] = None, request_configuration: Optional[BucketTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerBucketTaskBoardTaskF request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class BucketTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class BucketTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/details/details_request_builder.py b/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/details/details_request_builder.py index 646895a63fa..42f13095040 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/details/details_request_builder.py +++ b/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/details/details_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[DetailsRequestBuilderDelet async def get(self,request_configuration: Optional[DetailsRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerTaskDetails]: """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerTaskDetails] Find more info here: https://learn.microsoft.com/graph/api/plannertaskdetails-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[DetailsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DetailsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[DetailsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerTaskDetails] = None, request_configuration: Optional[DetailsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerTaskDetails] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class DetailsRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class DetailsRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/planner_task_item_request_builder.py b/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/planner_task_item_request_builder.py index 37915f30989..7b5ebac23a2 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/planner_task_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/planner_task_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[PlannerTa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PlannerTaskItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[PlannerTaskI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerTask] = None, request_configuration: Optional[PlannerTaskItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[PlannerTask] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py b/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py index 291adc2d458..a970e819325 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py +++ b/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ProgressTaskBoardFormatReq async def get(self,request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerProgressTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerProgressTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ProgressT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ProgressTask request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerProgressTaskBoardTaskFormat] = None, request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerProgressTaskBoardTas request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ProgressTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class ProgressTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/tasks_request_builder.py b/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/tasks_request_builder.py index f2274ab1fe1..51ef48b7779 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/tasks_request_builder.py +++ b/msgraph_beta/generated/groups/item/planner/plans/item/buckets/item/tasks/tasks_request_builder.py @@ -46,7 +46,7 @@ def by_planner_task_id(self,planner_task_id: str) -> PlannerTaskItemRequestBuild async def get(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerTaskCollectionResponse]: """ - Retrieve a list of plannerTask objects associated to a plannerBucket object. This API is available in the following national cloud deployments. + Retrieve a list of plannerTask objects associated to a plannerBucket object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerTaskCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/plannerbucket-list-tasks?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[PlannerTask] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of plannerTask objects associated to a plannerBucket object. This API is available in the following national cloud deployments. + Retrieve a list of plannerTask objects associated to a plannerBucket object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[TasksRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PlannerTask] = None, request_configuration: Optional[TasksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PlannerTask] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class TasksRequestBuilderGetQueryParameters(): """ - Retrieve a list of plannerTask objects associated to a plannerBucket object. This API is available in the following national cloud deployments. + Retrieve a list of plannerTask objects associated to a plannerBucket object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/details/details_request_builder.py b/msgraph_beta/generated/groups/item/planner/plans/item/details/details_request_builder.py index a47640889fb..9d60505bdfb 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/item/details/details_request_builder.py +++ b/msgraph_beta/generated/groups/item/planner/plans/item/details/details_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[DetailsRequestBuilderDelet async def get(self,request_configuration: Optional[DetailsRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerPlanDetails]: """ - Retrieve the properties and relationships of a plannerPlanDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerPlanDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerPlanDetails] Find more info here: https://learn.microsoft.com/graph/api/plannerplandetails-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[DetailsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DetailsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a plannerPlanDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerPlanDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[DetailsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerPlanDetails] = None, request_configuration: Optional[DetailsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerPlanDetails] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class DetailsRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class DetailsRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a plannerPlanDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerPlanDetails object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/move_to_container/move_to_container_request_builder.py b/msgraph_beta/generated/groups/item/planner/plans/item/move_to_container/move_to_container_request_builder.py index d20e5a53591..05ecff456dd 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/item/move_to_container/move_to_container_request_builder.py +++ b/msgraph_beta/generated/groups/item/planner/plans/item/move_to_container/move_to_container_request_builder.py @@ -29,10 +29,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[MoveToContainerPostRequestBody] = None, request_configuration: Optional[MoveToContainerRequestBuilderPostRequestConfiguration] = None) -> Optional[PlannerPlan]: """ - Invoke action moveToContainer + Move a planner plan object from one planner plan container to another. Planner plans can only be moved from a user container to a group container. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerPlan] + Find more info here: https://learn.microsoft.com/graph/api/plannerplan-movetocontainer?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -53,7 +54,7 @@ async def post(self,body: Optional[MoveToContainerPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[MoveToContainerPostRequestBody] = None, request_configuration: Optional[MoveToContainerRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Invoke action moveToContainer + Move a planner plan object from one planner plan container to another. Planner plans can only be moved from a user container to a group container. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -67,7 +68,7 @@ def to_post_request_information(self,body: Optional[MoveToContainerPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/planner_plan_item_request_builder.py b/msgraph_beta/generated/groups/item/planner/plans/item/planner_plan_item_request_builder.py index edbcc66fb10..9db80891f41 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/item/planner_plan_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/planner/plans/item/planner_plan_item_request_builder.py @@ -12,10 +12,12 @@ if TYPE_CHECKING: from ......models.o_data_errors.o_data_error import ODataError from ......models.planner_plan import PlannerPlan + from .archive.archive_request_builder import ArchiveRequestBuilder from .buckets.buckets_request_builder import BucketsRequestBuilder from .details.details_request_builder import DetailsRequestBuilder from .move_to_container.move_to_container_request_builder import MoveToContainerRequestBuilder from .tasks.tasks_request_builder import TasksRequestBuilder + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder class PlannerPlanItemRequestBuilder(BaseRequestBuilder): """ @@ -107,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[PlannerPl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PlannerPlanItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[PlannerPlanI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerPlan] = None, request_configuration: Optional[PlannerPlanItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +145,7 @@ def to_patch_request_information(self,body: Optional[PlannerPlan] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -157,6 +159,15 @@ def with_url(self,raw_url: Optional[str] = None) -> PlannerPlanItemRequestBuilde raise TypeError("raw_url cannot be null.") return PlannerPlanItemRequestBuilder(self.request_adapter, raw_url) + @property + def archive(self) -> ArchiveRequestBuilder: + """ + Provides operations to call the archive method. + """ + from .archive.archive_request_builder import ArchiveRequestBuilder + + return ArchiveRequestBuilder(self.request_adapter, self.path_parameters) + @property def buckets(self) -> BucketsRequestBuilder: """ @@ -193,6 +204,15 @@ def tasks(self) -> TasksRequestBuilder: return TasksRequestBuilder(self.request_adapter, self.path_parameters) + @property + def unarchive(self) -> UnarchiveRequestBuilder: + """ + Provides operations to call the unarchive method. + """ + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder + + return UnarchiveRequestBuilder(self.request_adapter, self.path_parameters) + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/tasks/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/planner/plans/item/tasks/delta/delta_request_builder.py index c6e03b974f2..243dbf76156 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/item/tasks/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/planner/plans/item/tasks/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py b/msgraph_beta/generated/groups/item/planner/plans/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py index f0393a94f48..35c7e608b46 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py +++ b/msgraph_beta/generated/groups/item/planner/plans/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[AssignedToTaskBoardFormatR async def get(self,request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerAssignedToTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerAssignedToTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[AssignedT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignedToTa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerAssignedToTaskBoardTaskFormat] = None, request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerAssignedToTaskBoardT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class AssignedToTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class AssignedToTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py b/msgraph_beta/generated/groups/item/planner/plans/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py index d26a070df82..c7a9e487922 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py +++ b/msgraph_beta/generated/groups/item/planner/plans/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[BucketTaskBoardFormatReque async def get(self,request_configuration: Optional[BucketTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerBucketTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerBucketTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[BucketTas request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BucketTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[BucketTaskBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerBucketTaskBoardTaskFormat] = None, request_configuration: Optional[BucketTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerBucketTaskBoardTaskF request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class BucketTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class BucketTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/tasks/item/details/details_request_builder.py b/msgraph_beta/generated/groups/item/planner/plans/item/tasks/item/details/details_request_builder.py index 270ef997e84..b4cb110f521 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/item/tasks/item/details/details_request_builder.py +++ b/msgraph_beta/generated/groups/item/planner/plans/item/tasks/item/details/details_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[DetailsRequestBuilderDelet async def get(self,request_configuration: Optional[DetailsRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerTaskDetails]: """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerTaskDetails] Find more info here: https://learn.microsoft.com/graph/api/plannertaskdetails-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[DetailsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DetailsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[DetailsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerTaskDetails] = None, request_configuration: Optional[DetailsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerTaskDetails] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class DetailsRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class DetailsRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/tasks/item/planner_task_item_request_builder.py b/msgraph_beta/generated/groups/item/planner/plans/item/tasks/item/planner_task_item_request_builder.py index 2b33c13438a..f818479bb62 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/item/tasks/item/planner_task_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/planner/plans/item/tasks/item/planner_task_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[PlannerTa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PlannerTaskItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[PlannerTaskI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerTask] = None, request_configuration: Optional[PlannerTaskItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[PlannerTask] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py b/msgraph_beta/generated/groups/item/planner/plans/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py index b266de773cd..ec587bc38f5 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py +++ b/msgraph_beta/generated/groups/item/planner/plans/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ProgressTaskBoardFormatReq async def get(self,request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerProgressTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerProgressTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ProgressT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ProgressTask request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerProgressTaskBoardTaskFormat] = None, request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerProgressTaskBoardTas request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ProgressTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class ProgressTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/tasks/tasks_request_builder.py b/msgraph_beta/generated/groups/item/planner/plans/item/tasks/tasks_request_builder.py index 7ddf6bdb1c4..9708cdee474 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/item/tasks/tasks_request_builder.py +++ b/msgraph_beta/generated/groups/item/planner/plans/item/tasks/tasks_request_builder.py @@ -46,7 +46,7 @@ def by_planner_task_id(self,planner_task_id: str) -> PlannerTaskItemRequestBuild async def get(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerTaskCollectionResponse]: """ - Retrieve a list of plannerTask objects associated with a plannerPlan object. This API is available in the following national cloud deployments. + Retrieve a list of plannerTask objects associated with a plannerPlan object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerTaskCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/plannerplan-list-tasks?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[PlannerTask] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of plannerTask objects associated with a plannerPlan object. This API is available in the following national cloud deployments. + Retrieve a list of plannerTask objects associated with a plannerPlan object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[TasksRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PlannerTask] = None, request_configuration: Optional[TasksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PlannerTask] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class TasksRequestBuilderGetQueryParameters(): """ - Retrieve a list of plannerTask objects associated with a plannerPlan object. This API is available in the following national cloud deployments. + Retrieve a list of plannerTask objects associated with a plannerPlan object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/unarchive/unarchive_post_request_body.py b/msgraph_beta/generated/groups/item/planner/plans/item/unarchive/unarchive_post_request_body.py new file mode 100644 index 00000000000..de33ab15da0 --- /dev/null +++ b/msgraph_beta/generated/groups/item/planner/plans/item/unarchive/unarchive_post_request_body.py @@ -0,0 +1,49 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class UnarchivePostRequestBody(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 justification property + justification: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> UnarchivePostRequestBody: + """ + 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: UnarchivePostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return UnarchivePostRequestBody() + + 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]] = { + "justification": lambda n : setattr(self, 'justification', 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("justification", self.justification) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/groups/item/planner/plans/item/unarchive/unarchive_request_builder.py b/msgraph_beta/generated/groups/item/planner/plans/item/unarchive/unarchive_request_builder.py new file mode 100644 index 00000000000..e968dcadb81 --- /dev/null +++ b/msgraph_beta/generated/groups/item/planner/plans/item/unarchive/unarchive_request_builder.py @@ -0,0 +1,91 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .unarchive_post_request_body import UnarchivePostRequestBody + +class UnarchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the unarchive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new UnarchiveRequestBuilder 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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/unarchive", path_parameters) + + async def post(self,body: Optional[UnarchivePostRequestBody] = None, request_configuration: Optional[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Invoke action unarchive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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: Optional[UnarchivePostRequestBody] = None, request_configuration: Optional[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action unarchive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> UnarchiveRequestBuilder: + """ + 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: UnarchiveRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return UnarchiveRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class UnarchiveRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/groups/item/planner/plans/plans_request_builder.py b/msgraph_beta/generated/groups/item/planner/plans/plans_request_builder.py index 93255c12755..cb1fb638953 100644 --- a/msgraph_beta/generated/groups/item/planner/plans/plans_request_builder.py +++ b/msgraph_beta/generated/groups/item/planner/plans/plans_request_builder.py @@ -46,7 +46,7 @@ def by_planner_plan_id(self,planner_plan_id: str) -> PlannerPlanItemRequestBuild async def get(self,request_configuration: Optional[PlansRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerPlanCollectionResponse]: """ - Retrieve a list of plannerPlan objects owned by a group object. This API is available in the following national cloud deployments. + Retrieve a list of plannerPlan objects owned by a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerPlanCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/plannergroup-list-plans?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[PlannerPlan] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[PlansRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of plannerPlan objects owned by a group object. This API is available in the following national cloud deployments. + Retrieve a list of plannerPlan objects owned by a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[PlansRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PlannerPlan] = None, request_configuration: Optional[PlansRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PlannerPlan] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class PlansRequestBuilderGetQueryParameters(): """ - Retrieve a list of plannerPlan objects owned by a group object. This API is available in the following national cloud deployments. + Retrieve a list of plannerPlan objects owned by a group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/rejected_senders/item/ref/ref_request_builder.py b/msgraph_beta/generated/groups/item/rejected_senders/item/ref/ref_request_builder.py index 418e8c4a9be..9c33041bd48 100644 --- a/msgraph_beta/generated/groups/item/rejected_senders/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/groups/item/rejected_senders/item/ref/ref_request_builder.py @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/rejected_senders/ref/ref_request_builder.py b/msgraph_beta/generated/groups/item/rejected_senders/ref/ref_request_builder.py index e2cff970011..b59e591eb5d 100644 --- a/msgraph_beta/generated/groups/item/rejected_senders/ref/ref_request_builder.py +++ b/msgraph_beta/generated/groups/item/rejected_senders/ref/ref_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - Get a list of users or groups that are in the rejected-senders list for this group. Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. This API is available in the following national cloud deployments. + Get a list of users or groups that are in the rejected-senders list for this group. Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/group-list-rejectedsenders?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add a new user or group to the rejectedSender list. Specify the user or group in @odata.id in the request body. Users in the rejected senders list can't post to conversations of the group (identified in the POST request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you'll get an error. This API is available in the following national cloud deployments. + Add a new user or group to the rejectedSender list. Specify the user or group in @odata.id in the request body. Users in the rejected senders list can't post to conversations of the group (identified in the POST request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you'll get an error. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -74,7 +74,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of users or groups that are in the rejected-senders list for this group. Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. This API is available in the following national cloud deployments. + Get a list of users or groups that are in the rejected-senders list for this group. Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a new user or group to the rejectedSender list. Specify the user or group in @odata.id in the request body. Users in the rejected senders list can't post to conversations of the group (identified in the POST request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you'll get an error. This API is available in the following national cloud deployments. + Add a new user or group to the rejectedSender list. Specify the user or group in @odata.id in the request body. Users in the rejected senders list can't post to conversations of the group (identified in the POST request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you'll get an error. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -122,7 +122,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderGetQueryParameters(): """ - Get a list of users or groups that are in the rejected-senders list for this group. Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. This API is available in the following national cloud deployments. + Get a list of users or groups that are in the rejected-senders list for this group. Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/rejected_senders/rejected_senders_request_builder.py b/msgraph_beta/generated/groups/item/rejected_senders/rejected_senders_request_builder.py index 2f9eebcd7eb..ae8994e3aa0 100644 --- a/msgraph_beta/generated/groups/item/rejected_senders/rejected_senders_request_builder.py +++ b/msgraph_beta/generated/groups/item/rejected_senders/rejected_senders_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.groups.item.rejectedSenders.item collection - param directory_object_id: Unique identifier of the item + param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ if not directory_object_id: @@ -45,7 +45,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem async def get(self,request_configuration: Optional[RejectedSendersRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryObjectCollectionResponse]: """ - Get a list of users or groups that are in the rejected-senders list for this group. Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. This API is available in the following national cloud deployments. + Get a list of users or groups that are in the rejected-senders list for this group. Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/group-list-rejectedsenders?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RejectedSendersRequestBuilder def to_get_request_information(self,request_configuration: Optional[RejectedSendersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of users or groups that are in the rejected-senders list for this group. Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. This API is available in the following national cloud deployments. + Get a list of users or groups that are in the rejected-senders list for this group. Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[RejectedSend request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RejectedSendersRequestBuilder: @@ -113,7 +113,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class RejectedSendersRequestBuilderGetQueryParameters(): """ - Get a list of users or groups that are in the rejected-senders list for this group. Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. This API is available in the following national cloud deployments. + Get a list of users or groups that are in the rejected-senders list for this group. Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/remove_favorite/remove_favorite_request_builder.py b/msgraph_beta/generated/groups/item/remove_favorite/remove_favorite_request_builder.py index e4994aac72b..fc6e801c2d0 100644 --- a/msgraph_beta/generated/groups/item/remove_favorite/remove_favorite_request_builder.py +++ b/msgraph_beta/generated/groups/item/remove_favorite/remove_favorite_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RemoveFavoriteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Remove the group from the list of the current user's favorite groups. Supported for Microsoft 365 groups only. This API is available in the following national cloud deployments. + Remove the group from the list of the current user's favorite groups. Supported for Microsoft 365 groups only. 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/group-removefavorite?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RemoveFavoriteRequestBuilder def to_post_request_information(self,request_configuration: Optional[RemoveFavoriteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Remove the group from the list of the current user's favorite groups. Supported for Microsoft 365 groups only. This API is available in the following national cloud deployments. + Remove the group from the list of the current user's favorite groups. Supported for Microsoft 365 groups only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RemoveFavor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RemoveFavoriteRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/renew/renew_request_builder.py b/msgraph_beta/generated/groups/item/renew/renew_request_builder.py index c25a9415d4b..3f9f8a245c3 100644 --- a/msgraph_beta/generated/groups/item/renew/renew_request_builder.py +++ b/msgraph_beta/generated/groups/item/renew/renew_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RenewRequestBuilderPostRequestConfiguration] = None) -> None: """ - Renews a group's expiration. When a group is renewed, the group expiration is extended by the number of days defined in the policy. This API is available in the following national cloud deployments. + Renews a group's expiration. When a group is renewed, the group expiration is extended by the number of days defined in the policy. 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/group-renew?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RenewRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[RenewRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Renews a group's expiration. When a group is renewed, the group expiration is extended by the number of days defined in the policy. This API is available in the following national cloud deployments. + Renews a group's expiration. When a group is renewed, the group expiration is extended by the number of days defined in the policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RenewReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RenewRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/reset_unseen_count/reset_unseen_count_request_builder.py b/msgraph_beta/generated/groups/item/reset_unseen_count/reset_unseen_count_request_builder.py index 968a80b2a72..7b4089f9ff1 100644 --- a/msgraph_beta/generated/groups/item/reset_unseen_count/reset_unseen_count_request_builder.py +++ b/msgraph_beta/generated/groups/item/reset_unseen_count/reset_unseen_count_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ResetUnseenCountRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reset the unseenCount of all the posts that the current user hasn't seen since their last visit. Supported for Microsoft 365 groups only. This API is available in the following national cloud deployments. + Reset the unseenCount of all the posts that the current user hasn't seen since their last visit. Supported for Microsoft 365 groups only. 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/group-resetunseencount?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ResetUnseenCountRequestBuild def to_post_request_information(self,request_configuration: Optional[ResetUnseenCountRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reset the unseenCount of all the posts that the current user hasn't seen since their last visit. Supported for Microsoft 365 groups only. This API is available in the following national cloud deployments. + Reset the unseenCount of all the posts that the current user hasn't seen since their last visit. Supported for Microsoft 365 groups only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ResetUnseen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResetUnseenCountRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/restore/restore_request_builder.py b/msgraph_beta/generated/groups/item/restore/restore_request_builder.py index 71b2d350add..9e296d1ab9f 100644 --- a/msgraph_beta/generated/groups/item/restore/restore_request_builder.py +++ b/msgraph_beta/generated/groups/item/restore/restore_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RestoreRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[RestoreRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RestoreRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/retry_service_provisioning/retry_service_provisioning_request_builder.py b/msgraph_beta/generated/groups/item/retry_service_provisioning/retry_service_provisioning_request_builder.py index fba58d1bff7..df47e3760f2 100644 --- a/msgraph_beta/generated/groups/item/retry_service_provisioning/retry_service_provisioning_request_builder.py +++ b/msgraph_beta/generated/groups/item/retry_service_provisioning/retry_service_provisioning_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RetryServiceProvisioningRequestBuilderPostRequestConfiguration] = None) -> None: """ - Retry the group service provisioning. This API is available in the following national cloud deployments. + Retry the group service provisioning. 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/group-retryserviceprovisioning?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RetryServiceProvisioningRequ def to_post_request_information(self,request_configuration: Optional[RetryServiceProvisioningRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Retry the group service provisioning. This API is available in the following national cloud deployments. + Retry the group service provisioning. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RetryServic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RetryServiceProvisioningRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py index 725354205c2..920e7f7ec68 100644 --- a/msgraph_beta/generated/groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/settings/item/directory_setting_item_request_builder.py b/msgraph_beta/generated/groups/item/settings/item/directory_setting_item_request_builder.py index d778ad078b3..ac632d0bea6 100644 --- a/msgraph_beta/generated/groups/item/settings/item/directory_setting_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/settings/item/directory_setting_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Directory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DirectorySettingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySet request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DirectorySetting] = None, request_configuration: Optional[DirectorySettingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DirectorySetting] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/settings/settings_request_builder.py b/msgraph_beta/generated/groups/item/settings/settings_request_builder.py index e1badb92bcf..7e4ebec0277 100644 --- a/msgraph_beta/generated/groups/item/settings/settings_request_builder.py +++ b/msgraph_beta/generated/groups/item/settings/settings_request_builder.py @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[SettingsRequestBuilderGetRequ async def post(self,body: Optional[DirectorySetting] = None, request_configuration: Optional[SettingsRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectorySetting]: """ - Create a new setting based on the templates available in directorySettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. This API is available in the following national cloud deployments. + Create a new setting based on the templates available in directorySettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectorySetting] @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[SettingsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DirectorySetting] = None, request_configuration: Optional[SettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new setting based on the templates available in directorySettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. This API is available in the following national cloud deployments. + Create a new setting based on the templates available in directorySettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[DirectorySetting] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/add/add_request_builder.py b/msgraph_beta/generated/groups/item/sites/add/add_request_builder.py index 710575988b5..1a597f27f24 100644 --- a/msgraph_beta/generated/groups/item/sites/add/add_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/add/add_request_builder.py @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/sites/delta/delta_request_builder.py index e08a47a2cec..b5a35a521d3 100644 --- a/msgraph_beta/generated/groups/item/sites/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/get_all_sites/get_all_sites_request_builder.py b/msgraph_beta/generated/groups/item/sites/get_all_sites/get_all_sites_request_builder.py index 827980171b8..3c2488a6a17 100644 --- a/msgraph_beta/generated/groups/item/sites/get_all_sites/get_all_sites_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/get_all_sites/get_all_sites_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetAllSitesR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetAllSitesRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/analytics/all_time/all_time_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/analytics/all_time/all_time_request_builder.py index 056bc655663..8f27bf634a4 100644 --- a/msgraph_beta/generated/groups/item/sites/item/analytics/all_time/all_time_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/analytics/all_time/all_time_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AllTimeReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllTimeRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/analytics/analytics_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/analytics/analytics_request_builder.py index 3e28feebd0d..168809ed558 100644 --- a/msgraph_beta/generated/groups/item/sites/item/analytics/analytics_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/analytics/analytics_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[Analytics request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AnalyticsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[AnalyticsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemAnalytics] = None, request_configuration: Optional[AnalyticsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ItemAnalytics] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item/activities/activities_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item/activities/activities_request_builder.py index eaf1fd9d85b..c47e4361402 100644 --- a/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item/activities/activities_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item/activities/activities_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivitiesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ItemActivity] = None, request_configuration: Optional[ActivitiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ItemActivity] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item/activities/item/drive_item/content/content_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item/activities/item/drive_item/content/content_request_builder.py index 8073e77783a..5be6e24fe90 100644 --- a/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item/activities/item/drive_item/content/content_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item/activities/item/drive_item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item/activities/item/drive_item/drive_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item/activities/item/drive_item/drive_item_request_builder.py index 92be1795a9d..20cdd6f9d40 100644 --- a/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item/activities/item/drive_item/drive_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item/activities/item/drive_item/drive_item_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item/activities/item/item_activity_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item/activities/item/item_activity_item_request_builder.py index 02dec753ba8..1a3187e22c1 100644 --- a/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item/activities/item/item_activity_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item/activities/item/item_activity_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemActiv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemActivityItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemActivity request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemActivity] = None, request_configuration: Optional[ItemActivityItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ItemActivity] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item/item_activity_stat_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item/item_activity_stat_item_request_builder.py index 406804f739d..11eccfe91a1 100644 --- a/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item/item_activity_stat_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item/item_activity_stat_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemActiv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemActivityStatItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemActivity request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemActivityStat] = None, request_configuration: Optional[ItemActivityStatItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ItemActivityStat] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item_activity_stats_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item_activity_stats_request_builder.py index 615bd4b44cc..ac3f741043d 100644 --- a/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item_activity_stats_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/analytics/item_activity_stats/item_activity_stats_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemActivity request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ItemActivityStat] = None, request_configuration: Optional[ItemActivityStatsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ItemActivityStat] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/analytics/last_seven_days/last_seven_days_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/analytics/last_seven_days/last_seven_days_request_builder.py index 6b65035d216..19cb65cfdc3 100644 --- a/msgraph_beta/generated/groups/item/sites/item/analytics/last_seven_days/last_seven_days_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/analytics/last_seven_days/last_seven_days_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[LastSevenDay request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastSevenDaysRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/columns/columns_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/columns/columns_request_builder.py index 89fb78a54cc..26587697170 100644 --- a/msgraph_beta/generated/groups/item/sites/item/columns/columns_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/columns/columns_request_builder.py @@ -45,7 +45,7 @@ def by_column_definition_id(self,column_definition_id: str) -> ColumnDefinitionI async def get(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> Optional[ColumnDefinitionCollectionResponse]: """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [site][site]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [site][site]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/site-list-columns?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ColumnsRequestBuilderGetReque async def post(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Create a column for a site][site] by specifying a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + Create a column for a [site][site] by specifying a [columnDefinition][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ColumnDefinition] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [site][site]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [site][site]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ColumnsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a column for a site][site] by specifying a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + Create a column for a [site][site] by specifying a [columnDefinition][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ColumnDefinition] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ColumnsRequestBuilderGetQueryParameters(): """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [site][site]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [site][site]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/columns/item/column_definition_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/columns/item/column_definition_item_request_builder.py index a9381cd6aa6..756872e0211 100644 --- a/msgraph_beta/generated/groups/item/sites/item/columns/item/column_definition_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/columns/item/column_definition_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ColumnDef request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnDefini request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/columns/item/source_column/source_column_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/columns/item/source_column/source_column_request_builder.py index b79654363d0..cdfb6add2cf 100644 --- a/msgraph_beta/generated/groups/item/sites/item/columns/item/source_column/source_column_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/columns/item/source_column/source_column_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SourceColumn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SourceColumnRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/add_copy/add_copy_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/add_copy/add_copy_request_builder.py index aa33ff78036..4aa8a6e10bb 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/add_copy/add_copy_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/add_copy/add_copy_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddCopyPostRequestBody] = None, request_configuration: Optional[AddCopyRequestBuilderPostRequestConfiguration] = None) -> Optional[ContentType]: """ - Add a copy of a content type][contentType] from a [site][site] to a [list][list]. This API is available in the following [national cloud deployments. + Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentType] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddCopyPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[AddCopyPostRequestBody] = None, request_configuration: Optional[AddCopyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a copy of a content type][contentType] from a [site][site] to a [list][list]. This API is available in the following [national cloud deployments. + Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddCopyPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.py index cb28b831eae..706655841e2 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddCopyFromContentTypeHubPostRequestBody] = None, request_configuration: Optional[AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration] = None) -> Optional[ContentType]: """ - Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. This API is available in the following national cloud deployments. + Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentType] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddCopyFromContentTypeHubPostRequestBody] = N def to_post_request_information(self,body: Optional[AddCopyFromContentTypeHubPostRequestBody] = None, request_configuration: Optional[AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. This API is available in the following national cloud deployments. + Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddCopyFromContentTypeHubPos request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/content_types_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/content_types_request_builder.py index 73e8e9c559e..990d945ce9a 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/content_types_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/content_types_request_builder.py @@ -48,7 +48,7 @@ def by_content_type_id(self,content_type_id: str) -> ContentTypeItemRequestBuild async def get(self,request_configuration: Optional[ContentTypesRequestBuilderGetRequestConfiguration] = None) -> Optional[ContentTypeCollectionResponse]: """ - Get the collection of contentType][contentType] resources in a [site][]. This API is available in the following [national cloud deployments. + Get the collection of [contentType][contentType] resources in a [site][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentTypeCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/site-list-contenttypes?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[ContentTypesRequestBuilderGet async def post(self,body: Optional[ContentType] = None, request_configuration: Optional[ContentTypesRequestBuilderPostRequestConfiguration] = None) -> Optional[ContentType]: """ - Create a new contentType][] for a [site][]. This API is available in the following [national cloud deployments. + Create a new [contentType][] for a [site][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentType] @@ -95,7 +95,7 @@ async def post(self,body: Optional[ContentType] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[ContentTypesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the collection of contentType][contentType] resources in a [site][]. This API is available in the following [national cloud deployments. + Get the collection of [contentType][contentType] resources in a [site][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_get_request_information(self,request_configuration: Optional[ContentTypes request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ContentType] = None, request_configuration: Optional[ContentTypesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new contentType][] for a [site][]. This API is available in the following [national cloud deployments. + Create a new [contentType][] for a [site][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -126,7 +126,7 @@ def to_post_request_information(self,body: Optional[ContentType] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ def get_compatible_hub_content_types(self) -> GetCompatibleHubContentTypesReques @dataclass class ContentTypesRequestBuilderGetQueryParameters(): """ - Get the collection of contentType][contentType] resources in a [site][]. This API is available in the following [national cloud deployments. + Get the collection of [contentType][contentType] resources in a [site][]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_request_builder.py index 6aaccfc5f95..9bca969b717 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetCompatibl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetCompatibleHubContentTypesRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py index ed0021f7dbf..e71ab19cecb 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, request_configuration: Optional[AssociateWithHubSitesRequestBuilderPostRequestConfiguration] = None) -> None: """ - Associate a content type][contentType] with a list of hub sites. This API is available in the following [national cloud deployments. + Associate a [content type][contentType] with a list of hub sites. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, def to_post_request_information(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, request_configuration: Optional[AssociateWithHubSitesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Associate a content type][contentType] with a list of hub sites. This API is available in the following [national cloud deployments. + Associate a [content type][contentType] with a list of hub sites. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AssociateWithHubSitesPostReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/item/base/base_request_builder_.py b/msgraph_beta/generated/groups/item/sites/item/content_types/item/base/base_request_builder_.py index b05419380b9..95db06a572f 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/item/base/base_request_builder_.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/item/base/base_request_builder_.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[BaseRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> BaseRequestBuilder_: diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/item/base_types/base_types_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/item/base_types/base_types_request_builder.py index 2fcceeb7826..e01188f9db7 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/item/base_types/base_types_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/item/base_types/base_types_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[BaseTypesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> BaseTypesRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/item/base_types/item/content_type_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/item/base_types/item/content_type_item_request_builder.py index cc35f77dc6f..5a5aae97970 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/item/base_types/item/content_type_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/item/base_types/item/content_type_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentTypeI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ContentTypeItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/item/column_links/column_links_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/item/column_links/column_links_request_builder.py index 78d6ca59fdd..04a513780eb 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/item/column_links/column_links_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/item/column_links/column_links_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnLinksR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ColumnLink] = None, request_configuration: Optional[ColumnLinksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ColumnLink] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/item/column_links/item/column_link_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/item/column_links/item/column_link_item_request_builder.py index f1bd13c8601..c71da23aaa6 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/item/column_links/item/column_link_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/item/column_links/item/column_link_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ColumnLin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ColumnLinkItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnLinkIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ColumnLink] = None, request_configuration: Optional[ColumnLinkItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ColumnLink] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/item/column_positions/column_positions_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/item/column_positions/column_positions_request_builder.py index 9bc9e03e98f..6060b1237a9 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/item/column_positions/column_positions_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/item/column_positions/column_positions_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnPositi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ColumnPositionsRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/item/column_positions/item/column_definition_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/item/column_positions/item/column_definition_item_request_builder.py index 6b5f2edef8d..16d5220394b 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/item/column_positions/item/column_definition_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/item/column_positions/item/column_definition_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnDefini request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ColumnDefinitionItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/item/columns/columns_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/item/columns/columns_request_builder.py index 94079feefd0..f7f7fae4a4a 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/item/columns/columns_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/item/columns/columns_request_builder.py @@ -45,7 +45,7 @@ def by_column_definition_id(self,column_definition_id: str) -> ColumnDefinitionI async def get(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> Optional[ColumnDefinitionCollectionResponse]: """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [content type][contentType]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/contenttype-list-columns?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ColumnsRequestBuilderGetReque async def post(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Add a column to a content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + Add a column to a [content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ColumnDefinition] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [content type][contentType]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ColumnsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a column to a content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + Add a column to a [content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ColumnDefinition] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ColumnsRequestBuilderGetQueryParameters(): """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [content type][contentType]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/item/columns/item/column_definition_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/item/columns/item/column_definition_item_request_builder.py index 0b6820f2168..0d63cad6500 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/item/columns/item/column_definition_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/item/columns/item/column_definition_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a column][columndefinition] from a [site][], [list][] or [content type][contentType]. This API is available in the following [national cloud deployments. + Remove a [column][columndefinition] from a [site][], [list][] or [content type][contentType]. 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/columndefinition-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[ColumnDefinitionItemReques async def get(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Retrieve the metadata for a site][], [list][] or [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] Find more info here: https://learn.microsoft.com/graph/api/columndefinition-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[ColumnDefinitionItemRequestBu async def patch(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Update a site][], [list][] or [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Update a [site][], [list][] or [content type][contentType] [column][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[ColumnDefinition] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a column][columndefinition] from a [site][], [list][] or [content type][contentType]. This API is available in the following [national cloud deployments. + Remove a [column][columndefinition] from a [site][], [list][] or [content type][contentType]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[ColumnDef request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the metadata for a site][], [list][] or [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[ColumnDefini request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update a site][], [list][] or [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Update a [site][], [list][] or [content type][contentType] [column][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class ColumnDefinitionItemRequestBuilderGetQueryParameters(): """ - Retrieve the metadata for a site][], [list][] or [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/item/columns/item/source_column/source_column_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/item/columns/item/source_column/source_column_request_builder.py index 5d1e273fd22..d2afc7fc7a9 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/item/columns/item/source_column/source_column_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/item/columns/item/source_column/source_column_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SourceColumn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SourceColumnRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/item/content_type_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/item/content_type_item_request_builder.py index c43e5cf8312..a13137a7077 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/item/content_type_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/item/content_type_item_request_builder.py @@ -38,7 +38,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ContentTypeItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a content type][contentType] from a [list][] or a [site][]. This API is available in the following [national cloud deployments. + Remove a [content type][contentType] from a [list][] or a [site][]. 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/contenttype-delete?view=graph-rest-1.0 @@ -58,7 +58,7 @@ async def delete(self,request_configuration: Optional[ContentTypeItemRequestBuil async def get(self,request_configuration: Optional[ContentTypeItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ContentType]: """ - Retrieve the metadata for a content type][contentType] in a [site][] or a [list][]. This API is available in the following [national cloud deployments. + Retrieve the metadata for a [content type][contentType] in a [site][] or a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentType] Find more info here: https://learn.microsoft.com/graph/api/contenttype-get?view=graph-rest-1.0 @@ -80,7 +80,7 @@ async def get(self,request_configuration: Optional[ContentTypeItemRequestBuilder async def patch(self,body: Optional[ContentType] = None, request_configuration: Optional[ContentTypeItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ContentType]: """ - Update a content type][contentType]. This API is available in the following [national cloud deployments. + Update a [content type][contentType]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentType] @@ -105,7 +105,7 @@ async def patch(self,body: Optional[ContentType] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[ContentTypeItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a content type][contentType] from a [list][] or a [site][]. This API is available in the following [national cloud deployments. + Remove a [content type][contentType] from a [list][] or a [site][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,12 +116,12 @@ def to_delete_request_information(self,request_configuration: Optional[ContentTy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ContentTypeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the metadata for a content type][contentType] in a [site][] or a [list][]. This API is available in the following [national cloud deployments. + Retrieve the metadata for a [content type][contentType] in a [site][] or a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -133,12 +133,12 @@ def to_get_request_information(self,request_configuration: Optional[ContentTypeI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ContentType] = None, request_configuration: Optional[ContentTypeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update a content type][contentType]. This API is available in the following [national cloud deployments. + Update a [content type][contentType]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -152,7 +152,7 @@ def to_patch_request_information(self,body: Optional[ContentType] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -269,7 +269,7 @@ class ContentTypeItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class ContentTypeItemRequestBuilderGetQueryParameters(): """ - Retrieve the metadata for a content type][contentType] in a [site][] or a [list][]. This API is available in the following [national cloud deployments. + Retrieve the metadata for a [content type][contentType] in a [site][] or a [list][]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py index 90ae5621f3f..c9617f15485 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] = None, request_configuration: Optional[CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration] = None) -> None: """ - Copy a file to a default content location in a content type][contentType]. The file can then be added as a default file or template via a POST operation. This API is available in the following [national cloud deployments. + Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] def to_post_request_information(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] = None, request_configuration: Optional[CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a file to a default content location in a content type][contentType]. The file can then be added as a default file or template via a POST operation. This API is available in the following [national cloud deployments. + Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CopyToDefaultContentLocation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/item/is_published/is_published_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/item/is_published/is_published_request_builder.py index 24ecf2a2a69..5623038815b 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/item/is_published/is_published_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/item/is_published/is_published_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[IsPublishedR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IsPublishedRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/item/publish/publish_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/item/publish/publish_request_builder.py index 86f4059f68b..0be9ebb088d 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/item/publish/publish_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/item/publish/publish_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[PublishRequestBuilderPostRequestConfiguration] = None) -> None: """ - Publishes a contentType][] present in a content type hub site. This API is available in the following [national cloud deployments. + Publishes a [contentType][] present in a content type hub site. 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/contenttype-publish?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[PublishRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[PublishRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Publishes a contentType][] present in a content type hub site. This API is available in the following [national cloud deployments. + Publishes a [contentType][] present in a content type hub site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[PublishRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PublishRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/content_types/item/unpublish/unpublish_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/content_types/item/unpublish/unpublish_request_builder.py index d51a35fd51c..f64f24a7983 100644 --- a/msgraph_beta/generated/groups/item/sites/item/content_types/item/unpublish/unpublish_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/content_types/item/unpublish/unpublish_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UnpublishRequestBuilderPostRequestConfiguration] = None) -> None: """ - Unpublish a contentType][] from a content type hub site. This API is available in the following [national cloud deployments. + Unpublish a [contentType][] from a content type hub site. 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/contenttype-unpublish?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UnpublishRequestBuilderPostR def to_post_request_information(self,request_configuration: Optional[UnpublishRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Unpublish a contentType][] from a content type hub site. This API is available in the following [national cloud deployments. + Unpublish a [contentType][] from a content type hub site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UnpublishRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnpublishRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/created_by_user/created_by_user_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/created_by_user/created_by_user_request_builder.py index 528b1ae3537..22cc4a5d615 100644 --- a/msgraph_beta/generated/groups/item/sites/item/created_by_user/created_by_user_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/created_by_user/created_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[CreatedByUse request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreatedByUserRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py index 63fadb70c0b..f29213d8d74 100644 --- a/msgraph_beta/generated/groups/item/sites/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index eaf2b732c7a..98acf4dc924 100644 --- a/msgraph_beta/generated/groups/item/sites/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/drive/drive_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/drive/drive_request_builder.py index a594c8f52f0..67ec60de6e0 100644 --- a/msgraph_beta/generated/groups/item/sites/item/drive/drive_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/drive/drive_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/drives/drives_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/drives/drives_request_builder.py index f12e06e3b00..dc03318b805 100644 --- a/msgraph_beta/generated/groups/item/sites/item/drives/drives_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/drives/drives_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[DrivesReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DrivesRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/drives/item/drive_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/drives/item/drive_item_request_builder.py index 08799ac5cd6..c6c29df8281 100644 --- a/msgraph_beta/generated/groups/item/sites/item/drives/item/drive_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/drives/item/drive_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/external_columns/external_columns_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/external_columns/external_columns_request_builder.py index f9770dda3a5..0f7596699df 100644 --- a/msgraph_beta/generated/groups/item/sites/item/external_columns/external_columns_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/external_columns/external_columns_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[ExternalColu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExternalColumnsRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/external_columns/item/column_definition_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/external_columns/item/column_definition_item_request_builder.py index 6d02202fe6c..c3d657a526e 100644 --- a/msgraph_beta/generated/groups/item/sites/item/external_columns/item/column_definition_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/external_columns/item/column_definition_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnDefini request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ColumnDefinitionItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.py index 82cf0ac53df..3228489352c 100644 --- a/msgraph_beta/generated/groups/item/sites/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.py @@ -68,7 +68,7 @@ def to_get_request_information(self,request_configuration: Optional[GetActivitie request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/get_applicable_content_types_for_list_with_list_id/get_applicable_content_types_for_list_with_list_id_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/get_applicable_content_types_for_list_with_list_id/get_applicable_content_types_for_list_with_list_id_request_builder.py index 514cd4a4897..b513c51c319 100644 --- a/msgraph_beta/generated/groups/item/sites/item/get_applicable_content_types_for_list_with_list_id/get_applicable_content_types_for_list_with_list_id_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/get_applicable_content_types_for_list_with_list_id/get_applicable_content_types_for_list_with_list_id_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GetApplicabl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetApplicableContentTypesForListWithListIdRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/get_by_path_with_path_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/get_by_path_with_path_request_builder.py index a7744589f74..7050fdcb47a 100644 --- a/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/get_by_path_with_path_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/get_by_path_with_path/get_by_path_with_path_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[GetByPathWit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetByPathWithPathRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/bitlocker/bitlocker_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/bitlocker/bitlocker_request_builder.py index 4b57a2a521e..a39eb636392 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/bitlocker/bitlocker_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/bitlocker/bitlocker_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[BitlockerReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> BitlockerRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/bitlocker/recovery_keys/item/bitlocker_recovery_key_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/bitlocker/recovery_keys/item/bitlocker_recovery_key_item_request_builder.py index 4e3f08cabe5..017fe7a9c1b 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/bitlocker/recovery_keys/item/bitlocker_recovery_key_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/bitlocker/recovery_keys/item/bitlocker_recovery_key_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[BitlockerRecoveryKeyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[BitlockerRecoveryKey]: """ - Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BitlockerRecoveryKey] Find more info here: https://learn.microsoft.com/graph/api/bitlockerrecoverykey-get?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[BitlockerRecoveryKeyItemReque def to_get_request_information(self,request_configuration: Optional[BitlockerRecoveryKeyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[BitlockerRec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> BitlockerRecoveryKeyItemRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> BitlockerRecoveryKeyItemRequ @dataclass class BitlockerRecoveryKeyItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/bitlocker/recovery_keys/recovery_keys_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/bitlocker/recovery_keys/recovery_keys_request_builder.py index 36f02ba1349..1434f78d264 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/bitlocker/recovery_keys/recovery_keys_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/bitlocker/recovery_keys/recovery_keys_request_builder.py @@ -44,7 +44,7 @@ def by_bitlocker_recovery_key_id(self,bitlocker_recovery_key_id: str) -> Bitlock async def get(self,request_configuration: Optional[RecoveryKeysRequestBuilderGetRequestConfiguration] = None) -> Optional[BitlockerRecoveryKeyCollectionResponse]: """ - Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. This API is available in the following national cloud deployments. + Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BitlockerRecoveryKeyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/bitlocker-list-recoverykeys?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[RecoveryKeysRequestBuilderGet def to_get_request_information(self,request_configuration: Optional[RecoveryKeysRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. This API is available in the following national cloud deployments. + Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[RecoveryKeys request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RecoveryKeysRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RecoveryKeysRequestBuilderGetQueryParameters(): """ - Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. This API is available in the following national cloud deployments. + Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/data_loss_prevention_policies/data_loss_prevention_policies_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/data_loss_prevention_policies/data_loss_prevention_policies_request_builder.py index f6ed4070232..04f997f0644 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/data_loss_prevention_policies/data_loss_prevention_policies_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/data_loss_prevention_policies/data_loss_prevention_policies_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[DataLossPrev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DataLossPreventionPolicy] = None, request_configuration: Optional[DataLossPreventionPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[DataLossPreventionPolicy] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/data_loss_prevention_policies/evaluate/evaluate_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/data_loss_prevention_policies/evaluate/evaluate_request_builder.py index fb3b30fdbd7..2f1b06297da 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/data_loss_prevention_policies/evaluate/evaluate_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/data_loss_prevention_policies/evaluate/evaluate_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[EvaluatePostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/data_loss_prevention_policies/item/data_loss_prevention_policy_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/data_loss_prevention_policies/item/data_loss_prevention_policy_item_request_builder.py index ff9a8525fc2..d6cd1e9da1a 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/data_loss_prevention_policies/item/data_loss_prevention_policy_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/data_loss_prevention_policies/item/data_loss_prevention_policy_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DataLossP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DataLossPreventionPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DataLossPrev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DataLossPreventionPolicy] = None, request_configuration: Optional[DataLossPreventionPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DataLossPreventionPolicy] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py index f7e21c370fa..b049f49c0a0 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DecryptBufferPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py index 43e64175fe4..dd8de86a17d 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[EncryptBufferPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/information_protection_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/information_protection_request_builder.py index e32b963cedc..472be1c3b59 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/information_protection_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/information_protection_request_builder.py @@ -113,7 +113,7 @@ def to_delete_request_information(self,request_configuration: Optional[Informati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[InformationProtectionRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -130,7 +130,7 @@ def to_get_request_information(self,request_configuration: Optional[InformationP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[InformationProtection] = None, request_configuration: Optional[InformationProtectionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -149,7 +149,7 @@ def to_patch_request_information(self,body: Optional[InformationProtection] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py index 2065c7ed51f..8e271264846 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[EvaluateApplicationPostRequestBody] = None, request_configuration: Optional[EvaluateApplicationRequestBuilderPostRequestConfiguration] = None) -> Optional[EvaluateApplicationPostResponse]: """ - Compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set manually or explicitly by a user or service, rather than automatically based on file contents. Given contentInfo, which includes existing content metadata key/value pairs, and labelingOptions as an input, the API returns an informationProtectionAction object that contains one of more of the following: This API is available in the following national cloud deployments. + Compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set manually or explicitly by a user or service, rather than automatically based on file contents. Given contentInfo, which includes existing content metadata key/value pairs, and labelingOptions as an input, the API returns an informationProtectionAction object that contains one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EvaluateApplicationPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[EvaluateApplicationPostRequestBody] = None, r def to_post_request_information(self,body: Optional[EvaluateApplicationPostRequestBody] = None, request_configuration: Optional[EvaluateApplicationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set manually or explicitly by a user or service, rather than automatically based on file contents. Given contentInfo, which includes existing content metadata key/value pairs, and labelingOptions as an input, the API returns an informationProtectionAction object that contains one of more of the following: This API is available in the following national cloud deployments. + Compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set manually or explicitly by a user or service, rather than automatically based on file contents. Given contentInfo, which includes existing content metadata key/value pairs, and labelingOptions as an input, the API returns an informationProtectionAction object that contains one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[EvaluateApplicationPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py index 0f98bcdd51a..e2ada4c015d 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[EvaluateClassificationResultsPostRequestBody] = None, request_configuration: Optional[EvaluateClassificationResultsRequestBuilderPostRequestConfiguration] = None) -> Optional[EvaluateClassificationResultsPostResponse]: """ - Using classification results, compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set automatically based on classification of the file contents, rather than labeled directly by a user or service. To evaluate based on classification results, provide contentInfo, which includes existing content metadata key/value pairs, and classification results. The API returns an informationProtectionAction that contains one of more of the following: This API is available in the following national cloud deployments. + Using classification results, compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set automatically based on classification of the file contents, rather than labeled directly by a user or service. To evaluate based on classification results, provide contentInfo, which includes existing content metadata key/value pairs, and classification results. The API returns an informationProtectionAction that contains one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EvaluateClassificationResultsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[EvaluateClassificationResultsPostRequestBody] def to_post_request_information(self,body: Optional[EvaluateClassificationResultsPostRequestBody] = None, request_configuration: Optional[EvaluateClassificationResultsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Using classification results, compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set automatically based on classification of the file contents, rather than labeled directly by a user or service. To evaluate based on classification results, provide contentInfo, which includes existing content metadata key/value pairs, and classification results. The API returns an informationProtectionAction that contains one of more of the following: This API is available in the following national cloud deployments. + Using classification results, compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set automatically based on classification of the file contents, rather than labeled directly by a user or service. To evaluate based on classification results, provide contentInfo, which includes existing content metadata key/value pairs, and classification results. The API returns an informationProtectionAction that contains one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[EvaluateClassificationResult request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py index 3311224558b..ac1977271c8 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[EvaluateRemovalPostRequestBody] = None, request_configuration: Optional[EvaluateRemovalRequestBuilderPostRequestConfiguration] = None) -> Optional[EvaluateRemovalPostResponse]: """ - Indicate to the consuming application what actions it should take to remove the label information. Given contentInfo as an input, which includes existing content metadata key/value pairs, the API returns an informationProtectionAction that contains some combination of one of more of the following: This API is available in the following national cloud deployments. + Indicate to the consuming application what actions it should take to remove the label information. Given contentInfo as an input, which includes existing content metadata key/value pairs, the API returns an informationProtectionAction that contains some combination of one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EvaluateRemovalPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[EvaluateRemovalPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[EvaluateRemovalPostRequestBody] = None, request_configuration: Optional[EvaluateRemovalRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Indicate to the consuming application what actions it should take to remove the label information. Given contentInfo as an input, which includes existing content metadata key/value pairs, the API returns an informationProtectionAction that contains some combination of one of more of the following: This API is available in the following national cloud deployments. + Indicate to the consuming application what actions it should take to remove the label information. Given contentInfo as an input, which includes existing content metadata key/value pairs, the API returns an informationProtectionAction that contains some combination of one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[EvaluateRemovalPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/extract_label/extract_label_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/extract_label/extract_label_request_builder.py index ab1bb2b846b..0640a38f64d 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/extract_label/extract_label_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/extract_label/extract_label_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ExtractLabelPostRequestBody] = None, request_configuration: Optional[ExtractLabelRequestBuilderPostRequestConfiguration] = None) -> Optional[InformationProtectionContentLabel]: """ - Using the metadata that exists on an already-labeled piece of information, resolve the metadata to a specific sensitivity label. The contentInfo input is resolved to informationProtectionContentLabel. This API is available in the following national cloud deployments. + Using the metadata that exists on an already-labeled piece of information, resolve the metadata to a specific sensitivity label. The contentInfo input is resolved to informationProtectionContentLabel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionContentLabel] @@ -54,7 +54,7 @@ async def post(self,body: Optional[ExtractLabelPostRequestBody] = None, request_ def to_post_request_information(self,body: Optional[ExtractLabelPostRequestBody] = None, request_configuration: Optional[ExtractLabelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Using the metadata that exists on an already-labeled piece of information, resolve the metadata to a specific sensitivity label. The contentInfo input is resolved to informationProtectionContentLabel. This API is available in the following national cloud deployments. + Using the metadata that exists on an already-labeled piece of information, resolve the metadata to a specific sensitivity label. The contentInfo input is resolved to informationProtectionContentLabel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[ExtractLabelPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/item/information_protection_label_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/item/information_protection_label_item_request_builder.py index 552a5784df8..033adfc993b 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/item/information_protection_label_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/item/information_protection_label_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[InformationProtectionLabel async def get(self,request_configuration: Optional[InformationProtectionLabelItemRequestBuilderGetRequestConfiguration] = None) -> Optional[InformationProtectionLabel]: """ - Retrieve the properties and relationships of an informationProtectionLabel object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an informationProtectionLabel object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionLabel] Find more info here: https://learn.microsoft.com/graph/api/informationprotectionlabel-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Informati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[InformationProtectionLabelItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an informationProtectionLabel object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an informationProtectionLabel object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[InformationP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[InformationProtectionLabel] = None, request_configuration: Optional[InformationProtectionLabelItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[InformationProtectionLabel] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class InformationProtectionLabelItemRequestBuilderDeleteRequestConfiguration(Bas @dataclass class InformationProtectionLabelItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an informationProtectionLabel object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an informationProtectionLabel object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/labels_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/labels_request_builder.py index edda53d5227..c3e33917ad8 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/labels_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/labels/labels_request_builder.py @@ -49,7 +49,7 @@ def by_information_protection_label_id(self,information_protection_label_id: str async def get(self,request_configuration: Optional[LabelsRequestBuilderGetRequestConfiguration] = None) -> Optional[InformationProtectionLabelCollectionResponse]: """ - Get a collection of information protection labels available to the user or to the organization. This API is available in the following national cloud deployments. + Get a collection of information protection labels available to the user or to the organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionLabelCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/informationprotectionpolicy-list-labels?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def post(self,body: Optional[InformationProtectionLabel] = None, request_c def to_get_request_information(self,request_configuration: Optional[LabelsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a collection of information protection labels available to the user or to the organization. This API is available in the following national cloud deployments. + Get a collection of information protection labels available to the user or to the organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,7 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[LabelsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[InformationProtectionLabel] = None, request_configuration: Optional[LabelsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_post_request_information(self,body: Optional[InformationProtectionLabel] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ def extract_label(self) -> ExtractLabelRequestBuilder: @dataclass class LabelsRequestBuilderGetQueryParameters(): """ - Get a collection of information protection labels available to the user or to the organization. This API is available in the following national cloud deployments. + Get a collection of information protection labels available to the user or to the organization. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/policy_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/policy_request_builder.py index b020fde6aa8..31283a10d49 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/policy_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/policy/policy_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PolicyReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PolicyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PolicyReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[InformationProtectionPolicy] = None, request_configuration: Optional[PolicyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[InformationProtectionPolicy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/evaluate/evaluate_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/evaluate/evaluate_request_builder.py index 1c8a1e79c0c..519728d0d1f 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/evaluate/evaluate_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/evaluate/evaluate_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[EvaluatePostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/item/sensitivity_label_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/item/sensitivity_label_item_request_builder.py index 0db148fd64a..7c35b840941 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/item/sensitivity_label_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/item/sensitivity_label_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Sensitivi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SensitivityLabelItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[SensitivityL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SensitivityLabel] = None, request_configuration: Optional[SensitivityLabelItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[SensitivityLabel] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_request_builder.py index a5452d338c9..807431c4e22 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[EvaluatePostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/item/sublabels/item/sensitivity_label_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/item/sublabels/item/sensitivity_label_item_request_builder.py index e283a1f19ae..66452a3cf35 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/item/sublabels/item/sensitivity_label_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/item/sublabels/item/sensitivity_label_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Sensitivi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SensitivityLabelItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SensitivityL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SensitivityLabel] = None, request_configuration: Optional[SensitivityLabelItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[SensitivityLabel] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/item/sublabels/sublabels_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/item/sublabels/sublabels_request_builder.py index d6be8582512..7d7b1d16b72 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/item/sublabels/sublabels_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/item/sublabels/sublabels_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SublabelsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SensitivityLabel] = None, request_configuration: Optional[SublabelsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SensitivityLabel] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/sensitivity_labels_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/sensitivity_labels_request_builder.py index b0551025ed5..9ed1fed2393 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/sensitivity_labels_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_labels/sensitivity_labels_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SensitivityL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SensitivityLabel] = None, request_configuration: Optional[SensitivityLabelsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SensitivityLabel] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_policy_settings/sensitivity_policy_settings_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_policy_settings/sensitivity_policy_settings_request_builder.py index f129622a77b..d540be108fe 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_policy_settings/sensitivity_policy_settings_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/sensitivity_policy_settings/sensitivity_policy_settings_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Sensitivi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SensitivityPolicySettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SensitivityP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SensitivityPolicySettings] = None, request_configuration: Optional[SensitivityPolicySettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[SensitivityPolicySettings] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/sign_digest/sign_digest_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/sign_digest/sign_digest_request_builder.py index 2655d195743..f9e609a0a6b 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/sign_digest/sign_digest_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/sign_digest/sign_digest_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SignDigestPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/threat_assessment_requests/item/results/item/threat_assessment_result_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/threat_assessment_requests/item/results/item/threat_assessment_result_item_request_builder.py index d84cf5cf95f..30933d77fb5 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/threat_assessment_requests/item/results/item/threat_assessment_result_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/threat_assessment_requests/item/results/item/threat_assessment_result_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ThreatAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ThreatAssessmentResultItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ThreatAssess request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ThreatAssessmentResult] = None, request_configuration: Optional[ThreatAssessmentResultItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ThreatAssessmentResult] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/threat_assessment_requests/item/results/results_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/threat_assessment_requests/item/results/results_request_builder.py index fe2e637010a..54162b80be3 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/threat_assessment_requests/item/results/results_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/threat_assessment_requests/item/results/results_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ResultsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ThreatAssessmentResult] = None, request_configuration: Optional[ResultsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ThreatAssessmentResult] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/threat_assessment_requests/item/threat_assessment_request_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/threat_assessment_requests/item/threat_assessment_request_item_request_builder.py index d5b18784eb1..42cad3e4e84 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/threat_assessment_requests/item/threat_assessment_request_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/threat_assessment_requests/item/threat_assessment_request_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ThreatAssessmentRequestIte async def get(self,request_configuration: Optional[ThreatAssessmentRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ThreatAssessmentRequest]: """ - Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ThreatAssessmentRequest] Find more info here: https://learn.microsoft.com/graph/api/threatassessmentrequest-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ThreatAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ThreatAssessmentRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ThreatAssess request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ThreatAssessmentRequest] = None, request_configuration: Optional[ThreatAssessmentRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ThreatAssessmentRequest] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ThreatAssessmentRequestItemRequestBuilderDeleteRequestConfiguration(BaseRe @dataclass class ThreatAssessmentRequestItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/threat_assessment_requests/threat_assessment_requests_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/threat_assessment_requests/threat_assessment_requests_request_builder.py index 31092fd2c00..e18ee72b427 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/threat_assessment_requests/threat_assessment_requests_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/threat_assessment_requests/threat_assessment_requests_request_builder.py @@ -45,7 +45,7 @@ def by_threat_assessment_request_id(self,threat_assessment_request_id: str) -> T async def get(self,request_configuration: Optional[ThreatAssessmentRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[ThreatAssessmentRequestCollectionResponse]: """ - Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ThreatAssessmentRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/informationprotection-list-threatassessmentrequests?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ThreatAssessmentRequestsReque async def post(self,body: Optional[ThreatAssessmentRequest] = None, request_configuration: Optional[ThreatAssessmentRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[ThreatAssessmentRequest]: """ - Create a new threat assessment request. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Create a new threat assessment request. A threat assessment request can be one of the following types: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ThreatAssessmentRequest] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ThreatAssessmentRequest] = None, request_conf def to_get_request_information(self,request_configuration: Optional[ThreatAssessmentRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ThreatAssess request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ThreatAssessmentRequest] = None, request_configuration: Optional[ThreatAssessmentRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new threat assessment request. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Create a new threat assessment request. A threat assessment request can be one of the following types: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ThreatAssessmentRequest] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ThreatAssessmentRequestsRequestBuilderGetQueryParameters(): """ - Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/information_protection/verify_signature/verify_signature_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/information_protection/verify_signature/verify_signature_request_builder.py index 898f1a0d651..61dcea2d091 100644 --- a/msgraph_beta/generated/groups/item/sites/item/information_protection/verify_signature/verify_signature_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/information_protection/verify_signature/verify_signature_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[VerifySignaturePostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/items/item/base_item_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/items/item/base_item_item_request_builder.py index a6a15157253..d9c55943303 100644 --- a/msgraph_beta/generated/groups/item/sites/item/items/item/base_item_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/items/item/base_item_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[BaseItemItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> BaseItemItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/items/items_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/items/items_request_builder.py index 6d2927c55e6..2f2ad34918a 100644 --- a/msgraph_beta/generated/groups/item/sites/item/items/items_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/items/items_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ItemsRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/last_modified_by_user/last_modified_by_user_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/last_modified_by_user/last_modified_by_user_request_builder.py index e29bfd90100..30d4744f2e4 100644 --- a/msgraph_beta/generated/groups/item/sites/item/last_modified_by_user/last_modified_by_user_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/last_modified_by_user/last_modified_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[LastModified request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastModifiedByUserRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py index 5a1f2b317fb..c1f18a9a2a0 100644 --- a/msgraph_beta/generated/groups/item/sites/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index dcc9ca489ee..ba62415f838 100644 --- a/msgraph_beta/generated/groups/item/sites/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/activities/activities_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/activities/activities_request_builder.py index 8c2a18647ac..0a725ef3704 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/activities/activities_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/activities/activities_request_builder.py @@ -86,7 +86,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivitiesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ItemActivityOLD] = None, request_configuration: Optional[ActivitiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ItemActivityOLD] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/columns/columns_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/columns/columns_request_builder.py index 1e584a2d42f..7f2b97a5785 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/columns/columns_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/columns/columns_request_builder.py @@ -45,7 +45,7 @@ def by_column_definition_id(self,column_definition_id: str) -> ColumnDefinitionI async def get(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> Optional[ColumnDefinitionCollectionResponse]: """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [list][list]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [list][list]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/list-list-columns?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ColumnsRequestBuilderGetReque async def post(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Create a column for a list][list] with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ColumnDefinition] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [list][list]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [list][list]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ColumnsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a column for a list][list] with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ColumnDefinition] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ColumnsRequestBuilderGetQueryParameters(): """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [list][list]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [list][list]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/columns/item/column_definition_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/columns/item/column_definition_item_request_builder.py index 05ce47fb693..f4e49f1a965 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/columns/item/column_definition_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/columns/item/column_definition_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ColumnDef request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnDefini request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/columns/item/source_column/source_column_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/columns/item/source_column/source_column_request_builder.py index 0a2a742182f..53379bd6ed1 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/columns/item/source_column/source_column_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/columns/item/source_column/source_column_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SourceColumn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SourceColumnRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/add_copy/add_copy_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/add_copy/add_copy_request_builder.py index 3c1e9b316df..b938607f586 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/add_copy/add_copy_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/add_copy/add_copy_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddCopyPostRequestBody] = None, request_configuration: Optional[AddCopyRequestBuilderPostRequestConfiguration] = None) -> Optional[ContentType]: """ - Add a copy of a content type][contentType] from a [site][site] to a [list][list]. This API is available in the following [national cloud deployments. + Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentType] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddCopyPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[AddCopyPostRequestBody] = None, request_configuration: Optional[AddCopyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a copy of a content type][contentType] from a [site][site] to a [list][list]. This API is available in the following [national cloud deployments. + Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddCopyPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.py index a30b69c201f..546a2f9c40f 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddCopyFromContentTypeHubPostRequestBody] = None, request_configuration: Optional[AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration] = None) -> Optional[ContentType]: """ - Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. This API is available in the following national cloud deployments. + Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentType] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddCopyFromContentTypeHubPostRequestBody] = N def to_post_request_information(self,body: Optional[AddCopyFromContentTypeHubPostRequestBody] = None, request_configuration: Optional[AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. This API is available in the following national cloud deployments. + Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddCopyFromContentTypeHubPos request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/content_types_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/content_types_request_builder.py index 1830802f041..40f9b281886 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/content_types_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/content_types_request_builder.py @@ -48,7 +48,7 @@ def by_content_type_id(self,content_type_id: str) -> ContentTypeItemRequestBuild async def get(self,request_configuration: Optional[ContentTypesRequestBuilderGetRequestConfiguration] = None) -> Optional[ContentTypeCollectionResponse]: """ - Get the collection of contentType][contentType] resources in a [list][]. This API is available in the following [national cloud deployments. + Get the collection of [contentType][contentType] resources in a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentTypeCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/list-list-contenttypes?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def post(self,body: Optional[ContentType] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[ContentTypesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the collection of contentType][contentType] resources in a [list][]. This API is available in the following [national cloud deployments. + Get the collection of [contentType][contentType] resources in a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,7 +106,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentTypes request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ContentType] = None, request_configuration: Optional[ContentTypesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_post_request_information(self,body: Optional[ContentType] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ def get_compatible_hub_content_types(self) -> GetCompatibleHubContentTypesReques @dataclass class ContentTypesRequestBuilderGetQueryParameters(): """ - Get the collection of contentType][contentType] resources in a [list][]. This API is available in the following [national cloud deployments. + Get the collection of [contentType][contentType] resources in a [list][]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_request_builder.py index 3b95268b62d..3e46efaba2e 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetCompatibl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetCompatibleHubContentTypesRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py index 45122e9e0b2..1686399d783 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, request_configuration: Optional[AssociateWithHubSitesRequestBuilderPostRequestConfiguration] = None) -> None: """ - Associate a content type][contentType] with a list of hub sites. This API is available in the following [national cloud deployments. + Associate a [content type][contentType] with a list of hub sites. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, def to_post_request_information(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, request_configuration: Optional[AssociateWithHubSitesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Associate a content type][contentType] with a list of hub sites. This API is available in the following [national cloud deployments. + Associate a [content type][contentType] with a list of hub sites. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AssociateWithHubSitesPostReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/base/base_request_builder_.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/base/base_request_builder_.py index c1664c6ab9a..af2cb4a411c 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/base/base_request_builder_.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/base/base_request_builder_.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[BaseRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> BaseRequestBuilder_: diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/base_types/base_types_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/base_types/base_types_request_builder.py index b85199d4a0e..a1559171dd8 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/base_types/base_types_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/base_types/base_types_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[BaseTypesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> BaseTypesRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/base_types/item/content_type_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/base_types/item/content_type_item_request_builder.py index 0728ace46ce..440c873b1dc 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/base_types/item/content_type_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/base_types/item/content_type_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentTypeI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ContentTypeItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/column_links/column_links_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/column_links/column_links_request_builder.py index cee10dbc12b..7ad6e5a63f0 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/column_links/column_links_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/column_links/column_links_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnLinksR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ColumnLink] = None, request_configuration: Optional[ColumnLinksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ColumnLink] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/column_links/item/column_link_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/column_links/item/column_link_item_request_builder.py index 00fabcace3e..4f94501a0ec 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/column_links/item/column_link_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/column_links/item/column_link_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ColumnLin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ColumnLinkItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnLinkIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ColumnLink] = None, request_configuration: Optional[ColumnLinkItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ColumnLink] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/column_positions/column_positions_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/column_positions/column_positions_request_builder.py index f996fc84f46..366ab6e1aab 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/column_positions/column_positions_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/column_positions/column_positions_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnPositi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ColumnPositionsRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/column_positions/item/column_definition_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/column_positions/item/column_definition_item_request_builder.py index b7c92e1d57c..d6908d1436b 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/column_positions/item/column_definition_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/column_positions/item/column_definition_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnDefini request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ColumnDefinitionItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/columns/columns_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/columns/columns_request_builder.py index def75add4c2..0a44c6bbcb8 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/columns/columns_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/columns/columns_request_builder.py @@ -45,7 +45,7 @@ def by_column_definition_id(self,column_definition_id: str) -> ColumnDefinitionI async def get(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> Optional[ColumnDefinitionCollectionResponse]: """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [content type][contentType]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/contenttype-list-columns?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ColumnsRequestBuilderGetReque async def post(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Add a column to a content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + Add a column to a [content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ColumnDefinition] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [content type][contentType]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ColumnsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a column to a content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + Add a column to a [content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ColumnDefinition] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ColumnsRequestBuilderGetQueryParameters(): """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [content type][contentType]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/columns/item/column_definition_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/columns/item/column_definition_item_request_builder.py index 43be58e6daa..dff511f11ce 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/columns/item/column_definition_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/columns/item/column_definition_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a column][columndefinition] from a [site][], [list][] or [content type][contentType]. This API is available in the following [national cloud deployments. + Remove a [column][columndefinition] from a [site][], [list][] or [content type][contentType]. 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/columndefinition-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[ColumnDefinitionItemReques async def get(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Retrieve the metadata for a site][], [list][] or [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] Find more info here: https://learn.microsoft.com/graph/api/columndefinition-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[ColumnDefinitionItemRequestBu async def patch(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Update a site][], [list][] or [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Update a [site][], [list][] or [content type][contentType] [column][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[ColumnDefinition] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a column][columndefinition] from a [site][], [list][] or [content type][contentType]. This API is available in the following [national cloud deployments. + Remove a [column][columndefinition] from a [site][], [list][] or [content type][contentType]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[ColumnDef request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the metadata for a site][], [list][] or [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[ColumnDefini request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update a site][], [list][] or [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Update a [site][], [list][] or [content type][contentType] [column][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class ColumnDefinitionItemRequestBuilderGetQueryParameters(): """ - Retrieve the metadata for a site][], [list][] or [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/columns/item/source_column/source_column_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/columns/item/source_column/source_column_request_builder.py index 350b63c5f4f..84a7f93acb2 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/columns/item/source_column/source_column_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/columns/item/source_column/source_column_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SourceColumn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SourceColumnRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/content_type_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/content_type_item_request_builder.py index 9b259e1f79b..d5176a9fb9c 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/content_type_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/content_type_item_request_builder.py @@ -113,7 +113,7 @@ def to_delete_request_information(self,request_configuration: Optional[ContentTy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ContentTypeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -130,7 +130,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentTypeI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ContentType] = None, request_configuration: Optional[ContentTypeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -149,7 +149,7 @@ def to_patch_request_information(self,body: Optional[ContentType] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py index f9a76ae2535..00f7ae45ce0 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] = None, request_configuration: Optional[CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration] = None) -> None: """ - Copy a file to a default content location in a content type][contentType]. The file can then be added as a default file or template via a POST operation. This API is available in the following [national cloud deployments. + Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] def to_post_request_information(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] = None, request_configuration: Optional[CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a file to a default content location in a content type][contentType]. The file can then be added as a default file or template via a POST operation. This API is available in the following [national cloud deployments. + Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CopyToDefaultContentLocation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/is_published/is_published_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/is_published/is_published_request_builder.py index 0681074d02b..a4c8b6b5584 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/is_published/is_published_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/is_published/is_published_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[IsPublishedR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IsPublishedRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/publish/publish_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/publish/publish_request_builder.py index 794f37a220b..069c0b245a6 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/publish/publish_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/publish/publish_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[PublishRequestBuilderPostRequestConfiguration] = None) -> None: """ - Publishes a contentType][] present in a content type hub site. This API is available in the following [national cloud deployments. + Publishes a [contentType][] present in a content type hub site. 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/contenttype-publish?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[PublishRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[PublishRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Publishes a contentType][] present in a content type hub site. This API is available in the following [national cloud deployments. + Publishes a [contentType][] present in a content type hub site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[PublishRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PublishRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/unpublish/unpublish_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/unpublish/unpublish_request_builder.py index aa0d9d9a70d..fb1ac6db805 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/unpublish/unpublish_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/content_types/item/unpublish/unpublish_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UnpublishRequestBuilderPostRequestConfiguration] = None) -> None: """ - Unpublish a contentType][] from a content type hub site. This API is available in the following [national cloud deployments. + Unpublish a [contentType][] from a content type hub site. 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/contenttype-unpublish?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UnpublishRequestBuilderPostR def to_post_request_information(self,request_configuration: Optional[UnpublishRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Unpublish a contentType][] from a content type hub site. This API is available in the following [national cloud deployments. + Unpublish a [contentType][] from a content type hub site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UnpublishRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnpublishRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/created_by_user/created_by_user_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/created_by_user/created_by_user_request_builder.py index 175ac97fd86..9d9b6e769e8 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/created_by_user/created_by_user_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/created_by_user/created_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[CreatedByUse request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreatedByUserRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py index edc8699270e..8d950c641f6 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index ab429dd2d02..a9522f617f1 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/drive/drive_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/drive/drive_request_builder.py index e9336750da7..77b6d5e175e 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/drive/drive_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/drive/drive_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/delta/delta_request_builder.py index a0940c69400..b27eb78f1b2 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/delta_with_token/delta_with_token_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/delta_with_token/delta_with_token_request_builder.py index 49e02f0f4f5..36a28abdb90 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/delta_with_token/delta_with_token_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/delta_with_token/delta_with_token_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaWithTok request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaWithTokenRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/activities/activities_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/activities/activities_request_builder.py index 974f4aef486..5bf1cf55dce 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/activities/activities_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/activities/activities_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivitiesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ItemActivityOLD] = None, request_configuration: Optional[ActivitiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ItemActivityOLD] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/activities/item/drive_item/content/content_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/activities/item/drive_item/content/content_request_builder.py index 597136e1a2f..596d008c908 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/activities/item/drive_item/content/content_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/activities/item/drive_item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/activities/item/drive_item/drive_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/activities/item/drive_item/drive_item_request_builder.py index e9d2fd09259..2a454220930 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/activities/item/drive_item/drive_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/activities/item/drive_item/drive_item_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/activities/item/item_activity_o_l_d_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/activities/item/item_activity_o_l_d_item_request_builder.py index 46eba336133..98fbeeec415 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/activities/item/item_activity_o_l_d_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/activities/item/item_activity_o_l_d_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemActiv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemActivityOLDItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemActivity request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemActivityOLD] = None, request_configuration: Optional[ItemActivityOLDItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ItemActivityOLD] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/activities/item/list_item/list_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/activities/item/list_item/list_item_request_builder.py index 21499d13c6c..1b3741f0e42 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/activities/item/list_item/list_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/activities/item/list_item/list_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ListItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ListItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/analytics/analytics_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/analytics/analytics_request_builder.py index 00e6b06df93..bbc91cc3300 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/analytics/analytics_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/analytics/analytics_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AnalyticsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AnalyticsRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/create_link/create_link_post_request_body.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/create_link/create_link_post_request_body.py index b2799e5915b..f66d636e4a3 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/create_link/create_link_post_request_body.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/create_link/create_link_post_request_body.py @@ -17,6 +17,8 @@ class CreateLinkPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): additional_data: Dict[str, Any] = field(default_factory=dict) # The expirationDateTime property expiration_date_time: Optional[datetime.datetime] = None + # The message property + message: Optional[str] = None # The password property password: Optional[str] = None # The recipients property @@ -52,6 +54,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "expirationDateTime": lambda n : setattr(self, 'expiration_date_time', n.get_datetime_value()), + "message": lambda n : setattr(self, 'message', n.get_str_value()), "password": lambda n : setattr(self, 'password', n.get_str_value()), "recipients": lambda n : setattr(self, 'recipients', n.get_collection_of_object_values(DriveRecipient)), "retainInheritedPermissions": lambda n : setattr(self, 'retain_inherited_permissions', n.get_bool_value()), @@ -70,6 +73,7 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") writer.write_datetime_value("expirationDateTime", self.expiration_date_time) + writer.write_str_value("message", self.message) writer.write_str_value("password", self.password) writer.write_collection_of_object_values("recipients", self.recipients) writer.write_bool_value("retainInheritedPermissions", self.retain_inherited_permissions) diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/create_link/create_link_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/create_link/create_link_request_builder.py index 88ffbdfb2cc..0c6441e2771 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/create_link/create_link_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/create_link/create_link_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateLinkPostRequestBody] = None, request_configuration: Optional[CreateLinkRequestBuilderPostRequestConfiguration] = None) -> Optional[Permission]: """ - Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action will return the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. This API is available in the following national cloud deployments. + Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action will return the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Permission] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateLinkPostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[CreateLinkPostRequestBody] = None, request_configuration: Optional[CreateLinkRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action will return the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. This API is available in the following national cloud deployments. + Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action will return the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateLinkPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/created_by_user/created_by_user_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/created_by_user/created_by_user_request_builder.py index cb477da5460..c886635d9ef 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/created_by_user/created_by_user_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/created_by_user/created_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[CreatedByUse request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreatedByUserRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py index 65bd53f82af..b4f6def07ed 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index eadf5abadd5..dd1cc572316 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/document_set_versions/document_set_versions_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/document_set_versions/document_set_versions_request_builder.py index e5043bed106..c2aa8576a3e 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/document_set_versions/document_set_versions_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/document_set_versions/document_set_versions_request_builder.py @@ -45,7 +45,7 @@ def by_document_set_version_id(self,document_set_version_id: str) -> DocumentSet async def get(self,request_configuration: Optional[DocumentSetVersionsRequestBuilderGetRequestConfiguration] = None) -> Optional[DocumentSetVersionCollectionResponse]: """ - Get a list of the versions of a document set item in a list. This API is available in the following national cloud deployments. + Get a list of the versions of a document set item in a list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DocumentSetVersionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/listitem-list-documentsetversions?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[DocumentSetVersionsRequestBui async def post(self,body: Optional[DocumentSetVersion] = None, request_configuration: Optional[DocumentSetVersionsRequestBuilderPostRequestConfiguration] = None) -> Optional[DocumentSetVersion]: """ - Create a new version of a document set item in a list. This API is available in the following national cloud deployments. + Create a new version of a document set item in a list. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DocumentSetVersion] @@ -92,7 +92,7 @@ async def post(self,body: Optional[DocumentSetVersion] = None, request_configura def to_get_request_information(self,request_configuration: Optional[DocumentSetVersionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the versions of a document set item in a list. This API is available in the following national cloud deployments. + Get a list of the versions of a document set item in a list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[DocumentSetV request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DocumentSetVersion] = None, request_configuration: Optional[DocumentSetVersionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new version of a document set item in a list. This API is available in the following national cloud deployments. + Create a new version of a document set item in a list. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[DocumentSetVersion] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DocumentSetVersionsRequestBuilderGetQueryParameters(): """ - Get a list of the versions of a document set item in a list. This API is available in the following national cloud deployments. + Get a list of the versions of a document set item in a list. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/document_set_versions/item/document_set_version_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/document_set_versions/item/document_set_version_item_request_builder.py index 18438383a59..7744f89bde8 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/document_set_versions/item/document_set_version_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/document_set_versions/item/document_set_version_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a version of a document set in a list. This API is available in the following national cloud deployments. + Delete a version of a document set in a list. 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/documentsetversion-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[DocumentSetVersionItemRequ async def get(self,request_configuration: Optional[DocumentSetVersionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DocumentSetVersion]: """ - Read the properties and relationships of a documentSetVersion object. This API is available in the following national cloud deployments. + Read the properties and relationships of a documentSetVersion object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DocumentSetVersion] Find more info here: https://learn.microsoft.com/graph/api/documentsetversion-get?view=graph-rest-1.0 @@ -96,7 +96,7 @@ async def patch(self,body: Optional[DocumentSetVersion] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a version of a document set in a list. This API is available in the following national cloud deployments. + Delete a version of a document set in a list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[DocumentS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DocumentSetVersionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a documentSetVersion object. This API is available in the following national cloud deployments. + Read the properties and relationships of a documentSetVersion object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[DocumentSetV request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DocumentSetVersion] = None, request_configuration: Optional[DocumentSetVersionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[DocumentSetVersion] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ class DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class DocumentSetVersionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a documentSetVersion object. This API is available in the following national cloud deployments. + Read the properties and relationships of a documentSetVersion object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/document_set_versions/item/fields/fields_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/document_set_versions/item/fields/fields_request_builder.py index cc57a60b816..96bcb4f78b6 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/document_set_versions/item/fields/fields_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/document_set_versions/item/fields/fields_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[FieldsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FieldsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[FieldsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[FieldValueSet] = None, request_configuration: Optional[FieldsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[FieldValueSet] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/document_set_versions/item/restore/restore_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/document_set_versions/item/restore/restore_request_builder.py index f97e7eae263..27778fd757f 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/document_set_versions/item/restore/restore_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/document_set_versions/item/restore/restore_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> None: """ - Restore a document set version. This API is available in the following national cloud deployments. + Restore a document set version. 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/documentsetversion-restore?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RestoreRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a document set version. This API is available in the following national cloud deployments. + Restore a document set version. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RestoreRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RestoreRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/drive_item/content/content_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/drive_item/content/content_request_builder.py index 8c3ad2d4344..cce739dbe41 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/drive_item/content/content_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/drive_item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/drive_item/drive_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/drive_item/drive_item_request_builder.py index 5d3449eb924..b00df78948f 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/drive_item/drive_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/drive_item/drive_item_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/fields/fields_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/fields/fields_request_builder.py index 9c352559771..36bdad956a8 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/fields/fields_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/fields/fields_request_builder.py @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[FieldsRequestBuilderGetReques async def patch(self,body: Optional[FieldValueSet] = None, request_configuration: Optional[FieldsRequestBuilderPatchRequestConfiguration] = None) -> Optional[FieldValueSet]: """ - Update the properties on a listItem][]. This API is available in the following [national cloud deployments. + Update the properties on a [listItem][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FieldValueSet] @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[FieldsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FieldsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,12 +121,12 @@ def to_get_request_information(self,request_configuration: Optional[FieldsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[FieldValueSet] = None, request_configuration: Optional[FieldsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties on a listItem][]. This API is available in the following [national cloud deployments. + Update the properties on a [listItem][]. 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 to_patch_request_information(self,body: Optional[FieldValueSet] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.py index 5f900fb0481..034780d49a0 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.py @@ -68,7 +68,7 @@ def to_get_request_information(self,request_configuration: Optional[GetActivitie request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/last_modified_by_user/last_modified_by_user_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/last_modified_by_user/last_modified_by_user_request_builder.py index 8a8269b9d63..a19c6e33365 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/last_modified_by_user/last_modified_by_user_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/last_modified_by_user/last_modified_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[LastModified request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastModifiedByUserRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py index 61b658bc29d..eb5f77aa427 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index fd39a6811b3..514f1f130ef 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/list_item_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/list_item_item_request_builder.py index 057ae233b69..08ffa5d2b3d 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/list_item_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/list_item_item_request_builder.py @@ -38,7 +38,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ListItemItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Removes an item from a list][]. This API is available in the following [national cloud deployments. + Removes an item from a [list][]. 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/listitem-delete?view=graph-rest-1.0 @@ -58,7 +58,7 @@ async def delete(self,request_configuration: Optional[ListItemItemRequestBuilder async def get(self,request_configuration: Optional[ListItemItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ListItem]: """ - Returns the metadata for an item][] in a [list][]. This API is available in the following [national cloud deployments. + Returns the metadata for an [item][] in a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ListItem] Find more info here: https://learn.microsoft.com/graph/api/listitem-get?view=graph-rest-1.0 @@ -122,7 +122,7 @@ async def patch(self,body: Optional[ListItem] = None, request_configuration: Opt def to_delete_request_information(self,request_configuration: Optional[ListItemItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Removes an item from a list][]. This API is available in the following [national cloud deployments. + Removes an item from a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -133,12 +133,12 @@ def to_delete_request_information(self,request_configuration: Optional[ListItemI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ListItemItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Returns the metadata for an item][] in a [list][]. This API is available in the following [national cloud deployments. + Returns the metadata for an [item][] in a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -150,7 +150,7 @@ def to_get_request_information(self,request_configuration: Optional[ListItemItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ListItem] = None, request_configuration: Optional[ListItemItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -169,7 +169,7 @@ def to_patch_request_information(self,body: Optional[ListItem] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -277,7 +277,7 @@ class ListItemItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class ListItemItemRequestBuilderGetQueryParameters(): """ - Returns the metadata for an item][] in a [list][]. This API is available in the following [national cloud deployments. + Returns the metadata for an [item][] in a [list][]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/versions/item/fields/fields_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/versions/item/fields/fields_request_builder.py index eb9666e9f00..eb23a19698c 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/versions/item/fields/fields_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/versions/item/fields/fields_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[FieldsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FieldsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[FieldsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[FieldValueSet] = None, request_configuration: Optional[FieldsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[FieldValueSet] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/versions/item/list_item_version_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/versions/item/list_item_version_item_request_builder.py index 19c4b95595f..e9e98c36e96 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/versions/item/list_item_version_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/versions/item/list_item_version_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ListItemV request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ListItemVersionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ListItemVers request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ListItemVersion] = None, request_configuration: Optional[ListItemVersionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ListItemVersion] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/versions/item/restore_version/restore_version_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/versions/item/restore_version/restore_version_request_builder.py index 1554818c510..d82103c2b8a 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/versions/item/restore_version/restore_version_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/versions/item/restore_version/restore_version_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RestoreVers request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RestoreVersionRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/versions/versions_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/versions/versions_request_builder.py index 1e874dbc678..a436ab85cb6 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/versions/versions_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/item/versions/versions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[VersionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ListItemVersion] = None, request_configuration: Optional[VersionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ListItemVersion] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/items_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/items_request_builder.py index 849ec92f5ef..d4b1b06dfae 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/items/items_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/items/items_request_builder.py @@ -58,7 +58,7 @@ def delta_with_token(self,token: Optional[str] = None) -> DeltaWithTokenRequestB async def get(self,request_configuration: Optional[ItemsRequestBuilderGetRequestConfiguration] = None) -> Optional[ListItemCollectionResponse]: """ - Get the collection of items][item] in a [list][]. This API is available in the following [national cloud deployments. + Get the collection of [items][item] in a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ListItemCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/listitem-list?view=graph-rest-1.0 @@ -80,7 +80,7 @@ async def get(self,request_configuration: Optional[ItemsRequestBuilderGetRequest async def post(self,body: Optional[ListItem] = None, request_configuration: Optional[ItemsRequestBuilderPostRequestConfiguration] = None) -> Optional[ListItem]: """ - Create a new listItem][] in a [list][]. This API is available in the following [national cloud deployments. + Create a new [listItem][] in a [list][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ListItem] @@ -105,7 +105,7 @@ async def post(self,body: Optional[ListItem] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[ItemsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the collection of items][item] in a [list][]. This API is available in the following [national cloud deployments. + Get the collection of [items][item] in a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,12 +117,12 @@ def to_get_request_information(self,request_configuration: Optional[ItemsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ListItem] = None, request_configuration: Optional[ItemsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new listItem][] in a [list][]. This API is available in the following [national cloud deployments. + Create a new [listItem][] in a [list][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -136,7 +136,7 @@ def to_post_request_information(self,body: Optional[ListItem] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -162,7 +162,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class ItemsRequestBuilderGetQueryParameters(): """ - Get the collection of items][item] in a [list][]. This API is available in the following [national cloud deployments. + Get the collection of [items][item] in a [list][]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/last_modified_by_user/last_modified_by_user_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/last_modified_by_user/last_modified_by_user_request_builder.py index 38a11e46e99..e5b9f0a4429 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/last_modified_by_user/last_modified_by_user_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/last_modified_by_user/last_modified_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[LastModified request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastModifiedByUserRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py index 7ea7a6dcee5..1a46d9ec79d 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index 0d06a485903..ccd27d91d29 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/list_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/list_item_request_builder.py index 7d906ea93de..9524a4f7ce1 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/list_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/list_item_request_builder.py @@ -56,7 +56,7 @@ async def delete(self,request_configuration: Optional[ListItemRequestBuilderDele async def get(self,request_configuration: Optional[ListItemRequestBuilderGetRequestConfiguration] = None) -> Optional[List_]: """ - Get the list of richLongRunningOperations associated with a list. This API is available in the following national cloud deployments. + Get the list of richLongRunningOperations associated with a list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[List_] Find more info here: https://learn.microsoft.com/graph/api/list-list-operations?view=graph-rest-1.0 @@ -113,12 +113,12 @@ def to_delete_request_information(self,request_configuration: Optional[ListItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ListItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of richLongRunningOperations associated with a list. This API is available in the following national cloud deployments. + Get the list of richLongRunningOperations associated with a list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -130,7 +130,7 @@ def to_get_request_information(self,request_configuration: Optional[ListItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[List_] = None, request_configuration: Optional[ListItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -149,7 +149,7 @@ def to_patch_request_information(self,body: Optional[List_] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -257,7 +257,7 @@ class ListItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class ListItemRequestBuilderGetQueryParameters(): """ - Get the list of richLongRunningOperations associated with a list. This API is available in the following national cloud deployments. + Get the list of richLongRunningOperations associated with a list. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/operations/item/rich_long_running_operation_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/operations/item/rich_long_running_operation_item_request_builder.py index 3291456649d..f55f2f0d2ca 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/operations/item/rich_long_running_operation_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/operations/item/rich_long_running_operation_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RichLongR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RichLongRunningOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RichLongRunn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RichLongRunningOperation] = None, request_configuration: Optional[RichLongRunningOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[RichLongRunningOperation] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/operations/operations_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/operations/operations_request_builder.py index 27af239a791..a3d67e5c852 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/operations/operations_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/operations/operations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[RichLongRunningOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[RichLongRunningOperation] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/subscriptions/item/reauthorize/reauthorize_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/subscriptions/item/reauthorize/reauthorize_request_builder.py index 152cc1de247..0425bae5b89 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/subscriptions/item/reauthorize/reauthorize_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/subscriptions/item/reauthorize/reauthorize_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ReauthorizeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reauthorize a subscription when you receive a reauthorizationRequired challenge. This API is available in the following national cloud deployments. + Reauthorize a subscription when you receive a reauthorizationRequired challenge. 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/subscription-reauthorize?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ReauthorizeRequestBuilderPos def to_post_request_information(self,request_configuration: Optional[ReauthorizeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reauthorize a subscription when you receive a reauthorizationRequired challenge. This API is available in the following national cloud deployments. + Reauthorize a subscription when you receive a reauthorizationRequired challenge. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[Reauthorize request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReauthorizeRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/subscriptions/item/subscription_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/subscriptions/item/subscription_item_request_builder.py index 5162d663957..056332ee58c 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/subscriptions/item/subscription_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/subscriptions/item/subscription_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Subscript request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SubscriptionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[Subscription request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Subscription] = None, request_configuration: Optional[SubscriptionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Subscription] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/item/subscriptions/subscriptions_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/item/subscriptions/subscriptions_request_builder.py index 2f26d76e1f7..d917ca33ffc 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/item/subscriptions/subscriptions_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/item/subscriptions/subscriptions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Subscription request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Subscription] = None, request_configuration: Optional[SubscriptionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Subscription] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/lists/lists_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/lists/lists_request_builder.py index 00e38373de5..07f5af2a009 100644 --- a/msgraph_beta/generated/groups/item/sites/item/lists/lists_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/lists/lists_request_builder.py @@ -45,7 +45,7 @@ def by_list_id(self,list_id: str) -> ListItemRequestBuilder: async def get(self,request_configuration: Optional[ListsRequestBuilderGetRequestConfiguration] = None) -> Optional[ListCollectionResponse]: """ - Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. This API is available in the following national cloud deployments. + Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ListCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/list-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ListsRequestBuilderGetRequest async def post(self,body: Optional[List_] = None, request_configuration: Optional[ListsRequestBuilderPostRequestConfiguration] = None) -> Optional[List_]: """ - Create a new list][] in a [site][]. This API is available in the following [national cloud deployments. + Create a new [list][] in a [site][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[List_] @@ -92,7 +92,7 @@ async def post(self,body: Optional[List_] = None, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[ListsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. This API is available in the following national cloud deployments. + Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ListsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[List_] = None, request_configuration: Optional[ListsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new list][] in a [site][]. This API is available in the following [national cloud deployments. + Create a new [list][] in a [site][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[List_] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ListsRequestBuilderGetQueryParameters(): """ - Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. This API is available in the following national cloud deployments. + Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.py index 6a56d861358..401e62a6e52 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetNotebookFromWebUrlPostRequestBody] = None, request_configuration: Optional[GetNotebookFromWebUrlRequestBuilderPostRequestConfiguration] = None) -> Optional[CopyNotebookModel]: """ - Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CopyNotebookModel] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetNotebookFromWebUrlPostRequestBody] = None, def to_post_request_information(self,body: Optional[GetNotebookFromWebUrlPostRequestBody] = None, request_configuration: Optional[GetNotebookFromWebUrlRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetNotebookFromWebUrlPostReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_request_builder.py index c4fe7d58a54..e3f4f24e7c5 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GetRecentNot request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.py index fae8be4c3be..39fafc43446 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyNotebookPostRequestBody] = None, request_configuration: Optional[CopyNotebookRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a notebook to the Notebooks folder in the destination Documents library. The folder is created if it doesn't exist. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a notebook to the Notebooks folder in the destination Documents library. The folder is created if it doesn't exist. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyNotebookPostRequestBody] = None, request_ def to_post_request_information(self,body: Optional[CopyNotebookPostRequestBody] = None, request_configuration: Optional[CopyNotebookRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a notebook to the Notebooks folder in the destination Documents library. The folder is created if it doesn't exist. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a notebook to the Notebooks folder in the destination Documents library. The folder is created if it doesn't exist. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyNotebookPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/notebook_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/notebook_item_request_builder.py index a44668d2f75..7a4231fbb6d 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/notebook_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/notebook_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[NotebookItemRequestBuilder async def get(self,request_configuration: Optional[NotebookItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Notebook]: """ - Retrieve the properties and relationships of a notebook object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a notebook object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Notebook] Find more info here: https://learn.microsoft.com/graph/api/notebook-get?view=graph-rest-1.0 @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[NotebookI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[NotebookItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a notebook object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a notebook object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[NotebookItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Notebook] = None, request_configuration: Optional[NotebookItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[Notebook] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -197,7 +197,7 @@ class NotebookItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class NotebookItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a notebook object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a notebook object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/parent_notebook/parent_notebook_request_builder.py index c07270b7d33..6568f3b0912 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/parent_section_group/parent_section_group_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/parent_section_group/parent_section_group_request_builder.py index 4977923d10a..ce4d351d544 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/parent_section_group/parent_section_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/parent_section_group/parent_section_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionGroupRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.py index 38ee9b515bf..8f7fcc1934c 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[SectionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SectionGroupItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SectionGroup] = None, request_configuration: Optional[SectionGroupItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[SectionGroup] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/section_groups/item/section_group_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/section_groups/item/section_group_item_request_builder.py index 8778608e482..1f0ac941dd7 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/section_groups/item/section_group_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/section_groups/item/section_group_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SectionGroupItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/section_groups/section_groups_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/section_groups/section_groups_request_builder.py index 2c3a98cc5e8..d867b5a9a8f 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/section_groups/section_groups_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/section_groups/section_groups_request_builder.py @@ -44,7 +44,7 @@ def by_section_group_id1(self,section_group_id1: str) -> SectionGroupItemRequest async def get(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[SectionGroupCollectionResponse]: """ - Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SectionGroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sectiongroup-list-sectiongroups?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[SectionGroupsRequestBuilderGe def to_get_request_information(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SectionGroupsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionGroupsRequestBuilderGetQueryParameters(): """ - Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified section group. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py index 4703189141d..98b1e442b21 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py index 548572260d3..d796fa681c7 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, re def to_post_request_information(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionGroupPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.py index f51f0eae1ec..60757152892 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenoteSe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenoteSectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenoteSecti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[OnenoteSectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[OnenoteSection] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.py index 571975e4a32..bcbdbf32f7f 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py index 36eb133e201..e3941f9283f 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py index 584fa0bdd78..199b1d523c3 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenotePa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenotePageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenotePageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[OnenotePageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[OnenotePage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py index 07b30971c2a..dceb593b64f 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[OnenotePatchContentPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py index 1dcc30313a6..014cbf3c398 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py index ba8f057d6fb..994b29348cb 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py index 63a8182eadb..5a698fdfbb1 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[PreviewReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PreviewRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.py index bf369fdf564..d1c3b811d1c 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PagesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[PagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnenotePage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py index 293bba392ab..a19a4380533 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py index 350fc5cbd79..82d083a37f4 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionGroupRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.py index 1087f6e6dc3..8b2fb4a22f4 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.py @@ -45,7 +45,7 @@ def by_onenote_section_id(self,onenote_section_id: str) -> OnenoteSectionItemReq async def get(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> Optional[OnenoteSectionCollectionResponse]: """ - Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of onenoteSection objects from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSectionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sectiongroup-list-sections?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SectionsRequestBuilderGetRequ async def post(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[SectionsRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteSection]: """ - Create a new section in the specified section group. This API is available in the following national cloud deployments. + Create a new section in the specified section group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSection] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OnenoteSection] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of onenoteSection objects from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SectionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[SectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new section in the specified section group. This API is available in the following national cloud deployments. + Create a new section in the specified section group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OnenoteSection] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionsRequestBuilderGetQueryParameters(): """ - Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of onenoteSection objects from the specified section group. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/section_groups_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/section_groups_request_builder.py index 3eaac3ec728..00aa2316c89 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/section_groups_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/section_groups/section_groups_request_builder.py @@ -45,7 +45,7 @@ def by_section_group_id(self,section_group_id: str) -> SectionGroupItemRequestBu async def get(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[SectionGroupCollectionResponse]: """ - Retrieve a list of section groups from the specified notebook. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified notebook. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SectionGroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/notebook-list-sectiongroups?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SectionGroupsRequestBuilderGe async def post(self,body: Optional[SectionGroup] = None, request_configuration: Optional[SectionGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[SectionGroup]: """ - Create a new section group in the specified notebook. This API is available in the following national cloud deployments. + Create a new section group in the specified notebook. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SectionGroup] @@ -92,7 +92,7 @@ async def post(self,body: Optional[SectionGroup] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of section groups from the specified notebook. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified notebook. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SectionGroup] = None, request_configuration: Optional[SectionGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new section group in the specified notebook. This API is available in the following national cloud deployments. + Create a new section group in the specified notebook. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[SectionGroup] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionGroupsRequestBuilderGetQueryParameters(): """ - Retrieve a list of section groups from the specified notebook. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified notebook. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py index 1fa82bfa901..3b184e48a21 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py index 4e8dd08659b..cc800a42fb3 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, re def to_post_request_information(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionGroupPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.py index b5eeb0a8de8..c7bf24d6e72 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenoteSe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenoteSectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenoteSecti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[OnenoteSectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[OnenoteSection] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.py index d8540580a0e..820fcf634a3 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py index f45f0ae49f2..32d1d728078 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.py index e54aeb1aa04..27a0624b218 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenotePa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenotePageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenotePageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[OnenotePageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[OnenotePage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py index d99816ed44b..b6b8435966b 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[OnenotePatchContentPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py index 8f5d4e89b4e..21e50d2c0fd 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/parent_section/parent_section_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/parent_section/parent_section_request_builder.py index 802c5f96c0b..623396467ff 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/parent_section/parent_section_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/parent_section/parent_section_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/preview/preview_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/preview/preview_request_builder.py index 25ab97c61aa..6738f313524 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/preview/preview_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/preview/preview_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[PreviewReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PreviewRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.py index efd9982f1f3..40845d4807b 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PagesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[PagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnenotePage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/parent_notebook/parent_notebook_request_builder.py index d16ffd734ff..e350cd35e7f 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/parent_section_group/parent_section_group_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/parent_section_group/parent_section_group_request_builder.py index aaeb32e6467..2da9d5b52c9 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/parent_section_group/parent_section_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/parent_section_group/parent_section_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionGroupRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/sections_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/sections_request_builder.py index 93bb210b10a..2fe7699b13d 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/sections_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/sections_request_builder.py @@ -45,7 +45,7 @@ def by_onenote_section_id(self,onenote_section_id: str) -> OnenoteSectionItemReq async def get(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> Optional[OnenoteSectionCollectionResponse]: """ - Retrieve a list of section objects from the specified notebook. This API is available in the following national cloud deployments. + Retrieve a list of section objects from the specified notebook. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSectionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/notebook-list-sections?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SectionsRequestBuilderGetRequ async def post(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[SectionsRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteSection]: """ - Create a new section in the specified notebook. This API is available in the following national cloud deployments. + Create a new section in the specified notebook. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSection] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OnenoteSection] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of section objects from the specified notebook. This API is available in the following national cloud deployments. + Retrieve a list of section objects from the specified notebook. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SectionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[SectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new section in the specified notebook. This API is available in the following national cloud deployments. + Create a new section in the specified notebook. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OnenoteSection] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionsRequestBuilderGetQueryParameters(): """ - Retrieve a list of section objects from the specified notebook. This API is available in the following national cloud deployments. + Retrieve a list of section objects from the specified notebook. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/notebooks_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/notebooks_request_builder.py index e95c16927a6..066413f72a4 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/notebooks_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/notebooks/notebooks_request_builder.py @@ -47,7 +47,7 @@ def by_notebook_id(self,notebook_id: str) -> NotebookItemRequestBuilder: async def get(self,request_configuration: Optional[NotebooksRequestBuilderGetRequestConfiguration] = None) -> Optional[NotebookCollectionResponse]: """ - Retrieve a list of notebook objects. This API is available in the following national cloud deployments. + Retrieve a list of notebook objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[NotebookCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/onenote-list-notebooks?view=graph-rest-1.0 @@ -81,7 +81,7 @@ def get_recent_notebooks_with_include_personal_notebooks(self,include_personal_n async def post(self,body: Optional[Notebook] = None, request_configuration: Optional[NotebooksRequestBuilderPostRequestConfiguration] = None) -> Optional[Notebook]: """ - Create a new OneNote notebook. This API is available in the following national cloud deployments. + Create a new OneNote notebook. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Notebook] @@ -106,7 +106,7 @@ async def post(self,body: Optional[Notebook] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[NotebooksRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of notebook objects. This API is available in the following national cloud deployments. + Retrieve a list of notebook objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -118,12 +118,12 @@ def to_get_request_information(self,request_configuration: Optional[NotebooksReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Notebook] = None, request_configuration: Optional[NotebooksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new OneNote notebook. This API is available in the following national cloud deployments. + Create a new OneNote notebook. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -137,7 +137,7 @@ def to_post_request_information(self,body: Optional[Notebook] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -172,7 +172,7 @@ def get_notebook_from_web_url(self) -> GetNotebookFromWebUrlRequestBuilder: @dataclass class NotebooksRequestBuilderGetQueryParameters(): """ - Retrieve a list of notebook objects. This API is available in the following national cloud deployments. + Retrieve a list of notebook objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/onenote_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/onenote_request_builder.py index 2442e6db5a8..6e3ff0b9e12 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/onenote_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/onenote_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenoteRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenoteRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenoteReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Onenote] = None, request_configuration: Optional[OnenoteRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[Onenote] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/operations/item/onenote_operation_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/operations/item/onenote_operation_item_request_builder.py index 12374f902d8..afe0e8c83b0 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/operations/item/onenote_operation_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/operations/item/onenote_operation_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[OnenoteOperationItemReques async def get(self,request_configuration: Optional[OnenoteOperationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] Find more info here: https://learn.microsoft.com/graph/api/onenoteoperation-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[OnenoteOp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenoteOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenoteOpera request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenoteOperation] = None, request_configuration: Optional[OnenoteOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[OnenoteOperation] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class OnenoteOperationItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class OnenoteOperationItemRequestBuilderGetQueryParameters(): """ - Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/operations/operations_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/operations/operations_request_builder.py index 1bd380ad6df..97885d0fdb9 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/operations/operations_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/operations/operations_request_builder.py @@ -45,7 +45,7 @@ def by_onenote_operation_id(self,onenote_operation_id: str) -> OnenoteOperationI async def get(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> Optional[OnenoteOperationCollectionResponse]: """ - Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperationCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[OnenoteOperation] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenoteOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnenoteOperation] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OperationsRequestBuilderGetQueryParameters(): """ - Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/content/content_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/content/content_request_builder.py index a6d3792c5fd..3d8a7137839 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/content/content_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.py index 6a8c2f3f029..25d7ae1b5f2 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/onenote_page_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/onenote_page_item_request_builder.py index 00085576738..0abf4872887 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/onenote_page_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/onenote_page_item_request_builder.py @@ -34,7 +34,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[OnenotePageItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a OneNote page. This API is available in the following national cloud deployments. + Delete a OneNote page. 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/page-delete?view=graph-rest-1.0 @@ -99,7 +99,7 @@ async def patch(self,body: Optional[OnenotePage] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[OnenotePageItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a OneNote page. This API is available in the following national cloud deployments. + Delete a OneNote page. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -110,7 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenotePa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenotePageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenotePageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[OnenotePageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[OnenotePage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py index 16bde02e963..eb035161253 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[OnenotePatchContentPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/parent_notebook/parent_notebook_request_builder.py index 4321e00297d..a1fb4e1eed0 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/parent_section/parent_section_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/parent_section/parent_section_request_builder.py index 38e10650d52..08b91f98df8 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/parent_section/parent_section_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/parent_section/parent_section_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/preview/preview_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/preview/preview_request_builder.py index e6ce15aca54..5b5b7f916bb 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/preview/preview_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/pages/item/preview/preview_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[PreviewReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PreviewRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/pages/pages_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/pages/pages_request_builder.py index 4ae22f72357..486ee7a3f34 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/pages/pages_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/pages/pages_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PagesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[PagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnenotePage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/resources/item/content/content_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/resources/item/content/content_request_builder.py index 0903d32bf54..bda664a0561 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/resources/item/content/content_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/resources/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/resources/item/onenote_resource_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/resources/item/onenote_resource_item_request_builder.py index 634467c5c10..d9f088d1746 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/resources/item/onenote_resource_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/resources/item/onenote_resource_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenoteRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenoteResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenoteResou request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenoteResource] = None, request_configuration: Optional[OnenoteResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[OnenoteResource] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/resources/resources_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/resources/resources_request_builder.py index 7bafc02cffb..830c8818ea9 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/resources/resources_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/resources/resources_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourcesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenoteResource] = None, request_configuration: Optional[ResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnenoteResource] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/parent_notebook/parent_notebook_request_builder.py index d0cc5f0a840..fa995870ee5 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/parent_section_group/parent_section_group_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/parent_section_group/parent_section_group_request_builder.py index c2181d8b27f..8f7d9fa5adb 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/parent_section_group/parent_section_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/parent_section_group/parent_section_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionGroupRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/section_group_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/section_group_item_request_builder.py index 05cdce54b66..ab07c68aa02 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/section_group_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/section_group_item_request_builder.py @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[SectionGroupItemRequestBui async def get(self,request_configuration: Optional[SectionGroupItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SectionGroup]: """ - Retrieve the properties and relationships of a sectionGroup object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a sectionGroup object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SectionGroup] Find more info here: https://learn.microsoft.com/graph/api/sectiongroup-get?view=graph-rest-1.0 @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[SectionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SectionGroupItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a sectionGroup object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a sectionGroup object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SectionGroup] = None, request_configuration: Optional[SectionGroupItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[SectionGroup] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -207,7 +207,7 @@ class SectionGroupItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class SectionGroupItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a sectionGroup object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a sectionGroup object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/section_groups/item/section_group_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/section_groups/item/section_group_item_request_builder.py index 8dd05da4cfa..c3692d79120 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/section_groups/item/section_group_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/section_groups/item/section_group_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SectionGroupItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/section_groups/section_groups_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/section_groups/section_groups_request_builder.py index d6898ec42ec..ef67f6de47c 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/section_groups/section_groups_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/section_groups/section_groups_request_builder.py @@ -44,7 +44,7 @@ def by_section_group_id1(self,section_group_id1: str) -> SectionGroupItemRequest async def get(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[SectionGroupCollectionResponse]: """ - Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SectionGroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sectiongroup-list-sectiongroups?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[SectionGroupsRequestBuilderGe def to_get_request_information(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SectionGroupsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionGroupsRequestBuilderGetQueryParameters(): """ - Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified section group. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py index 1bde4827b47..a070ab4ebb0 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py index b5b79808e72..3e9a9994686 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, re def to_post_request_information(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionGroupPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.py index 116d0de7f97..f40ade5d37c 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenoteSe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenoteSectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenoteSecti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[OnenoteSectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[OnenoteSection] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.py index da1d0b1a799..d485e552020 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py index faca990c00f..7cb69b4438b 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py index fe0a449f67f..8c55b089acd 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenotePa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenotePageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenotePageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[OnenotePageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[OnenotePage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py index 319ee35d946..0056750130d 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[OnenotePatchContentPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py index 906e30811c2..36071b5663d 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py index df77feb2eb7..f3e5f8f9bf2 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py index 1457d7ad995..2b41edcf92f 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[PreviewReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PreviewRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.py index a8812653a12..cbb4cf57796 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PagesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[PagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnenotePage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py index 38077b30884..bce4a3164c8 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py index 2e29d213f8d..60a8d50059a 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionGroupRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/sections_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/sections_request_builder.py index 44adc3db540..3c55c5f4e3f 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/sections_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/item/sections/sections_request_builder.py @@ -45,7 +45,7 @@ def by_onenote_section_id(self,onenote_section_id: str) -> OnenoteSectionItemReq async def get(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> Optional[OnenoteSectionCollectionResponse]: """ - Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of onenoteSection objects from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSectionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sectiongroup-list-sections?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SectionsRequestBuilderGetRequ async def post(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[SectionsRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteSection]: """ - Create a new section in the specified section group. This API is available in the following national cloud deployments. + Create a new section in the specified section group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSection] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OnenoteSection] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of onenoteSection objects from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SectionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[SectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new section in the specified section group. This API is available in the following national cloud deployments. + Create a new section in the specified section group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OnenoteSection] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionsRequestBuilderGetQueryParameters(): """ - Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of onenoteSection objects from the specified section group. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/section_groups_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/section_groups_request_builder.py index 432ae1b50ab..1263b963095 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/section_groups_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/section_groups/section_groups_request_builder.py @@ -45,7 +45,7 @@ def by_section_group_id(self,section_group_id: str) -> SectionGroupItemRequestBu async def get(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[SectionGroupCollectionResponse]: """ - Retrieve a list of sectionGroup objects. This API is available in the following national cloud deployments. + Retrieve a list of sectionGroup objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SectionGroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/onenote-list-sectiongroups?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[SectionGroup] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of sectionGroup objects. This API is available in the following national cloud deployments. + Retrieve a list of sectionGroup objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SectionGroup] = None, request_configuration: Optional[SectionGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SectionGroup] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionGroupsRequestBuilderGetQueryParameters(): """ - Retrieve a list of sectionGroup objects. This API is available in the following national cloud deployments. + Retrieve a list of sectionGroup objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py index 9d7f251fa27..427d140d6be 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py index e37d1d073ed..de8400d5d5f 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, re def to_post_request_information(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionGroupPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/onenote_section_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/onenote_section_item_request_builder.py index 8cf7fd2f3b9..4880314b0fc 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/onenote_section_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/onenote_section_item_request_builder.py @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[OnenoteSectionItemRequestB async def get(self,request_configuration: Optional[OnenoteSectionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OnenoteSection]: """ - Retrieve the properties and relationships of a section object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a section object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSection] Find more info here: https://learn.microsoft.com/graph/api/section-get?view=graph-rest-1.0 @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[OnenoteSe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenoteSectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a section object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a section object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenoteSecti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[OnenoteSectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[OnenoteSection] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -217,7 +217,7 @@ class OnenoteSectionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class OnenoteSectionItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a section object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a section object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/content/content_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/content/content_request_builder.py index c4e84933925..948b76c90fd 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/content/content_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py index c4fd207ad63..68609761d9a 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.py index 1ec5e352c88..b0a96fb659a 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenotePa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenotePageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenotePageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[OnenotePageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[OnenotePage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py index 81805b721f1..2e4366b3466 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[OnenotePatchContentPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py index 0a896dc2ca4..a848ffd527a 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/parent_section/parent_section_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/parent_section/parent_section_request_builder.py index f09f09d003c..f673977c865 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/parent_section/parent_section_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/parent_section/parent_section_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/preview/preview_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/preview/preview_request_builder.py index 793946f738a..c243c5949c2 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/preview/preview_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/preview/preview_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[PreviewReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PreviewRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/pages_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/pages_request_builder.py index 139eba76690..2d9f2ee36f4 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/pages_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/pages/pages_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PagesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[PagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnenotePage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/parent_notebook/parent_notebook_request_builder.py index d9b0010b767..2768759553b 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/parent_section_group/parent_section_group_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/parent_section_group/parent_section_group_request_builder.py index c685f8e11bc..917968aeae7 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/parent_section_group/parent_section_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/item/parent_section_group/parent_section_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionGroupRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/sections_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/sections_request_builder.py index 035b05b6369..21e4b4ed548 100644 --- a/msgraph_beta/generated/groups/item/sites/item/onenote/sections/sections_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/onenote/sections/sections_request_builder.py @@ -45,7 +45,7 @@ def by_onenote_section_id(self,onenote_section_id: str) -> OnenoteSectionItemReq async def get(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> Optional[OnenoteSectionCollectionResponse]: """ - Retrieve a list of section objects. This API is available in the following national cloud deployments. + Retrieve a list of section objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSectionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/onenote-list-sections?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[OnenoteSection] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of section objects. This API is available in the following national cloud deployments. + Retrieve a list of section objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[SectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[OnenoteSection] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionsRequestBuilderGetQueryParameters(): """ - Retrieve a list of section objects. This API is available in the following national cloud deployments. + Retrieve a list of section objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/operations/item/rich_long_running_operation_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/operations/item/rich_long_running_operation_item_request_builder.py index 1ddf402387b..52f45a4548b 100644 --- a/msgraph_beta/generated/groups/item/sites/item/operations/item/rich_long_running_operation_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/operations/item/rich_long_running_operation_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RichLongRunningOperationIt async def get(self,request_configuration: Optional[RichLongRunningOperationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[RichLongRunningOperation]: """ - Read the properties of a richLongRunningOperation object. This API is available in the following national cloud deployments. + Read the properties of a richLongRunningOperation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RichLongRunningOperation] Find more info here: https://learn.microsoft.com/graph/api/richlongrunningoperation-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[RichLongR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RichLongRunningOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties of a richLongRunningOperation object. This API is available in the following national cloud deployments. + Read the properties of a richLongRunningOperation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[RichLongRunn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RichLongRunningOperation] = None, request_configuration: Optional[RichLongRunningOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[RichLongRunningOperation] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class RichLongRunningOperationItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class RichLongRunningOperationItemRequestBuilderGetQueryParameters(): """ - Read the properties of a richLongRunningOperation object. This API is available in the following national cloud deployments. + Read the properties of a richLongRunningOperation object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/operations/operations_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/operations/operations_request_builder.py index 1fe2d0e06c0..93ba36f8adf 100644 --- a/msgraph_beta/generated/groups/item/sites/item/operations/operations_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/operations/operations_request_builder.py @@ -45,7 +45,7 @@ def by_rich_long_running_operation_id(self,rich_long_running_operation_id: str) async def get(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> Optional[RichLongRunningOperationCollectionResponse]: """ - Get the list of richLongRunningOperations associated with a site. This API is available in the following national cloud deployments. + Get the list of richLongRunningOperations associated with a site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RichLongRunningOperationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/site-list-operations?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[RichLongRunningOperation] = None, request_con def to_get_request_information(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of richLongRunningOperations associated with a site. This API is available in the following national cloud deployments. + Get the list of richLongRunningOperations associated with a site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[RichLongRunningOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[RichLongRunningOperation] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OperationsRequestBuilderGetQueryParameters(): """ - Get the list of richLongRunningOperations associated with a site. This API is available in the following national cloud deployments. + Get the list of richLongRunningOperations associated with a site. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/graph_site_page/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/graph_site_page/count/count_request_builder.py new file mode 100644 index 00000000000..cd57e4619d9 --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/pages/graph_site_page/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/groups/{group%2Did}/sites/{site%2Did}/pages/graph.sitePage/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/graph_site_page/graph_site_page_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/graph_site_page/graph_site_page_request_builder.py new file mode 100644 index 00000000000..bc031e7c7db --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/pages/graph_site_page/graph_site_page_request_builder.py @@ -0,0 +1,156 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .......models.site_page_collection_response import SitePageCollectionResponse + from .count.count_request_builder import CountRequestBuilder + +class GraphSitePageRequestBuilder(BaseRequestBuilder): + """ + Casts the previous resource to sitePage. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new GraphSitePageRequestBuilder 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}/groups/{group%2Did}/sites/{site%2Did}/pages/graph.sitePage{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[GraphSitePageRequestBuilderGetRequestConfiguration] = None) -> Optional[SitePageCollectionResponse]: + """ + Get the items of type microsoft.graph.sitePage in the microsoft.graph.baseSitePage collection + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[SitePageCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.site_page_collection_response import SitePageCollectionResponse + + return await self.request_adapter.send_async(request_info, SitePageCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[GraphSitePageRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get the items of type microsoft.graph.sitePage in the microsoft.graph.baseSitePage collection + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> GraphSitePageRequestBuilder: + """ + 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: GraphSitePageRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GraphSitePageRequestBuilder(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 GraphSitePageRequestBuilderGetQueryParameters(): + """ + Get the items of type microsoft.graph.sitePage in the microsoft.graph.baseSitePage collection + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GraphSitePageRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[GraphSitePageRequestBuilder.GraphSitePageRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/base_site_page_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/base_site_page_item_request_builder.py index f439b79e7df..cff50175721 100644 --- a/msgraph_beta/generated/groups/item/sites/item/pages/item/base_site_page_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/base_site_page_item_request_builder.py @@ -13,6 +13,7 @@ from .......models.base_site_page import BaseSitePage from .......models.o_data_errors.o_data_error import ODataError from .created_by_user.created_by_user_request_builder import CreatedByUserRequestBuilder + from .graph_site_page.graph_site_page_request_builder import GraphSitePageRequestBuilder from .last_modified_by_user.last_modified_by_user_request_builder import LastModifiedByUserRequestBuilder class BaseSitePageItemRequestBuilder(BaseRequestBuilder): @@ -49,7 +50,7 @@ async def delete(self,request_configuration: Optional[BaseSitePageItemRequestBui async def get(self,request_configuration: Optional[BaseSitePageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[BaseSitePage]: """ - Get the metadata for a baseSitePage][] in the site pages [list][] in a [site][]. This API is available in the following [national cloud deployments. + Get the metadata for a [baseSitePage][] in the site pages [list][] in a [site][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BaseSitePage] Find more info here: https://learn.microsoft.com/graph/api/basesitepage-get?view=graph-rest-1.0 @@ -106,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[BaseSiteP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BaseSitePageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the metadata for a baseSitePage][] in the site pages [list][] in a [site][]. This API is available in the following [national cloud deployments. + Get the metadata for a [baseSitePage][] in the site pages [list][] in a [site][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[BaseSitePage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[BaseSitePage] = None, request_configuration: Optional[BaseSitePageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +143,7 @@ def to_patch_request_information(self,body: Optional[BaseSitePage] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -165,6 +166,15 @@ def created_by_user(self) -> CreatedByUserRequestBuilder: return CreatedByUserRequestBuilder(self.request_adapter, self.path_parameters) + @property + def graph_site_page(self) -> GraphSitePageRequestBuilder: + """ + Casts the previous resource to sitePage. + """ + from .graph_site_page.graph_site_page_request_builder import GraphSitePageRequestBuilder + + return GraphSitePageRequestBuilder(self.request_adapter, self.path_parameters) + @property def last_modified_by_user(self) -> LastModifiedByUserRequestBuilder: """ @@ -187,7 +197,7 @@ class BaseSitePageItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class BaseSitePageItemRequestBuilderGetQueryParameters(): """ - Get the metadata for a baseSitePage][] in the site pages [list][] in a [site][]. This API is available in the following [national cloud deployments. + Get the metadata for a [baseSitePage][] in the site pages [list][] in a [site][]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/created_by_user/created_by_user_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/created_by_user/created_by_user_request_builder.py index 943b27e068d..ce577b241ae 100644 --- a/msgraph_beta/generated/groups/item/sites/item/pages/item/created_by_user/created_by_user_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/created_by_user/created_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[CreatedByUse request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreatedByUserRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py index 15a1b7a526d..ffd9e31f13d 100644 --- a/msgraph_beta/generated/groups/item/sites/item/pages/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index eb38f4c4a3e..c918beb127f 100644 --- a/msgraph_beta/generated/groups/item/sites/item/pages/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/recordings/item/call_recording_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/canvas_layout_request_builder.py similarity index 63% rename from msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/recordings/item/call_recording_item_request_builder.py rename to msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/canvas_layout_request_builder.py index b7f2a7ba972..4e704055237 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/recordings/item/call_recording_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/canvas_layout_request_builder.py @@ -10,26 +10,27 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .........models.call_recording import CallRecording + from .........models.canvas_layout import CanvasLayout from .........models.o_data_errors.o_data_error import ODataError - from .content.content_request_builder import ContentRequestBuilder + from .horizontal_sections.horizontal_sections_request_builder import HorizontalSectionsRequestBuilder + from .vertical_section.vertical_section_request_builder import VerticalSectionRequestBuilder -class CallRecordingItemRequestBuilder(BaseRequestBuilder): +class CanvasLayoutRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. + Provides operations to manage the canvasLayout property of the microsoft.graph.sitePage entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ - Instantiates a new CallRecordingItemRequestBuilder and sets the default values. + Instantiates a new CanvasLayoutRequestBuilder 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}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/recordings/{callRecording%2Did}{?%24select,%24expand}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout{?%24select,%24expand}", path_parameters) - async def delete(self,request_configuration: Optional[CallRecordingItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + async def delete(self,request_configuration: Optional[CanvasLayoutRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete navigation property recordings for solutions + Delete navigation property canvasLayout for groups param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ @@ -46,12 +47,11 @@ async def delete(self,request_configuration: Optional[CallRecordingItemRequestBu 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[CallRecordingItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CallRecording]: + async def get(self,request_configuration: Optional[CanvasLayoutRequestBuilderGetRequestConfiguration] = None) -> Optional[CanvasLayout]: """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. + Indicates the layout of the content in a given SharePoint page, including horizontal sections and vertical sections. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[CallRecording] - Find more info here: https://learn.microsoft.com/graph/api/callrecording-get?view=graph-rest-1.0 + Returns: Optional[CanvasLayout] """ request_info = self.to_get_request_information( request_configuration @@ -64,16 +64,16 @@ async def get(self,request_configuration: Optional[CallRecordingItemRequestBuild } if not self.request_adapter: raise Exception("Http core is null") - from .........models.call_recording import CallRecording + from .........models.canvas_layout import CanvasLayout - return await self.request_adapter.send_async(request_info, CallRecording, error_mapping) + return await self.request_adapter.send_async(request_info, CanvasLayout, error_mapping) - async def patch(self,body: Optional[CallRecording] = None, request_configuration: Optional[CallRecordingItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[CallRecording]: + async def patch(self,body: Optional[CanvasLayout] = None, request_configuration: Optional[CanvasLayoutRequestBuilderPatchRequestConfiguration] = None) -> Optional[CanvasLayout]: """ - Update the navigation property recordings in solutions + Update the navigation property canvasLayout in groups param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[CallRecording] + Returns: Optional[CanvasLayout] """ if not body: raise TypeError("body cannot be null.") @@ -88,13 +88,13 @@ async def patch(self,body: Optional[CallRecording] = None, request_configuration } if not self.request_adapter: raise Exception("Http core is null") - from .........models.call_recording import CallRecording + from .........models.canvas_layout import CanvasLayout - return await self.request_adapter.send_async(request_info, CallRecording, error_mapping) + return await self.request_adapter.send_async(request_info, CanvasLayout, error_mapping) - def to_delete_request_information(self,request_configuration: Optional[CallRecordingItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + def to_delete_request_information(self,request_configuration: Optional[CanvasLayoutRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete navigation property recordings for solutions + Delete navigation property canvasLayout for groups param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[CallRecor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info - def to_get_request_information(self,request_configuration: Optional[CallRecordingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + def to_get_request_information(self,request_configuration: Optional[CanvasLayoutRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. + Indicates the layout of the content in a given SharePoint page, including horizontal sections and vertical sections. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[CallRecordin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info - def to_patch_request_information(self,body: Optional[CallRecording] = None, request_configuration: Optional[CallRecordingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + def to_patch_request_information(self,body: Optional[CanvasLayout] = None, request_configuration: Optional[CanvasLayoutRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the navigation property recordings in solutions + Update the navigation property canvasLayout in groups param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,33 +141,42 @@ def to_patch_request_information(self,body: Optional[CallRecording] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + 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: Optional[str] = None) -> CallRecordingItemRequestBuilder: + def with_url(self,raw_url: Optional[str] = None) -> CanvasLayoutRequestBuilder: """ 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: CallRecordingItemRequestBuilder + Returns: CanvasLayoutRequestBuilder """ if not raw_url: raise TypeError("raw_url cannot be null.") - return CallRecordingItemRequestBuilder(self.request_adapter, raw_url) + return CanvasLayoutRequestBuilder(self.request_adapter, raw_url) @property - def content(self) -> ContentRequestBuilder: + def horizontal_sections(self) -> HorizontalSectionsRequestBuilder: """ - Provides operations to manage the media for the solutionsRoot entity. + Provides operations to manage the horizontalSections property of the microsoft.graph.canvasLayout entity. """ - from .content.content_request_builder import ContentRequestBuilder + from .horizontal_sections.horizontal_sections_request_builder import HorizontalSectionsRequestBuilder - return ContentRequestBuilder(self.request_adapter, self.path_parameters) + return HorizontalSectionsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def vertical_section(self) -> VerticalSectionRequestBuilder: + """ + Provides operations to manage the verticalSection property of the microsoft.graph.canvasLayout entity. + """ + from .vertical_section.vertical_section_request_builder import VerticalSectionRequestBuilder + + return VerticalSectionRequestBuilder(self.request_adapter, self.path_parameters) from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class CallRecordingItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + class CanvasLayoutRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ @@ -175,9 +184,9 @@ class CallRecordingItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfi """ @dataclass - class CallRecordingItemRequestBuilderGetQueryParameters(): + class CanvasLayoutRequestBuilderGetQueryParameters(): """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. + Indicates the layout of the content in a given SharePoint page, including horizontal sections and vertical sections. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ @@ -203,20 +212,20 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class CallRecordingItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + class CanvasLayoutRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ Configuration for the request such as headers, query parameters, and middleware options. """ # Request query parameters - query_parameters: Optional[CallRecordingItemRequestBuilder.CallRecordingItemRequestBuilderGetQueryParameters] = None + query_parameters: Optional[CanvasLayoutRequestBuilder.CanvasLayoutRequestBuilderGetQueryParameters] = None from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class CallRecordingItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + class CanvasLayoutRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/count/count_request_builder.py new file mode 100644 index 00000000000..a392361e0b6 --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/horizontal_sections_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/horizontal_sections_request_builder.py new file mode 100644 index 00000000000..1f27a2665a7 --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/horizontal_sections_request_builder.py @@ -0,0 +1,226 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..........models.horizontal_section import HorizontalSection + from ..........models.horizontal_section_collection_response import HorizontalSectionCollectionResponse + from ..........models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.horizontal_section_item_request_builder import HorizontalSectionItemRequestBuilder + +class HorizontalSectionsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the horizontalSections property of the microsoft.graph.canvasLayout entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new HorizontalSectionsRequestBuilder 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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_horizontal_section_id(self,horizontal_section_id: str) -> HorizontalSectionItemRequestBuilder: + """ + Provides operations to manage the horizontalSections property of the microsoft.graph.canvasLayout entity. + param horizontal_section_id: The unique identifier of horizontalSection + Returns: HorizontalSectionItemRequestBuilder + """ + if not horizontal_section_id: + raise TypeError("horizontal_section_id cannot be null.") + from .item.horizontal_section_item_request_builder import HorizontalSectionItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["horizontalSection%2Did"] = horizontal_section_id + return HorizontalSectionItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[HorizontalSectionsRequestBuilderGetRequestConfiguration] = None) -> Optional[HorizontalSectionCollectionResponse]: + """ + Collection of horizontal sections on the SharePoint page. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HorizontalSectionCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.horizontal_section_collection_response import HorizontalSectionCollectionResponse + + return await self.request_adapter.send_async(request_info, HorizontalSectionCollectionResponse, error_mapping) + + async def post(self,body: Optional[HorizontalSection] = None, request_configuration: Optional[HorizontalSectionsRequestBuilderPostRequestConfiguration] = None) -> Optional[HorizontalSection]: + """ + Create new navigation property to horizontalSections for groups + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HorizontalSection] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.horizontal_section import HorizontalSection + + return await self.request_adapter.send_async(request_info, HorizontalSection, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[HorizontalSectionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Collection of horizontal sections on the SharePoint page. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[HorizontalSection] = None, request_configuration: Optional[HorizontalSectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to horizontalSections for groups + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> HorizontalSectionsRequestBuilder: + """ + 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: HorizontalSectionsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return HorizontalSectionsRequestBuilder(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 HorizontalSectionsRequestBuilderGetQueryParameters(): + """ + Collection of horizontal sections on the SharePoint page. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class HorizontalSectionsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[HorizontalSectionsRequestBuilder.HorizontalSectionsRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class HorizontalSectionsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/columns_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/columns_request_builder.py new file mode 100644 index 00000000000..dd4847660b1 --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/columns_request_builder.py @@ -0,0 +1,226 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ............models.horizontal_section_column import HorizontalSectionColumn + from ............models.horizontal_section_column_collection_response import HorizontalSectionColumnCollectionResponse + from ............models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.horizontal_section_column_item_request_builder import HorizontalSectionColumnItemRequestBuilder + +class ColumnsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the columns property of the microsoft.graph.horizontalSection entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ColumnsRequestBuilder 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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/{horizontalSection%2Did}/columns{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_horizontal_section_column_id(self,horizontal_section_column_id: str) -> HorizontalSectionColumnItemRequestBuilder: + """ + Provides operations to manage the columns property of the microsoft.graph.horizontalSection entity. + param horizontal_section_column_id: The unique identifier of horizontalSectionColumn + Returns: HorizontalSectionColumnItemRequestBuilder + """ + if not horizontal_section_column_id: + raise TypeError("horizontal_section_column_id cannot be null.") + from .item.horizontal_section_column_item_request_builder import HorizontalSectionColumnItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["horizontalSectionColumn%2Did"] = horizontal_section_column_id + return HorizontalSectionColumnItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> Optional[HorizontalSectionColumnCollectionResponse]: + """ + The set of vertical columns in this section. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HorizontalSectionColumnCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ............models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ............models.horizontal_section_column_collection_response import HorizontalSectionColumnCollectionResponse + + return await self.request_adapter.send_async(request_info, HorizontalSectionColumnCollectionResponse, error_mapping) + + async def post(self,body: Optional[HorizontalSectionColumn] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> Optional[HorizontalSectionColumn]: + """ + Create new navigation property to columns for groups + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HorizontalSectionColumn] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ............models.horizontal_section_column import HorizontalSectionColumn + + return await self.request_adapter.send_async(request_info, HorizontalSectionColumn, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + The set of vertical columns in this section. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[HorizontalSectionColumn] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to columns for groups + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> ColumnsRequestBuilder: + """ + 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: ColumnsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ColumnsRequestBuilder(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 ColumnsRequestBuilderGetQueryParameters(): + """ + The set of vertical columns in this section. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ColumnsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[ColumnsRequestBuilder.ColumnsRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ColumnsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/count/count_request_builder.py new file mode 100644 index 00000000000..432e61b455f --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/{horizontalSection%2Did}/columns/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .............models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/horizontal_section_column_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/horizontal_section_column_item_request_builder.py new file mode 100644 index 00000000000..f65e9e53288 --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/horizontal_section_column_item_request_builder.py @@ -0,0 +1,225 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .............models.horizontal_section_column import HorizontalSectionColumn + from .............models.o_data_errors.o_data_error import ODataError + from .webparts.webparts_request_builder import WebpartsRequestBuilder + +class HorizontalSectionColumnItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the columns property of the microsoft.graph.horizontalSection entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new HorizontalSectionColumnItemRequestBuilder 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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/{horizontalSection%2Did}/columns/{horizontalSectionColumn%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[HorizontalSectionColumnItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property columns for groups + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[HorizontalSectionColumnItemRequestBuilderGetRequestConfiguration] = None) -> Optional[HorizontalSectionColumn]: + """ + The set of vertical columns in this section. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HorizontalSectionColumn] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .............models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .............models.horizontal_section_column import HorizontalSectionColumn + + return await self.request_adapter.send_async(request_info, HorizontalSectionColumn, error_mapping) + + async def patch(self,body: Optional[HorizontalSectionColumn] = None, request_configuration: Optional[HorizontalSectionColumnItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[HorizontalSectionColumn]: + """ + Update the navigation property columns in groups + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HorizontalSectionColumn] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .............models.horizontal_section_column import HorizontalSectionColumn + + return await self.request_adapter.send_async(request_info, HorizontalSectionColumn, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[HorizontalSectionColumnItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property columns for groups + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[HorizontalSectionColumnItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + The set of vertical columns in this section. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[HorizontalSectionColumn] = None, request_configuration: Optional[HorizontalSectionColumnItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property columns in groups + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> HorizontalSectionColumnItemRequestBuilder: + """ + 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: HorizontalSectionColumnItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return HorizontalSectionColumnItemRequestBuilder(self.request_adapter, raw_url) + + @property + def webparts(self) -> WebpartsRequestBuilder: + """ + Provides operations to manage the webparts property of the microsoft.graph.horizontalSectionColumn entity. + """ + from .webparts.webparts_request_builder import WebpartsRequestBuilder + + return WebpartsRequestBuilder(self.request_adapter, self.path_parameters) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class HorizontalSectionColumnItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class HorizontalSectionColumnItemRequestBuilderGetQueryParameters(): + """ + The set of vertical columns in this section. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class HorizontalSectionColumnItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[HorizontalSectionColumnItemRequestBuilder.HorizontalSectionColumnItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class HorizontalSectionColumnItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/count/count_request_builder.py new file mode 100644 index 00000000000..0c41bff8c43 --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/{horizontalSection%2Did}/columns/{horizontalSectionColumn%2Did}/webparts/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...............models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/item/get_position_of_web_part/get_position_of_web_part_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/item/get_position_of_web_part/get_position_of_web_part_request_builder.py new file mode 100644 index 00000000000..784fb67c330 --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/item/get_position_of_web_part/get_position_of_web_part_request_builder.py @@ -0,0 +1,86 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ................models.o_data_errors.o_data_error import ODataError + from ................models.web_part_position import WebPartPosition + +class GetPositionOfWebPartRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getPositionOfWebPart method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new GetPositionOfWebPartRequestBuilder 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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/{horizontalSection%2Did}/columns/{horizontalSectionColumn%2Did}/webparts/{webPart%2Did}/getPositionOfWebPart", path_parameters) + + async def post(self,request_configuration: Optional[GetPositionOfWebPartRequestBuilderPostRequestConfiguration] = None) -> Optional[WebPartPosition]: + """ + Invoke action getPositionOfWebPart + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[WebPartPosition] + """ + request_info = self.to_post_request_information( + request_configuration + ) + from ................models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ................models.web_part_position import WebPartPosition + + return await self.request_adapter.send_async(request_info, WebPartPosition, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[GetPositionOfWebPartRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action getPositionOfWebPart + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> GetPositionOfWebPartRequestBuilder: + """ + 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: GetPositionOfWebPartRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GetPositionOfWebPartRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GetPositionOfWebPartRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/item/web_part_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/item/web_part_item_request_builder.py new file mode 100644 index 00000000000..de4af329392 --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/item/web_part_item_request_builder.py @@ -0,0 +1,225 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ...............models.o_data_errors.o_data_error import ODataError + from ...............models.web_part import WebPart + from .get_position_of_web_part.get_position_of_web_part_request_builder import GetPositionOfWebPartRequestBuilder + +class WebPartItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the webparts property of the microsoft.graph.horizontalSectionColumn entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new WebPartItemRequestBuilder 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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/{horizontalSection%2Did}/columns/{horizontalSectionColumn%2Did}/webparts/{webPart%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[WebPartItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property webparts for groups + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[WebPartItemRequestBuilderGetRequestConfiguration] = None) -> Optional[WebPart]: + """ + The collection of WebParts in this column. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[WebPart] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...............models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...............models.web_part import WebPart + + return await self.request_adapter.send_async(request_info, WebPart, error_mapping) + + async def patch(self,body: Optional[WebPart] = None, request_configuration: Optional[WebPartItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[WebPart]: + """ + Update the navigation property webparts in groups + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[WebPart] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...............models.web_part import WebPart + + return await self.request_adapter.send_async(request_info, WebPart, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[WebPartItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property webparts for groups + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[WebPartItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + The collection of WebParts in this column. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[WebPart] = None, request_configuration: Optional[WebPartItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property webparts in groups + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> WebPartItemRequestBuilder: + """ + 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: WebPartItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return WebPartItemRequestBuilder(self.request_adapter, raw_url) + + @property + def get_position_of_web_part(self) -> GetPositionOfWebPartRequestBuilder: + """ + Provides operations to call the getPositionOfWebPart method. + """ + from .get_position_of_web_part.get_position_of_web_part_request_builder import GetPositionOfWebPartRequestBuilder + + return GetPositionOfWebPartRequestBuilder(self.request_adapter, self.path_parameters) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class WebPartItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class WebPartItemRequestBuilderGetQueryParameters(): + """ + The collection of WebParts in this column. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class WebPartItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[WebPartItemRequestBuilder.WebPartItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class WebPartItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/webparts_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/webparts_request_builder.py new file mode 100644 index 00000000000..b51ba66f3df --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/webparts_request_builder.py @@ -0,0 +1,226 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..............models.o_data_errors.o_data_error import ODataError + from ..............models.web_part import WebPart + from ..............models.web_part_collection_response import WebPartCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.web_part_item_request_builder import WebPartItemRequestBuilder + +class WebpartsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the webparts property of the microsoft.graph.horizontalSectionColumn entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new WebpartsRequestBuilder 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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/{horizontalSection%2Did}/columns/{horizontalSectionColumn%2Did}/webparts{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_web_part_id(self,web_part_id: str) -> WebPartItemRequestBuilder: + """ + Provides operations to manage the webparts property of the microsoft.graph.horizontalSectionColumn entity. + param web_part_id: The unique identifier of webPart + Returns: WebPartItemRequestBuilder + """ + if not web_part_id: + raise TypeError("web_part_id cannot be null.") + from .item.web_part_item_request_builder import WebPartItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["webPart%2Did"] = web_part_id + return WebPartItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[WebpartsRequestBuilderGetRequestConfiguration] = None) -> Optional[WebPartCollectionResponse]: + """ + The collection of WebParts in this column. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[WebPartCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ..............models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..............models.web_part_collection_response import WebPartCollectionResponse + + return await self.request_adapter.send_async(request_info, WebPartCollectionResponse, error_mapping) + + async def post(self,body: Optional[WebPart] = None, request_configuration: Optional[WebpartsRequestBuilderPostRequestConfiguration] = None) -> Optional[WebPart]: + """ + Create new navigation property to webparts for groups + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[WebPart] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..............models.web_part import WebPart + + return await self.request_adapter.send_async(request_info, WebPart, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[WebpartsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + The collection of WebParts in this column. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[WebPart] = None, request_configuration: Optional[WebpartsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to webparts for groups + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> WebpartsRequestBuilder: + """ + 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: WebpartsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return WebpartsRequestBuilder(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 WebpartsRequestBuilderGetQueryParameters(): + """ + The collection of WebParts in this column. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class WebpartsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[WebpartsRequestBuilder.WebpartsRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class WebpartsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/horizontal_section_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/horizontal_section_item_request_builder.py new file mode 100644 index 00000000000..07b831a0ad4 --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/horizontal_section_item_request_builder.py @@ -0,0 +1,225 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ...........models.horizontal_section import HorizontalSection + from ...........models.o_data_errors.o_data_error import ODataError + from .columns.columns_request_builder import ColumnsRequestBuilder + +class HorizontalSectionItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the horizontalSections property of the microsoft.graph.canvasLayout entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new HorizontalSectionItemRequestBuilder 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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/{horizontalSection%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[HorizontalSectionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property horizontalSections for groups + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[HorizontalSectionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[HorizontalSection]: + """ + Collection of horizontal sections on the SharePoint page. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HorizontalSection] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...........models.horizontal_section import HorizontalSection + + return await self.request_adapter.send_async(request_info, HorizontalSection, error_mapping) + + async def patch(self,body: Optional[HorizontalSection] = None, request_configuration: Optional[HorizontalSectionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[HorizontalSection]: + """ + Update the navigation property horizontalSections in groups + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HorizontalSection] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...........models.horizontal_section import HorizontalSection + + return await self.request_adapter.send_async(request_info, HorizontalSection, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[HorizontalSectionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property horizontalSections for groups + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[HorizontalSectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Collection of horizontal sections on the SharePoint page. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[HorizontalSection] = None, request_configuration: Optional[HorizontalSectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property horizontalSections in groups + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> HorizontalSectionItemRequestBuilder: + """ + 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: HorizontalSectionItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return HorizontalSectionItemRequestBuilder(self.request_adapter, raw_url) + + @property + def columns(self) -> ColumnsRequestBuilder: + """ + Provides operations to manage the columns property of the microsoft.graph.horizontalSection entity. + """ + from .columns.columns_request_builder import ColumnsRequestBuilder + + return ColumnsRequestBuilder(self.request_adapter, self.path_parameters) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class HorizontalSectionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class HorizontalSectionItemRequestBuilderGetQueryParameters(): + """ + Collection of horizontal sections on the SharePoint page. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class HorizontalSectionItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[HorizontalSectionItemRequestBuilder.HorizontalSectionItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class HorizontalSectionItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/vertical_section_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/vertical_section_request_builder.py new file mode 100644 index 00000000000..895e04c386a --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/vertical_section_request_builder.py @@ -0,0 +1,225 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..........models.o_data_errors.o_data_error import ODataError + from ..........models.vertical_section import VerticalSection + from .webparts.webparts_request_builder import WebpartsRequestBuilder + +class VerticalSectionRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the verticalSection property of the microsoft.graph.canvasLayout entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new VerticalSectionRequestBuilder 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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/verticalSection{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[VerticalSectionRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property verticalSection for groups + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[VerticalSectionRequestBuilderGetRequestConfiguration] = None) -> Optional[VerticalSection]: + """ + Vertical section on the SharePoint page. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VerticalSection] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.vertical_section import VerticalSection + + return await self.request_adapter.send_async(request_info, VerticalSection, error_mapping) + + async def patch(self,body: Optional[VerticalSection] = None, request_configuration: Optional[VerticalSectionRequestBuilderPatchRequestConfiguration] = None) -> Optional[VerticalSection]: + """ + Update the navigation property verticalSection in groups + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VerticalSection] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.vertical_section import VerticalSection + + return await self.request_adapter.send_async(request_info, VerticalSection, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[VerticalSectionRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property verticalSection for groups + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[VerticalSectionRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Vertical section on the SharePoint page. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[VerticalSection] = None, request_configuration: Optional[VerticalSectionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property verticalSection in groups + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> VerticalSectionRequestBuilder: + """ + 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: VerticalSectionRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return VerticalSectionRequestBuilder(self.request_adapter, raw_url) + + @property + def webparts(self) -> WebpartsRequestBuilder: + """ + Provides operations to manage the webparts property of the microsoft.graph.verticalSection entity. + """ + from .webparts.webparts_request_builder import WebpartsRequestBuilder + + return WebpartsRequestBuilder(self.request_adapter, self.path_parameters) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class VerticalSectionRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class VerticalSectionRequestBuilderGetQueryParameters(): + """ + Vertical section on the SharePoint page. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class VerticalSectionRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[VerticalSectionRequestBuilder.VerticalSectionRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class VerticalSectionRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/count/count_request_builder.py new file mode 100644 index 00000000000..3b77e591274 --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/verticalSection/webparts/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ............models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/item/get_position_of_web_part/get_position_of_web_part_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/item/get_position_of_web_part/get_position_of_web_part_request_builder.py new file mode 100644 index 00000000000..b851da8f599 --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/item/get_position_of_web_part/get_position_of_web_part_request_builder.py @@ -0,0 +1,86 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .............models.o_data_errors.o_data_error import ODataError + from .............models.web_part_position import WebPartPosition + +class GetPositionOfWebPartRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getPositionOfWebPart method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new GetPositionOfWebPartRequestBuilder 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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/verticalSection/webparts/{webPart%2Did}/getPositionOfWebPart", path_parameters) + + async def post(self,request_configuration: Optional[GetPositionOfWebPartRequestBuilderPostRequestConfiguration] = None) -> Optional[WebPartPosition]: + """ + Invoke action getPositionOfWebPart + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[WebPartPosition] + """ + request_info = self.to_post_request_information( + request_configuration + ) + from .............models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .............models.web_part_position import WebPartPosition + + return await self.request_adapter.send_async(request_info, WebPartPosition, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[GetPositionOfWebPartRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action getPositionOfWebPart + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> GetPositionOfWebPartRequestBuilder: + """ + 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: GetPositionOfWebPartRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GetPositionOfWebPartRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GetPositionOfWebPartRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/item/web_part_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/item/web_part_item_request_builder.py new file mode 100644 index 00000000000..efa79dbfefa --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/item/web_part_item_request_builder.py @@ -0,0 +1,225 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ............models.o_data_errors.o_data_error import ODataError + from ............models.web_part import WebPart + from .get_position_of_web_part.get_position_of_web_part_request_builder import GetPositionOfWebPartRequestBuilder + +class WebPartItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the webparts property of the microsoft.graph.verticalSection entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new WebPartItemRequestBuilder 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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/verticalSection/webparts/{webPart%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[WebPartItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property webparts for groups + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[WebPartItemRequestBuilderGetRequestConfiguration] = None) -> Optional[WebPart]: + """ + The set of web parts in this section. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[WebPart] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ............models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ............models.web_part import WebPart + + return await self.request_adapter.send_async(request_info, WebPart, error_mapping) + + async def patch(self,body: Optional[WebPart] = None, request_configuration: Optional[WebPartItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[WebPart]: + """ + Update the navigation property webparts in groups + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[WebPart] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ............models.web_part import WebPart + + return await self.request_adapter.send_async(request_info, WebPart, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[WebPartItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property webparts for groups + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[WebPartItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + The set of web parts in this section. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[WebPart] = None, request_configuration: Optional[WebPartItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property webparts in groups + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> WebPartItemRequestBuilder: + """ + 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: WebPartItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return WebPartItemRequestBuilder(self.request_adapter, raw_url) + + @property + def get_position_of_web_part(self) -> GetPositionOfWebPartRequestBuilder: + """ + Provides operations to call the getPositionOfWebPart method. + """ + from .get_position_of_web_part.get_position_of_web_part_request_builder import GetPositionOfWebPartRequestBuilder + + return GetPositionOfWebPartRequestBuilder(self.request_adapter, self.path_parameters) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class WebPartItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class WebPartItemRequestBuilderGetQueryParameters(): + """ + The set of web parts in this section. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class WebPartItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[WebPartItemRequestBuilder.WebPartItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class WebPartItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/webparts_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/webparts_request_builder.py new file mode 100644 index 00000000000..ed98b125120 --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/webparts_request_builder.py @@ -0,0 +1,226 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ...........models.o_data_errors.o_data_error import ODataError + from ...........models.web_part import WebPart + from ...........models.web_part_collection_response import WebPartCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.web_part_item_request_builder import WebPartItemRequestBuilder + +class WebpartsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the webparts property of the microsoft.graph.verticalSection entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new WebpartsRequestBuilder 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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/verticalSection/webparts{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_web_part_id(self,web_part_id: str) -> WebPartItemRequestBuilder: + """ + Provides operations to manage the webparts property of the microsoft.graph.verticalSection entity. + param web_part_id: The unique identifier of webPart + Returns: WebPartItemRequestBuilder + """ + if not web_part_id: + raise TypeError("web_part_id cannot be null.") + from .item.web_part_item_request_builder import WebPartItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["webPart%2Did"] = web_part_id + return WebPartItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[WebpartsRequestBuilderGetRequestConfiguration] = None) -> Optional[WebPartCollectionResponse]: + """ + The set of web parts in this section. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[WebPartCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...........models.web_part_collection_response import WebPartCollectionResponse + + return await self.request_adapter.send_async(request_info, WebPartCollectionResponse, error_mapping) + + async def post(self,body: Optional[WebPart] = None, request_configuration: Optional[WebpartsRequestBuilderPostRequestConfiguration] = None) -> Optional[WebPart]: + """ + Create new navigation property to webparts for groups + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[WebPart] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...........models.web_part import WebPart + + return await self.request_adapter.send_async(request_info, WebPart, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[WebpartsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + The set of web parts in this section. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[WebPart] = None, request_configuration: Optional[WebpartsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to webparts for groups + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> WebpartsRequestBuilder: + """ + 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: WebpartsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return WebpartsRequestBuilder(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 WebpartsRequestBuilderGetQueryParameters(): + """ + The set of web parts in this section. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class WebpartsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[WebpartsRequestBuilder.WebpartsRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class WebpartsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/created_by_user/created_by_user_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/created_by_user/created_by_user_request_builder.py new file mode 100644 index 00000000000..d5b9005557a --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/created_by_user/created_by_user_request_builder.py @@ -0,0 +1,136 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .........models.o_data_errors.o_data_error import ODataError + from .........models.user import User + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + +class CreatedByUserRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new CreatedByUserRequestBuilder 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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/createdByUser{?%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[CreatedByUserRequestBuilderGetRequestConfiguration] = None) -> Optional[User]: + """ + Get createdByUser from groups + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[User] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.user import User + + return await self.request_adapter.send_async(request_info, User, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[CreatedByUserRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get createdByUser from groups + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> CreatedByUserRequestBuilder: + """ + 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: CreatedByUserRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return CreatedByUserRequestBuilder(self.request_adapter, raw_url) + + @property + def mailbox_settings(self) -> MailboxSettingsRequestBuilder: + """ + The mailboxSettings property + """ + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + + return MailboxSettingsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def service_provisioning_errors(self) -> ServiceProvisioningErrorsRequestBuilder: + """ + The serviceProvisioningErrors property + """ + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class CreatedByUserRequestBuilderGetQueryParameters(): + """ + Get createdByUser from groups + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CreatedByUserRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CreatedByUserRequestBuilder.CreatedByUserRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/created_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/created_by_user/mailbox_settings/mailbox_settings_request_builder.py new file mode 100644 index 00000000000..0e8d3ed4f7f --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/created_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -0,0 +1,170 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..........models.mailbox_settings import MailboxSettings + from ..........models.o_data_errors.o_data_error import ODataError + +class MailboxSettingsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /groups/{group-id}/sites/{site-id}/pages/{baseSitePage-id}/graph.sitePage/createdByUser/mailboxSettings + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new MailboxSettingsRequestBuilder 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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/createdByUser/mailboxSettings{?%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[MailboxSettingsRequestBuilderGetRequestConfiguration] = None) -> Optional[MailboxSettings]: + """ + Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + async def patch(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> Optional[MailboxSettings]: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[MailboxSettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> MailboxSettingsRequestBuilder: + """ + 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: MailboxSettingsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MailboxSettingsRequestBuilderGetQueryParameters(): + """ + Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class MailboxSettingsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class MailboxSettingsRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/created_by_user/service_provisioning_errors/count/count_request_builder.py new file mode 100644 index 00000000000..cdec71e50ce --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/createdByUser/serviceProvisioningErrors/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py new file mode 100644 index 00000000000..f6ef43cb501 --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -0,0 +1,156 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..........models.o_data_errors.o_data_error import ODataError + from ..........models.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + from .count.count_request_builder import CountRequestBuilder + +class ServiceProvisioningErrorsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /groups/{group-id}/sites/{site-id}/pages/{baseSitePage-id}/graph.sitePage/createdByUser/serviceProvisioningErrors + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ServiceProvisioningErrorsRequestBuilder 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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/createdByUser/serviceProvisioningErrors{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: + """ + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ServiceProvisioningErrorCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + + return await self.request_adapter.send_async(request_info, ServiceProvisioningErrorCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: + """ + 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: ServiceProvisioningErrorsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ServiceProvisioningErrorsRequestBuilder(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 ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): + """ + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/graph_site_page_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/graph_site_page_request_builder.py new file mode 100644 index 00000000000..ee5e80e7720 --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/graph_site_page_request_builder.py @@ -0,0 +1,156 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.site_page import SitePage + from .canvas_layout.canvas_layout_request_builder import CanvasLayoutRequestBuilder + from .created_by_user.created_by_user_request_builder import CreatedByUserRequestBuilder + from .last_modified_by_user.last_modified_by_user_request_builder import LastModifiedByUserRequestBuilder + from .web_parts.web_parts_request_builder import WebPartsRequestBuilder + +class GraphSitePageRequestBuilder(BaseRequestBuilder): + """ + Casts the previous resource to sitePage. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new GraphSitePageRequestBuilder 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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage{?%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[GraphSitePageRequestBuilderGetRequestConfiguration] = None) -> Optional[SitePage]: + """ + Get the item of type microsoft.graph.baseSitePage as microsoft.graph.sitePage + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[SitePage] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.site_page import SitePage + + return await self.request_adapter.send_async(request_info, SitePage, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[GraphSitePageRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get the item of type microsoft.graph.baseSitePage as microsoft.graph.sitePage + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> GraphSitePageRequestBuilder: + """ + 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: GraphSitePageRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GraphSitePageRequestBuilder(self.request_adapter, raw_url) + + @property + def canvas_layout(self) -> CanvasLayoutRequestBuilder: + """ + Provides operations to manage the canvasLayout property of the microsoft.graph.sitePage entity. + """ + from .canvas_layout.canvas_layout_request_builder import CanvasLayoutRequestBuilder + + return CanvasLayoutRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def created_by_user(self) -> CreatedByUserRequestBuilder: + """ + Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. + """ + from .created_by_user.created_by_user_request_builder import CreatedByUserRequestBuilder + + return CreatedByUserRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def last_modified_by_user(self) -> LastModifiedByUserRequestBuilder: + """ + Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. + """ + from .last_modified_by_user.last_modified_by_user_request_builder import LastModifiedByUserRequestBuilder + + return LastModifiedByUserRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def web_parts(self) -> WebPartsRequestBuilder: + """ + Provides operations to manage the webParts property of the microsoft.graph.sitePage entity. + """ + from .web_parts.web_parts_request_builder import WebPartsRequestBuilder + + return WebPartsRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class GraphSitePageRequestBuilderGetQueryParameters(): + """ + Get the item of type microsoft.graph.baseSitePage as microsoft.graph.sitePage + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GraphSitePageRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[GraphSitePageRequestBuilder.GraphSitePageRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/last_modified_by_user/last_modified_by_user_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/last_modified_by_user/last_modified_by_user_request_builder.py new file mode 100644 index 00000000000..0187b36d862 --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/last_modified_by_user/last_modified_by_user_request_builder.py @@ -0,0 +1,136 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .........models.o_data_errors.o_data_error import ODataError + from .........models.user import User + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + +class LastModifiedByUserRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new LastModifiedByUserRequestBuilder 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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/lastModifiedByUser{?%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[LastModifiedByUserRequestBuilderGetRequestConfiguration] = None) -> Optional[User]: + """ + Get lastModifiedByUser from groups + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[User] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.user import User + + return await self.request_adapter.send_async(request_info, User, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[LastModifiedByUserRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get lastModifiedByUser from groups + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> LastModifiedByUserRequestBuilder: + """ + 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: LastModifiedByUserRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return LastModifiedByUserRequestBuilder(self.request_adapter, raw_url) + + @property + def mailbox_settings(self) -> MailboxSettingsRequestBuilder: + """ + The mailboxSettings property + """ + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + + return MailboxSettingsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def service_provisioning_errors(self) -> ServiceProvisioningErrorsRequestBuilder: + """ + The serviceProvisioningErrors property + """ + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class LastModifiedByUserRequestBuilderGetQueryParameters(): + """ + Get lastModifiedByUser from groups + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class LastModifiedByUserRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[LastModifiedByUserRequestBuilder.LastModifiedByUserRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py new file mode 100644 index 00000000000..a18b39a0388 --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -0,0 +1,170 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..........models.mailbox_settings import MailboxSettings + from ..........models.o_data_errors.o_data_error import ODataError + +class MailboxSettingsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /groups/{group-id}/sites/{site-id}/pages/{baseSitePage-id}/graph.sitePage/lastModifiedByUser/mailboxSettings + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new MailboxSettingsRequestBuilder 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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/lastModifiedByUser/mailboxSettings{?%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[MailboxSettingsRequestBuilderGetRequestConfiguration] = None) -> Optional[MailboxSettings]: + """ + Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + async def patch(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> Optional[MailboxSettings]: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[MailboxSettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> MailboxSettingsRequestBuilder: + """ + 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: MailboxSettingsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MailboxSettingsRequestBuilderGetQueryParameters(): + """ + Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class MailboxSettingsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class MailboxSettingsRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py new file mode 100644 index 00000000000..7564fb98682 --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/lastModifiedByUser/serviceProvisioningErrors/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py new file mode 100644 index 00000000000..104a28a37d3 --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -0,0 +1,156 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..........models.o_data_errors.o_data_error import ODataError + from ..........models.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + from .count.count_request_builder import CountRequestBuilder + +class ServiceProvisioningErrorsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /groups/{group-id}/sites/{site-id}/pages/{baseSitePage-id}/graph.sitePage/lastModifiedByUser/serviceProvisioningErrors + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ServiceProvisioningErrorsRequestBuilder 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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/lastModifiedByUser/serviceProvisioningErrors{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: + """ + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ServiceProvisioningErrorCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + + return await self.request_adapter.send_async(request_info, ServiceProvisioningErrorCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: + """ + 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: ServiceProvisioningErrorsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ServiceProvisioningErrorsRequestBuilder(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 ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): + """ + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registration/registrants/count/count_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/web_parts/count/count_request_builder.py similarity index 95% rename from msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registration/registrants/count/count_request_builder.py rename to msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/web_parts/count/count_request_builder.py index e7ae883d944..8f0a6d1eae3 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registration/registrants/count/count_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/web_parts/count/count_request_builder.py @@ -23,7 +23,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/registration/registrants/$count{?%24search,%24filter}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/webParts/$count{?%24search,%24filter}", path_parameters) async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = None) -> Optional[int]: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/web_parts/item/get_position_of_web_part/get_position_of_web_part_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/web_parts/item/get_position_of_web_part/get_position_of_web_part_request_builder.py new file mode 100644 index 00000000000..10822ba8df1 --- /dev/null +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/web_parts/item/get_position_of_web_part/get_position_of_web_part_request_builder.py @@ -0,0 +1,86 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ...........models.o_data_errors.o_data_error import ODataError + from ...........models.web_part_position import WebPartPosition + +class GetPositionOfWebPartRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getPositionOfWebPart method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new GetPositionOfWebPartRequestBuilder 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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/webParts/{webPart%2Did}/getPositionOfWebPart", path_parameters) + + async def post(self,request_configuration: Optional[GetPositionOfWebPartRequestBuilderPostRequestConfiguration] = None) -> Optional[WebPartPosition]: + """ + Invoke action getPositionOfWebPart + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[WebPartPosition] + """ + request_info = self.to_post_request_information( + request_configuration + ) + from ...........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...........models.web_part_position import WebPartPosition + + return await self.request_adapter.send_async(request_info, WebPartPosition, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[GetPositionOfWebPartRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action getPositionOfWebPart + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> GetPositionOfWebPartRequestBuilder: + """ + 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: GetPositionOfWebPartRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GetPositionOfWebPartRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GetPositionOfWebPartRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/meeting_attendance_report/attendance_records/item/attendance_record_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/web_parts/item/web_part_item_request_builder.py similarity index 71% rename from msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/meeting_attendance_report/attendance_records/item/attendance_record_item_request_builder.py rename to msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/web_parts/item/web_part_item_request_builder.py index a162a5e203a..59c79aa6938 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/meeting_attendance_report/attendance_records/item/attendance_record_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/web_parts/item/web_part_item_request_builder.py @@ -10,25 +10,26 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ..........models.attendance_record import AttendanceRecord from ..........models.o_data_errors.o_data_error import ODataError + from ..........models.web_part import WebPart + from .get_position_of_web_part.get_position_of_web_part_request_builder import GetPositionOfWebPartRequestBuilder -class AttendanceRecordItemRequestBuilder(BaseRequestBuilder): +class WebPartItemRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. + Provides operations to manage the webParts property of the microsoft.graph.sitePage entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ - Instantiates a new AttendanceRecordItemRequestBuilder and sets the default values. + Instantiates a new WebPartItemRequestBuilder 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}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/meetingAttendanceReport/attendanceRecords/{attendanceRecord%2Did}{?%24select,%24expand}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/webParts/{webPart%2Did}{?%24select,%24expand}", path_parameters) - async def delete(self,request_configuration: Optional[AttendanceRecordItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + async def delete(self,request_configuration: Optional[WebPartItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete navigation property attendanceRecords for solutions + Delete navigation property webParts for groups param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ @@ -45,11 +46,11 @@ async def delete(self,request_configuration: Optional[AttendanceRecordItemReques 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[AttendanceRecordItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AttendanceRecord]: + async def get(self,request_configuration: Optional[WebPartItemRequestBuilderGetRequestConfiguration] = None) -> Optional[WebPart]: """ - List of attendance records of an attendance report. Read-only. + Collection of webparts on the SharePoint page. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[AttendanceRecord] + Returns: Optional[WebPart] """ request_info = self.to_get_request_information( request_configuration @@ -62,16 +63,16 @@ async def get(self,request_configuration: Optional[AttendanceRecordItemRequestBu } if not self.request_adapter: raise Exception("Http core is null") - from ..........models.attendance_record import AttendanceRecord + from ..........models.web_part import WebPart - return await self.request_adapter.send_async(request_info, AttendanceRecord, error_mapping) + return await self.request_adapter.send_async(request_info, WebPart, error_mapping) - async def patch(self,body: Optional[AttendanceRecord] = None, request_configuration: Optional[AttendanceRecordItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[AttendanceRecord]: + async def patch(self,body: Optional[WebPart] = None, request_configuration: Optional[WebPartItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[WebPart]: """ - Update the navigation property attendanceRecords in solutions + Update the navigation property webParts in groups param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[AttendanceRecord] + Returns: Optional[WebPart] """ if not body: raise TypeError("body cannot be null.") @@ -86,13 +87,13 @@ async def patch(self,body: Optional[AttendanceRecord] = None, request_configurat } if not self.request_adapter: raise Exception("Http core is null") - from ..........models.attendance_record import AttendanceRecord + from ..........models.web_part import WebPart - return await self.request_adapter.send_async(request_info, AttendanceRecord, error_mapping) + return await self.request_adapter.send_async(request_info, WebPart, error_mapping) - def to_delete_request_information(self,request_configuration: Optional[AttendanceRecordItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + def to_delete_request_information(self,request_configuration: Optional[WebPartItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete navigation property attendanceRecords for solutions + Delete navigation property webParts for groups param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attendanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info - def to_get_request_information(self,request_configuration: Optional[AttendanceRecordItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + def to_get_request_information(self,request_configuration: Optional[WebPartItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List of attendance records of an attendance report. Read-only. + Collection of webparts on the SharePoint page. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -120,12 +121,12 @@ def to_get_request_information(self,request_configuration: Optional[AttendanceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info - def to_patch_request_information(self,body: Optional[AttendanceRecord] = None, request_configuration: Optional[AttendanceRecordItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + def to_patch_request_information(self,body: Optional[WebPart] = None, request_configuration: Optional[WebPartItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the navigation property attendanceRecords in solutions + Update the navigation property webParts in groups param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -139,24 +140,33 @@ def to_patch_request_information(self,body: Optional[AttendanceRecord] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + 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: Optional[str] = None) -> AttendanceRecordItemRequestBuilder: + def with_url(self,raw_url: Optional[str] = None) -> WebPartItemRequestBuilder: """ 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: AttendanceRecordItemRequestBuilder + Returns: WebPartItemRequestBuilder """ if not raw_url: raise TypeError("raw_url cannot be null.") - return AttendanceRecordItemRequestBuilder(self.request_adapter, raw_url) + return WebPartItemRequestBuilder(self.request_adapter, raw_url) + + @property + def get_position_of_web_part(self) -> GetPositionOfWebPartRequestBuilder: + """ + Provides operations to call the getPositionOfWebPart method. + """ + from .get_position_of_web_part.get_position_of_web_part_request_builder import GetPositionOfWebPartRequestBuilder + + return GetPositionOfWebPartRequestBuilder(self.request_adapter, self.path_parameters) from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class AttendanceRecordItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + class WebPartItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ @@ -164,9 +174,9 @@ class AttendanceRecordItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo """ @dataclass - class AttendanceRecordItemRequestBuilderGetQueryParameters(): + class WebPartItemRequestBuilderGetQueryParameters(): """ - List of attendance records of an attendance report. Read-only. + Collection of webparts on the SharePoint page. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ @@ -192,20 +202,20 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class AttendanceRecordItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + class WebPartItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ Configuration for the request such as headers, query parameters, and middleware options. """ # Request query parameters - query_parameters: Optional[AttendanceRecordItemRequestBuilder.AttendanceRecordItemRequestBuilderGetQueryParameters] = None + query_parameters: Optional[WebPartItemRequestBuilder.WebPartItemRequestBuilderGetQueryParameters] = None from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class AttendanceRecordItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + class WebPartItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registration/registrants/registrants_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/web_parts/web_parts_request_builder.py similarity index 67% rename from msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registration/registrants/registrants_request_builder.py rename to msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/web_parts/web_parts_request_builder.py index 0743e7835f1..10505325096 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registration/registrants/registrants_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/graph_site_page/web_parts/web_parts_request_builder.py @@ -10,44 +10,44 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .........models.meeting_registrant_base import MeetingRegistrantBase - from .........models.meeting_registrant_base_collection_response import MeetingRegistrantBaseCollectionResponse from .........models.o_data_errors.o_data_error import ODataError + from .........models.web_part import WebPart + from .........models.web_part_collection_response import WebPartCollectionResponse from .count.count_request_builder import CountRequestBuilder - from .item.meeting_registrant_base_item_request_builder import MeetingRegistrantBaseItemRequestBuilder + from .item.web_part_item_request_builder import WebPartItemRequestBuilder -class RegistrantsRequestBuilder(BaseRequestBuilder): +class WebPartsRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the registrants property of the microsoft.graph.meetingRegistrationBase entity. + Provides operations to manage the webParts property of the microsoft.graph.sitePage entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ - Instantiates a new RegistrantsRequestBuilder and sets the default values. + Instantiates a new WebPartsRequestBuilder 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}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/registration/registrants{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/webParts{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) - def by_meeting_registrant_base_id(self,meeting_registrant_base_id: str) -> MeetingRegistrantBaseItemRequestBuilder: + def by_web_part_id(self,web_part_id: str) -> WebPartItemRequestBuilder: """ - Provides operations to manage the registrants property of the microsoft.graph.meetingRegistrationBase entity. - param meeting_registrant_base_id: The unique identifier of meetingRegistrantBase - Returns: MeetingRegistrantBaseItemRequestBuilder + Provides operations to manage the webParts property of the microsoft.graph.sitePage entity. + param web_part_id: The unique identifier of webPart + Returns: WebPartItemRequestBuilder """ - if not meeting_registrant_base_id: - raise TypeError("meeting_registrant_base_id cannot be null.") - from .item.meeting_registrant_base_item_request_builder import MeetingRegistrantBaseItemRequestBuilder + if not web_part_id: + raise TypeError("web_part_id cannot be null.") + from .item.web_part_item_request_builder import WebPartItemRequestBuilder url_tpl_params = get_path_parameters(self.path_parameters) - url_tpl_params["meetingRegistrantBase%2Did"] = meeting_registrant_base_id - return MeetingRegistrantBaseItemRequestBuilder(self.request_adapter, url_tpl_params) + url_tpl_params["webPart%2Did"] = web_part_id + return WebPartItemRequestBuilder(self.request_adapter, url_tpl_params) - async def get(self,request_configuration: Optional[RegistrantsRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingRegistrantBaseCollectionResponse]: + async def get(self,request_configuration: Optional[WebPartsRequestBuilderGetRequestConfiguration] = None) -> Optional[WebPartCollectionResponse]: """ - Registrants of the online meeting. + Collection of webparts on the SharePoint page. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[MeetingRegistrantBaseCollectionResponse] + Returns: Optional[WebPartCollectionResponse] """ request_info = self.to_get_request_information( request_configuration @@ -60,16 +60,16 @@ async def get(self,request_configuration: Optional[RegistrantsRequestBuilderGetR } if not self.request_adapter: raise Exception("Http core is null") - from .........models.meeting_registrant_base_collection_response import MeetingRegistrantBaseCollectionResponse + from .........models.web_part_collection_response import WebPartCollectionResponse - return await self.request_adapter.send_async(request_info, MeetingRegistrantBaseCollectionResponse, error_mapping) + return await self.request_adapter.send_async(request_info, WebPartCollectionResponse, error_mapping) - async def post(self,body: Optional[MeetingRegistrantBase] = None, request_configuration: Optional[RegistrantsRequestBuilderPostRequestConfiguration] = None) -> Optional[MeetingRegistrantBase]: + async def post(self,body: Optional[WebPart] = None, request_configuration: Optional[WebPartsRequestBuilderPostRequestConfiguration] = None) -> Optional[WebPart]: """ - Create new navigation property to registrants for solutions + Create new navigation property to webParts for groups param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[MeetingRegistrantBase] + Returns: Optional[WebPart] """ if not body: raise TypeError("body cannot be null.") @@ -84,13 +84,13 @@ async def post(self,body: Optional[MeetingRegistrantBase] = None, request_config } if not self.request_adapter: raise Exception("Http core is null") - from .........models.meeting_registrant_base import MeetingRegistrantBase + from .........models.web_part import WebPart - return await self.request_adapter.send_async(request_info, MeetingRegistrantBase, error_mapping) + return await self.request_adapter.send_async(request_info, WebPart, error_mapping) - def to_get_request_information(self,request_configuration: Optional[RegistrantsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + def to_get_request_information(self,request_configuration: Optional[WebPartsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Registrants of the online meeting. + Collection of webparts on the SharePoint page. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,12 +102,12 @@ def to_get_request_information(self,request_configuration: Optional[RegistrantsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info - def to_post_request_information(self,body: Optional[MeetingRegistrantBase] = None, request_configuration: Optional[RegistrantsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + def to_post_request_information(self,body: Optional[WebPart] = None, request_configuration: Optional[WebPartsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create new navigation property to registrants for solutions + Create new navigation property to webParts for groups param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -121,19 +121,19 @@ def to_post_request_information(self,body: Optional[MeetingRegistrantBase] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + 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: Optional[str] = None) -> RegistrantsRequestBuilder: + def with_url(self,raw_url: Optional[str] = None) -> WebPartsRequestBuilder: """ 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: RegistrantsRequestBuilder + Returns: WebPartsRequestBuilder """ if not raw_url: raise TypeError("raw_url cannot be null.") - return RegistrantsRequestBuilder(self.request_adapter, raw_url) + return WebPartsRequestBuilder(self.request_adapter, raw_url) @property def count(self) -> CountRequestBuilder: @@ -145,9 +145,9 @@ def count(self) -> CountRequestBuilder: return CountRequestBuilder(self.request_adapter, self.path_parameters) @dataclass - class RegistrantsRequestBuilderGetQueryParameters(): + class WebPartsRequestBuilderGetQueryParameters(): """ - Registrants of the online meeting. + Collection of webparts on the SharePoint page. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ @@ -203,20 +203,20 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class RegistrantsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + class WebPartsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ Configuration for the request such as headers, query parameters, and middleware options. """ # Request query parameters - query_parameters: Optional[RegistrantsRequestBuilder.RegistrantsRequestBuilderGetQueryParameters] = None + query_parameters: Optional[WebPartsRequestBuilder.WebPartsRequestBuilderGetQueryParameters] = None from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class RegistrantsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + class WebPartsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/last_modified_by_user/last_modified_by_user_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/last_modified_by_user/last_modified_by_user_request_builder.py index 59c1a2d931d..2da590718b9 100644 --- a/msgraph_beta/generated/groups/item/sites/item/pages/item/last_modified_by_user/last_modified_by_user_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/last_modified_by_user/last_modified_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[LastModified request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastModifiedByUserRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py index 2b2ed737189..cd6b36b403b 100644 --- a/msgraph_beta/generated/groups/item/sites/item/pages/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index 8074c493a03..4be38b7472d 100644 --- a/msgraph_beta/generated/groups/item/sites/item/pages/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/pages/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/pages/pages_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/pages/pages_request_builder.py index cf9cfa731a1..51ed0bb8658 100644 --- a/msgraph_beta/generated/groups/item/sites/item/pages/pages_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/pages/pages_request_builder.py @@ -14,6 +14,7 @@ from ......models.base_site_page_collection_response import BaseSitePageCollectionResponse from ......models.o_data_errors.o_data_error import ODataError from .count.count_request_builder import CountRequestBuilder + from .graph_site_page.graph_site_page_request_builder import GraphSitePageRequestBuilder from .item.base_site_page_item_request_builder import BaseSitePageItemRequestBuilder class PagesRequestBuilder(BaseRequestBuilder): @@ -45,7 +46,7 @@ def by_base_site_page_id(self,base_site_page_id: str) -> BaseSitePageItemRequest async def get(self,request_configuration: Optional[PagesRequestBuilderGetRequestConfiguration] = None) -> Optional[BaseSitePageCollectionResponse]: """ - Get the collection of baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. This API is available in the following [national cloud deployments. + Get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BaseSitePageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/basesitepage-list?view=graph-rest-1.0 @@ -67,7 +68,7 @@ async def get(self,request_configuration: Optional[PagesRequestBuilderGetRequest async def post(self,body: Optional[BaseSitePage] = None, request_configuration: Optional[PagesRequestBuilderPostRequestConfiguration] = None) -> Optional[BaseSitePage]: """ - Create a new sitePage][] in the site pages [list][] in a [site][]. This API is available in the following [national cloud deployments. + Create a new [sitePage][] in the site pages [list][] in a [site][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BaseSitePage] @@ -92,7 +93,7 @@ async def post(self,body: Optional[BaseSitePage] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[PagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the collection of baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. This API is available in the following [national cloud deployments. + Get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[PagesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[BaseSitePage] = None, request_configuration: Optional[PagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new sitePage][] in the site pages [list][] in a [site][]. This API is available in the following [national cloud deployments. + Create a new [sitePage][] in the site pages [list][] in a [site][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +124,7 @@ def to_post_request_information(self,body: Optional[BaseSitePage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -146,10 +147,19 @@ def count(self) -> CountRequestBuilder: return CountRequestBuilder(self.request_adapter, self.path_parameters) + @property + def graph_site_page(self) -> GraphSitePageRequestBuilder: + """ + Casts the previous resource to sitePage. + """ + from .graph_site_page.graph_site_page_request_builder import GraphSitePageRequestBuilder + + return GraphSitePageRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class PagesRequestBuilderGetQueryParameters(): """ - Get the collection of baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. This API is available in the following [national cloud deployments. + Get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/permissions/item/grant/grant_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/permissions/item/grant/grant_request_builder.py index 2d92560cf5a..28bba73041a 100644 --- a/msgraph_beta/generated/groups/item/sites/item/permissions/item/grant/grant_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/permissions/item/grant/grant_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GrantPostRequestBody] = None, request_configuration: Optional[GrantRequestBuilderPostRequestConfiguration] = None) -> Optional[GrantPostResponse]: """ - Grant users access to a link represented by a permission][]. This API is available in the following [national cloud deployments. + Grant users access to a link represented by a [permission][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GrantPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GrantPostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[GrantPostRequestBody] = None, request_configuration: Optional[GrantRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Grant users access to a link represented by a permission][]. This API is available in the following [national cloud deployments. + Grant users access to a link represented by a [permission][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GrantPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/permissions/item/permission_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/permissions/item/permission_item_request_builder.py index f6d216299b4..9f387159c36 100644 --- a/msgraph_beta/generated/groups/item/sites/item/permissions/item/permission_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/permissions/item/permission_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[PermissionItemRequestBuild async def get(self,request_configuration: Optional[PermissionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Permission]: """ - Retrieve the properties and relationships of a permission object on a site. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a permission object on a site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Permission] Find more info here: https://learn.microsoft.com/graph/api/site-get-permission?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[PermissionItemRequestBuilderG async def patch(self,body: Optional[Permission] = None, request_configuration: Optional[PermissionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Permission]: """ - Update the permission object on a site. This API is available in the following national cloud deployments. + Update the permission object on a site. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Permission] @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[Permissio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PermissionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a permission object on a site. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a permission object on a site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[PermissionIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Permission] = None, request_configuration: Optional[PermissionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the permission object on a site. This API is available in the following national cloud deployments. + Update the permission object on a site. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[Permission] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ class PermissionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class PermissionItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a permission object on a site. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a permission object on a site. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/permissions/item/revoke_grants/revoke_grants_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/permissions/item/revoke_grants/revoke_grants_request_builder.py index 6c49364a519..15e977c178e 100644 --- a/msgraph_beta/generated/groups/item/sites/item/permissions/item/revoke_grants/revoke_grants_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/permissions/item/revoke_grants/revoke_grants_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RevokeGrantsPostRequestBody] = None, request_configuration: Optional[RevokeGrantsRequestBuilderPostRequestConfiguration] = None) -> Optional[Permission]: """ - Revoke access to a listItem][] or [driveItem][] granted via a sharing link by removing the specified [recipient][] from the link. This API is available in the following [national cloud deployments. + Revoke access to a [listItem][] or [driveItem][] granted via a sharing link by removing the specified [recipient][] from the link. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Permission] @@ -54,7 +54,7 @@ async def post(self,body: Optional[RevokeGrantsPostRequestBody] = None, request_ def to_post_request_information(self,body: Optional[RevokeGrantsPostRequestBody] = None, request_configuration: Optional[RevokeGrantsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Revoke access to a listItem][] or [driveItem][] granted via a sharing link by removing the specified [recipient][] from the link. This API is available in the following [national cloud deployments. + Revoke access to a [listItem][] or [driveItem][] granted via a sharing link by removing the specified [recipient][] from the link. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[RevokeGrantsPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/permissions/permissions_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/permissions/permissions_request_builder.py index 91273605c3c..0173cf849f4 100644 --- a/msgraph_beta/generated/groups/item/sites/item/permissions/permissions_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/permissions/permissions_request_builder.py @@ -45,7 +45,7 @@ def by_permission_id(self,permission_id: str) -> PermissionItemRequestBuilder: async def get(self,request_configuration: Optional[PermissionsRequestBuilderGetRequestConfiguration] = None) -> Optional[PermissionCollectionResponse]: """ - Get the permission resources from the permissions navigation property on a site. This API is available in the following national cloud deployments. + Get the permission resources from the permissions navigation property on a site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/site-list-permissions?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[PermissionsRequestBuilderGetR async def post(self,body: Optional[Permission] = None, request_configuration: Optional[PermissionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Permission]: """ - Create a new permission object on a site. This API is available in the following national cloud deployments. + Create a new permission object on a site. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Permission] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Permission] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[PermissionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the permission resources from the permissions navigation property on a site. This API is available in the following national cloud deployments. + Get the permission resources from the permissions navigation property on a site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[PermissionsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Permission] = None, request_configuration: Optional[PermissionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new permission object on a site. This API is available in the following national cloud deployments. + Create a new permission object on a site. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Permission] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PermissionsRequestBuilderGetQueryParameters(): """ - Get the permission resources from the permissions navigation property on a site. This API is available in the following national cloud deployments. + Get the permission resources from the permissions navigation property on a site. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/created_by_user/created_by_user_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/created_by_user/created_by_user_request_builder.py index d38874ea142..68860417bb9 100644 --- a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/created_by_user/created_by_user_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/created_by_user/created_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[CreatedByUse request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreatedByUserRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/created_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/created_by_user/mailbox_settings/mailbox_settings_request_builder.py index 075c525dde2..79cd6351381 100644 --- a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/created_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index c838fa81a76..fcc103ccf77 100644 --- a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/created_by_user/created_by_user_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/created_by_user/created_by_user_request_builder.py index 78c41ccce5f..cd44ac332c0 100644 --- a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/created_by_user/created_by_user_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/created_by_user/created_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[CreatedByUse request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreatedByUserRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py index 50f3fc859f9..de006c98bb5 100644 --- a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index c2e11ca67d5..e15d472c39e 100644 --- a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/last_modified_by_user/last_modified_by_user_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/last_modified_by_user/last_modified_by_user_request_builder.py index d8620cdda14..005ddcd05b6 100644 --- a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/last_modified_by_user/last_modified_by_user_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/last_modified_by_user/last_modified_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[LastModified request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastModifiedByUserRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py index b00a6a69b78..7b414f54fc3 100644 --- a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index 6140827ff81..a8df7924a5d 100644 --- a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/recycle_bin_item_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/recycle_bin_item_item_request_builder.py index 7290c01a139..3876e402303 100644 --- a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/recycle_bin_item_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/item/recycle_bin_item_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RecycleBi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RecycleBinItemItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[RecycleBinIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RecycleBinItem] = None, request_configuration: Optional[RecycleBinItemItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[RecycleBinItem] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/items_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/items_request_builder.py index e6fb07f62f9..c6df573bcfa 100644 --- a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/items_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/items/items_request_builder.py @@ -45,7 +45,7 @@ def by_recycle_bin_item_id(self,recycle_bin_item_id: str) -> RecycleBinItemItemR async def get(self,request_configuration: Optional[ItemsRequestBuilderGetRequestConfiguration] = None) -> Optional[RecycleBinItemCollectionResponse]: """ - Get a collection of recycleBinItem resources in the recyleBin of the specified SharePoint site. This API is available in the following national cloud deployments. + Get a collection of recycleBinItem resources in the recyleBin of the specified SharePoint site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RecycleBinItemCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/recyclebin-list-items?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[RecycleBinItem] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[ItemsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a collection of recycleBinItem resources in the recyleBin of the specified SharePoint site. This API is available in the following national cloud deployments. + Get a collection of recycleBinItem resources in the recyleBin of the specified SharePoint site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[RecycleBinItem] = None, request_configuration: Optional[ItemsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[RecycleBinItem] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ItemsRequestBuilderGetQueryParameters(): """ - Get a collection of recycleBinItem resources in the recyleBin of the specified SharePoint site. This API is available in the following national cloud deployments. + Get a collection of recycleBinItem resources in the recyleBin of the specified SharePoint site. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/last_modified_by_user/last_modified_by_user_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/last_modified_by_user/last_modified_by_user_request_builder.py index 41c7d869653..999067e1b83 100644 --- a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/last_modified_by_user/last_modified_by_user_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/last_modified_by_user/last_modified_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[LastModified request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastModifiedByUserRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py index 3620e7585dc..86f23ceaf59 100644 --- a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index 7f45fdee002..d67ac957382 100644 --- a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/recycle_bin_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/recycle_bin_request_builder.py index d46723fa83d..6b0ef321572 100644 --- a/msgraph_beta/generated/groups/item/sites/item/recycle_bin/recycle_bin_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/recycle_bin/recycle_bin_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RecycleBi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RecycleBinRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RecycleBinRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RecycleBin] = None, request_configuration: Optional[RecycleBinRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[RecycleBin] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/site_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/site_item_request_builder.py index aef09951317..934d62137eb 100644 --- a/msgraph_beta/generated/groups/item/sites/item/site_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/site_item_request_builder.py @@ -148,7 +148,7 @@ def to_get_request_information(self,request_configuration: Optional[SiteItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Site] = None, request_configuration: Optional[SiteItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -167,7 +167,7 @@ def to_patch_request_information(self,body: Optional[Site] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/sites/item/site_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/sites/item/site_item_request_builder.py index be54825a666..700e9b43f8c 100644 --- a/msgraph_beta/generated/groups/item/sites/item/sites/item/site_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/sites/item/site_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SiteItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SiteItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/sites/sites_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/sites/sites_request_builder.py index 5a9513bce5b..dc492f12b57 100644 --- a/msgraph_beta/generated/groups/item/sites/item/sites/sites_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/sites/sites_request_builder.py @@ -44,7 +44,7 @@ def by_site_id1(self,site_id1: str) -> SiteItemRequestBuilder: async def get(self,request_configuration: Optional[SitesRequestBuilderGetRequestConfiguration] = None) -> Optional[SiteCollectionResponse]: """ - Get a collection of subsites defined for a site][]. This API is available in the following [national cloud deployments. + Get a collection of subsites defined for a [site][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/site-list-subsites?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[SitesRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[SitesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a collection of subsites defined for a site][]. This API is available in the following [national cloud deployments. + Get a collection of subsites defined for a [site][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[SitesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SitesRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SitesRequestBuilderGetQueryParameters(): """ - Get a collection of subsites defined for a site][]. This API is available in the following [national cloud deployments. + Get a collection of subsites defined for a [site][]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/groups_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/groups_request_builder.py index 50ceec3f8e8..e45759dc5dd 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/groups_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/groups_request_builder.py @@ -45,7 +45,7 @@ def by_group_id1(self,group_id1: str) -> GroupItemRequestBuilder: async def get(self,request_configuration: Optional[GroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[GroupCollectionResponse]: """ - Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term store group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/termstore-list-groups?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[GroupsRequestBuilderGetReques async def post(self,body: Optional[Group] = None, request_configuration: Optional[GroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[Group]: """ - Create a new group object. This API is available in the following national cloud deployments. + Create a new group object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Group] = None, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[GroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term store group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[GroupsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Group] = None, request_configuration: Optional[GroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new group object. This API is available in the following national cloud deployments. + Create a new group object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Group] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class GroupsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term store group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/group_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/group_item_request_builder.py index ef6fd9e0276..f86dfacd7da 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/group_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/group_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[GroupItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a group object in a term store]. This API is available in the following [national cloud deployments. + Delete a group object in a term [store]. 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/termstore-group-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[GroupItemRequestBuilderDel async def get(self,request_configuration: Optional[GroupItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Group]: """ - Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term store group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] Find more info here: https://learn.microsoft.com/graph/api/termstore-group-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[Group] = None, request_configuration: Option def to_delete_request_information(self,request_configuration: Optional[GroupItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a group object in a term store]. This API is available in the following [national cloud deployments. + Delete a group object in a term [store]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[GroupItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GroupItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term store group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Group] = None, request_configuration: Optional[GroupItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Group] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class GroupItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration @dataclass class GroupItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term store group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/children_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/children_request_builder.py index ae75b3cbfe5..d6a51261f8c 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/children_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/children_request_builder.py @@ -45,7 +45,7 @@ def by_term_id(self,term_id: str) -> TermItemRequestBuilder: async def get(self,request_configuration: Optional[ChildrenRequestBuilderGetRequestConfiguration] = None) -> Optional[TermCollectionResponse]: """ - Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + Get the first level children of a [set] or [term] resource using the children navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TermCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/termstore-term-list-children?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ChildrenRequestBuilderGetRequ async def post(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> Optional[Term]: """ - Create a new term object. This API is available in the following national cloud deployments. + Create a new term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Term] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Term] = None, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[ChildrenRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + Get the first level children of a [set] or [term] resource using the children navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ChildrenRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new term object. This API is available in the following national cloud deployments. + Create a new term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ChildrenRequestBuilderGetQueryParameters(): """ - Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + Get the first level children of a [set] or [term] resource using the children navigation property. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/children_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/children_request_builder.py index f36c5202a5b..ad02b0d4c77 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/children_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/children_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ChildrenRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py index 6094466931c..f0e7f799be0 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py index 69c7900a0bb..c5a370b7d1b 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/set/set_request_builder.py index 310e40b6835..d3a58e40b84 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py index bd899072b79..7e9a6136fc0 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/relations_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/relations_request_builder.py index cfc786e6f6e..1763acc7b7a 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/set/set_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/set/set_request_builder.py index 99bb5f1f8c3..0b72ca1ec2b 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/set/set_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/term_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/term_item_request_builder.py index 4c41345b7a7..9f6dffa2a6d 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/term_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/term_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/item/from_term/from_term_request_builder.py index 7331bbd5117..2308f1fea43 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/item/relation_item_request_builder.py index 1536386190d..91d0114ddfe 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/item/set/set_request_builder.py index f74ed6d100a..a9d9f8497a7 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/item/to_term/to_term_request_builder.py index 5143b9634b9..d807b75ca3f 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/relations_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/relations_request_builder.py index 8e0033dc0e2..657cfe4aaa8 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/set/set_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/set/set_request_builder.py index e404a3d21cc..83cf2a844cf 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/set/set_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/term_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/term_item_request_builder.py index 3acfb941f92..3359ee93d57 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/term_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/children/item/term_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/parent_group/parent_group_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/parent_group/parent_group_request_builder.py index 11b120f3156..cb2fb91b99a 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/parent_group/parent_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/parent_group/parent_group_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ParentGro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ParentGroupRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentGroupR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Group] = None, request_configuration: Optional[ParentGroupRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Group] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/relations/item/from_term/from_term_request_builder.py index 0ff79c78976..fa846c513d2 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/relations/item/relation_item_request_builder.py index d86abbc1cba..233fb32b523 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/relations/item/set/set_request_builder.py index 97de945a24d..77dcbc76430 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/relations/item/to_term/to_term_request_builder.py index 5959eb1b40c..dc2977a39fa 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/relations/relations_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/relations/relations_request_builder.py index 935eb8781fe..adfcdc5f9b2 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/relations/relations_request_builder.py @@ -45,7 +45,7 @@ def by_relation_id(self,relation_id: str) -> RelationItemRequestBuilder: async def get(self,request_configuration: Optional[RelationsRequestBuilderGetRequestConfiguration] = None) -> Optional[RelationCollectionResponse]: """ - Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + Get the different relation of a [term] or [set] from the relations navigation property. 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/termstore-term-list-relations?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[Relation] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[RelationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + Get the different relation of a [term] or [set] from the relations navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationsRequestBuilderGetQueryParameters(): """ - Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + Get the different relation of a [term] or [set] from the relations navigation property. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/set_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/set_item_request_builder.py index 92bc4833975..7d95cad9d2c 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/set_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/set_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[SetItemRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SetItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[SetItemReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Set] = None, request_configuration: Optional[SetItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[Set] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/children_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/children_request_builder.py index 7bd62a80de0..acbc0690658 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/children_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/children_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ChildrenRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py index 446cd140abc..2b87cfec8ef 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py index 74d673542b1..73275311520 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py index 2dc8c5d7d45..e56f3616f1f 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py index 45f250f452d..3cff47debb6 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/relations_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/relations_request_builder.py index 4753396dce6..d66d864a364 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/set/set_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/set/set_request_builder.py index 976f633121a..39a01910376 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/set/set_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/term_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/term_item_request_builder.py index e9cbd533cf5..d12fb160969 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/term_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/term_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py index 0758c9e26f3..9a362a6fc2f 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/relation_item_request_builder.py index 7307468557f..275c819b597 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/set/set_request_builder.py index c0dc37e09d6..5b1b5a205d2 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py index 0451d0803da..e25c780889a 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/relations_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/relations_request_builder.py index 66878c9ed76..ceb0a03ff1a 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/set/set_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/set/set_request_builder.py index 2c7851081c2..75ad1458fc5 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/set/set_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/term_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/term_item_request_builder.py index b149adba7ba..1d61c71e874 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/term_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/term_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TermItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a term object. This API is available in the following national cloud deployments. + Delete a term object. 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/termstore-term-delete?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[TermItemRequestBuilderDele async def get(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Term]: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Term] Find more info here: https://learn.microsoft.com/graph/api/termstore-term-get?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[TermItemRequestBuilderGetRequ async def patch(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Term]: """ - Update the properties of a term object. This API is available in the following national cloud deployments. + Update the properties of a term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Term] @@ -98,7 +98,7 @@ async def patch(self,body: Optional[Term] = None, request_configuration: Optiona def to_delete_request_information(self,request_configuration: Optional[TermItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a term object. This API is available in the following national cloud deployments. + Delete a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,12 +126,12 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a term object. This API is available in the following national cloud deployments. + Update the properties of a term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -199,7 +199,7 @@ class TermItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class TermItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/terms_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/terms_request_builder.py index bffd7477207..565f4cda9ad 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/terms_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/item/terms/terms_request_builder.py @@ -45,7 +45,7 @@ def by_term_id(self,term_id: str) -> TermItemRequestBuilder: async def get(self,request_configuration: Optional[TermsRequestBuilderGetRequestConfiguration] = None) -> Optional[TermCollectionResponse]: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TermCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[Term] = None, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[TermsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[TermsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TermsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/sets_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/sets_request_builder.py index bf6495b65ed..5386947f4af 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/sets_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/groups/item/sets/sets_request_builder.py @@ -45,7 +45,7 @@ def by_set_id(self,set_id: str) -> SetItemRequestBuilder: async def get(self,request_configuration: Optional[SetsRequestBuilderGetRequestConfiguration] = None) -> Optional[SetCollectionResponse]: """ - Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + Get a list of the set objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SetCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/termstore-group-list-sets?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[Set] = None, request_configuration: Optional[ def to_get_request_information(self,request_configuration: Optional[SetsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + Get a list of the set objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SetsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Set] = None, request_configuration: Optional[SetsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Set] = None, request_configu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SetsRequestBuilderGetQueryParameters(): """ - Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + Get a list of the set objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/children_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/children_request_builder.py index f4cc2dfb61f..bcaf2e48a70 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/children_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/children_request_builder.py @@ -45,7 +45,7 @@ def by_term_id(self,term_id: str) -> TermItemRequestBuilder: async def get(self,request_configuration: Optional[ChildrenRequestBuilderGetRequestConfiguration] = None) -> Optional[TermCollectionResponse]: """ - Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + Get the first level children of a [set] or [term] resource using the children navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TermCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/termstore-term-list-children?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ChildrenRequestBuilderGetRequ async def post(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> Optional[Term]: """ - Create a new term object. This API is available in the following national cloud deployments. + Create a new term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Term] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Term] = None, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[ChildrenRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + Get the first level children of a [set] or [term] resource using the children navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ChildrenRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new term object. This API is available in the following national cloud deployments. + Create a new term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ChildrenRequestBuilderGetQueryParameters(): """ - Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + Get the first level children of a [set] or [term] resource using the children navigation property. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/children_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/children_request_builder.py index 2ff1d1a67cb..637821745ad 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/children_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/children_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ChildrenRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py index 30dac9972c2..752b0ac6be4 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py index 64844f19431..d197a666fd2 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/item/set/set_request_builder.py index 73ca94e04e6..c1408c21339 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py index a15c579e4cd..2b90787b0de 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/relations_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/relations_request_builder.py index c61a20752fa..85edaa7c96c 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/set/set_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/set/set_request_builder.py index 87b55d7e32f..b0724c854e6 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/set/set_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/term_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/term_item_request_builder.py index dec201406a6..51592d75d7b 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/term_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/children/item/term_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/relations/item/from_term/from_term_request_builder.py index 7b65489a709..3526c25a033 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/relations/item/relation_item_request_builder.py index 51ebc866748..1d4089ce304 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/relations/item/set/set_request_builder.py index 4604b2f5d76..c954159fd24 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/relations/item/to_term/to_term_request_builder.py index 2fecdb94008..c6cf649a8c3 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/relations/relations_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/relations/relations_request_builder.py index 59d9cd9179c..fb149f9249d 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/set/set_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/set/set_request_builder.py index d462c2959da..fd192d31ffb 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/set/set_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/term_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/term_item_request_builder.py index 73f4dd7ab09..109f7a1b0dc 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/term_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/children/item/term_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/parent_group_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/parent_group_request_builder.py index 76b30c940c6..356c79c5909 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/parent_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/parent_group_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ParentGro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ParentGroupRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentGroupR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Group] = None, request_configuration: Optional[ParentGroupRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Group] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/children_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/children_request_builder.py index 68674638553..f6cfd8cc577 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/children_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/children_request_builder.py @@ -45,7 +45,7 @@ def by_term_id(self,term_id: str) -> TermItemRequestBuilder: async def get(self,request_configuration: Optional[ChildrenRequestBuilderGetRequestConfiguration] = None) -> Optional[TermCollectionResponse]: """ - Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + Get the first level children of a [set] or [term] resource using the children navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TermCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/termstore-term-list-children?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ChildrenRequestBuilderGetRequ async def post(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> Optional[Term]: """ - Create a new term object. This API is available in the following national cloud deployments. + Create a new term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Term] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Term] = None, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[ChildrenRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + Get the first level children of a [set] or [term] resource using the children navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ChildrenRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new term object. This API is available in the following national cloud deployments. + Create a new term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ChildrenRequestBuilderGetQueryParameters(): """ - Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + Get the first level children of a [set] or [term] resource using the children navigation property. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/children_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/children_request_builder.py index 0a69b783bc8..b111ae15c21 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/children_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/children_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ChildrenRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py index bdcc147b9a2..d5ae893b6c2 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py index 2ffd4d10bf8..5952c6b1870 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/set/set_request_builder.py index e0af5ae696c..0826538f264 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py index eb621180072..d6694c57ba6 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/relations_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/relations_request_builder.py index 159d152ab13..d489ea48538 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/set/set_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/set/set_request_builder.py index e34f627c7af..38cdfb89504 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/set/set_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/term_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/term_item_request_builder.py index b7339805c07..7158e629ccd 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/term_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/term_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/from_term/from_term_request_builder.py index 0f10266984b..b0a2b52941d 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/relation_item_request_builder.py index 8a51f7852e8..03e0b67c9dc 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/set/set_request_builder.py index efc8a0b769c..7c0dd396122 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/to_term/to_term_request_builder.py index 54228bfd12e..68cff0362bb 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/relations_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/relations_request_builder.py index 3e5fd65a028..db6c61c621c 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/set/set_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/set/set_request_builder.py index 30a0959445f..1ed274a2061 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/set/set_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/term_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/term_item_request_builder.py index 8616aff69dc..29156cbf9a8 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/term_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/term_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/from_term/from_term_request_builder.py index 7219f0f98ed..ed610f87065 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/relation_item_request_builder.py index f0a78979278..e9f601cc42b 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/set/set_request_builder.py index 1f2a0507775..8826b1e1a7b 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/to_term/to_term_request_builder.py index a9ff3b1b6a1..f28faf02cdf 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/relations_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/relations_request_builder.py index 724421f53d3..da75ec00667 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/relations_request_builder.py @@ -45,7 +45,7 @@ def by_relation_id(self,relation_id: str) -> RelationItemRequestBuilder: async def get(self,request_configuration: Optional[RelationsRequestBuilderGetRequestConfiguration] = None) -> Optional[RelationCollectionResponse]: """ - Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + Get the different relation of a [term] or [set] from the relations navigation property. 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/termstore-term-list-relations?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[Relation] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[RelationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + Get the different relation of a [term] or [set] from the relations navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationsRequestBuilderGetQueryParameters(): """ - Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + Get the different relation of a [term] or [set] from the relations navigation property. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/set_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/set_item_request_builder.py index f649fe67313..ad0990411f2 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/set_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/set_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[SetItemRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SetItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[SetItemReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Set] = None, request_configuration: Optional[SetItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Set] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/children_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/children_request_builder.py index 4e87c40b534..bb05cd9afcd 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/children_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/children_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ChildrenRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py index 4154e8cb2a3..8f5fd91b3f4 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py index ec79939e482..60eb41596b1 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py index 4aa22afbc77..625bb7e89fa 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py index aaae0c5c077..a7e6a6449f8 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/relations_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/relations_request_builder.py index 0e336cee2c8..2b0295549ce 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/set/set_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/set/set_request_builder.py index 6db2e134cf8..c715e8a76f7 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/set/set_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/term_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/term_item_request_builder.py index 1309f39004e..a3da933a172 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/term_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/term_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py index 824dbfbcdaf..49218bdca37 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/relation_item_request_builder.py index 8d54a83706c..aa80a08a7dd 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/set/set_request_builder.py index bc87151cf72..e2655f91419 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py index 8a69f0123bc..b7937d694b4 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/relations_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/relations_request_builder.py index 8e9e2450c01..b0409076976 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/set/set_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/set/set_request_builder.py index f6c84bedf61..701d9b5b53c 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/set/set_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/term_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/term_item_request_builder.py index ae961946f5a..9e47be3e5d7 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/term_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/term_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TermItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a term object. This API is available in the following national cloud deployments. + Delete a term object. 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/termstore-term-delete?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[TermItemRequestBuilderDele async def get(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Term]: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Term] Find more info here: https://learn.microsoft.com/graph/api/termstore-term-get?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[TermItemRequestBuilderGetRequ async def patch(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Term]: """ - Update the properties of a term object. This API is available in the following national cloud deployments. + Update the properties of a term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Term] @@ -98,7 +98,7 @@ async def patch(self,body: Optional[Term] = None, request_configuration: Optiona def to_delete_request_information(self,request_configuration: Optional[TermItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a term object. This API is available in the following national cloud deployments. + Delete a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,12 +126,12 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a term object. This API is available in the following national cloud deployments. + Update the properties of a term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -199,7 +199,7 @@ class TermItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class TermItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/terms_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/terms_request_builder.py index 479cf3d3f96..0ba985c6b02 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/terms_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/terms_request_builder.py @@ -45,7 +45,7 @@ def by_term_id(self,term_id: str) -> TermItemRequestBuilder: async def get(self,request_configuration: Optional[TermsRequestBuilderGetRequestConfiguration] = None) -> Optional[TermCollectionResponse]: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TermCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[Term] = None, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[TermsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[TermsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TermsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/sets_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/sets_request_builder.py index 959f1743460..3118e412341 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/sets_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/parent_group/sets/sets_request_builder.py @@ -45,7 +45,7 @@ def by_set_id1(self,set_id1: str) -> SetItemRequestBuilder: async def get(self,request_configuration: Optional[SetsRequestBuilderGetRequestConfiguration] = None) -> Optional[SetCollectionResponse]: """ - Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + Get a list of the set objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SetCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/termstore-group-list-sets?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[Set] = None, request_configuration: Optional[ def to_get_request_information(self,request_configuration: Optional[SetsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + Get a list of the set objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SetsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Set] = None, request_configuration: Optional[SetsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Set] = None, request_configu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SetsRequestBuilderGetQueryParameters(): """ - Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + Get a list of the set objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/relations/item/from_term/from_term_request_builder.py index a77cc4145f8..aeebfc2a816 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/relations/item/relation_item_request_builder.py index 9d110f4ceb8..cd47d629c10 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/relations/item/set/set_request_builder.py index a9d147321af..8a0e72e4a7a 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/relations/item/to_term/to_term_request_builder.py index 3d14d7bf331..dbdbd34dcea 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/relations/relations_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/relations/relations_request_builder.py index c614e26ff01..e9f58ab7710 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/relations/relations_request_builder.py @@ -45,7 +45,7 @@ def by_relation_id(self,relation_id: str) -> RelationItemRequestBuilder: async def get(self,request_configuration: Optional[RelationsRequestBuilderGetRequestConfiguration] = None) -> Optional[RelationCollectionResponse]: """ - Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + Get the different relation of a [term] or [set] from the relations navigation property. 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/termstore-term-list-relations?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[Relation] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[RelationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + Get the different relation of a [term] or [set] from the relations navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationsRequestBuilderGetQueryParameters(): """ - Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + Get the different relation of a [term] or [set] from the relations navigation property. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/set_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/set_item_request_builder.py index 265a50bb823..52fc21d2cc0 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/set_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/set_item_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[SetItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a set object. This API is available in the following national cloud deployments. + Delete a set object. 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/termstore-set-delete?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[SetItemRequestBuilderDelet async def get(self,request_configuration: Optional[SetItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Set]: """ - Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + Read the properties and relationships of a set object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Set] Find more info here: https://learn.microsoft.com/graph/api/termstore-set-get?view=graph-rest-1.0 @@ -74,7 +74,7 @@ async def get(self,request_configuration: Optional[SetItemRequestBuilderGetReque async def patch(self,body: Optional[Set] = None, request_configuration: Optional[SetItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Set]: """ - Update the properties of a set object. This API is available in the following national cloud deployments. + Update the properties of a set object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Set] @@ -99,7 +99,7 @@ async def patch(self,body: Optional[Set] = None, request_configuration: Optional def to_delete_request_information(self,request_configuration: Optional[SetItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a set object. This API is available in the following national cloud deployments. + Delete a set object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -110,12 +110,12 @@ def to_delete_request_information(self,request_configuration: Optional[SetItemRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SetItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + Read the properties and relationships of a set object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -127,12 +127,12 @@ def to_get_request_information(self,request_configuration: Optional[SetItemReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Set] = None, request_configuration: Optional[SetItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a set object. This API is available in the following national cloud deployments. + Update the properties of a set object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[Set] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -209,7 +209,7 @@ class SetItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class SetItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + Read the properties and relationships of a set object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/children_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/children_request_builder.py index 7caad4e1719..267edede738 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/children_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/children_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ChildrenRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py index cda38149dc8..917a0e4ecb0 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py index e3a901a8a65..be650771f36 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py index 0dff1bc1e87..c17003aa026 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py index fa9fc467a15..7f1bf430eac 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/relations_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/relations_request_builder.py index f5922482362..4875e14062b 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/set/set_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/set/set_request_builder.py index 4a9a9f57172..be816c0cc2c 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/set/set_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/term_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/term_item_request_builder.py index aa4f8b16b49..08953e41ec7 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/term_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/children/item/term_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py index 74b37b71458..932af135c61 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/relations/item/relation_item_request_builder.py index 5486486a1bb..6cc3e26f6a7 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/relations/item/set/set_request_builder.py index 093dde90330..c3f665073cf 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py index 5f8e0d1d242..6ed2f9360a8 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/relations/relations_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/relations/relations_request_builder.py index 7384060f84a..4c3feb15d1d 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/set/set_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/set/set_request_builder.py index 941b0e50522..1baa5d28655 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/set/set_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/term_item_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/term_item_request_builder.py index 33640fc2ec2..096fa9a9120 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/term_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/item/term_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TermItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a term object. This API is available in the following national cloud deployments. + Delete a term object. 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/termstore-term-delete?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[TermItemRequestBuilderDele async def get(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Term]: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Term] Find more info here: https://learn.microsoft.com/graph/api/termstore-term-get?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[TermItemRequestBuilderGetRequ async def patch(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Term]: """ - Update the properties of a term object. This API is available in the following national cloud deployments. + Update the properties of a term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Term] @@ -98,7 +98,7 @@ async def patch(self,body: Optional[Term] = None, request_configuration: Optiona def to_delete_request_information(self,request_configuration: Optional[TermItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a term object. This API is available in the following national cloud deployments. + Delete a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,12 +126,12 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a term object. This API is available in the following national cloud deployments. + Update the properties of a term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -199,7 +199,7 @@ class TermItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class TermItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/terms_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/terms_request_builder.py index 12ae45247f7..b33556bc59e 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/terms_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/item/terms/terms_request_builder.py @@ -45,7 +45,7 @@ def by_term_id(self,term_id: str) -> TermItemRequestBuilder: async def get(self,request_configuration: Optional[TermsRequestBuilderGetRequestConfiguration] = None) -> Optional[TermCollectionResponse]: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TermCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[Term] = None, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[TermsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[TermsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TermsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/sets_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/sets_request_builder.py index 46a13440d41..ca42ccbaee1 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/sets/sets_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/sets/sets_request_builder.py @@ -45,7 +45,7 @@ def by_set_id(self,set_id: str) -> SetItemRequestBuilder: async def get(self,request_configuration: Optional[SetsRequestBuilderGetRequestConfiguration] = None) -> Optional[SetCollectionResponse]: """ - Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + Read the properties and relationships of a set object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SetCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[Set] = None, request_configuration: Optional[ def to_get_request_information(self,request_configuration: Optional[SetsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + Read the properties and relationships of a set object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SetsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Set] = None, request_configuration: Optional[SetsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Set] = None, request_configu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SetsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + Read the properties and relationships of a set object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/item/term_store/term_store_request_builder.py b/msgraph_beta/generated/groups/item/sites/item/term_store/term_store_request_builder.py index 9b2fa7d91d2..daa157145ae 100644 --- a/msgraph_beta/generated/groups/item/sites/item/term_store/term_store_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/item/term_store/term_store_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[TermStoreRequestBuilderDel async def get(self,request_configuration: Optional[TermStoreRequestBuilderGetRequestConfiguration] = None) -> Optional[Store]: """ - Read the properties and relationships of a store object. This API is available in the following national cloud deployments. + Read the properties and relationships of a store object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Store] Find more info here: https://learn.microsoft.com/graph/api/termstore-store-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[TermStore request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermStoreRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a store object. This API is available in the following national cloud deployments. + Read the properties and relationships of a store object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[TermStoreReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Store] = None, request_configuration: Optional[TermStoreRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Store] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class TermStoreRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration @dataclass class TermStoreRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a store object. This API is available in the following national cloud deployments. + Read the properties and relationships of a store object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/sites/remove/remove_request_builder.py b/msgraph_beta/generated/groups/item/sites/remove/remove_request_builder.py index 60119dc4554..1fafb18844f 100644 --- a/msgraph_beta/generated/groups/item/sites/remove/remove_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/remove/remove_request_builder.py @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[RemovePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/sites/sites_request_builder.py b/msgraph_beta/generated/groups/item/sites/sites_request_builder.py index 5ed2d07bd0b..16fe28e168c 100644 --- a/msgraph_beta/generated/groups/item/sites/sites_request_builder.py +++ b/msgraph_beta/generated/groups/item/sites/sites_request_builder.py @@ -81,7 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[SitesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SitesRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/subscribe_by_mail/subscribe_by_mail_request_builder.py b/msgraph_beta/generated/groups/item/subscribe_by_mail/subscribe_by_mail_request_builder.py index 4398ba479ae..15a369b9d4f 100644 --- a/msgraph_beta/generated/groups/item/subscribe_by_mail/subscribe_by_mail_request_builder.py +++ b/msgraph_beta/generated/groups/item/subscribe_by_mail/subscribe_by_mail_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SubscribeByMailRequestBuilderPostRequestConfiguration] = None) -> None: """ - Calling this method will enable the current user to receive email notifications for this group, about new posts, events, and files in that group. Supported for Microsoft 365 groups only. This API is available in the following national cloud deployments. + Calling this method will enable the current user to receive email notifications for this group, about new posts, events, and files in that group. Supported for Microsoft 365 groups only. 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/group-subscribebymail?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SubscribeByMailRequestBuilde def to_post_request_information(self,request_configuration: Optional[SubscribeByMailRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Calling this method will enable the current user to receive email notifications for this group, about new posts, events, and files in that group. Supported for Microsoft 365 groups only. This API is available in the following national cloud deployments. + Calling this method will enable the current user to receive email notifications for this group, about new posts, events, and files in that group. Supported for Microsoft 365 groups only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SubscribeBy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SubscribeByMailRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/all_channels/all_channels_request_builder.py b/msgraph_beta/generated/groups/item/team/all_channels/all_channels_request_builder.py index 71b8a9b778b..c8e8e60c838 100644 --- a/msgraph_beta/generated/groups/item/team/all_channels/all_channels_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/all_channels/all_channels_request_builder.py @@ -44,7 +44,7 @@ def by_channel_id(self,channel_id: str) -> ChannelItemRequestBuilder: async def get(self,request_configuration: Optional[AllChannelsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChannelCollectionResponse]: """ - Get the list of channels either in this team or shared with this team (incoming channels). This API is available in the following national cloud deployments. + Get the list of channels either in this team or shared with this team (incoming channels). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChannelCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/team-list-allchannels?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[AllChannelsRequestBuilderGetR def to_get_request_information(self,request_configuration: Optional[AllChannelsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of channels either in this team or shared with this team (incoming channels). This API is available in the following national cloud deployments. + Get the list of channels either in this team or shared with this team (incoming channels). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[AllChannelsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllChannelsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AllChannelsRequestBuilderGetQueryParameters(): """ - Get the list of channels either in this team or shared with this team (incoming channels). This API is available in the following national cloud deployments. + Get the list of channels either in this team or shared with this team (incoming channels). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/all_channels/item/channel_item_request_builder.py b/msgraph_beta/generated/groups/item/team/all_channels/item/channel_item_request_builder.py index 2e8c2ec6392..fa86883f4c1 100644 --- a/msgraph_beta/generated/groups/item/team/all_channels/item/channel_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/all_channels/item/channel_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ChannelItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ChannelItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/archive/archive_request_builder.py b/msgraph_beta/generated/groups/item/team/archive/archive_request_builder.py index 8051eb1d336..9b799071b8b 100644 --- a/msgraph_beta/generated/groups/item/team/archive/archive_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/archive/archive_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> None: """ - Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. This API is available in the following national cloud deployments. + Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ArchivePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. This API is available in the following national cloud deployments. + Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ArchivePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/team/channels/all_messages/all_messages_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/all_messages/all_messages_request_builder.py index 3a85960306a..249a50c1bdc 100644 --- a/msgraph_beta/generated/groups/item/team/channels/all_messages/all_messages_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/all_messages/all_messages_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AllMessagesR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllMessagesRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/channels/channels_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/channels_request_builder.py index 599de6e8be2..d356650754b 100644 --- a/msgraph_beta/generated/groups/item/team/channels/channels_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/channels_request_builder.py @@ -16,6 +16,7 @@ from .all_messages.all_messages_request_builder import AllMessagesRequestBuilder from .count.count_request_builder import CountRequestBuilder from .get_all_messages.get_all_messages_request_builder import GetAllMessagesRequestBuilder + from .get_all_retained_messages.get_all_retained_messages_request_builder import GetAllRetainedMessagesRequestBuilder from .item.channel_item_request_builder import ChannelItemRequestBuilder class ChannelsRequestBuilder(BaseRequestBuilder): @@ -47,7 +48,7 @@ def by_channel_id(self,channel_id: str) -> ChannelItemRequestBuilder: async def get(self,request_configuration: Optional[ChannelsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChannelCollectionResponse]: """ - Retrieve the list of channels in this team. This API is available in the following national cloud deployments. + Retrieve the list of channels in this team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChannelCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list?view=graph-rest-1.0 @@ -69,7 +70,7 @@ async def get(self,request_configuration: Optional[ChannelsRequestBuilderGetRequ async def post(self,body: Optional[Channel] = None, request_configuration: Optional[ChannelsRequestBuilderPostRequestConfiguration] = None) -> Optional[Channel]: """ - Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. This API is available in the following national cloud deployments. + Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Channel] @@ -94,7 +95,7 @@ async def post(self,body: Optional[Channel] = None, request_configuration: Optio def to_get_request_information(self,request_configuration: Optional[ChannelsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of channels in this team. This API is available in the following national cloud deployments. + Retrieve the list of channels in this team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +107,12 @@ def to_get_request_information(self,request_configuration: Optional[ChannelsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Channel] = None, request_configuration: Optional[ChannelsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. This API is available in the following national cloud deployments. + Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -125,7 +126,7 @@ def to_post_request_information(self,body: Optional[Channel] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -166,10 +167,19 @@ def get_all_messages(self) -> GetAllMessagesRequestBuilder: return GetAllMessagesRequestBuilder(self.request_adapter, self.path_parameters) + @property + def get_all_retained_messages(self) -> GetAllRetainedMessagesRequestBuilder: + """ + Provides operations to call the getAllRetainedMessages method. + """ + from .get_all_retained_messages.get_all_retained_messages_request_builder import GetAllRetainedMessagesRequestBuilder + + return GetAllRetainedMessagesRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class ChannelsRequestBuilderGetQueryParameters(): """ - Retrieve the list of channels in this team. This API is available in the following national cloud deployments. + Retrieve the list of channels in this team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/channels/get_all_messages/get_all_messages_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/get_all_messages/get_all_messages_request_builder.py index 23db65e8d62..ef39f4d5861 100644 --- a/msgraph_beta/generated/groups/item/team/channels/get_all_messages/get_all_messages_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/get_all_messages/get_all_messages_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetAllMessag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetAllMessagesRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/channels/get_all_retained_messages/get_all_retained_messages_get_response.py b/msgraph_beta/generated/groups/item/team/channels/get_all_retained_messages/get_all_retained_messages_get_response.py new file mode 100644 index 00000000000..23a92f81e65 --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/channels/get_all_retained_messages/get_all_retained_messages_get_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.chat_message import ChatMessage + +from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class GetAllRetainedMessagesGetResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[ChatMessage]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> GetAllRetainedMessagesGetResponse: + """ + 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: GetAllRetainedMessagesGetResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return GetAllRetainedMessagesGetResponse() + + 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.chat_message import ChatMessage + + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.chat_message import ChatMessage + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ChatMessage)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/groups/item/team/channels/get_all_retained_messages/get_all_retained_messages_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/get_all_retained_messages/get_all_retained_messages_request_builder.py new file mode 100644 index 00000000000..b852a1e478a --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/channels/get_all_retained_messages/get_all_retained_messages_request_builder.py @@ -0,0 +1,141 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from .get_all_retained_messages_get_response import GetAllRetainedMessagesGetResponse + +class GetAllRetainedMessagesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getAllRetainedMessages method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new GetAllRetainedMessagesRequestBuilder 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}/groups/{group%2Did}/team/channels/getAllRetainedMessages(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}", path_parameters) + + async def get(self,request_configuration: Optional[GetAllRetainedMessagesRequestBuilderGetRequestConfiguration] = None) -> Optional[GetAllRetainedMessagesGetResponse]: + """ + Invoke function getAllRetainedMessages + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[GetAllRetainedMessagesGetResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .get_all_retained_messages_get_response import GetAllRetainedMessagesGetResponse + + return await self.request_adapter.send_async(request_info, GetAllRetainedMessagesGetResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[GetAllRetainedMessagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Invoke function getAllRetainedMessages + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> GetAllRetainedMessagesRequestBuilder: + """ + 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: GetAllRetainedMessagesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GetAllRetainedMessagesRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class GetAllRetainedMessagesRequestBuilderGetQueryParameters(): + """ + Invoke function getAllRetainedMessages + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + 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 + + # 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GetAllRetainedMessagesRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[GetAllRetainedMessagesRequestBuilder.GetAllRetainedMessagesRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/groups/item/team/channels/item/archive/archive_post_request_body.py b/msgraph_beta/generated/groups/item/team/channels/item/archive/archive_post_request_body.py new file mode 100644 index 00000000000..f39cce9ef54 --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/channels/item/archive/archive_post_request_body.py @@ -0,0 +1,49 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class ArchivePostRequestBody(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 shouldSetSpoSiteReadOnlyForMembers property + should_set_spo_site_read_only_for_members: Optional[bool] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> ArchivePostRequestBody: + """ + 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: ArchivePostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return ArchivePostRequestBody() + + 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]] = { + "shouldSetSpoSiteReadOnlyForMembers": lambda n : setattr(self, 'should_set_spo_site_read_only_for_members', n.get_bool_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 not writer: + raise TypeError("writer cannot be null.") + writer.write_bool_value("shouldSetSpoSiteReadOnlyForMembers", self.should_set_spo_site_read_only_for_members) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/groups/item/team/channels/item/archive/archive_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/archive/archive_request_builder.py new file mode 100644 index 00000000000..6d30d7b77dc --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/channels/item/archive/archive_request_builder.py @@ -0,0 +1,91 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .archive_post_request_body import ArchivePostRequestBody + +class ArchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the archive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ArchiveRequestBuilder 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}/groups/{group%2Did}/team/channels/{channel%2Did}/archive", path_parameters) + + async def post(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Invoke action archive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action archive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> ArchiveRequestBuilder: + """ + 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: ArchiveRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ArchiveRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ArchiveRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/groups/item/team/channels/item/channel_item_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/channel_item_request_builder.py index 387b4db92c4..7256d266194 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/channel_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/channel_item_request_builder.py @@ -12,6 +12,7 @@ if TYPE_CHECKING: from ......models.channel import Channel from ......models.o_data_errors.o_data_error import ODataError + from .archive.archive_request_builder import ArchiveRequestBuilder from .complete_migration.complete_migration_request_builder import CompleteMigrationRequestBuilder from .does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name.does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder import DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder from .files_folder.files_folder_request_builder import FilesFolderRequestBuilder @@ -21,6 +22,7 @@ from .remove_email.remove_email_request_builder import RemoveEmailRequestBuilder from .shared_with_teams.shared_with_teams_request_builder import SharedWithTeamsRequestBuilder from .tabs.tabs_request_builder import TabsRequestBuilder + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder class ChannelItemRequestBuilder(BaseRequestBuilder): """ @@ -37,7 +39,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ChannelItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete the channel. This API is available in the following national cloud deployments. + Delete the channel. 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/channel-delete?view=graph-rest-1.0 @@ -57,7 +59,7 @@ async def delete(self,request_configuration: Optional[ChannelItemRequestBuilderD async def get(self,request_configuration: Optional[ChannelItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Channel]: """ - Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Channel] Find more info here: https://learn.microsoft.com/graph/api/channel-get?view=graph-rest-1.0 @@ -79,7 +81,7 @@ async def get(self,request_configuration: Optional[ChannelItemRequestBuilderGetR async def patch(self,body: Optional[Channel] = None, request_configuration: Optional[ChannelItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Channel]: """ - Update the properties of the specified channel. This API is available in the following national cloud deployments. + Update the properties of the specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Channel] @@ -104,7 +106,7 @@ async def patch(self,body: Optional[Channel] = None, request_configuration: Opti def to_delete_request_information(self,request_configuration: Optional[ChannelItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete the channel. This API is available in the following national cloud deployments. + Delete the channel. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -115,12 +117,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChannelIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChannelItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -132,12 +134,12 @@ def to_get_request_information(self,request_configuration: Optional[ChannelItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Channel] = None, request_configuration: Optional[ChannelItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of the specified channel. This API is available in the following national cloud deployments. + Update the properties of the specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -151,7 +153,7 @@ def to_patch_request_information(self,body: Optional[Channel] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -165,6 +167,15 @@ def with_url(self,raw_url: Optional[str] = None) -> ChannelItemRequestBuilder: raise TypeError("raw_url cannot be null.") return ChannelItemRequestBuilder(self.request_adapter, raw_url) + @property + def archive(self) -> ArchiveRequestBuilder: + """ + Provides operations to call the archive method. + """ + from .archive.archive_request_builder import ArchiveRequestBuilder + + return ArchiveRequestBuilder(self.request_adapter, self.path_parameters) + @property def complete_migration(self) -> CompleteMigrationRequestBuilder: """ @@ -246,6 +257,15 @@ def tabs(self) -> TabsRequestBuilder: return TabsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def unarchive(self) -> UnarchiveRequestBuilder: + """ + Provides operations to call the unarchive method. + """ + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder + + return UnarchiveRequestBuilder(self.request_adapter, self.path_parameters) + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass @@ -259,7 +279,7 @@ class ChannelItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurati @dataclass class ChannelItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/channels/item/complete_migration/complete_migration_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/complete_migration/complete_migration_request_builder.py index be954d7dbea..1382742f3db 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/complete_migration/complete_migration_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/complete_migration/complete_migration_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CompleteMigrationRequestBuilderPostRequestConfiguration] = None) -> None: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. 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/channel-completemigration?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[CompleteMigrationRequestBuil def to_post_request_information(self,request_configuration: Optional[CompleteMigrationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[CompleteMig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CompleteMigrationRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/channels/item/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py index e5b7fc146e9..9452b328c6a 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DoesUserHave request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/channels/item/files_folder/content/content_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/files_folder/content/content_request_builder.py index 4ac8fd5ec74..73775c0f3d6 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/files_folder/content/content_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/files_folder/content/content_request_builder.py @@ -83,7 +83,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -102,7 +102,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/groups/item/team/channels/item/files_folder/files_folder_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/files_folder/files_folder_request_builder.py index 4d7bc8cf649..e98c353cd3c 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/files_folder/files_folder_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/files_folder/files_folder_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[FilesFolderRequestBuilderGetRequestConfiguration] = None) -> Optional[DriveItem]: """ - Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + Get the metadata for the location where the files of a channel are stored. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] Find more info here: https://learn.microsoft.com/graph/api/channel-get-filesfolder?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[FilesFolderRequestBuilderGetR def to_get_request_information(self,request_configuration: Optional[FilesFolderRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + Get the metadata for the location where the files of a channel are stored. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[FilesFolderR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilesFolderRequestBuilder: @@ -88,7 +88,7 @@ def content(self) -> ContentRequestBuilder: @dataclass class FilesFolderRequestBuilderGetQueryParameters(): """ - Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + Get the metadata for the location where the files of a channel are stored. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/channels/item/members/add/add_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/members/add/add_request_builder.py index f949fc296de..2be889e6d42 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/members/add/add_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/members/add/add_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> Optional[AddPostResponse]: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AddPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddPostRequestBody] = None, request_configura def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/team/channels/item/members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/members/item/conversation_member_item_request_builder.py index e265cf71c33..99948e11ce7 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/members/item/conversation_member_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. 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/channel-delete-members?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ConversationMemberItemRequ async def get(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Get a conversationMember from a channel. This API is available in the following national cloud deployments. + Get a conversationMember from a channel. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] Find more info here: https://learn.microsoft.com/graph/api/channel-get-members?view=graph-rest-1.0 @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[ConversationMemberItemRequest async def patch(self,body: Optional[ConversationMember] = None, request_configuration: Optional[ConversationMemberItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Update the role of a conversationMember in a team.or channel. This API is available in the following national cloud deployments. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] - Find more info here: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -95,7 +95,7 @@ async def patch(self,body: Optional[ConversationMember] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Conversat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a conversationMember from a channel. This API is available in the following national cloud deployments. + Get a conversationMember from a channel. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[Conversation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[ConversationMemberItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the role of a conversationMember in a team.or channel. This API is available in the following national cloud deployments. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class ConversationMemberItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class ConversationMemberItemRequestBuilderGetQueryParameters(): """ - Get a conversationMember from a channel. This API is available in the following national cloud deployments. + Get a conversationMember from a channel. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/channels/item/members/members_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/members/members_request_builder.py index f825057df8d..cd13f354d99 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/members/members_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/members/members_request_builder.py @@ -46,7 +46,7 @@ def by_conversation_member_id(self,conversation_member_id: str) -> ConversationM async def get(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMemberCollectionResponse]: """ - Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list-members?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MembersRequestBuilderGetReque async def post(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ConversationMember] = None, request_configura def to_get_request_information(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MembersRequestBuilderGetQueryParameters(): """ - Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/delta/delta_request_builder.py index cae9c6d076d..16409817fc0 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/chat_message_item_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/chat_message_item_request_builder.py index 92364fad5ef..5a53e39d7fb 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/chat_message_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/chat_message_item_request_builder.py @@ -53,7 +53,7 @@ async def delete(self,request_configuration: Optional[ChatMessageItemRequestBuil async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 @@ -75,7 +75,7 @@ async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilder async def patch(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -111,12 +111,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -128,12 +128,12 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[ChatMessage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -228,7 +228,7 @@ class ChatMessageItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class ChatMessageItemRequestBuilderGetQueryParameters(): """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.py index f9725d34c32..7da44c96878 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.py @@ -45,7 +45,7 @@ def by_chat_message_hosted_content_id(self,chat_message_hosted_content_id: str) async def get(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContentCollectionResponse]: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ChatMessageHostedContent] = None, request_con def to_get_request_information(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[HostedConten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[HostedContentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HostedContentsRequestBuilderGetQueryParameters(): """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py index f3c18cd38c9..948c2470798 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ChatMessageHostedContentIt async def get(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContent]: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContent] Find more info here: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class ChatMessageHostedContentItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/hosted_contents/item/value/content_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/hosted_contents/item/value/content_request_builder.py index 3418a86e443..4ebe6ef4782 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/hosted_contents/item/value/content_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/hosted_contents/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/delta/delta_request_builder.py index 3971fa3a5dc..b6d6421eb61 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/chat_message_item_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/chat_message_item_request_builder.py index 9b43deb3265..8061e3063e2 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/chat_message_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/chat_message_item_request_builder.py @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[ChatMessageItemRequestBuil async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[ChatMessage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -217,7 +217,7 @@ class ChatMessageItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class ChatMessageItemRequestBuilderGetQueryParameters(): """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py index bbe67508b9b..453c2ea655e 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py @@ -45,7 +45,7 @@ def by_chat_message_hosted_content_id(self,chat_message_hosted_content_id: str) async def get(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContentCollectionResponse]: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ChatMessageHostedContent] = None, request_con def to_get_request_information(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[HostedConten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[HostedContentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HostedContentsRequestBuilderGetQueryParameters(): """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py index f4bc6097d63..c77b718c5c3 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ChatMessageHostedContentIt async def get(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContent]: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContent] Find more info here: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class ChatMessageHostedContentItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py index e173d837d22..7df78c6e758 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/set_reaction/set_reaction_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/set_reaction/set_reaction_request_builder.py index 6eaf3d5918b..299a052f9fa 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/set_reaction/set_reaction_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/set_reaction/set_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetReactionPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/soft_delete/soft_delete_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/soft_delete/soft_delete_request_builder.py index 05d7d90c478..2da1c20df15 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/soft_delete/soft_delete_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/soft_delete/soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-softdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPost def to_post_request_information(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SoftDeleteR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py index 49cb5334cdc..7dacd03eddf 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-undosoftdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilder def to_post_request_information(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UndoSoftDel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UndoSoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py index 2b23a97b73f..5be6c23f945 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnsetReactionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/replies_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/replies_request_builder.py index d3f8ed8b986..670d1934cde 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/replies_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/replies/replies_request_builder.py @@ -46,7 +46,7 @@ def by_chat_message_id1(self,chat_message_id1: str) -> ChatMessageItemRequestBui async def get(self,request_configuration: Optional[RepliesRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageCollectionResponse]: """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-replies?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[RepliesRequestBuilderGetReque async def post(self,body: Optional[ChatMessage] = None, request_configuration: Optional[RepliesRequestBuilderPostRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + Send a new reply to a chatMessage in a specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ChatMessage] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[RepliesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[RepliesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[RepliesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + Send a new reply to a chatMessage in a specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ChatMessage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class RepliesRequestBuilderGetQueryParameters(): """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/set_reaction/set_reaction_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/set_reaction/set_reaction_request_builder.py index 9cb76cfdba5..78db56dad74 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/set_reaction/set_reaction_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/set_reaction/set_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetReactionPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/soft_delete/soft_delete_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/soft_delete/soft_delete_request_builder.py index 200d8295479..b332ede38aa 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/soft_delete/soft_delete_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/soft_delete/soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-softdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPost def to_post_request_information(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SoftDeleteR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py index 86c9a6791c2..a3d84b4516a 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-undosoftdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilder def to_post_request_information(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UndoSoftDel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UndoSoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/unset_reaction/unset_reaction_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/unset_reaction/unset_reaction_request_builder.py index e884ade7758..8a9d62c3552 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/item/unset_reaction/unset_reaction_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/item/unset_reaction/unset_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnsetReactionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/team/channels/item/messages/messages_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/messages/messages_request_builder.py index 1081942e3b9..5a23b6f87c3 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/messages/messages_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/messages/messages_request_builder.py @@ -46,7 +46,7 @@ def by_chat_message_id(self,chat_message_id: str) -> ChatMessageItemRequestBuild async def get(self,request_configuration: Optional[MessagesRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageCollectionResponse]: """ - Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list-messages?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MessagesRequestBuilderGetRequ async def post(self,body: Optional[ChatMessage] = None, request_configuration: Optional[MessagesRequestBuilderPostRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ChatMessage] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[MessagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MessagesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[MessagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ChatMessage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class MessagesRequestBuilderGetQueryParameters(): """ - Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/channels/item/provision_email/provision_email_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/provision_email/provision_email_request_builder.py index 42068f95684..a09ebde8d15 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/provision_email/provision_email_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/provision_email/provision_email_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ProvisionEmailRequestBuilderPostRequestConfiguration] = None) -> Optional[ProvisionChannelEmailResult]: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProvisionChannelEmailResult] Find more info here: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[ProvisionEmailRequestBuilder def to_post_request_information(self,request_configuration: Optional[ProvisionEmailRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[ProvisionEm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ProvisionEmailRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/channels/item/remove_email/remove_email_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/remove_email/remove_email_request_builder.py index 75d4576a90b..4e5dc431b5a 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/remove_email/remove_email_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/remove_email/remove_email_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RemoveEmailRequestBuilderPostRequestConfiguration] = None) -> None: """ - Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. 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/channel-removeemail?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RemoveEmailRequestBuilderPos def to_post_request_information(self,request_configuration: Optional[RemoveEmailRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RemoveEmail request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RemoveEmailRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/channels/item/shared_with_teams/item/allowed_members/allowed_members_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/shared_with_teams/item/allowed_members/allowed_members_request_builder.py index 3dae2b95ee7..2822b513a2c 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/shared_with_teams/item/allowed_members/allowed_members_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/shared_with_teams/item/allowed_members/allowed_members_request_builder.py @@ -44,7 +44,7 @@ def by_conversation_member_id(self,conversation_member_id: str) -> ConversationM async def get(self,request_configuration: Optional[AllowedMembersRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMemberCollectionResponse]: """ - Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list-allowedmembers?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[AllowedMembersRequestBuilderG def to_get_request_information(self,request_configuration: Optional[AllowedMembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[AllowedMembe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllowedMembersRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AllowedMembersRequestBuilderGetQueryParameters(): """ - Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/channels/item/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py index 323b49ce857..687be6fcebe 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[Conversation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ConversationMemberItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py index 460a976f380..9bb6a6c9efb 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. 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/sharedwithchannelteaminfo-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[SharedWithChannelTeamInfoI async def get(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SharedWithChannelTeamInfo]: """ - Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharedWithChannelTeamInfo] Find more info here: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-get?view=graph-rest-1.0 @@ -96,7 +96,7 @@ async def patch(self,body: Optional[SharedWithChannelTeamInfo] = None, request_c def to_delete_request_information(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[SharedWit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[SharedWithCh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SharedWithChannelTeamInfo] = None, request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[SharedWithChannelTeamInfo] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ class SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration(Base @dataclass class SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters(): """ - Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/channels/item/shared_with_teams/item/team/team_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/shared_with_teams/item/team/team_request_builder.py index 324bbf48c4b..d230573144a 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/shared_with_teams/item/team/team_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/shared_with_teams/item/team/team_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/channels/item/shared_with_teams/shared_with_teams_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/shared_with_teams/shared_with_teams_request_builder.py index 15b20e830ff..b290917ece1 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/shared_with_teams/shared_with_teams_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/shared_with_teams/shared_with_teams_request_builder.py @@ -45,7 +45,7 @@ def by_shared_with_channel_team_info_id(self,shared_with_channel_team_info_id: s async def get(self,request_configuration: Optional[SharedWithTeamsRequestBuilderGetRequestConfiguration] = None) -> Optional[SharedWithChannelTeamInfoCollectionResponse]: """ - Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharedWithChannelTeamInfoCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[SharedWithChannelTeamInfo] = None, request_co def to_get_request_information(self,request_configuration: Optional[SharedWithTeamsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SharedWithTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SharedWithChannelTeamInfo] = None, request_configuration: Optional[SharedWithTeamsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SharedWithChannelTeamInfo] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SharedWithTeamsRequestBuilderGetQueryParameters(): """ - Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/channels/item/tabs/item/teams_app/teams_app_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/tabs/item/teams_app/teams_app_request_builder.py index 4336a80ab87..7c63bedd682 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/tabs/item/teams_app/teams_app_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/tabs/item/teams_app/teams_app_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamsAppRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/channels/item/tabs/item/teams_tab_item_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/tabs/item/teams_tab_item_request_builder.py index b5dd45870db..766eb83ca4c 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/tabs/item/teams_tab_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/tabs/item/teams_tab_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[TeamsTabI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamsTabItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsTabItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamsTab] = None, request_configuration: Optional[TeamsTabItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[TeamsTab] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/team/channels/item/tabs/tabs_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/tabs/tabs_request_builder.py index 6d7a369e5b0..43abe83c937 100644 --- a/msgraph_beta/generated/groups/item/team/channels/item/tabs/tabs_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/channels/item/tabs/tabs_request_builder.py @@ -45,7 +45,7 @@ def by_teams_tab_id(self,teams_tab_id: str) -> TeamsTabItemRequestBuilder: async def get(self,request_configuration: Optional[TabsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsTabCollectionResponse]: """ - Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified channel within a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsTabCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list-tabs?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[TeamsTab] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[TabsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified channel within a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[TabsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamsTab] = None, request_configuration: Optional[TabsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[TeamsTab] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TabsRequestBuilderGetQueryParameters(): """ - Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified channel within a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/channels/item/unarchive/unarchive_request_builder.py b/msgraph_beta/generated/groups/item/team/channels/item/unarchive/unarchive_request_builder.py new file mode 100644 index 00000000000..5e83e0f89db --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/channels/item/unarchive/unarchive_request_builder.py @@ -0,0 +1,83 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + +class UnarchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the unarchive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new UnarchiveRequestBuilder 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}/groups/{group%2Did}/team/channels/{channel%2Did}/unarchive", path_parameters) + + async def post(self,request_configuration: Optional[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Invoke action unarchive + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action unarchive + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> UnarchiveRequestBuilder: + """ + 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: UnarchiveRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return UnarchiveRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class UnarchiveRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/groups/item/team/clone/clone_request_builder.py b/msgraph_beta/generated/groups/item/team/clone/clone_request_builder.py index f11320f5add..e41fb622a46 100644 --- a/msgraph_beta/generated/groups/item/team/clone/clone_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/clone/clone_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ClonePostRequestBody] = None, request_configuration: Optional[CloneRequestBuilderPostRequestConfiguration] = None) -> None: """ - Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. This API is available in the following national cloud deployments. + Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ClonePostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[ClonePostRequestBody] = None, request_configuration: Optional[CloneRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. This API is available in the following national cloud deployments. + Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ClonePostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/team/complete_migration/complete_migration_request_builder.py b/msgraph_beta/generated/groups/item/team/complete_migration/complete_migration_request_builder.py index b3043687d91..a3e3d98fb8d 100644 --- a/msgraph_beta/generated/groups/item/team/complete_migration/complete_migration_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/complete_migration/complete_migration_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CompleteMigrationRequestBuilderPostRequestConfiguration] = None) -> None: """ - Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. 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/team-completemigration?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[CompleteMigrationRequestBuil def to_post_request_information(self,request_configuration: Optional[CompleteMigrationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[CompleteMig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CompleteMigrationRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/group/group_request_builder.py b/msgraph_beta/generated/groups/item/team/group/group_request_builder.py index 167f1a96460..e51640c1f04 100644 --- a/msgraph_beta/generated/groups/item/team/group/group_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/group/group_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GroupRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/group/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/groups/item/team/group/service_provisioning_errors/service_provisioning_errors_request_builder.py index 98483b89eee..7fed52cf721 100644 --- a/msgraph_beta/generated/groups/item/team/group/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/group/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/incoming_channels/incoming_channels_request_builder.py b/msgraph_beta/generated/groups/item/team/incoming_channels/incoming_channels_request_builder.py index 93f96b5aa80..56aa1d0e7cb 100644 --- a/msgraph_beta/generated/groups/item/team/incoming_channels/incoming_channels_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/incoming_channels/incoming_channels_request_builder.py @@ -44,7 +44,7 @@ def by_channel_id(self,channel_id: str) -> ChannelItemRequestBuilder: async def get(self,request_configuration: Optional[IncomingChannelsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChannelCollectionResponse]: """ - Get the list of incoming channels (channels shared with a team). This API is available in the following national cloud deployments. + Get the list of incoming channels (channels shared with a team). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChannelCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/team-list-incomingchannels?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[IncomingChannelsRequestBuilde def to_get_request_information(self,request_configuration: Optional[IncomingChannelsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of incoming channels (channels shared with a team). This API is available in the following national cloud deployments. + Get the list of incoming channels (channels shared with a team). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[IncomingChan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IncomingChannelsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class IncomingChannelsRequestBuilderGetQueryParameters(): """ - Get the list of incoming channels (channels shared with a team). This API is available in the following national cloud deployments. + Get the list of incoming channels (channels shared with a team). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/incoming_channels/item/channel_item_request_builder.py b/msgraph_beta/generated/groups/item/team/incoming_channels/item/channel_item_request_builder.py index 03de726a86a..80359dab1ac 100644 --- a/msgraph_beta/generated/groups/item/team/incoming_channels/item/channel_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/incoming_channels/item/channel_item_request_builder.py @@ -80,7 +80,7 @@ def to_delete_request_information(self,request_configuration: Optional[ChannelIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChannelItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -97,7 +97,7 @@ def to_get_request_information(self,request_configuration: Optional[ChannelItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ChannelItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/installed_apps/installed_apps_request_builder.py b/msgraph_beta/generated/groups/item/team/installed_apps/installed_apps_request_builder.py index 8b1f73f1b80..a27d2ef92ce 100644 --- a/msgraph_beta/generated/groups/item/team/installed_apps/installed_apps_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/installed_apps/installed_apps_request_builder.py @@ -45,7 +45,7 @@ def by_teams_app_installation_id(self,teams_app_installation_id: str) -> TeamsAp async def get(self,request_configuration: Optional[InstalledAppsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsAppInstallationCollectionResponse]: """ - Retrieve the list of apps installed in the specified team. This API is available in the following national cloud deployments. + Retrieve the list of apps installed in the specified team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAppInstallationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/team-list-installedapps?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[InstalledAppsRequestBuilderGe async def post(self,body: Optional[TeamsAppInstallation] = None, request_configuration: Optional[InstalledAppsRequestBuilderPostRequestConfiguration] = None) -> Optional[TeamsAppInstallation]: """ - Install an app to the specified team. This API is available in the following national cloud deployments. + Install an app to the specified team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAppInstallation] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TeamsAppInstallation] = None, request_configu def to_get_request_information(self,request_configuration: Optional[InstalledAppsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of apps installed in the specified team. This API is available in the following national cloud deployments. + Retrieve the list of apps installed in the specified team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[InstalledApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamsAppInstallation] = None, request_configuration: Optional[InstalledAppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Install an app to the specified team. This API is available in the following national cloud deployments. + Install an app to the specified team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TeamsAppInstallation] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class InstalledAppsRequestBuilderGetQueryParameters(): """ - Retrieve the list of apps installed in the specified team. This API is available in the following national cloud deployments. + Retrieve the list of apps installed in the specified team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/installed_apps/item/teams_app/teams_app_request_builder.py b/msgraph_beta/generated/groups/item/team/installed_apps/item/teams_app/teams_app_request_builder.py index 8199dc24ea6..ffcd2ddf7dc 100644 --- a/msgraph_beta/generated/groups/item/team/installed_apps/item/teams_app/teams_app_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/installed_apps/item/teams_app/teams_app_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamsAppRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/installed_apps/item/teams_app_definition/teams_app_definition_request_builder.py b/msgraph_beta/generated/groups/item/team/installed_apps/item/teams_app_definition/teams_app_definition_request_builder.py index 98b89d31d30..715a61899af 100644 --- a/msgraph_beta/generated/groups/item/team/installed_apps/item/teams_app_definition/teams_app_definition_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/installed_apps/item/teams_app_definition/teams_app_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppDefi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamsAppDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/installed_apps/item/teams_app_installation_item_request_builder.py b/msgraph_beta/generated/groups/item/team/installed_apps/item/teams_app_installation_item_request_builder.py index 719c1a8d099..5ddba435bed 100644 --- a/msgraph_beta/generated/groups/item/team/installed_apps/item/teams_app_installation_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/installed_apps/item/teams_app_installation_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Uninstalls an app from the specified team. This API is available in the following national cloud deployments. + Uninstalls an app from the specified team. 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/team-delete-installedapps?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[TeamsAppInstallationItemRe async def get(self,request_configuration: Optional[TeamsAppInstallationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsAppInstallation]: """ - Retrieve the app installed in the specified team. This API is available in the following national cloud deployments. + Retrieve the app installed in the specified team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAppInstallation] Find more info here: https://learn.microsoft.com/graph/api/team-get-installedapps?view=graph-rest-1.0 @@ -97,7 +97,7 @@ async def patch(self,body: Optional[TeamsAppInstallation] = None, request_config def to_delete_request_information(self,request_configuration: Optional[TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Uninstalls an app from the specified team. This API is available in the following national cloud deployments. + Uninstalls an app from the specified team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[TeamsAppI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamsAppInstallationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the app installed in the specified team. This API is available in the following national cloud deployments. + Retrieve the app installed in the specified team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppInst request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamsAppInstallation] = None, request_configuration: Optional[TeamsAppInstallationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[TeamsAppInstallation] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -198,7 +198,7 @@ class TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class TeamsAppInstallationItemRequestBuilderGetQueryParameters(): """ - Retrieve the app installed in the specified team. This API is available in the following national cloud deployments. + Retrieve the app installed in the specified team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/installed_apps/item/upgrade/upgrade_request_builder.py b/msgraph_beta/generated/groups/item/team/installed_apps/item/upgrade/upgrade_request_builder.py index f25c90936c1..8a8849037f3 100644 --- a/msgraph_beta/generated/groups/item/team/installed_apps/item/upgrade/upgrade_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/installed_apps/item/upgrade/upgrade_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UpgradePostRequestBody] = None, request_configuration: Optional[UpgradeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Upgrade an app installation within a chat. This API is available in the following national cloud deployments. + Upgrade an app installation within a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[UpgradePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[UpgradePostRequestBody] = None, request_configuration: Optional[UpgradeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Upgrade an app installation within a chat. This API is available in the following national cloud deployments. + Upgrade an app installation within a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[UpgradePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/team/members/add/add_request_builder.py b/msgraph_beta/generated/groups/item/team/members/add/add_request_builder.py index 64b3f2f0624..709537a8e93 100644 --- a/msgraph_beta/generated/groups/item/team/members/add/add_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/members/add/add_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> Optional[AddPostResponse]: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AddPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddPostRequestBody] = None, request_configura def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/team/members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/groups/item/team/members/item/conversation_member_item_request_builder.py index 674cfcb9312..b2d88899d30 100644 --- a/msgraph_beta/generated/groups/item/team/members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/members/item/conversation_member_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a conversationMember from a team. This API is available in the following national cloud deployments. + Remove a conversationMember from a team. 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/team-delete-members?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ConversationMemberItemRequ async def get(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Get a conversationMember from a team. This API is available in the following national cloud deployments. + Get a conversationMember from a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] Find more info here: https://learn.microsoft.com/graph/api/team-get-members?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[ConversationMemberItemRequest async def patch(self,body: Optional[ConversationMember] = None, request_configuration: Optional[ConversationMemberItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Update the role of a conversationMember in a team. This API is available in the following national cloud deployments. + Update the role of a conversationMember in a team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[ConversationMember] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a conversationMember from a team. This API is available in the following national cloud deployments. + Remove a conversationMember from a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Conversat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a conversationMember from a team. This API is available in the following national cloud deployments. + Get a conversationMember from a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[Conversation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[ConversationMemberItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the role of a conversationMember in a team. This API is available in the following national cloud deployments. + Update the role of a conversationMember in a team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class ConversationMemberItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class ConversationMemberItemRequestBuilderGetQueryParameters(): """ - Get a conversationMember from a team. This API is available in the following national cloud deployments. + Get a conversationMember from a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/members/members_request_builder.py b/msgraph_beta/generated/groups/item/team/members/members_request_builder.py index 582b76cf625..50603b8ab9d 100644 --- a/msgraph_beta/generated/groups/item/team/members/members_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/members/members_request_builder.py @@ -46,7 +46,7 @@ def by_conversation_member_id(self,conversation_member_id: str) -> ConversationM async def get(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMemberCollectionResponse]: """ - Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. This API is available in the following national cloud deployments. + Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/team-list-members?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MembersRequestBuilderGetReque async def post(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Add a new conversation member to a team. This API is available in the following national cloud deployments. + Add a new conversation member to a team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ConversationMember] = None, request_configura def to_get_request_information(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. This API is available in the following national cloud deployments. + Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a new conversation member to a team. This API is available in the following national cloud deployments. + Add a new conversation member to a team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MembersRequestBuilderGetQueryParameters(): """ - Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. This API is available in the following national cloud deployments. + Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/operations/item/teams_async_operation_item_request_builder.py b/msgraph_beta/generated/groups/item/team/operations/item/teams_async_operation_item_request_builder.py index 9aa5b03188b..968cc515b4a 100644 --- a/msgraph_beta/generated/groups/item/team/operations/item/teams_async_operation_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/operations/item/teams_async_operation_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[TeamsAsyn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamsAsyncOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAsyncOp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamsAsyncOperation] = None, request_configuration: Optional[TeamsAsyncOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[TeamsAsyncOperation] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/team/operations/operations_request_builder.py b/msgraph_beta/generated/groups/item/team/operations/operations_request_builder.py index ffae466e2a8..3fbb66a2ab7 100644 --- a/msgraph_beta/generated/groups/item/team/operations/operations_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/operations/operations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamsAsyncOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[TeamsAsyncOperation] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/team/owners/item/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/groups/item/team/owners/item/mailbox_settings/mailbox_settings_request_builder.py index 75fef0525ed..51ffb39a5c5 100644 --- a/msgraph_beta/generated/groups/item/team/owners/item/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/owners/item/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/team/owners/item/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/groups/item/team/owners/item/service_provisioning_errors/service_provisioning_errors_request_builder.py index 6c3435767bb..4a1cbe76465 100644 --- a/msgraph_beta/generated/groups/item/team/owners/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/owners/item/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/owners/item/user_item_request_builder.py b/msgraph_beta/generated/groups/item/team/owners/item/user_item_request_builder.py index bfa92d1b315..84369f9259e 100644 --- a/msgraph_beta/generated/groups/item/team/owners/item/user_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/owners/item/user_item_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[UserItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/owners/owners_request_builder.py b/msgraph_beta/generated/groups/item/team/owners/owners_request_builder.py index 805e65515b4..55d598815cc 100644 --- a/msgraph_beta/generated/groups/item/team/owners/owners_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/owners/owners_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[OwnersReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> OwnersRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/permission_grants/item/resource_specific_permission_grant_item_request_builder.py b/msgraph_beta/generated/groups/item/team/permission_grants/item/resource_specific_permission_grant_item_request_builder.py index d58716e721d..eee60c94184 100644 --- a/msgraph_beta/generated/groups/item/team/permission_grants/item/resource_specific_permission_grant_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/permission_grants/item/resource_specific_permission_grant_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ResourceS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ResourceSpecificPermissionGrantItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceSpec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ResourceSpecificPermissionGrant] = None, request_configuration: Optional[ResourceSpecificPermissionGrantItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ResourceSpecificPermissionG request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/team/permission_grants/permission_grants_request_builder.py b/msgraph_beta/generated/groups/item/team/permission_grants/permission_grants_request_builder.py index 5462c148676..8e8ad83856e 100644 --- a/msgraph_beta/generated/groups/item/team/permission_grants/permission_grants_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/permission_grants/permission_grants_request_builder.py @@ -45,7 +45,7 @@ def by_resource_specific_permission_grant_id(self,resource_specific_permission_g async def get(self,request_configuration: Optional[PermissionGrantsRequestBuilderGetRequestConfiguration] = None) -> Optional[ResourceSpecificPermissionGrantCollectionResponse]: """ - List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ResourceSpecificPermissionGrantCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/team-list-permissiongrants?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ResourceSpecificPermissionGrant] = None, requ def to_get_request_information(self,request_configuration: Optional[PermissionGrantsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PermissionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ResourceSpecificPermissionGrant] = None, request_configuration: Optional[PermissionGrantsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ResourceSpecificPermissionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PermissionGrantsRequestBuilderGetQueryParameters(): """ - List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/photo/photo_request_builder.py b/msgraph_beta/generated/groups/item/team/photo/photo_request_builder.py index fca3af12677..ba169898e4c 100644 --- a/msgraph_beta/generated/groups/item/team/photo/photo_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/photo/photo_request_builder.py @@ -86,7 +86,7 @@ def to_get_request_information(self,request_configuration: Optional[PhotoRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ProfilePhoto] = None, request_configuration: Optional[PhotoRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -105,7 +105,7 @@ def to_patch_request_information(self,body: Optional[ProfilePhoto] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/team/photo/value/content_request_builder.py b/msgraph_beta/generated/groups/item/team/photo/value/content_request_builder.py index 00e82c91e79..6e8e5fb1152 100644 --- a/msgraph_beta/generated/groups/item/team/photo/value/content_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/photo/value/content_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -98,7 +98,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/archive/archive_post_request_body.py b/msgraph_beta/generated/groups/item/team/primary_channel/archive/archive_post_request_body.py new file mode 100644 index 00000000000..f39cce9ef54 --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/primary_channel/archive/archive_post_request_body.py @@ -0,0 +1,49 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class ArchivePostRequestBody(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 shouldSetSpoSiteReadOnlyForMembers property + should_set_spo_site_read_only_for_members: Optional[bool] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> ArchivePostRequestBody: + """ + 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: ArchivePostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return ArchivePostRequestBody() + + 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]] = { + "shouldSetSpoSiteReadOnlyForMembers": lambda n : setattr(self, 'should_set_spo_site_read_only_for_members', n.get_bool_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 not writer: + raise TypeError("writer cannot be null.") + writer.write_bool_value("shouldSetSpoSiteReadOnlyForMembers", self.should_set_spo_site_read_only_for_members) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/archive/archive_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/archive/archive_request_builder.py new file mode 100644 index 00000000000..c023af12d13 --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/primary_channel/archive/archive_request_builder.py @@ -0,0 +1,91 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from .archive_post_request_body import ArchivePostRequestBody + +class ArchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the archive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ArchiveRequestBuilder 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}/groups/{group%2Did}/team/primaryChannel/archive", path_parameters) + + async def post(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Invoke action archive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action archive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> ArchiveRequestBuilder: + """ + 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: ArchiveRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ArchiveRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ArchiveRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/complete_migration/complete_migration_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/complete_migration/complete_migration_request_builder.py index 94ab2701032..4af5983a915 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/complete_migration/complete_migration_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/complete_migration/complete_migration_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CompleteMigrationRequestBuilderPostRequestConfiguration] = None) -> None: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. 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/channel-completemigration?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[CompleteMigrationRequestBuil def to_post_request_information(self,request_configuration: Optional[CompleteMigrationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[CompleteMig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CompleteMigrationRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py index 89c13ae5d04..b0229e42102 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DoesUserHave request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/files_folder/content/content_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/files_folder/content/content_request_builder.py index 61b1016df72..2dc72170507 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/files_folder/content/content_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/files_folder/content/content_request_builder.py @@ -83,7 +83,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -102,7 +102,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/files_folder/files_folder_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/files_folder/files_folder_request_builder.py index 7311fd16208..8afb5a85c06 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/files_folder/files_folder_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/files_folder/files_folder_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[FilesFolderRequestBuilderGetRequestConfiguration] = None) -> Optional[DriveItem]: """ - Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + Get the metadata for the location where the files of a channel are stored. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] Find more info here: https://learn.microsoft.com/graph/api/channel-get-filesfolder?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[FilesFolderRequestBuilderGetR def to_get_request_information(self,request_configuration: Optional[FilesFolderRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + Get the metadata for the location where the files of a channel are stored. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[FilesFolderR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilesFolderRequestBuilder: @@ -88,7 +88,7 @@ def content(self) -> ContentRequestBuilder: @dataclass class FilesFolderRequestBuilderGetQueryParameters(): """ - Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + Get the metadata for the location where the files of a channel are stored. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/members/add/add_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/members/add/add_request_builder.py index 4a1b3746af4..90ad6f32974 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/members/add/add_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/members/add/add_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> Optional[AddPostResponse]: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AddPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddPostRequestBody] = None, request_configura def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/members/item/conversation_member_item_request_builder.py index ac4d56985f9..85add4f7a14 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/members/item/conversation_member_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. 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/channel-delete-members?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ConversationMemberItemRequ async def get(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Get a conversationMember from a channel. This API is available in the following national cloud deployments. + Get a conversationMember from a channel. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] Find more info here: https://learn.microsoft.com/graph/api/channel-get-members?view=graph-rest-1.0 @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[ConversationMemberItemRequest async def patch(self,body: Optional[ConversationMember] = None, request_configuration: Optional[ConversationMemberItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Update the role of a conversationMember in a team.or channel. This API is available in the following national cloud deployments. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] - Find more info here: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -95,7 +95,7 @@ async def patch(self,body: Optional[ConversationMember] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Conversat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a conversationMember from a channel. This API is available in the following national cloud deployments. + Get a conversationMember from a channel. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[Conversation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[ConversationMemberItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the role of a conversationMember in a team.or channel. This API is available in the following national cloud deployments. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class ConversationMemberItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class ConversationMemberItemRequestBuilderGetQueryParameters(): """ - Get a conversationMember from a channel. This API is available in the following national cloud deployments. + Get a conversationMember from a channel. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/members/members_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/members/members_request_builder.py index 47763195aaa..060b4e1ca22 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/members/members_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/members/members_request_builder.py @@ -46,7 +46,7 @@ def by_conversation_member_id(self,conversation_member_id: str) -> ConversationM async def get(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMemberCollectionResponse]: """ - Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list-members?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MembersRequestBuilderGetReque async def post(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ConversationMember] = None, request_configura def to_get_request_information(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MembersRequestBuilderGetQueryParameters(): """ - Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/delta/delta_request_builder.py index 21eb204ed87..3c90bf6c842 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/chat_message_item_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/chat_message_item_request_builder.py index 56d6295b580..3ffc9165f3b 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/chat_message_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/chat_message_item_request_builder.py @@ -53,7 +53,7 @@ async def delete(self,request_configuration: Optional[ChatMessageItemRequestBuil async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 @@ -75,7 +75,7 @@ async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilder async def patch(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -111,12 +111,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -128,12 +128,12 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[ChatMessage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -228,7 +228,7 @@ class ChatMessageItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class ChatMessageItemRequestBuilderGetQueryParameters(): """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.py index d8d793c8731..c8e75968490 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.py @@ -45,7 +45,7 @@ def by_chat_message_hosted_content_id(self,chat_message_hosted_content_id: str) async def get(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContentCollectionResponse]: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ChatMessageHostedContent] = None, request_con def to_get_request_information(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[HostedConten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[HostedContentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HostedContentsRequestBuilderGetQueryParameters(): """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py index 0dd10cdfb80..050bb0fc913 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ChatMessageHostedContentIt async def get(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContent]: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContent] Find more info here: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class ChatMessageHostedContentItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.py index f5b3534d238..2dbbc571797 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/delta/delta_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/delta/delta_request_builder.py index e57356e4639..778460777a5 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/delta/delta_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/chat_message_item_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/chat_message_item_request_builder.py index f11d195514c..f4c93fc8959 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/chat_message_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/chat_message_item_request_builder.py @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[ChatMessageItemRequestBuil async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[ChatMessage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -217,7 +217,7 @@ class ChatMessageItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class ChatMessageItemRequestBuilderGetQueryParameters(): """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py index e1c120800e7..ae53af9a9ce 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py @@ -45,7 +45,7 @@ def by_chat_message_hosted_content_id(self,chat_message_hosted_content_id: str) async def get(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContentCollectionResponse]: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ChatMessageHostedContent] = None, request_con def to_get_request_information(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[HostedConten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[HostedContentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HostedContentsRequestBuilderGetQueryParameters(): """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py index 59aeac11139..33a06d744c9 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ChatMessageHostedContentIt async def get(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContent]: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContent] Find more info here: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class ChatMessageHostedContentItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py index e35dc4c8cf1..6a47f905f84 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/set_reaction/set_reaction_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/set_reaction/set_reaction_request_builder.py index 9220644f607..96a93a74a76 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/set_reaction/set_reaction_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/set_reaction/set_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetReactionPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/soft_delete/soft_delete_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/soft_delete/soft_delete_request_builder.py index 90a40f1a6a7..4d2064e4324 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/soft_delete/soft_delete_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/soft_delete/soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-softdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPost def to_post_request_information(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SoftDeleteR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py index 0724fd291e8..9950273e294 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-undosoftdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilder def to_post_request_information(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UndoSoftDel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UndoSoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py index 80e7227e7aa..b4df60b5f01 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnsetReactionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/replies_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/replies_request_builder.py index e7f5325ebdf..3e3590dfa80 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/replies_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/replies/replies_request_builder.py @@ -46,7 +46,7 @@ def by_chat_message_id1(self,chat_message_id1: str) -> ChatMessageItemRequestBui async def get(self,request_configuration: Optional[RepliesRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageCollectionResponse]: """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-replies?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[RepliesRequestBuilderGetReque async def post(self,body: Optional[ChatMessage] = None, request_configuration: Optional[RepliesRequestBuilderPostRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + Send a new reply to a chatMessage in a specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ChatMessage] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[RepliesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[RepliesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[RepliesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + Send a new reply to a chatMessage in a specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ChatMessage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class RepliesRequestBuilderGetQueryParameters(): """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/set_reaction/set_reaction_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/set_reaction/set_reaction_request_builder.py index a42ac4fbecb..7ffedf5ad2a 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/set_reaction/set_reaction_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/set_reaction/set_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetReactionPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/soft_delete/soft_delete_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/soft_delete/soft_delete_request_builder.py index 4fff7c5fa44..8e5403a232c 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/soft_delete/soft_delete_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/soft_delete/soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-softdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPost def to_post_request_information(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SoftDeleteR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py index 00009c6206e..73ed9e94d61 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-undosoftdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilder def to_post_request_information(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UndoSoftDel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UndoSoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/unset_reaction/unset_reaction_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/unset_reaction/unset_reaction_request_builder.py index d729d77bfae..0c68815dd29 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/unset_reaction/unset_reaction_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/item/unset_reaction/unset_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnsetReactionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/messages/messages_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/messages/messages_request_builder.py index 6961a02b3c2..b2d70b16576 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/messages/messages_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/messages/messages_request_builder.py @@ -46,7 +46,7 @@ def by_chat_message_id(self,chat_message_id: str) -> ChatMessageItemRequestBuild async def get(self,request_configuration: Optional[MessagesRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageCollectionResponse]: """ - Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list-messages?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MessagesRequestBuilderGetRequ async def post(self,body: Optional[ChatMessage] = None, request_configuration: Optional[MessagesRequestBuilderPostRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ChatMessage] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[MessagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MessagesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[MessagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ChatMessage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class MessagesRequestBuilderGetQueryParameters(): """ - Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/primary_channel_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/primary_channel_request_builder.py index 2b855fcd7b3..c2847d5df7e 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/primary_channel_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/primary_channel_request_builder.py @@ -12,6 +12,7 @@ if TYPE_CHECKING: from .....models.channel import Channel from .....models.o_data_errors.o_data_error import ODataError + from .archive.archive_request_builder import ArchiveRequestBuilder from .complete_migration.complete_migration_request_builder import CompleteMigrationRequestBuilder from .does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name.does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder import DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder from .files_folder.files_folder_request_builder import FilesFolderRequestBuilder @@ -21,6 +22,7 @@ from .remove_email.remove_email_request_builder import RemoveEmailRequestBuilder from .shared_with_teams.shared_with_teams_request_builder import SharedWithTeamsRequestBuilder from .tabs.tabs_request_builder import TabsRequestBuilder + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder class PrimaryChannelRequestBuilder(BaseRequestBuilder): """ @@ -56,7 +58,7 @@ async def delete(self,request_configuration: Optional[PrimaryChannelRequestBuild async def get(self,request_configuration: Optional[PrimaryChannelRequestBuilderGetRequestConfiguration] = None) -> Optional[Channel]: """ - Get the default channel, General, of a team. This API is available in the following national cloud deployments. + Get the default channel, General, of a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Channel] Find more info here: https://learn.microsoft.com/graph/api/team-get-primarychannel?view=graph-rest-1.0 @@ -113,12 +115,12 @@ def to_delete_request_information(self,request_configuration: Optional[PrimaryCh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrimaryChannelRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the default channel, General, of a team. This API is available in the following national cloud deployments. + Get the default channel, General, of a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -130,7 +132,7 @@ def to_get_request_information(self,request_configuration: Optional[PrimaryChann request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Channel] = None, request_configuration: Optional[PrimaryChannelRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -149,7 +151,7 @@ def to_patch_request_information(self,body: Optional[Channel] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -163,6 +165,15 @@ def with_url(self,raw_url: Optional[str] = None) -> PrimaryChannelRequestBuilder raise TypeError("raw_url cannot be null.") return PrimaryChannelRequestBuilder(self.request_adapter, raw_url) + @property + def archive(self) -> ArchiveRequestBuilder: + """ + Provides operations to call the archive method. + """ + from .archive.archive_request_builder import ArchiveRequestBuilder + + return ArchiveRequestBuilder(self.request_adapter, self.path_parameters) + @property def complete_migration(self) -> CompleteMigrationRequestBuilder: """ @@ -244,6 +255,15 @@ def tabs(self) -> TabsRequestBuilder: return TabsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def unarchive(self) -> UnarchiveRequestBuilder: + """ + Provides operations to call the unarchive method. + """ + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder + + return UnarchiveRequestBuilder(self.request_adapter, self.path_parameters) + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass @@ -257,7 +277,7 @@ class PrimaryChannelRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class PrimaryChannelRequestBuilderGetQueryParameters(): """ - Get the default channel, General, of a team. This API is available in the following national cloud deployments. + Get the default channel, General, of a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/provision_email/provision_email_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/provision_email/provision_email_request_builder.py index ab1bb86bad9..22918d70754 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/provision_email/provision_email_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/provision_email/provision_email_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ProvisionEmailRequestBuilderPostRequestConfiguration] = None) -> Optional[ProvisionChannelEmailResult]: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProvisionChannelEmailResult] Find more info here: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[ProvisionEmailRequestBuilder def to_post_request_information(self,request_configuration: Optional[ProvisionEmailRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[ProvisionEm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ProvisionEmailRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/remove_email/remove_email_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/remove_email/remove_email_request_builder.py index 164e75c5630..648bcea22d8 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/remove_email/remove_email_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/remove_email/remove_email_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RemoveEmailRequestBuilderPostRequestConfiguration] = None) -> None: """ - Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. 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/channel-removeemail?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RemoveEmailRequestBuilderPos def to_post_request_information(self,request_configuration: Optional[RemoveEmailRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RemoveEmail request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RemoveEmailRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/shared_with_teams/item/allowed_members/allowed_members_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/shared_with_teams/item/allowed_members/allowed_members_request_builder.py index 4821bb8330a..3e5124f5252 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/shared_with_teams/item/allowed_members/allowed_members_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/shared_with_teams/item/allowed_members/allowed_members_request_builder.py @@ -44,7 +44,7 @@ def by_conversation_member_id(self,conversation_member_id: str) -> ConversationM async def get(self,request_configuration: Optional[AllowedMembersRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMemberCollectionResponse]: """ - Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list-allowedmembers?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[AllowedMembersRequestBuilderG def to_get_request_information(self,request_configuration: Optional[AllowedMembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[AllowedMembe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllowedMembersRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AllowedMembersRequestBuilderGetQueryParameters(): """ - Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py index 1f246a9445e..d1ed53c94d9 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[Conversation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ConversationMemberItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py index b046b94db95..4f7e247063b 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. 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/sharedwithchannelteaminfo-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[SharedWithChannelTeamInfoI async def get(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SharedWithChannelTeamInfo]: """ - Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharedWithChannelTeamInfo] Find more info here: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-get?view=graph-rest-1.0 @@ -96,7 +96,7 @@ async def patch(self,body: Optional[SharedWithChannelTeamInfo] = None, request_c def to_delete_request_information(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[SharedWit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[SharedWithCh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SharedWithChannelTeamInfo] = None, request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[SharedWithChannelTeamInfo] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ class SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration(Base @dataclass class SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters(): """ - Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/shared_with_teams/item/team/team_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/shared_with_teams/item/team/team_request_builder.py index 221a0da7e1a..594a3f607e1 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/shared_with_teams/item/team/team_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/shared_with_teams/item/team/team_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/shared_with_teams/shared_with_teams_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/shared_with_teams/shared_with_teams_request_builder.py index 324d8b9189c..91bac00aea8 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/shared_with_teams/shared_with_teams_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/shared_with_teams/shared_with_teams_request_builder.py @@ -45,7 +45,7 @@ def by_shared_with_channel_team_info_id(self,shared_with_channel_team_info_id: s async def get(self,request_configuration: Optional[SharedWithTeamsRequestBuilderGetRequestConfiguration] = None) -> Optional[SharedWithChannelTeamInfoCollectionResponse]: """ - Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharedWithChannelTeamInfoCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[SharedWithChannelTeamInfo] = None, request_co def to_get_request_information(self,request_configuration: Optional[SharedWithTeamsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SharedWithTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SharedWithChannelTeamInfo] = None, request_configuration: Optional[SharedWithTeamsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SharedWithChannelTeamInfo] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SharedWithTeamsRequestBuilderGetQueryParameters(): """ - Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/tabs/item/teams_app/teams_app_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/tabs/item/teams_app/teams_app_request_builder.py index e25fa8bc882..0dc6b1bc369 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/tabs/item/teams_app/teams_app_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/tabs/item/teams_app/teams_app_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamsAppRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/tabs/item/teams_tab_item_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/tabs/item/teams_tab_item_request_builder.py index dc055b216c4..013271754a1 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/tabs/item/teams_tab_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/tabs/item/teams_tab_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[TeamsTabI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamsTabItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsTabItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamsTab] = None, request_configuration: Optional[TeamsTabItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[TeamsTab] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/tabs/tabs_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/tabs/tabs_request_builder.py index 62d03012d25..cf01ddd0c53 100644 --- a/msgraph_beta/generated/groups/item/team/primary_channel/tabs/tabs_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/primary_channel/tabs/tabs_request_builder.py @@ -45,7 +45,7 @@ def by_teams_tab_id(self,teams_tab_id: str) -> TeamsTabItemRequestBuilder: async def get(self,request_configuration: Optional[TabsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsTabCollectionResponse]: """ - Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified channel within a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsTabCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list-tabs?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[TeamsTab] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[TabsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified channel within a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[TabsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamsTab] = None, request_configuration: Optional[TabsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[TeamsTab] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TabsRequestBuilderGetQueryParameters(): """ - Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified channel within a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/primary_channel/unarchive/unarchive_request_builder.py b/msgraph_beta/generated/groups/item/team/primary_channel/unarchive/unarchive_request_builder.py new file mode 100644 index 00000000000..66b891f7556 --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/primary_channel/unarchive/unarchive_request_builder.py @@ -0,0 +1,83 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + +class UnarchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the unarchive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new UnarchiveRequestBuilder 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}/groups/{group%2Did}/team/primaryChannel/unarchive", path_parameters) + + async def post(self,request_configuration: Optional[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Invoke action unarchive + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action unarchive + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> UnarchiveRequestBuilder: + """ + 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: UnarchiveRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return UnarchiveRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class UnarchiveRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/groups/item/team/schedule/day_notes/count/count_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/day_notes/count/count_request_builder.py new file mode 100644 index 00000000000..98e87f6c2d2 --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/schedule/day_notes/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/groups/{group%2Did}/team/schedule/dayNotes/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/groups/item/team/schedule/day_notes/day_notes_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/day_notes/day_notes_request_builder.py new file mode 100644 index 00000000000..030800e8ad7 --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/schedule/day_notes/day_notes_request_builder.py @@ -0,0 +1,226 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.day_note import DayNote + from ......models.day_note_collection_response import DayNoteCollectionResponse + from ......models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.day_note_item_request_builder import DayNoteItemRequestBuilder + +class DayNotesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new DayNotesRequestBuilder 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}/groups/{group%2Did}/team/schedule/dayNotes{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_day_note_id(self,day_note_id: str) -> DayNoteItemRequestBuilder: + """ + Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + param day_note_id: The unique identifier of dayNote + Returns: DayNoteItemRequestBuilder + """ + if not day_note_id: + raise TypeError("day_note_id cannot be null.") + from .item.day_note_item_request_builder import DayNoteItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["dayNote%2Did"] = day_note_id + return DayNoteItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[DayNotesRequestBuilderGetRequestConfiguration] = None) -> Optional[DayNoteCollectionResponse]: + """ + The day notes in the schedule. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DayNoteCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.day_note_collection_response import DayNoteCollectionResponse + + return await self.request_adapter.send_async(request_info, DayNoteCollectionResponse, error_mapping) + + async def post(self,body: Optional[DayNote] = None, request_configuration: Optional[DayNotesRequestBuilderPostRequestConfiguration] = None) -> Optional[DayNote]: + """ + Create new navigation property to dayNotes for groups + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DayNote] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.day_note import DayNote + + return await self.request_adapter.send_async(request_info, DayNote, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[DayNotesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + The day notes in the schedule. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[DayNote] = None, request_configuration: Optional[DayNotesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to dayNotes for groups + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> DayNotesRequestBuilder: + """ + 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: DayNotesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return DayNotesRequestBuilder(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 DayNotesRequestBuilderGetQueryParameters(): + """ + The day notes in the schedule. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class DayNotesRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[DayNotesRequestBuilder.DayNotesRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class DayNotesRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/groups/item/team/schedule/day_notes/item/day_note_item_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/day_notes/item/day_note_item_request_builder.py new file mode 100644 index 00000000000..63e5a574759 --- /dev/null +++ b/msgraph_beta/generated/groups/item/team/schedule/day_notes/item/day_note_item_request_builder.py @@ -0,0 +1,216 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.day_note import DayNote + from .......models.o_data_errors.o_data_error import ODataError + +class DayNoteItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new DayNoteItemRequestBuilder 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}/groups/{group%2Did}/team/schedule/dayNotes/{dayNote%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[DayNoteItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property dayNotes for groups + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[DayNoteItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DayNote]: + """ + The day notes in the schedule. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DayNote] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.day_note import DayNote + + return await self.request_adapter.send_async(request_info, DayNote, error_mapping) + + async def patch(self,body: Optional[DayNote] = None, request_configuration: Optional[DayNoteItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[DayNote]: + """ + Update the properties of a day note. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DayNote] + Find more info here: https://learn.microsoft.com/graph/api/daynote-update?view=graph-rest-1.0 + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.day_note import DayNote + + return await self.request_adapter.send_async(request_info, DayNote, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[DayNoteItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property dayNotes for groups + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[DayNoteItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + The day notes in the schedule. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[DayNote] = None, request_configuration: Optional[DayNoteItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the properties of a day note. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> DayNoteItemRequestBuilder: + """ + 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: DayNoteItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return DayNoteItemRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class DayNoteItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class DayNoteItemRequestBuilderGetQueryParameters(): + """ + The day notes in the schedule. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class DayNoteItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class DayNoteItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/groups/item/team/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.py index c94bddf40a4..2fb8f67662e 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[OfferShiftRequestItemReque async def get(self,request_configuration: Optional[OfferShiftRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OfferShiftRequest]: """ - Retrieve the properties and relationships of an offerShiftRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an offerShiftRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OfferShiftRequest] Find more info here: https://learn.microsoft.com/graph/api/offershiftrequest-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[OfferShif request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OfferShiftRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an offerShiftRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an offerShiftRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[OfferShiftRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OfferShiftRequest] = None, request_configuration: Optional[OfferShiftRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[OfferShiftRequest] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class OfferShiftRequestItemRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class OfferShiftRequestItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an offerShiftRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an offerShiftRequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/offer_shift_requests/offer_shift_requests_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/offer_shift_requests/offer_shift_requests_request_builder.py index 33c13c59edc..f25f0064b75 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/offer_shift_requests/offer_shift_requests_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/offer_shift_requests/offer_shift_requests_request_builder.py @@ -45,7 +45,7 @@ def by_offer_shift_request_id(self,offer_shift_request_id: str) -> OfferShiftReq async def get(self,request_configuration: Optional[OfferShiftRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[OfferShiftRequestCollectionResponse]: """ - Retrieve the properties and relationships of all offerShiftRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of all offerShiftRequest objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OfferShiftRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/offershiftrequest-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[OfferShiftRequestsRequestBuil async def post(self,body: Optional[OfferShiftRequest] = None, request_configuration: Optional[OfferShiftRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[OfferShiftRequest]: """ - Create an instance of an offerShiftRequest. This API is available in the following national cloud deployments. + Create an instance of an offerShiftRequest. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OfferShiftRequest] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OfferShiftRequest] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[OfferShiftRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of all offerShiftRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of all offerShiftRequest objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[OfferShiftRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OfferShiftRequest] = None, request_configuration: Optional[OfferShiftRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an instance of an offerShiftRequest. This API is available in the following national cloud deployments. + Create an instance of an offerShiftRequest. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OfferShiftRequest] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OfferShiftRequestsRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of all offerShiftRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of all offerShiftRequest objects in a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.py index 28dab9ceb23..e9a5a4d6633 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[OpenShiftChangeRequestItem async def get(self,request_configuration: Optional[OpenShiftChangeRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OpenShiftChangeRequest]: """ - Retrieve the properties and relationships of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an openShiftChangeRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OpenShiftChangeRequest] Find more info here: https://learn.microsoft.com/graph/api/openshiftchangerequest-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[OpenShift request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OpenShiftChangeRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an openShiftChangeRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[OpenShiftCha request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OpenShiftChangeRequest] = None, request_configuration: Optional[OpenShiftChangeRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[OpenShiftChangeRequest] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class OpenShiftChangeRequestItemRequestBuilderDeleteRequestConfiguration(BaseReq @dataclass class OpenShiftChangeRequestItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an openShiftChangeRequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.py index c32ac16a3aa..42efdbc2b9e 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.py @@ -45,7 +45,7 @@ def by_open_shift_change_request_id(self,open_shift_change_request_id: str) -> O async def get(self,request_configuration: Optional[OpenShiftChangeRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[OpenShiftChangeRequestCollectionResponse]: """ - Retrieve a list of openShiftChangeRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve a list of openShiftChangeRequest objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OpenShiftChangeRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/openshiftchangerequest-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[OpenShiftChangeRequestsReques async def post(self,body: Optional[OpenShiftChangeRequest] = None, request_configuration: Optional[OpenShiftChangeRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[OpenShiftChangeRequest]: """ - Create instance of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + Create instance of an openShiftChangeRequest object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OpenShiftChangeRequest] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OpenShiftChangeRequest] = None, request_confi def to_get_request_information(self,request_configuration: Optional[OpenShiftChangeRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of openShiftChangeRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve a list of openShiftChangeRequest objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[OpenShiftCha request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OpenShiftChangeRequest] = None, request_configuration: Optional[OpenShiftChangeRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create instance of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + Create instance of an openShiftChangeRequest object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OpenShiftChangeRequest] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OpenShiftChangeRequestsRequestBuilderGetQueryParameters(): """ - Retrieve a list of openShiftChangeRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve a list of openShiftChangeRequest objects in a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/open_shifts/item/open_shift_item_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/open_shifts/item/open_shift_item_request_builder.py index 8d47a404d94..809c8569edf 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/open_shifts/item/open_shift_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/open_shifts/item/open_shift_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[OpenShiftItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an openShift object. This API is available in the following national cloud deployments. + Delete an openShift object. 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/openshift-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[OpenShiftItemRequestBuilde async def get(self,request_configuration: Optional[OpenShiftItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OpenShift]: """ - Retrieve the properties and relationships of an openshift object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an openshift object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OpenShift] Find more info here: https://learn.microsoft.com/graph/api/openshift-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[OpenShift] = None, request_configuration: Op def to_delete_request_information(self,request_configuration: Optional[OpenShiftItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an openShift object. This API is available in the following national cloud deployments. + Delete an openShift object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[OpenShift request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OpenShiftItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an openshift object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an openshift object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[OpenShiftIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OpenShift] = None, request_configuration: Optional[OpenShiftItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[OpenShift] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class OpenShiftItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class OpenShiftItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an openshift object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an openshift object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/open_shifts/open_shifts_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/open_shifts/open_shifts_request_builder.py index dd8cd5bd66d..e9f611bc396 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/open_shifts/open_shifts_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/open_shifts/open_shifts_request_builder.py @@ -45,7 +45,7 @@ def by_open_shift_id(self,open_shift_id: str) -> OpenShiftItemRequestBuilder: async def get(self,request_configuration: Optional[OpenShiftsRequestBuilderGetRequestConfiguration] = None) -> Optional[OpenShiftCollectionResponse]: """ - List openshift objects in a team. This API is available in the following national cloud deployments. + List openshift objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OpenShiftCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/openshift-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[OpenShiftsRequestBuilderGetRe async def post(self,body: Optional[OpenShift] = None, request_configuration: Optional[OpenShiftsRequestBuilderPostRequestConfiguration] = None) -> Optional[OpenShift]: """ - Create an instance of an openshift object. This API is available in the following national cloud deployments. + Create an instance of an openshift object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OpenShift] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OpenShift] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[OpenShiftsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List openshift objects in a team. This API is available in the following national cloud deployments. + List openshift objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[OpenShiftsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OpenShift] = None, request_configuration: Optional[OpenShiftsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an instance of an openshift object. This API is available in the following national cloud deployments. + Create an instance of an openshift object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OpenShift] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OpenShiftsRequestBuilderGetQueryParameters(): """ - List openshift objects in a team. This API is available in the following national cloud deployments. + List openshift objects in a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/schedule_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/schedule_request_builder.py index 532dc4e2060..5b109ed8a19 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/schedule_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/schedule_request_builder.py @@ -12,6 +12,7 @@ if TYPE_CHECKING: from .....models.o_data_errors.o_data_error import ODataError from .....models.schedule import Schedule + from .day_notes.day_notes_request_builder import DayNotesRequestBuilder from .offer_shift_requests.offer_shift_requests_request_builder import OfferShiftRequestsRequestBuilder from .open_shifts.open_shifts_request_builder import OpenShiftsRequestBuilder from .open_shift_change_requests.open_shift_change_requests_request_builder import OpenShiftChangeRequestsRequestBuilder @@ -58,7 +59,7 @@ async def delete(self,request_configuration: Optional[ScheduleRequestBuilderDele async def get(self,request_configuration: Optional[ScheduleRequestBuilderGetRequestConfiguration] = None) -> Optional[Schedule]: """ - Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Schedule] Find more info here: https://learn.microsoft.com/graph/api/schedule-get?view=graph-rest-1.0 @@ -115,12 +116,12 @@ def to_delete_request_information(self,request_configuration: Optional[ScheduleR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ScheduleRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -132,7 +133,7 @@ def to_get_request_information(self,request_configuration: Optional[ScheduleRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_put_request_information(self,body: Optional[Schedule] = None, request_configuration: Optional[ScheduleRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -151,7 +152,7 @@ def to_put_request_information(self,body: Optional[Schedule] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -165,6 +166,15 @@ def with_url(self,raw_url: Optional[str] = None) -> ScheduleRequestBuilder: raise TypeError("raw_url cannot be null.") return ScheduleRequestBuilder(self.request_adapter, raw_url) + @property + def day_notes(self) -> DayNotesRequestBuilder: + """ + Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + """ + from .day_notes.day_notes_request_builder import DayNotesRequestBuilder + + return DayNotesRequestBuilder(self.request_adapter, self.path_parameters) + @property def offer_shift_requests(self) -> OfferShiftRequestsRequestBuilder: """ @@ -277,7 +287,7 @@ class ScheduleRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class ScheduleRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/scheduling_groups/item/scheduling_group_item_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/scheduling_groups/item/scheduling_group_item_request_builder.py index 05f5cd1d380..84c2759281b 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/scheduling_groups/item/scheduling_group_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/scheduling_groups/item/scheduling_group_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[SchedulingGroupItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. This API is available in the following national cloud deployments. + Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. 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/schedulinggroup-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[SchedulingGroupItemRequest async def get(self,request_configuration: Optional[SchedulingGroupItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SchedulingGroup]: """ - Retrieve the properties and relationships of a schedulingGroup by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a schedulingGroup by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SchedulingGroup] Find more info here: https://learn.microsoft.com/graph/api/schedulinggroup-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[SchedulingGroup] = None, request_configurati def to_delete_request_information(self,request_configuration: Optional[SchedulingGroupItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. This API is available in the following national cloud deployments. + Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Schedulin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SchedulingGroupItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a schedulingGroup by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a schedulingGroup by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[SchedulingGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SchedulingGroup] = None, request_configuration: Optional[SchedulingGroupItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[SchedulingGroup] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class SchedulingGroupItemRequestBuilderDeleteRequestConfiguration(BaseRequestCon @dataclass class SchedulingGroupItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a schedulingGroup by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a schedulingGroup by ID. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/scheduling_groups/scheduling_groups_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/scheduling_groups/scheduling_groups_request_builder.py index 999c677f2c4..1b9d7199a25 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/scheduling_groups/scheduling_groups_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/scheduling_groups/scheduling_groups_request_builder.py @@ -45,7 +45,7 @@ def by_scheduling_group_id(self,scheduling_group_id: str) -> SchedulingGroupItem async def get(self,request_configuration: Optional[SchedulingGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[SchedulingGroupCollectionResponse]: """ - Get the list of schedulingGroups in this schedule. This API is available in the following national cloud deployments. + Get the list of schedulingGroups in this schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SchedulingGroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/schedule-list-schedulinggroups?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SchedulingGroupsRequestBuilde async def post(self,body: Optional[SchedulingGroup] = None, request_configuration: Optional[SchedulingGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[SchedulingGroup]: """ - Create a new schedulingGroup. This API is available in the following national cloud deployments. + Create a new schedulingGroup. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SchedulingGroup] @@ -92,7 +92,7 @@ async def post(self,body: Optional[SchedulingGroup] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[SchedulingGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of schedulingGroups in this schedule. This API is available in the following national cloud deployments. + Get the list of schedulingGroups in this schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SchedulingGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SchedulingGroup] = None, request_configuration: Optional[SchedulingGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new schedulingGroup. This API is available in the following national cloud deployments. + Create a new schedulingGroup. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[SchedulingGroup] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SchedulingGroupsRequestBuilderGetQueryParameters(): """ - Get the list of schedulingGroups in this schedule. This API is available in the following national cloud deployments. + Get the list of schedulingGroups in this schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/share/share_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/share/share_request_builder.py index 7199458c53f..a7a8281536f 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/share/share_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/share/share_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SharePostRequestBody] = None, request_configuration: Optional[ShareRequestBuilderPostRequestConfiguration] = None) -> None: """ - Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. This API is available in the following national cloud deployments. + Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SharePostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[SharePostRequestBody] = None, request_configuration: Optional[ShareRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. This API is available in the following national cloud deployments. + Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SharePostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/team/schedule/shifts/item/shift_item_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/shifts/item/shift_item_request_builder.py index b9e14597143..ee74fdaae1b 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/shifts/item/shift_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/shifts/item/shift_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ShiftItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a shift from the schedule. This API is available in the following national cloud deployments. + Delete a shift from the schedule. 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/shift-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ShiftItemRequestBuilderDel async def get(self,request_configuration: Optional[ShiftItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Shift]: """ - Retrieve the properties and relationships of a shift object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a shift object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Shift] Find more info here: https://learn.microsoft.com/graph/api/shift-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[Shift] = None, request_configuration: Option def to_delete_request_information(self,request_configuration: Optional[ShiftItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a shift from the schedule. This API is available in the following national cloud deployments. + Delete a shift from the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[ShiftItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ShiftItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a shift object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a shift object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[ShiftItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Shift] = None, request_configuration: Optional[ShiftItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Shift] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class ShiftItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration @dataclass class ShiftItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a shift object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a shift object by ID. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/shifts/shifts_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/shifts/shifts_request_builder.py index fa5c1e713d9..c94d472b0a5 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/shifts/shifts_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/shifts/shifts_request_builder.py @@ -45,7 +45,7 @@ def by_shift_id(self,shift_id: str) -> ShiftItemRequestBuilder: async def get(self,request_configuration: Optional[ShiftsRequestBuilderGetRequestConfiguration] = None) -> Optional[ShiftCollectionResponse]: """ - Get the list of shift instances in a schedule. This API is available in the following national cloud deployments. + Get the list of shift instances in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ShiftCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/schedule-list-shifts?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ShiftsRequestBuilderGetReques async def post(self,body: Optional[Shift] = None, request_configuration: Optional[ShiftsRequestBuilderPostRequestConfiguration] = None) -> Optional[Shift]: """ - Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. This API is available in the following national cloud deployments. + Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Shift] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Shift] = None, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[ShiftsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of shift instances in a schedule. This API is available in the following national cloud deployments. + Get the list of shift instances in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ShiftsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Shift] = None, request_configuration: Optional[ShiftsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. This API is available in the following national cloud deployments. + Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Shift] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ShiftsRequestBuilderGetQueryParameters(): """ - Get the list of shift instances in a schedule. This API is available in the following national cloud deployments. + Get the list of shift instances in a schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.py index 517967f656b..557ae46b1cc 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[SwapShiftsChangeRequestIte async def get(self,request_configuration: Optional[SwapShiftsChangeRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SwapShiftsChangeRequest]: """ - Retrieve the properties and relationships of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a swapShiftsChangeRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SwapShiftsChangeRequest] Find more info here: https://learn.microsoft.com/graph/api/swapshiftschangerequest-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[SwapShift request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SwapShiftsChangeRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a swapShiftsChangeRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[SwapShiftsCh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SwapShiftsChangeRequest] = None, request_configuration: Optional[SwapShiftsChangeRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[SwapShiftsChangeRequest] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class SwapShiftsChangeRequestItemRequestBuilderDeleteRequestConfiguration(BaseRe @dataclass class SwapShiftsChangeRequestItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a swapShiftsChangeRequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.py index bbc81b67459..e222a9fc52b 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.py @@ -45,7 +45,7 @@ def by_swap_shifts_change_request_id(self,swap_shifts_change_request_id: str) -> async def get(self,request_configuration: Optional[SwapShiftsChangeRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[SwapShiftsChangeRequestCollectionResponse]: """ - Retrieve a list of swapShiftsChangeRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve a list of swapShiftsChangeRequest objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SwapShiftsChangeRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/swapshiftschangerequest-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SwapShiftsChangeRequestsReque async def post(self,body: Optional[SwapShiftsChangeRequest] = None, request_configuration: Optional[SwapShiftsChangeRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[SwapShiftsChangeRequest]: """ - Create an instance of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + Create an instance of a swapShiftsChangeRequest object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SwapShiftsChangeRequest] @@ -92,7 +92,7 @@ async def post(self,body: Optional[SwapShiftsChangeRequest] = None, request_conf def to_get_request_information(self,request_configuration: Optional[SwapShiftsChangeRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of swapShiftsChangeRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve a list of swapShiftsChangeRequest objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SwapShiftsCh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SwapShiftsChangeRequest] = None, request_configuration: Optional[SwapShiftsChangeRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an instance of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + Create an instance of a swapShiftsChangeRequest object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[SwapShiftsChangeRequest] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SwapShiftsChangeRequestsRequestBuilderGetQueryParameters(): """ - Retrieve a list of swapShiftsChangeRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve a list of swapShiftsChangeRequest objects in a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/time_cards/clock_in/clock_in_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/time_cards/clock_in/clock_in_request_builder.py index ecb26b0190f..7fabfa76edc 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/time_cards/clock_in/clock_in_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/time_cards/clock_in/clock_in_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ClockInPostRequestBody] = None, request_configuration: Optional[ClockInRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeCard]: """ - Clock in to start a timeCard. This API is available in the following national cloud deployments. + Clock in to start a timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCard] @@ -54,7 +54,7 @@ async def post(self,body: Optional[ClockInPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ClockInPostRequestBody] = None, request_configuration: Optional[ClockInRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clock in to start a timeCard. This API is available in the following national cloud deployments. + Clock in to start a timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[ClockInPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/clock_out/clock_out_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/clock_out/clock_out_request_builder.py index 1508c9377a3..375bbfe3fb7 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/clock_out/clock_out_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/clock_out/clock_out_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ClockOutPostRequestBody] = None, request_configuration: Optional[ClockOutRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeCard]: """ - Clock out to end an open timeCard. This API is available in the following national cloud deployments. + Clock out to end an open timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCard] @@ -54,7 +54,7 @@ async def post(self,body: Optional[ClockOutPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[ClockOutPostRequestBody] = None, request_configuration: Optional[ClockOutRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clock out to end an open timeCard. This API is available in the following national cloud deployments. + Clock out to end an open timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[ClockOutPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/confirm/confirm_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/confirm/confirm_request_builder.py index 594cd8894e2..719e532f588 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/confirm/confirm_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/confirm/confirm_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ConfirmRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeCard]: """ - Confirm a specific timeCard. This API is available in the following national cloud deployments. + Confirm a specific timeCard. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCard] Find more info here: https://learn.microsoft.com/graph/api/timecard-confirm?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[ConfirmRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[ConfirmRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Confirm a specific timeCard. This API is available in the following national cloud deployments. + Confirm a specific timeCard. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[ConfirmRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ConfirmRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/end_break/end_break_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/end_break/end_break_request_builder.py index 61790f98520..e0c5d040060 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/end_break/end_break_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/end_break/end_break_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[EndBreakPostRequestBody] = None, request_configuration: Optional[EndBreakRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeCard]: """ - End the open break in a specific timeCard. This API is available in the following national cloud deployments. + End the open break in a specific timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCard] @@ -54,7 +54,7 @@ async def post(self,body: Optional[EndBreakPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[EndBreakPostRequestBody] = None, request_configuration: Optional[EndBreakRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - End the open break in a specific timeCard. This API is available in the following national cloud deployments. + End the open break in a specific timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[EndBreakPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/start_break/start_break_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/start_break/start_break_request_builder.py index 0c0a31881ac..3e3a44772a2 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/start_break/start_break_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/start_break/start_break_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[StartBreakPostRequestBody] = None, request_configuration: Optional[StartBreakRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeCard]: """ - Start a break in a specific timeCard. This API is available in the following national cloud deployments. + Start a break in a specific timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCard] @@ -54,7 +54,7 @@ async def post(self,body: Optional[StartBreakPostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[StartBreakPostRequestBody] = None, request_configuration: Optional[StartBreakRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Start a break in a specific timeCard. This API is available in the following national cloud deployments. + Start a break in a specific timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[StartBreakPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/time_card_item_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/time_card_item_request_builder.py index 904b7246cdf..bfedef070e1 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/time_card_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/time_cards/item/time_card_item_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TimeCardItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a timeCard instance in a schedule. This API is available in the following national cloud deployments. + Delete a timeCard instance in a schedule. 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/timecard-delete?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[TimeCardItemRequestBuilder async def get(self,request_configuration: Optional[TimeCardItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeCard]: """ - Get the properties and relationships of a timeCard object by ID. This API is available in the following national cloud deployments. + Get the properties and relationships of a timeCard object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCard] Find more info here: https://learn.microsoft.com/graph/api/timecard-get?view=graph-rest-1.0 @@ -99,7 +99,7 @@ async def patch(self,body: Optional[TimeCard] = None, request_configuration: Opt def to_delete_request_information(self,request_configuration: Optional[TimeCardItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a timeCard instance in a schedule. This API is available in the following national cloud deployments. + Delete a timeCard instance in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -110,12 +110,12 @@ def to_delete_request_information(self,request_configuration: Optional[TimeCardI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TimeCardItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a timeCard object by ID. This API is available in the following national cloud deployments. + Get the properties and relationships of a timeCard object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[TimeCardItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TimeCard] = None, request_configuration: Optional[TimeCardItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[TimeCard] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -209,7 +209,7 @@ class TimeCardItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class TimeCardItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a timeCard object by ID. This API is available in the following national cloud deployments. + Get the properties and relationships of a timeCard object by ID. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/time_cards/time_cards_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/time_cards/time_cards_request_builder.py index 668366bd7a2..1ebfe1a1d89 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/time_cards/time_cards_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/time_cards/time_cards_request_builder.py @@ -46,7 +46,7 @@ def by_time_card_id(self,time_card_id: str) -> TimeCardItemRequestBuilder: async def get(self,request_configuration: Optional[TimeCardsRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeCardCollectionResponse]: """ - Retrieve a list of timeCard entries in a schedule. This API is available in the following national cloud deployments. + Retrieve a list of timeCard entries in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCardCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/timecard-list?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[TimeCardsRequestBuilderGetReq async def post(self,body: Optional[TimeCard] = None, request_configuration: Optional[TimeCardsRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeCard]: """ - Create a timeCard instance in a schedule. This API is available in the following national cloud deployments. + Create a timeCard instance in a schedule. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCard] @@ -93,7 +93,7 @@ async def post(self,body: Optional[TimeCard] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[TimeCardsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of timeCard entries in a schedule. This API is available in the following national cloud deployments. + Retrieve a list of timeCard entries in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[TimeCardsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TimeCard] = None, request_configuration: Optional[TimeCardsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a timeCard instance in a schedule. This API is available in the following national cloud deployments. + Create a timeCard instance in a schedule. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[TimeCard] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TimeCardsRequestBuilderGetQueryParameters(): """ - Retrieve a list of timeCard entries in a schedule. This API is available in the following national cloud deployments. + Retrieve a list of timeCard entries in a schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/time_off_reasons/item/time_off_reason_item_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/time_off_reasons/item/time_off_reason_item_request_builder.py index d16fe7f9688..195f23bc937 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/time_off_reasons/item/time_off_reason_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/time_off_reasons/item/time_off_reason_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TimeOffReasonItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method does not remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. This API is available in the following national cloud deployments. + Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method does not remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. 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/timeoffreason-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[TimeOffReasonItemRequestBu async def get(self,request_configuration: Optional[TimeOffReasonItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeOffReason]: """ - Retrieve the properties and relationships of a timeOffReason object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeOffReason object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOffReason] Find more info here: https://learn.microsoft.com/graph/api/timeoffreason-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[TimeOffReason] = None, request_configuration def to_delete_request_information(self,request_configuration: Optional[TimeOffReasonItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method does not remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. This API is available in the following national cloud deployments. + Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method does not remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[TimeOffRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TimeOffReasonItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a timeOffReason object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeOffReason object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[TimeOffReaso request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TimeOffReason] = None, request_configuration: Optional[TimeOffReasonItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[TimeOffReason] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class TimeOffReasonItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class TimeOffReasonItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a timeOffReason object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeOffReason object by ID. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/time_off_reasons/time_off_reasons_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/time_off_reasons/time_off_reasons_request_builder.py index f30119a8233..71dfb6f3bd7 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/time_off_reasons/time_off_reasons_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/time_off_reasons/time_off_reasons_request_builder.py @@ -45,7 +45,7 @@ def by_time_off_reason_id(self,time_off_reason_id: str) -> TimeOffReasonItemRequ async def get(self,request_configuration: Optional[TimeOffReasonsRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeOffReasonCollectionResponse]: """ - Get the list of timeOffReasons in a schedule. This API is available in the following national cloud deployments. + Get the list of timeOffReasons in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOffReasonCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/schedule-list-timeoffreasons?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TimeOffReasonsRequestBuilderG async def post(self,body: Optional[TimeOffReason] = None, request_configuration: Optional[TimeOffReasonsRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeOffReason]: """ - Create a new timeOffReason. This API is available in the following national cloud deployments. + Create a new timeOffReason. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOffReason] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TimeOffReason] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[TimeOffReasonsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of timeOffReasons in a schedule. This API is available in the following national cloud deployments. + Get the list of timeOffReasons in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[TimeOffReaso request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TimeOffReason] = None, request_configuration: Optional[TimeOffReasonsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new timeOffReason. This API is available in the following national cloud deployments. + Create a new timeOffReason. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TimeOffReason] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TimeOffReasonsRequestBuilderGetQueryParameters(): """ - Get the list of timeOffReasons in a schedule. This API is available in the following national cloud deployments. + Get the list of timeOffReasons in a schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/time_off_requests/item/time_off_request_item_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/time_off_requests/item/time_off_request_item_request_builder.py index a9198d178dd..2cd4c1377f1 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/time_off_requests/item/time_off_request_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/time_off_requests/item/time_off_request_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TimeOffRequestItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a timeOffRequest object. This API is available in the following national cloud deployments. + Delete a timeOffRequest object. 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/timeoffrequest-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[TimeOffRequestItemRequestB async def get(self,request_configuration: Optional[TimeOffRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeOffRequest]: """ - Retrieve the properties and relationships of a timeoffrequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeoffrequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOffRequest] Find more info here: https://learn.microsoft.com/graph/api/timeoffrequest-get?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[TimeOffRequest] = None, request_configuratio def to_delete_request_information(self,request_configuration: Optional[TimeOffRequestItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a timeOffRequest object. This API is available in the following national cloud deployments. + Delete a timeOffRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[TimeOffRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TimeOffRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a timeoffrequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeoffrequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TimeOffReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TimeOffRequest] = None, request_configuration: Optional[TimeOffRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[TimeOffRequest] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class TimeOffRequestItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class TimeOffRequestItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a timeoffrequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeoffrequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/time_off_requests/time_off_requests_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/time_off_requests/time_off_requests_request_builder.py index f745501f5a4..0cc6ca24c5b 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/time_off_requests/time_off_requests_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/time_off_requests/time_off_requests_request_builder.py @@ -45,7 +45,7 @@ def by_time_off_request_id(self,time_off_request_id: str) -> TimeOffRequestItemR async def get(self,request_configuration: Optional[TimeOffRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeOffRequestCollectionResponse]: """ - Retrieve a list of timeoffrequest objects in the team. This API is available in the following national cloud deployments. + Retrieve a list of timeoffrequest objects in the team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOffRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/timeoffrequest-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[TimeOffRequest] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[TimeOffRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of timeoffrequest objects in the team. This API is available in the following national cloud deployments. + Retrieve a list of timeoffrequest objects in the team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[TimeOffReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TimeOffRequest] = None, request_configuration: Optional[TimeOffRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[TimeOffRequest] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TimeOffRequestsRequestBuilderGetQueryParameters(): """ - Retrieve a list of timeoffrequest objects in the team. This API is available in the following national cloud deployments. + Retrieve a list of timeoffrequest objects in the team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/times_off/item/time_off_item_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/times_off/item/time_off_item_request_builder.py index c8c29acd8d6..1c313adb7f7 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/times_off/item/time_off_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/times_off/item/time_off_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TimeOffItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a timeOff instance from a schedule. This API is available in the following national cloud deployments. + Delete a timeOff instance from a schedule. 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/timeoff-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[TimeOffItemRequestBuilderD async def get(self,request_configuration: Optional[TimeOffItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeOff]: """ - Retrieve the properties and relationships of a timeOff object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeOff object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOff] Find more info here: https://learn.microsoft.com/graph/api/timeoff-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[TimeOff] = None, request_configuration: Opti def to_delete_request_information(self,request_configuration: Optional[TimeOffItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a timeOff instance from a schedule. This API is available in the following national cloud deployments. + Delete a timeOff instance from a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[TimeOffIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TimeOffItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a timeOff object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeOff object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[TimeOffItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TimeOff] = None, request_configuration: Optional[TimeOffItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[TimeOff] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class TimeOffItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurati @dataclass class TimeOffItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a timeOff object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeOff object by ID. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/schedule/times_off/times_off_request_builder.py b/msgraph_beta/generated/groups/item/team/schedule/times_off/times_off_request_builder.py index dcc662abeb0..2c85c1626a5 100644 --- a/msgraph_beta/generated/groups/item/team/schedule/times_off/times_off_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/schedule/times_off/times_off_request_builder.py @@ -45,7 +45,7 @@ def by_time_off_id(self,time_off_id: str) -> TimeOffItemRequestBuilder: async def get(self,request_configuration: Optional[TimesOffRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeOffCollectionResponse]: """ - Get the list of timeOff instances in a schedule. This API is available in the following national cloud deployments. + Get the list of timeOff instances in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOffCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/schedule-list-timesoff?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TimesOffRequestBuilderGetRequ async def post(self,body: Optional[TimeOff] = None, request_configuration: Optional[TimesOffRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeOff]: """ - Create a new timeOff instance in a schedule. This API is available in the following national cloud deployments. + Create a new timeOff instance in a schedule. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOff] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TimeOff] = None, request_configuration: Optio def to_get_request_information(self,request_configuration: Optional[TimesOffRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of timeOff instances in a schedule. This API is available in the following national cloud deployments. + Get the list of timeOff instances in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[TimesOffRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TimeOff] = None, request_configuration: Optional[TimesOffRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new timeOff instance in a schedule. This API is available in the following national cloud deployments. + Create a new timeOff instance in a schedule. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TimeOff] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TimesOffRequestBuilderGetQueryParameters(): """ - Get the list of timeOff instances in a schedule. This API is available in the following national cloud deployments. + Get the list of timeOff instances in a schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/send_activity_notification/send_activity_notification_request_builder.py b/msgraph_beta/generated/groups/item/team/send_activity_notification/send_activity_notification_request_builder.py index 0ebdb9d3e71..34063fa7ab2 100644 --- a/msgraph_beta/generated/groups/item/team/send_activity_notification/send_activity_notification_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/send_activity_notification/send_activity_notification_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SendActivityNotificationPostRequestBody] = None, request_configuration: Optional[SendActivityNotificationRequestBuilderPostRequestConfiguration] = None) -> None: """ - Send an activity feed notification in the scope of a team. For more information, see sending Teams activity notifications. This API is available in the following national cloud deployments. + Send an activity feed notification in the scope of a team. For more information, see sending Teams activity notifications. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SendActivityNotificationPostRequestBody] = No def to_post_request_information(self,body: Optional[SendActivityNotificationPostRequestBody] = None, request_configuration: Optional[SendActivityNotificationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send an activity feed notification in the scope of a team. For more information, see sending Teams activity notifications. This API is available in the following national cloud deployments. + Send an activity feed notification in the scope of a team. For more information, see sending Teams activity notifications. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SendActivityNotificationPost request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/team/tags/item/members/item/teamwork_tag_member_item_request_builder.py b/msgraph_beta/generated/groups/item/team/tags/item/members/item/teamwork_tag_member_item_request_builder.py index 728a8d2b8d9..14be05feed3 100644 --- a/msgraph_beta/generated/groups/item/team/tags/item/members/item/teamwork_tag_member_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/tags/item/members/item/teamwork_tag_member_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TeamworkTagMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a member from a standard tag in a team. This API is available in the following national cloud deployments. + Delete a member from a standard tag in a team. 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/teamworktagmember-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[TeamworkTagMemberItemReque async def get(self,request_configuration: Optional[TeamworkTagMemberItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamworkTagMember]: """ - Get the properties and relationships of a member of a standard tag in a team. This API is available in the following national cloud deployments. + Get the properties and relationships of a member of a standard tag in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkTagMember] Find more info here: https://learn.microsoft.com/graph/api/teamworktagmember-get?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[TeamworkTagMember] = None, request_configura def to_delete_request_information(self,request_configuration: Optional[TeamworkTagMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a member from a standard tag in a team. This API is available in the following national cloud deployments. + Delete a member from a standard tag in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[TeamworkT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamworkTagMemberItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a member of a standard tag in a team. This API is available in the following national cloud deployments. + Get the properties and relationships of a member of a standard tag in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamworkTagM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamworkTagMember] = None, request_configuration: Optional[TeamworkTagMemberItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[TeamworkTagMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class TeamworkTagMemberItemRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class TeamworkTagMemberItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a member of a standard tag in a team. This API is available in the following national cloud deployments. + Get the properties and relationships of a member of a standard tag in a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/tags/item/members/members_request_builder.py b/msgraph_beta/generated/groups/item/team/tags/item/members/members_request_builder.py index faa78ea660d..dd92d90ac98 100644 --- a/msgraph_beta/generated/groups/item/team/tags/item/members/members_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/tags/item/members/members_request_builder.py @@ -45,7 +45,7 @@ def by_teamwork_tag_member_id(self,teamwork_tag_member_id: str) -> TeamworkTagMe async def get(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamworkTagMemberCollectionResponse]: """ - Get a list of the members of a standard tag in a team and their properties. This API is available in the following national cloud deployments. + Get a list of the members of a standard tag in a team and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkTagMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/teamworktagmember-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[MembersRequestBuilderGetReque async def post(self,body: Optional[TeamworkTagMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> Optional[TeamworkTagMember]: """ - Create a new teamworkTagMember object in a team. This API is available in the following national cloud deployments. + Create a new teamworkTagMember object in a team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkTagMember] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TeamworkTagMember] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the members of a standard tag in a team and their properties. This API is available in the following national cloud deployments. + Get a list of the members of a standard tag in a team and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamworkTagMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new teamworkTagMember object in a team. This API is available in the following national cloud deployments. + Create a new teamworkTagMember object in a team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TeamworkTagMember] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MembersRequestBuilderGetQueryParameters(): """ - Get a list of the members of a standard tag in a team and their properties. This API is available in the following national cloud deployments. + Get a list of the members of a standard tag in a team and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/tags/item/teamwork_tag_item_request_builder.py b/msgraph_beta/generated/groups/item/team/tags/item/teamwork_tag_item_request_builder.py index 08c5684f339..d1224d1c20d 100644 --- a/msgraph_beta/generated/groups/item/team/tags/item/teamwork_tag_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/tags/item/teamwork_tag_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TeamworkTagItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a tag object permanently. This API is available in the following national cloud deployments. + Delete a tag object permanently. 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/teamworktag-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[TeamworkTagItemRequestBuil async def get(self,request_configuration: Optional[TeamworkTagItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamworkTag]: """ - Read the properties and relationships of a tag object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tag object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkTag] Find more info here: https://learn.microsoft.com/graph/api/teamworktag-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[TeamworkTagItemRequestBuilder async def patch(self,body: Optional[TeamworkTag] = None, request_configuration: Optional[TeamworkTagItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[TeamworkTag]: """ - Update the properties of a teamworkTag object. This API is available in the following national cloud deployments. + Update the properties of a teamworkTag object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkTag] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[TeamworkTag] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[TeamworkTagItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a tag object permanently. This API is available in the following national cloud deployments. + Delete a tag object permanently. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[TeamworkT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamworkTagItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a tag object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tag object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[TeamworkTagI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamworkTag] = None, request_configuration: Optional[TeamworkTagItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a teamworkTag object. This API is available in the following national cloud deployments. + Update the properties of a teamworkTag object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[TeamworkTag] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class TeamworkTagItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class TeamworkTagItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a tag object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tag object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/tags/tags_request_builder.py b/msgraph_beta/generated/groups/item/team/tags/tags_request_builder.py index 4074de5dce9..c49d24ff02d 100644 --- a/msgraph_beta/generated/groups/item/team/tags/tags_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/tags/tags_request_builder.py @@ -45,7 +45,7 @@ def by_teamwork_tag_id(self,teamwork_tag_id: str) -> TeamworkTagItemRequestBuild async def get(self,request_configuration: Optional[TagsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamworkTagCollectionResponse]: """ - Get a list of the tag objects and their properties. This API is available in the following national cloud deployments. + Get a list of the tag objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkTagCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/teamworktag-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TagsRequestBuilderGetRequestC async def post(self,body: Optional[TeamworkTag] = None, request_configuration: Optional[TagsRequestBuilderPostRequestConfiguration] = None) -> Optional[TeamworkTag]: """ - Create a standard tag for members in the team. This API is available in the following national cloud deployments. + Create a standard tag for members in the team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkTag] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TeamworkTag] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[TagsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the tag objects and their properties. This API is available in the following national cloud deployments. + Get a list of the tag objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[TagsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamworkTag] = None, request_configuration: Optional[TagsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a standard tag for members in the team. This API is available in the following national cloud deployments. + Create a standard tag for members in the team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TeamworkTag] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TagsRequestBuilderGetQueryParameters(): """ - Get a list of the tag objects and their properties. This API is available in the following national cloud deployments. + Get a list of the tag objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/team/team_request_builder.py b/msgraph_beta/generated/groups/item/team/team_request_builder.py index 834a8f3ff09..9c30c7ac559 100644 --- a/msgraph_beta/generated/groups/item/team/team_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/team_request_builder.py @@ -123,7 +123,7 @@ def to_delete_request_information(self,request_configuration: Optional[TeamReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_put_request_information(self,body: Optional[Team] = None, request_configuration: Optional[TeamRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -159,7 +159,7 @@ def to_put_request_information(self,body: Optional[Team] = None, request_configu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/team/template/template_request_builder.py b/msgraph_beta/generated/groups/item/team/template/template_request_builder.py index 3f70855d232..da55a1bab64 100644 --- a/msgraph_beta/generated/groups/item/team/template/template_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/template/template_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TemplateRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TemplateRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/template_definition/template_definition_request_builder.py b/msgraph_beta/generated/groups/item/team/template_definition/template_definition_request_builder.py index 8fc34147318..1be8a521469 100644 --- a/msgraph_beta/generated/groups/item/team/template_definition/template_definition_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/template_definition/template_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TemplateDefi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TemplateDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/team/unarchive/unarchive_request_builder.py b/msgraph_beta/generated/groups/item/team/unarchive/unarchive_request_builder.py index f5580a05c5c..c9d3a729982 100644 --- a/msgraph_beta/generated/groups/item/team/unarchive/unarchive_request_builder.py +++ b/msgraph_beta/generated/groups/item/team/unarchive/unarchive_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> None: """ - Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. This API is available in the following national cloud deployments. + Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. 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/team-unarchive?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UnarchiveRequestBuilderPostR def to_post_request_information(self,request_configuration: Optional[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. This API is available in the following national cloud deployments. + Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UnarchiveRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnarchiveRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/threads/item/conversation_thread_item_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/conversation_thread_item_request_builder.py index be79404387a..e85dbcd4548 100644 --- a/msgraph_beta/generated/groups/item/threads/item/conversation_thread_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/conversation_thread_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ConversationThreadItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete conversationThread. This API is available in the following national cloud deployments. + Delete conversationThread. 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/conversationthread-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[ConversationThreadItemRequ async def get(self,request_configuration: Optional[ConversationThreadItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationThread]: """ - Get a thread object. This API is available in the following national cloud deployments. + Get a thread object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationThread] Find more info here: https://learn.microsoft.com/graph/api/group-get-thread?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[ConversationThreadItemRequest async def patch(self,body: Optional[ConversationThread] = None, request_configuration: Optional[ConversationThreadItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ConversationThread]: """ - Update a thread object. This API is available in the following national cloud deployments. + Update a thread object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationThread] @@ -97,7 +97,7 @@ async def patch(self,body: Optional[ConversationThread] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[ConversationThreadItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete conversationThread. This API is available in the following national cloud deployments. + Delete conversationThread. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[Conversat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConversationThreadItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a thread object. This API is available in the following national cloud deployments. + Get a thread object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[Conversation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConversationThread] = None, request_configuration: Optional[ConversationThreadItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update a thread object. This API is available in the following national cloud deployments. + Update a thread object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[ConversationThread] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class ConversationThreadItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class ConversationThreadItemRequestBuilderGetQueryParameters(): """ - Get a thread object. This API is available in the following national cloud deployments. + Get a thread object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/attachments/attachments_request_builder.py index 32b873d7770..c29c7964a16 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to a post. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to a post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/post-list-attachments?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to a post. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to a post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to a post. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to a post. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/attachments/create_upload_session/create_upload_session_request_builder.py index a6273fd62bc..587816e40ef 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/attachments/item/attachment_item_request_builder.py index 0e75f983776..18277c62a5e 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/attachments/item/attachment_item_request_builder.py @@ -79,7 +79,7 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -96,7 +96,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/extensions/extensions_request_builder.py index a97f7b22584..5249db7d7fa 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/extensions/item/extension_item_request_builder.py index 7b6b5777147..e66203c7b1f 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGe async def patch(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Extension]: """ - Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. This API is available in the following national cloud deployments. + Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. This API is available in the following national cloud deployments. + Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/forward/forward_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/forward/forward_request_builder.py index 048d4ce14cf..3c9535221bd 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/attachments/attachments_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/attachments/attachments_request_builder.py index 4d79beae52e..8685abed0cc 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to a post. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to a post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/post-list-attachments?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to a post. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to a post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to a post. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to a post. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/attachments/create_upload_session/create_upload_session_request_builder.py index bdc2b729fdf..9abcc7d3194 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/attachments/item/attachment_item_request_builder.py index 1de7f217837..64600a17c60 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/attachments/item/attachment_item_request_builder.py @@ -79,7 +79,7 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -96,7 +96,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/extensions/extensions_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/extensions/extensions_request_builder.py index 968c60c3854..a0df557209f 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/extensions/item/extension_item_request_builder.py index 23661be2a89..fd6e995b43f 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGe async def patch(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Extension]: """ - Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. This API is available in the following national cloud deployments. + Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. This API is available in the following national cloud deployments. + Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/forward/forward_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/forward/forward_request_builder.py index c6785c624a7..90d51a3a07d 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/forward/forward_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/in_reply_to_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/in_reply_to_request_builder.py index 6b22010e28e..b747dc99a8f 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/in_reply_to_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/in_reply_to_request_builder.py @@ -66,7 +66,7 @@ def to_get_request_information(self,request_configuration: Optional[InReplyToReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InReplyToRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/mentions/item/mention_item_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/mentions/item/mention_item_request_builder.py index 755e094dc3b..20d2afbe15e 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/mentions/item/mention_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/mentions/item/mention_item_request_builder.py @@ -79,7 +79,7 @@ def to_delete_request_information(self,request_configuration: Optional[MentionIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MentionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -96,7 +96,7 @@ def to_get_request_information(self,request_configuration: Optional[MentionItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MentionItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/mentions/mentions_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/mentions/mentions_request_builder.py index 7edd03146d1..8a460c7924b 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/mentions/mentions_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/mentions/mentions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[MentionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Mention] = None, request_configuration: Optional[MentionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Mention] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/reply/reply_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/reply/reply_request_builder.py index 3c08886db74..91374b4f915 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/reply/reply_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/in_reply_to/reply/reply_request_builder.py @@ -28,11 +28,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ReplyPostRequestBody] = None, request_configuration: Optional[ReplyRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + Invoke action reply param body: The request body 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/post-reply?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -51,7 +50,7 @@ async def post(self,body: Optional[ReplyPostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[ReplyPostRequestBody] = None, request_configuration: Optional[ReplyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + Invoke action reply param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +64,7 @@ def to_post_request_information(self,body: Optional[ReplyPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/mentions/item/mention_item_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/mentions/item/mention_item_request_builder.py index 93bf902e206..c7bf8e40a4b 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/mentions/item/mention_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/mentions/item/mention_item_request_builder.py @@ -79,7 +79,7 @@ def to_delete_request_information(self,request_configuration: Optional[MentionIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MentionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -96,7 +96,7 @@ def to_get_request_information(self,request_configuration: Optional[MentionItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MentionItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/mentions/mentions_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/mentions/mentions_request_builder.py index c446ac863c2..95e03f65848 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/mentions/mentions_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/mentions/mentions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[MentionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Mention] = None, request_configuration: Optional[MentionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Mention] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/post_item_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/post_item_request_builder.py index 1c56d03e17c..34a2c1eef2c 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/post_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/post_item_request_builder.py @@ -34,7 +34,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[PostItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Post]: """ - Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. This API is available in the following national cloud deployments. + Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Post] Find more info here: https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0 @@ -80,7 +80,7 @@ async def patch(self,body: Optional[Post] = None, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[PostItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. This API is available in the following national cloud deployments. + Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -92,7 +92,7 @@ def to_get_request_information(self,request_configuration: Optional[PostItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Post] = None, request_configuration: Optional[PostItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -111,7 +111,7 @@ def to_patch_request_information(self,body: Optional[Post] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -182,7 +182,7 @@ def reply(self) -> ReplyRequestBuilder: @dataclass class PostItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. This API is available in the following national cloud deployments. + Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/item/reply/reply_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/posts/item/reply/reply_request_builder.py index f0176ce6578..251d4442663 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/item/reply/reply_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/item/reply/reply_request_builder.py @@ -28,11 +28,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ReplyPostRequestBody] = None, request_configuration: Optional[ReplyRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + Invoke action reply param body: The request body 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/post-reply?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -51,7 +50,7 @@ async def post(self,body: Optional[ReplyPostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[ReplyPostRequestBody] = None, request_configuration: Optional[ReplyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. This API is available in the following national cloud deployments. + Invoke action reply param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +64,7 @@ def to_post_request_information(self,body: Optional[ReplyPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/threads/item/posts/posts_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/posts/posts_request_builder.py index c4f78fbbeab..076231e7e02 100644 --- a/msgraph_beta/generated/groups/item/threads/item/posts/posts_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/posts/posts_request_builder.py @@ -44,7 +44,7 @@ def by_post_id(self,post_id: str) -> PostItemRequestBuilder: async def get(self,request_configuration: Optional[PostsRequestBuilderGetRequestConfiguration] = None) -> Optional[PostCollectionResponse]: """ - Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. This API is available in the following national cloud deployments. + Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PostCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/conversationthread-list-posts?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[PostsRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[PostsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. This API is available in the following national cloud deployments. + Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[PostsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PostsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PostsRequestBuilderGetQueryParameters(): """ - Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. This API is available in the following national cloud deployments. + Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/threads/item/reply/reply_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/reply/reply_request_builder.py index 7df2fcb67e8..5d3f76313b6 100644 --- a/msgraph_beta/generated/groups/item/threads/item/reply/reply_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/reply/reply_request_builder.py @@ -28,11 +28,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ReplyPostRequestBody] = None, request_configuration: Optional[ReplyRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reply to a thread in a group conversation and add a new post to it. You can specify the parent conversation in the request, or, you can specify just the thread without the parent conversation. This API is available in the following national cloud deployments. + Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. param body: The request body 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/conversationthread-reply?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -51,7 +51,7 @@ async def post(self,body: Optional[ReplyPostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[ReplyPostRequestBody] = None, request_configuration: Optional[ReplyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reply to a thread in a group conversation and add a new post to it. You can specify the parent conversation in the request, or, you can specify just the thread without the parent conversation. This API is available in the following national cloud deployments. + Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ReplyPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/item/threads/threads_request_builder.py b/msgraph_beta/generated/groups/item/threads/threads_request_builder.py index c8fdac95618..b3839b5983f 100644 --- a/msgraph_beta/generated/groups/item/threads/threads_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/threads_request_builder.py @@ -45,7 +45,7 @@ def by_conversation_thread_id(self,conversation_thread_id: str) -> ConversationT async def get(self,request_configuration: Optional[ThreadsRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationThreadCollectionResponse]: """ - Get all the threads of a group. Note: You can also get all the threads of a conversation. This API is available in the following national cloud deployments. + Get all the threads of a group. Note: You can also get all the threads of a conversation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationThreadCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/group-list-threads?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ThreadsRequestBuilderGetReque async def post(self,body: Optional[ConversationThread] = None, request_configuration: Optional[ThreadsRequestBuilderPostRequestConfiguration] = None) -> Optional[ConversationThread]: """ - Start a new group conversation by first creating a thread. A new conversation, conversation thread, and post are created in the group. Use reply thread or reply post to further post to that thread. Note: You can also start a new thread in an existing conversation. This API is available in the following national cloud deployments. + Start a new group conversation by first creating a thread. A new conversation, conversation thread, and post are created in the group. Use reply thread or reply post to further post to that thread. Note: You can also start a new thread in an existing conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationThread] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ConversationThread] = None, request_configura def to_get_request_information(self,request_configuration: Optional[ThreadsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get all the threads of a group. Note: You can also get all the threads of a conversation. This API is available in the following national cloud deployments. + Get all the threads of a group. Note: You can also get all the threads of a conversation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ThreadsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ConversationThread] = None, request_configuration: Optional[ThreadsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Start a new group conversation by first creating a thread. A new conversation, conversation thread, and post are created in the group. Use reply thread or reply post to further post to that thread. Note: You can also start a new thread in an existing conversation. This API is available in the following national cloud deployments. + Start a new group conversation by first creating a thread. A new conversation, conversation thread, and post are created in the group. Use reply thread or reply post to further post to that thread. Note: You can also start a new thread in an existing conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ConversationThread] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ThreadsRequestBuilderGetQueryParameters(): """ - Get all the threads of a group. Note: You can also get all the threads of a conversation. This API is available in the following national cloud deployments. + Get all the threads of a group. Note: You can also get all the threads of a conversation. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py b/msgraph_beta/generated/groups/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py index a9a340cf07a..86ebe549e0e 100644 --- a/msgraph_beta/generated/groups/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAdminis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAdministrativeUnitRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/transitive_member_of/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/groups/item/transitive_member_of/graph_group/graph_group_request_builder.py index 968adac0e9c..788471f51c5 100644 --- a/msgraph_beta/generated/groups/item/transitive_member_of/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_member_of/graph_group/graph_group_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/transitive_member_of/item/directory_object_item_request_builder.py b/msgraph_beta/generated/groups/item/transitive_member_of/item/directory_object_item_request_builder.py index b24eeb7a436..9f9fbc22e04 100644 --- a/msgraph_beta/generated/groups/item/transitive_member_of/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_member_of/item/directory_object_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DirectoryObjectItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - The groups that a group is a member of, either directly and through nested membership. Nullable. + The groups a group is a member of, either directly or through nested membership. Nullable. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[DirectoryObjectItemRequestBui def to_get_request_information(self,request_configuration: Optional[DirectoryObjectItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - The groups that a group is a member of, either directly and through nested membership. Nullable. + The groups a group is a member of, either directly or through nested membership. Nullable. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: @@ -97,7 +97,7 @@ def graph_group(self) -> GraphGroupRequestBuilder: @dataclass class DirectoryObjectItemRequestBuilderGetQueryParameters(): """ - The groups that a group is a member of, either directly and through nested membership. Nullable. + The groups a group is a member of, either directly or through nested membership. Nullable. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py b/msgraph_beta/generated/groups/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py index a3977d42d5e..b594ef06f14 100644 --- a/msgraph_beta/generated/groups/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAdminis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAdministrativeUnitRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/transitive_member_of/item/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/groups/item/transitive_member_of/item/graph_group/graph_group_request_builder.py index f2342138579..239ef831192 100644 --- a/msgraph_beta/generated/groups/item/transitive_member_of/item/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_member_of/item/graph_group/graph_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/transitive_member_of/transitive_member_of_request_builder.py b/msgraph_beta/generated/groups/item/transitive_member_of/transitive_member_of_request_builder.py index a998a6fb8dc..5645d4be060 100644 --- a/msgraph_beta/generated/groups/item/transitive_member_of/transitive_member_of_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_member_of/transitive_member_of_request_builder.py @@ -46,7 +46,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem async def get(self,request_configuration: Optional[TransitiveMemberOfRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryObjectCollectionResponse]: """ - The groups that a group is a member of, either directly and through nested membership. Nullable. + The groups a group is a member of, either directly or through nested membership. Nullable. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/group-list-transitivememberof?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[TransitiveMemberOfRequestBuil def to_get_request_information(self,request_configuration: Optional[TransitiveMemberOfRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - The groups that a group is a member of, either directly and through nested membership. Nullable. + The groups a group is a member of, either directly or through nested membership. Nullable. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[TransitiveMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TransitiveMemberOfRequestBuilder: @@ -123,7 +123,7 @@ def graph_group(self) -> GraphGroupRequestBuilder: @dataclass class TransitiveMemberOfRequestBuilderGetQueryParameters(): """ - The groups that a group is a member of, either directly and through nested membership. Nullable. + The groups a group is a member of, either directly or through nested membership. Nullable. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/groups/item/transitive_members/graph_application/graph_application_request_builder.py b/msgraph_beta/generated/groups/item/transitive_members/graph_application/graph_application_request_builder.py index e6909ffa6a3..ed9d912c434 100644 --- a/msgraph_beta/generated/groups/item/transitive_members/graph_application/graph_application_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_members/graph_application/graph_application_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphApplica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphApplicationRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/transitive_members/graph_device/graph_device_request_builder.py b/msgraph_beta/generated/groups/item/transitive_members/graph_device/graph_device_request_builder.py index ac0232dcb20..e4ee138ebf0 100644 --- a/msgraph_beta/generated/groups/item/transitive_members/graph_device/graph_device_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_members/graph_device/graph_device_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphDeviceR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphDeviceRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/transitive_members/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/groups/item/transitive_members/graph_group/graph_group_request_builder.py index d40e8842aab..eeba552e95a 100644 --- a/msgraph_beta/generated/groups/item/transitive_members/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_members/graph_group/graph_group_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/transitive_members/graph_org_contact/graph_org_contact_request_builder.py b/msgraph_beta/generated/groups/item/transitive_members/graph_org_contact/graph_org_contact_request_builder.py index 840f720033c..d9b19a1e1ee 100644 --- a/msgraph_beta/generated/groups/item/transitive_members/graph_org_contact/graph_org_contact_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_members/graph_org_contact/graph_org_contact_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphOrgCont request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphOrgContactRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/transitive_members/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/groups/item/transitive_members/graph_service_principal/graph_service_principal_request_builder.py index 204f2db92f3..683eca0325d 100644 --- a/msgraph_beta/generated/groups/item/transitive_members/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_members/graph_service_principal/graph_service_principal_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/transitive_members/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/groups/item/transitive_members/graph_user/graph_user_request_builder.py index a690f10934a..5ef7ecaac1d 100644 --- a/msgraph_beta/generated/groups/item/transitive_members/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_members/graph_user/graph_user_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/transitive_members/item/directory_object_item_request_builder.py b/msgraph_beta/generated/groups/item/transitive_members/item/directory_object_item_request_builder.py index 3597be44e96..1666139ebe0 100644 --- a/msgraph_beta/generated/groups/item/transitive_members/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_members/item/directory_object_item_request_builder.py @@ -67,7 +67,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/transitive_members/item/graph_application/graph_application_request_builder.py b/msgraph_beta/generated/groups/item/transitive_members/item/graph_application/graph_application_request_builder.py index 26c5978bd27..5349922ce44 100644 --- a/msgraph_beta/generated/groups/item/transitive_members/item/graph_application/graph_application_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_members/item/graph_application/graph_application_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphApplica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphApplicationRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/transitive_members/item/graph_device/graph_device_request_builder.py b/msgraph_beta/generated/groups/item/transitive_members/item/graph_device/graph_device_request_builder.py index 3391086e07d..cf93efa00bd 100644 --- a/msgraph_beta/generated/groups/item/transitive_members/item/graph_device/graph_device_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_members/item/graph_device/graph_device_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphDeviceR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphDeviceRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/transitive_members/item/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/groups/item/transitive_members/item/graph_group/graph_group_request_builder.py index 4ce239637f0..b2929c99bf7 100644 --- a/msgraph_beta/generated/groups/item/transitive_members/item/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_members/item/graph_group/graph_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/transitive_members/item/graph_org_contact/graph_org_contact_request_builder.py b/msgraph_beta/generated/groups/item/transitive_members/item/graph_org_contact/graph_org_contact_request_builder.py index c748532ab49..7ca8c3d5a94 100644 --- a/msgraph_beta/generated/groups/item/transitive_members/item/graph_org_contact/graph_org_contact_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_members/item/graph_org_contact/graph_org_contact_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphOrgCont request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphOrgContactRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/transitive_members/item/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/groups/item/transitive_members/item/graph_service_principal/graph_service_principal_request_builder.py index cd1f0361758..d0dd689be3b 100644 --- a/msgraph_beta/generated/groups/item/transitive_members/item/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_members/item/graph_service_principal/graph_service_principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/transitive_members/item/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/groups/item/transitive_members/item/graph_user/graph_user_request_builder.py index beeccdd5dba..3d8773a8411 100644 --- a/msgraph_beta/generated/groups/item/transitive_members/item/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_members/item/graph_user/graph_user_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/transitive_members/transitive_members_request_builder.py b/msgraph_beta/generated/groups/item/transitive_members/transitive_members_request_builder.py index e782817c6a1..3b131eef1a6 100644 --- a/msgraph_beta/generated/groups/item/transitive_members/transitive_members_request_builder.py +++ b/msgraph_beta/generated/groups/item/transitive_members/transitive_members_request_builder.py @@ -84,7 +84,7 @@ def to_get_request_information(self,request_configuration: Optional[TransitiveMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TransitiveMembersRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/unsubscribe_by_mail/unsubscribe_by_mail_request_builder.py b/msgraph_beta/generated/groups/item/unsubscribe_by_mail/unsubscribe_by_mail_request_builder.py index 3bc042d18c4..dfa779295e2 100644 --- a/msgraph_beta/generated/groups/item/unsubscribe_by_mail/unsubscribe_by_mail_request_builder.py +++ b/msgraph_beta/generated/groups/item/unsubscribe_by_mail/unsubscribe_by_mail_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UnsubscribeByMailRequestBuilderPostRequestConfiguration] = None) -> None: """ - Calling this method disables the current user to receive email notifications for this group about new posts, events, and files in that group. Supported for Microsoft 365 groups only. This API is available in the following national cloud deployments. + Calling this method disables the current user to receive email notifications for this group about new posts, events, and files in that group. Supported for Microsoft 365 groups only. 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/group-unsubscribebymail?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UnsubscribeByMailRequestBuil def to_post_request_information(self,request_configuration: Optional[UnsubscribeByMailRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Calling this method disables the current user to receive email notifications for this group about new posts, events, and files in that group. Supported for Microsoft 365 groups only. This API is available in the following national cloud deployments. + Calling this method disables the current user to receive email notifications for this group about new posts, events, and files in that group. Supported for Microsoft 365 groups only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[Unsubscribe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnsubscribeByMailRequestBuilder: diff --git a/msgraph_beta/generated/groups/item/validate_properties/validate_properties_request_builder.py b/msgraph_beta/generated/groups/item/validate_properties/validate_properties_request_builder.py index b2406f543b3..f585b3da0fb 100644 --- a/msgraph_beta/generated/groups/item/validate_properties/validate_properties_request_builder.py +++ b/msgraph_beta/generated/groups/item/validate_properties/validate_properties_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> None: """ - Validate if a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use the API to determine if a display name or mail nickname is valid before trying to update a Microsoft 365 group. For validating properties before creating a group, use the validateProperties function for directory objects. The following validations are performed for the display name and mail nickname properties: This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate if a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use the API to determine if a display name or mail nickname is valid before trying to update a Microsoft 365 group. For validating properties before creating a group, use the validateProperties function for directory objects. The following validations are performed for the display name and mail nickname properties: This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, re def to_post_request_information(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Validate if a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use the API to determine if a display name or mail nickname is valid before trying to update a Microsoft 365 group. For validating properties before creating a group, use the validateProperties function for directory objects. The following validations are performed for the display name and mail nickname properties: This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate if a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use the API to determine if a display name or mail nickname is valid before trying to update a Microsoft 365 group. For validating properties before creating a group, use the validateProperties function for directory objects. The following validations are performed for the display name and mail nickname properties: This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ValidatePropertiesPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups/validate_properties/validate_properties_request_builder.py b/msgraph_beta/generated/groups/validate_properties/validate_properties_request_builder.py index a2f75a5c669..7409666710e 100644 --- a/msgraph_beta/generated/groups/validate_properties/validate_properties_request_builder.py +++ b/msgraph_beta/generated/groups/validate_properties/validate_properties_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> None: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, re def to_post_request_information(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ValidatePropertiesPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/groups_with_unique_name/groups_with_unique_name_request_builder.py b/msgraph_beta/generated/groups_with_unique_name/groups_with_unique_name_request_builder.py index 6d2bd5cf8d8..5bd0cdb80b1 100644 --- a/msgraph_beta/generated/groups_with_unique_name/groups_with_unique_name_request_builder.py +++ b/msgraph_beta/generated/groups_with_unique_name/groups_with_unique_name_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[GroupsWithUniqueNameRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. This API is available in the following national cloud deployments. + Deletes a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. 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/group-delete?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[GroupsWithUniqueNameReques async def get(self,request_configuration: Optional[GroupsWithUniqueNameRequestBuilderGetRequestConfiguration] = None) -> Optional[Group]: """ - Get the properties and relationships of a group object. This operation returns by default only a subset of all the available properties, as noted in the Properties section. To get properties that aren't_ returned by default, specify them in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and aren't returned in the $select query. Because the group resource supports extensions, you can also use the GET operation to get custom properties and extension data in a group instance. This API is available in the following national cloud deployments. + Get the properties and relationships of a group object. This operation returns by default only a subset of all the available properties, as noted in the Properties section. To get properties that aren't_ returned by default, specify them in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and aren't returned in the $select query. Because the group resource supports extensions, you can also use the GET operation to get custom properties and extension data in a group instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] Find more info here: https://learn.microsoft.com/graph/api/group-get?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[GroupsWithUniqueNameRequestBu async def patch(self,body: Optional[Group] = None, request_configuration: Optional[GroupsWithUniqueNameRequestBuilderPatchRequestConfiguration] = None) -> Optional[Group]: """ - Update the properties of a group object. This API is available in the following national cloud deployments. + Update the properties of a group object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] @@ -98,7 +98,7 @@ async def patch(self,body: Optional[Group] = None, request_configuration: Option def to_delete_request_information(self,request_configuration: Optional[GroupsWithUniqueNameRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. This API is available in the following national cloud deployments. + Deletes a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[GroupsWit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GroupsWithUniqueNameRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a group object. This operation returns by default only a subset of all the available properties, as noted in the Properties section. To get properties that aren't_ returned by default, specify them in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and aren't returned in the $select query. Because the group resource supports extensions, you can also use the GET operation to get custom properties and extension data in a group instance. This API is available in the following national cloud deployments. + Get the properties and relationships of a group object. This operation returns by default only a subset of all the available properties, as noted in the Properties section. To get properties that aren't_ returned by default, specify them in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and aren't returned in the $select query. Because the group resource supports extensions, you can also use the GET operation to get custom properties and extension data in a group instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,12 +126,12 @@ def to_get_request_information(self,request_configuration: Optional[GroupsWithUn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Group] = None, request_configuration: Optional[GroupsWithUniqueNameRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a group object. This API is available in the following national cloud deployments. + Update the properties of a group object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[Group] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -172,7 +172,7 @@ class GroupsWithUniqueNameRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class GroupsWithUniqueNameRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a group object. This operation returns by default only a subset of all the available properties, as noted in the Properties section. To get properties that aren't_ returned by default, specify them in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and aren't returned in the $select query. Because the group resource supports extensions, you can also use the GET operation to get custom properties and extension data in a group instance. This API is available in the following national cloud deployments. + Get the properties and relationships of a group object. This operation returns by default only a subset of all the available properties, as noted in the Properties section. To get properties that aren't_ returned by default, specify them in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and aren't returned in the $select query. Because the group resource supports extensions, you can also use the GET operation to get custom properties and extension data in a group instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/api_connectors/api_connectors_request_builder.py b/msgraph_beta/generated/identity/api_connectors/api_connectors_request_builder.py index 0f8f6cc3b4f..3d80a0c6547 100644 --- a/msgraph_beta/generated/identity/api_connectors/api_connectors_request_builder.py +++ b/msgraph_beta/generated/identity/api_connectors/api_connectors_request_builder.py @@ -45,7 +45,7 @@ def by_identity_api_connector_id(self,identity_api_connector_id: str) -> Identit async def get(self,request_configuration: Optional[ApiConnectorsRequestBuilderGetRequestConfiguration] = None) -> Optional[IdentityApiConnectorCollectionResponse]: """ - Read the properties of an identityApiConnector object. This API is available in the following national cloud deployments. + Read the properties of an identityApiConnector object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityApiConnectorCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identityapiconnector-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ApiConnectorsRequestBuilderGe async def post(self,body: Optional[IdentityApiConnector] = None, request_configuration: Optional[ApiConnectorsRequestBuilderPostRequestConfiguration] = None) -> Optional[IdentityApiConnector]: """ - Create a new identityApiConnector object. This API is available in the following national cloud deployments. + Create a new identityApiConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityApiConnector] @@ -92,7 +92,7 @@ async def post(self,body: Optional[IdentityApiConnector] = None, request_configu def to_get_request_information(self,request_configuration: Optional[ApiConnectorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties of an identityApiConnector object. This API is available in the following national cloud deployments. + Read the properties of an identityApiConnector object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ApiConnector request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[IdentityApiConnector] = None, request_configuration: Optional[ApiConnectorsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new identityApiConnector object. This API is available in the following national cloud deployments. + Create a new identityApiConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[IdentityApiConnector] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ApiConnectorsRequestBuilderGetQueryParameters(): """ - Read the properties of an identityApiConnector object. This API is available in the following national cloud deployments. + Read the properties of an identityApiConnector object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/api_connectors/item/identity_api_connector_item_request_builder.py b/msgraph_beta/generated/identity/api_connectors/item/identity_api_connector_item_request_builder.py index 3f317f5a977..5602e7ea14e 100644 --- a/msgraph_beta/generated/identity/api_connectors/item/identity_api_connector_item_request_builder.py +++ b/msgraph_beta/generated/identity/api_connectors/item/identity_api_connector_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[IdentityApiConnectorItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes an identityApiConnector object. This API is available in the following national cloud deployments. + Deletes an identityApiConnector object. 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/identityapiconnector-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[IdentityApiConnectorItemRe async def get(self,request_configuration: Optional[IdentityApiConnectorItemRequestBuilderGetRequestConfiguration] = None) -> Optional[IdentityApiConnector]: """ - Read the properties of an identityApiConnector object. This API is available in the following national cloud deployments. + Read the properties of an identityApiConnector object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityApiConnector] Find more info here: https://learn.microsoft.com/graph/api/identityapiconnector-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[IdentityApiConnectorItemReque async def patch(self,body: Optional[IdentityApiConnector] = None, request_configuration: Optional[IdentityApiConnectorItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[IdentityApiConnector]: """ - Update the properties of an identityApiConnector object. This API is available in the following national cloud deployments. + Update the properties of an identityApiConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityApiConnector] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[IdentityApiConnector] = None, request_config def to_delete_request_information(self,request_configuration: Optional[IdentityApiConnectorItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes an identityApiConnector object. This API is available in the following national cloud deployments. + Deletes an identityApiConnector object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[IdentityA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[IdentityApiConnectorItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties of an identityApiConnector object. This API is available in the following national cloud deployments. + Read the properties of an identityApiConnector object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[IdentityApiC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[IdentityApiConnector] = None, request_configuration: Optional[IdentityApiConnectorItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an identityApiConnector object. This API is available in the following national cloud deployments. + Update the properties of an identityApiConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[IdentityApiConnector] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class IdentityApiConnectorItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class IdentityApiConnectorItemRequestBuilderGetQueryParameters(): """ - Read the properties of an identityApiConnector object. This API is available in the following national cloud deployments. + Read the properties of an identityApiConnector object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/api_connectors/item/upload_client_certificate/upload_client_certificate_request_builder.py b/msgraph_beta/generated/identity/api_connectors/item/upload_client_certificate/upload_client_certificate_request_builder.py index 2420a89ecc4..fa08496770e 100644 --- a/msgraph_beta/generated/identity/api_connectors/item/upload_client_certificate/upload_client_certificate_request_builder.py +++ b/msgraph_beta/generated/identity/api_connectors/item/upload_client_certificate/upload_client_certificate_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UploadClientCertificatePostRequestBody] = None, request_configuration: Optional[UploadClientCertificateRequestBuilderPostRequestConfiguration] = None) -> Optional[IdentityApiConnector]: """ - Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. This API is available in the following national cloud deployments. + Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityApiConnector] @@ -54,7 +54,7 @@ async def post(self,body: Optional[UploadClientCertificatePostRequestBody] = Non def to_post_request_information(self,body: Optional[UploadClientCertificatePostRequestBody] = None, request_configuration: Optional[UploadClientCertificateRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. This API is available in the following national cloud deployments. + Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[UploadClientCertificatePostR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/authentication_event_listeners/authentication_event_listeners_request_builder.py b/msgraph_beta/generated/identity/authentication_event_listeners/authentication_event_listeners_request_builder.py index 9746628adf2..5dfbf7c084c 100644 --- a/msgraph_beta/generated/identity/authentication_event_listeners/authentication_event_listeners_request_builder.py +++ b/msgraph_beta/generated/identity/authentication_event_listeners/authentication_event_listeners_request_builder.py @@ -45,7 +45,7 @@ def by_authentication_event_listener_id(self,authentication_event_listener_id: s async def get(self,request_configuration: Optional[AuthenticationEventListenersRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthenticationEventListenerCollectionResponse]: """ - Get a list of the authenticationEventListener objects and their properties. The following derived types are supported: This API is available in the following national cloud deployments. + Get a list of the authenticationEventListener objects and their properties. The following derived types are supported: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationEventListenerCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitycontainer-list-authenticationeventlisteners?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AuthenticationEventListenersR async def post(self,body: Optional[AuthenticationEventListener] = None, request_configuration: Optional[AuthenticationEventListenersRequestBuilderPostRequestConfiguration] = None) -> Optional[AuthenticationEventListener]: """ - Create a new authenticationEventListener object. You can create one of the following subtypes that are derived from authenticationEventListener. This API is available in the following national cloud deployments. + Create a new authenticationEventListener object. You can create one of the following subtypes that are derived from authenticationEventListener. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationEventListener] @@ -92,7 +92,7 @@ async def post(self,body: Optional[AuthenticationEventListener] = None, request_ def to_get_request_information(self,request_configuration: Optional[AuthenticationEventListenersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the authenticationEventListener objects and their properties. The following derived types are supported: This API is available in the following national cloud deployments. + Get a list of the authenticationEventListener objects and their properties. The following derived types are supported: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AuthenticationEventListener] = None, request_configuration: Optional[AuthenticationEventListenersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new authenticationEventListener object. You can create one of the following subtypes that are derived from authenticationEventListener. This API is available in the following national cloud deployments. + Create a new authenticationEventListener object. You can create one of the following subtypes that are derived from authenticationEventListener. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[AuthenticationEventListener] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AuthenticationEventListenersRequestBuilderGetQueryParameters(): """ - Get a list of the authenticationEventListener objects and their properties. The following derived types are supported: This API is available in the following national cloud deployments. + Get a list of the authenticationEventListener objects and their properties. The following derived types are supported: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/authentication_event_listeners/item/authentication_event_listener_item_request_builder.py b/msgraph_beta/generated/identity/authentication_event_listeners/item/authentication_event_listener_item_request_builder.py index c19b0459f13..0a03abb81ea 100644 --- a/msgraph_beta/generated/identity/authentication_event_listeners/item/authentication_event_listener_item_request_builder.py +++ b/msgraph_beta/generated/identity/authentication_event_listeners/item/authentication_event_listener_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AuthenticationEventListenerItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes an authenticationEventListener object. This API is available in the following national cloud deployments. + Deletes an authenticationEventListener object. 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/authenticationeventlistener-delete?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[AuthenticationEventListenerIt async def patch(self,body: Optional[AuthenticationEventListener] = None, request_configuration: Optional[AuthenticationEventListenerItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[AuthenticationEventListener]: """ - Update the properties of an authenticationEventListener object. You must specify the @odata.type property and the value of the authenticationEventListener object type to update. This API is available in the following national cloud deployments. + Update the properties of an authenticationEventListener object. You must specify the @odata.type property and the value of the authenticationEventListener object type to update. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationEventListener] @@ -94,7 +94,7 @@ async def patch(self,body: Optional[AuthenticationEventListener] = None, request def to_delete_request_information(self,request_configuration: Optional[AuthenticationEventListenerItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes an authenticationEventListener object. This API is available in the following national cloud deployments. + Deletes an authenticationEventListener object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Authentic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AuthenticationEventListenerItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AuthenticationEventListener] = None, request_configuration: Optional[AuthenticationEventListenerItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an authenticationEventListener object. You must specify the @odata.type property and the value of the authenticationEventListener object type to update. This API is available in the following national cloud deployments. + Update the properties of an authenticationEventListener object. You must specify the @odata.type property and the value of the authenticationEventListener object type to update. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AuthenticationEventListener request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/authentication_events_flows/authentication_events_flows_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/authentication_events_flows_request_builder.py index 77a554abace..9b4a5c8d6ac 100644 --- a/msgraph_beta/generated/identity/authentication_events_flows/authentication_events_flows_request_builder.py +++ b/msgraph_beta/generated/identity/authentication_events_flows/authentication_events_flows_request_builder.py @@ -46,7 +46,7 @@ def by_authentication_events_flow_id(self,authentication_events_flow_id: str) -> async def get(self,request_configuration: Optional[AuthenticationEventsFlowsRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthenticationEventsFlowCollectionResponse]: """ - Get a collection of authentication events policies that are derived from authenticationEventsFlow. Only the externalUsersSelfServiceSignupEventsFlow object type is returned. This API is available in the following national cloud deployments. + Get a collection of authentication events policies that are derived from authenticationEventsFlow. Only the externalUsersSelfServiceSignupEventsFlow object type is returned. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationEventsFlowCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitycontainer-list-authenticationeventsflows?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AuthenticationEventsFlowsRequ async def post(self,body: Optional[AuthenticationEventsFlow] = None, request_configuration: Optional[AuthenticationEventsFlowsRequestBuilderPostRequestConfiguration] = None) -> Optional[AuthenticationEventsFlow]: """ - Create a new authenticationEventsFlow object that is of the type specified in the request body. You can create only an externalUsersSelfServiceSignupEventsFlow object type. This API is available in the following national cloud deployments. + Create a new authenticationEventsFlow object that is of the type specified in the request body. You can create only an externalUsersSelfServiceSignupEventsFlow object type. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationEventsFlow] @@ -93,7 +93,7 @@ async def post(self,body: Optional[AuthenticationEventsFlow] = None, request_con def to_get_request_information(self,request_configuration: Optional[AuthenticationEventsFlowsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a collection of authentication events policies that are derived from authenticationEventsFlow. Only the externalUsersSelfServiceSignupEventsFlow object type is returned. This API is available in the following national cloud deployments. + Get a collection of authentication events policies that are derived from authenticationEventsFlow. Only the externalUsersSelfServiceSignupEventsFlow object type is returned. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AuthenticationEventsFlow] = None, request_configuration: Optional[AuthenticationEventsFlowsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new authenticationEventsFlow object that is of the type specified in the request body. You can create only an externalUsersSelfServiceSignupEventsFlow object type. This API is available in the following national cloud deployments. + Create a new authenticationEventsFlow object that is of the type specified in the request body. You can create only an externalUsersSelfServiceSignupEventsFlow object type. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[AuthenticationEventsFlow] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def graph_external_users_self_service_sign_up_events_flow(self) -> GraphExternal @dataclass class AuthenticationEventsFlowsRequestBuilderGetQueryParameters(): """ - Get a collection of authentication events policies that are derived from authenticationEventsFlow. Only the externalUsersSelfServiceSignupEventsFlow object type is returned. This API is available in the following national cloud deployments. + Get a collection of authentication events policies that are derived from authenticationEventsFlow. Only the externalUsersSelfServiceSignupEventsFlow object type is returned. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/authentication_events_flows/graph_external_users_self_service_sign_up_events_flow/graph_external_users_self_service_sign_up_events_flow_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/graph_external_users_self_service_sign_up_events_flow/graph_external_users_self_service_sign_up_events_flow_request_builder.py index 0c1511589cf..636b674cb58 100644 --- a/msgraph_beta/generated/identity/authentication_events_flows/graph_external_users_self_service_sign_up_events_flow/graph_external_users_self_service_sign_up_events_flow_request_builder.py +++ b/msgraph_beta/generated/identity/authentication_events_flows/graph_external_users_self_service_sign_up_events_flow/graph_external_users_self_service_sign_up_events_flow_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphExterna request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphExternalUsersSelfServiceSignUpEventsFlowRequestBuilder: diff --git a/msgraph_beta/generated/identity/authentication_events_flows/item/authentication_events_flow_item_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/item/authentication_events_flow_item_request_builder.py index 5ee76772d25..84e0913c0d2 100644 --- a/msgraph_beta/generated/identity/authentication_events_flows/item/authentication_events_flow_item_request_builder.py +++ b/msgraph_beta/generated/identity/authentication_events_flows/item/authentication_events_flow_item_request_builder.py @@ -12,6 +12,7 @@ if TYPE_CHECKING: from ....models.authentication_events_flow import AuthenticationEventsFlow from ....models.o_data_errors.o_data_error import ODataError + from .conditions.conditions_request_builder import ConditionsRequestBuilder from .graph_external_users_self_service_sign_up_events_flow.graph_external_users_self_service_sign_up_events_flow_request_builder import GraphExternalUsersSelfServiceSignUpEventsFlowRequestBuilder class AuthenticationEventsFlowItemRequestBuilder(BaseRequestBuilder): @@ -29,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AuthenticationEventsFlowItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a specific authenticationEventsFlow resource by ID. Only externalUsersSelfServiceSignupEventsFlow object types are available. This API is available in the following national cloud deployments. + Delete a specific authenticationEventsFlow resource by ID. Only externalUsersSelfServiceSignupEventsFlow object types are available. 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/authenticationeventsflow-delete?view=graph-rest-1.0 @@ -49,7 +50,7 @@ async def delete(self,request_configuration: Optional[AuthenticationEventsFlowIt async def get(self,request_configuration: Optional[AuthenticationEventsFlowItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthenticationEventsFlow]: """ - Retrieve the properties and relationships of a specific authenticationEventsFlow object by ID. Only externalUsersSelfServiceSignupEventsFlow object types are available. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a specific authenticationEventsFlow object by ID. Only externalUsersSelfServiceSignupEventsFlow object types are available. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationEventsFlow] Find more info here: https://learn.microsoft.com/graph/api/authenticationeventsflow-get?view=graph-rest-1.0 @@ -71,7 +72,7 @@ async def get(self,request_configuration: Optional[AuthenticationEventsFlowItemR async def patch(self,body: Optional[AuthenticationEventsFlow] = None, request_configuration: Optional[AuthenticationEventsFlowItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[AuthenticationEventsFlow]: """ - Update the properties of an authenticationEventsFlow object. Only the externalUsersSelfServiceSignupEventsFlow object type is supported. This API is available in the following national cloud deployments. + Update the properties of an authenticationEventsFlow object. Only the externalUsersSelfServiceSignupEventsFlow object type is supported. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationEventsFlow] @@ -96,7 +97,7 @@ async def patch(self,body: Optional[AuthenticationEventsFlow] = None, request_co def to_delete_request_information(self,request_configuration: Optional[AuthenticationEventsFlowItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a specific authenticationEventsFlow resource by ID. Only externalUsersSelfServiceSignupEventsFlow object types are available. This API is available in the following national cloud deployments. + Delete a specific authenticationEventsFlow resource by ID. Only externalUsersSelfServiceSignupEventsFlow object types are available. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[Authentic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AuthenticationEventsFlowItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a specific authenticationEventsFlow object by ID. Only externalUsersSelfServiceSignupEventsFlow object types are available. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a specific authenticationEventsFlow object by ID. Only externalUsersSelfServiceSignupEventsFlow object types are available. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AuthenticationEventsFlow] = None, request_configuration: Optional[AuthenticationEventsFlowItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an authenticationEventsFlow object. Only the externalUsersSelfServiceSignupEventsFlow object type is supported. This API is available in the following national cloud deployments. + Update the properties of an authenticationEventsFlow object. Only the externalUsersSelfServiceSignupEventsFlow object type is supported. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +144,7 @@ def to_patch_request_information(self,body: Optional[AuthenticationEventsFlow] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -157,6 +158,15 @@ def with_url(self,raw_url: Optional[str] = None) -> AuthenticationEventsFlowItem raise TypeError("raw_url cannot be null.") return AuthenticationEventsFlowItemRequestBuilder(self.request_adapter, raw_url) + @property + def conditions(self) -> ConditionsRequestBuilder: + """ + The conditions property + """ + from .conditions.conditions_request_builder import ConditionsRequestBuilder + + return ConditionsRequestBuilder(self.request_adapter, self.path_parameters) + @property def graph_external_users_self_service_sign_up_events_flow(self) -> GraphExternalUsersSelfServiceSignUpEventsFlowRequestBuilder: """ @@ -179,7 +189,7 @@ class AuthenticationEventsFlowItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class AuthenticationEventsFlowItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a specific authenticationEventsFlow object by ID. Only externalUsersSelfServiceSignupEventsFlow object types are available. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a specific authenticationEventsFlow object by ID. Only externalUsersSelfServiceSignupEventsFlow object types are available. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/authentication_events_flows/item/conditions/applications/applications_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/item/conditions/applications/applications_request_builder.py new file mode 100644 index 00000000000..302ec7c03b4 --- /dev/null +++ b/msgraph_beta/generated/identity/authentication_events_flows/item/conditions/applications/applications_request_builder.py @@ -0,0 +1,32 @@ +from __future__ import annotations +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.request_adapter import RequestAdapter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .include_applications.include_applications_request_builder import IncludeApplicationsRequestBuilder + +class ApplicationsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /identity/authenticationEventsFlows/{authenticationEventsFlow-id}/conditions/applications + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ApplicationsRequestBuilder 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}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/conditions/applications", path_parameters) + + @property + def include_applications(self) -> IncludeApplicationsRequestBuilder: + """ + Provides operations to manage the includeApplications property of the microsoft.graph.authenticationConditionsApplications entity. + """ + from .include_applications.include_applications_request_builder import IncludeApplicationsRequestBuilder + + return IncludeApplicationsRequestBuilder(self.request_adapter, self.path_parameters) + + diff --git a/msgraph_beta/generated/identity/authentication_events_flows/item/conditions/applications/include_applications/count/count_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/item/conditions/applications/include_applications/count/count_request_builder.py new file mode 100644 index 00000000000..c6333ed445d --- /dev/null +++ b/msgraph_beta/generated/identity/authentication_events_flows/item/conditions/applications/include_applications/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/conditions/applications/includeApplications/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/identity/authentication_events_flows/item/conditions/applications/include_applications/include_applications_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/item/conditions/applications/include_applications/include_applications_request_builder.py new file mode 100644 index 00000000000..d7f44cd652d --- /dev/null +++ b/msgraph_beta/generated/identity/authentication_events_flows/item/conditions/applications/include_applications/include_applications_request_builder.py @@ -0,0 +1,226 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.authentication_condition_application import AuthenticationConditionApplication + from .......models.authentication_condition_application_collection_response import AuthenticationConditionApplicationCollectionResponse + from .......models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.authentication_condition_application_app_item_request_builder import AuthenticationConditionApplicationAppItemRequestBuilder + +class IncludeApplicationsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the includeApplications property of the microsoft.graph.authenticationConditionsApplications entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new IncludeApplicationsRequestBuilder 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}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/conditions/applications/includeApplications{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_authentication_condition_application_app_id(self,authentication_condition_application_app_id: str) -> AuthenticationConditionApplicationAppItemRequestBuilder: + """ + Provides operations to manage the includeApplications property of the microsoft.graph.authenticationConditionsApplications entity. + param authentication_condition_application_app_id: The unique identifier of authenticationConditionApplication + Returns: AuthenticationConditionApplicationAppItemRequestBuilder + """ + if not authentication_condition_application_app_id: + raise TypeError("authentication_condition_application_app_id cannot be null.") + from .item.authentication_condition_application_app_item_request_builder import AuthenticationConditionApplicationAppItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["authenticationConditionApplication%2DappId"] = authentication_condition_application_app_id + return AuthenticationConditionApplicationAppItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[IncludeApplicationsRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthenticationConditionApplicationCollectionResponse]: + """ + Get includeApplications from identity + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AuthenticationConditionApplicationCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.authentication_condition_application_collection_response import AuthenticationConditionApplicationCollectionResponse + + return await self.request_adapter.send_async(request_info, AuthenticationConditionApplicationCollectionResponse, error_mapping) + + async def post(self,body: Optional[AuthenticationConditionApplication] = None, request_configuration: Optional[IncludeApplicationsRequestBuilderPostRequestConfiguration] = None) -> Optional[AuthenticationConditionApplication]: + """ + Create new navigation property to includeApplications for identity + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AuthenticationConditionApplication] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.authentication_condition_application import AuthenticationConditionApplication + + return await self.request_adapter.send_async(request_info, AuthenticationConditionApplication, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[IncludeApplicationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get includeApplications from identity + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[AuthenticationConditionApplication] = None, request_configuration: Optional[IncludeApplicationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to includeApplications for identity + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> IncludeApplicationsRequestBuilder: + """ + 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: IncludeApplicationsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return IncludeApplicationsRequestBuilder(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 IncludeApplicationsRequestBuilderGetQueryParameters(): + """ + Get includeApplications from identity + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class IncludeApplicationsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[IncludeApplicationsRequestBuilder.IncludeApplicationsRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class IncludeApplicationsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/identity/authentication_events_flows/item/conditions/applications/include_applications/item/authentication_condition_application_app_item_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/item/conditions/applications/include_applications/item/authentication_condition_application_app_item_request_builder.py new file mode 100644 index 00000000000..db30a543d8c --- /dev/null +++ b/msgraph_beta/generated/identity/authentication_events_flows/item/conditions/applications/include_applications/item/authentication_condition_application_app_item_request_builder.py @@ -0,0 +1,215 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.authentication_condition_application import AuthenticationConditionApplication + from ........models.o_data_errors.o_data_error import ODataError + +class AuthenticationConditionApplicationAppItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the includeApplications property of the microsoft.graph.authenticationConditionsApplications entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new AuthenticationConditionApplicationAppItemRequestBuilder 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}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/conditions/applications/includeApplications/{authenticationConditionApplication%2DappId}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[AuthenticationConditionApplicationAppItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property includeApplications for identity + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[AuthenticationConditionApplicationAppItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthenticationConditionApplication]: + """ + Get includeApplications from identity + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AuthenticationConditionApplication] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.authentication_condition_application import AuthenticationConditionApplication + + return await self.request_adapter.send_async(request_info, AuthenticationConditionApplication, error_mapping) + + async def patch(self,body: Optional[AuthenticationConditionApplication] = None, request_configuration: Optional[AuthenticationConditionApplicationAppItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[AuthenticationConditionApplication]: + """ + Update the navigation property includeApplications in identity + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AuthenticationConditionApplication] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.authentication_condition_application import AuthenticationConditionApplication + + return await self.request_adapter.send_async(request_info, AuthenticationConditionApplication, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[AuthenticationConditionApplicationAppItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property includeApplications for identity + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[AuthenticationConditionApplicationAppItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get includeApplications from identity + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[AuthenticationConditionApplication] = None, request_configuration: Optional[AuthenticationConditionApplicationAppItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property includeApplications in identity + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> AuthenticationConditionApplicationAppItemRequestBuilder: + """ + 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: AuthenticationConditionApplicationAppItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return AuthenticationConditionApplicationAppItemRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class AuthenticationConditionApplicationAppItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class AuthenticationConditionApplicationAppItemRequestBuilderGetQueryParameters(): + """ + Get includeApplications from identity + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class AuthenticationConditionApplicationAppItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[AuthenticationConditionApplicationAppItemRequestBuilder.AuthenticationConditionApplicationAppItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class AuthenticationConditionApplicationAppItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/identity/authentication_events_flows/item/conditions/conditions_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/item/conditions/conditions_request_builder.py new file mode 100644 index 00000000000..4bfc809e312 --- /dev/null +++ b/msgraph_beta/generated/identity/authentication_events_flows/item/conditions/conditions_request_builder.py @@ -0,0 +1,126 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.authentication_conditions import AuthenticationConditions + from .....models.o_data_errors.o_data_error import ODataError + from .applications.applications_request_builder import ApplicationsRequestBuilder + +class ConditionsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /identity/authenticationEventsFlows/{authenticationEventsFlow-id}/conditions + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ConditionsRequestBuilder 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}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/conditions{?%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[ConditionsRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthenticationConditions]: + """ + The conditions representing the context of the authentication request that will be used to decide whether the events policy will be invoked. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AuthenticationConditions] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.authentication_conditions import AuthenticationConditions + + return await self.request_adapter.send_async(request_info, AuthenticationConditions, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[ConditionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + The conditions representing the context of the authentication request that will be used to decide whether the events policy will be invoked. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> ConditionsRequestBuilder: + """ + 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: ConditionsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ConditionsRequestBuilder(self.request_adapter, raw_url) + + @property + def applications(self) -> ApplicationsRequestBuilder: + """ + The applications property + """ + from .applications.applications_request_builder import ApplicationsRequestBuilder + + return ApplicationsRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class ConditionsRequestBuilderGetQueryParameters(): + """ + The conditions representing the context of the authentication request that will be used to decide whether the events policy will be invoked. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ConditionsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[ConditionsRequestBuilder.ConditionsRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/conditions/applications/applications_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/conditions/applications/applications_request_builder.py new file mode 100644 index 00000000000..b98580ce59c --- /dev/null +++ b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/conditions/applications/applications_request_builder.py @@ -0,0 +1,32 @@ +from __future__ import annotations +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.request_adapter import RequestAdapter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .include_applications.include_applications_request_builder import IncludeApplicationsRequestBuilder + +class ApplicationsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /identity/authenticationEventsFlows/{authenticationEventsFlow-id}/graph.externalUsersSelfServiceSignUpEventsFlow/conditions/applications + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ApplicationsRequestBuilder 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}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/conditions/applications", path_parameters) + + @property + def include_applications(self) -> IncludeApplicationsRequestBuilder: + """ + Provides operations to manage the includeApplications property of the microsoft.graph.authenticationConditionsApplications entity. + """ + from .include_applications.include_applications_request_builder import IncludeApplicationsRequestBuilder + + return IncludeApplicationsRequestBuilder(self.request_adapter, self.path_parameters) + + diff --git a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/conditions/applications/include_applications/count/count_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/conditions/applications/include_applications/count/count_request_builder.py new file mode 100644 index 00000000000..5eaae2bf46b --- /dev/null +++ b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/conditions/applications/include_applications/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/conditions/applications/includeApplications/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/transcripts/transcripts_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/conditions/applications/include_applications/include_applications_request_builder.py similarity index 63% rename from msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/transcripts/transcripts_request_builder.py rename to msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/conditions/applications/include_applications/include_applications_request_builder.py index 0bc1f3dd550..66aec928917 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/transcripts/transcripts_request_builder.py +++ b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/conditions/applications/include_applications/include_applications_request_builder.py @@ -10,46 +10,44 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ........models.call_transcript import CallTranscript - from ........models.call_transcript_collection_response import CallTranscriptCollectionResponse + from ........models.authentication_condition_application import AuthenticationConditionApplication + from ........models.authentication_condition_application_collection_response import AuthenticationConditionApplicationCollectionResponse from ........models.o_data_errors.o_data_error import ODataError from .count.count_request_builder import CountRequestBuilder - from .delta.delta_request_builder import DeltaRequestBuilder - from .item.call_transcript_item_request_builder import CallTranscriptItemRequestBuilder + from .item.authentication_condition_application_app_item_request_builder import AuthenticationConditionApplicationAppItemRequestBuilder -class TranscriptsRequestBuilder(BaseRequestBuilder): +class IncludeApplicationsRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. + Provides operations to manage the includeApplications property of the microsoft.graph.authenticationConditionsApplications entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ - Instantiates a new TranscriptsRequestBuilder and sets the default values. + Instantiates a new IncludeApplicationsRequestBuilder 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}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/transcripts{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/conditions/applications/includeApplications{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) - def by_call_transcript_id(self,call_transcript_id: str) -> CallTranscriptItemRequestBuilder: + def by_authentication_condition_application_app_id(self,authentication_condition_application_app_id: str) -> AuthenticationConditionApplicationAppItemRequestBuilder: """ - Provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. - param call_transcript_id: The unique identifier of callTranscript - Returns: CallTranscriptItemRequestBuilder + Provides operations to manage the includeApplications property of the microsoft.graph.authenticationConditionsApplications entity. + param authentication_condition_application_app_id: The unique identifier of authenticationConditionApplication + Returns: AuthenticationConditionApplicationAppItemRequestBuilder """ - if not call_transcript_id: - raise TypeError("call_transcript_id cannot be null.") - from .item.call_transcript_item_request_builder import CallTranscriptItemRequestBuilder + if not authentication_condition_application_app_id: + raise TypeError("authentication_condition_application_app_id cannot be null.") + from .item.authentication_condition_application_app_item_request_builder import AuthenticationConditionApplicationAppItemRequestBuilder url_tpl_params = get_path_parameters(self.path_parameters) - url_tpl_params["callTranscript%2Did"] = call_transcript_id - return CallTranscriptItemRequestBuilder(self.request_adapter, url_tpl_params) + url_tpl_params["authenticationConditionApplication%2DappId"] = authentication_condition_application_app_id + return AuthenticationConditionApplicationAppItemRequestBuilder(self.request_adapter, url_tpl_params) - async def get(self,request_configuration: Optional[TranscriptsRequestBuilderGetRequestConfiguration] = None) -> Optional[CallTranscriptCollectionResponse]: + async def get(self,request_configuration: Optional[IncludeApplicationsRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthenticationConditionApplicationCollectionResponse]: """ - Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. This API is available in the following national cloud deployments. + Get includeApplications from identity param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[CallTranscriptCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/onlinemeeting-list-transcripts?view=graph-rest-1.0 + Returns: Optional[AuthenticationConditionApplicationCollectionResponse] """ request_info = self.to_get_request_information( request_configuration @@ -62,16 +60,16 @@ async def get(self,request_configuration: Optional[TranscriptsRequestBuilderGetR } if not self.request_adapter: raise Exception("Http core is null") - from ........models.call_transcript_collection_response import CallTranscriptCollectionResponse + from ........models.authentication_condition_application_collection_response import AuthenticationConditionApplicationCollectionResponse - return await self.request_adapter.send_async(request_info, CallTranscriptCollectionResponse, error_mapping) + return await self.request_adapter.send_async(request_info, AuthenticationConditionApplicationCollectionResponse, error_mapping) - async def post(self,body: Optional[CallTranscript] = None, request_configuration: Optional[TranscriptsRequestBuilderPostRequestConfiguration] = None) -> Optional[CallTranscript]: + async def post(self,body: Optional[AuthenticationConditionApplication] = None, request_configuration: Optional[IncludeApplicationsRequestBuilderPostRequestConfiguration] = None) -> Optional[AuthenticationConditionApplication]: """ - Create new navigation property to transcripts for solutions + Create new navigation property to includeApplications for identity param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[CallTranscript] + Returns: Optional[AuthenticationConditionApplication] """ if not body: raise TypeError("body cannot be null.") @@ -86,13 +84,13 @@ async def post(self,body: Optional[CallTranscript] = None, request_configuration } if not self.request_adapter: raise Exception("Http core is null") - from ........models.call_transcript import CallTranscript + from ........models.authentication_condition_application import AuthenticationConditionApplication - return await self.request_adapter.send_async(request_info, CallTranscript, error_mapping) + return await self.request_adapter.send_async(request_info, AuthenticationConditionApplication, error_mapping) - def to_get_request_information(self,request_configuration: Optional[TranscriptsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + def to_get_request_information(self,request_configuration: Optional[IncludeApplicationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. This API is available in the following national cloud deployments. + Get includeApplications from identity param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +102,12 @@ def to_get_request_information(self,request_configuration: Optional[TranscriptsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info - def to_post_request_information(self,body: Optional[CallTranscript] = None, request_configuration: Optional[TranscriptsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + def to_post_request_information(self,body: Optional[AuthenticationConditionApplication] = None, request_configuration: Optional[IncludeApplicationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create new navigation property to transcripts for solutions + Create new navigation property to includeApplications for identity param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,19 +121,19 @@ def to_post_request_information(self,body: Optional[CallTranscript] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + 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: Optional[str] = None) -> TranscriptsRequestBuilder: + def with_url(self,raw_url: Optional[str] = None) -> IncludeApplicationsRequestBuilder: """ 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: TranscriptsRequestBuilder + Returns: IncludeApplicationsRequestBuilder """ if not raw_url: raise TypeError("raw_url cannot be null.") - return TranscriptsRequestBuilder(self.request_adapter, raw_url) + return IncludeApplicationsRequestBuilder(self.request_adapter, raw_url) @property def count(self) -> CountRequestBuilder: @@ -146,19 +144,10 @@ def count(self) -> CountRequestBuilder: return CountRequestBuilder(self.request_adapter, self.path_parameters) - @property - def delta(self) -> DeltaRequestBuilder: - """ - Provides operations to call the delta method. - """ - from .delta.delta_request_builder import DeltaRequestBuilder - - return DeltaRequestBuilder(self.request_adapter, self.path_parameters) - @dataclass - class TranscriptsRequestBuilderGetQueryParameters(): + class IncludeApplicationsRequestBuilderGetQueryParameters(): """ - Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. This API is available in the following national cloud deployments. + Get includeApplications from identity """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ @@ -214,20 +203,20 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class TranscriptsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + class IncludeApplicationsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ Configuration for the request such as headers, query parameters, and middleware options. """ # Request query parameters - query_parameters: Optional[TranscriptsRequestBuilder.TranscriptsRequestBuilderGetQueryParameters] = None + query_parameters: Optional[IncludeApplicationsRequestBuilder.IncludeApplicationsRequestBuilderGetQueryParameters] = None from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class TranscriptsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + class IncludeApplicationsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ diff --git a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/conditions/applications/include_applications/item/authentication_condition_application_app_item_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/conditions/applications/include_applications/item/authentication_condition_application_app_item_request_builder.py new file mode 100644 index 00000000000..14871a62d15 --- /dev/null +++ b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/conditions/applications/include_applications/item/authentication_condition_application_app_item_request_builder.py @@ -0,0 +1,215 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .........models.authentication_condition_application import AuthenticationConditionApplication + from .........models.o_data_errors.o_data_error import ODataError + +class AuthenticationConditionApplicationAppItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the includeApplications property of the microsoft.graph.authenticationConditionsApplications entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new AuthenticationConditionApplicationAppItemRequestBuilder 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}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/conditions/applications/includeApplications/{authenticationConditionApplication%2DappId}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[AuthenticationConditionApplicationAppItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property includeApplications for identity + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[AuthenticationConditionApplicationAppItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthenticationConditionApplication]: + """ + Get includeApplications from identity + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AuthenticationConditionApplication] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.authentication_condition_application import AuthenticationConditionApplication + + return await self.request_adapter.send_async(request_info, AuthenticationConditionApplication, error_mapping) + + async def patch(self,body: Optional[AuthenticationConditionApplication] = None, request_configuration: Optional[AuthenticationConditionApplicationAppItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[AuthenticationConditionApplication]: + """ + Update the navigation property includeApplications in identity + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AuthenticationConditionApplication] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.authentication_condition_application import AuthenticationConditionApplication + + return await self.request_adapter.send_async(request_info, AuthenticationConditionApplication, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[AuthenticationConditionApplicationAppItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property includeApplications for identity + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[AuthenticationConditionApplicationAppItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get includeApplications from identity + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[AuthenticationConditionApplication] = None, request_configuration: Optional[AuthenticationConditionApplicationAppItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property includeApplications in identity + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> AuthenticationConditionApplicationAppItemRequestBuilder: + """ + 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: AuthenticationConditionApplicationAppItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return AuthenticationConditionApplicationAppItemRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class AuthenticationConditionApplicationAppItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class AuthenticationConditionApplicationAppItemRequestBuilderGetQueryParameters(): + """ + Get includeApplications from identity + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class AuthenticationConditionApplicationAppItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[AuthenticationConditionApplicationAppItemRequestBuilder.AuthenticationConditionApplicationAppItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class AuthenticationConditionApplicationAppItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/conditions/conditions_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/conditions/conditions_request_builder.py new file mode 100644 index 00000000000..783c51eccc4 --- /dev/null +++ b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/conditions/conditions_request_builder.py @@ -0,0 +1,126 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.authentication_conditions import AuthenticationConditions + from ......models.o_data_errors.o_data_error import ODataError + from .applications.applications_request_builder import ApplicationsRequestBuilder + +class ConditionsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /identity/authenticationEventsFlows/{authenticationEventsFlow-id}/graph.externalUsersSelfServiceSignUpEventsFlow/conditions + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ConditionsRequestBuilder 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}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/conditions{?%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[ConditionsRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthenticationConditions]: + """ + The conditions representing the context of the authentication request that will be used to decide whether the events policy will be invoked. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AuthenticationConditions] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.authentication_conditions import AuthenticationConditions + + return await self.request_adapter.send_async(request_info, AuthenticationConditions, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[ConditionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + The conditions representing the context of the authentication request that will be used to decide whether the events policy will be invoked. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> ConditionsRequestBuilder: + """ + 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: ConditionsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ConditionsRequestBuilder(self.request_adapter, raw_url) + + @property + def applications(self) -> ApplicationsRequestBuilder: + """ + The applications property + """ + from .applications.applications_request_builder import ApplicationsRequestBuilder + + return ApplicationsRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class ConditionsRequestBuilderGetQueryParameters(): + """ + The conditions representing the context of the authentication request that will be used to decide whether the events policy will be invoked. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ConditionsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[ConditionsRequestBuilder.ConditionsRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/graph_external_users_self_service_sign_up_events_flow_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/graph_external_users_self_service_sign_up_events_flow_request_builder.py index 4fb5959dd1a..e4d3a70788a 100644 --- a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/graph_external_users_self_service_sign_up_events_flow_request_builder.py +++ b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/graph_external_users_self_service_sign_up_events_flow_request_builder.py @@ -12,6 +12,7 @@ if TYPE_CHECKING: from .....models.external_users_self_service_sign_up_events_flow import ExternalUsersSelfServiceSignUpEventsFlow from .....models.o_data_errors.o_data_error import ODataError + from .conditions.conditions_request_builder import ConditionsRequestBuilder from .on_attribute_collection.on_attribute_collection_request_builder import OnAttributeCollectionRequestBuilder from .on_authentication_method_load_start.on_authentication_method_load_start_request_builder import OnAuthenticationMethodLoadStartRequestBuilder @@ -63,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphExterna request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphExternalUsersSelfServiceSignUpEventsFlowRequestBuilder: @@ -76,6 +77,15 @@ def with_url(self,raw_url: Optional[str] = None) -> GraphExternalUsersSelfServic raise TypeError("raw_url cannot be null.") return GraphExternalUsersSelfServiceSignUpEventsFlowRequestBuilder(self.request_adapter, raw_url) + @property + def conditions(self) -> ConditionsRequestBuilder: + """ + The conditions property + """ + from .conditions.conditions_request_builder import ConditionsRequestBuilder + + return ConditionsRequestBuilder(self.request_adapter, self.path_parameters) + @property def on_attribute_collection(self) -> OnAttributeCollectionRequestBuilder: """ diff --git a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_attribute_collection/graph_on_attribute_collection_external_users_self_service_sign_up/attributes/attributes_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_attribute_collection/graph_on_attribute_collection_external_users_self_service_sign_up/attributes/attributes_request_builder.py index 6e4c81d44ac..bd8c44cb166 100644 --- a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_attribute_collection/graph_on_attribute_collection_external_users_self_service_sign_up/attributes/attributes_request_builder.py +++ b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_attribute_collection/graph_on_attribute_collection_external_users_self_service_sign_up/attributes/attributes_request_builder.py @@ -14,6 +14,7 @@ from ........models.o_data_errors.o_data_error import ODataError from .count.count_request_builder import CountRequestBuilder from .item.identity_user_flow_attribute_item_request_builder import IdentityUserFlowAttributeItemRequestBuilder + from .ref.ref_request_builder import RefRequestBuilder class AttributesRequestBuilder(BaseRequestBuilder): """ @@ -30,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_identity_user_flow_attribute_id(self,identity_user_flow_attribute_id: str) -> IdentityUserFlowAttributeItemRequestBuilder: """ - Provides operations to manage the attributes property of the microsoft.graph.onAttributeCollectionExternalUsersSelfServiceSignUp entity. + Gets an item from the msgraph_beta.generated.identity.authenticationEventsFlows.item.graphExternalUsersSelfServiceSignUpEventsFlow.onAttributeCollection.graphOnAttributeCollectionExternalUsersSelfServiceSignUp.attributes.item collection param identity_user_flow_attribute_id: The unique identifier of identityUserFlowAttribute Returns: IdentityUserFlowAttributeItemRequestBuilder """ @@ -77,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[AttributesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttributesRequestBuilder: @@ -99,6 +100,15 @@ def count(self) -> CountRequestBuilder: return CountRequestBuilder(self.request_adapter, self.path_parameters) + @property + def ref(self) -> RefRequestBuilder: + """ + Provides operations to manage the collection of identityContainer entities. + """ + from .ref.ref_request_builder import RefRequestBuilder + + return RefRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class AttributesRequestBuilderGetQueryParameters(): """ diff --git a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_attribute_collection/graph_on_attribute_collection_external_users_self_service_sign_up/attributes/item/identity_user_flow_attribute_item_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_attribute_collection/graph_on_attribute_collection_external_users_self_service_sign_up/attributes/item/identity_user_flow_attribute_item_request_builder.py index 2f73e9c6f81..be4da68b394 100644 --- a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_attribute_collection/graph_on_attribute_collection_external_users_self_service_sign_up/attributes/item/identity_user_flow_attribute_item_request_builder.py +++ b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_attribute_collection/graph_on_attribute_collection_external_users_self_service_sign_up/attributes/item/identity_user_flow_attribute_item_request_builder.py @@ -1,21 +1,15 @@ from __future__ import annotations -from dataclasses import dataclass, field from kiota_abstractions.base_request_builder import BaseRequestBuilder 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, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .........models.identity_user_flow_attribute import IdentityUserFlowAttribute - from .........models.o_data_errors.o_data_error import ODataError + from .ref.ref_request_builder import RefRequestBuilder class IdentityUserFlowAttributeItemRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the attributes property of the microsoft.graph.onAttributeCollectionExternalUsersSelfServiceSignUp entity. + Builds and executes requests for operations under /identity/authenticationEventsFlows/{authenticationEventsFlow-id}/graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/{identityUserFlowAttribute-id} """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ @@ -24,93 +18,15 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/{identityUserFlowAttribute%2Did}{?%24select,%24expand}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/{identityUserFlowAttribute%2Did}", path_parameters) - async def get(self,request_configuration: Optional[IdentityUserFlowAttributeItemRequestBuilderGetRequestConfiguration] = None) -> Optional[IdentityUserFlowAttribute]: + @property + def ref(self) -> RefRequestBuilder: """ - Get attributes from identity - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[IdentityUserFlowAttribute] + Provides operations to manage the collection of identityContainer entities. """ - request_info = self.to_get_request_information( - request_configuration - ) - from .........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from .........models.identity_user_flow_attribute import IdentityUserFlowAttribute - - return await self.request_adapter.send_async(request_info, IdentityUserFlowAttribute, error_mapping) - - def to_get_request_information(self,request_configuration: Optional[IdentityUserFlowAttributeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: - """ - Get attributes from identity - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") - return request_info - - def with_url(self,raw_url: Optional[str] = None) -> IdentityUserFlowAttributeItemRequestBuilder: - """ - 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: IdentityUserFlowAttributeItemRequestBuilder - """ - if not raw_url: - raise TypeError("raw_url cannot be null.") - return IdentityUserFlowAttributeItemRequestBuilder(self.request_adapter, raw_url) - - @dataclass - class IdentityUserFlowAttributeItemRequestBuilderGetQueryParameters(): - """ - Get attributes from identity - """ - def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: - 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 - - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class IdentityUserFlowAttributeItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - # Request query parameters - query_parameters: Optional[IdentityUserFlowAttributeItemRequestBuilder.IdentityUserFlowAttributeItemRequestBuilderGetQueryParameters] = None + from .ref.ref_request_builder import RefRequestBuilder + return RefRequestBuilder(self.request_adapter, self.path_parameters) diff --git a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_attribute_collection/graph_on_attribute_collection_external_users_self_service_sign_up/attributes/item/ref/ref_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_attribute_collection/graph_on_attribute_collection_external_users_self_service_sign_up/attributes/item/ref/ref_request_builder.py new file mode 100644 index 00000000000..53b9ecc912a --- /dev/null +++ b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_attribute_collection/graph_on_attribute_collection_external_users_self_service_sign_up/attributes/item/ref/ref_request_builder.py @@ -0,0 +1,108 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..........models.o_data_errors.o_data_error import ODataError + +class RefRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the collection of identityContainer entities. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new RefRequestBuilder 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}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/{identityUserFlowAttribute%2Did}/$ref{?%40id*}", path_parameters) + + async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete ref of navigation property attributes for identity + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete ref of navigation property attributes for identity + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: + """ + 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: RefRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return RefRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RefRequestBuilderDeleteQueryParameters(): + """ + Delete ref of navigation property attributes for identity + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "id": + return "%40id" + return original_name + + # Delete Uri + id: Optional[str] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class RefRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[RefRequestBuilder.RefRequestBuilderDeleteQueryParameters] = None + + + diff --git a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_attribute_collection/graph_on_attribute_collection_external_users_self_service_sign_up/attributes/ref/ref_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_attribute_collection/graph_on_attribute_collection_external_users_self_service_sign_up/attributes/ref/ref_request_builder.py new file mode 100644 index 00000000000..6e5dbed1dc3 --- /dev/null +++ b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_attribute_collection/graph_on_attribute_collection_external_users_self_service_sign_up/attributes/ref/ref_request_builder.py @@ -0,0 +1,189 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .........models.o_data_errors.o_data_error import ODataError + from .........models.reference_create import ReferenceCreate + from .........models.string_collection_response import StringCollectionResponse + +class RefRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the collection of identityContainer entities. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new RefRequestBuilder 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}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", path_parameters) + + async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: + """ + Get ref of attributes from identity + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[StringCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.string_collection_response import StringCollectionResponse + + return await self.request_adapter.send_async(request_info, StringCollectionResponse, error_mapping) + + async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Create new navigation property ref to attributes for identity + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get ref of attributes from identity + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property ref to attributes for identity + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> RefRequestBuilder: + """ + 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: RefRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return RefRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RefRequestBuilderGetQueryParameters(): + """ + Get ref of attributes from identity + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = 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 + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class RefRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[RefRequestBuilder.RefRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class RefRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_attribute_collection/graph_on_attribute_collection_external_users_self_service_sign_up/graph_on_attribute_collection_external_users_self_service_sign_up_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_attribute_collection/graph_on_attribute_collection_external_users_self_service_sign_up/graph_on_attribute_collection_external_users_self_service_sign_up_request_builder.py index 323feb65c16..ab5f2b5fb77 100644 --- a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_attribute_collection/graph_on_attribute_collection_external_users_self_service_sign_up/graph_on_attribute_collection_external_users_self_service_sign_up_request_builder.py +++ b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_attribute_collection/graph_on_attribute_collection_external_users_self_service_sign_up/graph_on_attribute_collection_external_users_self_service_sign_up_request_builder.py @@ -58,7 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphOnAttri request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphOnAttributeCollectionExternalUsersSelfServiceSignUpRequestBuilder: diff --git a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_attribute_collection/on_attribute_collection_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_attribute_collection/on_attribute_collection_request_builder.py index 457933b367f..7afa3d8a0bc 100644 --- a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_attribute_collection/on_attribute_collection_request_builder.py +++ b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_attribute_collection/on_attribute_collection_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[OnAttributeC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> OnAttributeCollectionRequestBuilder: diff --git a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_authentication_method_load_start/graph_on_authentication_method_load_start_external_users_self_service_sign_up/graph_on_authentication_method_load_start_external_users_self_service_sign_up_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_authentication_method_load_start/graph_on_authentication_method_load_start_external_users_self_service_sign_up/graph_on_authentication_method_load_start_external_users_self_service_sign_up_request_builder.py index 0d57ce0c3bb..e0b623ea5da 100644 --- a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_authentication_method_load_start/graph_on_authentication_method_load_start_external_users_self_service_sign_up/graph_on_authentication_method_load_start_external_users_self_service_sign_up_request_builder.py +++ b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_authentication_method_load_start/graph_on_authentication_method_load_start_external_users_self_service_sign_up/graph_on_authentication_method_load_start_external_users_self_service_sign_up_request_builder.py @@ -58,7 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphOnAuthe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUpRequestBuilder: diff --git a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_authentication_method_load_start/graph_on_authentication_method_load_start_external_users_self_service_sign_up/identity_providers/identity_providers_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_authentication_method_load_start/graph_on_authentication_method_load_start_external_users_self_service_sign_up/identity_providers/identity_providers_request_builder.py index 14c4a6b08a2..638710fbbd8 100644 --- a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_authentication_method_load_start/graph_on_authentication_method_load_start_external_users_self_service_sign_up/identity_providers/identity_providers_request_builder.py +++ b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_authentication_method_load_start/graph_on_authentication_method_load_start_external_users_self_service_sign_up/identity_providers/identity_providers_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_identity_provider_base_id(self,identity_provider_base_id: str) -> IdentityProviderBaseItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.identity.authenticationEventsFlows.item.graphExternalUsersSelfServiceSignUpEventsFlow.onAuthenticationMethodLoadStart.graphOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp.identityProviders.item collection - param identity_provider_base_id: Unique identifier of the item + param identity_provider_base_id: The unique identifier of identityProviderBase Returns: IdentityProviderBaseItemRequestBuilder """ if not identity_provider_base_id: @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[IdentityProv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IdentityProvidersRequestBuilder: diff --git a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_authentication_method_load_start/graph_on_authentication_method_load_start_external_users_self_service_sign_up/identity_providers/item/ref/ref_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_authentication_method_load_start/graph_on_authentication_method_load_start_external_users_self_service_sign_up/identity_providers/item/ref/ref_request_builder.py index 35191ff7808..4954d46188a 100644 --- a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_authentication_method_load_start/graph_on_authentication_method_load_start_external_users_self_service_sign_up/identity_providers/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_authentication_method_load_start/graph_on_authentication_method_load_start_external_users_self_service_sign_up/identity_providers/item/ref/ref_request_builder.py @@ -58,7 +58,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: diff --git a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_authentication_method_load_start/graph_on_authentication_method_load_start_external_users_self_service_sign_up/identity_providers/ref/ref_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_authentication_method_load_start/graph_on_authentication_method_load_start_external_users_self_service_sign_up/identity_providers/ref/ref_request_builder.py index 29274b14359..f29e98cde8c 100644 --- a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_authentication_method_load_start/graph_on_authentication_method_load_start_external_users_self_service_sign_up/identity_providers/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_authentication_method_load_start/graph_on_authentication_method_load_start_external_users_self_service_sign_up/identity_providers/ref/ref_request_builder.py @@ -84,7 +84,7 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -103,7 +103,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_authentication_method_load_start/on_authentication_method_load_start_request_builder.py b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_authentication_method_load_start/on_authentication_method_load_start_request_builder.py index f09022c3b4a..6aa0ad7322b 100644 --- a/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_authentication_method_load_start/on_authentication_method_load_start_request_builder.py +++ b/msgraph_beta/generated/identity/authentication_events_flows/item/graph_external_users_self_service_sign_up_events_flow/on_authentication_method_load_start/on_authentication_method_load_start_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[OnAuthentica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> OnAuthenticationMethodLoadStartRequestBuilder: diff --git a/msgraph_beta/generated/identity/b2c_user_flows/b2c_user_flows_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/b2c_user_flows_request_builder.py index 33757428630..8e34450efc6 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/b2c_user_flows_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/b2c_user_flows_request_builder.py @@ -45,7 +45,7 @@ def by_b2c_identity_user_flow_id(self,b2c_identity_user_flow_id: str) -> B2cIden async def get(self,request_configuration: Optional[B2cUserFlowsRequestBuilderGetRequestConfiguration] = None) -> Optional[B2cIdentityUserFlowCollectionResponse]: """ - Retrieve a list of b2cIdentityUserFlow objects. This API is available in the following national cloud deployments. + Retrieve a list of b2cIdentityUserFlow objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[B2cIdentityUserFlowCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitycontainer-list-b2cuserflows?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[B2cUserFlowsRequestBuilderGet async def post(self,body: Optional[B2cIdentityUserFlow] = None, request_configuration: Optional[B2cUserFlowsRequestBuilderPostRequestConfiguration] = None) -> Optional[B2cIdentityUserFlow]: """ - Create a new b2cIdentityUserFlow object. This API is available in the following national cloud deployments. + Create a new b2cIdentityUserFlow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[B2cIdentityUserFlow] @@ -92,7 +92,7 @@ async def post(self,body: Optional[B2cIdentityUserFlow] = None, request_configur def to_get_request_information(self,request_configuration: Optional[B2cUserFlowsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of b2cIdentityUserFlow objects. This API is available in the following national cloud deployments. + Retrieve a list of b2cIdentityUserFlow objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[B2cUserFlows request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[B2cIdentityUserFlow] = None, request_configuration: Optional[B2cUserFlowsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new b2cIdentityUserFlow object. This API is available in the following national cloud deployments. + Create a new b2cIdentityUserFlow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[B2cIdentityUserFlow] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class B2cUserFlowsRequestBuilderGetQueryParameters(): """ - Retrieve a list of b2cIdentityUserFlow objects. This API is available in the following national cloud deployments. + Retrieve a list of b2cIdentityUserFlow objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/b2c_identity_user_flow_item_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/item/b2c_identity_user_flow_item_request_builder.py index d30e86e3d32..30bfae90851 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/b2c_identity_user_flow_item_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/b2c_identity_user_flow_item_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[B2cIdentityUserFlowItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a b2cIdentityUserFlow object. This API is available in the following national cloud deployments. + Delete a b2cIdentityUserFlow object. 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/b2cidentityuserflow-delete?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[B2cIdentityUserFlowItemReq async def get(self,request_configuration: Optional[B2cIdentityUserFlowItemRequestBuilderGetRequestConfiguration] = None) -> Optional[B2cIdentityUserFlow]: """ - Retrieve the properties and relationships of a b2cUserFlow object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a b2cUserFlow object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[B2cIdentityUserFlow] Find more info here: https://learn.microsoft.com/graph/api/b2cidentityuserflow-get?view=graph-rest-1.0 @@ -74,7 +74,7 @@ async def get(self,request_configuration: Optional[B2cIdentityUserFlowItemReques async def patch(self,body: Optional[B2cIdentityUserFlow] = None, request_configuration: Optional[B2cIdentityUserFlowItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[B2cIdentityUserFlow]: """ - Update the properties of a b2cIdentityUserFlow object. This API is available in the following national cloud deployments. + Update the properties of a b2cIdentityUserFlow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[B2cIdentityUserFlow] @@ -99,7 +99,7 @@ async def patch(self,body: Optional[B2cIdentityUserFlow] = None, request_configu def to_delete_request_information(self,request_configuration: Optional[B2cIdentityUserFlowItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a b2cIdentityUserFlow object. This API is available in the following national cloud deployments. + Delete a b2cIdentityUserFlow object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -110,12 +110,12 @@ def to_delete_request_information(self,request_configuration: Optional[B2cIdenti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[B2cIdentityUserFlowItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a b2cUserFlow object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a b2cUserFlow object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -127,12 +127,12 @@ def to_get_request_information(self,request_configuration: Optional[B2cIdentityU request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[B2cIdentityUserFlow] = None, request_configuration: Optional[B2cIdentityUserFlowItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a b2cIdentityUserFlow object. This API is available in the following national cloud deployments. + Update the properties of a b2cIdentityUserFlow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[B2cIdentityUserFlow] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -209,7 +209,7 @@ class B2cIdentityUserFlowItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class B2cIdentityUserFlowItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a b2cUserFlow object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a b2cUserFlow object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/identity_providers_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/identity_providers_request_builder.py index c2e416c280a..f83e8bae482 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/identity_providers_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/identity_providers_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_identity_provider_id(self,identity_provider_id: str) -> IdentityProviderItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.identity.b2cUserFlows.item.identityProviders.item collection - param identity_provider_id: Unique identifier of the item + param identity_provider_id: The unique identifier of identityProvider Returns: IdentityProviderItemRequestBuilder """ if not identity_provider_id: @@ -45,7 +45,7 @@ def by_identity_provider_id(self,identity_provider_id: str) -> IdentityProviderI async def get(self,request_configuration: Optional[IdentityProvidersRequestBuilderGetRequestConfiguration] = None) -> Optional[IdentityProviderCollectionResponse]: """ - Get the identity providers in a b2cIdentityUserFlow object. This API is available in the following national cloud deployments. + Get the identity providers in a b2cIdentityUserFlow object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityProviderCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/b2cidentityuserflow-list-identityproviders?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[IdentityProvidersRequestBuild def to_get_request_information(self,request_configuration: Optional[IdentityProvidersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the identity providers in a b2cIdentityUserFlow object. This API is available in the following national cloud deployments. + Get the identity providers in a b2cIdentityUserFlow object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[IdentityProv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IdentityProvidersRequestBuilder: @@ -113,7 +113,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class IdentityProvidersRequestBuilderGetQueryParameters(): """ - Get the identity providers in a b2cIdentityUserFlow object. This API is available in the following national cloud deployments. + Get the identity providers in a b2cIdentityUserFlow object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/item/ref/ref_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/item/ref/ref_request_builder.py index a4fe349e797..558a3fb2191 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/item/ref/ref_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an identity provider from a b2cIdentityUserFlow object. For more information about identity providers available for user flows, see the identityProviders API reference. This API is available in the following national cloud deployments. + Delete an identity provider from a b2cIdentityUserFlow object. For more information about identity providers available for user flows, see the identityProviders API reference. 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/b2cidentityuserflow-delete-identityproviders?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an identity provider from a b2cIdentityUserFlow object. For more information about identity providers available for user flows, see the identityProviders API reference. This API is available in the following national cloud deployments. + Delete an identity provider from a b2cIdentityUserFlow object. For more information about identity providers available for user flows, see the identityProviders API reference. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Delete an identity provider from a b2cIdentityUserFlow object. For more information about identity providers available for user flows, see the identityProviders API reference. This API is available in the following national cloud deployments. + Delete an identity provider from a b2cIdentityUserFlow object. For more information about identity providers available for user flows, see the identityProviders API reference. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/ref/ref_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/ref/ref_request_builder.py index 85bba394fd4..00423347df2 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/identity_providers/ref/ref_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - Get the identity providers in a b2cIdentityUserFlow object. This API is available in the following national cloud deployments. + Get the identity providers in a b2cIdentityUserFlow object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/b2cidentityuserflow-list-identityproviders?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add identity providers in a b2cIdentityUserFlow object. This API is available in the following national cloud deployments. + Add identity providers in a b2cIdentityUserFlow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -74,7 +74,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the identity providers in a b2cIdentityUserFlow object. This API is available in the following national cloud deployments. + Get the identity providers in a b2cIdentityUserFlow object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add identity providers in a b2cIdentityUserFlow object. This API is available in the following national cloud deployments. + Add identity providers in a b2cIdentityUserFlow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -122,7 +122,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderGetQueryParameters(): """ - Get the identity providers in a b2cIdentityUserFlow object. This API is available in the following national cloud deployments. + Get the identity providers in a b2cIdentityUserFlow object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/default_pages/default_pages_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/default_pages/default_pages_request_builder.py index 9d5f22ee5c5..0504bec7935 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/default_pages/default_pages_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/default_pages/default_pages_request_builder.py @@ -45,7 +45,7 @@ def by_user_flow_language_page_id(self,user_flow_language_page_id: str) -> UserF async def get(self,request_configuration: Optional[DefaultPagesRequestBuilderGetRequestConfiguration] = None) -> Optional[UserFlowLanguagePageCollectionResponse]: """ - Get the userFlowLanguagePage resources from the defaultPages navigation property. These contain the values shown to the user in a default user journey of a user flow. This API is available in the following national cloud deployments. + Get the userFlowLanguagePage resources from the defaultPages navigation property. These contain the values shown to the user in a default user journey of a user flow. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserFlowLanguagePageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/userflowlanguageconfiguration-list-defaultpages?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[UserFlowLanguagePage] = None, request_configu def to_get_request_information(self,request_configuration: Optional[DefaultPagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the userFlowLanguagePage resources from the defaultPages navigation property. These contain the values shown to the user in a default user journey of a user flow. This API is available in the following national cloud deployments. + Get the userFlowLanguagePage resources from the defaultPages navigation property. These contain the values shown to the user in a default user journey of a user flow. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[DefaultPages request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserFlowLanguagePage] = None, request_configuration: Optional[DefaultPagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UserFlowLanguagePage] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DefaultPagesRequestBuilderGetQueryParameters(): """ - Get the userFlowLanguagePage resources from the defaultPages navigation property. These contain the values shown to the user in a default user journey of a user flow. This API is available in the following national cloud deployments. + Get the userFlowLanguagePage resources from the defaultPages navigation property. These contain the values shown to the user in a default user journey of a user flow. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/default_pages/item/user_flow_language_page_item_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/default_pages/item/user_flow_language_page_item_request_builder.py index e0f16c03f69..02f48e06de9 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/default_pages/item/user_flow_language_page_item_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/default_pages/item/user_flow_language_page_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserFlowL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserFlowLanguagePageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[UserFlowLang request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserFlowLanguagePage] = None, request_configuration: Optional[UserFlowLanguagePageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[UserFlowLanguagePage] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/default_pages/item/value/content_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/default_pages/item/value/content_request_builder.py index 9bbd4dd6cbc..8863475c42f 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/default_pages/item/value/content_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/default_pages/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/overrides_pages/item/user_flow_language_page_item_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/overrides_pages/item/user_flow_language_page_item_request_builder.py index 4163d5b739a..e066251a228 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/overrides_pages/item/user_flow_language_page_item_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/overrides_pages/item/user_flow_language_page_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserFlowL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserFlowLanguagePageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[UserFlowLang request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserFlowLanguagePage] = None, request_configuration: Optional[UserFlowLanguagePageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[UserFlowLanguagePage] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/overrides_pages/item/value/content_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/overrides_pages/item/value/content_request_builder.py index 63f4a0477be..22afdf5dd06 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/overrides_pages/item/value/content_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/overrides_pages/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/overrides_pages/overrides_pages_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/overrides_pages/overrides_pages_request_builder.py index d5b4e3d9d15..7bf7819f532 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/overrides_pages/overrides_pages_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/overrides_pages/overrides_pages_request_builder.py @@ -45,7 +45,7 @@ def by_user_flow_language_page_id(self,user_flow_language_page_id: str) -> UserF async def get(self,request_configuration: Optional[OverridesPagesRequestBuilderGetRequestConfiguration] = None) -> Optional[UserFlowLanguagePageCollectionResponse]: """ - Get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. This API is available in the following national cloud deployments. + Get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserFlowLanguagePageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/userflowlanguageconfiguration-list-overridespages?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[UserFlowLanguagePage] = None, request_configu def to_get_request_information(self,request_configuration: Optional[OverridesPagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. This API is available in the following national cloud deployments. + Get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[OverridesPag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserFlowLanguagePage] = None, request_configuration: Optional[OverridesPagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UserFlowLanguagePage] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OverridesPagesRequestBuilderGetQueryParameters(): """ - Get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. This API is available in the following national cloud deployments. + Get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/user_flow_language_configuration_item_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/user_flow_language_configuration_item_request_builder.py index a400fe66cad..f035fb02231 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/user_flow_language_configuration_item_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/languages/item/user_flow_language_configuration_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[UserFlowLanguageConfigurationItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes a userFlowLanguageConfiguration object from a Azure AD B2C user flow. Note: You cannot delete languages from an Microsoft Entra user flow. This API is available in the following national cloud deployments. + Deletes a userFlowLanguageConfiguration object from a Azure AD B2C user flow. Note: You cannot delete languages from an Microsoft Entra user flow. 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/userflowlanguageconfiguration-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[UserFlowLanguageConfigurat async def get(self,request_configuration: Optional[UserFlowLanguageConfigurationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UserFlowLanguageConfiguration]: """ - Read the properties and relationships of a userFlowLanguageConfiguration object. These objects represent a language available in a user flow. Note: To retrieve a language supported for customization, you must first enable language customization on your Azure AD B2C user flow. For more information, see Update b2cIdentityUserFlow. Language customization is enabled by default in Microsoft Entra user flows. This API is available in the following national cloud deployments. + Read the properties and relationships of a userFlowLanguageConfiguration object. These objects represent a language available in a user flow. Note: To retrieve a language supported for customization, you must first enable language customization on your Azure AD B2C user flow. For more information, see Update b2cIdentityUserFlow. Language customization is enabled by default in Microsoft Entra user flows. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserFlowLanguageConfiguration] Find more info here: https://learn.microsoft.com/graph/api/userflowlanguageconfiguration-get?view=graph-rest-1.0 @@ -97,7 +97,7 @@ async def patch(self,body: Optional[UserFlowLanguageConfiguration] = None, reque def to_delete_request_information(self,request_configuration: Optional[UserFlowLanguageConfigurationItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes a userFlowLanguageConfiguration object from a Azure AD B2C user flow. Note: You cannot delete languages from an Microsoft Entra user flow. This API is available in the following national cloud deployments. + Deletes a userFlowLanguageConfiguration object from a Azure AD B2C user flow. Note: You cannot delete languages from an Microsoft Entra user flow. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[UserFlowL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserFlowLanguageConfigurationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a userFlowLanguageConfiguration object. These objects represent a language available in a user flow. Note: To retrieve a language supported for customization, you must first enable language customization on your Azure AD B2C user flow. For more information, see Update b2cIdentityUserFlow. Language customization is enabled by default in Microsoft Entra user flows. This API is available in the following national cloud deployments. + Read the properties and relationships of a userFlowLanguageConfiguration object. These objects represent a language available in a user flow. Note: To retrieve a language supported for customization, you must first enable language customization on your Azure AD B2C user flow. For more information, see Update b2cIdentityUserFlow. Language customization is enabled by default in Microsoft Entra user flows. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[UserFlowLang request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserFlowLanguageConfiguration] = None, request_configuration: Optional[UserFlowLanguageConfigurationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[UserFlowLanguageConfigurati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class UserFlowLanguageConfigurationItemRequestBuilderDeleteRequestConfiguration( @dataclass class UserFlowLanguageConfigurationItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a userFlowLanguageConfiguration object. These objects represent a language available in a user flow. Note: To retrieve a language supported for customization, you must first enable language customization on your Azure AD B2C user flow. For more information, see Update b2cIdentityUserFlow. Language customization is enabled by default in Microsoft Entra user flows. This API is available in the following national cloud deployments. + Read the properties and relationships of a userFlowLanguageConfiguration object. These objects represent a language available in a user flow. Note: To retrieve a language supported for customization, you must first enable language customization on your Azure AD B2C user flow. For more information, see Update b2cIdentityUserFlow. Language customization is enabled by default in Microsoft Entra user flows. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/languages/languages_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/item/languages/languages_request_builder.py index 2028aec96f1..9b3ac3c1e62 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/languages/languages_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/languages/languages_request_builder.py @@ -45,7 +45,7 @@ def by_user_flow_language_configuration_id(self,user_flow_language_configuration async def get(self,request_configuration: Optional[LanguagesRequestBuilderGetRequestConfiguration] = None) -> Optional[UserFlowLanguageConfigurationCollectionResponse]: """ - Retrieve a list of languages supported for customization in an Azure AD B2C user flow. Note: To retrieve a list of languages supported for customization, you must first enable language customization on your Azure AD B2C user flow. For more information, see Update b2cIdentityUserFlow. This API is available in the following national cloud deployments. + Retrieve a list of languages supported for customization in an Azure AD B2C user flow. Note: To retrieve a list of languages supported for customization, you must first enable language customization on your Azure AD B2C user flow. For more information, see Update b2cIdentityUserFlow. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserFlowLanguageConfigurationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/b2cidentityuserflow-list-languages?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[UserFlowLanguageConfiguration] = None, reques def to_get_request_information(self,request_configuration: Optional[LanguagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of languages supported for customization in an Azure AD B2C user flow. Note: To retrieve a list of languages supported for customization, you must first enable language customization on your Azure AD B2C user flow. For more information, see Update b2cIdentityUserFlow. This API is available in the following national cloud deployments. + Retrieve a list of languages supported for customization in an Azure AD B2C user flow. Note: To retrieve a list of languages supported for customization, you must first enable language customization on your Azure AD B2C user flow. For more information, see Update b2cIdentityUserFlow. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[LanguagesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserFlowLanguageConfiguration] = None, request_configuration: Optional[LanguagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UserFlowLanguageConfiguratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class LanguagesRequestBuilderGetQueryParameters(): """ - Retrieve a list of languages supported for customization in an Azure AD B2C user flow. Note: To retrieve a list of languages supported for customization, you must first enable language customization on your Azure AD B2C user flow. For more information, see Update b2cIdentityUserFlow. This API is available in the following national cloud deployments. + Retrieve a list of languages supported for customization in an Azure AD B2C user flow. Note: To retrieve a list of languages supported for customization, you must first enable language customization on your Azure AD B2C user flow. For more information, see Update b2cIdentityUserFlow. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/user_attribute_assignments/get_order/get_order_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/item/user_attribute_assignments/get_order/get_order_request_builder.py index f6e84598e63..74597a32a1f 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/user_attribute_assignments/get_order/get_order_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/user_attribute_assignments/get_order/get_order_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetOrderRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetOrderRequestBuilder: diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/user_attribute_assignments/item/identity_user_flow_attribute_assignment_item_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/item/user_attribute_assignments/item/identity_user_flow_attribute_assignment_item_request_builder.py index 13dc981cead..50136597161 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/user_attribute_assignments/item/identity_user_flow_attribute_assignment_item_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/user_attribute_assignments/item/identity_user_flow_attribute_assignment_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[IdentityUserFlowAttributeAssignmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an identityUserFlowAttributeAssignment object. This API is available in the following national cloud deployments. + Delete an identityUserFlowAttributeAssignment object. 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/identityuserflowattributeassignment-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[IdentityUserFlowAttributeA async def get(self,request_configuration: Optional[IdentityUserFlowAttributeAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[IdentityUserFlowAttributeAssignment]: """ - Read the properties and relationships of an identityUserFlowAttributeAssignment object. This API is available in the following national cloud deployments. + Read the properties and relationships of an identityUserFlowAttributeAssignment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityUserFlowAttributeAssignment] Find more info here: https://learn.microsoft.com/graph/api/identityuserflowattributeassignment-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[IdentityUserFlowAttributeAssi async def patch(self,body: Optional[IdentityUserFlowAttributeAssignment] = None, request_configuration: Optional[IdentityUserFlowAttributeAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[IdentityUserFlowAttributeAssignment]: """ - Update the properties of a identityUserFlowAttributeAssignment object. This API is available in the following national cloud deployments. + Update the properties of a identityUserFlowAttributeAssignment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityUserFlowAttributeAssignment] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[IdentityUserFlowAttributeAssignment] = None, def to_delete_request_information(self,request_configuration: Optional[IdentityUserFlowAttributeAssignmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an identityUserFlowAttributeAssignment object. This API is available in the following national cloud deployments. + Delete an identityUserFlowAttributeAssignment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[IdentityU request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[IdentityUserFlowAttributeAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an identityUserFlowAttributeAssignment object. This API is available in the following national cloud deployments. + Read the properties and relationships of an identityUserFlowAttributeAssignment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[IdentityUser request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[IdentityUserFlowAttributeAssignment] = None, request_configuration: Optional[IdentityUserFlowAttributeAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a identityUserFlowAttributeAssignment object. This API is available in the following national cloud deployments. + Update the properties of a identityUserFlowAttributeAssignment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[IdentityUserFlowAttributeAs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class IdentityUserFlowAttributeAssignmentItemRequestBuilderDeleteRequestConfigur @dataclass class IdentityUserFlowAttributeAssignmentItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an identityUserFlowAttributeAssignment object. This API is available in the following national cloud deployments. + Read the properties and relationships of an identityUserFlowAttributeAssignment object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/user_attribute_assignments/item/user_attribute/user_attribute_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/item/user_attribute_assignments/item/user_attribute/user_attribute_request_builder.py index 39d7ce13a9a..8b7af40047c 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/user_attribute_assignments/item/user_attribute/user_attribute_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/user_attribute_assignments/item/user_attribute/user_attribute_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[UserAttribut request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserAttributeRequestBuilder: diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/user_attribute_assignments/set_order/set_order_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/item/user_attribute_assignments/set_order/set_order_request_builder.py index 76bded821ad..fef51ea1c7b 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/user_attribute_assignments/set_order/set_order_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/user_attribute_assignments/set_order/set_order_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SetOrderPostRequestBody] = None, request_configuration: Optional[SetOrderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Set the order of identityUserFlowAttributeAssignments being collected within a user flow. This API is available in the following national cloud deployments. + Set the order of identityUserFlowAttributeAssignments being collected within a user flow. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SetOrderPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[SetOrderPostRequestBody] = None, request_configuration: Optional[SetOrderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Set the order of identityUserFlowAttributeAssignments being collected within a user flow. This API is available in the following national cloud deployments. + Set the order of identityUserFlowAttributeAssignments being collected within a user flow. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SetOrderPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/user_attribute_assignments/user_attribute_assignments_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/item/user_attribute_assignments/user_attribute_assignments_request_builder.py index fff6a5dfeb4..13432b6274c 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/user_attribute_assignments/user_attribute_assignments_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/user_attribute_assignments/user_attribute_assignments_request_builder.py @@ -47,7 +47,7 @@ def by_identity_user_flow_attribute_assignment_id(self,identity_user_flow_attrib async def get(self,request_configuration: Optional[UserAttributeAssignmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[IdentityUserFlowAttributeAssignmentCollectionResponse]: """ - Get the identityUserFlowAttributeAssignment resources from the userAttributeAssignments navigation property in a b2cIdentityUserFlow. This API is available in the following national cloud deployments. + Get the identityUserFlowAttributeAssignment resources from the userAttributeAssignments navigation property in a b2cIdentityUserFlow. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityUserFlowAttributeAssignmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/b2cidentityuserflow-list-userattributeassignments?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[UserAttributeAssignmentsReque async def post(self,body: Optional[IdentityUserFlowAttributeAssignment] = None, request_configuration: Optional[UserAttributeAssignmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[IdentityUserFlowAttributeAssignment]: """ - Create a new identityUserFlowAttributeAssignment object in a b2cIdentityUserFlow. This API is available in the following national cloud deployments. + Create a new identityUserFlowAttributeAssignment object in a b2cIdentityUserFlow. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityUserFlowAttributeAssignment] @@ -94,7 +94,7 @@ async def post(self,body: Optional[IdentityUserFlowAttributeAssignment] = None, def to_get_request_information(self,request_configuration: Optional[UserAttributeAssignmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the identityUserFlowAttributeAssignment resources from the userAttributeAssignments navigation property in a b2cIdentityUserFlow. This API is available in the following national cloud deployments. + Get the identityUserFlowAttributeAssignment resources from the userAttributeAssignments navigation property in a b2cIdentityUserFlow. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_get_request_information(self,request_configuration: Optional[UserAttribut request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[IdentityUserFlowAttributeAssignment] = None, request_configuration: Optional[UserAttributeAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new identityUserFlowAttributeAssignment object in a b2cIdentityUserFlow. This API is available in the following national cloud deployments. + Create a new identityUserFlowAttributeAssignment object in a b2cIdentityUserFlow. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -125,7 +125,7 @@ def to_post_request_information(self,body: Optional[IdentityUserFlowAttributeAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ def set_order(self) -> SetOrderRequestBuilder: @dataclass class UserAttributeAssignmentsRequestBuilderGetQueryParameters(): """ - Get the identityUserFlowAttributeAssignment resources from the userAttributeAssignments navigation property in a b2cIdentityUserFlow. This API is available in the following national cloud deployments. + Get the identityUserFlowAttributeAssignment resources from the userAttributeAssignments navigation property in a b2cIdentityUserFlow. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/user_flow_identity_providers/item/identity_provider_base_item_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/item/user_flow_identity_providers/item/identity_provider_base_item_request_builder.py index 0f9b8a0bbcd..b9d24023a0d 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/user_flow_identity_providers/item/identity_provider_base_item_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/user_flow_identity_providers/item/identity_provider_base_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[IdentityProv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IdentityProviderBaseItemRequestBuilder: diff --git a/msgraph_beta/generated/identity/b2c_user_flows/item/user_flow_identity_providers/user_flow_identity_providers_request_builder.py b/msgraph_beta/generated/identity/b2c_user_flows/item/user_flow_identity_providers/user_flow_identity_providers_request_builder.py index 28b25621cfd..04bee861e50 100644 --- a/msgraph_beta/generated/identity/b2c_user_flows/item/user_flow_identity_providers/user_flow_identity_providers_request_builder.py +++ b/msgraph_beta/generated/identity/b2c_user_flows/item/user_flow_identity_providers/user_flow_identity_providers_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[UserFlowIden request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserFlowIdentityProvidersRequestBuilder: diff --git a/msgraph_beta/generated/identity/b2x_user_flows/b2x_user_flows_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/b2x_user_flows_request_builder.py index 5bd35eb849e..1fecdf07f7a 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/b2x_user_flows_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/b2x_user_flows_request_builder.py @@ -45,7 +45,7 @@ def by_b2x_identity_user_flow_id(self,b2x_identity_user_flow_id: str) -> B2xIden async def get(self,request_configuration: Optional[B2xUserFlowsRequestBuilderGetRequestConfiguration] = None) -> Optional[B2xIdentityUserFlowCollectionResponse]: """ - Retrieve a list of b2xIdentityUserFlow objects. This API is available in the following national cloud deployments. + Retrieve a list of b2xIdentityUserFlow objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[B2xIdentityUserFlowCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitycontainer-list-b2xuserflows?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[B2xUserFlowsRequestBuilderGet async def post(self,body: Optional[B2xIdentityUserFlow] = None, request_configuration: Optional[B2xUserFlowsRequestBuilderPostRequestConfiguration] = None) -> Optional[B2xIdentityUserFlow]: """ - Create a new b2xIdentityUserFlow object. This API is available in the following national cloud deployments. + Create a new b2xIdentityUserFlow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[B2xIdentityUserFlow] @@ -92,7 +92,7 @@ async def post(self,body: Optional[B2xIdentityUserFlow] = None, request_configur def to_get_request_information(self,request_configuration: Optional[B2xUserFlowsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of b2xIdentityUserFlow objects. This API is available in the following national cloud deployments. + Retrieve a list of b2xIdentityUserFlow objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[B2xUserFlows request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[B2xIdentityUserFlow] = None, request_configuration: Optional[B2xUserFlowsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new b2xIdentityUserFlow object. This API is available in the following national cloud deployments. + Create a new b2xIdentityUserFlow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[B2xIdentityUserFlow] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class B2xUserFlowsRequestBuilderGetQueryParameters(): """ - Retrieve a list of b2xIdentityUserFlow objects. This API is available in the following national cloud deployments. + Retrieve a list of b2xIdentityUserFlow objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/api_connector_configuration_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/api_connector_configuration_request_builder.py index 95983ed2e00..aef3e7b1bdc 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/api_connector_configuration_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/api_connector_configuration_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[ApiConnector request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ApiConnectorConfigurationRequestBuilder: diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_attribute_collection/post_attribute_collection_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_attribute_collection/post_attribute_collection_request_builder.py index 8be5aeee823..9d86c4f5d08 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_attribute_collection/post_attribute_collection_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_attribute_collection/post_attribute_collection_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[PostAttri request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PostAttributeCollectionRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[PostAttribut request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[IdentityApiConnector] = None, request_configuration: Optional[PostAttributeCollectionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[IdentityApiConnector] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_attribute_collection/ref/ref_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_attribute_collection/ref/ref_request_builder.py index a2e8d08050a..860a128d5a1 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_attribute_collection/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_attribute_collection/ref/ref_request_builder.py @@ -99,7 +99,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_put_request_information(self,body: Optional[ReferenceUpdate] = None, request_configuration: Optional[RefRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -134,7 +134,7 @@ def to_put_request_information(self,body: Optional[ReferenceUpdate] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_attribute_collection/upload_client_certificate/upload_client_certificate_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_attribute_collection/upload_client_certificate/upload_client_certificate_request_builder.py index 9ce8a0b607e..65476b2897f 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_attribute_collection/upload_client_certificate/upload_client_certificate_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_attribute_collection/upload_client_certificate/upload_client_certificate_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UploadClientCertificatePostRequestBody] = None, request_configuration: Optional[UploadClientCertificateRequestBuilderPostRequestConfiguration] = None) -> Optional[IdentityApiConnector]: """ - Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. This API is available in the following national cloud deployments. + Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityApiConnector] @@ -54,7 +54,7 @@ async def post(self,body: Optional[UploadClientCertificatePostRequestBody] = Non def to_post_request_information(self,body: Optional[UploadClientCertificatePostRequestBody] = None, request_configuration: Optional[UploadClientCertificateRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. This API is available in the following national cloud deployments. + Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[UploadClientCertificatePostR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_federation_signup/post_federation_signup_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_federation_signup/post_federation_signup_request_builder.py index e35e7c6805b..960b028a743 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_federation_signup/post_federation_signup_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_federation_signup/post_federation_signup_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[PostFeder request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PostFederationSignupRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[PostFederati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[IdentityApiConnector] = None, request_configuration: Optional[PostFederationSignupRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[IdentityApiConnector] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_federation_signup/ref/ref_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_federation_signup/ref/ref_request_builder.py index 209528d8974..48a4ad6b764 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_federation_signup/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_federation_signup/ref/ref_request_builder.py @@ -99,7 +99,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_put_request_information(self,body: Optional[ReferenceUpdate] = None, request_configuration: Optional[RefRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -134,7 +134,7 @@ def to_put_request_information(self,body: Optional[ReferenceUpdate] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_federation_signup/upload_client_certificate/upload_client_certificate_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_federation_signup/upload_client_certificate/upload_client_certificate_request_builder.py index e4abdbfc803..ab2216b40b0 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_federation_signup/upload_client_certificate/upload_client_certificate_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/post_federation_signup/upload_client_certificate/upload_client_certificate_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UploadClientCertificatePostRequestBody] = None, request_configuration: Optional[UploadClientCertificateRequestBuilderPostRequestConfiguration] = None) -> Optional[IdentityApiConnector]: """ - Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. This API is available in the following national cloud deployments. + Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityApiConnector] @@ -54,7 +54,7 @@ async def post(self,body: Optional[UploadClientCertificatePostRequestBody] = Non def to_post_request_information(self,body: Optional[UploadClientCertificatePostRequestBody] = None, request_configuration: Optional[UploadClientCertificateRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. This API is available in the following national cloud deployments. + Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[UploadClientCertificatePostR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/pre_token_issuance/pre_token_issuance_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/pre_token_issuance/pre_token_issuance_request_builder.py index f55c3059c09..d93bcd2292b 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/pre_token_issuance/pre_token_issuance_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/pre_token_issuance/pre_token_issuance_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PreTokenI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PreTokenIssuanceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PreTokenIssu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[IdentityApiConnector] = None, request_configuration: Optional[PreTokenIssuanceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[IdentityApiConnector] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/pre_token_issuance/upload_client_certificate/upload_client_certificate_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/pre_token_issuance/upload_client_certificate/upload_client_certificate_request_builder.py index 98fc6f43d4a..e5f002357ad 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/pre_token_issuance/upload_client_certificate/upload_client_certificate_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/api_connector_configuration/pre_token_issuance/upload_client_certificate/upload_client_certificate_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UploadClientCertificatePostRequestBody] = None, request_configuration: Optional[UploadClientCertificateRequestBuilderPostRequestConfiguration] = None) -> Optional[IdentityApiConnector]: """ - Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. This API is available in the following national cloud deployments. + Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityApiConnector] @@ -54,7 +54,7 @@ async def post(self,body: Optional[UploadClientCertificatePostRequestBody] = Non def to_post_request_information(self,body: Optional[UploadClientCertificatePostRequestBody] = None, request_configuration: Optional[UploadClientCertificateRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. This API is available in the following national cloud deployments. + Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[UploadClientCertificatePostR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/b2x_identity_user_flow_item_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/b2x_identity_user_flow_item_request_builder.py index 25d30014f6c..ceeb52bdff1 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/b2x_identity_user_flow_item_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/b2x_identity_user_flow_item_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[B2xIdentityUserFlowItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a b2xIdentityUserFlow object. This API is available in the following national cloud deployments. + Delete a b2xIdentityUserFlow object. 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/b2xidentityuserflow-delete?view=graph-rest-1.0 @@ -53,7 +53,7 @@ async def delete(self,request_configuration: Optional[B2xIdentityUserFlowItemReq async def get(self,request_configuration: Optional[B2xIdentityUserFlowItemRequestBuilderGetRequestConfiguration] = None) -> Optional[B2xIdentityUserFlow]: """ - Retrieve the properties and relationships of a b2xIdentityUserFlow object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a b2xIdentityUserFlow object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[B2xIdentityUserFlow] Find more info here: https://learn.microsoft.com/graph/api/b2xidentityuserflow-get?view=graph-rest-1.0 @@ -99,7 +99,7 @@ async def patch(self,body: Optional[B2xIdentityUserFlow] = None, request_configu def to_delete_request_information(self,request_configuration: Optional[B2xIdentityUserFlowItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a b2xIdentityUserFlow object. This API is available in the following national cloud deployments. + Delete a b2xIdentityUserFlow object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -110,12 +110,12 @@ def to_delete_request_information(self,request_configuration: Optional[B2xIdenti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[B2xIdentityUserFlowItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a b2xIdentityUserFlow object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a b2xIdentityUserFlow object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[B2xIdentityU request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[B2xIdentityUserFlow] = None, request_configuration: Optional[B2xIdentityUserFlowItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[B2xIdentityUserFlow] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -218,7 +218,7 @@ class B2xIdentityUserFlowItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class B2xIdentityUserFlowItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a b2xIdentityUserFlow object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a b2xIdentityUserFlow object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/identity_providers/identity_providers_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/identity_providers/identity_providers_request_builder.py index 325e9c48b3c..4cf568fdcb0 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/identity_providers/identity_providers_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/identity_providers/identity_providers_request_builder.py @@ -44,7 +44,7 @@ def by_identity_provider_id(self,identity_provider_id: str) -> IdentityProviderI async def get(self,request_configuration: Optional[IdentityProvidersRequestBuilderGetRequestConfiguration] = None) -> Optional[IdentityProviderCollectionResponse]: """ - Get the identity providers in a b2xIdentityUserFlow object. This API is available in the following national cloud deployments. + Get the identity providers in a b2xIdentityUserFlow object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityProviderCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/b2xidentityuserflow-list-identityproviders?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[IdentityProvidersRequestBuild def to_get_request_information(self,request_configuration: Optional[IdentityProvidersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the identity providers in a b2xIdentityUserFlow object. This API is available in the following national cloud deployments. + Get the identity providers in a b2xIdentityUserFlow object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[IdentityProv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IdentityProvidersRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class IdentityProvidersRequestBuilderGetQueryParameters(): """ - Get the identity providers in a b2xIdentityUserFlow object. This API is available in the following national cloud deployments. + Get the identity providers in a b2xIdentityUserFlow object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/identity_providers/item/identity_provider_item_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/identity_providers/item/identity_provider_item_request_builder.py index 89103efe405..57b52b5a687 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/identity_providers/item/identity_provider_item_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/identity_providers/item/identity_provider_item_request_builder.py @@ -80,7 +80,7 @@ def to_delete_request_information(self,request_configuration: Optional[IdentityP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[IdentityProviderItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -97,7 +97,7 @@ def to_get_request_information(self,request_configuration: Optional[IdentityProv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IdentityProviderItemRequestBuilder: diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/default_pages/default_pages_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/default_pages/default_pages_request_builder.py index 9bce48b1f7a..bad26257cf9 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/default_pages/default_pages_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/default_pages/default_pages_request_builder.py @@ -45,7 +45,7 @@ def by_user_flow_language_page_id(self,user_flow_language_page_id: str) -> UserF async def get(self,request_configuration: Optional[DefaultPagesRequestBuilderGetRequestConfiguration] = None) -> Optional[UserFlowLanguagePageCollectionResponse]: """ - Get the userFlowLanguagePage resources from the defaultPages navigation property. These contain the values shown to the user in a default user journey of a user flow. This API is available in the following national cloud deployments. + Get the userFlowLanguagePage resources from the defaultPages navigation property. These contain the values shown to the user in a default user journey of a user flow. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserFlowLanguagePageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/userflowlanguageconfiguration-list-defaultpages?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[UserFlowLanguagePage] = None, request_configu def to_get_request_information(self,request_configuration: Optional[DefaultPagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the userFlowLanguagePage resources from the defaultPages navigation property. These contain the values shown to the user in a default user journey of a user flow. This API is available in the following national cloud deployments. + Get the userFlowLanguagePage resources from the defaultPages navigation property. These contain the values shown to the user in a default user journey of a user flow. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[DefaultPages request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserFlowLanguagePage] = None, request_configuration: Optional[DefaultPagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UserFlowLanguagePage] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DefaultPagesRequestBuilderGetQueryParameters(): """ - Get the userFlowLanguagePage resources from the defaultPages navigation property. These contain the values shown to the user in a default user journey of a user flow. This API is available in the following national cloud deployments. + Get the userFlowLanguagePage resources from the defaultPages navigation property. These contain the values shown to the user in a default user journey of a user flow. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/default_pages/item/user_flow_language_page_item_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/default_pages/item/user_flow_language_page_item_request_builder.py index 8436e3cc00f..437659fed9b 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/default_pages/item/user_flow_language_page_item_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/default_pages/item/user_flow_language_page_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserFlowL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserFlowLanguagePageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[UserFlowLang request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserFlowLanguagePage] = None, request_configuration: Optional[UserFlowLanguagePageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[UserFlowLanguagePage] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/default_pages/item/value/content_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/default_pages/item/value/content_request_builder.py index 7c02be43a96..b1931aad449 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/default_pages/item/value/content_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/default_pages/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/overrides_pages/item/user_flow_language_page_item_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/overrides_pages/item/user_flow_language_page_item_request_builder.py index 52d4c28d40d..a1f9fef827e 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/overrides_pages/item/user_flow_language_page_item_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/overrides_pages/item/user_flow_language_page_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserFlowL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserFlowLanguagePageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[UserFlowLang request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserFlowLanguagePage] = None, request_configuration: Optional[UserFlowLanguagePageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[UserFlowLanguagePage] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/overrides_pages/item/value/content_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/overrides_pages/item/value/content_request_builder.py index c5ffab8cfed..7e734586b06 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/overrides_pages/item/value/content_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/overrides_pages/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/overrides_pages/overrides_pages_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/overrides_pages/overrides_pages_request_builder.py index e59d9e4e6d0..5c225df6fc5 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/overrides_pages/overrides_pages_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/overrides_pages/overrides_pages_request_builder.py @@ -45,7 +45,7 @@ def by_user_flow_language_page_id(self,user_flow_language_page_id: str) -> UserF async def get(self,request_configuration: Optional[OverridesPagesRequestBuilderGetRequestConfiguration] = None) -> Optional[UserFlowLanguagePageCollectionResponse]: """ - Get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. This API is available in the following national cloud deployments. + Get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserFlowLanguagePageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/userflowlanguageconfiguration-list-overridespages?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[UserFlowLanguagePage] = None, request_configu def to_get_request_information(self,request_configuration: Optional[OverridesPagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. This API is available in the following national cloud deployments. + Get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[OverridesPag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserFlowLanguagePage] = None, request_configuration: Optional[OverridesPagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UserFlowLanguagePage] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OverridesPagesRequestBuilderGetQueryParameters(): """ - Get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. This API is available in the following national cloud deployments. + Get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/user_flow_language_configuration_item_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/user_flow_language_configuration_item_request_builder.py index 46bff7de2ec..e83ebfc0597 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/user_flow_language_configuration_item_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/languages/item/user_flow_language_configuration_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserFlowL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserFlowLanguageConfigurationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[UserFlowLang request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserFlowLanguageConfiguration] = None, request_configuration: Optional[UserFlowLanguageConfigurationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[UserFlowLanguageConfigurati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/languages/languages_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/languages/languages_request_builder.py index 7d3d65527e0..0bd1c1d5a3e 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/languages/languages_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/languages/languages_request_builder.py @@ -45,7 +45,7 @@ def by_user_flow_language_configuration_id(self,user_flow_language_configuration async def get(self,request_configuration: Optional[LanguagesRequestBuilderGetRequestConfiguration] = None) -> Optional[UserFlowLanguageConfigurationCollectionResponse]: """ - Retrieve a list of languages supported for customization in a B2X user flow. This API is available in the following national cloud deployments. + Retrieve a list of languages supported for customization in a B2X user flow. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserFlowLanguageConfigurationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/b2xidentityuserflow-list-languages?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[UserFlowLanguageConfiguration] = None, reques def to_get_request_information(self,request_configuration: Optional[LanguagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of languages supported for customization in a B2X user flow. This API is available in the following national cloud deployments. + Retrieve a list of languages supported for customization in a B2X user flow. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[LanguagesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserFlowLanguageConfiguration] = None, request_configuration: Optional[LanguagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UserFlowLanguageConfiguratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class LanguagesRequestBuilderGetQueryParameters(): """ - Retrieve a list of languages supported for customization in a B2X user flow. This API is available in the following national cloud deployments. + Retrieve a list of languages supported for customization in a B2X user flow. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/user_attribute_assignments/get_order/get_order_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/user_attribute_assignments/get_order/get_order_request_builder.py index df10c18fed3..c7372a6453d 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/user_attribute_assignments/get_order/get_order_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/user_attribute_assignments/get_order/get_order_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetOrderRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetOrderRequestBuilder: diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/user_attribute_assignments/item/identity_user_flow_attribute_assignment_item_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/user_attribute_assignments/item/identity_user_flow_attribute_assignment_item_request_builder.py index 891aa2d1dc0..35ba685a43e 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/user_attribute_assignments/item/identity_user_flow_attribute_assignment_item_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/user_attribute_assignments/item/identity_user_flow_attribute_assignment_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[IdentityU request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[IdentityUserFlowAttributeAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[IdentityUser request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[IdentityUserFlowAttributeAssignment] = None, request_configuration: Optional[IdentityUserFlowAttributeAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[IdentityUserFlowAttributeAs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/user_attribute_assignments/item/user_attribute/user_attribute_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/user_attribute_assignments/item/user_attribute/user_attribute_request_builder.py index 3d1de7417e8..ac506dd26c4 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/user_attribute_assignments/item/user_attribute/user_attribute_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/user_attribute_assignments/item/user_attribute/user_attribute_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[UserAttribut request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserAttributeRequestBuilder: diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/user_attribute_assignments/set_order/set_order_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/user_attribute_assignments/set_order/set_order_request_builder.py index e01c339a6d4..698b44a797f 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/user_attribute_assignments/set_order/set_order_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/user_attribute_assignments/set_order/set_order_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SetOrderPostRequestBody] = None, request_configuration: Optional[SetOrderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Set the order of identityUserFlowAttributeAssignments being collected within a user flow. This API is available in the following national cloud deployments. + Set the order of identityUserFlowAttributeAssignments being collected within a user flow. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SetOrderPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[SetOrderPostRequestBody] = None, request_configuration: Optional[SetOrderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Set the order of identityUserFlowAttributeAssignments being collected within a user flow. This API is available in the following national cloud deployments. + Set the order of identityUserFlowAttributeAssignments being collected within a user flow. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SetOrderPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/user_attribute_assignments/user_attribute_assignments_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/user_attribute_assignments/user_attribute_assignments_request_builder.py index 1f2745e4e82..7686d7176ad 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/user_attribute_assignments/user_attribute_assignments_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/user_attribute_assignments/user_attribute_assignments_request_builder.py @@ -47,7 +47,7 @@ def by_identity_user_flow_attribute_assignment_id(self,identity_user_flow_attrib async def get(self,request_configuration: Optional[UserAttributeAssignmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[IdentityUserFlowAttributeAssignmentCollectionResponse]: """ - Get the identityUserFlowAttributeAssignment resources from the userAttributeAssignments navigation property in a b2xIdentityUserFlow. This API is available in the following national cloud deployments. + Get the identityUserFlowAttributeAssignment resources from the userAttributeAssignments navigation property in a b2xIdentityUserFlow. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityUserFlowAttributeAssignmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/b2xidentityuserflow-list-userattributeassignments?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[UserAttributeAssignmentsReque async def post(self,body: Optional[IdentityUserFlowAttributeAssignment] = None, request_configuration: Optional[UserAttributeAssignmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[IdentityUserFlowAttributeAssignment]: """ - Create a new identityUserFlowAttributeAssignment object in a b2xIdentityUserFlow. This API is available in the following national cloud deployments. + Create a new identityUserFlowAttributeAssignment object in a b2xIdentityUserFlow. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityUserFlowAttributeAssignment] @@ -94,7 +94,7 @@ async def post(self,body: Optional[IdentityUserFlowAttributeAssignment] = None, def to_get_request_information(self,request_configuration: Optional[UserAttributeAssignmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the identityUserFlowAttributeAssignment resources from the userAttributeAssignments navigation property in a b2xIdentityUserFlow. This API is available in the following national cloud deployments. + Get the identityUserFlowAttributeAssignment resources from the userAttributeAssignments navigation property in a b2xIdentityUserFlow. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_get_request_information(self,request_configuration: Optional[UserAttribut request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[IdentityUserFlowAttributeAssignment] = None, request_configuration: Optional[UserAttributeAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new identityUserFlowAttributeAssignment object in a b2xIdentityUserFlow. This API is available in the following national cloud deployments. + Create a new identityUserFlowAttributeAssignment object in a b2xIdentityUserFlow. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -125,7 +125,7 @@ def to_post_request_information(self,body: Optional[IdentityUserFlowAttributeAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ def set_order(self) -> SetOrderRequestBuilder: @dataclass class UserAttributeAssignmentsRequestBuilderGetQueryParameters(): """ - Get the identityUserFlowAttributeAssignment resources from the userAttributeAssignments navigation property in a b2xIdentityUserFlow. This API is available in the following national cloud deployments. + Get the identityUserFlowAttributeAssignment resources from the userAttributeAssignments navigation property in a b2xIdentityUserFlow. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/user_flow_identity_providers/item/ref/ref_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/user_flow_identity_providers/item/ref/ref_request_builder.py index 931188612c1..38347a455eb 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/user_flow_identity_providers/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/user_flow_identity_providers/item/ref/ref_request_builder.py @@ -58,7 +58,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/user_flow_identity_providers/ref/ref_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/user_flow_identity_providers/ref/ref_request_builder.py index 6326f46f458..58d3505debb 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/user_flow_identity_providers/ref/ref_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/user_flow_identity_providers/ref/ref_request_builder.py @@ -84,7 +84,7 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -103,7 +103,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/b2x_user_flows/item/user_flow_identity_providers/user_flow_identity_providers_request_builder.py b/msgraph_beta/generated/identity/b2x_user_flows/item/user_flow_identity_providers/user_flow_identity_providers_request_builder.py index 2653f26c72d..42bdde13b65 100644 --- a/msgraph_beta/generated/identity/b2x_user_flows/item/user_flow_identity_providers/user_flow_identity_providers_request_builder.py +++ b/msgraph_beta/generated/identity/b2x_user_flows/item/user_flow_identity_providers/user_flow_identity_providers_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_identity_provider_base_id(self,identity_provider_base_id: str) -> IdentityProviderBaseItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.identity.b2xUserFlows.item.userFlowIdentityProviders.item collection - param identity_provider_base_id: Unique identifier of the item + param identity_provider_base_id: The unique identifier of identityProviderBase Returns: IdentityProviderBaseItemRequestBuilder """ if not identity_provider_base_id: @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[UserFlowIden request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserFlowIdentityProvidersRequestBuilder: diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_context_class_references/authentication_context_class_references_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_context_class_references/authentication_context_class_references_request_builder.py index c51b8c13a5a..a8acd2ddddf 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_context_class_references/authentication_context_class_references_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_context_class_references/authentication_context_class_references_request_builder.py @@ -45,7 +45,7 @@ def by_authentication_context_class_reference_id(self,authentication_context_cla async def get(self,request_configuration: Optional[AuthenticationContextClassReferencesRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthenticationContextClassReferenceCollectionResponse]: """ - Retrieve a list of authenticationContextClassReference objects. This API is available in the following national cloud deployments. + Retrieve a list of authenticationContextClassReference objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationContextClassReferenceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/conditionalaccessroot-list-authenticationcontextclassreferences?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AuthenticationContextClassRef async def post(self,body: Optional[AuthenticationContextClassReference] = None, request_configuration: Optional[AuthenticationContextClassReferencesRequestBuilderPostRequestConfiguration] = None) -> Optional[AuthenticationContextClassReference]: """ - Create a new authenticationContextClassReference. This API is available in the following national cloud deployments. + Create a new authenticationContextClassReference. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationContextClassReference] @@ -92,7 +92,7 @@ async def post(self,body: Optional[AuthenticationContextClassReference] = None, def to_get_request_information(self,request_configuration: Optional[AuthenticationContextClassReferencesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of authenticationContextClassReference objects. This API is available in the following national cloud deployments. + Retrieve a list of authenticationContextClassReference objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AuthenticationContextClassReference] = None, request_configuration: Optional[AuthenticationContextClassReferencesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new authenticationContextClassReference. This API is available in the following national cloud deployments. + Create a new authenticationContextClassReference. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[AuthenticationContextClassRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AuthenticationContextClassReferencesRequestBuilderGetQueryParameters(): """ - Retrieve a list of authenticationContextClassReference objects. This API is available in the following national cloud deployments. + Retrieve a list of authenticationContextClassReference objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_context_class_references/item/authentication_context_class_reference_item_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_context_class_references/item/authentication_context_class_reference_item_request_builder.py index ef812a0a2d3..a292786b245 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_context_class_references/item/authentication_context_class_reference_item_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_context_class_references/item/authentication_context_class_reference_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AuthenticationContextClassReferenceItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an authenticationContextClassReference object that's not published or used by a conditional access policy. This API is available in the following national cloud deployments. + Delete an authenticationContextClassReference object that's not published or used by a conditional access policy. 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/authenticationcontextclassreference-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AuthenticationContextClass async def get(self,request_configuration: Optional[AuthenticationContextClassReferenceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthenticationContextClassReference]: """ - Retrieve the properties and relationships of a authenticationContextClassReference object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a authenticationContextClassReference object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationContextClassReference] Find more info here: https://learn.microsoft.com/graph/api/authenticationcontextclassreference-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AuthenticationContextClassRef async def patch(self,body: Optional[AuthenticationContextClassReference] = None, request_configuration: Optional[AuthenticationContextClassReferenceItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[AuthenticationContextClassReference]: """ - Update the properties of an authenticationContextClassReference object. This API is available in the following national cloud deployments. + Update the properties of an authenticationContextClassReference object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationContextClassReference] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[AuthenticationContextClassReference] = None, def to_delete_request_information(self,request_configuration: Optional[AuthenticationContextClassReferenceItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an authenticationContextClassReference object that's not published or used by a conditional access policy. This API is available in the following national cloud deployments. + Delete an authenticationContextClassReference object that's not published or used by a conditional access policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Authentic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AuthenticationContextClassReferenceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a authenticationContextClassReference object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a authenticationContextClassReference object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AuthenticationContextClassReference] = None, request_configuration: Optional[AuthenticationContextClassReferenceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an authenticationContextClassReference object. This API is available in the following national cloud deployments. + Update the properties of an authenticationContextClassReference object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[AuthenticationContextClassR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class AuthenticationContextClassReferenceItemRequestBuilderDeleteRequestConfigur @dataclass class AuthenticationContextClassReferenceItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a authenticationContextClassReference object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a authenticationContextClassReference object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strength/authentication_method_modes/authentication_method_modes_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strength/authentication_method_modes/authentication_method_modes_request_builder.py index 86df098314d..e032213f3e1 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strength/authentication_method_modes/authentication_method_modes_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strength/authentication_method_modes/authentication_method_modes_request_builder.py @@ -45,7 +45,7 @@ def by_authentication_method_mode_detail_id(self,authentication_method_mode_deta async def get(self,request_configuration: Optional[AuthenticationMethodModesRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthenticationMethodModeDetailCollectionResponse]: """ - Get a list of all supported authentication methods, or all supported authentication method combinations as a list of authenticationMethodModes objects and their properties. This API is available in the following national cloud deployments. + Get a list of all supported authentication methods, or all supported authentication method combinations as a list of authenticationMethodModes objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationMethodModeDetailCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/authenticationstrengthroot-list-authenticationmethodmodes?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AuthenticationMethodModeDetail] = None, reque def to_get_request_information(self,request_configuration: Optional[AuthenticationMethodModesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of all supported authentication methods, or all supported authentication method combinations as a list of authenticationMethodModes objects and their properties. This API is available in the following national cloud deployments. + Get a list of all supported authentication methods, or all supported authentication method combinations as a list of authenticationMethodModes objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AuthenticationMethodModeDetail] = None, request_configuration: Optional[AuthenticationMethodModesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AuthenticationMethodModeDeta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AuthenticationMethodModesRequestBuilderGetQueryParameters(): """ - Get a list of all supported authentication methods, or all supported authentication method combinations as a list of authenticationMethodModes objects and their properties. This API is available in the following national cloud deployments. + Get a list of all supported authentication methods, or all supported authentication method combinations as a list of authenticationMethodModes objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strength/authentication_method_modes/item/authentication_method_mode_detail_item_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strength/authentication_method_modes/item/authentication_method_mode_detail_item_request_builder.py index 2e4ba2a1e61..eb9dd3bdaee 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strength/authentication_method_modes/item/authentication_method_mode_detail_item_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strength/authentication_method_modes/item/authentication_method_mode_detail_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Authentic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AuthenticationMethodModeDetailItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AuthenticationMethodModeDetail] = None, request_configuration: Optional[AuthenticationMethodModeDetailItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AuthenticationMethodModeDet request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strength/authentication_strength_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strength/authentication_strength_request_builder.py index f63f3255cd5..6d3c8ac8539 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strength/authentication_strength_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strength/authentication_strength_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Authentic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AuthenticationStrengthRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AuthenticationStrengthRoot] = None, request_configuration: Optional[AuthenticationStrengthRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AuthenticationStrengthRoot] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_request_builder.py index ad7c5e56f53..f2a683f1901 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FindByMethod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FindByMethodModeWithAuthenticationMethodModesRequestBuilder: diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/item/authentication_strength_policy_item_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/item/authentication_strength_policy_item_request_builder.py index d6fb20ac7e9..5720ad6d7a2 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/item/authentication_strength_policy_item_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/item/authentication_strength_policy_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[Authentic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AuthenticationStrengthPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AuthenticationStrengthPolicy] = None, request_configuration: Optional[AuthenticationStrengthPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[AuthenticationStrengthPolic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/item/combination_configurations/combination_configurations_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/item/combination_configurations/combination_configurations_request_builder.py index b48c07ea23e..1cc17d38bcd 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/item/combination_configurations/combination_configurations_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/item/combination_configurations/combination_configurations_request_builder.py @@ -45,7 +45,7 @@ def by_authentication_combination_configuration_id(self,authentication_combinati async def get(self,request_configuration: Optional[CombinationConfigurationsRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthenticationCombinationConfigurationCollectionResponse]: """ - Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. This API is available in the following national cloud deployments. + Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationCombinationConfigurationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-list-combinationconfigurations?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[CombinationConfigurationsRequ async def post(self,body: Optional[AuthenticationCombinationConfiguration] = None, request_configuration: Optional[CombinationConfigurationsRequestBuilderPostRequestConfiguration] = None) -> Optional[AuthenticationCombinationConfiguration]: """ - Create a new authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be created, and these may only be created for custom authentication strength policies. This API is available in the following national cloud deployments. + Create a new authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations might be created, and only for custom authentication strength policies. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationCombinationConfiguration] @@ -92,7 +92,7 @@ async def post(self,body: Optional[AuthenticationCombinationConfiguration] = Non def to_get_request_information(self,request_configuration: Optional[CombinationConfigurationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. This API is available in the following national cloud deployments. + Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[CombinationC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AuthenticationCombinationConfiguration] = None, request_configuration: Optional[CombinationConfigurationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be created, and these may only be created for custom authentication strength policies. This API is available in the following national cloud deployments. + Create a new authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations might be created, and only for custom authentication strength policies. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[AuthenticationCombinationCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CombinationConfigurationsRequestBuilderGetQueryParameters(): """ - Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. This API is available in the following national cloud deployments. + Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/item/combination_configurations/item/authentication_combination_configuration_item_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/item/combination_configurations/item/authentication_combination_configuration_item_request_builder.py index 75201be97ab..dde0239313e 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/item/combination_configurations/item/authentication_combination_configuration_item_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/item/combination_configurations/item/authentication_combination_configuration_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AuthenticationCombinationConfigurationItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an authenticationCombinationConfiguration for a custom authenticationStrengthPolicy object. This API is available in the following national cloud deployments. + Delete an authenticationCombinationConfiguration for a custom authenticationStrengthPolicy object. 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/authenticationstrengthpolicy-delete-combinationconfigurations?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AuthenticationCombinationC async def get(self,request_configuration: Optional[AuthenticationCombinationConfigurationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthenticationCombinationConfiguration]: """ - Read the properties and relationships of an authenticationCombinationConfiguration object. This API is available in the following national cloud deployments. + Read the properties and relationships of an authenticationCombinationConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationCombinationConfiguration] Find more info here: https://learn.microsoft.com/graph/api/authenticationcombinationconfiguration-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AuthenticationCombinationConf async def patch(self,body: Optional[AuthenticationCombinationConfiguration] = None, request_configuration: Optional[AuthenticationCombinationConfigurationItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[AuthenticationCombinationConfiguration]: """ - Update the properties of an authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be updated as they're the only type of authenticationCombinationConfiguration that may be created. This API is available in the following national cloud deployments. + Update the properties of an authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be updated as they're the only type of authenticationCombinationConfiguration that may be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationCombinationConfiguration] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[AuthenticationCombinationConfiguration] = No def to_delete_request_information(self,request_configuration: Optional[AuthenticationCombinationConfigurationItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an authenticationCombinationConfiguration for a custom authenticationStrengthPolicy object. This API is available in the following national cloud deployments. + Delete an authenticationCombinationConfiguration for a custom authenticationStrengthPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Authentic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AuthenticationCombinationConfigurationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an authenticationCombinationConfiguration object. This API is available in the following national cloud deployments. + Read the properties and relationships of an authenticationCombinationConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AuthenticationCombinationConfiguration] = None, request_configuration: Optional[AuthenticationCombinationConfigurationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be updated as they're the only type of authenticationCombinationConfiguration that may be created. This API is available in the following national cloud deployments. + Update the properties of an authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be updated as they're the only type of authenticationCombinationConfiguration that may be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[AuthenticationCombinationCo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class AuthenticationCombinationConfigurationItemRequestBuilderDeleteRequestConfi @dataclass class AuthenticationCombinationConfigurationItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an authenticationCombinationConfiguration object. This API is available in the following national cloud deployments. + Read the properties and relationships of an authenticationCombinationConfiguration object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/item/update_allowed_combinations/update_allowed_combinations_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/item/update_allowed_combinations/update_allowed_combinations_request_builder.py index 65ee27a9071..03cbf74f4e9 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/item/update_allowed_combinations/update_allowed_combinations_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/item/update_allowed_combinations/update_allowed_combinations_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UpdateAllowedCombinationsPostRequestBody] = None, request_configuration: Optional[UpdateAllowedCombinationsRequestBuilderPostRequestConfiguration] = None) -> Optional[UpdateAllowedCombinationsResult]: """ - Update the allowedCombinations property of an authenticationStrengthPolicy object. To update other properties of an authenticationStrengthPolicy object, use the Update authenticationStrengthPolicy method. This API is available in the following national cloud deployments. + Update the allowedCombinations property of an authenticationStrengthPolicy object. To update other properties of an authenticationStrengthPolicy object, use the Update authenticationStrengthPolicy method. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UpdateAllowedCombinationsResult] @@ -54,7 +54,7 @@ async def post(self,body: Optional[UpdateAllowedCombinationsPostRequestBody] = N def to_post_request_information(self,body: Optional[UpdateAllowedCombinationsPostRequestBody] = None, request_configuration: Optional[UpdateAllowedCombinationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Update the allowedCombinations property of an authenticationStrengthPolicy object. To update other properties of an authenticationStrengthPolicy object, use the Update authenticationStrengthPolicy method. This API is available in the following national cloud deployments. + Update the allowedCombinations property of an authenticationStrengthPolicy object. To update other properties of an authenticationStrengthPolicy object, use the Update authenticationStrengthPolicy method. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[UpdateAllowedCombinationsPos request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/item/usage/usage_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/item/usage/usage_request_builder.py index f4ef5669945..3bacbb2cdfd 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/item/usage/usage_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/item/usage/usage_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[UsageRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UsageRequestBuilder: diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/policies_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/policies_request_builder.py index 3b89ffc3568..28888f9dddd 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/policies_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strength/policies/policies_request_builder.py @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[PoliciesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AuthenticationStrengthPolicy] = None, request_configuration: Optional[PoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -134,7 +134,7 @@ def to_post_request_information(self,body: Optional[AuthenticationStrengthPolicy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_method_modes/authentication_method_modes_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_method_modes/authentication_method_modes_request_builder.py index 742b025e048..880d4d20a46 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_method_modes/authentication_method_modes_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_method_modes/authentication_method_modes_request_builder.py @@ -45,7 +45,7 @@ def by_authentication_method_mode_detail_id(self,authentication_method_mode_deta async def get(self,request_configuration: Optional[AuthenticationMethodModesRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthenticationMethodModeDetailCollectionResponse]: """ - Get a list of all supported authentication methods, or all supported authentication method combinations as a list of authenticationMethodModes objects and their properties. This API is available in the following national cloud deployments. + Get a list of all supported authentication methods, or all supported authentication method combinations as a list of authenticationMethodModes objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationMethodModeDetailCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/authenticationstrengthroot-list-authenticationmethodmodes?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AuthenticationMethodModeDetail] = None, reque def to_get_request_information(self,request_configuration: Optional[AuthenticationMethodModesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of all supported authentication methods, or all supported authentication method combinations as a list of authenticationMethodModes objects and their properties. This API is available in the following national cloud deployments. + Get a list of all supported authentication methods, or all supported authentication method combinations as a list of authenticationMethodModes objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AuthenticationMethodModeDetail] = None, request_configuration: Optional[AuthenticationMethodModesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AuthenticationMethodModeDeta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AuthenticationMethodModesRequestBuilderGetQueryParameters(): """ - Get a list of all supported authentication methods, or all supported authentication method combinations as a list of authenticationMethodModes objects and their properties. This API is available in the following national cloud deployments. + Get a list of all supported authentication methods, or all supported authentication method combinations as a list of authenticationMethodModes objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_method_modes/item/authentication_method_mode_detail_item_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_method_modes/item/authentication_method_mode_detail_item_request_builder.py index c3e6294f41a..843e0cb0dae 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_method_modes/item/authentication_method_mode_detail_item_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_method_modes/item/authentication_method_mode_detail_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Authentic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AuthenticationMethodModeDetailItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AuthenticationMethodModeDetail] = None, request_configuration: Optional[AuthenticationMethodModeDetailItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AuthenticationMethodModeDet request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_strengths_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_strengths_request_builder.py index fd03697f8a7..d88c330a3f6 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_strengths_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/authentication_strengths_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Authentic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AuthenticationStrengthsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AuthenticationStrengthRoot] = None, request_configuration: Optional[AuthenticationStrengthsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AuthenticationStrengthRoot] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_request_builder.py index a3107ea564e..0268f1f3815 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FindByMethod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FindByMethodModeWithAuthenticationMethodModesRequestBuilder: diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/authentication_strength_policy_item_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/authentication_strength_policy_item_request_builder.py index ee7831ee870..8df088578e5 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/authentication_strength_policy_item_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/authentication_strength_policy_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[Authentic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AuthenticationStrengthPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AuthenticationStrengthPolicy] = None, request_configuration: Optional[AuthenticationStrengthPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[AuthenticationStrengthPolic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/combination_configurations/combination_configurations_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/combination_configurations/combination_configurations_request_builder.py index 683ca9b54ab..b21ad46ce99 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/combination_configurations/combination_configurations_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/combination_configurations/combination_configurations_request_builder.py @@ -45,7 +45,7 @@ def by_authentication_combination_configuration_id(self,authentication_combinati async def get(self,request_configuration: Optional[CombinationConfigurationsRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthenticationCombinationConfigurationCollectionResponse]: """ - Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. This API is available in the following national cloud deployments. + Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationCombinationConfigurationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-list-combinationconfigurations?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[CombinationConfigurationsRequ async def post(self,body: Optional[AuthenticationCombinationConfiguration] = None, request_configuration: Optional[CombinationConfigurationsRequestBuilderPostRequestConfiguration] = None) -> Optional[AuthenticationCombinationConfiguration]: """ - Create a new authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be created, and these may only be created for custom authentication strength policies. This API is available in the following national cloud deployments. + Create a new authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations might be created, and only for custom authentication strength policies. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationCombinationConfiguration] @@ -92,7 +92,7 @@ async def post(self,body: Optional[AuthenticationCombinationConfiguration] = Non def to_get_request_information(self,request_configuration: Optional[CombinationConfigurationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. This API is available in the following national cloud deployments. + Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[CombinationC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AuthenticationCombinationConfiguration] = None, request_configuration: Optional[CombinationConfigurationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be created, and these may only be created for custom authentication strength policies. This API is available in the following national cloud deployments. + Create a new authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations might be created, and only for custom authentication strength policies. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[AuthenticationCombinationCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CombinationConfigurationsRequestBuilderGetQueryParameters(): """ - Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. This API is available in the following national cloud deployments. + Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/combination_configurations/item/authentication_combination_configuration_item_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/combination_configurations/item/authentication_combination_configuration_item_request_builder.py index 42b8fcf154c..f81ae2692db 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/combination_configurations/item/authentication_combination_configuration_item_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/combination_configurations/item/authentication_combination_configuration_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AuthenticationCombinationConfigurationItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an authenticationCombinationConfiguration for a custom authenticationStrengthPolicy object. This API is available in the following national cloud deployments. + Delete an authenticationCombinationConfiguration for a custom authenticationStrengthPolicy object. 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/authenticationstrengthpolicy-delete-combinationconfigurations?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AuthenticationCombinationC async def get(self,request_configuration: Optional[AuthenticationCombinationConfigurationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthenticationCombinationConfiguration]: """ - Read the properties and relationships of an authenticationCombinationConfiguration object. This API is available in the following national cloud deployments. + Read the properties and relationships of an authenticationCombinationConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationCombinationConfiguration] Find more info here: https://learn.microsoft.com/graph/api/authenticationcombinationconfiguration-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AuthenticationCombinationConf async def patch(self,body: Optional[AuthenticationCombinationConfiguration] = None, request_configuration: Optional[AuthenticationCombinationConfigurationItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[AuthenticationCombinationConfiguration]: """ - Update the properties of an authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be updated as they're the only type of authenticationCombinationConfiguration that may be created. This API is available in the following national cloud deployments. + Update the properties of an authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be updated as they're the only type of authenticationCombinationConfiguration that may be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationCombinationConfiguration] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[AuthenticationCombinationConfiguration] = No def to_delete_request_information(self,request_configuration: Optional[AuthenticationCombinationConfigurationItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an authenticationCombinationConfiguration for a custom authenticationStrengthPolicy object. This API is available in the following national cloud deployments. + Delete an authenticationCombinationConfiguration for a custom authenticationStrengthPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Authentic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AuthenticationCombinationConfigurationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an authenticationCombinationConfiguration object. This API is available in the following national cloud deployments. + Read the properties and relationships of an authenticationCombinationConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AuthenticationCombinationConfiguration] = None, request_configuration: Optional[AuthenticationCombinationConfigurationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be updated as they're the only type of authenticationCombinationConfiguration that may be created. This API is available in the following national cloud deployments. + Update the properties of an authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be updated as they're the only type of authenticationCombinationConfiguration that may be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[AuthenticationCombinationCo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class AuthenticationCombinationConfigurationItemRequestBuilderDeleteRequestConfi @dataclass class AuthenticationCombinationConfigurationItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an authenticationCombinationConfiguration object. This API is available in the following national cloud deployments. + Read the properties and relationships of an authenticationCombinationConfiguration object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/update_allowed_combinations/update_allowed_combinations_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/update_allowed_combinations/update_allowed_combinations_request_builder.py index 152ebdd3dd7..bb22893195f 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/update_allowed_combinations/update_allowed_combinations_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/update_allowed_combinations/update_allowed_combinations_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UpdateAllowedCombinationsPostRequestBody] = None, request_configuration: Optional[UpdateAllowedCombinationsRequestBuilderPostRequestConfiguration] = None) -> Optional[UpdateAllowedCombinationsResult]: """ - Update the allowedCombinations property of an authenticationStrengthPolicy object. To update other properties of an authenticationStrengthPolicy object, use the Update authenticationStrengthPolicy method. This API is available in the following national cloud deployments. + Update the allowedCombinations property of an authenticationStrengthPolicy object. To update other properties of an authenticationStrengthPolicy object, use the Update authenticationStrengthPolicy method. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UpdateAllowedCombinationsResult] @@ -54,7 +54,7 @@ async def post(self,body: Optional[UpdateAllowedCombinationsPostRequestBody] = N def to_post_request_information(self,body: Optional[UpdateAllowedCombinationsPostRequestBody] = None, request_configuration: Optional[UpdateAllowedCombinationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Update the allowedCombinations property of an authenticationStrengthPolicy object. To update other properties of an authenticationStrengthPolicy object, use the Update authenticationStrengthPolicy method. This API is available in the following national cloud deployments. + Update the allowedCombinations property of an authenticationStrengthPolicy object. To update other properties of an authenticationStrengthPolicy object, use the Update authenticationStrengthPolicy method. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[UpdateAllowedCombinationsPos request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/usage/usage_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/usage/usage_request_builder.py index af0fc2f561a..5d5b8f1520e 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/usage/usage_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/item/usage/usage_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[UsageRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UsageRequestBuilder: diff --git a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/policies_request_builder.py b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/policies_request_builder.py index 4f464f0aafb..715ddd61c6d 100644 --- a/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/policies_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/authentication_strengths/policies/policies_request_builder.py @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[PoliciesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AuthenticationStrengthPolicy] = None, request_configuration: Optional[PoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -134,7 +134,7 @@ def to_post_request_information(self,body: Optional[AuthenticationStrengthPolicy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/conditional_access/conditional_access_request_builder.py b/msgraph_beta/generated/identity/conditional_access/conditional_access_request_builder.py index e104a9ba3cf..3479a3461ec 100644 --- a/msgraph_beta/generated/identity/conditional_access/conditional_access_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/conditional_access_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[Condition request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConditionalAccessRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[ConditionalA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConditionalAccessRoot] = None, request_configuration: Optional[ConditionalAccessRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[ConditionalAccessRoot] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py b/msgraph_beta/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py index 526934a71f7..a7e85c10c9b 100644 --- a/msgraph_beta/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py @@ -28,10 +28,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[NamedLocationItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a countryNamedLocation object. This API is available in the following national cloud deployments. + Delete a namedLocation object. 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/countrynamedlocation-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/namedlocation-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -48,10 +48,10 @@ async def delete(self,request_configuration: Optional[NamedLocationItemRequestBu async def get(self,request_configuration: Optional[NamedLocationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[NamedLocation]: """ - Retrieve the properties and relationships of an ipNamedLocation object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a namedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[NamedLocation] - Find more info here: https://learn.microsoft.com/graph/api/ipnamedlocation-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/namedlocation-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[NamedLocationItemRequestBuild async def patch(self,body: Optional[NamedLocation] = None, request_configuration: Optional[NamedLocationItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[NamedLocation]: """ - Update the properties of an ipNamedLocation object. This API is available in the following national cloud deployments. + Update the properties of an ipNamedLocation object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[NamedLocation] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[NamedLocation] = None, request_configuration def to_delete_request_information(self,request_configuration: Optional[NamedLocationItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a countryNamedLocation object. This API is available in the following national cloud deployments. + Delete a namedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[NamedLoca request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[NamedLocationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an ipNamedLocation object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a namedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[NamedLocatio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[NamedLocation] = None, request_configuration: Optional[NamedLocationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an ipNamedLocation object. This API is available in the following national cloud deployments. + Update the properties of an ipNamedLocation object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[NamedLocation] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class NamedLocationItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class NamedLocationItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an ipNamedLocation object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a namedLocation object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/conditional_access/named_locations/named_locations_request_builder.py b/msgraph_beta/generated/identity/conditional_access/named_locations/named_locations_request_builder.py index 8a6aae4cd38..4e72be4dfc1 100644 --- a/msgraph_beta/generated/identity/conditional_access/named_locations/named_locations_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/named_locations/named_locations_request_builder.py @@ -45,7 +45,7 @@ def by_named_location_id(self,named_location_id: str) -> NamedLocationItemReques async def get(self,request_configuration: Optional[NamedLocationsRequestBuilderGetRequestConfiguration] = None) -> Optional[NamedLocationCollectionResponse]: """ - Get a list of namedLocation objects. This API is available in the following national cloud deployments. + Get a list of namedLocation objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[NamedLocationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/conditionalaccessroot-list-namedlocations?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[NamedLocationsRequestBuilderG async def post(self,body: Optional[NamedLocation] = None, request_configuration: Optional[NamedLocationsRequestBuilderPostRequestConfiguration] = None) -> Optional[NamedLocation]: """ - Create a new namedLocation object. Named locations can be either ipNamedLocation or countryNamedLocation objects. This API is available in the following national cloud deployments. + Create a new namedLocation object. Named locations can be either ipNamedLocation or countryNamedLocation objects. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[NamedLocation] @@ -92,7 +92,7 @@ async def post(self,body: Optional[NamedLocation] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[NamedLocationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of namedLocation objects. This API is available in the following national cloud deployments. + Get a list of namedLocation objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[NamedLocatio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[NamedLocation] = None, request_configuration: Optional[NamedLocationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new namedLocation object. Named locations can be either ipNamedLocation or countryNamedLocation objects. This API is available in the following national cloud deployments. + Create a new namedLocation object. Named locations can be either ipNamedLocation or countryNamedLocation objects. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[NamedLocation] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class NamedLocationsRequestBuilderGetQueryParameters(): """ - Get a list of namedLocation objects. This API is available in the following national cloud deployments. + Get a list of namedLocation objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/conditional_access/policies/item/conditional_access_policy_item_request_builder.py b/msgraph_beta/generated/identity/conditional_access/policies/item/conditional_access_policy_item_request_builder.py index cccae5241e4..55c0f5048d9 100644 --- a/msgraph_beta/generated/identity/conditional_access/policies/item/conditional_access_policy_item_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/policies/item/conditional_access_policy_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a conditionalAccessPolicy object. This API is available in the following national cloud deployments. + Delete a conditionalAccessPolicy object. 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/conditionalaccesspolicy-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ConditionalAccessPolicyIte async def get(self,request_configuration: Optional[ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ConditionalAccessPolicy]: """ - Retrieve the properties and relationships of a conditionalAccessPolicy object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a conditionalAccessPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConditionalAccessPolicy] Find more info here: https://learn.microsoft.com/graph/api/conditionalaccesspolicy-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[ConditionalAccessPolicyItemRe async def patch(self,body: Optional[ConditionalAccessPolicy] = None, request_configuration: Optional[ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ConditionalAccessPolicy]: """ - Update the properties of a conditionalAccessPolicy object. This API is available in the following national cloud deployments. + Update the properties of a conditionalAccessPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConditionalAccessPolicy] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[ConditionalAccessPolicy] = None, request_con def to_delete_request_information(self,request_configuration: Optional[ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a conditionalAccessPolicy object. This API is available in the following national cloud deployments. + Delete a conditionalAccessPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Condition request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a conditionalAccessPolicy object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a conditionalAccessPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[ConditionalA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConditionalAccessPolicy] = None, request_configuration: Optional[ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a conditionalAccessPolicy object. This API is available in the following national cloud deployments. + Update the properties of a conditionalAccessPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ConditionalAccessPolicy] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class ConditionalAccessPolicyItemRequestBuilderDeleteRequestConfiguration(BaseRe @dataclass class ConditionalAccessPolicyItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a conditionalAccessPolicy object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a conditionalAccessPolicy object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/conditional_access/policies/policies_request_builder.py b/msgraph_beta/generated/identity/conditional_access/policies/policies_request_builder.py index fb4dee2d291..d0b1dcc2c3e 100644 --- a/msgraph_beta/generated/identity/conditional_access/policies/policies_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/policies/policies_request_builder.py @@ -45,7 +45,7 @@ def by_conditional_access_policy_id(self,conditional_access_policy_id: str) -> C async def get(self,request_configuration: Optional[PoliciesRequestBuilderGetRequestConfiguration] = None) -> Optional[ConditionalAccessPolicyCollectionResponse]: """ - Retrieve a list of conditionalAccessPolicy objects. This API is available in the following national cloud deployments. + Retrieve a list of conditionalAccessPolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConditionalAccessPolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/conditionalaccessroot-list-policies?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[PoliciesRequestBuilderGetRequ async def post(self,body: Optional[ConditionalAccessPolicy] = None, request_configuration: Optional[PoliciesRequestBuilderPostRequestConfiguration] = None) -> Optional[ConditionalAccessPolicy]: """ - Create a new conditionalAccessPolicy. This API is available in the following national cloud deployments. + Create a new conditionalAccessPolicy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConditionalAccessPolicy] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ConditionalAccessPolicy] = None, request_conf def to_get_request_information(self,request_configuration: Optional[PoliciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of conditionalAccessPolicy objects. This API is available in the following national cloud deployments. + Retrieve a list of conditionalAccessPolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[PoliciesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ConditionalAccessPolicy] = None, request_configuration: Optional[PoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new conditionalAccessPolicy. This API is available in the following national cloud deployments. + Create a new conditionalAccessPolicy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ConditionalAccessPolicy] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PoliciesRequestBuilderGetQueryParameters(): """ - Retrieve a list of conditionalAccessPolicy objects. This API is available in the following national cloud deployments. + Retrieve a list of conditionalAccessPolicy objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/conditional_access/templates/item/conditional_access_template_item_request_builder.py b/msgraph_beta/generated/identity/conditional_access/templates/item/conditional_access_template_item_request_builder.py index 0ed04943051..24096f24d19 100644 --- a/msgraph_beta/generated/identity/conditional_access/templates/item/conditional_access_template_item_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/templates/item/conditional_access_template_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ConditionalAccessTemplateItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ConditionalAccessTemplate]: """ - Read the properties and relationships of a conditionalAccessTemplate object. This API is available in the following national cloud deployments. + Read the properties and relationships of a conditionalAccessTemplate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConditionalAccessTemplate] Find more info here: https://learn.microsoft.com/graph/api/conditionalaccesstemplate-get?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ConditionalAccessTemplateItem def to_get_request_information(self,request_configuration: Optional[ConditionalAccessTemplateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a conditionalAccessTemplate object. This API is available in the following national cloud deployments. + Read the properties and relationships of a conditionalAccessTemplate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ConditionalA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ConditionalAccessTemplateItemRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ConditionalAccessTemplateIte @dataclass class ConditionalAccessTemplateItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a conditionalAccessTemplate object. This API is available in the following national cloud deployments. + Read the properties and relationships of a conditionalAccessTemplate object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/conditional_access/templates/templates_request_builder.py b/msgraph_beta/generated/identity/conditional_access/templates/templates_request_builder.py index 4a4b6b3cc45..c14e443608e 100644 --- a/msgraph_beta/generated/identity/conditional_access/templates/templates_request_builder.py +++ b/msgraph_beta/generated/identity/conditional_access/templates/templates_request_builder.py @@ -44,7 +44,7 @@ def by_conditional_access_template_id(self,conditional_access_template_id: str) async def get(self,request_configuration: Optional[TemplatesRequestBuilderGetRequestConfiguration] = None) -> Optional[ConditionalAccessTemplateCollectionResponse]: """ - Get a list of the conditionalAccessTemplate objects and their properties. This API is available in the following national cloud deployments. + Get a list of the conditionalAccessTemplate objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConditionalAccessTemplateCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/conditionalaccessroot-list-templates?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[TemplatesRequestBuilderGetReq def to_get_request_information(self,request_configuration: Optional[TemplatesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the conditionalAccessTemplate objects and their properties. This API is available in the following national cloud deployments. + Get a list of the conditionalAccessTemplate objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[TemplatesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TemplatesRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TemplatesRequestBuilderGetQueryParameters(): """ - Get a list of the conditionalAccessTemplate objects and their properties. This API is available in the following national cloud deployments. + Get a list of the conditionalAccessTemplate objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/continuous_access_evaluation_policy/continuous_access_evaluation_policy_request_builder.py b/msgraph_beta/generated/identity/continuous_access_evaluation_policy/continuous_access_evaluation_policy_request_builder.py index f039e6989e9..6cc613aa1fd 100644 --- a/msgraph_beta/generated/identity/continuous_access_evaluation_policy/continuous_access_evaluation_policy_request_builder.py +++ b/msgraph_beta/generated/identity/continuous_access_evaluation_policy/continuous_access_evaluation_policy_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ContinuousAccessEvaluation async def get(self,request_configuration: Optional[ContinuousAccessEvaluationPolicyRequestBuilderGetRequestConfiguration] = None) -> Optional[ContinuousAccessEvaluationPolicy]: """ - Read the properties and relationships of a continuousAccessEvaluationPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of a continuousAccessEvaluationPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContinuousAccessEvaluationPolicy] Find more info here: https://learn.microsoft.com/graph/api/continuousaccessevaluationpolicy-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[ContinuousAccessEvaluationPol async def patch(self,body: Optional[ContinuousAccessEvaluationPolicy] = None, request_configuration: Optional[ContinuousAccessEvaluationPolicyRequestBuilderPatchRequestConfiguration] = None) -> Optional[ContinuousAccessEvaluationPolicy]: """ - Update the properties of a continuousAccessEvaluationPolicy object. This API is available in the following national cloud deployments. + Update the properties of a continuousAccessEvaluationPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContinuousAccessEvaluationPolicy] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Continuou request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ContinuousAccessEvaluationPolicyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a continuousAccessEvaluationPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of a continuousAccessEvaluationPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[ContinuousAc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ContinuousAccessEvaluationPolicy] = None, request_configuration: Optional[ContinuousAccessEvaluationPolicyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a continuousAccessEvaluationPolicy object. This API is available in the following national cloud deployments. + Update the properties of a continuousAccessEvaluationPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ContinuousAccessEvaluationP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ContinuousAccessEvaluationPolicyRequestBuilderDeleteRequestConfiguration(B @dataclass class ContinuousAccessEvaluationPolicyRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a continuousAccessEvaluationPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of a continuousAccessEvaluationPolicy object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/custom_authentication_extensions/custom_authentication_extensions_request_builder.py b/msgraph_beta/generated/identity/custom_authentication_extensions/custom_authentication_extensions_request_builder.py index f1530df4970..4e900165b36 100644 --- a/msgraph_beta/generated/identity/custom_authentication_extensions/custom_authentication_extensions_request_builder.py +++ b/msgraph_beta/generated/identity/custom_authentication_extensions/custom_authentication_extensions_request_builder.py @@ -46,7 +46,7 @@ def by_custom_authentication_extension_id(self,custom_authentication_extension_i async def get(self,request_configuration: Optional[CustomAuthenticationExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[CustomAuthenticationExtensionCollectionResponse]: """ - Get a list of the customAuthenticationExtension objects and their properties. Currently, only onTokenIssuanceStartCustomExtension objects are returned. This API is available in the following national cloud deployments. + Get a list of the customAuthenticationExtension objects and their properties. The following derived types are supported. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomAuthenticationExtensionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitycontainer-list-customauthenticationextensions?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[CustomAuthenticationExtension async def post(self,body: Optional[CustomAuthenticationExtension] = None, request_configuration: Optional[CustomAuthenticationExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[CustomAuthenticationExtension]: """ - Create a new customAuthenticationExtension object. Only the onTokenIssuanceStartCustomExtension object type is supported. This API is available in the following national cloud deployments. + Create a new customAuthenticationExtension object. The following derived types are currently supported. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomAuthenticationExtension] @@ -93,7 +93,7 @@ async def post(self,body: Optional[CustomAuthenticationExtension] = None, reques def to_get_request_information(self,request_configuration: Optional[CustomAuthenticationExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the customAuthenticationExtension objects and their properties. Currently, only onTokenIssuanceStartCustomExtension objects are returned. This API is available in the following national cloud deployments. + Get a list of the customAuthenticationExtension objects and their properties. The following derived types are supported. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[CustomAuthen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CustomAuthenticationExtension] = None, request_configuration: Optional[CustomAuthenticationExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new customAuthenticationExtension object. Only the onTokenIssuanceStartCustomExtension object type is supported. This API is available in the following national cloud deployments. + Create a new customAuthenticationExtension object. The following derived types are currently supported. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[CustomAuthenticationExtensio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def validate_authentication_configuration(self) -> ValidateAuthenticationConfigu @dataclass class CustomAuthenticationExtensionsRequestBuilderGetQueryParameters(): """ - Get a list of the customAuthenticationExtension objects and their properties. Currently, only onTokenIssuanceStartCustomExtension objects are returned. This API is available in the following national cloud deployments. + Get a list of the customAuthenticationExtension objects and their properties. The following derived types are supported. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/custom_authentication_extensions/item/custom_authentication_extension_item_request_builder.py b/msgraph_beta/generated/identity/custom_authentication_extensions/item/custom_authentication_extension_item_request_builder.py index d0f84102f20..08a52d679a7 100644 --- a/msgraph_beta/generated/identity/custom_authentication_extensions/item/custom_authentication_extension_item_request_builder.py +++ b/msgraph_beta/generated/identity/custom_authentication_extensions/item/custom_authentication_extension_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[CustomAuthenticationExtensionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a customAuthenticationExtension object. This API is available in the following national cloud deployments. + Delete a customAuthenticationExtension object. 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/customauthenticationextension-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[CustomAuthenticationExtens async def get(self,request_configuration: Optional[CustomAuthenticationExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CustomAuthenticationExtension]: """ - Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. This API is available in the following national cloud deployments. + Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomAuthenticationExtension] Find more info here: https://learn.microsoft.com/graph/api/authenticationeventlistener-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[CustomAuthenticationExtension] = None, reque def to_delete_request_information(self,request_configuration: Optional[CustomAuthenticationExtensionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a customAuthenticationExtension object. This API is available in the following national cloud deployments. + Delete a customAuthenticationExtension object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[CustomAut request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CustomAuthenticationExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. This API is available in the following national cloud deployments. + Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomAuthen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CustomAuthenticationExtension] = None, request_configuration: Optional[CustomAuthenticationExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[CustomAuthenticationExtensi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class CustomAuthenticationExtensionItemRequestBuilderDeleteRequestConfiguration( @dataclass class CustomAuthenticationExtensionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. This API is available in the following national cloud deployments. + Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/custom_authentication_extensions/item/validate_authentication_configuration/validate_authentication_configuration_request_builder.py b/msgraph_beta/generated/identity/custom_authentication_extensions/item/validate_authentication_configuration/validate_authentication_configuration_request_builder.py index 324ff777130..4b152be7504 100644 --- a/msgraph_beta/generated/identity/custom_authentication_extensions/item/validate_authentication_configuration/validate_authentication_configuration_request_builder.py +++ b/msgraph_beta/generated/identity/custom_authentication_extensions/item/validate_authentication_configuration/validate_authentication_configuration_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ValidateAuthenticationConfigurationRequestBuilderPostRequestConfiguration] = None) -> Optional[AuthenticationConfigurationValidation]: """ - An API to check validity of the endpoint and and authentication configuration for a customAuthenticationExtension. This API is available in the following national cloud deployments. + An API to check validity of the endpoint and and authentication configuration for a customAuthenticationExtension. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationConfigurationValidation] Find more info here: https://learn.microsoft.com/graph/api/customauthenticationextension-validateauthenticationconfiguration?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[ValidateAuthenticationConfig def to_post_request_information(self,request_configuration: Optional[ValidateAuthenticationConfigurationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - An API to check validity of the endpoint and and authentication configuration for a customAuthenticationExtension. This API is available in the following national cloud deployments. + An API to check validity of the endpoint and and authentication configuration for a customAuthenticationExtension. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[ValidateAut request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ValidateAuthenticationConfigurationRequestBuilder: diff --git a/msgraph_beta/generated/identity/custom_authentication_extensions/validate_authentication_configuration/validate_authentication_configuration_request_builder.py b/msgraph_beta/generated/identity/custom_authentication_extensions/validate_authentication_configuration/validate_authentication_configuration_request_builder.py index 571724fde0d..dc97a3f2ca5 100644 --- a/msgraph_beta/generated/identity/custom_authentication_extensions/validate_authentication_configuration/validate_authentication_configuration_request_builder.py +++ b/msgraph_beta/generated/identity/custom_authentication_extensions/validate_authentication_configuration/validate_authentication_configuration_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ValidateAuthenticationConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/identity_providers/available_provider_types/available_provider_types_request_builder.py b/msgraph_beta/generated/identity/identity_providers/available_provider_types/available_provider_types_request_builder.py index 578d90e8ec0..83c1e736dd8 100644 --- a/msgraph_beta/generated/identity/identity_providers/available_provider_types/available_provider_types_request_builder.py +++ b/msgraph_beta/generated/identity/identity_providers/available_provider_types/available_provider_types_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AvailablePro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AvailableProviderTypesRequestBuilder: diff --git a/msgraph_beta/generated/identity/identity_providers/identity_providers_request_builder.py b/msgraph_beta/generated/identity/identity_providers/identity_providers_request_builder.py index 0e2dc8dcb68..d6cd1893813 100644 --- a/msgraph_beta/generated/identity/identity_providers/identity_providers_request_builder.py +++ b/msgraph_beta/generated/identity/identity_providers/identity_providers_request_builder.py @@ -46,7 +46,7 @@ def by_identity_provider_base_id(self,identity_provider_base_id: str) -> Identit async def get(self,request_configuration: Optional[IdentityProvidersRequestBuilderGetRequestConfiguration] = None) -> Optional[IdentityProviderBaseCollectionResponse]: """ - Get a collection of identity provider resources that are configured for a tenant, and that are derived from identityProviderBase. For a Microsoft Entra tenant, the providers can be socialIdentityProviders or builtinIdentityProviders objects. For an Azure AD B2C, the providers can be socialIdentityProvider, openIdConnectIdentityProvider, or appleManagedIdentityProvider objects. This API is available in the following national cloud deployments. + Get a collection of identity provider resources that are configured for a tenant, and that are derived from identityProviderBase. For a Microsoft Entra tenant, the providers can be socialIdentityProviders or builtinIdentityProviders objects. For an Azure AD B2C, the providers can be socialIdentityProvider, openIdConnectIdentityProvider, or appleManagedIdentityProvider objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityProviderBaseCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitycontainer-list-identityproviders?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[IdentityProvidersRequestBuild async def post(self,body: Optional[IdentityProviderBase] = None, request_configuration: Optional[IdentityProvidersRequestBuilderPostRequestConfiguration] = None) -> Optional[IdentityProviderBase]: """ - Create an identity provider object that is of the type specified in the request body. Among the types of providers derived from identityProviderBase, you can currently create a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently create a socialIdentityProvider, openIdConnectIdentityProvider, or an appleManagedIdentityProvider resource. This API is available in the following national cloud deployments. + Create an identity provider object that is of the type specified in the request body. Among the types of providers derived from identityProviderBase, you can currently create a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently create a socialIdentityProvider, openIdConnectIdentityProvider, or an appleManagedIdentityProvider resource. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityProviderBase] @@ -93,7 +93,7 @@ async def post(self,body: Optional[IdentityProviderBase] = None, request_configu def to_get_request_information(self,request_configuration: Optional[IdentityProvidersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a collection of identity provider resources that are configured for a tenant, and that are derived from identityProviderBase. For a Microsoft Entra tenant, the providers can be socialIdentityProviders or builtinIdentityProviders objects. For an Azure AD B2C, the providers can be socialIdentityProvider, openIdConnectIdentityProvider, or appleManagedIdentityProvider objects. This API is available in the following national cloud deployments. + Get a collection of identity provider resources that are configured for a tenant, and that are derived from identityProviderBase. For a Microsoft Entra tenant, the providers can be socialIdentityProviders or builtinIdentityProviders objects. For an Azure AD B2C, the providers can be socialIdentityProvider, openIdConnectIdentityProvider, or appleManagedIdentityProvider objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[IdentityProv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[IdentityProviderBase] = None, request_configuration: Optional[IdentityProvidersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an identity provider object that is of the type specified in the request body. Among the types of providers derived from identityProviderBase, you can currently create a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently create a socialIdentityProvider, openIdConnectIdentityProvider, or an appleManagedIdentityProvider resource. This API is available in the following national cloud deployments. + Create an identity provider object that is of the type specified in the request body. Among the types of providers derived from identityProviderBase, you can currently create a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently create a socialIdentityProvider, openIdConnectIdentityProvider, or an appleManagedIdentityProvider resource. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[IdentityProviderBase] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def count(self) -> CountRequestBuilder: @dataclass class IdentityProvidersRequestBuilderGetQueryParameters(): """ - Get a collection of identity provider resources that are configured for a tenant, and that are derived from identityProviderBase. For a Microsoft Entra tenant, the providers can be socialIdentityProviders or builtinIdentityProviders objects. For an Azure AD B2C, the providers can be socialIdentityProvider, openIdConnectIdentityProvider, or appleManagedIdentityProvider objects. This API is available in the following national cloud deployments. + Get a collection of identity provider resources that are configured for a tenant, and that are derived from identityProviderBase. For a Microsoft Entra tenant, the providers can be socialIdentityProviders or builtinIdentityProviders objects. For an Azure AD B2C, the providers can be socialIdentityProvider, openIdConnectIdentityProvider, or appleManagedIdentityProvider objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/identity_providers/item/identity_provider_base_item_request_builder.py b/msgraph_beta/generated/identity/identity_providers/item/identity_provider_base_item_request_builder.py index 237416874ad..2a436638643 100644 --- a/msgraph_beta/generated/identity/identity_providers/item/identity_provider_base_item_request_builder.py +++ b/msgraph_beta/generated/identity/identity_providers/item/identity_provider_base_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[IdentityProviderBaseItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an identity provider resource that is of the type specified by the id in the request. Among the types of providers derived from identityProviderBase, you can currently delete a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently delete a socialIdentityProvider, openIdConnectIdentityProvider, or an appleManagedIdentityProvider resource. This API is available in the following national cloud deployments. + Delete an identity provider resource that is of the type specified by the id in the request. Among the types of providers derived from identityProviderBase, you can currently delete a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently delete a socialIdentityProvider, openIdConnectIdentityProvider, or an appleManagedIdentityProvider resource. 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/identityproviderbase-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[IdentityProviderBaseItemRe async def get(self,request_configuration: Optional[IdentityProviderBaseItemRequestBuilderGetRequestConfiguration] = None) -> Optional[IdentityProviderBase]: """ - Get the properties and relationships of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently get a socialIdentityProvider or a builtinIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently get a socialIdentityProvider, openIdConnectIdentityProvider, or an appleManagedIdentityProvider resource. This API is available in the following national cloud deployments. + Get the properties and relationships of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently get a socialIdentityProvider or a builtinIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently get a socialIdentityProvider, openIdConnectIdentityProvider, or an appleManagedIdentityProvider resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityProviderBase] Find more info here: https://learn.microsoft.com/graph/api/identityproviderbase-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[IdentityProviderBaseItemReque async def patch(self,body: Optional[IdentityProviderBase] = None, request_configuration: Optional[IdentityProviderBaseItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[IdentityProviderBase]: """ - Update the properties of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently update a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently update a socialIdentityProvider, openIdConnectIdentityProvider, or an appleManagedIdentityProvider resource. This API is available in the following national cloud deployments. + Update the properties of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently update a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently update a socialIdentityProvider, openIdConnectIdentityProvider, or an appleManagedIdentityProvider resource. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityProviderBase] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[IdentityProviderBase] = None, request_config def to_delete_request_information(self,request_configuration: Optional[IdentityProviderBaseItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an identity provider resource that is of the type specified by the id in the request. Among the types of providers derived from identityProviderBase, you can currently delete a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently delete a socialIdentityProvider, openIdConnectIdentityProvider, or an appleManagedIdentityProvider resource. This API is available in the following national cloud deployments. + Delete an identity provider resource that is of the type specified by the id in the request. Among the types of providers derived from identityProviderBase, you can currently delete a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently delete a socialIdentityProvider, openIdConnectIdentityProvider, or an appleManagedIdentityProvider resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[IdentityP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[IdentityProviderBaseItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently get a socialIdentityProvider or a builtinIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently get a socialIdentityProvider, openIdConnectIdentityProvider, or an appleManagedIdentityProvider resource. This API is available in the following national cloud deployments. + Get the properties and relationships of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently get a socialIdentityProvider or a builtinIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently get a socialIdentityProvider, openIdConnectIdentityProvider, or an appleManagedIdentityProvider resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[IdentityProv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[IdentityProviderBase] = None, request_configuration: Optional[IdentityProviderBaseItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently update a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently update a socialIdentityProvider, openIdConnectIdentityProvider, or an appleManagedIdentityProvider resource. This API is available in the following national cloud deployments. + Update the properties of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently update a socialIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently update a socialIdentityProvider, openIdConnectIdentityProvider, or an appleManagedIdentityProvider resource. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[IdentityProviderBase] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class IdentityProviderBaseItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class IdentityProviderBaseItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently get a socialIdentityProvider or a builtinIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently get a socialIdentityProvider, openIdConnectIdentityProvider, or an appleManagedIdentityProvider resource. This API is available in the following national cloud deployments. + Get the properties and relationships of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently get a socialIdentityProvider or a builtinIdentityProvider resource in Microsoft Entra ID. In Azure AD B2C, this operation can currently get a socialIdentityProvider, openIdConnectIdentityProvider, or an appleManagedIdentityProvider resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/identity_request_builder.py b/msgraph_beta/generated/identity/identity_request_builder.py index 3d495168147..efe6deccd42 100644 --- a/msgraph_beta/generated/identity/identity_request_builder.py +++ b/msgraph_beta/generated/identity/identity_request_builder.py @@ -96,7 +96,7 @@ def to_get_request_information(self,request_configuration: Optional[IdentityRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[IdentityContainer] = None, request_configuration: Optional[IdentityRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -115,7 +115,7 @@ def to_patch_request_information(self,body: Optional[IdentityContainer] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity/user_flow_attributes/item/identity_user_flow_attribute_item_request_builder.py b/msgraph_beta/generated/identity/user_flow_attributes/item/identity_user_flow_attribute_item_request_builder.py index c0b8454b19d..f7a5add77cd 100644 --- a/msgraph_beta/generated/identity/user_flow_attributes/item/identity_user_flow_attribute_item_request_builder.py +++ b/msgraph_beta/generated/identity/user_flow_attributes/item/identity_user_flow_attribute_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[IdentityUserFlowAttributeItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a custom identityUserFlowAttribute. This API is available in the following national cloud deployments. + Delete a custom identityUserFlowAttribute. 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/identityuserflowattribute-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[IdentityUserFlowAttributeI async def get(self,request_configuration: Optional[IdentityUserFlowAttributeItemRequestBuilderGetRequestConfiguration] = None) -> Optional[IdentityUserFlowAttribute]: """ - Retrieve the properties and relationships of a identityUserFlowAttribute object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a identityUserFlowAttribute object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityUserFlowAttribute] Find more info here: https://learn.microsoft.com/graph/api/identityuserflowattribute-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[IdentityUserFlowAttributeItem async def patch(self,body: Optional[IdentityUserFlowAttribute] = None, request_configuration: Optional[IdentityUserFlowAttributeItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[IdentityUserFlowAttribute]: """ - Update the properties of a custom identityUserFlowAttribute object. This API is available in the following national cloud deployments. + Update the properties of a custom identityUserFlowAttribute object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityUserFlowAttribute] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[IdentityUserFlowAttribute] = None, request_c def to_delete_request_information(self,request_configuration: Optional[IdentityUserFlowAttributeItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a custom identityUserFlowAttribute. This API is available in the following national cloud deployments. + Delete a custom identityUserFlowAttribute. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[IdentityU request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[IdentityUserFlowAttributeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a identityUserFlowAttribute object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a identityUserFlowAttribute object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[IdentityUser request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[IdentityUserFlowAttribute] = None, request_configuration: Optional[IdentityUserFlowAttributeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a custom identityUserFlowAttribute object. This API is available in the following national cloud deployments. + Update the properties of a custom identityUserFlowAttribute object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[IdentityUserFlowAttribute] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class IdentityUserFlowAttributeItemRequestBuilderDeleteRequestConfiguration(Base @dataclass class IdentityUserFlowAttributeItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a identityUserFlowAttribute object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a identityUserFlowAttribute object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/user_flow_attributes/user_flow_attributes_request_builder.py b/msgraph_beta/generated/identity/user_flow_attributes/user_flow_attributes_request_builder.py index c7e31b57cf3..e372104e07d 100644 --- a/msgraph_beta/generated/identity/user_flow_attributes/user_flow_attributes_request_builder.py +++ b/msgraph_beta/generated/identity/user_flow_attributes/user_flow_attributes_request_builder.py @@ -45,7 +45,7 @@ def by_identity_user_flow_attribute_id(self,identity_user_flow_attribute_id: str async def get(self,request_configuration: Optional[UserFlowAttributesRequestBuilderGetRequestConfiguration] = None) -> Optional[IdentityUserFlowAttributeCollectionResponse]: """ - Retrieve a list of identityUserFlowAttribute objects. This API is available in the following national cloud deployments. + Retrieve a list of identityUserFlowAttribute objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityUserFlowAttributeCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identityuserflowattribute-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[UserFlowAttributesRequestBuil async def post(self,body: Optional[IdentityUserFlowAttribute] = None, request_configuration: Optional[UserFlowAttributesRequestBuilderPostRequestConfiguration] = None) -> Optional[IdentityUserFlowAttribute]: """ - Create a new custom identityUserFlowAttribute object. This API is available in the following national cloud deployments. + Create a new custom identityUserFlowAttribute object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityUserFlowAttribute] @@ -92,7 +92,7 @@ async def post(self,body: Optional[IdentityUserFlowAttribute] = None, request_co def to_get_request_information(self,request_configuration: Optional[UserFlowAttributesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of identityUserFlowAttribute objects. This API is available in the following national cloud deployments. + Retrieve a list of identityUserFlowAttribute objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[UserFlowAttr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[IdentityUserFlowAttribute] = None, request_configuration: Optional[UserFlowAttributesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new custom identityUserFlowAttribute object. This API is available in the following national cloud deployments. + Create a new custom identityUserFlowAttribute object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[IdentityUserFlowAttribute] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class UserFlowAttributesRequestBuilderGetQueryParameters(): """ - Retrieve a list of identityUserFlowAttribute objects. This API is available in the following national cloud deployments. + Retrieve a list of identityUserFlowAttribute objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/user_flows/item/identity_user_flow_item_request_builder.py b/msgraph_beta/generated/identity/user_flows/item/identity_user_flow_item_request_builder.py index d6bb1aca582..c90fb4b5b6f 100644 --- a/msgraph_beta/generated/identity/user_flows/item/identity_user_flow_item_request_builder.py +++ b/msgraph_beta/generated/identity/user_flows/item/identity_user_flow_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[IdentityUserFlowItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an existing userFlow object. This API is available in the following national cloud deployments. + Delete an existing userFlow object. 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/identityuserflow-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[IdentityUserFlowItemReques async def get(self,request_configuration: Optional[IdentityUserFlowItemRequestBuilderGetRequestConfiguration] = None) -> Optional[IdentityUserFlow]: """ - Retrieve the properties and associations for an userFlow object. This API is available in the following national cloud deployments. + Retrieve the properties and associations for an userFlow object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityUserFlow] Find more info here: https://learn.microsoft.com/graph/api/identityuserflow-get?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[IdentityUserFlow] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[IdentityUserFlowItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an existing userFlow object. This API is available in the following national cloud deployments. + Delete an existing userFlow object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[IdentityU request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[IdentityUserFlowItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and associations for an userFlow object. This API is available in the following national cloud deployments. + Retrieve the properties and associations for an userFlow object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[IdentityUser request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[IdentityUserFlow] = None, request_configuration: Optional[IdentityUserFlowItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[IdentityUserFlow] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class IdentityUserFlowItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class IdentityUserFlowItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and associations for an userFlow object. This API is available in the following national cloud deployments. + Retrieve the properties and associations for an userFlow object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity/user_flows/user_flows_request_builder.py b/msgraph_beta/generated/identity/user_flows/user_flows_request_builder.py index 480e0098a8a..72c82732237 100644 --- a/msgraph_beta/generated/identity/user_flows/user_flows_request_builder.py +++ b/msgraph_beta/generated/identity/user_flows/user_flows_request_builder.py @@ -45,7 +45,7 @@ def by_identity_user_flow_id(self,identity_user_flow_id: str) -> IdentityUserFlo async def get(self,request_configuration: Optional[UserFlowsRequestBuilderGetRequestConfiguration] = None) -> Optional[IdentityUserFlowCollectionResponse]: """ - Retrieve a list of userflows. This API is available in the following national cloud deployments. + Retrieve a list of userflows. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityUserFlowCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identityuserflow-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[UserFlowsRequestBuilderGetReq async def post(self,body: Optional[IdentityUserFlow] = None, request_configuration: Optional[UserFlowsRequestBuilderPostRequestConfiguration] = None) -> Optional[IdentityUserFlow]: """ - Create a new userFlow object. This API is available in the following national cloud deployments. + Create a new userFlow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityUserFlow] @@ -92,7 +92,7 @@ async def post(self,body: Optional[IdentityUserFlow] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[UserFlowsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of userflows. This API is available in the following national cloud deployments. + Retrieve a list of userflows. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[UserFlowsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[IdentityUserFlow] = None, request_configuration: Optional[UserFlowsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new userFlow object. This API is available in the following national cloud deployments. + Create a new userFlow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[IdentityUserFlow] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class UserFlowsRequestBuilderGetQueryParameters(): """ - Retrieve a list of userflows. This API is available in the following national cloud deployments. + Retrieve a list of userflows. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 0a42afe6c76..74415a6f963 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 @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessRev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessReviewsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessReviewSet] = None, request_configuration: Optional[AccessReviewsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[AccessReviewSet] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 abc81a06747..38cc2d0149e 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 @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[DecisionsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessReviewInstanceDecisionItem] = None, request_configuration: Optional[DecisionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -135,7 +135,7 @@ def to_post_request_information(self,body: Optional[AccessReviewInstanceDecision request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 313f3248cd6..3062aa75782 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: 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 25ab7756fff..ed7e6f062f5 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 @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessRev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessReviewInstanceDecisionItem] = None, request_configuration: Optional[AccessReviewInstanceDecisionItemItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AccessReviewInstanceDecisio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 6f53196ff0e..2ed6b18f017 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[InsightsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GovernanceInsight] = None, request_configuration: Optional[InsightsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GovernanceInsight] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 0d21977f7d5..3a7b0da248b 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Governanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GovernanceInsightItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceInsight] = None, request_configuration: Optional[GovernanceInsightItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[GovernanceInsight] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 a0bf8c3358d..fabbf765ecd 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RecordAllDecisionsPostRequestBody] = None, request_configuration: Optional[RecordAllDecisionsRequestBuilderPostRequestConfiguration] = None) -> None: """ - As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. This API is available in the following national cloud deployments. + As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RecordAllDecisionsPostRequestBody] = None, re def to_post_request_information(self,body: Optional[RecordAllDecisionsPostRequestBody] = None, request_configuration: Optional[RecordAllDecisionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. This API is available in the following national cloud deployments. + As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RecordAllDecisionsPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 4754826e348..1d599cd1f99 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 @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[DefinitionsRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewScheduleDefinitionCollectionResponse]: """ - Retrieve the accessReviewScheduleDefinition objects. A list of zero or more accessReviewScheduleDefinition objects are returned, including all of their nested properties, for each access review series created. This does not include the associated accessReviewInstance objects. This API is available in the following national cloud deployments. + Retrieve the accessReviewScheduleDefinition objects. A list of zero or more accessReviewScheduleDefinition objects are returned, including all of their nested properties, for each access review series created. This does not include the associated accessReviewInstance objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewScheduleDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewset-list-definitions?view=graph-rest-1.0 @@ -80,7 +80,7 @@ async def get(self,request_configuration: Optional[DefinitionsRequestBuilderGetR async def post(self,body: Optional[AccessReviewScheduleDefinition] = None, request_configuration: Optional[DefinitionsRequestBuilderPostRequestConfiguration] = None) -> Optional[AccessReviewScheduleDefinition]: """ - Create a new accessReviewScheduleDefinition object. This API is available in the following national cloud deployments. + Create a new accessReviewScheduleDefinition object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewScheduleDefinition] @@ -105,7 +105,7 @@ async def post(self,body: Optional[AccessReviewScheduleDefinition] = None, reque def to_get_request_information(self,request_configuration: Optional[DefinitionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the accessReviewScheduleDefinition objects. A list of zero or more accessReviewScheduleDefinition objects are returned, including all of their nested properties, for each access review series created. This does not include the associated accessReviewInstance objects. This API is available in the following national cloud deployments. + Retrieve the accessReviewScheduleDefinition objects. A list of zero or more accessReviewScheduleDefinition objects are returned, including all of their nested properties, for each access review series created. This does not include the associated accessReviewInstance objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,12 +117,12 @@ def to_get_request_information(self,request_configuration: Optional[DefinitionsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessReviewScheduleDefinition] = None, request_configuration: Optional[DefinitionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new accessReviewScheduleDefinition object. This API is available in the following national cloud deployments. + Create a new accessReviewScheduleDefinition object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -136,7 +136,7 @@ def to_post_request_information(self,body: Optional[AccessReviewScheduleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -162,7 +162,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DefinitionsRequestBuilderGetQueryParameters(): """ - Retrieve the accessReviewScheduleDefinition objects. A list of zero or more accessReviewScheduleDefinition objects are returned, including all of their nested properties, for each access review series created. This does not include the associated accessReviewInstance objects. This API is available in the following national cloud deployments. + Retrieve the accessReviewScheduleDefinition objects. A list of zero or more accessReviewScheduleDefinition objects are returned, including all of their nested properties, for each access review series created. This does not include the associated accessReviewInstance objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 d873d49d2f0..184e278ccec 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: 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 18bc2ac513c..df9924e0792 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 @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AccessReviewScheduleDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an accessReviewScheduleDefinition object. This API is available in the following national cloud deployments. + Delete an accessReviewScheduleDefinition object. 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/accessreviewscheduledefinition-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[AccessReviewScheduleDefini async def get(self,request_configuration: Optional[AccessReviewScheduleDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewScheduleDefinition]: """ - Retrieve an accessReviewScheduleDefinition object by ID. This returns all properties of the scheduled access review series except for the associated accessReviewInstances. Each accessReviewScheduleDefinition has at least one instance. An instance represents a review for a specific resource (such as a particular group's members), during one occurrence (for example, March 2021) of a recurring review. To retrieve the instances of the access review series, use the list accessReviewInstance API. This API is available in the following national cloud deployments. + Retrieve an accessReviewScheduleDefinition object by ID. This returns all properties of the scheduled access review series except for the associated accessReviewInstances. Each accessReviewScheduleDefinition has at least one instance. An instance represents a review for a specific resource (such as a particular group's members), during one occurrence (for example, March 2021) of a recurring review. To retrieve the instances of the access review series, use the list accessReviewInstance API. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewScheduleDefinition] Find more info here: https://learn.microsoft.com/graph/api/accessreviewscheduledefinition-get?view=graph-rest-1.0 @@ -70,17 +70,16 @@ async def get(self,request_configuration: Optional[AccessReviewScheduleDefinitio return await self.request_adapter.send_async(request_info, AccessReviewScheduleDefinition, error_mapping) - async def patch(self,body: Optional[AccessReviewScheduleDefinition] = None, request_configuration: Optional[AccessReviewScheduleDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[AccessReviewScheduleDefinition]: + async def put(self,body: Optional[AccessReviewScheduleDefinition] = None, request_configuration: Optional[AccessReviewScheduleDefinitionItemRequestBuilderPutRequestConfiguration] = None) -> Optional[AccessReviewScheduleDefinition]: """ - Update an existing accessReviewScheduleDefinition object to change one or more of its properties. + Update the navigation property definitions in identityGovernance param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewScheduleDefinition] - Find more info here: https://learn.microsoft.com/graph/api/accessreviewscheduledefinition-update?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") - request_info = self.to_patch_request_information( + request_info = self.to_put_request_information( body, request_configuration ) from .....models.o_data_errors.o_data_error import ODataError @@ -97,7 +96,7 @@ async def patch(self,body: Optional[AccessReviewScheduleDefinition] = None, requ def to_delete_request_information(self,request_configuration: Optional[AccessReviewScheduleDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an accessReviewScheduleDefinition object. This API is available in the following national cloud deployments. + Delete an accessReviewScheduleDefinition object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[AccessRev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessReviewScheduleDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve an accessReviewScheduleDefinition object by ID. This returns all properties of the scheduled access review series except for the associated accessReviewInstances. Each accessReviewScheduleDefinition has at least one instance. An instance represents a review for a specific resource (such as a particular group's members), during one occurrence (for example, March 2021) of a recurring review. To retrieve the instances of the access review series, use the list accessReviewInstance API. This API is available in the following national cloud deployments. + Retrieve an accessReviewScheduleDefinition object by ID. This returns all properties of the scheduled access review series except for the associated accessReviewInstances. Each accessReviewScheduleDefinition has at least one instance. An instance represents a review for a specific resource (such as a particular group's members), during one occurrence (for example, March 2021) of a recurring review. To retrieve the instances of the access review series, use the list accessReviewInstance API. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info - def to_patch_request_information(self,body: Optional[AccessReviewScheduleDefinition] = None, request_configuration: Optional[AccessReviewScheduleDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + def to_put_request_information(self,body: Optional[AccessReviewScheduleDefinition] = None, request_configuration: Optional[AccessReviewScheduleDefinitionItemRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: """ - Update an existing accessReviewScheduleDefinition object to change one or more of its properties. + Update the navigation property definitions in identityGovernance param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,8 +142,8 @@ def to_patch_request_information(self,body: Optional[AccessReviewScheduleDefinit request_info.add_request_options(request_configuration.options) request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters - request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.http_method = Method.PUT + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +188,7 @@ class AccessReviewScheduleDefinitionItemRequestBuilderDeleteRequestConfiguration @dataclass class AccessReviewScheduleDefinitionItemRequestBuilderGetQueryParameters(): """ - Retrieve an accessReviewScheduleDefinition object by ID. This returns all properties of the scheduled access review series except for the associated accessReviewInstances. Each accessReviewScheduleDefinition has at least one instance. An instance represents a review for a specific resource (such as a particular group's members), during one occurrence (for example, March 2021) of a recurring review. To retrieve the instances of the access review series, use the list accessReviewInstance API. This API is available in the following national cloud deployments. + Retrieve an accessReviewScheduleDefinition object by ID. This returns all properties of the scheduled access review series except for the associated accessReviewInstances. Each accessReviewScheduleDefinition has at least one instance. An instance represents a review for a specific resource (such as a particular group's members), during one occurrence (for example, March 2021) of a recurring review. To retrieve the instances of the access review series, use the list accessReviewInstance API. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ @@ -228,7 +227,7 @@ class AccessReviewScheduleDefinitionItemRequestBuilderGetRequestConfiguration(Ba from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class AccessReviewScheduleDefinitionItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + class AccessReviewScheduleDefinitionItemRequestBuilderPutRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ 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 0539feedf50..f23edce905c 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: 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 a58e009537e..e4d83576fff 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 @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[InstancesRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewInstanceCollectionResponse]: """ - Retrieve the accessReviewInstance objects for a specific accessReviewScheduleDefinition. A list of zero or more accessReviewInstance objects are returned, including all of their nested properties. Returned objects do not include associated accessReviewInstanceDecisionItems. To retrieve the decisions on the instance, use List accessReviewInstanceDecisionItem. This API is available in the following national cloud deployments. + Retrieve the accessReviewInstance objects for a specific accessReviewScheduleDefinition. A list of zero or more accessReviewInstance objects are returned, including all of their nested properties. Returned objects do not include associated accessReviewInstanceDecisionItems. To retrieve the decisions on the instance, use List accessReviewInstanceDecisionItem. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewscheduledefinition-list-instances?view=graph-rest-1.0 @@ -104,7 +104,7 @@ async def post(self,body: Optional[AccessReviewInstance] = None, request_configu def to_get_request_information(self,request_configuration: Optional[InstancesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the accessReviewInstance objects for a specific accessReviewScheduleDefinition. A list of zero or more accessReviewInstance objects are returned, including all of their nested properties. Returned objects do not include associated accessReviewInstanceDecisionItems. To retrieve the decisions on the instance, use List accessReviewInstanceDecisionItem. This API is available in the following national cloud deployments. + Retrieve the accessReviewInstance objects for a specific accessReviewScheduleDefinition. A list of zero or more accessReviewInstance objects are returned, including all of their nested properties. Returned objects do not include associated accessReviewInstanceDecisionItems. To retrieve the decisions on the instance, use List accessReviewInstanceDecisionItem. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[InstancesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessReviewInstance] = None, request_configuration: Optional[InstancesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -135,7 +135,7 @@ def to_post_request_information(self,body: Optional[AccessReviewInstance] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -161,7 +161,7 @@ def count(self) -> CountRequestBuilder: @dataclass class InstancesRequestBuilderGetQueryParameters(): """ - Retrieve the accessReviewInstance objects for a specific accessReviewScheduleDefinition. A list of zero or more accessReviewInstance objects are returned, including all of their nested properties. Returned objects do not include associated accessReviewInstanceDecisionItems. To retrieve the decisions on the instance, use List accessReviewInstanceDecisionItem. This API is available in the following national cloud deployments. + Retrieve the accessReviewInstance objects for a specific accessReviewScheduleDefinition. A list of zero or more accessReviewInstance objects are returned, including all of their nested properties. Returned objects do not include associated accessReviewInstanceDecisionItems. To retrieve the decisions on the instance, use List accessReviewInstanceDecisionItem. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 a7837cbe389..c10e7421674 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 @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[AcceptRecommendationsRequestBuilderPostRequestConfiguration] = None) -> None: """ - Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. This API is available in the following national cloud deployments. + Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. 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/accessreviewinstance-acceptrecommendations?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[AcceptRecommendationsRequest def to_post_request_information(self,request_configuration: Optional[AcceptRecommendationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. This API is available in the following national cloud deployments. + Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[AcceptRecom request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AcceptRecommendationsRequestBuilder: 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 d4ceb834c57..2defc2c817a 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 @@ -58,7 +58,7 @@ async def delete(self,request_configuration: Optional[AccessReviewInstanceItemRe async def get(self,request_configuration: Optional[AccessReviewInstanceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewInstance]: """ - Retrieve an accessReviewInstance object using the identifier of an accessReviewInstance and its parent accessReviewScheduleDefinition. This returns all properties of the instance except for the associated accessReviewInstanceDecisionItems. To retrieve the decisions on the instance, use List accessReviewInstanceDecisionItem. This API is available in the following national cloud deployments. + Retrieve an accessReviewInstance object using the identifier of an accessReviewInstance and its parent accessReviewScheduleDefinition. This returns all properties of the instance except for the associated accessReviewInstanceDecisionItems. To retrieve the decisions on the instance, use List accessReviewInstanceDecisionItem. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstance] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-get?view=graph-rest-1.0 @@ -116,12 +116,12 @@ def to_delete_request_information(self,request_configuration: Optional[AccessRev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessReviewInstanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve an accessReviewInstance object using the identifier of an accessReviewInstance and its parent accessReviewScheduleDefinition. This returns all properties of the instance except for the associated accessReviewInstanceDecisionItems. To retrieve the decisions on the instance, use List accessReviewInstanceDecisionItem. This API is available in the following national cloud deployments. + Retrieve an accessReviewInstance object using the identifier of an accessReviewInstance and its parent accessReviewScheduleDefinition. This returns all properties of the instance except for the associated accessReviewInstanceDecisionItems. To retrieve the decisions on the instance, use List accessReviewInstanceDecisionItem. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -133,7 +133,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessReviewInstance] = None, request_configuration: Optional[AccessReviewInstanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -152,7 +152,7 @@ def to_patch_request_information(self,body: Optional[AccessReviewInstance] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -278,7 +278,7 @@ class AccessReviewInstanceItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class AccessReviewInstanceItemRequestBuilderGetQueryParameters(): """ - Retrieve an accessReviewInstance object using the identifier of an accessReviewInstance and its parent accessReviewScheduleDefinition. This returns all properties of the instance except for the associated accessReviewInstanceDecisionItems. To retrieve the decisions on the instance, use List accessReviewInstanceDecisionItem. This API is available in the following national cloud deployments. + Retrieve an accessReviewInstance object using the identifier of an accessReviewInstance and its parent accessReviewScheduleDefinition. This returns all properties of the instance except for the associated accessReviewInstanceDecisionItems. To retrieve the decisions on the instance, use List accessReviewInstanceDecisionItem. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 4157bd05eb0..33363bd5ce0 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 @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ApplyDecisionsRequestBuilderPostRequestConfiguration] = None) -> None: """ - Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. This API is available in the following national cloud deployments. + Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. 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/accessreviewinstance-applydecisions?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ApplyDecisionsRequestBuilder def to_post_request_information(self,request_configuration: Optional[ApplyDecisionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. This API is available in the following national cloud deployments. + Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ApplyDecisi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ApplyDecisionsRequestBuilder: 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 a3586d7a86b..5a69caf662f 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[BatchRecordDecisionsPostRequestBody] = None, request_configuration: Optional[BatchRecordDecisionsRequestBuilderPostRequestConfiguration] = None) -> None: """ - Enables reviewers to review all accessReviewInstanceDecisionItem objects in batches by using principalId, resourceId, or neither. This API is available in the following national cloud deployments. + Enables reviewers to review all accessReviewInstanceDecisionItem objects in batches by using principalId, resourceId, or neither. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[BatchRecordDecisionsPostRequestBody] = None, def to_post_request_information(self,body: Optional[BatchRecordDecisionsPostRequestBody] = None, request_configuration: Optional[BatchRecordDecisionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Enables reviewers to review all accessReviewInstanceDecisionItem objects in batches by using principalId, resourceId, or neither. This API is available in the following national cloud deployments. + Enables reviewers to review all accessReviewInstanceDecisionItem objects in batches by using principalId, resourceId, or neither. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[BatchRecordDecisionsPostRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 fe21cfa92a0..f303287eab2 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 @@ -45,7 +45,7 @@ def by_access_review_reviewer_id(self,access_review_reviewer_id: str) -> AccessR async def get(self,request_configuration: Optional[ContactedReviewersRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewReviewerCollectionResponse]: """ - Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. This API is available in the following national cloud deployments. + Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewReviewerCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-list-contactedreviewers?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AccessReviewReviewer] = None, request_configu def to_get_request_information(self,request_configuration: Optional[ContactedReviewersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. This API is available in the following national cloud deployments. + Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ContactedRev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessReviewReviewer] = None, request_configuration: Optional[ContactedReviewersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AccessReviewReviewer] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ContactedReviewersRequestBuilderGetQueryParameters(): """ - Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. This API is available in the following national cloud deployments. + Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 60e7db5b8af..2f3b17da7d8 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessRev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessReviewReviewerItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessReviewReviewer] = None, request_configuration: Optional[AccessReviewReviewerItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessReviewReviewer] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 2c1924eef2c..b28acbdfe0c 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 @@ -59,7 +59,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[DecisionsRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewInstanceDecisionItemCollectionResponse]: """ - Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. This API is available in the following national cloud deployments. + Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItemCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-1.0 @@ -105,7 +105,7 @@ async def post(self,body: Optional[AccessReviewInstanceDecisionItem] = None, req def to_get_request_information(self,request_configuration: Optional[DecisionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. This API is available in the following national cloud deployments. + Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[DecisionsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessReviewInstanceDecisionItem] = None, request_configuration: Optional[DecisionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -136,7 +136,7 @@ def to_post_request_information(self,body: Optional[AccessReviewInstanceDecision request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -171,7 +171,7 @@ def record_all_decisions(self) -> RecordAllDecisionsRequestBuilder: @dataclass class DecisionsRequestBuilderGetQueryParameters(): """ - Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. This API is available in the following national cloud deployments. + Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 fb0833c0e8b..9c0fd3973de 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: 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 8de0441ab6a..9af1053499f 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 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[AccessReviewInstanceDecisi async def get(self,request_configuration: Optional[AccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewInstanceDecisionItem]: """ - Read the properties and relationships of an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. + Read the properties and relationships of an accessReviewInstanceDecisionItem object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[AccessRev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. + Read the properties and relationships of an accessReviewInstanceDecisionItem object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessReviewInstanceDecisionItem] = None, request_configuration: Optional[AccessReviewInstanceDecisionItemItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[AccessReviewInstanceDecisio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class AccessReviewInstanceDecisionItemItemRequestBuilderDeleteRequestConfigurati @dataclass class AccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. + Read the properties and relationships of an accessReviewInstanceDecisionItem object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 833406b2001..04b946383fd 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[InsightsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GovernanceInsight] = None, request_configuration: Optional[InsightsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GovernanceInsight] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 b6aeb49105d..79cd30ec303 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Governanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GovernanceInsightItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceInsight] = None, request_configuration: Optional[GovernanceInsightItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[GovernanceInsight] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 e071c93893a..6aaf18b779b 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RecordAllDecisionsPostRequestBody] = None, request_configuration: Optional[RecordAllDecisionsRequestBuilderPostRequestConfiguration] = None) -> None: """ - As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. This API is available in the following national cloud deployments. + As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RecordAllDecisionsPostRequestBody] = None, re def to_post_request_information(self,body: Optional[RecordAllDecisionsPostRequestBody] = None, request_configuration: Optional[RecordAllDecisionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. This API is available in the following national cloud deployments. + As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RecordAllDecisionsPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 0393f8a9d0d..a045ee50762 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DefinitionRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DefinitionRequestBuilder: 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 7e246380a15..be20926c9db 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 @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ResetDecisionsRequestBuilderPostRequestConfiguration] = None) -> None: """ - Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. This API is available in the following national cloud deployments. + Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. 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/accessreviewinstance-resetdecisions?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ResetDecisionsRequestBuilder def to_post_request_information(self,request_configuration: Optional[ResetDecisionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. This API is available in the following national cloud deployments. + Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ResetDecisi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResetDecisionsRequestBuilder: 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 02d1b68c334..0fdeed98076 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 @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SendReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Send a reminder to the reviewers of a currently active accessReviewInstance. This API is available in the following national cloud deployments. + Send a reminder to the reviewers of a currently active accessReviewInstance. 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/accessreviewinstance-sendreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SendReminderRequestBuilderPo def to_post_request_information(self,request_configuration: Optional[SendReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send a reminder to the reviewers of a currently active accessReviewInstance. This API is available in the following national cloud deployments. + Send a reminder to the reviewers of a currently active accessReviewInstance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SendReminde request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SendReminderRequestBuilder: 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 3948d4be774..56f8614629d 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: 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 eed93f554e6..42ab9de93c5 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 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[AccessReviewStageItemReque async def get(self,request_configuration: Optional[AccessReviewStageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewStage]: """ - Retrieve the properties and relationships of an accessReviewStage object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an accessReviewStage object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewStage] Find more info here: https://learn.microsoft.com/graph/api/accessreviewstage-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[AccessReviewStageItemRequestB async def patch(self,body: Optional[AccessReviewStage] = None, request_configuration: Optional[AccessReviewStageItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[AccessReviewStage]: """ - Update the properties of an accessReviewStage object. Only the reviewers and fallbackReviewers properties can be updated. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewStage, its status must be NotStarted, Initializing, or InProgress. This API is available in the following national cloud deployments. + Update the properties of an accessReviewStage object. Only the reviewers and fallbackReviewers properties can be updated. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewStage, its status must be NotStarted, Initializing, or InProgress. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewStage] @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[AccessRev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessReviewStageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an accessReviewStage object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an accessReviewStage object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessReviewStage] = None, request_configuration: Optional[AccessReviewStageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an accessReviewStage object. Only the reviewers and fallbackReviewers properties can be updated. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewStage, its status must be NotStarted, Initializing, or InProgress. This API is available in the following national cloud deployments. + Update the properties of an accessReviewStage object. Only the reviewers and fallbackReviewers properties can be updated. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewStage, its status must be NotStarted, Initializing, or InProgress. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[AccessReviewStage] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ class AccessReviewStageItemRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class AccessReviewStageItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an accessReviewStage object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an accessReviewStage object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 59dcaf20378..df89bed45e2 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 @@ -59,7 +59,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[DecisionsRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewInstanceDecisionItemCollectionResponse]: """ - Get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. + Get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItemCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewstage-list-decisions?view=graph-rest-1.0 @@ -105,7 +105,7 @@ async def post(self,body: Optional[AccessReviewInstanceDecisionItem] = None, req def to_get_request_information(self,request_configuration: Optional[DecisionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. + Get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[DecisionsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessReviewInstanceDecisionItem] = None, request_configuration: Optional[DecisionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -136,7 +136,7 @@ def to_post_request_information(self,body: Optional[AccessReviewInstanceDecision request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -171,7 +171,7 @@ def record_all_decisions(self) -> RecordAllDecisionsRequestBuilder: @dataclass class DecisionsRequestBuilderGetQueryParameters(): """ - Get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. + Get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 7d33f079b93..115f016f899 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: 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 999ea581f58..eb0ef3c9d59 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 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[AccessReviewInstanceDecisi async def get(self,request_configuration: Optional[AccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewInstanceDecisionItem]: """ - Read the properties and relationships of an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. + Read the properties and relationships of an accessReviewInstanceDecisionItem object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[AccessReviewInstanceDecisionI async def patch(self,body: Optional[AccessReviewInstanceDecisionItem] = None, request_configuration: Optional[AccessReviewInstanceDecisionItemItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[AccessReviewInstanceDecisionItem]: """ - Update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. This API is available in the following national cloud deployments. + Update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[AccessRev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. + Read the properties and relationships of an accessReviewInstanceDecisionItem object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessReviewInstanceDecisionItem] = None, request_configuration: Optional[AccessReviewInstanceDecisionItemItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. This API is available in the following national cloud deployments. + Update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[AccessReviewInstanceDecisio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ class AccessReviewInstanceDecisionItemItemRequestBuilderDeleteRequestConfigurati @dataclass class AccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. + Read the properties and relationships of an accessReviewInstanceDecisionItem object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 9ef517982d5..cab4a8cec1c 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[InsightsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GovernanceInsight] = None, request_configuration: Optional[InsightsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GovernanceInsight] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 fec2772f24d..1366e51336a 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Governanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GovernanceInsightItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceInsight] = None, request_configuration: Optional[GovernanceInsightItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[GovernanceInsight] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 89a54fe3891..277c4c7b190 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RecordAllDecisionsPostRequestBody] = None, request_configuration: Optional[RecordAllDecisionsRequestBuilderPostRequestConfiguration] = None) -> None: """ - As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. This API is available in the following national cloud deployments. + As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RecordAllDecisionsPostRequestBody] = None, re def to_post_request_information(self,body: Optional[RecordAllDecisionsPostRequestBody] = None, request_configuration: Optional[RecordAllDecisionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. This API is available in the following national cloud deployments. + As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RecordAllDecisionsPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 aa60054af94..a8d99dabc6a 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 @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[StopRequestBuilderPostRequestConfiguration] = None) -> None: """ - Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. This API is available in the following national cloud deployments. + Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. 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/accessreviewstage-stop?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[StopRequestBuilderPostReques def to_post_request_information(self,request_configuration: Optional[StopRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. This API is available in the following national cloud deployments. + Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[StopRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> StopRequestBuilder: 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 ad5f31bfc06..dcffecff960 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 @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[StagesRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewStageCollectionResponse]: """ - Retrieve the stages in a multi-stage access review instance. This API is available in the following national cloud deployments. + Retrieve the stages in a multi-stage access review instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewStageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-list-stages?view=graph-rest-1.0 @@ -104,7 +104,7 @@ async def post(self,body: Optional[AccessReviewStage] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[StagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the stages in a multi-stage access review instance. This API is available in the following national cloud deployments. + Retrieve the stages in a multi-stage access review instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[StagesReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessReviewStage] = None, request_configuration: Optional[StagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -135,7 +135,7 @@ def to_post_request_information(self,body: Optional[AccessReviewStage] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -161,7 +161,7 @@ def count(self) -> CountRequestBuilder: @dataclass class StagesRequestBuilderGetQueryParameters(): """ - Retrieve the stages in a multi-stage access review instance. This API is available in the following national cloud deployments. + Retrieve the stages in a multi-stage access review instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 1d0b12e59d2..57dc4e697f0 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 @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[StopRequestBuilderPostRequestConfiguration] = None) -> None: """ - Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. This API is available in the following national cloud deployments. + Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. 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/accessreviewinstance-stop?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[StopRequestBuilderPostReques def to_post_request_information(self,request_configuration: Optional[StopRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. This API is available in the following national cloud deployments. + Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[StopRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> StopRequestBuilder: 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 14dd60f7f83..2196e92353b 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[StopApplyDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> StopApplyDecisionsRequestBuilder: 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 b1da94c95b6..5653fae26b7 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[StopRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> StopRequestBuilder: 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 2f2b2f5f92c..fbb9a1b0241 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 @@ -45,7 +45,7 @@ def by_access_review_history_definition_id(self,access_review_history_definition async def get(self,request_configuration: Optional[HistoryDefinitionsRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewHistoryDefinitionCollectionResponse]: """ - Retrieve the accessReviewHistoryDefinition objects created in the last 30 days, including all nested properties. This API is available in the following national cloud deployments. + Retrieve the accessReviewHistoryDefinition objects created in the last 30 days, including all nested properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewHistoryDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewset-list-historydefinitions?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[HistoryDefinitionsRequestBuil async def post(self,body: Optional[AccessReviewHistoryDefinition] = None, request_configuration: Optional[HistoryDefinitionsRequestBuilderPostRequestConfiguration] = None) -> Optional[AccessReviewHistoryDefinition]: """ - Create a new accessReviewHistoryDefinition object. This API is available in the following national cloud deployments. + Create a new accessReviewHistoryDefinition object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewHistoryDefinition] @@ -92,7 +92,7 @@ async def post(self,body: Optional[AccessReviewHistoryDefinition] = None, reques def to_get_request_information(self,request_configuration: Optional[HistoryDefinitionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the accessReviewHistoryDefinition objects created in the last 30 days, including all nested properties. This API is available in the following national cloud deployments. + Retrieve the accessReviewHistoryDefinition objects created in the last 30 days, including all nested properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[HistoryDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessReviewHistoryDefinition] = None, request_configuration: Optional[HistoryDefinitionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new accessReviewHistoryDefinition object. This API is available in the following national cloud deployments. + Create a new accessReviewHistoryDefinition object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[AccessReviewHistoryDefinitio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HistoryDefinitionsRequestBuilderGetQueryParameters(): """ - Retrieve the accessReviewHistoryDefinition objects created in the last 30 days, including all nested properties. This API is available in the following national cloud deployments. + Retrieve the accessReviewHistoryDefinition objects created in the last 30 days, including all nested properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 ffa575aa82d..b2d6df14438 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 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AccessReviewHistoryDefinit async def get(self,request_configuration: Optional[AccessReviewHistoryDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewHistoryDefinition]: """ - Retrieve an accessReviewHistoryDefinition object by its identifier. All of the properties of the access review history definition object are returned. If the definition is 30 days or older, a 404 Not Found error is returned. This API is available in the following national cloud deployments. + Retrieve an accessReviewHistoryDefinition object by its identifier. All of the properties of the access review history definition object are returned. If the definition is 30 days or older, a 404 Not Found error is returned. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewHistoryDefinition] Find more info here: https://learn.microsoft.com/graph/api/accessreviewhistorydefinition-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[AccessRev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessReviewHistoryDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve an accessReviewHistoryDefinition object by its identifier. All of the properties of the access review history definition object are returned. If the definition is 30 days or older, a 404 Not Found error is returned. This API is available in the following national cloud deployments. + Retrieve an accessReviewHistoryDefinition object by its identifier. All of the properties of the access review history definition object are returned. If the definition is 30 days or older, a 404 Not Found error is returned. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessReviewHistoryDefinition] = None, request_configuration: Optional[AccessReviewHistoryDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AccessReviewHistoryDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class AccessReviewHistoryDefinitionItemRequestBuilderDeleteRequestConfiguration( @dataclass class AccessReviewHistoryDefinitionItemRequestBuilderGetQueryParameters(): """ - Retrieve an accessReviewHistoryDefinition object by its identifier. All of the properties of the access review history definition object are returned. If the definition is 30 days or older, a 404 Not Found error is returned. This API is available in the following national cloud deployments. + Retrieve an accessReviewHistoryDefinition object by its identifier. All of the properties of the access review history definition object are returned. If the definition is 30 days or older, a 404 Not Found error is returned. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 cff24a32519..2959fc0fe6e 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 @@ -45,7 +45,7 @@ def by_access_review_history_instance_id(self,access_review_history_instance_id: async def get(self,request_configuration: Optional[InstancesRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewHistoryInstanceCollectionResponse]: """ - Retrieve the instances of an access review history definition created in the last 30 days. This API is available in the following national cloud deployments. + Retrieve the instances of an access review history definition created in the last 30 days. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewHistoryInstanceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewhistorydefinition-list-instances?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AccessReviewHistoryInstance] = None, request_ def to_get_request_information(self,request_configuration: Optional[InstancesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the instances of an access review history definition created in the last 30 days. This API is available in the following national cloud deployments. + Retrieve the instances of an access review history definition created in the last 30 days. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[InstancesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessReviewHistoryInstance] = None, request_configuration: Optional[InstancesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AccessReviewHistoryInstance] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class InstancesRequestBuilderGetQueryParameters(): """ - Retrieve the instances of an access review history definition created in the last 30 days. This API is available in the following national cloud deployments. + Retrieve the instances of an access review history definition created in the last 30 days. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 ecc9a39450c..b400de1f071 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessRev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessReviewHistoryInstanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessReviewHistoryInstance] = None, request_configuration: Optional[AccessReviewHistoryInstanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessReviewHistoryInstance request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 7807ca4f51b..68a03876339 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[GenerateDownloadUriRequestBuilderPostRequestConfiguration] = None) -> Optional[AccessReviewHistoryInstance]: """ - Generates a URI for an accessReviewHistoryInstance object the status for which is done. Each URI can be used to retrieve the instance's review history data. Each URI is valid for 24 hours and can be retrieved by fetching the downloadUri property from the accessReviewHistoryInstance object. This API is available in the following national cloud deployments. + Generates a URI for an accessReviewHistoryInstance object the status for which is done. Each URI can be used to retrieve the instance's review history data. Each URI is valid for 24 hours and can be retrieved by fetching the downloadUri property from the accessReviewHistoryInstance object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewHistoryInstance] Find more info here: https://learn.microsoft.com/graph/api/accessreviewhistoryinstance-generatedownloaduri?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[GenerateDownloadUriRequestBu def to_post_request_information(self,request_configuration: Optional[GenerateDownloadUriRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Generates a URI for an accessReviewHistoryInstance object the status for which is done. Each URI can be used to retrieve the instance's review history data. Each URI is valid for 24 hours and can be retrieved by fetching the downloadUri property from the accessReviewHistoryInstance object. This API is available in the following national cloud deployments. + Generates a URI for an accessReviewHistoryInstance object the status for which is done. Each URI can be used to retrieve the instance's review history data. Each URI is valid for 24 hours and can be retrieved by fetching the downloadUri property from the accessReviewHistoryInstance object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[GenerateDow request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GenerateDownloadUriRequestBuilder: 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 e637c16f82a..e96c4b7b95c 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[PolicyRequestBuilderDelete async def get(self,request_configuration: Optional[PolicyRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewPolicy]: """ - Read the properties and relationships of an accessReviewPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of an accessReviewPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewPolicy] Find more info here: https://learn.microsoft.com/graph/api/accessreviewpolicy-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[PolicyRequestBuilderGetReques async def patch(self,body: Optional[AccessReviewPolicy] = None, request_configuration: Optional[PolicyRequestBuilderPatchRequestConfiguration] = None) -> Optional[AccessReviewPolicy]: """ - Update the properties of an accessReviewPolicy object. This API is available in the following national cloud deployments. + Update the properties of an accessReviewPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewPolicy] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[PolicyReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PolicyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an accessReviewPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of an accessReviewPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[PolicyReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessReviewPolicy] = None, request_configuration: Optional[PolicyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an accessReviewPolicy object. This API is available in the following national cloud deployments. + Update the properties of an accessReviewPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AccessReviewPolicy] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class PolicyRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class PolicyRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an accessReviewPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of an accessReviewPolicy object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 67be93ef86d..f4d9ef28af7 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AppConsen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AppConsentRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AppConsentRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AppConsentApprovalRoute] = None, request_configuration: Optional[AppConsentRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AppConsentApprovalRoute] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 58365b8cacf..afac00ec0e6 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 @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[AppConsentRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[AppConsentRequestCollectionResponse]: """ - Retrieve appConsentRequest objects and their properties. This API is available in the following national cloud deployments. + Retrieve appConsentRequest objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppConsentRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/appconsentapprovalroute-list-appconsentrequests?view=graph-rest-1.0 @@ -104,7 +104,7 @@ async def post(self,body: Optional[AppConsentRequest] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[AppConsentRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve appConsentRequest objects and their properties. This API is available in the following national cloud deployments. + Retrieve appConsentRequest objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[AppConsentRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AppConsentRequest] = None, request_configuration: Optional[AppConsentRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -135,7 +135,7 @@ def to_post_request_information(self,body: Optional[AppConsentRequest] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -161,7 +161,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AppConsentRequestsRequestBuilderGetQueryParameters(): """ - Retrieve appConsentRequest objects and their properties. This API is available in the following national cloud deployments. + Retrieve appConsentRequest objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 58d1395e61e..a6623687218 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: 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 feccdb7f41c..ff9c49d2666 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 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AppConsentRequestItemReque async def get(self,request_configuration: Optional[AppConsentRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AppConsentRequest]: """ - Read the properties and relationships of an appConsentRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of an appConsentRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppConsentRequest] Find more info here: https://learn.microsoft.com/graph/api/appconsentrequest-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[AppConsen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AppConsentRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an appConsentRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of an appConsentRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AppConsentRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AppConsentRequest] = None, request_configuration: Optional[AppConsentRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AppConsentRequest] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class AppConsentRequestItemRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class AppConsentRequestItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an appConsentRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of an appConsentRequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 f14323fe409..028604349bc 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: 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 ea80da0d11d..6c4bc75cc7b 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ApprovalR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ApprovalRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ApprovalRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Approval] = None, request_configuration: Optional[ApprovalRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Approval] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 fde06e64253..bf9cbcef6c8 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ApprovalStepItemRequestBui async def get(self,request_configuration: Optional[ApprovalStepItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ApprovalStep]: """ - Retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. + Retrieve the properties of an approvalStep object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] Find more info here: https://learn.microsoft.com/graph/api/approvalstep-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[ApprovalStepItemRequestBuilde async def patch(self,body: Optional[ApprovalStep] = None, request_configuration: Optional[ApprovalStepItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ApprovalStep]: """ - Apply approve or deny decision on an approvalStep object. This API is available in the following national cloud deployments. + Apply approve or deny decision on an approvalStep object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ApprovalS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ApprovalStepItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. + Retrieve the properties of an approvalStep object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[ApprovalStep request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ApprovalStep] = None, request_configuration: Optional[ApprovalStepItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Apply approve or deny decision on an approvalStep object. This API is available in the following national cloud deployments. + Apply approve or deny decision on an approvalStep object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ApprovalStep] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ApprovalStepItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class ApprovalStepItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. + Retrieve the properties of an approvalStep object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 a2015094204..aaee01e2833 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 @@ -45,7 +45,7 @@ def by_approval_step_id(self,approval_step_id: str) -> ApprovalStepItemRequestBu async def get(self,request_configuration: Optional[StepsRequestBuilderGetRequestConfiguration] = None) -> Optional[ApprovalStepCollectionResponse]: """ - List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStepCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/approval-list-steps?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ApprovalStep] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[StepsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[StepsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ApprovalStep] = None, request_configuration: Optional[StepsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ApprovalStep] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class StepsRequestBuilderGetQueryParameters(): """ - List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 476848ce2eb..21baaa065b6 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 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[UserConsentRequestItemRequ async def get(self,request_configuration: Optional[UserConsentRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UserConsentRequest]: """ - Read the properties and relationships of a userConsentRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of a userConsentRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserConsentRequest] Find more info here: https://learn.microsoft.com/graph/api/userconsentrequest-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[UserConse request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserConsentRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a userConsentRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of a userConsentRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[UserConsentR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserConsentRequest] = None, request_configuration: Optional[UserConsentRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[UserConsentRequest] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class UserConsentRequestItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class UserConsentRequestItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a userConsentRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of a userConsentRequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 6a5b045fd54..19a7807092a 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 @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[UserConsentRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[UserConsentRequestCollectionResponse]: """ - Retrieve a collection of userConsentRequest objects and their properties. This API is available in the following national cloud deployments. + Retrieve a collection of userConsentRequest objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserConsentRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/appconsentrequest-list-userconsentrequests?view=graph-rest-1.0 @@ -104,7 +104,7 @@ async def post(self,body: Optional[UserConsentRequest] = None, request_configura def to_get_request_information(self,request_configuration: Optional[UserConsentRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a collection of userConsentRequest objects and their properties. This API is available in the following national cloud deployments. + Retrieve a collection of userConsentRequest objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[UserConsentR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserConsentRequest] = None, request_configuration: Optional[UserConsentRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -135,7 +135,7 @@ def to_post_request_information(self,body: Optional[UserConsentRequest] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -161,7 +161,7 @@ def count(self) -> CountRequestBuilder: @dataclass class UserConsentRequestsRequestBuilderGetQueryParameters(): """ - Retrieve a collection of userConsentRequest objects and their properties. This API is available in the following national cloud deployments. + Retrieve a collection of userConsentRequest objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 8556c80e64d..7a63f5bc6e1 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 @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[AccessPackageAssignmentApprovalsRequestBuilderGetRequestConfiguration] = None) -> Optional[ApprovalCollectionResponse]: """ - Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalCollectionResponse] """ @@ -103,7 +103,7 @@ async def post(self,body: Optional[Approval] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[AccessPackageAssignmentApprovalsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Approval] = None, request_configuration: Optional[AccessPackageAssignmentApprovalsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -134,7 +134,7 @@ def to_post_request_information(self,body: Optional[Approval] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -160,7 +160,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AccessPackageAssignmentApprovalsRequestBuilderGetQueryParameters(): """ - Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 133c96815d7..4bec4724727 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: 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 2a86853a42a..810fc892a06 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 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ApprovalItemRequestBuilder async def get(self,request_configuration: Optional[ApprovalItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Approval]: """ - Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Approval] Find more info here: https://learn.microsoft.com/graph/api/approval-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ApprovalI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ApprovalItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ApprovalItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Approval] = None, request_configuration: Optional[ApprovalItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Approval] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ApprovalItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class ApprovalItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + Retrieve the properties of an approval object. This API request is made by an approver in the following scenarios: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 74095af1322..a3d2748214a 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ApprovalStepItemRequestBui async def get(self,request_configuration: Optional[ApprovalStepItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ApprovalStep]: """ - Retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. + Retrieve the properties of an approvalStep object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] Find more info here: https://learn.microsoft.com/graph/api/approvalstep-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[ApprovalStepItemRequestBuilde async def patch(self,body: Optional[ApprovalStep] = None, request_configuration: Optional[ApprovalStepItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ApprovalStep]: """ - Apply approve or deny decision on an approvalStep object. This API is available in the following national cloud deployments. + Apply approve or deny decision on an approvalStep object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ApprovalS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ApprovalStepItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. + Retrieve the properties of an approvalStep object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[ApprovalStep request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ApprovalStep] = None, request_configuration: Optional[ApprovalStepItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Apply approve or deny decision on an approvalStep object. This API is available in the following national cloud deployments. + Apply approve or deny decision on an approvalStep object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ApprovalStep] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ApprovalStepItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class ApprovalStepItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. + Retrieve the properties of an approvalStep object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 3e5d518f9f7..f1d5612b6c4 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 @@ -45,7 +45,7 @@ def by_approval_step_id(self,approval_step_id: str) -> ApprovalStepItemRequestBu async def get(self,request_configuration: Optional[StepsRequestBuilderGetRequestConfiguration] = None) -> Optional[ApprovalStepCollectionResponse]: """ - List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStepCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/approval-list-steps?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ApprovalStep] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[StepsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[StepsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ApprovalStep] = None, request_configuration: Optional[StepsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ApprovalStep] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class StepsRequestBuilderGetQueryParameters(): """ - List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/access_package_assignment_policies_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/access_package_assignment_policies_request_builder.py index 8cf3558ad06..3adf3533afa 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/access_package_assignment_policies_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/access_package_assignment_policies_request_builder.py @@ -45,7 +45,7 @@ def by_access_package_assignment_policy_id(self,access_package_assignment_policy async def get(self,request_configuration: Optional[AccessPackageAssignmentPoliciesRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessPackageAssignmentPolicyCollectionResponse]: """ - In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentPolicy objects. If the delegated user is in a directory role, the resulting list includes all the assignment policies that the caller has access to read, across all catalogs and access packages. If the delegated user is an access package manager or catalog owner, they should instead retrieve the policies for the access packages they can read with list accessPackages by including $expand=accessPackageAssignmentPolicies in the query. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentPolicy objects. If the delegated user is in a directory role, the resulting list includes all the assignment policies that the caller has access to read, across all catalogs and access packages. If the delegated user is an access package manager or catalog owner, they should instead retrieve the policies for the access packages they can read with list accessPackages by including $expand=accessPackageAssignmentPolicies in the query. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentPolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagement-list-accesspackageassignmentpolicies?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AccessPackageAssignmentPolici async def post(self,body: Optional[AccessPackageAssignmentPolicy] = None, request_configuration: Optional[AccessPackageAssignmentPoliciesRequestBuilderPostRequestConfiguration] = None) -> Optional[AccessPackageAssignmentPolicy]: """ - In Microsoft Entra entitlement management, create a new accessPackageAssignmentPolicy object. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, create a new accessPackageAssignmentPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentPolicy] @@ -92,7 +92,7 @@ async def post(self,body: Optional[AccessPackageAssignmentPolicy] = None, reques def to_get_request_information(self,request_configuration: Optional[AccessPackageAssignmentPoliciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentPolicy objects. If the delegated user is in a directory role, the resulting list includes all the assignment policies that the caller has access to read, across all catalogs and access packages. If the delegated user is an access package manager or catalog owner, they should instead retrieve the policies for the access packages they can read with list accessPackages by including $expand=accessPackageAssignmentPolicies in the query. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentPolicy objects. If the delegated user is in a directory role, the resulting list includes all the assignment policies that the caller has access to read, across all catalogs and access packages. If the delegated user is an access package manager or catalog owner, they should instead retrieve the policies for the access packages they can read with list accessPackages by including $expand=accessPackageAssignmentPolicies in the query. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageAssignmentPolicy] = None, request_configuration: Optional[AccessPackageAssignmentPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - In Microsoft Entra entitlement management, create a new accessPackageAssignmentPolicy object. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, create a new accessPackageAssignmentPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[AccessPackageAssignmentPolic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AccessPackageAssignmentPoliciesRequestBuilderGetQueryParameters(): """ - In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentPolicy objects. If the delegated user is in a directory role, the resulting list includes all the assignment policies that the caller has access to read, across all catalogs and access packages. If the delegated user is an access package manager or catalog owner, they should instead retrieve the policies for the access packages they can read with list accessPackages by including $expand=accessPackageAssignmentPolicies in the query. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentPolicy objects. If the delegated user is in a directory role, the resulting list includes all the assignment policies that the caller has access to read, across all catalogs and access packages. If the delegated user is an access package manager or catalog owner, they should instead retrieve the policies for the access packages they can read with list accessPackages by including $expand=accessPackageAssignmentPolicies in the query. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/access_package/access_package_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/access_package/access_package_request_builder.py index 9bbc4b2f0a6..c4f6b3eb09c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/access_package/access_package_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/access_package/access_package_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/access_package_assignment_policy_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/access_package_assignment_policy_item_request_builder.py index d4d061635fe..4848c370a86 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/access_package_assignment_policy_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/access_package_assignment_policy_item_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AccessPackageAssignmentPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - In Microsoft Entra entitlement management, delete an accessPackageAssignmentPolicy. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, delete an accessPackageAssignmentPolicy. 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/accesspackageassignmentpolicy-delete?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[AccessPackageAssignmentPol async def get(self,request_configuration: Optional[AccessPackageAssignmentPolicyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessPackageAssignmentPolicy]: """ - In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentPolicy object. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentPolicy] Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentpolicy-get?view=graph-rest-1.0 @@ -98,7 +98,7 @@ async def put(self,body: Optional[AccessPackageAssignmentPolicy] = None, request def to_delete_request_information(self,request_configuration: Optional[AccessPackageAssignmentPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - In Microsoft Entra entitlement management, delete an accessPackageAssignmentPolicy. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, delete an accessPackageAssignmentPolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageAssignmentPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentPolicy object. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_put_request_information(self,body: Optional[AccessPackageAssignmentPolicy] = None, request_configuration: Optional[AccessPackageAssignmentPolicyItemRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_put_request_information(self,body: Optional[AccessPackageAssignmentPolicy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -208,7 +208,7 @@ class AccessPackageAssignmentPolicyItemRequestBuilderDeleteRequestConfiguration( @dataclass class AccessPackageAssignmentPolicyItemRequestBuilderGetQueryParameters(): """ - In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentPolicy object. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentPolicy object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/access_package_catalog/access_package_catalog_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/access_package_catalog/access_package_catalog_request_builder.py index 788af0b4c6e..48ed766c55b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/access_package_catalog/access_package_catalog_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/access_package_catalog/access_package_catalog_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageCatalogRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/custom_extension_handlers_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/custom_extension_handlers_request_builder.py index 3f7dc70c2bc..550af115eda 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/custom_extension_handlers_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/custom_extension_handlers_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomExtens request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CustomExtensionHandler] = None, request_configuration: Optional[CustomExtensionHandlersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[CustomExtensionHandler] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py index 2adbae03fcb..84db4919d15 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomExtens request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CustomExtensionRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py index 121f5e13882..6fe17a43118 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[CustomExt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CustomExtensionHandlerItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomExtens request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CustomExtensionHandler] = None, request_configuration: Optional[CustomExtensionHandlerItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[CustomExtensionHandler] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py index f3eaac3c63d..71b888ffb4b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomExtens request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CustomExtensionStageSetting] = None, request_configuration: Optional[CustomExtensionStageSettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[CustomExtensionStageSetting] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py index 30ae5eeb324..cfd234ac075 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomExtens request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CustomExtensionRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py index 5b38e4dd7da..14c80124127 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[CustomExt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CustomExtensionStageSettingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomExtens request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CustomExtensionStageSetting] = None, request_configuration: Optional[CustomExtensionStageSettingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[CustomExtensionStageSetting request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/access_package_assignment_requests_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/access_package_assignment_requests_request_builder.py index ef14d6981b2..585db680079 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/access_package_assignment_requests_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/access_package_assignment_requests_request_builder.py @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[AccessPackageAssignmentRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessPackageAssignmentRequestCollectionResponse]: """ - In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentRequest objects. The resulting list includes all the assignment requests, current and well as expired, that the caller has access to read, across all catalogs and access packages. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentRequest objects. The resulting list includes all the assignment requests, current and well as expired, that the caller has access to read, across all catalogs and access packages. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagement-list-accesspackageassignmentrequests?view=graph-rest-1.0 @@ -80,7 +80,7 @@ async def get(self,request_configuration: Optional[AccessPackageAssignmentReques async def post(self,body: Optional[AccessPackageAssignmentRequest] = None, request_configuration: Optional[AccessPackageAssignmentRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[AccessPackageAssignmentRequest]: """ - In Microsoft Entra Entitlement Management, create a new accessPackageAssignmentRequest object. This operation is used to assign a user to an access package, or to remove an access package assignment. This API is available in the following national cloud deployments. + In Microsoft Entra Entitlement Management, create a new accessPackageAssignmentRequest object. This operation is used to assign a user to an access package, or to remove an access package assignment. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentRequest] @@ -105,7 +105,7 @@ async def post(self,body: Optional[AccessPackageAssignmentRequest] = None, reque def to_get_request_information(self,request_configuration: Optional[AccessPackageAssignmentRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentRequest objects. The resulting list includes all the assignment requests, current and well as expired, that the caller has access to read, across all catalogs and access packages. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentRequest objects. The resulting list includes all the assignment requests, current and well as expired, that the caller has access to read, across all catalogs and access packages. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,12 +117,12 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageAssignmentRequest] = None, request_configuration: Optional[AccessPackageAssignmentRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - In Microsoft Entra Entitlement Management, create a new accessPackageAssignmentRequest object. This operation is used to assign a user to an access package, or to remove an access package assignment. This API is available in the following national cloud deployments. + In Microsoft Entra Entitlement Management, create a new accessPackageAssignmentRequest object. This operation is used to assign a user to an access package, or to remove an access package assignment. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -136,7 +136,7 @@ def to_post_request_information(self,body: Optional[AccessPackageAssignmentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -162,7 +162,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AccessPackageAssignmentRequestsRequestBuilderGetQueryParameters(): """ - In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentRequest objects. The resulting list includes all the assignment requests, current and well as expired, that the caller has access to read, across all catalogs and access packages. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentRequest objects. The resulting list includes all the assignment requests, current and well as expired, that the caller has access to read, across all catalogs and access packages. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/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_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 04205b3d320..97498a27cc5 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/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_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/access_package/access_package_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/access_package/access_package_request_builder.py index e300e23d52c..3ffb143e2b3 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/access_package/access_package_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/access_package/access_package_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/access_package_assignment/access_package_assignment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/access_package_assignment/access_package_assignment_request_builder.py index d0f18c3da46..de21954ea8f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/access_package_assignment/access_package_assignment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/access_package_assignment/access_package_assignment_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageAssignmentRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/access_package_assignment_request_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/access_package_assignment_request_item_request_builder.py index 6ba071bf48d..371d038ee99 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/access_package_assignment_request_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/access_package_assignment_request_item_request_builder.py @@ -34,7 +34,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AccessPackageAssignmentRequestItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an accessPackageAssignmentRequest object. This request can be made to remove a denied or completed request. You can't delete an access package assignment request if it has any accessPackageAssignment objects. This API is available in the following national cloud deployments. + Delete an accessPackageAssignmentRequest object. This request can be made to remove a denied or completed request. You can't delete an access package assignment request if it has any accessPackageAssignment objects. 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/accesspackageassignmentrequest-delete?view=graph-rest-1.0 @@ -54,7 +54,7 @@ async def delete(self,request_configuration: Optional[AccessPackageAssignmentReq async def get(self,request_configuration: Optional[AccessPackageAssignmentRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessPackageAssignmentRequest]: """ - In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentRequest object. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentRequest] Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequest-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ async def patch(self,body: Optional[AccessPackageAssignmentRequest] = None, requ def to_delete_request_information(self,request_configuration: Optional[AccessPackageAssignmentRequestItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an accessPackageAssignmentRequest object. This request can be made to remove a denied or completed request. You can't delete an access package assignment request if it has any accessPackageAssignment objects. This API is available in the following national cloud deployments. + Delete an accessPackageAssignmentRequest object. This request can be made to remove a denied or completed request. You can't delete an access package assignment request if it has any accessPackageAssignment objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -111,12 +111,12 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageAssignmentRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentRequest object. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -128,7 +128,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageAssignmentRequest] = None, request_configuration: Optional[AccessPackageAssignmentRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageAssignmentRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -228,7 +228,7 @@ class AccessPackageAssignmentRequestItemRequestBuilderDeleteRequestConfiguration @dataclass class AccessPackageAssignmentRequestItemRequestBuilderGetQueryParameters(): """ - In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentRequest object. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, retrieve the properties and relationships of an accessPackageAssignmentRequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/cancel/cancel_request_builder.py index f878ccae18d..9613db77c2a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/cancel/cancel_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - In Microsoft Entra Entitlement Management, cancel accessPackageAssignmentRequest objects that are in a cancelable state: accepted, pendingApproval, pendingNotBefore, pendingApprovalEscalated. This API is available in the following national cloud deployments. + In Microsoft Entra Entitlement Management, cancel accessPackageAssignmentRequest objects that are in a cancelable state: accepted, pendingApproval, pendingNotBefore, pendingApprovalEscalated. 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/accesspackageassignmentrequest-cancel?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[CancelRequestBuilderPostRequ def to_post_request_information(self,request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - In Microsoft Entra Entitlement Management, cancel accessPackageAssignmentRequest objects that are in a cancelable state: accepted, pendingApproval, pendingNotBefore, pendingApprovalEscalated. This API is available in the following national cloud deployments. + In Microsoft Entra Entitlement Management, cancel accessPackageAssignmentRequest objects that are in a cancelable state: accepted, pendingApproval, pendingNotBefore, pendingApprovalEscalated. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[CancelReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CancelRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/reprocess/reprocess_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/reprocess/reprocess_request_builder.py index 932fd1dc75b..fdd6658c0c4 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/reprocess/reprocess_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/reprocess/reprocess_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[ReprocessRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReprocessRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/requestor/connected_organization/connected_organization_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/requestor/connected_organization/connected_organization_request_builder.py index 669f5ef38b2..9ad33e50220 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/requestor/connected_organization/connected_organization_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/requestor/connected_organization/connected_organization_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ConnectedOrg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ConnectedOrganizationRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/requestor/requestor_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/requestor/requestor_request_builder.py index a635615da14..54fb710a87e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/requestor/requestor_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/requestor/requestor_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Requestor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RequestorRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestorReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageSubject] = None, request_configuration: Optional[RequestorRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageSubject] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/resume/resume_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/resume/resume_request_builder.py index d1ca60d0e14..f04850ae1ce 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/resume/resume_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignment_requests/item/resume/resume_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[ResumeRequestBuilderPostRequestConfiguration] = None) -> None: """ - In Microsoft Entra entitlement management, when an access package policy has been enabled to call out a custom extension and the request processing is waiting for the callback from the customer, the customer can initiate a resume action. It is performed on an accessPackageAssignmentRequest object whose requestStatus is in a WaitingForCallback state. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, when an access package policy has been enabled to call out a custom extension and the request processing is waiting for the callback from the customer, the customer can initiate a resume action. It is performed on an accessPackageAssignmentRequest object whose requestStatus is in a WaitingForCallback state. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ResumePostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[ResumeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - In Microsoft Entra entitlement management, when an access package policy has been enabled to call out a custom extension and the request processing is waiting for the callback from the customer, the customer can initiate a resume action. It is performed on an accessPackageAssignmentRequest object whose requestStatus is in a WaitingForCallback state. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, when an access package policy has been enabled to call out a custom extension and the request processing is waiting for the callback from the customer, the customer can initiate a resume action. It is performed on an accessPackageAssignmentRequest object whose requestStatus is in a WaitingForCallback state. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ResumePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 5f73d8a8741..6e38f2922ea 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 @@ -46,7 +46,7 @@ def by_access_package_assignment_resource_role_id(self,access_package_assignment async def get(self,request_configuration: Optional[AccessPackageAssignmentResourceRolesRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessPackageAssignmentResourceRoleCollectionResponse]: """ - Retrieve a list of accessPackageAssignmentResourceRole objects. The resulting list includes all the resource roles of all assignments that the caller has access to read, across all catalogs and access packages. This API is available in the following national cloud deployments. + Retrieve a list of accessPackageAssignmentResourceRole objects. The resulting list includes all the resource roles of all assignments that the caller has access to read, across all catalogs and access packages. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentResourceRoleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagement-list-accesspackageassignmentresourceroles?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[AccessPackageAssignmentResourceRole] = None, def to_get_request_information(self,request_configuration: Optional[AccessPackageAssignmentResourceRolesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of accessPackageAssignmentResourceRole objects. The resulting list includes all the resource roles of all assignments that the caller has access to read, across all catalogs and access packages. This API is available in the following national cloud deployments. + Retrieve a list of accessPackageAssignmentResourceRole objects. The resulting list includes all the resource roles of all assignments that the caller has access to read, across all catalogs and access packages. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageAssignmentResourceRole] = None, request_configuration: Optional[AccessPackageAssignmentResourceRolesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[AccessPackageAssignmentResou request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def my(self) -> MyRequestBuilder: @dataclass class AccessPackageAssignmentResourceRolesRequestBuilderGetQueryParameters(): """ - Retrieve a list of accessPackageAssignmentResourceRole objects. The resulting list includes all the resource roles of all assignments that the caller has access to read, across all catalogs and access packages. This API is available in the following national cloud deployments. + Retrieve a list of accessPackageAssignmentResourceRole objects. The resulting list includes all the resource roles of all assignments that the caller has access to read, across all catalogs and access packages. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 1cdea1d2261..21014063402 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 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[AccessPackageAssignmentRes async def get(self,request_configuration: Optional[AccessPackageAssignmentResourceRoleItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessPackageAssignmentResourceRole]: """ - Retrieve the properties and relationships of an accessPackageAssignmentResourceRole object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an accessPackageAssignmentResourceRole object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentResourceRole] Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentresourcerole-get?view=graph-rest-1.0 @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageAssignmentResourceRoleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an accessPackageAssignmentResourceRole object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an accessPackageAssignmentResourceRole object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageAssignmentResourceRole] = None, request_configuration: Optional[AccessPackageAssignmentResourceRoleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageAssignmentReso request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -207,7 +207,7 @@ class AccessPackageAssignmentResourceRoleItemRequestBuilderDeleteRequestConfigur @dataclass class AccessPackageAssignmentResourceRoleItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an accessPackageAssignmentResourceRole object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an accessPackageAssignmentResourceRole object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 a2a15774fb9..ccc8fa39b07 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 @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageAssignmentsRequestBuilder: 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 51599bcbe59..c3939a0d104 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageAssignmentItemRequestBuilder: 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 1a7fec16b3a..21f29e2bc81 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: 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 010a88125ee..0baacadb6e6 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 @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 0f6468479b0..9d63d340108 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRolesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 401a5e292ba..fc58df4953d 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 caa77cfe829..78ddb1a4a85 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 094fa956aec..ec3cf23c270 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: 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 7a376730e8f..28a6ddb54da 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 @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 6a3260ba982..e5ba74dc4b9 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRolesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 ec296f0fb56..f315163a798 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 79e13154bb8..882e498b9fe 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: 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 f310a46d58e..debe5affb70 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 aebe7a9b9a9..25ed7609b9a 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: 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 fae74cb619b..3acfc7da821 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRoleRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 b76a9e931f3..d4af26a0f8a 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: 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 837b4c8a631..b74348ac483 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 @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 b0fa9af683d..28b7b1479d1 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRolesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 ff5518c2221..c66c843138a 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: 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 6dcf39d52f8..5793ef732c7 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 @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 51282583bd0..2be4bdc1ded 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 a11c2c3a6e5..c1cb3fbb281 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 95585896b29..ce18ab682f3 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: 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 25ae4a7c7ef..c2222b76d0f 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 f173821e7ad..4067800291f 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 c7b6ff9157c..22c6503fb9b 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 1e5068e9703..92dd9168170 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: 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 249e8083464..63942210f76 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceScopeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopeRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 244dfaa0242..c5b849195e3 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageSubjectRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageSubject] = None, request_configuration: Optional[AccessPackageSubjectRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageSubject] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 1459a3a6c10..c977ace5044 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ConnectedOrg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ConnectedOrganizationRequestBuilder: 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 67faf035a27..1664c437eff 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MyRequestBui request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MyRequestBuilder: 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 bd7b6af398b..258a375b1ad 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 @@ -75,7 +75,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[AccessPackageAssignmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessPackageAssignmentCollectionResponse]: """ - In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignment objects. For directory-wide administrators, the resulting list includes all the assignments, current and well as expired, that the caller has access to read, across all catalogs and access packages. If the caller is on behalf of a delegated user who is assigned only to catalog-specific delegated administrative roles, the request must supply a filter to indicate a specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignment objects. For directory-wide administrators, the resulting list includes all the assignments, current and well as expired, that the caller has access to read, across all catalogs and access packages. If the caller is on behalf of a delegated user who is assigned only to catalog-specific delegated administrative roles, the request must supply a filter to indicate a specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageAssignmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagement-list-accesspackageassignments?view=graph-rest-1.0 @@ -121,7 +121,7 @@ async def post(self,body: Optional[AccessPackageAssignment] = None, request_conf def to_get_request_information(self,request_configuration: Optional[AccessPackageAssignmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignment objects. For directory-wide administrators, the resulting list includes all the assignments, current and well as expired, that the caller has access to read, across all catalogs and access packages. If the caller is on behalf of a delegated user who is assigned only to catalog-specific delegated administrative roles, the request must supply a filter to indicate a specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignment objects. For directory-wide administrators, the resulting list includes all the assignments, current and well as expired, that the caller has access to read, across all catalogs and access packages. If the caller is on behalf of a delegated user who is assigned only to catalog-specific delegated administrative roles, the request must supply a filter to indicate a specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -133,7 +133,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageAssignment] = None, request_configuration: Optional[AccessPackageAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -152,7 +152,7 @@ def to_post_request_information(self,body: Optional[AccessPackageAssignment] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AccessPackageAssignmentsRequestBuilderGetQueryParameters(): """ - In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignment objects. For directory-wide administrators, the resulting list includes all the assignments, current and well as expired, that the caller has access to read, across all catalogs and access packages. If the caller is on behalf of a delegated user who is assigned only to catalog-specific delegated administrative roles, the request must supply a filter to indicate a specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignment objects. For directory-wide administrators, the resulting list includes all the assignments, current and well as expired, that the caller has access to read, across all catalogs and access packages. If the caller is on behalf of a delegated user who is assigned only to catalog-specific delegated administrative roles, the request must supply a filter to indicate a specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 8ad1db36ecd..af774650e87 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AdditionalAc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AdditionalAccessRequestBuilder: 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 929fb28384c..c4c09feab5f 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 @@ -66,7 +66,7 @@ def to_get_request_information(self,request_configuration: Optional[AdditionalAc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder: 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 46ef8d8153c..790681ebe9c 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/access_package_assignment_policies_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/access_package_assignment_policies_request_builder.py index 82416a93e73..36c2bdabbdf 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/access_package_assignment_policies_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/access_package_assignment_policies_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageAssignmentPolicy] = None, request_configuration: Optional[AccessPackageAssignmentPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageAssignmentPolic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/access_package/access_package_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/access_package/access_package_request_builder.py index 2cdffe00fdf..aa8dcc67baa 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/access_package/access_package_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/access_package/access_package_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/access_package_assignment_policy_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/access_package_assignment_policy_item_request_builder.py index 3b5c275de41..1420acc652b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/access_package_assignment_policy_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/access_package_assignment_policy_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageAssignmentPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageAssignmentPolicy] = None, request_configuration: Optional[AccessPackageAssignmentPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageAssignmentPoli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/access_package_catalog/access_package_catalog_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/access_package_catalog/access_package_catalog_request_builder.py index 232f37fa950..48672705384 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/access_package_catalog/access_package_catalog_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/access_package_catalog/access_package_catalog_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageCatalogRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/custom_extension_handlers_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/custom_extension_handlers_request_builder.py index 6c208afa42c..34a0903562c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/custom_extension_handlers_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/custom_extension_handlers_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomExtens request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CustomExtensionHandler] = None, request_configuration: Optional[CustomExtensionHandlersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[CustomExtensionHandler] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py index cb35df0b6e3..e75a4ee6bdf 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomExtens request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CustomExtensionRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py index 8c5ff36affe..c7fb128407c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[CustomExt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CustomExtensionHandlerItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomExtens request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CustomExtensionHandler] = None, request_configuration: Optional[CustomExtensionHandlerItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[CustomExtensionHandler] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py index 30418258f84..f5116f5dcc7 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomExtens request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CustomExtensionStageSetting] = None, request_configuration: Optional[CustomExtensionStageSettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[CustomExtensionStageSetting] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py index 9b66abeb138..e21e28452be 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomExtens request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CustomExtensionRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py index a955559f757..04dbe89ed49 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[CustomExt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CustomExtensionStageSettingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomExtens request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CustomExtensionStageSetting] = None, request_configuration: Optional[CustomExtensionStageSettingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[CustomExtensionStageSetting request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_catalog/access_package_catalog_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_catalog/access_package_catalog_request_builder.py index 8e2b4afd870..7ae914a0a7e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_catalog/access_package_catalog_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package/access_package_catalog/access_package_catalog_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageCatalogRequestBuilder: 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 6c1763edaa1..e0379c534e0 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 @@ -111,7 +111,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -128,7 +128,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackage] = None, request_configuration: Optional[AccessPackageRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[AccessPackage] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 5626600dc05..03f538752a2 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 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[AccessPackageResourceRoleScop async def post(self,body: Optional[AccessPackageResourceRoleScope] = None, request_configuration: Optional[AccessPackageResourceRoleScopesRequestBuilderPostRequestConfiguration] = None) -> Optional[AccessPackageResourceRoleScope]: """ - Create a new accessPackageResourceRoleScope for adding a resource role to an access package. The access package resource, for a group, an app, or a SharePoint Online site, must already exist in the access package catalog, and the originId for the resource role retrieved from the list of the resource roles. Once you add the resource role scope to the access package, the user will receive this resource role through any current and future access package assignments. This API is available in the following national cloud deployments. + Create a new accessPackageResourceRoleScope for adding a resource role to an access package. The access package resource, for a group, an app, or a SharePoint Online site, must already exist in the access package catalog, and the originId for the resource role retrieved from the list of the resource roles. Once you add the resource role scope to the access package, the user will receive this resource role through any current and future access package assignments. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleScope] @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceRoleScope] = None, request_configuration: Optional[AccessPackageResourceRoleScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new accessPackageResourceRoleScope for adding a resource role to an access package. The access package resource, for a group, an app, or a SharePoint Online site, must already exist in the access package catalog, and the originId for the resource role retrieved from the list of the resource roles. Once you add the resource role scope to the access package, the user will receive this resource role through any current and future access package assignments. This API is available in the following national cloud deployments. + Create a new accessPackageResourceRoleScope for adding a resource role to an access package. The access package resource, for a group, an app, or a SharePoint Online site, must already exist in the access package catalog, and the originId for the resource role retrieved from the list of the resource roles. Once you add the resource role scope to the access package, the user will receive this resource role through any current and future access package assignments. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceRoleSco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 c703d1c25a3..f9c398958a2 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: 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 e25871611be..fcb1e28d5f0 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 @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 9d62bd8385e..4dab36f042e 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRolesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 4863c31651d..644e771ca70 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 de3cdc15067..8512dd7ce88 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 641133f8c71..de9675e5e7e 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: 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 53b57233674..e6158764e59 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 @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 928315e4cb8..101898d8ff0 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRolesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 b077c966010..610ccc65b66 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 7726f248169..c6b1fc9ff8e 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: 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 22294d8b51e..ae25ab8f85d 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 ca27a035651..a45c3e7ac2a 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: 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 68383e2fa46..a40201bdd08 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRoleRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 6fad74050bb..208f839d685 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 @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRoleScope] = None, request_configuration: Optional[AccessPackageResourceRoleScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRoleSc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 58af27cc322..91596431c26 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: 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 b089639c54a..468c75cb7a7 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 @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 587ccbd102b..0cab6ad7a41 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRolesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 3032467e6f2..7be4d90a46c 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: 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 225f840e3e0..79779f7eaa9 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 @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 dd905ef2674..1e398180ada 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 5abbdafaf6c..f91ee72ccc3 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 101d3168208..f802f0939e7 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: 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 bc44f27095e..82f131a49f4 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 6dd6fd24a46..da8e867c809 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 a650c894848..228cbb930cc 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 7dde4e4e76b..8b30b2f8ffa 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: 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 3aa2c27ba1c..af0e2739b0e 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceScopeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopeRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 803c8440fe3..77a5694dbc4 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 @@ -44,7 +44,7 @@ def by_access_package_id(self,access_package_id: str) -> AccessPackageItemReques async def get(self,request_configuration: Optional[AccessPackagesIncompatibleWithRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessPackageCollectionResponse]: """ - Retrieve a list of the accessPackage objects that have marked a specified accessPackage as incompatible. This API is available in the following national cloud deployments. + Retrieve a list of the accessPackage objects that have marked a specified accessPackage as incompatible. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-accesspackagesincompatiblewith?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[AccessPackagesIncompatibleWit def to_get_request_information(self,request_configuration: Optional[AccessPackagesIncompatibleWithRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of the accessPackage objects that have marked a specified accessPackage as incompatible. This API is available in the following national cloud deployments. + Retrieve a list of the accessPackage objects that have marked a specified accessPackage as incompatible. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackagesIncompatibleWithRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AccessPackagesIncompatibleWithRequestBuilderGetQueryParameters(): """ - Retrieve a list of the accessPackage objects that have marked a specified accessPackage as incompatible. This API is available in the following national cloud deployments. + Retrieve a list of the accessPackage objects that have marked a specified accessPackage as incompatible. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 80950975ab9..ff909d6ebb4 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageItemRequestBuilder: 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 af9cf95dad2..dcdf567456a 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[GetApplicablePolicyRequirementsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetApplicablePolicyRequirementsPostResponse]: """ - In Microsoft Entra entitlement management, this action retrieves a list of accessPackageAssignmentRequestRequirements objects that the currently signed-in user can use to create an accessPackageAssignmentRequest. Each requirement object corresponds to an access package assignment policy that the currently signed-in user is allowed to request an assignment for. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, this action retrieves a list of accessPackageAssignmentRequestRequirements objects that the currently signed-in user can use to create an accessPackageAssignmentRequest. Each requirement object corresponds to an access package assignment policy that the currently signed-in user is allowed to request an assignment for. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetApplicablePolicyRequirementsPostResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-getapplicablepolicyrequirements?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[GetApplicablePolicyRequireme def to_post_request_information(self,request_configuration: Optional[GetApplicablePolicyRequirementsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - In Microsoft Entra entitlement management, this action retrieves a list of accessPackageAssignmentRequestRequirements objects that the currently signed-in user can use to create an accessPackageAssignmentRequest. Each requirement object corresponds to an access package assignment policy that the currently signed-in user is allowed to request an assignment for. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, this action retrieves a list of accessPackageAssignmentRequestRequirements objects that the currently signed-in user can use to create an accessPackageAssignmentRequest. Each requirement object corresponds to an access package assignment policy that the currently signed-in user is allowed to request an assignment for. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[GetApplicab request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetApplicablePolicyRequirementsRequestBuilder: 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 7c8d075d12b..2977746745a 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 @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_access_package_id(self,access_package_id: str) -> AccessPackageItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.identityGovernance.entitlementManagement.accessPackageAssignments.item.accessPackage.incompatibleAccessPackages.item collection - param access_package_id: Unique identifier of the item + param access_package_id: The unique identifier of accessPackage Returns: AccessPackageItemRequestBuilder """ if not access_package_id: @@ -45,7 +45,7 @@ def by_access_package_id(self,access_package_id: str) -> AccessPackageItemReques async def get(self,request_configuration: Optional[IncompatibleAccessPackagesRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessPackageCollectionResponse]: """ - Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-incompatibleaccesspackages?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[IncompatibleAccessPackagesReq def to_get_request_information(self,request_configuration: Optional[IncompatibleAccessPackagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[Incompatible request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IncompatibleAccessPackagesRequestBuilder: @@ -113,7 +113,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class IncompatibleAccessPackagesRequestBuilderGetQueryParameters(): """ - Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 8581eebf5f1..550ba57e332 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 @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. 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/accesspackage-delete-incompatibleaccesspackage?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 f8bf17eba9c..1d9f12695df 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-incompatibleaccesspackages?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add an accessPackage to the list of access packages that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Add an accessPackage to the list of access packages that have been marked as incompatible on an accessPackage. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -74,7 +74,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add an accessPackage to the list of access packages that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Add an accessPackage to the list of access packages that have been marked as incompatible on an accessPackage. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -122,7 +122,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderGetQueryParameters(): """ - Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 1483e07ff31..0a417ddcea7 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 @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_group_id(self,group_id: str) -> GroupItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.identityGovernance.entitlementManagement.accessPackageAssignments.item.accessPackage.incompatibleGroups.item collection - param group_id: Unique identifier of the item + param group_id: The unique identifier of group Returns: GroupItemRequestBuilder """ if not group_id: @@ -45,7 +45,7 @@ def by_group_id(self,group_id: str) -> GroupItemRequestBuilder: async def get(self,request_configuration: Optional[IncompatibleGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[GroupCollectionResponse]: """ - Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-incompatiblegroups?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[IncompatibleGroupsRequestBuil def to_get_request_information(self,request_configuration: Optional[IncompatibleGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[Incompatible request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IncompatibleGroupsRequestBuilder: @@ -113,7 +113,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class IncompatibleGroupsRequestBuilderGetQueryParameters(): """ - Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 555685bc0e0..98ab94f49c0 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 @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a group from the list of groups that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Remove a group from the list of groups that have been marked as incompatible on an accessPackage. 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/accesspackage-delete-incompatiblegroup?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a group from the list of groups that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Remove a group from the list of groups that have been marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Remove a group from the list of groups that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Remove a group from the list of groups that have been marked as incompatible on an accessPackage. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 2e41627d0ec..feeb5060bbc 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 29acc818bbe..0a9d8a17be0 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-incompatiblegroups?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add a group to the list of groups that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Add a group to the list of groups that have been marked as incompatible on an accessPackage. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -74,7 +74,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a group to the list of groups that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Add a group to the list of groups that have been marked as incompatible on an accessPackage. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -122,7 +122,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderGetQueryParameters(): """ - Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 5f4daed10d8..a6db2c7ee95 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[MoveToCatalogPostRequestBody] = None, request_configuration: Optional[MoveToCatalogRequestBuilderPostRequestConfiguration] = None) -> None: """ - In Microsoft Entra entitlement management, this action moves the accessPackage to a specified target accessPackageCatalog. The resources in the access package must be present in the target catalog. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, this action moves the accessPackage to a specified target accessPackageCatalog. The resources in the access package must be present in the target catalog. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[MoveToCatalogPostRequestBody] = None, request def to_post_request_information(self,body: Optional[MoveToCatalogPostRequestBody] = None, request_configuration: Optional[MoveToCatalogRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - In Microsoft Entra entitlement management, this action moves the accessPackage to a specified target accessPackageCatalog. The resources in the access package must be present in the target catalog. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, this action moves the accessPackage to a specified target accessPackageCatalog. The resources in the access package must be present in the target catalog. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[MoveToCatalogPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 9e4d9268d0b..fec7e04d3c8 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 @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageAssignment] = None, request_configuration: Optional[AccessPackageAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageAssignment] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/access_package/access_package_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/access_package/access_package_request_builder.py index b018e63221f..5b5be4c534c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/access_package/access_package_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/access_package/access_package_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/access_package_assignment_policy_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/access_package_assignment_policy_request_builder.py index 8bfb52adc5e..bdbaf238650 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/access_package_assignment_policy_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/access_package_assignment_policy_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageAssignmentPolicyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageAssignmentPolicy] = None, request_configuration: Optional[AccessPackageAssignmentPolicyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageAssignmentPoli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/access_package_catalog/access_package_catalog_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/access_package_catalog/access_package_catalog_request_builder.py index 1a512eb3e14..3953d0011ea 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/access_package_catalog/access_package_catalog_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/access_package_catalog/access_package_catalog_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageCatalogRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/custom_extension_handlers_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/custom_extension_handlers_request_builder.py index 28d8cdac839..bc03ddd39a6 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/custom_extension_handlers_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/custom_extension_handlers_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomExtens request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CustomExtensionHandler] = None, request_configuration: Optional[CustomExtensionHandlersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[CustomExtensionHandler] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py index 732da0ec12e..1bf0456a52c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomExtens request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CustomExtensionRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py index 20c284ed8ed..b1ac324d517 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[CustomExt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CustomExtensionHandlerItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomExtens request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CustomExtensionHandler] = None, request_configuration: Optional[CustomExtensionHandlerItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[CustomExtensionHandler] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py index ec4cc1ad908..0b0e3824974 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomExtens request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CustomExtensionStageSetting] = None, request_configuration: Optional[CustomExtensionStageSettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[CustomExtensionStageSetting] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py index 1ac027dff5a..4ffeec1b0cc 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomExtens request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CustomExtensionRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py index 57f52ca87ec..51bc6df6054 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_policy/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[CustomExt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CustomExtensionStageSettingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomExtens request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CustomExtensionStageSetting] = None, request_configuration: Optional[CustomExtensionStageSettingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[CustomExtensionStageSetting request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/access_package_assignment_requests_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/access_package_assignment_requests_request_builder.py index 4e48ff437af..19196d81f66 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/access_package_assignment_requests_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/access_package_assignment_requests_request_builder.py @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageAssignmentRequest] = None, request_configuration: Optional[AccessPackageAssignmentRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -134,7 +134,7 @@ def to_post_request_information(self,body: Optional[AccessPackageAssignmentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/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/item/access_package_assignment_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 7f38cd0a0c9..bf104ce61c1 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/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/item/access_package_assignment_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/access_package/access_package_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/access_package/access_package_request_builder.py index c67e6fb360b..e775e6f9111 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/access_package/access_package_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/access_package/access_package_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/access_package_assignment/access_package_assignment_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/access_package_assignment/access_package_assignment_request_builder.py index 5ea2ec90f59..5189879cd91 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/access_package_assignment/access_package_assignment_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/access_package_assignment/access_package_assignment_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageAssignmentRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/access_package_assignment_request_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/access_package_assignment_request_item_request_builder.py index e02b3b8a935..eb410414969 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/access_package_assignment_request_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/access_package_assignment_request_item_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageAssignmentRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageAssignmentRequest] = None, request_configuration: Optional[AccessPackageAssignmentRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageAssignmentRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/cancel/cancel_request_builder.py index 508060472b3..e8bbfad1bc1 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/cancel/cancel_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - In Microsoft Entra Entitlement Management, cancel accessPackageAssignmentRequest objects that are in a cancelable state: accepted, pendingApproval, pendingNotBefore, pendingApprovalEscalated. This API is available in the following national cloud deployments. + In Microsoft Entra Entitlement Management, cancel accessPackageAssignmentRequest objects that are in a cancelable state: accepted, pendingApproval, pendingNotBefore, pendingApprovalEscalated. 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/accesspackageassignmentrequest-cancel?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[CancelRequestBuilderPostRequ def to_post_request_information(self,request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - In Microsoft Entra Entitlement Management, cancel accessPackageAssignmentRequest objects that are in a cancelable state: accepted, pendingApproval, pendingNotBefore, pendingApprovalEscalated. This API is available in the following national cloud deployments. + In Microsoft Entra Entitlement Management, cancel accessPackageAssignmentRequest objects that are in a cancelable state: accepted, pendingApproval, pendingNotBefore, pendingApprovalEscalated. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[CancelReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CancelRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/reprocess/reprocess_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/reprocess/reprocess_request_builder.py index fa9eba36b1e..ed378442a5f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/reprocess/reprocess_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/reprocess/reprocess_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[ReprocessRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReprocessRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/requestor/connected_organization/connected_organization_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/requestor/connected_organization/connected_organization_request_builder.py index 7331bd4bd16..207944ee3bd 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/requestor/connected_organization/connected_organization_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/requestor/connected_organization/connected_organization_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ConnectedOrg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ConnectedOrganizationRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/requestor/requestor_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/requestor/requestor_request_builder.py index a4236240602..79a27e8d5ce 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/requestor/requestor_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/requestor/requestor_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Requestor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RequestorRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestorReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageSubject] = None, request_configuration: Optional[RequestorRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageSubject] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/resume/resume_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/resume/resume_request_builder.py index 427a2955a08..e78e6c1578a 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/resume/resume_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_assignments/item/access_package_assignment_requests/item/resume/resume_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[ResumeRequestBuilderPostRequestConfiguration] = None) -> None: """ - In Microsoft Entra entitlement management, when an access package policy has been enabled to call out a custom extension and the request processing is waiting for the callback from the customer, the customer can initiate a resume action. It is performed on an accessPackageAssignmentRequest object whose requestStatus is in a WaitingForCallback state. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, when an access package policy has been enabled to call out a custom extension and the request processing is waiting for the callback from the customer, the customer can initiate a resume action. It is performed on an accessPackageAssignmentRequest object whose requestStatus is in a WaitingForCallback state. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ResumePostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[ResumeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - In Microsoft Entra entitlement management, when an access package policy has been enabled to call out a custom extension and the request processing is waiting for the callback from the customer, the customer can initiate a resume action. It is performed on an accessPackageAssignmentRequest object whose requestStatus is in a WaitingForCallback state. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, when an access package policy has been enabled to call out a custom extension and the request processing is waiting for the callback from the customer, the customer can initiate a resume action. It is performed on an accessPackageAssignmentRequest object whose requestStatus is in a WaitingForCallback state. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ResumePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 9ab2007a2f0..e37a0060bc3 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 @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageAssignmentResourceRole] = None, request_configuration: Optional[AccessPackageAssignmentResourceRolesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AccessPackageAssignmentResou request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 c0adb02e40b..c85157dcb02 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 @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageAssignmentResourceRoleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageAssignmentResourceRole] = None, request_configuration: Optional[AccessPackageAssignmentResourceRoleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageAssignmentReso request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 54ba299591f..db130899c5f 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 @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageAssignmentsRequestBuilder: 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 2973c4c5680..e9778eb971e 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageAssignmentItemRequestBuilder: 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 bb28961a055..dfbc879b3c6 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: 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 e1c35c28343..c11478ece4a 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 @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 6b8ba36cf23..efc401b4c80 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRolesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 0417bbb3aac..cbbeae4247e 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 817a4f4b6f7..4b10cfadbe4 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 e78221d9c91..c9a95f5e589 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: 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 309f180df49..f4e925ffb94 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 @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 686a26649f8..205f40fda19 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRolesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 f9512cf91c1..b15822215bf 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 4cbc988c44a..9b759b39206 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: 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 4ab92a8f2ec..c6b0c0d0260 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 b8709bc350b..ae857eaa7e4 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: 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 9d436a4500b..f6281ef4ee7 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRoleRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 976793bfa6f..1a6ad0cc899 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: 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 fff6134c246..5765c4ad3b5 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 @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 269361c74dc..cffbf8da1c9 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRolesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 26dd9b9d3e1..e1c79449a65 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: 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 634cfdc6c65..d2cffc6386b 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 @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 f0bb0760de7..73fe3e5c95e 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 34d5f855d10..d02e26c2ec7 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 5b31884e638..e621d41257e 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: 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 23b2280e2a7..89dec2cc351 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 6564b42f5a5..1adf19834de 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 c87b6a30192..b0d2819df30 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 d37ddda75e7..ae83ccee1ee 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: 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 756f7aa5209..717e2fc5db2 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceScopeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopeRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 38041d7f7de..8527ae25eea 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageSubjectRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageSubject] = None, request_configuration: Optional[AccessPackageSubjectRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageSubject] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 4922bda8d67..e685e058d21 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ConnectedOrg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ConnectedOrganizationRequestBuilder: 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 a7a1f57700f..e3a9db95a8b 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MyRequestBui request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MyRequestBuilder: 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 1b06d029454..c259ede5715 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[ReprocessRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReprocessRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/access_package_catalogs_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/access_package_catalogs_request_builder.py index dbb38a1f6ca..85e37a246b7 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/access_package_catalogs_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/access_package_catalogs_request_builder.py @@ -46,7 +46,7 @@ def by_access_package_catalog_id(self,access_package_catalog_id: str) -> AccessP async def get(self,request_configuration: Optional[AccessPackageCatalogsRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessPackageCatalogCollectionResponse]: """ - Retrieve a list of accessPackageCatalog objects. This API is available in the following national cloud deployments. + Retrieve a list of accessPackageCatalog objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageCatalogCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagement-list-accesspackagecatalogs?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AccessPackageCatalogsRequestB async def post(self,body: Optional[AccessPackageCatalog] = None, request_configuration: Optional[AccessPackageCatalogsRequestBuilderPostRequestConfiguration] = None) -> Optional[AccessPackageCatalog]: """ - Create a new accessPackageCatalog object. This API is available in the following national cloud deployments. + Create a new accessPackageCatalog object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageCatalog] @@ -93,7 +93,7 @@ async def post(self,body: Optional[AccessPackageCatalog] = None, request_configu def to_get_request_information(self,request_configuration: Optional[AccessPackageCatalogsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of accessPackageCatalog objects. This API is available in the following national cloud deployments. + Retrieve a list of accessPackageCatalog objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageCatalog] = None, request_configuration: Optional[AccessPackageCatalogsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new accessPackageCatalog object. This API is available in the following national cloud deployments. + Create a new accessPackageCatalog object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[AccessPackageCatalog] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def search(self) -> SearchRequestBuilder: @dataclass class AccessPackageCatalogsRequestBuilderGetQueryParameters(): """ - Retrieve a list of accessPackageCatalog objects. This API is available in the following national cloud deployments. + Retrieve a list of accessPackageCatalog objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_catalog_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_catalog_item_request_builder.py index 29b64e624ee..b258d3aa2a0 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_catalog_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_catalog_item_request_builder.py @@ -34,7 +34,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AccessPackageCatalogItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an accessPackageCatalog. This API is available in the following national cloud deployments. + Delete an accessPackageCatalog. 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/accesspackagecatalog-delete?view=graph-rest-1.0 @@ -54,7 +54,7 @@ async def delete(self,request_configuration: Optional[AccessPackageCatalogItemRe async def get(self,request_configuration: Optional[AccessPackageCatalogItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessPackageCatalog]: """ - Retrieve the properties and relationships of an accessPackageCatalog object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an accessPackageCatalog object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageCatalog] Find more info here: https://learn.microsoft.com/graph/api/accesspackagecatalog-get?view=graph-rest-1.0 @@ -76,7 +76,7 @@ async def get(self,request_configuration: Optional[AccessPackageCatalogItemReque async def patch(self,body: Optional[AccessPackageCatalog] = None, request_configuration: Optional[AccessPackageCatalogItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[AccessPackageCatalog]: """ - Update an existing accessPackageCatalog object to change one or more of its properties, such as the display name or description. This API is available in the following national cloud deployments. + Update an existing accessPackageCatalog object to change one or more of its properties, such as the display name or description. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageCatalog] @@ -101,7 +101,7 @@ async def patch(self,body: Optional[AccessPackageCatalog] = None, request_config def to_delete_request_information(self,request_configuration: Optional[AccessPackageCatalogItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an accessPackageCatalog. This API is available in the following national cloud deployments. + Delete an accessPackageCatalog. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -112,12 +112,12 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageCatalogItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an accessPackageCatalog object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an accessPackageCatalog object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -129,12 +129,12 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageCatalog] = None, request_configuration: Optional[AccessPackageCatalogItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update an existing accessPackageCatalog object to change one or more of its properties, such as the display name or description. This API is available in the following national cloud deployments. + Update an existing accessPackageCatalog object to change one or more of its properties, such as the display name or description. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -148,7 +148,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageCatalog] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -229,7 +229,7 @@ class AccessPackageCatalogItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class AccessPackageCatalogItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an accessPackageCatalog object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an accessPackageCatalog object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/access_package_custom_workflow_extensions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/access_package_custom_workflow_extensions_request_builder.py index 4171be8f4bc..830b2ce5405 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/access_package_custom_workflow_extensions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/access_package_custom_workflow_extensions_request_builder.py @@ -45,7 +45,7 @@ def by_custom_callout_extension_id(self,custom_callout_extension_id: str) -> Cus async def get(self,request_configuration: Optional[AccessPackageCustomWorkflowExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[CustomCalloutExtensionCollectionResponse]: """ - Get a list of the accessPackageAssignmentRequestWorkflowExtension and accessPackageAssignmentWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. Each object includes an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. This API is available in the following national cloud deployments. + Get a list of the accessPackageAssignmentRequestWorkflowExtension and accessPackageAssignmentWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. Each object includes an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomCalloutExtensionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackagecatalog-list-accesspackagecustomworkflowextensions?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[CustomCalloutExtension] = None, request_confi def to_get_request_information(self,request_configuration: Optional[AccessPackageCustomWorkflowExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the accessPackageAssignmentRequestWorkflowExtension and accessPackageAssignmentWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. Each object includes an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. This API is available in the following national cloud deployments. + Get a list of the accessPackageAssignmentRequestWorkflowExtension and accessPackageAssignmentWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. Each object includes an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CustomCalloutExtension] = None, request_configuration: Optional[AccessPackageCustomWorkflowExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[CustomCalloutExtension] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AccessPackageCustomWorkflowExtensionsRequestBuilderGetQueryParameters(): """ - Get a list of the accessPackageAssignmentRequestWorkflowExtension and accessPackageAssignmentWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. Each object includes an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. This API is available in the following national cloud deployments. + Get a list of the accessPackageAssignmentRequestWorkflowExtension and accessPackageAssignmentWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. Each object includes an @odata.type property that indicates whether the object is an accessPackageAssignmentRequestWorkflowExtension or an accessPackageAssignmentWorkflowExtension. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py index 16855578967..c30d6a5d63d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py @@ -47,10 +47,10 @@ async def delete(self,request_configuration: Optional[CustomCalloutExtensionItem async def get(self,request_configuration: Optional[CustomCalloutExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CustomCalloutExtension]: """ - Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. This API is available in the following national cloud deployments. + Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomCalloutExtension] - Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[CustomCalloutExtensionItemReq async def patch(self,body: Optional[CustomCalloutExtension] = None, request_configuration: Optional[CustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[CustomCalloutExtension]: """ - Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + Update the properties of an accessPackageAssignmentWorkflowExtension object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomCalloutExtension] - Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-update?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[CustomCal request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CustomCalloutExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. This API is available in the following national cloud deployments. + Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[CustomCallou request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CustomCalloutExtension] = None, request_configuration: Optional[CustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + Update the properties of an accessPackageAssignmentWorkflowExtension object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[CustomCalloutExtension] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class CustomCalloutExtensionItemRequestBuilderDeleteRequestConfiguration(BaseReq @dataclass class CustomCalloutExtensionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. This API is available in the following national cloud deployments. + Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/access_package_resource_roles_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/access_package_resource_roles_request_builder.py index bc4fcd78b73..afa4e2c0c17 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/access_package_resource_roles_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/access_package_resource_roles_request_builder.py @@ -45,7 +45,7 @@ def by_access_package_resource_role_id(self,access_package_resource_role_id: str async def get(self,request_configuration: Optional[AccessPackageResourceRolesRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessPackageResourceRoleCollectionResponse]: """ - Retrieve a list of accessPackageResourceRole objects of an accessPackageResource in an accessPackageCatalog. The resource should have been added to the catalog by creating an accessPackageResourceRequest. This list of roles can then be used by the caller to select a role, which is needed when subsequently creating an accessPackageResourceRoleScope. This API is available in the following national cloud deployments. + Retrieve a list of accessPackageResourceRole objects of an accessPackageResource in an accessPackageCatalog. The resource should have been added to the catalog by creating an accessPackageResourceRequest. This list of roles can then be used by the caller to select a role, which is needed when subsequently creating an accessPackageResourceRoleScope. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackagecatalog-list-accesspackageresourceroles?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AccessPackageResourceRole] = None, request_co def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRolesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of accessPackageResourceRole objects of an accessPackageResource in an accessPackageCatalog. The resource should have been added to the catalog by creating an accessPackageResourceRequest. This list of roles can then be used by the caller to select a role, which is needed when subsequently creating an accessPackageResourceRoleScope. This API is available in the following national cloud deployments. + Retrieve a list of accessPackageResourceRole objects of an accessPackageResource in an accessPackageCatalog. The resource should have been added to the catalog by creating an accessPackageResourceRequest. This list of roles can then be used by the caller to select a role, which is needed when subsequently creating an accessPackageResourceRoleScope. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRolesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AccessPackageResourceRolesRequestBuilderGetQueryParameters(): """ - Retrieve a list of accessPackageResourceRole objects of an accessPackageResource in an accessPackageCatalog. The resource should have been added to the catalog by creating an accessPackageResourceRequest. This list of roles can then be used by the caller to select a role, which is needed when subsequently creating an accessPackageResourceRoleScope. This API is available in the following national cloud deployments. + Retrieve a list of accessPackageResourceRole objects of an accessPackageResource in an accessPackageCatalog. The resource should have been added to the catalog by creating an accessPackageResourceRequest. This list of roles can then be used by the caller to select a role, which is needed when subsequently creating an accessPackageResourceRoleScope. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/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_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index 04a43581061..66efa2d2b70 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/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_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/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_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py index e713097a9e6..a463652f410 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/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_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/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_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py index 30fbc1384ab..1a51c9823c7 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/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_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRolesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/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_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py index 92038987532..a0f2b2b23af 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/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_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/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_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py index 01ab97c3349..acd42fd2476 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/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_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/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_catalogs/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 be9c8b25b39..cec6fa41510 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/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_catalogs/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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/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_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py index 51a49a823fb..0e73c304916 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/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_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/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_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py index eb25f91ebe6..aaf2924ba1f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/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_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRolesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/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_catalogs/item/access_package_resource_roles/item/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 ccc874eaaf0..236830b597e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/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_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/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_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py index ffda6300cc3..752cf602c93 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/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_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/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_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py index ed7950aa86e..bdfbc1f47ee 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/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_catalogs/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py index c8a18380715..fd2e5a71f01 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py index 49aa3c9a33c..7114e4e456b 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/access_package_resource_scopes_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/access_package_resource_scopes_request_builder.py index 32550d5e858..9be19390b2c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/access_package_resource_scopes_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/access_package_resource_scopes_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/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_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index f1553583da5..9553fb26446 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/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_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/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_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py index fa7d1bc731a..6c6c9ce74d3 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/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_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/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_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py index 529edc58514..b2d441a19ba 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/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_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRolesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/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_catalogs/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 11aa5d6851b..ed4e9bf6f58 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/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_catalogs/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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/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_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py index bb21533df83..afebf17db28 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/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_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/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_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py index ed5268fa60c..0c23343244f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/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_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/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_catalogs/item/access_package_resource_scopes/item/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 304237ec9d1..f4ef83499a3 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/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_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/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_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py index 0731015b49a..764909d65f2 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/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_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/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_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py index f79fd7b004e..39cad921507 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/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_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/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_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py index 5f26423411d..0fdd38639f6 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/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_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/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_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py index 773e0311eb0..eab578188db 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/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_catalogs/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py index 2a26d6ed41f..dd043281ec4 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py index f006bf646c6..ebe0d35fa5f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/access_package_resources_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/access_package_resources_request_builder.py index 9d191b1fb68..d0359028c54 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/access_package_resources_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/access_package_resources_request_builder.py @@ -45,7 +45,7 @@ def by_access_package_resource_id(self,access_package_resource_id: str) -> Acces async def get(self,request_configuration: Optional[AccessPackageResourcesRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessPackageResourceCollectionResponse]: """ - Retrieve a list of accessPackageResource objects in an accessPackageCatalog. To request to add or remove an accessPackageResource, use create accessPackageResourceRequest. This API is available in the following national cloud deployments. + Retrieve a list of accessPackageResource objects in an accessPackageCatalog. To request to add or remove an accessPackageResource, use create accessPackageResourceRequest. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackagecatalog-list-accesspackageresources?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AccessPackageResource] = None, request_config def to_get_request_information(self,request_configuration: Optional[AccessPackageResourcesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of accessPackageResource objects in an accessPackageCatalog. To request to add or remove an accessPackageResource, use create accessPackageResourceRequest. This API is available in the following national cloud deployments. + Retrieve a list of accessPackageResource objects in an accessPackageCatalog. To request to add or remove an accessPackageResource, use create accessPackageResourceRequest. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResource] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AccessPackageResourcesRequestBuilderGetQueryParameters(): """ - Retrieve a list of accessPackageResource objects in an accessPackageCatalog. To request to add or remove an accessPackageResource, use create accessPackageResourceRequest. This API is available in the following national cloud deployments. + Retrieve a list of accessPackageResource objects in an accessPackageCatalog. To request to add or remove an accessPackageResource, use create accessPackageResourceRequest. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/access_package_resources/item/access_package_resource_environment/access_package_resource_environment_request_builder.py index 3486d9b4398..b5b73b06208 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/access_package_resources/item/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_item_request_builder.py index 7132917fef2..e9e85f11fa6 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/access_package_resource_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/access_package_resources/item/access_package_resource_roles/access_package_resource_roles_request_builder.py index 119bdadfcbc..92d4753320d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/access_package_resources/item/access_package_resource_roles/access_package_resource_roles_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRolesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index 6b8d727264e..95800355495 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py index 6c1bd4e6f9f..7a19935da20 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py index 6dad609f9b7..8a539d18aee 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/access_package_resource_scopes/access_package_resource_scopes_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/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 4627c84a16f..775078b8aed 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/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 86e00d5652d..8ba5cd5bea0 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/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 @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/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 1af376d4cf5..15ac7b84dcb 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/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 e6a56de8197..5760666a3a0 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py index a4bab9b877d..2e30c832d92 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource/refresh/refresh_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py index 2bf6d535e5e..42d8f901a83 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/access_package_resources/item/access_package_resource_roles/item/access_package_resource_role_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/access_package_resources/item/access_package_resource_scopes/access_package_resource_scopes_request_builder.py index b882fd6bc86..a4d4b2381ce 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/access_package_resources/item/access_package_resource_scopes/access_package_resource_scopes_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py index 6e36bf1fd5e..93bfbb31351 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_environment/access_package_resource_environment_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py index 35466655b4e..8f7298e7e3f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py index 9281b41f342..200d82f110f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/access_package_resource_roles/access_package_resource_roles_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRolesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/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 d1857cb5323..cadfc912b8c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/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 289d66872d4..d4855361e3d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/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 @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/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 a0ca9bab1dc..f7d2bfa0cec 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/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 a92689174c2..e89a58d876c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py index c6b20c58256..8c459fbd0e0 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource/refresh/refresh_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py index 566133a45a2..5a7cc810e12 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/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_catalogs/item/access_package_resources/item/access_package_resource_scopes/item/access_package_resource_scope_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/refresh/refresh_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/refresh/refresh_request_builder.py index b64f2171ade..04150303ee6 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/refresh/refresh_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_resources/item/refresh/refresh_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_packages/access_packages_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_packages/access_packages_request_builder.py index cf4e732d9ea..d504782a85c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_packages/access_packages_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_packages/access_packages_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackagesRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_packages/item/access_package_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_packages/item/access_package_item_request_builder.py index cbe16240fd1..c1814a1bebb 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_packages/item/access_package_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_packages/item/access_package_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageItemRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/custom_access_package_workflow_extensions_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/custom_access_package_workflow_extensions_request_builder.py index 62efb514e1a..713400510cc 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/custom_access_package_workflow_extensions_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/custom_access_package_workflow_extensions_request_builder.py @@ -45,7 +45,7 @@ def by_custom_access_package_workflow_extension_id(self,custom_access_package_wo async def get(self,request_configuration: Optional[CustomAccessPackageWorkflowExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[CustomAccessPackageWorkflowExtensionCollectionResponse]: """ - Get a list of the customAccessPackageWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. This API is available in the following national cloud deployments. + Get a list of the customAccessPackageWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomAccessPackageWorkflowExtensionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackagecatalog-list-customaccesspackageworkflowextensions?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[CustomAccessPackageWorkflowEx async def post(self,body: Optional[CustomAccessPackageWorkflowExtension] = None, request_configuration: Optional[CustomAccessPackageWorkflowExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[CustomAccessPackageWorkflowExtension]: """ - Create a new customAccessPackageWorkflowExtension object and add it to an existing accessPackageCatalog object. This API is available in the following national cloud deployments. + Create a new customAccessPackageWorkflowExtension object and add it to an existing accessPackageCatalog object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomAccessPackageWorkflowExtension] @@ -92,7 +92,7 @@ async def post(self,body: Optional[CustomAccessPackageWorkflowExtension] = None, def to_get_request_information(self,request_configuration: Optional[CustomAccessPackageWorkflowExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the customAccessPackageWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. This API is available in the following national cloud deployments. + Get a list of the customAccessPackageWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[CustomAccess request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CustomAccessPackageWorkflowExtension] = None, request_configuration: Optional[CustomAccessPackageWorkflowExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new customAccessPackageWorkflowExtension object and add it to an existing accessPackageCatalog object. This API is available in the following national cloud deployments. + Create a new customAccessPackageWorkflowExtension object and add it to an existing accessPackageCatalog object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[CustomAccessPackageWorkflowE request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CustomAccessPackageWorkflowExtensionsRequestBuilderGetQueryParameters(): """ - Get a list of the customAccessPackageWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. This API is available in the following national cloud deployments. + Get a list of the customAccessPackageWorkflowExtension objects and their properties. The resulting list includes all the customAccessPackageWorkflowExtension objects for the catalog that the caller has access to read. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/item/custom_access_package_workflow_extension_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/item/custom_access_package_workflow_extension_item_request_builder.py index 11da9905f82..f63586ef0cf 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/item/custom_access_package_workflow_extension_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/item/custom_access_package_workflow_extension_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[CustomAccessPackageWorkflowExtensionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. This API is available in the following national cloud deployments. + Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. 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/customaccesspackageworkflowextension-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[CustomAccessPackageWorkflo async def get(self,request_configuration: Optional[CustomAccessPackageWorkflowExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CustomAccessPackageWorkflowExtension]: """ - Read the properties and relationships of a customAccessPackageWorkflowExtension object for an accessPackageCatalog object. This API is available in the following national cloud deployments. + Read the properties and relationships of a customAccessPackageWorkflowExtension object for an accessPackageCatalog object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomAccessPackageWorkflowExtension] Find more info here: https://learn.microsoft.com/graph/api/customaccesspackageworkflowextension-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[CustomAccessPackageWorkflowExtension] = None def to_delete_request_information(self,request_configuration: Optional[CustomAccessPackageWorkflowExtensionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. This API is available in the following national cloud deployments. + Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[CustomAcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CustomAccessPackageWorkflowExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a customAccessPackageWorkflowExtension object for an accessPackageCatalog object. This API is available in the following national cloud deployments. + Read the properties and relationships of a customAccessPackageWorkflowExtension object for an accessPackageCatalog object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomAccess request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CustomAccessPackageWorkflowExtension] = None, request_configuration: Optional[CustomAccessPackageWorkflowExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[CustomAccessPackageWorkflow request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class CustomAccessPackageWorkflowExtensionItemRequestBuilderDeleteRequestConfigu @dataclass class CustomAccessPackageWorkflowExtensionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a customAccessPackageWorkflowExtension object for an accessPackageCatalog object. This API is available in the following national cloud deployments. + Read the properties and relationships of a customAccessPackageWorkflowExtension object for an accessPackageCatalog object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/search/search_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/search/search_request_builder.py index ed3d8ab9e8a..a976b59235f 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/search/search_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/search/search_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SearchReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SearchRequestBuilder: 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 6a6d6b6aba7..461b055000d 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 @@ -45,7 +45,7 @@ def by_access_package_resource_environment_id(self,access_package_resource_envir async def get(self,request_configuration: Optional[AccessPackageResourceEnvironmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessPackageResourceEnvironmentCollectionResponse]: """ - Retrieve a list of accessPackageResourceEnvironment objects and their properties. This API is available in the following national cloud deployments. + Retrieve a list of accessPackageResourceEnvironment objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagement-list-accesspackageresourceenvironment?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AccessPackageResourceEnvironment] = None, req def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceEnvironmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of accessPackageResourceEnvironment objects and their properties. This API is available in the following national cloud deployments. + Retrieve a list of accessPackageResourceEnvironment objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceEnvironment] = None, request_configuration: Optional[AccessPackageResourceEnvironmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceEnviron request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AccessPackageResourceEnvironmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of accessPackageResourceEnvironment objects and their properties. This API is available in the following national cloud deployments. + Retrieve a list of accessPackageResourceEnvironment objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 196208b3ca3..2ec2353d175 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 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AccessPackageResourceEnvir async def get(self,request_configuration: Optional[AccessPackageResourceEnvironmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessPackageResourceEnvironment]: """ - Read the properties and relationships of an accessPackageResourceEnvironment object. This API is available in the following national cloud deployments. + Read the properties and relationships of an accessPackageResourceEnvironment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceEnvironment] Find more info here: https://learn.microsoft.com/graph/api/accesspackageresourceenvironment-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceEnvironmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an accessPackageResourceEnvironment object. This API is available in the following national cloud deployments. + Read the properties and relationships of an accessPackageResourceEnvironment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceEnvironment] = None, request_configuration: Optional[AccessPackageResourceEnvironmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceEnviro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class AccessPackageResourceEnvironmentItemRequestBuilderDeleteRequestConfigurati @dataclass class AccessPackageResourceEnvironmentItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an accessPackageResourceEnvironment object. This API is available in the following national cloud deployments. + Read the properties and relationships of an accessPackageResourceEnvironment object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 42b56ec18ff..0b01de984cb 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 @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourcesRequestBuilder: 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 0e6da57dadf..ea6bef8a286 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceItemRequestBuilder: 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 afeaa5a8456..afd54836910 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 @@ -45,7 +45,7 @@ def by_access_package_resource_request_id(self,access_package_resource_request_i async def get(self,request_configuration: Optional[AccessPackageResourceRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessPackageResourceRequestCollectionResponse]: """ - Retrieve a list of accessPackageResourceRequest objects. This API is available in the following national cloud deployments. + Retrieve a list of accessPackageResourceRequest objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagement-list-accesspackageresourcerequests?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AccessPackageResourceRequests async def post(self,body: Optional[AccessPackageResourceRequest] = None, request_configuration: Optional[AccessPackageResourceRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[AccessPackageResourceRequest]: """ - Create a new accessPackageResourceRequest object to request the addition of a resource to an access package catalog, update of a resource, or the removal of a resource from a catalog. A resource must be included in an access package catalog before a role of that resource can be added to an access package. This API is available in the following national cloud deployments. + Create a new accessPackageResourceRequest object to request the addition of a resource to an access package catalog, update of a resource, or the removal of a resource from a catalog. A resource must be included in an access package catalog before a role of that resource can be added to an access package. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRequest] @@ -92,7 +92,7 @@ async def post(self,body: Optional[AccessPackageResourceRequest] = None, request def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of accessPackageResourceRequest objects. This API is available in the following national cloud deployments. + Retrieve a list of accessPackageResourceRequest objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceRequest] = None, request_configuration: Optional[AccessPackageResourceRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new accessPackageResourceRequest object to request the addition of a resource to an access package catalog, update of a resource, or the removal of a resource from a catalog. A resource must be included in an access package catalog before a role of that resource can be added to an access package. This API is available in the following national cloud deployments. + Create a new accessPackageResourceRequest object to request the addition of a resource to an access package catalog, update of a resource, or the removal of a resource from a catalog. A resource must be included in an access package catalog before a role of that resource can be added to an access package. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AccessPackageResourceRequestsRequestBuilderGetQueryParameters(): """ - Retrieve a list of accessPackageResourceRequest objects. This API is available in the following national cloud deployments. + Retrieve a list of accessPackageResourceRequest objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 d5f6b55befe..7070319c3c2 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceRequestBuilder: 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 e6f2cea447f..0a90cad6f1a 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 @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRequest] = None, request_configuration: Optional[AccessPackageResourceRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 398a87d208f..9b0fa140439 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ConnectedOrg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ConnectedOrganizationRequestBuilder: 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 b9bde9871ac..dd6b7b68964 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Requestor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RequestorRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestorReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageSubject] = None, request_configuration: Optional[RequestorRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageSubject] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 ea152948ac9..52e109b7757 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceRoleScope] = None, request_configuration: Optional[AccessPackageResourceRoleScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceRoleSco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 2600c158a0c..87f45fd6ef8 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: 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 2b14ca3357c..c491f209cc4 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 @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 abfbc154809..3dd7d320967 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRolesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 6d77d4571c2..28992795d73 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 0ed83e640a8..a14a2dd22bf 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 e30af746f96..8fc8cd68909 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: 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 30e6a84892a..450d798237a 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 @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 cbdbe1e96cb..5b4ac26ae73 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRolesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 f559387b28d..4e235d44db2 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 7a8f22d7833..482071379b9 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: 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 8b00cac7200..3d32b1822b2 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 f30e86ab0be..1347b0f5a49 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: 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 1d0a155f857..fc46e47a2b8 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRoleRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 e401904d12e..8d0a48fd263 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 @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRoleScope] = None, request_configuration: Optional[AccessPackageResourceRoleScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRoleSc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 4a7e92ed6cf..c4987f38649 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: 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 581cb148869..b4619333e9b 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 @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 3b2a3056797..68257191d19 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRolesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 0d0dc51a6a7..e50b786c4e4 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: 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 881a17fb9db..71b5f3d8d5e 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 @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 49ec79dce0f..7b5150f142e 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 36c0d17fbfa..eb1fdb8e0d5 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 3355bbd96d2..11e8f9b0597 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: 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 7da7e04cc27..101c147831d 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 b907b9a2566..ddcb3611ef8 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 7796b9afdbc..265d2196df2 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 c77431834d7..187c549d1ed 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: 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 b86ff857f61..333339e93ad 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceScopeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopeRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 952aff15b95..3af690a5615 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResource] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 d5b242416bd..41d17766b5a 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: 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 978b8a2f8df..df7c8a50205 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 @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 3f237d13f4c..8e1d4baeaf0 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRolesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 b8021d659de..67d5f85fb33 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: 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 48c9a2d26f6..5e1de9ca868 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 @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 5ac268ff915..326e6298996 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 23de7db1f04..3145b1caf80 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: 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 cf6509077dd..c11b759b1c4 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 @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 230a6a92280..74ae52341fb 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: 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 ea1120cb287..b6e07f5c6d0 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 6a3681b4950..ad02145af7a 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: 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 9991f1c4eaf..49b7c23ddfd 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 5643b380d25..7b4cded7a50 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 2365ba155c5..c244440150d 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: 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 ef8bb7746a4..c7b7e51b623 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 @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 dd95b3ca649..6fa31a7b501 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRolesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 a09d46afb77..789d5e0aa8f 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: 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 f931038bc11..6b78a5a1271 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 @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 caa1b2350e9..a88c91b0942 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: 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 79a27fdcff0..c2ef03a6593 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 3fc0dd827e4..aac57c618ff 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: 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 a07c5e7d8c3..8cb0d0b5080 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 35db481e2e2..cb03a221814 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: 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 08a56cf58b0..31f41df3213 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 @@ -59,7 +59,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[AccessPackagesRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessPackageCollectionResponse]: """ - Retrieve a list of accessPackage objects. The resulting list includes all the access packages that the caller has access to read, across all catalogs. This API is available in the following national cloud deployments. + Retrieve a list of accessPackage objects. The resulting list includes all the access packages that the caller has access to read, across all catalogs. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagement-list-accesspackages?view=graph-rest-1.0 @@ -81,7 +81,7 @@ async def get(self,request_configuration: Optional[AccessPackagesRequestBuilderG async def post(self,body: Optional[AccessPackage] = None, request_configuration: Optional[AccessPackagesRequestBuilderPostRequestConfiguration] = None) -> Optional[AccessPackage]: """ - Create a new accessPackage object. The access package will be added to an existing accessPackageCatalog. After the access package is created, you can then create accessPackageAssignmentPolicies which specify how users are assigned to the access package. This API is available in the following national cloud deployments. + Create a new accessPackage object. The access package will be added to an existing accessPackageCatalog. After the access package is created, you can then create accessPackageAssignmentPolicies which specify how users are assigned to the access package. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackage] @@ -106,7 +106,7 @@ async def post(self,body: Optional[AccessPackage] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[AccessPackagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of accessPackage objects. The resulting list includes all the access packages that the caller has access to read, across all catalogs. This API is available in the following national cloud deployments. + Retrieve a list of accessPackage objects. The resulting list includes all the access packages that the caller has access to read, across all catalogs. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -118,12 +118,12 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackage] = None, request_configuration: Optional[AccessPackagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new accessPackage object. The access package will be added to an existing accessPackageCatalog. After the access package is created, you can then create accessPackageAssignmentPolicies which specify how users are assigned to the access package. This API is available in the following national cloud deployments. + Create a new accessPackage object. The access package will be added to an existing accessPackageCatalog. After the access package is created, you can then create accessPackageAssignmentPolicies which specify how users are assigned to the access package. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -137,7 +137,7 @@ def to_post_request_information(self,body: Optional[AccessPackage] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -172,7 +172,7 @@ def search(self) -> SearchRequestBuilder: @dataclass class AccessPackagesRequestBuilderGetQueryParameters(): """ - Retrieve a list of accessPackage objects. The resulting list includes all the access packages that the caller has access to read, across all catalogs. This API is available in the following national cloud deployments. + Retrieve a list of accessPackage objects. The resulting list includes all the access packages that the caller has access to read, across all catalogs. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 77cc04bdcfb..b10901c9478 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/access_package_assignment_policies_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/access_package_assignment_policies_request_builder.py index fd70b223617..802e389cbdf 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/access_package_assignment_policies_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/access_package_assignment_policies_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageAssignmentPolicy] = None, request_configuration: Optional[AccessPackageAssignmentPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageAssignmentPolic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/access_package/access_package_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/access_package/access_package_request_builder.py index 3e624109047..0c8cf36b09e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/access_package/access_package_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/access_package/access_package_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/access_package_assignment_policy_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/access_package_assignment_policy_item_request_builder.py index 06a4b48ac56..f3a796833f4 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/access_package_assignment_policy_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/access_package_assignment_policy_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageAssignmentPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageAssignmentPolicy] = None, request_configuration: Optional[AccessPackageAssignmentPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageAssignmentPoli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/access_package_catalog/access_package_catalog_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/access_package_catalog/access_package_catalog_request_builder.py index c403e522d1a..cc6e3468b5e 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/access_package_catalog/access_package_catalog_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/access_package_catalog/access_package_catalog_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageCatalogRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/custom_extension_handlers_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/custom_extension_handlers_request_builder.py index 3b2bfd962e5..6490eef245c 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/custom_extension_handlers_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/custom_extension_handlers_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomExtens request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CustomExtensionHandler] = None, request_configuration: Optional[CustomExtensionHandlersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[CustomExtensionHandler] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py index 4ba4d7214a8..b19542804d2 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension/custom_extension_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomExtens request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CustomExtensionRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py index 90e6b6b6717..41fca184abf 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_handlers/item/custom_extension_handler_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[CustomExt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CustomExtensionHandlerItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomExtens request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CustomExtensionHandler] = None, request_configuration: Optional[CustomExtensionHandlerItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[CustomExtensionHandler] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py index 4df9f753782..fd1a89ad8b5 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/custom_extension_stage_settings_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomExtens request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CustomExtensionStageSetting] = None, request_configuration: Optional[CustomExtensionStageSettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[CustomExtensionStageSetting] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py index 9ac6d76444d..744aadb3066 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension/custom_extension_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomExtens request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CustomExtensionRequestBuilder: diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py index 2a96fc7626d..21076981f17 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_assignment_policies/item/custom_extension_stage_settings/item/custom_extension_stage_setting_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[CustomExt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CustomExtensionStageSettingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CustomExtens request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CustomExtensionStageSetting] = None, request_configuration: Optional[CustomExtensionStageSettingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[CustomExtensionStageSetting request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_catalog/access_package_catalog_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_catalog/access_package_catalog_request_builder.py index 2099d86962c..55399237af6 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_catalog/access_package_catalog_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_packages/item/access_package_catalog/access_package_catalog_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageCatalogRequestBuilder: 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 f384e368621..14a80e0c322 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 @@ -36,7 +36,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AccessPackageItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an accessPackage object. You can't delete an access package if it has any accessPackageAssignment. To delete the access package, first query if there are any assignments with a filter to indicate the specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. For more information on how to remove assignments that are still in the delivered state, see Remove an assignment. This API is available in the following national cloud deployments. + Delete an accessPackage object. You can't delete an access package if it has any accessPackageAssignment. To delete the access package, first query if there are any assignments with a filter to indicate the specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. For more information on how to remove assignments that are still in the delivered state, see Remove an assignment. 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/accesspackage-delete?view=graph-rest-1.0 @@ -56,10 +56,10 @@ async def delete(self,request_configuration: Optional[AccessPackageItemRequestBu async def get(self,request_configuration: Optional[AccessPackageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessPackage]: """ - Retrieve the properties and relationships of an accessPackage object. This API is available in the following national cloud deployments. + Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackage] - Find more info here: https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-accesspackageresourcerolescopes?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -78,7 +78,7 @@ async def get(self,request_configuration: Optional[AccessPackageItemRequestBuild async def patch(self,body: Optional[AccessPackage] = None, request_configuration: Optional[AccessPackageItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[AccessPackage]: """ - Update an existing accessPackage object to change one or more of its properties, such as the display name or description. This API is available in the following national cloud deployments. + Update an existing accessPackage object to change one or more of its properties, such as the display name or description. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackage] @@ -103,7 +103,7 @@ async def patch(self,body: Optional[AccessPackage] = None, request_configuration def to_delete_request_information(self,request_configuration: Optional[AccessPackageItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an accessPackage object. You can't delete an access package if it has any accessPackageAssignment. To delete the access package, first query if there are any assignments with a filter to indicate the specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. For more information on how to remove assignments that are still in the delivered state, see Remove an assignment. This API is available in the following national cloud deployments. + Delete an accessPackage object. You can't delete an access package if it has any accessPackageAssignment. To delete the access package, first query if there are any assignments with a filter to indicate the specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. For more information on how to remove assignments that are still in the delivered state, see Remove an assignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -114,12 +114,12 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an accessPackage object. This API is available in the following national cloud deployments. + Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -131,12 +131,12 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackage] = None, request_configuration: Optional[AccessPackageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update an existing accessPackage object to change one or more of its properties, such as the display name or description. This API is available in the following national cloud deployments. + Update an existing accessPackage object to change one or more of its properties, such as the display name or description. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -150,7 +150,7 @@ def to_patch_request_information(self,body: Optional[AccessPackage] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -249,7 +249,7 @@ class AccessPackageItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class AccessPackageItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an accessPackage object. This API is available in the following national cloud deployments. + Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 8e30eb38e83..a13612dd523 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 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[AccessPackageResourceRoleScop async def post(self,body: Optional[AccessPackageResourceRoleScope] = None, request_configuration: Optional[AccessPackageResourceRoleScopesRequestBuilderPostRequestConfiguration] = None) -> Optional[AccessPackageResourceRoleScope]: """ - Create a new accessPackageResourceRoleScope for adding a resource role to an access package. The access package resource, for a group, an app, or a SharePoint Online site, must already exist in the access package catalog, and the originId for the resource role retrieved from the list of the resource roles. Once you add the resource role scope to the access package, the user will receive this resource role through any current and future access package assignments. This API is available in the following national cloud deployments. + Create a new accessPackageResourceRoleScope for adding a resource role to an access package. The access package resource, for a group, an app, or a SharePoint Online site, must already exist in the access package catalog, and the originId for the resource role retrieved from the list of the resource roles. Once you add the resource role scope to the access package, the user will receive this resource role through any current and future access package assignments. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageResourceRoleScope] @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceRoleScope] = None, request_configuration: Optional[AccessPackageResourceRoleScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new accessPackageResourceRoleScope for adding a resource role to an access package. The access package resource, for a group, an app, or a SharePoint Online site, must already exist in the access package catalog, and the originId for the resource role retrieved from the list of the resource roles. Once you add the resource role scope to the access package, the user will receive this resource role through any current and future access package assignments. This API is available in the following national cloud deployments. + Create a new accessPackageResourceRoleScope for adding a resource role to an access package. The access package resource, for a group, an app, or a SharePoint Online site, must already exist in the access package catalog, and the originId for the resource role retrieved from the list of the resource roles. Once you add the resource role scope to the access package, the user will receive this resource role through any current and future access package assignments. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceRoleSco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 1dadccb3b7b..97a47a282b3 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: 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 75a9f8d076e..f862f8dd7b6 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 @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 82d17e09b7f..42f917ced73 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRolesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 6cf3465ee3c..5c3f0fee0a6 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 f76d91e2b4f..0e15b4c5f59 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 0026fd327b7..2c5b667ee15 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: 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 da76fd26adb..5b36698e4fd 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 @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 0aa240701a7..1521b525e8e 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRolesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 f245ebf0dbb..758b80b01e9 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 3a36c0c2059..e6391f30462 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: 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 9efed369534..b2e17731394 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 94fa3e9e1ce..0180b4508f5 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: 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 1e30ddf4830..24bea35d7ef 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRoleRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 d98c0fba93a..7f7662ad6ec 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 @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRoleScope] = None, request_configuration: Optional[AccessPackageResourceRoleScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRoleSc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 51b1b147c7b..98fb4e52c09 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: 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 a77fbefa6c2..99b2168d16c 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 @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 51203078111..1da202e3248 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRolesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceRole] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 ddd863cdd22..23417a2b83b 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageResourceEnvironmentRequestBuilder: 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 d3ff009e758..81a7fa9c4b0 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 @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResource] = None, request_configuration: Optional[AccessPackageResourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResource] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 401285b63ee..1da11b712a1 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 35c87cd0e3d..2d4917761be 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 8183257f456..d874e8cc69f 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: 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 0b89e514b10..60aa7186ec4 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] = None, request_configuration: Optional[AccessPackageResourceRoleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceRole] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 d998e41c266..1c091cf823c 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 ea72d56f362..a240046e02f 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 186d04a1706..79ae7a864c3 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: 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 8cec45107e7..9433e6a6569 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageResourceScopeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] = None, request_configuration: Optional[AccessPackageResourceScopeRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageResourceScope] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 f75842568a7..000cd782143 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 @@ -44,7 +44,7 @@ def by_access_package_id1(self,access_package_id1: str) -> AccessPackageItemRequ async def get(self,request_configuration: Optional[AccessPackagesIncompatibleWithRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessPackageCollectionResponse]: """ - Retrieve a list of the accessPackage objects that have marked a specified accessPackage as incompatible. This API is available in the following national cloud deployments. + Retrieve a list of the accessPackage objects that have marked a specified accessPackage as incompatible. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-accesspackagesincompatiblewith?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[AccessPackagesIncompatibleWit def to_get_request_information(self,request_configuration: Optional[AccessPackagesIncompatibleWithRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of the accessPackage objects that have marked a specified accessPackage as incompatible. This API is available in the following national cloud deployments. + Retrieve a list of the accessPackage objects that have marked a specified accessPackage as incompatible. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackagesIncompatibleWithRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AccessPackagesIncompatibleWithRequestBuilderGetQueryParameters(): """ - Retrieve a list of the accessPackage objects that have marked a specified accessPackage as incompatible. This API is available in the following national cloud deployments. + Retrieve a list of the accessPackage objects that have marked a specified accessPackage as incompatible. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 be40f1235a3..fa66169d0da 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AccessPackageItemRequestBuilder: 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 3853b40ba54..b969af4172e 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[GetApplicablePolicyRequirementsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetApplicablePolicyRequirementsPostResponse]: """ - In Microsoft Entra entitlement management, this action retrieves a list of accessPackageAssignmentRequestRequirements objects that the currently signed-in user can use to create an accessPackageAssignmentRequest. Each requirement object corresponds to an access package assignment policy that the currently signed-in user is allowed to request an assignment for. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, this action retrieves a list of accessPackageAssignmentRequestRequirements objects that the currently signed-in user can use to create an accessPackageAssignmentRequest. Each requirement object corresponds to an access package assignment policy that the currently signed-in user is allowed to request an assignment for. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetApplicablePolicyRequirementsPostResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-getapplicablepolicyrequirements?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[GetApplicablePolicyRequireme def to_post_request_information(self,request_configuration: Optional[GetApplicablePolicyRequirementsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - In Microsoft Entra entitlement management, this action retrieves a list of accessPackageAssignmentRequestRequirements objects that the currently signed-in user can use to create an accessPackageAssignmentRequest. Each requirement object corresponds to an access package assignment policy that the currently signed-in user is allowed to request an assignment for. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, this action retrieves a list of accessPackageAssignmentRequestRequirements objects that the currently signed-in user can use to create an accessPackageAssignmentRequest. Each requirement object corresponds to an access package assignment policy that the currently signed-in user is allowed to request an assignment for. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[GetApplicab request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetApplicablePolicyRequirementsRequestBuilder: 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 d860ca1a68e..75136138b6c 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 @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_access_package_id1(self,access_package_id1: str) -> AccessPackageItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.identityGovernance.entitlementManagement.accessPackages.item.incompatibleAccessPackages.item collection - param access_package_id1: Unique identifier of the item + param access_package_id1: The unique identifier of accessPackage Returns: AccessPackageItemRequestBuilder """ if not access_package_id1: @@ -45,7 +45,7 @@ def by_access_package_id1(self,access_package_id1: str) -> AccessPackageItemRequ async def get(self,request_configuration: Optional[IncompatibleAccessPackagesRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessPackageCollectionResponse]: """ - Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-incompatibleaccesspackages?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[IncompatibleAccessPackagesReq def to_get_request_information(self,request_configuration: Optional[IncompatibleAccessPackagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[Incompatible request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IncompatibleAccessPackagesRequestBuilder: @@ -113,7 +113,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class IncompatibleAccessPackagesRequestBuilderGetQueryParameters(): """ - Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 1de57d307cd..91afd42e833 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 @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. 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/accesspackage-delete-incompatibleaccesspackage?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 36079867719..be173038b29 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-incompatibleaccesspackages?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add an accessPackage to the list of access packages that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Add an accessPackage to the list of access packages that have been marked as incompatible on an accessPackage. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -74,7 +74,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add an accessPackage to the list of access packages that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Add an accessPackage to the list of access packages that have been marked as incompatible on an accessPackage. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -122,7 +122,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderGetQueryParameters(): """ - Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 571f93a7f67..3febd42d570 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 @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_group_id(self,group_id: str) -> GroupItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.identityGovernance.entitlementManagement.accessPackages.item.incompatibleGroups.item collection - param group_id: Unique identifier of the item + param group_id: The unique identifier of group Returns: GroupItemRequestBuilder """ if not group_id: @@ -45,7 +45,7 @@ def by_group_id(self,group_id: str) -> GroupItemRequestBuilder: async def get(self,request_configuration: Optional[IncompatibleGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[GroupCollectionResponse]: """ - Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-incompatiblegroups?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[IncompatibleGroupsRequestBuil def to_get_request_information(self,request_configuration: Optional[IncompatibleGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[Incompatible request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IncompatibleGroupsRequestBuilder: @@ -113,7 +113,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class IncompatibleGroupsRequestBuilderGetQueryParameters(): """ - Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 81df5a9b442..11b1256fc93 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 @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a group from the list of groups that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Remove a group from the list of groups that have been marked as incompatible on an accessPackage. 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/accesspackage-delete-incompatiblegroup?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a group from the list of groups that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Remove a group from the list of groups that have been marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Remove a group from the list of groups that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Remove a group from the list of groups that have been marked as incompatible on an accessPackage. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 cca0fa66669..ff6b6c3630e 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 ca8327191aa..b274b5f7fd8 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-incompatiblegroups?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add a group to the list of groups that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Add a group to the list of groups that have been marked as incompatible on an accessPackage. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -74,7 +74,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a group to the list of groups that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Add a group to the list of groups that have been marked as incompatible on an accessPackage. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -122,7 +122,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderGetQueryParameters(): """ - Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. This API is available in the following national cloud deployments. + Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 3de2f040b44..14ee8113615 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[MoveToCatalogPostRequestBody] = None, request_configuration: Optional[MoveToCatalogRequestBuilderPostRequestConfiguration] = None) -> None: """ - In Microsoft Entra entitlement management, this action moves the accessPackage to a specified target accessPackageCatalog. The resources in the access package must be present in the target catalog. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, this action moves the accessPackage to a specified target accessPackageCatalog. The resources in the access package must be present in the target catalog. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[MoveToCatalogPostRequestBody] = None, request def to_post_request_information(self,body: Optional[MoveToCatalogPostRequestBody] = None, request_configuration: Optional[MoveToCatalogRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - In Microsoft Entra entitlement management, this action moves the accessPackage to a specified target accessPackageCatalog. The resources in the access package must be present in the target catalog. This API is available in the following national cloud deployments. + In Microsoft Entra entitlement management, this action moves the accessPackage to a specified target accessPackageCatalog. The resources in the access package must be present in the target catalog. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[MoveToCatalogPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 e967ac843e6..85f4d1886d9 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SearchReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SearchRequestBuilder: 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 f47f8dd3f3d..27742e1319d 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 @@ -45,7 +45,7 @@ def by_connected_organization_id(self,connected_organization_id: str) -> Connect async def get(self,request_configuration: Optional[ConnectedOrganizationsRequestBuilderGetRequestConfiguration] = None) -> Optional[ConnectedOrganizationCollectionResponse]: """ - Retrieve a list of connectedOrganization objects. This API is available in the following national cloud deployments. + Retrieve a list of connectedOrganization objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConnectedOrganizationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagement-list-connectedorganizations?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ConnectedOrganizationsRequest async def post(self,body: Optional[ConnectedOrganization] = None, request_configuration: Optional[ConnectedOrganizationsRequestBuilderPostRequestConfiguration] = None) -> Optional[ConnectedOrganization]: """ - Create a new connectedOrganization object. This API is available in the following national cloud deployments. + Create a new connectedOrganization object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConnectedOrganization] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ConnectedOrganization] = None, request_config def to_get_request_information(self,request_configuration: Optional[ConnectedOrganizationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of connectedOrganization objects. This API is available in the following national cloud deployments. + Retrieve a list of connectedOrganization objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ConnectedOrg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ConnectedOrganization] = None, request_configuration: Optional[ConnectedOrganizationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new connectedOrganization object. This API is available in the following national cloud deployments. + Create a new connectedOrganization object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ConnectedOrganization] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ConnectedOrganizationsRequestBuilderGetQueryParameters(): """ - Retrieve a list of connectedOrganization objects. This API is available in the following national cloud deployments. + Retrieve a list of connectedOrganization objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 9d6d4b6ac71..240922a929d 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 @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ConnectedOrganizationItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a connectedOrganization object. This API is available in the following national cloud deployments. + Delete a connectedOrganization object. 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/connectedorganization-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[ConnectedOrganizationItemR async def get(self,request_configuration: Optional[ConnectedOrganizationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ConnectedOrganization]: """ - Retrieve the properties and relationships of a connectedOrganization object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a connectedOrganization object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConnectedOrganization] Find more info here: https://learn.microsoft.com/graph/api/connectedorganization-get?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[ConnectedOrganizationItemRequ async def patch(self,body: Optional[ConnectedOrganization] = None, request_configuration: Optional[ConnectedOrganizationItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ConnectedOrganization]: """ - Update a connectedOrganization object to change one or more of its properties. This API is available in the following national cloud deployments. + Update a connectedOrganization object to change one or more of its properties. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConnectedOrganization] @@ -97,7 +97,7 @@ async def patch(self,body: Optional[ConnectedOrganization] = None, request_confi def to_delete_request_information(self,request_configuration: Optional[ConnectedOrganizationItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a connectedOrganization object. This API is available in the following national cloud deployments. + Delete a connectedOrganization object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[Connected request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConnectedOrganizationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a connectedOrganization object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a connectedOrganization object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[ConnectedOrg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConnectedOrganization] = None, request_configuration: Optional[ConnectedOrganizationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update a connectedOrganization object to change one or more of its properties. This API is available in the following national cloud deployments. + Update a connectedOrganization object to change one or more of its properties. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[ConnectedOrganization] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class ConnectedOrganizationItemRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class ConnectedOrganizationItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a connectedOrganization object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a connectedOrganization object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 6d44dce9be3..2d33ab01239 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 @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.identityGovernance.entitlementManagement.connectedOrganizations.item.externalSponsors.item collection - param directory_object_id: Unique identifier of the item + param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ if not directory_object_id: @@ -45,7 +45,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem async def get(self,request_configuration: Optional[ExternalSponsorsRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryObjectCollectionResponse]: """ - Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/connectedorganization-list-externalsponsors?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ExternalSponsorsRequestBuilde def to_get_request_information(self,request_configuration: Optional[ExternalSponsorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[ExternalSpon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExternalSponsorsRequestBuilder: @@ -113,7 +113,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class ExternalSponsorsRequestBuilderGetQueryParameters(): """ - Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 990ebdffdcf..36c408c9ce7 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 @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a user or a group from the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + Remove a user or a group from the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. 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/connectedorganization-delete-externalsponsors?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a user or a group from the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + Remove a user or a group from the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Remove a user or a group from the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + Remove a user or a group from the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 eef9ce6462b..a2854cf6115 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/connectedorganization-list-externalsponsors?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add a user or a group to the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + Add a user or a group to the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -74,7 +74,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a user or a group to the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + Add a user or a group to the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -122,7 +122,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderGetQueryParameters(): """ - Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 31cb93aa462..f8a8e9acfe7 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 @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.identityGovernance.entitlementManagement.connectedOrganizations.item.internalSponsors.item collection - param directory_object_id: Unique identifier of the item + param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ if not directory_object_id: @@ -45,7 +45,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem async def get(self,request_configuration: Optional[InternalSponsorsRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryObjectCollectionResponse]: """ - Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/connectedorganization-list-internalsponsors?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[InternalSponsorsRequestBuilde def to_get_request_information(self,request_configuration: Optional[InternalSponsorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[InternalSpon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InternalSponsorsRequestBuilder: @@ -113,7 +113,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class InternalSponsorsRequestBuilderGetQueryParameters(): """ - Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 9a3416ccebc..846bf414a67 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 @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a user or a group from the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + Remove a user or a group from the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. 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/connectedorganization-delete-internalsponsors?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a user or a group from the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + Remove a user or a group from the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Remove a user or a group from the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + Remove a user or a group from the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 b57c938bd28..9a66ac2b51b 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/connectedorganization-list-internalsponsors?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add a user or a group to the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + Add a user or a group to the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -74,7 +74,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a user or a group to the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + Add a user or a group to the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -122,7 +122,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderGetQueryParameters(): """ - Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. This API is available in the following national cloud deployments. + Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 494a6746bfa..f4230c105b2 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 @@ -117,7 +117,7 @@ def to_delete_request_information(self,request_configuration: Optional[Entitleme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EntitlementManagementRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -134,7 +134,7 @@ def to_get_request_information(self,request_configuration: Optional[EntitlementM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EntitlementManagement] = None, request_configuration: Optional[EntitlementManagementRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -153,7 +153,7 @@ def to_patch_request_information(self,body: Optional[EntitlementManagement] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 c9691223b6d..12bf49a05b2 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[SettingsRequestBuilderDele async def get(self,request_configuration: Optional[SettingsRequestBuilderGetRequestConfiguration] = None) -> Optional[EntitlementManagementSettings]: """ - Retrieve the properties of an entitlementManagementSettings object. This API is available in the following national cloud deployments. + Retrieve the properties of an entitlementManagementSettings object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EntitlementManagementSettings] Find more info here: https://learn.microsoft.com/graph/api/entitlementmanagementsettings-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[SettingsRequestBuilderGetRequ async def patch(self,body: Optional[EntitlementManagementSettings] = None, request_configuration: Optional[SettingsRequestBuilderPatchRequestConfiguration] = None) -> Optional[EntitlementManagementSettings]: """ - Update an existing entitlementManagementSettings object to change one or more of its properties. This API is available in the following national cloud deployments. + Update an existing entitlementManagementSettings object to change one or more of its properties. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EntitlementManagementSettings] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[SettingsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of an entitlementManagementSettings object. This API is available in the following national cloud deployments. + Retrieve the properties of an entitlementManagementSettings object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[SettingsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EntitlementManagementSettings] = None, request_configuration: Optional[SettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update an existing entitlementManagementSettings object to change one or more of its properties. This API is available in the following national cloud deployments. + Update an existing entitlementManagementSettings object to change one or more of its properties. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[EntitlementManagementSettin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class SettingsRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class SettingsRequestBuilderGetQueryParameters(): """ - Retrieve the properties of an entitlementManagementSettings object. This API is available in the following national cloud deployments. + Retrieve the properties of an entitlementManagementSettings object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 8cf1ad6e8e5..28db0779384 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessPac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessPackageSubjectItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessPackag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessPackageSubject] = None, request_configuration: Optional[AccessPackageSubjectItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AccessPackageSubject] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 e683f13027e..a7f5457457e 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ConnectedOrg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ConnectedOrganizationRequestBuilder: 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 baae63bdb1b..8d4082e7185 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SubjectsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessPackageSubject] = None, request_configuration: Optional[SubjectsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AccessPackageSubject] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 b372a870f46..735d3ac7898 100644 --- a/msgraph_beta/generated/identity_governance/identity_governance_request_builder.py +++ b/msgraph_beta/generated/identity_governance/identity_governance_request_builder.py @@ -94,7 +94,7 @@ def to_get_request_information(self,request_configuration: Optional[IdentityGove request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[IdentityGovernance] = None, request_configuration: Optional[IdentityGovernanceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -113,7 +113,7 @@ def to_patch_request_information(self,body: Optional[IdentityGovernance] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 68429e6a569..94699bfa441 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 @@ -45,7 +45,7 @@ def by_custom_task_extension_id(self,custom_task_extension_id: str) -> CustomTas async def get(self,request_configuration: Optional[CustomTaskExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[CustomTaskExtensionCollectionResponse]: """ - Get a list of the customTaskExtension objects and their properties. This API is available in the following national cloud deployments. + Get a list of the customTaskExtension objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomTaskExtensionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-lifecycleworkflowscontainer-list-customtaskextensions?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[CustomTaskExtensionsRequestBu async def post(self,body: Optional[CustomTaskExtension] = None, request_configuration: Optional[CustomTaskExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[CustomTaskExtension]: """ - Create a new customTaskExtension object. This API is available in the following national cloud deployments. + Create a new customTaskExtension object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomTaskExtension] @@ -92,7 +92,7 @@ async def post(self,body: Optional[CustomTaskExtension] = None, request_configur def to_get_request_information(self,request_configuration: Optional[CustomTaskExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the customTaskExtension objects and their properties. This API is available in the following national cloud deployments. + Get a list of the customTaskExtension objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[CustomTaskEx request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CustomTaskExtension] = None, request_configuration: Optional[CustomTaskExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new customTaskExtension object. This API is available in the following national cloud deployments. + Create a new customTaskExtension object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[CustomTaskExtension] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CustomTaskExtensionsRequestBuilderGetQueryParameters(): """ - Get a list of the customTaskExtension objects and their properties. This API is available in the following national cloud deployments. + Get a list of the customTaskExtension objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 ac7e0e3e696..827ef1db411 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 @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[CreatedByReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreatedByRequestBuilder: 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 b7c34942311..0a675cad46e 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 @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 4416ae29652..cf66ac285ea 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 11d066b0328..48ccaa5316b 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 @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[CustomTaskExtensionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a customTaskExtension object. A custom task extension can only be deleted if it is not referenced in any task objects in a lifecycle workflow. This API is available in the following national cloud deployments. + Delete a customTaskExtension object. A custom task extension can only be deleted if it is not referenced in any task objects in a lifecycle workflow. 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/identitygovernance-customtaskextension-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[CustomTaskExtensionItemReq async def get(self,request_configuration: Optional[CustomTaskExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CustomTaskExtension]: """ - Read the properties and relationships of a customTaskExtension object. This API is available in the following national cloud deployments. + Read the properties and relationships of a customTaskExtension object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomTaskExtension] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-customtaskextension-get?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[CustomTaskExtensionItemReques async def patch(self,body: Optional[CustomTaskExtension] = None, request_configuration: Optional[CustomTaskExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[CustomTaskExtension]: """ - Update the properties of a customTaskExtension object. This API is available in the following national cloud deployments. + Update the properties of a customTaskExtension object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomTaskExtension] @@ -97,7 +97,7 @@ async def patch(self,body: Optional[CustomTaskExtension] = None, request_configu def to_delete_request_information(self,request_configuration: Optional[CustomTaskExtensionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a customTaskExtension object. A custom task extension can only be deleted if it is not referenced in any task objects in a lifecycle workflow. This API is available in the following national cloud deployments. + Delete a customTaskExtension object. A custom task extension can only be deleted if it is not referenced in any task objects in a lifecycle workflow. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[CustomTas request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CustomTaskExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a customTaskExtension object. This API is available in the following national cloud deployments. + Read the properties and relationships of a customTaskExtension object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[CustomTaskEx request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CustomTaskExtension] = None, request_configuration: Optional[CustomTaskExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a customTaskExtension object. This API is available in the following national cloud deployments. + Update the properties of a customTaskExtension object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[CustomTaskExtension] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class CustomTaskExtensionItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class CustomTaskExtensionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a customTaskExtension object. This API is available in the following national cloud deployments. + Read the properties and relationships of a customTaskExtension object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 62791676c4d..6a010682f3f 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 @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[LastModified request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastModifiedByRequestBuilder: 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 0a28afdb1db..896f21b0326 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 @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 36bb4f4117f..c4dc0ec6ad0 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 7da3685bae1..b09e7f13d84 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 @@ -80,7 +80,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeletedIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeletedItemsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -97,7 +97,7 @@ def to_get_request_information(self,request_configuration: Optional[DeletedItems request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeletedItemsRequestBuilder: 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 61e52ed6fe1..fde6986b6d5 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 @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[CreatedByReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreatedByRequestBuilder: 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 4eb3f5eec41..038f0b1ad16 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 @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 345d2ce7102..22377002eac 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 8bf62371950..643673fa098 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 @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[ExecutionSco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExecutionScopeRequestBuilder: 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 8508eb0dce9..c1c601f5e9b 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[UserProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserProcessingResultItemRequestBuilder: 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 549aea1179d..9ed48a531f4 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 @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[LastModified request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastModifiedByRequestBuilder: 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 3c4752a34c7..aa8149cd110 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 @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 9be8ee8ce5a..1632774e0d3 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 e250becc6c2..af39608820e 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ActivatePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceActivateRequestBuilderPostRequestConfiguration] = None) -> None: """ - Run a workflow object on-demand. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. This API is available in the following national cloud deployments. + Run a workflow object on-demand. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ActivatePostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[ActivatePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceActivateRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Run a workflow object on-demand. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. This API is available in the following national cloud deployments. + Run a workflow object on-demand. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ActivatePostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 4cec4ef6623..a11c207cde0 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateNewVersionPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilderPostRequestConfiguration] = None) -> Optional[Workflow]: """ - Create a new version of the workflow object. This API is available in the following national cloud deployments. + Create a new version of the workflow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Workflow] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateNewVersionPostRequestBody] = None, requ def to_post_request_information(self,body: Optional[CreateNewVersionPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new version of the workflow object. This API is available in the following national cloud deployments. + Create a new version of the workflow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateNewVersionPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 cbeaa7a76a4..6605c1efef9 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[MicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration] = None) -> Optional[Workflow]: """ - Restore a workflow that has been deleted. You can only restore a workflow that was deleted within the last 30 days before Microsoft Entra ID automatically permanently deletes it. This API is available in the following national cloud deployments. + Restore a workflow that has been deleted. You can only restore a workflow that was deleted within the last 30 days before Microsoft Entra ID automatically permanently deletes it. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Workflow] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-restore?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[MicrosoftGraphIdentityGovern def to_post_request_information(self,request_configuration: Optional[MicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a workflow that has been deleted. You can only restore a workflow that was deleted within the last 30 days before Microsoft Entra ID automatically permanently deletes it. This API is available in the following national cloud deployments. + Restore a workflow that has been deleted. You can only restore a workflow that was deleted within the last 30 days before Microsoft Entra ID automatically permanently deletes it. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphIdentityGovernanceRestoreRequestBuilder: 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 db4bba3cec7..3fa3586ebb6 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 @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RunItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Run]: """ - Read the properties and relationships of a run object. This API is available in the following national cloud deployments. + Read the properties and relationships of a run object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Run] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-run-get?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RunItemRequestBuilderGetReque def to_get_request_information(self,request_configuration: Optional[RunItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a run object. This API is available in the following national cloud deployments. + Read the properties and relationships of a run object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[RunItemReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RunItemRequestBuilder: @@ -98,7 +98,7 @@ def user_processing_results(self) -> UserProcessingResultsRequestBuilder: @dataclass class RunItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a run object. This API is available in the following national cloud deployments. + Read the properties and relationships of a run object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 caa38a87801..b333e0ee37d 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ResumePostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ResumePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 218e8475094..b44374eee2e 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 @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 d54cc51eac1..a6be6ae14ce 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 cedfcd90949..70a15293001 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 @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[SubjectReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SubjectRequestBuilder: 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 fa2f83f8088..bb1814671ae 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskRequestBuilder: 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 854298ddbb8..2a0be830901 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskProcessingResultItemRequestBuilder: 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 05a702ebf54..cdc13262a41 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 @@ -44,7 +44,7 @@ def by_task_processing_result_id(self,task_processing_result_id: str) -> TaskPro async def get(self,request_configuration: Optional[TaskProcessingResultsRequestBuilderGetRequestConfiguration] = None) -> Optional[TaskProcessingResultCollectionResponse]: """ - Get the taskProcessingResult resources for a run. This API is available in the following national cloud deployments. + Get the taskProcessingResult resources for a run. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResultCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-run-list-taskprocessingresults?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[TaskProcessingResultsRequestB def to_get_request_information(self,request_configuration: Optional[TaskProcessingResultsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the taskProcessingResult resources for a run. This API is available in the following national cloud deployments. + Get the taskProcessingResult resources for a run. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskProcessingResultsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TaskProcessingResultsRequestBuilderGetQueryParameters(): """ - Get the taskProcessingResult resources for a run. This API is available in the following national cloud deployments. + Get the taskProcessingResult resources for a run. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 33319cd2e1c..5c97e18dbba 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 @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 f4a56adaf44..fcb9da37573 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 54f8b5a2c54..b4de255df43 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 @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[SubjectReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SubjectRequestBuilder: 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 93d58cdcdc5..244766cd2a7 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ResumePostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ResumePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 2e7ed6526d9..b630d716c8f 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 @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 79694659cf9..010f0633b00 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 056e54e55ee..94648b6974e 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 @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[SubjectReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SubjectRequestBuilder: 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 2597ef7e0ab..315e016dcbd 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskRequestBuilder: 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 51d442883c9..deaba0d73fe 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskProcessingResultItemRequestBuilder: 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 a0aaeb7bf03..27efd9bc8cf 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 @@ -44,7 +44,7 @@ def by_task_processing_result_id(self,task_processing_result_id: str) -> TaskPro async def get(self,request_configuration: Optional[TaskProcessingResultsRequestBuilderGetRequestConfiguration] = None) -> Optional[TaskProcessingResultCollectionResponse]: """ - Get the task processing result from a userProcessingResult either directly or through a run. This API is available in the following national cloud deployments. + Get the task processing result from a userProcessingResult either directly or through a run. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResultCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-userprocessingresult-list-taskprocessingresults?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[TaskProcessingResultsRequestB def to_get_request_information(self,request_configuration: Optional[TaskProcessingResultsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the task processing result from a userProcessingResult either directly or through a run. This API is available in the following national cloud deployments. + Get the task processing result from a userProcessingResult either directly or through a run. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskProcessingResultsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TaskProcessingResultsRequestBuilderGetQueryParameters(): """ - Get the task processing result from a userProcessingResult either directly or through a run. This API is available in the following national cloud deployments. + Get the task processing result from a userProcessingResult either directly or through a run. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 20a59b04d1b..8e1421e0e6a 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 @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[UserProcessingResultItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UserProcessingResult]: """ - Get the user processing result of a user processing result of a run. This API is available in the following national cloud deployments. + Get the user processing result of a user processing result of a run. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserProcessingResult] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-userprocessingresult-get?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[UserProcessingResultItemReque def to_get_request_information(self,request_configuration: Optional[UserProcessingResultItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the user processing result of a user processing result of a run. This API is available in the following national cloud deployments. + Get the user processing result of a user processing result of a run. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[UserProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserProcessingResultItemRequestBuilder: @@ -98,7 +98,7 @@ def task_processing_results(self) -> TaskProcessingResultsRequestBuilder: @dataclass class UserProcessingResultItemRequestBuilderGetQueryParameters(): """ - Get the user processing result of a user processing result of a run. This API is available in the following national cloud deployments. + Get the user processing result of a user processing result of a run. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 3f3578bb83b..ae40c90f1b5 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 @@ -66,7 +66,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder: 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 a2862661042..f71befd63df 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 @@ -46,7 +46,7 @@ def by_user_processing_result_id(self,user_processing_result_id: str) -> UserPro async def get(self,request_configuration: Optional[UserProcessingResultsRequestBuilderGetRequestConfiguration] = None) -> Optional[UserProcessingResultCollectionResponse]: """ - Get user processing results of a workflow run object. This API is available in the following national cloud deployments. + Get user processing results of a workflow run object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserProcessingResultCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-run-list-userprocessingresults?view=graph-rest-1.0 @@ -83,7 +83,7 @@ def microsoft_graph_identity_governance_summary_with_start_date_time_with_end_da def to_get_request_information(self,request_configuration: Optional[UserProcessingResultsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get user processing results of a workflow run object. This API is available in the following national cloud deployments. + Get user processing results of a workflow run object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -95,7 +95,7 @@ def to_get_request_information(self,request_configuration: Optional[UserProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserProcessingResultsRequestBuilder: @@ -120,7 +120,7 @@ def count(self) -> CountRequestBuilder: @dataclass class UserProcessingResultsRequestBuilderGetQueryParameters(): """ - Get user processing results of a workflow run object. This API is available in the following national cloud deployments. + Get user processing results of a workflow run object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 4058047cd87..cff5876f052 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 @@ -66,7 +66,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder: 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 abc11b0a06b..3e3ae740611 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 @@ -46,7 +46,7 @@ def by_run_id(self,run_id: str) -> RunItemRequestBuilder: async def get(self,request_configuration: Optional[RunsRequestBuilderGetRequestConfiguration] = None) -> Optional[RunCollectionResponse]: """ - Get a list of the run objects and their properties for a lifecycle workflow. This API is available in the following national cloud deployments. + Get a list of the run objects and their properties for a lifecycle workflow. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RunCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-list-runs?view=graph-rest-1.0 @@ -83,7 +83,7 @@ def microsoft_graph_identity_governance_summary_with_start_date_time_with_end_da def to_get_request_information(self,request_configuration: Optional[RunsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the run objects and their properties for a lifecycle workflow. This API is available in the following national cloud deployments. + Get a list of the run objects and their properties for a lifecycle workflow. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -95,7 +95,7 @@ def to_get_request_information(self,request_configuration: Optional[RunsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RunsRequestBuilder: @@ -120,7 +120,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RunsRequestBuilderGetQueryParameters(): """ - Get a list of the run objects and their properties for a lifecycle workflow. This API is available in the following national cloud deployments. + Get a list of the run objects and their properties for a lifecycle workflow. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 11a50436382..65466db4c21 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskRequestBuilder: 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 949b3bc49b9..c5811124f76 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskDefinitionRequestBuilder: 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 50c7ba3ea73..80cd6cee6bd 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ResumePostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ResumePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 7dca9c83491..2d55b0bc6e1 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 @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 929f31e0811..29cf06328a4 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 dedb0ed0441..73024ffe32e 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 @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[SubjectReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SubjectRequestBuilder: 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 308c195c1fe..44a4173500f 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskRequestBuilder: 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 4ac919829df..27a63246e0a 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskProcessingResultItemRequestBuilder: 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 b404de97886..f59fbbc42a1 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 @@ -44,7 +44,7 @@ def by_task_processing_result_id(self,task_processing_result_id: str) -> TaskPro async def get(self,request_configuration: Optional[TaskProcessingResultsRequestBuilderGetRequestConfiguration] = None) -> Optional[TaskProcessingResultCollectionResponse]: """ - Get the task processing result resources from the taskReport. This API is available in the following national cloud deployments. + Get the task processing result resources from the taskReport. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResultCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-taskreport-list-taskprocessingresults?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[TaskProcessingResultsRequestB def to_get_request_information(self,request_configuration: Optional[TaskProcessingResultsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the task processing result resources from the taskReport. This API is available in the following national cloud deployments. + Get the task processing result resources from the taskReport. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskProcessingResultsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TaskProcessingResultsRequestBuilderGetQueryParameters(): """ - Get the task processing result resources from the taskReport. This API is available in the following national cloud deployments. + Get the task processing result resources from the taskReport. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 d1e74c09064..d1e2c76e440 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskReportIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskReportItemRequestBuilder: 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 832a7ffe485..9dd0242b6d2 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 @@ -66,7 +66,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder: 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 e3d2702089e..6bc056dd7c7 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 @@ -46,7 +46,7 @@ def by_task_report_id(self,task_report_id: str) -> TaskReportItemRequestBuilder: async def get(self,request_configuration: Optional[TaskReportsRequestBuilderGetRequestConfiguration] = None) -> Optional[TaskReportCollectionResponse]: """ - Get a list of the taskReport objects and their properties. This API is available in the following national cloud deployments. + Get a list of the taskReport objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskReportCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-list-taskreports?view=graph-rest-1.0 @@ -83,7 +83,7 @@ def microsoft_graph_identity_governance_summary_with_start_date_time_with_end_da def to_get_request_information(self,request_configuration: Optional[TaskReportsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the taskReport objects and their properties. This API is available in the following national cloud deployments. + Get a list of the taskReport objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -95,7 +95,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskReportsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskReportsRequestBuilder: @@ -120,7 +120,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TaskReportsRequestBuilderGetQueryParameters(): """ - Get a list of the taskReport objects and their properties. This API is available in the following national cloud deployments. + Get a list of the taskReport objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 88270c0bb26..6af835525c5 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[TaskItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TaskItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Task] = None, request_configuration: Optional[TaskItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Task] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 770f2f9d74e..440466da4bc 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ResumePostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ResumePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 60f876936aa..0d19456f425 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 @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 ba37fefbf6b..24253a6ee3e 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 b1921058181..fc95e0f4cd8 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 @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[SubjectReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SubjectRequestBuilder: 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 f47a1da4979..1f509720400 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskRequestBuilder: 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 aea84d51671..4a0cc4f5cd9 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskProcessingResultItemRequestBuilder: 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 d56f6cf8b7e..f10f05482a6 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 @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskProcessingResultsRequestBuilder: 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 56ad88d2032..de8178d7647 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[TasksRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Task] = None, request_configuration: Optional[TasksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Task] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 687c71c7fb8..92a8c110e4f 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 @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 12dc00fd214..d47c0f3466b 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 8b3ee28eac2..2ce6acd6218 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 @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[SubjectReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SubjectRequestBuilder: 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 b2a9387de77..6eaf40a9887 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ResumePostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ResumePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 40c8a633175..3222eb552a8 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 @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 b3a34bd062d..a728bf1a29f 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 21ad0cadfca..16c96eaf79c 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 @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[SubjectReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SubjectRequestBuilder: 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 9e78178a1f2..605b9003a4d 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskRequestBuilder: 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 99558f62740..6199cf0ff52 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskProcessingResultItemRequestBuilder: 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 ac52affc135..f4b0e328a92 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 @@ -44,7 +44,7 @@ def by_task_processing_result_id(self,task_processing_result_id: str) -> TaskPro async def get(self,request_configuration: Optional[TaskProcessingResultsRequestBuilderGetRequestConfiguration] = None) -> Optional[TaskProcessingResultCollectionResponse]: """ - Get the task processing result from a userProcessingResult either directly or through a run. This API is available in the following national cloud deployments. + Get the task processing result from a userProcessingResult either directly or through a run. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResultCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-userprocessingresult-list-taskprocessingresults?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[TaskProcessingResultsRequestB def to_get_request_information(self,request_configuration: Optional[TaskProcessingResultsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the task processing result from a userProcessingResult either directly or through a run. This API is available in the following national cloud deployments. + Get the task processing result from a userProcessingResult either directly or through a run. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskProcessingResultsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TaskProcessingResultsRequestBuilderGetQueryParameters(): """ - Get the task processing result from a userProcessingResult either directly or through a run. This API is available in the following national cloud deployments. + Get the task processing result from a userProcessingResult either directly or through a run. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 dcd099343a0..a6077e38ab7 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 @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[UserProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserProcessingResultItemRequestBuilder: 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 2eef7cab57f..59d4427c423 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 @@ -66,7 +66,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder: 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 64fcc40d312..cf103acf551 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 @@ -46,7 +46,7 @@ def by_user_processing_result_id(self,user_processing_result_id: str) -> UserPro async def get(self,request_configuration: Optional[UserProcessingResultsRequestBuilderGetRequestConfiguration] = None) -> Optional[UserProcessingResultCollectionResponse]: """ - Get the userProcessingResult resources for a workflow. This API is available in the following national cloud deployments. + Get the userProcessingResult resources for a workflow. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserProcessingResultCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-list-userprocessingresults?view=graph-rest-1.0 @@ -83,7 +83,7 @@ def microsoft_graph_identity_governance_summary_with_start_date_time_with_end_da def to_get_request_information(self,request_configuration: Optional[UserProcessingResultsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the userProcessingResult resources for a workflow. This API is available in the following national cloud deployments. + Get the userProcessingResult resources for a workflow. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -95,7 +95,7 @@ def to_get_request_information(self,request_configuration: Optional[UserProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserProcessingResultsRequestBuilder: @@ -120,7 +120,7 @@ def count(self) -> CountRequestBuilder: @dataclass class UserProcessingResultsRequestBuilderGetQueryParameters(): """ - Get the userProcessingResult resources for a workflow. This API is available in the following national cloud deployments. + Get the userProcessingResult resources for a workflow. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 fce2bf6caa9..e2284d353d9 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 @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[CreatedByReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreatedByRequestBuilder: 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 e53583c53a3..1635c70e6bc 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 @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 f101483ba14..b0b6168eadb 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 10253546e69..cc1bf9f0727 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 @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[LastModified request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastModifiedByRequestBuilder: 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 4e551dbbcbf..8a16a57ad27 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 @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 fd3084802b1..938e67a783c 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 53da6c057d9..f02a1ef0599 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[TaskItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TaskItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Task] = None, request_configuration: Optional[TaskItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Task] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 5e6a2363938..2c3fae7fa21 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ResumePostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ResumePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 84cc6a2c104..1aaf8e83360 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 @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 17cd761f6b0..af7c8f82ead 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 501eebe73b8..14943f24ecf 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 @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[SubjectReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SubjectRequestBuilder: 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 ca1d6e2c75d..dfc626e909f 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskRequestBuilder: 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 8156dfcc613..d7123f1f84b 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskProcessingResultItemRequestBuilder: 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 7fe3bbb0b48..632b108902b 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 @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskProcessingResultsRequestBuilder: 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 f166b2de626..a925c03e0e0 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[TasksRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Task] = None, request_configuration: Optional[TasksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Task] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 9910026467e..3f50a42e5d1 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 @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[WorkflowVersionVersionNumberItemRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkflowVersion]: """ - Read the properties and relationships of a workflowVersion object. This API is available in the following national cloud deployments. + Read the properties and relationships of a workflowVersion object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkflowVersion] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflowversion-get?view=graph-rest-1.0 @@ -53,7 +53,7 @@ async def get(self,request_configuration: Optional[WorkflowVersionVersionNumberI def to_get_request_information(self,request_configuration: Optional[WorkflowVersionVersionNumberItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a workflowVersion object. This API is available in the following national cloud deployments. + Read the properties and relationships of a workflowVersion object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -65,7 +65,7 @@ def to_get_request_information(self,request_configuration: Optional[WorkflowVers request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> WorkflowVersionVersionNumberItemRequestBuilder: @@ -108,7 +108,7 @@ def tasks(self) -> TasksRequestBuilder: @dataclass class WorkflowVersionVersionNumberItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a workflowVersion object. This API is available in the following national cloud deployments. + Read the properties and relationships of a workflowVersion object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 f946645a5bb..a47f530bd4a 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 @@ -44,7 +44,7 @@ def by_workflow_version_version_number(self,workflow_version_version_number: int async def get(self,request_configuration: Optional[VersionsRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkflowVersionCollectionResponse]: """ - Get a list of the workflowVersion objects and their properties. This API is available in the following national cloud deployments. + Get a list of the workflowVersion objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkflowVersionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-list-versions?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[VersionsRequestBuilderGetRequ def to_get_request_information(self,request_configuration: Optional[VersionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the workflowVersion objects and their properties. This API is available in the following national cloud deployments. + Get a list of the workflowVersion objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[VersionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> VersionsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class VersionsRequestBuilderGetQueryParameters(): """ - Get a list of the workflowVersion objects and their properties. This API is available in the following national cloud deployments. + Get a list of the workflowVersion objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 f5f375bb180..c095ce9851d 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 @@ -39,7 +39,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[WorkflowItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a workflow object. This API is available in the following national cloud deployments. + Delete a workflow object. 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/identitygovernance-deletedItemcontainer-delete?view=graph-rest-1.0 @@ -59,7 +59,7 @@ async def delete(self,request_configuration: Optional[WorkflowItemRequestBuilder async def get(self,request_configuration: Optional[WorkflowItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Workflow]: """ - Retrieve a deleted workflow object. This API is available in the following national cloud deployments. + Retrieve a deleted workflow object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Workflow] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-deleteditemcontainer-get?view=graph-rest-1.0 @@ -81,7 +81,7 @@ async def get(self,request_configuration: Optional[WorkflowItemRequestBuilderGet def to_delete_request_information(self,request_configuration: Optional[WorkflowItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a workflow object. This API is available in the following national cloud deployments. + Delete a workflow object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -92,12 +92,12 @@ def to_delete_request_information(self,request_configuration: Optional[WorkflowI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkflowItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a deleted workflow object. This API is available in the following national cloud deployments. + Retrieve a deleted workflow object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,7 +109,7 @@ def to_get_request_information(self,request_configuration: Optional[WorkflowItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> WorkflowItemRequestBuilder: @@ -234,7 +234,7 @@ class WorkflowItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class WorkflowItemRequestBuilderGetQueryParameters(): """ - Retrieve a deleted workflow object. This API is available in the following national cloud deployments. + Retrieve a deleted workflow object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 41feef76057..22fbec20867 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 @@ -44,7 +44,7 @@ def by_workflow_id(self,workflow_id: str) -> WorkflowItemRequestBuilder: async def get(self,request_configuration: Optional[WorkflowsRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkflowCollectionResponse]: """ - Get a list of the deleted workflow objects and their properties. This API is available in the following national cloud deployments. + Get a list of the deleted workflow objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkflowCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-lifecycleworkflowscontainer-list-deleteditems?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[WorkflowsRequestBuilderGetReq def to_get_request_information(self,request_configuration: Optional[WorkflowsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the deleted workflow objects and their properties. This API is available in the following national cloud deployments. + Get a list of the deleted workflow objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[WorkflowsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> WorkflowsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class WorkflowsRequestBuilderGetQueryParameters(): """ - Get a list of the deleted workflow objects and their properties. This API is available in the following national cloud deployments. + Get a list of the deleted workflow objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 5c0ef7c1a1b..e3ebbc4406b 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 @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[Lifecycle request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LifecycleWorkflowsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[LifecycleWor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[LifecycleWorkflowsContainer] = None, request_configuration: Optional[LifecycleWorkflowsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[LifecycleWorkflowsContainer request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 bba75e4ab8e..cd96b8aa0f1 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[SettingsRequestBuilderGetRequestConfiguration] = None) -> Optional[LifecycleManagementSettings]: """ - Read the properties and relationships of a lifecycleManagementSettings object. This API is available in the following national cloud deployments. + Read the properties and relationships of a lifecycleManagementSettings object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LifecycleManagementSettings] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-lifecyclemanagementsettings-get?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[SettingsRequestBuilderGetRequ async def patch(self,body: Optional[LifecycleManagementSettings] = None, request_configuration: Optional[SettingsRequestBuilderPatchRequestConfiguration] = None) -> Optional[LifecycleManagementSettings]: """ - Update the properties of a lifecycleManagementSettings object. This API is available in the following national cloud deployments. + Update the properties of a lifecycleManagementSettings object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LifecycleManagementSettings] @@ -75,7 +75,7 @@ async def patch(self,body: Optional[LifecycleManagementSettings] = None, request def to_get_request_information(self,request_configuration: Optional[SettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a lifecycleManagementSettings object. This API is available in the following national cloud deployments. + Read the properties and relationships of a lifecycleManagementSettings object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -87,12 +87,12 @@ def to_get_request_information(self,request_configuration: Optional[SettingsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[LifecycleManagementSettings] = None, request_configuration: Optional[SettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a lifecycleManagementSettings object. This API is available in the following national cloud deployments. + Update the properties of a lifecycleManagementSettings object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -106,7 +106,7 @@ def to_patch_request_information(self,body: Optional[LifecycleManagementSettings request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -123,7 +123,7 @@ def with_url(self,raw_url: Optional[str] = None) -> SettingsRequestBuilder: @dataclass class SettingsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a lifecycleManagementSettings object. This API is available in the following national cloud deployments. + Read the properties and relationships of a lifecycleManagementSettings object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 f14f37e325d..733821cb93c 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[TaskDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TaskDefinition]: """ - Read the details of a built-in workflow task. This API is available in the following national cloud deployments. + Read the details of a built-in workflow task. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskDefinition] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-taskdefinition-get?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[TaskDefinitionItemRequestBuil def to_get_request_information(self,request_configuration: Optional[TaskDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the details of a built-in workflow task. This API is available in the following national cloud deployments. + Read the details of a built-in workflow task. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskDefinitionItemRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> TaskDefinitionItemRequestBui @dataclass class TaskDefinitionItemRequestBuilderGetQueryParameters(): """ - Read the details of a built-in workflow task. This API is available in the following national cloud deployments. + Read the details of a built-in workflow task. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 844c775c72c..3b025ef92ad 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 @@ -44,7 +44,7 @@ def by_task_definition_id(self,task_definition_id: str) -> TaskDefinitionItemReq async def get(self,request_configuration: Optional[TaskDefinitionsRequestBuilderGetRequestConfiguration] = None) -> Optional[TaskDefinitionCollectionResponse]: """ - Get a list of the taskDefinition objects and their properties. This API is available in the following national cloud deployments. + Get a list of the taskDefinition objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-lifecycleworkflowscontainer-list-taskdefinitions?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[TaskDefinitionsRequestBuilder def to_get_request_information(self,request_configuration: Optional[TaskDefinitionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the taskDefinition objects and their properties. This API is available in the following national cloud deployments. + Get a list of the taskDefinition objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskDefinitionsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TaskDefinitionsRequestBuilderGetQueryParameters(): """ - Get a list of the taskDefinition objects and their properties. This API is available in the following national cloud deployments. + Get a list of the taskDefinition objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 e4dfc7b8183..01894d1659a 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 @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskItemRequestBuilder: 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 5703e7740d7..75d3c81157e 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ResumePostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ResumePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 9c3d0800130..ce358aab458 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 @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 4f00bf0e76f..6166f06ce59 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 9ba815e5e0e..68f229c2b38 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 @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[SubjectReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SubjectRequestBuilder: 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 f481f2c560b..a9b8b2c88c8 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskRequestBuilder: 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 84a25a3b2ac..9211f8acda5 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskProcessingResultItemRequestBuilder: 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 84093a4a3fd..ad8dbd09d53 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 @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskProcessingResultsRequestBuilder: 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 09622b3bb5a..1a0b80f77a2 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 @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[TasksRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TasksRequestBuilder: 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 2470a1c6f13..ff462e3d17d 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[WorkflowTemplateItemRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkflowTemplate]: """ - Read the properties and relationships of a workflowTemplate object. This API is available in the following national cloud deployments. + Read the properties and relationships of a workflowTemplate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkflowTemplate] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflowtemplate-get?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[WorkflowTemplateItemRequestBu def to_get_request_information(self,request_configuration: Optional[WorkflowTemplateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a workflowTemplate object. This API is available in the following national cloud deployments. + Read the properties and relationships of a workflowTemplate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[WorkflowTemp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> WorkflowTemplateItemRequestBuilder: @@ -88,7 +88,7 @@ def tasks(self) -> TasksRequestBuilder: @dataclass class WorkflowTemplateItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a workflowTemplate object. This API is available in the following national cloud deployments. + Read the properties and relationships of a workflowTemplate object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 e6a479adade..7c84b5ef2d8 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 @@ -44,7 +44,7 @@ def by_workflow_template_id(self,workflow_template_id: str) -> WorkflowTemplateI async def get(self,request_configuration: Optional[WorkflowTemplatesRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkflowTemplateCollectionResponse]: """ - Get a list of the workflowTemplate objects and their properties. This API is available in the following national cloud deployments. + Get a list of the workflowTemplate objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkflowTemplateCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-lifecycleworkflowscontainer-list-workflowtemplates?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[WorkflowTemplatesRequestBuild def to_get_request_information(self,request_configuration: Optional[WorkflowTemplatesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the workflowTemplate objects and their properties. This API is available in the following national cloud deployments. + Get a list of the workflowTemplate objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[WorkflowTemp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> WorkflowTemplatesRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class WorkflowTemplatesRequestBuilderGetQueryParameters(): """ - Get a list of the workflowTemplate objects and their properties. This API is available in the following national cloud deployments. + Get a list of the workflowTemplate objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 1ed1fbc0488..34047d90c04 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 @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[CreatedByReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreatedByRequestBuilder: 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 c398bcbf170..a1ba75d2e3c 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 @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 eb1fd087f15..42fc359e8bf 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 b10d0960d1f..90e887a14b5 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 @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[ExecutionSco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExecutionScopeRequestBuilder: 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 964682e19dc..e3502394f56 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[UserProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserProcessingResultItemRequestBuilder: 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 9d3b28846cf..5ae1efc340c 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 @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[LastModified request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastModifiedByRequestBuilder: 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 467bea04473..2fa7f84df73 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 @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 8116b87ba11..5978384b9d7 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 0c2d829367f..9a999272964 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ActivatePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceActivateRequestBuilderPostRequestConfiguration] = None) -> None: """ - Run a workflow object on-demand. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. This API is available in the following national cloud deployments. + Run a workflow object on-demand. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ActivatePostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[ActivatePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceActivateRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Run a workflow object on-demand. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. This API is available in the following national cloud deployments. + Run a workflow object on-demand. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ActivatePostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 b31fb90da7c..c62883c0f2e 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateNewVersionPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilderPostRequestConfiguration] = None) -> Optional[Workflow]: """ - Create a new version of the workflow object. This API is available in the following national cloud deployments. + Create a new version of the workflow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Workflow] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateNewVersionPostRequestBody] = None, requ def to_post_request_information(self,body: Optional[CreateNewVersionPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new version of the workflow object. This API is available in the following national cloud deployments. + Create a new version of the workflow object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateNewVersionPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 a586f83247c..bfe42d9e1a4 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[MicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration] = None) -> Optional[Workflow]: """ - Restore a workflow that has been deleted. You can only restore a workflow that was deleted within the last 30 days before Microsoft Entra ID automatically permanently deletes it. This API is available in the following national cloud deployments. + Restore a workflow that has been deleted. You can only restore a workflow that was deleted within the last 30 days before Microsoft Entra ID automatically permanently deletes it. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Workflow] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-restore?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[MicrosoftGraphIdentityGovern def to_post_request_information(self,request_configuration: Optional[MicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a workflow that has been deleted. You can only restore a workflow that was deleted within the last 30 days before Microsoft Entra ID automatically permanently deletes it. This API is available in the following national cloud deployments. + Restore a workflow that has been deleted. You can only restore a workflow that was deleted within the last 30 days before Microsoft Entra ID automatically permanently deletes it. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphIdentityGovernanceRestoreRequestBuilder: 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 e608090c5c6..7980ed583ac 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 @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RunItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Run]: """ - Read the properties and relationships of a run object. This API is available in the following national cloud deployments. + Read the properties and relationships of a run object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Run] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-run-get?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RunItemRequestBuilderGetReque def to_get_request_information(self,request_configuration: Optional[RunItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a run object. This API is available in the following national cloud deployments. + Read the properties and relationships of a run object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[RunItemReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RunItemRequestBuilder: @@ -98,7 +98,7 @@ def user_processing_results(self) -> UserProcessingResultsRequestBuilder: @dataclass class RunItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a run object. This API is available in the following national cloud deployments. + Read the properties and relationships of a run object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 7c24e8887d1..6ac6932c34b 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ResumePostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ResumePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 52e23327f2e..ccd355d46ea 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 @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 bba1e9d8e79..236381936d7 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 a939674b277..7ffc1ea16e8 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 @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[SubjectReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SubjectRequestBuilder: 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 09595db0e7e..b88c00b53f8 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskRequestBuilder: 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 2af45749b0f..40c5579c3e4 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskProcessingResultItemRequestBuilder: 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 b8be77ac85b..703d5335f72 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 @@ -44,7 +44,7 @@ def by_task_processing_result_id(self,task_processing_result_id: str) -> TaskPro async def get(self,request_configuration: Optional[TaskProcessingResultsRequestBuilderGetRequestConfiguration] = None) -> Optional[TaskProcessingResultCollectionResponse]: """ - Get the taskProcessingResult resources for a run. This API is available in the following national cloud deployments. + Get the taskProcessingResult resources for a run. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResultCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-run-list-taskprocessingresults?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[TaskProcessingResultsRequestB def to_get_request_information(self,request_configuration: Optional[TaskProcessingResultsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the taskProcessingResult resources for a run. This API is available in the following national cloud deployments. + Get the taskProcessingResult resources for a run. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskProcessingResultsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TaskProcessingResultsRequestBuilderGetQueryParameters(): """ - Get the taskProcessingResult resources for a run. This API is available in the following national cloud deployments. + Get the taskProcessingResult resources for a run. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 3fc8c83c219..b81b91fc679 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 @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 8762d1c83cb..3641513fe34 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 0ec9a3a518c..62a6691973e 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 @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[SubjectReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SubjectRequestBuilder: 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 84b8922198f..bb1e6a05f4a 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ResumePostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ResumePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 136a96e597a..17b89fe9889 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 @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 25f0ed8aad5..8761c5e4c3c 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 dee9da39f9f..05e2bb5f6e9 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 @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[SubjectReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SubjectRequestBuilder: 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 e877a0da511..44339ebaa34 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskRequestBuilder: 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 3eec088ba64..43b1a8fe389 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskProcessingResultItemRequestBuilder: 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 e9bd60c4ab0..8aa25705c17 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 @@ -44,7 +44,7 @@ def by_task_processing_result_id(self,task_processing_result_id: str) -> TaskPro async def get(self,request_configuration: Optional[TaskProcessingResultsRequestBuilderGetRequestConfiguration] = None) -> Optional[TaskProcessingResultCollectionResponse]: """ - Get the task processing result from a userProcessingResult either directly or through a run. This API is available in the following national cloud deployments. + Get the task processing result from a userProcessingResult either directly or through a run. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResultCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-userprocessingresult-list-taskprocessingresults?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[TaskProcessingResultsRequestB def to_get_request_information(self,request_configuration: Optional[TaskProcessingResultsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the task processing result from a userProcessingResult either directly or through a run. This API is available in the following national cloud deployments. + Get the task processing result from a userProcessingResult either directly or through a run. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskProcessingResultsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TaskProcessingResultsRequestBuilderGetQueryParameters(): """ - Get the task processing result from a userProcessingResult either directly or through a run. This API is available in the following national cloud deployments. + Get the task processing result from a userProcessingResult either directly or through a run. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 2cdc0034757..891631579a6 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 @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[UserProcessingResultItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UserProcessingResult]: """ - Get the user processing result of a user processing result of a run. This API is available in the following national cloud deployments. + Get the user processing result of a user processing result of a run. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserProcessingResult] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-userprocessingresult-get?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[UserProcessingResultItemReque def to_get_request_information(self,request_configuration: Optional[UserProcessingResultItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the user processing result of a user processing result of a run. This API is available in the following national cloud deployments. + Get the user processing result of a user processing result of a run. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[UserProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserProcessingResultItemRequestBuilder: @@ -98,7 +98,7 @@ def task_processing_results(self) -> TaskProcessingResultsRequestBuilder: @dataclass class UserProcessingResultItemRequestBuilderGetQueryParameters(): """ - Get the user processing result of a user processing result of a run. This API is available in the following national cloud deployments. + Get the user processing result of a user processing result of a run. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 1236ab8b94d..900a305cfcb 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 @@ -66,7 +66,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder: 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 1f5d3f90dc2..30d9cba7f58 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 @@ -46,7 +46,7 @@ def by_user_processing_result_id(self,user_processing_result_id: str) -> UserPro async def get(self,request_configuration: Optional[UserProcessingResultsRequestBuilderGetRequestConfiguration] = None) -> Optional[UserProcessingResultCollectionResponse]: """ - Get user processing results of a workflow run object. This API is available in the following national cloud deployments. + Get user processing results of a workflow run object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserProcessingResultCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-run-list-userprocessingresults?view=graph-rest-1.0 @@ -83,7 +83,7 @@ def microsoft_graph_identity_governance_summary_with_start_date_time_with_end_da def to_get_request_information(self,request_configuration: Optional[UserProcessingResultsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get user processing results of a workflow run object. This API is available in the following national cloud deployments. + Get user processing results of a workflow run object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -95,7 +95,7 @@ def to_get_request_information(self,request_configuration: Optional[UserProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserProcessingResultsRequestBuilder: @@ -120,7 +120,7 @@ def count(self) -> CountRequestBuilder: @dataclass class UserProcessingResultsRequestBuilderGetQueryParameters(): """ - Get user processing results of a workflow run object. This API is available in the following national cloud deployments. + Get user processing results of a workflow run object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 4ae91f65ecb..5c988d4a342 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 @@ -66,7 +66,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder: 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 82b9f0bdb3e..176a1b8b1b1 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 @@ -46,7 +46,7 @@ def by_run_id(self,run_id: str) -> RunItemRequestBuilder: async def get(self,request_configuration: Optional[RunsRequestBuilderGetRequestConfiguration] = None) -> Optional[RunCollectionResponse]: """ - Get a list of the run objects and their properties for a lifecycle workflow. This API is available in the following national cloud deployments. + Get a list of the run objects and their properties for a lifecycle workflow. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RunCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-list-runs?view=graph-rest-1.0 @@ -83,7 +83,7 @@ def microsoft_graph_identity_governance_summary_with_start_date_time_with_end_da def to_get_request_information(self,request_configuration: Optional[RunsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the run objects and their properties for a lifecycle workflow. This API is available in the following national cloud deployments. + Get a list of the run objects and their properties for a lifecycle workflow. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -95,7 +95,7 @@ def to_get_request_information(self,request_configuration: Optional[RunsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RunsRequestBuilder: @@ -120,7 +120,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RunsRequestBuilderGetQueryParameters(): """ - Get a list of the run objects and their properties for a lifecycle workflow. This API is available in the following national cloud deployments. + Get a list of the run objects and their properties for a lifecycle workflow. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 797edddf291..36591d8a3bc 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskRequestBuilder: 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 3f865365f37..0f0c18bb0aa 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskDefinitionRequestBuilder: 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 cecc6518b20..c2ae2b92082 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ResumePostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ResumePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 9fff65bd530..a7d07485ed3 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 @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 2562234fe5b..8570b995b57 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 6063924a13f..80ab292240e 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 @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[SubjectReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SubjectRequestBuilder: 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 a309012f082..cb20a3c8bd1 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskRequestBuilder: 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 df78338c468..0d272a2b6fa 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskProcessingResultItemRequestBuilder: 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 d68c16d04d6..561d29abd0e 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 @@ -44,7 +44,7 @@ def by_task_processing_result_id(self,task_processing_result_id: str) -> TaskPro async def get(self,request_configuration: Optional[TaskProcessingResultsRequestBuilderGetRequestConfiguration] = None) -> Optional[TaskProcessingResultCollectionResponse]: """ - Get the task processing result resources from the taskReport. This API is available in the following national cloud deployments. + Get the task processing result resources from the taskReport. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResultCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-taskreport-list-taskprocessingresults?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[TaskProcessingResultsRequestB def to_get_request_information(self,request_configuration: Optional[TaskProcessingResultsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the task processing result resources from the taskReport. This API is available in the following national cloud deployments. + Get the task processing result resources from the taskReport. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskProcessingResultsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TaskProcessingResultsRequestBuilderGetQueryParameters(): """ - Get the task processing result resources from the taskReport. This API is available in the following national cloud deployments. + Get the task processing result resources from the taskReport. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 c6d0afddd7c..bd32c24ed13 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskReportIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskReportItemRequestBuilder: 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 0a657706e8a..055e595adca 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 @@ -66,7 +66,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder: 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 ddbfc1bfde2..82b0103f74b 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 @@ -46,7 +46,7 @@ def by_task_report_id(self,task_report_id: str) -> TaskReportItemRequestBuilder: async def get(self,request_configuration: Optional[TaskReportsRequestBuilderGetRequestConfiguration] = None) -> Optional[TaskReportCollectionResponse]: """ - Get a list of the taskReport objects and their properties. This API is available in the following national cloud deployments. + Get a list of the taskReport objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskReportCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-list-taskreports?view=graph-rest-1.0 @@ -83,7 +83,7 @@ def microsoft_graph_identity_governance_summary_with_start_date_time_with_end_da def to_get_request_information(self,request_configuration: Optional[TaskReportsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the taskReport objects and their properties. This API is available in the following national cloud deployments. + Get a list of the taskReport objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -95,7 +95,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskReportsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskReportsRequestBuilder: @@ -120,7 +120,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TaskReportsRequestBuilderGetQueryParameters(): """ - Get a list of the taskReport objects and their properties. This API is available in the following national cloud deployments. + Get a list of the taskReport objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 77b758ac1d3..c75aaa87d60 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[TaskItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TaskItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Task] = None, request_configuration: Optional[TaskItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Task] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 5f59eacf9f6..e942191021e 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ResumePostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ResumePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 fc7b78da7ba..c203fe20632 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 @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 f2fba209432..8d6f39e5ef5 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 d7a0414ff62..40a90cfef5a 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 @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[SubjectReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SubjectRequestBuilder: 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 4849fabe019..565f3a068a7 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskRequestBuilder: 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 9c4e7eb2f80..2d68ba13d0b 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskProcessingResultItemRequestBuilder: 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 c2059a59b30..0fab44cbed1 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 @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskProcessingResultsRequestBuilder: 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 b7895851bb4..55d110050ef 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[TasksRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Task] = None, request_configuration: Optional[TasksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Task] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 0712dc76687..88d0194d44f 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 @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 2c3c955f543..8c8700ea91b 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 90eb4fbae18..65e9ddf2752 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 @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[SubjectReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SubjectRequestBuilder: 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 b3072eda27a..f43861b6047 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ResumePostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ResumePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 a9e16ebf05d..07d1cb65f95 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 @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 01eaba1a38c..a54eaeea7c0 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 4d66bbd6fa6..d4f27070275 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 @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[SubjectReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SubjectRequestBuilder: 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 a808d894e7a..65b7b63b359 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskRequestBuilder: 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 a990b59388a..2611e95a661 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskProcessingResultItemRequestBuilder: 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 0ff93c00073..c0779f1477f 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 @@ -44,7 +44,7 @@ def by_task_processing_result_id(self,task_processing_result_id: str) -> TaskPro async def get(self,request_configuration: Optional[TaskProcessingResultsRequestBuilderGetRequestConfiguration] = None) -> Optional[TaskProcessingResultCollectionResponse]: """ - Get the task processing result from a userProcessingResult either directly or through a run. This API is available in the following national cloud deployments. + Get the task processing result from a userProcessingResult either directly or through a run. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TaskProcessingResultCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-userprocessingresult-list-taskprocessingresults?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[TaskProcessingResultsRequestB def to_get_request_information(self,request_configuration: Optional[TaskProcessingResultsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the task processing result from a userProcessingResult either directly or through a run. This API is available in the following national cloud deployments. + Get the task processing result from a userProcessingResult either directly or through a run. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskProcessingResultsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TaskProcessingResultsRequestBuilderGetQueryParameters(): """ - Get the task processing result from a userProcessingResult either directly or through a run. This API is available in the following national cloud deployments. + Get the task processing result from a userProcessingResult either directly or through a run. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 46a34a678bc..b0198d7b815 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 @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[UserProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserProcessingResultItemRequestBuilder: 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 7bfd28aaa4a..966ccb07291 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 @@ -66,7 +66,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder: 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 5db3381740e..dd882b785be 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 @@ -46,7 +46,7 @@ def by_user_processing_result_id(self,user_processing_result_id: str) -> UserPro async def get(self,request_configuration: Optional[UserProcessingResultsRequestBuilderGetRequestConfiguration] = None) -> Optional[UserProcessingResultCollectionResponse]: """ - Get the userProcessingResult resources for a workflow. This API is available in the following national cloud deployments. + Get the userProcessingResult resources for a workflow. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserProcessingResultCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-list-userprocessingresults?view=graph-rest-1.0 @@ -83,7 +83,7 @@ def microsoft_graph_identity_governance_summary_with_start_date_time_with_end_da def to_get_request_information(self,request_configuration: Optional[UserProcessingResultsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the userProcessingResult resources for a workflow. This API is available in the following national cloud deployments. + Get the userProcessingResult resources for a workflow. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -95,7 +95,7 @@ def to_get_request_information(self,request_configuration: Optional[UserProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserProcessingResultsRequestBuilder: @@ -120,7 +120,7 @@ def count(self) -> CountRequestBuilder: @dataclass class UserProcessingResultsRequestBuilderGetQueryParameters(): """ - Get the userProcessingResult resources for a workflow. This API is available in the following national cloud deployments. + Get the userProcessingResult resources for a workflow. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 1336f244111..66ac4e3a9e5 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 @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[CreatedByReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreatedByRequestBuilder: 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 cdafaf24518..ea4b26f9a44 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 @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 a30907e8b84..1d4165a1acd 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 81c40b22057..dc634e8b09d 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 @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[LastModified request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastModifiedByRequestBuilder: 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 7a3fc0797ff..247be47b7e0 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 @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 24cb7bcbb74..8d8a8a9f737 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 0d0f26a3f93..4f72ec47825 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[TaskItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TaskItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Task] = None, request_configuration: Optional[TaskItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Task] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 bf964d409e9..e28bf43ced7 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ResumePostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[ResumePostRequestBody] = None, request_configuration: Optional[MicrosoftGraphIdentityGovernanceResumeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. This API is available in the following national cloud deployments. + Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ResumePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 431cb8f1b60..4a6deeebc47 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 @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 e4a20c8ec0e..3761788f6ce 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 fc9a0f7c98a..d2310ae67d7 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 @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[SubjectReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SubjectRequestBuilder: 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 cebfa4a7e90..caa7f7d097c 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskRequestBuilder: 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 90083429386..8b3c4b90240 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskProcessingResultItemRequestBuilder: 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 9b16e8c0f2f..6156cdac89a 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 @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[TaskProcessi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TaskProcessingResultsRequestBuilder: 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 398c49dd6d1..850903e9801 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[TasksRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Task] = None, request_configuration: Optional[TasksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Task] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 1d73b6ab30c..90c667b2a62 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 @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[WorkflowVersionVersionNumberItemRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkflowVersion]: """ - Read the properties and relationships of a workflowVersion object. This API is available in the following national cloud deployments. + Read the properties and relationships of a workflowVersion object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkflowVersion] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflowversion-get?view=graph-rest-1.0 @@ -53,7 +53,7 @@ async def get(self,request_configuration: Optional[WorkflowVersionVersionNumberI def to_get_request_information(self,request_configuration: Optional[WorkflowVersionVersionNumberItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a workflowVersion object. This API is available in the following national cloud deployments. + Read the properties and relationships of a workflowVersion object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -65,7 +65,7 @@ def to_get_request_information(self,request_configuration: Optional[WorkflowVers request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> WorkflowVersionVersionNumberItemRequestBuilder: @@ -108,7 +108,7 @@ def tasks(self) -> TasksRequestBuilder: @dataclass class WorkflowVersionVersionNumberItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a workflowVersion object. This API is available in the following national cloud deployments. + Read the properties and relationships of a workflowVersion object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 0369863a202..6cb6d88cde0 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 @@ -44,7 +44,7 @@ def by_workflow_version_version_number(self,workflow_version_version_number: int async def get(self,request_configuration: Optional[VersionsRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkflowVersionCollectionResponse]: """ - Get a list of the workflowVersion objects and their properties. This API is available in the following national cloud deployments. + Get a list of the workflowVersion objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkflowVersionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-list-versions?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[VersionsRequestBuilderGetRequ def to_get_request_information(self,request_configuration: Optional[VersionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the workflowVersion objects and their properties. This API is available in the following national cloud deployments. + Get a list of the workflowVersion objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[VersionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> VersionsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class VersionsRequestBuilderGetQueryParameters(): """ - Get a list of the workflowVersion objects and their properties. This API is available in the following national cloud deployments. + Get a list of the workflowVersion objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 5df3d7236f1..81fcec2de62 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 @@ -39,7 +39,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[WorkflowItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a workflow object and its associated tasks, taskProcessingResults and versions. You can restore a deleted workflow and its associated objects within 30 days of deletion. This API is available in the following national cloud deployments. + Delete a workflow object and its associated tasks, taskProcessingResults and versions. You can restore a deleted workflow and its associated objects within 30 days of deletion. 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/identitygovernance-workflow-delete?view=graph-rest-1.0 @@ -59,7 +59,7 @@ async def delete(self,request_configuration: Optional[WorkflowItemRequestBuilder async def get(self,request_configuration: Optional[WorkflowItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Workflow]: """ - Read the properties and relationships of a workflow object. This API is available in the following national cloud deployments. + Read the properties and relationships of a workflow object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Workflow] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-workflow-get?view=graph-rest-1.0 @@ -81,7 +81,7 @@ async def get(self,request_configuration: Optional[WorkflowItemRequestBuilderGet async def patch(self,body: Optional[Workflow] = None, request_configuration: Optional[WorkflowItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Workflow]: """ - Update the properties of a workflow object. Only the properties listed in the request body table can be updated. To update any other workflow properties, see workflow: createNewVersion. This API is available in the following national cloud deployments. + Update the properties of a workflow object. Only the properties listed in the request body table can be updated. To update any other workflow properties, see workflow: createNewVersion. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Workflow] @@ -106,7 +106,7 @@ async def patch(self,body: Optional[Workflow] = None, request_configuration: Opt def to_delete_request_information(self,request_configuration: Optional[WorkflowItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a workflow object and its associated tasks, taskProcessingResults and versions. You can restore a deleted workflow and its associated objects within 30 days of deletion. This API is available in the following national cloud deployments. + Delete a workflow object and its associated tasks, taskProcessingResults and versions. You can restore a deleted workflow and its associated objects within 30 days of deletion. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,12 +117,12 @@ def to_delete_request_information(self,request_configuration: Optional[WorkflowI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkflowItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a workflow object. This API is available in the following national cloud deployments. + Read the properties and relationships of a workflow object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -134,12 +134,12 @@ def to_get_request_information(self,request_configuration: Optional[WorkflowItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Workflow] = None, request_configuration: Optional[WorkflowItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a workflow object. Only the properties listed in the request body table can be updated. To update any other workflow properties, see workflow: createNewVersion. This API is available in the following national cloud deployments. + Update the properties of a workflow object. Only the properties listed in the request body table can be updated. To update any other workflow properties, see workflow: createNewVersion. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -153,7 +153,7 @@ def to_patch_request_information(self,body: Optional[Workflow] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -279,7 +279,7 @@ class WorkflowItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class WorkflowItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a workflow object. This API is available in the following national cloud deployments. + Read the properties and relationships of a workflow object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 f9dc63f7a06..02515f44949 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 @@ -45,7 +45,7 @@ def by_workflow_id(self,workflow_id: str) -> WorkflowItemRequestBuilder: async def get(self,request_configuration: Optional[WorkflowsRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkflowCollectionResponse]: """ - Get a list of workflow resources that are associated with lifecycle workflows. This API is available in the following national cloud deployments. + Get a list of workflow resources that are associated with lifecycle workflows. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkflowCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identitygovernance-lifecycleworkflowscontainer-list-workflows?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[WorkflowsRequestBuilderGetReq async def post(self,body: Optional[Workflow] = None, request_configuration: Optional[WorkflowsRequestBuilderPostRequestConfiguration] = None) -> Optional[Workflow]: """ - Create a new workflow object. You can create up to 50 workflows in a tenant. This API is available in the following national cloud deployments. + Create a new workflow object. You can create up to 50 workflows in a tenant. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Workflow] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Workflow] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[WorkflowsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of workflow resources that are associated with lifecycle workflows. This API is available in the following national cloud deployments. + Get a list of workflow resources that are associated with lifecycle workflows. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[WorkflowsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Workflow] = None, request_configuration: Optional[WorkflowsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new workflow object. You can create up to 50 workflows in a tenant. This API is available in the following national cloud deployments. + Create a new workflow object. You can create up to 50 workflows in a tenant. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Workflow] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class WorkflowsRequestBuilderGetQueryParameters(): """ - Get a list of workflow resources that are associated with lifecycle workflows. This API is available in the following national cloud deployments. + Get a list of workflow resources that are associated with lifecycle workflows. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 f77c87c39de..9ec7298122f 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 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[AwsRequestBuilderDeleteReq async def get(self,request_configuration: Optional[AwsRequestBuilderGetRequestConfiguration] = None) -> Optional[PermissionsAnalytics]: """ - Get aws from identityGovernance + AWS permissions analytics findings. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsAnalytics] """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[AwsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AwsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get aws from identityGovernance + AWS permissions analytics findings. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AwsRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PermissionsAnalytics] = None, request_configuration: Optional[AwsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PermissionsAnalytics] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -186,7 +186,7 @@ class AwsRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class AwsRequestBuilderGetQueryParameters(): """ - Get aws from identityGovernance + AWS permissions analytics findings. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 270290e1419..af9f87b7b2c 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 @@ -45,7 +45,7 @@ def by_finding_id(self,finding_id: str) -> FindingItemRequestBuilder: async def get(self,request_configuration: Optional[FindingsRequestBuilderGetRequestConfiguration] = None) -> Optional[FindingCollectionResponse]: """ - Get findings from identityGovernance + The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FindingCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[Finding] = None, request_configuration: Optio def to_get_request_information(self,request_configuration: Optional[FindingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get findings from identityGovernance + The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[FindingsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Finding] = None, request_configuration: Optional[FindingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Finding] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class FindingsRequestBuilderGetQueryParameters(): """ - Get findings from identityGovernance + The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 e8de850d8e6..6cad36d018e 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[FindingItemRequestBuilderD async def get(self,request_configuration: Optional[FindingItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Finding]: """ - Get findings from identityGovernance + The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Finding] """ @@ -103,12 +103,12 @@ def to_delete_request_information(self,request_configuration: Optional[FindingIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FindingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get findings from identityGovernance + The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[FindingItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Finding] = None, request_configuration: Optional[FindingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Finding] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -166,7 +166,7 @@ class FindingItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurati @dataclass class FindingItemRequestBuilderGetQueryParameters(): """ - Get findings from identityGovernance + The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 454f9c708c1..73870de842d 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[AuthorizationSystemRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthorizationSystem]: """ - Get authorizationSystem from identityGovernance + Represents an authorization system onboarded to Permissions Management. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthorizationSystem] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[AuthorizationSystemRequestBui def to_get_request_information(self,request_configuration: Optional[AuthorizationSystemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get authorizationSystem from identityGovernance + Represents an authorization system onboarded to Permissions Management. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[Authorizatio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AuthorizationSystemRequestBuilder: @@ -77,7 +77,7 @@ def with_url(self,raw_url: Optional[str] = None) -> AuthorizationSystemRequestBu @dataclass class AuthorizationSystemRequestBuilderGetQueryParameters(): """ - Get authorizationSystem from identityGovernance + Represents an authorization system onboarded to Permissions Management. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 3fa3a2fc0e4..00e0e88349c 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 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[PermissionsCreepIndexDistr async def get(self,request_configuration: Optional[PermissionsCreepIndexDistributionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PermissionsCreepIndexDistribution]: """ - Get permissionsCreepIndexDistributions from identityGovernance + Represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsCreepIndexDistribution] """ @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Permissio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PermissionsCreepIndexDistributionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get permissionsCreepIndexDistributions from identityGovernance + Represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PermissionsC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PermissionsCreepIndexDistribution] = None, request_configuration: Optional[PermissionsCreepIndexDistributionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[PermissionsCreepIndexDistri request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -176,7 +176,7 @@ class PermissionsCreepIndexDistributionItemRequestBuilderDeleteRequestConfigurat @dataclass class PermissionsCreepIndexDistributionItemRequestBuilderGetQueryParameters(): """ - Get permissionsCreepIndexDistributions from identityGovernance + Represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 0ac3d5cb42b..4c8721e4ae7 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 @@ -45,9 +45,10 @@ def by_permissions_creep_index_distribution_id(self,permissions_creep_index_dist async def get(self,request_configuration: Optional[PermissionsCreepIndexDistributionsRequestBuilderGetRequestConfiguration] = None) -> Optional[PermissionsCreepIndexDistributionCollectionResponse]: """ - Get permissionsCreepIndexDistributions from identityGovernance + Get a list of the permissionsCreepIndexDistribution objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsCreepIndexDistributionCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/permissionsanalytics-list-permissionscreepindexdistributions?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -90,7 +91,7 @@ async def post(self,body: Optional[PermissionsCreepIndexDistribution] = None, re def to_get_request_information(self,request_configuration: Optional[PermissionsCreepIndexDistributionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get permissionsCreepIndexDistributions from identityGovernance + Get a list of the permissionsCreepIndexDistribution objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PermissionsC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PermissionsCreepIndexDistribution] = None, request_configuration: Optional[PermissionsCreepIndexDistributionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +122,7 @@ def to_post_request_information(self,body: Optional[PermissionsCreepIndexDistrib request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PermissionsCreepIndexDistributionsRequestBuilderGetQueryParameters(): """ - Get permissionsCreepIndexDistributions from identityGovernance + Get a list of the permissionsCreepIndexDistribution objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 d448e7cb088..5ee29a61ade 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 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[AzureRequestBuilderDeleteR async def get(self,request_configuration: Optional[AzureRequestBuilderGetRequestConfiguration] = None) -> Optional[PermissionsAnalytics]: """ - Get azure from identityGovernance + Azure permissions analytics findings. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsAnalytics] """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[AzureRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AzureRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get azure from identityGovernance + Azure permissions analytics findings. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AzureRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PermissionsAnalytics] = None, request_configuration: Optional[AzureRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PermissionsAnalytics] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -186,7 +186,7 @@ class AzureRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class AzureRequestBuilderGetQueryParameters(): """ - Get azure from identityGovernance + Azure permissions analytics findings. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 535a6e215c9..6f802397a6e 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 @@ -45,7 +45,7 @@ def by_finding_id(self,finding_id: str) -> FindingItemRequestBuilder: async def get(self,request_configuration: Optional[FindingsRequestBuilderGetRequestConfiguration] = None) -> Optional[FindingCollectionResponse]: """ - Get findings from identityGovernance + The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FindingCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[Finding] = None, request_configuration: Optio def to_get_request_information(self,request_configuration: Optional[FindingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get findings from identityGovernance + The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[FindingsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Finding] = None, request_configuration: Optional[FindingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Finding] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class FindingsRequestBuilderGetQueryParameters(): """ - Get findings from identityGovernance + The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 b018bdb9285..2fa69843745 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[FindingItemRequestBuilderD async def get(self,request_configuration: Optional[FindingItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Finding]: """ - Get findings from identityGovernance + The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Finding] """ @@ -103,12 +103,12 @@ def to_delete_request_information(self,request_configuration: Optional[FindingIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FindingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get findings from identityGovernance + The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[FindingItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Finding] = None, request_configuration: Optional[FindingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Finding] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -166,7 +166,7 @@ class FindingItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurati @dataclass class FindingItemRequestBuilderGetQueryParameters(): """ - Get findings from identityGovernance + The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 b93fdd42aea..13906fed0dc 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[AuthorizationSystemRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthorizationSystem]: """ - Get authorizationSystem from identityGovernance + Represents an authorization system onboarded to Permissions Management. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthorizationSystem] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[AuthorizationSystemRequestBui def to_get_request_information(self,request_configuration: Optional[AuthorizationSystemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get authorizationSystem from identityGovernance + Represents an authorization system onboarded to Permissions Management. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[Authorizatio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AuthorizationSystemRequestBuilder: @@ -77,7 +77,7 @@ def with_url(self,raw_url: Optional[str] = None) -> AuthorizationSystemRequestBu @dataclass class AuthorizationSystemRequestBuilderGetQueryParameters(): """ - Get authorizationSystem from identityGovernance + Represents an authorization system onboarded to Permissions Management. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 fce182ac81b..e839311c1c7 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 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[PermissionsCreepIndexDistr async def get(self,request_configuration: Optional[PermissionsCreepIndexDistributionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PermissionsCreepIndexDistribution]: """ - Get permissionsCreepIndexDistributions from identityGovernance + Represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsCreepIndexDistribution] """ @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Permissio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PermissionsCreepIndexDistributionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get permissionsCreepIndexDistributions from identityGovernance + Represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PermissionsC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PermissionsCreepIndexDistribution] = None, request_configuration: Optional[PermissionsCreepIndexDistributionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[PermissionsCreepIndexDistri request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -176,7 +176,7 @@ class PermissionsCreepIndexDistributionItemRequestBuilderDeleteRequestConfigurat @dataclass class PermissionsCreepIndexDistributionItemRequestBuilderGetQueryParameters(): """ - Get permissionsCreepIndexDistributions from identityGovernance + Represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 5e53b89c226..f43899585ba 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 @@ -45,9 +45,10 @@ def by_permissions_creep_index_distribution_id(self,permissions_creep_index_dist async def get(self,request_configuration: Optional[PermissionsCreepIndexDistributionsRequestBuilderGetRequestConfiguration] = None) -> Optional[PermissionsCreepIndexDistributionCollectionResponse]: """ - Get permissionsCreepIndexDistributions from identityGovernance + Get a list of the permissionsCreepIndexDistribution objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsCreepIndexDistributionCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/permissionsanalytics-list-permissionscreepindexdistributions?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -90,7 +91,7 @@ async def post(self,body: Optional[PermissionsCreepIndexDistribution] = None, re def to_get_request_information(self,request_configuration: Optional[PermissionsCreepIndexDistributionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get permissionsCreepIndexDistributions from identityGovernance + Get a list of the permissionsCreepIndexDistribution objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PermissionsC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PermissionsCreepIndexDistribution] = None, request_configuration: Optional[PermissionsCreepIndexDistributionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +122,7 @@ def to_post_request_information(self,body: Optional[PermissionsCreepIndexDistrib request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PermissionsCreepIndexDistributionsRequestBuilderGetQueryParameters(): """ - Get permissionsCreepIndexDistributions from identityGovernance + Get a list of the permissionsCreepIndexDistribution objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 14667370d8b..3c0e5aae2d8 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 @@ -45,7 +45,7 @@ def by_finding_id(self,finding_id: str) -> FindingItemRequestBuilder: async def get(self,request_configuration: Optional[FindingsRequestBuilderGetRequestConfiguration] = None) -> Optional[FindingCollectionResponse]: """ - Get findings from identityGovernance + The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FindingCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[Finding] = None, request_configuration: Optio def to_get_request_information(self,request_configuration: Optional[FindingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get findings from identityGovernance + The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[FindingsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Finding] = None, request_configuration: Optional[FindingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Finding] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class FindingsRequestBuilderGetQueryParameters(): """ - Get findings from identityGovernance + The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 f20dc05d948..9e1cc3cae41 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[FindingItemRequestBuilderD async def get(self,request_configuration: Optional[FindingItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Finding]: """ - Get findings from identityGovernance + The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Finding] """ @@ -103,12 +103,12 @@ def to_delete_request_information(self,request_configuration: Optional[FindingIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FindingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get findings from identityGovernance + The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[FindingItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Finding] = None, request_configuration: Optional[FindingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Finding] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -166,7 +166,7 @@ class FindingItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurati @dataclass class FindingItemRequestBuilderGetQueryParameters(): """ - Get findings from identityGovernance + The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 f3e0952ea87..ade5e8949c2 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 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[GcpRequestBuilderDeleteReq async def get(self,request_configuration: Optional[GcpRequestBuilderGetRequestConfiguration] = None) -> Optional[PermissionsAnalytics]: """ - Get gcp from identityGovernance + GCP permissions analytics findings. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsAnalytics] """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[GcpReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GcpRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get gcp from identityGovernance + GCP permissions analytics findings. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[GcpRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PermissionsAnalytics] = None, request_configuration: Optional[GcpRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PermissionsAnalytics] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -186,7 +186,7 @@ class GcpRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class GcpRequestBuilderGetQueryParameters(): """ - Get gcp from identityGovernance + GCP permissions analytics findings. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 e799d2e8c24..8b42428ed5b 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[AuthorizationSystemRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthorizationSystem]: """ - Get authorizationSystem from identityGovernance + Represents an authorization system onboarded to Permissions Management. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthorizationSystem] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[AuthorizationSystemRequestBui def to_get_request_information(self,request_configuration: Optional[AuthorizationSystemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get authorizationSystem from identityGovernance + Represents an authorization system onboarded to Permissions Management. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[Authorizatio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AuthorizationSystemRequestBuilder: @@ -77,7 +77,7 @@ def with_url(self,raw_url: Optional[str] = None) -> AuthorizationSystemRequestBu @dataclass class AuthorizationSystemRequestBuilderGetQueryParameters(): """ - Get authorizationSystem from identityGovernance + Represents an authorization system onboarded to Permissions Management. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 40d38d422a6..11c4263b5e1 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 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[PermissionsCreepIndexDistr async def get(self,request_configuration: Optional[PermissionsCreepIndexDistributionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PermissionsCreepIndexDistribution]: """ - Get permissionsCreepIndexDistributions from identityGovernance + Represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsCreepIndexDistribution] """ @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Permissio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PermissionsCreepIndexDistributionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get permissionsCreepIndexDistributions from identityGovernance + Represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PermissionsC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PermissionsCreepIndexDistribution] = None, request_configuration: Optional[PermissionsCreepIndexDistributionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[PermissionsCreepIndexDistri request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -176,7 +176,7 @@ class PermissionsCreepIndexDistributionItemRequestBuilderDeleteRequestConfigurat @dataclass class PermissionsCreepIndexDistributionItemRequestBuilderGetQueryParameters(): """ - Get permissionsCreepIndexDistributions from identityGovernance + Represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 c0c82e621de..63700c3b3da 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 @@ -45,9 +45,10 @@ def by_permissions_creep_index_distribution_id(self,permissions_creep_index_dist async def get(self,request_configuration: Optional[PermissionsCreepIndexDistributionsRequestBuilderGetRequestConfiguration] = None) -> Optional[PermissionsCreepIndexDistributionCollectionResponse]: """ - Get permissionsCreepIndexDistributions from identityGovernance + Get a list of the permissionsCreepIndexDistribution objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsCreepIndexDistributionCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/permissionsanalytics-list-permissionscreepindexdistributions?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -90,7 +91,7 @@ async def post(self,body: Optional[PermissionsCreepIndexDistribution] = None, re def to_get_request_information(self,request_configuration: Optional[PermissionsCreepIndexDistributionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get permissionsCreepIndexDistributions from identityGovernance + Get a list of the permissionsCreepIndexDistribution objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PermissionsC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PermissionsCreepIndexDistribution] = None, request_configuration: Optional[PermissionsCreepIndexDistributionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +122,7 @@ def to_post_request_information(self,body: Optional[PermissionsCreepIndexDistrib request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PermissionsCreepIndexDistributionsRequestBuilderGetQueryParameters(): """ - Get permissionsCreepIndexDistributions from identityGovernance + Get a list of the permissionsCreepIndexDistribution objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 3152dea8711..47f2d9fcf28 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 @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[Permissio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PermissionsAnalyticsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[PermissionsA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PermissionsAnalyticsAggregation] = None, request_configuration: Optional[PermissionsAnalyticsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[PermissionsAnalyticsAggrega request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 8042fab1a64..cb1ea342393 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 @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Permissio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PermissionsManagementRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[PermissionsM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PermissionsManagement] = None, request_configuration: Optional[PermissionsManagementRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PermissionsManagement] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 519523ca18b..3b0f613f3d4 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 @@ -47,9 +47,10 @@ async def delete(self,request_configuration: Optional[PermissionsRequestChangeIt async def get(self,request_configuration: Optional[PermissionsRequestChangeItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PermissionsRequestChange]: """ - Get permissionsRequestChanges from identityGovernance + Read the properties and relationships of a permissionsRequestChange object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsRequestChange] + Find more info here: https://learn.microsoft.com/graph/api/permissionsrequestchange-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -103,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Permissio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PermissionsRequestChangeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get permissionsRequestChanges from identityGovernance + Read the properties and relationships of a permissionsRequestChange object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -120,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PermissionsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PermissionsRequestChange] = None, request_configuration: Optional[PermissionsRequestChangeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +140,7 @@ def to_patch_request_information(self,body: Optional[PermissionsRequestChange] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -166,7 +167,7 @@ class PermissionsRequestChangeItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class PermissionsRequestChangeItemRequestBuilderGetQueryParameters(): """ - Get permissionsRequestChanges from identityGovernance + Read the properties and relationships of a permissionsRequestChange object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 247b3bf87b0..43383d0edf8 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 @@ -45,9 +45,10 @@ def by_permissions_request_change_id(self,permissions_request_change_id: str) -> async def get(self,request_configuration: Optional[PermissionsRequestChangesRequestBuilderGetRequestConfiguration] = None) -> Optional[PermissionsRequestChangeCollectionResponse]: """ - Get permissionsRequestChanges from identityGovernance + List the permissionsRequestChange objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionsRequestChangeCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/permissionsmanagement-list-permissionsrequestchanges?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -90,7 +91,7 @@ async def post(self,body: Optional[PermissionsRequestChange] = None, request_con def to_get_request_information(self,request_configuration: Optional[PermissionsRequestChangesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get permissionsRequestChanges from identityGovernance + List the permissionsRequestChange objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PermissionsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PermissionsRequestChange] = None, request_configuration: Optional[PermissionsRequestChangesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +122,7 @@ def to_post_request_information(self,body: Optional[PermissionsRequestChange] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PermissionsRequestChangesRequestBuilderGetQueryParameters(): """ - Get permissionsRequestChanges from identityGovernance + List the permissionsRequestChange objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 2a57357c423..5e566821517 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 @@ -28,10 +28,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ScheduledPermissionsRequest] = None, request_configuration: Optional[ScheduledPermissionsRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[ScheduledPermissionsRequest]: """ - Create new navigation property to scheduledPermissionsRequests for identityGovernance + Create a new scheduledPermissionsRequest object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ScheduledPermissionsRequest] + Find more info here: https://learn.microsoft.com/graph/api/permissionsmanagement-post-scheduledpermissionsrequests?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -52,7 +53,7 @@ async def post(self,body: Optional[ScheduledPermissionsRequest] = None, request_ def to_post_request_information(self,body: Optional[ScheduledPermissionsRequest] = None, request_configuration: Optional[ScheduledPermissionsRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create new navigation property to scheduledPermissionsRequests for identityGovernance + Create a new scheduledPermissionsRequest object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -66,7 +67,7 @@ def to_post_request_information(self,body: Optional[ScheduledPermissionsRequest] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 6ceff8d447c..c9f02df94d2 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 @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentAp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Approval] = None, request_configuration: Optional[AssignmentApprovalsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -134,7 +134,7 @@ def to_post_request_information(self,body: Optional[Approval] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 b63158ec4ae..83d1ad18756 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: 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 c333c0f4835..162d0ed8f1e 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ApprovalI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ApprovalItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ApprovalItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Approval] = None, request_configuration: Optional[ApprovalItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Approval] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 686f1d67a94..a90c44bdd5c 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ApprovalStepItemRequestBui async def get(self,request_configuration: Optional[ApprovalStepItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ApprovalStep]: """ - Retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. + Retrieve the properties of an approvalStep object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] Find more info here: https://learn.microsoft.com/graph/api/approvalstep-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[ApprovalStepItemRequestBuilde async def patch(self,body: Optional[ApprovalStep] = None, request_configuration: Optional[ApprovalStepItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ApprovalStep]: """ - Apply approve or deny decision on an approvalStep object. This API is available in the following national cloud deployments. + Apply approve or deny decision on an approvalStep object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ApprovalS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ApprovalStepItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. + Retrieve the properties of an approvalStep object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[ApprovalStep request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ApprovalStep] = None, request_configuration: Optional[ApprovalStepItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Apply approve or deny decision on an approvalStep object. This API is available in the following national cloud deployments. + Apply approve or deny decision on an approvalStep object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ApprovalStep] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ApprovalStepItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class ApprovalStepItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. + Retrieve the properties of an approvalStep object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 2adb20570a8..b0c54a68068 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 @@ -45,7 +45,7 @@ def by_approval_step_id(self,approval_step_id: str) -> ApprovalStepItemRequestBu async def get(self,request_configuration: Optional[StepsRequestBuilderGetRequestConfiguration] = None) -> Optional[ApprovalStepCollectionResponse]: """ - List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStepCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/approval-list-steps?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ApprovalStep] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[StepsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[StepsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ApprovalStep] = None, request_configuration: Optional[StepsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ApprovalStep] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class StepsRequestBuilderGetQueryParameters(): """ - List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 82aed371e81..6ad577f85eb 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 @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[AssignmentScheduleInstancesRequestBuilderGetRequestConfiguration] = None) -> Optional[PrivilegedAccessGroupAssignmentScheduleInstanceCollectionResponse]: """ - Get a list of the privilegedAccessGroupAssignmentScheduleInstance objects and their properties. This API is available in the following national cloud deployments. + Get a list of the privilegedAccessGroupAssignmentScheduleInstance objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroupAssignmentScheduleInstanceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroup-list-assignmentscheduleinstances?view=graph-rest-1.0 @@ -104,7 +104,7 @@ async def post(self,body: Optional[PrivilegedAccessGroupAssignmentScheduleInstan def to_get_request_information(self,request_configuration: Optional[AssignmentScheduleInstancesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the privilegedAccessGroupAssignmentScheduleInstance objects and their properties. This API is available in the following national cloud deployments. + Get a list of the privilegedAccessGroupAssignmentScheduleInstance objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentSc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrivilegedAccessGroupAssignmentScheduleInstance] = None, request_configuration: Optional[AssignmentScheduleInstancesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -135,7 +135,7 @@ def to_post_request_information(self,body: Optional[PrivilegedAccessGroupAssignm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -161,7 +161,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AssignmentScheduleInstancesRequestBuilderGetQueryParameters(): """ - Get a list of the privilegedAccessGroupAssignmentScheduleInstance objects and their properties. This API is available in the following national cloud deployments. + Get a list of the privilegedAccessGroupAssignmentScheduleInstance objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 eee8985f34f..8d9f6fea941 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: 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 dde825796a1..985ba6a593f 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivatedUsi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ActivatedUsingRequestBuilder: 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 b5d14ba5404..3507d913ae5 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 @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GroupRequestBuilder: 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 cd09c8809a4..e167bb84398 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 65e2a4ef1cb..3d614b27403 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: 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 4b3c0c6aed8..b936600f202 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 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[PrivilegedAccessGroupAssig async def get(self,request_configuration: Optional[PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PrivilegedAccessGroupAssignmentScheduleInstance]: """ - Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleInstance object. This API is available in the following national cloud deployments. + Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleInstance object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroupAssignmentScheduleInstance] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroupassignmentscheduleinstance-get?view=graph-rest-1.0 @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[Privilege request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleInstance object. This API is available in the following national cloud deployments. + Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleInstance object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[PrivilegedAc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrivilegedAccessGroupAssignmentScheduleInstance] = None, request_configuration: Optional[PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[PrivilegedAccessGroupAssign request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -197,7 +197,7 @@ class PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilderDeleteReq @dataclass class PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleInstance object. This API is available in the following national cloud deployments. + Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleInstance object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 26a64b246f8..26574c5b586 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 @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[AssignmentScheduleRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[PrivilegedAccessGroupAssignmentScheduleRequestCollectionResponse]: """ - Get a list of the privilegedAccessGroupAssignmentScheduleRequest objects and their properties. This API is available in the following national cloud deployments. + Get a list of the privilegedAccessGroupAssignmentScheduleRequest objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroupAssignmentScheduleRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroup-list-assignmentschedulerequests?view=graph-rest-1.0 @@ -80,7 +80,7 @@ async def get(self,request_configuration: Optional[AssignmentScheduleRequestsReq async def post(self,body: Optional[PrivilegedAccessGroupAssignmentScheduleRequest] = None, request_configuration: Optional[AssignmentScheduleRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[PrivilegedAccessGroupAssignmentScheduleRequest]: """ - Create a new privilegedAccessGroupAssignmentScheduleRequest object. This API is available in the following national cloud deployments. + Create a new privilegedAccessGroupAssignmentScheduleRequest object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroupAssignmentScheduleRequest] @@ -105,7 +105,7 @@ async def post(self,body: Optional[PrivilegedAccessGroupAssignmentScheduleReques def to_get_request_information(self,request_configuration: Optional[AssignmentScheduleRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the privilegedAccessGroupAssignmentScheduleRequest objects and their properties. This API is available in the following national cloud deployments. + Get a list of the privilegedAccessGroupAssignmentScheduleRequest objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,12 +117,12 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentSc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrivilegedAccessGroupAssignmentScheduleRequest] = None, request_configuration: Optional[AssignmentScheduleRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new privilegedAccessGroupAssignmentScheduleRequest object. This API is available in the following national cloud deployments. + Create a new privilegedAccessGroupAssignmentScheduleRequest object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -136,7 +136,7 @@ def to_post_request_information(self,body: Optional[PrivilegedAccessGroupAssignm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -162,7 +162,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AssignmentScheduleRequestsRequestBuilderGetQueryParameters(): """ - Get a list of the privilegedAccessGroupAssignmentScheduleRequest objects and their properties. This API is available in the following national cloud deployments. + Get a list of the privilegedAccessGroupAssignmentScheduleRequest objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 a02c0be7ed5..a4ccba86855 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: 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 3a79c5eeb24..59e9c7d24ef 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivatedUsi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ActivatedUsingRequestBuilder: 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 ecffc784ac4..45ea423d695 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 @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - Cancel an access assignment request to a group whose membership and ownership are governed by PIM. This API is available in the following national cloud deployments. + Cancel an access assignment request to a group whose membership and ownership are governed by PIM. 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/privilegedaccessgroupassignmentschedulerequest-cancel?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[CancelRequestBuilderPostRequ def to_post_request_information(self,request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Cancel an access assignment request to a group whose membership and ownership are governed by PIM. This API is available in the following national cloud deployments. + Cancel an access assignment request to a group whose membership and ownership are governed by PIM. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[CancelReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CancelRequestBuilder: 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 6ffdaf101ce..54e297f06e4 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 @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GroupRequestBuilder: 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 3f939deec84..40562416d3b 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 cc7cd81485b..e5053597882 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: 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 39ab8588839..317536c183f 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 @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[PrivilegedAccessGroupAssig async def get(self,request_configuration: Optional[PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PrivilegedAccessGroupAssignmentScheduleRequest]: """ - Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroupAssignmentScheduleRequest] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroupassignmentschedulerequest-get?view=graph-rest-1.0 @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[Privilege request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[PrivilegedAc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrivilegedAccessGroupAssignmentScheduleRequest] = None, request_configuration: Optional[PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[PrivilegedAccessGroupAssign request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -217,7 +217,7 @@ class PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilderDeleteRequ @dataclass class PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of a privilegedAccessGroupAssignmentScheduleRequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 24ddbac7c34..5bd5c8895e5 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TargetSchedu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TargetScheduleRequestBuilder: 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 8f6e7780561..dc6578f0d35 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 @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[AssignmentSchedulesRequestBuilderGetRequestConfiguration] = None) -> Optional[PrivilegedAccessGroupAssignmentScheduleCollectionResponse]: """ - Get a list of the privilegedAccessGroupAssignmentSchedule objects and their properties. This API is available in the following national cloud deployments. + Get a list of the privilegedAccessGroupAssignmentSchedule objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroupAssignmentScheduleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroup-list-assignmentschedules?view=graph-rest-1.0 @@ -104,7 +104,7 @@ async def post(self,body: Optional[PrivilegedAccessGroupAssignmentSchedule] = No def to_get_request_information(self,request_configuration: Optional[AssignmentSchedulesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the privilegedAccessGroupAssignmentSchedule objects and their properties. This API is available in the following national cloud deployments. + Get a list of the privilegedAccessGroupAssignmentSchedule objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentSc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrivilegedAccessGroupAssignmentSchedule] = None, request_configuration: Optional[AssignmentSchedulesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -135,7 +135,7 @@ def to_post_request_information(self,body: Optional[PrivilegedAccessGroupAssignm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -161,7 +161,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AssignmentSchedulesRequestBuilderGetQueryParameters(): """ - Get a list of the privilegedAccessGroupAssignmentSchedule objects and their properties. This API is available in the following national cloud deployments. + Get a list of the privilegedAccessGroupAssignmentSchedule objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 20b79b1e9bd..149f5b47a13 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: 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 46b72fcab17..85f55676838 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivatedUsi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ActivatedUsingRequestBuilder: 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 6815eaf0829..ec1269c4daa 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 @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GroupRequestBuilder: 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 ca6ff51444e..23d920442d7 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 d69cfde26e0..825ecafc4f6 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: 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 d01cbbe56bd..ac5cc1b4528 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 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[PrivilegedAccessGroupAssig async def get(self,request_configuration: Optional[PrivilegedAccessGroupAssignmentScheduleItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PrivilegedAccessGroupAssignmentSchedule]: """ - Read the properties and relationships of a privilegedAccessGroupAssignmentSchedule object. This API is available in the following national cloud deployments. + Read the properties and relationships of a privilegedAccessGroupAssignmentSchedule object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroupAssignmentSchedule] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroupassignmentschedule-get?view=graph-rest-1.0 @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[Privilege request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrivilegedAccessGroupAssignmentScheduleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a privilegedAccessGroupAssignmentSchedule object. This API is available in the following national cloud deployments. + Read the properties and relationships of a privilegedAccessGroupAssignmentSchedule object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[PrivilegedAc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrivilegedAccessGroupAssignmentSchedule] = None, request_configuration: Optional[PrivilegedAccessGroupAssignmentScheduleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[PrivilegedAccessGroupAssign request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -197,7 +197,7 @@ class PrivilegedAccessGroupAssignmentScheduleItemRequestBuilderDeleteRequestConf @dataclass class PrivilegedAccessGroupAssignmentScheduleItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a privilegedAccessGroupAssignmentSchedule object. This API is available in the following national cloud deployments. + Read the properties and relationships of a privilegedAccessGroupAssignmentSchedule object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 78e877f0ad7..eec2f54b51f 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 @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[EligibilityScheduleInstancesRequestBuilderGetRequestConfiguration] = None) -> Optional[PrivilegedAccessGroupEligibilityScheduleInstanceCollectionResponse]: """ - Get a list of the privilegedAccessGroupEligibilityScheduleInstance objects and their properties. This API is available in the following national cloud deployments. + Get a list of the privilegedAccessGroupEligibilityScheduleInstance objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroupEligibilityScheduleInstanceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroup-list-eligibilityscheduleinstances?view=graph-rest-1.0 @@ -104,7 +104,7 @@ async def post(self,body: Optional[PrivilegedAccessGroupEligibilityScheduleInsta def to_get_request_information(self,request_configuration: Optional[EligibilityScheduleInstancesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the privilegedAccessGroupEligibilityScheduleInstance objects and their properties. This API is available in the following national cloud deployments. + Get a list of the privilegedAccessGroupEligibilityScheduleInstance objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[EligibilityS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrivilegedAccessGroupEligibilityScheduleInstance] = None, request_configuration: Optional[EligibilityScheduleInstancesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -135,7 +135,7 @@ def to_post_request_information(self,body: Optional[PrivilegedAccessGroupEligibi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -161,7 +161,7 @@ def count(self) -> CountRequestBuilder: @dataclass class EligibilityScheduleInstancesRequestBuilderGetQueryParameters(): """ - Get a list of the privilegedAccessGroupEligibilityScheduleInstance objects and their properties. This API is available in the following national cloud deployments. + Get a list of the privilegedAccessGroupEligibilityScheduleInstance objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 65bc8cd5d11..6af6e0ec5e5 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: 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 edfa6182476..e1d8cf5a48d 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 @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GroupRequestBuilder: 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 56af36c7d1b..f03d6bd9b4b 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 46f66a7ff69..8861636a5d1 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: 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 5839434ddcf..b5c13ca7a1c 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 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[PrivilegedAccessGroupEligi async def get(self,request_configuration: Optional[PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PrivilegedAccessGroupEligibilityScheduleInstance]: """ - Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleInstance object. This API is available in the following national cloud deployments. + Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleInstance object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroupEligibilityScheduleInstance] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroupeligibilityscheduleinstance-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Privilege request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleInstance object. This API is available in the following national cloud deployments. + Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleInstance object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[PrivilegedAc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrivilegedAccessGroupEligibilityScheduleInstance] = None, request_configuration: Optional[PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[PrivilegedAccessGroupEligib request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilderDeleteRe @dataclass class PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleInstance object. This API is available in the following national cloud deployments. + Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleInstance object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 0e35a044668..dc304c33454 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 @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[EligibilityScheduleRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[PrivilegedAccessGroupEligibilityScheduleRequestCollectionResponse]: """ - Get a list of the privilegedAccessGroupEligibilityScheduleRequest objects and their properties. This API is available in the following national cloud deployments. + Get a list of the privilegedAccessGroupEligibilityScheduleRequest objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroupEligibilityScheduleRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroup-list-eligibilityschedulerequests?view=graph-rest-1.0 @@ -80,7 +80,7 @@ async def get(self,request_configuration: Optional[EligibilityScheduleRequestsRe async def post(self,body: Optional[PrivilegedAccessGroupEligibilityScheduleRequest] = None, request_configuration: Optional[EligibilityScheduleRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[PrivilegedAccessGroupEligibilityScheduleRequest]: """ - Create a new privilegedAccessGroupEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + Create a new privilegedAccessGroupEligibilityScheduleRequest object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroupEligibilityScheduleRequest] @@ -105,7 +105,7 @@ async def post(self,body: Optional[PrivilegedAccessGroupEligibilityScheduleReque def to_get_request_information(self,request_configuration: Optional[EligibilityScheduleRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the privilegedAccessGroupEligibilityScheduleRequest objects and their properties. This API is available in the following national cloud deployments. + Get a list of the privilegedAccessGroupEligibilityScheduleRequest objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,12 +117,12 @@ def to_get_request_information(self,request_configuration: Optional[EligibilityS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrivilegedAccessGroupEligibilityScheduleRequest] = None, request_configuration: Optional[EligibilityScheduleRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new privilegedAccessGroupEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + Create a new privilegedAccessGroupEligibilityScheduleRequest object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -136,7 +136,7 @@ def to_post_request_information(self,body: Optional[PrivilegedAccessGroupEligibi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -162,7 +162,7 @@ def count(self) -> CountRequestBuilder: @dataclass class EligibilityScheduleRequestsRequestBuilderGetQueryParameters(): """ - Get a list of the privilegedAccessGroupEligibilityScheduleRequest objects and their properties. This API is available in the following national cloud deployments. + Get a list of the privilegedAccessGroupEligibilityScheduleRequest objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 d61aba38623..43f6fb3c263 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: 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 c4cf4a7c691..3ec205c8df9 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 @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - Cancel an eligibility assignment request to a group whose membership and ownership are governed by PIM. This API is available in the following national cloud deployments. + Cancel an eligibility assignment request to a group whose membership and ownership are governed by PIM. 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/privilegedaccessgroupeligibilityschedulerequest-cancel?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[CancelRequestBuilderPostRequ def to_post_request_information(self,request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Cancel an eligibility assignment request to a group whose membership and ownership are governed by PIM. This API is available in the following national cloud deployments. + Cancel an eligibility assignment request to a group whose membership and ownership are governed by PIM. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[CancelReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CancelRequestBuilder: 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 76f348295ad..2c07525ef1c 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 @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GroupRequestBuilder: 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 60bd072001e..cf7efd07472 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 e8076317d4c..074b02fc1a8 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: 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 6ac67a4d357..9c396d890da 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 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[PrivilegedAccessGroupEligi async def get(self,request_configuration: Optional[PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PrivilegedAccessGroupEligibilityScheduleRequest]: """ - Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroupEligibilityScheduleRequest] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroupeligibilityschedulerequest-get?view=graph-rest-1.0 @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[Privilege request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[PrivilegedAc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrivilegedAccessGroupEligibilityScheduleRequest] = None, request_configuration: Optional[PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[PrivilegedAccessGroupEligib request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -207,7 +207,7 @@ class PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilderDeleteReq @dataclass class PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of a privilegedAccessGroupEligibilityScheduleRequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 c8f5bbd5508..7564b0645aa 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TargetSchedu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TargetScheduleRequestBuilder: 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 af32119748a..b20bb145b34 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 @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[EligibilitySchedulesRequestBuilderGetRequestConfiguration] = None) -> Optional[PrivilegedAccessGroupEligibilityScheduleCollectionResponse]: """ - Get a list of the privilegedAccessGroupEligibilitySchedule objects and their properties. This API is available in the following national cloud deployments. + Get a list of the privilegedAccessGroupEligibilitySchedule objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroupEligibilityScheduleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroup-list-eligibilityschedules?view=graph-rest-1.0 @@ -104,7 +104,7 @@ async def post(self,body: Optional[PrivilegedAccessGroupEligibilitySchedule] = N def to_get_request_information(self,request_configuration: Optional[EligibilitySchedulesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the privilegedAccessGroupEligibilitySchedule objects and their properties. This API is available in the following national cloud deployments. + Get a list of the privilegedAccessGroupEligibilitySchedule objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[EligibilityS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrivilegedAccessGroupEligibilitySchedule] = None, request_configuration: Optional[EligibilitySchedulesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -135,7 +135,7 @@ def to_post_request_information(self,body: Optional[PrivilegedAccessGroupEligibi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -161,7 +161,7 @@ def count(self) -> CountRequestBuilder: @dataclass class EligibilitySchedulesRequestBuilderGetQueryParameters(): """ - Get a list of the privilegedAccessGroupEligibilitySchedule objects and their properties. This API is available in the following national cloud deployments. + Get a list of the privilegedAccessGroupEligibilitySchedule objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 bb56164045d..a4ccc80c2b6 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: 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 9c9ec723dce..94139db6836 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 @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GroupRequestBuilder: 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 72765bf2044..10b471900e4 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 9ca87439b3d..e986856d959 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: 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 d0543129dbd..1500a863486 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 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[PrivilegedAccessGroupEligi async def get(self,request_configuration: Optional[PrivilegedAccessGroupEligibilityScheduleItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PrivilegedAccessGroupEligibilitySchedule]: """ - Read the properties and relationships of a privilegedAccessGroupEligibilitySchedule object. This API is available in the following national cloud deployments. + Read the properties and relationships of a privilegedAccessGroupEligibilitySchedule object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrivilegedAccessGroupEligibilitySchedule] Find more info here: https://learn.microsoft.com/graph/api/privilegedaccessgroupeligibilityschedule-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Privilege request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrivilegedAccessGroupEligibilityScheduleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a privilegedAccessGroupEligibilitySchedule object. This API is available in the following national cloud deployments. + Read the properties and relationships of a privilegedAccessGroupEligibilitySchedule object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[PrivilegedAc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrivilegedAccessGroupEligibilitySchedule] = None, request_configuration: Optional[PrivilegedAccessGroupEligibilityScheduleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[PrivilegedAccessGroupEligib request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class PrivilegedAccessGroupEligibilityScheduleItemRequestBuilderDeleteRequestCon @dataclass class PrivilegedAccessGroupEligibilityScheduleItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a privilegedAccessGroupEligibilitySchedule object. This API is available in the following national cloud deployments. + Read the properties and relationships of a privilegedAccessGroupEligibilitySchedule object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 81f7568e0e1..adc883e726b 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 @@ -110,7 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[GroupRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GroupRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrivilegedAccessGroup] = None, request_configuration: Optional[GroupRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[PrivilegedAccessGroup] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 a58c9aa0e6b..25fa2b0e32f 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Privilege request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrivilegedAccessRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PrivilegedAc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrivilegedAccessRoot] = None, request_configuration: Optional[PrivilegedAccessRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[PrivilegedAccessRoot] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 0471776a313..9b568f0f9d9 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 @@ -45,7 +45,7 @@ def by_unified_role_management_alert_configuration_id(self,unified_role_manageme async def get(self,request_configuration: Optional[AlertConfigurationsRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleManagementAlertConfigurationCollectionResponse]: """ - Get a list of the alert configurations. The alert configurations are a collection of following types that are derived from the unifiedRoleManagementAlertConfiguration object: This API is available in the following national cloud deployments. + Get a list of the alert configurations. The alert configurations are a collection of following types that are derived from the unifiedRoleManagementAlertConfiguration object: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleManagementAlertConfigurationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rolemanagementalert-list-alertconfigurations?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[UnifiedRoleManagementAlertConfiguration] = No def to_get_request_information(self,request_configuration: Optional[AlertConfigurationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the alert configurations. The alert configurations are a collection of following types that are derived from the unifiedRoleManagementAlertConfiguration object: This API is available in the following national cloud deployments. + Get a list of the alert configurations. The alert configurations are a collection of following types that are derived from the unifiedRoleManagementAlertConfiguration object: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AlertConfigu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleManagementAlertConfiguration] = None, request_configuration: Optional[AlertConfigurationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleManagementAlertCo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AlertConfigurationsRequestBuilderGetQueryParameters(): """ - Get a list of the alert configurations. The alert configurations are a collection of following types that are derived from the unifiedRoleManagementAlertConfiguration object: This API is available in the following national cloud deployments. + Get a list of the alert configurations. The alert configurations are a collection of following types that are derived from the unifiedRoleManagementAlertConfiguration object: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 7d9e2f51e6c..81a2130e8a3 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AlertDefinit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AlertDefinitionRequestBuilder: 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 421e23cda28..533793fb095 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleManagementAlertConfigurationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleManagementAlertConfiguration] = None, request_configuration: Optional[UnifiedRoleManagementAlertConfigurationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleManagementAlertC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 11a5fc87dfe..5207bcf51fd 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 @@ -45,7 +45,7 @@ def by_unified_role_management_alert_definition_id(self,unified_role_management_ async def get(self,request_configuration: Optional[AlertDefinitionsRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleManagementAlertDefinitionCollectionResponse]: """ - Get a list of the unifiedRoleManagementAlertDefinition objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleManagementAlertDefinition objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleManagementAlertDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rolemanagementalert-list-alertdefinitions?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[UnifiedRoleManagementAlertDefinition] = None, def to_get_request_information(self,request_configuration: Optional[AlertDefinitionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the unifiedRoleManagementAlertDefinition objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleManagementAlertDefinition objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AlertDefinit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleManagementAlertDefinition] = None, request_configuration: Optional[AlertDefinitionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleManagementAlertDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AlertDefinitionsRequestBuilderGetQueryParameters(): """ - Get a list of the unifiedRoleManagementAlertDefinition objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleManagementAlertDefinition objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 0f7dc224532..71ab8b36ece 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleManagementAlertDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleManagementAlertDefinition] = None, request_configuration: Optional[UnifiedRoleManagementAlertDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleManagementAlertD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 66abf625f54..bb641c24c92 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 @@ -46,7 +46,7 @@ def by_unified_role_management_alert_id(self,unified_role_management_alert_id: s async def get(self,request_configuration: Optional[AlertsRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleManagementAlertCollectionResponse]: """ - Get a list of the unifiedRoleManagementAlert objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleManagementAlert objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleManagementAlertCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rolemanagementalert-list-alerts?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[UnifiedRoleManagementAlert] = None, request_c def to_get_request_information(self,request_configuration: Optional[AlertsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the unifiedRoleManagementAlert objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleManagementAlert objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[AlertsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleManagementAlert] = None, request_configuration: Optional[AlertsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleManagementAlert] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def refresh(self) -> RefreshRequestBuilder: @dataclass class AlertsRequestBuilderGetQueryParameters(): """ - Get a list of the unifiedRoleManagementAlert objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleManagementAlert objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 a22ef8f97c8..c771475ff81 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AlertConfigu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AlertConfigurationRequestBuilder: 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 a0dc2fb7298..7e71049a048 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AlertDefinit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AlertDefinitionRequestBuilder: 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 4e773a59d4b..601c8ee0e1e 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 @@ -45,7 +45,7 @@ def by_unified_role_management_alert_incident_id(self,unified_role_management_al async def get(self,request_configuration: Optional[AlertIncidentsRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleManagementAlertIncidentCollectionResponse]: """ - Get a list of the alert incidents. The alert incidents are a collection of any following type that is derived from the unifiedRoleManagementAlertIncident object: This API is available in the following national cloud deployments. + Get a list of the alert incidents. The alert incidents are a collection of any following type that is derived from the unifiedRoleManagementAlertIncident object: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleManagementAlertIncidentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedrolemanagementalert-list-alertincidents?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[UnifiedRoleManagementAlertIncident] = None, r def to_get_request_information(self,request_configuration: Optional[AlertIncidentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the alert incidents. The alert incidents are a collection of any following type that is derived from the unifiedRoleManagementAlertIncident object: This API is available in the following national cloud deployments. + Get a list of the alert incidents. The alert incidents are a collection of any following type that is derived from the unifiedRoleManagementAlertIncident object: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AlertInciden request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleManagementAlertIncident] = None, request_configuration: Optional[AlertIncidentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleManagementAlertIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AlertIncidentsRequestBuilderGetQueryParameters(): """ - Get a list of the alert incidents. The alert incidents are a collection of any following type that is derived from the unifiedRoleManagementAlertIncident object: This API is available in the following national cloud deployments. + Get a list of the alert incidents. The alert incidents are a collection of any following type that is derived from the unifiedRoleManagementAlertIncident object: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 9befaf3f8ef..b80c8240199 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RemediateRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RemediateRequestBuilder: 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 3159ec85e99..2da6caaaf5e 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 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleManagementAlert async def get(self,request_configuration: Optional[UnifiedRoleManagementAlertIncidentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleManagementAlertIncident]: """ - Read the properties and relationships of an alert incident. The alert incident can be one of the following types that are derived from the unifiedRoleManagementAlertIncident object: This API is available in the following national cloud deployments. + Read the properties and relationships of an alert incident. The alert incident can be one of the following types that are derived from the unifiedRoleManagementAlertIncident object: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleManagementAlertIncident] Find more info here: https://learn.microsoft.com/graph/api/unifiedrolemanagementalertincident-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleManagementAlertIncidentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an alert incident. The alert incident can be one of the following types that are derived from the unifiedRoleManagementAlertIncident object: This API is available in the following national cloud deployments. + Read the properties and relationships of an alert incident. The alert incident can be one of the following types that are derived from the unifiedRoleManagementAlertIncident object: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleManagementAlertIncident] = None, request_configuration: Optional[UnifiedRoleManagementAlertIncidentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleManagementAlertI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class UnifiedRoleManagementAlertIncidentItemRequestBuilderDeleteRequestConfigura @dataclass class UnifiedRoleManagementAlertIncidentItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an alert incident. The alert incident can be one of the following types that are derived from the unifiedRoleManagementAlertIncident object: This API is available in the following national cloud deployments. + Read the properties and relationships of an alert incident. The alert incident can be one of the following types that are derived from the unifiedRoleManagementAlertIncident object: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 04d493d54c7..86cf037bb2b 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 @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RefreshRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefreshRequestBuilder: 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 b74946a5fcc..91ef6132a0d 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 @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleManagementAlertItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleManagementAlert] = None, request_configuration: Optional[UnifiedRoleManagementAlertItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleManagementAlert] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 5c2617b0f4f..b38339f8484 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RefreshPostRequestBody] = None, request_configuration: Optional[RefreshRequestBuilderPostRequestConfiguration] = None) -> None: """ - Refresh incidents on all security alerts or on a single security alert in Privileged Identity Management (PIM) for Microsoft Entra roles. This task is a long-running operation and the unifiedRoleManagementAlert object will be updated only when the operation completes. This API is available in the following national cloud deployments. + Refresh incidents on all security alerts or on a single security alert in Privileged Identity Management (PIM) for Microsoft Entra roles. This task is a long-running operation and the unifiedRoleManagementAlert object will be updated only when the operation completes. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RefreshPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[RefreshPostRequestBody] = None, request_configuration: Optional[RefreshRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Refresh incidents on all security alerts or on a single security alert in Privileged Identity Management (PIM) for Microsoft Entra roles. This task is a long-running operation and the unifiedRoleManagementAlert object will be updated only when the operation completes. This API is available in the following national cloud deployments. + Refresh incidents on all security alerts or on a single security alert in Privileged Identity Management (PIM) for Microsoft Entra roles. This task is a long-running operation and the unifiedRoleManagementAlert object will be updated only when the operation completes. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RefreshPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 a7202259e11..b6eaf25f697 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[LongRunni request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LongRunningOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[LongRunningO request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[LongRunningOperation] = None, request_configuration: Optional[LongRunningOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[LongRunningOperation] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 e7647d17344..722781ef5ff 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[LongRunningOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[LongRunningOperation] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 f5d0de9def3..500e212e5d5 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 @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RoleManag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RoleManagementAlertsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleManageme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RoleManagementAlert] = None, request_configuration: Optional[RoleManagementAlertsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[RoleManagementAlert] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 b5d6b5d6ad3..00e5ab5a9ea 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AgreementAcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AgreementAcceptance] = None, request_configuration: Optional[AgreementAcceptancesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AgreementAcceptance] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 84a9475e38e..ab91da5da72 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Agreement request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AgreementAcceptanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AgreementAcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AgreementAcceptance] = None, request_configuration: Optional[AgreementAcceptanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AgreementAcceptance] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 1fc15f2fcec..5b581dd74a9 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 @@ -45,7 +45,7 @@ def by_agreement_id(self,agreement_id: str) -> AgreementItemRequestBuilder: async def get(self,request_configuration: Optional[AgreementsRequestBuilderGetRequestConfiguration] = None) -> Optional[AgreementCollectionResponse]: """ - Retrieve a list of agreement objects. This API is available in the following national cloud deployments. + Retrieve a list of agreement objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/termsofusecontainer-list-agreements?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AgreementsRequestBuilderGetRe async def post(self,body: Optional[Agreement] = None, request_configuration: Optional[AgreementsRequestBuilderPostRequestConfiguration] = None) -> Optional[Agreement]: """ - Create a new agreement object. This API is available in the following national cloud deployments. + Create a new agreement object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Agreement] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Agreement] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[AgreementsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of agreement objects. This API is available in the following national cloud deployments. + Retrieve a list of agreement objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[AgreementsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Agreement] = None, request_configuration: Optional[AgreementsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new agreement object. This API is available in the following national cloud deployments. + Create a new agreement object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Agreement] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AgreementsRequestBuilderGetQueryParameters(): """ - Retrieve a list of agreement objects. This API is available in the following national cloud deployments. + Retrieve a list of agreement objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 17ed6b70b4f..92453b31444 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 @@ -45,7 +45,7 @@ def by_agreement_acceptance_id(self,agreement_acceptance_id: str) -> AgreementAc async def get(self,request_configuration: Optional[AcceptancesRequestBuilderGetRequestConfiguration] = None) -> Optional[AgreementAcceptanceCollectionResponse]: """ - Get the details about the acceptance records for a specific agreement. This API is available in the following national cloud deployments. + Get the details about the acceptance records for a specific agreement. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementAcceptanceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/agreement-list-acceptances?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AgreementAcceptance] = None, request_configur def to_get_request_information(self,request_configuration: Optional[AcceptancesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the details about the acceptance records for a specific agreement. This API is available in the following national cloud deployments. + Get the details about the acceptance records for a specific agreement. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AcceptancesR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AgreementAcceptance] = None, request_configuration: Optional[AcceptancesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AgreementAcceptance] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AcceptancesRequestBuilderGetQueryParameters(): """ - Get the details about the acceptance records for a specific agreement. This API is available in the following national cloud deployments. + Get the details about the acceptance records for a specific agreement. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 d8f671b83c0..bd5bae005d9 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Agreement request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AgreementAcceptanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AgreementAcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AgreementAcceptance] = None, request_configuration: Optional[AgreementAcceptanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AgreementAcceptance] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 775065ffaa6..f1603def290 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 @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AgreementItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an agreement object. This API is available in the following national cloud deployments. + Delete an agreement object. 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/agreement-delete?view=graph-rest-1.0 @@ -51,10 +51,10 @@ async def delete(self,request_configuration: Optional[AgreementItemRequestBuilde async def get(self,request_configuration: Optional[AgreementItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Agreement]: """ - Retrieve all files related to an agreement. This includes the default file and all localized files. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an agreement object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Agreement] - Find more info here: https://learn.microsoft.com/graph/api/agreement-list-files?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/agreement-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[AgreementItemRequestBuilderGe async def patch(self,body: Optional[Agreement] = None, request_configuration: Optional[AgreementItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Agreement]: """ - Update the properties of an agreement object. This API is available in the following national cloud deployments. + Update the properties of an agreement object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Agreement] @@ -98,7 +98,7 @@ async def patch(self,body: Optional[Agreement] = None, request_configuration: Op def to_delete_request_information(self,request_configuration: Optional[AgreementItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an agreement object. This API is available in the following national cloud deployments. + Delete an agreement object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[Agreement request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AgreementItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve all files related to an agreement. This includes the default file and all localized files. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an agreement object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,12 +126,12 @@ def to_get_request_information(self,request_configuration: Optional[AgreementIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Agreement] = None, request_configuration: Optional[AgreementItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an agreement object. This API is available in the following national cloud deployments. + Update the properties of an agreement object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[Agreement] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -199,7 +199,7 @@ class AgreementItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class AgreementItemRequestBuilderGetQueryParameters(): """ - Retrieve all files related to an agreement. This includes the default file and all localized files. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an agreement object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 e34e6c37b3c..a5e52d3f838 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 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[FileRequestBuilderDeleteRe async def get(self,request_configuration: Optional[FileRequestBuilderGetRequestConfiguration] = None) -> Optional[AgreementFile]: """ - Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. This API is available in the following national cloud deployments. + Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementFile] Find more info here: https://learn.microsoft.com/graph/api/agreementfile-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[FileReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FileRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. This API is available in the following national cloud deployments. + Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[FileRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AgreementFile] = None, request_configuration: Optional[FileRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AgreementFile] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class FileRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class FileRequestBuilderGetQueryParameters(): """ - Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. This API is available in the following national cloud deployments. + Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 2bf0726b5ae..e819f4979ac 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Agreement request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AgreementFileLocalizationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AgreementFil request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AgreementFileLocalization] = None, request_configuration: Optional[AgreementFileLocalizationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AgreementFileLocalization] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 313fa00d6a7..481bf69ffa6 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Agreement request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AgreementFileVersionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AgreementFil request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AgreementFileVersion] = None, request_configuration: Optional[AgreementFileVersionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AgreementFileVersion] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 d92c758ccd4..96f30649f23 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[VersionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AgreementFileVersion] = None, request_configuration: Optional[VersionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AgreementFileVersion] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 70e34c5df75..e7ae3881511 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 @@ -45,7 +45,7 @@ def by_agreement_file_localization_id(self,agreement_file_localization_id: str) async def get(self,request_configuration: Optional[LocalizationsRequestBuilderGetRequestConfiguration] = None) -> Optional[AgreementFileLocalizationCollectionResponse]: """ - Get a list of the default and localized agreement files. This API is available in the following national cloud deployments. + Get a list of the default and localized agreement files. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementFileLocalizationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/agreementfile-list-localizations?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AgreementFileLocalization] = None, request_co def to_get_request_information(self,request_configuration: Optional[LocalizationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the default and localized agreement files. This API is available in the following national cloud deployments. + Get a list of the default and localized agreement files. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[Localization request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AgreementFileLocalization] = None, request_configuration: Optional[LocalizationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AgreementFileLocalization] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class LocalizationsRequestBuilderGetQueryParameters(): """ - Get a list of the default and localized agreement files. This API is available in the following national cloud deployments. + Get a list of the default and localized agreement files. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 520a253a156..49cb1aab7cc 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 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[FilesRequestBuilderGetRequest async def post(self,body: Optional[AgreementFileLocalization] = None, request_configuration: Optional[FilesRequestBuilderPostRequestConfiguration] = None) -> Optional[AgreementFileLocalization]: """ - Create a new localized agreement file. This API is available in the following national cloud deployments. + Create a new localized agreement file. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementFileLocalization] @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[FilesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AgreementFileLocalization] = None, request_configuration: Optional[FilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new localized agreement file. This API is available in the following national cloud deployments. + Create a new localized agreement file. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AgreementFileLocalization] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 16d04128af8..3189d2efff3 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Agreement request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AgreementFileLocalizationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AgreementFil request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AgreementFileLocalization] = None, request_configuration: Optional[AgreementFileLocalizationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AgreementFileLocalization] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 ed3d995dfb5..6d1e0cc2d71 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Agreement request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AgreementFileVersionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AgreementFil request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AgreementFileVersion] = None, request_configuration: Optional[AgreementFileVersionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AgreementFileVersion] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 854e69972a2..f507b2f7779 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[VersionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AgreementFileVersion] = None, request_configuration: Optional[VersionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AgreementFileVersion] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 5fb97535fb2..a9568123956 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 @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermsOfUs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermsOfUseRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TermsOfUseRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TermsOfUseContainer] = None, request_configuration: Optional[TermsOfUseRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[TermsOfUseContainer] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_protection/identity_protection_request_builder.py b/msgraph_beta/generated/identity_protection/identity_protection_request_builder.py index 063a032615d..4b2c4bb7a46 100644 --- a/msgraph_beta/generated/identity_protection/identity_protection_request_builder.py +++ b/msgraph_beta/generated/identity_protection/identity_protection_request_builder.py @@ -89,7 +89,7 @@ def to_get_request_information(self,request_configuration: Optional[IdentityProt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[IdentityProtectionRoot] = None, request_configuration: Optional[IdentityProtectionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -108,7 +108,7 @@ def to_patch_request_information(self,body: Optional[IdentityProtectionRoot] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_protection/risk_detections/item/risk_detection_item_request_builder.py b/msgraph_beta/generated/identity_protection/risk_detections/item/risk_detection_item_request_builder.py index 21d76f1b43e..24b97fd4b51 100644 --- a/msgraph_beta/generated/identity_protection/risk_detections/item/risk_detection_item_request_builder.py +++ b/msgraph_beta/generated/identity_protection/risk_detections/item/risk_detection_item_request_builder.py @@ -47,10 +47,10 @@ async def delete(self,request_configuration: Optional[RiskDetectionItemRequestBu async def get(self,request_configuration: Optional[RiskDetectionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[RiskDetection]: """ - Retrieve the properties of a collection of riskDetection objects. This API is available in the following national cloud deployments. + Retrieve the properties of a riskDetection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RiskDetection] - Find more info here: https://learn.microsoft.com/graph/api/riskdetection-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/riskdetection-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[RiskDetec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RiskDetectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of a collection of riskDetection objects. This API is available in the following national cloud deployments. + Retrieve the properties of a riskDetection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[RiskDetectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RiskDetection] = None, request_configuration: Optional[RiskDetectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[RiskDetection] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class RiskDetectionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class RiskDetectionItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties of a collection of riskDetection objects. This API is available in the following national cloud deployments. + Retrieve the properties of a riskDetection object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_protection/risk_detections/risk_detections_request_builder.py b/msgraph_beta/generated/identity_protection/risk_detections/risk_detections_request_builder.py index b16b0a89b45..5f0f1fc22f0 100644 --- a/msgraph_beta/generated/identity_protection/risk_detections/risk_detections_request_builder.py +++ b/msgraph_beta/generated/identity_protection/risk_detections/risk_detections_request_builder.py @@ -45,7 +45,7 @@ def by_risk_detection_id(self,risk_detection_id: str) -> RiskDetectionItemReques async def get(self,request_configuration: Optional[RiskDetectionsRequestBuilderGetRequestConfiguration] = None) -> Optional[RiskDetectionCollectionResponse]: """ - Retrieve the properties of a collection of riskDetection objects. This API is available in the following national cloud deployments. + Retrieve the properties of a collection of riskDetection objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RiskDetectionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/riskdetection-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[RiskDetection] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[RiskDetectionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of a collection of riskDetection objects. This API is available in the following national cloud deployments. + Retrieve the properties of a collection of riskDetection objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RiskDetectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[RiskDetection] = None, request_configuration: Optional[RiskDetectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[RiskDetection] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RiskDetectionsRequestBuilderGetQueryParameters(): """ - Retrieve the properties of a collection of riskDetection objects. This API is available in the following national cloud deployments. + Retrieve the properties of a collection of riskDetection objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_protection/risky_service_principals/confirm_compromised/confirm_compromised_request_builder.py b/msgraph_beta/generated/identity_protection/risky_service_principals/confirm_compromised/confirm_compromised_request_builder.py index d0a8a91cb7e..3c6b638695b 100644 --- a/msgraph_beta/generated/identity_protection/risky_service_principals/confirm_compromised/confirm_compromised_request_builder.py +++ b/msgraph_beta/generated/identity_protection/risky_service_principals/confirm_compromised/confirm_compromised_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ConfirmCompromisedPostRequestBody] = None, request_configuration: Optional[ConfirmCompromisedRequestBuilderPostRequestConfiguration] = None) -> None: """ - Confirm one or more riskyServicePrincipal objects as compromised. This action sets the targeted service principal account's risk level to high. This API is available in the following national cloud deployments. + Confirm one or more riskyServicePrincipal objects as compromised. This action sets the targeted service principal account's risk level to high. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ConfirmCompromisedPostRequestBody] = None, re def to_post_request_information(self,body: Optional[ConfirmCompromisedPostRequestBody] = None, request_configuration: Optional[ConfirmCompromisedRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Confirm one or more riskyServicePrincipal objects as compromised. This action sets the targeted service principal account's risk level to high. This API is available in the following national cloud deployments. + Confirm one or more riskyServicePrincipal objects as compromised. This action sets the targeted service principal account's risk level to high. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ConfirmCompromisedPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_protection/risky_service_principals/dismiss/dismiss_request_builder.py b/msgraph_beta/generated/identity_protection/risky_service_principals/dismiss/dismiss_request_builder.py index 64d0e2af747..014e380272e 100644 --- a/msgraph_beta/generated/identity_protection/risky_service_principals/dismiss/dismiss_request_builder.py +++ b/msgraph_beta/generated/identity_protection/risky_service_principals/dismiss/dismiss_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DismissPostRequestBody] = None, request_configuration: Optional[DismissRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss the risk of one or more riskyServicePrincipal objects. This action sets the targeted service principal account's risk level to none. You can dismiss up to 60 service principal accounts in one request. This API is available in the following national cloud deployments. + Dismiss the risk of one or more riskyServicePrincipal objects. This action sets the targeted service principal account's risk level to none. You can dismiss up to 60 service principal accounts in one request. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DismissPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DismissPostRequestBody] = None, request_configuration: Optional[DismissRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss the risk of one or more riskyServicePrincipal objects. This action sets the targeted service principal account's risk level to none. You can dismiss up to 60 service principal accounts in one request. This API is available in the following national cloud deployments. + Dismiss the risk of one or more riskyServicePrincipal objects. This action sets the targeted service principal account's risk level to none. You can dismiss up to 60 service principal accounts in one request. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DismissPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_protection/risky_service_principals/item/history/history_request_builder.py b/msgraph_beta/generated/identity_protection/risky_service_principals/item/history/history_request_builder.py index 01697d5aebb..3135d32e67b 100644 --- a/msgraph_beta/generated/identity_protection/risky_service_principals/item/history/history_request_builder.py +++ b/msgraph_beta/generated/identity_protection/risky_service_principals/item/history/history_request_builder.py @@ -45,7 +45,7 @@ def by_risky_service_principal_history_item_id(self,risky_service_principal_hist async def get(self,request_configuration: Optional[HistoryRequestBuilderGetRequestConfiguration] = None) -> Optional[RiskyServicePrincipalHistoryItemCollectionResponse]: """ - Get the risk history of a riskyServicePrincipal object. This API is available in the following national cloud deployments. + Get the risk history of a riskyServicePrincipal object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RiskyServicePrincipalHistoryItemCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/riskyserviceprincipal-list-history?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[RiskyServicePrincipalHistoryItem] = None, req def to_get_request_information(self,request_configuration: Optional[HistoryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the risk history of a riskyServicePrincipal object. This API is available in the following national cloud deployments. + Get the risk history of a riskyServicePrincipal object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[HistoryReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[RiskyServicePrincipalHistoryItem] = None, request_configuration: Optional[HistoryRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[RiskyServicePrincipalHistory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HistoryRequestBuilderGetQueryParameters(): """ - Get the risk history of a riskyServicePrincipal object. This API is available in the following national cloud deployments. + Get the risk history of a riskyServicePrincipal object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_protection/risky_service_principals/item/history/item/risky_service_principal_history_item_item_request_builder.py b/msgraph_beta/generated/identity_protection/risky_service_principals/item/history/item/risky_service_principal_history_item_item_request_builder.py index bf9cebc086d..ccd4fc1b590 100644 --- a/msgraph_beta/generated/identity_protection/risky_service_principals/item/history/item/risky_service_principal_history_item_item_request_builder.py +++ b/msgraph_beta/generated/identity_protection/risky_service_principals/item/history/item/risky_service_principal_history_item_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RiskyServ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RiskyServicePrincipalHistoryItemItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RiskyService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RiskyServicePrincipalHistoryItem] = None, request_configuration: Optional[RiskyServicePrincipalHistoryItemItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[RiskyServicePrincipalHistor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_protection/risky_service_principals/item/risky_service_principal_item_request_builder.py b/msgraph_beta/generated/identity_protection/risky_service_principals/item/risky_service_principal_item_request_builder.py index d5121ed96fc..bf7177f8ba2 100644 --- a/msgraph_beta/generated/identity_protection/risky_service_principals/item/risky_service_principal_item_request_builder.py +++ b/msgraph_beta/generated/identity_protection/risky_service_principals/item/risky_service_principal_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[RiskyServicePrincipalItemR async def get(self,request_configuration: Optional[RiskyServicePrincipalItemRequestBuilderGetRequestConfiguration] = None) -> Optional[RiskyServicePrincipal]: """ - Read the properties and relationships of a riskyServicePrincipal object. This API is available in the following national cloud deployments. + Read the properties and relationships of a riskyServicePrincipal object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RiskyServicePrincipal] Find more info here: https://learn.microsoft.com/graph/api/riskyserviceprincipal-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[RiskyServ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RiskyServicePrincipalItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a riskyServicePrincipal object. This API is available in the following national cloud deployments. + Read the properties and relationships of a riskyServicePrincipal object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[RiskyService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RiskyServicePrincipal] = None, request_configuration: Optional[RiskyServicePrincipalItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[RiskyServicePrincipal] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class RiskyServicePrincipalItemRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class RiskyServicePrincipalItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a riskyServicePrincipal object. This API is available in the following national cloud deployments. + Read the properties and relationships of a riskyServicePrincipal object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_protection/risky_service_principals/risky_service_principals_request_builder.py b/msgraph_beta/generated/identity_protection/risky_service_principals/risky_service_principals_request_builder.py index d285e84e608..39f5d305e84 100644 --- a/msgraph_beta/generated/identity_protection/risky_service_principals/risky_service_principals_request_builder.py +++ b/msgraph_beta/generated/identity_protection/risky_service_principals/risky_service_principals_request_builder.py @@ -47,7 +47,7 @@ def by_risky_service_principal_id(self,risky_service_principal_id: str) -> Risky async def get(self,request_configuration: Optional[RiskyServicePrincipalsRequestBuilderGetRequestConfiguration] = None) -> Optional[RiskyServicePrincipalCollectionResponse]: """ - Retrieve the properties and relationships of riskyServicePrincipal objects. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of riskyServicePrincipal objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RiskyServicePrincipalCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identityprotectionroot-list-riskyserviceprincipals?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def post(self,body: Optional[RiskyServicePrincipal] = None, request_config def to_get_request_information(self,request_configuration: Optional[RiskyServicePrincipalsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of riskyServicePrincipal objects. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of riskyServicePrincipal objects. 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[RiskyService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[RiskyServicePrincipal] = None, request_configuration: Optional[RiskyServicePrincipalsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[RiskyServicePrincipal] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ def dismiss(self) -> DismissRequestBuilder: @dataclass class RiskyServicePrincipalsRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of riskyServicePrincipal objects. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of riskyServicePrincipal objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_protection/risky_users/confirm_compromised/confirm_compromised_request_builder.py b/msgraph_beta/generated/identity_protection/risky_users/confirm_compromised/confirm_compromised_request_builder.py index 6bd2f849f5e..3b3003eac05 100644 --- a/msgraph_beta/generated/identity_protection/risky_users/confirm_compromised/confirm_compromised_request_builder.py +++ b/msgraph_beta/generated/identity_protection/risky_users/confirm_compromised/confirm_compromised_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ConfirmCompromisedPostRequestBody] = None, request_configuration: Optional[ConfirmCompromisedRequestBuilderPostRequestConfiguration] = None) -> None: """ - Confirm one or more riskyUser objects as compromised. This action sets the targeted user's risk level to high. This API is available in the following national cloud deployments. + Confirm one or more riskyUser objects as compromised. This action sets the targeted user's risk level to high. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ConfirmCompromisedPostRequestBody] = None, re def to_post_request_information(self,body: Optional[ConfirmCompromisedPostRequestBody] = None, request_configuration: Optional[ConfirmCompromisedRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Confirm one or more riskyUser objects as compromised. This action sets the targeted user's risk level to high. This API is available in the following national cloud deployments. + Confirm one or more riskyUser objects as compromised. This action sets the targeted user's risk level to high. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ConfirmCompromisedPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_protection/risky_users/dismiss/dismiss_request_builder.py b/msgraph_beta/generated/identity_protection/risky_users/dismiss/dismiss_request_builder.py index 7f405f05b4a..321a315f454 100644 --- a/msgraph_beta/generated/identity_protection/risky_users/dismiss/dismiss_request_builder.py +++ b/msgraph_beta/generated/identity_protection/risky_users/dismiss/dismiss_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DismissPostRequestBody] = None, request_configuration: Optional[DismissRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss the risk of one or more riskyUser objects. This action sets the targeted user's risk level to none. The maximum count of users to dismiss in one call is 60. This API is available in the following national cloud deployments. + Dismiss the risk of one or more riskyUser objects. This action sets the targeted user's risk level to none. The maximum count of users to dismiss in one call is 60. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DismissPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DismissPostRequestBody] = None, request_configuration: Optional[DismissRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss the risk of one or more riskyUser objects. This action sets the targeted user's risk level to none. The maximum count of users to dismiss in one call is 60. This API is available in the following national cloud deployments. + Dismiss the risk of one or more riskyUser objects. This action sets the targeted user's risk level to none. The maximum count of users to dismiss in one call is 60. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DismissPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_protection/risky_users/item/history/history_request_builder.py b/msgraph_beta/generated/identity_protection/risky_users/item/history/history_request_builder.py index ba87adf7bf1..543fa7a7218 100644 --- a/msgraph_beta/generated/identity_protection/risky_users/item/history/history_request_builder.py +++ b/msgraph_beta/generated/identity_protection/risky_users/item/history/history_request_builder.py @@ -45,7 +45,7 @@ def by_risky_user_history_item_id(self,risky_user_history_item_id: str) -> Risky async def get(self,request_configuration: Optional[HistoryRequestBuilderGetRequestConfiguration] = None) -> Optional[RiskyUserHistoryItemCollectionResponse]: """ - Get the risk history of a riskyUser resource. This API is available in the following national cloud deployments. + Get the risk history of a riskyUser resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RiskyUserHistoryItemCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/riskyuser-list-history?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[RiskyUserHistoryItem] = None, request_configu def to_get_request_information(self,request_configuration: Optional[HistoryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the risk history of a riskyUser resource. This API is available in the following national cloud deployments. + Get the risk history of a riskyUser resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[HistoryReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[RiskyUserHistoryItem] = None, request_configuration: Optional[HistoryRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[RiskyUserHistoryItem] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HistoryRequestBuilderGetQueryParameters(): """ - Get the risk history of a riskyUser resource. This API is available in the following national cloud deployments. + Get the risk history of a riskyUser resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_protection/risky_users/item/history/item/risky_user_history_item_item_request_builder.py b/msgraph_beta/generated/identity_protection/risky_users/item/history/item/risky_user_history_item_item_request_builder.py index 608558b02b5..77399e77eaf 100644 --- a/msgraph_beta/generated/identity_protection/risky_users/item/history/item/risky_user_history_item_item_request_builder.py +++ b/msgraph_beta/generated/identity_protection/risky_users/item/history/item/risky_user_history_item_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RiskyUserHistoryItemItemRe async def get(self,request_configuration: Optional[RiskyUserHistoryItemItemRequestBuilderGetRequestConfiguration] = None) -> Optional[RiskyUserHistoryItem]: """ - Get a riskyUserHistoryItem object of a riskyUser. This API is available in the following national cloud deployments. + Get a riskyUserHistoryItem object of a riskyUser. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RiskyUserHistoryItem] Find more info here: https://learn.microsoft.com/graph/api/riskyuserhistoryitem-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[RiskyUser request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RiskyUserHistoryItemItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a riskyUserHistoryItem object of a riskyUser. This API is available in the following national cloud deployments. + Get a riskyUserHistoryItem object of a riskyUser. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[RiskyUserHis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RiskyUserHistoryItem] = None, request_configuration: Optional[RiskyUserHistoryItemItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[RiskyUserHistoryItem] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class RiskyUserHistoryItemItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class RiskyUserHistoryItemItemRequestBuilderGetQueryParameters(): """ - Get a riskyUserHistoryItem object of a riskyUser. This API is available in the following national cloud deployments. + Get a riskyUserHistoryItem object of a riskyUser. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_protection/risky_users/item/risky_user_item_request_builder.py b/msgraph_beta/generated/identity_protection/risky_users/item/risky_user_item_request_builder.py index c8310cfb27d..d6e967a9ddb 100644 --- a/msgraph_beta/generated/identity_protection/risky_users/item/risky_user_item_request_builder.py +++ b/msgraph_beta/generated/identity_protection/risky_users/item/risky_user_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RiskyUser request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RiskyUserItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[RiskyUserIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RiskyUser] = None, request_configuration: Optional[RiskyUserItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[RiskyUser] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/identity_protection/risky_users/risky_users_request_builder.py b/msgraph_beta/generated/identity_protection/risky_users/risky_users_request_builder.py index f83e1cf8b59..207977ff85c 100644 --- a/msgraph_beta/generated/identity_protection/risky_users/risky_users_request_builder.py +++ b/msgraph_beta/generated/identity_protection/risky_users/risky_users_request_builder.py @@ -47,10 +47,10 @@ def by_risky_user_id(self,risky_user_id: str) -> RiskyUserItemRequestBuilder: async def get(self,request_configuration: Optional[RiskyUsersRequestBuilderGetRequestConfiguration] = None) -> Optional[RiskyUserCollectionResponse]: """ - Retrieve the properties and relationships of a collection of riskyUser objects. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a riskyUser object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RiskyUserCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/riskyusers-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/riskyusers-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -93,7 +93,7 @@ async def post(self,body: Optional[RiskyUser] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[RiskyUsersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a collection of riskyUser objects. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a riskyUser object. 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[RiskyUsersRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[RiskyUser] = None, request_configuration: Optional[RiskyUsersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[RiskyUser] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ def dismiss(self) -> DismissRequestBuilder: @dataclass class RiskyUsersRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a collection of riskyUser objects. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a riskyUser object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_protection/service_principal_risk_detections/item/service_principal_risk_detection_item_request_builder.py b/msgraph_beta/generated/identity_protection/service_principal_risk_detections/item/service_principal_risk_detection_item_request_builder.py index e5ba6d641be..6e0bc41dfbc 100644 --- a/msgraph_beta/generated/identity_protection/service_principal_risk_detections/item/service_principal_risk_detection_item_request_builder.py +++ b/msgraph_beta/generated/identity_protection/service_principal_risk_detections/item/service_principal_risk_detection_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ServicePrincipalRiskDetect async def get(self,request_configuration: Optional[ServicePrincipalRiskDetectionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ServicePrincipalRiskDetection]: """ - Read the properties and relationships of a servicePrincipalRiskDetection object. This API is available in the following national cloud deployments. + Read the properties and relationships of a servicePrincipalRiskDetection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServicePrincipalRiskDetection] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipalriskdetection-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[ServicePr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ServicePrincipalRiskDetectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a servicePrincipalRiskDetection object. This API is available in the following national cloud deployments. + Read the properties and relationships of a servicePrincipalRiskDetection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ServicePrinc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ServicePrincipalRiskDetection] = None, request_configuration: Optional[ServicePrincipalRiskDetectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ServicePrincipalRiskDetecti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ServicePrincipalRiskDetectionItemRequestBuilderDeleteRequestConfiguration( @dataclass class ServicePrincipalRiskDetectionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a servicePrincipalRiskDetection object. This API is available in the following national cloud deployments. + Read the properties and relationships of a servicePrincipalRiskDetection object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_protection/service_principal_risk_detections/service_principal_risk_detections_request_builder.py b/msgraph_beta/generated/identity_protection/service_principal_risk_detections/service_principal_risk_detections_request_builder.py index 1f10a0fc564..3bbe9d94cfa 100644 --- a/msgraph_beta/generated/identity_protection/service_principal_risk_detections/service_principal_risk_detections_request_builder.py +++ b/msgraph_beta/generated/identity_protection/service_principal_risk_detections/service_principal_risk_detections_request_builder.py @@ -45,7 +45,7 @@ def by_service_principal_risk_detection_id(self,service_principal_risk_detection async def get(self,request_configuration: Optional[ServicePrincipalRiskDetectionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServicePrincipalRiskDetectionCollectionResponse]: """ - Retrieve the properties of a collection of servicePrincipalRiskDetection objects. This API is available in the following national cloud deployments. + Retrieve the properties of a collection of servicePrincipalRiskDetection objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServicePrincipalRiskDetectionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identityprotectionroot-list-serviceprincipalriskdetections?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ServicePrincipalRiskDetection] = None, reques def to_get_request_information(self,request_configuration: Optional[ServicePrincipalRiskDetectionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of a collection of servicePrincipalRiskDetection objects. This API is available in the following national cloud deployments. + Retrieve the properties of a collection of servicePrincipalRiskDetection objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ServicePrinc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ServicePrincipalRiskDetection] = None, request_configuration: Optional[ServicePrincipalRiskDetectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ServicePrincipalRiskDetectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServicePrincipalRiskDetectionsRequestBuilderGetQueryParameters(): """ - Retrieve the properties of a collection of servicePrincipalRiskDetection objects. This API is available in the following national cloud deployments. + Retrieve the properties of a collection of servicePrincipalRiskDetection objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_providers/available_provider_types/available_provider_types_request_builder.py b/msgraph_beta/generated/identity_providers/available_provider_types/available_provider_types_request_builder.py index d1aa3ee1510..946245ddb81 100644 --- a/msgraph_beta/generated/identity_providers/available_provider_types/available_provider_types_request_builder.py +++ b/msgraph_beta/generated/identity_providers/available_provider_types/available_provider_types_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AvailablePro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AvailableProviderTypesRequestBuilder: diff --git a/msgraph_beta/generated/identity_providers/identity_providers_request_builder.py b/msgraph_beta/generated/identity_providers/identity_providers_request_builder.py index 65475eecd9a..7192f7fff22 100644 --- a/msgraph_beta/generated/identity_providers/identity_providers_request_builder.py +++ b/msgraph_beta/generated/identity_providers/identity_providers_request_builder.py @@ -46,7 +46,7 @@ def by_identity_provider_id(self,identity_provider_id: str) -> IdentityProviderI async def get(self,request_configuration: Optional[IdentityProvidersRequestBuilderGetRequestConfiguration] = None) -> Optional[IdentityProviderCollectionResponse]: """ - Retrieve a list of identityProviders objects. This API is available in the following national cloud deployments. + Retrieve a list of identityProviders objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityProviderCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/identityprovider-list?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[IdentityProvidersRequestBuild async def post(self,body: Optional[IdentityProvider] = None, request_configuration: Optional[IdentityProvidersRequestBuilderPostRequestConfiguration] = None) -> Optional[IdentityProvider]: """ - Create a new identityProvider object. This API is available in the following national cloud deployments. + Create a new identityProvider object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityProvider] @@ -93,7 +93,7 @@ async def post(self,body: Optional[IdentityProvider] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[IdentityProvidersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of identityProviders objects. This API is available in the following national cloud deployments. + Retrieve a list of identityProviders objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[IdentityProv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[IdentityProvider] = None, request_configuration: Optional[IdentityProvidersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new identityProvider object. This API is available in the following national cloud deployments. + Create a new identityProvider object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[IdentityProvider] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def count(self) -> CountRequestBuilder: @dataclass class IdentityProvidersRequestBuilderGetQueryParameters(): """ - Retrieve a list of identityProviders objects. This API is available in the following national cloud deployments. + Retrieve a list of identityProviders objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/identity_providers/item/identity_provider_item_request_builder.py b/msgraph_beta/generated/identity_providers/item/identity_provider_item_request_builder.py index f43e41460ed..342a58f8d76 100644 --- a/msgraph_beta/generated/identity_providers/item/identity_provider_item_request_builder.py +++ b/msgraph_beta/generated/identity_providers/item/identity_provider_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[IdentityProviderItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an identityProvider. This API is available in the following national cloud deployments. + Delete an identityProvider. 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/identityprovider-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[IdentityProviderItemReques async def get(self,request_configuration: Optional[IdentityProviderItemRequestBuilderGetRequestConfiguration] = None) -> Optional[IdentityProvider]: """ - Retrieve the properties and relationships of an identityProvider. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an identityProvider. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityProvider] Find more info here: https://learn.microsoft.com/graph/api/identityprovider-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[IdentityProviderItemRequestBu async def patch(self,body: Optional[IdentityProvider] = None, request_configuration: Optional[IdentityProviderItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[IdentityProvider]: """ - Update the properties of an identityProvider object. This API is available in the following national cloud deployments. + Update the properties of an identityProvider object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentityProvider] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[IdentityProvider] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[IdentityProviderItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an identityProvider. This API is available in the following national cloud deployments. + Delete an identityProvider. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[IdentityP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[IdentityProviderItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an identityProvider. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an identityProvider. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[IdentityProv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[IdentityProvider] = None, request_configuration: Optional[IdentityProviderItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an identityProvider object. This API is available in the following national cloud deployments. + Update the properties of an identityProvider object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[IdentityProvider] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class IdentityProviderItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class IdentityProviderItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an identityProvider. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an identityProvider. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/information_protection/bitlocker/bitlocker_request_builder.py b/msgraph_beta/generated/information_protection/bitlocker/bitlocker_request_builder.py index 3f33d78e75c..88322cf6d11 100644 --- a/msgraph_beta/generated/information_protection/bitlocker/bitlocker_request_builder.py +++ b/msgraph_beta/generated/information_protection/bitlocker/bitlocker_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[BitlockerReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> BitlockerRequestBuilder: diff --git a/msgraph_beta/generated/information_protection/bitlocker/recovery_keys/item/bitlocker_recovery_key_item_request_builder.py b/msgraph_beta/generated/information_protection/bitlocker/recovery_keys/item/bitlocker_recovery_key_item_request_builder.py index 9a717b6673f..7bc2bf42247 100644 --- a/msgraph_beta/generated/information_protection/bitlocker/recovery_keys/item/bitlocker_recovery_key_item_request_builder.py +++ b/msgraph_beta/generated/information_protection/bitlocker/recovery_keys/item/bitlocker_recovery_key_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[BitlockerRecoveryKeyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[BitlockerRecoveryKey]: """ - Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BitlockerRecoveryKey] Find more info here: https://learn.microsoft.com/graph/api/bitlockerrecoverykey-get?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[BitlockerRecoveryKeyItemReque def to_get_request_information(self,request_configuration: Optional[BitlockerRecoveryKeyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[BitlockerRec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> BitlockerRecoveryKeyItemRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> BitlockerRecoveryKeyItemRequ @dataclass class BitlockerRecoveryKeyItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/information_protection/bitlocker/recovery_keys/recovery_keys_request_builder.py b/msgraph_beta/generated/information_protection/bitlocker/recovery_keys/recovery_keys_request_builder.py index e650ade7f9b..f9f66a5832c 100644 --- a/msgraph_beta/generated/information_protection/bitlocker/recovery_keys/recovery_keys_request_builder.py +++ b/msgraph_beta/generated/information_protection/bitlocker/recovery_keys/recovery_keys_request_builder.py @@ -44,7 +44,7 @@ def by_bitlocker_recovery_key_id(self,bitlocker_recovery_key_id: str) -> Bitlock async def get(self,request_configuration: Optional[RecoveryKeysRequestBuilderGetRequestConfiguration] = None) -> Optional[BitlockerRecoveryKeyCollectionResponse]: """ - Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. This API is available in the following national cloud deployments. + Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BitlockerRecoveryKeyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/bitlocker-list-recoverykeys?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[RecoveryKeysRequestBuilderGet def to_get_request_information(self,request_configuration: Optional[RecoveryKeysRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. This API is available in the following national cloud deployments. + Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[RecoveryKeys request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RecoveryKeysRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RecoveryKeysRequestBuilderGetQueryParameters(): """ - Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. This API is available in the following national cloud deployments. + Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/information_protection/data_loss_prevention_policies/data_loss_prevention_policies_request_builder.py b/msgraph_beta/generated/information_protection/data_loss_prevention_policies/data_loss_prevention_policies_request_builder.py index b558e4b9739..f18ddf165cf 100644 --- a/msgraph_beta/generated/information_protection/data_loss_prevention_policies/data_loss_prevention_policies_request_builder.py +++ b/msgraph_beta/generated/information_protection/data_loss_prevention_policies/data_loss_prevention_policies_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[DataLossPrev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DataLossPreventionPolicy] = None, request_configuration: Optional[DataLossPreventionPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[DataLossPreventionPolicy] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/information_protection/data_loss_prevention_policies/evaluate/evaluate_request_builder.py b/msgraph_beta/generated/information_protection/data_loss_prevention_policies/evaluate/evaluate_request_builder.py index 5b6fc2ad244..f2c1393679e 100644 --- a/msgraph_beta/generated/information_protection/data_loss_prevention_policies/evaluate/evaluate_request_builder.py +++ b/msgraph_beta/generated/information_protection/data_loss_prevention_policies/evaluate/evaluate_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[EvaluatePostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/information_protection/data_loss_prevention_policies/item/data_loss_prevention_policy_item_request_builder.py b/msgraph_beta/generated/information_protection/data_loss_prevention_policies/item/data_loss_prevention_policy_item_request_builder.py index 4b7adf56280..ed3ad99fb92 100644 --- a/msgraph_beta/generated/information_protection/data_loss_prevention_policies/item/data_loss_prevention_policy_item_request_builder.py +++ b/msgraph_beta/generated/information_protection/data_loss_prevention_policies/item/data_loss_prevention_policy_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DataLossP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DataLossPreventionPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DataLossPrev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DataLossPreventionPolicy] = None, request_configuration: Optional[DataLossPreventionPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DataLossPreventionPolicy] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py b/msgraph_beta/generated/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py index 81a30b92d72..5175424771c 100644 --- a/msgraph_beta/generated/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py +++ b/msgraph_beta/generated/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DecryptBufferPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py b/msgraph_beta/generated/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py index b247a43cc1d..122faebd43e 100644 --- a/msgraph_beta/generated/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py +++ b/msgraph_beta/generated/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[EncryptBufferPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/information_protection/information_protection_request_builder.py b/msgraph_beta/generated/information_protection/information_protection_request_builder.py index fa12ad17a13..cbdaa4a93b1 100644 --- a/msgraph_beta/generated/information_protection/information_protection_request_builder.py +++ b/msgraph_beta/generated/information_protection/information_protection_request_builder.py @@ -95,7 +95,7 @@ def to_get_request_information(self,request_configuration: Optional[InformationP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[InformationProtection] = None, request_configuration: Optional[InformationProtectionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -114,7 +114,7 @@ def to_patch_request_information(self,body: Optional[InformationProtection] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py b/msgraph_beta/generated/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py index d51855c7b4f..13b3193a877 100644 --- a/msgraph_beta/generated/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py +++ b/msgraph_beta/generated/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[EvaluateApplicationPostRequestBody] = None, request_configuration: Optional[EvaluateApplicationRequestBuilderPostRequestConfiguration] = None) -> Optional[EvaluateApplicationPostResponse]: """ - Compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set manually or explicitly by a user or service, rather than automatically based on file contents. Given contentInfo, which includes existing content metadata key/value pairs, and labelingOptions as an input, the API returns an informationProtectionAction object that contains one of more of the following: This API is available in the following national cloud deployments. + Compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set manually or explicitly by a user or service, rather than automatically based on file contents. Given contentInfo, which includes existing content metadata key/value pairs, and labelingOptions as an input, the API returns an informationProtectionAction object that contains one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EvaluateApplicationPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[EvaluateApplicationPostRequestBody] = None, r def to_post_request_information(self,body: Optional[EvaluateApplicationPostRequestBody] = None, request_configuration: Optional[EvaluateApplicationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set manually or explicitly by a user or service, rather than automatically based on file contents. Given contentInfo, which includes existing content metadata key/value pairs, and labelingOptions as an input, the API returns an informationProtectionAction object that contains one of more of the following: This API is available in the following national cloud deployments. + Compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set manually or explicitly by a user or service, rather than automatically based on file contents. Given contentInfo, which includes existing content metadata key/value pairs, and labelingOptions as an input, the API returns an informationProtectionAction object that contains one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[EvaluateApplicationPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py b/msgraph_beta/generated/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py index 733bce8b861..80f06fb7156 100644 --- a/msgraph_beta/generated/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py +++ b/msgraph_beta/generated/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[EvaluateClassificationResultsPostRequestBody] = None, request_configuration: Optional[EvaluateClassificationResultsRequestBuilderPostRequestConfiguration] = None) -> Optional[EvaluateClassificationResultsPostResponse]: """ - Using classification results, compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set automatically based on classification of the file contents, rather than labeled directly by a user or service. To evaluate based on classification results, provide contentInfo, which includes existing content metadata key/value pairs, and classification results. The API returns an informationProtectionAction that contains one of more of the following: This API is available in the following national cloud deployments. + Using classification results, compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set automatically based on classification of the file contents, rather than labeled directly by a user or service. To evaluate based on classification results, provide contentInfo, which includes existing content metadata key/value pairs, and classification results. The API returns an informationProtectionAction that contains one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EvaluateClassificationResultsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[EvaluateClassificationResultsPostRequestBody] def to_post_request_information(self,body: Optional[EvaluateClassificationResultsPostRequestBody] = None, request_configuration: Optional[EvaluateClassificationResultsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Using classification results, compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set automatically based on classification of the file contents, rather than labeled directly by a user or service. To evaluate based on classification results, provide contentInfo, which includes existing content metadata key/value pairs, and classification results. The API returns an informationProtectionAction that contains one of more of the following: This API is available in the following national cloud deployments. + Using classification results, compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set automatically based on classification of the file contents, rather than labeled directly by a user or service. To evaluate based on classification results, provide contentInfo, which includes existing content metadata key/value pairs, and classification results. The API returns an informationProtectionAction that contains one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[EvaluateClassificationResult request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py b/msgraph_beta/generated/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py index 70ed8b56a14..ce10055b544 100644 --- a/msgraph_beta/generated/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py +++ b/msgraph_beta/generated/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[EvaluateRemovalPostRequestBody] = None, request_configuration: Optional[EvaluateRemovalRequestBuilderPostRequestConfiguration] = None) -> Optional[EvaluateRemovalPostResponse]: """ - Indicate to the consuming application what actions it should take to remove the label information. Given contentInfo as an input, which includes existing content metadata key/value pairs, the API returns an informationProtectionAction that contains some combination of one of more of the following: This API is available in the following national cloud deployments. + Indicate to the consuming application what actions it should take to remove the label information. Given contentInfo as an input, which includes existing content metadata key/value pairs, the API returns an informationProtectionAction that contains some combination of one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EvaluateRemovalPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[EvaluateRemovalPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[EvaluateRemovalPostRequestBody] = None, request_configuration: Optional[EvaluateRemovalRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Indicate to the consuming application what actions it should take to remove the label information. Given contentInfo as an input, which includes existing content metadata key/value pairs, the API returns an informationProtectionAction that contains some combination of one of more of the following: This API is available in the following national cloud deployments. + Indicate to the consuming application what actions it should take to remove the label information. Given contentInfo as an input, which includes existing content metadata key/value pairs, the API returns an informationProtectionAction that contains some combination of one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[EvaluateRemovalPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/information_protection/policy/labels/extract_label/extract_label_request_builder.py b/msgraph_beta/generated/information_protection/policy/labels/extract_label/extract_label_request_builder.py index bb0045d803a..ef24611b99d 100644 --- a/msgraph_beta/generated/information_protection/policy/labels/extract_label/extract_label_request_builder.py +++ b/msgraph_beta/generated/information_protection/policy/labels/extract_label/extract_label_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ExtractLabelPostRequestBody] = None, request_configuration: Optional[ExtractLabelRequestBuilderPostRequestConfiguration] = None) -> Optional[InformationProtectionContentLabel]: """ - Using the metadata that exists on an already-labeled piece of information, resolve the metadata to a specific sensitivity label. The contentInfo input is resolved to informationProtectionContentLabel. This API is available in the following national cloud deployments. + Using the metadata that exists on an already-labeled piece of information, resolve the metadata to a specific sensitivity label. The contentInfo input is resolved to informationProtectionContentLabel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionContentLabel] @@ -54,7 +54,7 @@ async def post(self,body: Optional[ExtractLabelPostRequestBody] = None, request_ def to_post_request_information(self,body: Optional[ExtractLabelPostRequestBody] = None, request_configuration: Optional[ExtractLabelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Using the metadata that exists on an already-labeled piece of information, resolve the metadata to a specific sensitivity label. The contentInfo input is resolved to informationProtectionContentLabel. This API is available in the following national cloud deployments. + Using the metadata that exists on an already-labeled piece of information, resolve the metadata to a specific sensitivity label. The contentInfo input is resolved to informationProtectionContentLabel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[ExtractLabelPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/information_protection/policy/labels/item/information_protection_label_item_request_builder.py b/msgraph_beta/generated/information_protection/policy/labels/item/information_protection_label_item_request_builder.py index a4420d4cc28..7b7843edf38 100644 --- a/msgraph_beta/generated/information_protection/policy/labels/item/information_protection_label_item_request_builder.py +++ b/msgraph_beta/generated/information_protection/policy/labels/item/information_protection_label_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[InformationProtectionLabel async def get(self,request_configuration: Optional[InformationProtectionLabelItemRequestBuilderGetRequestConfiguration] = None) -> Optional[InformationProtectionLabel]: """ - Retrieve the properties and relationships of an informationProtectionLabel object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an informationProtectionLabel object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionLabel] Find more info here: https://learn.microsoft.com/graph/api/informationprotectionlabel-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Informati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[InformationProtectionLabelItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an informationProtectionLabel object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an informationProtectionLabel object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[InformationP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[InformationProtectionLabel] = None, request_configuration: Optional[InformationProtectionLabelItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[InformationProtectionLabel] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class InformationProtectionLabelItemRequestBuilderDeleteRequestConfiguration(Bas @dataclass class InformationProtectionLabelItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an informationProtectionLabel object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an informationProtectionLabel object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/information_protection/policy/labels/labels_request_builder.py b/msgraph_beta/generated/information_protection/policy/labels/labels_request_builder.py index f471d4ffedd..ad9a6b60e9e 100644 --- a/msgraph_beta/generated/information_protection/policy/labels/labels_request_builder.py +++ b/msgraph_beta/generated/information_protection/policy/labels/labels_request_builder.py @@ -49,7 +49,7 @@ def by_information_protection_label_id(self,information_protection_label_id: str async def get(self,request_configuration: Optional[LabelsRequestBuilderGetRequestConfiguration] = None) -> Optional[InformationProtectionLabelCollectionResponse]: """ - Get a collection of information protection labels available to the user or to the organization. This API is available in the following national cloud deployments. + Get a collection of information protection labels available to the user or to the organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionLabelCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/informationprotectionpolicy-list-labels?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def post(self,body: Optional[InformationProtectionLabel] = None, request_c def to_get_request_information(self,request_configuration: Optional[LabelsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a collection of information protection labels available to the user or to the organization. This API is available in the following national cloud deployments. + Get a collection of information protection labels available to the user or to the organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,7 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[LabelsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[InformationProtectionLabel] = None, request_configuration: Optional[LabelsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_post_request_information(self,body: Optional[InformationProtectionLabel] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ def extract_label(self) -> ExtractLabelRequestBuilder: @dataclass class LabelsRequestBuilderGetQueryParameters(): """ - Get a collection of information protection labels available to the user or to the organization. This API is available in the following national cloud deployments. + Get a collection of information protection labels available to the user or to the organization. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/information_protection/policy/policy_request_builder.py b/msgraph_beta/generated/information_protection/policy/policy_request_builder.py index 447e723a286..0ab83857777 100644 --- a/msgraph_beta/generated/information_protection/policy/policy_request_builder.py +++ b/msgraph_beta/generated/information_protection/policy/policy_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PolicyReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PolicyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PolicyReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[InformationProtectionPolicy] = None, request_configuration: Optional[PolicyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[InformationProtectionPolicy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/information_protection/sensitivity_labels/evaluate/evaluate_request_builder.py b/msgraph_beta/generated/information_protection/sensitivity_labels/evaluate/evaluate_request_builder.py index 41e0622bcce..3c78176d924 100644 --- a/msgraph_beta/generated/information_protection/sensitivity_labels/evaluate/evaluate_request_builder.py +++ b/msgraph_beta/generated/information_protection/sensitivity_labels/evaluate/evaluate_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[EvaluatePostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/information_protection/sensitivity_labels/item/sensitivity_label_item_request_builder.py b/msgraph_beta/generated/information_protection/sensitivity_labels/item/sensitivity_label_item_request_builder.py index 1e0b9b0fd7e..6d204160350 100644 --- a/msgraph_beta/generated/information_protection/sensitivity_labels/item/sensitivity_label_item_request_builder.py +++ b/msgraph_beta/generated/information_protection/sensitivity_labels/item/sensitivity_label_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Sensitivi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SensitivityLabelItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[SensitivityL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SensitivityLabel] = None, request_configuration: Optional[SensitivityLabelItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[SensitivityLabel] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_request_builder.py b/msgraph_beta/generated/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_request_builder.py index 492f4d25128..2dacd339ed5 100644 --- a/msgraph_beta/generated/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_request_builder.py +++ b/msgraph_beta/generated/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[EvaluatePostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/information_protection/sensitivity_labels/item/sublabels/item/sensitivity_label_item_request_builder.py b/msgraph_beta/generated/information_protection/sensitivity_labels/item/sublabels/item/sensitivity_label_item_request_builder.py index ef2406a3692..2bc5cfedce8 100644 --- a/msgraph_beta/generated/information_protection/sensitivity_labels/item/sublabels/item/sensitivity_label_item_request_builder.py +++ b/msgraph_beta/generated/information_protection/sensitivity_labels/item/sublabels/item/sensitivity_label_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Sensitivi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SensitivityLabelItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SensitivityL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SensitivityLabel] = None, request_configuration: Optional[SensitivityLabelItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[SensitivityLabel] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/information_protection/sensitivity_labels/item/sublabels/sublabels_request_builder.py b/msgraph_beta/generated/information_protection/sensitivity_labels/item/sublabels/sublabels_request_builder.py index 9eb41efe091..a4b9ef58564 100644 --- a/msgraph_beta/generated/information_protection/sensitivity_labels/item/sublabels/sublabels_request_builder.py +++ b/msgraph_beta/generated/information_protection/sensitivity_labels/item/sublabels/sublabels_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SublabelsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SensitivityLabel] = None, request_configuration: Optional[SublabelsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SensitivityLabel] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/information_protection/sensitivity_labels/sensitivity_labels_request_builder.py b/msgraph_beta/generated/information_protection/sensitivity_labels/sensitivity_labels_request_builder.py index 02bd62d0ada..2044d721c13 100644 --- a/msgraph_beta/generated/information_protection/sensitivity_labels/sensitivity_labels_request_builder.py +++ b/msgraph_beta/generated/information_protection/sensitivity_labels/sensitivity_labels_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SensitivityL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SensitivityLabel] = None, request_configuration: Optional[SensitivityLabelsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SensitivityLabel] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/information_protection/sensitivity_policy_settings/sensitivity_policy_settings_request_builder.py b/msgraph_beta/generated/information_protection/sensitivity_policy_settings/sensitivity_policy_settings_request_builder.py index d010a1608db..46c630b1e39 100644 --- a/msgraph_beta/generated/information_protection/sensitivity_policy_settings/sensitivity_policy_settings_request_builder.py +++ b/msgraph_beta/generated/information_protection/sensitivity_policy_settings/sensitivity_policy_settings_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Sensitivi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SensitivityPolicySettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SensitivityP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SensitivityPolicySettings] = None, request_configuration: Optional[SensitivityPolicySettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[SensitivityPolicySettings] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/information_protection/sign_digest/sign_digest_request_builder.py b/msgraph_beta/generated/information_protection/sign_digest/sign_digest_request_builder.py index c2dda8dac4d..144ee5f0fda 100644 --- a/msgraph_beta/generated/information_protection/sign_digest/sign_digest_request_builder.py +++ b/msgraph_beta/generated/information_protection/sign_digest/sign_digest_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SignDigestPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/information_protection/threat_assessment_requests/item/results/item/threat_assessment_result_item_request_builder.py b/msgraph_beta/generated/information_protection/threat_assessment_requests/item/results/item/threat_assessment_result_item_request_builder.py index 8a0a628927d..34497b85840 100644 --- a/msgraph_beta/generated/information_protection/threat_assessment_requests/item/results/item/threat_assessment_result_item_request_builder.py +++ b/msgraph_beta/generated/information_protection/threat_assessment_requests/item/results/item/threat_assessment_result_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ThreatAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ThreatAssessmentResultItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ThreatAssess request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ThreatAssessmentResult] = None, request_configuration: Optional[ThreatAssessmentResultItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ThreatAssessmentResult] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/information_protection/threat_assessment_requests/item/results/results_request_builder.py b/msgraph_beta/generated/information_protection/threat_assessment_requests/item/results/results_request_builder.py index c73d16e9229..68292cbe38e 100644 --- a/msgraph_beta/generated/information_protection/threat_assessment_requests/item/results/results_request_builder.py +++ b/msgraph_beta/generated/information_protection/threat_assessment_requests/item/results/results_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ResultsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ThreatAssessmentResult] = None, request_configuration: Optional[ResultsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ThreatAssessmentResult] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/information_protection/threat_assessment_requests/item/threat_assessment_request_item_request_builder.py b/msgraph_beta/generated/information_protection/threat_assessment_requests/item/threat_assessment_request_item_request_builder.py index 0b17b79630c..ef41c71652c 100644 --- a/msgraph_beta/generated/information_protection/threat_assessment_requests/item/threat_assessment_request_item_request_builder.py +++ b/msgraph_beta/generated/information_protection/threat_assessment_requests/item/threat_assessment_request_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ThreatAssessmentRequestIte async def get(self,request_configuration: Optional[ThreatAssessmentRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ThreatAssessmentRequest]: """ - Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ThreatAssessmentRequest] Find more info here: https://learn.microsoft.com/graph/api/threatassessmentrequest-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ThreatAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ThreatAssessmentRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ThreatAssess request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ThreatAssessmentRequest] = None, request_configuration: Optional[ThreatAssessmentRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ThreatAssessmentRequest] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ThreatAssessmentRequestItemRequestBuilderDeleteRequestConfiguration(BaseRe @dataclass class ThreatAssessmentRequestItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/information_protection/threat_assessment_requests/threat_assessment_requests_request_builder.py b/msgraph_beta/generated/information_protection/threat_assessment_requests/threat_assessment_requests_request_builder.py index a94f36255b6..855bca661a2 100644 --- a/msgraph_beta/generated/information_protection/threat_assessment_requests/threat_assessment_requests_request_builder.py +++ b/msgraph_beta/generated/information_protection/threat_assessment_requests/threat_assessment_requests_request_builder.py @@ -45,7 +45,7 @@ def by_threat_assessment_request_id(self,threat_assessment_request_id: str) -> T async def get(self,request_configuration: Optional[ThreatAssessmentRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[ThreatAssessmentRequestCollectionResponse]: """ - Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ThreatAssessmentRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/informationprotection-list-threatassessmentrequests?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ThreatAssessmentRequestsReque async def post(self,body: Optional[ThreatAssessmentRequest] = None, request_configuration: Optional[ThreatAssessmentRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[ThreatAssessmentRequest]: """ - Create a new threat assessment request. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Create a new threat assessment request. A threat assessment request can be one of the following types: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ThreatAssessmentRequest] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ThreatAssessmentRequest] = None, request_conf def to_get_request_information(self,request_configuration: Optional[ThreatAssessmentRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ThreatAssess request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ThreatAssessmentRequest] = None, request_configuration: Optional[ThreatAssessmentRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new threat assessment request. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Create a new threat assessment request. A threat assessment request can be one of the following types: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ThreatAssessmentRequest] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ThreatAssessmentRequestsRequestBuilderGetQueryParameters(): """ - Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/information_protection/verify_signature/verify_signature_request_builder.py b/msgraph_beta/generated/information_protection/verify_signature/verify_signature_request_builder.py index 5d071478755..044a88861c3 100644 --- a/msgraph_beta/generated/information_protection/verify_signature/verify_signature_request_builder.py +++ b/msgraph_beta/generated/information_protection/verify_signature/verify_signature_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[VerifySignaturePostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/invitations/invitations_request_builder.py b/msgraph_beta/generated/invitations/invitations_request_builder.py index e5d5404fe57..213216710dc 100644 --- a/msgraph_beta/generated/invitations/invitations_request_builder.py +++ b/msgraph_beta/generated/invitations/invitations_request_builder.py @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[InvitationsRequestBuilderGetR async def post(self,body: Optional[Invitation] = None, request_configuration: Optional[InvitationsRequestBuilderPostRequestConfiguration] = None) -> Optional[Invitation]: """ - Create a new invitation. The invitation adds an external user to the organization. The following options are available for creating an invitation: This API is available in the following national cloud deployments. + Create a new invitation. The invitation adds an external user to the organization. The following options are available for creating an invitation: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Invitation] @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[InvitationsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Invitation] = None, request_configuration: Optional[InvitationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new invitation. The invitation adds an external user to the organization. The following options are available for creating an invitation: This API is available in the following national cloud deployments. + Create a new invitation. The invitation adds an external user to the organization. The following options are available for creating an invitation: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Invitation] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/invitations/item/invitation_item_request_builder.py b/msgraph_beta/generated/invitations/item/invitation_item_request_builder.py index 8c6c313e685..8b86942b869 100644 --- a/msgraph_beta/generated/invitations/item/invitation_item_request_builder.py +++ b/msgraph_beta/generated/invitations/item/invitation_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Invitatio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[InvitationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[InvitationIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Invitation] = None, request_configuration: Optional[InvitationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Invitation] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/invitations/item/invited_user/invited_user_request_builder.py b/msgraph_beta/generated/invitations/item/invited_user/invited_user_request_builder.py index 3fd58358bf3..8a2455cfcdc 100644 --- a/msgraph_beta/generated/invitations/item/invited_user/invited_user_request_builder.py +++ b/msgraph_beta/generated/invitations/item/invited_user/invited_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[InvitedUserR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InvitedUserRequestBuilder: diff --git a/msgraph_beta/generated/invitations/item/invited_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/invitations/item/invited_user/mailbox_settings/mailbox_settings_request_builder.py index 97b418293c4..42514defbca 100644 --- a/msgraph_beta/generated/invitations/item/invited_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/invitations/item/invited_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/invitations/item/invited_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/invitations/item/invited_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index bd26d1df19e..8b05bde2985 100644 --- a/msgraph_beta/generated/invitations/item/invited_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/invitations/item/invited_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/invitations/item/invited_user_sponsors/invited_user_sponsors_request_builder.py b/msgraph_beta/generated/invitations/item/invited_user_sponsors/invited_user_sponsors_request_builder.py index 0b6abdb351f..a865e02c555 100644 --- a/msgraph_beta/generated/invitations/item/invited_user_sponsors/invited_user_sponsors_request_builder.py +++ b/msgraph_beta/generated/invitations/item/invited_user_sponsors/invited_user_sponsors_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[InvitedUserS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InvitedUserSponsorsRequestBuilder: diff --git a/msgraph_beta/generated/invitations/item/invited_user_sponsors/item/directory_object_item_request_builder.py b/msgraph_beta/generated/invitations/item/invited_user_sponsors/item/directory_object_item_request_builder.py index 83fc2ff848f..26fd8b66f3a 100644 --- a/msgraph_beta/generated/invitations/item/invited_user_sponsors/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/invitations/item/invited_user_sponsors/item/directory_object_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: diff --git a/msgraph_beta/generated/kiota-lock.json b/msgraph_beta/generated/kiota-lock.json index 3d89ec56839..cdb6aa7ab74 100644 --- a/msgraph_beta/generated/kiota-lock.json +++ b/msgraph_beta/generated/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "52289CFE711AE23D0825DC2055D5DCC39D04B6260BC4D3E0508F1F94B08975DA08DD44223E820E2A2DFD6E4AD0D4D3039F2A92113ADFE4D5D4AE83DA79E7BC36", + "descriptionHash": "FF648DA75A347289AE703D104DA5D4450AB40DB5ABBB8547CAE567186935340A9C582DE46F63A7685B524AC99682A83DC569D4857843AC5ECCB25D94F611C78C", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.8.0", + "kiotaVersion": "1.10.0", "clientClassName": "BaseGraphServiceClient", "clientNamespaceName": "msgraph_beta.generated", "language": "Python", @@ -21,7 +21,7 @@ "Microsoft.Kiota.Serialization.Form.FormParseNodeFactory" ], "structuredMimeTypes": [ - "application/json;q=1", + "application/json", "text/plain;q=0.9", "application/x-www-form-urlencoded;q=0.2", "multipart/form-data;q=0.1" diff --git a/msgraph_beta/generated/message_events/item/message_event_item_request_builder.py b/msgraph_beta/generated/message_events/item/message_event_item_request_builder.py index a13b56affc9..f80e226628a 100644 --- a/msgraph_beta/generated/message_events/item/message_event_item_request_builder.py +++ b/msgraph_beta/generated/message_events/item/message_event_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MessageEv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MessageEventItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MessageEvent request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MessageEvent] = None, request_configuration: Optional[MessageEventItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MessageEvent] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/message_events/message_events_request_builder.py b/msgraph_beta/generated/message_events/message_events_request_builder.py index a693363d557..bc10ef02d6d 100644 --- a/msgraph_beta/generated/message_events/message_events_request_builder.py +++ b/msgraph_beta/generated/message_events/message_events_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[MessageEvent request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MessageEvent] = None, request_configuration: Optional[MessageEventsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MessageEvent] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/message_recipients/item/events/events_request_builder.py b/msgraph_beta/generated/message_recipients/item/events/events_request_builder.py index ec7958e49e2..68854d11ac4 100644 --- a/msgraph_beta/generated/message_recipients/item/events/events_request_builder.py +++ b/msgraph_beta/generated/message_recipients/item/events/events_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[EventsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MessageEvent] = None, request_configuration: Optional[EventsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MessageEvent] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/message_recipients/item/events/item/message_event_item_request_builder.py b/msgraph_beta/generated/message_recipients/item/events/item/message_event_item_request_builder.py index c64646604e6..5e9660912c1 100644 --- a/msgraph_beta/generated/message_recipients/item/events/item/message_event_item_request_builder.py +++ b/msgraph_beta/generated/message_recipients/item/events/item/message_event_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MessageEv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MessageEventItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MessageEvent request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MessageEvent] = None, request_configuration: Optional[MessageEventItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MessageEvent] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/message_recipients/item/message_recipient_item_request_builder.py b/msgraph_beta/generated/message_recipients/item/message_recipient_item_request_builder.py index d5524020365..3fa3b9a6dc9 100644 --- a/msgraph_beta/generated/message_recipients/item/message_recipient_item_request_builder.py +++ b/msgraph_beta/generated/message_recipients/item/message_recipient_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[MessageRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MessageRecipientItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[MessageRecip request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MessageRecipient] = None, request_configuration: Optional[MessageRecipientItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[MessageRecipient] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/message_recipients/message_recipients_request_builder.py b/msgraph_beta/generated/message_recipients/message_recipients_request_builder.py index 74fd24b82b8..fb18b2a8b45 100644 --- a/msgraph_beta/generated/message_recipients/message_recipients_request_builder.py +++ b/msgraph_beta/generated/message_recipients/message_recipients_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[MessageRecip request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MessageRecipient] = None, request_configuration: Optional[MessageRecipientsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MessageRecipient] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/message_traces/item/message_trace_item_request_builder.py b/msgraph_beta/generated/message_traces/item/message_trace_item_request_builder.py index 860cbddbe60..8f99110a288 100644 --- a/msgraph_beta/generated/message_traces/item/message_trace_item_request_builder.py +++ b/msgraph_beta/generated/message_traces/item/message_trace_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[MessageTr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MessageTraceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[MessageTrace request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MessageTrace] = None, request_configuration: Optional[MessageTraceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[MessageTrace] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/message_traces/item/recipients/item/events/events_request_builder.py b/msgraph_beta/generated/message_traces/item/recipients/item/events/events_request_builder.py index 5c56042492a..5c65c9badd6 100644 --- a/msgraph_beta/generated/message_traces/item/recipients/item/events/events_request_builder.py +++ b/msgraph_beta/generated/message_traces/item/recipients/item/events/events_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[EventsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MessageEvent] = None, request_configuration: Optional[EventsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MessageEvent] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/message_traces/item/recipients/item/events/item/message_event_item_request_builder.py b/msgraph_beta/generated/message_traces/item/recipients/item/events/item/message_event_item_request_builder.py index 8e89bdc9cc2..0f50bca35e4 100644 --- a/msgraph_beta/generated/message_traces/item/recipients/item/events/item/message_event_item_request_builder.py +++ b/msgraph_beta/generated/message_traces/item/recipients/item/events/item/message_event_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MessageEv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MessageEventItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MessageEvent request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MessageEvent] = None, request_configuration: Optional[MessageEventItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MessageEvent] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/message_traces/item/recipients/item/message_recipient_item_request_builder.py b/msgraph_beta/generated/message_traces/item/recipients/item/message_recipient_item_request_builder.py index 353d219d711..983b005314b 100644 --- a/msgraph_beta/generated/message_traces/item/recipients/item/message_recipient_item_request_builder.py +++ b/msgraph_beta/generated/message_traces/item/recipients/item/message_recipient_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[MessageRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MessageRecipientItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[MessageRecip request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MessageRecipient] = None, request_configuration: Optional[MessageRecipientItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[MessageRecipient] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/message_traces/item/recipients/recipients_request_builder.py b/msgraph_beta/generated/message_traces/item/recipients/recipients_request_builder.py index 3bbdd607e7c..3d454fdc518 100644 --- a/msgraph_beta/generated/message_traces/item/recipients/recipients_request_builder.py +++ b/msgraph_beta/generated/message_traces/item/recipients/recipients_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RecipientsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MessageRecipient] = None, request_configuration: Optional[RecipientsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MessageRecipient] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/message_traces/message_traces_request_builder.py b/msgraph_beta/generated/message_traces/message_traces_request_builder.py index b548c36c93a..965a540698a 100644 --- a/msgraph_beta/generated/message_traces/message_traces_request_builder.py +++ b/msgraph_beta/generated/message_traces/message_traces_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[MessageTrace request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MessageTrace] = None, request_configuration: Optional[MessageTracesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MessageTrace] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/mobility_management_policies/item/included_groups/included_groups_request_builder.py b/msgraph_beta/generated/mobility_management_policies/item/included_groups/included_groups_request_builder.py index a41b00b43ca..f785080a25f 100644 --- a/msgraph_beta/generated/mobility_management_policies/item/included_groups/included_groups_request_builder.py +++ b/msgraph_beta/generated/mobility_management_policies/item/included_groups/included_groups_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_group_id(self,group_id: str) -> GroupItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.mobilityManagementPolicies.item.includedGroups.item collection - param group_id: Unique identifier of the item + param group_id: The unique identifier of group Returns: GroupItemRequestBuilder """ if not group_id: @@ -45,7 +45,7 @@ def by_group_id(self,group_id: str) -> GroupItemRequestBuilder: async def get(self,request_configuration: Optional[IncludedGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[GroupCollectionResponse]: """ - Get the list of groups that are included in a mobile app management policy. This API is available in the following national cloud deployments. + Get the list of groups that are included in a mobile app management policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/mobileappmanagementpolicies-list-includedgroups?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[IncludedGroupsRequestBuilderG def to_get_request_information(self,request_configuration: Optional[IncludedGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of groups that are included in a mobile app management policy. This API is available in the following national cloud deployments. + Get the list of groups that are included in a mobile app management policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[IncludedGrou request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IncludedGroupsRequestBuilder: @@ -113,7 +113,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class IncludedGroupsRequestBuilderGetQueryParameters(): """ - Get the list of groups that are included in a mobile app management policy. This API is available in the following national cloud deployments. + Get the list of groups that are included in a mobile app management policy. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/mobility_management_policies/item/included_groups/item/ref/ref_request_builder.py b/msgraph_beta/generated/mobility_management_policies/item/included_groups/item/ref/ref_request_builder.py index 4d77b056b8d..b9c75d046b2 100644 --- a/msgraph_beta/generated/mobility_management_policies/item/included_groups/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/mobility_management_policies/item/included_groups/item/ref/ref_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a group from the list of groups included in a mobile app management policy. This API is available in the following national cloud deployments. + Delete a group from the list of groups included in a mobile app management policy. 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/mobileappmanagementpolicies-delete-includedgroups?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a group from the list of groups included in a mobile app management policy. This API is available in the following national cloud deployments. + Delete a group from the list of groups included in a mobile app management policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Delete a group from the list of groups included in a mobile app management policy. This API is available in the following national cloud deployments. + Delete a group from the list of groups included in a mobile app management policy. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/mobility_management_policies/item/included_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/mobility_management_policies/item/included_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py index 5ae12cefc97..6a6525c4a4c 100644 --- a/msgraph_beta/generated/mobility_management_policies/item/included_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/mobility_management_policies/item/included_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/mobility_management_policies/item/included_groups/ref/ref_request_builder.py b/msgraph_beta/generated/mobility_management_policies/item/included_groups/ref/ref_request_builder.py index c8acfba94b9..ad353fd89e7 100644 --- a/msgraph_beta/generated/mobility_management_policies/item/included_groups/ref/ref_request_builder.py +++ b/msgraph_beta/generated/mobility_management_policies/item/included_groups/ref/ref_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - Get the list of groups that are included in a mobile app management policy. This API is available in the following national cloud deployments. + Get the list of groups that are included in a mobile app management policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/mobileappmanagementpolicies-list-includedgroups?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add groups to be included in a mobile app management policy. This API is available in the following national cloud deployments. + Add groups to be included in a mobile app management policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -74,7 +74,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of groups that are included in a mobile app management policy. This API is available in the following national cloud deployments. + Get the list of groups that are included in a mobile app management policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add groups to be included in a mobile app management policy. This API is available in the following national cloud deployments. + Add groups to be included in a mobile app management policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -122,7 +122,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderGetQueryParameters(): """ - Get the list of groups that are included in a mobile app management policy. This API is available in the following national cloud deployments. + Get the list of groups that are included in a mobile app management policy. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/mobility_management_policies/item/mobility_management_policy_item_request_builder.py b/msgraph_beta/generated/mobility_management_policies/item/mobility_management_policy_item_request_builder.py index b7432e79e76..35d88c5306e 100644 --- a/msgraph_beta/generated/mobility_management_policies/item/mobility_management_policy_item_request_builder.py +++ b/msgraph_beta/generated/mobility_management_policies/item/mobility_management_policy_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobilityM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobilityManagementPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[MobilityMana request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobilityManagementPolicy] = None, request_configuration: Optional[MobilityManagementPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[MobilityManagementPolicy] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/mobility_management_policies/mobility_management_policies_request_builder.py b/msgraph_beta/generated/mobility_management_policies/mobility_management_policies_request_builder.py index a7362664442..04607db3c50 100644 --- a/msgraph_beta/generated/mobility_management_policies/mobility_management_policies_request_builder.py +++ b/msgraph_beta/generated/mobility_management_policies/mobility_management_policies_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[MobilityMana request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobilityManagementPolicy] = None, request_configuration: Optional[MobilityManagementPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobilityManagementPolicy] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/models/aad_source.py b/msgraph_beta/generated/models/aad_source.py index 1b7645efef3..7ea42565fdb 100644 --- a/msgraph_beta/generated/models/aad_source.py +++ b/msgraph_beta/generated/models/aad_source.py @@ -12,7 +12,7 @@ class AadSource(AuthorizationSystemIdentitySource): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.aadSource" - # The domain property + # Domain name domain: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/action_summary.py b/msgraph_beta/generated/models/action_summary.py index 6bde1f906ef..caad2afcd91 100644 --- a/msgraph_beta/generated/models/action_summary.py +++ b/msgraph_beta/generated/models/action_summary.py @@ -11,11 +11,11 @@ class ActionSummary(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 assigned property + # This is the number of authorization system actions that have been assigned to the identity. assigned: Optional[int] = None - # The available property + # This is the number of authorization system actions that the identity has exercised in the last 90 days. available: Optional[int] = None - # The exercised property + # This is the maximum number of actions that are available in the authorization system. exercised: Optional[int] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/active_users_breakdown_metric.py b/msgraph_beta/generated/models/active_users_breakdown_metric.py index 26bbf83271a..750616fb966 100644 --- a/msgraph_beta/generated/models/active_users_breakdown_metric.py +++ b/msgraph_beta/generated/models/active_users_breakdown_metric.py @@ -11,17 +11,17 @@ @dataclass class ActiveUsersBreakdownMetric(Entity): - # The appId property + # The ID of the Microsoft Entra application. app_id: Optional[str] = None - # The appName property + # Name of the application users authenticated to. app_name: Optional[str] = None - # The count property + # The total number of users who made at least one authentication request within the specified time period. count: Optional[int] = None - # The factDate property + # The date of the insight. fact_date: Optional[datetime.date] = None # The OdataType property odata_type: Optional[str] = None - # The os property + # The platform for the device that the customers used. Supports $filter (eq). os: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/active_users_metric.py b/msgraph_beta/generated/models/active_users_metric.py index 7ba9bbe9685..c587c8896ca 100644 --- a/msgraph_beta/generated/models/active_users_metric.py +++ b/msgraph_beta/generated/models/active_users_metric.py @@ -11,9 +11,9 @@ @dataclass class ActiveUsersMetric(Entity): - # The count property + # The total number of users who made at least one authentication request within the specified time period. count: Optional[int] = None - # The factDate property + # Date of the insight. fact_date: Optional[datetime.date] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/admin.py b/msgraph_beta/generated/models/admin.py index d53abbda6fd..4b3eeac9ef9 100644 --- a/msgraph_beta/generated/models/admin.py +++ b/msgraph_beta/generated/models/admin.py @@ -8,6 +8,7 @@ from .admin_apps_and_services import AdminAppsAndServices from .admin_dynamics import AdminDynamics from .admin_forms import AdminForms + from .admin_microsoft365_apps import AdminMicrosoft365Apps from .admin_report_settings import AdminReportSettings from .admin_todo import AdminTodo from .admin_windows import AdminWindows @@ -31,9 +32,11 @@ class Admin(AdditionalDataHolder, BackedModel, Parsable): edge: Optional[Edge] = None # The forms property forms: Optional[AdminForms] = None + # A container for the Microsoft 365 apps admin functionality. + microsoft365_apps: Optional[AdminMicrosoft365Apps] = None # The OdataType property odata_type: Optional[str] = None - # The people property + # Represents a setting to control people-related admin settings in the tenant. people: Optional[PeopleAdminSettings] = None # A container for administrative resources to manage reports. report_settings: Optional[AdminReportSettings] = None @@ -65,6 +68,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .admin_apps_and_services import AdminAppsAndServices from .admin_dynamics import AdminDynamics from .admin_forms import AdminForms + from .admin_microsoft365_apps import AdminMicrosoft365Apps from .admin_report_settings import AdminReportSettings from .admin_todo import AdminTodo from .admin_windows import AdminWindows @@ -76,6 +80,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .admin_apps_and_services import AdminAppsAndServices from .admin_dynamics import AdminDynamics from .admin_forms import AdminForms + from .admin_microsoft365_apps import AdminMicrosoft365Apps from .admin_report_settings import AdminReportSettings from .admin_todo import AdminTodo from .admin_windows import AdminWindows @@ -89,6 +94,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "dynamics": lambda n : setattr(self, 'dynamics', n.get_object_value(AdminDynamics)), "edge": lambda n : setattr(self, 'edge', n.get_object_value(Edge)), "forms": lambda n : setattr(self, 'forms', n.get_object_value(AdminForms)), + "microsoft365Apps": lambda n : setattr(self, 'microsoft365_apps', n.get_object_value(AdminMicrosoft365Apps)), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "people": lambda n : setattr(self, 'people', n.get_object_value(PeopleAdminSettings)), "reportSettings": lambda n : setattr(self, 'report_settings', n.get_object_value(AdminReportSettings)), @@ -111,6 +117,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_object_value("dynamics", self.dynamics) writer.write_object_value("edge", self.edge) writer.write_object_value("forms", self.forms) + writer.write_object_value("microsoft365Apps", self.microsoft365_apps) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("people", self.people) writer.write_object_value("reportSettings", self.report_settings) diff --git a/msgraph_beta/generated/models/admin_microsoft365_apps.py b/msgraph_beta/generated/models/admin_microsoft365_apps.py new file mode 100644 index 00000000000..370e853d4da --- /dev/null +++ b/msgraph_beta/generated/models/admin_microsoft365_apps.py @@ -0,0 +1,59 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .entity import Entity + from .m365_apps_installation_options import M365AppsInstallationOptions + +from .entity import Entity + +@dataclass +class AdminMicrosoft365Apps(Entity): + # A container for tenant-level settings for Microsoft 365 applications. + installation_options: Optional[M365AppsInstallationOptions] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> AdminMicrosoft365Apps: + """ + 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: AdminMicrosoft365Apps + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return AdminMicrosoft365Apps() + + 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 .m365_apps_installation_options import M365AppsInstallationOptions + + from .entity import Entity + from .m365_apps_installation_options import M365AppsInstallationOptions + + fields: Dict[str, Callable[[Any], None]] = { + "installationOptions": lambda n : setattr(self, 'installation_options', n.get_object_value(M365AppsInstallationOptions)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_object_value("installationOptions", self.installation_options) + + diff --git a/msgraph_beta/generated/models/agreement.py b/msgraph_beta/generated/models/agreement.py index 9518b3740e5..9b9693127a3 100644 --- a/msgraph_beta/generated/models/agreement.py +++ b/msgraph_beta/generated/models/agreement.py @@ -17,13 +17,13 @@ class Agreement(Entity): # Read-only. Information about acceptances of this agreement. acceptances: Optional[List[AgreementAcceptance]] = None - # Display name of the agreement. The display name is used for internal tracking of the agreement but is not shown to end users who view the agreement. Supports $filter (eq). + # Display name of the agreement. The display name is used for internal tracking of the agreement but isn't shown to end users who view the agreement. Supports $filter (eq). display_name: Optional[str] = None # Default PDF linked to this agreement. file: Optional[AgreementFile] = None # PDFs linked to this agreement. Note: This property is in the process of being deprecated. Use the file property instead. files: Optional[List[AgreementFileLocalization]] = None - # This setting enables you to require end users to accept this agreement on every device that they are accessing it from. The end user will be required to register their device in Microsoft Entra ID, if they haven't already done so. Supports $filter (eq). + # This setting enables you to require end users to accept this agreement on every device that they're accessing it from. The end user is required to register their device in Microsoft Entra ID, if they haven't already done so. Supports $filter (eq). is_per_device_acceptance_required: Optional[bool] = None # Indicates whether the user has to expand the agreement before accepting. Supports $filter (eq). is_viewing_before_acceptance_required: Optional[bool] = None @@ -31,7 +31,7 @@ class Agreement(Entity): odata_type: Optional[str] = None # Expiration schedule and frequency of agreement for all users. Supports $filter (eq). terms_expiration: Optional[TermsExpiration] = None - # The duration after which the user must re-accept the terms of use. The value is represented in ISO 8601 format for durations. + # The duration after which the user must reaccept the terms of use. The value is represented in ISO 8601 format for durations. user_reaccept_required_frequency: Optional[datetime.timedelta] = None @staticmethod diff --git a/msgraph_beta/generated/models/air_print_settings.py b/msgraph_beta/generated/models/air_print_settings.py new file mode 100644 index 00000000000..404fcfd38aa --- /dev/null +++ b/msgraph_beta/generated/models/air_print_settings.py @@ -0,0 +1,60 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .incompatible_printer_settings import IncompatiblePrinterSettings + +@dataclass +class AirPrintSettings(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 incompatiblePrinters property + incompatible_printers: Optional[IncompatiblePrinterSettings] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> AirPrintSettings: + """ + 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: AirPrintSettings + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return AirPrintSettings() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .incompatible_printer_settings import IncompatiblePrinterSettings + + from .incompatible_printer_settings import IncompatiblePrinterSettings + + fields: Dict[str, Callable[[Any], None]] = { + "incompatiblePrinters": lambda n : setattr(self, 'incompatible_printers', n.get_enum_value(IncompatiblePrinterSettings)), + "@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 not writer: + raise TypeError("writer cannot be null.") + writer.write_enum_value("incompatiblePrinters", self.incompatible_printers) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/all_device_registration_membership.py b/msgraph_beta/generated/models/all_device_registration_membership.py new file mode 100644 index 00000000000..c294f1c62e5 --- /dev/null +++ b/msgraph_beta/generated/models/all_device_registration_membership.py @@ -0,0 +1,52 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .device_registration_membership import DeviceRegistrationMembership + +from .device_registration_membership import DeviceRegistrationMembership + +@dataclass +class AllDeviceRegistrationMembership(DeviceRegistrationMembership): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.allDeviceRegistrationMembership" + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> AllDeviceRegistrationMembership: + """ + 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: AllDeviceRegistrationMembership + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return AllDeviceRegistrationMembership() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .device_registration_membership import DeviceRegistrationMembership + + from .device_registration_membership import DeviceRegistrationMembership + + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + + diff --git a/msgraph_beta/generated/models/android_device_owner_compliance_policy.py b/msgraph_beta/generated/models/android_device_owner_compliance_policy.py index 8f7e20bd9cf..6b5f094fb31 100644 --- a/msgraph_beta/generated/models/android_device_owner_compliance_policy.py +++ b/msgraph_beta/generated/models/android_device_owner_compliance_policy.py @@ -53,6 +53,8 @@ class AndroidDeviceOwnerCompliancePolicy(DeviceCompliancePolicy): password_required: Optional[bool] = None # Type of characters in password. Possible values are: deviceDefault, required, numeric, numericComplex, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, customPassword. password_required_type: Optional[AndroidDeviceOwnerRequiredPasswordType] = None + # Require device to have no pending Android system updates. + require_no_pending_system_updates: Optional[bool] = None # If setting is set to true, checks that the Intune app installed on fully managed, dedicated, or corporate-owned work profile Android Enterprise enrolled devices, is the one provided by Microsoft from the Managed Google Playstore. If the check fails, the device will be reported as non-compliant. security_require_intune_app_integrity: Optional[bool] = None # Require the device to pass the SafetyNet basic integrity check. @@ -105,6 +107,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "passwordPreviousPasswordCountToBlock": lambda n : setattr(self, 'password_previous_password_count_to_block', n.get_int_value()), "passwordRequired": lambda n : setattr(self, 'password_required', n.get_bool_value()), "passwordRequiredType": lambda n : setattr(self, 'password_required_type', n.get_enum_value(AndroidDeviceOwnerRequiredPasswordType)), + "requireNoPendingSystemUpdates": lambda n : setattr(self, 'require_no_pending_system_updates', n.get_bool_value()), "securityRequireIntuneAppIntegrity": lambda n : setattr(self, 'security_require_intune_app_integrity', n.get_bool_value()), "securityRequireSafetyNetAttestationBasicIntegrity": lambda n : setattr(self, 'security_require_safety_net_attestation_basic_integrity', n.get_bool_value()), "securityRequireSafetyNetAttestationCertifiedDevice": lambda n : setattr(self, 'security_require_safety_net_attestation_certified_device', n.get_bool_value()), @@ -141,6 +144,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_int_value("passwordPreviousPasswordCountToBlock", self.password_previous_password_count_to_block) writer.write_bool_value("passwordRequired", self.password_required) writer.write_enum_value("passwordRequiredType", self.password_required_type) + writer.write_bool_value("requireNoPendingSystemUpdates", self.require_no_pending_system_updates) writer.write_bool_value("securityRequireIntuneAppIntegrity", self.security_require_intune_app_integrity) writer.write_bool_value("securityRequireSafetyNetAttestationBasicIntegrity", self.security_require_safety_net_attestation_basic_integrity) writer.write_bool_value("securityRequireSafetyNetAttestationCertifiedDevice", self.security_require_safety_net_attestation_certified_device) diff --git a/msgraph_beta/generated/models/android_device_owner_enrollment_token_type.py b/msgraph_beta/generated/models/android_device_owner_enrollment_token_type.py index 9a7ddea1e69..e36a383f7b3 100644 --- a/msgraph_beta/generated/models/android_device_owner_enrollment_token_type.py +++ b/msgraph_beta/generated/models/android_device_owner_enrollment_token_type.py @@ -5,4 +5,6 @@ class AndroidDeviceOwnerEnrollmentTokenType(str, Enum): Default = "default", # Token type for Azure AD shared dedicated device enrollment. It applies to CorporateOwnedDedicatedDevice enrollment mode only. CorporateOwnedDedicatedDeviceWithAzureADSharedMode = "corporateOwnedDedicatedDeviceWithAzureADSharedMode", + # Token type for Android Device Staging enrollment type. It applies to CorporateOwnedFullyManaged and CorporateOwnedWorkProfile only. + DeviceStaging = "deviceStaging", diff --git a/msgraph_beta/generated/models/android_device_owner_general_device_configuration.py b/msgraph_beta/generated/models/android_device_owner_general_device_configuration.py index ec4978eac3c..96c29ab3347 100644 --- a/msgraph_beta/generated/models/android_device_owner_general_device_configuration.py +++ b/msgraph_beta/generated/models/android_device_owner_general_device_configuration.py @@ -18,6 +18,7 @@ from .android_device_owner_kiosk_mode_icon_size import AndroidDeviceOwnerKioskModeIconSize from .android_device_owner_kiosk_mode_managed_folder import AndroidDeviceOwnerKioskModeManagedFolder from .android_device_owner_kiosk_mode_screen_orientation import AndroidDeviceOwnerKioskModeScreenOrientation + from .android_device_owner_location_mode import AndroidDeviceOwnerLocationMode from .android_device_owner_play_store_mode import AndroidDeviceOwnerPlayStoreMode from .android_device_owner_required_password_type import AndroidDeviceOwnerRequiredPasswordType from .android_device_owner_required_password_unlock import AndroidDeviceOwnerRequiredPasswordUnlock @@ -79,6 +80,8 @@ class AndroidDeviceOwnerGeneralDeviceConfiguration(DeviceConfiguration): date_time_configuration_blocked: Optional[bool] = None # Represents the customized detailed help text provided to users when they attempt to modify managed settings on their device. detailed_help_text: Optional[AndroidDeviceOwnerUserFacingMessage] = None + # Indicates the location setting configuration for fully managed devices (COBO) and corporate owned devices with a work profile (COPE) + device_location_mode: Optional[AndroidDeviceOwnerLocationMode] = None # Represents the customized lock screen message provided to users when they attempt to modify managed settings on their device. device_owner_lock_screen_message: Optional[AndroidDeviceOwnerUserFacingMessage] = None # Android Device Owner Enrollment Profile types. @@ -257,6 +260,8 @@ class AndroidDeviceOwnerGeneralDeviceConfiguration(DeviceConfiguration): security_developer_settings_enabled: Optional[bool] = None # Indicates whether or not verify apps is required. security_require_verify_apps: Optional[bool] = None + # Indicates whether or not location sharing is disabled for fully managed devices (COBO), and corporate owned devices with a work profile (COPE) + share_device_location_disabled: Optional[bool] = None # Represents the customized short help text provided to users when they attempt to modify managed settings on their device. short_help_text: Optional[AndroidDeviceOwnerUserFacingMessage] = None # Indicates whether or the status bar is disabled, including notifications, quick settings and other screen overlays. @@ -348,6 +353,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .android_device_owner_kiosk_mode_icon_size import AndroidDeviceOwnerKioskModeIconSize from .android_device_owner_kiosk_mode_managed_folder import AndroidDeviceOwnerKioskModeManagedFolder from .android_device_owner_kiosk_mode_screen_orientation import AndroidDeviceOwnerKioskModeScreenOrientation + from .android_device_owner_location_mode import AndroidDeviceOwnerLocationMode from .android_device_owner_play_store_mode import AndroidDeviceOwnerPlayStoreMode from .android_device_owner_required_password_type import AndroidDeviceOwnerRequiredPasswordType from .android_device_owner_required_password_unlock import AndroidDeviceOwnerRequiredPasswordUnlock @@ -378,6 +384,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .android_device_owner_kiosk_mode_icon_size import AndroidDeviceOwnerKioskModeIconSize from .android_device_owner_kiosk_mode_managed_folder import AndroidDeviceOwnerKioskModeManagedFolder from .android_device_owner_kiosk_mode_screen_orientation import AndroidDeviceOwnerKioskModeScreenOrientation + from .android_device_owner_location_mode import AndroidDeviceOwnerLocationMode from .android_device_owner_play_store_mode import AndroidDeviceOwnerPlayStoreMode from .android_device_owner_required_password_type import AndroidDeviceOwnerRequiredPasswordType from .android_device_owner_required_password_unlock import AndroidDeviceOwnerRequiredPasswordUnlock @@ -413,6 +420,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "dataRoamingBlocked": lambda n : setattr(self, 'data_roaming_blocked', n.get_bool_value()), "dateTimeConfigurationBlocked": lambda n : setattr(self, 'date_time_configuration_blocked', n.get_bool_value()), "detailedHelpText": lambda n : setattr(self, 'detailed_help_text', n.get_object_value(AndroidDeviceOwnerUserFacingMessage)), + "deviceLocationMode": lambda n : setattr(self, 'device_location_mode', n.get_enum_value(AndroidDeviceOwnerLocationMode)), "deviceOwnerLockScreenMessage": lambda n : setattr(self, 'device_owner_lock_screen_message', n.get_object_value(AndroidDeviceOwnerUserFacingMessage)), "enrollmentProfile": lambda n : setattr(self, 'enrollment_profile', n.get_enum_value(AndroidDeviceOwnerEnrollmentProfileType)), "factoryResetBlocked": lambda n : setattr(self, 'factory_reset_blocked', n.get_bool_value()), @@ -502,6 +510,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "securityCommonCriteriaModeEnabled": lambda n : setattr(self, 'security_common_criteria_mode_enabled', n.get_bool_value()), "securityDeveloperSettingsEnabled": lambda n : setattr(self, 'security_developer_settings_enabled', n.get_bool_value()), "securityRequireVerifyApps": lambda n : setattr(self, 'security_require_verify_apps', n.get_bool_value()), + "shareDeviceLocationDisabled": lambda n : setattr(self, 'share_device_location_disabled', n.get_bool_value()), "shortHelpText": lambda n : setattr(self, 'short_help_text', n.get_object_value(AndroidDeviceOwnerUserFacingMessage)), "statusBarBlocked": lambda n : setattr(self, 'status_bar_blocked', n.get_bool_value()), "stayOnModes": lambda n : setattr(self, 'stay_on_modes', n.get_collection_of_enum_values(AndroidDeviceOwnerBatteryPluggedMode)), @@ -564,6 +573,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_bool_value("dataRoamingBlocked", self.data_roaming_blocked) writer.write_bool_value("dateTimeConfigurationBlocked", self.date_time_configuration_blocked) writer.write_object_value("detailedHelpText", self.detailed_help_text) + writer.write_enum_value("deviceLocationMode", self.device_location_mode) writer.write_object_value("deviceOwnerLockScreenMessage", self.device_owner_lock_screen_message) writer.write_enum_value("enrollmentProfile", self.enrollment_profile) writer.write_bool_value("factoryResetBlocked", self.factory_reset_blocked) @@ -653,6 +663,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_bool_value("securityCommonCriteriaModeEnabled", self.security_common_criteria_mode_enabled) writer.write_bool_value("securityDeveloperSettingsEnabled", self.security_developer_settings_enabled) writer.write_bool_value("securityRequireVerifyApps", self.security_require_verify_apps) + writer.write_bool_value("shareDeviceLocationDisabled", self.share_device_location_disabled) writer.write_object_value("shortHelpText", self.short_help_text) writer.write_bool_value("statusBarBlocked", self.status_bar_blocked) writer.write_collection_of_enum_values("stayOnModes", self.stay_on_modes) diff --git a/msgraph_beta/generated/models/android_device_owner_location_mode.py b/msgraph_beta/generated/models/android_device_owner_location_mode.py new file mode 100644 index 00000000000..cac20e89cc9 --- /dev/null +++ b/msgraph_beta/generated/models/android_device_owner_location_mode.py @@ -0,0 +1,10 @@ +from enum import Enum + +class AndroidDeviceOwnerLocationMode(str, Enum): + # No restrictions on the location setting and no specific behavior is set or enforced. This is the default + NotConfigured = "notConfigured", + # Location setting is disabled on the device + Disabled = "disabled", + # Evolvable enumeration sentinel value. Do not use + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/android_for_work_compliance_policy.py b/msgraph_beta/generated/models/android_for_work_compliance_policy.py index bb9d80f1ad4..4fcfb89caf4 100644 --- a/msgraph_beta/generated/models/android_for_work_compliance_policy.py +++ b/msgraph_beta/generated/models/android_for_work_compliance_policy.py @@ -63,7 +63,7 @@ class AndroidForWorkCompliancePolicy(DeviceCompliancePolicy): security_require_up_to_date_security_providers: Optional[bool] = None # Require the Android Verify apps feature is turned on. security_require_verify_apps: Optional[bool] = None - # An enum representing the Android SafetyNet attestation evaluation types. + # An enum representing the Android Play Integrity API evaluation types. security_required_android_safety_net_evaluation_type: Optional[AndroidSafetyNetEvaluationType] = None # Require encryption on Android devices. storage_require_encryption: Optional[bool] = None diff --git a/msgraph_beta/generated/models/android_managed_app_protection.py b/msgraph_beta/generated/models/android_managed_app_protection.py index 8c8cbac5022..2f3de1c9002 100644 --- a/msgraph_beta/generated/models/android_managed_app_protection.py +++ b/msgraph_beta/generated/models/android_managed_app_protection.py @@ -80,6 +80,10 @@ class AndroidManagedAppProtection(TargetedManagedAppProtection): fingerprint_and_biometric_enabled: Optional[bool] = None # Indicates if keyboard restriction is enabled. If enabled list of approved keyboards must be provided as well. keyboards_restricted: Optional[bool] = None + # When a specific app redirection is enforced by protectedMessagingRedirectAppType in an App Protection Policy, this value defines the app name which is allowed to be used. + messaging_redirect_app_display_name: Optional[str] = None + # When a specific app redirection is enforced by protectedMessagingRedirectAppType in an App Protection Policy, this value defines the app package id which is allowed to be used. + messaging_redirect_app_package_id: Optional[str] = None # Minimum version of the Company portal that must be installed on the device or app access will be blocked minimum_required_company_portal_version: Optional[str] = None # Define the oldest required Android security patch level a user can have to gain secure access to the app. @@ -173,6 +177,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "exemptedAppPackages": lambda n : setattr(self, 'exempted_app_packages', n.get_collection_of_object_values(KeyValuePair)), "fingerprintAndBiometricEnabled": lambda n : setattr(self, 'fingerprint_and_biometric_enabled', n.get_bool_value()), "keyboardsRestricted": lambda n : setattr(self, 'keyboards_restricted', n.get_bool_value()), + "messagingRedirectAppDisplayName": lambda n : setattr(self, 'messaging_redirect_app_display_name', n.get_str_value()), + "messagingRedirectAppPackageId": lambda n : setattr(self, 'messaging_redirect_app_package_id', n.get_str_value()), "minimumRequiredCompanyPortalVersion": lambda n : setattr(self, 'minimum_required_company_portal_version', n.get_str_value()), "minimumRequiredPatchVersion": lambda n : setattr(self, 'minimum_required_patch_version', n.get_str_value()), "minimumWarningCompanyPortalVersion": lambda n : setattr(self, 'minimum_warning_company_portal_version', n.get_str_value()), @@ -230,6 +236,8 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_collection_of_object_values("exemptedAppPackages", self.exempted_app_packages) writer.write_bool_value("fingerprintAndBiometricEnabled", self.fingerprint_and_biometric_enabled) writer.write_bool_value("keyboardsRestricted", self.keyboards_restricted) + writer.write_str_value("messagingRedirectAppDisplayName", self.messaging_redirect_app_display_name) + writer.write_str_value("messagingRedirectAppPackageId", self.messaging_redirect_app_package_id) writer.write_str_value("minimumRequiredCompanyPortalVersion", self.minimum_required_company_portal_version) writer.write_str_value("minimumRequiredPatchVersion", self.minimum_required_patch_version) writer.write_str_value("minimumWarningCompanyPortalVersion", self.minimum_warning_company_portal_version) diff --git a/msgraph_beta/generated/models/android_safety_net_evaluation_type.py b/msgraph_beta/generated/models/android_safety_net_evaluation_type.py index bbc8c2ce749..f01b9358ee5 100644 --- a/msgraph_beta/generated/models/android_safety_net_evaluation_type.py +++ b/msgraph_beta/generated/models/android_safety_net_evaluation_type.py @@ -3,6 +3,6 @@ class AndroidSafetyNetEvaluationType(str, Enum): # Default value. Typical measurements and reference data were used. Basic = "basic", - # Hardware-backed security features (such as Key Attestation) were used. + # Strong Integrity checks (such as a hardware-backed proof of boot integrity) were used. HardwareBacked = "hardwareBacked", diff --git a/msgraph_beta/generated/models/android_work_profile_compliance_policy.py b/msgraph_beta/generated/models/android_work_profile_compliance_policy.py index d0e4c1dc629..ee1e5b9a002 100644 --- a/msgraph_beta/generated/models/android_work_profile_compliance_policy.py +++ b/msgraph_beta/generated/models/android_work_profile_compliance_policy.py @@ -65,7 +65,7 @@ class AndroidWorkProfileCompliancePolicy(DeviceCompliancePolicy): security_require_up_to_date_security_providers: Optional[bool] = None # Require the Android Verify apps feature is turned on. security_require_verify_apps: Optional[bool] = None - # An enum representing the Android SafetyNet attestation evaluation types. + # An enum representing the Android Play Integrity API evaluation types. security_required_android_safety_net_evaluation_type: Optional[AndroidSafetyNetEvaluationType] = None # Require encryption on Android devices. storage_require_encryption: Optional[bool] = None diff --git a/msgraph_beta/generated/models/aosp_device_owner_wi_fi_configuration.py b/msgraph_beta/generated/models/aosp_device_owner_wi_fi_configuration.py index cd63adf045b..84a48afb099 100644 --- a/msgraph_beta/generated/models/aosp_device_owner_wi_fi_configuration.py +++ b/msgraph_beta/generated/models/aosp_device_owner_wi_fi_configuration.py @@ -7,6 +7,7 @@ from .aosp_device_owner_enterprise_wi_fi_configuration import AospDeviceOwnerEnterpriseWiFiConfiguration from .aosp_device_owner_wi_fi_security_type import AospDeviceOwnerWiFiSecurityType from .device_configuration import DeviceConfiguration + from .wi_fi_proxy_setting import WiFiProxySetting from .device_configuration import DeviceConfiguration @@ -27,6 +28,16 @@ class AospDeviceOwnerWiFiConfiguration(DeviceConfiguration): pre_shared_key: Optional[str] = None # This is the pre-shared key for WPA Personal Wi-Fi network. pre_shared_key_is_set: Optional[bool] = None + # Specify the proxy server configuration script URL. + proxy_automatic_configuration_url: Optional[str] = None + # List of hosts to exclude using the proxy on connections for. These hosts can use wildcards such as *.example.com. + proxy_exclusion_list: Optional[List[str]] = None + # Specify the proxy server IP address. Both IPv4 and IPv6 addresses are supported. For example: 192.168.1.1. + proxy_manual_address: Optional[str] = None + # Specify the proxy server port. + proxy_manual_port: Optional[int] = None + # Wi-Fi Proxy Settings. + proxy_setting: Optional[WiFiProxySetting] = None # This is the name of the Wi-Fi network that is broadcast to all devices. ssid: Optional[str] = None # Wi-Fi Security Types for AOSP Device Owner. @@ -59,10 +70,12 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .aosp_device_owner_enterprise_wi_fi_configuration import AospDeviceOwnerEnterpriseWiFiConfiguration from .aosp_device_owner_wi_fi_security_type import AospDeviceOwnerWiFiSecurityType from .device_configuration import DeviceConfiguration + from .wi_fi_proxy_setting import WiFiProxySetting from .aosp_device_owner_enterprise_wi_fi_configuration import AospDeviceOwnerEnterpriseWiFiConfiguration from .aosp_device_owner_wi_fi_security_type import AospDeviceOwnerWiFiSecurityType from .device_configuration import DeviceConfiguration + from .wi_fi_proxy_setting import WiFiProxySetting fields: Dict[str, Callable[[Any], None]] = { "connectAutomatically": lambda n : setattr(self, 'connect_automatically', n.get_bool_value()), @@ -70,6 +83,11 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "networkName": lambda n : setattr(self, 'network_name', n.get_str_value()), "preSharedKey": lambda n : setattr(self, 'pre_shared_key', n.get_str_value()), "preSharedKeyIsSet": lambda n : setattr(self, 'pre_shared_key_is_set', n.get_bool_value()), + "proxyAutomaticConfigurationUrl": lambda n : setattr(self, 'proxy_automatic_configuration_url', n.get_str_value()), + "proxyExclusionList": lambda n : setattr(self, 'proxy_exclusion_list', n.get_collection_of_primitive_values(str)), + "proxyManualAddress": lambda n : setattr(self, 'proxy_manual_address', n.get_str_value()), + "proxyManualPort": lambda n : setattr(self, 'proxy_manual_port', n.get_int_value()), + "proxySetting": lambda n : setattr(self, 'proxy_setting', n.get_enum_value(WiFiProxySetting)), "ssid": lambda n : setattr(self, 'ssid', n.get_str_value()), "wiFiSecurityType": lambda n : setattr(self, 'wi_fi_security_type', n.get_enum_value(AospDeviceOwnerWiFiSecurityType)), } @@ -91,6 +109,11 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("networkName", self.network_name) writer.write_str_value("preSharedKey", self.pre_shared_key) writer.write_bool_value("preSharedKeyIsSet", self.pre_shared_key_is_set) + writer.write_str_value("proxyAutomaticConfigurationUrl", self.proxy_automatic_configuration_url) + writer.write_collection_of_primitive_values("proxyExclusionList", self.proxy_exclusion_list) + writer.write_str_value("proxyManualAddress", self.proxy_manual_address) + writer.write_int_value("proxyManualPort", self.proxy_manual_port) + writer.write_enum_value("proxySetting", self.proxy_setting) writer.write_str_value("ssid", self.ssid) writer.write_enum_value("wiFiSecurityType", self.wi_fi_security_type) diff --git a/msgraph_beta/generated/models/application_detail.py b/msgraph_beta/generated/models/application_detail.py new file mode 100644 index 00000000000..925b9795c93 --- /dev/null +++ b/msgraph_beta/generated/models/application_detail.py @@ -0,0 +1,84 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class ApplicationDetail(AdditionalDataHolder, BackedModel, Parsable): + """ + The details of the application which the user has requested to elevate + """ + # 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 path of the file in the request for elevation, for example, %programfiles%/git/cmd + file_description: Optional[str] = None + # The SHA256 hash of the file in the request for elevation, for example, '18ee24150dcb1d96752a4d6dd0f20dfd8ba8c38527e40aa8509b7adecf78f9c6' + file_hash: Optional[str] = None + # The name of the file in the request for elevation, for example, git.exe + file_name: Optional[str] = None + # The path of the file in the request for elevation, for example, %programfiles%/git/cmd + file_path: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + # The internal name of the application for which elevation request has been made. For example, 'git' + product_internal_name: Optional[str] = None + # The product name of the application for which elevation request has been made. For example, 'Git' + product_name: Optional[str] = None + # The product version of the application for which elevation request has been made. For example, '2.40.1.0' + product_version: Optional[str] = None + # The certificate issuer name of the certificate used to sign the application, for example, 'Sectigo Public Code Signing CA R36' + publisher_name: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> ApplicationDetail: + """ + 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: ApplicationDetail + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return ApplicationDetail() + + 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]] = { + "fileDescription": lambda n : setattr(self, 'file_description', n.get_str_value()), + "fileHash": lambda n : setattr(self, 'file_hash', n.get_str_value()), + "fileName": lambda n : setattr(self, 'file_name', n.get_str_value()), + "filePath": lambda n : setattr(self, 'file_path', n.get_str_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "productInternalName": lambda n : setattr(self, 'product_internal_name', n.get_str_value()), + "productName": lambda n : setattr(self, 'product_name', n.get_str_value()), + "productVersion": lambda n : setattr(self, 'product_version', n.get_str_value()), + "publisherName": lambda n : setattr(self, 'publisher_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 not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("fileDescription", self.file_description) + writer.write_str_value("fileHash", self.file_hash) + writer.write_str_value("fileName", self.file_name) + writer.write_str_value("filePath", self.file_path) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_str_value("productInternalName", self.product_internal_name) + writer.write_str_value("productName", self.product_name) + writer.write_str_value("productVersion", self.product_version) + writer.write_str_value("publisherName", self.publisher_name) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/applied_conditional_access_policy.py b/msgraph_beta/generated/models/applied_conditional_access_policy.py index 2baf7dd6a32..9e7f7d7a422 100644 --- a/msgraph_beta/generated/models/applied_conditional_access_policy.py +++ b/msgraph_beta/generated/models/applied_conditional_access_policy.py @@ -20,9 +20,9 @@ class AppliedConditionalAccessPolicy(AdditionalDataHolder, BackedModel, Parsable # The custom authentication strength enforced in a Conditional Access policy. authentication_strength: Optional[AuthenticationStrength] = None # Refers to the conditional access policy conditions that aren't satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk . You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. conditionalAccessConditions is a multi-valued enumeration and the property can contain multiple values in a comma-separated list. - conditions_not_satisfied: Optional[List[ConditionalAccessConditions]] = None + conditions_not_satisfied: Optional[ConditionalAccessConditions] = None # Refers to the conditional access policy conditions that are satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. You must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. conditionalAccessConditions is a multi-valued enumeration and the property can contain multiple values in a comma-separated list. - conditions_satisfied: Optional[List[ConditionalAccessConditions]] = None + conditions_satisfied: Optional[ConditionalAccessConditions] = None # Name of the conditional access policy. display_name: Optional[str] = None # Refers to the grant controls enforced by the conditional access policy (example: 'Require multi-factor authentication'). @@ -93,8 +93,8 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") writer.write_object_value("authenticationStrength", self.authentication_strength) - writer.write_collection_of_enum_values("conditionsNotSatisfied", self.conditions_not_satisfied) - writer.write_collection_of_enum_values("conditionsSatisfied", self.conditions_satisfied) + writer.write_enum_value("conditionsNotSatisfied", self.conditions_not_satisfied) + writer.write_enum_value("conditionsSatisfied", self.conditions_satisfied) writer.write_str_value("displayName", self.display_name) writer.write_collection_of_primitive_values("enforcedGrantControls", self.enforced_grant_controls) writer.write_collection_of_primitive_values("enforcedSessionControls", self.enforced_session_controls) diff --git a/msgraph_beta/generated/models/apps_installation_options_for_mac.py b/msgraph_beta/generated/models/apps_installation_options_for_mac.py new file mode 100644 index 00000000000..8ae82e464ac --- /dev/null +++ b/msgraph_beta/generated/models/apps_installation_options_for_mac.py @@ -0,0 +1,57 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class AppsInstallationOptionsForMac(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) + # Specifies whether users can install Microsoft 365 apps on their MAC devices. The default value is true. + is_microsoft365_apps_enabled: Optional[bool] = None + # Specifies whether users can install Skype for Business on their MAC devices running OS X El Capitan 10.11 or later. The default value is true. + is_skype_for_business_enabled: Optional[bool] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> AppsInstallationOptionsForMac: + """ + 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: AppsInstallationOptionsForMac + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return AppsInstallationOptionsForMac() + + 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]] = { + "isMicrosoft365AppsEnabled": lambda n : setattr(self, 'is_microsoft365_apps_enabled', n.get_bool_value()), + "isSkypeForBusinessEnabled": lambda n : setattr(self, 'is_skype_for_business_enabled', 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_bool_value("isMicrosoft365AppsEnabled", self.is_microsoft365_apps_enabled) + writer.write_bool_value("isSkypeForBusinessEnabled", self.is_skype_for_business_enabled) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/apps_installation_options_for_windows.py b/msgraph_beta/generated/models/apps_installation_options_for_windows.py new file mode 100644 index 00000000000..6b177630f0f --- /dev/null +++ b/msgraph_beta/generated/models/apps_installation_options_for_windows.py @@ -0,0 +1,65 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class AppsInstallationOptionsForWindows(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) + # Specifies whether users can install Microsoft 365 apps, including Skype for Business, on their Windows devices. The default value is true. + is_microsoft365_apps_enabled: Optional[bool] = None + # Specifies whether users can install Microsoft Project on their Windows devices. The default value is true. + is_project_enabled: Optional[bool] = None + # Specifies whether users can install Skype for Business (standalone) on their Windows devices. The default value is true. + is_skype_for_business_enabled: Optional[bool] = None + # Specifies whether users can install Visio on their Windows devices. The default value is true. + is_visio_enabled: Optional[bool] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> AppsInstallationOptionsForWindows: + """ + 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: AppsInstallationOptionsForWindows + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return AppsInstallationOptionsForWindows() + + 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]] = { + "isMicrosoft365AppsEnabled": lambda n : setattr(self, 'is_microsoft365_apps_enabled', n.get_bool_value()), + "isProjectEnabled": lambda n : setattr(self, 'is_project_enabled', n.get_bool_value()), + "isSkypeForBusinessEnabled": lambda n : setattr(self, 'is_skype_for_business_enabled', n.get_bool_value()), + "isVisioEnabled": lambda n : setattr(self, 'is_visio_enabled', 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_bool_value("isMicrosoft365AppsEnabled", self.is_microsoft365_apps_enabled) + writer.write_bool_value("isProjectEnabled", self.is_project_enabled) + writer.write_bool_value("isSkypeForBusinessEnabled", self.is_skype_for_business_enabled) + writer.write_bool_value("isVisioEnabled", self.is_visio_enabled) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/apps_update_channel_type.py b/msgraph_beta/generated/models/apps_update_channel_type.py new file mode 100644 index 00000000000..c1d0c46404f --- /dev/null +++ b/msgraph_beta/generated/models/apps_update_channel_type.py @@ -0,0 +1,8 @@ +from enum import Enum + +class AppsUpdateChannelType(str, Enum): + Current = "current", + MonthlyEnterprise = "monthlyEnterprise", + SemiAnnual = "semiAnnual", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/assigned_compute_instance_details.py b/msgraph_beta/generated/models/assigned_compute_instance_details.py index 8c8ef18c136..db4bb0574b3 100644 --- a/msgraph_beta/generated/models/assigned_compute_instance_details.py +++ b/msgraph_beta/generated/models/assigned_compute_instance_details.py @@ -11,9 +11,9 @@ @dataclass class AssignedComputeInstanceDetails(Entity): - # The accessedStorageBuckets property + # Represents a set of S3 buckets accessed by this EC2 instance. accessed_storage_buckets: Optional[List[AuthorizationSystemResource]] = None - # The assignedComputeInstance property + # assigned EC2 instance. assigned_compute_instance: Optional[AuthorizationSystemResource] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/attendee_notification_info.py b/msgraph_beta/generated/models/attendee_notification_info.py new file mode 100644 index 00000000000..dbbefd11e23 --- /dev/null +++ b/msgraph_beta/generated/models/attendee_notification_info.py @@ -0,0 +1,57 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class AttendeeNotificationInfo(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 + # The phoneNumber property + phone_number: Optional[str] = None + # The timeZone property + time_zone: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> AttendeeNotificationInfo: + """ + 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: AttendeeNotificationInfo + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return AttendeeNotificationInfo() + + 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]] = { + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "phoneNumber": lambda n : setattr(self, 'phone_number', n.get_str_value()), + "timeZone": lambda n : setattr(self, 'time_zone', 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("@odata.type", self.odata_type) + writer.write_str_value("phoneNumber", self.phone_number) + writer.write_str_value("timeZone", self.time_zone) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/audit_log_root.py b/msgraph_beta/generated/models/audit_log_root.py index fab5a9fbb29..c4a08329855 100644 --- a/msgraph_beta/generated/models/audit_log_root.py +++ b/msgraph_beta/generated/models/audit_log_root.py @@ -17,7 +17,7 @@ class AuditLogRoot(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 customSecurityAttributeAudits property + # Represents a custom security attribute audit log. custom_security_attribute_audits: Optional[List[CustomSecurityAttributeAudit]] = None # The directoryAudits property directory_audits: Optional[List[DirectoryAudit]] = None @@ -25,7 +25,7 @@ class AuditLogRoot(AdditionalDataHolder, BackedModel, Parsable): directory_provisioning: Optional[List[ProvisioningObjectSummary]] = None # The OdataType property odata_type: Optional[str] = None - # The provisioning property + # Represents an action performed by the Microsoft Entra provisioning service and its associated properties. provisioning: Optional[List[ProvisioningObjectSummary]] = None # The signIns property sign_ins: Optional[List[SignIn]] = None diff --git a/msgraph_beta/generated/models/authentication.py b/msgraph_beta/generated/models/authentication.py index c9de74dda12..2cd3fb004bc 100644 --- a/msgraph_beta/generated/models/authentication.py +++ b/msgraph_beta/generated/models/authentication.py @@ -43,7 +43,7 @@ class Authentication(Entity): phone_methods: Optional[List[PhoneAuthenticationMethod]] = None # The platformCredentialMethods property platform_credential_methods: Optional[List[PlatformCredentialAuthenticationMethod]] = None - # The settings and preferences for to the sign-in experience of a user. + # The settings and preferences for to the sign-in experience of a user. Use this property to configure the user's default multifactor authentication (MFA) method. sign_in_preferences: Optional[SignInPreferences] = None # The softwareOathMethods property software_oath_methods: Optional[List[SoftwareOathAuthenticationMethod]] = None diff --git a/msgraph_beta/generated/models/authentication_behaviors.py b/msgraph_beta/generated/models/authentication_behaviors.py index d2942b13821..f943929ed99 100644 --- a/msgraph_beta/generated/models/authentication_behaviors.py +++ b/msgraph_beta/generated/models/authentication_behaviors.py @@ -11,6 +11,8 @@ class AuthenticationBehaviors(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 blockAzureADGraphAccess property + block_azure_a_d_graph_access: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None # Removes the email claim from tokens sent to an application when the email address's domain can't be verified. @@ -35,6 +37,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: 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()), "@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()), @@ -49,6 +52,7 @@ def serialize(self,writer: SerializationWriter) -> None: """ if not writer: raise TypeError("writer cannot be null.") + writer.write_bool_value("blockAzureADGraphAccess", self.block_azure_a_d_graph_access) 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/authentication_combination_configuration.py b/msgraph_beta/generated/models/authentication_combination_configuration.py index 332112085e2..bc9b4b4bcdb 100644 --- a/msgraph_beta/generated/models/authentication_combination_configuration.py +++ b/msgraph_beta/generated/models/authentication_combination_configuration.py @@ -7,6 +7,7 @@ from .authentication_method_modes import AuthenticationMethodModes from .entity import Entity from .fido2_combination_configuration import Fido2CombinationConfiguration + from .x509_certificate_combination_configuration import X509CertificateCombinationConfiguration from .entity import Entity @@ -34,6 +35,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> A from .fido2_combination_configuration import Fido2CombinationConfiguration return Fido2CombinationConfiguration() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.x509CertificateCombinationConfiguration".casefold(): + from .x509_certificate_combination_configuration import X509CertificateCombinationConfiguration + + return X509CertificateCombinationConfiguration() return AuthenticationCombinationConfiguration() def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: @@ -44,10 +49,12 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .authentication_method_modes import AuthenticationMethodModes from .entity import Entity from .fido2_combination_configuration import Fido2CombinationConfiguration + from .x509_certificate_combination_configuration import X509CertificateCombinationConfiguration from .authentication_method_modes import AuthenticationMethodModes from .entity import Entity from .fido2_combination_configuration import Fido2CombinationConfiguration + from .x509_certificate_combination_configuration import X509CertificateCombinationConfiguration fields: Dict[str, Callable[[Any], None]] = { "appliesToCombinations": lambda n : setattr(self, 'applies_to_combinations', n.get_collection_of_enum_values(AuthenticationMethodModes)), diff --git a/msgraph_beta/generated/models/authentication_condition_application_collection_response.py b/msgraph_beta/generated/models/authentication_condition_application_collection_response.py new file mode 100644 index 00000000000..7fc7523cf7d --- /dev/null +++ b/msgraph_beta/generated/models/authentication_condition_application_collection_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .authentication_condition_application import AuthenticationConditionApplication + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class AuthenticationConditionApplicationCollectionResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[AuthenticationConditionApplication]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> AuthenticationConditionApplicationCollectionResponse: + """ + 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: AuthenticationConditionApplicationCollectionResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return AuthenticationConditionApplicationCollectionResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .authentication_condition_application import AuthenticationConditionApplication + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + from .authentication_condition_application import AuthenticationConditionApplication + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(AuthenticationConditionApplication)), + } + 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 not writer: + 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/authentication_event_listener.py b/msgraph_beta/generated/models/authentication_event_listener.py index 46a8bce30b0..288c97f1218 100644 --- a/msgraph_beta/generated/models/authentication_event_listener.py +++ b/msgraph_beta/generated/models/authentication_event_listener.py @@ -7,6 +7,8 @@ from .authentication_conditions import AuthenticationConditions from .entity import Entity from .on_attribute_collection_listener import OnAttributeCollectionListener + from .on_attribute_collection_start_listener import OnAttributeCollectionStartListener + from .on_attribute_collection_submit_listener import OnAttributeCollectionSubmitListener from .on_authentication_method_load_start_listener import OnAuthenticationMethodLoadStartListener from .on_interactive_auth_flow_start_listener import OnInteractiveAuthFlowStartListener from .on_token_issuance_start_listener import OnTokenIssuanceStartListener @@ -42,6 +44,14 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> A from .on_attribute_collection_listener import OnAttributeCollectionListener return OnAttributeCollectionListener() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.onAttributeCollectionStartListener".casefold(): + from .on_attribute_collection_start_listener import OnAttributeCollectionStartListener + + return OnAttributeCollectionStartListener() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.onAttributeCollectionSubmitListener".casefold(): + from .on_attribute_collection_submit_listener import OnAttributeCollectionSubmitListener + + return OnAttributeCollectionSubmitListener() if mapping_value and mapping_value.casefold() == "#microsoft.graph.onAuthenticationMethodLoadStartListener".casefold(): from .on_authentication_method_load_start_listener import OnAuthenticationMethodLoadStartListener @@ -68,6 +78,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .authentication_conditions import AuthenticationConditions from .entity import Entity from .on_attribute_collection_listener import OnAttributeCollectionListener + from .on_attribute_collection_start_listener import OnAttributeCollectionStartListener + from .on_attribute_collection_submit_listener import OnAttributeCollectionSubmitListener from .on_authentication_method_load_start_listener import OnAuthenticationMethodLoadStartListener from .on_interactive_auth_flow_start_listener import OnInteractiveAuthFlowStartListener from .on_token_issuance_start_listener import OnTokenIssuanceStartListener @@ -76,6 +88,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .authentication_conditions import AuthenticationConditions from .entity import Entity from .on_attribute_collection_listener import OnAttributeCollectionListener + from .on_attribute_collection_start_listener import OnAttributeCollectionStartListener + from .on_attribute_collection_submit_listener import OnAttributeCollectionSubmitListener from .on_authentication_method_load_start_listener import OnAuthenticationMethodLoadStartListener from .on_interactive_auth_flow_start_listener import OnInteractiveAuthFlowStartListener from .on_token_issuance_start_listener import OnTokenIssuanceStartListener diff --git a/msgraph_beta/generated/models/authentications_metric.py b/msgraph_beta/generated/models/authentications_metric.py index f4ab5aed471..a24c1cc7fb7 100644 --- a/msgraph_beta/generated/models/authentications_metric.py +++ b/msgraph_beta/generated/models/authentications_metric.py @@ -11,19 +11,19 @@ @dataclass class AuthenticationsMetric(Entity): - # The appid property + # The ID of the Microsoft Entra application. Supports $filter (eq). appid: Optional[str] = None - # The attemptsCount property + # The number of authentication requests made in the specified period. Supports $filter (eq). attempts_count: Optional[int] = None - # The country property + # The location where the customers authenticated from. Supports $filter (eq). country: Optional[str] = None - # The factDate property + # The date of the user insight. fact_date: Optional[datetime.date] = None # The OdataType property odata_type: Optional[str] = None - # The os property + # The platform for the device that the customers used. Supports $filter (eq). os: Optional[str] = None - # The successCount property + # Number of successful authentication requests. Supports $filter (eq). success_count: Optional[int] = None @staticmethod diff --git a/msgraph_beta/generated/models/authorization_system.py b/msgraph_beta/generated/models/authorization_system.py index 538dd5c95bd..cfb4fa56d36 100644 --- a/msgraph_beta/generated/models/authorization_system.py +++ b/msgraph_beta/generated/models/authorization_system.py @@ -14,13 +14,13 @@ @dataclass class AuthorizationSystem(Entity): - # The authorizationSystemId property + # ID of the authorization system retrieved from the customer cloud environment. Supports $filter(eq, contains) and $orderBy. authorization_system_id: Optional[str] = None - # The authorizationSystemName property + # Name of the authorization system detected after onboarding. Supports $filter(eq,contains) and $orderBy. authorization_system_name: Optional[str] = None - # The authorizationSystemType property + # The type of authorization system. Can be gcp, azure, or aws. Supports $filter(eq). authorization_system_type: Optional[str] = None - # The dataCollectionInfo property + # Defines how and whether Permissions Management collects data from the onboarded authorization system. Supports $filter (eq) as follows: $filter=dataCollectionInfo/entitlements/permissionsModificationCapability and $filter=dataCollectionInfo/entitlements/status. data_collection_info: Optional[DataCollectionInfo] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/authorization_system_identity.py b/msgraph_beta/generated/models/authorization_system_identity.py index f8d914335e7..5d82b43ebf1 100644 --- a/msgraph_beta/generated/models/authorization_system_identity.py +++ b/msgraph_beta/generated/models/authorization_system_identity.py @@ -30,15 +30,15 @@ @dataclass class AuthorizationSystemIdentity(Entity): - # The authorizationSystem property + # Navigation to the authorizationSystem object authorization_system: Optional[AuthorizationSystem] = None - # The displayName property + # The name of the identity. Read-only. Supports $filter and (eq,contains). display_name: Optional[str] = None - # The externalId property + # Unique ID of the identity within the external system. Read-only. external_id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The source property + # Represents details of the source of the identity. source: Optional[AuthorizationSystemIdentitySource] = None @staticmethod diff --git a/msgraph_beta/generated/models/authorization_system_identity_source.py b/msgraph_beta/generated/models/authorization_system_identity_source.py index 5d496e8bf23..9a786695bc1 100644 --- a/msgraph_beta/generated/models/authorization_system_identity_source.py +++ b/msgraph_beta/generated/models/authorization_system_identity_source.py @@ -18,7 +18,7 @@ class AuthorizationSystemIdentitySource(AdditionalDataHolder, BackedModel, Parsa # 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 identityProviderType property + # Type of identity provider. Read-only. identity_provider_type: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/authorization_system_info.py b/msgraph_beta/generated/models/authorization_system_info.py index ac031247990..9895a6f119f 100644 --- a/msgraph_beta/generated/models/authorization_system_info.py +++ b/msgraph_beta/generated/models/authorization_system_info.py @@ -14,11 +14,11 @@ class AuthorizationSystemInfo(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 authorizationSystemType property + # The type of authorization system.The possible values are: azure, gcp, aws, unknownFutureValue. authorization_system_type: Optional[AuthorizationSystemType] = None - # The displayName property + # Display name for the authorization system. display_name: Optional[str] = None - # The id property + # Unique identifier for the authorization system. id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/authorization_system_resource.py b/msgraph_beta/generated/models/authorization_system_resource.py index e9a8d0932fb..5fbb5516548 100644 --- a/msgraph_beta/generated/models/authorization_system_resource.py +++ b/msgraph_beta/generated/models/authorization_system_resource.py @@ -14,15 +14,15 @@ @dataclass class AuthorizationSystemResource(Entity): - # The authorizationSystem property + # The authorization system that the resource exists in. authorization_system: Optional[AuthorizationSystem] = None - # The displayName property + # The name of the resource. Read-only. Supports $filter (eq,contains). display_name: Optional[str] = None - # The externalId property + # The ID of the resource as defined by the authorization system provider. Read-only. Supports $filter (eq). external_id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The resourceType property + # The type of the resource. Read-only. Supports $filter (eq). resource_type: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/authorization_system_type_action.py b/msgraph_beta/generated/models/authorization_system_type_action.py index d1867bf1c43..f86ec7775b4 100644 --- a/msgraph_beta/generated/models/authorization_system_type_action.py +++ b/msgraph_beta/generated/models/authorization_system_type_action.py @@ -15,13 +15,13 @@ @dataclass class AuthorizationSystemTypeAction(Entity): - # The actionType property + # The type of action allowed in the authorization system's service. The possible values are: delete, read, unknownFutureValue. Supports $filter and (eq). action_type: Optional[AuthorizationSystemActionType] = None - # The externalId property + # The display name of an action. Read-only. Supports $filter and (eq). external_id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The resourceTypes property + # The resource types in the authorization system's service where the action can be performed. Supports $filter and (eq). resource_types: Optional[List[str]] = None # The severity property severity: Optional[AuthorizationSystemActionSeverity] = None diff --git a/msgraph_beta/generated/models/authorization_system_type_service.py b/msgraph_beta/generated/models/authorization_system_type_service.py index d487f81ff8b..7c9b55c5226 100644 --- a/msgraph_beta/generated/models/authorization_system_type_service.py +++ b/msgraph_beta/generated/models/authorization_system_type_service.py @@ -11,7 +11,7 @@ @dataclass class AuthorizationSystemTypeService(Entity): - # The actions property + # List of actions for the service in an authorization system that is onboarded to Permissions Management. actions: Optional[List[AuthorizationSystemTypeAction]] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/aws_access_key.py b/msgraph_beta/generated/models/aws_access_key.py index e0ecd72858e..be71a58295f 100644 --- a/msgraph_beta/generated/models/aws_access_key.py +++ b/msgraph_beta/generated/models/aws_access_key.py @@ -13,7 +13,7 @@ class AwsAccessKey(AwsIdentity): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.awsAccessKey" - # The owner property + # Represents the owner of the access key. owner: Optional[AwsUser] = None @staticmethod diff --git a/msgraph_beta/generated/models/aws_actions_permissions_definition_action.py b/msgraph_beta/generated/models/aws_actions_permissions_definition_action.py index 4e5285c9f45..27157b4a2da 100644 --- a/msgraph_beta/generated/models/aws_actions_permissions_definition_action.py +++ b/msgraph_beta/generated/models/aws_actions_permissions_definition_action.py @@ -13,7 +13,7 @@ class AwsActionsPermissionsDefinitionAction(AwsPermissionsDefinitionAction): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.awsActionsPermissionsDefinitionAction" - # The assignToRoleId property + # Defines AWS statements. assign_to_role_id: Optional[str] = None # The statements property statements: Optional[List[AwsStatement]] = None diff --git a/msgraph_beta/generated/models/aws_authorization_system.py b/msgraph_beta/generated/models/aws_authorization_system.py index 28f166f96d8..db74ff97c59 100644 --- a/msgraph_beta/generated/models/aws_authorization_system.py +++ b/msgraph_beta/generated/models/aws_authorization_system.py @@ -17,15 +17,15 @@ class AwsAuthorizationSystem(AuthorizationSystem): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.awsAuthorizationSystem" - # The actions property + # List of actions for service in authorization system. actions: Optional[List[AwsAuthorizationSystemTypeAction]] = None - # The associatedIdentities property + # Identities in the authorization system. associated_identities: Optional[AwsAssociatedIdentities] = None - # The policies property + # Policies associated with the AWS authorization system type. policies: Optional[List[AwsPolicy]] = None - # The resources property + # Resources associated with the authorization system type. resources: Optional[List[AwsAuthorizationSystemResource]] = None - # The services property + # Services associated with the authorization system type. services: Optional[List[AuthorizationSystemTypeService]] = None @staticmethod diff --git a/msgraph_beta/generated/models/aws_authorization_system_resource.py b/msgraph_beta/generated/models/aws_authorization_system_resource.py index dddfbdd0d4b..566ac015765 100644 --- a/msgraph_beta/generated/models/aws_authorization_system_resource.py +++ b/msgraph_beta/generated/models/aws_authorization_system_resource.py @@ -13,7 +13,7 @@ class AwsAuthorizationSystemResource(AuthorizationSystemResource): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.awsAuthorizationSystemResource" - # The service property + # The service associated with the resource in an AWS authorization system. This is auto-expanded. service: Optional[AuthorizationSystemTypeService] = None @staticmethod diff --git a/msgraph_beta/generated/models/aws_ec2_instance.py b/msgraph_beta/generated/models/aws_ec2_instance.py index 0fa2f66a38e..c696dab25c7 100644 --- a/msgraph_beta/generated/models/aws_ec2_instance.py +++ b/msgraph_beta/generated/models/aws_ec2_instance.py @@ -13,7 +13,7 @@ class AwsEc2Instance(AwsIdentity): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.awsEc2Instance" - # The resource property + # Represents the resources in an authorization system. resource: Optional[AwsAuthorizationSystemResource] = None @staticmethod diff --git a/msgraph_beta/generated/models/aws_external_system_access_finding.py b/msgraph_beta/generated/models/aws_external_system_access_finding.py index 89b85f98f4a..f905d81ccb9 100644 --- a/msgraph_beta/generated/models/aws_external_system_access_finding.py +++ b/msgraph_beta/generated/models/aws_external_system_access_finding.py @@ -21,9 +21,9 @@ class AwsExternalSystemAccessFinding(Finding): odata_type: Optional[str] = None # The systemWithAccess property system_with_access: Optional[AuthorizationSystemInfo] = None - # The trustedIdentityCount property + # The number of identities in the external system that are trusted, if not all. Supports $orderby. trusted_identity_count: Optional[int] = None - # The trustsAllIdentities property + # Flag that determines if all identities in the external system are trusted, or only a subset. trusts_all_identities: Optional[bool] = None @staticmethod diff --git a/msgraph_beta/generated/models/aws_external_system_access_role_finding.py b/msgraph_beta/generated/models/aws_external_system_access_role_finding.py index aa27ca1b9ab..f846d66be61 100644 --- a/msgraph_beta/generated/models/aws_external_system_access_role_finding.py +++ b/msgraph_beta/generated/models/aws_external_system_access_role_finding.py @@ -12,7 +12,7 @@ @dataclass class AwsExternalSystemAccessRoleFinding(Finding): - # The accessibleSystemIds property + # The IDs of the accounts that this role is able to access. accessible_system_ids: Optional[List[str]] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/aws_lambda.py b/msgraph_beta/generated/models/aws_lambda.py index bac466c68dc..94628b1e87a 100644 --- a/msgraph_beta/generated/models/aws_lambda.py +++ b/msgraph_beta/generated/models/aws_lambda.py @@ -13,7 +13,7 @@ class AwsLambda(AwsIdentity): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.awsLambda" - # The resource property + # Represents the resources in an authorization system.. resource: Optional[AwsAuthorizationSystemResource] = None @staticmethod diff --git a/msgraph_beta/generated/models/aws_policy.py b/msgraph_beta/generated/models/aws_policy.py index 3262a7af22a..937496a34fa 100644 --- a/msgraph_beta/generated/models/aws_policy.py +++ b/msgraph_beta/generated/models/aws_policy.py @@ -13,9 +13,9 @@ class AwsPolicy(Entity): # The awsPolicyType property aws_policy_type: Optional[AwsPolicyType] = None - # The displayName property + # The display name for the AWS policy. Read-only. Supports $filter and (eq,contains). display_name: Optional[str] = None - # The externalId property + # The base64 encoded identifier for the AWS policy as defined by AWS. Read-only. Alternate key. Supports $filter and eq. external_id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/aws_policy_permissions_definition_action.py b/msgraph_beta/generated/models/aws_policy_permissions_definition_action.py index 1fe6a7f4312..1e8071577f5 100644 --- a/msgraph_beta/generated/models/aws_policy_permissions_definition_action.py +++ b/msgraph_beta/generated/models/aws_policy_permissions_definition_action.py @@ -13,7 +13,7 @@ class AwsPolicyPermissionsDefinitionAction(AwsPermissionsDefinitionAction): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.awsPolicyPermissionsDefinitionAction" - # The assignToRoleId property + # ID for the role. assign_to_role_id: Optional[str] = None # The policies property policies: Optional[List[PermissionsDefinitionAwsPolicy]] = None diff --git a/msgraph_beta/generated/models/aws_source.py b/msgraph_beta/generated/models/aws_source.py index ce3fed9ca3c..e4176d865a8 100644 --- a/msgraph_beta/generated/models/aws_source.py +++ b/msgraph_beta/generated/models/aws_source.py @@ -12,7 +12,7 @@ class AwsSource(AuthorizationSystemIdentitySource): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.awsSource" - # The accountId property + # AWS account ID. account_id: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/aws_statement.py b/msgraph_beta/generated/models/aws_statement.py index e2c466fba6a..5c642620a01 100644 --- a/msgraph_beta/generated/models/aws_statement.py +++ b/msgraph_beta/generated/models/aws_statement.py @@ -15,21 +15,21 @@ class AwsStatement(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 actions property + # The AWS actions. actions: Optional[List[str]] = None - # The condition property + # The AWS conditions associated with the statement. condition: Optional[AwsCondition] = None # The effect property effect: Optional[AwsStatementEffect] = None - # The notActions property + # AWS Not Actions not_actions: Optional[List[str]] = None - # The notResources property + # AWS Not Resources not_resources: Optional[List[str]] = None # The OdataType property odata_type: Optional[str] = None - # The resources property + # The AWS resources associated with the statement. resources: Optional[List[str]] = None - # The statementId property + # The ID of the AWS statement. statement_id: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/aws_user.py b/msgraph_beta/generated/models/aws_user.py index c1cf390e1f6..63b4232e80f 100644 --- a/msgraph_beta/generated/models/aws_user.py +++ b/msgraph_beta/generated/models/aws_user.py @@ -13,7 +13,7 @@ class AwsUser(AwsIdentity): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.awsUser" - # The assumableRoles property + # Roles assumed by the user. assumable_roles: Optional[List[AwsRole]] = None @staticmethod diff --git a/msgraph_beta/generated/models/azure_ad_join_policy.py b/msgraph_beta/generated/models/azure_a_d_join_policy.py similarity index 54% rename from msgraph_beta/generated/models/azure_ad_join_policy.py rename to msgraph_beta/generated/models/azure_a_d_join_policy.py index d2532eb2d41..8affe40be55 100644 --- a/msgraph_beta/generated/models/azure_ad_join_policy.py +++ b/msgraph_beta/generated/models/azure_a_d_join_policy.py @@ -5,50 +5,44 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .policy_scope import PolicyScope + from .device_registration_membership import DeviceRegistrationMembership @dataclass -class AzureAdJoinPolicy(AdditionalDataHolder, BackedModel, Parsable): +class AzureADJoinPolicy(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 identifiers of the groups that are in the scope of the policy. Required when the appliesTo property is set to selected. - allowed_groups: Optional[List[str]] = None - # The identifiers of users that are in the scope of the policy. Required when the appliesTo property is set to selected. - allowed_users: Optional[List[str]] = None - # Specifies whether to block or allow fine-grained control of the policy scope. The possible values are: 0 (meaning none), 1 (meaning all), 2 (meaning selected), 3 (meaning unknownFutureValue). The default value is 1. When set to 2, at least one user or group identifier must be specified in either allowedUsers or allowedGroups. Setting this property to 0 or 1 removes all identifiers in both allowedUsers and allowedGroups. - applies_to: Optional[PolicyScope] = None - # Specifies whether this policy scope is configurable by the admin. The default value is false. When an admin has enabled Intune (MEM) to manage devices, this property is set to false and appliesTo defaults to 1 (meaning all). + # Determines if Microsoft Entra join is allowed. + allowed_to_join: Optional[DeviceRegistrationMembership] = None + # Determines if administrators can modify this policy. is_admin_configurable: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None @staticmethod - def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> AzureAdJoinPolicy: + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> AzureADJoinPolicy: """ 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: AzureAdJoinPolicy + Returns: AzureADJoinPolicy """ if not parse_node: raise TypeError("parse_node cannot be null.") - return AzureAdJoinPolicy() + return AzureADJoinPolicy() def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ - from .policy_scope import PolicyScope + from .device_registration_membership import DeviceRegistrationMembership - from .policy_scope import PolicyScope + from .device_registration_membership import DeviceRegistrationMembership fields: Dict[str, Callable[[Any], None]] = { - "allowedGroups": lambda n : setattr(self, 'allowed_groups', n.get_collection_of_primitive_values(str)), - "allowedUsers": lambda n : setattr(self, 'allowed_users', n.get_collection_of_primitive_values(str)), - "appliesTo": lambda n : setattr(self, 'applies_to', n.get_enum_value(PolicyScope)), + "allowedToJoin": lambda n : setattr(self, 'allowed_to_join', n.get_object_value(DeviceRegistrationMembership)), "isAdminConfigurable": lambda n : setattr(self, 'is_admin_configurable', n.get_bool_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), } @@ -62,9 +56,7 @@ def serialize(self,writer: SerializationWriter) -> None: """ if not writer: raise TypeError("writer cannot be null.") - writer.write_collection_of_primitive_values("allowedGroups", self.allowed_groups) - writer.write_collection_of_primitive_values("allowedUsers", self.allowed_users) - writer.write_enum_value("appliesTo", self.applies_to) + writer.write_object_value("allowedToJoin", self.allowed_to_join) writer.write_bool_value("isAdminConfigurable", self.is_admin_configurable) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/azure_a_d_registration_policy.py b/msgraph_beta/generated/models/azure_a_d_registration_policy.py index 94ba89c36a0..da4604762bd 100644 --- a/msgraph_beta/generated/models/azure_a_d_registration_policy.py +++ b/msgraph_beta/generated/models/azure_a_d_registration_policy.py @@ -5,7 +5,7 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .policy_scope import PolicyScope + from .device_registration_membership import DeviceRegistrationMembership @dataclass class AzureADRegistrationPolicy(AdditionalDataHolder, BackedModel, Parsable): @@ -14,13 +14,9 @@ class AzureADRegistrationPolicy(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 identifiers of the groups that are in the scope of the policy. Either this property or allowedUsers is required when the appliesTo property is set to selected. - allowed_groups: Optional[List[str]] = None - # The identifiers of users that are in the scope of the policy. Either this property or allowedGroups is required when the appliesTo property is set to selected. - allowed_users: Optional[List[str]] = None - # Specifies whether to block or allow fine-grained control of the policy scope. The possible values are: 0 (meaning none), 1 (meaning all), 2 (meaning selected), 3 (meaning unknownFutureValue). The default value is 1. When set to 2, at least one user or group identifier must be specified in either allowedUsers or allowedGroups. Setting this property to 0 or 1 removes all identifiers in both allowedUsers and allowedGroups. - applies_to: Optional[PolicyScope] = None - # Specifies whether this policy scope is configurable by the admin. The default value is false. When an admin has enabled Intune (MEM) to manage devices, this property is set to false and appliesTo defaults to 1 (meaning all). + # Determines if Microsoft Entra registered is allowed. + allowed_to_register: Optional[DeviceRegistrationMembership] = None + # Determines if administrators can modify this policy. is_admin_configurable: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None @@ -41,14 +37,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 .policy_scope import PolicyScope + from .device_registration_membership import DeviceRegistrationMembership - from .policy_scope import PolicyScope + from .device_registration_membership import DeviceRegistrationMembership fields: Dict[str, Callable[[Any], None]] = { - "allowedGroups": lambda n : setattr(self, 'allowed_groups', n.get_collection_of_primitive_values(str)), - "allowedUsers": lambda n : setattr(self, 'allowed_users', n.get_collection_of_primitive_values(str)), - "appliesTo": lambda n : setattr(self, 'applies_to', n.get_enum_value(PolicyScope)), + "allowedToRegister": lambda n : setattr(self, 'allowed_to_register', n.get_object_value(DeviceRegistrationMembership)), "isAdminConfigurable": lambda n : setattr(self, 'is_admin_configurable', n.get_bool_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), } @@ -62,9 +56,7 @@ def serialize(self,writer: SerializationWriter) -> None: """ if not writer: raise TypeError("writer cannot be null.") - writer.write_collection_of_primitive_values("allowedGroups", self.allowed_groups) - writer.write_collection_of_primitive_values("allowedUsers", self.allowed_users) - writer.write_enum_value("appliesTo", self.applies_to) + writer.write_object_value("allowedToRegister", self.allowed_to_register) writer.write_bool_value("isAdminConfigurable", self.is_admin_configurable) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/azure_action_permissions_definition_action.py b/msgraph_beta/generated/models/azure_action_permissions_definition_action.py index 2923aa42c1c..4cc7be292bf 100644 --- a/msgraph_beta/generated/models/azure_action_permissions_definition_action.py +++ b/msgraph_beta/generated/models/azure_action_permissions_definition_action.py @@ -12,7 +12,7 @@ class AzureActionPermissionsDefinitionAction(AzurePermissionsDefinitionAction): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.azureActionPermissionsDefinitionAction" - # The actions property + # List of actions relating to the Azure permission. actions: Optional[List[str]] = None @staticmethod diff --git a/msgraph_beta/generated/models/azure_authorization_system.py b/msgraph_beta/generated/models/azure_authorization_system.py index ffa2f14d653..190b6a7f3e4 100644 --- a/msgraph_beta/generated/models/azure_authorization_system.py +++ b/msgraph_beta/generated/models/azure_authorization_system.py @@ -17,15 +17,15 @@ class AzureAuthorizationSystem(AuthorizationSystem): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.azureAuthorizationSystem" - # The actions property + # List of actions for service in authorization system. actions: Optional[List[AzureAuthorizationSystemTypeAction]] = None - # The associatedIdentities property + # Identities in the authorization system. associated_identities: Optional[AzureAssociatedIdentities] = None - # The resources property + # Resources associated with the authorization system type. resources: Optional[List[AzureAuthorizationSystemResource]] = None - # The roleDefinitions property + # Roles associated with the authorization system type. role_definitions: Optional[List[AzureRoleDefinition]] = None - # The services property + # Services associated with the authorization system type. services: Optional[List[AuthorizationSystemTypeService]] = None @staticmethod diff --git a/msgraph_beta/generated/models/azure_authorization_system_resource.py b/msgraph_beta/generated/models/azure_authorization_system_resource.py index 4092be9db2b..5c08baa49f3 100644 --- a/msgraph_beta/generated/models/azure_authorization_system_resource.py +++ b/msgraph_beta/generated/models/azure_authorization_system_resource.py @@ -13,7 +13,7 @@ class AzureAuthorizationSystemResource(AuthorizationSystemResource): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.azureAuthorizationSystemResource" - # The service property + # The service associated with the resource in an Azure authorization system. This object is auto-expanded. service: Optional[AuthorizationSystemTypeService] = None @staticmethod diff --git a/msgraph_beta/generated/models/azure_role_definition.py b/msgraph_beta/generated/models/azure_role_definition.py index aaa3fa69200..f796e7ff974 100644 --- a/msgraph_beta/generated/models/azure_role_definition.py +++ b/msgraph_beta/generated/models/azure_role_definition.py @@ -11,13 +11,13 @@ @dataclass class AzureRoleDefinition(Entity): - # The assignableScopes property + # Scopes at which the Azure role can be assigned. For more information about common patterns, see Understand Azure role definitions: AssignableScopes. Supports $filter (eq). assignable_scopes: Optional[List[str]] = None # The azureRoleDefinitionType property azure_role_definition_type: Optional[AzureRoleDefinitionType] = None - # The displayName property + # Name of the Azure role. Supports $filter (eq, contains). display_name: Optional[str] = None - # The externalId property + # Identifier of an Azure role defined by Microsoft Azure. Alternate key. Supports $filter (eq). external_id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/azure_serverless_function.py b/msgraph_beta/generated/models/azure_serverless_function.py index bab1c52df79..69cb8e7ddfb 100644 --- a/msgraph_beta/generated/models/azure_serverless_function.py +++ b/msgraph_beta/generated/models/azure_serverless_function.py @@ -13,7 +13,7 @@ class AzureServerlessFunction(AzureIdentity): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.azureServerlessFunction" - # The resource property + # Represents the resources in an authorization system. resource: Optional[AzureAuthorizationSystemResource] = None @staticmethod diff --git a/msgraph_beta/generated/models/azure_source.py b/msgraph_beta/generated/models/azure_source.py index a974decf4f0..8accd19df9f 100644 --- a/msgraph_beta/generated/models/azure_source.py +++ b/msgraph_beta/generated/models/azure_source.py @@ -12,7 +12,7 @@ class AzureSource(AuthorizationSystemIdentitySource): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.azureSource" - # The subscriptionId property + # Azure subscription ID. subscription_id: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/booking_appointment.py b/msgraph_beta/generated/models/booking_appointment.py index 69c8b7a211a..873790aaa55 100644 --- a/msgraph_beta/generated/models/booking_appointment.py +++ b/msgraph_beta/generated/models/booking_appointment.py @@ -24,6 +24,10 @@ class BookingAppointment(Entity): additional_information: Optional[str] = None # The URL of the meeting to join anonymously. anonymous_join_web_url: Optional[str] = None + # Custom label that can be stamped on this appointment by users. + appointment_label: Optional[str] = None + # The createdDateTime property + created_date_time: Optional[datetime.datetime] = None # The SMTP address of the bookingCustomer who is booking the appointment. customer_email_address: Optional[str] = None # The ID of the bookingCustomer for this appointment. If no ID is specified when an appointment is created, then a new bookingCustomer object is created. Once set, you should consider the customerId immutable. @@ -60,6 +64,8 @@ class BookingAppointment(Entity): is_location_online: Optional[bool] = None # The URL of the online meeting for the appointment. join_web_url: Optional[str] = None + # The lastUpdatedDateTime property + last_updated_date_time: Optional[datetime.datetime] = None # The maximum number of customers allowed in an appointment. If maximumAttendeesCount of the service is greater than 1, pass valid customer IDs while creating or updating an appointment. To create a customer, use the Create bookingCustomer operation. maximum_attendees_count: Optional[int] = None # The OdataType property @@ -130,6 +136,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "additionalInformation": lambda n : setattr(self, 'additional_information', n.get_str_value()), "anonymousJoinWebUrl": lambda n : setattr(self, 'anonymous_join_web_url', n.get_str_value()), + "appointmentLabel": lambda n : setattr(self, 'appointment_label', n.get_str_value()), + "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), "customerEmailAddress": lambda n : setattr(self, 'customer_email_address', n.get_str_value()), "customerId": lambda n : setattr(self, 'customer_id', n.get_str_value()), "customerLocation": lambda n : setattr(self, 'customer_location', n.get_object_value(Location)), @@ -148,6 +156,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "invoiceUrl": lambda n : setattr(self, 'invoice_url', n.get_str_value()), "isLocationOnline": lambda n : setattr(self, 'is_location_online', n.get_bool_value()), "joinWebUrl": lambda n : setattr(self, 'join_web_url', n.get_str_value()), + "lastUpdatedDateTime": lambda n : setattr(self, 'last_updated_date_time', n.get_datetime_value()), "maximumAttendeesCount": lambda n : setattr(self, 'maximum_attendees_count', n.get_int_value()), "onlineMeetingUrl": lambda n : setattr(self, 'online_meeting_url', n.get_str_value()), "optOutOfCustomerEmail": lambda n : setattr(self, 'opt_out_of_customer_email', n.get_bool_value()), @@ -180,6 +189,8 @@ def serialize(self,writer: SerializationWriter) -> None: super().serialize(writer) writer.write_str_value("additionalInformation", self.additional_information) writer.write_str_value("anonymousJoinWebUrl", self.anonymous_join_web_url) + writer.write_str_value("appointmentLabel", self.appointment_label) + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("customerEmailAddress", self.customer_email_address) writer.write_str_value("customerId", self.customer_id) writer.write_object_value("customerLocation", self.customer_location) @@ -196,6 +207,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("invoiceUrl", self.invoice_url) writer.write_bool_value("isLocationOnline", self.is_location_online) writer.write_str_value("joinWebUrl", self.join_web_url) + writer.write_datetime_value("lastUpdatedDateTime", self.last_updated_date_time) writer.write_int_value("maximumAttendeesCount", self.maximum_attendees_count) writer.write_str_value("onlineMeetingUrl", self.online_meeting_url) writer.write_bool_value("optOutOfCustomerEmail", self.opt_out_of_customer_email) diff --git a/msgraph_beta/generated/models/booking_business.py b/msgraph_beta/generated/models/booking_business.py index 62078694182..316892de799 100644 --- a/msgraph_beta/generated/models/booking_business.py +++ b/msgraph_beta/generated/models/booking_business.py @@ -1,4 +1,5 @@ from __future__ import annotations +import datetime from dataclasses import dataclass, field from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union @@ -8,6 +9,7 @@ from .booking_customer import BookingCustomer from .booking_custom_question import BookingCustomQuestion from .booking_named_entity import BookingNamedEntity + from .booking_page_settings import BookingPageSettings from .booking_scheduling_policy import BookingSchedulingPolicy from .booking_service import BookingService from .booking_staff_member import BookingStaffMember @@ -19,7 +21,7 @@ @dataclass class BookingBusiness(BookingNamedEntity): """ - Represents a Microsot Bookings Business. + Represents a Microsoft Bookings Business. """ # The OdataType property odata_type: Optional[str] = "#microsoft.graph.bookingBusiness" @@ -27,12 +29,16 @@ class BookingBusiness(BookingNamedEntity): address: Optional[PhysicalAddress] = None # All the appointments of this business. Read-only. Nullable. appointments: Optional[List[BookingAppointment]] = None + # The bookingPageSettings property + booking_page_settings: Optional[BookingPageSettings] = None # The hours of operation for the business. business_hours: Optional[List[BookingWorkHours]] = None # The type of business. business_type: Optional[str] = None # The set of appointments of this business in a specified date range. Read-only. Nullable. calendar_view: Optional[List[BookingAppointment]] = None + # The createdDateTime property + created_date_time: Optional[datetime.datetime] = None # All the custom questions of this business. Read-only. Nullable. custom_questions: Optional[List[BookingCustomQuestion]] = None # All the customers of this business. Read-only. Nullable. @@ -45,6 +51,8 @@ class BookingBusiness(BookingNamedEntity): is_published: Optional[bool] = None # The language of the self service booking page language_tag: Optional[str] = None + # The lastUpdatedDateTime property + last_updated_date_time: Optional[datetime.datetime] = None # The telephone number for the business. The phone property, together with address and webSiteUrl, appear in the footer of a business scheduling page. phone: Optional[str] = None # The URL for the scheduling page, which is set after you publish or unpublish the page. Read-only. @@ -78,6 +86,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .booking_customer import BookingCustomer from .booking_custom_question import BookingCustomQuestion from .booking_named_entity import BookingNamedEntity + from .booking_page_settings import BookingPageSettings from .booking_scheduling_policy import BookingSchedulingPolicy from .booking_service import BookingService from .booking_staff_member import BookingStaffMember @@ -88,6 +97,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .booking_customer import BookingCustomer from .booking_custom_question import BookingCustomQuestion from .booking_named_entity import BookingNamedEntity + from .booking_page_settings import BookingPageSettings from .booking_scheduling_policy import BookingSchedulingPolicy from .booking_service import BookingService from .booking_staff_member import BookingStaffMember @@ -97,15 +107,18 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "address": lambda n : setattr(self, 'address', n.get_object_value(PhysicalAddress)), "appointments": lambda n : setattr(self, 'appointments', n.get_collection_of_object_values(BookingAppointment)), + "bookingPageSettings": lambda n : setattr(self, 'booking_page_settings', n.get_object_value(BookingPageSettings)), "businessHours": lambda n : setattr(self, 'business_hours', n.get_collection_of_object_values(BookingWorkHours)), "businessType": lambda n : setattr(self, 'business_type', n.get_str_value()), "calendarView": lambda n : setattr(self, 'calendar_view', n.get_collection_of_object_values(BookingAppointment)), + "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), "customQuestions": lambda n : setattr(self, 'custom_questions', n.get_collection_of_object_values(BookingCustomQuestion)), "customers": lambda n : setattr(self, 'customers', n.get_collection_of_object_values(BookingCustomer)), "defaultCurrencyIso": lambda n : setattr(self, 'default_currency_iso', n.get_str_value()), "email": lambda n : setattr(self, 'email', n.get_str_value()), "isPublished": lambda n : setattr(self, 'is_published', n.get_bool_value()), "languageTag": lambda n : setattr(self, 'language_tag', n.get_str_value()), + "lastUpdatedDateTime": lambda n : setattr(self, 'last_updated_date_time', n.get_datetime_value()), "phone": lambda n : setattr(self, 'phone', n.get_str_value()), "publicUrl": lambda n : setattr(self, 'public_url', n.get_str_value()), "schedulingPolicy": lambda n : setattr(self, 'scheduling_policy', n.get_object_value(BookingSchedulingPolicy)), @@ -128,14 +141,17 @@ def serialize(self,writer: SerializationWriter) -> None: super().serialize(writer) writer.write_object_value("address", self.address) writer.write_collection_of_object_values("appointments", self.appointments) + writer.write_object_value("bookingPageSettings", self.booking_page_settings) writer.write_collection_of_object_values("businessHours", self.business_hours) writer.write_str_value("businessType", self.business_type) writer.write_collection_of_object_values("calendarView", self.calendar_view) + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_collection_of_object_values("customQuestions", self.custom_questions) writer.write_collection_of_object_values("customers", self.customers) writer.write_str_value("defaultCurrencyIso", self.default_currency_iso) writer.write_str_value("email", self.email) writer.write_str_value("languageTag", self.language_tag) + writer.write_datetime_value("lastUpdatedDateTime", self.last_updated_date_time) writer.write_str_value("phone", self.phone) writer.write_object_value("schedulingPolicy", self.scheduling_policy) writer.write_collection_of_object_values("services", self.services) diff --git a/msgraph_beta/generated/models/booking_custom_question.py b/msgraph_beta/generated/models/booking_custom_question.py index 4f1a04a4cc5..783334b49ae 100644 --- a/msgraph_beta/generated/models/booking_custom_question.py +++ b/msgraph_beta/generated/models/booking_custom_question.py @@ -1,4 +1,5 @@ from __future__ import annotations +import datetime from dataclasses import dataclass, field from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union @@ -18,8 +19,12 @@ class BookingCustomQuestion(Entity): answer_input_type: Optional[AnswerInputType] = None # List of possible answer values. answer_options: Optional[List[str]] = None + # The createdDateTime property + created_date_time: Optional[datetime.datetime] = None # Display name of this entity. display_name: Optional[str] = None + # The lastUpdatedDateTime property + last_updated_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None @@ -48,7 +53,9 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "answerInputType": lambda n : setattr(self, 'answer_input_type', n.get_enum_value(AnswerInputType)), "answerOptions": lambda n : setattr(self, 'answer_options', n.get_collection_of_primitive_values(str)), + "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + "lastUpdatedDateTime": lambda n : setattr(self, 'last_updated_date_time', n.get_datetime_value()), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -65,6 +72,8 @@ def serialize(self,writer: SerializationWriter) -> None: super().serialize(writer) writer.write_enum_value("answerInputType", self.answer_input_type) writer.write_collection_of_primitive_values("answerOptions", self.answer_options) + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("displayName", self.display_name) + writer.write_datetime_value("lastUpdatedDateTime", self.last_updated_date_time) diff --git a/msgraph_beta/generated/models/booking_customer.py b/msgraph_beta/generated/models/booking_customer.py index 9c2a3fa823c..aa61984365a 100644 --- a/msgraph_beta/generated/models/booking_customer.py +++ b/msgraph_beta/generated/models/booking_customer.py @@ -1,4 +1,5 @@ from __future__ import annotations +import datetime from dataclasses import dataclass, field from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union @@ -17,6 +18,10 @@ class BookingCustomer(BookingPerson): """ # Addresses associated with the customer, including home, business and other addresses. addresses: Optional[List[PhysicalAddress]] = None + # The createdDateTime property + created_date_time: Optional[datetime.datetime] = None + # The lastUpdatedDateTime property + last_updated_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None # Phone numbers associated with the customer, including home, business and mobile numbers. @@ -48,6 +53,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "addresses": lambda n : setattr(self, 'addresses', n.get_collection_of_object_values(PhysicalAddress)), + "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), + "lastUpdatedDateTime": lambda n : setattr(self, 'last_updated_date_time', n.get_datetime_value()), "phones": lambda n : setattr(self, 'phones', n.get_collection_of_object_values(Phone)), } super_fields = super().get_field_deserializers() @@ -64,6 +71,8 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") super().serialize(writer) writer.write_collection_of_object_values("addresses", self.addresses) + writer.write_datetime_value("createdDateTime", self.created_date_time) + writer.write_datetime_value("lastUpdatedDateTime", self.last_updated_date_time) writer.write_collection_of_object_values("phones", self.phones) diff --git a/msgraph_beta/generated/models/booking_page_access_control.py b/msgraph_beta/generated/models/booking_page_access_control.py new file mode 100644 index 00000000000..5fe64992628 --- /dev/null +++ b/msgraph_beta/generated/models/booking_page_access_control.py @@ -0,0 +1,7 @@ +from enum import Enum + +class BookingPageAccessControl(str, Enum): + Unrestricted = "unrestricted", + RestrictedToOrganization = "restrictedToOrganization", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/booking_page_settings.py b/msgraph_beta/generated/models/booking_page_settings.py new file mode 100644 index 00000000000..9433899f6f2 --- /dev/null +++ b/msgraph_beta/generated/models/booking_page_settings.py @@ -0,0 +1,100 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .booking_page_access_control import BookingPageAccessControl + +@dataclass +class BookingPageSettings(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 accessControl property + access_control: Optional[BookingPageAccessControl] = None + # Custom color for bookings page. Value should be in Hex format. Example: `#123456`. + booking_page_color_code: Optional[str] = None + # The time zone of the customer. For a list of possible values, see [dateTimeTimeZone](https://learn.microsoft.com/en-us/graph/api/resources/datetimetimezone?view=graph-rest-beta). + business_time_zone: Optional[str] = None + # Customer consent message that is displayed in the Booking page. + customer_consent_message: Optional[str] = None + # Enforcing One Time Password (OTP) during appointment creation. + enforce_one_time_password: Optional[bool] = None + # Enable display of business logo display on the Bookings page. + is_business_logo_display_enabled: Optional[bool] = None + # Enforces customer consent on the customer consent message before appointment is booked. + is_customer_consent_enabled: Optional[bool] = None + # Disable booking page to be indexed by search engines. False by default. + is_search_engine_indexability_disabled: Optional[bool] = None + # If business time zone the default value for the time slots that we show in the bookings page. False by default. + is_time_slot_time_zone_set_to_business_time_zone: Optional[bool] = None + # The OdataType property + odata_type: Optional[str] = None + # The URL of the business' Privacy Policy. + privacy_policy_web_url: Optional[str] = None + # The URL of the business' Terms and Conditions. + terms_and_conditions_web_url: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> BookingPageSettings: + """ + 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: BookingPageSettings + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return BookingPageSettings() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .booking_page_access_control import BookingPageAccessControl + + from .booking_page_access_control import BookingPageAccessControl + + fields: Dict[str, Callable[[Any], None]] = { + "accessControl": lambda n : setattr(self, 'access_control', n.get_enum_value(BookingPageAccessControl)), + "bookingPageColorCode": lambda n : setattr(self, 'booking_page_color_code', n.get_str_value()), + "businessTimeZone": lambda n : setattr(self, 'business_time_zone', n.get_str_value()), + "customerConsentMessage": lambda n : setattr(self, 'customer_consent_message', n.get_str_value()), + "enforceOneTimePassword": lambda n : setattr(self, 'enforce_one_time_password', n.get_bool_value()), + "isBusinessLogoDisplayEnabled": lambda n : setattr(self, 'is_business_logo_display_enabled', n.get_bool_value()), + "isCustomerConsentEnabled": lambda n : setattr(self, 'is_customer_consent_enabled', n.get_bool_value()), + "isSearchEngineIndexabilityDisabled": lambda n : setattr(self, 'is_search_engine_indexability_disabled', n.get_bool_value()), + "isTimeSlotTimeZoneSetToBusinessTimeZone": lambda n : setattr(self, 'is_time_slot_time_zone_set_to_business_time_zone', n.get_bool_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "privacyPolicyWebUrl": lambda n : setattr(self, 'privacy_policy_web_url', n.get_str_value()), + "termsAndConditionsWebUrl": lambda n : setattr(self, 'terms_and_conditions_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 not writer: + raise TypeError("writer cannot be null.") + writer.write_enum_value("accessControl", self.access_control) + writer.write_str_value("bookingPageColorCode", self.booking_page_color_code) + writer.write_str_value("businessTimeZone", self.business_time_zone) + writer.write_str_value("customerConsentMessage", self.customer_consent_message) + writer.write_bool_value("enforceOneTimePassword", self.enforce_one_time_password) + writer.write_bool_value("isBusinessLogoDisplayEnabled", self.is_business_logo_display_enabled) + writer.write_bool_value("isCustomerConsentEnabled", self.is_customer_consent_enabled) + writer.write_bool_value("isSearchEngineIndexabilityDisabled", self.is_search_engine_indexability_disabled) + writer.write_bool_value("isTimeSlotTimeZoneSetToBusinessTimeZone", self.is_time_slot_time_zone_set_to_business_time_zone) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_str_value("privacyPolicyWebUrl", self.privacy_policy_web_url) + writer.write_str_value("termsAndConditionsWebUrl", self.terms_and_conditions_web_url) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/booking_scheduling_policy.py b/msgraph_beta/generated/models/booking_scheduling_policy.py index 086522a7342..858b65414f7 100644 --- a/msgraph_beta/generated/models/booking_scheduling_policy.py +++ b/msgraph_beta/generated/models/booking_scheduling_policy.py @@ -17,6 +17,8 @@ class BookingSchedulingPolicy(AdditionalDataHolder, BackedModel, Parsable): additional_data: Dict[str, Any] = field(default_factory=dict) # True if to allow customers to choose a specific person for the booking. allow_staff_selection: Optional[bool] = None + # Enable sending meeting invite to customers. + is_meeting_invite_to_customers_enabled: Optional[bool] = None # Maximum number of days in advance that a booking can be made. It follows the ISO 8601 format. maximum_advance: Optional[datetime.timedelta] = None # The minimum amount of time before which bookings and cancellations must be made. It follows the ISO 8601 format. @@ -46,6 +48,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ fields: Dict[str, Callable[[Any], None]] = { "allowStaffSelection": lambda n : setattr(self, 'allow_staff_selection', n.get_bool_value()), + "isMeetingInviteToCustomersEnabled": lambda n : setattr(self, 'is_meeting_invite_to_customers_enabled', n.get_bool_value()), "maximumAdvance": lambda n : setattr(self, 'maximum_advance', n.get_timedelta_value()), "minimumLeadTime": lambda n : setattr(self, 'minimum_lead_time', n.get_timedelta_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), @@ -63,6 +66,7 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") writer.write_bool_value("allowStaffSelection", self.allow_staff_selection) + writer.write_bool_value("isMeetingInviteToCustomersEnabled", self.is_meeting_invite_to_customers_enabled) writer.write_timedelta_value("maximumAdvance", self.maximum_advance) writer.write_timedelta_value("minimumLeadTime", self.minimum_lead_time) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/booking_service.py b/msgraph_beta/generated/models/booking_service.py index 623bdb85254..11055ac9bb8 100644 --- a/msgraph_beta/generated/models/booking_service.py +++ b/msgraph_beta/generated/models/booking_service.py @@ -23,6 +23,8 @@ class BookingService(BookingNamedEntity): odata_type: Optional[str] = "#microsoft.graph.bookingService" # Additional information that is sent to the customer when an appointment is confirmed. additional_information: Optional[str] = None + # The createdDateTime property + created_date_time: Optional[datetime.datetime] = None # Contains the set of custom questions associated with a particular service. custom_questions: Optional[List[BookingQuestionAssignment]] = None # The default length of the service, represented in numbers of days, hours, minutes, and seconds. For example, P11D23H59M59.999999999999S. @@ -45,6 +47,8 @@ class BookingService(BookingNamedEntity): is_location_online: Optional[bool] = None # The language of the self service booking page. language_tag: Optional[str] = None + # The lastUpdatedDateTime property + last_updated_date_time: Optional[datetime.datetime] = None # The maximum number of customers allowed in a service. If maximumAttendeesCount of the service is greater than 1, pass valid customer IDs while creating or updating an appointment. To create a customer, use the Create bookingCustomer operation. maximum_attendees_count: Optional[int] = None # Additional information about this service. @@ -94,6 +98,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "additionalInformation": lambda n : setattr(self, 'additional_information', n.get_str_value()), + "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), "customQuestions": lambda n : setattr(self, 'custom_questions', n.get_collection_of_object_values(BookingQuestionAssignment)), "defaultDuration": lambda n : setattr(self, 'default_duration', n.get_timedelta_value()), "defaultLocation": lambda n : setattr(self, 'default_location', n.get_object_value(Location)), @@ -105,6 +110,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "isHiddenFromCustomers": lambda n : setattr(self, 'is_hidden_from_customers', n.get_bool_value()), "isLocationOnline": lambda n : setattr(self, 'is_location_online', n.get_bool_value()), "languageTag": lambda n : setattr(self, 'language_tag', n.get_str_value()), + "lastUpdatedDateTime": lambda n : setattr(self, 'last_updated_date_time', n.get_datetime_value()), "maximumAttendeesCount": lambda n : setattr(self, 'maximum_attendees_count', n.get_int_value()), "notes": lambda n : setattr(self, 'notes', n.get_str_value()), "postBuffer": lambda n : setattr(self, 'post_buffer', n.get_timedelta_value()), @@ -128,6 +134,7 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") super().serialize(writer) writer.write_str_value("additionalInformation", self.additional_information) + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_collection_of_object_values("customQuestions", self.custom_questions) writer.write_timedelta_value("defaultDuration", self.default_duration) writer.write_object_value("defaultLocation", self.default_location) @@ -139,6 +146,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_bool_value("isHiddenFromCustomers", self.is_hidden_from_customers) writer.write_bool_value("isLocationOnline", self.is_location_online) writer.write_str_value("languageTag", self.language_tag) + writer.write_datetime_value("lastUpdatedDateTime", self.last_updated_date_time) writer.write_int_value("maximumAttendeesCount", self.maximum_attendees_count) writer.write_str_value("notes", self.notes) writer.write_timedelta_value("postBuffer", self.post_buffer) diff --git a/msgraph_beta/generated/models/booking_staff_member.py b/msgraph_beta/generated/models/booking_staff_member.py index ed9495c899a..516f8e966aa 100644 --- a/msgraph_beta/generated/models/booking_staff_member.py +++ b/msgraph_beta/generated/models/booking_staff_member.py @@ -1,4 +1,5 @@ from __future__ import annotations +import datetime from dataclasses import dataclass, field from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union @@ -20,8 +21,12 @@ class BookingStaffMember(BookingPerson): availability_is_affected_by_personal_calendar: Optional[bool] = None # Identifies a color to represent the staff member. The color corresponds to the color palette in the Staff details page in the Bookings app. color_index: Optional[int] = None + # The createdDateTime property + created_date_time: Optional[datetime.datetime] = None # True indicates that a staff member will be notified via email when a booking assigned to them is created or changed. is_email_notification_enabled: Optional[bool] = None + # The lastUpdatedDateTime property + last_updated_date_time: Optional[datetime.datetime] = None # The membershipStatus property membership_status: Optional[BookingStaffMembershipStatus] = None # The OdataType property @@ -64,7 +69,9 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "availabilityIsAffectedByPersonalCalendar": lambda n : setattr(self, 'availability_is_affected_by_personal_calendar', n.get_bool_value()), "colorIndex": lambda n : setattr(self, 'color_index', n.get_int_value()), + "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), "isEmailNotificationEnabled": lambda n : setattr(self, 'is_email_notification_enabled', n.get_bool_value()), + "lastUpdatedDateTime": lambda n : setattr(self, 'last_updated_date_time', n.get_datetime_value()), "membershipStatus": lambda n : setattr(self, 'membership_status', n.get_enum_value(BookingStaffMembershipStatus)), "role": lambda n : setattr(self, 'role', n.get_enum_value(BookingStaffRole)), "timeZone": lambda n : setattr(self, 'time_zone', n.get_str_value()), @@ -86,7 +93,9 @@ def serialize(self,writer: SerializationWriter) -> None: super().serialize(writer) writer.write_bool_value("availabilityIsAffectedByPersonalCalendar", self.availability_is_affected_by_personal_calendar) writer.write_int_value("colorIndex", self.color_index) + writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_bool_value("isEmailNotificationEnabled", self.is_email_notification_enabled) + writer.write_datetime_value("lastUpdatedDateTime", self.last_updated_date_time) writer.write_enum_value("membershipStatus", self.membership_status) writer.write_enum_value("role", self.role) writer.write_str_value("timeZone", self.time_zone) diff --git a/msgraph_beta/generated/models/call_event.py b/msgraph_beta/generated/models/call_event.py index 6e31b277bf4..eef8e72a454 100644 --- a/msgraph_beta/generated/models/call_event.py +++ b/msgraph_beta/generated/models/call_event.py @@ -1,12 +1,13 @@ from __future__ import annotations +import datetime from dataclasses import dataclass, field from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .call_direction import CallDirection from .call_event_type import CallEventType from .entity import Entity + from .participant import Participant from .entity import Entity @@ -14,12 +15,12 @@ class CallEvent(Entity): # The callEventType property call_event_type: Optional[CallEventType] = None - # The direction property - direction: Optional[CallDirection] = None - # The joinCallUrl property - join_call_url: Optional[str] = None + # The eventDateTime property + event_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None + # The participants property + participants: Optional[List[Participant]] = None @staticmethod def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> CallEvent: @@ -37,18 +38,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 .call_direction import CallDirection from .call_event_type import CallEventType from .entity import Entity + from .participant import Participant - from .call_direction import CallDirection from .call_event_type import CallEventType from .entity import Entity + from .participant import Participant fields: Dict[str, Callable[[Any], None]] = { "callEventType": lambda n : setattr(self, 'call_event_type', n.get_enum_value(CallEventType)), - "direction": lambda n : setattr(self, 'direction', n.get_enum_value(CallDirection)), - "joinCallUrl": lambda n : setattr(self, 'join_call_url', n.get_str_value()), + "eventDateTime": lambda n : setattr(self, 'event_date_time', n.get_datetime_value()), + "participants": lambda n : setattr(self, 'participants', n.get_collection_of_object_values(Participant)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -64,7 +65,7 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") super().serialize(writer) writer.write_enum_value("callEventType", self.call_event_type) - writer.write_enum_value("direction", self.direction) - writer.write_str_value("joinCallUrl", self.join_call_url) + writer.write_datetime_value("eventDateTime", self.event_date_time) + writer.write_collection_of_object_values("participants", self.participants) diff --git a/msgraph_beta/generated/models/call_event_type.py b/msgraph_beta/generated/models/call_event_type.py index 1a61af65610..3879bc75f6f 100644 --- a/msgraph_beta/generated/models/call_event_type.py +++ b/msgraph_beta/generated/models/call_event_type.py @@ -4,4 +4,5 @@ class CallEventType(str, Enum): CallStarted = "callStarted", CallEnded = "callEnded", UnknownFutureValue = "unknownFutureValue", + RosterUpdated = "rosterUpdated", diff --git a/msgraph_beta/generated/models/call_recording.py b/msgraph_beta/generated/models/call_recording.py index c38d02481cc..27bf0f18b52 100644 --- a/msgraph_beta/generated/models/call_recording.py +++ b/msgraph_beta/generated/models/call_recording.py @@ -14,7 +14,7 @@ class CallRecording(Entity): # The content of the recording. Read-only. content: Optional[bytes] = None - # Date and time at which the recording was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + # Date and time at which the recording was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. created_date_time: Optional[datetime.datetime] = None # The unique identifier of the onlineMeeting related to this recording. Read-only. meeting_id: Optional[str] = None diff --git a/msgraph_beta/generated/models/call_records/call_record.py b/msgraph_beta/generated/models/call_records/call_record.py index a1549e96806..defd66b6a9b 100644 --- a/msgraph_beta/generated/models/call_records/call_record.py +++ b/msgraph_beta/generated/models/call_records/call_record.py @@ -9,6 +9,8 @@ from ..identity_set import IdentitySet from .call_type import CallType from .modality import Modality + from .organizer import Organizer + from .participant import Participant from .session import Session from ..entity import Entity @@ -25,17 +27,21 @@ class CallRecord(Entity): modalities: Optional[List[Modality]] = None # The OdataType property odata_type: Optional[str] = None - # The organizing party's identity. + # The organizer property organizer: Optional[IdentitySet] = None - # List of distinct identities involved in the call. + # Identity of the organizer of the call. This relationship is expanded by default in callRecord methods. + organizer_v2: Optional[Organizer] = None + # The participants property participants: Optional[List[IdentitySet]] = None + # List of distinct participants in the call. + participants_v2: Optional[List[Participant]] = None # List of sessions involved in the call. Peer-to-peer calls typically only have one session, whereas group calls typically have at least one session per participant. Read-only. Nullable. sessions: Optional[List[Session]] = None # UTC time when the first user joined the call. The DatetimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z start_date_time: Optional[datetime.datetime] = None # The type property type: Optional[CallType] = None - # Monotonically increasing version of the call record. Higher version call records with the same ID includes additional data compared to the lower version. + # Monotonically increasing version of the call record. Higher version call records with the same ID include additional data compared to the lower version. version: Optional[int] = None @staticmethod @@ -58,12 +64,16 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from ..identity_set import IdentitySet from .call_type import CallType from .modality import Modality + from .organizer import Organizer + from .participant import Participant from .session import Session from ..entity import Entity from ..identity_set import IdentitySet from .call_type import CallType from .modality import Modality + from .organizer import Organizer + from .participant import Participant from .session import Session fields: Dict[str, Callable[[Any], None]] = { @@ -72,7 +82,9 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "lastModifiedDateTime": lambda n : setattr(self, 'last_modified_date_time', n.get_datetime_value()), "modalities": lambda n : setattr(self, 'modalities', n.get_collection_of_enum_values(Modality)), "organizer": lambda n : setattr(self, 'organizer', n.get_object_value(IdentitySet)), + "organizer_v2": lambda n : setattr(self, 'organizer_v2', n.get_object_value(Organizer)), "participants": lambda n : setattr(self, 'participants', n.get_collection_of_object_values(IdentitySet)), + "participants_v2": lambda n : setattr(self, 'participants_v2', n.get_collection_of_object_values(Participant)), "sessions": lambda n : setattr(self, 'sessions', n.get_collection_of_object_values(Session)), "startDateTime": lambda n : setattr(self, 'start_date_time', n.get_datetime_value()), "type": lambda n : setattr(self, 'type', n.get_enum_value(CallType)), @@ -96,7 +108,9 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) writer.write_collection_of_enum_values("modalities", self.modalities) writer.write_object_value("organizer", self.organizer) + writer.write_object_value("organizer_v2", self.organizer_v2) writer.write_collection_of_object_values("participants", self.participants) + writer.write_collection_of_object_values("participants_v2", self.participants_v2) writer.write_collection_of_object_values("sessions", self.sessions) writer.write_datetime_value("startDateTime", self.start_date_time) writer.write_enum_value("type", self.type) diff --git a/msgraph_beta/generated/models/call_records/organizer.py b/msgraph_beta/generated/models/call_records/organizer.py new file mode 100644 index 00000000000..d96a47582d3 --- /dev/null +++ b/msgraph_beta/generated/models/call_records/organizer.py @@ -0,0 +1,52 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .participant_base import ParticipantBase + +from .participant_base import ParticipantBase + +@dataclass +class Organizer(ParticipantBase): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.callRecords.organizer" + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> Organizer: + """ + 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: Organizer + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return Organizer() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .participant_base import ParticipantBase + + from .participant_base import ParticipantBase + + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + + diff --git a/msgraph_beta/generated/models/call_records/participant.py b/msgraph_beta/generated/models/call_records/participant.py new file mode 100644 index 00000000000..d2e4b17df9c --- /dev/null +++ b/msgraph_beta/generated/models/call_records/participant.py @@ -0,0 +1,52 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .participant_base import ParticipantBase + +from .participant_base import ParticipantBase + +@dataclass +class Participant(ParticipantBase): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.callRecords.participant" + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> Participant: + """ + 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: Participant + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return Participant() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .participant_base import ParticipantBase + + from .participant_base import ParticipantBase + + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + + diff --git a/msgraph_beta/generated/models/call_records/participant_base.py b/msgraph_beta/generated/models/call_records/participant_base.py new file mode 100644 index 00000000000..ea9dd444e04 --- /dev/null +++ b/msgraph_beta/generated/models/call_records/participant_base.py @@ -0,0 +1,77 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..entity import Entity + from .organizer import Organizer + from .participant import Participant + from .user_identity import UserIdentity + +from ..entity import Entity + +@dataclass +class ParticipantBase(Entity): + # The identity of the call participant. + identity: Optional[UserIdentity] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> ParticipantBase: + """ + 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: ParticipantBase + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + except AttributeError: + mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.callRecords.organizer".casefold(): + from .organizer import Organizer + + return Organizer() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.callRecords.participant".casefold(): + from .participant import Participant + + return Participant() + return ParticipantBase() + + 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 .organizer import Organizer + from .participant import Participant + from .user_identity import UserIdentity + + from ..entity import Entity + from .organizer import Organizer + from .participant import Participant + from .user_identity import UserIdentity + + fields: Dict[str, Callable[[Any], None]] = { + "identity": lambda n : setattr(self, 'identity', n.get_object_value(UserIdentity)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_object_value("identity", self.identity) + + diff --git a/msgraph_beta/generated/models/call_records/participant_collection_response.py b/msgraph_beta/generated/models/call_records/participant_collection_response.py new file mode 100644 index 00000000000..42a97fb1eee --- /dev/null +++ b/msgraph_beta/generated/models/call_records/participant_collection_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .participant import Participant + +from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class ParticipantCollectionResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[Participant]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> ParticipantCollectionResponse: + """ + 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: ParticipantCollectionResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return ParticipantCollectionResponse() + + 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 .participant import Participant + + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .participant import Participant + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(Participant)), + } + 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 not writer: + 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/call_records/participant_endpoint.py b/msgraph_beta/generated/models/call_records/participant_endpoint.py index 47905d76c6b..1ba19849db0 100644 --- a/msgraph_beta/generated/models/call_records/participant_endpoint.py +++ b/msgraph_beta/generated/models/call_records/participant_endpoint.py @@ -7,6 +7,7 @@ from ..identity_set import IdentitySet from .endpoint import Endpoint from .user_feedback import UserFeedback + from .user_identity import UserIdentity from .endpoint import Endpoint @@ -14,6 +15,8 @@ class ParticipantEndpoint(Endpoint): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.callRecords.participantEndpoint" + # Identity associated with the endpoint. + associated_identity: Optional[UserIdentity] = None # CPU number of cores used by the media endpoint. cpu_cores_count: Optional[int] = None # CPU name used by the media endpoint. @@ -22,7 +25,7 @@ class ParticipantEndpoint(Endpoint): cpu_processor_speed_in_mhz: Optional[int] = None # The feedback provided by the user of this endpoint about the quality of the session. feedback: Optional[UserFeedback] = None - # Identity associated with the endpoint. + # The identity property identity: Optional[IdentitySet] = None # Name of the device used by the media endpoint. name: Optional[str] = None @@ -46,12 +49,15 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from ..identity_set import IdentitySet from .endpoint import Endpoint from .user_feedback import UserFeedback + from .user_identity import UserIdentity from ..identity_set import IdentitySet from .endpoint import Endpoint from .user_feedback import UserFeedback + from .user_identity import UserIdentity fields: Dict[str, Callable[[Any], None]] = { + "associatedIdentity": lambda n : setattr(self, 'associated_identity', n.get_object_value(UserIdentity)), "cpuCoresCount": lambda n : setattr(self, 'cpu_cores_count', n.get_int_value()), "cpuName": lambda n : setattr(self, 'cpu_name', n.get_str_value()), "cpuProcessorSpeedInMhz": lambda n : setattr(self, 'cpu_processor_speed_in_mhz', n.get_int_value()), @@ -72,6 +78,7 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") super().serialize(writer) + writer.write_object_value("associatedIdentity", self.associated_identity) writer.write_int_value("cpuCoresCount", self.cpu_cores_count) writer.write_str_value("cpuName", self.cpu_name) writer.write_int_value("cpuProcessorSpeedInMhz", self.cpu_processor_speed_in_mhz) diff --git a/msgraph_beta/generated/models/call_records/user_identity.py b/msgraph_beta/generated/models/call_records/user_identity.py new file mode 100644 index 00000000000..cb7668329c4 --- /dev/null +++ b/msgraph_beta/generated/models/call_records/user_identity.py @@ -0,0 +1,56 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..identity import Identity + +from ..identity import Identity + +@dataclass +class UserIdentity(Identity): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.callRecords.userIdentity" + # The userPrincipalName property + user_principal_name: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> UserIdentity: + """ + 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: UserIdentity + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return UserIdentity() + + 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 import Identity + + from ..identity import Identity + + fields: Dict[str, Callable[[Any], None]] = { + "userPrincipalName": lambda n : setattr(self, 'user_principal_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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_str_value("userPrincipalName", self.user_principal_name) + + diff --git a/msgraph_beta/generated/models/change_tracked_entity.py b/msgraph_beta/generated/models/change_tracked_entity.py index 7d25ef6701e..bd9b6e9e4fb 100644 --- a/msgraph_beta/generated/models/change_tracked_entity.py +++ b/msgraph_beta/generated/models/change_tracked_entity.py @@ -5,6 +5,7 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: + from .day_note import DayNote from .entity import Entity from .identity_set import IdentitySet from .offer_shift_request import OfferShiftRequest @@ -25,13 +26,13 @@ @dataclass class ChangeTrackedEntity(Entity): - # The createdBy property + # Identity of the user who created the entity. created_by: Optional[IdentitySet] = None - # The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + # 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. created_date_time: Optional[datetime.datetime] = None - # Identity of the person who last modified the entity. + # Identity of the user who last modified the entity. last_modified_by: Optional[IdentitySet] = None - # The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + # 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. last_modified_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None @@ -49,6 +50,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> C mapping_value = parse_node.get_child_node("@odata.type").get_str_value() except AttributeError: mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.dayNote".casefold(): + from .day_note import DayNote + + return DayNote() if mapping_value and mapping_value.casefold() == "#microsoft.graph.offerShiftRequest".casefold(): from .offer_shift_request import OfferShiftRequest @@ -108,6 +113,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .day_note import DayNote from .entity import Entity from .identity_set import IdentitySet from .offer_shift_request import OfferShiftRequest @@ -124,6 +130,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .time_off_request import TimeOffRequest from .workforce_integration import WorkforceIntegration + from .day_note import DayNote from .entity import Entity from .identity_set import IdentitySet from .offer_shift_request import OfferShiftRequest diff --git a/msgraph_beta/generated/models/channel.py b/msgraph_beta/generated/models/channel.py index 28c8fcc264d..ba905cc357c 100644 --- a/msgraph_beta/generated/models/channel.py +++ b/msgraph_beta/generated/models/channel.py @@ -29,6 +29,8 @@ class Channel(Entity): email: Optional[str] = None # Metadata for the location where the channel's files are stored. files_folder: Optional[DriveItem] = None + # The isArchived property + is_archived: Optional[bool] = None # Indicates whether the channel should automatically be marked 'favorite' for all members of the team. Can only be set programmatically with Create team. Default: false. is_favorite_by_default: Optional[bool] = None # A collection of membership records associated with the channel. @@ -94,6 +96,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), "email": lambda n : setattr(self, 'email', n.get_str_value()), "filesFolder": lambda n : setattr(self, 'files_folder', n.get_object_value(DriveItem)), + "isArchived": lambda n : setattr(self, 'is_archived', n.get_bool_value()), "isFavoriteByDefault": lambda n : setattr(self, 'is_favorite_by_default', n.get_bool_value()), "members": lambda n : setattr(self, 'members', n.get_collection_of_object_values(ConversationMember)), "membershipType": lambda n : setattr(self, 'membership_type', n.get_enum_value(ChannelMembershipType)), @@ -123,6 +126,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("displayName", self.display_name) writer.write_str_value("email", self.email) writer.write_object_value("filesFolder", self.files_folder) + writer.write_bool_value("isArchived", self.is_archived) writer.write_bool_value("isFavoriteByDefault", self.is_favorite_by_default) writer.write_collection_of_object_values("members", self.members) writer.write_enum_value("membershipType", self.membership_type) diff --git a/msgraph_beta/generated/models/channel_sharing_updated_event_message_detail.py b/msgraph_beta/generated/models/channel_sharing_updated_event_message_detail.py new file mode 100644 index 00000000000..8b86774dd5c --- /dev/null +++ b/msgraph_beta/generated/models/channel_sharing_updated_event_message_detail.py @@ -0,0 +1,71 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + +from .event_message_detail import EventMessageDetail + +@dataclass +class ChannelSharingUpdatedEventMessageDetail(EventMessageDetail): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.channelSharingUpdatedEventMessageDetail" + # Initiator of the event. + initiator: Optional[IdentitySet] = None + # The ID of the team to which the shared channel belongs. + owner_team_id: Optional[str] = None + # The ID of the tenant to which the shared channel belongs. + owner_tenant_id: Optional[str] = None + # The ID of the shared channel. + shared_channel_id: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> ChannelSharingUpdatedEventMessageDetail: + """ + 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: ChannelSharingUpdatedEventMessageDetail + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return ChannelSharingUpdatedEventMessageDetail() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + + from .event_message_detail import EventMessageDetail + from .identity_set import IdentitySet + + fields: Dict[str, Callable[[Any], None]] = { + "initiator": lambda n : setattr(self, 'initiator', n.get_object_value(IdentitySet)), + "ownerTeamId": lambda n : setattr(self, 'owner_team_id', n.get_str_value()), + "ownerTenantId": lambda n : setattr(self, 'owner_tenant_id', n.get_str_value()), + "sharedChannelId": lambda n : setattr(self, 'shared_channel_id', 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_object_value("initiator", self.initiator) + writer.write_str_value("ownerTeamId", self.owner_team_id) + writer.write_str_value("ownerTenantId", self.owner_tenant_id) + writer.write_str_value("sharedChannelId", self.shared_channel_id) + + diff --git a/msgraph_beta/generated/models/cloud_p_c.py b/msgraph_beta/generated/models/cloud_p_c.py index b37e2f6046f..996b69d8c29 100644 --- a/msgraph_beta/generated/models/cloud_p_c.py +++ b/msgraph_beta/generated/models/cloud_p_c.py @@ -7,6 +7,7 @@ if TYPE_CHECKING: from .cloud_pc_connection_settings import CloudPcConnectionSettings from .cloud_pc_connectivity_result import CloudPcConnectivityResult + from .cloud_pc_disaster_recovery_capability import CloudPcDisasterRecoveryCapability from .cloud_pc_disk_encryption_state import CloudPcDiskEncryptionState from .cloud_pc_login_result import CloudPcLoginResult from .cloud_pc_operating_system import CloudPcOperatingSystem @@ -30,6 +31,8 @@ class CloudPC(Entity): connection_settings: Optional[CloudPcConnectionSettings] = None # The connectivity health check result of a Cloud PC, including the updated timestamp and whether the Cloud PC can be connected. connectivity_result: Optional[CloudPcConnectivityResult] = None + # The disasterRecoveryCapability property + disaster_recovery_capability: Optional[CloudPcDisasterRecoveryCapability] = None # The disk encryption applied to the Cloud PC. Possible values: notAvailable, notEncrypted, encryptedUsingPlatformManagedKey, encryptedUsingCustomerManagedKey, and unknownFutureValue. disk_encryption_state: Optional[CloudPcDiskEncryptionState] = None # The display name of the Cloud PC. @@ -64,6 +67,8 @@ class CloudPC(Entity): provisioning_policy_name: Optional[str] = None # The type of licenses to be used when provisioning Cloud PCs using this policy. Possible values are: dedicated, shared, unknownFutureValue. Default value is dedicated. provisioning_type: Optional[CloudPcProvisioningType] = None + # The scopeIds property + scope_ids: Optional[List[str]] = None # The service plan ID of the Cloud PC. service_plan_id: Optional[str] = None # The service plan name of the Cloud PC. @@ -97,6 +102,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ from .cloud_pc_connection_settings import CloudPcConnectionSettings from .cloud_pc_connectivity_result import CloudPcConnectivityResult + from .cloud_pc_disaster_recovery_capability import CloudPcDisasterRecoveryCapability from .cloud_pc_disk_encryption_state import CloudPcDiskEncryptionState from .cloud_pc_login_result import CloudPcLoginResult from .cloud_pc_operating_system import CloudPcOperatingSystem @@ -112,6 +118,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .cloud_pc_connection_settings import CloudPcConnectionSettings from .cloud_pc_connectivity_result import CloudPcConnectivityResult + from .cloud_pc_disaster_recovery_capability import CloudPcDisasterRecoveryCapability from .cloud_pc_disk_encryption_state import CloudPcDiskEncryptionState from .cloud_pc_login_result import CloudPcLoginResult from .cloud_pc_operating_system import CloudPcOperatingSystem @@ -129,6 +136,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "aadDeviceId": lambda n : setattr(self, 'aad_device_id', n.get_str_value()), "connectionSettings": lambda n : setattr(self, 'connection_settings', n.get_object_value(CloudPcConnectionSettings)), "connectivityResult": lambda n : setattr(self, 'connectivity_result', n.get_object_value(CloudPcConnectivityResult)), + "disasterRecoveryCapability": lambda n : setattr(self, 'disaster_recovery_capability', n.get_object_value(CloudPcDisasterRecoveryCapability)), "diskEncryptionState": lambda n : setattr(self, 'disk_encryption_state', n.get_enum_value(CloudPcDiskEncryptionState)), "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), "gracePeriodEndDateTime": lambda n : setattr(self, 'grace_period_end_date_time', n.get_datetime_value()), @@ -145,6 +153,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "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)), + "scopeIds": lambda n : setattr(self, 'scope_ids', n.get_collection_of_primitive_values(str)), "servicePlanId": lambda n : setattr(self, 'service_plan_id', n.get_str_value()), "servicePlanName": lambda n : setattr(self, 'service_plan_name', n.get_str_value()), "servicePlanType": lambda n : setattr(self, 'service_plan_type', n.get_enum_value(CloudPcServicePlanType)), @@ -169,6 +178,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("aadDeviceId", self.aad_device_id) writer.write_object_value("connectionSettings", self.connection_settings) writer.write_object_value("connectivityResult", self.connectivity_result) + writer.write_object_value("disasterRecoveryCapability", self.disaster_recovery_capability) writer.write_enum_value("diskEncryptionState", self.disk_encryption_state) writer.write_str_value("displayName", self.display_name) writer.write_datetime_value("gracePeriodEndDateTime", self.grace_period_end_date_time) @@ -185,6 +195,7 @@ def serialize(self,writer: SerializationWriter) -> None: 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) + writer.write_collection_of_primitive_values("scopeIds", self.scope_ids) writer.write_str_value("servicePlanId", self.service_plan_id) writer.write_str_value("servicePlanName", self.service_plan_name) writer.write_enum_value("servicePlanType", self.service_plan_type) diff --git a/msgraph_beta/generated/models/cloud_p_c_inaccessible_report_name.py b/msgraph_beta/generated/models/cloud_p_c_inaccessible_report_name.py new file mode 100644 index 00000000000..5be317193b3 --- /dev/null +++ b/msgraph_beta/generated/models/cloud_p_c_inaccessible_report_name.py @@ -0,0 +1,7 @@ +from enum import Enum + +class CloudPCInaccessibleReportName(str, Enum): + InaccessibleCloudPcReports = "inaccessibleCloudPcReports", + InaccessibleCloudPcTrendReport = "inaccessibleCloudPcTrendReport", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/cloud_p_c_performance_report_name.py b/msgraph_beta/generated/models/cloud_p_c_performance_report_name.py new file mode 100644 index 00000000000..f31136286dd --- /dev/null +++ b/msgraph_beta/generated/models/cloud_p_c_performance_report_name.py @@ -0,0 +1,6 @@ +from enum import Enum + +class CloudPCPerformanceReportName(str, Enum): + PerformanceTrendReport = "performanceTrendReport", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/cloud_pc_audit_activity_operation_type.py b/msgraph_beta/generated/models/cloud_pc_audit_activity_operation_type.py index ff08b0a2e32..9f281af2667 100644 --- a/msgraph_beta/generated/models/cloud_pc_audit_activity_operation_type.py +++ b/msgraph_beta/generated/models/cloud_pc_audit_activity_operation_type.py @@ -4,5 +4,5 @@ class CloudPcAuditActivityOperationType(str, Enum): Create = "create", Delete = "delete", Patch = "patch", - Other = "other", + UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/cloud_pc_audit_activity_result.py b/msgraph_beta/generated/models/cloud_pc_audit_activity_result.py index 491c2a8bdef..e1588fade21 100644 --- a/msgraph_beta/generated/models/cloud_pc_audit_activity_result.py +++ b/msgraph_beta/generated/models/cloud_pc_audit_activity_result.py @@ -5,5 +5,5 @@ class CloudPcAuditActivityResult(str, Enum): ClientError = "clientError", Failure = "failure", Timeout = "timeout", - Other = "other", + UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/cloud_pc_audit_actor_type.py b/msgraph_beta/generated/models/cloud_pc_audit_actor_type.py index 8d2cb819f82..df36422df8d 100644 --- a/msgraph_beta/generated/models/cloud_pc_audit_actor_type.py +++ b/msgraph_beta/generated/models/cloud_pc_audit_actor_type.py @@ -4,5 +4,5 @@ class CloudPcAuditActorType(str, Enum): ItPro = "itPro", Application = "application", Partner = "partner", - Unknown = "unknown", + UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/cloud_pc_audit_category.py b/msgraph_beta/generated/models/cloud_pc_audit_category.py index ecf87140790..d0ab87e401b 100644 --- a/msgraph_beta/generated/models/cloud_pc_audit_category.py +++ b/msgraph_beta/generated/models/cloud_pc_audit_category.py @@ -2,5 +2,5 @@ class CloudPcAuditCategory(str, Enum): CloudPC = "cloudPC", - Other = "other", + UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/cloud_pc_bulk_action.py b/msgraph_beta/generated/models/cloud_pc_bulk_action.py index 573b6a29ea4..82d3601052a 100644 --- a/msgraph_beta/generated/models/cloud_pc_bulk_action.py +++ b/msgraph_beta/generated/models/cloud_pc_bulk_action.py @@ -6,6 +6,9 @@ if TYPE_CHECKING: from .cloud_pc_bulk_action_summary import CloudPcBulkActionSummary + from .cloud_pc_bulk_disaster_recovery_failback import CloudPcBulkDisasterRecoveryFailback + from .cloud_pc_bulk_disaster_recovery_failover import CloudPcBulkDisasterRecoveryFailover + from .cloud_pc_bulk_modify_disk_encryption_type import CloudPcBulkModifyDiskEncryptionType from .cloud_pc_bulk_power_off import CloudPcBulkPowerOff from .cloud_pc_bulk_power_on import CloudPcBulkPowerOn from .cloud_pc_bulk_reprovision import CloudPcBulkReprovision @@ -43,6 +46,18 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> C mapping_value = parse_node.get_child_node("@odata.type").get_str_value() except AttributeError: mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.cloudPcBulkDisasterRecoveryFailback".casefold(): + from .cloud_pc_bulk_disaster_recovery_failback import CloudPcBulkDisasterRecoveryFailback + + return CloudPcBulkDisasterRecoveryFailback() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.cloudPcBulkDisasterRecoveryFailover".casefold(): + from .cloud_pc_bulk_disaster_recovery_failover import CloudPcBulkDisasterRecoveryFailover + + return CloudPcBulkDisasterRecoveryFailover() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.cloudPcBulkModifyDiskEncryptionType".casefold(): + from .cloud_pc_bulk_modify_disk_encryption_type import CloudPcBulkModifyDiskEncryptionType + + return CloudPcBulkModifyDiskEncryptionType() if mapping_value and mapping_value.casefold() == "#microsoft.graph.cloudPcBulkPowerOff".casefold(): from .cloud_pc_bulk_power_off import CloudPcBulkPowerOff @@ -79,6 +94,9 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .cloud_pc_bulk_action_summary import CloudPcBulkActionSummary + from .cloud_pc_bulk_disaster_recovery_failback import CloudPcBulkDisasterRecoveryFailback + from .cloud_pc_bulk_disaster_recovery_failover import CloudPcBulkDisasterRecoveryFailover + from .cloud_pc_bulk_modify_disk_encryption_type import CloudPcBulkModifyDiskEncryptionType from .cloud_pc_bulk_power_off import CloudPcBulkPowerOff from .cloud_pc_bulk_power_on import CloudPcBulkPowerOn from .cloud_pc_bulk_reprovision import CloudPcBulkReprovision @@ -89,6 +107,9 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .entity import Entity from .cloud_pc_bulk_action_summary import CloudPcBulkActionSummary + from .cloud_pc_bulk_disaster_recovery_failback import CloudPcBulkDisasterRecoveryFailback + from .cloud_pc_bulk_disaster_recovery_failover import CloudPcBulkDisasterRecoveryFailover + from .cloud_pc_bulk_modify_disk_encryption_type import CloudPcBulkModifyDiskEncryptionType from .cloud_pc_bulk_power_off import CloudPcBulkPowerOff from .cloud_pc_bulk_power_on import CloudPcBulkPowerOn from .cloud_pc_bulk_reprovision import CloudPcBulkReprovision diff --git a/msgraph_beta/generated/models/cloud_pc_bulk_disaster_recovery_failback.py b/msgraph_beta/generated/models/cloud_pc_bulk_disaster_recovery_failback.py new file mode 100644 index 00000000000..1129ed546da --- /dev/null +++ b/msgraph_beta/generated/models/cloud_pc_bulk_disaster_recovery_failback.py @@ -0,0 +1,52 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .cloud_pc_bulk_action import CloudPcBulkAction + +from .cloud_pc_bulk_action import CloudPcBulkAction + +@dataclass +class CloudPcBulkDisasterRecoveryFailback(CloudPcBulkAction): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.cloudPcBulkDisasterRecoveryFailback" + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> CloudPcBulkDisasterRecoveryFailback: + """ + 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: CloudPcBulkDisasterRecoveryFailback + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return CloudPcBulkDisasterRecoveryFailback() + + 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_bulk_action import CloudPcBulkAction + + from .cloud_pc_bulk_action import CloudPcBulkAction + + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + + diff --git a/msgraph_beta/generated/models/cloud_pc_bulk_disaster_recovery_failover.py b/msgraph_beta/generated/models/cloud_pc_bulk_disaster_recovery_failover.py new file mode 100644 index 00000000000..961ac049462 --- /dev/null +++ b/msgraph_beta/generated/models/cloud_pc_bulk_disaster_recovery_failover.py @@ -0,0 +1,52 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .cloud_pc_bulk_action import CloudPcBulkAction + +from .cloud_pc_bulk_action import CloudPcBulkAction + +@dataclass +class CloudPcBulkDisasterRecoveryFailover(CloudPcBulkAction): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.cloudPcBulkDisasterRecoveryFailover" + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> CloudPcBulkDisasterRecoveryFailover: + """ + 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: CloudPcBulkDisasterRecoveryFailover + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return CloudPcBulkDisasterRecoveryFailover() + + 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_bulk_action import CloudPcBulkAction + + from .cloud_pc_bulk_action import CloudPcBulkAction + + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + + diff --git a/msgraph_beta/generated/models/cloud_pc_bulk_modify_disk_encryption_type.py b/msgraph_beta/generated/models/cloud_pc_bulk_modify_disk_encryption_type.py new file mode 100644 index 00000000000..436a157a845 --- /dev/null +++ b/msgraph_beta/generated/models/cloud_pc_bulk_modify_disk_encryption_type.py @@ -0,0 +1,59 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .cloud_pc_bulk_action import CloudPcBulkAction + from .cloud_pc_disk_encryption_type import CloudPcDiskEncryptionType + +from .cloud_pc_bulk_action import CloudPcBulkAction + +@dataclass +class CloudPcBulkModifyDiskEncryptionType(CloudPcBulkAction): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.cloudPcBulkModifyDiskEncryptionType" + # The diskEncryptionType property + disk_encryption_type: Optional[CloudPcDiskEncryptionType] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> CloudPcBulkModifyDiskEncryptionType: + """ + 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: CloudPcBulkModifyDiskEncryptionType + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return CloudPcBulkModifyDiskEncryptionType() + + 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_bulk_action import CloudPcBulkAction + from .cloud_pc_disk_encryption_type import CloudPcDiskEncryptionType + + from .cloud_pc_bulk_action import CloudPcBulkAction + from .cloud_pc_disk_encryption_type import CloudPcDiskEncryptionType + + fields: Dict[str, Callable[[Any], None]] = { + "diskEncryptionType": lambda n : setattr(self, 'disk_encryption_type', n.get_enum_value(CloudPcDiskEncryptionType)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_enum_value("diskEncryptionType", self.disk_encryption_type) + + diff --git a/msgraph_beta/generated/models/cloud_pc_cross_region_disaster_recovery_setting.py b/msgraph_beta/generated/models/cloud_pc_cross_region_disaster_recovery_setting.py new file mode 100644 index 00000000000..2fe289a4c09 --- /dev/null +++ b/msgraph_beta/generated/models/cloud_pc_cross_region_disaster_recovery_setting.py @@ -0,0 +1,68 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .cloud_pc_disaster_recovery_network_setting import CloudPcDisasterRecoveryNetworkSetting + +@dataclass +class CloudPcCrossRegionDisasterRecoverySetting(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 crossRegionDisasterRecoveryEnabled property + cross_region_disaster_recovery_enabled: Optional[bool] = None + # The disasterRecoveryNetworkSetting property + disaster_recovery_network_setting: Optional[CloudPcDisasterRecoveryNetworkSetting] = None + # The maintainCrossRegionRestorePointEnabled property + maintain_cross_region_restore_point_enabled: Optional[bool] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> CloudPcCrossRegionDisasterRecoverySetting: + """ + 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: CloudPcCrossRegionDisasterRecoverySetting + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return CloudPcCrossRegionDisasterRecoverySetting() + + 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_disaster_recovery_network_setting import CloudPcDisasterRecoveryNetworkSetting + + from .cloud_pc_disaster_recovery_network_setting import CloudPcDisasterRecoveryNetworkSetting + + fields: Dict[str, Callable[[Any], None]] = { + "crossRegionDisasterRecoveryEnabled": lambda n : setattr(self, 'cross_region_disaster_recovery_enabled', n.get_bool_value()), + "disasterRecoveryNetworkSetting": lambda n : setattr(self, 'disaster_recovery_network_setting', n.get_object_value(CloudPcDisasterRecoveryNetworkSetting)), + "maintainCrossRegionRestorePointEnabled": lambda n : setattr(self, 'maintain_cross_region_restore_point_enabled', 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_bool_value("crossRegionDisasterRecoveryEnabled", self.cross_region_disaster_recovery_enabled) + writer.write_object_value("disasterRecoveryNetworkSetting", self.disaster_recovery_network_setting) + writer.write_bool_value("maintainCrossRegionRestorePointEnabled", self.maintain_cross_region_restore_point_enabled) + 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_pc_device_image.py b/msgraph_beta/generated/models/cloud_pc_device_image.py index 67cebb06560..1d3e7901ea1 100644 --- a/msgraph_beta/generated/models/cloud_pc_device_image.py +++ b/msgraph_beta/generated/models/cloud_pc_device_image.py @@ -5,6 +5,7 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: + from .cloud_pc_device_image_error_code import CloudPcDeviceImageErrorCode from .cloud_pc_device_image_os_status import CloudPcDeviceImageOsStatus from .cloud_pc_device_image_status import CloudPcDeviceImageStatus from .cloud_pc_device_image_status_details import CloudPcDeviceImageStatusDetails @@ -16,6 +17,8 @@ class CloudPcDeviceImage(Entity): # The display name of the image. display_name: Optional[str] = None + # The errorCode property + error_code: Optional[CloudPcDeviceImageErrorCode] = None # The date the image became unavailable. expiration_date: Optional[datetime.date] = None # The data and time that the image was last modified. The time is shown in ISO 8601 format and Coordinated Universal Time (UTC) time. For example, midnight UTC on Jan 1, 2014 appears as 2014-01-01T00:00:00Z. @@ -28,6 +31,8 @@ class CloudPcDeviceImage(Entity): os_build_number: Optional[str] = None # The OS status of this image. Possible values are: supported, supportedWithWarning, unknownFutureValue. os_status: Optional[CloudPcDeviceImageOsStatus] = None + # The scopeIds property + scope_ids: Optional[List[str]] = None # The ID of the source image resource on Azure. Required format: /subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}. source_image_resource_id: Optional[str] = None # The status of the image on Cloud PC. Possible values are: pending, ready, failed. @@ -53,11 +58,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 .cloud_pc_device_image_error_code import CloudPcDeviceImageErrorCode from .cloud_pc_device_image_os_status import CloudPcDeviceImageOsStatus from .cloud_pc_device_image_status import CloudPcDeviceImageStatus from .cloud_pc_device_image_status_details import CloudPcDeviceImageStatusDetails from .entity import Entity + from .cloud_pc_device_image_error_code import CloudPcDeviceImageErrorCode from .cloud_pc_device_image_os_status import CloudPcDeviceImageOsStatus from .cloud_pc_device_image_status import CloudPcDeviceImageStatus from .cloud_pc_device_image_status_details import CloudPcDeviceImageStatusDetails @@ -65,11 +72,13 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + "errorCode": lambda n : setattr(self, 'error_code', n.get_enum_value(CloudPcDeviceImageErrorCode)), "expirationDate": lambda n : setattr(self, 'expiration_date', n.get_date_value()), "lastModifiedDateTime": lambda n : setattr(self, 'last_modified_date_time', n.get_datetime_value()), "operatingSystem": lambda n : setattr(self, 'operating_system', n.get_str_value()), "osBuildNumber": lambda n : setattr(self, 'os_build_number', n.get_str_value()), "osStatus": lambda n : setattr(self, 'os_status', n.get_enum_value(CloudPcDeviceImageOsStatus)), + "scopeIds": lambda n : setattr(self, 'scope_ids', n.get_collection_of_primitive_values(str)), "sourceImageResourceId": lambda n : setattr(self, 'source_image_resource_id', n.get_str_value()), "status": lambda n : setattr(self, 'status', n.get_enum_value(CloudPcDeviceImageStatus)), "statusDetails": lambda n : setattr(self, 'status_details', n.get_enum_value(CloudPcDeviceImageStatusDetails)), @@ -89,11 +98,13 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") super().serialize(writer) writer.write_str_value("displayName", self.display_name) + writer.write_enum_value("errorCode", self.error_code) writer.write_date_value("expirationDate", self.expiration_date) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) writer.write_str_value("operatingSystem", self.operating_system) writer.write_str_value("osBuildNumber", self.os_build_number) writer.write_enum_value("osStatus", self.os_status) + writer.write_collection_of_primitive_values("scopeIds", self.scope_ids) writer.write_str_value("sourceImageResourceId", self.source_image_resource_id) writer.write_enum_value("status", self.status) writer.write_enum_value("statusDetails", self.status_details) diff --git a/msgraph_beta/generated/models/cloud_pc_device_image_error_code.py b/msgraph_beta/generated/models/cloud_pc_device_image_error_code.py new file mode 100644 index 00000000000..2e9b2a7bf07 --- /dev/null +++ b/msgraph_beta/generated/models/cloud_pc_device_image_error_code.py @@ -0,0 +1,14 @@ +from enum import Enum + +class CloudPcDeviceImageErrorCode(str, Enum): + InternalServerError = "internalServerError", + SourceImageNotFound = "sourceImageNotFound", + OsVersionNotSupported = "osVersionNotSupported", + SourceImageInvalid = "sourceImageInvalid", + SourceImageNotGeneralized = "sourceImageNotGeneralized", + UnknownFutureValue = "unknownFutureValue", + VmAlreadyAzureAdjoined = "vmAlreadyAzureAdjoined", + PaidSourceImageNotSupport = "paidSourceImageNotSupport", + SourceImageNotSupportCustomizeVMName = "sourceImageNotSupportCustomizeVMName", + SourceImageSizeExceedsLimitation = "sourceImageSizeExceedsLimitation", + diff --git a/msgraph_beta/generated/models/cloud_pc_device_image_os_status.py b/msgraph_beta/generated/models/cloud_pc_device_image_os_status.py index 89fc506164f..783120cd0b8 100644 --- a/msgraph_beta/generated/models/cloud_pc_device_image_os_status.py +++ b/msgraph_beta/generated/models/cloud_pc_device_image_os_status.py @@ -3,5 +3,6 @@ class CloudPcDeviceImageOsStatus(str, Enum): Supported = "supported", SupportedWithWarning = "supportedWithWarning", + Unknown = "unknown", UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/cloud_pc_device_image_status.py b/msgraph_beta/generated/models/cloud_pc_device_image_status.py index 1bfa5d97bec..208363efae1 100644 --- a/msgraph_beta/generated/models/cloud_pc_device_image_status.py +++ b/msgraph_beta/generated/models/cloud_pc_device_image_status.py @@ -4,4 +4,5 @@ class CloudPcDeviceImageStatus(str, Enum): Pending = "pending", Ready = "ready", Failed = "failed", + UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/cloud_pc_disaster_recovery_azure_connection_setting.py b/msgraph_beta/generated/models/cloud_pc_disaster_recovery_azure_connection_setting.py new file mode 100644 index 00000000000..8c933d5b425 --- /dev/null +++ b/msgraph_beta/generated/models/cloud_pc_disaster_recovery_azure_connection_setting.py @@ -0,0 +1,56 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .cloud_pc_disaster_recovery_network_setting import CloudPcDisasterRecoveryNetworkSetting + +from .cloud_pc_disaster_recovery_network_setting import CloudPcDisasterRecoveryNetworkSetting + +@dataclass +class CloudPcDisasterRecoveryAzureConnectionSetting(CloudPcDisasterRecoveryNetworkSetting): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.cloudPcDisasterRecoveryAzureConnectionSetting" + # The onPremisesConnectionId property + on_premises_connection_id: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> CloudPcDisasterRecoveryAzureConnectionSetting: + """ + 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: CloudPcDisasterRecoveryAzureConnectionSetting + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return CloudPcDisasterRecoveryAzureConnectionSetting() + + 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_disaster_recovery_network_setting import CloudPcDisasterRecoveryNetworkSetting + + from .cloud_pc_disaster_recovery_network_setting import CloudPcDisasterRecoveryNetworkSetting + + fields: Dict[str, Callable[[Any], None]] = { + "onPremisesConnectionId": lambda n : setattr(self, 'on_premises_connection_id', 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_str_value("onPremisesConnectionId", self.on_premises_connection_id) + + diff --git a/msgraph_beta/generated/models/cloud_pc_disaster_recovery_capability.py b/msgraph_beta/generated/models/cloud_pc_disaster_recovery_capability.py new file mode 100644 index 00000000000..e479b528103 --- /dev/null +++ b/msgraph_beta/generated/models/cloud_pc_disaster_recovery_capability.py @@ -0,0 +1,68 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .cloud_pc_disaster_recovery_capability_type import CloudPcDisasterRecoveryCapabilityType + +@dataclass +class CloudPcDisasterRecoveryCapability(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 capabilityType property + capability_type: Optional[CloudPcDisasterRecoveryCapabilityType] = None + # The OdataType property + odata_type: Optional[str] = None + # The primaryRegion property + primary_region: Optional[str] = None + # The secondaryRegion property + secondary_region: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> CloudPcDisasterRecoveryCapability: + """ + 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: CloudPcDisasterRecoveryCapability + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return CloudPcDisasterRecoveryCapability() + + 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_disaster_recovery_capability_type import CloudPcDisasterRecoveryCapabilityType + + from .cloud_pc_disaster_recovery_capability_type import CloudPcDisasterRecoveryCapabilityType + + fields: Dict[str, Callable[[Any], None]] = { + "capabilityType": lambda n : setattr(self, 'capability_type', n.get_enum_value(CloudPcDisasterRecoveryCapabilityType)), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "primaryRegion": lambda n : setattr(self, 'primary_region', n.get_str_value()), + "secondaryRegion": lambda n : setattr(self, 'secondary_region', 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_enum_value("capabilityType", self.capability_type) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_str_value("primaryRegion", self.primary_region) + writer.write_str_value("secondaryRegion", self.secondary_region) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/cloud_pc_disaster_recovery_capability_type.py b/msgraph_beta/generated/models/cloud_pc_disaster_recovery_capability_type.py new file mode 100644 index 00000000000..db540c393c5 --- /dev/null +++ b/msgraph_beta/generated/models/cloud_pc_disaster_recovery_capability_type.py @@ -0,0 +1,8 @@ +from enum import Enum + +class CloudPcDisasterRecoveryCapabilityType(str, Enum): + None_ = "none", + Failover = "failover", + Failback = "failback", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/cloud_pc_disaster_recovery_microsoft_hosted_network_setting.py b/msgraph_beta/generated/models/cloud_pc_disaster_recovery_microsoft_hosted_network_setting.py new file mode 100644 index 00000000000..7650f1ece64 --- /dev/null +++ b/msgraph_beta/generated/models/cloud_pc_disaster_recovery_microsoft_hosted_network_setting.py @@ -0,0 +1,63 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .cloud_pc_disaster_recovery_network_setting import CloudPcDisasterRecoveryNetworkSetting + from .cloud_pc_region_group import CloudPcRegionGroup + +from .cloud_pc_disaster_recovery_network_setting import CloudPcDisasterRecoveryNetworkSetting + +@dataclass +class CloudPcDisasterRecoveryMicrosoftHostedNetworkSetting(CloudPcDisasterRecoveryNetworkSetting): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.cloudPcDisasterRecoveryMicrosoftHostedNetworkSetting" + # The regionGroup property + region_group: Optional[CloudPcRegionGroup] = None + # The regionName property + region_name: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> CloudPcDisasterRecoveryMicrosoftHostedNetworkSetting: + """ + 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: CloudPcDisasterRecoveryMicrosoftHostedNetworkSetting + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return CloudPcDisasterRecoveryMicrosoftHostedNetworkSetting() + + 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_disaster_recovery_network_setting import CloudPcDisasterRecoveryNetworkSetting + from .cloud_pc_region_group import CloudPcRegionGroup + + from .cloud_pc_disaster_recovery_network_setting import CloudPcDisasterRecoveryNetworkSetting + from .cloud_pc_region_group import CloudPcRegionGroup + + fields: Dict[str, Callable[[Any], None]] = { + "regionGroup": lambda n : setattr(self, 'region_group', n.get_enum_value(CloudPcRegionGroup)), + "regionName": lambda n : setattr(self, 'region_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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_enum_value("regionGroup", self.region_group) + writer.write_str_value("regionName", self.region_name) + + diff --git a/msgraph_beta/generated/models/cloud_pc_disaster_recovery_network_setting.py b/msgraph_beta/generated/models/cloud_pc_disaster_recovery_network_setting.py new file mode 100644 index 00000000000..c945724be4a --- /dev/null +++ b/msgraph_beta/generated/models/cloud_pc_disaster_recovery_network_setting.py @@ -0,0 +1,71 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .cloud_pc_disaster_recovery_azure_connection_setting import CloudPcDisasterRecoveryAzureConnectionSetting + from .cloud_pc_disaster_recovery_microsoft_hosted_network_setting import CloudPcDisasterRecoveryMicrosoftHostedNetworkSetting + +@dataclass +class CloudPcDisasterRecoveryNetworkSetting(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: Optional[ParseNode] = None) -> CloudPcDisasterRecoveryNetworkSetting: + """ + 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: CloudPcDisasterRecoveryNetworkSetting + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + except AttributeError: + mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.cloudPcDisasterRecoveryAzureConnectionSetting".casefold(): + from .cloud_pc_disaster_recovery_azure_connection_setting import CloudPcDisasterRecoveryAzureConnectionSetting + + return CloudPcDisasterRecoveryAzureConnectionSetting() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.cloudPcDisasterRecoveryMicrosoftHostedNetworkSetting".casefold(): + from .cloud_pc_disaster_recovery_microsoft_hosted_network_setting import CloudPcDisasterRecoveryMicrosoftHostedNetworkSetting + + return CloudPcDisasterRecoveryMicrosoftHostedNetworkSetting() + return CloudPcDisasterRecoveryNetworkSetting() + + 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_disaster_recovery_azure_connection_setting import CloudPcDisasterRecoveryAzureConnectionSetting + from .cloud_pc_disaster_recovery_microsoft_hosted_network_setting import CloudPcDisasterRecoveryMicrosoftHostedNetworkSetting + + from .cloud_pc_disaster_recovery_azure_connection_setting import CloudPcDisasterRecoveryAzureConnectionSetting + from .cloud_pc_disaster_recovery_microsoft_hosted_network_setting import CloudPcDisasterRecoveryMicrosoftHostedNetworkSetting + + 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 not writer: + 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/cloud_pc_disk_encryption_type.py b/msgraph_beta/generated/models/cloud_pc_disk_encryption_type.py new file mode 100644 index 00000000000..4fa866208df --- /dev/null +++ b/msgraph_beta/generated/models/cloud_pc_disk_encryption_type.py @@ -0,0 +1,7 @@ +from enum import Enum + +class CloudPcDiskEncryptionType(str, Enum): + PlatformManagedKey = "platformManagedKey", + CustomerManagedKey = "customerManagedKey", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/cloud_pc_domain_join_configuration.py b/msgraph_beta/generated/models/cloud_pc_domain_join_configuration.py index 329a467c690..a1da6dad1df 100644 --- a/msgraph_beta/generated/models/cloud_pc_domain_join_configuration.py +++ b/msgraph_beta/generated/models/cloud_pc_domain_join_configuration.py @@ -15,6 +15,8 @@ class CloudPcDomainJoinConfiguration(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 domainJoinType property + domain_join_type: Optional[CloudPcDomainJoinType] = None # The OdataType property odata_type: Optional[str] = None # The Azure network connection ID that matches the virtual network IT admins want the provisioning policy to use when they create Cloud PCs. You can use this property in both domain join types: Azure AD joined or Hybrid Microsoft Entra joined. If you enter an onPremisesConnectionId, leave regionName as empty. @@ -49,6 +51,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .cloud_pc_region_group import CloudPcRegionGroup 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()), "onPremisesConnectionId": lambda n : setattr(self, 'on_premises_connection_id', n.get_str_value()), "regionGroup": lambda n : setattr(self, 'region_group', n.get_enum_value(CloudPcRegionGroup)), @@ -65,6 +68,7 @@ def serialize(self,writer: SerializationWriter) -> None: """ if not writer: 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_str_value("onPremisesConnectionId", self.on_premises_connection_id) writer.write_enum_value("regionGroup", self.region_group) diff --git a/msgraph_beta/generated/models/cloud_pc_export_job.py b/msgraph_beta/generated/models/cloud_pc_export_job.py index 1aa2d1b24c4..390e944fe4d 100644 --- a/msgraph_beta/generated/models/cloud_pc_export_job.py +++ b/msgraph_beta/generated/models/cloud_pc_export_job.py @@ -25,7 +25,7 @@ class CloudPcExportJob(Entity): format: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The report name. The possible values are: remoteConnectionHistoricalReports, dailyAggregatedRemoteConnectionReports, totalAggregatedRemoteConnectionReports, sharedUseLicenseUsageReport, sharedUseLicenseUsageRealTimeReport, unknownFutureValue, noLicenseAvailableConnectivityFailureReport, frontlineLicenseUsageReport, frontlineLicenseUsageRealTimeReport, remoteConnectionQualityReports, inaccessibleCloudPcReports. You must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: noLicenseAvailableConnectivityFailureReport, frontlineLicenseUsageReport, frontlineLicenseUsageRealTimeReport, inaccessibleCloudPcReports. + # The report name. The possible values are: remoteConnectionHistoricalReports, dailyAggregatedRemoteConnectionReports, totalAggregatedRemoteConnectionReports, sharedUseLicenseUsageReport, sharedUseLicenseUsageRealTimeReport, unknownFutureValue, noLicenseAvailableConnectivityFailureReport, frontlineLicenseUsageReport, frontlineLicenseUsageRealTimeReport, remoteConnectionQualityReports, inaccessibleCloudPcReports, rawRemoteConnectionReports. You must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: noLicenseAvailableConnectivityFailureReport, frontlineLicenseUsageReport, frontlineLicenseUsageRealTimeReport, remoteConnectionQualityReports, inaccessibleCloudPcReports, rawRemoteConnectionReports. report_name: Optional[CloudPcReportName] = None # The date and time when the export job was requested. request_date_time: Optional[datetime.datetime] = None diff --git a/msgraph_beta/generated/models/cloud_pc_gallery_image.py b/msgraph_beta/generated/models/cloud_pc_gallery_image.py index 57f0435b8c6..7b3da0953ac 100644 --- a/msgraph_beta/generated/models/cloud_pc_gallery_image.py +++ b/msgraph_beta/generated/models/cloud_pc_gallery_image.py @@ -24,8 +24,12 @@ class CloudPcGalleryImage(Entity): offer: Optional[str] = None # The official display offer name of the gallery image. For example, Windows 10 Enterprise + OS Optimizations. Read-only. offer_display_name: Optional[str] = None + # The offerName property + offer_name: Optional[str] = None # The publisher name of the gallery image. This value is passed to Azure to get the image resource. Read-only. publisher: Optional[str] = None + # The publisherName property + publisher_name: Optional[str] = None # Recommended Cloud PC SKU for this gallery image. Read-only. recommended_sku: Optional[str] = None # The size of this image in gigabytes. Read-only. @@ -34,6 +38,8 @@ class CloudPcGalleryImage(Entity): sku: Optional[str] = None # The official display stock keeping unit (SKU) name of this gallery image. For example, 2004. Read-only. sku_display_name: Optional[str] = None + # The skuName property + sku_name: Optional[str] = None # The date when the image becomes available. Read-only. start_date: Optional[datetime.date] = None # The status of the gallery image on the Cloud PC. Possible values are: supported, supportedWithWarning, notSupported, unknownFutureValue. Read-only. @@ -67,11 +73,14 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "expirationDate": lambda n : setattr(self, 'expiration_date', n.get_date_value()), "offer": lambda n : setattr(self, 'offer', n.get_str_value()), "offerDisplayName": lambda n : setattr(self, 'offer_display_name', n.get_str_value()), + "offerName": lambda n : setattr(self, 'offer_name', n.get_str_value()), "publisher": lambda n : setattr(self, 'publisher', n.get_str_value()), + "publisherName": lambda n : setattr(self, 'publisher_name', n.get_str_value()), "recommendedSku": lambda n : setattr(self, 'recommended_sku', n.get_str_value()), "sizeInGB": lambda n : setattr(self, 'size_in_g_b', n.get_int_value()), "sku": lambda n : setattr(self, 'sku', n.get_str_value()), "skuDisplayName": lambda n : setattr(self, 'sku_display_name', n.get_str_value()), + "skuName": lambda n : setattr(self, 'sku_name', n.get_str_value()), "startDate": lambda n : setattr(self, 'start_date', n.get_date_value()), "status": lambda n : setattr(self, 'status', n.get_enum_value(CloudPcGalleryImageStatus)), } @@ -93,11 +102,14 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_date_value("expirationDate", self.expiration_date) writer.write_str_value("offer", self.offer) writer.write_str_value("offerDisplayName", self.offer_display_name) + writer.write_str_value("offerName", self.offer_name) writer.write_str_value("publisher", self.publisher) + writer.write_str_value("publisherName", self.publisher_name) writer.write_str_value("recommendedSku", self.recommended_sku) writer.write_int_value("sizeInGB", self.size_in_g_b) writer.write_str_value("sku", self.sku) writer.write_str_value("skuDisplayName", self.sku_display_name) + writer.write_str_value("skuName", self.sku_name) writer.write_date_value("startDate", self.start_date) writer.write_enum_value("status", self.status) diff --git a/msgraph_beta/generated/models/cloud_pc_on_premises_connection.py b/msgraph_beta/generated/models/cloud_pc_on_premises_connection.py index 60572cb1898..cf4445ca691 100644 --- a/msgraph_beta/generated/models/cloud_pc_on_premises_connection.py +++ b/msgraph_beta/generated/models/cloud_pc_on_premises_connection.py @@ -6,6 +6,7 @@ if TYPE_CHECKING: from .cloud_pc_management_service import CloudPcManagementService from .cloud_pc_on_premises_connection_status import CloudPcOnPremisesConnectionStatus + from .cloud_pc_on_premises_connection_status_detail import CloudPcOnPremisesConnectionStatusDetail from .cloud_pc_on_premises_connection_status_details import CloudPcOnPremisesConnectionStatusDetails from .cloud_pc_on_premises_connection_type import CloudPcOnPremisesConnectionType from .entity import Entity @@ -22,10 +23,14 @@ class CloudPcOnPremisesConnection(Entity): ad_domain_username: Optional[str] = None # The interface URL of the partner service's resource that links to this Azure network connection. Returned only on $select. alternate_resource_url: Optional[str] = None + # The connectionType property + connection_type: Optional[CloudPcOnPremisesConnectionType] = None # The display name for the Azure network connection. display_name: Optional[str] = None # The healthCheckStatus property health_check_status: Optional[CloudPcOnPremisesConnectionStatus] = None + # The healthCheckStatusDetail property + health_check_status_detail: Optional[CloudPcOnPremisesConnectionStatusDetail] = None # The details of the connection's health checks and the corresponding results. Returned only on $select. For an example that shows how to get the inUse property, see Example 2: Get the selected properties of an Azure network connection, including healthCheckStatusDetails. Read-only. health_check_status_details: Optional[CloudPcOnPremisesConnectionStatusDetails] = None # When true, the Azure network connection is in use. When false, the connection isn't in use. You can't delete a connection that’s in use. Returned only on $select. For an example that shows how to get the inUse property, see Example 2: Get the selected properties of an Azure network connection, including healthCheckStatusDetails. Read-only. @@ -38,6 +43,8 @@ class CloudPcOnPremisesConnection(Entity): organizational_unit: Optional[str] = None # The ID of the target resource group. Required format: /subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}. resource_group_id: Optional[str] = None + # The scopeIds property + scope_ids: Optional[List[str]] = None # The ID of the target subnet. Required format: /subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkId}/subnets/{subnetName}. subnet_id: Optional[str] = None # The ID of the target Azure subscription that’s associated with your tenant. @@ -69,12 +76,14 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ from .cloud_pc_management_service import CloudPcManagementService from .cloud_pc_on_premises_connection_status import CloudPcOnPremisesConnectionStatus + from .cloud_pc_on_premises_connection_status_detail import CloudPcOnPremisesConnectionStatusDetail from .cloud_pc_on_premises_connection_status_details import CloudPcOnPremisesConnectionStatusDetails from .cloud_pc_on_premises_connection_type import CloudPcOnPremisesConnectionType from .entity import Entity from .cloud_pc_management_service import CloudPcManagementService from .cloud_pc_on_premises_connection_status import CloudPcOnPremisesConnectionStatus + from .cloud_pc_on_premises_connection_status_detail import CloudPcOnPremisesConnectionStatusDetail from .cloud_pc_on_premises_connection_status_details import CloudPcOnPremisesConnectionStatusDetails from .cloud_pc_on_premises_connection_type import CloudPcOnPremisesConnectionType from .entity import Entity @@ -84,13 +93,16 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "adDomainPassword": lambda n : setattr(self, 'ad_domain_password', n.get_str_value()), "adDomainUsername": lambda n : setattr(self, 'ad_domain_username', n.get_str_value()), "alternateResourceUrl": lambda n : setattr(self, 'alternate_resource_url', n.get_str_value()), + "connectionType": lambda n : setattr(self, 'connection_type', n.get_enum_value(CloudPcOnPremisesConnectionType)), "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), "healthCheckStatus": lambda n : setattr(self, 'health_check_status', n.get_enum_value(CloudPcOnPremisesConnectionStatus)), + "healthCheckStatusDetail": lambda n : setattr(self, 'health_check_status_detail', n.get_object_value(CloudPcOnPremisesConnectionStatusDetail)), "healthCheckStatusDetails": lambda n : setattr(self, 'health_check_status_details', n.get_object_value(CloudPcOnPremisesConnectionStatusDetails)), "inUse": lambda n : setattr(self, 'in_use', n.get_bool_value()), "managedBy": lambda n : setattr(self, 'managed_by', n.get_collection_of_enum_values(CloudPcManagementService)), "organizationalUnit": lambda n : setattr(self, 'organizational_unit', n.get_str_value()), "resourceGroupId": lambda n : setattr(self, 'resource_group_id', n.get_str_value()), + "scopeIds": lambda n : setattr(self, 'scope_ids', n.get_collection_of_primitive_values(str)), "subnetId": lambda n : setattr(self, 'subnet_id', n.get_str_value()), "subscriptionId": lambda n : setattr(self, 'subscription_id', n.get_str_value()), "subscriptionName": lambda n : setattr(self, 'subscription_name', n.get_str_value()), @@ -115,13 +127,16 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("adDomainPassword", self.ad_domain_password) writer.write_str_value("adDomainUsername", self.ad_domain_username) writer.write_str_value("alternateResourceUrl", self.alternate_resource_url) + writer.write_enum_value("connectionType", self.connection_type) writer.write_str_value("displayName", self.display_name) writer.write_enum_value("healthCheckStatus", self.health_check_status) + writer.write_object_value("healthCheckStatusDetail", self.health_check_status_detail) writer.write_object_value("healthCheckStatusDetails", self.health_check_status_details) writer.write_bool_value("inUse", self.in_use) writer.write_enum_value("managedBy", self.managed_by) writer.write_str_value("organizationalUnit", self.organizational_unit) writer.write_str_value("resourceGroupId", self.resource_group_id) + writer.write_collection_of_primitive_values("scopeIds", self.scope_ids) writer.write_str_value("subnetId", self.subnet_id) writer.write_str_value("subscriptionId", self.subscription_id) writer.write_str_value("subscriptionName", self.subscription_name) diff --git a/msgraph_beta/generated/models/cloud_pc_on_premises_connection_health_check.py b/msgraph_beta/generated/models/cloud_pc_on_premises_connection_health_check.py index 1190e2b799a..32de7123854 100644 --- a/msgraph_beta/generated/models/cloud_pc_on_premises_connection_health_check.py +++ b/msgraph_beta/generated/models/cloud_pc_on_premises_connection_health_check.py @@ -16,6 +16,8 @@ class CloudPcOnPremisesConnectionHealthCheck(AdditionalDataHolder, BackedModel, # 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 additionalDetail property + additional_detail: Optional[str] = None # More details about the health check or the recommended action. additional_details: Optional[str] = None # The unique identifier of the health check item-related activities. This identifier can be useful in troubleshooting. @@ -58,6 +60,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .cloud_pc_on_premises_connection_status import CloudPcOnPremisesConnectionStatus fields: Dict[str, Callable[[Any], None]] = { + "additionalDetail": lambda n : setattr(self, 'additional_detail', n.get_str_value()), "additionalDetails": lambda n : setattr(self, 'additional_details', n.get_str_value()), "correlationId": lambda n : setattr(self, 'correlation_id', n.get_str_value()), "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), @@ -78,6 +81,7 @@ def serialize(self,writer: SerializationWriter) -> None: """ if not writer: raise TypeError("writer cannot be null.") + writer.write_str_value("additionalDetail", self.additional_detail) writer.write_str_value("additionalDetails", self.additional_details) writer.write_str_value("correlationId", self.correlation_id) writer.write_str_value("displayName", self.display_name) diff --git a/msgraph_beta/generated/models/cloud_pc_on_premises_connection_health_check_error_type.py b/msgraph_beta/generated/models/cloud_pc_on_premises_connection_health_check_error_type.py index 3c218ee3b8f..23bc9a455f3 100644 --- a/msgraph_beta/generated/models/cloud_pc_on_premises_connection_health_check_error_type.py +++ b/msgraph_beta/generated/models/cloud_pc_on_premises_connection_health_check_error_type.py @@ -47,6 +47,7 @@ class CloudPcOnPremisesConnectionHealthCheckErrorType(str, Enum): ResourceAvailabilityCheckNoIntuneReaderRoleError = "resourceAvailabilityCheckNoIntuneReaderRoleError", ResourceAvailabilityCheckIntuneDefaultWindowsRestrictionViolation = "resourceAvailabilityCheckIntuneDefaultWindowsRestrictionViolation", ResourceAvailabilityCheckIntuneCustomWindowsRestrictionViolation = "resourceAvailabilityCheckIntuneCustomWindowsRestrictionViolation", + ResourceAvailabilityCheckDeploymentQuotaLimitReached = "resourceAvailabilityCheckDeploymentQuotaLimitReached", ResourceAvailabilityCheckTransientServiceError = "resourceAvailabilityCheckTransientServiceError", ResourceAvailabilityCheckUnknownError = "resourceAvailabilityCheckUnknownError", PermissionCheckNoSubscriptionReaderRole = "permissionCheckNoSubscriptionReaderRole", diff --git a/msgraph_beta/generated/models/cloud_pc_on_premises_connection_status_detail.py b/msgraph_beta/generated/models/cloud_pc_on_premises_connection_status_detail.py new file mode 100644 index 00000000000..c823d6c37de --- /dev/null +++ b/msgraph_beta/generated/models/cloud_pc_on_premises_connection_status_detail.py @@ -0,0 +1,69 @@ +from __future__ import annotations +import datetime +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .cloud_pc_on_premises_connection_health_check import CloudPcOnPremisesConnectionHealthCheck + +@dataclass +class CloudPcOnPremisesConnectionStatusDetail(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 endDateTime property + end_date_time: Optional[datetime.datetime] = None + # The healthChecks property + health_checks: Optional[List[CloudPcOnPremisesConnectionHealthCheck]] = None + # The OdataType property + odata_type: Optional[str] = None + # The startDateTime property + start_date_time: Optional[datetime.datetime] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> CloudPcOnPremisesConnectionStatusDetail: + """ + 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: CloudPcOnPremisesConnectionStatusDetail + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return CloudPcOnPremisesConnectionStatusDetail() + + 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_on_premises_connection_health_check import CloudPcOnPremisesConnectionHealthCheck + + from .cloud_pc_on_premises_connection_health_check import CloudPcOnPremisesConnectionHealthCheck + + fields: Dict[str, Callable[[Any], None]] = { + "endDateTime": lambda n : setattr(self, 'end_date_time', n.get_datetime_value()), + "healthChecks": lambda n : setattr(self, 'health_checks', n.get_collection_of_object_values(CloudPcOnPremisesConnectionHealthCheck)), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "startDateTime": lambda n : setattr(self, 'start_date_time', n.get_datetime_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 not writer: + raise TypeError("writer cannot be null.") + writer.write_datetime_value("endDateTime", self.end_date_time) + writer.write_collection_of_object_values("healthChecks", self.health_checks) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_datetime_value("startDateTime", self.start_date_time) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/cloud_pc_partner_agent_install_result.py b/msgraph_beta/generated/models/cloud_pc_partner_agent_install_result.py index 79df2fbdd4a..7c30d809d36 100644 --- a/msgraph_beta/generated/models/cloud_pc_partner_agent_install_result.py +++ b/msgraph_beta/generated/models/cloud_pc_partner_agent_install_result.py @@ -23,7 +23,7 @@ class CloudPcPartnerAgentInstallResult(AdditionalDataHolder, BackedModel, Parsab is_third_party_partner: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None - # The name of the partner agent, whether first party or third party. Possible values for third-party partners are Citrix and VMware. Read-Only. + # The name of the first-party or third-party partner agent. Possible values for third-party partners are Citrix, VMware and HP. Read-Only. partner_agent_name: Optional[CloudPcPartnerAgentName] = None # Indicates if the partner agent is a third party. When 'TRUE' the agent is a third-party (non-Microsoft) agent and when 'FALSE' the agent is a Microsoft agent or isn't known. The default value is 'FALSE' retriable: Optional[bool] = None diff --git a/msgraph_beta/generated/models/cloud_pc_partner_agent_name.py b/msgraph_beta/generated/models/cloud_pc_partner_agent_name.py index 03e9e3f003f..4fd38c2736b 100644 --- a/msgraph_beta/generated/models/cloud_pc_partner_agent_name.py +++ b/msgraph_beta/generated/models/cloud_pc_partner_agent_name.py @@ -4,4 +4,5 @@ class CloudPcPartnerAgentName(str, Enum): Citrix = "citrix", UnknownFutureValue = "unknownFutureValue", VMware = "vMware", + Hp = "hp", diff --git a/msgraph_beta/generated/models/cloud_pc_provisioning_policy.py b/msgraph_beta/generated/models/cloud_pc_provisioning_policy.py index 7060452f403..16a54c2bd5c 100644 --- a/msgraph_beta/generated/models/cloud_pc_provisioning_policy.py +++ b/msgraph_beta/generated/models/cloud_pc_provisioning_policy.py @@ -9,6 +9,7 @@ from .cloud_pc_provisioning_policy_assignment import CloudPcProvisioningPolicyAssignment from .cloud_pc_provisioning_policy_image_type import CloudPcProvisioningPolicyImageType from .cloud_pc_provisioning_type import CloudPcProvisioningType + from .cloud_pc_windows_setting import CloudPcWindowsSetting from .cloud_pc_windows_settings import CloudPcWindowsSettings from .entity import Entity from .microsoft_managed_desktop import MicrosoftManagedDesktop @@ -55,6 +56,10 @@ class CloudPcProvisioningPolicy(Entity): on_premises_connection_id: Optional[str] = None # Specifies the type of license used when provisioning Cloud PCs using this policy. By default, the license type is dedicated if the provisioningType isn't specified when you create the cloudPcProvisioningPolicy. You can't change this property after the cloudPcProvisioningPolicy was created. Possible values are: dedicated, shared, unknownFutureValue. provisioning_type: Optional[CloudPcProvisioningType] = None + # The scopeIds property + scope_ids: Optional[List[str]] = None + # The windowsSetting property + windows_setting: Optional[CloudPcWindowsSetting] = None # Specific Windows settings to configure while creating Cloud PCs for this provisioning policy. windows_settings: Optional[CloudPcWindowsSettings] = None @@ -79,6 +84,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .cloud_pc_provisioning_policy_assignment import CloudPcProvisioningPolicyAssignment from .cloud_pc_provisioning_policy_image_type import CloudPcProvisioningPolicyImageType from .cloud_pc_provisioning_type import CloudPcProvisioningType + from .cloud_pc_windows_setting import CloudPcWindowsSetting from .cloud_pc_windows_settings import CloudPcWindowsSettings from .entity import Entity from .microsoft_managed_desktop import MicrosoftManagedDesktop @@ -88,6 +94,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .cloud_pc_provisioning_policy_assignment import CloudPcProvisioningPolicyAssignment from .cloud_pc_provisioning_policy_image_type import CloudPcProvisioningPolicyImageType from .cloud_pc_provisioning_type import CloudPcProvisioningType + from .cloud_pc_windows_setting import CloudPcWindowsSetting from .cloud_pc_windows_settings import CloudPcWindowsSettings from .entity import Entity from .microsoft_managed_desktop import MicrosoftManagedDesktop @@ -111,6 +118,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "microsoftManagedDesktop": lambda n : setattr(self, 'microsoft_managed_desktop', n.get_object_value(MicrosoftManagedDesktop)), "onPremisesConnectionId": lambda n : setattr(self, 'on_premises_connection_id', n.get_str_value()), "provisioningType": lambda n : setattr(self, 'provisioning_type', n.get_enum_value(CloudPcProvisioningType)), + "scopeIds": lambda n : setattr(self, 'scope_ids', n.get_collection_of_primitive_values(str)), + "windowsSetting": lambda n : setattr(self, 'windows_setting', n.get_object_value(CloudPcWindowsSetting)), "windowsSettings": lambda n : setattr(self, 'windows_settings', n.get_object_value(CloudPcWindowsSettings)), } super_fields = super().get_field_deserializers() @@ -144,6 +153,8 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_object_value("microsoftManagedDesktop", self.microsoft_managed_desktop) writer.write_str_value("onPremisesConnectionId", self.on_premises_connection_id) writer.write_enum_value("provisioningType", self.provisioning_type) + writer.write_collection_of_primitive_values("scopeIds", self.scope_ids) + writer.write_object_value("windowsSetting", self.windows_setting) writer.write_object_value("windowsSettings", self.windows_settings) diff --git a/msgraph_beta/generated/models/cloud_pc_provisioning_policy_image_type.py b/msgraph_beta/generated/models/cloud_pc_provisioning_policy_image_type.py index 27a8c84194e..579a97e893f 100644 --- a/msgraph_beta/generated/models/cloud_pc_provisioning_policy_image_type.py +++ b/msgraph_beta/generated/models/cloud_pc_provisioning_policy_image_type.py @@ -3,4 +3,5 @@ class CloudPcProvisioningPolicyImageType(str, Enum): Gallery = "gallery", Custom = "custom", + UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/cloud_pc_remote_action_name.py b/msgraph_beta/generated/models/cloud_pc_remote_action_name.py index b7e96ce666a..1cb487767de 100644 --- a/msgraph_beta/generated/models/cloud_pc_remote_action_name.py +++ b/msgraph_beta/generated/models/cloud_pc_remote_action_name.py @@ -11,4 +11,8 @@ class CloudPcRemoteActionName(str, Enum): Troubleshoot = "troubleshoot", PlaceUnderReview = "placeUnderReview", UnknownFutureValue = "unknownFutureValue", + CreateSnapshot = "createSnapshot", + PowerOn = "powerOn", + PowerOff = "powerOff", + MoveRegion = "moveRegion", diff --git a/msgraph_beta/generated/models/cloud_pc_report_name.py b/msgraph_beta/generated/models/cloud_pc_report_name.py index af1b6f88105..56e20798fc3 100644 --- a/msgraph_beta/generated/models/cloud_pc_report_name.py +++ b/msgraph_beta/generated/models/cloud_pc_report_name.py @@ -13,4 +13,8 @@ class CloudPcReportName(str, Enum): RemoteConnectionQualityReports = "remoteConnectionQualityReports", InaccessibleCloudPcReports = "inaccessibleCloudPcReports", RawRemoteConnectionReports = "rawRemoteConnectionReports", + CloudPcUsageCategoryReports = "cloudPcUsageCategoryReports", + CrossRegionDisasterRecoveryReport = "crossRegionDisasterRecoveryReport", + PerformanceTrendReport = "performanceTrendReport", + InaccessibleCloudPcTrendReport = "inaccessibleCloudPcTrendReport", diff --git a/msgraph_beta/generated/models/cloud_pc_restore_point_frequency_type.py b/msgraph_beta/generated/models/cloud_pc_restore_point_frequency_type.py new file mode 100644 index 00000000000..3b657d98c37 --- /dev/null +++ b/msgraph_beta/generated/models/cloud_pc_restore_point_frequency_type.py @@ -0,0 +1,11 @@ +from enum import Enum + +class CloudPcRestorePointFrequencyType(str, Enum): + Default = "default", + FourHours = "fourHours", + SixHours = "sixHours", + TwelveHours = "twelveHours", + SixteenHours = "sixteenHours", + TwentyFourHours = "twentyFourHours", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/cloud_pc_restore_point_setting.py b/msgraph_beta/generated/models/cloud_pc_restore_point_setting.py index 747035fa2a8..fc5c3fa76e4 100644 --- a/msgraph_beta/generated/models/cloud_pc_restore_point_setting.py +++ b/msgraph_beta/generated/models/cloud_pc_restore_point_setting.py @@ -4,6 +4,9 @@ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +if TYPE_CHECKING: + from .cloud_pc_restore_point_frequency_type import CloudPcRestorePointFrequencyType + @dataclass class CloudPcRestorePointSetting(AdditionalDataHolder, BackedModel, Parsable): # Stores model information. @@ -13,6 +16,8 @@ class CloudPcRestorePointSetting(AdditionalDataHolder, BackedModel, Parsable): additional_data: Dict[str, Any] = field(default_factory=dict) # The time interval in hours to take snapshots (restore points) of a Cloud PC automatically. Possible values are 4, 6, 12, 16, and 24. The default frequency is 12 hours. frequency_in_hours: Optional[int] = None + # The frequencyType property + frequency_type: Optional[CloudPcRestorePointFrequencyType] = None # The OdataType property odata_type: Optional[str] = None # If true, the user has the ability to use snapshots to restore Cloud PCs. If false, non-admin users can't use snapshots to restore the Cloud PC. @@ -34,8 +39,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 .cloud_pc_restore_point_frequency_type import CloudPcRestorePointFrequencyType + + from .cloud_pc_restore_point_frequency_type import CloudPcRestorePointFrequencyType + fields: Dict[str, Callable[[Any], None]] = { "frequencyInHours": lambda n : setattr(self, 'frequency_in_hours', n.get_int_value()), + "frequencyType": lambda n : setattr(self, 'frequency_type', n.get_enum_value(CloudPcRestorePointFrequencyType)), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "userRestoreEnabled": lambda n : setattr(self, 'user_restore_enabled', n.get_bool_value()), } @@ -50,6 +60,7 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") writer.write_int_value("frequencyInHours", self.frequency_in_hours) + writer.write_enum_value("frequencyType", self.frequency_type) writer.write_str_value("@odata.type", self.odata_type) writer.write_bool_value("userRestoreEnabled", self.user_restore_enabled) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/cloud_pc_scoped_permission.py b/msgraph_beta/generated/models/cloud_pc_scoped_permission.py new file mode 100644 index 00000000000..7d16dfdf5c6 --- /dev/null +++ b/msgraph_beta/generated/models/cloud_pc_scoped_permission.py @@ -0,0 +1,57 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class CloudPcScopedPermission(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 + # The operations allowed on scoped resources for the authenticated user. Example permission is Microsoft.CloudPC/ProvisioningPolicies/Create. + permission: Optional[str] = None + # The scope IDs of corresponding permission. Currently, it's Intune scope tag ID. + scope_ids: Optional[List[str]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> CloudPcScopedPermission: + """ + 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: CloudPcScopedPermission + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return CloudPcScopedPermission() + + 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]] = { + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "permission": lambda n : setattr(self, 'permission', n.get_str_value()), + "scopeIds": lambda n : setattr(self, 'scope_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 not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("@odata.type", self.odata_type) + writer.write_str_value("permission", self.permission) + writer.write_collection_of_primitive_values("scopeIds", self.scope_ids) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/cloud_pc_source_device_image.py b/msgraph_beta/generated/models/cloud_pc_source_device_image.py index 9d4e390617b..85e311afd2c 100644 --- a/msgraph_beta/generated/models/cloud_pc_source_device_image.py +++ b/msgraph_beta/generated/models/cloud_pc_source_device_image.py @@ -17,6 +17,8 @@ class CloudPcSourceDeviceImage(AdditionalDataHolder, BackedModel, Parsable): id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None + # The resourceId property + resource_id: Optional[str] = None # The display name of subscription that hosts the source image. subscription_display_name: Optional[str] = None # The ID of subscription that hosts the source image. @@ -42,6 +44,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), "id": lambda n : setattr(self, 'id', n.get_str_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "resourceId": lambda n : setattr(self, 'resource_id', n.get_str_value()), "subscriptionDisplayName": lambda n : setattr(self, 'subscription_display_name', n.get_str_value()), "subscriptionId": lambda n : setattr(self, 'subscription_id', n.get_str_value()), } @@ -58,6 +61,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("displayName", self.display_name) writer.write_str_value("id", self.id) writer.write_str_value("@odata.type", self.odata_type) + writer.write_str_value("resourceId", self.resource_id) writer.write_str_value("subscriptionDisplayName", self.subscription_display_name) writer.write_str_value("subscriptionId", self.subscription_id) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/cloud_pc_tenant_encryption_setting.py b/msgraph_beta/generated/models/cloud_pc_tenant_encryption_setting.py new file mode 100644 index 00000000000..4eed07dec77 --- /dev/null +++ b/msgraph_beta/generated/models/cloud_pc_tenant_encryption_setting.py @@ -0,0 +1,65 @@ +from __future__ import annotations +import datetime +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .cloud_pc_disk_encryption_type import CloudPcDiskEncryptionType + +@dataclass +class CloudPcTenantEncryptionSetting(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 lastSyncDateTime property + last_sync_date_time: Optional[datetime.datetime] = None + # The OdataType property + odata_type: Optional[str] = None + # The tenantDiskEncryptionType property + tenant_disk_encryption_type: Optional[CloudPcDiskEncryptionType] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> CloudPcTenantEncryptionSetting: + """ + 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: CloudPcTenantEncryptionSetting + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return CloudPcTenantEncryptionSetting() + + 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_disk_encryption_type import CloudPcDiskEncryptionType + + from .cloud_pc_disk_encryption_type import CloudPcDiskEncryptionType + + fields: Dict[str, Callable[[Any], None]] = { + "lastSyncDateTime": lambda n : setattr(self, 'last_sync_date_time', n.get_datetime_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "tenantDiskEncryptionType": lambda n : setattr(self, 'tenant_disk_encryption_type', n.get_enum_value(CloudPcDiskEncryptionType)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_datetime_value("lastSyncDateTime", self.last_sync_date_time) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_enum_value("tenantDiskEncryptionType", self.tenant_disk_encryption_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/cloud_pc_user_setting.py b/msgraph_beta/generated/models/cloud_pc_user_setting.py index ea2d804fe7e..addd1cf347f 100644 --- a/msgraph_beta/generated/models/cloud_pc_user_setting.py +++ b/msgraph_beta/generated/models/cloud_pc_user_setting.py @@ -5,6 +5,7 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: + from .cloud_pc_cross_region_disaster_recovery_setting import CloudPcCrossRegionDisasterRecoverySetting from .cloud_pc_restore_point_setting import CloudPcRestorePointSetting from .cloud_pc_user_setting_assignment import CloudPcUserSettingAssignment from .entity import Entity @@ -15,11 +16,13 @@ class CloudPcUserSetting(Entity): # Represents the set of Microsoft 365 groups and security groups in Microsoft Entra ID that have cloudPCUserSetting assigned. Returned only on $expand. For an example, see Get cloudPcUserSettingample. assignments: Optional[List[CloudPcUserSettingAssignment]] = None - # The date and time the setting was created. The Timestamp type represents the date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 looks like this: '2014-01-01T00:00:00Z'. + # The date and time the setting was created. The timestamp type represents the date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 looks like this: '2014-01-01T00:00:00Z'. created_date_time: Optional[datetime.datetime] = None + # The crossRegionDisasterRecoverySetting property + cross_region_disaster_recovery_setting: Optional[CloudPcCrossRegionDisasterRecoverySetting] = None # The setting name displayed in the user interface. display_name: Optional[str] = None - # The last date and time the setting was modified. The Timestamp type represents the date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 looks like this: '2014-01-01T00:00:00Z'. + # The last date and time the setting was modified. The timestamp type represents the date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 looks like this: '2014-01-01T00:00:00Z'. last_modified_date_time: Optional[datetime.datetime] = None # Indicates whether the local admin option is enabled. Default value is false. To enable the local admin option, change the setting to true. If the local admin option is enabled, the end user can be an admin of the Cloud PC device. local_admin_enabled: Optional[bool] = None @@ -29,7 +32,7 @@ class CloudPcUserSetting(Entity): reset_enabled: Optional[bool] = None # Defines how frequently a restore point is created that is, a snapshot is taken) for users' provisioned Cloud PCs (default is 12 hours), and whether the user is allowed to restore their own Cloud PCs to a backup made at a specific point in time. restore_point_setting: Optional[CloudPcRestorePointSetting] = None - # Indicates whether the self-service option is enabled. Default value is false. To enable the self-service option, change the setting to true. If the self-service option is enabled, the end user is allowed to perform some self-service operations, such as upgrading the Cloud PC through the end user portal. + # The selfServiceEnabled property self_service_enabled: Optional[bool] = None @staticmethod @@ -48,10 +51,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 .cloud_pc_cross_region_disaster_recovery_setting import CloudPcCrossRegionDisasterRecoverySetting from .cloud_pc_restore_point_setting import CloudPcRestorePointSetting from .cloud_pc_user_setting_assignment import CloudPcUserSettingAssignment from .entity import Entity + from .cloud_pc_cross_region_disaster_recovery_setting import CloudPcCrossRegionDisasterRecoverySetting from .cloud_pc_restore_point_setting import CloudPcRestorePointSetting from .cloud_pc_user_setting_assignment import CloudPcUserSettingAssignment from .entity import Entity @@ -59,6 +64,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "assignments": lambda n : setattr(self, 'assignments', n.get_collection_of_object_values(CloudPcUserSettingAssignment)), "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), + "crossRegionDisasterRecoverySetting": lambda n : setattr(self, 'cross_region_disaster_recovery_setting', n.get_object_value(CloudPcCrossRegionDisasterRecoverySetting)), "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), "lastModifiedDateTime": lambda n : setattr(self, 'last_modified_date_time', n.get_datetime_value()), "localAdminEnabled": lambda n : setattr(self, 'local_admin_enabled', n.get_bool_value()), @@ -81,6 +87,7 @@ def serialize(self,writer: SerializationWriter) -> None: super().serialize(writer) writer.write_collection_of_object_values("assignments", self.assignments) writer.write_datetime_value("createdDateTime", self.created_date_time) + writer.write_object_value("crossRegionDisasterRecoverySetting", self.cross_region_disaster_recovery_setting) writer.write_str_value("displayName", self.display_name) writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) writer.write_bool_value("localAdminEnabled", self.local_admin_enabled) diff --git a/msgraph_beta/generated/models/cloud_pc_windows_setting.py b/msgraph_beta/generated/models/cloud_pc_windows_setting.py new file mode 100644 index 00000000000..d48a3705d7f --- /dev/null +++ b/msgraph_beta/generated/models/cloud_pc_windows_setting.py @@ -0,0 +1,53 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class CloudPcWindowsSetting(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 locale property + locale: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> CloudPcWindowsSetting: + """ + 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: CloudPcWindowsSetting + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return CloudPcWindowsSetting() + + 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]] = { + "locale": lambda n : setattr(self, 'locale', 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("locale", self.locale) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/comms_operation.py b/msgraph_beta/generated/models/comms_operation.py index 2a86d4c2a28..884f9cbc051 100644 --- a/msgraph_beta/generated/models/comms_operation.py +++ b/msgraph_beta/generated/models/comms_operation.py @@ -14,6 +14,7 @@ from .play_prompt_operation import PlayPromptOperation from .record_operation import RecordOperation from .result_info import ResultInfo + from .send_dtmf_tones_operation import SendDtmfTonesOperation from .start_hold_music_operation import StartHoldMusicOperation from .stop_hold_music_operation import StopHoldMusicOperation from .subscribe_to_tone_operation import SubscribeToToneOperation @@ -74,6 +75,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> C from .record_operation import RecordOperation return RecordOperation() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.sendDtmfTonesOperation".casefold(): + from .send_dtmf_tones_operation import SendDtmfTonesOperation + + return SendDtmfTonesOperation() if mapping_value and mapping_value.casefold() == "#microsoft.graph.startHoldMusicOperation".casefold(): from .start_hold_music_operation import StartHoldMusicOperation @@ -111,6 +116,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .play_prompt_operation import PlayPromptOperation from .record_operation import RecordOperation from .result_info import ResultInfo + from .send_dtmf_tones_operation import SendDtmfTonesOperation from .start_hold_music_operation import StartHoldMusicOperation from .stop_hold_music_operation import StopHoldMusicOperation from .subscribe_to_tone_operation import SubscribeToToneOperation @@ -127,6 +133,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .play_prompt_operation import PlayPromptOperation from .record_operation import RecordOperation from .result_info import ResultInfo + from .send_dtmf_tones_operation import SendDtmfTonesOperation from .start_hold_music_operation import StartHoldMusicOperation from .stop_hold_music_operation import StopHoldMusicOperation from .subscribe_to_tone_operation import SubscribeToToneOperation diff --git a/msgraph_beta/generated/models/communications_application_identity.py b/msgraph_beta/generated/models/communications_application_identity.py index dac2ef0d9d5..60280100bda 100644 --- a/msgraph_beta/generated/models/communications_application_identity.py +++ b/msgraph_beta/generated/models/communications_application_identity.py @@ -12,9 +12,9 @@ class CommunicationsApplicationIdentity(Identity): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.communicationsApplicationIdentity" - # First party Microsoft application presenting this identity. + # First-party Microsoft application that presents this identity. application_type: Optional[str] = None - # True if the participant wouldn't like to be shown in other participants' rosters. + # True if the participant shouldn't be shown in other participants' rosters. hidden: Optional[bool] = None @staticmethod diff --git a/msgraph_beta/generated/models/communications_application_instance_identity.py b/msgraph_beta/generated/models/communications_application_instance_identity.py index ec2d536f15d..366bef0d833 100644 --- a/msgraph_beta/generated/models/communications_application_instance_identity.py +++ b/msgraph_beta/generated/models/communications_application_instance_identity.py @@ -12,9 +12,9 @@ class CommunicationsApplicationInstanceIdentity(Identity): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.communicationsApplicationInstanceIdentity" - # True if the participant wouldn't like to be shown in other participants' rosters. + # True if the participant shouldn't be shown in other participants' rosters. hidden: Optional[bool] = None - # The application's tenant ID. + # The tenant ID of the application. tenant_id: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/communications_identity_set.py b/msgraph_beta/generated/models/communications_identity_set.py index 3ea9fc518de..65598f073f6 100644 --- a/msgraph_beta/generated/models/communications_identity_set.py +++ b/msgraph_beta/generated/models/communications_identity_set.py @@ -22,13 +22,13 @@ class CommunicationsIdentitySet(IdentitySet): azure_communication_services_user: Optional[Identity] = None # The encrypted user associated with this action. encrypted: Optional[Identity] = None - # Type of endpoint the participant is using. Possible values are: default, voicemail, skypeForBusiness, skypeForBusinessVoipPhone and unknownFutureValue. + # Type of endpoint the participant uses. Possible values are: default, voicemail, skypeForBusiness, skypeForBusinessVoipPhone and unknownFutureValue. endpoint_type: Optional[EndpointType] = None # The guest user associated with this action. guest: Optional[Identity] = None - # The Skype for Business On-Premises user associated with this action. + # The Skype for Business on-premises user associated with this action. on_premises: Optional[Identity] = None - # Inherited from identitySet. The phone user associated with this action. + # The phone user associated with this action. phone: Optional[Identity] = None @staticmethod diff --git a/msgraph_beta/generated/models/community.py b/msgraph_beta/generated/models/community.py new file mode 100644 index 00000000000..3f257bb8749 --- /dev/null +++ b/msgraph_beta/generated/models/community.py @@ -0,0 +1,85 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .community_privacy import CommunityPrivacy + from .entity import Entity + from .group import Group + from .user import User + +from .entity import Entity + +@dataclass +class Community(Entity): + # The description of the community. The maximum length is 1024 characters. + description: Optional[str] = None + # The name of the community. The maximum length is 255 characters. + display_name: Optional[str] = None + # The Microsoft 365 group that manages the membership of this community. + group: Optional[Group] = None + # The ID of the Microsoft 365 group that manages the membership of this community. + group_id: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + # The admins of the community. Limited to 100 users. If this property isn't specified when you create the community, the calling user is automatically assigned as the community owner. + owners: Optional[List[User]] = None + # The privacy property + privacy: Optional[CommunityPrivacy] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> Community: + """ + 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: Community + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return Community() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .community_privacy import CommunityPrivacy + from .entity import Entity + from .group import Group + from .user import User + + from .community_privacy import CommunityPrivacy + from .entity import Entity + from .group import Group + from .user import User + + 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()), + "group": lambda n : setattr(self, 'group', n.get_object_value(Group)), + "groupId": lambda n : setattr(self, 'group_id', n.get_str_value()), + "owners": lambda n : setattr(self, 'owners', n.get_collection_of_object_values(User)), + "privacy": lambda n : setattr(self, 'privacy', n.get_enum_value(CommunityPrivacy)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_str_value("description", self.description) + writer.write_str_value("displayName", self.display_name) + writer.write_object_value("group", self.group) + writer.write_str_value("groupId", self.group_id) + writer.write_collection_of_object_values("owners", self.owners) + writer.write_enum_value("privacy", self.privacy) + + diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/transcripts/delta/delta_get_response.py b/msgraph_beta/generated/models/community_collection_response.py similarity index 66% rename from msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/transcripts/delta/delta_get_response.py rename to msgraph_beta/generated/models/community_collection_response.py index 72b4c459e24..9edfc6769a1 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/transcripts/delta/delta_get_response.py +++ b/msgraph_beta/generated/models/community_collection_response.py @@ -4,40 +4,40 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .........models.base_delta_function_response import BaseDeltaFunctionResponse - from .........models.call_transcript import CallTranscript + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .community import Community -from .........models.base_delta_function_response import BaseDeltaFunctionResponse +from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse @dataclass -class DeltaGetResponse(BaseDeltaFunctionResponse): +class CommunityCollectionResponse(BaseCollectionPaginationCountResponse): # The value property - value: Optional[List[CallTranscript]] = None + value: Optional[List[Community]] = None @staticmethod - def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> DeltaGetResponse: + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> CommunityCollectionResponse: """ 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: DeltaGetResponse + Returns: CommunityCollectionResponse """ if not parse_node: raise TypeError("parse_node cannot be null.") - return DeltaGetResponse() + return CommunityCollectionResponse() 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_delta_function_response import BaseDeltaFunctionResponse - from .........models.call_transcript import CallTranscript + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .community import Community - from .........models.base_delta_function_response import BaseDeltaFunctionResponse - from .........models.call_transcript import CallTranscript + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .community import Community fields: Dict[str, Callable[[Any], None]] = { - "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(CallTranscript)), + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(Community)), } super_fields = super().get_field_deserializers() fields.update(super_fields) diff --git a/msgraph_beta/generated/models/community_privacy.py b/msgraph_beta/generated/models/community_privacy.py new file mode 100644 index 00000000000..0bede5cc23e --- /dev/null +++ b/msgraph_beta/generated/models/community_privacy.py @@ -0,0 +1,7 @@ +from enum import Enum + +class CommunityPrivacy(str, Enum): + Public = "public", + Private = "private", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/conditional_access_applications.py b/msgraph_beta/generated/models/conditional_access_applications.py index 026f8008ef2..74d95bd7220 100644 --- a/msgraph_beta/generated/models/conditional_access_applications.py +++ b/msgraph_beta/generated/models/conditional_access_applications.py @@ -16,9 +16,9 @@ class ConditionalAccessApplications(AdditionalDataHolder, BackedModel, Parsable) additional_data: Dict[str, Any] = field(default_factory=dict) # Filter that defines the dynamic-application-syntax rule to include/exclude cloud applications. A filter can use custom security attributes to include/exclude applications. application_filter: Optional[ConditionalAccessFilter] = None - # Can be one of the following: The list of client IDs (appId) explicitly excluded from the policy. Office365 - For the list of apps included in Office365, see Conditional Access target apps: Office 365 + # Can be one of the following: The list of client IDs (appId) explicitly excluded from the policy. Office365 - For the list of apps included in Office365, see Apps included in Conditional Access Office 365 app suite exclude_applications: Optional[List[str]] = None - # Can be one of the following: The list of client IDs (appId) the policy applies to, unless explicitly excluded (in excludeApplications) All Office365 - For the list of apps included in Office365, see Conditional Access target apps: Office 365 + # Can be one of the following: The list of client IDs (appId) the policy applies to, unless explicitly excluded (in excludeApplications) All Office365 - For the list of apps included in Office365, see Apps included in Conditional Access Office 365 app suite include_applications: Optional[List[str]] = None # Authentication context class references include. Supported values are c1 through c25. include_authentication_context_class_references: Optional[List[str]] = None diff --git a/msgraph_beta/generated/models/connected_organization.py b/msgraph_beta/generated/models/connected_organization.py index e9c6ad63a00..b0c1bb947f6 100644 --- a/msgraph_beta/generated/models/connected_organization.py +++ b/msgraph_beta/generated/models/connected_organization.py @@ -24,7 +24,7 @@ class ConnectedOrganization(Entity): display_name: Optional[str] = None # The externalSponsors property external_sponsors: Optional[List[DirectoryObject]] = None - # The identity sources in this connected organization, one of azureActiveDirectoryTenant, crossCloudAzureActiveDirectoryTenant, domainIdentitySource or externalDomainFederation. Read-only. Nullable. Supports $select and $filter(eq). To filter by the derived types, you must declare the resource using its full OData cast, for example, $filter=identitySources/any(is:is/microsoft.graph.azureActiveDirectoryTenant/tenantId eq 'bcfdfff4-cbc3-43f2-9000-ba7b7515054f'). + # The identity sources in this connected organization, one of azureActiveDirectoryTenant, crossCloudAzureActiveDirectoryTenant, domainIdentitySource, externalDomainFederation, or socialIdentitySource. Read-only. Nullable. Supports $select and $filter(eq). To filter by the derived types, you must declare the resource using its full OData cast, for example, $filter=identitySources/any(is:is/microsoft.graph.azureActiveDirectoryTenant/tenantId eq 'bcfdfff4-cbc3-43f2-9000-ba7b7515054f'). identity_sources: Optional[List[IdentitySource]] = None # The internalSponsors property internal_sponsors: Optional[List[DirectoryObject]] = None diff --git a/msgraph_beta/generated/models/container_filter.py b/msgraph_beta/generated/models/container_filter.py index 4ee1f98909b..a9de39e75b7 100644 --- a/msgraph_beta/generated/models/container_filter.py +++ b/msgraph_beta/generated/models/container_filter.py @@ -11,7 +11,7 @@ class ContainerFilter(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 includedContainers property + # The identifiers of containers, such as organizational units, that are in scope for a synchronization rule. For Active Directory organizational units, use the distinguished names. An empty list means no container filtering is configured. included_containers: Optional[List[str]] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/cross_tenant_access_policy_configuration_default.py b/msgraph_beta/generated/models/cross_tenant_access_policy_configuration_default.py index 7fbf09cea89..5401eed25b1 100644 --- a/msgraph_beta/generated/models/cross_tenant_access_policy_configuration_default.py +++ b/msgraph_beta/generated/models/cross_tenant_access_policy_configuration_default.py @@ -15,7 +15,7 @@ @dataclass class CrossTenantAccessPolicyConfigurationDefault(Entity): - # Determines the default configuration for automatic user consent settings. The inboundAllowed and outboundAllowed properties are always false and cannot be updated in the default configuration. Read-only. + # Determines the default configuration for automatic user consent settings. The inboundAllowed and outboundAllowed properties are always false and can't be updated in the default configuration. Read-only. automatic_user_consent_settings: Optional[InboundOutboundPolicyConfiguration] = None # Defines your default configuration for users from other organizations accessing your resources via Microsoft Entra B2B collaboration. b2b_collaboration_inbound: Optional[CrossTenantAccessPolicyB2BSetting] = None @@ -27,9 +27,9 @@ class CrossTenantAccessPolicyConfigurationDefault(Entity): b2b_direct_connect_outbound: Optional[CrossTenantAccessPolicyB2BSetting] = None # Determines the default configuration for trusting other Conditional Access claims from external Microsoft Entra organizations. inbound_trust: Optional[CrossTenantAccessPolicyInboundTrust] = None - # The invitationRedemptionIdentityProviderConfiguration property + # Defines the priority order based on which an identity provider is selected during invitation redemption for a guest user. invitation_redemption_identity_provider_configuration: Optional[DefaultInvitationRedemptionIdentityProviderConfiguration] = None - # If true, the default configuration is set to the system default configuration. If false, the default settings have been customized. + # If true, the default configuration is set to the system default configuration. If false, the default settings are customized. is_service_default: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/custom_authentication_extension.py b/msgraph_beta/generated/models/custom_authentication_extension.py index 8230b40612d..dccae7cc2ef 100644 --- a/msgraph_beta/generated/models/custom_authentication_extension.py +++ b/msgraph_beta/generated/models/custom_authentication_extension.py @@ -5,6 +5,8 @@ if TYPE_CHECKING: from .custom_callout_extension import CustomCalloutExtension + from .on_attribute_collection_start_custom_extension import OnAttributeCollectionStartCustomExtension + from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension from .on_token_issuance_start_custom_extension import OnTokenIssuanceStartCustomExtension from .custom_callout_extension import CustomCalloutExtension @@ -27,6 +29,14 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> C mapping_value = parse_node.get_child_node("@odata.type").get_str_value() except AttributeError: mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.onAttributeCollectionStartCustomExtension".casefold(): + from .on_attribute_collection_start_custom_extension import OnAttributeCollectionStartCustomExtension + + return OnAttributeCollectionStartCustomExtension() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.onAttributeCollectionSubmitCustomExtension".casefold(): + from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension + + return OnAttributeCollectionSubmitCustomExtension() if mapping_value and mapping_value.casefold() == "#microsoft.graph.onTokenIssuanceStartCustomExtension".casefold(): from .on_token_issuance_start_custom_extension import OnTokenIssuanceStartCustomExtension @@ -39,9 +49,13 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .custom_callout_extension import CustomCalloutExtension + from .on_attribute_collection_start_custom_extension import OnAttributeCollectionStartCustomExtension + from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension from .on_token_issuance_start_custom_extension import OnTokenIssuanceStartCustomExtension from .custom_callout_extension import CustomCalloutExtension + from .on_attribute_collection_start_custom_extension import OnAttributeCollectionStartCustomExtension + from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension from .on_token_issuance_start_custom_extension import OnTokenIssuanceStartCustomExtension fields: Dict[str, Callable[[Any], None]] = { diff --git a/msgraph_beta/generated/models/custom_callout_extension.py b/msgraph_beta/generated/models/custom_callout_extension.py index 9dde20875b4..43ba0406722 100644 --- a/msgraph_beta/generated/models/custom_callout_extension.py +++ b/msgraph_beta/generated/models/custom_callout_extension.py @@ -13,6 +13,8 @@ from .custom_extension_endpoint_configuration import CustomExtensionEndpointConfiguration from .entity import Entity from .identity_governance.custom_task_extension import CustomTaskExtension + from .on_attribute_collection_start_custom_extension import OnAttributeCollectionStartCustomExtension + from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension from .on_token_issuance_start_custom_extension import OnTokenIssuanceStartCustomExtension from .entity import Entity @@ -65,6 +67,14 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> C from .identity_governance.custom_task_extension import CustomTaskExtension return CustomTaskExtension() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.onAttributeCollectionStartCustomExtension".casefold(): + from .on_attribute_collection_start_custom_extension import OnAttributeCollectionStartCustomExtension + + return OnAttributeCollectionStartCustomExtension() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.onAttributeCollectionSubmitCustomExtension".casefold(): + from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension + + return OnAttributeCollectionSubmitCustomExtension() if mapping_value and mapping_value.casefold() == "#microsoft.graph.onTokenIssuanceStartCustomExtension".casefold(): from .on_token_issuance_start_custom_extension import OnTokenIssuanceStartCustomExtension @@ -85,6 +95,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .custom_extension_endpoint_configuration import CustomExtensionEndpointConfiguration from .entity import Entity from .identity_governance.custom_task_extension import CustomTaskExtension + from .on_attribute_collection_start_custom_extension import OnAttributeCollectionStartCustomExtension + from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension from .on_token_issuance_start_custom_extension import OnTokenIssuanceStartCustomExtension from .access_package_assignment_request_workflow_extension import AccessPackageAssignmentRequestWorkflowExtension @@ -96,6 +108,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .custom_extension_endpoint_configuration import CustomExtensionEndpointConfiguration from .entity import Entity from .identity_governance.custom_task_extension import CustomTaskExtension + from .on_attribute_collection_start_custom_extension import OnAttributeCollectionStartCustomExtension + from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension from .on_token_issuance_start_custom_extension import OnTokenIssuanceStartCustomExtension fields: Dict[str, Callable[[Any], None]] = { diff --git a/msgraph_beta/generated/models/custom_extension_overwrite_configuration.py b/msgraph_beta/generated/models/custom_extension_overwrite_configuration.py index dcbefc5ce7d..e6cb18bc5d5 100644 --- a/msgraph_beta/generated/models/custom_extension_overwrite_configuration.py +++ b/msgraph_beta/generated/models/custom_extension_overwrite_configuration.py @@ -14,7 +14,7 @@ class CustomExtensionOverwriteConfiguration(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 clientConfiguration property + # Optional. Configuration of calling external API, such as timeout, retryCount, retriableResponseCodes. client_configuration: Optional[CustomExtensionClientConfiguration] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/daily_user_insight_metrics_root.py b/msgraph_beta/generated/models/daily_user_insight_metrics_root.py index 14c74d717d2..39e0fa85ebc 100644 --- a/msgraph_beta/generated/models/daily_user_insight_metrics_root.py +++ b/msgraph_beta/generated/models/daily_user_insight_metrics_root.py @@ -19,25 +19,25 @@ @dataclass class DailyUserInsightMetricsRoot(Entity): - # The activeUsers property + # Insights for active users on apps registered in the tenant for a specified period. active_users: Optional[List[ActiveUsersMetric]] = None - # The activeUsersBreakdown property + # Insights for the breakdown of users who were active on apps registered in the tenant for a specified period. active_users_breakdown: Optional[List[ActiveUsersBreakdownMetric]] = None - # The authentications property + # Insights for authentications on apps registered in the tenant for a specified period. authentications: Optional[List[AuthenticationsMetric]] = None # The inactiveUsers property inactive_users: Optional[List[DailyInactiveUsersMetric]] = None # The inactiveUsersByApplication property inactive_users_by_application: Optional[List[DailyInactiveUsersByApplicationMetric]] = None - # The mfaCompletions property + # Insights for MFA usage on apps registered in the tenant for a specified period. mfa_completions: Optional[List[MfaCompletionMetric]] = None # The OdataType property odata_type: Optional[str] = None - # The signUps property + # Total sign-ups on apps registered in the tenant for a specified period. sign_ups: Optional[List[UserSignUpMetric]] = None - # The summary property + # Summary of all usage insights on apps registered in the tenant for a specified period. summary: Optional[List[InsightSummary]] = None - # The userCount property + # Insights for total users on apps registered in the tenant for a specified period. user_count: Optional[List[UserCountMetric]] = None @staticmethod diff --git a/msgraph_beta/generated/models/day_note.py b/msgraph_beta/generated/models/day_note.py new file mode 100644 index 00000000000..31d3de7c561 --- /dev/null +++ b/msgraph_beta/generated/models/day_note.py @@ -0,0 +1,68 @@ +from __future__ import annotations +import datetime +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .change_tracked_entity import ChangeTrackedEntity + from .item_body import ItemBody + +from .change_tracked_entity import ChangeTrackedEntity + +@dataclass +class DayNote(ChangeTrackedEntity): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.dayNote" + # The date of the day note. + day_note_date: Optional[datetime.date] = None + # The draft version of this day note that is viewable by managers. Only contentType text is supported. + draft_day_note: Optional[ItemBody] = None + # The shared version of this day note that is viewable by both employees and managers. Only contentType text is supported. + shared_day_note: Optional[ItemBody] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> DayNote: + """ + 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: DayNote + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return DayNote() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .change_tracked_entity import ChangeTrackedEntity + from .item_body import ItemBody + + from .change_tracked_entity import ChangeTrackedEntity + from .item_body import ItemBody + + fields: Dict[str, Callable[[Any], None]] = { + "dayNoteDate": lambda n : setattr(self, 'day_note_date', n.get_date_value()), + "draftDayNote": lambda n : setattr(self, 'draft_day_note', n.get_object_value(ItemBody)), + "sharedDayNote": lambda n : setattr(self, 'shared_day_note', n.get_object_value(ItemBody)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_date_value("dayNoteDate", self.day_note_date) + writer.write_object_value("draftDayNote", self.draft_day_note) + writer.write_object_value("sharedDayNote", self.shared_day_note) + + diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/recordings/delta/delta_get_response.py b/msgraph_beta/generated/models/day_note_collection_response.py similarity index 66% rename from msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/recordings/delta/delta_get_response.py rename to msgraph_beta/generated/models/day_note_collection_response.py index ba6cddef012..6629cf6a82a 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/recordings/delta/delta_get_response.py +++ b/msgraph_beta/generated/models/day_note_collection_response.py @@ -4,40 +4,40 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .........models.base_delta_function_response import BaseDeltaFunctionResponse - from .........models.call_recording import CallRecording + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .day_note import DayNote -from .........models.base_delta_function_response import BaseDeltaFunctionResponse +from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse @dataclass -class DeltaGetResponse(BaseDeltaFunctionResponse): +class DayNoteCollectionResponse(BaseCollectionPaginationCountResponse): # The value property - value: Optional[List[CallRecording]] = None + value: Optional[List[DayNote]] = None @staticmethod - def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> DeltaGetResponse: + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> DayNoteCollectionResponse: """ 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: DeltaGetResponse + Returns: DayNoteCollectionResponse """ if not parse_node: raise TypeError("parse_node cannot be null.") - return DeltaGetResponse() + return DayNoteCollectionResponse() 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_delta_function_response import BaseDeltaFunctionResponse - from .........models.call_recording import CallRecording + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .day_note import DayNote - from .........models.base_delta_function_response import BaseDeltaFunctionResponse - from .........models.call_recording import CallRecording + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .day_note import DayNote fields: Dict[str, Callable[[Any], None]] = { - "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(CallRecording)), + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(DayNote)), } super_fields = super().get_field_deserializers() fields.update(super_fields) diff --git a/msgraph_beta/generated/models/default_managed_app_protection.py b/msgraph_beta/generated/models/default_managed_app_protection.py index 6e864ce00e2..d24780c707a 100644 --- a/msgraph_beta/generated/models/default_managed_app_protection.py +++ b/msgraph_beta/generated/models/default_managed_app_protection.py @@ -95,6 +95,12 @@ class DefaultManagedAppProtection(ManagedAppProtection): filter_open_in_to_only_managed_apps: Optional[bool] = None # Indicate to the client to enable both biometrics and fingerprints for the app. fingerprint_and_biometric_enabled: Optional[bool] = None + # When a specific app redirection is enforced by protectedMessagingRedirectAppType in an App Protection Policy, this value defines the app name which are allowed to be used. + messaging_redirect_app_display_name: Optional[str] = None + # When a specific app redirection is enforced by protectedMessagingRedirectAppType in an App Protection Policy, this value defines the app package ids which are allowed to be used. + messaging_redirect_app_package_id: Optional[str] = None + # When a specific app redirection is enforced by protectedMessagingRedirectAppType in an App Protection Policy, this value defines the app url redirect schemes which are allowed to be used. + messaging_redirect_app_url_scheme: Optional[str] = None # Minimum version of the Company portal that must be installed on the device or app access will be blocked minimum_required_company_portal_version: Optional[str] = None # Define the oldest required Android security patch level a user can have to gain secure access to the app. (Android only) @@ -207,6 +213,9 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "faceIdBlocked": lambda n : setattr(self, 'face_id_blocked', n.get_bool_value()), "filterOpenInToOnlyManagedApps": lambda n : setattr(self, 'filter_open_in_to_only_managed_apps', n.get_bool_value()), "fingerprintAndBiometricEnabled": lambda n : setattr(self, 'fingerprint_and_biometric_enabled', n.get_bool_value()), + "messagingRedirectAppDisplayName": lambda n : setattr(self, 'messaging_redirect_app_display_name', n.get_str_value()), + "messagingRedirectAppPackageId": lambda n : setattr(self, 'messaging_redirect_app_package_id', n.get_str_value()), + "messagingRedirectAppUrlScheme": lambda n : setattr(self, 'messaging_redirect_app_url_scheme', n.get_str_value()), "minimumRequiredCompanyPortalVersion": lambda n : setattr(self, 'minimum_required_company_portal_version', n.get_str_value()), "minimumRequiredPatchVersion": lambda n : setattr(self, 'minimum_required_patch_version', n.get_str_value()), "minimumRequiredSdkVersion": lambda n : setattr(self, 'minimum_required_sdk_version', n.get_str_value()), @@ -276,6 +285,9 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_bool_value("faceIdBlocked", self.face_id_blocked) writer.write_bool_value("filterOpenInToOnlyManagedApps", self.filter_open_in_to_only_managed_apps) writer.write_bool_value("fingerprintAndBiometricEnabled", self.fingerprint_and_biometric_enabled) + writer.write_str_value("messagingRedirectAppDisplayName", self.messaging_redirect_app_display_name) + writer.write_str_value("messagingRedirectAppPackageId", self.messaging_redirect_app_package_id) + writer.write_str_value("messagingRedirectAppUrlScheme", self.messaging_redirect_app_url_scheme) writer.write_str_value("minimumRequiredCompanyPortalVersion", self.minimum_required_company_portal_version) writer.write_str_value("minimumRequiredPatchVersion", self.minimum_required_patch_version) writer.write_str_value("minimumRequiredSdkVersion", self.minimum_required_sdk_version) diff --git a/msgraph_beta/generated/models/device_and_app_management_assignment_target.py b/msgraph_beta/generated/models/device_and_app_management_assignment_target.py index dfb94239406..1544736e610 100644 --- a/msgraph_beta/generated/models/device_and_app_management_assignment_target.py +++ b/msgraph_beta/generated/models/device_and_app_management_assignment_target.py @@ -12,6 +12,7 @@ from .device_and_app_management_assignment_filter_type import DeviceAndAppManagementAssignmentFilterType from .exclusion_group_assignment_target import ExclusionGroupAssignmentTarget from .group_assignment_target import GroupAssignmentTarget + from .scope_tag_group_assignment_target import ScopeTagGroupAssignmentTarget @dataclass class DeviceAndAppManagementAssignmentTarget(AdditionalDataHolder, BackedModel, Parsable): @@ -67,6 +68,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> D from .group_assignment_target import GroupAssignmentTarget return GroupAssignmentTarget() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.scopeTagGroupAssignmentTarget".casefold(): + from .scope_tag_group_assignment_target import ScopeTagGroupAssignmentTarget + + return ScopeTagGroupAssignmentTarget() return DeviceAndAppManagementAssignmentTarget() def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: @@ -81,6 +86,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .device_and_app_management_assignment_filter_type import DeviceAndAppManagementAssignmentFilterType from .exclusion_group_assignment_target import ExclusionGroupAssignmentTarget from .group_assignment_target import GroupAssignmentTarget + from .scope_tag_group_assignment_target import ScopeTagGroupAssignmentTarget from .all_devices_assignment_target import AllDevicesAssignmentTarget from .all_licensed_users_assignment_target import AllLicensedUsersAssignmentTarget @@ -89,6 +95,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .device_and_app_management_assignment_filter_type import DeviceAndAppManagementAssignmentFilterType from .exclusion_group_assignment_target import ExclusionGroupAssignmentTarget from .group_assignment_target import GroupAssignmentTarget + from .scope_tag_group_assignment_target import ScopeTagGroupAssignmentTarget fields: Dict[str, Callable[[Any], None]] = { "deviceAndAppManagementAssignmentFilterId": lambda n : setattr(self, 'device_and_app_management_assignment_filter_id', n.get_str_value()), diff --git a/msgraph_beta/generated/models/device_identity_attestation_detail.py b/msgraph_beta/generated/models/device_identity_attestation_detail.py new file mode 100644 index 00000000000..0adf3078e81 --- /dev/null +++ b/msgraph_beta/generated/models/device_identity_attestation_detail.py @@ -0,0 +1,63 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .device_identity_attestation_status import DeviceIdentityAttestationStatus + +@dataclass +class DeviceIdentityAttestationDetail(AdditionalDataHolder, BackedModel, Parsable): + """ + Indicates the attestation status of the managed device + """ + # 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) + # Indicates the state of the anomaly. Eg: anomaly severity can be new, active, disabled, removed or other. + device_identity_attestation_status: Optional[DeviceIdentityAttestationStatus] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> DeviceIdentityAttestationDetail: + """ + 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: DeviceIdentityAttestationDetail + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return DeviceIdentityAttestationDetail() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .device_identity_attestation_status import DeviceIdentityAttestationStatus + + from .device_identity_attestation_status import DeviceIdentityAttestationStatus + + fields: Dict[str, Callable[[Any], None]] = { + "deviceIdentityAttestationStatus": lambda n : setattr(self, 'device_identity_attestation_status', n.get_enum_value(DeviceIdentityAttestationStatus)), + "@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 not writer: + raise TypeError("writer cannot be null.") + writer.write_enum_value("deviceIdentityAttestationStatus", self.device_identity_attestation_status) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/device_identity_attestation_status.py b/msgraph_beta/generated/models/device_identity_attestation_status.py new file mode 100644 index 00000000000..f2a7bcadf9d --- /dev/null +++ b/msgraph_beta/generated/models/device_identity_attestation_status.py @@ -0,0 +1,16 @@ +from enum import Enum + +class DeviceIdentityAttestationStatus(str, Enum): + # Default. Set to unknown if attestation has not yet been calculated + Unknown = "unknown", + # Indicates that the Device attestation is supported on the device, it was attempted on the device and the attestation has passed. The device is trusted. + Trusted = "trusted", + # Indicates that the Device attestation is supported on the device, it was attempted on the device and the attestation has failed. The device is untrusted + UnTrusted = "unTrusted", + # Indicates that the device does not support Attestation. This could be because of missing hardware or software support. + NotSupported = "notSupported", + # Indicates that the device did not provide with the data that were required to perform attestation. + IncompleteData = "incompleteData", + # Evolvable enumeration sentinel value. Do not use. + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/device_management/alert_rule.py b/msgraph_beta/generated/models/device_management/alert_rule.py index e8b71d10cb2..3063a34b0cd 100644 --- a/msgraph_beta/generated/models/device_management/alert_rule.py +++ b/msgraph_beta/generated/models/device_management/alert_rule.py @@ -7,6 +7,7 @@ from ..entity import Entity from .alert_rule_template import AlertRuleTemplate from .notification_channel import NotificationChannel + from .rule_condition import RuleCondition from .rule_severity_type import RuleSeverityType from .rule_threshold import RuleThreshold @@ -14,15 +15,17 @@ @dataclass class AlertRule(Entity): - # The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, unknownFutureValue, cloudPcInGracePeriodScenario. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: cloudPcInGracePeriodScenario. + # The rule template of the alert event. The possible values are: cloudPcProvisionScenario, cloudPcImageUploadScenario, cloudPcOnPremiseNetworkConnectionCheckScenario, cloudPcInGracePeriodScenario, cloudPcFrontlineInsufficientLicensesScenario, cloudPcInaccessibleScenario. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: cloudPcInGracePeriodScenario. alert_rule_template: Optional[AlertRuleTemplate] = None + # The conditions that determine when to send alerts. For example, you can configure a condition to send an alert when provisioning fails for six or more Cloud PCs. + conditions: Optional[List[RuleCondition]] = None # The rule description. description: Optional[str] = None # The display name of the rule. display_name: Optional[str] = None # The status of the rule that indicates whether the rule is enabled or disabled. If true, the rule is enabled; otherwise, the rule is disabled. enabled: Optional[bool] = None - # Indicates whether the rule is a system rule. If true, the rule is a system rule; otherwise, the rule is a custom defined rule and can be edited. System rules are built-in and only a few properties can be edited. + # Indicates whether the rule is a system rule. If true, the rule is a system rule; otherwise, the rule is a custom-defined rule and can be edited. System rules are built in and only a few properties can be edited. is_system_rule: Optional[bool] = None # The notification channels of the rule selected by the user. notification_channels: Optional[List[NotificationChannel]] = None @@ -30,7 +33,7 @@ class AlertRule(Entity): odata_type: Optional[str] = None # The severity of the rule. The possible values are: unknown, informational, warning, critical, unknownFutureValue. severity: Optional[RuleSeverityType] = None - # The conditions to send alerts. For example, send alert when provisioning has failed for greater than or equal to 6 Cloud PCs. + # The conditions that determine when to send alerts. For example, you can configure a condition to send an alert when provisioning fails for six or more Cloud PCs. This property is deprecated. Use conditions instead. threshold: Optional[RuleThreshold] = None @staticmethod @@ -52,17 +55,20 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from ..entity import Entity from .alert_rule_template import AlertRuleTemplate from .notification_channel import NotificationChannel + from .rule_condition import RuleCondition from .rule_severity_type import RuleSeverityType from .rule_threshold import RuleThreshold from ..entity import Entity from .alert_rule_template import AlertRuleTemplate from .notification_channel import NotificationChannel + from .rule_condition import RuleCondition from .rule_severity_type import RuleSeverityType from .rule_threshold import RuleThreshold fields: Dict[str, Callable[[Any], None]] = { "alertRuleTemplate": lambda n : setattr(self, 'alert_rule_template', n.get_enum_value(AlertRuleTemplate)), + "conditions": lambda n : setattr(self, 'conditions', n.get_collection_of_object_values(RuleCondition)), "description": lambda n : setattr(self, 'description', n.get_str_value()), "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), "enabled": lambda n : setattr(self, 'enabled', n.get_bool_value()), @@ -85,6 +91,7 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") super().serialize(writer) writer.write_enum_value("alertRuleTemplate", self.alert_rule_template) + writer.write_collection_of_object_values("conditions", self.conditions) writer.write_str_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_bool_value("enabled", self.enabled) diff --git a/msgraph_beta/generated/models/device_management/alert_rule_template.py b/msgraph_beta/generated/models/device_management/alert_rule_template.py index 2b47bc3c452..36e589d0b77 100644 --- a/msgraph_beta/generated/models/device_management/alert_rule_template.py +++ b/msgraph_beta/generated/models/device_management/alert_rule_template.py @@ -7,4 +7,5 @@ class AlertRuleTemplate(str, Enum): UnknownFutureValue = "unknownFutureValue", CloudPcInGracePeriodScenario = "cloudPcInGracePeriodScenario", CloudPcFrontlineInsufficientLicensesScenario = "cloudPcFrontlineInsufficientLicensesScenario", + CloudPcInaccessibleScenario = "cloudPcInaccessibleScenario", diff --git a/msgraph_beta/generated/models/device_management/condition_category.py b/msgraph_beta/generated/models/device_management/condition_category.py new file mode 100644 index 00000000000..f128c521528 --- /dev/null +++ b/msgraph_beta/generated/models/device_management/condition_category.py @@ -0,0 +1,13 @@ +from enum import Enum + +class ConditionCategory(str, Enum): + ProvisionFailures = "provisionFailures", + ImageUploadFailures = "imageUploadFailures", + AzureNetworkConnectionCheckFailures = "azureNetworkConnectionCheckFailures", + CloudPcInGracePeriod = "cloudPcInGracePeriod", + FrontlineInsufficientLicenses = "frontlineInsufficientLicenses", + CloudPcConnectionErrors = "cloudPcConnectionErrors", + CloudPcHostHealthCheckFailures = "cloudPcHostHealthCheckFailures", + CloudPcZoneOutage = "cloudPcZoneOutage", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/device_management/device_management.py b/msgraph_beta/generated/models/device_management/device_management.py index aad843edf02..edd033a2996 100644 --- a/msgraph_beta/generated/models/device_management/device_management.py +++ b/msgraph_beta/generated/models/device_management/device_management.py @@ -100,6 +100,7 @@ from ..notification_message_template import NotificationMessageTemplate from ..on_premises_conditional_access_settings import OnPremisesConditionalAccessSettings from ..privilege_management_elevation import PrivilegeManagementElevation + from ..privilege_management_elevation_request import PrivilegeManagementElevationRequest from ..remote_action_audit import RemoteActionAudit from ..remote_assistance_partner import RemoteAssistancePartner from ..remote_assistance_settings import RemoteAssistanceSettings @@ -294,6 +295,8 @@ class DeviceManagement(Entity): device_shell_scripts: Optional[List[DeviceShellScript]] = None # A list of connector objects. domain_join_connectors: Optional[List[DeviceManagementDomainJoinConnector]] = None + # List of elevation requests + elevation_requests: Optional[List[PrivilegeManagementElevationRequest]] = None # The embedded SIM activation code pools created by this account. embedded_s_i_m_activation_code_pools: Optional[List[EmbeddedSIMActivationCodePool]] = None # The list of Exchange Connectors configured by the tenant. @@ -653,6 +656,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from ..notification_message_template import NotificationMessageTemplate from ..on_premises_conditional_access_settings import OnPremisesConditionalAccessSettings from ..privilege_management_elevation import PrivilegeManagementElevation + from ..privilege_management_elevation_request import PrivilegeManagementElevationRequest from ..remote_action_audit import RemoteActionAudit from ..remote_assistance_partner import RemoteAssistancePartner from ..remote_assistance_settings import RemoteAssistanceSettings @@ -820,6 +824,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from ..notification_message_template import NotificationMessageTemplate from ..on_premises_conditional_access_settings import OnPremisesConditionalAccessSettings from ..privilege_management_elevation import PrivilegeManagementElevation + from ..privilege_management_elevation_request import PrivilegeManagementElevationRequest from ..remote_action_audit import RemoteActionAudit from ..remote_assistance_partner import RemoteAssistancePartner from ..remote_assistance_settings import RemoteAssistanceSettings @@ -951,6 +956,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "deviceProtectionOverview": lambda n : setattr(self, 'device_protection_overview', n.get_object_value(DeviceProtectionOverview)), "deviceShellScripts": lambda n : setattr(self, 'device_shell_scripts', n.get_collection_of_object_values(DeviceShellScript)), "domainJoinConnectors": lambda n : setattr(self, 'domain_join_connectors', n.get_collection_of_object_values(DeviceManagementDomainJoinConnector)), + "elevationRequests": lambda n : setattr(self, 'elevation_requests', n.get_collection_of_object_values(PrivilegeManagementElevationRequest)), "embeddedSIMActivationCodePools": lambda n : setattr(self, 'embedded_s_i_m_activation_code_pools', n.get_collection_of_object_values(EmbeddedSIMActivationCodePool)), "exchangeConnectors": lambda n : setattr(self, 'exchange_connectors', n.get_collection_of_object_values(DeviceManagementExchangeConnector)), "exchangeOnPremisesPolicies": lambda n : setattr(self, 'exchange_on_premises_policies', n.get_collection_of_object_values(DeviceManagementExchangeOnPremisesPolicy)), @@ -1144,6 +1150,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_object_value("deviceProtectionOverview", self.device_protection_overview) writer.write_collection_of_object_values("deviceShellScripts", self.device_shell_scripts) writer.write_collection_of_object_values("domainJoinConnectors", self.domain_join_connectors) + writer.write_collection_of_object_values("elevationRequests", self.elevation_requests) writer.write_collection_of_object_values("embeddedSIMActivationCodePools", self.embedded_s_i_m_activation_code_pools) writer.write_collection_of_object_values("exchangeConnectors", self.exchange_connectors) writer.write_collection_of_object_values("exchangeOnPremisesPolicies", self.exchange_on_premises_policies) diff --git a/msgraph_beta/generated/models/device_management/relationship_type.py b/msgraph_beta/generated/models/device_management/relationship_type.py new file mode 100644 index 00000000000..ac66a97fe96 --- /dev/null +++ b/msgraph_beta/generated/models/device_management/relationship_type.py @@ -0,0 +1,7 @@ +from enum import Enum + +class RelationshipType(str, Enum): + And_ = "and", + Or_ = "or", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/device_management/rule_condition.py b/msgraph_beta/generated/models/device_management/rule_condition.py new file mode 100644 index 00000000000..9557f38e7be --- /dev/null +++ b/msgraph_beta/generated/models/device_management/rule_condition.py @@ -0,0 +1,85 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .aggregation_type import AggregationType + from .condition_category import ConditionCategory + from .operator_type import OperatorType + from .relationship_type import RelationshipType + +@dataclass +class RuleCondition(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 built-in aggregation method for the rule condition. The possible values are: count, percentage, affectedCloudPcCount, affectedCloudPcPercentage, unknownFutureValue. + aggregation: Optional[AggregationType] = None + # The property that the rule condition monitors. Possible values are: provisionFailures, imageUploadFailures, azureNetworkConnectionCheckFailures, cloudPcInGracePeriod, frontlineInsufficientLicenses, cloudPcConnectionErrors, cloudPcHostHealthCheckFailures, cloudPcZoneOutage, unknownFutureValue. + condition_category: Optional[ConditionCategory] = None + # The OdataType property + odata_type: Optional[str] = None + # The built-in operator for the rule condition. The possible values are: greaterOrEqual, equal, greater, less, lessOrEqual, notEqual, unknownFutureValue. + operator: Optional[OperatorType] = None + # The relationship type. Possible values are: and, or. + relationship_type: Optional[RelationshipType] = None + # The threshold value of the alert condition. The threshold value can be a number in string form or string like 'WestUS'. + threshold_value: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> RuleCondition: + """ + 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: RuleCondition + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return RuleCondition() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .aggregation_type import AggregationType + from .condition_category import ConditionCategory + from .operator_type import OperatorType + from .relationship_type import RelationshipType + + from .aggregation_type import AggregationType + from .condition_category import ConditionCategory + from .operator_type import OperatorType + from .relationship_type import RelationshipType + + fields: Dict[str, Callable[[Any], None]] = { + "aggregation": lambda n : setattr(self, 'aggregation', n.get_enum_value(AggregationType)), + "conditionCategory": lambda n : setattr(self, 'condition_category', n.get_enum_value(ConditionCategory)), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "operator": lambda n : setattr(self, 'operator', n.get_enum_value(OperatorType)), + "relationshipType": lambda n : setattr(self, 'relationship_type', n.get_enum_value(RelationshipType)), + "thresholdValue": lambda n : setattr(self, 'threshold_value', 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_enum_value("aggregation", self.aggregation) + writer.write_enum_value("conditionCategory", self.condition_category) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_enum_value("operator", self.operator) + writer.write_enum_value("relationshipType", self.relationship_type) + writer.write_str_value("thresholdValue", self.threshold_value) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/device_management_cached_report_configuration.py b/msgraph_beta/generated/models/device_management_cached_report_configuration.py index f272056bd9d..701171ca424 100644 --- a/msgraph_beta/generated/models/device_management_cached_report_configuration.py +++ b/msgraph_beta/generated/models/device_management_cached_report_configuration.py @@ -79,9 +79,12 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") super().serialize(writer) + writer.write_datetime_value("expirationDateTime", self.expiration_date_time) writer.write_str_value("filter", self.filter) + writer.write_datetime_value("lastRefreshDateTime", self.last_refresh_date_time) writer.write_str_value("metadata", self.metadata) writer.write_collection_of_primitive_values("orderBy", self.order_by) + writer.write_str_value("reportName", self.report_name) writer.write_collection_of_primitive_values("select", self.select) writer.write_enum_value("status", self.status) diff --git a/msgraph_beta/generated/models/device_management_configuration_setting_group_definition.py b/msgraph_beta/generated/models/device_management_configuration_setting_group_definition.py index fefd37057dc..6c0885735de 100644 --- a/msgraph_beta/generated/models/device_management_configuration_setting_group_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_setting_group_definition.py @@ -13,7 +13,7 @@ @dataclass class DeviceManagementConfigurationSettingGroupDefinition(DeviceManagementConfigurationSettingDefinition): - # Dependent child settings to this group of settings. + # Dependent child settings to this group of settings child_ids: Optional[List[str]] = None # List of child settings that depend on this setting depended_on_by: Optional[List[DeviceManagementConfigurationSettingDependedOnBy]] = None diff --git a/msgraph_beta/generated/models/device_management_export_job.py b/msgraph_beta/generated/models/device_management_export_job.py index 78379f26c32..ef2d0b8cc2d 100644 --- a/msgraph_beta/generated/models/device_management_export_job.py +++ b/msgraph_beta/generated/models/device_management_export_job.py @@ -91,12 +91,15 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") super().serialize(writer) + writer.write_datetime_value("expirationDateTime", self.expiration_date_time) writer.write_str_value("filter", self.filter) writer.write_enum_value("format", self.format) writer.write_enum_value("localizationType", self.localization_type) writer.write_str_value("reportName", self.report_name) + writer.write_datetime_value("requestDateTime", self.request_date_time) writer.write_collection_of_primitive_values("select", self.select) writer.write_str_value("snapshotId", self.snapshot_id) writer.write_enum_value("status", self.status) + writer.write_str_value("url", self.url) diff --git a/msgraph_beta/generated/models/device_registration_membership.py b/msgraph_beta/generated/models/device_registration_membership.py new file mode 100644 index 00000000000..6a17729f1e0 --- /dev/null +++ b/msgraph_beta/generated/models/device_registration_membership.py @@ -0,0 +1,78 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .all_device_registration_membership import AllDeviceRegistrationMembership + from .enumerated_device_registration_membership import EnumeratedDeviceRegistrationMembership + from .no_device_registration_membership import NoDeviceRegistrationMembership + +@dataclass +class DeviceRegistrationMembership(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: Optional[ParseNode] = None) -> DeviceRegistrationMembership: + """ + 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: DeviceRegistrationMembership + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + except AttributeError: + mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.allDeviceRegistrationMembership".casefold(): + from .all_device_registration_membership import AllDeviceRegistrationMembership + + return AllDeviceRegistrationMembership() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.enumeratedDeviceRegistrationMembership".casefold(): + from .enumerated_device_registration_membership import EnumeratedDeviceRegistrationMembership + + return EnumeratedDeviceRegistrationMembership() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.noDeviceRegistrationMembership".casefold(): + from .no_device_registration_membership import NoDeviceRegistrationMembership + + return NoDeviceRegistrationMembership() + return DeviceRegistrationMembership() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .all_device_registration_membership import AllDeviceRegistrationMembership + from .enumerated_device_registration_membership import EnumeratedDeviceRegistrationMembership + from .no_device_registration_membership import NoDeviceRegistrationMembership + + from .all_device_registration_membership import AllDeviceRegistrationMembership + from .enumerated_device_registration_membership import EnumeratedDeviceRegistrationMembership + from .no_device_registration_membership import NoDeviceRegistrationMembership + + 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 not writer: + 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/device_registration_policy.py b/msgraph_beta/generated/models/device_registration_policy.py index 773930555d1..e4b324ed9dc 100644 --- a/msgraph_beta/generated/models/device_registration_policy.py +++ b/msgraph_beta/generated/models/device_registration_policy.py @@ -4,7 +4,7 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .azure_ad_join_policy import AzureAdJoinPolicy + from .azure_a_d_join_policy import AzureADJoinPolicy from .azure_a_d_registration_policy import AzureADRegistrationPolicy from .entity import Entity from .local_admin_password_settings import LocalAdminPasswordSettings @@ -15,7 +15,7 @@ @dataclass class DeviceRegistrationPolicy(Entity): # Specifies the authorization policy for controlling registration of new devices using Microsoft Entra join within your organization. Required. For more information, see What is a device identity?. - azure_a_d_join: Optional[AzureAdJoinPolicy] = None + azure_a_d_join: Optional[AzureADJoinPolicy] = None # Specifies the authorization policy for controlling registration of new devices using Microsoft Entra registered within your organization. Required. For more information, see What is a device identity?. azure_a_d_registration: Optional[AzureADRegistrationPolicy] = None # The description of the device registration policy. It's always set to Tenant-wide policy that manages intial provisioning controls using quota restrictions, additional authentication and authorization checks. Read-only. @@ -47,20 +47,20 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ - from .azure_ad_join_policy import AzureAdJoinPolicy + from .azure_a_d_join_policy import AzureADJoinPolicy from .azure_a_d_registration_policy import AzureADRegistrationPolicy from .entity import Entity from .local_admin_password_settings import LocalAdminPasswordSettings from .multi_factor_auth_configuration import MultiFactorAuthConfiguration - from .azure_ad_join_policy import AzureAdJoinPolicy + from .azure_a_d_join_policy import AzureADJoinPolicy from .azure_a_d_registration_policy import AzureADRegistrationPolicy from .entity import Entity from .local_admin_password_settings import LocalAdminPasswordSettings from .multi_factor_auth_configuration import MultiFactorAuthConfiguration fields: Dict[str, Callable[[Any], None]] = { - "azureADJoin": lambda n : setattr(self, 'azure_a_d_join', n.get_object_value(AzureAdJoinPolicy)), + "azureADJoin": lambda n : setattr(self, 'azure_a_d_join', n.get_object_value(AzureADJoinPolicy)), "azureADRegistration": lambda n : setattr(self, 'azure_a_d_registration', n.get_object_value(AzureADRegistrationPolicy)), "description": lambda n : setattr(self, 'description', n.get_str_value()), "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), diff --git a/msgraph_beta/generated/models/dictionary.py b/msgraph_beta/generated/models/dictionary.py index cbc0efba6df..42e1baaa344 100644 --- a/msgraph_beta/generated/models/dictionary.py +++ b/msgraph_beta/generated/models/dictionary.py @@ -6,6 +6,7 @@ if TYPE_CHECKING: from .custom_app_scope_attributes_dictionary import CustomAppScopeAttributesDictionary + from .planner_forms_dictionary import PlannerFormsDictionary from .result_template_dictionary import ResultTemplateDictionary @dataclass @@ -35,6 +36,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> D from .custom_app_scope_attributes_dictionary import CustomAppScopeAttributesDictionary return CustomAppScopeAttributesDictionary() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.plannerFormsDictionary".casefold(): + from .planner_forms_dictionary import PlannerFormsDictionary + + return PlannerFormsDictionary() if mapping_value and mapping_value.casefold() == "#microsoft.graph.resultTemplateDictionary".casefold(): from .result_template_dictionary import ResultTemplateDictionary @@ -47,9 +52,11 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .custom_app_scope_attributes_dictionary import CustomAppScopeAttributesDictionary + from .planner_forms_dictionary import PlannerFormsDictionary from .result_template_dictionary import ResultTemplateDictionary from .custom_app_scope_attributes_dictionary import CustomAppScopeAttributesDictionary + from .planner_forms_dictionary import PlannerFormsDictionary from .result_template_dictionary import ResultTemplateDictionary fields: Dict[str, Callable[[Any], None]] = { diff --git a/msgraph_beta/generated/models/drive_item.py b/msgraph_beta/generated/models/drive_item.py index 32ddc59eca0..5c6dfdc5424 100644 --- a/msgraph_beta/generated/models/drive_item.py +++ b/msgraph_beta/generated/models/drive_item.py @@ -77,7 +77,7 @@ class DriveItem(BaseItem): media: Optional[Media] = None # If present, indicates that this item is a package instead of a folder or file. Packages are treated like files in some contexts and folders in others. Read-only. package: Optional[Package] = None - # If present, indicates that indicates that one or more operations that may affect the state of the driveItem are pending completion. Read-only. + # If present, indicates that indicates that one or more operations that might affect the state of the driveItem are pending completion. Read-only. pending_operations: Optional[PendingOperations] = None # The set of permissions for the item. Read-only. Nullable. permissions: Optional[List[Permission]] = None @@ -93,7 +93,7 @@ class DriveItem(BaseItem): root: Optional[Root] = None # Search metadata, if the item is from a search result. Read-only. search_result: Optional[SearchResult] = None - # Indicates that the item has been shared with others and provides information about the shared state of the item. Read-only. + # Indicates that the item was shared with others and provides information about the shared state of the item. Read-only. shared: Optional[Shared] = None # Returns identifiers useful for SharePoint REST compatibility. Read-only. sharepoint_ids: Optional[SharepointIds] = None @@ -105,7 +105,7 @@ class DriveItem(BaseItem): special_folder: Optional[SpecialFolder] = None # The set of subscriptions on the item. Only supported on the root of a drive. subscriptions: Optional[List[Subscription]] = None - # Collection containing [ThumbnailSet][] objects associated with the item. For more info, see [getting thumbnails][]. Read-only. Nullable. + # Collection of [thumbnailSet][] objects associated with the item. For more information, see [getting thumbnails][]. Read-only. Nullable. thumbnails: Optional[List[ThumbnailSet]] = None # The list of previous versions of the item. For more info, see [getting previous versions][]. Read-only. Nullable. versions: Optional[List[DriveItemVersion]] = None diff --git a/msgraph_beta/generated/models/education_submission.py b/msgraph_beta/generated/models/education_submission.py index 397119c7ceb..10aee71346a 100644 --- a/msgraph_beta/generated/models/education_submission.py +++ b/msgraph_beta/generated/models/education_submission.py @@ -16,6 +16,10 @@ @dataclass class EducationSubmission(Entity): + # The excusedBy property + excused_by: Optional[IdentitySet] = None + # The excusedDateTime property + excused_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None # The outcomes property @@ -80,6 +84,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .identity_set import IdentitySet fields: Dict[str, Callable[[Any], None]] = { + "excusedBy": lambda n : setattr(self, 'excused_by', n.get_object_value(IdentitySet)), + "excusedDateTime": lambda n : setattr(self, 'excused_date_time', n.get_datetime_value()), "outcomes": lambda n : setattr(self, 'outcomes', n.get_collection_of_object_values(EducationOutcome)), "reassignedBy": lambda n : setattr(self, 'reassigned_by', n.get_object_value(IdentitySet)), "reassignedDateTime": lambda n : setattr(self, 'reassigned_date_time', n.get_datetime_value()), diff --git a/msgraph_beta/generated/models/education_submission_status.py b/msgraph_beta/generated/models/education_submission_status.py index 80bfe0ca9d2..ab8ecd6b1b6 100644 --- a/msgraph_beta/generated/models/education_submission_status.py +++ b/msgraph_beta/generated/models/education_submission_status.py @@ -7,4 +7,5 @@ class EducationSubmissionStatus(str, Enum): Returned = "returned", UnknownFutureValue = "unknownFutureValue", Reassigned = "reassigned", + Excused = "excused", diff --git a/msgraph_beta/generated/models/elevation_request_state.py b/msgraph_beta/generated/models/elevation_request_state.py new file mode 100644 index 00000000000..7801f4b6f44 --- /dev/null +++ b/msgraph_beta/generated/models/elevation_request_state.py @@ -0,0 +1,16 @@ +from enum import Enum + +class ElevationRequestState(str, Enum): + # Default Value. Indicates that elevation request status is unavailable + None_ = "none", + # Initial state when request is submitted but no approval/denial action taken + Pending = "pending", + # Indicates elevation request has been approved by IT Admin. + Approved = "approved", + # Indicates elevation request has been denied by IT Admin. + Denied = "denied", + # Set to expire when Approved for is elapsed or ExpireDate is elapsed, whichever is sooner. + Expired = "expired", + # Evolvable enumeration sentinel value. Do not use. + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/employee_experience.py b/msgraph_beta/generated/models/employee_experience.py index fa72c34b80c..4db9ef0fb00 100644 --- a/msgraph_beta/generated/models/employee_experience.py +++ b/msgraph_beta/generated/models/employee_experience.py @@ -5,6 +5,9 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: + from .community import Community + from .engagement_async_operation import EngagementAsyncOperation + from .goals import Goals from .learning_course_activity import LearningCourseActivity from .learning_provider import LearningProvider @@ -15,6 +18,12 @@ class EmployeeExperience(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 collection of communities in Viva Engage. + communities: Optional[List[Community]] = None + # A collection of long-running, asynchronous operations related to Viva Engage. + engagement_async_operations: Optional[List[EngagementAsyncOperation]] = None + # Represents a collection of goals in a Viva Goals organization. + goals: Optional[Goals] = None # The learningCourseActivities property learning_course_activities: Optional[List[LearningCourseActivity]] = None # A collection of learning providers. @@ -38,13 +47,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 .community import Community + from .engagement_async_operation import EngagementAsyncOperation + from .goals import Goals from .learning_course_activity import LearningCourseActivity from .learning_provider import LearningProvider + from .community import Community + from .engagement_async_operation import EngagementAsyncOperation + from .goals import Goals from .learning_course_activity import LearningCourseActivity from .learning_provider import LearningProvider fields: Dict[str, Callable[[Any], None]] = { + "communities": lambda n : setattr(self, 'communities', n.get_collection_of_object_values(Community)), + "engagementAsyncOperations": lambda n : setattr(self, 'engagement_async_operations', n.get_collection_of_object_values(EngagementAsyncOperation)), + "goals": lambda n : setattr(self, 'goals', n.get_object_value(Goals)), "learningCourseActivities": lambda n : setattr(self, 'learning_course_activities', n.get_collection_of_object_values(LearningCourseActivity)), "learningProviders": lambda n : setattr(self, 'learning_providers', n.get_collection_of_object_values(LearningProvider)), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), @@ -59,6 +77,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if not writer: raise TypeError("writer cannot be null.") + writer.write_collection_of_object_values("communities", self.communities) + writer.write_collection_of_object_values("engagementAsyncOperations", self.engagement_async_operations) + writer.write_object_value("goals", self.goals) writer.write_collection_of_object_values("learningCourseActivities", self.learning_course_activities) writer.write_collection_of_object_values("learningProviders", self.learning_providers) writer.write_str_value("@odata.type", self.odata_type) diff --git a/msgraph_beta/generated/models/engagement_async_operation.py b/msgraph_beta/generated/models/engagement_async_operation.py new file mode 100644 index 00000000000..1577774c763 --- /dev/null +++ b/msgraph_beta/generated/models/engagement_async_operation.py @@ -0,0 +1,63 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .engagement_async_operation_type import EngagementAsyncOperationType + from .long_running_operation import LongRunningOperation + +from .long_running_operation import LongRunningOperation + +@dataclass +class EngagementAsyncOperation(LongRunningOperation): + # The OdataType property + odata_type: Optional[str] = None + # The type of the long-running operation. The possible values are: createCommunity, unknownFutureValue. + operation_type: Optional[EngagementAsyncOperationType] = None + # The ID of the object created or modified as a result of this async operation. + resource_id: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> EngagementAsyncOperation: + """ + 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: EngagementAsyncOperation + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return EngagementAsyncOperation() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .engagement_async_operation_type import EngagementAsyncOperationType + from .long_running_operation import LongRunningOperation + + from .engagement_async_operation_type import EngagementAsyncOperationType + from .long_running_operation import LongRunningOperation + + fields: Dict[str, Callable[[Any], None]] = { + "operationType": lambda n : setattr(self, 'operation_type', n.get_enum_value(EngagementAsyncOperationType)), + "resourceId": lambda n : setattr(self, 'resource_id', 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_enum_value("operationType", self.operation_type) + writer.write_str_value("resourceId", self.resource_id) + + diff --git a/msgraph_beta/generated/models/engagement_async_operation_collection_response.py b/msgraph_beta/generated/models/engagement_async_operation_collection_response.py new file mode 100644 index 00000000000..7c9e5490a93 --- /dev/null +++ b/msgraph_beta/generated/models/engagement_async_operation_collection_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .engagement_async_operation import EngagementAsyncOperation + +from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class EngagementAsyncOperationCollectionResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[EngagementAsyncOperation]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> EngagementAsyncOperationCollectionResponse: + """ + 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: EngagementAsyncOperationCollectionResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return EngagementAsyncOperationCollectionResponse() + + 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 .engagement_async_operation import EngagementAsyncOperation + + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .engagement_async_operation import EngagementAsyncOperation + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(EngagementAsyncOperation)), + } + 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 not writer: + 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/engagement_async_operation_type.py b/msgraph_beta/generated/models/engagement_async_operation_type.py new file mode 100644 index 00000000000..40c124d7a2c --- /dev/null +++ b/msgraph_beta/generated/models/engagement_async_operation_type.py @@ -0,0 +1,6 @@ +from enum import Enum + +class EngagementAsyncOperationType(str, Enum): + CreateCommunity = "createCommunity", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/entitlements_data_collection.py b/msgraph_beta/generated/models/entitlements_data_collection.py index 345d38b4f1d..532b65b5d47 100644 --- a/msgraph_beta/generated/models/entitlements_data_collection.py +++ b/msgraph_beta/generated/models/entitlements_data_collection.py @@ -15,7 +15,7 @@ class EntitlementsDataCollection(EntitlementsDataCollectionInfo): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.entitlementsDataCollection" - # The lastCollectionDateTime property + # Last transformation time of entitlements. last_collection_date_time: Optional[datetime.datetime] = None # The permissionsModificationCapability property permissions_modification_capability: Optional[PermissionsModificationCapability] = None diff --git a/msgraph_beta/generated/models/entity.py b/msgraph_beta/generated/models/entity.py index a1ec419d5e2..d4c3a5cc180 100644 --- a/msgraph_beta/generated/models/entity.py +++ b/msgraph_beta/generated/models/entity.py @@ -44,6 +44,7 @@ from .admin_consent_request_policy import AdminConsentRequestPolicy from .admin_dynamics import AdminDynamics from .admin_forms import AdminForms + from .admin_microsoft365_apps import AdminMicrosoft365Apps from .admin_report_settings import AdminReportSettings from .admin_todo import AdminTodo from .admin_windows import AdminWindows @@ -267,6 +268,9 @@ from .call_event import CallEvent from .call_recording import CallRecording from .call_records.call_record import CallRecord + from .call_records.organizer import Organizer + from .call_records.participant import Participant + from .call_records.participant_base import ParticipantBase from .call_records.segment import Segment from .call_records.session import Session from .call_transcript import CallTranscript @@ -292,6 +296,9 @@ from .cloud_app_security_profile import CloudAppSecurityProfile from .cloud_pc_audit_event import CloudPcAuditEvent from .cloud_pc_bulk_action import CloudPcBulkAction + from .cloud_pc_bulk_disaster_recovery_failback import CloudPcBulkDisasterRecoveryFailback + from .cloud_pc_bulk_disaster_recovery_failover import CloudPcBulkDisasterRecoveryFailover + from .cloud_pc_bulk_modify_disk_encryption_type import CloudPcBulkModifyDiskEncryptionType from .cloud_pc_bulk_power_off import CloudPcBulkPowerOff from .cloud_pc_bulk_power_on import CloudPcBulkPowerOn from .cloud_pc_bulk_reprovision import CloudPcBulkReprovision @@ -323,6 +330,7 @@ from .comanagement_eligible_device import ComanagementEligibleDevice from .command import Command from .comms_operation import CommsOperation + from .community import Community from .company_subscription import CompanySubscription from .compliance_management_partner import ComplianceManagementPartner from .conditional_access_policy import ConditionalAccessPolicy @@ -366,6 +374,7 @@ from .data_loss_prevention_policy import DataLossPreventionPolicy from .data_policy_operation import DataPolicyOperation from .data_sharing_consent import DataSharingConsent + from .day_note import DayNote from .default_device_compliance_policy import DefaultDeviceCompliancePolicy from .default_managed_app_protection import DefaultManagedAppProtection from .default_user_role_override import DefaultUserRoleOverride @@ -596,6 +605,7 @@ from .endpoint import Endpoint from .end_user_notification import EndUserNotification from .end_user_notification_detail import EndUserNotificationDetail + from .engagement_async_operation import EngagementAsyncOperation from .enrollment_configuration_assignment import EnrollmentConfigurationAssignment from .enrollment_profile import EnrollmentProfile from .enrollment_restrictions_configuration_policy_set_item import EnrollmentRestrictionsConfigurationPolicySetItem @@ -662,6 +672,8 @@ from .gcp_role import GcpRole from .gcp_service_account import GcpServiceAccount from .gcp_user import GcpUser + from .goals import Goals + from .goals_export_job import GoalsExportJob from .governance_insight import GovernanceInsight from .governance_policy_template import GovernancePolicyTemplate from .governance_resource import GovernanceResource @@ -845,6 +857,7 @@ from .login_page import LoginPage from .long_running_operation import LongRunningOperation from .lookup_result_row import LookupResultRow + from .m365_apps_installation_options import M365AppsInstallationOptions from .mac_os_vpp_app import MacOsVppApp from .mac_os_vpp_app_assigned_license import MacOsVppAppAssignedLicense from .mac_o_s_certificate_profile_base import MacOSCertificateProfileBase @@ -1016,11 +1029,17 @@ from .networkaccess.cross_tenant_access_settings import CrossTenantAccessSettings from .networkaccess.device_link import DeviceLink from .networkaccess.enriched_audit_logs import EnrichedAuditLogs + from .networkaccess.filtering_policy import FilteringPolicy + from .networkaccess.filtering_policy_link import FilteringPolicyLink + from .networkaccess.filtering_profile import FilteringProfile + from .networkaccess.filtering_rule import FilteringRule from .networkaccess.forwarding_options import ForwardingOptions from .networkaccess.forwarding_policy import ForwardingPolicy from .networkaccess.forwarding_policy_link import ForwardingPolicyLink from .networkaccess.forwarding_profile import ForwardingProfile from .networkaccess.forwarding_rule import ForwardingRule + from .networkaccess.fqdn_filtering_rule import FqdnFilteringRule + from .networkaccess.internet_access_forwarding_rule import InternetAccessForwardingRule from .networkaccess.logs import Logs from .networkaccess.m365_forwarding_rule import M365ForwardingRule from .networkaccess.network_access_root import NetworkAccessRoot @@ -1029,9 +1048,11 @@ from .networkaccess.policy_rule import PolicyRule from .networkaccess.private_access_forwarding_rule import PrivateAccessForwardingRule from .networkaccess.profile import Profile + from .networkaccess.remote_network_health_event import RemoteNetworkHealthEvent from .networkaccess.reports import Reports from .networkaccess.settings import Settings from .networkaccess.tenant_status import TenantStatus + from .networkaccess.web_category_filtering_rule import WebCategoryFilteringRule from .note import Note from .notebook import Notebook from .notification import Notification @@ -1058,7 +1079,12 @@ from .onenote_resource import OnenoteResource from .onenote_section import OnenoteSection from .online_meeting import OnlineMeeting + from .online_meeting_base import OnlineMeetingBase from .on_attribute_collection_listener import OnAttributeCollectionListener + from .on_attribute_collection_start_custom_extension import OnAttributeCollectionStartCustomExtension + from .on_attribute_collection_start_listener import OnAttributeCollectionStartListener + from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension + from .on_attribute_collection_submit_listener import OnAttributeCollectionSubmitListener from .on_authentication_method_load_start_listener import OnAuthenticationMethodLoadStartListener from .on_interactive_auth_flow_start_listener import OnInteractiveAuthFlowStartListener from .on_premises_agent import OnPremisesAgent @@ -1149,6 +1175,7 @@ from .platform_credential_authentication_method import PlatformCredentialAuthenticationMethod from .play_prompt_operation import PlayPromptOperation from .policy_base import PolicyBase + from .policy_root import PolicyRoot from .policy_set import PolicySet from .policy_set_assignment import PolicySetAssignment from .policy_set_item import PolicySetItem @@ -1199,6 +1226,7 @@ from .privilege_escalation_gcp_service_account_finding import PrivilegeEscalationGcpServiceAccountFinding from .privilege_escalation_user_finding import PrivilegeEscalationUserFinding from .privilege_management_elevation import PrivilegeManagementElevation + from .privilege_management_elevation_request import PrivilegeManagementElevationRequest from .profile import Profile from .profile_card_property import ProfileCardProperty from .profile_photo import ProfilePhoto @@ -1277,6 +1305,9 @@ from .security.article import Article from .security.article_indicator import ArticleIndicator from .security.artifact import Artifact + from .security.audit_core_root import AuditCoreRoot + from .security.audit_log_query import AuditLogQuery + from .security.audit_log_record import AuditLogRecord from .security.authority_template import AuthorityTemplate from .security.case import Case from .security.cases_root import CasesRoot @@ -1376,11 +1407,13 @@ from .security_tool_aws_role_administrator_finding import SecurityToolAwsRoleAdministratorFinding from .security_tool_aws_serverless_function_administrator_finding import SecurityToolAwsServerlessFunctionAdministratorFinding from .security_tool_aws_user_administrator_finding import SecurityToolAwsUserAdministratorFinding + from .send_dtmf_tones_operation import SendDtmfTonesOperation from .sensitive_type import SensitiveType from .sensitivity_label import SensitivityLabel from .sensitivity_policy_settings import SensitivityPolicySettings from .sequential_activation_renewals_alert_configuration import SequentialActivationRenewalsAlertConfiguration from .sequential_activation_renewals_alert_incident import SequentialActivationRenewalsAlertIncident + from .service_activity import ServiceActivity from .service_announcement import ServiceAnnouncement from .service_announcement_attachment import ServiceAnnouncementAttachment from .service_announcement_base import ServiceAnnouncementBase @@ -1625,10 +1658,14 @@ from .virtual_event_presenter import VirtualEventPresenter from .virtual_event_registration import VirtualEventRegistration from .virtual_event_registration_configuration import VirtualEventRegistrationConfiguration - from .virtual_event_registration_question import VirtualEventRegistrationQuestion + from .virtual_event_registration_custom_question import VirtualEventRegistrationCustomQuestion + from .virtual_event_registration_predefined_question import VirtualEventRegistrationPredefinedQuestion + from .virtual_event_registration_question_base import VirtualEventRegistrationQuestionBase from .virtual_event_session import VirtualEventSession + from .virtual_event_townhall import VirtualEventTownhall from .virtual_event_webinar import VirtualEventWebinar from .virtual_event_webinar_registration_configuration import VirtualEventWebinarRegistrationConfiguration + from .virtual_machine_details import VirtualMachineDetails from .virtual_machine_with_aws_storage_bucket_access_finding import VirtualMachineWithAwsStorageBucketAccessFinding from .voice_authentication_method_configuration import VoiceAuthenticationMethodConfiguration from .voice_authentication_method_target import VoiceAuthenticationMethodTarget @@ -1812,6 +1849,7 @@ from .workspace import Workspace from .work_position import WorkPosition from .x509_certificate_authentication_method_configuration import X509CertificateAuthenticationMethodConfiguration + from .x509_certificate_combination_configuration import X509CertificateCombinationConfiguration from .zebra_fota_artifact import ZebraFotaArtifact from .zebra_fota_connector import ZebraFotaConnector from .zebra_fota_deployment import ZebraFotaDeployment @@ -1997,6 +2035,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E from .administrative_unit import AdministrativeUnit return AdministrativeUnit() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.adminMicrosoft365Apps".casefold(): + from .admin_microsoft365_apps import AdminMicrosoft365Apps + + return AdminMicrosoft365Apps() if mapping_value and mapping_value.casefold() == "#microsoft.graph.adminReportSettings".casefold(): from .admin_report_settings import AdminReportSettings @@ -2891,6 +2933,19 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E from .call_records.call_record import CallRecord return CallRecord() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.callRecords.organizer".casefold(): + from .call_records.organizer import Organizer + + return Organizer() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.callRecords.participant".casefold(): + from .call_records.participant import Participant + from .participant import Participant + + return Participant() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.callRecords.participantBase".casefold(): + from .call_records.participant_base import ParticipantBase + + return ParticipantBase() if mapping_value and mapping_value.casefold() == "#microsoft.graph.callRecords.segment".casefold(): from .call_records.segment import Segment @@ -2995,6 +3050,18 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E from .cloud_pc_bulk_action import CloudPcBulkAction return CloudPcBulkAction() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.cloudPcBulkDisasterRecoveryFailback".casefold(): + from .cloud_pc_bulk_disaster_recovery_failback import CloudPcBulkDisasterRecoveryFailback + + return CloudPcBulkDisasterRecoveryFailback() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.cloudPcBulkDisasterRecoveryFailover".casefold(): + from .cloud_pc_bulk_disaster_recovery_failover import CloudPcBulkDisasterRecoveryFailover + + return CloudPcBulkDisasterRecoveryFailover() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.cloudPcBulkModifyDiskEncryptionType".casefold(): + from .cloud_pc_bulk_modify_disk_encryption_type import CloudPcBulkModifyDiskEncryptionType + + return CloudPcBulkModifyDiskEncryptionType() if mapping_value and mapping_value.casefold() == "#microsoft.graph.cloudPcBulkPowerOff".casefold(): from .cloud_pc_bulk_power_off import CloudPcBulkPowerOff @@ -3115,6 +3182,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E from .comms_operation import CommsOperation return CommsOperation() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.community".casefold(): + from .community import Community + + return Community() if mapping_value and mapping_value.casefold() == "#microsoft.graph.companySubscription".casefold(): from .company_subscription import CompanySubscription @@ -3289,6 +3360,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E from .data_sharing_consent import DataSharingConsent return DataSharingConsent() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.dayNote".casefold(): + from .day_note import DayNote + + return DayNote() if mapping_value and mapping_value.casefold() == "#microsoft.graph.defaultDeviceCompliancePolicy".casefold(): from .default_device_compliance_policy import DefaultDeviceCompliancePolicy @@ -4222,6 +4297,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E from .end_user_notification_detail import EndUserNotificationDetail return EndUserNotificationDetail() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.engagementAsyncOperation".casefold(): + from .engagement_async_operation import EngagementAsyncOperation + + return EngagementAsyncOperation() if mapping_value and mapping_value.casefold() == "#microsoft.graph.enrollmentConfigurationAssignment".casefold(): from .enrollment_configuration_assignment import EnrollmentConfigurationAssignment @@ -4490,6 +4569,14 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E from .gcp_user import GcpUser return GcpUser() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.goals".casefold(): + from .goals import Goals + + return Goals() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.goalsExportJob".casefold(): + from .goals_export_job import GoalsExportJob + + return GoalsExportJob() if mapping_value and mapping_value.casefold() == "#microsoft.graph.governanceInsight".casefold(): from .governance_insight import GovernanceInsight @@ -5224,6 +5311,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E from .lookup_result_row import LookupResultRow return LookupResultRow() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.m365AppsInstallationOptions".casefold(): + from .m365_apps_installation_options import M365AppsInstallationOptions + + return M365AppsInstallationOptions() if mapping_value and mapping_value.casefold() == "#microsoft.graph.macOSCertificateProfileBase".casefold(): from .mac_o_s_certificate_profile_base import MacOSCertificateProfileBase @@ -5913,6 +6004,22 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E from .networkaccess.enriched_audit_logs import EnrichedAuditLogs return EnrichedAuditLogs() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.filteringPolicy".casefold(): + from .networkaccess.filtering_policy import FilteringPolicy + + return FilteringPolicy() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.filteringPolicyLink".casefold(): + from .networkaccess.filtering_policy_link import FilteringPolicyLink + + return FilteringPolicyLink() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.filteringProfile".casefold(): + from .networkaccess.filtering_profile import FilteringProfile + + return FilteringProfile() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.filteringRule".casefold(): + from .networkaccess.filtering_rule import FilteringRule + + return FilteringRule() if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.forwardingOptions".casefold(): from .networkaccess.forwarding_options import ForwardingOptions @@ -5933,6 +6040,14 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E from .networkaccess.forwarding_rule import ForwardingRule return ForwardingRule() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.fqdnFilteringRule".casefold(): + from .networkaccess.fqdn_filtering_rule import FqdnFilteringRule + + return FqdnFilteringRule() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.internetAccessForwardingRule".casefold(): + from .networkaccess.internet_access_forwarding_rule import InternetAccessForwardingRule + + return InternetAccessForwardingRule() if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.logs".casefold(): from .networkaccess.logs import Logs @@ -5966,6 +6081,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E from .profile import Profile return Profile() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.remoteNetworkHealthEvent".casefold(): + from .networkaccess.remote_network_health_event import RemoteNetworkHealthEvent + + return RemoteNetworkHealthEvent() if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.reports".casefold(): from .networkaccess.reports import Reports @@ -5978,6 +6097,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E from .networkaccess.tenant_status import TenantStatus return TenantStatus() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.webCategoryFilteringRule".casefold(): + from .networkaccess.web_category_filtering_rule import WebCategoryFilteringRule + + return WebCategoryFilteringRule() if mapping_value and mapping_value.casefold() == "#microsoft.graph.noMfaOnRoleActivationAlertConfiguration".casefold(): from .no_mfa_on_role_activation_alert_configuration import NoMfaOnRoleActivationAlertConfiguration @@ -6054,6 +6177,22 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E from .on_attribute_collection_listener import OnAttributeCollectionListener return OnAttributeCollectionListener() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.onAttributeCollectionStartCustomExtension".casefold(): + from .on_attribute_collection_start_custom_extension import OnAttributeCollectionStartCustomExtension + + return OnAttributeCollectionStartCustomExtension() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.onAttributeCollectionStartListener".casefold(): + from .on_attribute_collection_start_listener import OnAttributeCollectionStartListener + + return OnAttributeCollectionStartListener() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.onAttributeCollectionSubmitCustomExtension".casefold(): + from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension + + return OnAttributeCollectionSubmitCustomExtension() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.onAttributeCollectionSubmitListener".casefold(): + from .on_attribute_collection_submit_listener import OnAttributeCollectionSubmitListener + + return OnAttributeCollectionSubmitListener() if mapping_value and mapping_value.casefold() == "#microsoft.graph.onAuthenticationMethodLoadStartListener".casefold(): from .on_authentication_method_load_start_listener import OnAuthenticationMethodLoadStartListener @@ -6098,6 +6237,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E from .online_meeting import OnlineMeeting return OnlineMeeting() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.onlineMeetingBase".casefold(): + from .online_meeting_base import OnlineMeetingBase + + return OnlineMeetingBase() if mapping_value and mapping_value.casefold() == "#microsoft.graph.onPremisesAgent".casefold(): from .on_premises_agent import OnPremisesAgent @@ -6235,6 +6378,7 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E return OverprovisionedUserFinding() if mapping_value and mapping_value.casefold() == "#microsoft.graph.participant".casefold(): + from .call_records.participant import Participant from .participant import Participant return Participant() @@ -6447,6 +6591,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E from .security.policy_base import PolicyBase return PolicyBase() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.policyRoot".casefold(): + from .policy_root import PolicyRoot + + return PolicyRoot() if mapping_value and mapping_value.casefold() == "#microsoft.graph.policySet".casefold(): from .policy_set import PolicySet @@ -6647,6 +6795,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E from .privilege_management_elevation import PrivilegeManagementElevation return PrivilegeManagementElevation() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.privilegeManagementElevationRequest".casefold(): + from .privilege_management_elevation_request import PrivilegeManagementElevationRequest + + return PrivilegeManagementElevationRequest() if mapping_value and mapping_value.casefold() == "#microsoft.graph.profile".casefold(): from .networkaccess.profile import Profile from .profile import Profile @@ -6966,6 +7118,18 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E from .security.artifact import Artifact return Artifact() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.auditCoreRoot".casefold(): + from .security.audit_core_root import AuditCoreRoot + + return AuditCoreRoot() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.auditLogQuery".casefold(): + from .security.audit_log_query import AuditLogQuery + + return AuditLogQuery() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.auditLogRecord".casefold(): + from .security.audit_log_record import AuditLogRecord + + return AuditLogRecord() if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.authorityTemplate".casefold(): from .security.authority_template import AuthorityTemplate @@ -7373,6 +7537,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E from .security_tool_aws_user_administrator_finding import SecurityToolAwsUserAdministratorFinding return SecurityToolAwsUserAdministratorFinding() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.sendDtmfTonesOperation".casefold(): + from .send_dtmf_tones_operation import SendDtmfTonesOperation + + return SendDtmfTonesOperation() if mapping_value and mapping_value.casefold() == "#microsoft.graph.sensitiveType".casefold(): from .sensitive_type import SensitiveType @@ -7394,6 +7562,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E from .sequential_activation_renewals_alert_incident import SequentialActivationRenewalsAlertIncident return SequentialActivationRenewalsAlertIncident() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.serviceActivity".casefold(): + from .service_activity import ServiceActivity + + return ServiceActivity() if mapping_value and mapping_value.casefold() == "#microsoft.graph.serviceAnnouncement".casefold(): from .service_announcement import ServiceAnnouncement @@ -8367,10 +8539,18 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E from .virtual_event_registration_configuration import VirtualEventRegistrationConfiguration return VirtualEventRegistrationConfiguration() - if mapping_value and mapping_value.casefold() == "#microsoft.graph.virtualEventRegistrationQuestion".casefold(): - from .virtual_event_registration_question import VirtualEventRegistrationQuestion + if mapping_value and mapping_value.casefold() == "#microsoft.graph.virtualEventRegistrationCustomQuestion".casefold(): + from .virtual_event_registration_custom_question import VirtualEventRegistrationCustomQuestion - return VirtualEventRegistrationQuestion() + return VirtualEventRegistrationCustomQuestion() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.virtualEventRegistrationPredefinedQuestion".casefold(): + from .virtual_event_registration_predefined_question import VirtualEventRegistrationPredefinedQuestion + + return VirtualEventRegistrationPredefinedQuestion() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.virtualEventRegistrationQuestionBase".casefold(): + from .virtual_event_registration_question_base import VirtualEventRegistrationQuestionBase + + return VirtualEventRegistrationQuestionBase() if mapping_value and mapping_value.casefold() == "#microsoft.graph.virtualEventSession".casefold(): from .virtual_event_session import VirtualEventSession @@ -8379,6 +8559,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E from .virtual_events_root import VirtualEventsRoot return VirtualEventsRoot() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.virtualEventTownhall".casefold(): + from .virtual_event_townhall import VirtualEventTownhall + + return VirtualEventTownhall() if mapping_value and mapping_value.casefold() == "#microsoft.graph.virtualEventWebinar".casefold(): from .virtual_event_webinar import VirtualEventWebinar @@ -8387,6 +8571,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E from .virtual_event_webinar_registration_configuration import VirtualEventWebinarRegistrationConfiguration return VirtualEventWebinarRegistrationConfiguration() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.virtualMachineDetails".casefold(): + from .virtual_machine_details import VirtualMachineDetails + + return VirtualMachineDetails() if mapping_value and mapping_value.casefold() == "#microsoft.graph.virtualMachineWithAwsStorageBucketAccessFinding".casefold(): from .virtual_machine_with_aws_storage_bucket_access_finding import VirtualMachineWithAwsStorageBucketAccessFinding @@ -9121,6 +9309,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E from .x509_certificate_authentication_method_configuration import X509CertificateAuthenticationMethodConfiguration return X509CertificateAuthenticationMethodConfiguration() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.x509CertificateCombinationConfiguration".casefold(): + from .x509_certificate_combination_configuration import X509CertificateCombinationConfiguration + + return X509CertificateCombinationConfiguration() if mapping_value and mapping_value.casefold() == "#microsoft.graph.zebraFotaArtifact".casefold(): from .zebra_fota_artifact import ZebraFotaArtifact @@ -9179,6 +9371,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .admin_consent_request_policy import AdminConsentRequestPolicy from .admin_dynamics import AdminDynamics from .admin_forms import AdminForms + from .admin_microsoft365_apps import AdminMicrosoft365Apps from .admin_report_settings import AdminReportSettings from .admin_todo import AdminTodo from .admin_windows import AdminWindows @@ -9402,6 +9595,9 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .call_event import CallEvent from .call_recording import CallRecording from .call_records.call_record import CallRecord + from .call_records.organizer import Organizer + from .call_records.participant import Participant + from .call_records.participant_base import ParticipantBase from .call_records.segment import Segment from .call_records.session import Session from .call_transcript import CallTranscript @@ -9427,6 +9623,9 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .cloud_app_security_profile import CloudAppSecurityProfile from .cloud_pc_audit_event import CloudPcAuditEvent from .cloud_pc_bulk_action import CloudPcBulkAction + from .cloud_pc_bulk_disaster_recovery_failback import CloudPcBulkDisasterRecoveryFailback + from .cloud_pc_bulk_disaster_recovery_failover import CloudPcBulkDisasterRecoveryFailover + from .cloud_pc_bulk_modify_disk_encryption_type import CloudPcBulkModifyDiskEncryptionType from .cloud_pc_bulk_power_off import CloudPcBulkPowerOff from .cloud_pc_bulk_power_on import CloudPcBulkPowerOn from .cloud_pc_bulk_reprovision import CloudPcBulkReprovision @@ -9458,6 +9657,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .comanagement_eligible_device import ComanagementEligibleDevice from .command import Command from .comms_operation import CommsOperation + from .community import Community from .company_subscription import CompanySubscription from .compliance_management_partner import ComplianceManagementPartner from .conditional_access_policy import ConditionalAccessPolicy @@ -9501,6 +9701,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .data_loss_prevention_policy import DataLossPreventionPolicy from .data_policy_operation import DataPolicyOperation from .data_sharing_consent import DataSharingConsent + from .day_note import DayNote from .default_device_compliance_policy import DefaultDeviceCompliancePolicy from .default_managed_app_protection import DefaultManagedAppProtection from .default_user_role_override import DefaultUserRoleOverride @@ -9731,6 +9932,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .endpoint import Endpoint from .end_user_notification import EndUserNotification from .end_user_notification_detail import EndUserNotificationDetail + from .engagement_async_operation import EngagementAsyncOperation from .enrollment_configuration_assignment import EnrollmentConfigurationAssignment from .enrollment_profile import EnrollmentProfile from .enrollment_restrictions_configuration_policy_set_item import EnrollmentRestrictionsConfigurationPolicySetItem @@ -9797,6 +9999,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .gcp_role import GcpRole from .gcp_service_account import GcpServiceAccount from .gcp_user import GcpUser + from .goals import Goals + from .goals_export_job import GoalsExportJob from .governance_insight import GovernanceInsight from .governance_policy_template import GovernancePolicyTemplate from .governance_resource import GovernanceResource @@ -9980,6 +10184,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .login_page import LoginPage from .long_running_operation import LongRunningOperation from .lookup_result_row import LookupResultRow + from .m365_apps_installation_options import M365AppsInstallationOptions from .mac_os_vpp_app import MacOsVppApp from .mac_os_vpp_app_assigned_license import MacOsVppAppAssignedLicense from .mac_o_s_certificate_profile_base import MacOSCertificateProfileBase @@ -10151,11 +10356,17 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .networkaccess.cross_tenant_access_settings import CrossTenantAccessSettings from .networkaccess.device_link import DeviceLink from .networkaccess.enriched_audit_logs import EnrichedAuditLogs + from .networkaccess.filtering_policy import FilteringPolicy + from .networkaccess.filtering_policy_link import FilteringPolicyLink + from .networkaccess.filtering_profile import FilteringProfile + from .networkaccess.filtering_rule import FilteringRule from .networkaccess.forwarding_options import ForwardingOptions from .networkaccess.forwarding_policy import ForwardingPolicy from .networkaccess.forwarding_policy_link import ForwardingPolicyLink from .networkaccess.forwarding_profile import ForwardingProfile from .networkaccess.forwarding_rule import ForwardingRule + from .networkaccess.fqdn_filtering_rule import FqdnFilteringRule + from .networkaccess.internet_access_forwarding_rule import InternetAccessForwardingRule from .networkaccess.logs import Logs from .networkaccess.m365_forwarding_rule import M365ForwardingRule from .networkaccess.network_access_root import NetworkAccessRoot @@ -10164,9 +10375,11 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .networkaccess.policy_rule import PolicyRule from .networkaccess.private_access_forwarding_rule import PrivateAccessForwardingRule from .networkaccess.profile import Profile + from .networkaccess.remote_network_health_event import RemoteNetworkHealthEvent from .networkaccess.reports import Reports from .networkaccess.settings import Settings from .networkaccess.tenant_status import TenantStatus + from .networkaccess.web_category_filtering_rule import WebCategoryFilteringRule from .note import Note from .notebook import Notebook from .notification import Notification @@ -10193,7 +10406,12 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .onenote_resource import OnenoteResource from .onenote_section import OnenoteSection from .online_meeting import OnlineMeeting + from .online_meeting_base import OnlineMeetingBase from .on_attribute_collection_listener import OnAttributeCollectionListener + from .on_attribute_collection_start_custom_extension import OnAttributeCollectionStartCustomExtension + from .on_attribute_collection_start_listener import OnAttributeCollectionStartListener + from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension + from .on_attribute_collection_submit_listener import OnAttributeCollectionSubmitListener from .on_authentication_method_load_start_listener import OnAuthenticationMethodLoadStartListener from .on_interactive_auth_flow_start_listener import OnInteractiveAuthFlowStartListener from .on_premises_agent import OnPremisesAgent @@ -10284,6 +10502,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .platform_credential_authentication_method import PlatformCredentialAuthenticationMethod from .play_prompt_operation import PlayPromptOperation from .policy_base import PolicyBase + from .policy_root import PolicyRoot from .policy_set import PolicySet from .policy_set_assignment import PolicySetAssignment from .policy_set_item import PolicySetItem @@ -10334,6 +10553,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .privilege_escalation_gcp_service_account_finding import PrivilegeEscalationGcpServiceAccountFinding from .privilege_escalation_user_finding import PrivilegeEscalationUserFinding from .privilege_management_elevation import PrivilegeManagementElevation + from .privilege_management_elevation_request import PrivilegeManagementElevationRequest from .profile import Profile from .profile_card_property import ProfileCardProperty from .profile_photo import ProfilePhoto @@ -10412,6 +10632,9 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .security.article import Article from .security.article_indicator import ArticleIndicator from .security.artifact import Artifact + from .security.audit_core_root import AuditCoreRoot + from .security.audit_log_query import AuditLogQuery + from .security.audit_log_record import AuditLogRecord from .security.authority_template import AuthorityTemplate from .security.case import Case from .security.cases_root import CasesRoot @@ -10511,11 +10734,13 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .security_tool_aws_role_administrator_finding import SecurityToolAwsRoleAdministratorFinding from .security_tool_aws_serverless_function_administrator_finding import SecurityToolAwsServerlessFunctionAdministratorFinding from .security_tool_aws_user_administrator_finding import SecurityToolAwsUserAdministratorFinding + from .send_dtmf_tones_operation import SendDtmfTonesOperation from .sensitive_type import SensitiveType from .sensitivity_label import SensitivityLabel from .sensitivity_policy_settings import SensitivityPolicySettings from .sequential_activation_renewals_alert_configuration import SequentialActivationRenewalsAlertConfiguration from .sequential_activation_renewals_alert_incident import SequentialActivationRenewalsAlertIncident + from .service_activity import ServiceActivity from .service_announcement import ServiceAnnouncement from .service_announcement_attachment import ServiceAnnouncementAttachment from .service_announcement_base import ServiceAnnouncementBase @@ -10760,10 +10985,14 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .virtual_event_presenter import VirtualEventPresenter from .virtual_event_registration import VirtualEventRegistration from .virtual_event_registration_configuration import VirtualEventRegistrationConfiguration - from .virtual_event_registration_question import VirtualEventRegistrationQuestion + from .virtual_event_registration_custom_question import VirtualEventRegistrationCustomQuestion + from .virtual_event_registration_predefined_question import VirtualEventRegistrationPredefinedQuestion + from .virtual_event_registration_question_base import VirtualEventRegistrationQuestionBase from .virtual_event_session import VirtualEventSession + from .virtual_event_townhall import VirtualEventTownhall from .virtual_event_webinar import VirtualEventWebinar from .virtual_event_webinar_registration_configuration import VirtualEventWebinarRegistrationConfiguration + from .virtual_machine_details import VirtualMachineDetails from .virtual_machine_with_aws_storage_bucket_access_finding import VirtualMachineWithAwsStorageBucketAccessFinding from .voice_authentication_method_configuration import VoiceAuthenticationMethodConfiguration from .voice_authentication_method_target import VoiceAuthenticationMethodTarget @@ -10947,6 +11176,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .workspace import Workspace from .work_position import WorkPosition from .x509_certificate_authentication_method_configuration import X509CertificateAuthenticationMethodConfiguration + from .x509_certificate_combination_configuration import X509CertificateCombinationConfiguration from .zebra_fota_artifact import ZebraFotaArtifact from .zebra_fota_connector import ZebraFotaConnector from .zebra_fota_deployment import ZebraFotaDeployment @@ -10990,6 +11220,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .admin_consent_request_policy import AdminConsentRequestPolicy from .admin_dynamics import AdminDynamics from .admin_forms import AdminForms + from .admin_microsoft365_apps import AdminMicrosoft365Apps from .admin_report_settings import AdminReportSettings from .admin_todo import AdminTodo from .admin_windows import AdminWindows @@ -11213,6 +11444,9 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .call_event import CallEvent from .call_recording import CallRecording from .call_records.call_record import CallRecord + from .call_records.organizer import Organizer + from .call_records.participant import Participant + from .call_records.participant_base import ParticipantBase from .call_records.segment import Segment from .call_records.session import Session from .call_transcript import CallTranscript @@ -11238,6 +11472,9 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .cloud_app_security_profile import CloudAppSecurityProfile from .cloud_pc_audit_event import CloudPcAuditEvent from .cloud_pc_bulk_action import CloudPcBulkAction + from .cloud_pc_bulk_disaster_recovery_failback import CloudPcBulkDisasterRecoveryFailback + from .cloud_pc_bulk_disaster_recovery_failover import CloudPcBulkDisasterRecoveryFailover + from .cloud_pc_bulk_modify_disk_encryption_type import CloudPcBulkModifyDiskEncryptionType from .cloud_pc_bulk_power_off import CloudPcBulkPowerOff from .cloud_pc_bulk_power_on import CloudPcBulkPowerOn from .cloud_pc_bulk_reprovision import CloudPcBulkReprovision @@ -11269,6 +11506,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .comanagement_eligible_device import ComanagementEligibleDevice from .command import Command from .comms_operation import CommsOperation + from .community import Community from .company_subscription import CompanySubscription from .compliance_management_partner import ComplianceManagementPartner from .conditional_access_policy import ConditionalAccessPolicy @@ -11312,6 +11550,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .data_loss_prevention_policy import DataLossPreventionPolicy from .data_policy_operation import DataPolicyOperation from .data_sharing_consent import DataSharingConsent + from .day_note import DayNote from .default_device_compliance_policy import DefaultDeviceCompliancePolicy from .default_managed_app_protection import DefaultManagedAppProtection from .default_user_role_override import DefaultUserRoleOverride @@ -11542,6 +11781,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .endpoint import Endpoint from .end_user_notification import EndUserNotification from .end_user_notification_detail import EndUserNotificationDetail + from .engagement_async_operation import EngagementAsyncOperation from .enrollment_configuration_assignment import EnrollmentConfigurationAssignment from .enrollment_profile import EnrollmentProfile from .enrollment_restrictions_configuration_policy_set_item import EnrollmentRestrictionsConfigurationPolicySetItem @@ -11608,6 +11848,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .gcp_role import GcpRole from .gcp_service_account import GcpServiceAccount from .gcp_user import GcpUser + from .goals import Goals + from .goals_export_job import GoalsExportJob from .governance_insight import GovernanceInsight from .governance_policy_template import GovernancePolicyTemplate from .governance_resource import GovernanceResource @@ -11791,6 +12033,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .login_page import LoginPage from .long_running_operation import LongRunningOperation from .lookup_result_row import LookupResultRow + from .m365_apps_installation_options import M365AppsInstallationOptions from .mac_os_vpp_app import MacOsVppApp from .mac_os_vpp_app_assigned_license import MacOsVppAppAssignedLicense from .mac_o_s_certificate_profile_base import MacOSCertificateProfileBase @@ -11962,11 +12205,17 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .networkaccess.cross_tenant_access_settings import CrossTenantAccessSettings from .networkaccess.device_link import DeviceLink from .networkaccess.enriched_audit_logs import EnrichedAuditLogs + from .networkaccess.filtering_policy import FilteringPolicy + from .networkaccess.filtering_policy_link import FilteringPolicyLink + from .networkaccess.filtering_profile import FilteringProfile + from .networkaccess.filtering_rule import FilteringRule from .networkaccess.forwarding_options import ForwardingOptions from .networkaccess.forwarding_policy import ForwardingPolicy from .networkaccess.forwarding_policy_link import ForwardingPolicyLink from .networkaccess.forwarding_profile import ForwardingProfile from .networkaccess.forwarding_rule import ForwardingRule + from .networkaccess.fqdn_filtering_rule import FqdnFilteringRule + from .networkaccess.internet_access_forwarding_rule import InternetAccessForwardingRule from .networkaccess.logs import Logs from .networkaccess.m365_forwarding_rule import M365ForwardingRule from .networkaccess.network_access_root import NetworkAccessRoot @@ -11975,9 +12224,11 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .networkaccess.policy_rule import PolicyRule from .networkaccess.private_access_forwarding_rule import PrivateAccessForwardingRule from .networkaccess.profile import Profile + from .networkaccess.remote_network_health_event import RemoteNetworkHealthEvent from .networkaccess.reports import Reports from .networkaccess.settings import Settings from .networkaccess.tenant_status import TenantStatus + from .networkaccess.web_category_filtering_rule import WebCategoryFilteringRule from .note import Note from .notebook import Notebook from .notification import Notification @@ -12004,7 +12255,12 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .onenote_resource import OnenoteResource from .onenote_section import OnenoteSection from .online_meeting import OnlineMeeting + from .online_meeting_base import OnlineMeetingBase from .on_attribute_collection_listener import OnAttributeCollectionListener + from .on_attribute_collection_start_custom_extension import OnAttributeCollectionStartCustomExtension + from .on_attribute_collection_start_listener import OnAttributeCollectionStartListener + from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension + from .on_attribute_collection_submit_listener import OnAttributeCollectionSubmitListener from .on_authentication_method_load_start_listener import OnAuthenticationMethodLoadStartListener from .on_interactive_auth_flow_start_listener import OnInteractiveAuthFlowStartListener from .on_premises_agent import OnPremisesAgent @@ -12095,6 +12351,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .platform_credential_authentication_method import PlatformCredentialAuthenticationMethod from .play_prompt_operation import PlayPromptOperation from .policy_base import PolicyBase + from .policy_root import PolicyRoot from .policy_set import PolicySet from .policy_set_assignment import PolicySetAssignment from .policy_set_item import PolicySetItem @@ -12145,6 +12402,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .privilege_escalation_gcp_service_account_finding import PrivilegeEscalationGcpServiceAccountFinding from .privilege_escalation_user_finding import PrivilegeEscalationUserFinding from .privilege_management_elevation import PrivilegeManagementElevation + from .privilege_management_elevation_request import PrivilegeManagementElevationRequest from .profile import Profile from .profile_card_property import ProfileCardProperty from .profile_photo import ProfilePhoto @@ -12223,6 +12481,9 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .security.article import Article from .security.article_indicator import ArticleIndicator from .security.artifact import Artifact + from .security.audit_core_root import AuditCoreRoot + from .security.audit_log_query import AuditLogQuery + from .security.audit_log_record import AuditLogRecord from .security.authority_template import AuthorityTemplate from .security.case import Case from .security.cases_root import CasesRoot @@ -12322,11 +12583,13 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .security_tool_aws_role_administrator_finding import SecurityToolAwsRoleAdministratorFinding from .security_tool_aws_serverless_function_administrator_finding import SecurityToolAwsServerlessFunctionAdministratorFinding from .security_tool_aws_user_administrator_finding import SecurityToolAwsUserAdministratorFinding + from .send_dtmf_tones_operation import SendDtmfTonesOperation from .sensitive_type import SensitiveType from .sensitivity_label import SensitivityLabel from .sensitivity_policy_settings import SensitivityPolicySettings from .sequential_activation_renewals_alert_configuration import SequentialActivationRenewalsAlertConfiguration from .sequential_activation_renewals_alert_incident import SequentialActivationRenewalsAlertIncident + from .service_activity import ServiceActivity from .service_announcement import ServiceAnnouncement from .service_announcement_attachment import ServiceAnnouncementAttachment from .service_announcement_base import ServiceAnnouncementBase @@ -12571,10 +12834,14 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .virtual_event_presenter import VirtualEventPresenter from .virtual_event_registration import VirtualEventRegistration from .virtual_event_registration_configuration import VirtualEventRegistrationConfiguration - from .virtual_event_registration_question import VirtualEventRegistrationQuestion + from .virtual_event_registration_custom_question import VirtualEventRegistrationCustomQuestion + from .virtual_event_registration_predefined_question import VirtualEventRegistrationPredefinedQuestion + from .virtual_event_registration_question_base import VirtualEventRegistrationQuestionBase from .virtual_event_session import VirtualEventSession + from .virtual_event_townhall import VirtualEventTownhall from .virtual_event_webinar import VirtualEventWebinar from .virtual_event_webinar_registration_configuration import VirtualEventWebinarRegistrationConfiguration + from .virtual_machine_details import VirtualMachineDetails from .virtual_machine_with_aws_storage_bucket_access_finding import VirtualMachineWithAwsStorageBucketAccessFinding from .voice_authentication_method_configuration import VoiceAuthenticationMethodConfiguration from .voice_authentication_method_target import VoiceAuthenticationMethodTarget @@ -12758,6 +13025,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .workspace import Workspace from .work_position import WorkPosition from .x509_certificate_authentication_method_configuration import X509CertificateAuthenticationMethodConfiguration + from .x509_certificate_combination_configuration import X509CertificateCombinationConfiguration from .zebra_fota_artifact import ZebraFotaArtifact from .zebra_fota_connector import ZebraFotaConnector from .zebra_fota_deployment import ZebraFotaDeployment diff --git a/msgraph_beta/generated/models/enumerated_device_registration_membership.py b/msgraph_beta/generated/models/enumerated_device_registration_membership.py new file mode 100644 index 00000000000..cae1cf8e6ea --- /dev/null +++ b/msgraph_beta/generated/models/enumerated_device_registration_membership.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .device_registration_membership import DeviceRegistrationMembership + +from .device_registration_membership import DeviceRegistrationMembership + +@dataclass +class EnumeratedDeviceRegistrationMembership(DeviceRegistrationMembership): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.enumeratedDeviceRegistrationMembership" + # List of groups that this policy applies to. + groups: Optional[List[str]] = None + # List of users that this policy applies to. + users: Optional[List[str]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> EnumeratedDeviceRegistrationMembership: + """ + 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: EnumeratedDeviceRegistrationMembership + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return EnumeratedDeviceRegistrationMembership() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .device_registration_membership import DeviceRegistrationMembership + + from .device_registration_membership import DeviceRegistrationMembership + + fields: Dict[str, Callable[[Any], None]] = { + "groups": lambda n : setattr(self, 'groups', n.get_collection_of_primitive_values(str)), + "users": lambda n : setattr(self, 'users', 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_primitive_values("groups", self.groups) + writer.write_collection_of_primitive_values("users", self.users) + + diff --git a/msgraph_beta/generated/models/enumerated_inbound_ports.py b/msgraph_beta/generated/models/enumerated_inbound_ports.py index 9e074ddca4a..8a08da407a2 100644 --- a/msgraph_beta/generated/models/enumerated_inbound_ports.py +++ b/msgraph_beta/generated/models/enumerated_inbound_ports.py @@ -12,7 +12,7 @@ class EnumeratedInboundPorts(InboundPorts): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.enumeratedInboundPorts" - # The ports property + # Collection of ports that allow inbound traffic. ports: Optional[List[str]] = None @staticmethod diff --git a/msgraph_beta/generated/models/event_message_detail.py b/msgraph_beta/generated/models/event_message_detail.py index 3e65ca47c2c..8d53455d979 100644 --- a/msgraph_beta/generated/models/event_message_detail.py +++ b/msgraph_beta/generated/models/event_message_detail.py @@ -14,6 +14,7 @@ from .channel_description_updated_event_message_detail import ChannelDescriptionUpdatedEventMessageDetail from .channel_renamed_event_message_detail import ChannelRenamedEventMessageDetail from .channel_set_as_favorite_by_default_event_message_detail import ChannelSetAsFavoriteByDefaultEventMessageDetail + from .channel_sharing_updated_event_message_detail import ChannelSharingUpdatedEventMessageDetail from .channel_unset_as_favorite_by_default_event_message_detail import ChannelUnsetAsFavoriteByDefaultEventMessageDetail from .chat_renamed_event_message_detail import ChatRenamedEventMessageDetail from .conversation_member_role_updated_event_message_detail import ConversationMemberRoleUpdatedEventMessageDetail @@ -95,6 +96,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> E from .channel_set_as_favorite_by_default_event_message_detail import ChannelSetAsFavoriteByDefaultEventMessageDetail return ChannelSetAsFavoriteByDefaultEventMessageDetail() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.channelSharingUpdatedEventMessageDetail".casefold(): + from .channel_sharing_updated_event_message_detail import ChannelSharingUpdatedEventMessageDetail + + return ChannelSharingUpdatedEventMessageDetail() if mapping_value and mapping_value.casefold() == "#microsoft.graph.channelUnsetAsFavoriteByDefaultEventMessageDetail".casefold(): from .channel_unset_as_favorite_by_default_event_message_detail import ChannelUnsetAsFavoriteByDefaultEventMessageDetail @@ -195,6 +200,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .channel_description_updated_event_message_detail import ChannelDescriptionUpdatedEventMessageDetail from .channel_renamed_event_message_detail import ChannelRenamedEventMessageDetail from .channel_set_as_favorite_by_default_event_message_detail import ChannelSetAsFavoriteByDefaultEventMessageDetail + from .channel_sharing_updated_event_message_detail import ChannelSharingUpdatedEventMessageDetail from .channel_unset_as_favorite_by_default_event_message_detail import ChannelUnsetAsFavoriteByDefaultEventMessageDetail from .chat_renamed_event_message_detail import ChatRenamedEventMessageDetail from .conversation_member_role_updated_event_message_detail import ConversationMemberRoleUpdatedEventMessageDetail @@ -226,6 +232,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .channel_description_updated_event_message_detail import ChannelDescriptionUpdatedEventMessageDetail from .channel_renamed_event_message_detail import ChannelRenamedEventMessageDetail from .channel_set_as_favorite_by_default_event_message_detail import ChannelSetAsFavoriteByDefaultEventMessageDetail + from .channel_sharing_updated_event_message_detail import ChannelSharingUpdatedEventMessageDetail from .channel_unset_as_favorite_by_default_event_message_detail import ChannelUnsetAsFavoriteByDefaultEventMessageDetail from .chat_renamed_event_message_detail import ChatRenamedEventMessageDetail from .conversation_member_role_updated_event_message_detail import ConversationMemberRoleUpdatedEventMessageDetail diff --git a/msgraph_beta/generated/models/extension_property.py b/msgraph_beta/generated/models/extension_property.py index b5f58068b9e..e8a7e40c5f0 100644 --- a/msgraph_beta/generated/models/extension_property.py +++ b/msgraph_beta/generated/models/extension_property.py @@ -14,9 +14,9 @@ class ExtensionProperty(DirectoryObject): odata_type: Optional[str] = "#microsoft.graph.extensionProperty" # Display name of the application object on which this extension property is defined. Read-only. app_display_name: Optional[str] = None - # Specifies the data type of the value the extension property can hold. Following values are supported. Not nullable. Binary - 256 bytes maximumBooleanDateTime - Must be specified in ISO 8601 format. Will be stored in UTC.Integer - 32-bit value.LargeInteger - 64-bit value.String - 256 characters maximum + # Specifies the data type of the value the extension property can hold. Following values are supported. Binary - 256 bytes maximumBooleanDateTime - Must be specified in ISO 8601 format. Will be stored in UTC.Integer - 32-bit value.LargeInteger - 64-bit value.String - 256 characters maximumNot nullable. For multivalued directory extensions, these limits apply per value in the collection. data_type: Optional[str] = None - # Defines the directory extension as a multi-valued property. When true, the directory extension property can store a collection of objects of the dataType; for example, a collection of integers. The default value is false. + # Defines the directory extension as a multi-valued property. When true, the directory extension property can store a collection of objects of the dataType; for example, a collection of string types such as 'extensionb7b1c57b532f40b8b5ed4b7a7ba67401jobGroupTracker': ['String 1', 'String 2']. The default value is false. Supports $filter (eq). is_multi_valued: Optional[bool] = None # Indicates if this extension property was synced from on-premises active directory using Microsoft Entra Connect. Read-only. is_synced_from_on_premises: Optional[bool] = None diff --git a/msgraph_beta/generated/models/external_connectors/external.py b/msgraph_beta/generated/models/external_connectors/external.py index b9b618ec91c..49f494826a4 100644 --- a/msgraph_beta/generated/models/external_connectors/external.py +++ b/msgraph_beta/generated/models/external_connectors/external.py @@ -16,7 +16,7 @@ class External(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 authorizationSystems property + # Represents an onboarded AWS account, Azure subscription, or GCP project that Microsoft Entra Permissions Management will collect and analyze permissions and actions on. authorization_systems: Optional[List[AuthorizationSystem]] = None # The connections property connections: Optional[List[ExternalConnection]] = None diff --git a/msgraph_beta/generated/models/external_users_self_service_sign_up_events_flow.py b/msgraph_beta/generated/models/external_users_self_service_sign_up_events_flow.py index c0ca423e5b6..a180d0a1222 100644 --- a/msgraph_beta/generated/models/external_users_self_service_sign_up_events_flow.py +++ b/msgraph_beta/generated/models/external_users_self_service_sign_up_events_flow.py @@ -6,6 +6,8 @@ if TYPE_CHECKING: from .authentication_events_flow import AuthenticationEventsFlow from .on_attribute_collection_handler import OnAttributeCollectionHandler + from .on_attribute_collection_start_handler import OnAttributeCollectionStartHandler + from .on_attribute_collection_submit_handler import OnAttributeCollectionSubmitHandler from .on_authentication_method_load_start_handler import OnAuthenticationMethodLoadStartHandler from .on_interactive_auth_flow_start_handler import OnInteractiveAuthFlowStartHandler from .on_user_create_start_handler import OnUserCreateStartHandler @@ -18,6 +20,10 @@ class ExternalUsersSelfServiceSignUpEventsFlow(AuthenticationEventsFlow): odata_type: Optional[str] = "#microsoft.graph.externalUsersSelfServiceSignUpEventsFlow" # The configuration for what to invoke when attributes are ready to be collected from the user. on_attribute_collection: Optional[OnAttributeCollectionHandler] = None + # The configuration for what to invoke when attribution collection has started. + on_attribute_collection_start: Optional[OnAttributeCollectionStartHandler] = None + # The configuration for what to invoke when attributes have been submitted at the end of attribution collection. + on_attribute_collection_submit: Optional[OnAttributeCollectionSubmitHandler] = None # Required. The configuration for what to invoke when authentication methods are ready to be presented to the user. Must have at least one identity provider linked. on_authentication_method_load_start: Optional[OnAuthenticationMethodLoadStartHandler] = None # Required. The configuration for what to invoke when an authentication flow is ready to be initiated. @@ -43,18 +49,24 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ from .authentication_events_flow import AuthenticationEventsFlow from .on_attribute_collection_handler import OnAttributeCollectionHandler + from .on_attribute_collection_start_handler import OnAttributeCollectionStartHandler + from .on_attribute_collection_submit_handler import OnAttributeCollectionSubmitHandler from .on_authentication_method_load_start_handler import OnAuthenticationMethodLoadStartHandler from .on_interactive_auth_flow_start_handler import OnInteractiveAuthFlowStartHandler from .on_user_create_start_handler import OnUserCreateStartHandler from .authentication_events_flow import AuthenticationEventsFlow from .on_attribute_collection_handler import OnAttributeCollectionHandler + from .on_attribute_collection_start_handler import OnAttributeCollectionStartHandler + from .on_attribute_collection_submit_handler import OnAttributeCollectionSubmitHandler from .on_authentication_method_load_start_handler import OnAuthenticationMethodLoadStartHandler from .on_interactive_auth_flow_start_handler import OnInteractiveAuthFlowStartHandler from .on_user_create_start_handler import OnUserCreateStartHandler fields: Dict[str, Callable[[Any], None]] = { "onAttributeCollection": lambda n : setattr(self, 'on_attribute_collection', n.get_object_value(OnAttributeCollectionHandler)), + "onAttributeCollectionStart": lambda n : setattr(self, 'on_attribute_collection_start', n.get_object_value(OnAttributeCollectionStartHandler)), + "onAttributeCollectionSubmit": lambda n : setattr(self, 'on_attribute_collection_submit', n.get_object_value(OnAttributeCollectionSubmitHandler)), "onAuthenticationMethodLoadStart": lambda n : setattr(self, 'on_authentication_method_load_start', n.get_object_value(OnAuthenticationMethodLoadStartHandler)), "onInteractiveAuthFlowStart": lambda n : setattr(self, 'on_interactive_auth_flow_start', n.get_object_value(OnInteractiveAuthFlowStartHandler)), "onUserCreateStart": lambda n : setattr(self, 'on_user_create_start', n.get_object_value(OnUserCreateStartHandler)), @@ -73,6 +85,8 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") super().serialize(writer) writer.write_object_value("onAttributeCollection", self.on_attribute_collection) + writer.write_object_value("onAttributeCollectionStart", self.on_attribute_collection_start) + writer.write_object_value("onAttributeCollectionSubmit", self.on_attribute_collection_submit) writer.write_object_value("onAuthenticationMethodLoadStart", self.on_authentication_method_load_start) writer.write_object_value("onInteractiveAuthFlowStart", self.on_interactive_auth_flow_start) writer.write_object_value("onUserCreateStart", self.on_user_create_start) diff --git a/msgraph_beta/generated/models/finding.py b/msgraph_beta/generated/models/finding.py index bf1e88f1c7f..39d72fcf067 100644 --- a/msgraph_beta/generated/models/finding.py +++ b/msgraph_beta/generated/models/finding.py @@ -60,7 +60,7 @@ @dataclass class Finding(Entity): - # The createdDateTime property + # Defines when the finding was created. created_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/gcp_action_permissions_definition_action.py b/msgraph_beta/generated/models/gcp_action_permissions_definition_action.py index 1a2ff4dfd22..44194149fec 100644 --- a/msgraph_beta/generated/models/gcp_action_permissions_definition_action.py +++ b/msgraph_beta/generated/models/gcp_action_permissions_definition_action.py @@ -12,7 +12,7 @@ class GcpActionPermissionsDefinitionAction(GcpPermissionsDefinitionAction): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.gcpActionPermissionsDefinitionAction" - # The actions property + # List of actions. actions: Optional[List[str]] = None @staticmethod diff --git a/msgraph_beta/generated/models/gcp_authorization_system.py b/msgraph_beta/generated/models/gcp_authorization_system.py index e7e7b83b37b..124e770719e 100644 --- a/msgraph_beta/generated/models/gcp_authorization_system.py +++ b/msgraph_beta/generated/models/gcp_authorization_system.py @@ -17,15 +17,15 @@ class GcpAuthorizationSystem(AuthorizationSystem): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.gcpAuthorizationSystem" - # The actions property + # List of actions for service in authorization system. actions: Optional[List[GcpAuthorizationSystemTypeAction]] = None - # The associatedIdentities property + # Identities in the authorization system. associated_identities: Optional[GcpAssociatedIdentities] = None - # The resources property + # Resources associated with the authorization system type. resources: Optional[List[GcpAuthorizationSystemResource]] = None - # The roles property + # Roles associated with the authorization system type. roles: Optional[List[GcpRole]] = None - # The services property + # Services associated with the authorization system type. services: Optional[List[AuthorizationSystemTypeService]] = None @staticmethod diff --git a/msgraph_beta/generated/models/gcp_authorization_system_resource.py b/msgraph_beta/generated/models/gcp_authorization_system_resource.py index a28ab383024..0289df73fd5 100644 --- a/msgraph_beta/generated/models/gcp_authorization_system_resource.py +++ b/msgraph_beta/generated/models/gcp_authorization_system_resource.py @@ -13,7 +13,7 @@ class GcpAuthorizationSystemResource(AuthorizationSystemResource): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.gcpAuthorizationSystemResource" - # The service property + # The service associated with the resource in an GCP authorization system. This object is auto-expanded. service: Optional[AuthorizationSystemTypeService] = None @staticmethod diff --git a/msgraph_beta/generated/models/gcp_cloud_function.py b/msgraph_beta/generated/models/gcp_cloud_function.py index d009847e10f..4aa78b636b2 100644 --- a/msgraph_beta/generated/models/gcp_cloud_function.py +++ b/msgraph_beta/generated/models/gcp_cloud_function.py @@ -13,7 +13,7 @@ class GcpCloudFunction(GcpIdentity): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.gcpCloudFunction" - # The resource property + # Represents the resources in an authorization system.. resource: Optional[GcpAuthorizationSystemResource] = None @staticmethod diff --git a/msgraph_beta/generated/models/gcp_role.py b/msgraph_beta/generated/models/gcp_role.py index bdf07f2a861..dc4b670d02b 100644 --- a/msgraph_beta/generated/models/gcp_role.py +++ b/msgraph_beta/generated/models/gcp_role.py @@ -12,15 +12,15 @@ @dataclass class GcpRole(Entity): - # The displayName property + # The name of the GCP role. Supports $filter and (eq,contains). display_name: Optional[str] = None - # The externalId property + # The ID of the GCP role as defined by GCP. Alternate key. external_id: Optional[str] = None # The gcpRoleType property gcp_role_type: Optional[GcpRoleType] = None # The OdataType property odata_type: Optional[str] = None - # The scopes property + # Resources that an identity assigned this GCP role can perform actions on. Supports $filter and (eq). scopes: Optional[List[GcpScope]] = None @staticmethod diff --git a/msgraph_beta/generated/models/gcp_scope.py b/msgraph_beta/generated/models/gcp_scope.py index 69ad5fde412..37baba0c76b 100644 --- a/msgraph_beta/generated/models/gcp_scope.py +++ b/msgraph_beta/generated/models/gcp_scope.py @@ -16,7 +16,7 @@ class GcpScope(AdditionalDataHolder, BackedModel, Parsable): additional_data: Dict[str, Any] = field(default_factory=dict) # The OdataType property odata_type: Optional[str] = None - # The resourceType property + # Type of GCP resource. resource_type: Optional[str] = None # The service property service: Optional[AuthorizationSystemTypeService] = None diff --git a/msgraph_beta/generated/models/goals.py b/msgraph_beta/generated/models/goals.py new file mode 100644 index 00000000000..3ab1bc75ddb --- /dev/null +++ b/msgraph_beta/generated/models/goals.py @@ -0,0 +1,59 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .entity import Entity + from .goals_export_job import GoalsExportJob + +from .entity import Entity + +@dataclass +class Goals(Entity): + # Represents a collection of goals export jobs for Viva Goals. + export_jobs: Optional[List[GoalsExportJob]] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> Goals: + """ + 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: Goals + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return Goals() + + 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 .goals_export_job import GoalsExportJob + + from .entity import Entity + from .goals_export_job import GoalsExportJob + + fields: Dict[str, Callable[[Any], None]] = { + "exportJobs": lambda n : setattr(self, 'export_jobs', n.get_collection_of_object_values(GoalsExportJob)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("exportJobs", self.export_jobs) + + diff --git a/msgraph_beta/generated/models/goals_export_job.py b/msgraph_beta/generated/models/goals_export_job.py new file mode 100644 index 00000000000..8cff1adc60a --- /dev/null +++ b/msgraph_beta/generated/models/goals_export_job.py @@ -0,0 +1,69 @@ +from __future__ import annotations +import datetime +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .long_running_operation import LongRunningOperation + +from .long_running_operation import LongRunningOperation + +@dataclass +class GoalsExportJob(LongRunningOperation): + # The content of the goalsExportJob. + content: Optional[bytes] = None + # The date and time of expiry of the result of the operation. + expiration_date_time: Optional[datetime.datetime] = None + # The unique identifier of the explorer view to be exported. + explorer_view_id: Optional[str] = None + # The unique identifier of the viva goals organization. + goals_organization_id: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> GoalsExportJob: + """ + 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: GoalsExportJob + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return GoalsExportJob() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .long_running_operation import LongRunningOperation + + from .long_running_operation import LongRunningOperation + + fields: Dict[str, Callable[[Any], None]] = { + "content": lambda n : setattr(self, 'content', n.get_bytes_value()), + "expirationDateTime": lambda n : setattr(self, 'expiration_date_time', n.get_datetime_value()), + "explorerViewId": lambda n : setattr(self, 'explorer_view_id', n.get_str_value()), + "goalsOrganizationId": lambda n : setattr(self, 'goals_organization_id', 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_bytes_value("content", self.content) + writer.write_datetime_value("expirationDateTime", self.expiration_date_time) + writer.write_str_value("explorerViewId", self.explorer_view_id) + writer.write_str_value("goalsOrganizationId", self.goals_organization_id) + + diff --git a/msgraph_beta/generated/models/goals_export_job_collection_response.py b/msgraph_beta/generated/models/goals_export_job_collection_response.py new file mode 100644 index 00000000000..0359ddf8435 --- /dev/null +++ b/msgraph_beta/generated/models/goals_export_job_collection_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .goals_export_job import GoalsExportJob + +from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class GoalsExportJobCollectionResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[GoalsExportJob]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> GoalsExportJobCollectionResponse: + """ + 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: GoalsExportJobCollectionResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return GoalsExportJobCollectionResponse() + + 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 .goals_export_job import GoalsExportJob + + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .goals_export_job import GoalsExportJob + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(GoalsExportJob)), + } + 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 not writer: + 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/group.py b/msgraph_beta/generated/models/group.py index c4705d7563d..4590fb68f13 100644 --- a/msgraph_beta/generated/models/group.py +++ b/msgraph_beta/generated/models/group.py @@ -37,11 +37,11 @@ class Group(DirectoryObject): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.group" - # The list of users or groups that are allowed to create post's or calendar events in this group. If this list is non-empty then only users or groups listed here are allowed to post. + # The list of users or groups allowed to create posts or calendar events in this group. If this list is non-empty, then only users or groups listed here can post. accepted_senders: Optional[List[DirectoryObject]] = None # The accessType property access_type: Optional[GroupAccessType] = None - # Indicates if people external to the organization can send messages to the group. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + # Indicates if people external to the organization can send messages to the group. The default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). allow_external_senders: Optional[bool] = None # Represents the app roles a group has been granted for an application. Supports $expand. app_role_assignments: Optional[List[AppRoleAssignment]] = None @@ -49,7 +49,7 @@ class Group(DirectoryObject): assigned_labels: Optional[List[AssignedLabel]] = None # The licenses that are assigned to the group. Returned only on $select. Supports $filter (eq). Read-only. assigned_licenses: Optional[List[AssignedLicense]] = None - # Indicates if new members added to the group will be auto-subscribed to receive email notifications. You can set this property in a PATCH request for the group; do not set it in the initial POST request that creates the group. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + # Indicates if new members added to the group are auto-subscribed to receive email notifications. You can set this property in a PATCH request for the group; don't set it in the initial POST request that creates the group. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). auto_subscribe_new_members: Optional[bool] = None # The group's calendar. Read-only. calendar: Optional[Calendar] = None @@ -61,9 +61,9 @@ class Group(DirectoryObject): conversations: Optional[List[Conversation]] = None # App ID of the app used to create the group. Can be null for some groups. Returned by default. Read-only. Supports $filter (eq, ne, not, in, startsWith). created_by_app_id: Optional[str] = None - # Timestamp of when the group was created. The value cannot be modified and is automatically populated when the group is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Read-only. + # Timestamp of when the group was created. The value can't be modified and is automatically populated when the group is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Read-only. created_date_time: Optional[datetime.datetime] = None - # The user (or application) that created the group. Note: This is not set if the user is an administrator. Read-only. + # The user (or application) that created the group. Note: This isn't set if the user is an administrator. Read-only. created_on_behalf_of: Optional[DirectoryObject] = None # An optional description for the group. Returned by default. Supports $filter (eq, ne, not, ge, le, startsWith) and $search. description: Optional[str] = None @@ -77,33 +77,33 @@ class Group(DirectoryObject): endpoints: Optional[List[Endpoint]] = None # The group's events. events: Optional[List[Event]] = None - # Timestamp of when the group is set to expire. Is null for security groups but for Microsoft 365 groups, it represents when the group is set to expire as defined in the groupLifecyclePolicy. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. + # Timestamp of when the group is set to expire. It is null for security groups, but for Microsoft 365 groups, it represents when the group is set to expire as defined in the groupLifecyclePolicy. 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. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. expiration_date_time: Optional[datetime.datetime] = None # The collection of open extensions defined for the group. Read-only. Nullable. extensions: Optional[List[Extension]] = None # The collection of lifecycle policies for this group. Read-only. Nullable. group_lifecycle_policies: Optional[List[GroupLifecyclePolicy]] = None - # Specifies the group type and its membership. If the collection contains Unified, the group is a Microsoft 365 group; otherwise, it's either a security group or distribution group. For details, see groups overview.If the collection includes DynamicMembership, the group has dynamic membership; otherwise, membership is static. Returned by default. Supports $filter (eq, not). + # Specifies the group type and its membership. If the collection contains Unified, the group is a Microsoft 365 group; otherwise, it's either a security group or a distribution group. For details, see groups overview.If the collection includes DynamicMembership, the group has dynamic membership; otherwise, membership is static. Returned by default. Supports $filter (eq, not). group_types: Optional[List[str]] = None # Indicates whether there are members in this group that have license errors from its group-based license assignment. This property is never returned on a GET operation. You can use it as a $filter argument to get groups that have members with license errors (that is, filter for this property being true). Supports $filter (eq). has_members_with_license_errors: Optional[bool] = None - # true if the group is not displayed in certain parts of the Outlook user interface: in the Address Book, in address lists for selecting message recipients, and in the Browse Groups dialog for searching groups; false otherwise. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + # true if the group isn't displayed in certain parts of the Outlook user interface: in the Address Book, in address lists for selecting message recipients, and in the Browse Groups dialog for searching groups; false otherwise. The default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). hide_from_address_lists: Optional[bool] = None - # true if the group is not displayed in Outlook clients, such as Outlook for Windows and Outlook on the web, false otherwise. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + # true if the group isn't displayed in Outlook clients, such as Outlook for Windows and Outlook on the web, false otherwise. The default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). hide_from_outlook_clients: Optional[bool] = None # Identifies the info segments assigned to the group. Returned by default. Supports $filter (eq, not, ge, le, startsWith). info_catalogs: Optional[List[str]] = None # When a group is associated with a team, this property determines whether the team is in read-only mode. To read this property, use the /group/{groupId}/team endpoint or the Get team API. To update this property, use the archiveTeam and unarchiveTeam APIs. is_archived: Optional[bool] = None - # Indicates whether this group can be assigned to a Microsoft Entra role. Optional. This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true, visibility must be Hidden, and the group cannot be a dynamic group (that is, groupTypes cannot contain DynamicMembership). Only callers in Global Administrator and Privileged Role Administrator roles can set this property. The caller must also be assigned the RoleManagement.ReadWrite.Directory permission to set this property or update the membership of such groups. For more, see Using a group to manage Microsoft Entra role assignmentsUsing this feature requires a Microsoft Entra ID P1 license. Returned by default. Supports $filter (eq, ne, not). + # Indicates whether this group can be assigned to a Microsoft Entra role. Optional. This property can only be set while creating the group and is immutable. If set to true, the securityEnabled property must also be set to true, visibility must be Hidden, and the group cannot be a dynamic group (that is, groupTypes can't contain DynamicMembership). Only callers in Global Administrator and Privileged Role Administrator roles can set this property. The caller must also be assigned the RoleManagement.ReadWrite.Directory permission to set this property or update the membership of such groups. For more, see Using a group to manage Microsoft Entra role assignmentsUsing this feature requires a Microsoft Entra ID P1 license. Returned by default. Supports $filter (eq, ne, not). is_assignable_to_role: Optional[bool] = None # The isFavorite property is_favorite: Optional[bool] = None - # Indicates whether the group is a member of a restricted management administrative unit, in which case it requires a role scoped to the restricted administrative unit to manage. Default value is false. Read-only. To manage a group that's a member of a restricted administrative unit, the calling app must be assigned the Directory.Write.Restricted permission. For delegated scenarios, the administrators must also be explicitly assigned supported roles at the restricted administrative unit scope. + # Indicates whether the group is a member of a restricted management administrative unit, in which case it requires a role scoped to the restricted administrative unit to manage. The default value is false. Read-only. To manage a group member of a restricted administrative unit, the calling app must be assigned the Directory.Write.Restricted permission. For delegated scenarios, the administrators must also be explicitly assigned supported roles at the restricted administrative unit scope. is_management_restricted: Optional[bool] = None - # Indicates whether the signed-in user is subscribed to receive email conversations. Default value is true. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). + # Indicates whether the signed-in user is subscribed to receive email conversations. The default value is true. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). is_subscribed_by_mail: Optional[bool] = None - # Indicates status of the group license assignment to all members of the group. Possible values: QueuedForProcessing, ProcessingInProgress, and ProcessingComplete. Returned only on $select. Read-only. + # Indicates the status of the group license assignment to all group members. Possible values: QueuedForProcessing, ProcessingInProgress, and ProcessingComplete. Returned only on $select. Read-only. license_processing_state: Optional[LicenseProcessingState] = None # The SMTP address for the group, for example, 'serviceadmins@contoso.onmicrosoft.com'. Returned by default. Read-only. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). mail: Optional[str] = None @@ -113,7 +113,7 @@ class Group(DirectoryObject): mail_nickname: Optional[str] = None # Groups and administrative units that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. Supports $expand. member_of: Optional[List[DirectoryObject]] = None - # Direct members of this group, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName). + # Direct group members, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName). members: Optional[List[DirectoryObject]] = None # A list of group members with license errors from this group-based license assignment. Read-only. members_with_license_errors: Optional[List[DirectoryObject]] = None @@ -121,19 +121,19 @@ class Group(DirectoryObject): membership_rule: Optional[str] = None # Indicates whether the dynamic membership processing is on or paused. Possible values are On or Paused. Returned by default. Supports $filter (eq, ne, not, in). membership_rule_processing_state: Optional[str] = None - # Describes the processing status for rules-based dynamic groups. The property is null for non-rule based dynamic groups or if the dynamic group processing has been paused. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). Read-only. + # Describes the processing status for rules-based dynamic groups. The property is null for non-rule-based dynamic groups or if the dynamic group processing has been paused. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). Read-only. membership_rule_processing_status: Optional[MembershipRuleProcessingStatus] = None - # Contains the on-premises domain FQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect.Returned by default. Read-only. + # Contains the on-premises domain FQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect.Returned by default. Read-only. on_premises_domain_name: Optional[str] = None - # Indicates the last time at which the group was synced with the on-premises directory.The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Read-only. Supports $filter (eq, ne, not, ge, le, in). + # Indicates the last time at which the group was synced with the on-premises directory.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. Returned by default. Read-only. Supports $filter (eq, ne, not, ge, le, in). on_premises_last_sync_date_time: Optional[datetime.datetime] = None - # Contains the on-premises netBios name synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect.Returned by default. Read-only. + # Contains the on-premises netBios name synchronized from the on-premises directory. The property is only populated for customers synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect.Returned by default. Read-only. on_premises_net_bios_name: Optional[str] = None # Errors when using Microsoft synchronization product during provisioning. Returned by default. Supports $filter (eq, not). on_premises_provisioning_errors: Optional[List[OnPremisesProvisioningError]] = None - # Contains the on-premises SAM account name synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect.Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith). Read-only. + # Contains the on-premises SAM account name synchronized from the on-premises directory. The property is only populated for customers synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect.Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith). Read-only. on_premises_sam_account_name: Optional[str] = None - # Contains the on-premises security identifier (SID) for the group that was synchronized from on-premises to the cloud. Returned by default. Supports $filter (eq including on null values). Read-only. + # Contains the on-premises security identifier (SID) for the group synchronized from on-premises to the cloud. Returned by default. Supports $filter (eq including on null values). Read-only. on_premises_security_identifier: Optional[str] = None # true if this group is synced from an on-premises directory; false if this group was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Returned by default. Read-only. Supports $filter (eq, ne, not, in, and eq on null values). on_premises_sync_enabled: Optional[bool] = None @@ -141,9 +141,9 @@ class Group(DirectoryObject): onenote: Optional[Onenote] = None # The organizationId property organization_id: Optional[str] = None - # The owners of the group who can be users or service principals. Nullable. If this property is not specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1); Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). + # The owners of the group who can be users or service principals. Nullable. If this property isn't specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1); Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). owners: Optional[List[DirectoryObject]] = None - # The permissions that have been granted for a group to a specific application. Supports $expand. + # The permissions granted for a group to a specific application. Supports $expand. permission_grants: Optional[List[ResourceSpecificPermissionGrant]] = None # The group's profile photo. photo: Optional[ProfilePhoto] = None @@ -151,25 +151,25 @@ class Group(DirectoryObject): photos: Optional[List[ProfilePhoto]] = None # Selective Planner services available to the group. Read-only. Nullable. planner: Optional[PlannerGroup] = None - # The preferred data location for the Microsoft 365 group. By default, the group inherits the group creator's preferred data location. To set this property, the calling app must be granted the Directory.ReadWrite.All permission and the user be assigned one of the following Microsoft Entra roles: Global Administrator User Account Administrator Directory Writer Exchange Administrator SharePoint Administrator For more information about this property, see OneDrive Online Multi-Geo and and Create a Microsoft 365 group with a specific PDL. Nullable. Returned by default. + # The preferred data location for the Microsoft 365 group. By default, the group inherits the group creator's preferred data location. To set this property, the calling app must be granted the Directory.ReadWrite.All permission and the user be assigned one of the following Microsoft Entra roles: Global Administrator User Account Administrator Directory Writer Exchange Administrator SharePoint Administrator For more information about this property, see OneDrive Online Multi-Geo and Create a Microsoft 365 group with a specific PDL. Nullable. Returned by default. preferred_data_location: Optional[str] = None - # The preferred language for a Microsoft 365 group. Should follow ISO 639-1 Code; for example en-US. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + # The preferred language for a Microsoft 365 group. Should follow ISO 639-1 Code; for example, en-US. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). preferred_language: Optional[str] = None # Email addresses for the group that direct to the same group mailbox. For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com']. The any operator is required for filter expressions on multi-valued properties. Returned by default. Read-only. Not nullable. Supports $filter (eq, not, ge, le, startsWith, endsWith, /$count eq 0, /$count ne 0). proxy_addresses: Optional[List[str]] = None - # The list of users or groups that are not allowed to create posts or calendar events in this group. Nullable + # The list of users or groups not allowed to create posts or calendar events in this group. Nullable rejected_senders: Optional[List[DirectoryObject]] = None - # Timestamp of when the group was last renewed. This cannot be modified directly and is only updated via the renew service action. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. + # Timestamp of when the group was last renewed. This cannot be modified directly and is only updated via the renew service action. 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. Returned by default. Supports $filter (eq, ne, not, ge, le, in). Read-only. renewed_date_time: Optional[datetime.datetime] = None # Specifies the group behaviors that can be set for a Microsoft 365 group during creation. This can be set only as part of creation (POST). Possible values are AllowOnlyMembersToPost, HideGroupInOutlook, SubscribeNewGroupMembers, WelcomeEmailDisabled. For more information, see Set Microsoft 365 group behaviors and provisioning options. resource_behavior_options: Optional[List[str]] = None - # Specifies the group resources that are provisioned as part of Microsoft 365 group creation, that are not normally part of default group creation. Possible value is Team. For more information, see Set Microsoft 365 group behaviors and provisioning options. Returned by default. Supports $filter (eq, not, startsWith. + # Specifies the group resources that are provisioned as part of Microsoft 365 group creation that isn't normally part of default group creation. The possible value is Team. For more information, see Set Microsoft 365 group behaviors and provisioning options. Returned by default. Supports $filter (eq, not, startsWith. resource_provisioning_options: Optional[List[str]] = None # Specifies whether the group is a security group. Required.Returned by default. Supports $filter (eq, ne, not, in). security_enabled: Optional[bool] = None # Security identifier of the group, used in Windows scenarios. Returned by default. security_identifier: Optional[str] = None - # Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + # Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. service_provisioning_errors: Optional[List[ServiceProvisioningError]] = None # Settings that can govern this group's behavior, like whether members can invite guest users to the group. Nullable. settings: Optional[List[DirectorySetting]] = None @@ -181,21 +181,21 @@ class Group(DirectoryObject): theme: Optional[str] = None # The group's conversation threads. Nullable. threads: Optional[List[ConversationThread]] = None - # The groups that a group is a member of, either directly and through nested membership. Nullable. + # The groups a group is a member of, either directly or through nested membership. Nullable. transitive_member_of: Optional[List[DirectoryObject]] = None # The direct and transitive members of a group. Nullable. transitive_members: Optional[List[DirectoryObject]] = None # The uniqueName property unique_name: Optional[str] = None - # Count of conversations that have been delivered one or more new posts since the signed-in user's last visit to the group. This property is the same as unseenCount. Returned only on $select. + # Count of conversations delivered one or more new posts since the signed-in user's last visit to the group. This property is the same as unseenCount. Returned only on $select. unseen_conversations_count: Optional[int] = None # Count of conversations that have received new posts since the signed-in user last visited the group. This property is the same as unseenConversationsCount.Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). unseen_count: Optional[int] = None # Count of new posts that have been delivered to the group's conversations since the signed-in user's last visit to the group. Returned only on $select. unseen_messages_count: Optional[int] = None - # Specifies the group join policy and group content visibility for groups. Possible values are: Private, Public, or HiddenMembership. HiddenMembership can be set only for Microsoft 365 groups, when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value is not specified during group creation on Microsoft Graph, a security group is created as Private by default and Microsoft 365 group is Public. Groups assignable to roles are always Private. To learn more, see group visibility options. Returned by default. Nullable. + # Specifies the group join policy and group content visibility for groups. Possible values are: Private, Public, or HiddenMembership. HiddenMembership can be set only for Microsoft 365 groups when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value isn't specified during group creation on Microsoft Graph, a security group is created as Private by default, and Microsoft 365 group is Public. Groups assignable to roles are always Private. To learn more, see group visibility options. Returned by default. Nullable. visibility: Optional[str] = None - # Specifies whether or not a group is configured to write back group object properties to on-premise Active Directory. These properties are used when group writeback is configured in the Microsoft Entra Connect sync client. + # Specifies whether or not a group is configured to write back group object properties to on-premises Active Directory. These properties are used when group writeback is configured in the Microsoft Entra Connect sync client. writeback_configuration: Optional[GroupWritebackConfiguration] = None @staticmethod diff --git a/msgraph_beta/generated/models/group_filter.py b/msgraph_beta/generated/models/group_filter.py index c91d8d31e79..f9944cd8250 100644 --- a/msgraph_beta/generated/models/group_filter.py +++ b/msgraph_beta/generated/models/group_filter.py @@ -11,7 +11,7 @@ class GroupFilter(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 includedGroups property + # Identifiers of groups that are in scope for a synchronization rule. For Active Directory groups, use the distinguished names. An empty list means no group filtering is configured. included_groups: Optional[List[str]] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/gsuite_source.py b/msgraph_beta/generated/models/gsuite_source.py index d5e0612a48f..a421ec46c83 100644 --- a/msgraph_beta/generated/models/gsuite_source.py +++ b/msgraph_beta/generated/models/gsuite_source.py @@ -12,7 +12,7 @@ class GsuiteSource(AuthorizationSystemIdentitySource): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.gsuiteSource" - # The domain property + # Domain name domain: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/horizontal_section_collection_response.py b/msgraph_beta/generated/models/horizontal_section_collection_response.py new file mode 100644 index 00000000000..53f28af6da1 --- /dev/null +++ b/msgraph_beta/generated/models/horizontal_section_collection_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .horizontal_section import HorizontalSection + +from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class HorizontalSectionCollectionResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[HorizontalSection]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> HorizontalSectionCollectionResponse: + """ + 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: HorizontalSectionCollectionResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return HorizontalSectionCollectionResponse() + + 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 .horizontal_section import HorizontalSection + + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .horizontal_section import HorizontalSection + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(HorizontalSection)), + } + 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 not writer: + 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/horizontal_section_column_collection_response.py b/msgraph_beta/generated/models/horizontal_section_column_collection_response.py new file mode 100644 index 00000000000..6496fbf973a --- /dev/null +++ b/msgraph_beta/generated/models/horizontal_section_column_collection_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .horizontal_section_column import HorizontalSectionColumn + +from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class HorizontalSectionColumnCollectionResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[HorizontalSectionColumn]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> HorizontalSectionColumnCollectionResponse: + """ + 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: HorizontalSectionColumnCollectionResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return HorizontalSectionColumnCollectionResponse() + + 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 .horizontal_section_column import HorizontalSectionColumn + + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .horizontal_section_column import HorizontalSectionColumn + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(HorizontalSectionColumn)), + } + 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 not writer: + 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.py b/msgraph_beta/generated/models/identity.py index f515162d64b..fa0e5a525a5 100644 --- a/msgraph_beta/generated/models/identity.py +++ b/msgraph_beta/generated/models/identity.py @@ -7,6 +7,7 @@ if TYPE_CHECKING: from .audit_user_identity import AuditUserIdentity from .azure_communication_services_user_identity import AzureCommunicationServicesUserIdentity + from .call_records.user_identity import UserIdentity from .communications_application_identity import CommunicationsApplicationIdentity from .communications_application_instance_identity import CommunicationsApplicationInstanceIdentity from .communications_encrypted_identity import CommunicationsEncryptedIdentity @@ -35,9 +36,9 @@ class Identity(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 display name of the identity. This might not always be available or up to date. For example, if a user changes their display name, the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. + # The display name of the identity. The display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. display_name: Optional[str] = None - # Unique identifier for the identity. + # Unique identifier for the identity. When the unique identifier is unavailable, the displayName property is provided for the identity, but the id property isn't included in the response. id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None @@ -63,6 +64,11 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> I from .azure_communication_services_user_identity import AzureCommunicationServicesUserIdentity return AzureCommunicationServicesUserIdentity() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.callRecords.userIdentity".casefold(): + from .call_records.user_identity import UserIdentity + from .user_identity import UserIdentity + + return UserIdentity() if mapping_value and mapping_value.casefold() == "#microsoft.graph.communicationsApplicationIdentity".casefold(): from .communications_application_identity import CommunicationsApplicationIdentity @@ -140,6 +146,7 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> I return TeamworkUserIdentity() if mapping_value and mapping_value.casefold() == "#microsoft.graph.userIdentity".casefold(): + from .call_records.user_identity import UserIdentity from .user_identity import UserIdentity return UserIdentity() @@ -152,6 +159,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ from .audit_user_identity import AuditUserIdentity from .azure_communication_services_user_identity import AzureCommunicationServicesUserIdentity + from .call_records.user_identity import UserIdentity from .communications_application_identity import CommunicationsApplicationIdentity from .communications_application_instance_identity import CommunicationsApplicationInstanceIdentity from .communications_encrypted_identity import CommunicationsEncryptedIdentity @@ -175,6 +183,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .audit_user_identity import AuditUserIdentity from .azure_communication_services_user_identity import AzureCommunicationServicesUserIdentity + from .call_records.user_identity import UserIdentity from .communications_application_identity import CommunicationsApplicationIdentity from .communications_application_instance_identity import CommunicationsApplicationInstanceIdentity from .communications_encrypted_identity import CommunicationsEncryptedIdentity diff --git a/msgraph_beta/generated/models/identity_details.py b/msgraph_beta/generated/models/identity_details.py index 5769f2934ed..5b1fe02b3c8 100644 --- a/msgraph_beta/generated/models/identity_details.py +++ b/msgraph_beta/generated/models/identity_details.py @@ -12,9 +12,9 @@ class IdentityDetails(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 createdDateTime property + # A date specifiying when the Identity was created, could be null created_date_time: Optional[datetime.datetime] = None - # The lastActiveDateTime property + # A date specifiying when the Identity was active last time, could be null last_active_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/identity_finding.py b/msgraph_beta/generated/models/identity_finding.py index 90b065ddbb9..288e7648174 100644 --- a/msgraph_beta/generated/models/identity_finding.py +++ b/msgraph_beta/generated/models/identity_finding.py @@ -37,7 +37,7 @@ class IdentityFinding(Finding): action_summary: Optional[ActionSummary] = None # The identity property identity: Optional[AuthorizationSystemIdentity] = None - # The identityDetails property + # An identity's information details. identity_details: Optional[IdentityDetails] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/identity_set.py b/msgraph_beta/generated/models/identity_set.py index b58887ec313..3038e675a72 100644 --- a/msgraph_beta/generated/models/identity_set.py +++ b/msgraph_beta/generated/models/identity_set.py @@ -19,13 +19,13 @@ class IdentitySet(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) - # Optional. The application associated with this action. + # The Identity of the Application. This property is read-only. application: Optional[Identity] = None - # Optional. The device associated with this action. + # The Identity of the Device. This property is read-only. device: Optional[Identity] = None # The OdataType property odata_type: Optional[str] = None - # Optional. The user associated with this action. + # The Identity of the User. This property is read-only. user: Optional[Identity] = None @staticmethod diff --git a/msgraph_beta/generated/models/incompatible_printer_settings.py b/msgraph_beta/generated/models/incompatible_printer_settings.py new file mode 100644 index 00000000000..5e2e140bd7e --- /dev/null +++ b/msgraph_beta/generated/models/incompatible_printer_settings.py @@ -0,0 +1,7 @@ +from enum import Enum + +class IncompatiblePrinterSettings(str, Enum): + Show = "show", + Hide = "hide", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/insight_summary.py b/msgraph_beta/generated/models/insight_summary.py index fc8f2f9e239..40ac7ebb126 100644 --- a/msgraph_beta/generated/models/insight_summary.py +++ b/msgraph_beta/generated/models/insight_summary.py @@ -11,27 +11,27 @@ @dataclass class InsightSummary(Entity): - # The activeUsers property + # Daily active users. active_users: Optional[int] = None - # The appId property + # The ID of the Microsoft Entra application. app_id: Optional[str] = None - # The authenticationCompletions property + # Daily authentication completions. authentication_completions: Optional[int] = None - # The authenticationRequests property + # Daily authentication requests. authentication_requests: Optional[int] = None - # The factDate property + # The date of the insight. fact_date: Optional[datetime.date] = None # The OdataType property odata_type: Optional[str] = None - # The os property + # The platform for the device that the customers used. Supports $filter (eq). os: Optional[str] = None - # The securityTextCompletions property + # Daily MFA SMS completions. security_text_completions: Optional[int] = None - # The securityTextRequests property + # Daily MFA SMS requests. security_text_requests: Optional[int] = None - # The securityVoiceCompletions property + # Daily MFA Voice completions. security_voice_completions: Optional[int] = None - # The securityVoiceRequests property + # Daily MFA Voice requests. security_voice_requests: Optional[int] = None @staticmethod diff --git a/msgraph_beta/generated/models/internal_domain_federation.py b/msgraph_beta/generated/models/internal_domain_federation.py index 498d5d62ce9..ed0d8446cff 100644 --- a/msgraph_beta/generated/models/internal_domain_federation.py +++ b/msgraph_beta/generated/models/internal_domain_federation.py @@ -21,7 +21,7 @@ class InternalDomainFederation(SamlOrWsFedProvider): federated_idp_mfa_behavior: Optional[FederatedIdpMfaBehavior] = None # If true, when SAML authentication requests are sent to the federated SAML IdP, Microsoft Entra ID will sign those requests using the OrgID signing key. If false (default), the SAML authentication requests sent to the federated IdP aren't signed. is_signed_authentication_request_required: Optional[bool] = None - # Fallback token signing certificate that is used to sign tokens when the primary signing certificate expires. Formatted as Base64 encoded strings of the public portion of the federated IdP's token signing certificate. Needs to be compatible with the X509Certificate2 class. Much like the signingCertificate, the nextSigningCertificate property is used if a rollover is required outside of the auto-rollover update, a new federation service is being set up, or if the new token signing certificate isn't present in the federation properties after the federation service certificate has been updated. + # Fallback token signing certificate that can also be used to sign tokens, for example when the primary signing certificate expires. Formatted as Base64 encoded strings of the public portion of the federated IdP's token signing certificate. Needs to be compatible with the X509Certificate2 class. Much like the signingCertificate, the nextSigningCertificate property is used if a rollover is required outside of the auto-rollover update, a new federation service is being set up, or if the new token signing certificate isn't present in the federation properties after the federation service certificate has been updated. next_signing_certificate: Optional[str] = None # Sets the preferred behavior for the sign-in prompt. The possible values are: translateToFreshPasswordAuthentication, nativeSupport, disabled, unknownFutureValue. prompt_login_behavior: Optional[PromptLoginBehavior] = None diff --git a/msgraph_beta/generated/models/invitation_redemption_identity_provider_configuration.py b/msgraph_beta/generated/models/invitation_redemption_identity_provider_configuration.py index b8c4c56a27a..80381b72c75 100644 --- a/msgraph_beta/generated/models/invitation_redemption_identity_provider_configuration.py +++ b/msgraph_beta/generated/models/invitation_redemption_identity_provider_configuration.py @@ -15,11 +15,11 @@ class InvitationRedemptionIdentityProviderConfiguration(AdditionalDataHolder, Ba # 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 fallbackIdentityProvider property + # The fallback identity provider to be used in case no primary identity provider can be used for guest invitation redemption. Possible values are: defaultConfiguredIdp, emailOneTimePasscode, or microsoftAccount. fallback_identity_provider: Optional[B2bIdentityProvidersType] = None # The OdataType property odata_type: Optional[str] = None - # The primaryIdentityProviderPrecedenceOrder property + # Collection of identity providers in priority order of preference to be used for guest invitation redemption. Possible values are: azureActiveDirectory, externalFederation, or socialIdentityProviders. primary_identity_provider_precedence_order: Optional[List[B2bIdentityProvidersType]] = None @staticmethod diff --git a/msgraph_beta/generated/models/ios_managed_app_protection.py b/msgraph_beta/generated/models/ios_managed_app_protection.py index 3d481c330b5..b1e3549a100 100644 --- a/msgraph_beta/generated/models/ios_managed_app_protection.py +++ b/msgraph_beta/generated/models/ios_managed_app_protection.py @@ -48,6 +48,8 @@ class IosManagedAppProtection(TargetedManagedAppProtection): filter_open_in_to_only_managed_apps: Optional[bool] = None # A list of custom urls that are allowed to invocate a managed app managed_universal_links: Optional[List[str]] = None + # When a specific app redirection is enforced by protectedMessagingRedirectAppType in an App Protection Policy, this value defines the app url redirect schemes which are allowed to be used. + messaging_redirect_app_url_scheme: Optional[str] = None # Versions less than the specified version will block the managed app from accessing company data. minimum_required_sdk_version: Optional[str] = None # Versions less than the specified version will result in warning message on the managed app from accessing company data. @@ -104,6 +106,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "faceIdBlocked": lambda n : setattr(self, 'face_id_blocked', n.get_bool_value()), "filterOpenInToOnlyManagedApps": lambda n : setattr(self, 'filter_open_in_to_only_managed_apps', n.get_bool_value()), "managedUniversalLinks": lambda n : setattr(self, 'managed_universal_links', n.get_collection_of_primitive_values(str)), + "messagingRedirectAppUrlScheme": lambda n : setattr(self, 'messaging_redirect_app_url_scheme', n.get_str_value()), "minimumRequiredSdkVersion": lambda n : setattr(self, 'minimum_required_sdk_version', n.get_str_value()), "minimumWarningSdkVersion": lambda n : setattr(self, 'minimum_warning_sdk_version', n.get_str_value()), "minimumWipeSdkVersion": lambda n : setattr(self, 'minimum_wipe_sdk_version', n.get_str_value()), @@ -137,6 +140,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_bool_value("faceIdBlocked", self.face_id_blocked) writer.write_bool_value("filterOpenInToOnlyManagedApps", self.filter_open_in_to_only_managed_apps) writer.write_collection_of_primitive_values("managedUniversalLinks", self.managed_universal_links) + writer.write_str_value("messagingRedirectAppUrlScheme", self.messaging_redirect_app_url_scheme) writer.write_str_value("minimumRequiredSdkVersion", self.minimum_required_sdk_version) writer.write_str_value("minimumWarningSdkVersion", self.minimum_warning_sdk_version) writer.write_str_value("minimumWipeSdkVersion", self.minimum_wipe_sdk_version) diff --git a/msgraph_beta/generated/models/item_retention_label.py b/msgraph_beta/generated/models/item_retention_label.py index 8ee4c061c03..20c47e84ef3 100644 --- a/msgraph_beta/generated/models/item_retention_label.py +++ b/msgraph_beta/generated/models/item_retention_label.py @@ -17,7 +17,7 @@ class ItemRetentionLabel(Entity): is_label_applied_explicitly: Optional[bool] = None # Identity of the user who applied the label. Read-only. label_applied_by: Optional[IdentitySet] = None - # The date and time when the label was applied on the item. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + # The date and time when the label was applied on the item. 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. Read-only. label_applied_date_time: Optional[datetime.datetime] = None # The retention label on the document. Read-write. name: Optional[str] = None diff --git a/msgraph_beta/generated/models/key_value.py b/msgraph_beta/generated/models/key_value.py index 204ef89cd40..4c7f8547c71 100644 --- a/msgraph_beta/generated/models/key_value.py +++ b/msgraph_beta/generated/models/key_value.py @@ -11,11 +11,11 @@ class KeyValue(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) - # Contains the name of the field that a value is associated with. + # Key. key: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # Contains the corresponding value for the specified key. + # Value. value: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/long_running_operation.py b/msgraph_beta/generated/models/long_running_operation.py index e93017c8f06..b29bfaa8184 100644 --- a/msgraph_beta/generated/models/long_running_operation.py +++ b/msgraph_beta/generated/models/long_running_operation.py @@ -6,7 +6,9 @@ if TYPE_CHECKING: from .attack_simulation_operation import AttackSimulationOperation + from .engagement_async_operation import EngagementAsyncOperation from .entity import Entity + from .goals_export_job import GoalsExportJob from .industry_data.file_validate_operation import FileValidateOperation from .industry_data.validate_operation import ValidateOperation from .long_running_operation_status import LongRunningOperationStatus @@ -16,15 +18,15 @@ @dataclass class LongRunningOperation(Entity): - # The start time of the operation. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + # The start time of the operation. 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. created_date_time: Optional[datetime.datetime] = None - # The time of the last action in the operation. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + # The time of the last action in the operation. 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. last_action_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None # URI of the resource that the operation is performed on. resource_location: Optional[str] = None - # The status of the operation. The possible values are: notStarted, running, succeeded, failed, unknownFutureValue. + # The status of the operation. The possible values are: notStarted, running, succeeded, failed, skipped, unknownFutureValue. status: Optional[LongRunningOperationStatus] = None # Details about the status of the operation. status_detail: Optional[str] = None @@ -46,6 +48,14 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> L from .attack_simulation_operation import AttackSimulationOperation return AttackSimulationOperation() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.engagementAsyncOperation".casefold(): + from .engagement_async_operation import EngagementAsyncOperation + + return EngagementAsyncOperation() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.goalsExportJob".casefold(): + from .goals_export_job import GoalsExportJob + + return GoalsExportJob() if mapping_value and mapping_value.casefold() == "#microsoft.graph.industryData.fileValidateOperation".casefold(): from .industry_data.file_validate_operation import FileValidateOperation @@ -66,14 +76,18 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .attack_simulation_operation import AttackSimulationOperation + from .engagement_async_operation import EngagementAsyncOperation from .entity import Entity + from .goals_export_job import GoalsExportJob from .industry_data.file_validate_operation import FileValidateOperation from .industry_data.validate_operation import ValidateOperation from .long_running_operation_status import LongRunningOperationStatus from .rich_long_running_operation import RichLongRunningOperation from .attack_simulation_operation import AttackSimulationOperation + from .engagement_async_operation import EngagementAsyncOperation from .entity import Entity + from .goals_export_job import GoalsExportJob from .industry_data.file_validate_operation import FileValidateOperation from .industry_data.validate_operation import ValidateOperation from .long_running_operation_status import LongRunningOperationStatus diff --git a/msgraph_beta/generated/models/m365_apps_installation_options.py b/msgraph_beta/generated/models/m365_apps_installation_options.py new file mode 100644 index 00000000000..21f35af22b1 --- /dev/null +++ b/msgraph_beta/generated/models/m365_apps_installation_options.py @@ -0,0 +1,73 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .apps_installation_options_for_mac import AppsInstallationOptionsForMac + from .apps_installation_options_for_windows import AppsInstallationOptionsForWindows + from .apps_update_channel_type import AppsUpdateChannelType + from .entity import Entity + +from .entity import Entity + +@dataclass +class M365AppsInstallationOptions(Entity): + # The appsForMac property + apps_for_mac: Optional[AppsInstallationOptionsForMac] = None + # The appsForWindows property + apps_for_windows: Optional[AppsInstallationOptionsForWindows] = None + # The OdataType property + odata_type: Optional[str] = None + # The updateChannel property + update_channel: Optional[AppsUpdateChannelType] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> M365AppsInstallationOptions: + """ + 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: M365AppsInstallationOptions + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return M365AppsInstallationOptions() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .apps_installation_options_for_mac import AppsInstallationOptionsForMac + from .apps_installation_options_for_windows import AppsInstallationOptionsForWindows + from .apps_update_channel_type import AppsUpdateChannelType + from .entity import Entity + + from .apps_installation_options_for_mac import AppsInstallationOptionsForMac + from .apps_installation_options_for_windows import AppsInstallationOptionsForWindows + from .apps_update_channel_type import AppsUpdateChannelType + from .entity import Entity + + fields: Dict[str, Callable[[Any], None]] = { + "appsForMac": lambda n : setattr(self, 'apps_for_mac', n.get_object_value(AppsInstallationOptionsForMac)), + "appsForWindows": lambda n : setattr(self, 'apps_for_windows', n.get_object_value(AppsInstallationOptionsForWindows)), + "updateChannel": lambda n : setattr(self, 'update_channel', n.get_enum_value(AppsUpdateChannelType)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_object_value("appsForMac", self.apps_for_mac) + writer.write_object_value("appsForWindows", self.apps_for_windows) + writer.write_enum_value("updateChannel", self.update_channel) + + diff --git a/msgraph_beta/generated/models/mac_os_lob_app_assignment_settings.py b/msgraph_beta/generated/models/mac_os_lob_app_assignment_settings.py index 3784991c8af..6f9c29d69b5 100644 --- a/msgraph_beta/generated/models/mac_os_lob_app_assignment_settings.py +++ b/msgraph_beta/generated/models/mac_os_lob_app_assignment_settings.py @@ -15,7 +15,7 @@ class MacOsLobAppAssignmentSettings(MobileAppAssignmentSettings): """ # The OdataType property odata_type: Optional[str] = "#microsoft.graph.macOsLobAppAssignmentSettings" - # Whether or not to uninstall the app when device is removed from Intune. + # When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. uninstall_on_device_removal: Optional[bool] = None @staticmethod diff --git a/msgraph_beta/generated/models/managed_app_protection.py b/msgraph_beta/generated/models/managed_app_protection.py index d076bee1032..0562d5b19e3 100644 --- a/msgraph_beta/generated/models/managed_app_protection.py +++ b/msgraph_beta/generated/models/managed_app_protection.py @@ -19,6 +19,7 @@ from .managed_app_policy import ManagedAppPolicy from .managed_app_remediation_action import ManagedAppRemediationAction from .managed_browser_type import ManagedBrowserType + from .messaging_redirect_app_type import MessagingRedirectAppType from .mobile_threat_defense_partner_priority import MobileThreatDefensePartnerPriority from .targeted_managed_app_protection import TargetedManagedAppProtection @@ -119,6 +120,8 @@ class ManagedAppProtection(ManagedAppPolicy): previous_pin_block_count: Optional[int] = None # Indicates whether printing is allowed from managed apps. print_blocked: Optional[bool] = None + # Defines how app messaging redirection is protected by an App Protection Policy. Default is anyApp. + protected_messaging_redirect_app_type: Optional[MessagingRedirectAppType] = None # Indicates whether users may use the 'Save As' menu item to save a copy of protected files. save_as_blocked: Optional[bool] = None # Indicates whether simplePin is blocked. @@ -174,6 +177,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .managed_app_policy import ManagedAppPolicy from .managed_app_remediation_action import ManagedAppRemediationAction from .managed_browser_type import ManagedBrowserType + from .messaging_redirect_app_type import MessagingRedirectAppType from .mobile_threat_defense_partner_priority import MobileThreatDefensePartnerPriority from .targeted_managed_app_protection import TargetedManagedAppProtection @@ -191,6 +195,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .managed_app_policy import ManagedAppPolicy from .managed_app_remediation_action import ManagedAppRemediationAction from .managed_browser_type import ManagedBrowserType + from .messaging_redirect_app_type import MessagingRedirectAppType from .mobile_threat_defense_partner_priority import MobileThreatDefensePartnerPriority from .targeted_managed_app_protection import TargetedManagedAppProtection @@ -239,6 +244,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "pinRequiredInsteadOfBiometricTimeout": lambda n : setattr(self, 'pin_required_instead_of_biometric_timeout', n.get_timedelta_value()), "previousPinBlockCount": lambda n : setattr(self, 'previous_pin_block_count', n.get_int_value()), "printBlocked": lambda n : setattr(self, 'print_blocked', n.get_bool_value()), + "protectedMessagingRedirectAppType": lambda n : setattr(self, 'protected_messaging_redirect_app_type', n.get_enum_value(MessagingRedirectAppType)), "saveAsBlocked": lambda n : setattr(self, 'save_as_blocked', n.get_bool_value()), "simplePinBlocked": lambda n : setattr(self, 'simple_pin_blocked', n.get_bool_value()), } @@ -299,6 +305,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_timedelta_value("pinRequiredInsteadOfBiometricTimeout", self.pin_required_instead_of_biometric_timeout) writer.write_int_value("previousPinBlockCount", self.previous_pin_block_count) writer.write_bool_value("printBlocked", self.print_blocked) + writer.write_enum_value("protectedMessagingRedirectAppType", self.protected_messaging_redirect_app_type) writer.write_bool_value("saveAsBlocked", self.save_as_blocked) writer.write_bool_value("simplePinBlocked", self.simple_pin_blocked) diff --git a/msgraph_beta/generated/models/managed_device.py b/msgraph_beta/generated/models/managed_device.py index c17e0e1e866..5792ca5fe1a 100644 --- a/msgraph_beta/generated/models/managed_device.py +++ b/msgraph_beta/generated/models/managed_device.py @@ -21,6 +21,7 @@ from .device_enrollment_type import DeviceEnrollmentType from .device_health_attestation_state import DeviceHealthAttestationState from .device_health_script_policy_state import DeviceHealthScriptPolicyState + from .device_identity_attestation_detail import DeviceIdentityAttestationDetail from .device_log_collection_response import DeviceLogCollectionResponse from .device_management_exchange_access_state import DeviceManagementExchangeAccessState from .device_management_exchange_access_state_reason import DeviceManagementExchangeAccessStateReason @@ -105,6 +106,8 @@ class ManagedDevice(Entity): device_health_attestation_state: Optional[DeviceHealthAttestationState] = None # Results of device health scripts that ran for this device. Default is empty list. This property is read-only. device_health_script_states: Optional[List[DeviceHealthScriptPolicyState]] = None + # Indicates the attestation status of the managed device. And in which way. Default: Unknown. + device_identity_attestation_detail: Optional[DeviceIdentityAttestationDetail] = None # Name of the device. This property is read-only. device_name: Optional[str] = None # Device registration status. @@ -280,6 +283,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .device_enrollment_type import DeviceEnrollmentType from .device_health_attestation_state import DeviceHealthAttestationState from .device_health_script_policy_state import DeviceHealthScriptPolicyState + from .device_identity_attestation_detail import DeviceIdentityAttestationDetail from .device_log_collection_response import DeviceLogCollectionResponse from .device_management_exchange_access_state import DeviceManagementExchangeAccessState from .device_management_exchange_access_state_reason import DeviceManagementExchangeAccessStateReason @@ -319,6 +323,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .device_enrollment_type import DeviceEnrollmentType from .device_health_attestation_state import DeviceHealthAttestationState from .device_health_script_policy_state import DeviceHealthScriptPolicyState + from .device_identity_attestation_detail import DeviceIdentityAttestationDetail from .device_log_collection_response import DeviceLogCollectionResponse from .device_management_exchange_access_state import DeviceManagementExchangeAccessState from .device_management_exchange_access_state_reason import DeviceManagementExchangeAccessStateReason @@ -370,6 +375,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "deviceFirmwareConfigurationInterfaceManaged": lambda n : setattr(self, 'device_firmware_configuration_interface_managed', n.get_bool_value()), "deviceHealthAttestationState": lambda n : setattr(self, 'device_health_attestation_state', n.get_object_value(DeviceHealthAttestationState)), "deviceHealthScriptStates": lambda n : setattr(self, 'device_health_script_states', n.get_collection_of_object_values(DeviceHealthScriptPolicyState)), + "deviceIdentityAttestationDetail": lambda n : setattr(self, 'device_identity_attestation_detail', n.get_object_value(DeviceIdentityAttestationDetail)), "deviceName": lambda n : setattr(self, 'device_name', n.get_str_value()), "deviceRegistrationState": lambda n : setattr(self, 'device_registration_state', n.get_enum_value(DeviceRegistrationState)), "deviceType": lambda n : setattr(self, 'device_type', n.get_enum_value(DeviceType)), @@ -464,6 +470,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_enum_value("deviceEnrollmentType", self.device_enrollment_type) writer.write_bool_value("deviceFirmwareConfigurationInterfaceManaged", self.device_firmware_configuration_interface_managed) writer.write_collection_of_object_values("deviceHealthScriptStates", self.device_health_script_states) + writer.write_object_value("deviceIdentityAttestationDetail", self.device_identity_attestation_detail) writer.write_enum_value("deviceRegistrationState", self.device_registration_state) writer.write_enum_value("deviceType", self.device_type) writer.write_enum_value("exchangeAccessState", self.exchange_access_state) diff --git a/msgraph_beta/generated/models/messaging_redirect_app_type.py b/msgraph_beta/generated/models/messaging_redirect_app_type.py new file mode 100644 index 00000000000..a094a7ee999 --- /dev/null +++ b/msgraph_beta/generated/models/messaging_redirect_app_type.py @@ -0,0 +1,10 @@ +from enum import Enum + +class MessagingRedirectAppType(str, Enum): + # App protection policy will allow messaging redirection to any app. + AnyApp = "anyApp", + # App protection policy will allow messaging redirection to any managed application. + AnyManagedApp = "anyManagedApp", + # App protection policy will allow messaging redirection only to specified applications in related App protection policy settings. See related settings `messagingRedirectAppDisplayName`, `messagingRedirectAppPackageId` and `messagingRedirectAppUrlScheme`. + SpecificApps = "specificApps", + diff --git a/msgraph_beta/generated/models/mfa_completion_metric.py b/msgraph_beta/generated/models/mfa_completion_metric.py index e6169e2c6a1..154be1b2a32 100644 --- a/msgraph_beta/generated/models/mfa_completion_metric.py +++ b/msgraph_beta/generated/models/mfa_completion_metric.py @@ -11,19 +11,19 @@ @dataclass class MfaCompletionMetric(Entity): - # The appId property + # The ID of the Microsoft Entra application. Supports $filter (eq). app_id: Optional[str] = None - # The attemptsCount property + # Number of users who attempted to sign up. Supports $filter (eq). attempts_count: Optional[int] = None - # The factDate property + # The date of the user insight. fact_date: Optional[datetime.date] = None - # The mfaMethod property + # The MFA authentication method used by the customers. Supports $filter (eq). mfa_method: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The os property + # The platform of the device that the customers used. Supports $filter (eq). os: Optional[str] = None - # The successCount property + # Number of users who signed up successfully. Supports $filter (eq). success_count: Optional[int] = None @staticmethod diff --git a/msgraph_beta/generated/models/microsoft_managed_desktop.py b/msgraph_beta/generated/models/microsoft_managed_desktop.py index d331f0ff06e..d2f6f26a276 100644 --- a/msgraph_beta/generated/models/microsoft_managed_desktop.py +++ b/msgraph_beta/generated/models/microsoft_managed_desktop.py @@ -14,6 +14,8 @@ class MicrosoftManagedDesktop(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 managedType property + managed_type: Optional[MicrosoftManagedDesktopType] = None # The OdataType property odata_type: Optional[str] = None # The name of the Microsoft Managed Desktop profile that the Windows 365 Cloud PC is associated with. @@ -42,6 +44,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .microsoft_managed_desktop_type import MicrosoftManagedDesktopType fields: Dict[str, Callable[[Any], None]] = { + "managedType": lambda n : setattr(self, 'managed_type', n.get_enum_value(MicrosoftManagedDesktopType)), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "profile": lambda n : setattr(self, 'profile', n.get_str_value()), "type": lambda n : setattr(self, 'type', n.get_enum_value(MicrosoftManagedDesktopType)), @@ -56,6 +59,7 @@ def serialize(self,writer: SerializationWriter) -> None: """ if not writer: raise TypeError("writer cannot be null.") + writer.write_enum_value("managedType", self.managed_type) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("profile", self.profile) writer.write_enum_value("type", self.type) diff --git a/msgraph_beta/generated/models/mobile_app_assignment_settings.py b/msgraph_beta/generated/models/mobile_app_assignment_settings.py index 65f2946c4ea..6d2d4cd9da5 100644 --- a/msgraph_beta/generated/models/mobile_app_assignment_settings.py +++ b/msgraph_beta/generated/models/mobile_app_assignment_settings.py @@ -12,6 +12,7 @@ from .mac_os_lob_app_assignment_settings import MacOsLobAppAssignmentSettings from .mac_os_vpp_app_assignment_settings import MacOsVppAppAssignmentSettings from .microsoft_store_for_business_app_assignment_settings import MicrosoftStoreForBusinessAppAssignmentSettings + from .win32_catalog_app_assignment_settings import Win32CatalogAppAssignmentSettings from .win32_lob_app_assignment_settings import Win32LobAppAssignmentSettings from .windows_app_x_app_assignment_settings import WindowsAppXAppAssignmentSettings from .windows_universal_app_x_app_assignment_settings import WindowsUniversalAppXAppAssignmentSettings @@ -71,6 +72,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> M from .microsoft_store_for_business_app_assignment_settings import MicrosoftStoreForBusinessAppAssignmentSettings return MicrosoftStoreForBusinessAppAssignmentSettings() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.win32CatalogAppAssignmentSettings".casefold(): + from .win32_catalog_app_assignment_settings import Win32CatalogAppAssignmentSettings + + return Win32CatalogAppAssignmentSettings() if mapping_value and mapping_value.casefold() == "#microsoft.graph.win32LobAppAssignmentSettings".casefold(): from .win32_lob_app_assignment_settings import Win32LobAppAssignmentSettings @@ -101,6 +106,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .mac_os_lob_app_assignment_settings import MacOsLobAppAssignmentSettings from .mac_os_vpp_app_assignment_settings import MacOsVppAppAssignmentSettings from .microsoft_store_for_business_app_assignment_settings import MicrosoftStoreForBusinessAppAssignmentSettings + from .win32_catalog_app_assignment_settings import Win32CatalogAppAssignmentSettings from .win32_lob_app_assignment_settings import Win32LobAppAssignmentSettings from .windows_app_x_app_assignment_settings import WindowsAppXAppAssignmentSettings from .windows_universal_app_x_app_assignment_settings import WindowsUniversalAppXAppAssignmentSettings @@ -113,6 +119,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .mac_os_lob_app_assignment_settings import MacOsLobAppAssignmentSettings from .mac_os_vpp_app_assignment_settings import MacOsVppAppAssignmentSettings from .microsoft_store_for_business_app_assignment_settings import MicrosoftStoreForBusinessAppAssignmentSettings + from .win32_catalog_app_assignment_settings import Win32CatalogAppAssignmentSettings from .win32_lob_app_assignment_settings import Win32LobAppAssignmentSettings from .windows_app_x_app_assignment_settings import WindowsAppXAppAssignmentSettings from .windows_universal_app_x_app_assignment_settings import WindowsUniversalAppXAppAssignmentSettings diff --git a/msgraph_beta/generated/models/mobile_app_content_file.py b/msgraph_beta/generated/models/mobile_app_content_file.py index 4a460252b65..21eb31b9ea9 100644 --- a/msgraph_beta/generated/models/mobile_app_content_file.py +++ b/msgraph_beta/generated/models/mobile_app_content_file.py @@ -37,6 +37,10 @@ class MobileAppContentFile(Entity): size: Optional[int] = None # The size of the file after encryption. size_encrypted: Optional[int] = None + # Indicates the size of the file after encryption, in bytes. + size_encrypted_in_bytes: Optional[int] = None + # Indicates the original size of the file, in bytes. + size_in_bytes: Optional[int] = None # Contains properties for upload request states. upload_state: Optional[MobileAppContentFileUploadState] = None @@ -73,6 +77,8 @@ 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()), + "sizeEncryptedInBytes": lambda n : setattr(self, 'size_encrypted_in_bytes', n.get_int_value()), + "sizeInBytes": lambda n : setattr(self, 'size_in_bytes', n.get_int_value()), "uploadState": lambda n : setattr(self, 'upload_state', n.get_enum_value(MobileAppContentFileUploadState)), } super_fields = super().get_field_deserializers() @@ -98,6 +104,8 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("name", self.name) writer.write_int_value("size", self.size) writer.write_int_value("sizeEncrypted", self.size_encrypted) + writer.write_int_value("sizeEncryptedInBytes", self.size_encrypted_in_bytes) + writer.write_int_value("sizeInBytes", self.size_in_bytes) writer.write_enum_value("uploadState", self.upload_state) diff --git a/msgraph_beta/generated/models/monthly_user_insight_metrics_root.py b/msgraph_beta/generated/models/monthly_user_insight_metrics_root.py index 60ab64a3690..026ee065dbf 100644 --- a/msgraph_beta/generated/models/monthly_user_insight_metrics_root.py +++ b/msgraph_beta/generated/models/monthly_user_insight_metrics_root.py @@ -19,25 +19,25 @@ @dataclass class MonthlyUserInsightMetricsRoot(Entity): - # The activeUsers property + # Insights for active users on apps registered in the tenant for a specified period. active_users: Optional[List[ActiveUsersMetric]] = None - # The activeUsersBreakdown property + # Insights for the breakdown of users who were active on apps registered in the tenant for a specified period. active_users_breakdown: Optional[List[ActiveUsersBreakdownMetric]] = None - # The authentications property + # Insights for authentications on apps registered in the tenant for a specified period. authentications: Optional[List[AuthenticationsMetric]] = None # The inactiveUsers property inactive_users: Optional[List[MonthlyInactiveUsersMetric]] = None # The inactiveUsersByApplication property inactive_users_by_application: Optional[List[MonthlyInactiveUsersByApplicationMetric]] = None - # The mfaCompletions property + # Insights for MFA usage on apps registered in the tenant for a specified period. mfa_completions: Optional[List[MfaCompletionMetric]] = None # The OdataType property odata_type: Optional[str] = None - # The requests property + # Insights for all user requests on apps registered in the tenant for a specified period. requests: Optional[List[UserRequestsMetric]] = None - # The signUps property + # Total sign-ups on apps registered in the tenant for a specified period. sign_ups: Optional[List[UserSignUpMetric]] = None - # The summary property + # Summary of all usage insights on apps registered in the tenant for a specified period. summary: Optional[List[InsightSummary]] = None @staticmethod diff --git a/msgraph_beta/generated/models/networkaccess/branch_connectivity_configuration.py b/msgraph_beta/generated/models/networkaccess/branch_connectivity_configuration.py index 0b7d1614773..4cf1553751d 100644 --- a/msgraph_beta/generated/models/networkaccess/branch_connectivity_configuration.py +++ b/msgraph_beta/generated/models/networkaccess/branch_connectivity_configuration.py @@ -14,11 +14,11 @@ class BranchConnectivityConfiguration(AdditionalDataHolder, BackedModel, Parsabl # 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 branchId property + # Unique identifier or a specific reference assigned to a branchSite. Key. branch_id: Optional[str] = None - # The branchName property + # Display name assigned to a branchSite. branch_name: Optional[str] = None - # The links property + # List of connectivity configurations for deviceLink objects. links: Optional[List[ConnectivityConfigurationLink]] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/networkaccess/branch_site.py b/msgraph_beta/generated/models/networkaccess/branch_site.py index f05f0c7409f..c0fe0681b00 100644 --- a/msgraph_beta/generated/models/networkaccess/branch_site.py +++ b/msgraph_beta/generated/models/networkaccess/branch_site.py @@ -18,7 +18,7 @@ class BranchSite(Entity): # Determines the maximum allowed Mbps (megabits per second) bandwidth from a branch site. The possible values are:250,500,750,1000. bandwidth_capacity: Optional[int] = None - # The connectivityConfiguration property + # Specifies the connectivity details of all device links associated with a branch. connectivity_configuration: Optional[BranchConnectivityConfiguration] = None # Determines the branch site status. The possible values are: pending, connected, inactive, error. connectivity_state: Optional[ConnectivityState] = None diff --git a/msgraph_beta/generated/models/networkaccess/conditional_access_policy_collection_response.py b/msgraph_beta/generated/models/networkaccess/conditional_access_policy_collection_response.py new file mode 100644 index 00000000000..552206b0189 --- /dev/null +++ b/msgraph_beta/generated/models/networkaccess/conditional_access_policy_collection_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .conditional_access_policy import ConditionalAccessPolicy + +from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class ConditionalAccessPolicyCollectionResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[ConditionalAccessPolicy]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> ConditionalAccessPolicyCollectionResponse: + """ + 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: ConditionalAccessPolicyCollectionResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return ConditionalAccessPolicyCollectionResponse() + + 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 .conditional_access_policy import ConditionalAccessPolicy + + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .conditional_access_policy import ConditionalAccessPolicy + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ConditionalAccessPolicy)), + } + 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 not writer: + 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/networkaccess/connectivity.py b/msgraph_beta/generated/models/networkaccess/connectivity.py index 976de37d52e..86cb581eb86 100644 --- a/msgraph_beta/generated/models/networkaccess/connectivity.py +++ b/msgraph_beta/generated/models/networkaccess/connectivity.py @@ -6,6 +6,7 @@ if TYPE_CHECKING: from ..entity import Entity from .branch_site import BranchSite + from .web_category import WebCategory from ..entity import Entity @@ -15,6 +16,8 @@ class Connectivity(Entity): branches: Optional[List[BranchSite]] = None # The OdataType property odata_type: Optional[str] = None + # The webCategories property + web_categories: Optional[List[WebCategory]] = None @staticmethod def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> Connectivity: @@ -34,12 +37,15 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ from ..entity import Entity from .branch_site import BranchSite + from .web_category import WebCategory from ..entity import Entity from .branch_site import BranchSite + from .web_category import WebCategory fields: Dict[str, Callable[[Any], None]] = { "branches": lambda n : setattr(self, 'branches', n.get_collection_of_object_values(BranchSite)), + "webCategories": lambda n : setattr(self, 'web_categories', n.get_collection_of_object_values(WebCategory)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -55,5 +61,6 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") super().serialize(writer) writer.write_collection_of_object_values("branches", self.branches) + writer.write_collection_of_object_values("webCategories", self.web_categories) diff --git a/msgraph_beta/generated/models/networkaccess/connectivity_configuration_link.py b/msgraph_beta/generated/models/networkaccess/connectivity_configuration_link.py index 50fa68c097f..4ff4abde503 100644 --- a/msgraph_beta/generated/models/networkaccess/connectivity_configuration_link.py +++ b/msgraph_beta/generated/models/networkaccess/connectivity_configuration_link.py @@ -12,9 +12,9 @@ @dataclass class ConnectivityConfigurationLink(Entity): - # The displayName property + # Specifies the name of the link. display_name: Optional[str] = None - # The localConfigurations property + # Specifies Microsoft's end of the tunnel configuration for a device link. local_configurations: Optional[List[LocalConnectivityConfiguration]] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/networkaccess/cross_tenant_access.py b/msgraph_beta/generated/models/networkaccess/cross_tenant_access.py index 039867a9545..466d05ab274 100644 --- a/msgraph_beta/generated/models/networkaccess/cross_tenant_access.py +++ b/msgraph_beta/generated/models/networkaccess/cross_tenant_access.py @@ -15,21 +15,21 @@ class CrossTenantAccess(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 deviceCount property + # The number of devices that accessed the external tenant. device_count: Optional[int] = None - # The lastAccessDateTime property + # The timestamp of the most recent access to the external tenant. last_access_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None - # The resourceTenantId property + # The tenant ID of the external tenant. resource_tenant_id: Optional[str] = None - # The resourceTenantName property + # The name of the external tenant. resource_tenant_name: Optional[str] = None - # The resourceTenantPrimaryDomain property + # The domain of the external tenant. resource_tenant_primary_domain: Optional[str] = None # The usageStatus property usage_status: Optional[UsageStatus] = None - # The userCount property + # The number of users that accessed the external tenant. user_count: Optional[int] = None @staticmethod diff --git a/msgraph_beta/generated/models/networkaccess/cross_tenant_summary.py b/msgraph_beta/generated/models/networkaccess/cross_tenant_summary.py index b2c4574ec3c..91044bd8313 100644 --- a/msgraph_beta/generated/models/networkaccess/cross_tenant_summary.py +++ b/msgraph_beta/generated/models/networkaccess/cross_tenant_summary.py @@ -11,19 +11,19 @@ class CrossTenantSummary(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) - # Total numbers of authentication sessions in the time frame between startDateTime and endDateTime. + # The total number of authentication sessions between startDateTime and endDateTime. auth_transaction_count: Optional[int] = None - # Count of unique devices that performed cross-tenant access, in the time frame between startDateTime and endDateTime. + # The number of unique devices that performed cross-tenant access. device_count: Optional[int] = None - # Count of unique tenants that were accessed in the time frame between endDateTime to discoveryPivotDateTime, but haven't been accessed in the time frame between discoveryPivotDateTime to startDateTime. + # The number of unique tenants that were accessed between endDateTime and discoveryPivotDateTime, but weren't accessed between discoveryPivotDateTime and startDateTime. new_tenant_count: Optional[int] = None # The OdataType property odata_type: Optional[str] = None # The rarelyUsedTenantCount property rarely_used_tenant_count: Optional[int] = None - # Count of unique tenants that were accessed, that are different from the device's home tenant, in the time frame between startDateTime and endDateTime. + # The number of unique tenants that were accessed, not including the device's tenant. tenant_count: Optional[int] = None - # Count of unique users that performed cross-tenant access, in the time frame between startDateTime and endDateTime. + # The number of unique users that performed cross-tenant access. user_count: Optional[int] = None @staticmethod diff --git a/msgraph_beta/generated/models/networkaccess/destination.py b/msgraph_beta/generated/models/networkaccess/destination.py index 2944c6d32c5..8e022fc1f96 100644 --- a/msgraph_beta/generated/models/networkaccess/destination.py +++ b/msgraph_beta/generated/models/networkaccess/destination.py @@ -16,25 +16,25 @@ class Destination(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 deviceCount property + # The number of unique devices that were seen. device_count: Optional[int] = None - # The fqdn property + # The fully qualified domain name (FQDN) of the destination. fqdn: Optional[str] = None - # The ip property + # The internet protocol (IP) used to access the destination. ip: Optional[str] = None - # The lastAccessDateTime property + # The most recent access DateTime. last_access_date_time: Optional[datetime.datetime] = None # The networkingProtocol property networking_protocol: Optional[NetworkingProtocol] = None # The OdataType property odata_type: Optional[str] = None - # The port property + # The numeric identifier that is associated with a specific endpoint in a network. port: Optional[int] = None # The trafficType property traffic_type: Optional[TrafficType] = None - # The transactionCount property + # The number of transactions. transaction_count: Optional[int] = None - # The userCount property + # The number of unique Microsoft Entra ID users that were seen. user_count: Optional[int] = None @staticmethod diff --git a/msgraph_beta/generated/models/networkaccess/destination_summary.py b/msgraph_beta/generated/models/networkaccess/destination_summary.py index a7ab2620dc9..92812dae447 100644 --- a/msgraph_beta/generated/models/networkaccess/destination_summary.py +++ b/msgraph_beta/generated/models/networkaccess/destination_summary.py @@ -14,13 +14,13 @@ class DestinationSummary(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) - # Count of the aggregation. + # The number of the destinationSummary objects, aggregated by Global Secure Access service. count: Optional[int] = None - # Destination FQDN or IP address. + # The IP address or FQDN of the destination. destination: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The trafficType property + # The traffic classification. The allowed values are internet, private, microsoft365, all, and unknownFutureValue. traffic_type: Optional[TrafficType] = None @staticmethod diff --git a/msgraph_beta/generated/models/networkaccess/device.py b/msgraph_beta/generated/models/networkaccess/device.py index a03c33b01f6..c50090bec77 100644 --- a/msgraph_beta/generated/models/networkaccess/device.py +++ b/msgraph_beta/generated/models/networkaccess/device.py @@ -15,17 +15,17 @@ class Device(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 deviceId property + # A unique device ID. device_id: Optional[str] = None - # The displayName property + # The display name for the device. display_name: Optional[str] = None - # The isCompliant property + # A value that indicates whether or not the device is compliant. is_compliant: Optional[bool] = None - # The lastAccessDateTime property + # The most recent access time for the device. last_access_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None - # The operatingSystem property + # The operating system on the device. operating_system: Optional[str] = None # The trafficType property traffic_type: Optional[TrafficType] = None diff --git a/msgraph_beta/generated/models/networkaccess/device_usage_summary.py b/msgraph_beta/generated/models/networkaccess/device_usage_summary.py index 1b4e15824ba..6f984d48e38 100644 --- a/msgraph_beta/generated/models/networkaccess/device_usage_summary.py +++ b/msgraph_beta/generated/models/networkaccess/device_usage_summary.py @@ -11,13 +11,13 @@ class DeviceUsageSummary(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 number of distinct device IDs in the time frame between endDateTime and discoveryPivotDateTime. + # The number of distinct device IDs between the discovery pivot time and the end of the reporting period. active_device_count: Optional[int] = None - # The number of distinct device IDs havn't seen in the time frame between endDateTime and discoveryPivotDateTime but have seen in the time frame between discoveryPivotDateTime and startDateTime. + # The discovery pivot time and the end of the reporting period, but were seen between the start of the reporting period and the discovery pivot time. inactive_device_count: Optional[int] = None # The OdataType property odata_type: Optional[str] = None - # The number of distinct device IDs in the time frame between startDateTime and endDateTime. + # The total number of distinct device IDs that were seen during the reporting period. total_device_count: Optional[int] = None @staticmethod diff --git a/msgraph_beta/generated/models/networkaccess/entities_summary.py b/msgraph_beta/generated/models/networkaccess/entities_summary.py index c36d66f10b6..ae6fe4540bf 100644 --- a/msgraph_beta/generated/models/networkaccess/entities_summary.py +++ b/msgraph_beta/generated/models/networkaccess/entities_summary.py @@ -14,15 +14,15 @@ class EntitiesSummary(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) - # Count of unique devices that were seen. + # The number of unique devices that were seen. device_count: Optional[int] = None # The OdataType property odata_type: Optional[str] = None # The trafficType property traffic_type: Optional[TrafficType] = None - # Count of unique Microsoft Entra users that were seen. + # The number of unique Microsoft Entra ID users that were seen. user_count: Optional[int] = None - # Count of unique target workloads or hosts that were seen. + # The number of unique target workloads/hosts that were seen. workload_count: Optional[int] = None @staticmethod diff --git a/msgraph_beta/generated/models/networkaccess/filtering_policy.py b/msgraph_beta/generated/models/networkaccess/filtering_policy.py new file mode 100644 index 00000000000..194cf3af67a --- /dev/null +++ b/msgraph_beta/generated/models/networkaccess/filtering_policy.py @@ -0,0 +1,68 @@ +from __future__ import annotations +import datetime +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .filtering_policy_action import FilteringPolicyAction + from .policy import Policy + +from .policy import Policy + +@dataclass +class FilteringPolicy(Policy): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.networkaccess.filteringPolicy" + # The action property + action: Optional[FilteringPolicyAction] = None + # The date and time when the filtering Policy was originally created. + created_date_time: Optional[datetime.datetime] = None + # The date and time when a particular profile was last modified or updated. + last_modified_date_time: Optional[datetime.datetime] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> FilteringPolicy: + """ + 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: FilteringPolicy + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return FilteringPolicy() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .filtering_policy_action import FilteringPolicyAction + from .policy import Policy + + from .filtering_policy_action import FilteringPolicyAction + from .policy import Policy + + fields: Dict[str, Callable[[Any], None]] = { + "action": lambda n : setattr(self, 'action', n.get_enum_value(FilteringPolicyAction)), + "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), + "lastModifiedDateTime": lambda n : setattr(self, 'last_modified_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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_enum_value("action", self.action) + writer.write_datetime_value("createdDateTime", self.created_date_time) + writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) + + diff --git a/msgraph_beta/generated/models/networkaccess/filtering_policy_action.py b/msgraph_beta/generated/models/networkaccess/filtering_policy_action.py new file mode 100644 index 00000000000..74ed25e0be4 --- /dev/null +++ b/msgraph_beta/generated/models/networkaccess/filtering_policy_action.py @@ -0,0 +1,7 @@ +from enum import Enum + +class FilteringPolicyAction(str, Enum): + Block = "block", + Allow = "allow", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/networkaccess/filtering_policy_collection_response.py b/msgraph_beta/generated/models/networkaccess/filtering_policy_collection_response.py new file mode 100644 index 00000000000..4ae0b245563 --- /dev/null +++ b/msgraph_beta/generated/models/networkaccess/filtering_policy_collection_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .filtering_policy import FilteringPolicy + +from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class FilteringPolicyCollectionResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[FilteringPolicy]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> FilteringPolicyCollectionResponse: + """ + 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: FilteringPolicyCollectionResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return FilteringPolicyCollectionResponse() + + 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 .filtering_policy import FilteringPolicy + + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .filtering_policy import FilteringPolicy + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(FilteringPolicy)), + } + 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 not writer: + 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/networkaccess/filtering_policy_link.py b/msgraph_beta/generated/models/networkaccess/filtering_policy_link.py new file mode 100644 index 00000000000..a51344defc5 --- /dev/null +++ b/msgraph_beta/generated/models/networkaccess/filtering_policy_link.py @@ -0,0 +1,72 @@ +from __future__ import annotations +import datetime +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .policy_link import PolicyLink + from .status import Status + +from .policy_link import PolicyLink + +@dataclass +class FilteringPolicyLink(PolicyLink): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.networkaccess.filteringPolicyLink" + # The date and time when the filtering Policy link was created. + created_date_time: Optional[datetime.datetime] = None + # The date and time when the policy was most recently modified. + last_modified_date_time: Optional[datetime.datetime] = None + # The loggingState property + logging_state: Optional[Status] = None + # The priority property + priority: Optional[int] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> FilteringPolicyLink: + """ + 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: FilteringPolicyLink + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return FilteringPolicyLink() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .policy_link import PolicyLink + from .status import Status + + from .policy_link import PolicyLink + from .status import Status + + fields: Dict[str, Callable[[Any], None]] = { + "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), + "lastModifiedDateTime": lambda n : setattr(self, 'last_modified_date_time', n.get_datetime_value()), + "loggingState": lambda n : setattr(self, 'logging_state', n.get_enum_value(Status)), + "priority": lambda n : setattr(self, 'priority', 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_datetime_value("createdDateTime", self.created_date_time) + writer.write_datetime_value("lastModifiedDateTime", self.last_modified_date_time) + writer.write_enum_value("loggingState", self.logging_state) + writer.write_int_value("priority", self.priority) + + diff --git a/msgraph_beta/generated/models/networkaccess/filtering_profile.py b/msgraph_beta/generated/models/networkaccess/filtering_profile.py new file mode 100644 index 00000000000..1db05142003 --- /dev/null +++ b/msgraph_beta/generated/models/networkaccess/filtering_profile.py @@ -0,0 +1,68 @@ +from __future__ import annotations +import datetime +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .conditional_access_policy import ConditionalAccessPolicy + from .profile import Profile + +from .profile import Profile + +@dataclass +class FilteringProfile(Profile): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.networkaccess.filteringProfile" + # A set of associated policies defined to regulate access to resources or systems based on specific conditions. Automatically expanded. + conditional_access_policies: Optional[List[ConditionalAccessPolicy]] = None + # The date and time when the filteringProfile was created. + created_date_time: Optional[datetime.datetime] = None + # The priority used to order the profile for processing within a list. + priority: Optional[int] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> FilteringProfile: + """ + 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: FilteringProfile + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return FilteringProfile() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .conditional_access_policy import ConditionalAccessPolicy + from .profile import Profile + + from .conditional_access_policy import ConditionalAccessPolicy + from .profile import Profile + + fields: Dict[str, Callable[[Any], None]] = { + "conditionalAccessPolicies": lambda n : setattr(self, 'conditional_access_policies', n.get_collection_of_object_values(ConditionalAccessPolicy)), + "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), + "priority": lambda n : setattr(self, 'priority', 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("conditionalAccessPolicies", self.conditional_access_policies) + writer.write_datetime_value("createdDateTime", self.created_date_time) + writer.write_int_value("priority", self.priority) + + diff --git a/msgraph_beta/generated/models/networkaccess/filtering_profile_collection_response.py b/msgraph_beta/generated/models/networkaccess/filtering_profile_collection_response.py new file mode 100644 index 00000000000..6e5baa9da31 --- /dev/null +++ b/msgraph_beta/generated/models/networkaccess/filtering_profile_collection_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .filtering_profile import FilteringProfile + +from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class FilteringProfileCollectionResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[FilteringProfile]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> FilteringProfileCollectionResponse: + """ + 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: FilteringProfileCollectionResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return FilteringProfileCollectionResponse() + + 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 .filtering_profile import FilteringProfile + + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .filtering_profile import FilteringProfile + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(FilteringProfile)), + } + 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 not writer: + 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/networkaccess/filtering_rule.py b/msgraph_beta/generated/models/networkaccess/filtering_rule.py new file mode 100644 index 00000000000..40c76961297 --- /dev/null +++ b/msgraph_beta/generated/models/networkaccess/filtering_rule.py @@ -0,0 +1,84 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .fqdn_filtering_rule import FqdnFilteringRule + from .network_destination_type import NetworkDestinationType + from .policy_rule import PolicyRule + from .rule_destination import RuleDestination + from .web_category_filtering_rule import WebCategoryFilteringRule + +from .policy_rule import PolicyRule + +@dataclass +class FilteringRule(PolicyRule): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.networkaccess.filteringRule" + # Possible destinations and types of destinations accessed by the user in accordance with the network filtering policy, such as IP addresses and FQDNs/URLs. + destinations: Optional[List[RuleDestination]] = None + # The ruleType property + rule_type: Optional[NetworkDestinationType] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> FilteringRule: + """ + 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: FilteringRule + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + except AttributeError: + mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.fqdnFilteringRule".casefold(): + from .fqdn_filtering_rule import FqdnFilteringRule + + return FqdnFilteringRule() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.webCategoryFilteringRule".casefold(): + from .web_category_filtering_rule import WebCategoryFilteringRule + + return WebCategoryFilteringRule() + return FilteringRule() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .fqdn_filtering_rule import FqdnFilteringRule + from .network_destination_type import NetworkDestinationType + from .policy_rule import PolicyRule + from .rule_destination import RuleDestination + from .web_category_filtering_rule import WebCategoryFilteringRule + + from .fqdn_filtering_rule import FqdnFilteringRule + from .network_destination_type import NetworkDestinationType + from .policy_rule import PolicyRule + from .rule_destination import RuleDestination + from .web_category_filtering_rule import WebCategoryFilteringRule + + fields: Dict[str, Callable[[Any], None]] = { + "destinations": lambda n : setattr(self, 'destinations', n.get_collection_of_object_values(RuleDestination)), + "ruleType": lambda n : setattr(self, 'rule_type', n.get_enum_value(NetworkDestinationType)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("destinations", self.destinations) + writer.write_enum_value("ruleType", self.rule_type) + + diff --git a/msgraph_beta/generated/models/networkaccess/forwarding_rule.py b/msgraph_beta/generated/models/networkaccess/forwarding_rule.py index 1f27c375ac1..3a198a14720 100644 --- a/msgraph_beta/generated/models/networkaccess/forwarding_rule.py +++ b/msgraph_beta/generated/models/networkaccess/forwarding_rule.py @@ -5,6 +5,7 @@ if TYPE_CHECKING: from .forwarding_rule_action import ForwardingRuleAction + from .internet_access_forwarding_rule import InternetAccessForwardingRule from .m365_forwarding_rule import M365ForwardingRule from .network_destination_type import NetworkDestinationType from .policy_rule import PolicyRule @@ -37,6 +38,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> F mapping_value = parse_node.get_child_node("@odata.type").get_str_value() except AttributeError: mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.internetAccessForwardingRule".casefold(): + from .internet_access_forwarding_rule import InternetAccessForwardingRule + + return InternetAccessForwardingRule() if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.m365ForwardingRule".casefold(): from .m365_forwarding_rule import M365ForwardingRule @@ -53,6 +58,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .forwarding_rule_action import ForwardingRuleAction + from .internet_access_forwarding_rule import InternetAccessForwardingRule from .m365_forwarding_rule import M365ForwardingRule from .network_destination_type import NetworkDestinationType from .policy_rule import PolicyRule @@ -60,6 +66,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .rule_destination import RuleDestination from .forwarding_rule_action import ForwardingRuleAction + from .internet_access_forwarding_rule import InternetAccessForwardingRule from .m365_forwarding_rule import M365ForwardingRule from .network_destination_type import NetworkDestinationType from .policy_rule import PolicyRule diff --git a/msgraph_beta/generated/models/networkaccess/fqdn_filtering_rule.py b/msgraph_beta/generated/models/networkaccess/fqdn_filtering_rule.py new file mode 100644 index 00000000000..88f98c39c5b --- /dev/null +++ b/msgraph_beta/generated/models/networkaccess/fqdn_filtering_rule.py @@ -0,0 +1,52 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .filtering_rule import FilteringRule + +from .filtering_rule import FilteringRule + +@dataclass +class FqdnFilteringRule(FilteringRule): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.networkaccess.fqdnFilteringRule" + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> FqdnFilteringRule: + """ + 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: FqdnFilteringRule + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return FqdnFilteringRule() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .filtering_rule import FilteringRule + + from .filtering_rule import FilteringRule + + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + + diff --git a/msgraph_beta/generated/models/networkaccess/internet_access_forwarding_rule.py b/msgraph_beta/generated/models/networkaccess/internet_access_forwarding_rule.py new file mode 100644 index 00000000000..01406f9c060 --- /dev/null +++ b/msgraph_beta/generated/models/networkaccess/internet_access_forwarding_rule.py @@ -0,0 +1,52 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .forwarding_rule import ForwardingRule + +from .forwarding_rule import ForwardingRule + +@dataclass +class InternetAccessForwardingRule(ForwardingRule): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.networkaccess.internetAccessForwardingRule" + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> InternetAccessForwardingRule: + """ + 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: InternetAccessForwardingRule + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return InternetAccessForwardingRule() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .forwarding_rule import ForwardingRule + + from .forwarding_rule import ForwardingRule + + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + + diff --git a/msgraph_beta/generated/models/networkaccess/local_connectivity_configuration.py b/msgraph_beta/generated/models/networkaccess/local_connectivity_configuration.py index 7a94cb03b4c..0c1a9480f45 100644 --- a/msgraph_beta/generated/models/networkaccess/local_connectivity_configuration.py +++ b/msgraph_beta/generated/models/networkaccess/local_connectivity_configuration.py @@ -14,11 +14,11 @@ class LocalConnectivityConfiguration(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 asn property + # Specifies ASN of one end of IPSec tunnel (local or peer). asn: Optional[int] = None - # The bgpAddress property + # Specifies BGP IPv4 address of one end of IPSec tunnel (local or peer). bgp_address: Optional[str] = None - # The endpoint property + # Specifies public IPv4 address of one end of IPSec tunnel (local or peer). endpoint: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/networkaccess/logs.py b/msgraph_beta/generated/models/networkaccess/logs.py index 94b682184f8..6ff01777014 100644 --- a/msgraph_beta/generated/models/networkaccess/logs.py +++ b/msgraph_beta/generated/models/networkaccess/logs.py @@ -6,6 +6,7 @@ if TYPE_CHECKING: from ..entity import Entity from .network_access_traffic import NetworkAccessTraffic + from .remote_network_health_event import RemoteNetworkHealthEvent from ..entity import Entity @@ -13,7 +14,9 @@ class Logs(Entity): # The OdataType property odata_type: Optional[str] = None - # Represents a collection of log entries in the network access traffic log. + # A collection of remote network health events. + remote_networks: Optional[List[RemoteNetworkHealthEvent]] = None + # A network access traffic log entry that contains comprehensive information about network traffic events. traffic: Optional[List[NetworkAccessTraffic]] = None @staticmethod @@ -34,11 +37,14 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ from ..entity import Entity from .network_access_traffic import NetworkAccessTraffic + from .remote_network_health_event import RemoteNetworkHealthEvent from ..entity import Entity from .network_access_traffic import NetworkAccessTraffic + from .remote_network_health_event import RemoteNetworkHealthEvent fields: Dict[str, Callable[[Any], None]] = { + "remoteNetworks": lambda n : setattr(self, 'remote_networks', n.get_collection_of_object_values(RemoteNetworkHealthEvent)), "traffic": lambda n : setattr(self, 'traffic', n.get_collection_of_object_values(NetworkAccessTraffic)), } super_fields = super().get_field_deserializers() @@ -54,6 +60,7 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") super().serialize(writer) + writer.write_collection_of_object_values("remoteNetworks", self.remote_networks) writer.write_collection_of_object_values("traffic", self.traffic) diff --git a/msgraph_beta/generated/models/networkaccess/network_access_root.py b/msgraph_beta/generated/models/networkaccess/network_access_root.py index a1c44988d0d..3c9142dd9f1 100644 --- a/msgraph_beta/generated/models/networkaccess/network_access_root.py +++ b/msgraph_beta/generated/models/networkaccess/network_access_root.py @@ -6,6 +6,8 @@ if TYPE_CHECKING: from ..entity import Entity from .connectivity import Connectivity + from .filtering_policy import FilteringPolicy + from .filtering_profile import FilteringProfile from .forwarding_policy import ForwardingPolicy from .forwarding_profile import ForwardingProfile from .logs import Logs @@ -19,6 +21,10 @@ class NetworkAccessRoot(Entity): # Connectivity represents all the connectivity components in Global Secure Access. connectivity: Optional[Connectivity] = None + # A filtering policy defines the specific traffic that is allowed or blocked through the Global Secure Access services for a filtering profile. + filtering_policies: Optional[List[FilteringPolicy]] = None + # A filtering profile associates network access policies with Microsoft Entra ID Conditional Access policies, so that access policies can be applied to users and groups. + filtering_profiles: Optional[List[FilteringProfile]] = None # A forwarding policy defines the specific traffic that is routed through the Global Secure Access Service. It's then added to a forwarding profile. forwarding_policies: Optional[List[ForwardingPolicy]] = None # A forwarding profile determines which types of traffic are routed through the Global Secure Access services and which ones are skipped. The handling of specific traffic is determined by the forwarding policies that are added to the forwarding profile. @@ -52,6 +58,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ from ..entity import Entity from .connectivity import Connectivity + from .filtering_policy import FilteringPolicy + from .filtering_profile import FilteringProfile from .forwarding_policy import ForwardingPolicy from .forwarding_profile import ForwardingProfile from .logs import Logs @@ -61,6 +69,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from ..entity import Entity from .connectivity import Connectivity + from .filtering_policy import FilteringPolicy + from .filtering_profile import FilteringProfile from .forwarding_policy import ForwardingPolicy from .forwarding_profile import ForwardingProfile from .logs import Logs @@ -70,6 +80,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "connectivity": lambda n : setattr(self, 'connectivity', n.get_object_value(Connectivity)), + "filteringPolicies": lambda n : setattr(self, 'filtering_policies', n.get_collection_of_object_values(FilteringPolicy)), + "filteringProfiles": lambda n : setattr(self, 'filtering_profiles', n.get_collection_of_object_values(FilteringProfile)), "forwardingPolicies": lambda n : setattr(self, 'forwarding_policies', n.get_collection_of_object_values(ForwardingPolicy)), "forwardingProfiles": lambda n : setattr(self, 'forwarding_profiles', n.get_collection_of_object_values(ForwardingProfile)), "logs": lambda n : setattr(self, 'logs', n.get_object_value(Logs)), @@ -91,6 +103,8 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") super().serialize(writer) writer.write_object_value("connectivity", self.connectivity) + writer.write_collection_of_object_values("filteringPolicies", self.filtering_policies) + writer.write_collection_of_object_values("filteringProfiles", self.filtering_profiles) writer.write_collection_of_object_values("forwardingPolicies", self.forwarding_policies) writer.write_collection_of_object_values("forwardingProfiles", self.forwarding_profiles) writer.write_object_value("logs", self.logs) diff --git a/msgraph_beta/generated/models/networkaccess/network_access_traffic.py b/msgraph_beta/generated/models/networkaccess/network_access_traffic.py index f9797d0d1a3..f376655aa91 100644 --- a/msgraph_beta/generated/models/networkaccess/network_access_traffic.py +++ b/msgraph_beta/generated/models/networkaccess/network_access_traffic.py @@ -7,9 +7,11 @@ if TYPE_CHECKING: from .device_category import DeviceCategory + from .filtering_policy_action import FilteringPolicyAction from .headers import Headers from .networking_protocol import NetworkingProtocol from .traffic_type import TrafficType + from .web_category import WebCategory @dataclass class NetworkAccessTraffic(AdditionalDataHolder, BackedModel, Parsable): @@ -18,6 +20,8 @@ class NetworkAccessTraffic(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 action property + action: Optional[FilteringPolicyAction] = None # Represents the version of the Global Secure Access client agent software. Supports $filter (eq) and $orderby. agent_version: Optional[str] = None # Represents a unique identifier assigned to a connection. Supports $filter (eq) and $orderby. @@ -30,6 +34,8 @@ class NetworkAccessTraffic(AdditionalDataHolder, BackedModel, Parsable): destination_ip: Optional[str] = None # Represents the network port number on the destination host or server in a network communication. Supports $filter (eq) and $orderby. destination_port: Optional[int] = None + # The destinationWebCategory property + destination_web_category: Optional[WebCategory] = None # Represents the category classification of a device within a network infrastructure. The possible values are: client, branch, unknownFutureValue. Supports $filter (eq) and $orderby. device_category: Optional[DeviceCategory] = None # Represents a unique identifier assigned to a device within a network infrastructure. Supports $filter (eq) and $orderby. @@ -100,22 +106,28 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .device_category import DeviceCategory + from .filtering_policy_action import FilteringPolicyAction from .headers import Headers from .networking_protocol import NetworkingProtocol from .traffic_type import TrafficType + from .web_category import WebCategory from .device_category import DeviceCategory + from .filtering_policy_action import FilteringPolicyAction from .headers import Headers from .networking_protocol import NetworkingProtocol from .traffic_type import TrafficType + from .web_category import WebCategory fields: Dict[str, Callable[[Any], None]] = { + "action": lambda n : setattr(self, 'action', n.get_enum_value(FilteringPolicyAction)), "agentVersion": lambda n : setattr(self, 'agent_version', n.get_str_value()), "connectionId": lambda n : setattr(self, 'connection_id', n.get_str_value()), "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), "destinationFQDN": lambda n : setattr(self, 'destination_f_q_d_n', n.get_str_value()), "destinationIp": lambda n : setattr(self, 'destination_ip', n.get_str_value()), "destinationPort": lambda n : setattr(self, 'destination_port', n.get_int_value()), + "destinationWebCategory": lambda n : setattr(self, 'destination_web_category', n.get_object_value(WebCategory)), "deviceCategory": lambda n : setattr(self, 'device_category', n.get_enum_value(DeviceCategory)), "deviceId": lambda n : setattr(self, 'device_id', n.get_str_value()), "deviceOperatingSystem": lambda n : setattr(self, 'device_operating_system', n.get_str_value()), @@ -153,12 +165,14 @@ def serialize(self,writer: SerializationWriter) -> None: """ if not writer: raise TypeError("writer cannot be null.") + writer.write_enum_value("action", self.action) writer.write_str_value("agentVersion", self.agent_version) writer.write_str_value("connectionId", self.connection_id) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("destinationFQDN", self.destination_f_q_d_n) writer.write_str_value("destinationIp", self.destination_ip) writer.write_int_value("destinationPort", self.destination_port) + writer.write_object_value("destinationWebCategory", self.destination_web_category) writer.write_enum_value("deviceCategory", self.device_category) writer.write_str_value("deviceId", self.device_id) writer.write_str_value("deviceOperatingSystem", self.device_operating_system) diff --git a/msgraph_beta/generated/models/networkaccess/peer_connectivity_configuration.py b/msgraph_beta/generated/models/networkaccess/peer_connectivity_configuration.py index d8e3054b73d..7d0cffa6776 100644 --- a/msgraph_beta/generated/models/networkaccess/peer_connectivity_configuration.py +++ b/msgraph_beta/generated/models/networkaccess/peer_connectivity_configuration.py @@ -11,11 +11,11 @@ class PeerConnectivityConfiguration(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 asn property + # Specifies ASN of one end of IPSec tunnel (local or peer). asn: Optional[int] = None - # The bgpAddress property + # Specifies BGP IPv4 address of one end of IPSec tunnel (local or peer). bgp_address: Optional[str] = None - # The endpoint property + # Specifies public IPv4 address of one end of IPSec tunnel (local or peer). endpoint: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/networkaccess/policy.py b/msgraph_beta/generated/models/networkaccess/policy.py index aa83c8b6279..767854d5ee2 100644 --- a/msgraph_beta/generated/models/networkaccess/policy.py +++ b/msgraph_beta/generated/models/networkaccess/policy.py @@ -5,6 +5,7 @@ if TYPE_CHECKING: from ..entity import Entity + from .filtering_policy import FilteringPolicy from .forwarding_policy import ForwardingPolicy from .policy_rule import PolicyRule @@ -36,6 +37,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> P mapping_value = parse_node.get_child_node("@odata.type").get_str_value() except AttributeError: mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.filteringPolicy".casefold(): + from .filtering_policy import FilteringPolicy + + return FilteringPolicy() if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.forwardingPolicy".casefold(): from .forwarding_policy import ForwardingPolicy @@ -48,10 +53,12 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from ..entity import Entity + from .filtering_policy import FilteringPolicy from .forwarding_policy import ForwardingPolicy from .policy_rule import PolicyRule from ..entity import Entity + from .filtering_policy import FilteringPolicy from .forwarding_policy import ForwardingPolicy from .policy_rule import PolicyRule diff --git a/msgraph_beta/generated/models/networkaccess/policy_link.py b/msgraph_beta/generated/models/networkaccess/policy_link.py index ae0b2aa32c9..af9f4a5a0a1 100644 --- a/msgraph_beta/generated/models/networkaccess/policy_link.py +++ b/msgraph_beta/generated/models/networkaccess/policy_link.py @@ -5,6 +5,7 @@ if TYPE_CHECKING: from ..entity import Entity + from .filtering_policy_link import FilteringPolicyLink from .forwarding_policy_link import ForwardingPolicyLink from .policy import Policy from .status import Status @@ -35,6 +36,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> P mapping_value = parse_node.get_child_node("@odata.type").get_str_value() except AttributeError: mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.filteringPolicyLink".casefold(): + from .filtering_policy_link import FilteringPolicyLink + + return FilteringPolicyLink() if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.forwardingPolicyLink".casefold(): from .forwarding_policy_link import ForwardingPolicyLink @@ -47,11 +52,13 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from ..entity import Entity + from .filtering_policy_link import FilteringPolicyLink from .forwarding_policy_link import ForwardingPolicyLink from .policy import Policy from .status import Status from ..entity import Entity + from .filtering_policy_link import FilteringPolicyLink from .forwarding_policy_link import ForwardingPolicyLink from .policy import Policy from .status import Status diff --git a/msgraph_beta/generated/models/networkaccess/policy_rule.py b/msgraph_beta/generated/models/networkaccess/policy_rule.py index 903ef83fb23..ac929ee2b2e 100644 --- a/msgraph_beta/generated/models/networkaccess/policy_rule.py +++ b/msgraph_beta/generated/models/networkaccess/policy_rule.py @@ -5,9 +5,13 @@ if TYPE_CHECKING: from ..entity import Entity + from .filtering_rule import FilteringRule from .forwarding_rule import ForwardingRule + from .fqdn_filtering_rule import FqdnFilteringRule + from .internet_access_forwarding_rule import InternetAccessForwardingRule from .m365_forwarding_rule import M365ForwardingRule from .private_access_forwarding_rule import PrivateAccessForwardingRule + from .web_category_filtering_rule import WebCategoryFilteringRule from ..entity import Entity @@ -31,10 +35,22 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> P mapping_value = parse_node.get_child_node("@odata.type").get_str_value() except AttributeError: mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.filteringRule".casefold(): + from .filtering_rule import FilteringRule + + return FilteringRule() if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.forwardingRule".casefold(): from .forwarding_rule import ForwardingRule return ForwardingRule() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.fqdnFilteringRule".casefold(): + from .fqdn_filtering_rule import FqdnFilteringRule + + return FqdnFilteringRule() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.internetAccessForwardingRule".casefold(): + from .internet_access_forwarding_rule import InternetAccessForwardingRule + + return InternetAccessForwardingRule() if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.m365ForwardingRule".casefold(): from .m365_forwarding_rule import M365ForwardingRule @@ -43,6 +59,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> P from .private_access_forwarding_rule import PrivateAccessForwardingRule return PrivateAccessForwardingRule() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.webCategoryFilteringRule".casefold(): + from .web_category_filtering_rule import WebCategoryFilteringRule + + return WebCategoryFilteringRule() return PolicyRule() def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: @@ -51,14 +71,22 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from ..entity import Entity + from .filtering_rule import FilteringRule from .forwarding_rule import ForwardingRule + from .fqdn_filtering_rule import FqdnFilteringRule + from .internet_access_forwarding_rule import InternetAccessForwardingRule from .m365_forwarding_rule import M365ForwardingRule from .private_access_forwarding_rule import PrivateAccessForwardingRule + from .web_category_filtering_rule import WebCategoryFilteringRule from ..entity import Entity + from .filtering_rule import FilteringRule from .forwarding_rule import ForwardingRule + from .fqdn_filtering_rule import FqdnFilteringRule + from .internet_access_forwarding_rule import InternetAccessForwardingRule from .m365_forwarding_rule import M365ForwardingRule from .private_access_forwarding_rule import PrivateAccessForwardingRule + from .web_category_filtering_rule import WebCategoryFilteringRule fields: Dict[str, Callable[[Any], None]] = { "name": lambda n : setattr(self, 'name', n.get_str_value()), diff --git a/msgraph_beta/generated/models/networkaccess/profile.py b/msgraph_beta/generated/models/networkaccess/profile.py index b6a99f37078..0c9d8c21015 100644 --- a/msgraph_beta/generated/models/networkaccess/profile.py +++ b/msgraph_beta/generated/models/networkaccess/profile.py @@ -6,6 +6,7 @@ if TYPE_CHECKING: from ..entity import Entity + from .filtering_profile import FilteringProfile from .forwarding_profile import ForwardingProfile from .policy_link import PolicyLink from .status import Status @@ -42,6 +43,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> P mapping_value = parse_node.get_child_node("@odata.type").get_str_value() except AttributeError: mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.filteringProfile".casefold(): + from .filtering_profile import FilteringProfile + + return FilteringProfile() if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.forwardingProfile".casefold(): from .forwarding_profile import ForwardingProfile @@ -54,11 +59,13 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from ..entity import Entity + from .filtering_profile import FilteringProfile from .forwarding_profile import ForwardingProfile from .policy_link import PolicyLink from .status import Status from ..entity import Entity + from .filtering_profile import FilteringProfile from .forwarding_profile import ForwardingProfile from .policy_link import PolicyLink from .status import Status diff --git a/msgraph_beta/generated/models/networkaccess/region.py b/msgraph_beta/generated/models/networkaccess/region.py index 081c0603468..f9c9e1ecd7b 100644 --- a/msgraph_beta/generated/models/networkaccess/region.py +++ b/msgraph_beta/generated/models/networkaccess/region.py @@ -20,5 +20,17 @@ class Region(str, Enum): SouthAfricaWest = "southAfricaWest", SouthAfricaNorth = "southAfricaNorth", UaeNorth = "uaeNorth", + AustraliaEast = "australiaEast", + WestCentralUS = "westCentralUS", + CentralIndia = "centralIndia", + SouthEastAsia = "southEastAsia", + SwedenCentral = "swedenCentral", + SouthIndia = "southIndia", + AustraliaSouthEast = "australiaSouthEast", + KoreaCentral = "koreaCentral", + PolandCentral = "polandCentral", + BrazilSouth = "brazilSouth", + JapanEast = "japanEast", + JapanWest = "japanWest", UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/networkaccess/remote_network_health_event.py b/msgraph_beta/generated/models/networkaccess/remote_network_health_event.py new file mode 100644 index 00000000000..fba9c6bd6cb --- /dev/null +++ b/msgraph_beta/generated/models/networkaccess/remote_network_health_event.py @@ -0,0 +1,92 @@ +from __future__ import annotations +import datetime +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..entity import Entity + from .remote_network_status import RemoteNetworkStatus + +from ..entity import Entity + +@dataclass +class RemoteNetworkHealthEvent(Entity): + # The number of BGP routes advertised through tunnel. + bgp_routes_advertised_count: Optional[int] = None + # The time of the original event generation in UTC. Supports $filter (ge, le) and $orderby. + created_date_time: Optional[datetime.datetime] = None + # The description of the event. + description: Optional[str] = None + # The IP address of the destination. + destination_ip: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + # The number of bytes sent from the destination to the source. + received_bytes: Optional[int] = None + # A unique identifier for each remoteNetwork site. Supports $filter (eq). + remote_network_id: Optional[str] = None + # The number of bytes sent from the source to the destination for the connection or session. + sent_bytes: Optional[int] = None + # The public IP address. + source_ip: Optional[str] = None + # The status property + status: Optional[RemoteNetworkStatus] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> RemoteNetworkHealthEvent: + """ + 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: RemoteNetworkHealthEvent + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return RemoteNetworkHealthEvent() + + 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 .remote_network_status import RemoteNetworkStatus + + from ..entity import Entity + from .remote_network_status import RemoteNetworkStatus + + fields: Dict[str, Callable[[Any], None]] = { + "bgpRoutesAdvertisedCount": lambda n : setattr(self, 'bgp_routes_advertised_count', n.get_int_value()), + "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), + "description": lambda n : setattr(self, 'description', n.get_str_value()), + "destinationIp": lambda n : setattr(self, 'destination_ip', n.get_str_value()), + "receivedBytes": lambda n : setattr(self, 'received_bytes', n.get_int_value()), + "remoteNetworkId": lambda n : setattr(self, 'remote_network_id', n.get_str_value()), + "sentBytes": lambda n : setattr(self, 'sent_bytes', n.get_int_value()), + "sourceIp": lambda n : setattr(self, 'source_ip', n.get_str_value()), + "status": lambda n : setattr(self, 'status', n.get_enum_value(RemoteNetworkStatus)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_int_value("bgpRoutesAdvertisedCount", self.bgp_routes_advertised_count) + writer.write_datetime_value("createdDateTime", self.created_date_time) + writer.write_str_value("description", self.description) + writer.write_str_value("destinationIp", self.destination_ip) + writer.write_int_value("receivedBytes", self.received_bytes) + writer.write_str_value("remoteNetworkId", self.remote_network_id) + writer.write_int_value("sentBytes", self.sent_bytes) + writer.write_str_value("sourceIp", self.source_ip) + writer.write_enum_value("status", self.status) + + diff --git a/msgraph_beta/generated/models/networkaccess/remote_network_health_event_collection_response.py b/msgraph_beta/generated/models/networkaccess/remote_network_health_event_collection_response.py new file mode 100644 index 00000000000..0a46bb2e84d --- /dev/null +++ b/msgraph_beta/generated/models/networkaccess/remote_network_health_event_collection_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .remote_network_health_event import RemoteNetworkHealthEvent + +from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class RemoteNetworkHealthEventCollectionResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[RemoteNetworkHealthEvent]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> RemoteNetworkHealthEventCollectionResponse: + """ + 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: RemoteNetworkHealthEventCollectionResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return RemoteNetworkHealthEventCollectionResponse() + + 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 .remote_network_health_event import RemoteNetworkHealthEvent + + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .remote_network_health_event import RemoteNetworkHealthEvent + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(RemoteNetworkHealthEvent)), + } + 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 not writer: + 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/networkaccess/remote_network_status.py b/msgraph_beta/generated/models/networkaccess/remote_network_status.py new file mode 100644 index 00000000000..3edb70812fd --- /dev/null +++ b/msgraph_beta/generated/models/networkaccess/remote_network_status.py @@ -0,0 +1,10 @@ +from enum import Enum + +class RemoteNetworkStatus(str, Enum): + TunnelDisconnected = "tunnelDisconnected", + TunnelConnected = "tunnelConnected", + BgpDisconnected = "bgpDisconnected", + BgpConnected = "bgpConnected", + RemoteNetworkAlive = "remoteNetworkAlive", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/networkaccess/rule_destination.py b/msgraph_beta/generated/models/networkaccess/rule_destination.py index cbfb1a0a6af..f67ebbae05d 100644 --- a/msgraph_beta/generated/models/networkaccess/rule_destination.py +++ b/msgraph_beta/generated/models/networkaccess/rule_destination.py @@ -10,6 +10,7 @@ from .ip_range import IpRange from .ip_subnet import IpSubnet from .url import Url + from .web_category import WebCategory @dataclass class RuleDestination(AdditionalDataHolder, BackedModel, Parsable): @@ -54,6 +55,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> R from .url import Url return Url() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.networkaccess.webCategory".casefold(): + from .web_category import WebCategory + + return WebCategory() return RuleDestination() def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: @@ -66,12 +71,14 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .ip_range import IpRange from .ip_subnet import IpSubnet from .url import Url + from .web_category import WebCategory from .fqdn import Fqdn from .ip_address import IpAddress from .ip_range import IpRange from .ip_subnet import IpSubnet from .url import Url + from .web_category import WebCategory 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/networkaccess/transaction_summary.py b/msgraph_beta/generated/models/networkaccess/transaction_summary.py index 3b4f06cb689..61710925f31 100644 --- a/msgraph_beta/generated/models/networkaccess/transaction_summary.py +++ b/msgraph_beta/generated/models/networkaccess/transaction_summary.py @@ -14,11 +14,11 @@ class TransactionSummary(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) - # Count of transactions that were blocked. + # The number of transactions that were blocked. blocked_count: Optional[int] = None # The OdataType property odata_type: Optional[str] = None - # Count of transactions. + # The total number of transactions. total_count: Optional[int] = None # The trafficType property traffic_type: Optional[TrafficType] = None diff --git a/msgraph_beta/generated/models/networkaccess/user.py b/msgraph_beta/generated/models/networkaccess/user.py index 9ce3cb47c06..a77e6f52afe 100644 --- a/msgraph_beta/generated/models/networkaccess/user.py +++ b/msgraph_beta/generated/models/networkaccess/user.py @@ -16,17 +16,17 @@ class User(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 displayName property + # User display Name. display_name: Optional[str] = None - # The lastAccessDateTime property + # The date and time of the most recent access. last_access_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None # The trafficType property traffic_type: Optional[TrafficType] = None - # The userId property + # The ID for the user. user_id: Optional[str] = None - # The userPrincipalName property + # A unique identifier that is associated with a user in a system or directory. Typically, this value is an email address that is used for user authentication and identification. user_principal_name: Optional[str] = None # The userType property user_type: Optional[UserType] = None diff --git a/msgraph_beta/generated/models/networkaccess/web_categories_summary.py b/msgraph_beta/generated/models/networkaccess/web_categories_summary.py index b119f19a314..ca9d9547a24 100644 --- a/msgraph_beta/generated/models/networkaccess/web_categories_summary.py +++ b/msgraph_beta/generated/models/networkaccess/web_categories_summary.py @@ -4,6 +4,9 @@ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +if TYPE_CHECKING: + from .web_category import WebCategory + @dataclass class WebCategoriesSummary(AdditionalDataHolder, BackedModel, Parsable): # Stores model information. @@ -11,14 +14,16 @@ class WebCategoriesSummary(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 deviceCount property + # The number of unique devices that were seen. device_count: Optional[int] = None # The OdataType property odata_type: Optional[str] = None - # The transactionCount property + # The number of transactions that were seen. transaction_count: Optional[int] = None - # The userCount property + # The number of unique Microsoft Entra ID users that were seen. user_count: Optional[int] = None + # The webCategory property + web_category: Optional[WebCategory] = None @staticmethod def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> WebCategoriesSummary: @@ -36,11 +41,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 .web_category import WebCategory + + from .web_category import WebCategory + fields: Dict[str, Callable[[Any], None]] = { "deviceCount": lambda n : setattr(self, 'device_count', n.get_int_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "transactionCount": lambda n : setattr(self, 'transaction_count', n.get_int_value()), "userCount": lambda n : setattr(self, 'user_count', n.get_int_value()), + "webCategory": lambda n : setattr(self, 'web_category', n.get_object_value(WebCategory)), } return fields @@ -56,6 +66,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("@odata.type", self.odata_type) writer.write_int_value("transactionCount", self.transaction_count) writer.write_int_value("userCount", self.user_count) + writer.write_object_value("webCategory", self.web_category) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/networkaccess/web_category.py b/msgraph_beta/generated/models/networkaccess/web_category.py new file mode 100644 index 00000000000..f2a7554d938 --- /dev/null +++ b/msgraph_beta/generated/models/networkaccess/web_category.py @@ -0,0 +1,64 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .rule_destination import RuleDestination + +from .rule_destination import RuleDestination + +@dataclass +class WebCategory(RuleDestination): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.networkaccess.webCategory" + # The display name for the web category. + display_name: Optional[str] = None + # The group or category to which the web category belongs. + group: Optional[str] = None + # The unique name that is associated with the web category. + name: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> WebCategory: + """ + 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: WebCategory + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return WebCategory() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .rule_destination import RuleDestination + + from .rule_destination import RuleDestination + + fields: Dict[str, Callable[[Any], None]] = { + "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + "group": lambda n : setattr(self, 'group', n.get_str_value()), + "name": lambda n : setattr(self, '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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_str_value("displayName", self.display_name) + writer.write_str_value("group", self.group) + writer.write_str_value("name", self.name) + + diff --git a/msgraph_beta/generated/models/networkaccess/web_category_filtering_rule.py b/msgraph_beta/generated/models/networkaccess/web_category_filtering_rule.py new file mode 100644 index 00000000000..c6f23574122 --- /dev/null +++ b/msgraph_beta/generated/models/networkaccess/web_category_filtering_rule.py @@ -0,0 +1,52 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .filtering_rule import FilteringRule + +from .filtering_rule import FilteringRule + +@dataclass +class WebCategoryFilteringRule(FilteringRule): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.networkaccess.webCategoryFilteringRule" + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> WebCategoryFilteringRule: + """ + 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: WebCategoryFilteringRule + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return WebCategoryFilteringRule() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .filtering_rule import FilteringRule + + from .filtering_rule import FilteringRule + + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + + diff --git a/msgraph_beta/generated/models/no_device_registration_membership.py b/msgraph_beta/generated/models/no_device_registration_membership.py new file mode 100644 index 00000000000..64efa4ab6a8 --- /dev/null +++ b/msgraph_beta/generated/models/no_device_registration_membership.py @@ -0,0 +1,52 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .device_registration_membership import DeviceRegistrationMembership + +from .device_registration_membership import DeviceRegistrationMembership + +@dataclass +class NoDeviceRegistrationMembership(DeviceRegistrationMembership): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.noDeviceRegistrationMembership" + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> NoDeviceRegistrationMembership: + """ + 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: NoDeviceRegistrationMembership + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return NoDeviceRegistrationMembership() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .device_registration_membership import DeviceRegistrationMembership + + from .device_registration_membership import DeviceRegistrationMembership + + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + + diff --git a/msgraph_beta/generated/models/o_data_errors/inner_error.py b/msgraph_beta/generated/models/o_data_errors/inner_error.py index dd003ead61b..d2e18b105b1 100644 --- a/msgraph_beta/generated/models/o_data_errors/inner_error.py +++ b/msgraph_beta/generated/models/o_data_errors/inner_error.py @@ -39,7 +39,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ fields: Dict[str, Callable[[Any], None]] = { "client-request-id": lambda n : setattr(self, 'client_request_id', n.get_str_value()), - "Date": lambda n : setattr(self, 'date', n.get_datetime_value()), + "date": lambda n : setattr(self, 'date', n.get_datetime_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "request-id": lambda n : setattr(self, 'request_id', n.get_str_value()), } @@ -54,7 +54,7 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") writer.write_str_value("client-request-id", self.client_request_id) - writer.write_datetime_value("Date", self.date) + writer.write_datetime_value("date", self.date) writer.write_str_value("@odata.type", self.odata_type) writer.write_str_value("request-id", self.request_id) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/on_attribute_collection_start_custom_extension.py b/msgraph_beta/generated/models/on_attribute_collection_start_custom_extension.py new file mode 100644 index 00000000000..9721de834a8 --- /dev/null +++ b/msgraph_beta/generated/models/on_attribute_collection_start_custom_extension.py @@ -0,0 +1,52 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .custom_authentication_extension import CustomAuthenticationExtension + +from .custom_authentication_extension import CustomAuthenticationExtension + +@dataclass +class OnAttributeCollectionStartCustomExtension(CustomAuthenticationExtension): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.onAttributeCollectionStartCustomExtension" + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> OnAttributeCollectionStartCustomExtension: + """ + 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: OnAttributeCollectionStartCustomExtension + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return OnAttributeCollectionStartCustomExtension() + + 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_authentication_extension import CustomAuthenticationExtension + + from .custom_authentication_extension import CustomAuthenticationExtension + + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + + diff --git a/msgraph_beta/generated/models/on_attribute_collection_start_custom_extension_handler.py b/msgraph_beta/generated/models/on_attribute_collection_start_custom_extension_handler.py new file mode 100644 index 00000000000..9ed417ad7bd --- /dev/null +++ b/msgraph_beta/generated/models/on_attribute_collection_start_custom_extension_handler.py @@ -0,0 +1,66 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .custom_extension_overwrite_configuration import CustomExtensionOverwriteConfiguration + from .on_attribute_collection_start_custom_extension import OnAttributeCollectionStartCustomExtension + from .on_attribute_collection_start_handler import OnAttributeCollectionStartHandler + +from .on_attribute_collection_start_handler import OnAttributeCollectionStartHandler + +@dataclass +class OnAttributeCollectionStartCustomExtensionHandler(OnAttributeCollectionStartHandler): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.onAttributeCollectionStartCustomExtensionHandler" + # Configuration regarding properties of the custom extension that are can be overwritten per event listener. + configuration: Optional[CustomExtensionOverwriteConfiguration] = None + # The customExtension property + custom_extension: Optional[OnAttributeCollectionStartCustomExtension] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> OnAttributeCollectionStartCustomExtensionHandler: + """ + 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: OnAttributeCollectionStartCustomExtensionHandler + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return OnAttributeCollectionStartCustomExtensionHandler() + + 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_overwrite_configuration import CustomExtensionOverwriteConfiguration + from .on_attribute_collection_start_custom_extension import OnAttributeCollectionStartCustomExtension + from .on_attribute_collection_start_handler import OnAttributeCollectionStartHandler + + from .custom_extension_overwrite_configuration import CustomExtensionOverwriteConfiguration + from .on_attribute_collection_start_custom_extension import OnAttributeCollectionStartCustomExtension + from .on_attribute_collection_start_handler import OnAttributeCollectionStartHandler + + fields: Dict[str, Callable[[Any], None]] = { + "configuration": lambda n : setattr(self, 'configuration', n.get_object_value(CustomExtensionOverwriteConfiguration)), + "customExtension": lambda n : setattr(self, 'custom_extension', n.get_object_value(OnAttributeCollectionStartCustomExtension)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_object_value("configuration", self.configuration) + writer.write_object_value("customExtension", self.custom_extension) + + diff --git a/msgraph_beta/generated/models/on_attribute_collection_start_handler.py b/msgraph_beta/generated/models/on_attribute_collection_start_handler.py new file mode 100644 index 00000000000..c4190f7b720 --- /dev/null +++ b/msgraph_beta/generated/models/on_attribute_collection_start_handler.py @@ -0,0 +1,64 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .on_attribute_collection_start_custom_extension_handler import OnAttributeCollectionStartCustomExtensionHandler + +@dataclass +class OnAttributeCollectionStartHandler(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: Optional[ParseNode] = None) -> OnAttributeCollectionStartHandler: + """ + 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: OnAttributeCollectionStartHandler + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + except AttributeError: + mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.onAttributeCollectionStartCustomExtensionHandler".casefold(): + from .on_attribute_collection_start_custom_extension_handler import OnAttributeCollectionStartCustomExtensionHandler + + return OnAttributeCollectionStartCustomExtensionHandler() + return OnAttributeCollectionStartHandler() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .on_attribute_collection_start_custom_extension_handler import OnAttributeCollectionStartCustomExtensionHandler + + from .on_attribute_collection_start_custom_extension_handler import OnAttributeCollectionStartCustomExtensionHandler + + 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 not writer: + 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/on_attribute_collection_start_listener.py b/msgraph_beta/generated/models/on_attribute_collection_start_listener.py new file mode 100644 index 00000000000..8f574f48493 --- /dev/null +++ b/msgraph_beta/generated/models/on_attribute_collection_start_listener.py @@ -0,0 +1,59 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .authentication_event_listener import AuthenticationEventListener + from .on_attribute_collection_start_handler import OnAttributeCollectionStartHandler + +from .authentication_event_listener import AuthenticationEventListener + +@dataclass +class OnAttributeCollectionStartListener(AuthenticationEventListener): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.onAttributeCollectionStartListener" + # Configuration for what to invoke if the event resolves to this listener. + handler: Optional[OnAttributeCollectionStartHandler] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> OnAttributeCollectionStartListener: + """ + 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: OnAttributeCollectionStartListener + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return OnAttributeCollectionStartListener() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .authentication_event_listener import AuthenticationEventListener + from .on_attribute_collection_start_handler import OnAttributeCollectionStartHandler + + from .authentication_event_listener import AuthenticationEventListener + from .on_attribute_collection_start_handler import OnAttributeCollectionStartHandler + + fields: Dict[str, Callable[[Any], None]] = { + "handler": lambda n : setattr(self, 'handler', n.get_object_value(OnAttributeCollectionStartHandler)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_object_value("handler", self.handler) + + diff --git a/msgraph_beta/generated/models/on_attribute_collection_submit_custom_extension.py b/msgraph_beta/generated/models/on_attribute_collection_submit_custom_extension.py new file mode 100644 index 00000000000..1a39c0138a8 --- /dev/null +++ b/msgraph_beta/generated/models/on_attribute_collection_submit_custom_extension.py @@ -0,0 +1,52 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .custom_authentication_extension import CustomAuthenticationExtension + +from .custom_authentication_extension import CustomAuthenticationExtension + +@dataclass +class OnAttributeCollectionSubmitCustomExtension(CustomAuthenticationExtension): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.onAttributeCollectionSubmitCustomExtension" + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> OnAttributeCollectionSubmitCustomExtension: + """ + 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: OnAttributeCollectionSubmitCustomExtension + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return OnAttributeCollectionSubmitCustomExtension() + + 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_authentication_extension import CustomAuthenticationExtension + + from .custom_authentication_extension import CustomAuthenticationExtension + + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + + diff --git a/msgraph_beta/generated/models/on_attribute_collection_submit_custom_extension_handler.py b/msgraph_beta/generated/models/on_attribute_collection_submit_custom_extension_handler.py new file mode 100644 index 00000000000..4b70772ba1d --- /dev/null +++ b/msgraph_beta/generated/models/on_attribute_collection_submit_custom_extension_handler.py @@ -0,0 +1,66 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .custom_extension_overwrite_configuration import CustomExtensionOverwriteConfiguration + from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension + from .on_attribute_collection_submit_handler import OnAttributeCollectionSubmitHandler + +from .on_attribute_collection_submit_handler import OnAttributeCollectionSubmitHandler + +@dataclass +class OnAttributeCollectionSubmitCustomExtensionHandler(OnAttributeCollectionSubmitHandler): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.onAttributeCollectionSubmitCustomExtensionHandler" + # Configuration regarding properties of the custom extension that can be overwritten per event listener. + configuration: Optional[CustomExtensionOverwriteConfiguration] = None + # The customExtension property + custom_extension: Optional[OnAttributeCollectionSubmitCustomExtension] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> OnAttributeCollectionSubmitCustomExtensionHandler: + """ + 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: OnAttributeCollectionSubmitCustomExtensionHandler + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return OnAttributeCollectionSubmitCustomExtensionHandler() + + 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_overwrite_configuration import CustomExtensionOverwriteConfiguration + from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension + from .on_attribute_collection_submit_handler import OnAttributeCollectionSubmitHandler + + from .custom_extension_overwrite_configuration import CustomExtensionOverwriteConfiguration + from .on_attribute_collection_submit_custom_extension import OnAttributeCollectionSubmitCustomExtension + from .on_attribute_collection_submit_handler import OnAttributeCollectionSubmitHandler + + fields: Dict[str, Callable[[Any], None]] = { + "configuration": lambda n : setattr(self, 'configuration', n.get_object_value(CustomExtensionOverwriteConfiguration)), + "customExtension": lambda n : setattr(self, 'custom_extension', n.get_object_value(OnAttributeCollectionSubmitCustomExtension)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_object_value("configuration", self.configuration) + writer.write_object_value("customExtension", self.custom_extension) + + diff --git a/msgraph_beta/generated/models/on_attribute_collection_submit_handler.py b/msgraph_beta/generated/models/on_attribute_collection_submit_handler.py new file mode 100644 index 00000000000..ffb82ebfae4 --- /dev/null +++ b/msgraph_beta/generated/models/on_attribute_collection_submit_handler.py @@ -0,0 +1,64 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .on_attribute_collection_submit_custom_extension_handler import OnAttributeCollectionSubmitCustomExtensionHandler + +@dataclass +class OnAttributeCollectionSubmitHandler(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: Optional[ParseNode] = None) -> OnAttributeCollectionSubmitHandler: + """ + 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: OnAttributeCollectionSubmitHandler + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + except AttributeError: + mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.onAttributeCollectionSubmitCustomExtensionHandler".casefold(): + from .on_attribute_collection_submit_custom_extension_handler import OnAttributeCollectionSubmitCustomExtensionHandler + + return OnAttributeCollectionSubmitCustomExtensionHandler() + return OnAttributeCollectionSubmitHandler() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .on_attribute_collection_submit_custom_extension_handler import OnAttributeCollectionSubmitCustomExtensionHandler + + from .on_attribute_collection_submit_custom_extension_handler import OnAttributeCollectionSubmitCustomExtensionHandler + + 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 not writer: + 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/on_attribute_collection_submit_listener.py b/msgraph_beta/generated/models/on_attribute_collection_submit_listener.py new file mode 100644 index 00000000000..ec7a95020f0 --- /dev/null +++ b/msgraph_beta/generated/models/on_attribute_collection_submit_listener.py @@ -0,0 +1,59 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .authentication_event_listener import AuthenticationEventListener + from .on_attribute_collection_submit_handler import OnAttributeCollectionSubmitHandler + +from .authentication_event_listener import AuthenticationEventListener + +@dataclass +class OnAttributeCollectionSubmitListener(AuthenticationEventListener): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.onAttributeCollectionSubmitListener" + # Configuration for what to invoke if the event resolves to this listener. + handler: Optional[OnAttributeCollectionSubmitHandler] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> OnAttributeCollectionSubmitListener: + """ + 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: OnAttributeCollectionSubmitListener + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return OnAttributeCollectionSubmitListener() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .authentication_event_listener import AuthenticationEventListener + from .on_attribute_collection_submit_handler import OnAttributeCollectionSubmitHandler + + from .authentication_event_listener import AuthenticationEventListener + from .on_attribute_collection_submit_handler import OnAttributeCollectionSubmitHandler + + fields: Dict[str, Callable[[Any], None]] = { + "handler": lambda n : setattr(self, 'handler', n.get_object_value(OnAttributeCollectionSubmitHandler)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_object_value("handler", self.handler) + + diff --git a/msgraph_beta/generated/models/online_meeting.py b/msgraph_beta/generated/models/online_meeting.py index 84d5e4c4719..25c02733c0f 100644 --- a/msgraph_beta/generated/models/online_meeting.py +++ b/msgraph_beta/generated/models/online_meeting.py @@ -5,67 +5,31 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .audio_conferencing import AudioConferencing from .broadcast_meeting_settings import BroadcastMeetingSettings from .call_recording import CallRecording from .call_transcript import CallTranscript - from .chat_info import ChatInfo - from .chat_restrictions import ChatRestrictions - from .entity import Entity - from .item_body import ItemBody - from .join_meeting_id_settings import JoinMeetingIdSettings - from .lobby_bypass_settings import LobbyBypassSettings from .meeting_attendance_report import MeetingAttendanceReport from .meeting_capabilities import MeetingCapabilities - from .meeting_chat_history_default_mode import MeetingChatHistoryDefaultMode - from .meeting_chat_mode import MeetingChatMode from .meeting_participants import MeetingParticipants from .meeting_registration import MeetingRegistration - from .online_meeting_presenters import OnlineMeetingPresenters - from .online_meeting_role import OnlineMeetingRole - from .virtual_event_session import VirtualEventSession - from .watermark_protection_values import WatermarkProtectionValues + from .online_meeting_base import OnlineMeetingBase -from .entity import Entity +from .online_meeting_base import OnlineMeetingBase @dataclass -class OnlineMeeting(Entity): - # Indicates whether attendees can turn on their camera. - allow_attendee_to_enable_camera: Optional[bool] = None - # Indicates whether attendees can turn on their microphone. - allow_attendee_to_enable_mic: Optional[bool] = None - # Specifies the mode of meeting chat. - allow_meeting_chat: Optional[MeetingChatMode] = None - # Specifies if participants are allowed to rename themselves in an instance of the meeting. - allow_participants_to_change_name: Optional[bool] = None - # Indicates whether recording is enabled for the meeting. - allow_recording: Optional[bool] = None - # Indicates if Teams reactions are enabled for the meeting. - allow_teamwork_reactions: Optional[bool] = None - # Indicates whether transcription is enabled for the meeting. - allow_transcription: Optional[bool] = None - # Specifies who can be a presenter in a meeting. - allowed_presenters: Optional[OnlineMeetingPresenters] = None +class OnlineMeeting(OnlineMeetingBase): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.onlineMeeting" # The alternativeRecording property alternative_recording: Optional[bytes] = None - # Specifies whose identity will be anonymized in the meeting. Possible values are: attendee. The attendee value cannot be removed through a PATCH operation once added. - anonymize_identity_for_roles: Optional[List[OnlineMeetingRole]] = None - # The attendance reports of an online meeting. Read-only. - attendance_reports: Optional[List[MeetingAttendanceReport]] = None # The attendeeReport property attendee_report: Optional[bytes] = None - # The phone access (dial-in) information for an online meeting. Read-only. - audio_conferencing: Optional[AudioConferencing] = None # The broadcastRecording property broadcast_recording: Optional[bytes] = None # The broadcastSettings property broadcast_settings: Optional[BroadcastMeetingSettings] = None # The capabilities property capabilities: Optional[List[MeetingCapabilities]] = None - # The chat information associated with this online meeting. - chat_info: Optional[ChatInfo] = None - # The chatRestrictions property - chat_restrictions: Optional[ChatRestrictions] = None # The meeting creation time in UTC. Read-only. creation_date_time: Optional[datetime.datetime] = None # The meeting end time in UTC. @@ -74,46 +38,22 @@ class OnlineMeeting(Entity): external_id: Optional[str] = None # The isBroadcast property is_broadcast: Optional[bool] = None - # The isEndToEndEncryptionEnabled property - is_end_to_end_encryption_enabled: Optional[bool] = None - # Indicates whether to announce when callers join or leave. - is_entry_exit_announced: Optional[bool] = None - # The join information in the language and locale variant specified in 'Accept-Language' request HTTP header. Read-only. - join_information: Optional[ItemBody] = None - # Specifies the joinMeetingId, the meeting passcode, and the requirement for the passcode. Once an onlineMeeting is created, the joinMeetingIdSettings cannot be modified. To make any changes to this property, the meeting needs to be canceled and a new one needs to be created. - join_meeting_id_settings: Optional[JoinMeetingIdSettings] = None # The joinUrl property join_url: Optional[str] = None - # The join URL of the online meeting. Read-only. - join_web_url: Optional[str] = None - # Specifies which participants can bypass the meeting lobby. - lobby_bypass_settings: Optional[LobbyBypassSettings] = None # The meetingAttendanceReport property meeting_attendance_report: Optional[MeetingAttendanceReport] = None - # The OdataType property - odata_type: Optional[str] = None - # The participants associated with the online meeting. This includes the organizer and the attendees. + # The participants associated with the online meeting, including the organizer and the attendees. participants: Optional[MeetingParticipants] = None - # Indicates whether to record the meeting automatically. - record_automatically: Optional[bool] = None # The recording property recording: Optional[bytes] = None # The recordings of an online meeting. Read-only. recordings: Optional[List[CallRecording]] = None - # The registration that has been enabled for an online meeting. One online meeting can only have one registration enabled. + # The registration that is enabled for an online meeting. One online meeting can only have one registration enabled. registration: Optional[MeetingRegistration] = None - # Specifies whether meeting chat history is shared with participants. Possible values are: all, none, unknownFutureValue. - share_meeting_chat_history_default: Optional[MeetingChatHistoryDefaultMode] = None # The meeting start time in UTC. start_date_time: Optional[datetime.datetime] = None - # The subject of the online meeting. - subject: Optional[str] = None # The transcripts of an online meeting. Read-only. transcripts: Optional[List[CallTranscript]] = None - # The video teleconferencing ID. Read-only. - video_teleconference_id: Optional[str] = None - # Specifies whether a watermark should be applied to a content type by the client application. - watermark_protection: Optional[WatermarkProtectionValues] = None @staticmethod def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> OnlineMeeting: @@ -124,14 +64,6 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> O """ if not parse_node: raise TypeError("parse_node cannot be null.") - try: - mapping_value = parse_node.get_child_node("@odata.type").get_str_value() - except AttributeError: - mapping_value = None - if mapping_value and mapping_value.casefold() == "#microsoft.graph.virtualEventSession".casefold(): - from .virtual_event_session import VirtualEventSession - - return VirtualEventSession() return OnlineMeeting() def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: @@ -139,90 +71,42 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ - from .audio_conferencing import AudioConferencing from .broadcast_meeting_settings import BroadcastMeetingSettings from .call_recording import CallRecording from .call_transcript import CallTranscript - from .chat_info import ChatInfo - from .chat_restrictions import ChatRestrictions - from .entity import Entity - from .item_body import ItemBody - from .join_meeting_id_settings import JoinMeetingIdSettings - from .lobby_bypass_settings import LobbyBypassSettings from .meeting_attendance_report import MeetingAttendanceReport from .meeting_capabilities import MeetingCapabilities - from .meeting_chat_history_default_mode import MeetingChatHistoryDefaultMode - from .meeting_chat_mode import MeetingChatMode from .meeting_participants import MeetingParticipants from .meeting_registration import MeetingRegistration - from .online_meeting_presenters import OnlineMeetingPresenters - from .online_meeting_role import OnlineMeetingRole - from .virtual_event_session import VirtualEventSession - from .watermark_protection_values import WatermarkProtectionValues + from .online_meeting_base import OnlineMeetingBase - from .audio_conferencing import AudioConferencing from .broadcast_meeting_settings import BroadcastMeetingSettings from .call_recording import CallRecording from .call_transcript import CallTranscript - from .chat_info import ChatInfo - from .chat_restrictions import ChatRestrictions - from .entity import Entity - from .item_body import ItemBody - from .join_meeting_id_settings import JoinMeetingIdSettings - from .lobby_bypass_settings import LobbyBypassSettings from .meeting_attendance_report import MeetingAttendanceReport from .meeting_capabilities import MeetingCapabilities - from .meeting_chat_history_default_mode import MeetingChatHistoryDefaultMode - from .meeting_chat_mode import MeetingChatMode from .meeting_participants import MeetingParticipants from .meeting_registration import MeetingRegistration - from .online_meeting_presenters import OnlineMeetingPresenters - from .online_meeting_role import OnlineMeetingRole - from .virtual_event_session import VirtualEventSession - from .watermark_protection_values import WatermarkProtectionValues + from .online_meeting_base import OnlineMeetingBase fields: Dict[str, Callable[[Any], None]] = { - "allowAttendeeToEnableCamera": lambda n : setattr(self, 'allow_attendee_to_enable_camera', n.get_bool_value()), - "allowAttendeeToEnableMic": lambda n : setattr(self, 'allow_attendee_to_enable_mic', n.get_bool_value()), - "allowMeetingChat": lambda n : setattr(self, 'allow_meeting_chat', n.get_enum_value(MeetingChatMode)), - "allowParticipantsToChangeName": lambda n : setattr(self, 'allow_participants_to_change_name', n.get_bool_value()), - "allowRecording": lambda n : setattr(self, 'allow_recording', n.get_bool_value()), - "allowTeamworkReactions": lambda n : setattr(self, 'allow_teamwork_reactions', n.get_bool_value()), - "allowTranscription": lambda n : setattr(self, 'allow_transcription', n.get_bool_value()), - "allowedPresenters": lambda n : setattr(self, 'allowed_presenters', n.get_enum_value(OnlineMeetingPresenters)), "alternativeRecording": lambda n : setattr(self, 'alternative_recording', n.get_bytes_value()), - "anonymizeIdentityForRoles": lambda n : setattr(self, 'anonymize_identity_for_roles', n.get_collection_of_enum_values(OnlineMeetingRole)), - "attendanceReports": lambda n : setattr(self, 'attendance_reports', n.get_collection_of_object_values(MeetingAttendanceReport)), "attendeeReport": lambda n : setattr(self, 'attendee_report', n.get_bytes_value()), - "audioConferencing": lambda n : setattr(self, 'audio_conferencing', n.get_object_value(AudioConferencing)), "broadcastRecording": lambda n : setattr(self, 'broadcast_recording', n.get_bytes_value()), "broadcastSettings": lambda n : setattr(self, 'broadcast_settings', n.get_object_value(BroadcastMeetingSettings)), "capabilities": lambda n : setattr(self, 'capabilities', n.get_collection_of_enum_values(MeetingCapabilities)), - "chatInfo": lambda n : setattr(self, 'chat_info', n.get_object_value(ChatInfo)), - "chatRestrictions": lambda n : setattr(self, 'chat_restrictions', n.get_object_value(ChatRestrictions)), "creationDateTime": lambda n : setattr(self, 'creation_date_time', n.get_datetime_value()), "endDateTime": lambda n : setattr(self, 'end_date_time', n.get_datetime_value()), "externalId": lambda n : setattr(self, 'external_id', n.get_str_value()), "isBroadcast": lambda n : setattr(self, 'is_broadcast', n.get_bool_value()), - "isEndToEndEncryptionEnabled": lambda n : setattr(self, 'is_end_to_end_encryption_enabled', n.get_bool_value()), - "isEntryExitAnnounced": lambda n : setattr(self, 'is_entry_exit_announced', n.get_bool_value()), - "joinInformation": lambda n : setattr(self, 'join_information', n.get_object_value(ItemBody)), - "joinMeetingIdSettings": lambda n : setattr(self, 'join_meeting_id_settings', n.get_object_value(JoinMeetingIdSettings)), "joinUrl": lambda n : setattr(self, 'join_url', n.get_str_value()), - "joinWebUrl": lambda n : setattr(self, 'join_web_url', n.get_str_value()), - "lobbyBypassSettings": lambda n : setattr(self, 'lobby_bypass_settings', n.get_object_value(LobbyBypassSettings)), "meetingAttendanceReport": lambda n : setattr(self, 'meeting_attendance_report', n.get_object_value(MeetingAttendanceReport)), "participants": lambda n : setattr(self, 'participants', n.get_object_value(MeetingParticipants)), - "recordAutomatically": lambda n : setattr(self, 'record_automatically', n.get_bool_value()), "recording": lambda n : setattr(self, 'recording', n.get_bytes_value()), "recordings": lambda n : setattr(self, 'recordings', n.get_collection_of_object_values(CallRecording)), "registration": lambda n : setattr(self, 'registration', n.get_object_value(MeetingRegistration)), - "shareMeetingChatHistoryDefault": lambda n : setattr(self, 'share_meeting_chat_history_default', n.get_enum_value(MeetingChatHistoryDefaultMode)), "startDateTime": lambda n : setattr(self, 'start_date_time', n.get_datetime_value()), - "subject": lambda n : setattr(self, 'subject', n.get_str_value()), "transcripts": lambda n : setattr(self, 'transcripts', n.get_collection_of_object_values(CallTranscript)), - "videoTeleconferenceId": lambda n : setattr(self, 'video_teleconference_id', n.get_str_value()), - "watermarkProtection": lambda n : setattr(self, 'watermark_protection', n.get_object_value(WatermarkProtectionValues)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -237,46 +121,22 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") super().serialize(writer) - writer.write_bool_value("allowAttendeeToEnableCamera", self.allow_attendee_to_enable_camera) - writer.write_bool_value("allowAttendeeToEnableMic", self.allow_attendee_to_enable_mic) - writer.write_enum_value("allowMeetingChat", self.allow_meeting_chat) - writer.write_bool_value("allowParticipantsToChangeName", self.allow_participants_to_change_name) - writer.write_bool_value("allowRecording", self.allow_recording) - writer.write_bool_value("allowTeamworkReactions", self.allow_teamwork_reactions) - writer.write_bool_value("allowTranscription", self.allow_transcription) - writer.write_enum_value("allowedPresenters", self.allowed_presenters) writer.write_bytes_value("alternativeRecording", self.alternative_recording) - writer.write_collection_of_enum_values("anonymizeIdentityForRoles", self.anonymize_identity_for_roles) - writer.write_collection_of_object_values("attendanceReports", self.attendance_reports) writer.write_bytes_value("attendeeReport", self.attendee_report) - writer.write_object_value("audioConferencing", self.audio_conferencing) writer.write_bytes_value("broadcastRecording", self.broadcast_recording) writer.write_object_value("broadcastSettings", self.broadcast_settings) writer.write_collection_of_enum_values("capabilities", self.capabilities) - writer.write_object_value("chatInfo", self.chat_info) - writer.write_object_value("chatRestrictions", self.chat_restrictions) writer.write_datetime_value("creationDateTime", self.creation_date_time) writer.write_datetime_value("endDateTime", self.end_date_time) writer.write_str_value("externalId", self.external_id) writer.write_bool_value("isBroadcast", self.is_broadcast) - writer.write_bool_value("isEndToEndEncryptionEnabled", self.is_end_to_end_encryption_enabled) - writer.write_bool_value("isEntryExitAnnounced", self.is_entry_exit_announced) - writer.write_object_value("joinInformation", self.join_information) - writer.write_object_value("joinMeetingIdSettings", self.join_meeting_id_settings) writer.write_str_value("joinUrl", self.join_url) - writer.write_str_value("joinWebUrl", self.join_web_url) - writer.write_object_value("lobbyBypassSettings", self.lobby_bypass_settings) writer.write_object_value("meetingAttendanceReport", self.meeting_attendance_report) writer.write_object_value("participants", self.participants) - writer.write_bool_value("recordAutomatically", self.record_automatically) writer.write_bytes_value("recording", self.recording) writer.write_collection_of_object_values("recordings", self.recordings) writer.write_object_value("registration", self.registration) - writer.write_enum_value("shareMeetingChatHistoryDefault", self.share_meeting_chat_history_default) writer.write_datetime_value("startDateTime", self.start_date_time) - writer.write_str_value("subject", self.subject) writer.write_collection_of_object_values("transcripts", self.transcripts) - writer.write_str_value("videoTeleconferenceId", self.video_teleconference_id) - writer.write_object_value("watermarkProtection", self.watermark_protection) diff --git a/msgraph_beta/generated/models/online_meeting_base.py b/msgraph_beta/generated/models/online_meeting_base.py new file mode 100644 index 00000000000..68b18705544 --- /dev/null +++ b/msgraph_beta/generated/models/online_meeting_base.py @@ -0,0 +1,202 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .audio_conferencing import AudioConferencing + from .chat_info import ChatInfo + from .chat_restrictions import ChatRestrictions + from .entity import Entity + from .item_body import ItemBody + from .join_meeting_id_settings import JoinMeetingIdSettings + from .lobby_bypass_settings import LobbyBypassSettings + from .meeting_attendance_report import MeetingAttendanceReport + from .meeting_chat_history_default_mode import MeetingChatHistoryDefaultMode + from .meeting_chat_mode import MeetingChatMode + from .online_meeting import OnlineMeeting + from .online_meeting_presenters import OnlineMeetingPresenters + from .online_meeting_role import OnlineMeetingRole + from .virtual_event_session import VirtualEventSession + from .watermark_protection_values import WatermarkProtectionValues + +from .entity import Entity + +@dataclass +class OnlineMeetingBase(Entity): + # Indicates whether attendees can turn on their camera. + allow_attendee_to_enable_camera: Optional[bool] = None + # Indicates whether attendees can turn on their microphone. + allow_attendee_to_enable_mic: Optional[bool] = None + # Specifies the mode of meeting chat. + allow_meeting_chat: Optional[MeetingChatMode] = None + # Specifies if participants are allowed to rename themselves in an instance of the meeting. + allow_participants_to_change_name: Optional[bool] = None + # Indicates whether recording is enabled for the meeting. + allow_recording: Optional[bool] = None + # Indicates if Teams reactions are enabled for the meeting. + allow_teamwork_reactions: Optional[bool] = None + # Indicates whether transcription is enabled for the meeting. + allow_transcription: Optional[bool] = None + # Specifies who can be a presenter in a meeting. + allowed_presenters: Optional[OnlineMeetingPresenters] = None + # Specifies whose identity is anonymized in the meeting. Possible values are: attendee. The attendee value can't be removed through a PATCH operation once added. + anonymize_identity_for_roles: Optional[List[OnlineMeetingRole]] = None + # The attendance reports of an online meeting. Read-only. + attendance_reports: Optional[List[MeetingAttendanceReport]] = None + # The phone access (dial-in) information for an online meeting. Read-only. + audio_conferencing: Optional[AudioConferencing] = None + # The chat information associated with this online meeting. + chat_info: Optional[ChatInfo] = None + # The chatRestrictions property + chat_restrictions: Optional[ChatRestrictions] = None + # The isEndToEndEncryptionEnabled property + is_end_to_end_encryption_enabled: Optional[bool] = None + # Indicates whether to announce when callers join or leave. + is_entry_exit_announced: Optional[bool] = None + # The join information in the language and locale variant specified in 'Accept-Language' request HTTP header. Read-only. + join_information: Optional[ItemBody] = None + # Specifies the joinMeetingId, the meeting passcode, and the requirement for the passcode. Once an onlineMeeting is created, the joinMeetingIdSettings can't be modified. To make any changes to this property, the meeting needs to be canceled and a new one needs to be created. + join_meeting_id_settings: Optional[JoinMeetingIdSettings] = None + # The join URL of the online meeting. Read-only. + join_web_url: Optional[str] = None + # Specifies which participants can bypass the meeting lobby. + lobby_bypass_settings: Optional[LobbyBypassSettings] = None + # The OdataType property + odata_type: Optional[str] = None + # Indicates whether to record the meeting automatically. + record_automatically: Optional[bool] = None + # The shareMeetingChatHistoryDefault property + share_meeting_chat_history_default: Optional[MeetingChatHistoryDefaultMode] = None + # The subject of the online meeting. + subject: Optional[str] = None + # The video teleconferencing ID. Read-only. + video_teleconference_id: Optional[str] = None + # Specifies whether the client application should apply a watermark to a content type. + watermark_protection: Optional[WatermarkProtectionValues] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> OnlineMeetingBase: + """ + 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: OnlineMeetingBase + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + except AttributeError: + mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.onlineMeeting".casefold(): + from .online_meeting import OnlineMeeting + + return OnlineMeeting() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.virtualEventSession".casefold(): + from .virtual_event_session import VirtualEventSession + + return VirtualEventSession() + return OnlineMeetingBase() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .audio_conferencing import AudioConferencing + from .chat_info import ChatInfo + from .chat_restrictions import ChatRestrictions + from .entity import Entity + from .item_body import ItemBody + from .join_meeting_id_settings import JoinMeetingIdSettings + from .lobby_bypass_settings import LobbyBypassSettings + from .meeting_attendance_report import MeetingAttendanceReport + from .meeting_chat_history_default_mode import MeetingChatHistoryDefaultMode + from .meeting_chat_mode import MeetingChatMode + from .online_meeting import OnlineMeeting + from .online_meeting_presenters import OnlineMeetingPresenters + from .online_meeting_role import OnlineMeetingRole + from .virtual_event_session import VirtualEventSession + from .watermark_protection_values import WatermarkProtectionValues + + from .audio_conferencing import AudioConferencing + from .chat_info import ChatInfo + from .chat_restrictions import ChatRestrictions + from .entity import Entity + from .item_body import ItemBody + from .join_meeting_id_settings import JoinMeetingIdSettings + from .lobby_bypass_settings import LobbyBypassSettings + from .meeting_attendance_report import MeetingAttendanceReport + from .meeting_chat_history_default_mode import MeetingChatHistoryDefaultMode + from .meeting_chat_mode import MeetingChatMode + from .online_meeting import OnlineMeeting + from .online_meeting_presenters import OnlineMeetingPresenters + from .online_meeting_role import OnlineMeetingRole + from .virtual_event_session import VirtualEventSession + from .watermark_protection_values import WatermarkProtectionValues + + fields: Dict[str, Callable[[Any], None]] = { + "allowAttendeeToEnableCamera": lambda n : setattr(self, 'allow_attendee_to_enable_camera', n.get_bool_value()), + "allowAttendeeToEnableMic": lambda n : setattr(self, 'allow_attendee_to_enable_mic', n.get_bool_value()), + "allowMeetingChat": lambda n : setattr(self, 'allow_meeting_chat', n.get_enum_value(MeetingChatMode)), + "allowParticipantsToChangeName": lambda n : setattr(self, 'allow_participants_to_change_name', n.get_bool_value()), + "allowRecording": lambda n : setattr(self, 'allow_recording', n.get_bool_value()), + "allowTeamworkReactions": lambda n : setattr(self, 'allow_teamwork_reactions', n.get_bool_value()), + "allowTranscription": lambda n : setattr(self, 'allow_transcription', n.get_bool_value()), + "allowedPresenters": lambda n : setattr(self, 'allowed_presenters', n.get_enum_value(OnlineMeetingPresenters)), + "anonymizeIdentityForRoles": lambda n : setattr(self, 'anonymize_identity_for_roles', n.get_collection_of_enum_values(OnlineMeetingRole)), + "attendanceReports": lambda n : setattr(self, 'attendance_reports', n.get_collection_of_object_values(MeetingAttendanceReport)), + "audioConferencing": lambda n : setattr(self, 'audio_conferencing', n.get_object_value(AudioConferencing)), + "chatInfo": lambda n : setattr(self, 'chat_info', n.get_object_value(ChatInfo)), + "chatRestrictions": lambda n : setattr(self, 'chat_restrictions', n.get_object_value(ChatRestrictions)), + "isEndToEndEncryptionEnabled": lambda n : setattr(self, 'is_end_to_end_encryption_enabled', n.get_bool_value()), + "isEntryExitAnnounced": lambda n : setattr(self, 'is_entry_exit_announced', n.get_bool_value()), + "joinInformation": lambda n : setattr(self, 'join_information', n.get_object_value(ItemBody)), + "joinMeetingIdSettings": lambda n : setattr(self, 'join_meeting_id_settings', n.get_object_value(JoinMeetingIdSettings)), + "joinWebUrl": lambda n : setattr(self, 'join_web_url', n.get_str_value()), + "lobbyBypassSettings": lambda n : setattr(self, 'lobby_bypass_settings', n.get_object_value(LobbyBypassSettings)), + "recordAutomatically": lambda n : setattr(self, 'record_automatically', n.get_bool_value()), + "shareMeetingChatHistoryDefault": lambda n : setattr(self, 'share_meeting_chat_history_default', n.get_enum_value(MeetingChatHistoryDefaultMode)), + "subject": lambda n : setattr(self, 'subject', n.get_str_value()), + "videoTeleconferenceId": lambda n : setattr(self, 'video_teleconference_id', n.get_str_value()), + "watermarkProtection": lambda n : setattr(self, 'watermark_protection', n.get_object_value(WatermarkProtectionValues)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_bool_value("allowAttendeeToEnableCamera", self.allow_attendee_to_enable_camera) + writer.write_bool_value("allowAttendeeToEnableMic", self.allow_attendee_to_enable_mic) + writer.write_enum_value("allowMeetingChat", self.allow_meeting_chat) + writer.write_bool_value("allowParticipantsToChangeName", self.allow_participants_to_change_name) + writer.write_bool_value("allowRecording", self.allow_recording) + writer.write_bool_value("allowTeamworkReactions", self.allow_teamwork_reactions) + writer.write_bool_value("allowTranscription", self.allow_transcription) + writer.write_enum_value("allowedPresenters", self.allowed_presenters) + writer.write_collection_of_enum_values("anonymizeIdentityForRoles", self.anonymize_identity_for_roles) + writer.write_collection_of_object_values("attendanceReports", self.attendance_reports) + writer.write_object_value("audioConferencing", self.audio_conferencing) + writer.write_object_value("chatInfo", self.chat_info) + writer.write_object_value("chatRestrictions", self.chat_restrictions) + writer.write_bool_value("isEndToEndEncryptionEnabled", self.is_end_to_end_encryption_enabled) + writer.write_bool_value("isEntryExitAnnounced", self.is_entry_exit_announced) + writer.write_object_value("joinInformation", self.join_information) + writer.write_object_value("joinMeetingIdSettings", self.join_meeting_id_settings) + writer.write_str_value("joinWebUrl", self.join_web_url) + writer.write_object_value("lobbyBypassSettings", self.lobby_bypass_settings) + writer.write_bool_value("recordAutomatically", self.record_automatically) + writer.write_enum_value("shareMeetingChatHistoryDefault", self.share_meeting_chat_history_default) + writer.write_str_value("subject", self.subject) + writer.write_str_value("videoTeleconferenceId", self.video_teleconference_id) + writer.write_object_value("watermarkProtection", self.watermark_protection) + + diff --git a/msgraph_beta/generated/models/online_meeting_role.py b/msgraph_beta/generated/models/online_meeting_role.py index ab1df555c50..2750b32cd08 100644 --- a/msgraph_beta/generated/models/online_meeting_role.py +++ b/msgraph_beta/generated/models/online_meeting_role.py @@ -3,7 +3,7 @@ class OnlineMeetingRole(str, Enum): Attendee = "attendee", Presenter = "presenter", - UnknownFutureValue = "unknownFutureValue", Producer = "producer", + UnknownFutureValue = "unknownFutureValue", Coorganizer = "coorganizer", diff --git a/msgraph_beta/generated/models/open_aws_security_group_finding.py b/msgraph_beta/generated/models/open_aws_security_group_finding.py index 26ce520dffb..f16e3ccd38b 100644 --- a/msgraph_beta/generated/models/open_aws_security_group_finding.py +++ b/msgraph_beta/generated/models/open_aws_security_group_finding.py @@ -13,7 +13,7 @@ @dataclass class OpenAwsSecurityGroupFinding(Finding): - # The assignedComputeInstancesDetails property + # A set of AWS EC2 compute instances related to this open security group. assigned_compute_instances_details: Optional[List[AssignedComputeInstanceDetails]] = None # The inboundPorts property inbound_ports: Optional[InboundPorts] = None @@ -21,7 +21,7 @@ class OpenAwsSecurityGroupFinding(Finding): odata_type: Optional[str] = None # The securityGroup property security_group: Optional[AwsAuthorizationSystemResource] = None - # The totalStorageBucketCount property + # The number of storage buckets accessed by the assigned compute instances. total_storage_bucket_count: Optional[int] = None @staticmethod diff --git a/msgraph_beta/generated/models/open_network_azure_security_group_finding.py b/msgraph_beta/generated/models/open_network_azure_security_group_finding.py index 140fe3c7ec7..3513b3b21a7 100644 --- a/msgraph_beta/generated/models/open_network_azure_security_group_finding.py +++ b/msgraph_beta/generated/models/open_network_azure_security_group_finding.py @@ -7,6 +7,7 @@ from .authorization_system_resource import AuthorizationSystemResource from .finding import Finding from .inbound_ports import InboundPorts + from .virtual_machine_details import VirtualMachineDetails from .finding import Finding @@ -18,8 +19,8 @@ class OpenNetworkAzureSecurityGroupFinding(Finding): odata_type: Optional[str] = None # The securityGroup property security_group: Optional[AuthorizationSystemResource] = None - # The virtualMachines property - virtual_machines: Optional[List[AuthorizationSystemResource]] = None + # Represents a virtual machine in an authorization system. + virtual_machines: Optional[List[VirtualMachineDetails]] = None @staticmethod def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> OpenNetworkAzureSecurityGroupFinding: @@ -40,15 +41,17 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .authorization_system_resource import AuthorizationSystemResource from .finding import Finding from .inbound_ports import InboundPorts + from .virtual_machine_details import VirtualMachineDetails from .authorization_system_resource import AuthorizationSystemResource from .finding import Finding from .inbound_ports import InboundPorts + from .virtual_machine_details import VirtualMachineDetails fields: Dict[str, Callable[[Any], None]] = { "inboundPorts": lambda n : setattr(self, 'inbound_ports', n.get_object_value(InboundPorts)), "securityGroup": lambda n : setattr(self, 'security_group', n.get_object_value(AuthorizationSystemResource)), - "virtualMachines": lambda n : setattr(self, 'virtual_machines', n.get_collection_of_object_values(AuthorizationSystemResource)), + "virtualMachines": lambda n : setattr(self, 'virtual_machines', n.get_collection_of_object_values(VirtualMachineDetails)), } super_fields = super().get_field_deserializers() fields.update(super_fields) diff --git a/msgraph_beta/generated/models/open_shift.py b/msgraph_beta/generated/models/open_shift.py index ce026e61c53..5b110604f04 100644 --- a/msgraph_beta/generated/models/open_shift.py +++ b/msgraph_beta/generated/models/open_shift.py @@ -13,14 +13,20 @@ class OpenShift(ChangeTrackedEntity): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.openShift" - # An unpublished open shift. + # Draft changes in the openShift are only visible to managers until they are shared. draft_open_shift: Optional[OpenShiftItem] = None - # The isStagedForDeletion property + # The openShift is marked for deletion, a process that is finalized when the schedule is shared. is_staged_for_deletion: Optional[bool] = None - # ID for the scheduling group that the open shift belongs to. + # The ID of the schedulingGroup that contains the openShift. scheduling_group_id: Optional[str] = None - # A published open shift. + # The name of the schedulingGroup that contains the openShift. + scheduling_group_name: Optional[str] = None + # The shared version of this openShift that is viewable by both employees and managers. shared_open_shift: Optional[OpenShiftItem] = None + # The ID of the team in which the openShift is located. + team_id: Optional[str] = None + # The name of the team in which the openShift is located. + team_name: Optional[str] = None @staticmethod def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> OpenShift: @@ -48,7 +54,10 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "draftOpenShift": lambda n : setattr(self, 'draft_open_shift', n.get_object_value(OpenShiftItem)), "isStagedForDeletion": lambda n : setattr(self, 'is_staged_for_deletion', n.get_bool_value()), "schedulingGroupId": lambda n : setattr(self, 'scheduling_group_id', n.get_str_value()), + "schedulingGroupName": lambda n : setattr(self, 'scheduling_group_name', n.get_str_value()), "sharedOpenShift": lambda n : setattr(self, 'shared_open_shift', n.get_object_value(OpenShiftItem)), + "teamId": lambda n : setattr(self, 'team_id', n.get_str_value()), + "teamName": lambda n : setattr(self, 'team_name', n.get_str_value()), } super_fields = super().get_field_deserializers() fields.update(super_fields) diff --git a/msgraph_beta/generated/models/permissions_analytics.py b/msgraph_beta/generated/models/permissions_analytics.py index 783b4349b29..c242934c478 100644 --- a/msgraph_beta/generated/models/permissions_analytics.py +++ b/msgraph_beta/generated/models/permissions_analytics.py @@ -12,11 +12,11 @@ @dataclass class PermissionsAnalytics(Entity): - # The findings property + # The output of the permissions usage data analysis performed by Permissions Management to assess risk with identities and resources. findings: Optional[List[Finding]] = None # The OdataType property odata_type: Optional[str] = None - # The permissionsCreepIndexDistributions property + # Represents the Permissions Creep Index (PCI) for the authorization system. PCI distribution chart shows the classification of human and nonhuman identities based on the PCI score in three buckets (low, medium, high). permissions_creep_index_distributions: Optional[List[PermissionsCreepIndexDistribution]] = None @staticmethod diff --git a/msgraph_beta/generated/models/permissions_creep_index.py b/msgraph_beta/generated/models/permissions_creep_index.py index 4473984d24d..aca6788d1b5 100644 --- a/msgraph_beta/generated/models/permissions_creep_index.py +++ b/msgraph_beta/generated/models/permissions_creep_index.py @@ -13,7 +13,7 @@ class PermissionsCreepIndex(AdditionalDataHolder, BackedModel, Parsable): additional_data: Dict[str, Any] = field(default_factory=dict) # The OdataType property odata_type: Optional[str] = None - # The score property + # This value represents how much risk an identity poses. This risk range is classified in three buckets: 0-33: low, 34-66: medium, 67-100: high.. score: Optional[int] = None @staticmethod diff --git a/msgraph_beta/generated/models/permissions_creep_index_distribution.py b/msgraph_beta/generated/models/permissions_creep_index_distribution.py index 9904c851db4..ac514d19e05 100644 --- a/msgraph_beta/generated/models/permissions_creep_index_distribution.py +++ b/msgraph_beta/generated/models/permissions_creep_index_distribution.py @@ -15,7 +15,7 @@ class PermissionsCreepIndexDistribution(Entity): # The authorizationSystem property authorization_system: Optional[AuthorizationSystem] = None - # The createdDateTime property + # Defines when the PCI distribution was created. created_date_time: Optional[datetime.datetime] = None # The highRiskProfile property high_risk_profile: Optional[RiskProfile] = None diff --git a/msgraph_beta/generated/models/permissions_definition_authorization_system.py b/msgraph_beta/generated/models/permissions_definition_authorization_system.py index e040cbe3942..a9669c6864f 100644 --- a/msgraph_beta/generated/models/permissions_definition_authorization_system.py +++ b/msgraph_beta/generated/models/permissions_definition_authorization_system.py @@ -11,9 +11,9 @@ class PermissionsDefinitionAuthorizationSystem(AdditionalDataHolder, BackedModel # 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 authorizationSystemId property + # ID of the authorization system retrieved from the customer cloud environment. authorization_system_id: Optional[str] = None - # The authorizationSystemType property + # The type of authorization system. authorization_system_type: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/permissions_definition_authorization_system_identity.py b/msgraph_beta/generated/models/permissions_definition_authorization_system_identity.py index 2b9fc64c9ae..f681a7f7afd 100644 --- a/msgraph_beta/generated/models/permissions_definition_authorization_system_identity.py +++ b/msgraph_beta/generated/models/permissions_definition_authorization_system_identity.py @@ -15,7 +15,7 @@ class PermissionsDefinitionAuthorizationSystemIdentity(AdditionalDataHolder, Bac # 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 externalId property + # Unique ID of the identity within the external system. Prefixed with rsn: if this is a SAML or ED user in AWS. Alternate key. external_id: Optional[str] = None # The identityType property identity_type: Optional[PermissionsDefinitionIdentityType] = None diff --git a/msgraph_beta/generated/models/permissions_management.py b/msgraph_beta/generated/models/permissions_management.py index 60ba86e1eda..247528673b7 100644 --- a/msgraph_beta/generated/models/permissions_management.py +++ b/msgraph_beta/generated/models/permissions_management.py @@ -14,9 +14,9 @@ class PermissionsManagement(Entity): # The OdataType property odata_type: Optional[str] = None - # The permissionsRequestChanges property + # Represents a change event of the scheduledPermissionsRequest entity. permissions_request_changes: Optional[List[PermissionsRequestChange]] = None - # The scheduledPermissionsRequests property + # Represents a permissions request that Permissions Management uses to manage permissions for an identity on resources in the authorization system. This request can be granted, rejected or canceled by identities in Permissions Management. scheduled_permissions_requests: Optional[List[ScheduledPermissionsRequest]] = None @staticmethod diff --git a/msgraph_beta/generated/models/permissions_request_change.py b/msgraph_beta/generated/models/permissions_request_change.py index 9a70992b48a..29bcbfca574 100644 --- a/msgraph_beta/generated/models/permissions_request_change.py +++ b/msgraph_beta/generated/models/permissions_request_change.py @@ -13,17 +13,17 @@ @dataclass class PermissionsRequestChange(Entity): - # The activeOccurrenceStatus property + # The status of the active occurence of the schedule if one exists. The possible values are: grantingFailed, granted, granting, revoked, revoking, revokingFailed, unknownFutureValue. active_occurrence_status: Optional[PermissionsRequestOccurrenceStatus] = None - # The modificationDateTime property + # Time when the change occurred. modification_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None - # The permissionsRequestId property + # The ID of the scheduledPermissionsRequest object. permissions_request_id: Optional[str] = None # The statusDetail property status_detail: Optional[StatusDetail] = None - # The ticketId property + # Represents the ticketing system identifier. ticket_id: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/planner_approval_requirement.py b/msgraph_beta/generated/models/planner_approval_requirement.py new file mode 100644 index 00000000000..0e761952b5e --- /dev/null +++ b/msgraph_beta/generated/models/planner_approval_requirement.py @@ -0,0 +1,53 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class PlannerApprovalRequirement(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 isApprovalRequired property + is_approval_required: Optional[bool] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> PlannerApprovalRequirement: + """ + 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: PlannerApprovalRequirement + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return PlannerApprovalRequirement() + + 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]] = { + "isApprovalRequired": lambda n : setattr(self, 'is_approval_required', 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_bool_value("isApprovalRequired", self.is_approval_required) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/planner_approval_status.py b/msgraph_beta/generated/models/planner_approval_status.py new file mode 100644 index 00000000000..c8413ce300c --- /dev/null +++ b/msgraph_beta/generated/models/planner_approval_status.py @@ -0,0 +1,9 @@ +from enum import Enum + +class PlannerApprovalStatus(str, Enum): + Requested = "requested", + Approved = "approved", + Rejected = "rejected", + Cancelled = "cancelled", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/planner_archival_info.py b/msgraph_beta/generated/models/planner_archival_info.py new file mode 100644 index 00000000000..94209394299 --- /dev/null +++ b/msgraph_beta/generated/models/planner_archival_info.py @@ -0,0 +1,69 @@ +from __future__ import annotations +import datetime +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .identity_set import IdentitySet + +@dataclass +class PlannerArchivalInfo(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 justification property + justification: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + # The statusChangedBy property + status_changed_by: Optional[IdentitySet] = None + # The statusChangedDateTime property + status_changed_date_time: Optional[datetime.datetime] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> PlannerArchivalInfo: + """ + 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: PlannerArchivalInfo + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return PlannerArchivalInfo() + + 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_set import IdentitySet + + from .identity_set import IdentitySet + + fields: Dict[str, Callable[[Any], None]] = { + "justification": lambda n : setattr(self, 'justification', n.get_str_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "statusChangedBy": lambda n : setattr(self, 'status_changed_by', n.get_object_value(IdentitySet)), + "statusChangedDateTime": lambda n : setattr(self, 'status_changed_date_time', n.get_datetime_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 not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("justification", self.justification) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_object_value("statusChangedBy", self.status_changed_by) + writer.write_datetime_value("statusChangedDateTime", self.status_changed_date_time) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/planner_base_approval_attachment.py b/msgraph_beta/generated/models/planner_base_approval_attachment.py new file mode 100644 index 00000000000..496fbc2ce4a --- /dev/null +++ b/msgraph_beta/generated/models/planner_base_approval_attachment.py @@ -0,0 +1,71 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .planner_approval_status import PlannerApprovalStatus + from .planner_basic_approval_attachment import PlannerBasicApprovalAttachment + +@dataclass +class PlannerBaseApprovalAttachment(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 + # The status property + status: Optional[PlannerApprovalStatus] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> PlannerBaseApprovalAttachment: + """ + 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: PlannerBaseApprovalAttachment + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + except AttributeError: + mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.plannerBasicApprovalAttachment".casefold(): + from .planner_basic_approval_attachment import PlannerBasicApprovalAttachment + + return PlannerBasicApprovalAttachment() + return PlannerBaseApprovalAttachment() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .planner_approval_status import PlannerApprovalStatus + from .planner_basic_approval_attachment import PlannerBasicApprovalAttachment + + from .planner_approval_status import PlannerApprovalStatus + from .planner_basic_approval_attachment import PlannerBasicApprovalAttachment + + fields: Dict[str, Callable[[Any], None]] = { + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "status": lambda n : setattr(self, 'status', n.get_enum_value(PlannerApprovalStatus)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + 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/planner_basic_approval_attachment.py b/msgraph_beta/generated/models/planner_basic_approval_attachment.py new file mode 100644 index 00000000000..90082caa37a --- /dev/null +++ b/msgraph_beta/generated/models/planner_basic_approval_attachment.py @@ -0,0 +1,56 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .planner_base_approval_attachment import PlannerBaseApprovalAttachment + +from .planner_base_approval_attachment import PlannerBaseApprovalAttachment + +@dataclass +class PlannerBasicApprovalAttachment(PlannerBaseApprovalAttachment): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.plannerBasicApprovalAttachment" + # The approvalId property + approval_id: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> PlannerBasicApprovalAttachment: + """ + 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: PlannerBasicApprovalAttachment + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return PlannerBasicApprovalAttachment() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .planner_base_approval_attachment import PlannerBaseApprovalAttachment + + from .planner_base_approval_attachment import PlannerBaseApprovalAttachment + + fields: Dict[str, Callable[[Any], None]] = { + "approvalId": lambda n : setattr(self, 'approval_id', 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_str_value("approvalId", self.approval_id) + + diff --git a/msgraph_beta/generated/models/planner_bucket.py b/msgraph_beta/generated/models/planner_bucket.py index 27e87453c5f..cc7e3880812 100644 --- a/msgraph_beta/generated/models/planner_bucket.py +++ b/msgraph_beta/generated/models/planner_bucket.py @@ -4,6 +4,7 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: + from .planner_archival_info import PlannerArchivalInfo from .planner_bucket_creation import PlannerBucketCreation from .planner_delta import PlannerDelta from .planner_task import PlannerTask @@ -12,8 +13,12 @@ @dataclass class PlannerBucket(PlannerDelta): + # The archivalInfo property + archival_info: Optional[PlannerArchivalInfo] = None # Contains information about the origin of the bucket. creation_source: Optional[PlannerBucketCreation] = None + # The isArchived property + is_archived: Optional[bool] = None # Name of the bucket. name: Optional[str] = None # The OdataType property @@ -41,16 +46,20 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .planner_archival_info import PlannerArchivalInfo from .planner_bucket_creation import PlannerBucketCreation from .planner_delta import PlannerDelta from .planner_task import PlannerTask + from .planner_archival_info import PlannerArchivalInfo from .planner_bucket_creation import PlannerBucketCreation from .planner_delta import PlannerDelta from .planner_task import PlannerTask fields: Dict[str, Callable[[Any], None]] = { + "archivalInfo": lambda n : setattr(self, 'archival_info', n.get_object_value(PlannerArchivalInfo)), "creationSource": lambda n : setattr(self, 'creation_source', n.get_object_value(PlannerBucketCreation)), + "isArchived": lambda n : setattr(self, 'is_archived', n.get_bool_value()), "name": lambda n : setattr(self, 'name', n.get_str_value()), "orderHint": lambda n : setattr(self, 'order_hint', n.get_str_value()), "planId": lambda n : setattr(self, 'plan_id', n.get_str_value()), @@ -69,7 +78,9 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") super().serialize(writer) + writer.write_object_value("archivalInfo", self.archival_info) writer.write_object_value("creationSource", self.creation_source) + writer.write_bool_value("isArchived", self.is_archived) writer.write_str_value("name", self.name) writer.write_str_value("orderHint", self.order_hint) writer.write_str_value("planId", self.plan_id) diff --git a/msgraph_beta/generated/models/planner_forms_dictionary.py b/msgraph_beta/generated/models/planner_forms_dictionary.py new file mode 100644 index 00000000000..64ddf98d1e4 --- /dev/null +++ b/msgraph_beta/generated/models/planner_forms_dictionary.py @@ -0,0 +1,52 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .dictionary import Dictionary + +from .dictionary import Dictionary + +@dataclass +class PlannerFormsDictionary(Dictionary): + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> PlannerFormsDictionary: + """ + 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: PlannerFormsDictionary + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return PlannerFormsDictionary() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .dictionary import Dictionary + + from .dictionary import Dictionary + + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + + diff --git a/msgraph_beta/generated/models/planner_forms_requirement.py b/msgraph_beta/generated/models/planner_forms_requirement.py new file mode 100644 index 00000000000..21221e0fd29 --- /dev/null +++ b/msgraph_beta/generated/models/planner_forms_requirement.py @@ -0,0 +1,53 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class PlannerFormsRequirement(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 + # The requiredForms property + required_forms: Optional[List[str]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> PlannerFormsRequirement: + """ + 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: PlannerFormsRequirement + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return PlannerFormsRequirement() + + 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]] = { + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "requiredForms": lambda n : setattr(self, 'required_forms', 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("@odata.type", self.odata_type) + writer.write_collection_of_primitive_values("requiredForms", self.required_forms) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/planner_plan.py b/msgraph_beta/generated/models/planner_plan.py index 80bb0cb2e63..bcfe16c4896 100644 --- a/msgraph_beta/generated/models/planner_plan.py +++ b/msgraph_beta/generated/models/planner_plan.py @@ -6,6 +6,7 @@ if TYPE_CHECKING: from .identity_set import IdentitySet + from .planner_archival_info import PlannerArchivalInfo from .planner_bucket import PlannerBucket from .planner_delta import PlannerDelta from .planner_plan_container import PlannerPlanContainer @@ -19,11 +20,13 @@ @dataclass class PlannerPlan(PlannerDelta): + # The archivalInfo property + archival_info: Optional[PlannerArchivalInfo] = None # Collection of buckets in the plan. Read-only. Nullable. buckets: Optional[List[PlannerBucket]] = None - # Identifies the container of the plan. Specify only the url, the containerId and type, or all properties. After it's set, this property can’t be updated. Required. + # Identifies the container of the plan. Either specify all properties, or specify only the url, the containerId, and type. After it's set, this property can’t be updated. It changes when a plan is moved from one container to another, using plan move to container. Required. container: Optional[PlannerPlanContainer] = None - # Read-only. Additional user experiences in which this plan is used, represented as plannerPlanContext entries. + # Read-only. Other user experiences in which this plan is used, represented as plannerPlanContext entries. contexts: Optional[PlannerPlanContextCollection] = None # Read-only. The user who created the plan. created_by: Optional[IdentitySet] = None @@ -31,8 +34,10 @@ class PlannerPlan(PlannerDelta): created_date_time: Optional[datetime.datetime] = None # Contains information about the origin of the plan. creation_source: Optional[PlannerPlanCreation] = None - # Additional details about the plan. Read-only. Nullable. + # Extra details about the plan. Read-only. Nullable. details: Optional[PlannerPlanDetails] = None + # The isArchived property + is_archived: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None # The owner property @@ -61,6 +66,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .identity_set import IdentitySet + from .planner_archival_info import PlannerArchivalInfo from .planner_bucket import PlannerBucket from .planner_delta import PlannerDelta from .planner_plan_container import PlannerPlanContainer @@ -71,6 +77,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .planner_task import PlannerTask from .identity_set import IdentitySet + from .planner_archival_info import PlannerArchivalInfo from .planner_bucket import PlannerBucket from .planner_delta import PlannerDelta from .planner_plan_container import PlannerPlanContainer @@ -81,6 +88,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .planner_task import PlannerTask fields: Dict[str, Callable[[Any], None]] = { + "archivalInfo": lambda n : setattr(self, 'archival_info', n.get_object_value(PlannerArchivalInfo)), "buckets": lambda n : setattr(self, 'buckets', n.get_collection_of_object_values(PlannerBucket)), "container": lambda n : setattr(self, 'container', n.get_object_value(PlannerPlanContainer)), "contexts": lambda n : setattr(self, 'contexts', n.get_object_value(PlannerPlanContextCollection)), @@ -88,6 +96,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), "creationSource": lambda n : setattr(self, 'creation_source', n.get_object_value(PlannerPlanCreation)), "details": lambda n : setattr(self, 'details', n.get_object_value(PlannerPlanDetails)), + "isArchived": lambda n : setattr(self, 'is_archived', n.get_bool_value()), "owner": lambda n : setattr(self, 'owner', n.get_str_value()), "sharedWithContainers": lambda n : setattr(self, 'shared_with_containers', n.get_collection_of_object_values(PlannerSharedWithContainer)), "tasks": lambda n : setattr(self, 'tasks', n.get_collection_of_object_values(PlannerTask)), @@ -106,6 +115,7 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") super().serialize(writer) + writer.write_object_value("archivalInfo", self.archival_info) writer.write_collection_of_object_values("buckets", self.buckets) writer.write_object_value("container", self.container) writer.write_object_value("contexts", self.contexts) @@ -113,6 +123,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_object_value("creationSource", self.creation_source) writer.write_object_value("details", self.details) + writer.write_bool_value("isArchived", self.is_archived) writer.write_str_value("owner", self.owner) writer.write_collection_of_object_values("sharedWithContainers", self.shared_with_containers) writer.write_collection_of_object_values("tasks", self.tasks) diff --git a/msgraph_beta/generated/models/planner_plan_container.py b/msgraph_beta/generated/models/planner_plan_container.py index 8d1863a4e28..86aa1179d99 100644 --- a/msgraph_beta/generated/models/planner_plan_container.py +++ b/msgraph_beta/generated/models/planner_plan_container.py @@ -19,7 +19,7 @@ class PlannerPlanContainer(AdditionalDataHolder, BackedModel, Parsable): container_id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The type of the resource that contains the plan. For supported types, see the previous table. Possible values are: group, unknownFutureValue, roster, project and driveItem. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster, project, driveItem. Optional. + # The type of the resource that contains the plan. For supported types, see the previous table. Possible values are: group, unknownFutureValue, roster, project, driveItem, and user. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster, project, driveItem, and user. Optional. type: Optional[PlannerContainerType] = None # The full canonical URL of the container. Optional. url: Optional[str] = None diff --git a/msgraph_beta/generated/models/planner_task.py b/msgraph_beta/generated/models/planner_task.py index 3304ad734b6..b141eb5a4db 100644 --- a/msgraph_beta/generated/models/planner_task.py +++ b/msgraph_beta/generated/models/planner_task.py @@ -8,6 +8,7 @@ from .business_scenario_task import BusinessScenarioTask from .identity_set import IdentitySet from .planner_applied_categories import PlannerAppliedCategories + from .planner_archival_info import PlannerArchivalInfo from .planner_assigned_to_task_board_task_format import PlannerAssignedToTaskBoardTaskFormat from .planner_assignments import PlannerAssignments from .planner_bucket_task_board_task_format import PlannerBucketTaskBoardTaskFormat @@ -27,6 +28,8 @@ class PlannerTask(PlannerDelta): active_checklist_item_count: Optional[int] = None # The categories to which the task has been applied. See applied Categories for possible values. applied_categories: Optional[PlannerAppliedCategories] = None + # The archivalInfo property + archival_info: Optional[PlannerArchivalInfo] = None # Read-only. Nullable. Used to render the task correctly in the task board view when grouped by assignedTo. assigned_to_task_board_format: Optional[PlannerAssignedToTaskBoardTaskFormat] = None # Hint used to order items of this type in a list view. The format is defined as outlined here. @@ -57,6 +60,12 @@ class PlannerTask(PlannerDelta): due_date_time: Optional[datetime.datetime] = None # Read-only. Value is true if the details object of the task has a nonempty description and false otherwise. has_description: Optional[bool] = None + # The isArchived property + is_archived: Optional[bool] = None + # The isOnMyDay property + is_on_my_day: Optional[bool] = None + # The isOnMyDayLastModifiedDate property + is_on_my_day_last_modified_date: Optional[datetime.date] = None # The OdataType property odata_type: Optional[str] = None # Hint used to order items of this type in a list view. The format is defined as outlined here. @@ -109,6 +118,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .business_scenario_task import BusinessScenarioTask from .identity_set import IdentitySet from .planner_applied_categories import PlannerAppliedCategories + from .planner_archival_info import PlannerArchivalInfo from .planner_assigned_to_task_board_task_format import PlannerAssignedToTaskBoardTaskFormat from .planner_assignments import PlannerAssignments from .planner_bucket_task_board_task_format import PlannerBucketTaskBoardTaskFormat @@ -123,6 +133,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .business_scenario_task import BusinessScenarioTask from .identity_set import IdentitySet from .planner_applied_categories import PlannerAppliedCategories + from .planner_archival_info import PlannerArchivalInfo from .planner_assigned_to_task_board_task_format import PlannerAssignedToTaskBoardTaskFormat from .planner_assignments import PlannerAssignments from .planner_bucket_task_board_task_format import PlannerBucketTaskBoardTaskFormat @@ -137,6 +148,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "activeChecklistItemCount": lambda n : setattr(self, 'active_checklist_item_count', n.get_int_value()), "appliedCategories": lambda n : setattr(self, 'applied_categories', n.get_object_value(PlannerAppliedCategories)), + "archivalInfo": lambda n : setattr(self, 'archival_info', n.get_object_value(PlannerArchivalInfo)), "assignedToTaskBoardFormat": lambda n : setattr(self, 'assigned_to_task_board_format', n.get_object_value(PlannerAssignedToTaskBoardTaskFormat)), "assigneePriority": lambda n : setattr(self, 'assignee_priority', n.get_str_value()), "assignments": lambda n : setattr(self, 'assignments', n.get_object_value(PlannerAssignments)), @@ -152,6 +164,9 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "details": lambda n : setattr(self, 'details', n.get_object_value(PlannerTaskDetails)), "dueDateTime": lambda n : setattr(self, 'due_date_time', n.get_datetime_value()), "hasDescription": lambda n : setattr(self, 'has_description', n.get_bool_value()), + "isArchived": lambda n : setattr(self, 'is_archived', n.get_bool_value()), + "isOnMyDay": lambda n : setattr(self, 'is_on_my_day', n.get_bool_value()), + "isOnMyDayLastModifiedDate": lambda n : setattr(self, 'is_on_my_day_last_modified_date', n.get_date_value()), "orderHint": lambda n : setattr(self, 'order_hint', n.get_str_value()), "percentComplete": lambda n : setattr(self, 'percent_complete', n.get_int_value()), "planId": lambda n : setattr(self, 'plan_id', n.get_str_value()), @@ -179,6 +194,7 @@ def serialize(self,writer: SerializationWriter) -> None: super().serialize(writer) writer.write_int_value("activeChecklistItemCount", self.active_checklist_item_count) writer.write_object_value("appliedCategories", self.applied_categories) + writer.write_object_value("archivalInfo", self.archival_info) writer.write_object_value("assignedToTaskBoardFormat", self.assigned_to_task_board_format) writer.write_str_value("assigneePriority", self.assignee_priority) writer.write_object_value("assignments", self.assignments) @@ -194,6 +210,9 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_object_value("details", self.details) writer.write_datetime_value("dueDateTime", self.due_date_time) writer.write_bool_value("hasDescription", self.has_description) + writer.write_bool_value("isArchived", self.is_archived) + writer.write_bool_value("isOnMyDay", self.is_on_my_day) + writer.write_date_value("isOnMyDayLastModifiedDate", self.is_on_my_day_last_modified_date) writer.write_str_value("orderHint", self.order_hint) writer.write_int_value("percentComplete", self.percent_complete) writer.write_str_value("planId", self.plan_id) diff --git a/msgraph_beta/generated/models/planner_task_completion_requirement_details.py b/msgraph_beta/generated/models/planner_task_completion_requirement_details.py index 8479751056b..ef257ffed91 100644 --- a/msgraph_beta/generated/models/planner_task_completion_requirement_details.py +++ b/msgraph_beta/generated/models/planner_task_completion_requirement_details.py @@ -5,7 +5,9 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: + from .planner_approval_requirement import PlannerApprovalRequirement from .planner_checklist_requirement import PlannerChecklistRequirement + from .planner_forms_requirement import PlannerFormsRequirement @dataclass class PlannerTaskCompletionRequirementDetails(AdditionalDataHolder, BackedModel, Parsable): @@ -14,8 +16,12 @@ class PlannerTaskCompletionRequirementDetails(AdditionalDataHolder, BackedModel, # 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 approvalRequirement property + approval_requirement: Optional[PlannerApprovalRequirement] = None # Information about the requirements for completing the checklist. checklist_requirement: Optional[PlannerChecklistRequirement] = None + # The formsRequirement property + forms_requirement: Optional[PlannerFormsRequirement] = None # The OdataType property odata_type: Optional[str] = None @@ -35,12 +41,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 .planner_approval_requirement import PlannerApprovalRequirement from .planner_checklist_requirement import PlannerChecklistRequirement + from .planner_forms_requirement import PlannerFormsRequirement + from .planner_approval_requirement import PlannerApprovalRequirement from .planner_checklist_requirement import PlannerChecklistRequirement + from .planner_forms_requirement import PlannerFormsRequirement fields: Dict[str, Callable[[Any], None]] = { + "approvalRequirement": lambda n : setattr(self, 'approval_requirement', n.get_object_value(PlannerApprovalRequirement)), "checklistRequirement": lambda n : setattr(self, 'checklist_requirement', n.get_object_value(PlannerChecklistRequirement)), + "formsRequirement": lambda n : setattr(self, 'forms_requirement', n.get_object_value(PlannerFormsRequirement)), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), } return fields @@ -53,7 +65,9 @@ def serialize(self,writer: SerializationWriter) -> None: """ if not writer: raise TypeError("writer cannot be null.") + writer.write_object_value("approvalRequirement", self.approval_requirement) writer.write_object_value("checklistRequirement", self.checklist_requirement) + writer.write_object_value("formsRequirement", self.forms_requirement) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/planner_task_completion_requirements.py b/msgraph_beta/generated/models/planner_task_completion_requirements.py index 08174ce9617..410b32c9e7e 100644 --- a/msgraph_beta/generated/models/planner_task_completion_requirements.py +++ b/msgraph_beta/generated/models/planner_task_completion_requirements.py @@ -4,4 +4,6 @@ class PlannerTaskCompletionRequirements(str, Enum): None_ = "none", ChecklistCompletion = "checklistCompletion", UnknownFutureValue = "unknownFutureValue", + FormCompletion = "formCompletion", + ApprovalCompletion = "approvalCompletion", diff --git a/msgraph_beta/generated/models/planner_task_details.py b/msgraph_beta/generated/models/planner_task_details.py index e92d0ba9b24..f4015bd3572 100644 --- a/msgraph_beta/generated/models/planner_task_details.py +++ b/msgraph_beta/generated/models/planner_task_details.py @@ -5,9 +5,11 @@ if TYPE_CHECKING: from .item_body import ItemBody + from .planner_base_approval_attachment import PlannerBaseApprovalAttachment from .planner_checklist_items import PlannerChecklistItems from .planner_delta import PlannerDelta from .planner_external_references import PlannerExternalReferences + from .planner_forms_dictionary import PlannerFormsDictionary from .planner_preview_type import PlannerPreviewType from .planner_task_completion_requirement_details import PlannerTaskCompletionRequirementDetails @@ -15,12 +17,16 @@ @dataclass class PlannerTaskDetails(PlannerDelta): + # The approvalAttachment property + approval_attachment: Optional[PlannerBaseApprovalAttachment] = None # The collection of checklist items on the task. checklist: Optional[PlannerChecklistItems] = None # Contains detailed information about requirements on the task. completion_requirements: Optional[PlannerTaskCompletionRequirementDetails] = None # Description of the task. description: Optional[str] = None + # The forms property + forms: Optional[PlannerFormsDictionary] = None # Rich text description of the task. To be used by HTML-aware clients. For backwards compatibility, a plain-text version of the HTML description will be synced to the 'description' field. If this field hasn't previously been set but 'description' has been, the existing description is synchronized to 'notes' with minimal whitespace-preserving HTML markup. Setting both 'description' and 'notes' is an error and will result in an exception. notes: Optional[ItemBody] = None # The OdataType property @@ -47,23 +53,29 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .item_body import ItemBody + from .planner_base_approval_attachment import PlannerBaseApprovalAttachment from .planner_checklist_items import PlannerChecklistItems from .planner_delta import PlannerDelta from .planner_external_references import PlannerExternalReferences + from .planner_forms_dictionary import PlannerFormsDictionary from .planner_preview_type import PlannerPreviewType from .planner_task_completion_requirement_details import PlannerTaskCompletionRequirementDetails from .item_body import ItemBody + from .planner_base_approval_attachment import PlannerBaseApprovalAttachment from .planner_checklist_items import PlannerChecklistItems from .planner_delta import PlannerDelta from .planner_external_references import PlannerExternalReferences + from .planner_forms_dictionary import PlannerFormsDictionary from .planner_preview_type import PlannerPreviewType from .planner_task_completion_requirement_details import PlannerTaskCompletionRequirementDetails fields: Dict[str, Callable[[Any], None]] = { + "approvalAttachment": lambda n : setattr(self, 'approval_attachment', n.get_object_value(PlannerBaseApprovalAttachment)), "checklist": lambda n : setattr(self, 'checklist', n.get_object_value(PlannerChecklistItems)), "completionRequirements": lambda n : setattr(self, 'completion_requirements', n.get_object_value(PlannerTaskCompletionRequirementDetails)), "description": lambda n : setattr(self, 'description', n.get_str_value()), + "forms": lambda n : setattr(self, 'forms', n.get_object_value(PlannerFormsDictionary)), "notes": lambda n : setattr(self, 'notes', n.get_object_value(ItemBody)), "previewType": lambda n : setattr(self, 'preview_type', n.get_enum_value(PlannerPreviewType)), "references": lambda n : setattr(self, 'references', n.get_object_value(PlannerExternalReferences)), @@ -81,9 +93,11 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") super().serialize(writer) + writer.write_object_value("approvalAttachment", self.approval_attachment) writer.write_object_value("checklist", self.checklist) writer.write_object_value("completionRequirements", self.completion_requirements) writer.write_str_value("description", self.description) + writer.write_object_value("forms", self.forms) writer.write_object_value("notes", self.notes) writer.write_enum_value("previewType", self.preview_type) writer.write_object_value("references", self.references) diff --git a/msgraph_beta/generated/models/planner_task_property_rule.py b/msgraph_beta/generated/models/planner_task_property_rule.py index 77927b48267..d6234101698 100644 --- a/msgraph_beta/generated/models/planner_task_property_rule.py +++ b/msgraph_beta/generated/models/planner_task_property_rule.py @@ -15,6 +15,8 @@ class PlannerTaskPropertyRule(PlannerPropertyRule): odata_type: Optional[str] = "#microsoft.graph.plannerTaskPropertyRule" # Rules and restrictions for applied categories. This value does not currently support overrides. Accepted values for the default rule and individual overrides are allow, block. applied_categories: Optional[PlannerFieldRules] = None + # The approvalAttachment property + approval_attachment: Optional[PlannerFieldRules] = None # Rules and restrictions for assignments. Allowed overrides are userCreated and applicationCreated. Accepted values for the default rule and individual overrides are allow, add, addSelf, addOther, remove, removeSelf, removeOther, block. assignments: Optional[PlannerFieldRules] = None # Rules and restrictions for checklist. Allowed overrides are userCreated and applicationCreated. Accepted values for the default rule and individual overrides are allow, add, remove, update, check, reorder, block. @@ -25,6 +27,8 @@ class PlannerTaskPropertyRule(PlannerPropertyRule): delete: Optional[List[str]] = None # Rules and restrictions for changing the due date of the task. Accepted values are allow and block. due_date: Optional[List[str]] = None + # The forms property + forms: Optional[PlannerFieldRules] = None # Rules and restrictions for moving the task between buckets or plans. Accepted values are allow, moveBetweenPlans, moveBetweenBuckets, and block. move: Optional[List[str]] = None # Rules and restrictions for changing the notes of the task. Accepted values are allow and block. @@ -68,11 +72,13 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "appliedCategories": lambda n : setattr(self, 'applied_categories', n.get_object_value(PlannerFieldRules)), + "approvalAttachment": lambda n : setattr(self, 'approval_attachment', n.get_object_value(PlannerFieldRules)), "assignments": lambda n : setattr(self, 'assignments', n.get_object_value(PlannerFieldRules)), "checkLists": lambda n : setattr(self, 'check_lists', n.get_object_value(PlannerFieldRules)), "completionRequirements": lambda n : setattr(self, 'completion_requirements', n.get_collection_of_primitive_values(str)), "delete": lambda n : setattr(self, 'delete', n.get_collection_of_primitive_values(str)), "dueDate": lambda n : setattr(self, 'due_date', n.get_collection_of_primitive_values(str)), + "forms": lambda n : setattr(self, 'forms', n.get_object_value(PlannerFieldRules)), "move": lambda n : setattr(self, 'move', n.get_collection_of_primitive_values(str)), "notes": lambda n : setattr(self, 'notes', n.get_collection_of_primitive_values(str)), "order": lambda n : setattr(self, 'order', n.get_collection_of_primitive_values(str)), @@ -97,11 +103,13 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") super().serialize(writer) writer.write_object_value("appliedCategories", self.applied_categories) + writer.write_object_value("approvalAttachment", self.approval_attachment) writer.write_object_value("assignments", self.assignments) writer.write_object_value("checkLists", self.check_lists) writer.write_collection_of_primitive_values("completionRequirements", self.completion_requirements) writer.write_collection_of_primitive_values("delete", self.delete) writer.write_collection_of_primitive_values("dueDate", self.due_date) + writer.write_object_value("forms", self.forms) writer.write_collection_of_primitive_values("move", self.move) writer.write_collection_of_primitive_values("notes", self.notes) writer.write_collection_of_primitive_values("order", self.order) diff --git a/msgraph_beta/generated/models/platform_credential_authentication_method.py b/msgraph_beta/generated/models/platform_credential_authentication_method.py index c921077d879..e6c61972adc 100644 --- a/msgraph_beta/generated/models/platform_credential_authentication_method.py +++ b/msgraph_beta/generated/models/platform_credential_authentication_method.py @@ -16,15 +16,15 @@ class PlatformCredentialAuthenticationMethod(AuthenticationMethod): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.platformCredentialAuthenticationMethod" - # The createdDateTime property + # The date and time that this Platform Credential Key was registered. created_date_time: Optional[datetime.datetime] = None - # The device property + # The registered device on which this Platform Credential resides. Supports $expand. When you get a user's Platform Credential registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/platformCredentialAuthenticationMethod/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device. device: Optional[Device] = None - # The displayName property + # The name of the device on which Platform Credential is registered. display_name: Optional[str] = None - # The keyStrength property + # Key strength of this Platform Credential key. Possible values are: normal, weak, unknown. key_strength: Optional[AuthenticationMethodKeyStrength] = None - # The platform property + # Platform on which this Platform Credential key is present. Possible values are: unknown, windows, macOS,iOS, android, linux. platform: Optional[AuthenticationMethodPlatform] = None @staticmethod diff --git a/msgraph_beta/generated/models/policy_root.py b/msgraph_beta/generated/models/policy_root.py index 3fb91b2a04b..bd59e1798dd 100644 --- a/msgraph_beta/generated/models/policy_root.py +++ b/msgraph_beta/generated/models/policy_root.py @@ -1,7 +1,6 @@ from __future__ import annotations from dataclasses import dataclass, field -from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter -from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: @@ -19,6 +18,7 @@ from .cross_tenant_access_policy import CrossTenantAccessPolicy from .device_registration_policy import DeviceRegistrationPolicy from .directory_role_access_review_policy import DirectoryRoleAccessReviewPolicy + from .entity import Entity from .external_identities_policy import ExternalIdentitiesPolicy from .feature_rollout_policy import FeatureRolloutPolicy from .federated_token_validation_policy import FederatedTokenValidationPolicy @@ -33,13 +33,10 @@ from .unified_role_management_policy import UnifiedRoleManagementPolicy from .unified_role_management_policy_assignment import UnifiedRoleManagementPolicyAssignment -@dataclass -class PolicyRoot(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) +from .entity import Entity - # 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) +@dataclass +class PolicyRoot(Entity): # The policy that contains directory-level access review settings. access_review_policy: Optional[AccessReviewPolicy] = None # The policy that controls the idle time-out for web sessions for applications. @@ -129,6 +126,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .cross_tenant_access_policy import CrossTenantAccessPolicy from .device_registration_policy import DeviceRegistrationPolicy from .directory_role_access_review_policy import DirectoryRoleAccessReviewPolicy + from .entity import Entity from .external_identities_policy import ExternalIdentitiesPolicy from .feature_rollout_policy import FeatureRolloutPolicy from .federated_token_validation_policy import FederatedTokenValidationPolicy @@ -157,6 +155,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .cross_tenant_access_policy import CrossTenantAccessPolicy from .device_registration_policy import DeviceRegistrationPolicy from .directory_role_access_review_policy import DirectoryRoleAccessReviewPolicy + from .entity import Entity from .external_identities_policy import ExternalIdentitiesPolicy from .feature_rollout_policy import FeatureRolloutPolicy from .federated_token_validation_policy import FederatedTokenValidationPolicy @@ -194,7 +193,6 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "identitySecurityDefaultsEnforcementPolicy": lambda n : setattr(self, 'identity_security_defaults_enforcement_policy', n.get_object_value(IdentitySecurityDefaultsEnforcementPolicy)), "mobileAppManagementPolicies": lambda n : setattr(self, 'mobile_app_management_policies', n.get_collection_of_object_values(MobilityManagementPolicy)), "mobileDeviceManagementPolicies": lambda n : setattr(self, 'mobile_device_management_policies', n.get_collection_of_object_values(MobilityManagementPolicy)), - "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "permissionGrantPolicies": lambda n : setattr(self, 'permission_grant_policies', n.get_collection_of_object_values(PermissionGrantPolicy)), "roleManagementPolicies": lambda n : setattr(self, 'role_management_policies', n.get_collection_of_object_values(UnifiedRoleManagementPolicy)), "roleManagementPolicyAssignments": lambda n : setattr(self, 'role_management_policy_assignments', n.get_collection_of_object_values(UnifiedRoleManagementPolicyAssignment)), @@ -202,6 +200,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "tokenIssuancePolicies": lambda n : setattr(self, 'token_issuance_policies', n.get_collection_of_object_values(TokenIssuancePolicy)), "tokenLifetimePolicies": lambda n : setattr(self, 'token_lifetime_policies', n.get_collection_of_object_values(TokenLifetimePolicy)), } + super_fields = super().get_field_deserializers() + fields.update(super_fields) return fields def serialize(self,writer: SerializationWriter) -> None: @@ -212,6 +212,7 @@ def serialize(self,writer: SerializationWriter) -> None: """ if not writer: raise TypeError("writer cannot be null.") + super().serialize(writer) writer.write_object_value("accessReviewPolicy", self.access_review_policy) writer.write_collection_of_object_values("activityBasedTimeoutPolicies", self.activity_based_timeout_policies) writer.write_object_value("adminConsentRequestPolicy", self.admin_consent_request_policy) @@ -234,13 +235,11 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_object_value("identitySecurityDefaultsEnforcementPolicy", self.identity_security_defaults_enforcement_policy) writer.write_collection_of_object_values("mobileAppManagementPolicies", self.mobile_app_management_policies) writer.write_collection_of_object_values("mobileDeviceManagementPolicies", self.mobile_device_management_policies) - writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("permissionGrantPolicies", self.permission_grant_policies) writer.write_collection_of_object_values("roleManagementPolicies", self.role_management_policies) writer.write_collection_of_object_values("roleManagementPolicyAssignments", self.role_management_policy_assignments) writer.write_collection_of_object_values("servicePrincipalCreationPolicies", self.service_principal_creation_policies) writer.write_collection_of_object_values("tokenIssuancePolicies", self.token_issuance_policies) writer.write_collection_of_object_values("tokenLifetimePolicies", self.token_lifetime_policies) - writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/position_detail.py b/msgraph_beta/generated/models/position_detail.py index 67dd5c9a1e9..34a4bfd3ff3 100644 --- a/msgraph_beta/generated/models/position_detail.py +++ b/msgraph_beta/generated/models/position_detail.py @@ -23,9 +23,9 @@ class PositionDetail(AdditionalDataHolder, BackedModel, Parsable): end_month_year: Optional[datetime.date] = None # The title held when in that position. job_title: Optional[str] = None - # The layer property + # The place where the employee is within the organizational hierarchy. layer: Optional[int] = None - # The level property + # The employee’s experience or management level. level: Optional[str] = None # The OdataType property odata_type: Optional[str] = None @@ -33,7 +33,7 @@ class PositionDetail(AdditionalDataHolder, BackedModel, Parsable): role: Optional[str] = None # The start month and year of the position. start_month_year: Optional[datetime.date] = None - # Short summary of the position. + # summary of the position. summary: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/print_settings.py b/msgraph_beta/generated/models/print_settings.py index 86e676bc020..b9106f5c5e2 100644 --- a/msgraph_beta/generated/models/print_settings.py +++ b/msgraph_beta/generated/models/print_settings.py @@ -4,6 +4,9 @@ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +if TYPE_CHECKING: + from .printer_discovery_settings import PrinterDiscoverySettings + @dataclass class PrintSettings(AdditionalDataHolder, BackedModel, Parsable): # Stores model information. @@ -15,6 +18,8 @@ class PrintSettings(AdditionalDataHolder, BackedModel, Parsable): document_conversion_enabled: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None + # The printerDiscoverySettings property + printer_discovery_settings: Optional[PrinterDiscoverySettings] = None @staticmethod def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> PrintSettings: @@ -32,9 +37,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 .printer_discovery_settings import PrinterDiscoverySettings + + from .printer_discovery_settings import PrinterDiscoverySettings + fields: Dict[str, Callable[[Any], None]] = { "documentConversionEnabled": lambda n : setattr(self, 'document_conversion_enabled', n.get_bool_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "printerDiscoverySettings": lambda n : setattr(self, 'printer_discovery_settings', n.get_object_value(PrinterDiscoverySettings)), } return fields @@ -48,6 +58,7 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") writer.write_bool_value("documentConversionEnabled", self.document_conversion_enabled) writer.write_str_value("@odata.type", self.odata_type) + writer.write_object_value("printerDiscoverySettings", self.printer_discovery_settings) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/printer_discovery_settings.py b/msgraph_beta/generated/models/printer_discovery_settings.py new file mode 100644 index 00000000000..e006b76bae4 --- /dev/null +++ b/msgraph_beta/generated/models/printer_discovery_settings.py @@ -0,0 +1,60 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .air_print_settings import AirPrintSettings + +@dataclass +class PrinterDiscoverySettings(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 airPrint property + air_print: Optional[AirPrintSettings] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> PrinterDiscoverySettings: + """ + 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: PrinterDiscoverySettings + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return PrinterDiscoverySettings() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .air_print_settings import AirPrintSettings + + from .air_print_settings import AirPrintSettings + + fields: Dict[str, Callable[[Any], None]] = { + "airPrint": lambda n : setattr(self, 'air_print', n.get_object_value(AirPrintSettings)), + "@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 not writer: + raise TypeError("writer cannot be null.") + writer.write_object_value("airPrint", self.air_print) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/privilege_escalation.py b/msgraph_beta/generated/models/privilege_escalation.py index 245f4491f01..b22aef70e5a 100644 --- a/msgraph_beta/generated/models/privilege_escalation.py +++ b/msgraph_beta/generated/models/privilege_escalation.py @@ -12,15 +12,15 @@ @dataclass class PrivilegeEscalation(Entity): - # The actions property + # The list of actions that the identity could perform. actions: Optional[List[AuthorizationSystemTypeAction]] = None - # The description property + # A detailed description of the privilege escalation. description: Optional[str] = None - # The displayName property + # The name of the policy that defines the escalation display_name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The resources property + # The list of resources that the identity could perform actions on. resources: Optional[List[AuthorizationSystemResource]] = None @staticmethod diff --git a/msgraph_beta/generated/models/privilege_escalation_finding.py b/msgraph_beta/generated/models/privilege_escalation_finding.py index 8edaa71bab1..2adb2e8d532 100644 --- a/msgraph_beta/generated/models/privilege_escalation_finding.py +++ b/msgraph_beta/generated/models/privilege_escalation_finding.py @@ -20,13 +20,13 @@ class PrivilegeEscalationFinding(Finding): # The identity property identity: Optional[AuthorizationSystemIdentity] = None - # The identityDetails property + # An identity's information details. Inherited from finding. identity_details: Optional[IdentityDetails] = None # The OdataType property odata_type: Optional[str] = None # The permissionsCreepIndex property permissions_creep_index: Optional[PermissionsCreepIndex] = None - # The privilegeEscalationDetails property + # The list of escalations that the identity is capable of performing. privilege_escalation_details: Optional[List[PrivilegeEscalation]] = None @staticmethod diff --git a/msgraph_beta/generated/models/privilege_management_elevation_request.py b/msgraph_beta/generated/models/privilege_management_elevation_request.py new file mode 100644 index 00000000000..d3d87de5a3a --- /dev/null +++ b/msgraph_beta/generated/models/privilege_management_elevation_request.py @@ -0,0 +1,118 @@ +from __future__ import annotations +import datetime +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .application_detail import ApplicationDetail + from .elevation_request_state import ElevationRequestState + from .entity import Entity + +from .entity import Entity + +@dataclass +class PrivilegeManagementElevationRequest(Entity): + """ + These are elevation approval requests for EPM support arbitrated scenario initiated by IW user that admins can take action on. + """ + # Details of the application which is being requested to elevate, allowing the admin to understand the identity of the application. It includes file info such as FilePath, FileHash, FilePublisher, and etc. Returned by default. Read-only. + application_detail: Optional[ApplicationDetail] = None + # The device name used to initiate the elevation request. For example: 'cotonso-laptop'. Returned by default. Read-only. + device_name: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + # The date and time when the elevation request was submitted/created. The value cannot be modified and is automatically populated when the elevation request is submitted/created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned by default. Read-only. + request_created_date_time: Optional[datetime.datetime] = None + # Expiration set for the request when it was created, regardless of approved or denied status. For example: '2023-08-03T14:24:22Z'. Returned by default. Returned by default. Read-only. + request_expiry_date_time: Optional[datetime.datetime] = None + # Justification provided by the end user for the elevation request. For example :'Need to elevate to install microsoft word'. Read-only. + request_justification: Optional[str] = None + # The date and time when the elevation request was either submitted/created or approved/denied. The value cannot be modified and is automatically populated. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned by default. Read-only. + request_last_modified_date_time: Optional[datetime.datetime] = None + # The Azure Active Directory (AAD) identifier of the end user who is requesting this elevation. For example: 'F1A57311-B9EB-45B7-9415-8555E68EDC9E'. Returned by default. Read-only. + requested_by_user_id: Optional[str] = None + # The User Principal Name (UPN) of the end user who requested this elevation. For example: 'user1@contoso.com'. Returned by default. Read-only. + requested_by_user_principal_name: Optional[str] = None + # The Intune Device Identifier of the managed device used to initiate the elevation request. For example: '90F5F6E8-CA09-4811-97F6-4D0DD532D916'. Returned by default. Read-only. + requested_on_device_id: Optional[str] = None + # This is the Azure Active Directory (AAD) user id of the administrator who approved or denied the request. For example: 'F1A57311-B9EB-45B7-9415-8555E68EDC9E'. This field would be String.Empty before the request is either approved or denied. Read-only. + review_completed_by_user_id: Optional[str] = None + # This is the User Principal Name (UPN) of the administrator who approved or denied the request. For example: 'admin@contoso.com'. This field would be String.Empty before the request is either approved or denied. Read-only. + review_completed_by_user_principal_name: Optional[str] = None + # The DateTime for which the request was approved or denied. For example, midnight UTC on August 3rd, 2023 would look like this: '2023-08-03T00:00:00Z'. Read-only. + review_completed_date_time: Optional[datetime.datetime] = None + # An optional justification provided by approver at approval or denied time. This field will be String.Empty if approver decides to not provide a justification. For example: 'Run this installer today' + reviewer_justification: Optional[str] = None + # Indicates state of elevation request + status: Optional[ElevationRequestState] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> PrivilegeManagementElevationRequest: + """ + 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: PrivilegeManagementElevationRequest + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return PrivilegeManagementElevationRequest() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .application_detail import ApplicationDetail + from .elevation_request_state import ElevationRequestState + from .entity import Entity + + from .application_detail import ApplicationDetail + from .elevation_request_state import ElevationRequestState + from .entity import Entity + + fields: Dict[str, Callable[[Any], None]] = { + "applicationDetail": lambda n : setattr(self, 'application_detail', n.get_object_value(ApplicationDetail)), + "deviceName": lambda n : setattr(self, 'device_name', n.get_str_value()), + "requestCreatedDateTime": lambda n : setattr(self, 'request_created_date_time', n.get_datetime_value()), + "requestExpiryDateTime": lambda n : setattr(self, 'request_expiry_date_time', n.get_datetime_value()), + "requestJustification": lambda n : setattr(self, 'request_justification', n.get_str_value()), + "requestLastModifiedDateTime": lambda n : setattr(self, 'request_last_modified_date_time', n.get_datetime_value()), + "requestedByUserId": lambda n : setattr(self, 'requested_by_user_id', n.get_str_value()), + "requestedByUserPrincipalName": lambda n : setattr(self, 'requested_by_user_principal_name', n.get_str_value()), + "requestedOnDeviceId": lambda n : setattr(self, 'requested_on_device_id', n.get_str_value()), + "reviewCompletedByUserId": lambda n : setattr(self, 'review_completed_by_user_id', n.get_str_value()), + "reviewCompletedByUserPrincipalName": lambda n : setattr(self, 'review_completed_by_user_principal_name', n.get_str_value()), + "reviewCompletedDateTime": lambda n : setattr(self, 'review_completed_date_time', n.get_datetime_value()), + "reviewerJustification": lambda n : setattr(self, 'reviewer_justification', n.get_str_value()), + "status": lambda n : setattr(self, 'status', n.get_enum_value(ElevationRequestState)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_object_value("applicationDetail", self.application_detail) + writer.write_str_value("deviceName", self.device_name) + writer.write_datetime_value("requestCreatedDateTime", self.request_created_date_time) + writer.write_datetime_value("requestExpiryDateTime", self.request_expiry_date_time) + writer.write_str_value("requestJustification", self.request_justification) + writer.write_datetime_value("requestLastModifiedDateTime", self.request_last_modified_date_time) + writer.write_str_value("requestedByUserId", self.requested_by_user_id) + writer.write_str_value("requestedByUserPrincipalName", self.requested_by_user_principal_name) + writer.write_str_value("requestedOnDeviceId", self.requested_on_device_id) + writer.write_str_value("reviewCompletedByUserId", self.review_completed_by_user_id) + writer.write_str_value("reviewCompletedByUserPrincipalName", self.review_completed_by_user_principal_name) + writer.write_datetime_value("reviewCompletedDateTime", self.review_completed_date_time) + writer.write_str_value("reviewerJustification", self.reviewer_justification) + writer.write_enum_value("status", self.status) + + diff --git a/msgraph_beta/generated/models/privilege_management_elevation_request_collection_response.py b/msgraph_beta/generated/models/privilege_management_elevation_request_collection_response.py new file mode 100644 index 00000000000..60f332cd49b --- /dev/null +++ b/msgraph_beta/generated/models/privilege_management_elevation_request_collection_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .privilege_management_elevation_request import PrivilegeManagementElevationRequest + +from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class PrivilegeManagementElevationRequestCollectionResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[PrivilegeManagementElevationRequest]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> PrivilegeManagementElevationRequestCollectionResponse: + """ + 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: PrivilegeManagementElevationRequestCollectionResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return PrivilegeManagementElevationRequestCollectionResponse() + + 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 .privilege_management_elevation_request import PrivilegeManagementElevationRequest + + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .privilege_management_elevation_request import PrivilegeManagementElevationRequest + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(PrivilegeManagementElevationRequest)), + } + 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 not writer: + 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/profile_card_annotation.py b/msgraph_beta/generated/models/profile_card_annotation.py index 5d38d1b2405..49dd8864c3a 100644 --- a/msgraph_beta/generated/models/profile_card_annotation.py +++ b/msgraph_beta/generated/models/profile_card_annotation.py @@ -16,7 +16,7 @@ class ProfileCardAnnotation(AdditionalDataHolder, BackedModel, Parsable): additional_data: Dict[str, Any] = field(default_factory=dict) # If present, the value of this field is used by the profile card as the default property label in the experience (for example, 'Cost Center'). display_name: Optional[str] = None - # Each resource in this collection represents the localized value of the attribute name for a given language, used as the default label for that locale. For example, a user with a no-NB client gets 'Kostnads Senter' as the attribute label, rather than 'Cost Center.' + # Each resource in this collection represents the localized value of the attribute name for a given language, used as the default label for that locale. For example, a user with a nb-NO client gets 'Kostnadssenter' as the attribute label, rather than 'Cost Center.' localizations: Optional[List[DisplayNameLocalization]] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/profile_card_property.py b/msgraph_beta/generated/models/profile_card_property.py index d65880210d8..6cf11e51181 100644 --- a/msgraph_beta/generated/models/profile_card_property.py +++ b/msgraph_beta/generated/models/profile_card_property.py @@ -13,7 +13,7 @@ class ProfileCardProperty(Entity): # Allows an administrator to set a custom display label for the directory property and localize it for the users in their tenant. annotations: Optional[List[ProfileCardAnnotation]] = None - # Identifies a profileCardProperty resource in Get, Update, or Delete operations. Allows an administrator to surface hidden Microsoft Entra properties on the Microsoft 365 profile card within their tenant. When present, the Microsoft Entra ID field referenced in this field will be visible to all users in your tenant on the contact pane of the profile card. Allowed values for this field are: UserPrincipalName, Fax, StreetAddress, PostalCode, StateOrProvince, Alias, CustomAttribute1, CustomAttribute2, CustomAttribute3, CustomAttribute4, CustomAttribute5, CustomAttribute6, CustomAttribute7, CustomAttribute8, CustomAttribute9, CustomAttribute10, CustomAttribute11, CustomAttribute12, CustomAttribute13, CustomAttribute14, CustomAttribute15. + # Identifies a profileCardProperty resource in Get, Update, or Delete operations. Allows an administrator to surface hidden Microsoft Entra ID properties on the Microsoft 365 profile card within their tenant. When present, the Microsoft Entra ID field referenced in this property is visible to all users in your tenant on the contact pane of the profile card. Allowed values for this field are: UserPrincipalName, Fax, StreetAddress, PostalCode, StateOrProvince, Alias, CustomAttribute1, CustomAttribute2, CustomAttribute3, CustomAttribute4, CustomAttribute5, CustomAttribute6, CustomAttribute7, CustomAttribute8, CustomAttribute9, CustomAttribute10, CustomAttribute11, CustomAttribute12, CustomAttribute13, CustomAttribute14, CustomAttribute15. directory_property_name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/pronouns_settings.py b/msgraph_beta/generated/models/pronouns_settings.py index db49b4245ef..db7250003af 100644 --- a/msgraph_beta/generated/models/pronouns_settings.py +++ b/msgraph_beta/generated/models/pronouns_settings.py @@ -10,7 +10,7 @@ @dataclass class PronounsSettings(Entity): - # true to enable pronouns in the organization, false otherwise. The default is false, and pronouns are disabled. + # true to enable pronouns in the organization; otherwise, false. The default value is false, and pronouns are disabled. is_enabled_in_organization: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/publication_facet.py b/msgraph_beta/generated/models/publication_facet.py index f64e36c473f..f279d003023 100644 --- a/msgraph_beta/generated/models/publication_facet.py +++ b/msgraph_beta/generated/models/publication_facet.py @@ -14,7 +14,7 @@ class PublicationFacet(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) - # User who has checked out the file. + # The user who checked out the file. checked_out_by: Optional[IdentitySet] = None # The state of publication for this document. Either published or checkout. Read-only. level: Optional[str] = None diff --git a/msgraph_beta/generated/models/recommendation_base.py b/msgraph_beta/generated/models/recommendation_base.py index 01c6cc85245..faef3469d7d 100644 --- a/msgraph_beta/generated/models/recommendation_base.py +++ b/msgraph_beta/generated/models/recommendation_base.py @@ -55,7 +55,7 @@ class RecommendationBase(Entity): postpone_until_date_time: Optional[datetime.datetime] = None # The priority property priority: Optional[RecommendationPriority] = None - # Friendly shortname to identify the recommendation. The possible values are: adfsAppsMigration, enableDesktopSSO, enablePHS, enableProvisioning, switchFromPerUserMFA, tenantMFA, thirdPartyApps, turnOffPerUserMFA, useAuthenticatorApp, useMyApps, staleApps, staleAppCreds, applicationCredentialExpiry, servicePrincipalKeyExpiry, adminMFAV2, blockLegacyAuthentication, integratedApps, mfaRegistrationV2, pwagePolicyNew, passwordHashSync, oneAdmin, roleOverlap, selfServicePasswordReset, signinRiskPolicy, userRiskPolicy, verifyAppPublisher, privateLinkForAAD, appRoleAssignmentsGroups, appRoleAssignmentsUsers, managedIdentity, overprivilegedApps, unknownFutureValue. + # Friendly shortname to identify the recommendation. The possible values are: adfsAppsMigration, enableDesktopSSO, enablePHS, enableProvisioning, switchFromPerUserMFA, tenantMFA, thirdPartyApps, turnOffPerUserMFA, useAuthenticatorApp, useMyApps, staleApps, staleAppCreds, applicationCredentialExpiry, servicePrincipalKeyExpiry, adminMFAV2, blockLegacyAuthentication, integratedApps, mfaRegistrationV2, pwagePolicyNew, passwordHashSync, oneAdmin, roleOverlap, selfServicePasswordReset, signinRiskPolicy, userRiskPolicy, verifyAppPublisher, privateLinkForAAD, appRoleAssignmentsGroups, appRoleAssignmentsUsers, managedIdentity, overprivilegedApps, unknownFutureValue, longLivedCredentials, aadConnectDeprecated, adalToMsalMigration, ownerlessApps, inactiveGuests. Also, please note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: longLivedCredentials, aadConnectDeprecated, adalToMsalMigration, ownerlessApps, inactiveGuests. recommendation_type: Optional[RecommendationType] = None # The current release type of the recommendation. The possible values are: preview, generallyAvailable, unknownFutureValue. release_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/recommendation_type.py b/msgraph_beta/generated/models/recommendation_type.py index f68af08fe4b..a20b9937b26 100644 --- a/msgraph_beta/generated/models/recommendation_type.py +++ b/msgraph_beta/generated/models/recommendation_type.py @@ -33,4 +33,9 @@ class RecommendationType(str, Enum): ManagedIdentity = "managedIdentity", OverprivilegedApps = "overprivilegedApps", UnknownFutureValue = "unknownFutureValue", + LongLivedCredentials = "longLivedCredentials", + AadConnectDeprecated = "aadConnectDeprecated", + AdalToMsalMigration = "adalToMsalMigration", + OwnerlessApps = "ownerlessApps", + InactiveGuests = "inactiveGuests", diff --git a/msgraph_beta/generated/models/related_person.py b/msgraph_beta/generated/models/related_person.py index 2192e6d5cb8..836a3b96020 100644 --- a/msgraph_beta/generated/models/related_person.py +++ b/msgraph_beta/generated/models/related_person.py @@ -20,9 +20,9 @@ class RelatedPerson(AdditionalDataHolder, BackedModel, Parsable): odata_type: Optional[str] = None # Possible values are: manager, colleague, directReport, dotLineReport, assistant, dotLineManager, alternateContact, friend, spouse, sibling, child, parent, sponsor, emergencyContact, other, unknownFutureValue. relationship: Optional[PersonRelationship] = None - # The userId property + # The user's directory object ID (Microsoft Entra ID or CID). user_id: Optional[str] = None - # Email address or reference to person within organization. + # Email address or reference to person within the organization. user_principal_name: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/remind_before_time_in_minutes_type.py b/msgraph_beta/generated/models/remind_before_time_in_minutes_type.py new file mode 100644 index 00000000000..b300fa0d37e --- /dev/null +++ b/msgraph_beta/generated/models/remind_before_time_in_minutes_type.py @@ -0,0 +1,6 @@ +from enum import Enum + +class RemindBeforeTimeInMinutesType(str, Enum): + Mins15 = "mins15", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/remote_action.py b/msgraph_beta/generated/models/remote_action.py index 0fd69c1fed6..4d9a0156f8f 100644 --- a/msgraph_beta/generated/models/remote_action.py +++ b/msgraph_beta/generated/models/remote_action.py @@ -71,4 +71,6 @@ class RemoteAction(str, Enum): RevokeAppleVppLicenses = "revokeAppleVppLicenses", # Indicate IT Admin initiates an action to remove devices from Device Firmware Configuration Interface management RemoveDeviceFirmwareConfigurationInterfaceManagement = "removeDeviceFirmwareConfigurationInterfaceManagement", + # Indicates an action has been initiated to pause configuration refresh for the device. + PauseConfigurationRefresh = "pauseConfigurationRefresh", diff --git a/msgraph_beta/generated/models/report_root.py b/msgraph_beta/generated/models/report_root.py index 003a51be2a1..9e4135216c3 100644 --- a/msgraph_beta/generated/models/report_root.py +++ b/msgraph_beta/generated/models/report_root.py @@ -13,6 +13,7 @@ from .print_usage_by_printer import PrintUsageByPrinter from .print_usage_by_user import PrintUsageByUser from .security_reports_root import SecurityReportsRoot + from .service_activity import ServiceActivity from .service_level_agreement_root import ServiceLevelAgreementRoot from .service_principal_sign_in_activity import ServicePrincipalSignInActivity from .user_credential_usage_details import UserCredentialUsageDetails @@ -28,7 +29,7 @@ class ReportRoot(Entity): application_sign_in_detailed_summary: Optional[List[ApplicationSignInDetailedSummary]] = None # Container for navigation properties for Microsoft Entra authentication methods resources. authentication_methods: Optional[AuthenticationMethodsRoot] = None - # Details of the usage of self-service password reset and multi-factor authentication (MFA) for all registered users. + # Details of the usage of self-service password reset and multifactor authentication (MFA) for all registered users. credential_user_registration_details: Optional[List[CredentialUserRegistrationDetails]] = None # The dailyPrintUsage property daily_print_usage: Optional[List[PrintUsage]] = None @@ -50,15 +51,17 @@ class ReportRoot(Entity): monthly_print_usage_summaries_by_user: Optional[List[PrintUsageByUser]] = None # The OdataType property odata_type: Optional[str] = None - # Provides the ability to launch a realistically simulated phishing attack that organizations can learn from. + # Provides the ability to launch a simulated phishing attack that organizations can learn from. security: Optional[SecurityReportsRoot] = None + # Reports that relate to tenant-level authentication activities in Microsoft Entra. + service_activity: Optional[ServiceActivity] = None # Represents a collection of sign-in activities of service principals. service_principal_sign_in_activities: Optional[List[ServicePrincipalSignInActivity]] = None - # A placeholder to allow for the desired URL path for SLA. + # Reports that relate to tenant-level Microsoft Entra SLA attainment. sla: Optional[ServiceLevelAgreementRoot] = None # Represents the self-service password reset (SSPR) usage for a given tenant. user_credential_usage_details: Optional[List[UserCredentialUsageDetails]] = None - # The userInsights property + # Represents a collection of user activities on applications in a tenant that is configured for Microsoft Entra External ID for customers. user_insights: Optional[UserInsightsRoot] = None @staticmethod @@ -86,6 +89,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .print_usage_by_printer import PrintUsageByPrinter from .print_usage_by_user import PrintUsageByUser from .security_reports_root import SecurityReportsRoot + from .service_activity import ServiceActivity from .service_level_agreement_root import ServiceLevelAgreementRoot from .service_principal_sign_in_activity import ServicePrincipalSignInActivity from .user_credential_usage_details import UserCredentialUsageDetails @@ -100,6 +104,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .print_usage_by_printer import PrintUsageByPrinter from .print_usage_by_user import PrintUsageByUser from .security_reports_root import SecurityReportsRoot + from .service_activity import ServiceActivity from .service_level_agreement_root import ServiceLevelAgreementRoot from .service_principal_sign_in_activity import ServicePrincipalSignInActivity from .user_credential_usage_details import UserCredentialUsageDetails @@ -120,6 +125,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "monthlyPrintUsageSummariesByPrinter": lambda n : setattr(self, 'monthly_print_usage_summaries_by_printer', n.get_collection_of_object_values(PrintUsageByPrinter)), "monthlyPrintUsageSummariesByUser": lambda n : setattr(self, 'monthly_print_usage_summaries_by_user', n.get_collection_of_object_values(PrintUsageByUser)), "security": lambda n : setattr(self, 'security', n.get_object_value(SecurityReportsRoot)), + "serviceActivity": lambda n : setattr(self, 'service_activity', n.get_object_value(ServiceActivity)), "servicePrincipalSignInActivities": lambda n : setattr(self, 'service_principal_sign_in_activities', n.get_collection_of_object_values(ServicePrincipalSignInActivity)), "sla": lambda n : setattr(self, 'sla', n.get_object_value(ServiceLevelAgreementRoot)), "userCredentialUsageDetails": lambda n : setattr(self, 'user_credential_usage_details', n.get_collection_of_object_values(UserCredentialUsageDetails)), @@ -152,6 +158,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_collection_of_object_values("monthlyPrintUsageSummariesByPrinter", self.monthly_print_usage_summaries_by_printer) writer.write_collection_of_object_values("monthlyPrintUsageSummariesByUser", self.monthly_print_usage_summaries_by_user) writer.write_object_value("security", self.security) + writer.write_object_value("serviceActivity", self.service_activity) writer.write_collection_of_object_values("servicePrincipalSignInActivities", self.service_principal_sign_in_activities) writer.write_object_value("sla", self.sla) writer.write_collection_of_object_values("userCredentialUsageDetails", self.user_credential_usage_details) diff --git a/msgraph_beta/generated/models/risk_profile.py b/msgraph_beta/generated/models/risk_profile.py index 4896d1194da..d3bad5838ab 100644 --- a/msgraph_beta/generated/models/risk_profile.py +++ b/msgraph_beta/generated/models/risk_profile.py @@ -11,9 +11,9 @@ class RiskProfile(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 humanCount property + # This is the count of human identities that have been assigned to this riskScoreBracket, human_count: Optional[int] = None - # The nonHumanCount property + # This is the count of nonhuman identities that have been assigned to this riskScoreBracket non_human_count: Optional[int] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/schedule.py b/msgraph_beta/generated/models/schedule.py index 1586561bf55..b36da268e5a 100644 --- a/msgraph_beta/generated/models/schedule.py +++ b/msgraph_beta/generated/models/schedule.py @@ -4,6 +4,8 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: + from .day_note import DayNote + from .day_of_week import DayOfWeek from .entity import Entity from .offer_shift_request import OfferShiftRequest from .open_shift import OpenShift @@ -22,6 +24,10 @@ @dataclass class Schedule(Entity): + # Indicates whether copied shifts should include the activities. + activities_included_when_copying_shifts_enabled: Optional[bool] = None + # The day notes in the schedule. + day_notes: Optional[List[DayNote]] = None # Indicates whether the schedule is enabled for the team. Required. enabled: Optional[bool] = None # The OdataType property @@ -44,15 +50,17 @@ class Schedule(Entity): scheduling_groups: Optional[List[SchedulingGroup]] = None # The shifts in the schedule. shifts: Optional[List[Shift]] = None + # Indicates the start day of the week. + start_day_of_week: Optional[DayOfWeek] = None # The swap requests for shifts in the schedule. swap_shifts_change_requests: Optional[List[SwapShiftsChangeRequest]] = None # Indicates whether swap shifts requests are enabled for the schedule. swap_shifts_requests_enabled: Optional[bool] = None - # The timeCards property + # The time cards in the schedule. time_cards: Optional[List[TimeCard]] = None # Indicates whether time clock is enabled for the schedule. time_clock_enabled: Optional[bool] = None - # The timeClockSettings property + # The time clock location settings for this schedule. time_clock_settings: Optional[TimeClockSettings] = None # The set of reasons for a time off in the schedule. time_off_reasons: Optional[List[TimeOffReason]] = None @@ -64,7 +72,7 @@ class Schedule(Entity): time_zone: Optional[str] = None # The instances of times off in the schedule. times_off: Optional[List[TimeOff]] = None - # The workforceIntegrationIds property + # The Ids for the workforce integrations associated with this schedule. workforce_integration_ids: Optional[List[str]] = None @staticmethod @@ -83,6 +91,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .day_note import DayNote + from .day_of_week import DayOfWeek from .entity import Entity from .offer_shift_request import OfferShiftRequest from .open_shift import OpenShift @@ -97,6 +107,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .time_off_reason import TimeOffReason from .time_off_request import TimeOffRequest + from .day_note import DayNote + from .day_of_week import DayOfWeek from .entity import Entity from .offer_shift_request import OfferShiftRequest from .open_shift import OpenShift @@ -112,6 +124,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .time_off_request import TimeOffRequest fields: Dict[str, Callable[[Any], None]] = { + "activitiesIncludedWhenCopyingShiftsEnabled": lambda n : setattr(self, 'activities_included_when_copying_shifts_enabled', n.get_bool_value()), + "dayNotes": lambda n : setattr(self, 'day_notes', n.get_collection_of_object_values(DayNote)), "enabled": lambda n : setattr(self, 'enabled', n.get_bool_value()), "offerShiftRequests": lambda n : setattr(self, 'offer_shift_requests', n.get_collection_of_object_values(OfferShiftRequest)), "offerShiftRequestsEnabled": lambda n : setattr(self, 'offer_shift_requests_enabled', n.get_bool_value()), @@ -122,6 +136,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "provisionStatusCode": lambda n : setattr(self, 'provision_status_code', n.get_str_value()), "schedulingGroups": lambda n : setattr(self, 'scheduling_groups', n.get_collection_of_object_values(SchedulingGroup)), "shifts": lambda n : setattr(self, 'shifts', n.get_collection_of_object_values(Shift)), + "startDayOfWeek": lambda n : setattr(self, 'start_day_of_week', n.get_enum_value(DayOfWeek)), "swapShiftsChangeRequests": lambda n : setattr(self, 'swap_shifts_change_requests', n.get_collection_of_object_values(SwapShiftsChangeRequest)), "swapShiftsRequestsEnabled": lambda n : setattr(self, 'swap_shifts_requests_enabled', n.get_bool_value()), "timeCards": lambda n : setattr(self, 'time_cards', n.get_collection_of_object_values(TimeCard)), @@ -147,6 +162,8 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") super().serialize(writer) + writer.write_bool_value("activitiesIncludedWhenCopyingShiftsEnabled", self.activities_included_when_copying_shifts_enabled) + writer.write_collection_of_object_values("dayNotes", self.day_notes) writer.write_bool_value("enabled", self.enabled) writer.write_collection_of_object_values("offerShiftRequests", self.offer_shift_requests) writer.write_bool_value("offerShiftRequestsEnabled", self.offer_shift_requests_enabled) @@ -155,6 +172,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_bool_value("openShiftsEnabled", self.open_shifts_enabled) writer.write_collection_of_object_values("schedulingGroups", self.scheduling_groups) writer.write_collection_of_object_values("shifts", self.shifts) + writer.write_enum_value("startDayOfWeek", self.start_day_of_week) writer.write_collection_of_object_values("swapShiftsChangeRequests", self.swap_shifts_change_requests) writer.write_bool_value("swapShiftsRequestsEnabled", self.swap_shifts_requests_enabled) writer.write_collection_of_object_values("timeCards", self.time_cards) diff --git a/msgraph_beta/generated/models/scheduled_permissions_request.py b/msgraph_beta/generated/models/scheduled_permissions_request.py index 42f2112ff42..08a9c1dd955 100644 --- a/msgraph_beta/generated/models/scheduled_permissions_request.py +++ b/msgraph_beta/generated/models/scheduled_permissions_request.py @@ -15,21 +15,21 @@ @dataclass class ScheduledPermissionsRequest(Entity): - # The createdDateTime property + # Defines when the identity created the request. created_date_time: Optional[datetime.datetime] = None - # The justification property + # The identity's justification for the request. justification: Optional[str] = None - # The notes property + # Additional context for the permissions request. notes: Optional[str] = None # The OdataType property odata_type: Optional[str] = None # The requestedPermissions property requested_permissions: Optional[PermissionsDefinition] = None - # The scheduleInfo property + # When to assign the requested permissions. schedule_info: Optional[RequestSchedule] = None # The statusDetail property status_detail: Optional[StatusDetail] = None - # The ticketInfo property + # Ticketing-related metadata that you can use to correlate to the request. ticket_info: Optional[TicketInfo] = None @staticmethod diff --git a/msgraph_beta/generated/models/scheduling_group.py b/msgraph_beta/generated/models/scheduling_group.py index 8817d24a4a7..5ad2639ca01 100644 --- a/msgraph_beta/generated/models/scheduling_group.py +++ b/msgraph_beta/generated/models/scheduling_group.py @@ -12,6 +12,8 @@ class SchedulingGroup(ChangeTrackedEntity): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.schedulingGroup" + # The code for the schedulingGroup to represent an external identifier. + code: Optional[str] = None # The display name for the schedulingGroup. Required. display_name: Optional[str] = None # Indicates whether the schedulingGroup can be used when creating new entities or updating existing ones. Required. @@ -40,6 +42,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .change_tracked_entity import ChangeTrackedEntity fields: Dict[str, Callable[[Any], None]] = { + "code": lambda n : setattr(self, 'code', n.get_str_value()), "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), "isActive": lambda n : setattr(self, 'is_active', n.get_bool_value()), "userIds": lambda n : setattr(self, 'user_ids', n.get_collection_of_primitive_values(str)), @@ -57,6 +60,7 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") super().serialize(writer) + writer.write_str_value("code", self.code) writer.write_str_value("displayName", self.display_name) writer.write_collection_of_primitive_values("userIds", self.user_ids) diff --git a/msgraph_beta/generated/models/scope_tag_group_assignment_target.py b/msgraph_beta/generated/models/scope_tag_group_assignment_target.py new file mode 100644 index 00000000000..77a1a2cb222 --- /dev/null +++ b/msgraph_beta/generated/models/scope_tag_group_assignment_target.py @@ -0,0 +1,55 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + +from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + +@dataclass +class ScopeTagGroupAssignmentTarget(DeviceAndAppManagementAssignmentTarget): + """ + Represents a Scope Tag Assignment Target. + """ + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.scopeTagGroupAssignmentTarget" + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> ScopeTagGroupAssignmentTarget: + """ + 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: ScopeTagGroupAssignmentTarget + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return ScopeTagGroupAssignmentTarget() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + + from .device_and_app_management_assignment_target import DeviceAndAppManagementAssignmentTarget + + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + + diff --git a/msgraph_beta/generated/models/security/alert.py b/msgraph_beta/generated/models/security/alert.py index 91039a6fc30..5bac587abf5 100644 --- a/msgraph_beta/generated/models/security/alert.py +++ b/msgraph_beta/generated/models/security/alert.py @@ -39,7 +39,7 @@ class Alert(Entity): created_date_time: Optional[datetime.datetime] = None # String value describing each alert. description: Optional[str] = None - # Detection technology or sensor that identified the notable component or activity. Possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud. You must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud. + # Detection technology or sensor that identified the notable component or activity. Possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement. You must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement. detection_source: Optional[DetectionSource] = None # The ID of the detector that triggered the alert. detector_id: Optional[str] = None diff --git a/msgraph_beta/generated/models/security/audit_core_root.py b/msgraph_beta/generated/models/security/audit_core_root.py new file mode 100644 index 00000000000..578c73e3a05 --- /dev/null +++ b/msgraph_beta/generated/models/security/audit_core_root.py @@ -0,0 +1,59 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..entity import Entity + from .audit_log_query import AuditLogQuery + +from ..entity import Entity + +@dataclass +class AuditCoreRoot(Entity): + # The OdataType property + odata_type: Optional[str] = None + # The queries property + queries: Optional[List[AuditLogQuery]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> AuditCoreRoot: + """ + 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: AuditCoreRoot + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return AuditCoreRoot() + + 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 .audit_log_query import AuditLogQuery + + from ..entity import Entity + from .audit_log_query import AuditLogQuery + + fields: Dict[str, Callable[[Any], None]] = { + "queries": lambda n : setattr(self, 'queries', n.get_collection_of_object_values(AuditLogQuery)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("queries", self.queries) + + diff --git a/msgraph_beta/generated/models/security/audit_data.py b/msgraph_beta/generated/models/security/audit_data.py new file mode 100644 index 00000000000..6709cd2e1fe --- /dev/null +++ b/msgraph_beta/generated/models/security/audit_data.py @@ -0,0 +1,64 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .default_audit_data import DefaultAuditData + +@dataclass +class AuditData(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: Optional[ParseNode] = None) -> AuditData: + """ + 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: AuditData + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + except AttributeError: + mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.defaultAuditData".casefold(): + from .default_audit_data import DefaultAuditData + + return DefaultAuditData() + return AuditData() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .default_audit_data import DefaultAuditData + + from .default_audit_data import DefaultAuditData + + 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 not writer: + 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/security/audit_log_query.py b/msgraph_beta/generated/models/security/audit_log_query.py new file mode 100644 index 00000000000..85bad02ae7a --- /dev/null +++ b/msgraph_beta/generated/models/security/audit_log_query.py @@ -0,0 +1,114 @@ +from __future__ import annotations +import datetime +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..entity import Entity + from .audit_log_query_status import AuditLogQueryStatus + from .audit_log_record import AuditLogRecord + from .audit_log_record_type import AuditLogRecordType + +from ..entity import Entity + +@dataclass +class AuditLogQuery(Entity): + # The administrativeUnitIdFilters property + administrative_unit_id_filters: Optional[List[str]] = None + # The displayName property + display_name: Optional[str] = None + # The filterEndDateTime property + filter_end_date_time: Optional[datetime.datetime] = None + # The filterStartDateTime property + filter_start_date_time: Optional[datetime.datetime] = None + # The ipAddressFilters property + ip_address_filters: Optional[List[str]] = None + # The keywordFilter property + keyword_filter: Optional[str] = None + # The objectIdFilters property + object_id_filters: Optional[List[str]] = None + # The OdataType property + odata_type: Optional[str] = None + # The operationFilters property + operation_filters: Optional[List[str]] = None + # The recordTypeFilters property + record_type_filters: Optional[List[AuditLogRecordType]] = None + # The records property + records: Optional[List[AuditLogRecord]] = None + # The serviceFilters property + service_filters: Optional[List[str]] = None + # The status property + status: Optional[AuditLogQueryStatus] = None + # The userPrincipalNameFilters property + user_principal_name_filters: Optional[List[str]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> AuditLogQuery: + """ + 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: AuditLogQuery + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return AuditLogQuery() + + 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 .audit_log_query_status import AuditLogQueryStatus + from .audit_log_record import AuditLogRecord + from .audit_log_record_type import AuditLogRecordType + + from ..entity import Entity + from .audit_log_query_status import AuditLogQueryStatus + from .audit_log_record import AuditLogRecord + from .audit_log_record_type import AuditLogRecordType + + fields: Dict[str, Callable[[Any], None]] = { + "administrativeUnitIdFilters": lambda n : setattr(self, 'administrative_unit_id_filters', n.get_collection_of_primitive_values(str)), + "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + "filterEndDateTime": lambda n : setattr(self, 'filter_end_date_time', n.get_datetime_value()), + "filterStartDateTime": lambda n : setattr(self, 'filter_start_date_time', n.get_datetime_value()), + "ipAddressFilters": lambda n : setattr(self, 'ip_address_filters', n.get_collection_of_primitive_values(str)), + "keywordFilter": lambda n : setattr(self, 'keyword_filter', n.get_str_value()), + "objectIdFilters": lambda n : setattr(self, 'object_id_filters', n.get_collection_of_primitive_values(str)), + "operationFilters": lambda n : setattr(self, 'operation_filters', n.get_collection_of_primitive_values(str)), + "recordTypeFilters": lambda n : setattr(self, 'record_type_filters', n.get_collection_of_enum_values(AuditLogRecordType)), + "records": lambda n : setattr(self, 'records', n.get_collection_of_object_values(AuditLogRecord)), + "serviceFilters": lambda n : setattr(self, 'service_filters', n.get_collection_of_primitive_values(str)), + "status": lambda n : setattr(self, 'status', n.get_enum_value(AuditLogQueryStatus)), + "userPrincipalNameFilters": lambda n : setattr(self, 'user_principal_name_filters', 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_primitive_values("administrativeUnitIdFilters", self.administrative_unit_id_filters) + writer.write_str_value("displayName", self.display_name) + writer.write_datetime_value("filterEndDateTime", self.filter_end_date_time) + writer.write_datetime_value("filterStartDateTime", self.filter_start_date_time) + writer.write_collection_of_primitive_values("ipAddressFilters", self.ip_address_filters) + writer.write_str_value("keywordFilter", self.keyword_filter) + writer.write_collection_of_primitive_values("objectIdFilters", self.object_id_filters) + writer.write_collection_of_primitive_values("operationFilters", self.operation_filters) + writer.write_collection_of_enum_values("recordTypeFilters", self.record_type_filters) + writer.write_collection_of_object_values("records", self.records) + writer.write_collection_of_primitive_values("serviceFilters", self.service_filters) + writer.write_enum_value("status", self.status) + writer.write_collection_of_primitive_values("userPrincipalNameFilters", self.user_principal_name_filters) + + diff --git a/msgraph_beta/generated/models/security/audit_log_query_collection_response.py b/msgraph_beta/generated/models/security/audit_log_query_collection_response.py new file mode 100644 index 00000000000..9c8544ca018 --- /dev/null +++ b/msgraph_beta/generated/models/security/audit_log_query_collection_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .audit_log_query import AuditLogQuery + +from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class AuditLogQueryCollectionResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[AuditLogQuery]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> AuditLogQueryCollectionResponse: + """ + 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: AuditLogQueryCollectionResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return AuditLogQueryCollectionResponse() + + 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 .audit_log_query import AuditLogQuery + + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .audit_log_query import AuditLogQuery + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(AuditLogQuery)), + } + 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 not writer: + 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/security/audit_log_query_status.py b/msgraph_beta/generated/models/security/audit_log_query_status.py new file mode 100644 index 00000000000..9ea78631c36 --- /dev/null +++ b/msgraph_beta/generated/models/security/audit_log_query_status.py @@ -0,0 +1,10 @@ +from enum import Enum + +class AuditLogQueryStatus(str, Enum): + NotStarted = "notStarted", + Running = "running", + Succeeded = "succeeded", + Failed = "failed", + Cancelled = "cancelled", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/security/audit_log_record.py b/msgraph_beta/generated/models/security/audit_log_record.py new file mode 100644 index 00000000000..60872be1e71 --- /dev/null +++ b/msgraph_beta/generated/models/security/audit_log_record.py @@ -0,0 +1,110 @@ +from __future__ import annotations +import datetime +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..entity import Entity + from .audit_data import AuditData + from .audit_log_record_type import AuditLogRecordType + from .audit_log_user_type import AuditLogUserType + +from ..entity import Entity + +@dataclass +class AuditLogRecord(Entity): + # The administrativeUnits property + administrative_units: Optional[List[str]] = None + # The auditData property + audit_data: Optional[AuditData] = None + # The auditLogRecordType property + audit_log_record_type: Optional[AuditLogRecordType] = None + # The clientIp property + client_ip: Optional[str] = None + # The createdDateTime property + created_date_time: Optional[datetime.datetime] = None + # The objectId property + object_id: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + # The operation property + operation: Optional[str] = None + # The organizationId property + organization_id: Optional[str] = None + # The service property + service: Optional[str] = None + # The userId property + user_id: Optional[str] = None + # The userPrincipalName property + user_principal_name: Optional[str] = None + # The userType property + user_type: Optional[AuditLogUserType] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> AuditLogRecord: + """ + 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: AuditLogRecord + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return AuditLogRecord() + + 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 .audit_data import AuditData + from .audit_log_record_type import AuditLogRecordType + from .audit_log_user_type import AuditLogUserType + + from ..entity import Entity + from .audit_data import AuditData + from .audit_log_record_type import AuditLogRecordType + from .audit_log_user_type import AuditLogUserType + + fields: Dict[str, Callable[[Any], None]] = { + "administrativeUnits": lambda n : setattr(self, 'administrative_units', n.get_collection_of_primitive_values(str)), + "auditData": lambda n : setattr(self, 'audit_data', n.get_object_value(AuditData)), + "auditLogRecordType": lambda n : setattr(self, 'audit_log_record_type', n.get_enum_value(AuditLogRecordType)), + "clientIp": lambda n : setattr(self, 'client_ip', n.get_str_value()), + "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), + "objectId": lambda n : setattr(self, 'object_id', n.get_str_value()), + "operation": lambda n : setattr(self, 'operation', n.get_str_value()), + "organizationId": lambda n : setattr(self, 'organization_id', n.get_str_value()), + "service": lambda n : setattr(self, 'service', n.get_str_value()), + "userId": lambda n : setattr(self, 'user_id', n.get_str_value()), + "userPrincipalName": lambda n : setattr(self, 'user_principal_name', n.get_str_value()), + "userType": lambda n : setattr(self, 'user_type', n.get_enum_value(AuditLogUserType)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_primitive_values("administrativeUnits", self.administrative_units) + writer.write_object_value("auditData", self.audit_data) + writer.write_enum_value("auditLogRecordType", self.audit_log_record_type) + writer.write_str_value("clientIp", self.client_ip) + writer.write_datetime_value("createdDateTime", self.created_date_time) + writer.write_str_value("objectId", self.object_id) + writer.write_str_value("operation", self.operation) + writer.write_str_value("organizationId", self.organization_id) + writer.write_str_value("service", self.service) + writer.write_str_value("userId", self.user_id) + writer.write_str_value("userPrincipalName", self.user_principal_name) + writer.write_enum_value("userType", self.user_type) + + diff --git a/msgraph_beta/generated/models/security/audit_log_record_collection_response.py b/msgraph_beta/generated/models/security/audit_log_record_collection_response.py new file mode 100644 index 00000000000..9dcd9c35886 --- /dev/null +++ b/msgraph_beta/generated/models/security/audit_log_record_collection_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .audit_log_record import AuditLogRecord + +from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class AuditLogRecordCollectionResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[AuditLogRecord]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> AuditLogRecordCollectionResponse: + """ + 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: AuditLogRecordCollectionResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return AuditLogRecordCollectionResponse() + + 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 .audit_log_record import AuditLogRecord + + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .audit_log_record import AuditLogRecord + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(AuditLogRecord)), + } + 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 not writer: + 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/security/audit_log_record_type.py b/msgraph_beta/generated/models/security/audit_log_record_type.py new file mode 100644 index 00000000000..436a8faedbe --- /dev/null +++ b/msgraph_beta/generated/models/security/audit_log_record_type.py @@ -0,0 +1,257 @@ +from enum import Enum + +class AuditLogRecordType(str, Enum): + ExchangeAdmin = "ExchangeAdmin", + ExchangeItem = "ExchangeItem", + ExchangeItemGroup = "ExchangeItemGroup", + SharePoint = "SharePoint", + SyntheticProbe = "SyntheticProbe", + SharePointFileOperation = "SharePointFileOperation", + OneDrive = "OneDrive", + AzureActiveDirectory = "AzureActiveDirectory", + AzureActiveDirectoryAccountLogon = "AzureActiveDirectoryAccountLogon", + DataCenterSecurityCmdlet = "DataCenterSecurityCmdlet", + ComplianceDLPSharePoint = "ComplianceDLPSharePoint", + Sway = "Sway", + ComplianceDLPExchange = "ComplianceDLPExchange", + SharePointSharingOperation = "SharePointSharingOperation", + AzureActiveDirectoryStsLogon = "AzureActiveDirectoryStsLogon", + SkypeForBusinessPSTNUsage = "SkypeForBusinessPSTNUsage", + SkypeForBusinessUsersBlocked = "SkypeForBusinessUsersBlocked", + SecurityComplianceCenterEOPCmdlet = "SecurityComplianceCenterEOPCmdlet", + ExchangeAggregatedOperation = "ExchangeAggregatedOperation", + PowerBIAudit = "PowerBIAudit", + CRM = "CRM", + Yammer = "Yammer", + SkypeForBusinessCmdlets = "SkypeForBusinessCmdlets", + Discovery = "Discovery", + MicrosoftTeams = "MicrosoftTeams", + ThreatIntelligence = "ThreatIntelligence", + MailSubmission = "MailSubmission", + MicrosoftFlow = "MicrosoftFlow", + AeD = "AeD", + MicrosoftStream = "MicrosoftStream", + ComplianceDLPSharePointClassification = "ComplianceDLPSharePointClassification", + ThreatFinder = "ThreatFinder", + Project = "Project", + SharePointListOperation = "SharePointListOperation", + SharePointCommentOperation = "SharePointCommentOperation", + DataGovernance = "DataGovernance", + Kaizala = "Kaizala", + SecurityComplianceAlerts = "SecurityComplianceAlerts", + ThreatIntelligenceUrl = "ThreatIntelligenceUrl", + SecurityComplianceInsights = "SecurityComplianceInsights", + MIPLabel = "MIPLabel", + WorkplaceAnalytics = "WorkplaceAnalytics", + PowerAppsApp = "PowerAppsApp", + PowerAppsPlan = "PowerAppsPlan", + ThreatIntelligenceAtpContent = "ThreatIntelligenceAtpContent", + LabelContentExplorer = "LabelContentExplorer", + TeamsHealthcare = "TeamsHealthcare", + ExchangeItemAggregated = "ExchangeItemAggregated", + HygieneEvent = "HygieneEvent", + DataInsightsRestApiAudit = "DataInsightsRestApiAudit", + InformationBarrierPolicyApplication = "InformationBarrierPolicyApplication", + SharePointListItemOperation = "SharePointListItemOperation", + SharePointContentTypeOperation = "SharePointContentTypeOperation", + SharePointFieldOperation = "SharePointFieldOperation", + MicrosoftTeamsAdmin = "MicrosoftTeamsAdmin", + HRSignal = "HRSignal", + MicrosoftTeamsDevice = "MicrosoftTeamsDevice", + MicrosoftTeamsAnalytics = "MicrosoftTeamsAnalytics", + InformationWorkerProtection = "InformationWorkerProtection", + Campaign = "Campaign", + DLPEndpoint = "DLPEndpoint", + AirInvestigation = "AirInvestigation", + Quarantine = "Quarantine", + MicrosoftForms = "MicrosoftForms", + ApplicationAudit = "ApplicationAudit", + ComplianceSupervisionExchange = "ComplianceSupervisionExchange", + CustomerKeyServiceEncryption = "CustomerKeyServiceEncryption", + OfficeNative = "OfficeNative", + MipAutoLabelSharePointItem = "MipAutoLabelSharePointItem", + MipAutoLabelSharePointPolicyLocation = "MipAutoLabelSharePointPolicyLocation", + MicrosoftTeamsShifts = "MicrosoftTeamsShifts", + SecureScore = "SecureScore", + MipAutoLabelExchangeItem = "MipAutoLabelExchangeItem", + CortanaBriefing = "CortanaBriefing", + Search = "Search", + WDATPAlerts = "WDATPAlerts", + PowerPlatformAdminDlp = "PowerPlatformAdminDlp", + PowerPlatformAdminEnvironment = "PowerPlatformAdminEnvironment", + MDATPAudit = "MDATPAudit", + SensitivityLabelPolicyMatch = "SensitivityLabelPolicyMatch", + SensitivityLabelAction = "SensitivityLabelAction", + SensitivityLabeledFileAction = "SensitivityLabeledFileAction", + AttackSim = "AttackSim", + AirManualInvestigation = "AirManualInvestigation", + SecurityComplianceRBAC = "SecurityComplianceRBAC", + UserTraining = "UserTraining", + AirAdminActionInvestigation = "AirAdminActionInvestigation", + MSTIC = "MSTIC", + PhysicalBadgingSignal = "PhysicalBadgingSignal", + TeamsEasyApprovals = "TeamsEasyApprovals", + AipDiscover = "AipDiscover", + AipSensitivityLabelAction = "AipSensitivityLabelAction", + AipProtectionAction = "AipProtectionAction", + AipFileDeleted = "AipFileDeleted", + AipHeartBeat = "AipHeartBeat", + MCASAlerts = "MCASAlerts", + OnPremisesFileShareScannerDlp = "OnPremisesFileShareScannerDlp", + OnPremisesSharePointScannerDlp = "OnPremisesSharePointScannerDlp", + ExchangeSearch = "ExchangeSearch", + SharePointSearch = "SharePointSearch", + PrivacyDataMinimization = "PrivacyDataMinimization", + LabelAnalyticsAggregate = "LabelAnalyticsAggregate", + MyAnalyticsSettings = "MyAnalyticsSettings", + SecurityComplianceUserChange = "SecurityComplianceUserChange", + ComplianceDLPExchangeClassification = "ComplianceDLPExchangeClassification", + ComplianceDLPEndpoint = "ComplianceDLPEndpoint", + MipExactDataMatch = "MipExactDataMatch", + MSDEResponseActions = "MSDEResponseActions", + MSDEGeneralSettings = "MSDEGeneralSettings", + MSDEIndicatorsSettings = "MSDEIndicatorsSettings", + MS365DCustomDetection = "MS365DCustomDetection", + MSDERolesSettings = "MSDERolesSettings", + MAPGAlerts = "MAPGAlerts", + MAPGPolicy = "MAPGPolicy", + MAPGRemediation = "MAPGRemediation", + PrivacyRemediationAction = "PrivacyRemediationAction", + PrivacyDigestEmail = "PrivacyDigestEmail", + MipAutoLabelSimulationProgress = "MipAutoLabelSimulationProgress", + MipAutoLabelSimulationCompletion = "MipAutoLabelSimulationCompletion", + MipAutoLabelProgressFeedback = "MipAutoLabelProgressFeedback", + DlpSensitiveInformationType = "DlpSensitiveInformationType", + MipAutoLabelSimulationStatistics = "MipAutoLabelSimulationStatistics", + LargeContentMetadata = "LargeContentMetadata", + Microsoft365Group = "Microsoft365Group", + CDPMlInferencingResult = "CDPMlInferencingResult", + FilteringMailMetadata = "FilteringMailMetadata", + CDPClassificationMailItem = "CDPClassificationMailItem", + CDPClassificationDocument = "CDPClassificationDocument", + OfficeScriptsRunAction = "OfficeScriptsRunAction", + FilteringPostMailDeliveryAction = "FilteringPostMailDeliveryAction", + CDPUnifiedFeedback = "CDPUnifiedFeedback", + TenantAllowBlockList = "TenantAllowBlockList", + ConsumptionResource = "ConsumptionResource", + HealthcareSignal = "HealthcareSignal", + DlpImportResult = "DlpImportResult", + CDPCompliancePolicyExecution = "CDPCompliancePolicyExecution", + MultiStageDisposition = "MultiStageDisposition", + PrivacyDataMatch = "PrivacyDataMatch", + FilteringDocMetadata = "FilteringDocMetadata", + FilteringEmailFeatures = "FilteringEmailFeatures", + PowerBIDlp = "PowerBIDlp", + FilteringUrlInfo = "FilteringUrlInfo", + FilteringAttachmentInfo = "FilteringAttachmentInfo", + CoreReportingSettings = "CoreReportingSettings", + ComplianceConnector = "ComplianceConnector", + PowerPlatformLockboxResourceAccessRequest = "PowerPlatformLockboxResourceAccessRequest", + PowerPlatformLockboxResourceCommand = "PowerPlatformLockboxResourceCommand", + CDPPredictiveCodingLabel = "CDPPredictiveCodingLabel", + CDPCompliancePolicyUserFeedback = "CDPCompliancePolicyUserFeedback", + WebpageActivityEndpoint = "WebpageActivityEndpoint", + OMEPortal = "OMEPortal", + CMImprovementActionChange = "CMImprovementActionChange", + FilteringUrlClick = "FilteringUrlClick", + MipLabelAnalyticsAuditRecord = "MipLabelAnalyticsAuditRecord", + FilteringEntityEvent = "FilteringEntityEvent", + FilteringRuleHits = "FilteringRuleHits", + FilteringMailSubmission = "FilteringMailSubmission", + LabelExplorer = "LabelExplorer", + MicrosoftManagedServicePlatform = "MicrosoftManagedServicePlatform", + PowerPlatformServiceActivity = "PowerPlatformServiceActivity", + ScorePlatformGenericAuditRecord = "ScorePlatformGenericAuditRecord", + FilteringTimeTravelDocMetadata = "FilteringTimeTravelDocMetadata", + Alert = "Alert", + AlertStatus = "AlertStatus", + AlertIncident = "AlertIncident", + IncidentStatus = "IncidentStatus", + Case = "Case", + CaseInvestigation = "CaseInvestigation", + RecordsManagement = "RecordsManagement", + PrivacyRemediation = "PrivacyRemediation", + DataShareOperation = "DataShareOperation", + CdpDlpSensitive = "CdpDlpSensitive", + EHRConnector = "EHRConnector", + FilteringMailGradingResult = "FilteringMailGradingResult", + PublicFolder = "PublicFolder", + PrivacyTenantAuditHistoryRecord = "PrivacyTenantAuditHistoryRecord", + AipScannerDiscoverEvent = "AipScannerDiscoverEvent", + EduDataLakeDownloadOperation = "EduDataLakeDownloadOperation", + M365ComplianceConnector = "M365ComplianceConnector", + MicrosoftGraphDataConnectOperation = "MicrosoftGraphDataConnectOperation", + MicrosoftPurview = "MicrosoftPurview", + FilteringEmailContentFeatures = "FilteringEmailContentFeatures", + PowerPagesSite = "PowerPagesSite", + PowerAppsResource = "PowerAppsResource", + PlannerPlan = "PlannerPlan", + PlannerCopyPlan = "PlannerCopyPlan", + PlannerTask = "PlannerTask", + PlannerRoster = "PlannerRoster", + PlannerPlanList = "PlannerPlanList", + PlannerTaskList = "PlannerTaskList", + PlannerTenantSettings = "PlannerTenantSettings", + ProjectForTheWebProject = "ProjectForTheWebProject", + ProjectForTheWebTask = "ProjectForTheWebTask", + ProjectForTheWebRoadmap = "ProjectForTheWebRoadmap", + ProjectForTheWebRoadmapItem = "ProjectForTheWebRoadmapItem", + ProjectForTheWebProjectSettings = "ProjectForTheWebProjectSettings", + ProjectForTheWebRoadmapSettings = "ProjectForTheWebRoadmapSettings", + QuarantineMetadata = "QuarantineMetadata", + MicrosoftTodoAudit = "MicrosoftTodoAudit", + TimeTravelFilteringDocMetadata = "TimeTravelFilteringDocMetadata", + TeamsQuarantineMetadata = "TeamsQuarantineMetadata", + SharePointAppPermissionOperation = "SharePointAppPermissionOperation", + MicrosoftTeamsSensitivityLabelAction = "MicrosoftTeamsSensitivityLabelAction", + FilteringTeamsMetadata = "FilteringTeamsMetadata", + FilteringTeamsUrlInfo = "FilteringTeamsUrlInfo", + FilteringTeamsPostDeliveryAction = "FilteringTeamsPostDeliveryAction", + MDCAssessments = "MDCAssessments", + MDCRegulatoryComplianceStandards = "MDCRegulatoryComplianceStandards", + MDCRegulatoryComplianceControls = "MDCRegulatoryComplianceControls", + MDCRegulatoryComplianceAssessments = "MDCRegulatoryComplianceAssessments", + MDCSecurityConnectors = "MDCSecurityConnectors", + MDADataSecuritySignal = "MDADataSecuritySignal", + VivaGoals = "VivaGoals", + FilteringRuntimeInfo = "FilteringRuntimeInfo", + AttackSimAdmin = "AttackSimAdmin", + MicrosoftGraphDataConnectConsent = "MicrosoftGraphDataConnectConsent", + FilteringAtpDetonationInfo = "FilteringAtpDetonationInfo", + PrivacyPortal = "PrivacyPortal", + ManagedTenants = "ManagedTenants", + UnifiedSimulationMatchedItem = "UnifiedSimulationMatchedItem", + UnifiedSimulationSummary = "UnifiedSimulationSummary", + UpdateQuarantineMetadata = "UpdateQuarantineMetadata", + MS365DSuppressionRule = "MS365DSuppressionRule", + PurviewDataMapOperation = "PurviewDataMapOperation", + FilteringUrlPostClickAction = "FilteringUrlPostClickAction", + IrmUserDefinedDetectionSignal = "IrmUserDefinedDetectionSignal", + TeamsUpdates = "TeamsUpdates", + PlannerRosterSensitivityLabel = "PlannerRosterSensitivityLabel", + MS365DIncident = "MS365DIncident", + FilteringDelistingMetadata = "FilteringDelistingMetadata", + ComplianceDLPSharePointClassificationExtended = "ComplianceDLPSharePointClassificationExtended", + MicrosoftDefenderForIdentityAudit = "MicrosoftDefenderForIdentityAudit", + SupervisoryReviewDayXInsight = "SupervisoryReviewDayXInsight", + DefenderExpertsforXDRAdmin = "DefenderExpertsforXDRAdmin", + CDPEdgeBlockedMessage = "CDPEdgeBlockedMessage", + HostedRpa = "HostedRpa", + CdpContentExplorerAggregateRecord = "CdpContentExplorerAggregateRecord", + CDPHygieneAttachmentInfo = "CDPHygieneAttachmentInfo", + CDPHygieneSummary = "CDPHygieneSummary", + CDPPostMailDeliveryAction = "CDPPostMailDeliveryAction", + CDPEmailFeatures = "CDPEmailFeatures", + CDPHygieneUrlInfo = "CDPHygieneUrlInfo", + CDPUrlClick = "CDPUrlClick", + CDPPackageManagerHygieneEvent = "CDPPackageManagerHygieneEvent", + FilteringDocScan = "FilteringDocScan", + TimeTravelFilteringDocScan = "TimeTravelFilteringDocScan", + MAPGOnboard = "MAPGOnboard", + VfamCreatePolicy = "VfamCreatePolicy", + VfamUpdatePolicy = "VfamUpdatePolicy", + VfamDeletePolicy = "VfamDeletePolicy", + M365DAAD = "M365DAAD", + CdpColdCrawlStatus = "CdpColdCrawlStatus", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/security/audit_log_user_type.py b/msgraph_beta/generated/models/security/audit_log_user_type.py new file mode 100644 index 00000000000..36b00610aa0 --- /dev/null +++ b/msgraph_beta/generated/models/security/audit_log_user_type.py @@ -0,0 +1,16 @@ +from enum import Enum + +class AuditLogUserType(str, Enum): + Regular = "Regular", + Reserved = "Reserved", + Admin = "Admin", + DcAdmin = "DcAdmin", + System = "System", + Application = "Application", + ServicePrincipal = "ServicePrincipal", + CustomPolicy = "CustomPolicy", + SystemPolicy = "SystemPolicy", + PartnerTechnician = "PartnerTechnician", + Guest = "Guest", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/security/default_audit_data.py b/msgraph_beta/generated/models/security/default_audit_data.py new file mode 100644 index 00000000000..b7c02b0021c --- /dev/null +++ b/msgraph_beta/generated/models/security/default_audit_data.py @@ -0,0 +1,52 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .audit_data import AuditData + +from .audit_data import AuditData + +@dataclass +class DefaultAuditData(AuditData): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.security.defaultAuditData" + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> DefaultAuditData: + """ + 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: DefaultAuditData + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return DefaultAuditData() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .audit_data import AuditData + + from .audit_data import AuditData + + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + + diff --git a/msgraph_beta/generated/models/send_dtmf_completion_reason.py b/msgraph_beta/generated/models/send_dtmf_completion_reason.py new file mode 100644 index 00000000000..f74a79c87b0 --- /dev/null +++ b/msgraph_beta/generated/models/send_dtmf_completion_reason.py @@ -0,0 +1,8 @@ +from enum import Enum + +class SendDtmfCompletionReason(str, Enum): + Unknown = "unknown", + CompletedSuccessfully = "completedSuccessfully", + MediaOperationCanceled = "mediaOperationCanceled", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/send_dtmf_tones_operation.py b/msgraph_beta/generated/models/send_dtmf_tones_operation.py new file mode 100644 index 00000000000..967cfcec915 --- /dev/null +++ b/msgraph_beta/generated/models/send_dtmf_tones_operation.py @@ -0,0 +1,59 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .comms_operation import CommsOperation + from .send_dtmf_completion_reason import SendDtmfCompletionReason + +from .comms_operation import CommsOperation + +@dataclass +class SendDtmfTonesOperation(CommsOperation): + # The results of the action. Possible values are: unknown, completedSuccessfully, mediaOperationCanceled, unknownfutureValue. + completion_reason: Optional[SendDtmfCompletionReason] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> SendDtmfTonesOperation: + """ + 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: SendDtmfTonesOperation + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return SendDtmfTonesOperation() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .comms_operation import CommsOperation + from .send_dtmf_completion_reason import SendDtmfCompletionReason + + from .comms_operation import CommsOperation + from .send_dtmf_completion_reason import SendDtmfCompletionReason + + fields: Dict[str, Callable[[Any], None]] = { + "completionReason": lambda n : setattr(self, 'completion_reason', n.get_enum_value(SendDtmfCompletionReason)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_enum_value("completionReason", self.completion_reason) + + diff --git a/msgraph_beta/generated/models/service_activity.py b/msgraph_beta/generated/models/service_activity.py new file mode 100644 index 00000000000..f24ad8a3a2f --- /dev/null +++ b/msgraph_beta/generated/models/service_activity.py @@ -0,0 +1,52 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .entity import Entity + +from .entity import Entity + +@dataclass +class ServiceActivity(Entity): + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> ServiceActivity: + """ + 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: ServiceActivity + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return ServiceActivity() + + 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]] = { + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + + diff --git a/msgraph_beta/generated/models/service_activity_value_metric.py b/msgraph_beta/generated/models/service_activity_value_metric.py new file mode 100644 index 00000000000..84e7d8e90d4 --- /dev/null +++ b/msgraph_beta/generated/models/service_activity_value_metric.py @@ -0,0 +1,58 @@ +from __future__ import annotations +import datetime +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class ServiceActivityValueMetric(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 starting date and time (UTC) of the interval. + interval_start_date_time: Optional[datetime.datetime] = None + # The OdataType property + odata_type: Optional[str] = None + # The aggregated value over the given aggregation interval starting from the intervalStartDateTime. The value is caculated at the minute level. The value at the starting minute of the intervalStartDateTime is included. The value at the last minute of the given interval is excluded. For example, if intervalStartDateTime is 2023-09-20T18:00:00Z and aggregation interval is 5 minutes, then the value is aggregated from 2023-09-20T18:00:00Z(inclusive) to 2023-09-20T18:05:00Z(exclusive). + value: Optional[int] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> ServiceActivityValueMetric: + """ + 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: ServiceActivityValueMetric + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return ServiceActivityValueMetric() + + 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]] = { + "intervalStartDateTime": lambda n : setattr(self, 'interval_start_date_time', n.get_datetime_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "value": lambda n : setattr(self, 'value', 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_datetime_value("intervalStartDateTime", self.interval_start_date_time) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_int_value("value", self.value) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/service_plan_info.py b/msgraph_beta/generated/models/service_plan_info.py index da10f387062..75cbf7a6883 100644 --- a/msgraph_beta/generated/models/service_plan_info.py +++ b/msgraph_beta/generated/models/service_plan_info.py @@ -12,11 +12,11 @@ class ServicePlanInfo(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 object the service plan can be assigned to. The possible values are:User - service plan can be assigned to individual users.Company - service plan can be assigned to the entire tenant. + # The object the service plan can be assigned to. The possible values are: User - service plan can be assigned to individual users.Company - service plan can be assigned to the entire tenant. applies_to: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The provisioning status of the service plan. The possible values are:Success - Service is fully provisioned.Disabled - Service has been disabled.ErrorStatus - The service plan has not been provisioned and is in an error state.PendingInput - Service is not yet provisioned; awaiting service confirmation.PendingActivation - Service is provisioned but requires explicit activation by administrator (for example, Intune_O365 service plan)PendingProvisioning - Microsoft has added a new service to the product SKU and it has not been activated in the tenant, yet. + # The provisioning status of the service plan. The possible values are:Success - Service is fully provisioned.Disabled - Service is disabled.Error - The service plan isn't provisioned and is in an error state.PendingInput - The service isn't provisioned and is awaiting service confirmation.PendingActivation - The service is provisioned but requires explicit activation by an administrator (for example, Intune_O365 service plan)PendingProvisioning - Microsoft has added a new service to the product SKU and it isn't activated in the tenant. provisioning_status: Optional[str] = None # The unique identifier of the service plan. service_plan_id: Optional[UUID] = None diff --git a/msgraph_beta/generated/models/shift.py b/msgraph_beta/generated/models/shift.py index 17b23c19497..2f9e93b367a 100644 --- a/msgraph_beta/generated/models/shift.py +++ b/msgraph_beta/generated/models/shift.py @@ -13,13 +13,13 @@ class Shift(ChangeTrackedEntity): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.shift" - # The draft version of this shift that is viewable by managers. Required. + # Draft changes in the shift are only visible to managers until they are shared. draft_shift: Optional[ShiftItem] = None - # The isStagedForDeletion property + # The shift is marked for deletion, a process that is finalized when the schedule is shared. is_staged_for_deletion: Optional[bool] = None # ID of the scheduling group the shift is part of. Required. scheduling_group_id: Optional[str] = None - # The shared version of this shift that is viewable by both employees and managers. Required. + # The shared version of this shift that is viewable by both employees and managers. shared_shift: Optional[ShiftItem] = None # ID of the user assigned to the shift. Required. user_id: Optional[str] = None diff --git a/msgraph_beta/generated/models/sign_in.py b/msgraph_beta/generated/models/sign_in.py index 6459d7cf6f7..ba3066bedf6 100644 --- a/msgraph_beta/generated/models/sign_in.py +++ b/msgraph_beta/generated/models/sign_in.py @@ -48,7 +48,7 @@ class SignIn(Entity): app_token_protection_status: Optional[TokenProtectionStatus] = None # A list of conditional access policies that are triggered by the corresponding sign-in activity. Apps need additional Conditional Access-related privileges to read the details of this property. For more information, see Viewing applied conditional access (CA) policies in sign-ins. applied_conditional_access_policies: Optional[List[AppliedConditionalAccessPolicy]] = None - # Detailed information about the listeners, such as Azure Logic Apps and Azure Functions, that were triggered by the corresponding events in the sign-in event. + # Detailed information about the listeners, such as Azure Logic Apps and Azure Functions, which were triggered by the corresponding events in the sign-in event. applied_event_listeners: Optional[List[AppliedAuthenticationEventListener]] = None # Provides details about the app and device used during a Microsoft Entra authentication step. authentication_app_device_details: Optional[AuthenticationAppDeviceDetails] = None @@ -62,7 +62,7 @@ class SignIn(Entity): authentication_methods_used: Optional[List[str]] = None # More authentication processing details, such as the agent name for PTA and PHS, or a server or farm name for federated authentication. authentication_processing_details: Optional[List[KeyValue]] = None - # Lists the protocol type or grant type used in the authentication. The possible values are: oAuth2, ropc, wsFederation, saml20, deviceCode, unknownFutureValue, authenticationTransfer, and none. Use none for all authentications that do not have a specific value in that list. + # Lists the protocol type or grant type used in the authentication. The possible values are: oAuth2, ropc, wsFederation, saml20, deviceCode, unknownFutureValue, authenticationTransfer, and none. Use none for all authentications that don't have a specific value in that list. authentication_protocol: Optional[ProtocolType] = None # This holds the highest level of authentication needed through all the sign-in steps, for sign-in to succeed. Supports $filter (eq, startsWith). authentication_requirement: Optional[str] = None @@ -74,7 +74,7 @@ class SignIn(Entity): azure_resource_id: Optional[str] = None # The legacy client used for sign-in activity. For example: Browser, Exchange ActiveSync, Modern clients, IMAP, MAPI, SMTP, or POP. Supports $filter (eq). client_app_used: Optional[str] = None - # Describes the credential type that a user client or service principal provided to Microsoft Entra ID to authenticate itself. You may wish to review clientCredentialType to track and eliminate less secure credential types or to watch for clients and service principals using anomalous credential types. The possible values are: none, clientSecret, clientAssertion, federatedIdentityCredential, managedIdentity, certificate, unknownFutureValue. + # Describes the credential type that a user client or service principal provided to Microsoft Entra ID to authenticate itself. You can review this property to track and eliminate less secure credential types or to watch for clients and service principals using anomalous credential types. The possible values are: none, clientSecret, clientAssertion, federatedIdentityCredential, managedIdentity, certificate, unknownFutureValue. client_credential_type: Optional[ClientCredentialType] = None # The status of the conditional access policy triggered. Possible values: success, failure, notApplied, or unknownFutureValue. Supports $filter (eq). conditional_access_status: Optional[ConditionalAccessStatus] = None @@ -82,23 +82,23 @@ class SignIn(Entity): correlation_id: Optional[str] = None # The date and time the sign-in was initiated. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $orderby, $filter (eq, le, and ge). created_date_time: Optional[datetime.datetime] = None - # Describes the type of cross-tenant access used by the actor to access the resource. Possible values are: none, b2bCollaboration, b2bDirectConnect, microsoftSupport, serviceProvider, unknownFutureValue. If the sign in didn't cross tenant boundaries, the value is none. + # Describes the type of cross-tenant access used by the actor to access the resource. Possible values are: none, b2bCollaboration, b2bDirectConnect, microsoftSupport, serviceProvider, unknownFutureValue, passthrough. Also, please note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: passthrough. If the sign in didn't cross tenant boundaries, the value is none. cross_tenant_access_type: Optional[SignInAccessType] = None # The device information from where the sign-in occurred. Includes information such as deviceId, OS, and browser. Supports $filter (eq, startsWith) on browser and operatingSystem properties. device_detail: Optional[DeviceDetail] = None # Contains the identifier of an application's federated identity credential, if a federated identity credential was used to sign in. federated_credential_id: Optional[str] = None - # During a failed sign in, a user may select a button in the Azure portal to mark the failed event for tenant admins. If a user clicked the button to flag the failed sign in, this value is true. + # During a failed sign-in, a user can select a button in the Azure portal to mark the failed event for tenant admins. If a user selects the button to flag the failed sign-in, this value is true. flagged_for_review: Optional[bool] = None - # The tenant identifier of the user initiating the sign in. Not applicable in Managed Identity or service principal sign ins. + # The tenant identifier of the user initiating the sign-in. Not applicable in Managed Identity or service principal sign ins. home_tenant_id: Optional[str] = None # For user sign ins, the identifier of the tenant that the user is a member of. Only populated in cases where the home tenant has provided affirmative consent to Microsoft Entra ID to show the tenant content. home_tenant_name: Optional[str] = None - # Indicates the token types that were presented to Microsoft Entra ID to authenticate the actor in the sign in. The possible values are: none, primaryRefreshToken, saml11, saml20, unknownFutureValue, remoteDesktopToken. NOTE Microsoft Entra ID may have also used token types not listed in this Enum type to authenticate the actor. Don't infer the lack of a token if it isn't one of the types listed. Also, please note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: remoteDesktopToken. + # Indicates the token types that were presented to Microsoft Entra ID to authenticate the actor in the sign in. The possible values are: none, primaryRefreshToken, saml11, saml20, unknownFutureValue, remoteDesktopToken. NOTE Microsoft Entra ID might have also used token types not listed in this enum type to authenticate the actor. Don't infer the lack of a token if it isn't one of the types listed. Also, please note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: remoteDesktopToken. incoming_token_type: Optional[IncomingTokenType] = None # The IP address of the client from where the sign-in occurred. Supports $filter (eq, startsWith). ip_address: Optional[str] = None - # The IP address a user used to reach a resource provider, used to determine Conditional Access compliance for some policies. For example, when a user interacts with Exchange Online, the IP address Exchange receives from the user may be recorded here. This value is often null. + # The IP address a user used to reach a resource provider, used to determine Conditional Access compliance for some policies. For example, when a user interacts with Exchange Online, the IP address that Microsoft Exchange receives from the user can be recorded here. This value is often null. ip_address_from_resource_provider: Optional[str] = None # Indicates whether a user sign in is interactive. In interactive sign in, the user provides an authentication factor to Microsoft Entra ID. These factors include passwords, responses to MFA challenges, biometric factors, or QR codes that a user provides to Microsoft Entra ID or an associated app. In non-interactive sign in, the user doesn't provide an authentication factor. Instead, the client app uses a token or code to authenticate or access a resource on behalf of a user. Non-interactive sign ins are commonly used for a client to sign in on a user's behalf in a process transparent to the user. is_interactive: Optional[bool] = None @@ -130,11 +130,11 @@ class SignIn(Entity): resource_service_principal_id: Optional[str] = None # The tenant identifier of the resource referenced in the sign in. resource_tenant_id: Optional[str] = None - # The reason behind a specific state of a risky user, sign-in, or a risk event. Possible values: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, or unknownFutureValue. The value none means that no action has been performed on the user or sign-in so far. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden. + # The reason behind a specific state of a risky user, sign-in, or a risk event. Possible values: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, or unknownFutureValue. The value none means that Microsoft Entra risk detection has not flagged the user or the sign-in as a risky event so far. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden. risk_detail: Optional[RiskDetail] = None # The list of risk event types associated with the sign-in. Possible values: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, or unknownFutureValue. Supports $filter (eq, startsWith). risk_event_types_v2: Optional[List[str]] = None - # The aggregated risk level. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in was not enabled for Microsoft Entra ID Protection. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden. + # The aggregated risk level. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in wasn't enabled for Microsoft Entra ID Protection. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden. risk_level_aggregated: Optional[RiskLevel] = None # The risk level during sign-in. Possible values: none, low, medium, high, hidden, or unknownFutureValue. The value hidden means the user or sign-in wasn't enabled for Microsoft Entra ID Protection. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden. risk_level_during_sign_in: Optional[RiskLevel] = None @@ -150,13 +150,13 @@ class SignIn(Entity): service_principal_name: Optional[str] = None # Any conditional access session management policies that were applied during the sign-in event. session_lifetime_policies: Optional[List[SessionLifetimePolicy]] = None - # Indicates the category of sign in that the event represents. For user sign ins, the category can be interactiveUser or nonInteractiveUser and corresponds to the value for the isInteractive property on the signin resource. For managed identity sign ins, the category is managedIdentity. For service principal sign ins, the category is servicePrincipal. Possible values are: interactiveUser, nonInteractiveUser, servicePrincipal, managedIdentity, unknownFutureValue. Supports $filter (eq, ne). + # Indicates the category of sign in that the event represents. For user sign ins, the category can be interactiveUser or nonInteractiveUser and corresponds to the value for the isInteractive property on the signin resource. For managed identity sign ins, the category is managedIdentity. For service principal sign-ins, the category is servicePrincipal. Possible values are: interactiveUser, nonInteractiveUser, servicePrincipal, managedIdentity, unknownFutureValue. Supports $filter (eq, ne). sign_in_event_types: Optional[List[str]] = None - # The identification that the user provided to sign in. It may be the userPrincipalName but it's also populated when a user signs in using other identifiers. + # The identification that the user provided to sign in. It can be the userPrincipalName, but is also populated when a user signs in using other identifiers. sign_in_identifier: Optional[str] = None # The type of sign in identifier. Possible values are: userPrincipalName, phoneNumber, proxyAddress, qrCode, onPremisesUserPrincipalName, unknownFutureValue. sign_in_identifier_type: Optional[SignInIdentifierType] = None - # Token protection creates a cryptographically secure tie between the token and the device it's issued to. This field indicates whether the signin token was bound to the device or not. The possible values are: none, bound, unbound, unknownFutureValue. + # Token protection creates a cryptographically secure tie between the token and the device it is issued to. This field indicates whether the signin token was bound to the device or not. The possible values are: none, bound, unbound, unknownFutureValue. sign_in_token_protection_status: Optional[TokenProtectionStatus] = None # The sign-in status. Includes the error code and description of the error (for a sign-in failure). Supports $filter (eq) on errorCode property. status: Optional[SignInStatus] = None diff --git a/msgraph_beta/generated/models/sign_in_activity.py b/msgraph_beta/generated/models/sign_in_activity.py index b45404c0226..eb9cd635d41 100644 --- a/msgraph_beta/generated/models/sign_in_activity.py +++ b/msgraph_beta/generated/models/sign_in_activity.py @@ -20,6 +20,10 @@ class SignInActivity(AdditionalDataHolder, BackedModel, Parsable): last_sign_in_date_time: Optional[datetime.datetime] = None # Request identifier of the last interactive sign-in performed by this user. last_sign_in_request_id: Optional[str] = None + # The datetime of the user's most recent successful sign in activity. + last_successful_sign_in_date_time: Optional[datetime.datetime] = None + # The requestID of the last successful signIn. + last_successful_sign_in_request_id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None @@ -44,6 +48,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "lastNonInteractiveSignInRequestId": lambda n : setattr(self, 'last_non_interactive_sign_in_request_id', n.get_str_value()), "lastSignInDateTime": lambda n : setattr(self, 'last_sign_in_date_time', n.get_datetime_value()), "lastSignInRequestId": lambda n : setattr(self, 'last_sign_in_request_id', n.get_str_value()), + "lastSuccessfulSignInDateTime": lambda n : setattr(self, 'last_successful_sign_in_date_time', n.get_datetime_value()), + "lastSuccessfulSignInRequestId": lambda n : setattr(self, 'last_successful_sign_in_request_id', n.get_str_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), } return fields @@ -60,6 +66,8 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("lastNonInteractiveSignInRequestId", self.last_non_interactive_sign_in_request_id) writer.write_datetime_value("lastSignInDateTime", self.last_sign_in_date_time) writer.write_str_value("lastSignInRequestId", self.last_sign_in_request_id) + writer.write_datetime_value("lastSuccessfulSignInDateTime", self.last_successful_sign_in_date_time) + writer.write_str_value("lastSuccessfulSignInRequestId", self.last_successful_sign_in_request_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/single_resource_azure_permissions_definition.py b/msgraph_beta/generated/models/single_resource_azure_permissions_definition.py index 9c1c0fbb87a..969794d527b 100644 --- a/msgraph_beta/generated/models/single_resource_azure_permissions_definition.py +++ b/msgraph_beta/generated/models/single_resource_azure_permissions_definition.py @@ -15,7 +15,7 @@ class SingleResourceAzurePermissionsDefinition(PermissionsDefinition): odata_type: Optional[str] = "#microsoft.graph.singleResourceAzurePermissionsDefinition" # The actionInfo property action_info: Optional[AzurePermissionsDefinitionAction] = None - # The resourceId property + # Identifier for the resource. resource_id: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/single_resource_gcp_permissions_definition.py b/msgraph_beta/generated/models/single_resource_gcp_permissions_definition.py index 192a9ce6332..dbd1ae4b90d 100644 --- a/msgraph_beta/generated/models/single_resource_gcp_permissions_definition.py +++ b/msgraph_beta/generated/models/single_resource_gcp_permissions_definition.py @@ -15,7 +15,7 @@ class SingleResourceGcpPermissionsDefinition(PermissionsDefinition): odata_type: Optional[str] = "#microsoft.graph.singleResourceGcpPermissionsDefinition" # The actionInfo property action_info: Optional[GcpPermissionsDefinitionAction] = None - # The resourceId property + # Identifier for the resource. resource_id: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/transcripts/delta/delta_get_response.py b/msgraph_beta/generated/models/site_page_collection_response.py similarity index 66% rename from msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/transcripts/delta/delta_get_response.py rename to msgraph_beta/generated/models/site_page_collection_response.py index 72b4c459e24..c577ad695e4 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/transcripts/delta/delta_get_response.py +++ b/msgraph_beta/generated/models/site_page_collection_response.py @@ -4,40 +4,40 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .........models.base_delta_function_response import BaseDeltaFunctionResponse - from .........models.call_transcript import CallTranscript + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .site_page import SitePage -from .........models.base_delta_function_response import BaseDeltaFunctionResponse +from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse @dataclass -class DeltaGetResponse(BaseDeltaFunctionResponse): +class SitePageCollectionResponse(BaseCollectionPaginationCountResponse): # The value property - value: Optional[List[CallTranscript]] = None + value: Optional[List[SitePage]] = None @staticmethod - def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> DeltaGetResponse: + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> SitePageCollectionResponse: """ 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: DeltaGetResponse + Returns: SitePageCollectionResponse """ if not parse_node: raise TypeError("parse_node cannot be null.") - return DeltaGetResponse() + return SitePageCollectionResponse() 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_delta_function_response import BaseDeltaFunctionResponse - from .........models.call_transcript import CallTranscript + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .site_page import SitePage - from .........models.base_delta_function_response import BaseDeltaFunctionResponse - from .........models.call_transcript import CallTranscript + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .site_page import SitePage fields: Dict[str, Callable[[Any], None]] = { - "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(CallTranscript)), + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(SitePage)), } super_fields = super().get_field_deserializers() fields.update(super_fields) diff --git a/msgraph_beta/generated/models/solutions_root.py b/msgraph_beta/generated/models/solutions_root.py index 8c491453a91..d63a5586b52 100644 --- a/msgraph_beta/generated/models/solutions_root.py +++ b/msgraph_beta/generated/models/solutions_root.py @@ -5,6 +5,8 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: + from .booking_business import BookingBusiness + from .booking_currency import BookingCurrency from .business_scenario import BusinessScenario from .virtual_events_root import VirtualEventsRoot @@ -15,6 +17,10 @@ class SolutionsRoot(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 bookingBusinesses property + booking_businesses: Optional[List[BookingBusiness]] = None + # The bookingCurrencies property + booking_currencies: Optional[List[BookingCurrency]] = None # The businessScenarios property business_scenarios: Optional[List[BusinessScenario]] = None # The OdataType property @@ -38,13 +44,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 .booking_business import BookingBusiness + from .booking_currency import BookingCurrency from .business_scenario import BusinessScenario from .virtual_events_root import VirtualEventsRoot + from .booking_business import BookingBusiness + from .booking_currency import BookingCurrency from .business_scenario import BusinessScenario from .virtual_events_root import VirtualEventsRoot fields: Dict[str, Callable[[Any], None]] = { + "bookingBusinesses": lambda n : setattr(self, 'booking_businesses', n.get_collection_of_object_values(BookingBusiness)), + "bookingCurrencies": lambda n : setattr(self, 'booking_currencies', n.get_collection_of_object_values(BookingCurrency)), "businessScenarios": lambda n : setattr(self, 'business_scenarios', n.get_collection_of_object_values(BusinessScenario)), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "virtualEvents": lambda n : setattr(self, 'virtual_events', n.get_object_value(VirtualEventsRoot)), @@ -59,6 +71,8 @@ def serialize(self,writer: SerializationWriter) -> None: """ if not writer: raise TypeError("writer cannot be null.") + writer.write_collection_of_object_values("bookingBusinesses", self.booking_businesses) + writer.write_collection_of_object_values("bookingCurrencies", self.booking_currencies) writer.write_collection_of_object_values("businessScenarios", self.business_scenarios) writer.write_str_value("@odata.type", self.odata_type) writer.write_object_value("virtualEvents", self.virtual_events) diff --git a/msgraph_beta/generated/models/synchronization_rule.py b/msgraph_beta/generated/models/synchronization_rule.py index ecb34f36df8..d3a52c96743 100644 --- a/msgraph_beta/generated/models/synchronization_rule.py +++ b/msgraph_beta/generated/models/synchronization_rule.py @@ -17,11 +17,11 @@ class SynchronizationRule(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 containerFilter property + # The names and identifiers of organizational units that are in scope for a synchronization rule. containerFilter and groupFilter are mutually exclusive properties that cannot be configured in the same request. Currently only supported for Azure AD Connect cloud sync scenarios. container_filter: Optional[ContainerFilter] = None # true if the synchronization rule can be customized; false if this rule is read-only and shouldn't be changed. editable: Optional[bool] = None - # The groupFilter property + # The names and identifiers of groups that are in scope for a synchronization rule. containerFilter and groupFilter are mutually exclusive properties that cannot be configured in the same request. Currently only supported for Azure AD Connect cloud sync scenarios. group_filter: Optional[GroupFilter] = None # Synchronization rule identifier. Must be one of the identifiers recognized by the synchronization engine. Supported rule identifiers can be found in the synchronization template returned by the API. id: Optional[str] = None diff --git a/msgraph_beta/generated/models/teams_async_operation_type.py b/msgraph_beta/generated/models/teams_async_operation_type.py index 1fe6d60385a..e645edb5f88 100644 --- a/msgraph_beta/generated/models/teams_async_operation_type.py +++ b/msgraph_beta/generated/models/teams_async_operation_type.py @@ -10,4 +10,6 @@ class TeamsAsyncOperationType(str, Enum): TeamifyGroup = "teamifyGroup", CreateChannel = "createChannel", CreateChat = "createChat", + ArchiveChannel = "archiveChannel", + UnarchiveChannel = "unarchiveChannel", diff --git a/msgraph_beta/generated/models/teams_licensing_details.py b/msgraph_beta/generated/models/teams_licensing_details.py new file mode 100644 index 00000000000..a25c0923155 --- /dev/null +++ b/msgraph_beta/generated/models/teams_licensing_details.py @@ -0,0 +1,56 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .entity import Entity + +from .entity import Entity + +@dataclass +class TeamsLicensingDetails(Entity): + # Indicates whether the user has a valid license to use Microsoft Teams. + has_teams_license: Optional[bool] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> TeamsLicensingDetails: + """ + 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: TeamsLicensingDetails + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return TeamsLicensingDetails() + + 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]] = { + "hasTeamsLicense": lambda n : setattr(self, 'has_teams_license', 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_bool_value("hasTeamsLicense", self.has_teams_license) + + diff --git a/msgraph_beta/generated/models/teamwork.py b/msgraph_beta/generated/models/teamwork.py index 2604ec0c951..d55130bd345 100644 --- a/msgraph_beta/generated/models/teamwork.py +++ b/msgraph_beta/generated/models/teamwork.py @@ -22,8 +22,12 @@ class Teamwork(Entity): deleted_teams: Optional[List[DeletedTeam]] = None # The Teams devices provisioned for the tenant. devices: Optional[List[TeamworkDevice]] = None + # Indicates whether Microsoft Teams is enabled for the organization. + is_teams_enabled: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None + # Represents the region of the organization. + region: Optional[str] = None # The templates associated with a team. team_templates: Optional[List[TeamTemplate]] = None # Represents tenant-wide settings for all Teams apps in the tenant. @@ -67,6 +71,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "deletedChats": lambda n : setattr(self, 'deleted_chats', n.get_collection_of_object_values(DeletedChat)), "deletedTeams": lambda n : setattr(self, 'deleted_teams', n.get_collection_of_object_values(DeletedTeam)), "devices": lambda n : setattr(self, 'devices', n.get_collection_of_object_values(TeamworkDevice)), + "isTeamsEnabled": lambda n : setattr(self, 'is_teams_enabled', n.get_bool_value()), + "region": lambda n : setattr(self, 'region', n.get_str_value()), "teamTemplates": lambda n : setattr(self, 'team_templates', n.get_collection_of_object_values(TeamTemplate)), "teamsAppSettings": lambda n : setattr(self, 'teams_app_settings', n.get_object_value(TeamsAppSettings)), "workforceIntegrations": lambda n : setattr(self, 'workforce_integrations', n.get_collection_of_object_values(WorkforceIntegration)), @@ -87,6 +93,8 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_collection_of_object_values("deletedChats", self.deleted_chats) writer.write_collection_of_object_values("deletedTeams", self.deleted_teams) writer.write_collection_of_object_values("devices", self.devices) + writer.write_bool_value("isTeamsEnabled", self.is_teams_enabled) + writer.write_str_value("region", self.region) writer.write_collection_of_object_values("teamTemplates", self.team_templates) writer.write_object_value("teamsAppSettings", self.teams_app_settings) writer.write_collection_of_object_values("workforceIntegrations", self.workforce_integrations) diff --git a/msgraph_beta/generated/models/ticket_info.py b/msgraph_beta/generated/models/ticket_info.py index ad46bf7198d..96d88789114 100644 --- a/msgraph_beta/generated/models/ticket_info.py +++ b/msgraph_beta/generated/models/ticket_info.py @@ -13,11 +13,11 @@ class TicketInfo(AdditionalDataHolder, BackedModel, Parsable): additional_data: Dict[str, Any] = field(default_factory=dict) # The OdataType property odata_type: Optional[str] = None - # The ticketApproverIdentityId property + # ID for the request approver. ticket_approver_identity_id: Optional[str] = None # The ticket number. ticket_number: Optional[str] = None - # The ticketSubmitterIdentityId property + # ID for the request submitter. ticket_submitter_identity_id: Optional[str] = None # The description of the ticket system. ticket_system: Optional[str] = None diff --git a/msgraph_beta/generated/models/time_off.py b/msgraph_beta/generated/models/time_off.py index 07868149871..d049069ba28 100644 --- a/msgraph_beta/generated/models/time_off.py +++ b/msgraph_beta/generated/models/time_off.py @@ -13,11 +13,11 @@ class TimeOff(ChangeTrackedEntity): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.timeOff" - # The draft version of this timeOff that is viewable by managers. Required. + # Draft changes in the timeOff are only visible to managers until they're shared. draft_time_off: Optional[TimeOffItem] = None - # The isStagedForDeletion property + # The timeOff is marked for deletion, a process that is finalized when the schedule is shared. is_staged_for_deletion: Optional[bool] = None - # The shared version of this timeOff that is viewable by both employees and managers. Required. + # The shared version of this timeOff that is viewable by both employees and managers. shared_time_off: Optional[TimeOffItem] = None # ID of the user assigned to the timeOff. Required. user_id: Optional[str] = None diff --git a/msgraph_beta/generated/models/time_off_reason.py b/msgraph_beta/generated/models/time_off_reason.py index c372134ce23..71009049bfa 100644 --- a/msgraph_beta/generated/models/time_off_reason.py +++ b/msgraph_beta/generated/models/time_off_reason.py @@ -13,6 +13,8 @@ class TimeOffReason(ChangeTrackedEntity): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.timeOffReason" + # The code of the timeOffReason to represent an external identifier. + code: Optional[str] = None # The name of the timeOffReason. Required. display_name: Optional[str] = None # Supported icon types are: none, car, calendar, running, plane, firstAid, doctor, notWorking, clock, juryDuty, globe, cup, phone, weather, umbrella, piggyBank, dog, cake, trafficCone, pin, sunny. Required. @@ -43,6 +45,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .time_off_reason_icon_type import TimeOffReasonIconType fields: Dict[str, Callable[[Any], None]] = { + "code": lambda n : setattr(self, 'code', n.get_str_value()), "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), "iconType": lambda n : setattr(self, 'icon_type', n.get_enum_value(TimeOffReasonIconType)), "isActive": lambda n : setattr(self, 'is_active', n.get_bool_value()), @@ -60,6 +63,7 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") super().serialize(writer) + writer.write_str_value("code", self.code) writer.write_str_value("displayName", self.display_name) writer.write_enum_value("iconType", self.icon_type) writer.write_bool_value("isActive", self.is_active) diff --git a/msgraph_beta/generated/models/unified_role_assignment.py b/msgraph_beta/generated/models/unified_role_assignment.py index 338cbb4ca81..e4ef7f6d3f2 100644 --- a/msgraph_beta/generated/models/unified_role_assignment.py +++ b/msgraph_beta/generated/models/unified_role_assignment.py @@ -15,27 +15,27 @@ class UnifiedRoleAssignment(Entity): # Details of the app specific scope when the assignment scope is app specific. Containment entity. app_scope: Optional[AppScope] = None - # Identifier of the app specific scope when the assignment scope is app specific. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. App scopes are scopes that are defined and understood by this application only. For the entitlement management provider, use app scopes to specify a catalog, for example /AccessPackageCatalog/beedadfe-01d5-4025-910b-84abb9369997. + # Identifier of the app specific scope when the assignment scope is app specific. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by a resource application only. For the entitlement management provider, use this property to specify a catalog, for example /AccessPackageCatalog/beedadfe-01d5-4025-910b-84abb9369997. Supports $filter (eq, in). For example /roleManagement/entitlementManagement/roleAssignments?$filter=appScopeId eq '/AccessPackageCatalog/{catalog id}'. app_scope_id: Optional[str] = None # The condition property condition: Optional[str] = None # The directory object that is the scope of the assignment. Provided so that callers can get the directory object using $expand at the same time as getting the role assignment. Read-only. Supports $expand. directory_scope: Optional[DirectoryObject] = None - # Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. App scopes are scopes that are defined and understood by this application only. + # Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications, unlike app scopes that are defined and understood by a resource application only. Supports $filter (eq, in). directory_scope_id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None # The assigned principal. Provided so that callers can get the principal using $expand at the same time as getting the role assignment. Read-only. Supports $expand. principal: Optional[DirectoryObject] = None - # Identifier of the principal to which the assignment is granted. Supports $filter (eq operator only). + # Identifier of the principal to which the assignment is granted. Supported principals are users, role-assignable groups, and service principals. Supports $filter (eq, in). principal_id: Optional[str] = None - # The principalOrganizationId property + # Identifier of the home tenant for the principal to which the assignment is granted. principal_organization_id: Optional[str] = None # The scope at which the unifiedRoleAssignment applies. This is / for service-wide. DO NOT USE. This property will be deprecated soon. resource_scope: Optional[str] = None # The roleDefinition the assignment is for. Provided so that callers can get the role definition using $expand at the same time as getting the role assignment. roleDefinition.id will be auto expanded. Supports $expand. role_definition: Optional[UnifiedRoleDefinition] = None - # Identifier of the unifiedRoleDefinition the assignment is for. Read-only. Supports $filter (eq operator only). + # Identifier of the unifiedRoleDefinition the assignment is for. Read-only. Supports $filter (eq, in). role_definition_id: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/user.py b/msgraph_beta/generated/models/user.py index ccd8529a982..35e50de51d6 100644 --- a/msgraph_beta/generated/models/user.py +++ b/msgraph_beta/generated/models/user.py @@ -85,13 +85,13 @@ class User(DirectoryObject): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.user" - # A freeform text entry field for the user to describe themselves. Returned only on $select. + # A freeform text entry field for users to describe themselves. Returned only on $select. about_me: Optional[str] = None # true if the account is enabled; otherwise, false. This property is required when a user is created. Supports $filter (eq, ne, not, and in). account_enabled: Optional[bool] = None # The user's activities across devices. Read-only. Nullable. activities: Optional[List[UserActivity]] = None - # Sets the age group of the user. Allowed values: null, Minor, NotAdult and Adult. For more information, see legal age group property definitions. Supports $filter (eq, ne, not, and in). + # Sets the age group of the user. Allowed values: null, Minor, NotAdult, and Adult. For more information, see legal age group property definitions. Supports $filter (eq, ne, not, and in). age_group: Optional[str] = None # The user's terms of use acceptance statuses. Read-only. Nullable. agreement_acceptances: Optional[List[AgreementAcceptance]] = None @@ -105,15 +105,15 @@ class User(DirectoryObject): app_role_assignments: Optional[List[AppRoleAssignment]] = None # The approvals property approvals: Optional[List[Approval]] = None - # The licenses that are assigned to the user, including inherited (group-based) licenses. This property doesn't differentiate directly assigned and inherited licenses. Use the licenseAssignmentStates property to identify the directly assigned and inherited licenses. Not nullable. Supports $filter (eq, not, /$count eq 0, /$count ne 0). + # The licenses that are assigned to the user, including inherited (group-based) licenses. This property doesn't differentiate between directly assigned and inherited licenses. Use the licenseAssignmentStates property to identify the directly assigned and inherited licenses. Not nullable. Supports $filter (eq, not, /$count eq 0, /$count ne 0). assigned_licenses: Optional[List[AssignedLicense]] = None # The plans that are assigned to the user. Read-only. Not nullable.Supports $filter (eq and not). assigned_plans: Optional[List[AssignedPlan]] = None # The authentication methods that are supported for the user. authentication: Optional[Authentication] = None - # Identifiers that can be used to identify and authenticate a user in non-Azure AD environments. This property can be used to store identifiers for smartcard-based certificates that a user uses for access to on-premises Active Directory deployments or for federated access. It can also be used to store the Subject Alternate Name (SAN) that's associated with a Common Access Card (CAC). Nullable.Supports $filter (eq and startsWith). + # Identifiers that can be used to identify and authenticate a user in non-Azure AD environments. This property can store identifiers for smartcard-based certificates that users use to access on-premises Active Directory deployments or federated access. It can also be used to store the Subject Alternate Name (SAN) that's associated with a Common Access Card (CAC). Nullable.Supports $filter (eq and startsWith). authorization_info: Optional[AuthorizationInfo] = None - # The birthday of the user. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z Returned only on $select. + # The birthday of the user. 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 Returned only on $select. birthday: Optional[datetime.datetime] = None # The telephone numbers for the user. Only one number can be set for this property. Read-only for users synced from on-premises directory. Supports $filter (eq, not, ge, le, startsWith). business_phones: Optional[List[str]] = None @@ -133,7 +133,7 @@ class User(DirectoryObject): cloud_p_cs: Optional[List[CloudPC]] = None # Microsoft realtime communication information related to the user. Supports $filter (eq, ne,not). cloud_realtime_communication_info: Optional[CloudRealtimeCommunicationInfo] = None - # The name of the company that the user is associated with. This property can be useful for describing the company that an external user comes from. The maximum length is 64 characters.Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + # The name of the company the user is associated with. This property can be useful for describing the company that an external user comes from. The maximum length is 64 characters.Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). company_name: Optional[str] = None # Sets whether consent has been obtained for minors. Allowed values: null, Granted, Denied and NotRequired. Refer to the legal age group property definitions for further information. Supports $filter (eq, ne, not, and in). consent_provided_for_minor: Optional[str] = None @@ -143,15 +143,15 @@ class User(DirectoryObject): contacts: Optional[List[Contact]] = None # The country or region where the user is located; for example, US or UK. Maximum length is 128 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). country: Optional[str] = None - # The date and time the user was created, in ISO 8601 format and in UTC time. The value cannot be modified and is automatically populated when the entity is created. Nullable. For on-premises users, the value represents when they were first created in Microsoft Entra ID. Property is null for some users created before June 2018 and on-premises users that were synced to Microsoft Entra ID before June 2018. Read-only. Supports $filter (eq, ne, not , ge, le, in). + # The date and time the user was created in ISO 8601 format and UTC. The value cannot be modified and is automatically populated when the entity is created. Nullable. For on-premises users, the value represents when they were first created in Microsoft Entra ID. Property is null for some users created before June 2018 and on-premises users synced to Microsoft Entra ID before June 2018. Read-only. Supports $filter (eq, ne, not , ge, le, in). created_date_time: Optional[datetime.datetime] = None # Directory objects that the user created. Read-only. Nullable. created_objects: Optional[List[DirectoryObject]] = None # Indicates whether the user account was created through one of the following methods: As a regular school or work account (null). As an external account (Invitation). As a local account for an Azure Active Directory B2C tenant (LocalAccount). Through self-service sign-up by an internal user using email verification (EmailVerified). Through self-service sign-up by an external user signing up through a link that is part of a user flow (SelfServiceSignUp). Read-only.Supports $filter (eq, ne, not, and in). creation_type: Optional[str] = None - # An open complex type that holds the value of a custom security attribute that is assigned to a directory object. Nullable. Returned only on $select. Supports $filter (eq, ne, not, startsWith). Filter value is case sensitive. + # An open complex type that holds the value of a custom security attribute that is assigned to a directory object. Nullable. Returned only on $select. Supports $filter (eq, ne, not, startsWith). The filter value is case-sensitive. custom_security_attributes: Optional[CustomSecurityAttributeValue] = None - # The name for the department in which the user works. Maximum length is 64 characters.Supports $filter (eq, ne, not , ge, le, in, and eq on null values). + # The name of the department where the user works. Maximum length is 64 characters.Supports $filter (eq, ne, not , ge, le, in, and eq on null values). department: Optional[str] = None # Get enrollment configurations targeted to the user device_enrollment_configurations: Optional[List[DeviceEnrollmentConfiguration]] = None @@ -163,9 +163,9 @@ class User(DirectoryObject): device_management_troubleshooting_events: Optional[List[DeviceManagementTroubleshootingEvent]] = None # The devices property devices: Optional[List[Device]] = None - # The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. Supports $expand. + # The users and contacts that report to the user. (The users and contacts with their manager property set to this user.) Read-only. Nullable. Supports $expand. direct_reports: Optional[List[DirectoryObject]] = None - # The name displayed in the address book for the user. This value is usually the combination of the user's first name, middle initial, and last name. This property is required when a user is created and it cannot be cleared during updates. Maximum length is 256 characters. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values), $orderby, and $search. + # The name displayed in the address book for the user. This value is usually the combination of the user's first name, middle initial, and last name. This property is required when a user is created, and it cannot be cleared during updates. Maximum length is 256 characters. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values), $orderby, and $search. display_name: Optional[str] = None # The user's OneDrive. Read-only. drive: Optional[Drive] = None @@ -173,7 +173,7 @@ class User(DirectoryObject): drives: Optional[List[Drive]] = None # The employeeExperience property employee_experience: Optional[EmployeeExperienceUser] = None - # The date and time when the user was hired or will start work in case of a future hire. Supports $filter (eq, ne, not , ge, le, in). + # The date and time when the user was hired or will start work if there is a future hire. Supports $filter (eq, ne, not , ge, le, in). employee_hire_date: Optional[datetime.datetime] = None # The employee identifier assigned to the user by the organization. The maximum length is 16 characters.Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values). employee_id: Optional[str] = None @@ -183,7 +183,7 @@ class User(DirectoryObject): employee_org_data: Optional[EmployeeOrgData] = None # Captures enterprise worker type. For example, Employee, Contractor, Consultant, or Vendor. Supports $filter (eq, ne, not , ge, le, in, startsWith). employee_type: Optional[str] = None - # The user's events. Default is to show events under the Default Calendar. Read-only. Nullable. + # The user's events. The default is to show events under the Default Calendar. Read-only. Nullable. events: Optional[List[Event]] = None # The collection of open extensions defined for the user. Supports $expand. Nullable. extensions: Optional[List[Extension]] = None @@ -197,11 +197,11 @@ class User(DirectoryObject): followed_sites: Optional[List[Site]] = None # The given name (first name) of the user. Maximum length is 64 characters. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values). given_name: Optional[str] = None - # The hire date of the user. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Returned only on $select. Note: This property is specific to SharePoint Online. We recommend using the native employeeHireDate property to set and update hire date values using Microsoft Graph APIs. + # The hire date of the user. 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. Returned only on $select. Note: This property is specific to SharePoint Online. We recommend using the native employeeHireDate property to set and update hire date values using Microsoft Graph APIs. hire_date: Optional[datetime.datetime] = None - # Represents the identities that can be used to sign in to this user account. An identity can be provided by Microsoft (also known as a local account), by organizations, or by social identity providers such as Facebook, Google, and Microsoft, and tied to a user account. May contain multiple items with the same signInType value. Supports $filter (eq) including on null values, only where the signInType is not userPrincipalName. + # Represents the identities that can be used to sign in to this user account. An identity can be provided by Microsoft (also known as a local account), by organizations, or by social identity providers such as Facebook, Google, and Microsoft and tied to a user account. It may contain multiple items with the same signInType value. Supports $filter (eq) including on null values, only where the signInType is not userPrincipalName. identities: Optional[List[ObjectIdentity]] = None - # The instant message voice over IP (VOIP) session initiation protocol (SIP) addresses for the user. Read-only. Supports $filter (eq, not, ge, le, startsWith). + # The instant message voice-over IP (VOIP) session initiation protocol (SIP) addresses for the user. Read-only. Supports $filter (eq, not, ge, le, startsWith). im_addresses: Optional[List[str]] = None # Relevance classification of the user's messages based on explicit designations that override inferred relevance or importance. inference_classification: Optional[InferenceClassification] = None @@ -211,11 +211,11 @@ class User(DirectoryObject): information_protection: Optional[InformationProtection] = None # The insights property insights: Optional[ItemInsights] = None - # A list for the user to describe their interests. Returned only on $select. + # A list for users to describe their interests. Returned only on $select. interests: Optional[List[str]] = None # Indicates whether the user is pending an exchange mailbox license assignment. Read-only. Supports $filter (eq where true only). is_license_reconciliation_needed: Optional[bool] = None - # true if the user is a member of a restricted management administrative unit, in which case it requires a role scoped to the restricted administrative unit to manage. Default value is false. Read-only. To manage a user who is a member of a restricted administrative unit, the calling app must be assigned the Directory.Write.Restricted permission. For delegated scenarios, the administrators must also be explicitly assigned supported roles at the restricted administrative unit scope. + # true if the user is a member of a restricted management administrative unit, which requires a role scoped to the restricted administrative unit to manage. Default value is false. Read-only. To manage a user who is a member of a restricted administrative unit, the calling app must be assigned the Directory.Write.Restricted permission. For delegated scenarios, the administrators must also be explicitly assigned supported roles at the restricted administrative unit scope. is_management_restricted: Optional[bool] = None # Do not use – reserved for future use. is_resource_account: Optional[bool] = None @@ -223,17 +223,17 @@ class User(DirectoryObject): job_title: Optional[str] = None # The joinedGroups property joined_groups: Optional[List[Group]] = None - # The Microsoft Teams teams that the user is a member of. Read-only. Nullable. + # The Microsoft Teams teams the user is a member of. Read-only. Nullable. joined_teams: Optional[List[Team]] = None - # The time when this Microsoft Entra user last changed their password or when their password was created, whichever date the latest action was performed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Returned only on $select. + # When this Microsoft Entra user last changed their password or when their password was created, whichever date the latest action was performed. 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. Read-only. Returned only on $select. last_password_change_date_time: Optional[datetime.datetime] = None - # Used by enterprise applications to determine the legal age group of the user. This property is read-only and calculated based on ageGroup and consentProvidedForMinor properties. Allowed values: null, MinorWithOutParentalConsent, MinorWithParentalConsent, MinorNoParentalConsentRequired, NotAdult and Adult. For more information, see legal age group property definitions. Returned only on $select. + # Used by enterprise applications to determine the legal age group of the user. This property is read-only and calculated based on ageGroup and consentProvidedForMinor properties. Allowed values: null, MinorWithOutParentalConsent, MinorWithParentalConsent, MinorNoParentalConsentRequired, NotAdult, and Adult. For more information, see legal age group property definitions. Returned only on $select. legal_age_group_classification: Optional[str] = None - # State of license assignments for this user. Also indicates licenses that are directly assigned and those that the user has inherited through group memberships. Read-only. Returned only on $select. + # State of license assignments for this user. It also indicates licenses that are directly assigned and the ones the user inherited through group memberships. Read-only. Returned only on $select. license_assignment_states: Optional[List[LicenseAssignmentState]] = None # The licenseDetails property license_details: Optional[List[LicenseDetails]] = None - # The SMTP address for the user, for example, admin@contoso.com. Changes to this property also updates the user's proxyAddresses collection to include the value as an SMTP address. This property can't contain accent characters. NOTE: We don't recommend updating this property for Azure AD B2C user profiles. Use the otherMails property instead. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith, and eq on null values). + # The SMTP address for the user, for example, admin@contoso.com. Changes to this property also update the user's proxyAddresses collection to include the value as an SMTP address. This property can't contain accent characters. NOTE: We don't recommend updating this property for Azure AD B2C user profiles. Use the otherMails property instead. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith, and eq on null values). mail: Optional[str] = None # The user's mail folders. Read-only. Nullable. mail_folders: Optional[List[MailFolder]] = None @@ -247,7 +247,7 @@ class User(DirectoryObject): managed_devices: Optional[List[ManagedDevice]] = None # The user or contact that is this user's manager. Read-only. (HTTP Methods: GET, PUT, DELETE.). Supports $expand. manager: Optional[DirectoryObject] = None - # The groups, directory roles and administrative units that the user is a member of. Read-only. Nullable. Supports $expand. + # The groups, directory roles, and administrative units that the user is a member of. Read-only. Nullable. Supports $expand. member_of: Optional[List[DirectoryObject]] = None # The messages in a mailbox or folder. Read-only. Nullable. messages: Optional[List[Message]] = None @@ -255,9 +255,9 @@ class User(DirectoryObject): mobile_app_intent_and_states: Optional[List[MobileAppIntentAndState]] = None # The list of mobile app troubleshooting events for this user. mobile_app_troubleshooting_events: Optional[List[MobileAppTroubleshootingEvent]] = None - # The primary cellular telephone number for the user. Read-only for users synced from on-premises directory. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values) and $search. + # The primary cellular telephone number for the user. Read-only for users synced from the on-premises directory. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values) and $search. mobile_phone: Optional[str] = None - # The URL for the user's personal site. Returned only on $select. + # The URL for the user's site. Returned only on $select. my_site: Optional[str] = None # The notifications property notifications: Optional[List[Notification]] = None @@ -265,55 +265,55 @@ class User(DirectoryObject): oauth2_permission_grants: Optional[List[OAuth2PermissionGrant]] = None # The office location in the user's place of business. Maximum length is 128 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). office_location: Optional[str] = None - # Contains the on-premises Active Directory distinguished name or DN. The property is only populated for customers who are synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect. Read-only. + # Contains the on-premises Active Directory distinguished name or DN. The property is only populated for customers synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect. Read-only. on_premises_distinguished_name: Optional[str] = None - # Contains the on-premises domainFQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect. Read-only. + # Contains the on-premises domainFQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect. Read-only. on_premises_domain_name: Optional[str] = None - # Contains extensionAttributes1-15 for the user. These extension attributes are also known as Exchange custom attributes 1-15. For an onPremisesSyncEnabled user, the source of authority for this set of properties is the on-premises and is read-only. For a cloud-only user (where onPremisesSyncEnabled is false), these properties can be set during creation or update of a user object. For a cloud-only user previously synced from on-premises Active Directory, these properties are read-only in Microsoft Graph but can be fully managed through the Exchange Admin Center or the Exchange Online V2 module in PowerShell. Supports $filter (eq, ne, not, in). + # Contains extensionAttributes1-15 for the user. These extension attributes are also known as Exchange custom attributes 1-15. For an onPremisesSyncEnabled user, the source of authority for this set of properties is the on-premises and is read-only. For a cloud-only user (where onPremisesSyncEnabled is false), these properties can be set during the creation or update of a user object. For a cloud-only user previously synced from on-premises Active Directory, these properties are read-only in Microsoft Graph but can be fully managed through the Exchange Admin Center or the Exchange Online V2 module in PowerShell. Supports $filter (eq, ne, not, in). on_premises_extension_attributes: Optional[OnPremisesExtensionAttributes] = None - # This property is used to associate an on-premises Active Directory user account to their Microsoft Entra user object. This property must be specified when creating a new user account in the Graph if you're using a federated domain for the user's userPrincipalName (UPN) property. Note: The $ and _ characters can't be used when specifying this property. Supports $filter (eq, ne, not, ge, le, in). + # This property associates an on-premises Active Directory user account to their Microsoft Entra user object. This property must be specified when creating a new user account in the Graph if you're using a federated domain for the user's userPrincipalName (UPN) property. Note: The $ and _ characters can't be used when specifying this property. Supports $filter (eq, ne, not, ge, le, in). on_premises_immutable_id: Optional[str] = None - # Indicates the last time at which the object was synced with the on-premises directory; for example: '2013-02-16T03:04:54Z'. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter (eq, ne, not, ge, le, in). + # Indicates the last time at which the object was synced with the on-premises directory; for example: '2013-02-16T03:04:54Z'. 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. Read-only. Supports $filter (eq, ne, not, ge, le, in). on_premises_last_sync_date_time: Optional[datetime.datetime] = None # Errors when using Microsoft synchronization product during provisioning. Supports $filter (eq, not, ge, le). on_premises_provisioning_errors: Optional[List[OnPremisesProvisioningError]] = None - # Contains the on-premises sAMAccountName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect. Read-only. Supports $filter (eq, ne, not, ge, le, in, startsWith). + # Contains the on-premises sAMAccountName synchronized from the on-premises directory. The property is only populated for customers synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect. Read-only. Supports $filter (eq, ne, not, ge, le, in, startsWith). on_premises_sam_account_name: Optional[str] = None - # Contains the on-premises security identifier (SID) for the user that was synchronized from on-premises to the cloud. Read-only. Supports $filter (eq including on null values). + # Contains the on-premises security identifier (SID) for the user synchronized from on-premises to the cloud. Read-only. Supports $filter (eq including on null values). on_premises_security_identifier: Optional[str] = None # Contains all on-premises Session Initiation Protocol (SIP) information related to the user. Read-only. on_premises_sip_info: Optional[OnPremisesSipInfo] = None - # true if this user object is currently being synced from an on-premises Active Directory (AD); otherwise the user isn't being synced and can be managed in Microsoft Entra ID. Read-only. Supports $filter (eq, ne, not, in, and eq on null values). + # true if this user object is currently being synced from an on-premises Active Directory (AD); otherwise, the user isn't being synced and can be managed in Microsoft Entra ID. Read-only. Supports $filter (eq, ne, not, in, and eq on null values). on_premises_sync_enabled: Optional[bool] = None - # Contains the on-premises userPrincipalName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect. Read-only. Supports $filter (eq, ne, not, ge, le, in, startsWith). + # Contains the on-premises userPrincipalName synchronized from the on-premises directory. The property is only populated for customers synchronizing their on-premises directory to Microsoft Entra ID via Microsoft Entra Connect. Read-only. Supports $filter (eq, ne, not, ge, le, in, startsWith). on_premises_user_principal_name: Optional[str] = None # The onenote property onenote: Optional[Onenote] = None - # Information about a meeting, including the URL used to join a meeting, the attendees' list, and the description. + # Information about a meeting, including the URL used to join a meeting, the attendees list, and the description. online_meetings: Optional[List[OnlineMeeting]] = None # A list of additional email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com'].NOTE: This property can't contain accent characters.Supports $filter (eq, not, ge, le, in, startsWith, endsWith, /$count eq 0, /$count ne 0). other_mails: Optional[List[str]] = None # Selective Outlook services available to the user. Read-only. Nullable. outlook: Optional[OutlookUser] = None - # Devices that are owned by the user. Read-only. Nullable. Supports $expand. + # Devices owned by the user. Read-only. Nullable. Supports $expand. owned_devices: Optional[List[DirectoryObject]] = None - # Directory objects that are owned by the user. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + # Directory objects owned by the user. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). owned_objects: Optional[List[DirectoryObject]] = None # Specifies password policies for the user. This value is an enumeration with one possible value being DisableStrongPassword, which allows weaker passwords than the default policy to be specified. DisablePasswordExpiration can also be specified. The two may be specified together; for example: DisablePasswordExpiration, DisableStrongPassword. For more information on the default password policies, see Microsoft Entra password policies. Supports $filter (ne, not, and eq on null values). password_policies: Optional[str] = None # Specifies the password profile for the user. The profile contains the user's password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required. Supports $filter (eq, ne, not, in, and eq on null values). password_profile: Optional[PasswordProfile] = None - # A list for the user to enumerate their past projects. Returned only on $select. + # A list for users to enumerate their past projects. Returned only on $select. past_projects: Optional[List[str]] = None - # Navigation property to get list of access reviews pending approval by reviewer. + # Navigation property to get a list of access reviews pending approval by the reviewer. pending_access_review_instances: Optional[List[AccessReviewInstance]] = None - # Read-only. The most relevant people to the user. The collection is ordered by their relevance to the user, which is determined by the user's communication, collaboration and business relationships. A person is an aggregation of information from across mail, contacts and social networks. + # Read-only. The most relevant people to the user. The collection is ordered by their relevance to the user, which is determined by the user's communication, collaboration, and business relationships. A person aggregates information from mail, contacts, and social networks. people: Optional[List[Person]] = None # List all resource-specific permission grants of a user. permission_grants: Optional[List[ResourceSpecificPermissionGrant]] = None # The user's profile photo. Read-only. photo: Optional[ProfilePhoto] = None - # The photos property + # The collection of the user's profile photos in different sizes. Read-only. photos: Optional[List[ProfilePhoto]] = None # Selective Planner services available to the user. Read-only. Nullable. planner: Optional[PlannerUser] = None @@ -321,7 +321,7 @@ class User(DirectoryObject): postal_code: Optional[str] = None # The preferred data location for the user. For more information, see OneDrive Online Multi-Geo. preferred_data_location: Optional[str] = None - # The preferred language for the user. The preferred language format is based on RFC 4646. The name is a combination of an ISO 639 two-letter lowercase culture code associated with the language, and an ISO 3166 two-letter uppercase subculture code associated with the country or region. Example: 'en-US', or 'es-ES'. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + # The preferred language for the user. The preferred language format is based on RFC 4646. The name combines an ISO 639 two-letter lowercase culture code associated with the language and an ISO 3166 two-letter uppercase subculture code associated with the country or region. Example: 'en-US', or 'es-ES'. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). preferred_language: Optional[str] = None # The preferred name for the user. Not Supported. This attribute returns an empty string.Returned only on $select. preferred_name: Optional[str] = None @@ -333,9 +333,9 @@ class User(DirectoryObject): profile: Optional[Profile] = None # The plans that are provisioned for the user. Read-only. Not nullable. Supports $filter (eq, not, ge, le). provisioned_plans: Optional[List[ProvisionedPlan]] = None - # For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com']. Changes to the mail property will also update this collection to include the value as an SMTP address. For more information, see mail and proxyAddresses properties. The proxy address prefixed with SMTP (capitalized) is the primary proxy address while those prefixed with smtp are the secondary proxy addresses. For Azure AD B2C accounts, this property has a limit of 10 unique addresses. Read-only in Microsoft Graph; you can update this property only through the Microsoft 365 admin center. Not nullable. Supports $filter (eq, not, ge, le, startsWith, endsWith, /$count eq 0, /$count ne 0). + # For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com']. Changes to the mail property also update this collection to include the value as an SMTP address. For more information, see mail and proxyAddresses properties. The proxy address prefixed with SMTP (capitalized) is the primary proxy address, while the ones prefixed with smtp are the secondary proxy addresses. For Azure AD B2C accounts, this property has a limit of 10 unique addresses. Read-only in Microsoft Graph; you can update this property only through the Microsoft 365 admin center. Not nullable. Supports $filter (eq, not, ge, le, startsWith, endsWith, /$count eq 0, /$count ne 0). proxy_addresses: Optional[List[str]] = None - # Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application needs to acquire a new refresh token by making a request to the authorize endpoint. Read-only. Use invalidateAllRefreshTokens to reset. + # Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If it happens, the application must acquire a new refresh token by requesting the authorized endpoint. Read-only. Use invalidateAllRefreshTokens to reset. refresh_tokens_valid_from_date_time: Optional[datetime.datetime] = None # Devices that are registered for the user. Read-only. Nullable. Supports $expand and returns up to 100 objects. registered_devices: Optional[List[DirectoryObject]] = None @@ -349,7 +349,7 @@ class User(DirectoryObject): security: Optional[Security] = None # Security identifier (SID) of the user, used in Windows scenarios. Read-only. Returned by default. Supports $select and $filter (eq, not, ge, le, startsWith). security_identifier: Optional[str] = None - # Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + # Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. service_provisioning_errors: Optional[List[ServiceProvisioningError]] = None # The settings property settings: Optional[UserSettings] = None @@ -357,11 +357,11 @@ class User(DirectoryObject): show_in_address_list: Optional[bool] = None # Get the last signed-in date and request ID of the sign-in for a given user. Read-only.Returned only on $select. Supports $filter (eq, ne, not, ge, le) but not with any other filterable properties. Note: Details for this property require a Microsoft Entra ID P1 or P2 license and the AuditLog.Read.All permission.This property is not returned for a user who has never signed in or last signed in before April 2020. sign_in_activity: Optional[SignInActivity] = None - # Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application needs to acquire a new refresh token by making a request to the authorize endpoint. Read-only. Use revokeSignInSessions to reset. + # Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application must acquire a new refresh token by requesting the authorized endpoint. Read-only. Use revokeSignInSessions to reset. sign_in_sessions_valid_from_date_time: Optional[datetime.datetime] = None # A list for the user to enumerate their skills. Returned only on $select. skills: Optional[List[str]] = None - # The users and groups that are responsible for this guest user's privileges in the tenant and keep the guest user's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. + # The users and groups responsible for this guest user's privileges in the tenant and keep the guest user's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. sponsors: Optional[List[DirectoryObject]] = None # The state or province in the user's address. Maximum length is 128 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). state: Optional[str] = None @@ -373,15 +373,15 @@ class User(DirectoryObject): teamwork: Optional[UserTeamwork] = None # Represents the To Do services available to a user. todo: Optional[Todo] = None - # The groups, including nested groups, and directory roles that a user is a member of. Nullable. + # The groups, including nested groups and directory roles that a user is a member of. Nullable. transitive_member_of: Optional[List[DirectoryObject]] = None # The transitive reports for a user. Read-only. transitive_reports: Optional[List[DirectoryObject]] = None - # A two letter country code (ISO standard 3166). Required for users that are assigned licenses due to legal requirement to check for availability of services in countries. Examples include: US, JP, and GB. Not nullable. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + # A two-letter country code (ISO standard 3166). Required for users that are assigned licenses due to legal requirements to check for availability of services in countries. Examples include: US, JP, and GB. Not nullable. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). usage_location: Optional[str] = None # Represents the usage rights a user has been granted. usage_rights: Optional[List[UsageRight]] = None - # The user principal name (UPN) of the user. The UPN is an Internet-style sign-in name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where domain must be present in the tenant's collection of verified domains. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization.NOTE: This property can't contain accent characters. Only the following characters are allowed A - Z, a - z, 0 - 9, ' . - _ ! # ^ ~. For the complete list of allowed characters, see username policies. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith) and $orderby. + # The user principal name (UPN) of the user. The UPN is an Internet-style sign-in name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where the domain must be present in the tenant's verified domain collection. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization.NOTE: This property can't contain accent characters. Only the following characters are allowed A - Z, a - z, 0 - 9, ' . - _ ! # ^ ~. For the complete list of allowed characters, see username policies. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith) and $orderby. user_principal_name: Optional[str] = None # A String value that can be used to classify user types in your directory, such as Member and Guest. Supports $filter (eq, ne, not, in, and eq on null values). NOTE: For more information about the permissions for member and guest users, see What are the default user permissions in Microsoft Entra ID? user_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/user_count_metric.py b/msgraph_beta/generated/models/user_count_metric.py index 8655c164c32..938fc76dd4e 100644 --- a/msgraph_beta/generated/models/user_count_metric.py +++ b/msgraph_beta/generated/models/user_count_metric.py @@ -11,9 +11,9 @@ @dataclass class UserCountMetric(Entity): - # The count property + # The total number of users in the tenant over time. count: Optional[int] = None - # The factDate property + # The date of the insight. fact_date: Optional[datetime.date] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/user_experience_analytics_battery_health_device_performance.py b/msgraph_beta/generated/models/user_experience_analytics_battery_health_device_performance.py index 96e603bd4d4..36af986d223 100644 --- a/msgraph_beta/generated/models/user_experience_analytics_battery_health_device_performance.py +++ b/msgraph_beta/generated/models/user_experience_analytics_battery_health_device_performance.py @@ -5,6 +5,7 @@ if TYPE_CHECKING: from .entity import Entity + from .user_experience_analytics_device_battery_detail import UserExperienceAnalyticsDeviceBatteryDetail from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState from .entity import Entity @@ -16,6 +17,8 @@ class UserExperienceAnalyticsBatteryHealthDevicePerformance(Entity): """ # Estimated battery age. Unit in days. Valid values 0 to 2147483647 battery_age_in_days: Optional[int] = None + # Properties (maxCapacity and cycleCount) related to all batteries of the device. + device_batteries_details: Optional[List[UserExperienceAnalyticsDeviceBatteryDetail]] = None # Number of batteries in a user device. Valid values 1 to 2147483647 device_battery_count: Optional[int] = None # A weighted average of a device’s maximum capacity score and runtime estimate score. Values range from 0-100. Valid values 0 to 2147483647 @@ -56,13 +59,16 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .entity import Entity + from .user_experience_analytics_device_battery_detail import UserExperienceAnalyticsDeviceBatteryDetail from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState from .entity import Entity + from .user_experience_analytics_device_battery_detail import UserExperienceAnalyticsDeviceBatteryDetail from .user_experience_analytics_health_state import UserExperienceAnalyticsHealthState fields: Dict[str, Callable[[Any], None]] = { "batteryAgeInDays": lambda n : setattr(self, 'battery_age_in_days', n.get_int_value()), + "deviceBatteriesDetails": lambda n : setattr(self, 'device_batteries_details', n.get_collection_of_object_values(UserExperienceAnalyticsDeviceBatteryDetail)), "deviceBatteryCount": lambda n : setattr(self, 'device_battery_count', n.get_int_value()), "deviceBatteryHealthScore": lambda n : setattr(self, 'device_battery_health_score', n.get_int_value()), "deviceId": lambda n : setattr(self, 'device_id', n.get_str_value()), @@ -88,6 +94,7 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") super().serialize(writer) writer.write_int_value("batteryAgeInDays", self.battery_age_in_days) + writer.write_collection_of_object_values("deviceBatteriesDetails", self.device_batteries_details) writer.write_int_value("deviceBatteryCount", self.device_battery_count) writer.write_int_value("deviceBatteryHealthScore", self.device_battery_health_score) writer.write_str_value("deviceId", self.device_id) diff --git a/msgraph_beta/generated/models/user_experience_analytics_device_battery_detail.py b/msgraph_beta/generated/models/user_experience_analytics_device_battery_detail.py new file mode 100644 index 00000000000..d1950e8cb05 --- /dev/null +++ b/msgraph_beta/generated/models/user_experience_analytics_device_battery_detail.py @@ -0,0 +1,64 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class UserExperienceAnalyticsDeviceBatteryDetail(AdditionalDataHolder, BackedModel, Parsable): + """ + Collection of properties describing the current status of the battery. + """ + # 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) + # Uniquely identifies the batteries in a single device. + battery_id: Optional[str] = None + # Number of times the battery has been discharged an amount that equals 100% of its capacity, but not necessarily by discharging it from 100% to 0%. Valid values 0 to 2147483647 + full_battery_drain_count: Optional[int] = None + # Ratio of current capacity and design capacity of the battery. Unit in percentage and values range from 0-100. Valid values 0 to 2147483647 + max_capacity_percentage: Optional[int] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> UserExperienceAnalyticsDeviceBatteryDetail: + """ + 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: UserExperienceAnalyticsDeviceBatteryDetail + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return UserExperienceAnalyticsDeviceBatteryDetail() + + 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]] = { + "batteryId": lambda n : setattr(self, 'battery_id', n.get_str_value()), + "fullBatteryDrainCount": lambda n : setattr(self, 'full_battery_drain_count', n.get_int_value()), + "maxCapacityPercentage": lambda n : setattr(self, 'max_capacity_percentage', n.get_int_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 not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("batteryId", self.battery_id) + writer.write_int_value("fullBatteryDrainCount", self.full_battery_drain_count) + writer.write_int_value("maxCapacityPercentage", self.max_capacity_percentage) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/user_insights_root.py b/msgraph_beta/generated/models/user_insights_root.py index b1541189939..066bc4b3918 100644 --- a/msgraph_beta/generated/models/user_insights_root.py +++ b/msgraph_beta/generated/models/user_insights_root.py @@ -12,9 +12,9 @@ @dataclass class UserInsightsRoot(Entity): - # The daily property + # Summaries of daily user activities on apps registered in your tenant that is configured for Microsoft Entra External ID for customers. daily: Optional[DailyUserInsightMetricsRoot] = None - # The monthly property + # Summaries of monthly user activities on apps registered in your tenant that is configured for Microsoft Entra External ID for customers. monthly: Optional[MonthlyUserInsightMetricsRoot] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/user_registration_details.py b/msgraph_beta/generated/models/user_registration_details.py index 4d94a8ee447..26f90ad4a39 100644 --- a/msgraph_beta/generated/models/user_registration_details.py +++ b/msgraph_beta/generated/models/user_registration_details.py @@ -34,7 +34,7 @@ class UserRegistrationDetails(Entity): is_system_preferred_authentication_method_enabled: Optional[bool] = None # The date and time (UTC) when the record was last updated. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. last_updated_date_time: Optional[datetime.datetime] = None - # Collection of authentication methods registered, such as mobilePhone, email, fido2. Supports $filter (any with eq). + # Collection of authentication methods registered, such as mobilePhone, email, passKeyDeviceBound. Supports $filter (any with eq). methods_registered: Optional[List[str]] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/user_requests_metric.py b/msgraph_beta/generated/models/user_requests_metric.py index cd30d07f782..215f39c51b3 100644 --- a/msgraph_beta/generated/models/user_requests_metric.py +++ b/msgraph_beta/generated/models/user_requests_metric.py @@ -11,11 +11,11 @@ @dataclass class UserRequestsMetric(Entity): - # The factDate property + # The date of the user insight. fact_date: Optional[datetime.date] = None # The OdataType property odata_type: Optional[str] = None - # The requestCount property + # Number of requests to the tenant. Supports $filter (eq). request_count: Optional[int] = None @staticmethod diff --git a/msgraph_beta/generated/models/user_sign_up_metric.py b/msgraph_beta/generated/models/user_sign_up_metric.py index 221e5cb6c4c..ff5cd45e6ec 100644 --- a/msgraph_beta/generated/models/user_sign_up_metric.py +++ b/msgraph_beta/generated/models/user_sign_up_metric.py @@ -11,13 +11,13 @@ @dataclass class UserSignUpMetric(Entity): - # The count property + # The total number of users who signed up in the specified period. Supports $filter (eq). count: Optional[int] = None - # The factDate property + # The date of the user insight. fact_date: Optional[datetime.date] = None # The OdataType property odata_type: Optional[str] = None - # The os property + # The device plaform that the customers used. Supports $filter (eq). os: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/user_teamwork.py b/msgraph_beta/generated/models/user_teamwork.py index 0cd6886e422..1e2dca4674a 100644 --- a/msgraph_beta/generated/models/user_teamwork.py +++ b/msgraph_beta/generated/models/user_teamwork.py @@ -16,8 +16,12 @@ class UserTeamwork(Entity): associated_teams: Optional[List[AssociatedTeamInfo]] = None # The apps installed in the personal scope of this user. installed_apps: Optional[List[UserScopeTeamsAppInstallation]] = None + # Represents the chosen locale of a user in Microsoft Teams. + locale: Optional[str] = None # The OdataType property odata_type: Optional[str] = None + # Represents the region of the user in Microsoft Teams. + region: Optional[str] = None @staticmethod def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> UserTeamwork: @@ -46,6 +50,8 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "associatedTeams": lambda n : setattr(self, 'associated_teams', n.get_collection_of_object_values(AssociatedTeamInfo)), "installedApps": lambda n : setattr(self, 'installed_apps', n.get_collection_of_object_values(UserScopeTeamsAppInstallation)), + "locale": lambda n : setattr(self, 'locale', n.get_str_value()), + "region": lambda n : setattr(self, 'region', n.get_str_value()), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -62,5 +68,7 @@ def serialize(self,writer: SerializationWriter) -> None: super().serialize(writer) writer.write_collection_of_object_values("associatedTeams", self.associated_teams) writer.write_collection_of_object_values("installedApps", self.installed_apps) + writer.write_str_value("locale", self.locale) + writer.write_str_value("region", self.region) diff --git a/msgraph_beta/generated/models/virtual_appointment_message_type.py b/msgraph_beta/generated/models/virtual_appointment_message_type.py new file mode 100644 index 00000000000..8ff4a02902a --- /dev/null +++ b/msgraph_beta/generated/models/virtual_appointment_message_type.py @@ -0,0 +1,8 @@ +from enum import Enum + +class VirtualAppointmentMessageType(str, Enum): + Confirmation = "confirmation", + Reschedule = "reschedule", + Cancellation = "cancellation", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/virtual_event.py b/msgraph_beta/generated/models/virtual_event.py index d74254dadde..190ec9d7eee 100644 --- a/msgraph_beta/generated/models/virtual_event.py +++ b/msgraph_beta/generated/models/virtual_event.py @@ -7,30 +7,32 @@ from .communications_identity_set import CommunicationsIdentitySet from .date_time_time_zone import DateTimeTimeZone from .entity import Entity + from .item_body import ItemBody from .virtual_event_presenter import VirtualEventPresenter from .virtual_event_session import VirtualEventSession from .virtual_event_status import VirtualEventStatus + from .virtual_event_townhall import VirtualEventTownhall from .virtual_event_webinar import VirtualEventWebinar from .entity import Entity @dataclass class VirtualEvent(Entity): - # Identity information of who created the virtual event. Inherited from virtualEvent. + # Identity information for the creator of the virtual event. Inherited from virtualEvent. created_by: Optional[CommunicationsIdentitySet] = None # Description of the virtual event. - description: Optional[str] = None - # Display name of the virtual event + description: Optional[ItemBody] = None + # Display name of the virtual event. display_name: Optional[str] = None - # End time of the virtual event. + # End time of the virtual event. The timeZone property can be set to any of the time zones currently supported by Windows. end_date_time: Optional[DateTimeTimeZone] = None # The OdataType property odata_type: Optional[str] = None - # Presenters' information of the virtual event. + # The virtual event presenters. presenters: Optional[List[VirtualEventPresenter]] = None - # Sessions of the virtual event. + # Sessions for the virtual event. sessions: Optional[List[VirtualEventSession]] = None - # Start time of the virtual event. + # Start time of the virtual event. The timeZone property can be set to any of the time zones currently supported by Windows. start_date_time: Optional[DateTimeTimeZone] = None # Status of the virtual event. The possible values are: draft, published, canceled, unknownFutureValue. status: Optional[VirtualEventStatus] = None @@ -48,6 +50,10 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> V mapping_value = parse_node.get_child_node("@odata.type").get_str_value() except AttributeError: mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.virtualEventTownhall".casefold(): + from .virtual_event_townhall import VirtualEventTownhall + + return VirtualEventTownhall() if mapping_value and mapping_value.casefold() == "#microsoft.graph.virtualEventWebinar".casefold(): from .virtual_event_webinar import VirtualEventWebinar @@ -62,22 +68,26 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .communications_identity_set import CommunicationsIdentitySet from .date_time_time_zone import DateTimeTimeZone from .entity import Entity + from .item_body import ItemBody from .virtual_event_presenter import VirtualEventPresenter from .virtual_event_session import VirtualEventSession from .virtual_event_status import VirtualEventStatus + from .virtual_event_townhall import VirtualEventTownhall from .virtual_event_webinar import VirtualEventWebinar from .communications_identity_set import CommunicationsIdentitySet from .date_time_time_zone import DateTimeTimeZone from .entity import Entity + from .item_body import ItemBody from .virtual_event_presenter import VirtualEventPresenter from .virtual_event_session import VirtualEventSession from .virtual_event_status import VirtualEventStatus + from .virtual_event_townhall import VirtualEventTownhall from .virtual_event_webinar import VirtualEventWebinar fields: Dict[str, Callable[[Any], None]] = { "createdBy": lambda n : setattr(self, 'created_by', n.get_object_value(CommunicationsIdentitySet)), - "description": lambda n : setattr(self, 'description', n.get_str_value()), + "description": lambda n : setattr(self, 'description', n.get_object_value(ItemBody)), "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), "endDateTime": lambda n : setattr(self, 'end_date_time', n.get_object_value(DateTimeTimeZone)), "presenters": lambda n : setattr(self, 'presenters', n.get_collection_of_object_values(VirtualEventPresenter)), @@ -99,7 +109,7 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") super().serialize(writer) writer.write_object_value("createdBy", self.created_by) - writer.write_str_value("description", self.description) + writer.write_object_value("description", self.description) writer.write_str_value("displayName", self.display_name) writer.write_object_value("endDateTime", self.end_date_time) writer.write_collection_of_object_values("presenters", self.presenters) diff --git a/msgraph_beta/generated/models/virtual_event_presenter.py b/msgraph_beta/generated/models/virtual_event_presenter.py index cd3699ad654..b71e3e75c40 100644 --- a/msgraph_beta/generated/models/virtual_event_presenter.py +++ b/msgraph_beta/generated/models/virtual_event_presenter.py @@ -7,6 +7,7 @@ from .communications_user_identity import CommunicationsUserIdentity from .entity import Entity from .virtual_event_presenter_details import VirtualEventPresenterDetails + from .virtual_event_session import VirtualEventSession from .entity import Entity @@ -20,6 +21,10 @@ class VirtualEventPresenter(Entity): odata_type: Optional[str] = None # Other detail information of the presenter. presenter_details: Optional[VirtualEventPresenterDetails] = None + # The profilePhoto property + profile_photo: Optional[bytes] = None + # The sessions property + sessions: Optional[List[VirtualEventSession]] = None @staticmethod def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> VirtualEventPresenter: @@ -40,15 +45,19 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .communications_user_identity import CommunicationsUserIdentity from .entity import Entity from .virtual_event_presenter_details import VirtualEventPresenterDetails + from .virtual_event_session import VirtualEventSession from .communications_user_identity import CommunicationsUserIdentity from .entity import Entity from .virtual_event_presenter_details import VirtualEventPresenterDetails + from .virtual_event_session import VirtualEventSession fields: Dict[str, Callable[[Any], None]] = { "email": lambda n : setattr(self, 'email', n.get_str_value()), "identity": lambda n : setattr(self, 'identity', n.get_object_value(CommunicationsUserIdentity)), "presenterDetails": lambda n : setattr(self, 'presenter_details', n.get_object_value(VirtualEventPresenterDetails)), + "profilePhoto": lambda n : setattr(self, 'profile_photo', n.get_bytes_value()), + "sessions": lambda n : setattr(self, 'sessions', n.get_collection_of_object_values(VirtualEventSession)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -66,5 +75,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("email", self.email) writer.write_object_value("identity", self.identity) writer.write_object_value("presenterDetails", self.presenter_details) + writer.write_bytes_value("profilePhoto", self.profile_photo) + writer.write_collection_of_object_values("sessions", self.sessions) diff --git a/msgraph_beta/generated/models/virtual_event_registration.py b/msgraph_beta/generated/models/virtual_event_registration.py index 4a62822a987..dc3e6020722 100644 --- a/msgraph_beta/generated/models/virtual_event_registration.py +++ b/msgraph_beta/generated/models/virtual_event_registration.py @@ -28,9 +28,9 @@ class VirtualEventRegistration(Entity): registration_date_time: Optional[datetime.datetime] = None # The registrant's answer to the registration questions. registration_question_answers: Optional[List[VirtualEventRegistrationQuestionAnswer]] = None - # Sessions of the webinar. + # The sessions property sessions: Optional[List[VirtualEventSession]] = None - # Registration status of the registrant. Read-only. Possible values are: registered, canceled, waitlisted, pendingApproval, rejectedByOrganizer, unknownFutureValue. + # Registration status of the registrant. Read-only. status: Optional[VirtualEventAttendeeRegistrationStatus] = None # The registrant's ID in Microsoft Entra ID. Only appears when the registrant is registered in Microsoft Entra ID. user_id: Optional[str] = None diff --git a/msgraph_beta/generated/models/virtual_event_registration_configuration.py b/msgraph_beta/generated/models/virtual_event_registration_configuration.py index b1c1256a99e..a7ea7d8c55e 100644 --- a/msgraph_beta/generated/models/virtual_event_registration_configuration.py +++ b/msgraph_beta/generated/models/virtual_event_registration_configuration.py @@ -5,7 +5,7 @@ if TYPE_CHECKING: from .entity import Entity - from .virtual_event_registration_question import VirtualEventRegistrationQuestion + from .virtual_event_registration_question_base import VirtualEventRegistrationQuestionBase from .virtual_event_webinar_registration_configuration import VirtualEventWebinarRegistrationConfiguration from .entity import Entity @@ -17,7 +17,7 @@ class VirtualEventRegistrationConfiguration(Entity): # The OdataType property odata_type: Optional[str] = None # Registration questions. - questions: Optional[List[VirtualEventRegistrationQuestion]] = None + questions: Optional[List[VirtualEventRegistrationQuestionBase]] = None # Registration URL of the virtual event. registration_web_url: Optional[str] = None @@ -46,16 +46,16 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .entity import Entity - from .virtual_event_registration_question import VirtualEventRegistrationQuestion + from .virtual_event_registration_question_base import VirtualEventRegistrationQuestionBase from .virtual_event_webinar_registration_configuration import VirtualEventWebinarRegistrationConfiguration from .entity import Entity - from .virtual_event_registration_question import VirtualEventRegistrationQuestion + from .virtual_event_registration_question_base import VirtualEventRegistrationQuestionBase from .virtual_event_webinar_registration_configuration import VirtualEventWebinarRegistrationConfiguration fields: Dict[str, Callable[[Any], None]] = { "capacity": lambda n : setattr(self, 'capacity', n.get_int_value()), - "questions": lambda n : setattr(self, 'questions', n.get_collection_of_object_values(VirtualEventRegistrationQuestion)), + "questions": lambda n : setattr(self, 'questions', n.get_collection_of_object_values(VirtualEventRegistrationQuestionBase)), "registrationWebUrl": lambda n : setattr(self, 'registration_web_url', n.get_str_value()), } super_fields = super().get_field_deserializers() diff --git a/msgraph_beta/generated/models/virtual_event_registration_question.py b/msgraph_beta/generated/models/virtual_event_registration_custom_question.py similarity index 70% rename from msgraph_beta/generated/models/virtual_event_registration_question.py rename to msgraph_beta/generated/models/virtual_event_registration_custom_question.py index 1208a5a39c7..2c1aed29f0a 100644 --- a/msgraph_beta/generated/models/virtual_event_registration_question.py +++ b/msgraph_beta/generated/models/virtual_event_registration_custom_question.py @@ -4,51 +4,45 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .entity import Entity from .virtual_event_registration_question_answer_input_type import VirtualEventRegistrationQuestionAnswerInputType + from .virtual_event_registration_question_base import VirtualEventRegistrationQuestionBase -from .entity import Entity +from .virtual_event_registration_question_base import VirtualEventRegistrationQuestionBase @dataclass -class VirtualEventRegistrationQuestion(Entity): - # Answer choices when answerInputType is singleChoice or multiChoice. +class VirtualEventRegistrationCustomQuestion(VirtualEventRegistrationQuestionBase): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.virtualEventRegistrationCustomQuestion" + # The answerChoices property answer_choices: Optional[List[str]] = None - # Input type of the registration question answer. + # The answerInputType property answer_input_type: Optional[VirtualEventRegistrationQuestionAnswerInputType] = None - # Display name of the registration question. - display_name: Optional[str] = None - # Indicates whether the question is required to answer. Default value is false. - is_required: Optional[bool] = None - # The OdataType property - odata_type: Optional[str] = None @staticmethod - def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> VirtualEventRegistrationQuestion: + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> VirtualEventRegistrationCustomQuestion: """ 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: VirtualEventRegistrationQuestion + Returns: VirtualEventRegistrationCustomQuestion """ if not parse_node: raise TypeError("parse_node cannot be null.") - return VirtualEventRegistrationQuestion() + return VirtualEventRegistrationCustomQuestion() 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 .virtual_event_registration_question_answer_input_type import VirtualEventRegistrationQuestionAnswerInputType + from .virtual_event_registration_question_base import VirtualEventRegistrationQuestionBase - from .entity import Entity from .virtual_event_registration_question_answer_input_type import VirtualEventRegistrationQuestionAnswerInputType + from .virtual_event_registration_question_base import VirtualEventRegistrationQuestionBase fields: Dict[str, Callable[[Any], None]] = { "answerChoices": lambda n : setattr(self, 'answer_choices', n.get_collection_of_primitive_values(str)), "answerInputType": lambda n : setattr(self, 'answer_input_type', n.get_enum_value(VirtualEventRegistrationQuestionAnswerInputType)), - "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), - "isRequired": lambda n : setattr(self, 'is_required', n.get_bool_value()), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -65,7 +59,5 @@ def serialize(self,writer: SerializationWriter) -> None: super().serialize(writer) writer.write_collection_of_primitive_values("answerChoices", self.answer_choices) writer.write_enum_value("answerInputType", self.answer_input_type) - writer.write_str_value("displayName", self.display_name) - writer.write_bool_value("isRequired", self.is_required) diff --git a/msgraph_beta/generated/models/virtual_event_registration_predefined_question.py b/msgraph_beta/generated/models/virtual_event_registration_predefined_question.py new file mode 100644 index 00000000000..f321e97f121 --- /dev/null +++ b/msgraph_beta/generated/models/virtual_event_registration_predefined_question.py @@ -0,0 +1,59 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .virtual_event_registration_predefined_question_label import VirtualEventRegistrationPredefinedQuestionLabel + from .virtual_event_registration_question_base import VirtualEventRegistrationQuestionBase + +from .virtual_event_registration_question_base import VirtualEventRegistrationQuestionBase + +@dataclass +class VirtualEventRegistrationPredefinedQuestion(VirtualEventRegistrationQuestionBase): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.virtualEventRegistrationPredefinedQuestion" + # The label property + label: Optional[VirtualEventRegistrationPredefinedQuestionLabel] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> VirtualEventRegistrationPredefinedQuestion: + """ + 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: VirtualEventRegistrationPredefinedQuestion + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return VirtualEventRegistrationPredefinedQuestion() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .virtual_event_registration_predefined_question_label import VirtualEventRegistrationPredefinedQuestionLabel + from .virtual_event_registration_question_base import VirtualEventRegistrationQuestionBase + + from .virtual_event_registration_predefined_question_label import VirtualEventRegistrationPredefinedQuestionLabel + from .virtual_event_registration_question_base import VirtualEventRegistrationQuestionBase + + fields: Dict[str, Callable[[Any], None]] = { + "label": lambda n : setattr(self, 'label', n.get_enum_value(VirtualEventRegistrationPredefinedQuestionLabel)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_enum_value("label", self.label) + + diff --git a/msgraph_beta/generated/models/virtual_event_registration_predefined_question_label.py b/msgraph_beta/generated/models/virtual_event_registration_predefined_question_label.py new file mode 100644 index 00000000000..a6cb7e64072 --- /dev/null +++ b/msgraph_beta/generated/models/virtual_event_registration_predefined_question_label.py @@ -0,0 +1,13 @@ +from enum import Enum + +class VirtualEventRegistrationPredefinedQuestionLabel(str, Enum): + Street = "street", + City = "city", + State = "state", + PostalCode = "postalCode", + CountryOrRegion = "countryOrRegion", + Industry = "industry", + JobTitle = "jobTitle", + Organization = "organization", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/virtual_event_registration_question_base.py b/msgraph_beta/generated/models/virtual_event_registration_question_base.py new file mode 100644 index 00000000000..e6508a0fea8 --- /dev/null +++ b/msgraph_beta/generated/models/virtual_event_registration_question_base.py @@ -0,0 +1,78 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .entity import Entity + from .virtual_event_registration_custom_question import VirtualEventRegistrationCustomQuestion + from .virtual_event_registration_predefined_question import VirtualEventRegistrationPredefinedQuestion + +from .entity import Entity + +@dataclass +class VirtualEventRegistrationQuestionBase(Entity): + # The displayName property + display_name: Optional[str] = None + # The isRequired property + is_required: Optional[bool] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> VirtualEventRegistrationQuestionBase: + """ + 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: VirtualEventRegistrationQuestionBase + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + except AttributeError: + mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.virtualEventRegistrationCustomQuestion".casefold(): + from .virtual_event_registration_custom_question import VirtualEventRegistrationCustomQuestion + + return VirtualEventRegistrationCustomQuestion() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.virtualEventRegistrationPredefinedQuestion".casefold(): + from .virtual_event_registration_predefined_question import VirtualEventRegistrationPredefinedQuestion + + return VirtualEventRegistrationPredefinedQuestion() + return VirtualEventRegistrationQuestionBase() + + 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 .virtual_event_registration_custom_question import VirtualEventRegistrationCustomQuestion + from .virtual_event_registration_predefined_question import VirtualEventRegistrationPredefinedQuestion + + from .entity import Entity + from .virtual_event_registration_custom_question import VirtualEventRegistrationCustomQuestion + from .virtual_event_registration_predefined_question import VirtualEventRegistrationPredefinedQuestion + + fields: Dict[str, Callable[[Any], None]] = { + "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + "isRequired": lambda n : setattr(self, 'is_required', 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_str_value("displayName", self.display_name) + writer.write_bool_value("isRequired", self.is_required) + + diff --git a/msgraph_beta/generated/models/virtual_event_session.py b/msgraph_beta/generated/models/virtual_event_session.py index b96fd0ab556..f347ba1117f 100644 --- a/msgraph_beta/generated/models/virtual_event_session.py +++ b/msgraph_beta/generated/models/virtual_event_session.py @@ -4,17 +4,25 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .online_meeting import OnlineMeeting + from .date_time_time_zone import DateTimeTimeZone + from .online_meeting_base import OnlineMeetingBase + from .virtual_event_presenter import VirtualEventPresenter from .virtual_event_registration import VirtualEventRegistration -from .online_meeting import OnlineMeeting +from .online_meeting_base import OnlineMeetingBase @dataclass -class VirtualEventSession(OnlineMeeting): +class VirtualEventSession(OnlineMeetingBase): # The OdataType property - odata_type: Optional[str] = None - # Registration records of this virtual event session. + odata_type: Optional[str] = "#microsoft.graph.virtualEventSession" + # The endDateTime property + end_date_time: Optional[DateTimeTimeZone] = None + # The presenters property + presenters: Optional[List[VirtualEventPresenter]] = None + # The registrations property registrations: Optional[List[VirtualEventRegistration]] = None + # The startDateTime property + start_date_time: Optional[DateTimeTimeZone] = None @staticmethod def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> VirtualEventSession: @@ -32,14 +40,21 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ - from .online_meeting import OnlineMeeting + from .date_time_time_zone import DateTimeTimeZone + from .online_meeting_base import OnlineMeetingBase + from .virtual_event_presenter import VirtualEventPresenter from .virtual_event_registration import VirtualEventRegistration - from .online_meeting import OnlineMeeting + from .date_time_time_zone import DateTimeTimeZone + from .online_meeting_base import OnlineMeetingBase + from .virtual_event_presenter import VirtualEventPresenter from .virtual_event_registration import VirtualEventRegistration fields: Dict[str, Callable[[Any], None]] = { + "endDateTime": lambda n : setattr(self, 'end_date_time', n.get_object_value(DateTimeTimeZone)), + "presenters": lambda n : setattr(self, 'presenters', n.get_collection_of_object_values(VirtualEventPresenter)), "registrations": lambda n : setattr(self, 'registrations', n.get_collection_of_object_values(VirtualEventRegistration)), + "startDateTime": lambda n : setattr(self, 'start_date_time', n.get_object_value(DateTimeTimeZone)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -54,6 +69,9 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") super().serialize(writer) + writer.write_object_value("endDateTime", self.end_date_time) + writer.write_collection_of_object_values("presenters", self.presenters) writer.write_collection_of_object_values("registrations", self.registrations) + writer.write_object_value("startDateTime", self.start_date_time) diff --git a/msgraph_beta/generated/models/virtual_event_townhall.py b/msgraph_beta/generated/models/virtual_event_townhall.py new file mode 100644 index 00000000000..a8b8287a10c --- /dev/null +++ b/msgraph_beta/generated/models/virtual_event_townhall.py @@ -0,0 +1,74 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .communications_user_identity import CommunicationsUserIdentity + from .meeting_audience import MeetingAudience + from .virtual_event import VirtualEvent + +from .virtual_event import VirtualEvent + +@dataclass +class VirtualEventTownhall(VirtualEvent): + # The audience property + audience: Optional[MeetingAudience] = None + # The coOrganizers property + co_organizers: Optional[List[CommunicationsUserIdentity]] = None + # The invitedAttendees property + invited_attendees: Optional[List[CommunicationsUserIdentity]] = None + # The isInviteOnly property + is_invite_only: Optional[bool] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> VirtualEventTownhall: + """ + 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: VirtualEventTownhall + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return VirtualEventTownhall() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .communications_user_identity import CommunicationsUserIdentity + from .meeting_audience import MeetingAudience + from .virtual_event import VirtualEvent + + from .communications_user_identity import CommunicationsUserIdentity + from .meeting_audience import MeetingAudience + from .virtual_event import VirtualEvent + + fields: Dict[str, Callable[[Any], None]] = { + "audience": lambda n : setattr(self, 'audience', n.get_enum_value(MeetingAudience)), + "coOrganizers": lambda n : setattr(self, 'co_organizers', n.get_collection_of_object_values(CommunicationsUserIdentity)), + "invitedAttendees": lambda n : setattr(self, 'invited_attendees', n.get_collection_of_object_values(CommunicationsUserIdentity)), + "isInviteOnly": lambda n : setattr(self, 'is_invite_only', 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_enum_value("audience", self.audience) + writer.write_collection_of_object_values("coOrganizers", self.co_organizers) + writer.write_collection_of_object_values("invitedAttendees", self.invited_attendees) + writer.write_bool_value("isInviteOnly", self.is_invite_only) + + diff --git a/msgraph_beta/generated/models/virtual_event_townhall_collection_response.py b/msgraph_beta/generated/models/virtual_event_townhall_collection_response.py new file mode 100644 index 00000000000..18916351da1 --- /dev/null +++ b/msgraph_beta/generated/models/virtual_event_townhall_collection_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .virtual_event_townhall import VirtualEventTownhall + +from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class VirtualEventTownhallCollectionResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[VirtualEventTownhall]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> VirtualEventTownhallCollectionResponse: + """ + 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: VirtualEventTownhallCollectionResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return VirtualEventTownhallCollectionResponse() + + 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 .virtual_event_townhall import VirtualEventTownhall + + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .virtual_event_townhall import VirtualEventTownhall + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(VirtualEventTownhall)), + } + 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 not writer: + 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/virtual_event_webinar.py b/msgraph_beta/generated/models/virtual_event_webinar.py index 5b35ce4262c..bdb7f352b9c 100644 --- a/msgraph_beta/generated/models/virtual_event_webinar.py +++ b/msgraph_beta/generated/models/virtual_event_webinar.py @@ -8,7 +8,7 @@ from .meeting_audience import MeetingAudience from .virtual_event import VirtualEvent from .virtual_event_registration import VirtualEventRegistration - from .virtual_event_registration_configuration import VirtualEventRegistrationConfiguration + from .virtual_event_webinar_registration_configuration import VirtualEventWebinarRegistrationConfiguration from .virtual_event import VirtualEvent @@ -20,8 +20,8 @@ class VirtualEventWebinar(VirtualEvent): co_organizers: Optional[List[CommunicationsUserIdentity]] = None # The OdataType property odata_type: Optional[str] = None - # Registration configuration of the webinar. - registration_configuration: Optional[VirtualEventRegistrationConfiguration] = None + # The registrationConfiguration property + registration_configuration: Optional[VirtualEventWebinarRegistrationConfiguration] = None # Registration records of the webinar. registrations: Optional[List[VirtualEventRegistration]] = None @@ -45,18 +45,18 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .meeting_audience import MeetingAudience from .virtual_event import VirtualEvent from .virtual_event_registration import VirtualEventRegistration - from .virtual_event_registration_configuration import VirtualEventRegistrationConfiguration + from .virtual_event_webinar_registration_configuration import VirtualEventWebinarRegistrationConfiguration from .communications_user_identity import CommunicationsUserIdentity from .meeting_audience import MeetingAudience from .virtual_event import VirtualEvent from .virtual_event_registration import VirtualEventRegistration - from .virtual_event_registration_configuration import VirtualEventRegistrationConfiguration + from .virtual_event_webinar_registration_configuration import VirtualEventWebinarRegistrationConfiguration fields: Dict[str, Callable[[Any], None]] = { "audience": lambda n : setattr(self, 'audience', n.get_enum_value(MeetingAudience)), "coOrganizers": lambda n : setattr(self, 'co_organizers', n.get_collection_of_object_values(CommunicationsUserIdentity)), - "registrationConfiguration": lambda n : setattr(self, 'registration_configuration', n.get_object_value(VirtualEventRegistrationConfiguration)), + "registrationConfiguration": lambda n : setattr(self, 'registration_configuration', n.get_object_value(VirtualEventWebinarRegistrationConfiguration)), "registrations": lambda n : setattr(self, 'registrations', n.get_collection_of_object_values(VirtualEventRegistration)), } super_fields = super().get_field_deserializers() diff --git a/msgraph_beta/generated/models/virtual_event_webinar_registration_configuration.py b/msgraph_beta/generated/models/virtual_event_webinar_registration_configuration.py index 2b4b3cadb09..f9741dc3e96 100644 --- a/msgraph_beta/generated/models/virtual_event_webinar_registration_configuration.py +++ b/msgraph_beta/generated/models/virtual_event_webinar_registration_configuration.py @@ -10,12 +10,12 @@ @dataclass class VirtualEventWebinarRegistrationConfiguration(VirtualEventRegistrationConfiguration): - # The OdataType property - odata_type: Optional[str] = "#microsoft.graph.virtualEventWebinarRegistrationConfiguration" # The isManualApprovalEnabled property is_manual_approval_enabled: Optional[bool] = None # The isWaitlistEnabled property is_waitlist_enabled: Optional[bool] = None + # The OdataType property + odata_type: Optional[str] = None @staticmethod def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> VirtualEventWebinarRegistrationConfiguration: diff --git a/msgraph_beta/generated/models/virtual_events_root.py b/msgraph_beta/generated/models/virtual_events_root.py index f1380ae001c..1ffcd797211 100644 --- a/msgraph_beta/generated/models/virtual_events_root.py +++ b/msgraph_beta/generated/models/virtual_events_root.py @@ -6,6 +6,7 @@ if TYPE_CHECKING: from .entity import Entity from .virtual_event import VirtualEvent + from .virtual_event_townhall import VirtualEventTownhall from .virtual_event_webinar import VirtualEventWebinar from .entity import Entity @@ -16,6 +17,8 @@ class VirtualEventsRoot(Entity): events: Optional[List[VirtualEvent]] = None # The OdataType property odata_type: Optional[str] = None + # The townhalls property + townhalls: Optional[List[VirtualEventTownhall]] = None # The webinars property webinars: Optional[List[VirtualEventWebinar]] = None @@ -37,14 +40,17 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ from .entity import Entity from .virtual_event import VirtualEvent + from .virtual_event_townhall import VirtualEventTownhall from .virtual_event_webinar import VirtualEventWebinar from .entity import Entity from .virtual_event import VirtualEvent + from .virtual_event_townhall import VirtualEventTownhall from .virtual_event_webinar import VirtualEventWebinar fields: Dict[str, Callable[[Any], None]] = { "events": lambda n : setattr(self, 'events', n.get_collection_of_object_values(VirtualEvent)), + "townhalls": lambda n : setattr(self, 'townhalls', n.get_collection_of_object_values(VirtualEventTownhall)), "webinars": lambda n : setattr(self, 'webinars', n.get_collection_of_object_values(VirtualEventWebinar)), } super_fields = super().get_field_deserializers() @@ -61,6 +67,7 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") super().serialize(writer) writer.write_collection_of_object_values("events", self.events) + writer.write_collection_of_object_values("townhalls", self.townhalls) writer.write_collection_of_object_values("webinars", self.webinars) diff --git a/msgraph_beta/generated/models/virtual_machine_details.py b/msgraph_beta/generated/models/virtual_machine_details.py new file mode 100644 index 00000000000..c15d878f798 --- /dev/null +++ b/msgraph_beta/generated/models/virtual_machine_details.py @@ -0,0 +1,59 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .authorization_system_resource import AuthorizationSystemResource + from .entity import Entity + +from .entity import Entity + +@dataclass +class VirtualMachineDetails(Entity): + # The OdataType property + odata_type: Optional[str] = None + # The virtualMachine property + virtual_machine: Optional[AuthorizationSystemResource] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> VirtualMachineDetails: + """ + 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: VirtualMachineDetails + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return VirtualMachineDetails() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .authorization_system_resource import AuthorizationSystemResource + from .entity import Entity + + from .authorization_system_resource import AuthorizationSystemResource + from .entity import Entity + + fields: Dict[str, Callable[[Any], None]] = { + "virtualMachine": lambda n : setattr(self, 'virtual_machine', n.get_object_value(AuthorizationSystemResource)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_object_value("virtualMachine", self.virtual_machine) + + diff --git a/msgraph_beta/generated/models/virtual_machine_with_aws_storage_bucket_access_finding.py b/msgraph_beta/generated/models/virtual_machine_with_aws_storage_bucket_access_finding.py index 5940a630067..47944253ade 100644 --- a/msgraph_beta/generated/models/virtual_machine_with_aws_storage_bucket_access_finding.py +++ b/msgraph_beta/generated/models/virtual_machine_with_aws_storage_bucket_access_finding.py @@ -13,9 +13,9 @@ @dataclass class VirtualMachineWithAwsStorageBucketAccessFinding(Finding): - # The total number of storage buckets that the EC2 instance can access using the role + # The total number of storage buckets that the EC2 instance can access using the role. accessible_count: Optional[int] = None - # The total number of storage buckets in the authorization system that host the EC2 instance + # The total number of storage buckets in the authorization system that hosts the EC2 instance. bucket_count: Optional[int] = None # The ec2Instance property ec2_instance: Optional[AuthorizationSystemResource] = None diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/recordings/delta/delta_get_response.py b/msgraph_beta/generated/models/web_part_collection_response.py similarity index 66% rename from msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/recordings/delta/delta_get_response.py rename to msgraph_beta/generated/models/web_part_collection_response.py index ba6cddef012..ec4895ee8ef 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/recordings/delta/delta_get_response.py +++ b/msgraph_beta/generated/models/web_part_collection_response.py @@ -4,40 +4,40 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .........models.base_delta_function_response import BaseDeltaFunctionResponse - from .........models.call_recording import CallRecording + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .web_part import WebPart -from .........models.base_delta_function_response import BaseDeltaFunctionResponse +from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse @dataclass -class DeltaGetResponse(BaseDeltaFunctionResponse): +class WebPartCollectionResponse(BaseCollectionPaginationCountResponse): # The value property - value: Optional[List[CallRecording]] = None + value: Optional[List[WebPart]] = None @staticmethod - def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> DeltaGetResponse: + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> WebPartCollectionResponse: """ 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: DeltaGetResponse + Returns: WebPartCollectionResponse """ if not parse_node: raise TypeError("parse_node cannot be null.") - return DeltaGetResponse() + return WebPartCollectionResponse() 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_delta_function_response import BaseDeltaFunctionResponse - from .........models.call_recording import CallRecording + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .web_part import WebPart - from .........models.base_delta_function_response import BaseDeltaFunctionResponse - from .........models.call_recording import CallRecording + from .base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .web_part import WebPart fields: Dict[str, Callable[[Any], None]] = { - "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(CallRecording)), + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(WebPart)), } super_fields = super().get_field_deserializers() fields.update(super_fields) diff --git a/msgraph_beta/generated/models/web_part_position.py b/msgraph_beta/generated/models/web_part_position.py new file mode 100644 index 00000000000..63af993ae01 --- /dev/null +++ b/msgraph_beta/generated/models/web_part_position.py @@ -0,0 +1,65 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class WebPartPosition(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) + # Indicates the identifier of the column where the web part is located. + column_id: Optional[float] = None + # Indicates the horizontal section where the web part is located. + horizontal_section_id: Optional[float] = None + # Indicates whether the web part is located in the vertical section. + is_in_vertical_section: Optional[bool] = None + # The OdataType property + odata_type: Optional[str] = None + # Index of the current web part. Represents the order of the web part in this column or section. + web_part_index: Optional[float] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> WebPartPosition: + """ + 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: WebPartPosition + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return WebPartPosition() + + 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]] = { + "columnId": lambda n : setattr(self, 'column_id', n.get_float_value()), + "horizontalSectionId": lambda n : setattr(self, 'horizontal_section_id', n.get_float_value()), + "isInVerticalSection": lambda n : setattr(self, 'is_in_vertical_section', n.get_bool_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "webPartIndex": lambda n : setattr(self, 'web_part_index', n.get_float_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 not writer: + raise TypeError("writer cannot be null.") + writer.write_float_value("columnId", self.column_id) + writer.write_float_value("horizontalSectionId", self.horizontal_section_id) + writer.write_bool_value("isInVerticalSection", self.is_in_vertical_section) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_float_value("webPartIndex", self.web_part_index) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/wi_fi_proxy_setting.py b/msgraph_beta/generated/models/wi_fi_proxy_setting.py index 9e7d0cf9664..3b826f4caa0 100644 --- a/msgraph_beta/generated/models/wi_fi_proxy_setting.py +++ b/msgraph_beta/generated/models/wi_fi_proxy_setting.py @@ -7,4 +7,6 @@ class WiFiProxySetting(str, Enum): Manual = "manual", # Automatic Proxy Settings via URL. Automatic = "automatic", + # Unknown future value for evolvable enum patterns. + UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/win32_catalog_app_assignment_settings.py b/msgraph_beta/generated/models/win32_catalog_app_assignment_settings.py new file mode 100644 index 00000000000..e8e0c91661d --- /dev/null +++ b/msgraph_beta/generated/models/win32_catalog_app_assignment_settings.py @@ -0,0 +1,55 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .win32_lob_app_assignment_settings import Win32LobAppAssignmentSettings + +from .win32_lob_app_assignment_settings import Win32LobAppAssignmentSettings + +@dataclass +class Win32CatalogAppAssignmentSettings(Win32LobAppAssignmentSettings): + """ + Contains properties used to assign an Win32 catalog mobile app to a group. + """ + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.win32CatalogAppAssignmentSettings" + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> Win32CatalogAppAssignmentSettings: + """ + 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: Win32CatalogAppAssignmentSettings + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return Win32CatalogAppAssignmentSettings() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .win32_lob_app_assignment_settings import Win32LobAppAssignmentSettings + + from .win32_lob_app_assignment_settings import Win32LobAppAssignmentSettings + + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + + diff --git a/msgraph_beta/generated/models/win32_lob_app_assignment_settings.py b/msgraph_beta/generated/models/win32_lob_app_assignment_settings.py index 3c11e386162..a8c19317229 100644 --- a/msgraph_beta/generated/models/win32_lob_app_assignment_settings.py +++ b/msgraph_beta/generated/models/win32_lob_app_assignment_settings.py @@ -6,6 +6,8 @@ if TYPE_CHECKING: from .mobile_app_assignment_settings import MobileAppAssignmentSettings from .mobile_app_install_time_settings import MobileAppInstallTimeSettings + from .win32_catalog_app_assignment_settings import Win32CatalogAppAssignmentSettings + from .win32_lob_app_auto_update_settings import Win32LobAppAutoUpdateSettings from .win32_lob_app_delivery_optimization_priority import Win32LobAppDeliveryOptimizationPriority from .win32_lob_app_notification import Win32LobAppNotification from .win32_lob_app_restart_settings import Win32LobAppRestartSettings @@ -19,6 +21,8 @@ class Win32LobAppAssignmentSettings(MobileAppAssignmentSettings): """ # The OdataType property odata_type: Optional[str] = "#microsoft.graph.win32LobAppAssignmentSettings" + # The auto-update settings to apply for this app assignment. + auto_update_settings: Optional[Win32LobAppAutoUpdateSettings] = None # Contains value for delivery optimization priority. delivery_optimization_priority: Optional[Win32LobAppDeliveryOptimizationPriority] = None # The install time settings to apply for this app assignment. @@ -37,6 +41,14 @@ def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> W """ if not parse_node: raise TypeError("parse_node cannot be null.") + try: + mapping_value = parse_node.get_child_node("@odata.type").get_str_value() + except AttributeError: + mapping_value = None + if mapping_value and mapping_value.casefold() == "#microsoft.graph.win32CatalogAppAssignmentSettings".casefold(): + from .win32_catalog_app_assignment_settings import Win32CatalogAppAssignmentSettings + + return Win32CatalogAppAssignmentSettings() return Win32LobAppAssignmentSettings() def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: @@ -46,17 +58,22 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ from .mobile_app_assignment_settings import MobileAppAssignmentSettings from .mobile_app_install_time_settings import MobileAppInstallTimeSettings + from .win32_catalog_app_assignment_settings import Win32CatalogAppAssignmentSettings + from .win32_lob_app_auto_update_settings import Win32LobAppAutoUpdateSettings from .win32_lob_app_delivery_optimization_priority import Win32LobAppDeliveryOptimizationPriority from .win32_lob_app_notification import Win32LobAppNotification from .win32_lob_app_restart_settings import Win32LobAppRestartSettings from .mobile_app_assignment_settings import MobileAppAssignmentSettings from .mobile_app_install_time_settings import MobileAppInstallTimeSettings + from .win32_catalog_app_assignment_settings import Win32CatalogAppAssignmentSettings + from .win32_lob_app_auto_update_settings import Win32LobAppAutoUpdateSettings from .win32_lob_app_delivery_optimization_priority import Win32LobAppDeliveryOptimizationPriority from .win32_lob_app_notification import Win32LobAppNotification from .win32_lob_app_restart_settings import Win32LobAppRestartSettings fields: Dict[str, Callable[[Any], None]] = { + "autoUpdateSettings": lambda n : setattr(self, 'auto_update_settings', n.get_object_value(Win32LobAppAutoUpdateSettings)), "deliveryOptimizationPriority": lambda n : setattr(self, 'delivery_optimization_priority', n.get_enum_value(Win32LobAppDeliveryOptimizationPriority)), "installTimeSettings": lambda n : setattr(self, 'install_time_settings', n.get_object_value(MobileAppInstallTimeSettings)), "notifications": lambda n : setattr(self, 'notifications', n.get_enum_value(Win32LobAppNotification)), @@ -75,6 +92,7 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") super().serialize(writer) + writer.write_object_value("autoUpdateSettings", self.auto_update_settings) writer.write_enum_value("deliveryOptimizationPriority", self.delivery_optimization_priority) writer.write_object_value("installTimeSettings", self.install_time_settings) writer.write_enum_value("notifications", self.notifications) diff --git a/msgraph_beta/generated/models/win32_lob_app_auto_update_settings.py b/msgraph_beta/generated/models/win32_lob_app_auto_update_settings.py new file mode 100644 index 00000000000..3215b9d6ac6 --- /dev/null +++ b/msgraph_beta/generated/models/win32_lob_app_auto_update_settings.py @@ -0,0 +1,63 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .win32_lob_app_auto_update_superseded_apps import Win32LobAppAutoUpdateSupersededApps + +@dataclass +class Win32LobAppAutoUpdateSettings(AdditionalDataHolder, BackedModel, Parsable): + """ + Contains properties used to perform the auto-update of an application. + """ + # 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) + # Contains value for auto-update superseded apps. + auto_update_superseded_apps: Optional[Win32LobAppAutoUpdateSupersededApps] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> Win32LobAppAutoUpdateSettings: + """ + 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: Win32LobAppAutoUpdateSettings + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return Win32LobAppAutoUpdateSettings() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .win32_lob_app_auto_update_superseded_apps import Win32LobAppAutoUpdateSupersededApps + + from .win32_lob_app_auto_update_superseded_apps import Win32LobAppAutoUpdateSupersededApps + + fields: Dict[str, Callable[[Any], None]] = { + "autoUpdateSupersededApps": lambda n : setattr(self, 'auto_update_superseded_apps', n.get_enum_value(Win32LobAppAutoUpdateSupersededApps)), + "@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 not writer: + raise TypeError("writer cannot be null.") + writer.write_enum_value("autoUpdateSupersededApps", self.auto_update_superseded_apps) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/win32_lob_app_auto_update_superseded_apps.py b/msgraph_beta/generated/models/win32_lob_app_auto_update_superseded_apps.py new file mode 100644 index 00000000000..b43e549e8cf --- /dev/null +++ b/msgraph_beta/generated/models/win32_lob_app_auto_update_superseded_apps.py @@ -0,0 +1,10 @@ +from enum import Enum + +class Win32LobAppAutoUpdateSupersededApps(str, Enum): + # Indicates that the auto-update superseded apps is not configured and the app will not auto-update the superseded apps. + NotConfigured = "notConfigured", + # Indicates that the auto-update superseded apps is enabled and the app will auto-update the superseded apps if the superseded apps are installed on the device. + Enabled = "enabled", + # Evolvable enumeration sentinel value. Do not use. + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/windows_app_x_app_assignment_settings.py b/msgraph_beta/generated/models/windows_app_x_app_assignment_settings.py index 48c47d80808..4bc4b74fd56 100644 --- a/msgraph_beta/generated/models/windows_app_x_app_assignment_settings.py +++ b/msgraph_beta/generated/models/windows_app_x_app_assignment_settings.py @@ -15,7 +15,7 @@ class WindowsAppXAppAssignmentSettings(MobileAppAssignmentSettings): """ # The OdataType property odata_type: Optional[str] = "#microsoft.graph.windowsAppXAppAssignmentSettings" - # When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. + # Whether or not to use device execution context for Windows AppX mobile app. use_device_context: Optional[bool] = None @staticmethod diff --git a/msgraph_beta/generated/models/windows_universal_app_x_app_assignment_settings.py b/msgraph_beta/generated/models/windows_universal_app_x_app_assignment_settings.py index 399d8d85884..e2634b2432c 100644 --- a/msgraph_beta/generated/models/windows_universal_app_x_app_assignment_settings.py +++ b/msgraph_beta/generated/models/windows_universal_app_x_app_assignment_settings.py @@ -15,7 +15,7 @@ class WindowsUniversalAppXAppAssignmentSettings(MobileAppAssignmentSettings): """ # The OdataType property odata_type: Optional[str] = "#microsoft.graph.windowsUniversalAppXAppAssignmentSettings" - # If true, uses device execution context for Windows Universal AppX mobile app. Device-context install is not allowed when this type of app is targeted with Available intent. Defaults to false. + # Whether or not to use device execution context for Windows Universal AppX mobile app. use_device_context: Optional[bool] = None @staticmethod diff --git a/msgraph_beta/generated/models/windows_updates/expedite_settings.py b/msgraph_beta/generated/models/windows_updates/expedite_settings.py index ffd16eb408b..9b398062054 100644 --- a/msgraph_beta/generated/models/windows_updates/expedite_settings.py +++ b/msgraph_beta/generated/models/windows_updates/expedite_settings.py @@ -13,6 +13,8 @@ class ExpediteSettings(AdditionalDataHolder, BackedModel, Parsable): additional_data: Dict[str, Any] = field(default_factory=dict) # True indicates that the deployment of the content is expedited. is_expedited: Optional[bool] = None + # The isReadinessTest property + is_readiness_test: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None @@ -34,6 +36,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ fields: Dict[str, Callable[[Any], None]] = { "isExpedited": lambda n : setattr(self, 'is_expedited', n.get_bool_value()), + "isReadinessTest": lambda n : setattr(self, 'is_readiness_test', n.get_bool_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), } return fields @@ -47,6 +50,7 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") writer.write_bool_value("isExpedited", self.is_expedited) + writer.write_bool_value("isReadinessTest", self.is_readiness_test) writer.write_str_value("@odata.type", self.odata_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/x509_certificate_affinity_level.py b/msgraph_beta/generated/models/x509_certificate_affinity_level.py new file mode 100644 index 00000000000..e5d451f6ee5 --- /dev/null +++ b/msgraph_beta/generated/models/x509_certificate_affinity_level.py @@ -0,0 +1,7 @@ +from enum import Enum + +class X509CertificateAffinityLevel(str, Enum): + Low = "low", + High = "high", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/x509_certificate_authentication_mode_configuration.py b/msgraph_beta/generated/models/x509_certificate_authentication_mode_configuration.py index 5986a72c592..285c96c016c 100644 --- a/msgraph_beta/generated/models/x509_certificate_authentication_mode_configuration.py +++ b/msgraph_beta/generated/models/x509_certificate_authentication_mode_configuration.py @@ -5,6 +5,7 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: + from .x509_certificate_affinity_level import X509CertificateAffinityLevel from .x509_certificate_authentication_mode import X509CertificateAuthenticationMode from .x509_certificate_rule import X509CertificateRule @@ -21,6 +22,8 @@ class X509CertificateAuthenticationModeConfiguration(AdditionalDataHolder, Backe rules: Optional[List[X509CertificateRule]] = None # The type of strong authentication mode. The possible values are: x509CertificateSingleFactor, x509CertificateMultiFactor, unknownFutureValue. x509_certificate_authentication_default_mode: Optional[X509CertificateAuthenticationMode] = None + # Determines the default value for the tenant affinity binding level. The possible values are: low, high, unknownFutureValue. + x509_certificate_default_required_affinity_level: Optional[X509CertificateAffinityLevel] = None @staticmethod def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> X509CertificateAuthenticationModeConfiguration: @@ -38,9 +41,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 .x509_certificate_affinity_level import X509CertificateAffinityLevel from .x509_certificate_authentication_mode import X509CertificateAuthenticationMode from .x509_certificate_rule import X509CertificateRule + from .x509_certificate_affinity_level import X509CertificateAffinityLevel from .x509_certificate_authentication_mode import X509CertificateAuthenticationMode from .x509_certificate_rule import X509CertificateRule @@ -48,6 +53,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "rules": lambda n : setattr(self, 'rules', n.get_collection_of_object_values(X509CertificateRule)), "x509CertificateAuthenticationDefaultMode": lambda n : setattr(self, 'x509_certificate_authentication_default_mode', n.get_enum_value(X509CertificateAuthenticationMode)), + "x509CertificateDefaultRequiredAffinityLevel": lambda n : setattr(self, 'x509_certificate_default_required_affinity_level', n.get_enum_value(X509CertificateAffinityLevel)), } return fields @@ -62,6 +68,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_str_value("@odata.type", self.odata_type) writer.write_collection_of_object_values("rules", self.rules) writer.write_enum_value("x509CertificateAuthenticationDefaultMode", self.x509_certificate_authentication_default_mode) + writer.write_enum_value("x509CertificateDefaultRequiredAffinityLevel", self.x509_certificate_default_required_affinity_level) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/x509_certificate_combination_configuration.py b/msgraph_beta/generated/models/x509_certificate_combination_configuration.py new file mode 100644 index 00000000000..7f4ee15f006 --- /dev/null +++ b/msgraph_beta/generated/models/x509_certificate_combination_configuration.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .authentication_combination_configuration import AuthenticationCombinationConfiguration + +from .authentication_combination_configuration import AuthenticationCombinationConfiguration + +@dataclass +class X509CertificateCombinationConfiguration(AuthenticationCombinationConfiguration): + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.x509CertificateCombinationConfiguration" + # The allowedIssuerSkis property + allowed_issuer_skis: Optional[List[str]] = None + # The allowedPolicyOIDs property + allowed_policy_o_i_ds: Optional[List[str]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> X509CertificateCombinationConfiguration: + """ + 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: X509CertificateCombinationConfiguration + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return X509CertificateCombinationConfiguration() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .authentication_combination_configuration import AuthenticationCombinationConfiguration + + from .authentication_combination_configuration import AuthenticationCombinationConfiguration + + fields: Dict[str, Callable[[Any], None]] = { + "allowedIssuerSkis": lambda n : setattr(self, 'allowed_issuer_skis', n.get_collection_of_primitive_values(str)), + "allowedPolicyOIDs": lambda n : setattr(self, 'allowed_policy_o_i_ds', 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_primitive_values("allowedIssuerSkis", self.allowed_issuer_skis) + writer.write_collection_of_primitive_values("allowedPolicyOIDs", self.allowed_policy_o_i_ds) + + diff --git a/msgraph_beta/generated/models/x509_certificate_rule.py b/msgraph_beta/generated/models/x509_certificate_rule.py index 47774809ce5..eba5e23a3ee 100644 --- a/msgraph_beta/generated/models/x509_certificate_rule.py +++ b/msgraph_beta/generated/models/x509_certificate_rule.py @@ -5,6 +5,7 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: + from .x509_certificate_affinity_level import X509CertificateAffinityLevel from .x509_certificate_authentication_mode import X509CertificateAuthenticationMode from .x509_certificate_rule_type import X509CertificateRuleType @@ -17,11 +18,17 @@ class X509CertificateRule(AdditionalDataHolder, BackedModel, Parsable): additional_data: Dict[str, Any] = field(default_factory=dict) # The identifier of the X.509 certificate. Required. identifier: Optional[str] = None + # The identifier of the certificate issuer. + issuer_subject_identifier: Optional[str] = None # The OdataType property odata_type: Optional[str] = None + # The identifier of the X.509 certificate policyOID. + policy_oid_identifier: Optional[str] = None # The type of strong authentication mode. The possible values are: x509CertificateSingleFactor, x509CertificateMultiFactor, unknownFutureValue. Required. x509_certificate_authentication_mode: Optional[X509CertificateAuthenticationMode] = None - # The type of the X.509 certificate mode configuration rule. The possible values are: issuerSubject, policyOID, unknownFutureValue. Required. + # The possible values are: low, high, unknownFutureValue. + x509_certificate_required_affinity_level: Optional[X509CertificateAffinityLevel] = None + # The type of the X.509 certificate mode configuration rule. The possible values are: issuerSubject, policyOID, unknownFutureValue, issuerSubjectAndPolicyOID. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: issuerSubjectAndPolicyOID. Required. x509_certificate_rule_type: Optional[X509CertificateRuleType] = None @staticmethod @@ -40,16 +47,21 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: Dict[str, Callable[[ParseNode], None]] """ + from .x509_certificate_affinity_level import X509CertificateAffinityLevel from .x509_certificate_authentication_mode import X509CertificateAuthenticationMode from .x509_certificate_rule_type import X509CertificateRuleType + from .x509_certificate_affinity_level import X509CertificateAffinityLevel from .x509_certificate_authentication_mode import X509CertificateAuthenticationMode from .x509_certificate_rule_type import X509CertificateRuleType fields: Dict[str, Callable[[Any], None]] = { "identifier": lambda n : setattr(self, 'identifier', n.get_str_value()), + "issuerSubjectIdentifier": lambda n : setattr(self, 'issuer_subject_identifier', n.get_str_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "policyOidIdentifier": lambda n : setattr(self, 'policy_oid_identifier', n.get_str_value()), "x509CertificateAuthenticationMode": lambda n : setattr(self, 'x509_certificate_authentication_mode', n.get_enum_value(X509CertificateAuthenticationMode)), + "x509CertificateRequiredAffinityLevel": lambda n : setattr(self, 'x509_certificate_required_affinity_level', n.get_enum_value(X509CertificateAffinityLevel)), "x509CertificateRuleType": lambda n : setattr(self, 'x509_certificate_rule_type', n.get_enum_value(X509CertificateRuleType)), } return fields @@ -63,8 +75,11 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") writer.write_str_value("identifier", self.identifier) + writer.write_str_value("issuerSubjectIdentifier", self.issuer_subject_identifier) writer.write_str_value("@odata.type", self.odata_type) + writer.write_str_value("policyOidIdentifier", self.policy_oid_identifier) writer.write_enum_value("x509CertificateAuthenticationMode", self.x509_certificate_authentication_mode) + writer.write_enum_value("x509CertificateRequiredAffinityLevel", self.x509_certificate_required_affinity_level) writer.write_enum_value("x509CertificateRuleType", self.x509_certificate_rule_type) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/x509_certificate_rule_type.py b/msgraph_beta/generated/models/x509_certificate_rule_type.py index f39145f3de7..962debbb2d2 100644 --- a/msgraph_beta/generated/models/x509_certificate_rule_type.py +++ b/msgraph_beta/generated/models/x509_certificate_rule_type.py @@ -4,4 +4,5 @@ class X509CertificateRuleType(str, Enum): IssuerSubject = "issuerSubject", PolicyOID = "policyOID", UnknownFutureValue = "unknownFutureValue", + IssuerSubjectAndPolicyOID = "issuerSubjectAndPolicyOID", diff --git a/msgraph_beta/generated/models/x509_certificate_user_binding.py b/msgraph_beta/generated/models/x509_certificate_user_binding.py index a401ac970e0..a1d8b90f45c 100644 --- a/msgraph_beta/generated/models/x509_certificate_user_binding.py +++ b/msgraph_beta/generated/models/x509_certificate_user_binding.py @@ -4,6 +4,9 @@ from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union +if TYPE_CHECKING: + from .x509_certificate_affinity_level import X509CertificateAffinityLevel + @dataclass class X509CertificateUserBinding(AdditionalDataHolder, BackedModel, Parsable): # Stores model information. @@ -15,6 +18,8 @@ class X509CertificateUserBinding(AdditionalDataHolder, BackedModel, Parsable): odata_type: Optional[str] = None # The priority of the binding. Microsoft Entra ID uses the binding with the highest priority. This value must be a non-negative integer and unique in the collection of objects in the certificateUserBindings property of an x509CertificateAuthenticationMethodConfiguration object. Required priority: Optional[int] = None + # The affinity level of the username binding rule. The possible values are: low, high, unknownFutureValue. + trust_affinity_level: Optional[X509CertificateAffinityLevel] = None # Defines the Microsoft Entra user property of the user object to use for the binding. The possible values are: userPrincipalName, onPremisesUserPrincipalName, email. Required. user_property: Optional[str] = None # The field on the X.509 certificate to use for the binding. The possible values are: PrincipalName, RFC822Name. @@ -36,9 +41,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 .x509_certificate_affinity_level import X509CertificateAffinityLevel + + from .x509_certificate_affinity_level import X509CertificateAffinityLevel + fields: Dict[str, Callable[[Any], None]] = { "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "priority": lambda n : setattr(self, 'priority', n.get_int_value()), + "trustAffinityLevel": lambda n : setattr(self, 'trust_affinity_level', n.get_enum_value(X509CertificateAffinityLevel)), "userProperty": lambda n : setattr(self, 'user_property', n.get_str_value()), "x509CertificateField": lambda n : setattr(self, 'x509_certificate_field', n.get_str_value()), } @@ -54,6 +64,7 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") writer.write_str_value("@odata.type", self.odata_type) writer.write_int_value("priority", self.priority) + writer.write_enum_value("trustAffinityLevel", self.trust_affinity_level) writer.write_str_value("userProperty", self.user_property) writer.write_str_value("x509CertificateField", self.x509_certificate_field) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/monitoring/alert_records/alert_records_request_builder.py b/msgraph_beta/generated/monitoring/alert_records/alert_records_request_builder.py index 892e1d66446..27f389a20b7 100644 --- a/msgraph_beta/generated/monitoring/alert_records/alert_records_request_builder.py +++ b/msgraph_beta/generated/monitoring/alert_records/alert_records_request_builder.py @@ -46,7 +46,7 @@ def by_alert_record_id(self,alert_record_id: str) -> AlertRecordItemRequestBuild async def get(self,request_configuration: Optional[AlertRecordsRequestBuilderGetRequestConfiguration] = None) -> Optional[AlertRecordCollectionResponse]: """ - Get a list of the alertRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of the alertRecord objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AlertRecordCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/devicemanagement-alertrecord-list?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[AlertRecord] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[AlertRecordsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the alertRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of the alertRecord objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[AlertRecords request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AlertRecord] = None, request_configuration: Optional[AlertRecordsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[AlertRecord] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def microsoft_graph_device_management_get_portal_notifications(self) -> Microsof @dataclass class AlertRecordsRequestBuilderGetQueryParameters(): """ - Get a list of the alertRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of the alertRecord objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/monitoring/alert_records/item/alert_record_item_request_builder.py b/msgraph_beta/generated/monitoring/alert_records/item/alert_record_item_request_builder.py index 2a757d0afac..919fc18b98f 100644 --- a/msgraph_beta/generated/monitoring/alert_records/item/alert_record_item_request_builder.py +++ b/msgraph_beta/generated/monitoring/alert_records/item/alert_record_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AlertRecordItemRequestBuil async def get(self,request_configuration: Optional[AlertRecordItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AlertRecord]: """ - Read the properties and relationships of an alertRecord object. This API is available in the following national cloud deployments. + Read the properties and relationships of an alertRecord object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AlertRecord] Find more info here: https://learn.microsoft.com/graph/api/devicemanagement-alertrecord-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[AlertReco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AlertRecordItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an alertRecord object. This API is available in the following national cloud deployments. + Read the properties and relationships of an alertRecord object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AlertRecordI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AlertRecord] = None, request_configuration: Optional[AlertRecordItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AlertRecord] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class AlertRecordItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class AlertRecordItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an alertRecord object. This API is available in the following national cloud deployments. + Read the properties and relationships of an alertRecord object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/monitoring/alert_records/item/microsoft_graph_device_management_set_portal_notification_as_sent/microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.py b/msgraph_beta/generated/monitoring/alert_records/item/microsoft_graph_device_management_set_portal_notification_as_sent/microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.py index 44b53d753d4..cf04ae18eb3 100644 --- a/msgraph_beta/generated/monitoring/alert_records/item/microsoft_graph_device_management_set_portal_notification_as_sent/microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.py +++ b/msgraph_beta/generated/monitoring/alert_records/item/microsoft_graph_device_management_set_portal_notification_as_sent/microsoft_graph_device_management_set_portal_notification_as_sent_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[MicrosoftGraphDeviceManagementSetPortalNotificationAsSentRequestBuilderPostRequestConfiguration] = None) -> None: """ - Set the status of the notification associated with the specified alertRecord on the Microsoft EndPoint Manager admin center as sent, by setting the isPortalNotificationSent property of the portal notification to true. This API is available in the following national cloud deployments. + Set the status of the notification associated with the specified alertRecord on the Microsoft EndPoint Manager admin center as sent, by setting the isPortalNotificationSent property of the portal notification to true. 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/devicemanagement-alertrecord-setportalnotificationassent?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[MicrosoftGraphDeviceManageme def to_post_request_information(self,request_configuration: Optional[MicrosoftGraphDeviceManagementSetPortalNotificationAsSentRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Set the status of the notification associated with the specified alertRecord on the Microsoft EndPoint Manager admin center as sent, by setting the isPortalNotificationSent property of the portal notification to true. This API is available in the following national cloud deployments. + Set the status of the notification associated with the specified alertRecord on the Microsoft EndPoint Manager admin center as sent, by setting the isPortalNotificationSent property of the portal notification to true. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphDeviceManagementSetPortalNotificationAsSentRequestBuilder: diff --git a/msgraph_beta/generated/monitoring/alert_records/microsoft_graph_device_management_get_portal_notifications/microsoft_graph_device_management_get_portal_notifications_request_builder.py b/msgraph_beta/generated/monitoring/alert_records/microsoft_graph_device_management_get_portal_notifications/microsoft_graph_device_management_get_portal_notifications_request_builder.py index f34485bd8b6..1911d45b784 100644 --- a/msgraph_beta/generated/monitoring/alert_records/microsoft_graph_device_management_get_portal_notifications/microsoft_graph_device_management_get_portal_notifications_request_builder.py +++ b/msgraph_beta/generated/monitoring/alert_records/microsoft_graph_device_management_get_portal_notifications/microsoft_graph_device_management_get_portal_notifications_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphDeviceManagementGetPortalNotificationsRequestBuilder: diff --git a/msgraph_beta/generated/monitoring/alert_rules/alert_rules_request_builder.py b/msgraph_beta/generated/monitoring/alert_rules/alert_rules_request_builder.py index bb0dfaa964f..b9c34b824a3 100644 --- a/msgraph_beta/generated/monitoring/alert_rules/alert_rules_request_builder.py +++ b/msgraph_beta/generated/monitoring/alert_rules/alert_rules_request_builder.py @@ -45,7 +45,7 @@ def by_alert_rule_id(self,alert_rule_id: str) -> AlertRuleItemRequestBuilder: async def get(self,request_configuration: Optional[AlertRulesRequestBuilderGetRequestConfiguration] = None) -> Optional[AlertRuleCollectionResponse]: """ - Get a list of the alertRule objects and their properties. This API is available in the following national cloud deployments. + Get a list of the alertRule objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AlertRuleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/devicemanagement-alertrule-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AlertRulesRequestBuilderGetRe async def post(self,body: Optional[AlertRule] = None, request_configuration: Optional[AlertRulesRequestBuilderPostRequestConfiguration] = None) -> Optional[AlertRule]: """ - Create an alertRule object. This API is available in the following national cloud deployments. + Create an alertRule object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AlertRule] @@ -92,7 +92,7 @@ async def post(self,body: Optional[AlertRule] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[AlertRulesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the alertRule objects and their properties. This API is available in the following national cloud deployments. + Get a list of the alertRule objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[AlertRulesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AlertRule] = None, request_configuration: Optional[AlertRulesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an alertRule object. This API is available in the following national cloud deployments. + Create an alertRule object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[AlertRule] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AlertRulesRequestBuilderGetQueryParameters(): """ - Get a list of the alertRule objects and their properties. This API is available in the following national cloud deployments. + Get a list of the alertRule objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/monitoring/alert_rules/item/alert_rule_item_request_builder.py b/msgraph_beta/generated/monitoring/alert_rules/item/alert_rule_item_request_builder.py index 023363bd232..87fd7844460 100644 --- a/msgraph_beta/generated/monitoring/alert_rules/item/alert_rule_item_request_builder.py +++ b/msgraph_beta/generated/monitoring/alert_rules/item/alert_rule_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[AlertRuleItemRequestBuilde async def get(self,request_configuration: Optional[AlertRuleItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AlertRule]: """ - Read the properties and relationships of an alertRule object. This API is available in the following national cloud deployments. + Read the properties and relationships of an alertRule object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AlertRule] Find more info here: https://learn.microsoft.com/graph/api/devicemanagement-alertrule-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[AlertRuleItemRequestBuilderGe async def patch(self,body: Optional[AlertRule] = None, request_configuration: Optional[AlertRuleItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[AlertRule]: """ - Update the properties of an alertRule object. This API is available in the following national cloud deployments. + Update the properties of an alertRule object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AlertRule] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[AlertRule request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AlertRuleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an alertRule object. This API is available in the following national cloud deployments. + Read the properties and relationships of an alertRule object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[AlertRuleIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AlertRule] = None, request_configuration: Optional[AlertRuleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an alertRule object. This API is available in the following national cloud deployments. + Update the properties of an alertRule object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AlertRule] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class AlertRuleItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class AlertRuleItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an alertRule object. This API is available in the following national cloud deployments. + Read the properties and relationships of an alertRule object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/monitoring/monitoring_request_builder.py b/msgraph_beta/generated/monitoring/monitoring_request_builder.py index 0c82eeca619..f5b2ff3b000 100644 --- a/msgraph_beta/generated/monitoring/monitoring_request_builder.py +++ b/msgraph_beta/generated/monitoring/monitoring_request_builder.py @@ -87,7 +87,7 @@ def to_get_request_information(self,request_configuration: Optional[MonitoringRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Monitoring] = None, request_configuration: Optional[MonitoringRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -106,7 +106,7 @@ def to_patch_request_information(self,body: Optional[Monitoring] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/network_access/connectivity/branches/branches_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/branches_request_builder.py index 24ebaabeb48..4095f2a3b98 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/branches_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/branches_request_builder.py @@ -45,7 +45,7 @@ def by_branch_site_id(self,branch_site_id: str) -> BranchSiteItemRequestBuilder: async def get(self,request_configuration: Optional[BranchesRequestBuilderGetRequestConfiguration] = None) -> Optional[BranchSiteCollectionResponse]: """ - Retrieve a list of branches within a tenant connected to the Global Secure Access services. This API is available in the following national cloud deployments. + Retrieve a list of branches within a tenant connected to the Global Secure Access services. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BranchSiteCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-connectivity-list-branches?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[BranchesRequestBuilderGetRequ async def post(self,body: Optional[BranchSite] = None, request_configuration: Optional[BranchesRequestBuilderPostRequestConfiguration] = None) -> Optional[BranchSite]: """ - Create a new branch. This API is available in the following national cloud deployments. + Create a new branch. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BranchSite] @@ -92,7 +92,7 @@ async def post(self,body: Optional[BranchSite] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[BranchesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of branches within a tenant connected to the Global Secure Access services. This API is available in the following national cloud deployments. + Retrieve a list of branches within a tenant connected to the Global Secure Access services. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[BranchesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[BranchSite] = None, request_configuration: Optional[BranchesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new branch. This API is available in the following national cloud deployments. + Create a new branch. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[BranchSite] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class BranchesRequestBuilderGetQueryParameters(): """ - Retrieve a list of branches within a tenant connected to the Global Secure Access services. This API is available in the following national cloud deployments. + Retrieve a list of branches within a tenant connected to the Global Secure Access services. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/branch_site_item_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/branch_site_item_request_builder.py index 844febe4f0e..9b59aeb21d1 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/branch_site_item_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/branch_site_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[BranchSiteItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a specific branch. This API is available in the following national cloud deployments. + Delete a specific branch. 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/networkaccess-branchsite-delete?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[BranchSiteItemRequestBuild async def get(self,request_configuration: Optional[BranchSiteItemRequestBuilderGetRequestConfiguration] = None) -> Optional[BranchSite]: """ - Retrieve information about a specific branch. This API is available in the following national cloud deployments. + Retrieve information about a specific branch. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BranchSite] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-branchsite-get?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[BranchSiteItemRequestBuilderG async def patch(self,body: Optional[BranchSite] = None, request_configuration: Optional[BranchSiteItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[BranchSite]: """ - Update the configuration or properties of a specific branch. This API is available in the following national cloud deployments. + Update the configuration or properties of a specific branch. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BranchSite] @@ -98,7 +98,7 @@ async def patch(self,body: Optional[BranchSite] = None, request_configuration: O def to_delete_request_information(self,request_configuration: Optional[BranchSiteItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a specific branch. This API is available in the following national cloud deployments. + Delete a specific branch. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[BranchSit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BranchSiteItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve information about a specific branch. This API is available in the following national cloud deployments. + Retrieve information about a specific branch. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,12 +126,12 @@ def to_get_request_information(self,request_configuration: Optional[BranchSiteIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[BranchSite] = None, request_configuration: Optional[BranchSiteItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the configuration or properties of a specific branch. This API is available in the following national cloud deployments. + Update the configuration or properties of a specific branch. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[BranchSite] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -199,7 +199,7 @@ class BranchSiteItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class BranchSiteItemRequestBuilderGetQueryParameters(): """ - Retrieve information about a specific branch. This API is available in the following national cloud deployments. + Retrieve information about a specific branch. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/connectivity_configuration_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/connectivity_configuration_request_builder.py index 895ad39a958..584b07be2c9 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/connectivity_configuration_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/connectivity_configuration_request_builder.py @@ -48,9 +48,10 @@ async def delete(self,request_configuration: Optional[ConnectivityConfigurationR async def get(self,request_configuration: Optional[ConnectivityConfigurationRequestBuilderGetRequestConfiguration] = None) -> Optional[BranchConnectivityConfiguration]: """ - Get connectivityConfiguration from networkAccess + Retrieve the IPSec tunnel configuration required to establish a bidirectional communication link between your organization's router and the Microsoft gateway. This information is vital for configuring your router (customer premise equipment) after creating a deviceLink. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BranchConnectivityConfiguration] + Find more info here: https://learn.microsoft.com/graph/api/networkaccess-branchconnectivityconfiguration-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -104,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Connectiv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConnectivityConfigurationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get connectivityConfiguration from networkAccess + Retrieve the IPSec tunnel configuration required to establish a bidirectional communication link between your organization's router and the Microsoft gateway. This information is vital for configuring your router (customer premise equipment) after creating a deviceLink. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[Connectivity request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[BranchConnectivityConfiguration] = None, request_configuration: Optional[ConnectivityConfigurationRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +141,7 @@ def to_patch_request_information(self,body: Optional[BranchConnectivityConfigura request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -176,7 +177,7 @@ class ConnectivityConfigurationRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class ConnectivityConfigurationRequestBuilderGetQueryParameters(): """ - Get connectivityConfiguration from networkAccess + Retrieve the IPSec tunnel configuration required to establish a bidirectional communication link between your organization's router and the Microsoft gateway. This information is vital for configuring your router (customer premise equipment) after creating a deviceLink. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/item/connectivity_configuration_link_item_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/item/connectivity_configuration_link_item_request_builder.py index 1cc559c73af..0e739fb7b63 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/item/connectivity_configuration_link_item_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/item/connectivity_configuration_link_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ConnectivityConfigurationL async def get(self,request_configuration: Optional[ConnectivityConfigurationLinkItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ConnectivityConfigurationLink]: """ - Get links from networkAccess + List of connectivity configurations for deviceLink objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConnectivityConfigurationLink] """ @@ -103,12 +103,12 @@ def to_delete_request_information(self,request_configuration: Optional[Connectiv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConnectivityConfigurationLinkItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get links from networkAccess + List of connectivity configurations for deviceLink objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[Connectivity request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConnectivityConfigurationLink] = None, request_configuration: Optional[ConnectivityConfigurationLinkItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ConnectivityConfigurationLi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -166,7 +166,7 @@ class ConnectivityConfigurationLinkItemRequestBuilderDeleteRequestConfiguration( @dataclass class ConnectivityConfigurationLinkItemRequestBuilderGetQueryParameters(): """ - Get links from networkAccess + List of connectivity configurations for deviceLink objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/links_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/links_request_builder.py index 7721f14ecef..244b1e76381 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/links_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/connectivity_configuration/links/links_request_builder.py @@ -45,7 +45,7 @@ def by_connectivity_configuration_link_id(self,connectivity_configuration_link_i async def get(self,request_configuration: Optional[LinksRequestBuilderGetRequestConfiguration] = None) -> Optional[ConnectivityConfigurationLinkCollectionResponse]: """ - Get links from networkAccess + List of connectivity configurations for deviceLink objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConnectivityConfigurationLinkCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[ConnectivityConfigurationLink] = None, reques def to_get_request_information(self,request_configuration: Optional[LinksRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get links from networkAccess + List of connectivity configurations for deviceLink objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[LinksRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ConnectivityConfigurationLink] = None, request_configuration: Optional[LinksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ConnectivityConfigurationLin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class LinksRequestBuilderGetQueryParameters(): """ - Get links from networkAccess + List of connectivity configurations for deviceLink objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/device_links_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/device_links_request_builder.py index 976bf58b726..28e8a688940 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/device_links_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/device_links_request_builder.py @@ -45,7 +45,7 @@ def by_device_link_id(self,device_link_id: str) -> DeviceLinkItemRequestBuilder: async def get(self,request_configuration: Optional[DeviceLinksRequestBuilderGetRequestConfiguration] = None) -> Optional[DeviceLinkCollectionResponse]: """ - Retrieve a list of device links associated with a specific branch. This API is available in the following national cloud deployments. + Retrieve a list of device links associated with a specific branch. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceLinkCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-branchsite-list-devicelinks?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[DeviceLinksRequestBuilderGetR async def post(self,body: Optional[DeviceLink] = None, request_configuration: Optional[DeviceLinksRequestBuilderPostRequestConfiguration] = None) -> Optional[DeviceLink]: """ - Create a branch site with associated device links. This API is available in the following national cloud deployments. + Create a branch site with associated device links. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceLink] @@ -92,7 +92,7 @@ async def post(self,body: Optional[DeviceLink] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[DeviceLinksRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of device links associated with a specific branch. This API is available in the following national cloud deployments. + Retrieve a list of device links associated with a specific branch. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[DeviceLinksR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceLink] = None, request_configuration: Optional[DeviceLinksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a branch site with associated device links. This API is available in the following national cloud deployments. + Create a branch site with associated device links. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[DeviceLink] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DeviceLinksRequestBuilderGetQueryParameters(): """ - Retrieve a list of device links associated with a specific branch. This API is available in the following national cloud deployments. + Retrieve a list of device links associated with a specific branch. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/item/device_link_item_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/item/device_link_item_request_builder.py index 726b5de9647..f11ff8b2f6b 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/item/device_link_item_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/device_links/item/device_link_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[DeviceLinkItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Removes the link between the branch and the CPE device, effectively removing the connection and associated configuration between them. This API is available in the following national cloud deployments. + Removes the link between the branch and the CPE device, effectively removing the connection and associated configuration between them. 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/networkaccess-branchsite-delete-devicelinks?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[DeviceLinkItemRequestBuild async def get(self,request_configuration: Optional[DeviceLinkItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DeviceLink]: """ - Retrieve the device link associated with a specific branch. This API is available in the following national cloud deployments. + Retrieve the device link associated with a specific branch. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceLink] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-devicelink-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[DeviceLinkItemRequestBuilderG async def patch(self,body: Optional[DeviceLink] = None, request_configuration: Optional[DeviceLinkItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[DeviceLink]: """ - Update the device link associated with a specific branch. This API is available in the following national cloud deployments. + Update the device link associated with a specific branch. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceLink] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[DeviceLink] = None, request_configuration: O def to_delete_request_information(self,request_configuration: Optional[DeviceLinkItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Removes the link between the branch and the CPE device, effectively removing the connection and associated configuration between them. This API is available in the following national cloud deployments. + Removes the link between the branch and the CPE device, effectively removing the connection and associated configuration between them. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceLin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceLinkItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the device link associated with a specific branch. This API is available in the following national cloud deployments. + Retrieve the device link associated with a specific branch. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[DeviceLinkIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceLink] = None, request_configuration: Optional[DeviceLinkItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the device link associated with a specific branch. This API is available in the following national cloud deployments. + Update the device link associated with a specific branch. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[DeviceLink] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class DeviceLinkItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class DeviceLinkItemRequestBuilderGetQueryParameters(): """ - Retrieve the device link associated with a specific branch. This API is available in the following national cloud deployments. + Retrieve the device link associated with a specific branch. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/forwarding_profiles_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/forwarding_profiles_request_builder.py index 84cd9c969dd..c89e66b506f 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/forwarding_profiles_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/forwarding_profiles_request_builder.py @@ -45,7 +45,7 @@ def by_forwarding_profile_id(self,forwarding_profile_id: str) -> ForwardingProfi async def get(self,request_configuration: Optional[ForwardingProfilesRequestBuilderGetRequestConfiguration] = None) -> Optional[ForwardingProfileCollectionResponse]: """ - Retrieve a list of traffic forwarding profiles associated with a branch. This API is available in the following national cloud deployments. + Retrieve a list of traffic forwarding profiles associated with a branch. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardingProfileCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-branchsite-list-forwardingprofiles?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ForwardingProfile] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[ForwardingProfilesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of traffic forwarding profiles associated with a branch. This API is available in the following national cloud deployments. + Retrieve a list of traffic forwarding profiles associated with a branch. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ForwardingPr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ForwardingProfile] = None, request_configuration: Optional[ForwardingProfilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ForwardingProfile] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ForwardingProfilesRequestBuilderGetQueryParameters(): """ - Retrieve a list of traffic forwarding profiles associated with a branch. This API is available in the following national cloud deployments. + Retrieve a list of traffic forwarding profiles associated with a branch. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/forwarding_profile_item_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/forwarding_profile_item_request_builder.py index 2745cc6dea0..94629721e5e 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/forwarding_profile_item_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/forwarding_profile_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Forwardin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ForwardingProfileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ForwardingPr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ForwardingProfile] = None, request_configuration: Optional[ForwardingProfileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ForwardingProfile] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/item/policy/policy_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/item/policy/policy_request_builder.py index 6b4b41b3949..23180dd91c8 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/item/policy/policy_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/item/policy/policy_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PolicyReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PolicyRequestBuilder: diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/item/policy_link_item_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/item/policy_link_item_request_builder.py index c9aa8991fc1..3e05a04f831 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/item/policy_link_item_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/item/policy_link_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PolicyLin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PolicyLinkItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PolicyLinkIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PolicyLink] = None, request_configuration: Optional[PolicyLinkItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[PolicyLink] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/policies_request_builder.py b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/policies_request_builder.py index 0ccfee44027..618842c21b7 100644 --- a/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/policies_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/branches/item/forwarding_profiles/item/policies/policies_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PoliciesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PolicyLink] = None, request_configuration: Optional[PoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[PolicyLink] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/network_access/connectivity/connectivity_request_builder.py b/msgraph_beta/generated/network_access/connectivity/connectivity_request_builder.py index 04eddfba6ca..f86010d3368 100644 --- a/msgraph_beta/generated/network_access/connectivity/connectivity_request_builder.py +++ b/msgraph_beta/generated/network_access/connectivity/connectivity_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Connectiv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConnectivityRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[Connectivity request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Connectivity] = None, request_configuration: Optional[ConnectivityRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Connectivity] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/network_access/filtering_policies/count/count_request_builder.py b/msgraph_beta/generated/network_access/filtering_policies/count/count_request_builder.py new file mode 100644 index 00000000000..4e210a5b59d --- /dev/null +++ b/msgraph_beta/generated/network_access/filtering_policies/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/networkAccess/filteringPolicies/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/network_access/filtering_policies/filtering_policies_request_builder.py b/msgraph_beta/generated/network_access/filtering_policies/filtering_policies_request_builder.py new file mode 100644 index 00000000000..59229db9117 --- /dev/null +++ b/msgraph_beta/generated/network_access/filtering_policies/filtering_policies_request_builder.py @@ -0,0 +1,227 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ...models.networkaccess.filtering_policy import FilteringPolicy + from ...models.networkaccess.filtering_policy_collection_response import FilteringPolicyCollectionResponse + from ...models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.filtering_policy_item_request_builder import FilteringPolicyItemRequestBuilder + +class FilteringPoliciesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the filteringPolicies property of the microsoft.graph.networkaccess.networkAccessRoot entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new FilteringPoliciesRequestBuilder 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}/networkAccess/filteringPolicies{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_filtering_policy_id(self,filtering_policy_id: str) -> FilteringPolicyItemRequestBuilder: + """ + Provides operations to manage the filteringPolicies property of the microsoft.graph.networkaccess.networkAccessRoot entity. + param filtering_policy_id: The unique identifier of filteringPolicy + Returns: FilteringPolicyItemRequestBuilder + """ + if not filtering_policy_id: + raise TypeError("filtering_policy_id cannot be null.") + from .item.filtering_policy_item_request_builder import FilteringPolicyItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["filteringPolicy%2Did"] = filtering_policy_id + return FilteringPolicyItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[FilteringPoliciesRequestBuilderGetRequestConfiguration] = None) -> Optional[FilteringPolicyCollectionResponse]: + """ + Get a list of the microsoft.graph.networkaccess.filteringPolicy objects and their properties. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[FilteringPolicyCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/networkaccess-networkaccessroot-list-filteringpolicies?view=graph-rest-1.0 + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...models.networkaccess.filtering_policy_collection_response import FilteringPolicyCollectionResponse + + return await self.request_adapter.send_async(request_info, FilteringPolicyCollectionResponse, error_mapping) + + async def post(self,body: Optional[FilteringPolicy] = None, request_configuration: Optional[FilteringPoliciesRequestBuilderPostRequestConfiguration] = None) -> Optional[FilteringPolicy]: + """ + Create new navigation property to filteringPolicies for networkAccess + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[FilteringPolicy] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...models.networkaccess.filtering_policy import FilteringPolicy + + return await self.request_adapter.send_async(request_info, FilteringPolicy, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[FilteringPoliciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get a list of the microsoft.graph.networkaccess.filteringPolicy objects and their properties. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[FilteringPolicy] = None, request_configuration: Optional[FilteringPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to filteringPolicies for networkAccess + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> FilteringPoliciesRequestBuilder: + """ + 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: FilteringPoliciesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return FilteringPoliciesRequestBuilder(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 FilteringPoliciesRequestBuilderGetQueryParameters(): + """ + Get a list of the microsoft.graph.networkaccess.filteringPolicy objects and their properties. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class FilteringPoliciesRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[FilteringPoliciesRequestBuilder.FilteringPoliciesRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class FilteringPoliciesRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/network_access/filtering_policies/item/filtering_policy_item_request_builder.py b/msgraph_beta/generated/network_access/filtering_policies/item/filtering_policy_item_request_builder.py new file mode 100644 index 00000000000..9d7270f5ef4 --- /dev/null +++ b/msgraph_beta/generated/network_access/filtering_policies/item/filtering_policy_item_request_builder.py @@ -0,0 +1,226 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.networkaccess.filtering_policy import FilteringPolicy + from ....models.o_data_errors.o_data_error import ODataError + from .policy_rules.policy_rules_request_builder import PolicyRulesRequestBuilder + +class FilteringPolicyItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the filteringPolicies property of the microsoft.graph.networkaccess.networkAccessRoot entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new FilteringPolicyItemRequestBuilder 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}/networkAccess/filteringPolicies/{filteringPolicy%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[FilteringPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property filteringPolicies for networkAccess + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[FilteringPolicyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[FilteringPolicy]: + """ + Get a filteringPolicy object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[FilteringPolicy] + Find more info here: https://learn.microsoft.com/graph/api/networkaccess-filteringpolicy-get?view=graph-rest-1.0 + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.networkaccess.filtering_policy import FilteringPolicy + + return await self.request_adapter.send_async(request_info, FilteringPolicy, error_mapping) + + async def patch(self,body: Optional[FilteringPolicy] = None, request_configuration: Optional[FilteringPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[FilteringPolicy]: + """ + Update the navigation property filteringPolicies in networkAccess + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[FilteringPolicy] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.networkaccess.filtering_policy import FilteringPolicy + + return await self.request_adapter.send_async(request_info, FilteringPolicy, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[FilteringPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property filteringPolicies for networkAccess + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[FilteringPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get a filteringPolicy object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[FilteringPolicy] = None, request_configuration: Optional[FilteringPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property filteringPolicies in networkAccess + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> FilteringPolicyItemRequestBuilder: + """ + 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: FilteringPolicyItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return FilteringPolicyItemRequestBuilder(self.request_adapter, raw_url) + + @property + def policy_rules(self) -> PolicyRulesRequestBuilder: + """ + Provides operations to manage the policyRules property of the microsoft.graph.networkaccess.policy entity. + """ + from .policy_rules.policy_rules_request_builder import PolicyRulesRequestBuilder + + return PolicyRulesRequestBuilder(self.request_adapter, self.path_parameters) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class FilteringPolicyItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class FilteringPolicyItemRequestBuilderGetQueryParameters(): + """ + Get a filteringPolicy object. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class FilteringPolicyItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[FilteringPolicyItemRequestBuilder.FilteringPolicyItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class FilteringPolicyItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/network_access/filtering_policies/item/policy_rules/count/count_request_builder.py b/msgraph_beta/generated/network_access/filtering_policies/item/policy_rules/count/count_request_builder.py new file mode 100644 index 00000000000..6233ec4d3a8 --- /dev/null +++ b/msgraph_beta/generated/network_access/filtering_policies/item/policy_rules/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/networkAccess/filteringPolicies/{filteringPolicy%2Did}/policyRules/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/network_access/filtering_policies/item/policy_rules/item/policy_rule_item_request_builder.py b/msgraph_beta/generated/network_access/filtering_policies/item/policy_rules/item/policy_rule_item_request_builder.py new file mode 100644 index 00000000000..7ac24ec6e7d --- /dev/null +++ b/msgraph_beta/generated/network_access/filtering_policies/item/policy_rules/item/policy_rule_item_request_builder.py @@ -0,0 +1,215 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.networkaccess.policy_rule import PolicyRule + from ......models.o_data_errors.o_data_error import ODataError + +class PolicyRuleItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the policyRules property of the microsoft.graph.networkaccess.policy entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new PolicyRuleItemRequestBuilder 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}/networkAccess/filteringPolicies/{filteringPolicy%2Did}/policyRules/{policyRule%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[PolicyRuleItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property policyRules for networkAccess + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[PolicyRuleItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PolicyRule]: + """ + Represents the definition of the policy ruleset that makes up the core definition of a policy. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[PolicyRule] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.networkaccess.policy_rule import PolicyRule + + return await self.request_adapter.send_async(request_info, PolicyRule, error_mapping) + + async def patch(self,body: Optional[PolicyRule] = None, request_configuration: Optional[PolicyRuleItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[PolicyRule]: + """ + Update the navigation property policyRules in networkAccess + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[PolicyRule] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.networkaccess.policy_rule import PolicyRule + + return await self.request_adapter.send_async(request_info, PolicyRule, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[PolicyRuleItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property policyRules for networkAccess + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[PolicyRuleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Represents the definition of the policy ruleset that makes up the core definition of a policy. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[PolicyRule] = None, request_configuration: Optional[PolicyRuleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property policyRules in networkAccess + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> PolicyRuleItemRequestBuilder: + """ + 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: PolicyRuleItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return PolicyRuleItemRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class PolicyRuleItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class PolicyRuleItemRequestBuilderGetQueryParameters(): + """ + Represents the definition of the policy ruleset that makes up the core definition of a policy. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class PolicyRuleItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[PolicyRuleItemRequestBuilder.PolicyRuleItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class PolicyRuleItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/network_access/filtering_policies/item/policy_rules/policy_rules_request_builder.py b/msgraph_beta/generated/network_access/filtering_policies/item/policy_rules/policy_rules_request_builder.py new file mode 100644 index 00000000000..df7f001845e --- /dev/null +++ b/msgraph_beta/generated/network_access/filtering_policies/item/policy_rules/policy_rules_request_builder.py @@ -0,0 +1,226 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.networkaccess.policy_rule import PolicyRule + from .....models.networkaccess.policy_rule_collection_response import PolicyRuleCollectionResponse + from .....models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.policy_rule_item_request_builder import PolicyRuleItemRequestBuilder + +class PolicyRulesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the policyRules property of the microsoft.graph.networkaccess.policy entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new PolicyRulesRequestBuilder 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}/networkAccess/filteringPolicies/{filteringPolicy%2Did}/policyRules{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_policy_rule_id(self,policy_rule_id: str) -> PolicyRuleItemRequestBuilder: + """ + Provides operations to manage the policyRules property of the microsoft.graph.networkaccess.policy entity. + param policy_rule_id: The unique identifier of policyRule + Returns: PolicyRuleItemRequestBuilder + """ + if not policy_rule_id: + raise TypeError("policy_rule_id cannot be null.") + from .item.policy_rule_item_request_builder import PolicyRuleItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["policyRule%2Did"] = policy_rule_id + return PolicyRuleItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[PolicyRulesRequestBuilderGetRequestConfiguration] = None) -> Optional[PolicyRuleCollectionResponse]: + """ + Represents the definition of the policy ruleset that makes up the core definition of a policy. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[PolicyRuleCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.networkaccess.policy_rule_collection_response import PolicyRuleCollectionResponse + + return await self.request_adapter.send_async(request_info, PolicyRuleCollectionResponse, error_mapping) + + async def post(self,body: Optional[PolicyRule] = None, request_configuration: Optional[PolicyRulesRequestBuilderPostRequestConfiguration] = None) -> Optional[PolicyRule]: + """ + Create new navigation property to policyRules for networkAccess + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[PolicyRule] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.networkaccess.policy_rule import PolicyRule + + return await self.request_adapter.send_async(request_info, PolicyRule, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[PolicyRulesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Represents the definition of the policy ruleset that makes up the core definition of a policy. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[PolicyRule] = None, request_configuration: Optional[PolicyRulesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to policyRules for networkAccess + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> PolicyRulesRequestBuilder: + """ + 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: PolicyRulesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return PolicyRulesRequestBuilder(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 PolicyRulesRequestBuilderGetQueryParameters(): + """ + Represents the definition of the policy ruleset that makes up the core definition of a policy. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class PolicyRulesRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[PolicyRulesRequestBuilder.PolicyRulesRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class PolicyRulesRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/network_access/filtering_profiles/count/count_request_builder.py b/msgraph_beta/generated/network_access/filtering_profiles/count/count_request_builder.py new file mode 100644 index 00000000000..30adfed69b1 --- /dev/null +++ b/msgraph_beta/generated/network_access/filtering_profiles/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/networkAccess/filteringProfiles/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/network_access/filtering_profiles/filtering_profiles_request_builder.py b/msgraph_beta/generated/network_access/filtering_profiles/filtering_profiles_request_builder.py new file mode 100644 index 00000000000..efda97022dd --- /dev/null +++ b/msgraph_beta/generated/network_access/filtering_profiles/filtering_profiles_request_builder.py @@ -0,0 +1,227 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ...models.networkaccess.filtering_profile import FilteringProfile + from ...models.networkaccess.filtering_profile_collection_response import FilteringProfileCollectionResponse + from ...models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.filtering_profile_item_request_builder import FilteringProfileItemRequestBuilder + +class FilteringProfilesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the filteringProfiles property of the microsoft.graph.networkaccess.networkAccessRoot entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new FilteringProfilesRequestBuilder 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}/networkAccess/filteringProfiles{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_filtering_profile_id(self,filtering_profile_id: str) -> FilteringProfileItemRequestBuilder: + """ + Provides operations to manage the filteringProfiles property of the microsoft.graph.networkaccess.networkAccessRoot entity. + param filtering_profile_id: The unique identifier of filteringProfile + Returns: FilteringProfileItemRequestBuilder + """ + if not filtering_profile_id: + raise TypeError("filtering_profile_id cannot be null.") + from .item.filtering_profile_item_request_builder import FilteringProfileItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["filteringProfile%2Did"] = filtering_profile_id + return FilteringProfileItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[FilteringProfilesRequestBuilderGetRequestConfiguration] = None) -> Optional[FilteringProfileCollectionResponse]: + """ + Get a list of the filteringProfile objects and their properties. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[FilteringProfileCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/networkaccess-filteringprofile-list?view=graph-rest-1.0 + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...models.networkaccess.filtering_profile_collection_response import FilteringProfileCollectionResponse + + return await self.request_adapter.send_async(request_info, FilteringProfileCollectionResponse, error_mapping) + + async def post(self,body: Optional[FilteringProfile] = None, request_configuration: Optional[FilteringProfilesRequestBuilderPostRequestConfiguration] = None) -> Optional[FilteringProfile]: + """ + Create new navigation property to filteringProfiles for networkAccess + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[FilteringProfile] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...models.networkaccess.filtering_profile import FilteringProfile + + return await self.request_adapter.send_async(request_info, FilteringProfile, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[FilteringProfilesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get a list of the filteringProfile objects and their properties. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[FilteringProfile] = None, request_configuration: Optional[FilteringProfilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to filteringProfiles for networkAccess + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> FilteringProfilesRequestBuilder: + """ + 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: FilteringProfilesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return FilteringProfilesRequestBuilder(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 FilteringProfilesRequestBuilderGetQueryParameters(): + """ + Get a list of the filteringProfile objects and their properties. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class FilteringProfilesRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[FilteringProfilesRequestBuilder.FilteringProfilesRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class FilteringProfilesRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/network_access/filtering_profiles/item/conditional_access_policies/conditional_access_policies_request_builder.py b/msgraph_beta/generated/network_access/filtering_profiles/item/conditional_access_policies/conditional_access_policies_request_builder.py new file mode 100644 index 00000000000..8b6f7d1d511 --- /dev/null +++ b/msgraph_beta/generated/network_access/filtering_profiles/item/conditional_access_policies/conditional_access_policies_request_builder.py @@ -0,0 +1,171 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.networkaccess.conditional_access_policy_collection_response import ConditionalAccessPolicyCollectionResponse + from .....models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.conditional_access_policy_item_request_builder import ConditionalAccessPolicyItemRequestBuilder + +class ConditionalAccessPoliciesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the conditionalAccessPolicies property of the microsoft.graph.networkaccess.filteringProfile entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ConditionalAccessPoliciesRequestBuilder 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}/networkAccess/filteringProfiles/{filteringProfile%2Did}/conditionalAccessPolicies{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_conditional_access_policy_id(self,conditional_access_policy_id: str) -> ConditionalAccessPolicyItemRequestBuilder: + """ + Provides operations to manage the conditionalAccessPolicies property of the microsoft.graph.networkaccess.filteringProfile entity. + param conditional_access_policy_id: The unique identifier of conditionalAccessPolicy + Returns: ConditionalAccessPolicyItemRequestBuilder + """ + if not conditional_access_policy_id: + raise TypeError("conditional_access_policy_id cannot be null.") + from .item.conditional_access_policy_item_request_builder import ConditionalAccessPolicyItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["conditionalAccessPolicy%2Did"] = conditional_access_policy_id + return ConditionalAccessPolicyItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[ConditionalAccessPoliciesRequestBuilderGetRequestConfiguration] = None) -> Optional[ConditionalAccessPolicyCollectionResponse]: + """ + A set of associated policies defined to regulate access to resources or systems based on specific conditions. Automatically expanded. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConditionalAccessPolicyCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.networkaccess.conditional_access_policy_collection_response import ConditionalAccessPolicyCollectionResponse + + return await self.request_adapter.send_async(request_info, ConditionalAccessPolicyCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[ConditionalAccessPoliciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + A set of associated policies defined to regulate access to resources or systems based on specific conditions. Automatically expanded. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> ConditionalAccessPoliciesRequestBuilder: + """ + 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: ConditionalAccessPoliciesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ConditionalAccessPoliciesRequestBuilder(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 ConditionalAccessPoliciesRequestBuilderGetQueryParameters(): + """ + A set of associated policies defined to regulate access to resources or systems based on specific conditions. Automatically expanded. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ConditionalAccessPoliciesRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[ConditionalAccessPoliciesRequestBuilder.ConditionalAccessPoliciesRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/network_access/filtering_profiles/item/conditional_access_policies/count/count_request_builder.py b/msgraph_beta/generated/network_access/filtering_profiles/item/conditional_access_policies/count/count_request_builder.py new file mode 100644 index 00000000000..9edff096b0a --- /dev/null +++ b/msgraph_beta/generated/network_access/filtering_profiles/item/conditional_access_policies/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/networkAccess/filteringProfiles/{filteringProfile%2Did}/conditionalAccessPolicies/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/network_access/filtering_profiles/item/conditional_access_policies/item/conditional_access_policy_item_request_builder.py b/msgraph_beta/generated/network_access/filtering_profiles/item/conditional_access_policies/item/conditional_access_policy_item_request_builder.py new file mode 100644 index 00000000000..1537920975b --- /dev/null +++ b/msgraph_beta/generated/network_access/filtering_profiles/item/conditional_access_policies/item/conditional_access_policy_item_request_builder.py @@ -0,0 +1,116 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.networkaccess.conditional_access_policy import ConditionalAccessPolicy + from ......models.o_data_errors.o_data_error import ODataError + +class ConditionalAccessPolicyItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the conditionalAccessPolicies property of the microsoft.graph.networkaccess.filteringProfile entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ConditionalAccessPolicyItemRequestBuilder 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}/networkAccess/filteringProfiles/{filteringProfile%2Did}/conditionalAccessPolicies/{conditionalAccessPolicy%2Did}{?%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ConditionalAccessPolicy]: + """ + A set of associated policies defined to regulate access to resources or systems based on specific conditions. Automatically expanded. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ConditionalAccessPolicy] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.networkaccess.conditional_access_policy import ConditionalAccessPolicy + + return await self.request_adapter.send_async(request_info, ConditionalAccessPolicy, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + A set of associated policies defined to regulate access to resources or systems based on specific conditions. Automatically expanded. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> ConditionalAccessPolicyItemRequestBuilder: + """ + 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: ConditionalAccessPolicyItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ConditionalAccessPolicyItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ConditionalAccessPolicyItemRequestBuilderGetQueryParameters(): + """ + A set of associated policies defined to regulate access to resources or systems based on specific conditions. Automatically expanded. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[ConditionalAccessPolicyItemRequestBuilder.ConditionalAccessPolicyItemRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/recordings/item/call_recording_item_request_builder.py b/msgraph_beta/generated/network_access/filtering_profiles/item/filtering_profile_item_request_builder.py similarity index 62% rename from msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/recordings/item/call_recording_item_request_builder.py rename to msgraph_beta/generated/network_access/filtering_profiles/item/filtering_profile_item_request_builder.py index 82da90baadb..fbd94aeb34e 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/recordings/item/call_recording_item_request_builder.py +++ b/msgraph_beta/generated/network_access/filtering_profiles/item/filtering_profile_item_request_builder.py @@ -10,33 +10,34 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .........models.call_recording import CallRecording - from .........models.o_data_errors.o_data_error import ODataError - from .content.content_request_builder import ContentRequestBuilder + from ....models.networkaccess.filtering_profile import FilteringProfile + from ....models.o_data_errors.o_data_error import ODataError + from .conditional_access_policies.conditional_access_policies_request_builder import ConditionalAccessPoliciesRequestBuilder + from .policies.policies_request_builder import PoliciesRequestBuilder -class CallRecordingItemRequestBuilder(BaseRequestBuilder): +class FilteringProfileItemRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. + Provides operations to manage the filteringProfiles property of the microsoft.graph.networkaccess.networkAccessRoot entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ - Instantiates a new CallRecordingItemRequestBuilder and sets the default values. + Instantiates a new FilteringProfileItemRequestBuilder 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/recordings/{callRecording%2Did}{?%24select,%24expand}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/networkAccess/filteringProfiles/{filteringProfile%2Did}{?%24select,%24expand}", path_parameters) - async def delete(self,request_configuration: Optional[CallRecordingItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + async def delete(self,request_configuration: Optional[FilteringProfileItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete navigation property recordings for solutions + Delete navigation property filteringProfiles for networkAccess 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 + from ....models.o_data_errors.o_data_error import ODataError error_mapping: Dict[str, ParsableFactory] = { "4XX": ODataError, @@ -46,17 +47,16 @@ async def delete(self,request_configuration: Optional[CallRecordingItemRequestBu 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[CallRecordingItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CallRecording]: + async def get(self,request_configuration: Optional[FilteringProfileItemRequestBuilderGetRequestConfiguration] = None) -> Optional[FilteringProfile]: """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. + A filtering profile associates network access policies with Microsoft Entra ID Conditional Access policies, so that access policies can be applied to users and groups. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[CallRecording] - Find more info here: https://learn.microsoft.com/graph/api/callrecording-get?view=graph-rest-1.0 + Returns: Optional[FilteringProfile] """ 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, ParsableFactory] = { "4XX": ODataError, @@ -64,23 +64,24 @@ async def get(self,request_configuration: Optional[CallRecordingItemRequestBuild } if not self.request_adapter: raise Exception("Http core is null") - from .........models.call_recording import CallRecording + from ....models.networkaccess.filtering_profile import FilteringProfile - return await self.request_adapter.send_async(request_info, CallRecording, error_mapping) + return await self.request_adapter.send_async(request_info, FilteringProfile, error_mapping) - async def patch(self,body: Optional[CallRecording] = None, request_configuration: Optional[CallRecordingItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[CallRecording]: + async def patch(self,body: Optional[FilteringProfile] = None, request_configuration: Optional[FilteringProfileItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[FilteringProfile]: """ - Update the navigation property recordings in solutions + Update the properties of a filteringProfile object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[CallRecording] + Returns: Optional[FilteringProfile] + Find more info here: https://learn.microsoft.com/graph/api/networkaccess-filteringprofile-update?view=graph-rest-1.0 """ if not body: 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 + from ....models.o_data_errors.o_data_error import ODataError error_mapping: Dict[str, ParsableFactory] = { "4XX": ODataError, @@ -88,13 +89,13 @@ async def patch(self,body: Optional[CallRecording] = None, request_configuration } if not self.request_adapter: raise Exception("Http core is null") - from .........models.call_recording import CallRecording + from ....models.networkaccess.filtering_profile import FilteringProfile - return await self.request_adapter.send_async(request_info, CallRecording, error_mapping) + return await self.request_adapter.send_async(request_info, FilteringProfile, error_mapping) - def to_delete_request_information(self,request_configuration: Optional[CallRecordingItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + def to_delete_request_information(self,request_configuration: Optional[FilteringProfileItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete navigation property recordings for solutions + Delete navigation property filteringProfiles for networkAccess param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[CallRecor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info - def to_get_request_information(self,request_configuration: Optional[CallRecordingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + def to_get_request_information(self,request_configuration: Optional[FilteringProfileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. + A filtering profile associates network access policies with Microsoft Entra ID Conditional Access policies, so that access policies can be applied to users and groups. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[CallRecordin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info - def to_patch_request_information(self,body: Optional[CallRecording] = None, request_configuration: Optional[CallRecordingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + def to_patch_request_information(self,body: Optional[FilteringProfile] = None, request_configuration: Optional[FilteringProfileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the navigation property recordings in solutions + Update the properties of a filteringProfile object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,33 +142,42 @@ def to_patch_request_information(self,body: Optional[CallRecording] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + 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: Optional[str] = None) -> CallRecordingItemRequestBuilder: + def with_url(self,raw_url: Optional[str] = None) -> FilteringProfileItemRequestBuilder: """ 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: CallRecordingItemRequestBuilder + Returns: FilteringProfileItemRequestBuilder """ if not raw_url: raise TypeError("raw_url cannot be null.") - return CallRecordingItemRequestBuilder(self.request_adapter, raw_url) + return FilteringProfileItemRequestBuilder(self.request_adapter, raw_url) @property - def content(self) -> ContentRequestBuilder: + def conditional_access_policies(self) -> ConditionalAccessPoliciesRequestBuilder: """ - Provides operations to manage the media for the solutionsRoot entity. + Provides operations to manage the conditionalAccessPolicies property of the microsoft.graph.networkaccess.filteringProfile entity. """ - from .content.content_request_builder import ContentRequestBuilder + from .conditional_access_policies.conditional_access_policies_request_builder import ConditionalAccessPoliciesRequestBuilder - return ContentRequestBuilder(self.request_adapter, self.path_parameters) + return ConditionalAccessPoliciesRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def policies(self) -> PoliciesRequestBuilder: + """ + Provides operations to manage the policies property of the microsoft.graph.networkaccess.profile entity. + """ + from .policies.policies_request_builder import PoliciesRequestBuilder + + return PoliciesRequestBuilder(self.request_adapter, self.path_parameters) from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class CallRecordingItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + class FilteringProfileItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ @@ -175,9 +185,9 @@ class CallRecordingItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfi """ @dataclass - class CallRecordingItemRequestBuilderGetQueryParameters(): + class FilteringProfileItemRequestBuilderGetQueryParameters(): """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. + A filtering profile associates network access policies with Microsoft Entra ID Conditional Access policies, so that access policies can be applied to users and groups. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ @@ -203,20 +213,20 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class CallRecordingItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + class FilteringProfileItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ Configuration for the request such as headers, query parameters, and middleware options. """ # Request query parameters - query_parameters: Optional[CallRecordingItemRequestBuilder.CallRecordingItemRequestBuilderGetQueryParameters] = None + query_parameters: Optional[FilteringProfileItemRequestBuilder.FilteringProfileItemRequestBuilderGetQueryParameters] = None from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class CallRecordingItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + class FilteringProfileItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/meeting_attendance_report/attendance_records/count/count_request_builder.py b/msgraph_beta/generated/network_access/filtering_profiles/item/policies/count/count_request_builder.py similarity index 93% rename from msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/meeting_attendance_report/attendance_records/count/count_request_builder.py rename to msgraph_beta/generated/network_access/filtering_profiles/item/policies/count/count_request_builder.py index 16b927c0deb..052e6f4fa51 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/meeting_attendance_report/attendance_records/count/count_request_builder.py +++ b/msgraph_beta/generated/network_access/filtering_profiles/item/policies/count/count_request_builder.py @@ -10,7 +10,7 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union 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): """ @@ -23,7 +23,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/meetingAttendanceReport/attendanceRecords/$count{?%24search,%24filter}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/networkAccess/filteringProfiles/{filteringProfile%2Did}/policies/$count{?%24search,%24filter}", path_parameters) async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = None) -> Optional[int]: """ @@ -34,7 +34,7 @@ async def get(self,request_configuration: Optional[CountRequestBuilderGetRequest 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, ParsableFactory] = { "4XX": ODataError, diff --git a/msgraph_beta/generated/network_access/filtering_profiles/item/policies/item/policy/policy_request_builder.py b/msgraph_beta/generated/network_access/filtering_profiles/item/policies/item/policy/policy_request_builder.py new file mode 100644 index 00000000000..8d18b9714cf --- /dev/null +++ b/msgraph_beta/generated/network_access/filtering_profiles/item/policies/item/policy/policy_request_builder.py @@ -0,0 +1,116 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.networkaccess.policy import Policy + from .......models.o_data_errors.o_data_error import ODataError + +class PolicyRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the policy property of the microsoft.graph.networkaccess.policyLink entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new PolicyRequestBuilder 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}/networkAccess/filteringProfiles/{filteringProfile%2Did}/policies/{policyLink%2Did}/policy{?%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[PolicyRequestBuilderGetRequestConfiguration] = None) -> Optional[Policy]: + """ + Policy. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[Policy] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.networkaccess.policy import Policy + + return await self.request_adapter.send_async(request_info, Policy, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[PolicyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Policy. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> PolicyRequestBuilder: + """ + 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: PolicyRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return PolicyRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class PolicyRequestBuilderGetQueryParameters(): + """ + Policy. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class PolicyRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[PolicyRequestBuilder.PolicyRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/network_access/filtering_profiles/item/policies/item/policy_link_item_request_builder.py b/msgraph_beta/generated/network_access/filtering_profiles/item/policies/item/policy_link_item_request_builder.py new file mode 100644 index 00000000000..b0f27c53938 --- /dev/null +++ b/msgraph_beta/generated/network_access/filtering_profiles/item/policies/item/policy_link_item_request_builder.py @@ -0,0 +1,225 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.networkaccess.policy_link import PolicyLink + from ......models.o_data_errors.o_data_error import ODataError + from .policy.policy_request_builder import PolicyRequestBuilder + +class PolicyLinkItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the policies property of the microsoft.graph.networkaccess.profile entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new PolicyLinkItemRequestBuilder 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}/networkAccess/filteringProfiles/{filteringProfile%2Did}/policies/{policyLink%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[PolicyLinkItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property policies for networkAccess + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[PolicyLinkItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PolicyLink]: + """ + Traffic forwarding policies associated with this profile. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[PolicyLink] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.networkaccess.policy_link import PolicyLink + + return await self.request_adapter.send_async(request_info, PolicyLink, error_mapping) + + async def patch(self,body: Optional[PolicyLink] = None, request_configuration: Optional[PolicyLinkItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[PolicyLink]: + """ + Update the navigation property policies in networkAccess + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[PolicyLink] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.networkaccess.policy_link import PolicyLink + + return await self.request_adapter.send_async(request_info, PolicyLink, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[PolicyLinkItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property policies for networkAccess + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[PolicyLinkItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Traffic forwarding policies associated with this profile. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[PolicyLink] = None, request_configuration: Optional[PolicyLinkItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property policies in networkAccess + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> PolicyLinkItemRequestBuilder: + """ + 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: PolicyLinkItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return PolicyLinkItemRequestBuilder(self.request_adapter, raw_url) + + @property + def policy(self) -> PolicyRequestBuilder: + """ + Provides operations to manage the policy property of the microsoft.graph.networkaccess.policyLink entity. + """ + from .policy.policy_request_builder import PolicyRequestBuilder + + return PolicyRequestBuilder(self.request_adapter, self.path_parameters) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class PolicyLinkItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class PolicyLinkItemRequestBuilderGetQueryParameters(): + """ + Traffic forwarding policies associated with this profile. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class PolicyLinkItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[PolicyLinkItemRequestBuilder.PolicyLinkItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class PolicyLinkItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/network_access/filtering_profiles/item/policies/policies_request_builder.py b/msgraph_beta/generated/network_access/filtering_profiles/item/policies/policies_request_builder.py new file mode 100644 index 00000000000..d70fd3dec85 --- /dev/null +++ b/msgraph_beta/generated/network_access/filtering_profiles/item/policies/policies_request_builder.py @@ -0,0 +1,226 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.networkaccess.policy_link import PolicyLink + from .....models.networkaccess.policy_link_collection_response import PolicyLinkCollectionResponse + from .....models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.policy_link_item_request_builder import PolicyLinkItemRequestBuilder + +class PoliciesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the policies property of the microsoft.graph.networkaccess.profile entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new PoliciesRequestBuilder 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}/networkAccess/filteringProfiles/{filteringProfile%2Did}/policies{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_policy_link_id(self,policy_link_id: str) -> PolicyLinkItemRequestBuilder: + """ + Provides operations to manage the policies property of the microsoft.graph.networkaccess.profile entity. + param policy_link_id: The unique identifier of policyLink + Returns: PolicyLinkItemRequestBuilder + """ + if not policy_link_id: + raise TypeError("policy_link_id cannot be null.") + from .item.policy_link_item_request_builder import PolicyLinkItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["policyLink%2Did"] = policy_link_id + return PolicyLinkItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[PoliciesRequestBuilderGetRequestConfiguration] = None) -> Optional[PolicyLinkCollectionResponse]: + """ + Traffic forwarding policies associated with this profile. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[PolicyLinkCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.networkaccess.policy_link_collection_response import PolicyLinkCollectionResponse + + return await self.request_adapter.send_async(request_info, PolicyLinkCollectionResponse, error_mapping) + + async def post(self,body: Optional[PolicyLink] = None, request_configuration: Optional[PoliciesRequestBuilderPostRequestConfiguration] = None) -> Optional[PolicyLink]: + """ + Create new navigation property to policies for networkAccess + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[PolicyLink] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.networkaccess.policy_link import PolicyLink + + return await self.request_adapter.send_async(request_info, PolicyLink, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[PoliciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Traffic forwarding policies associated with this profile. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[PolicyLink] = None, request_configuration: Optional[PoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to policies for networkAccess + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> PoliciesRequestBuilder: + """ + 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: PoliciesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return PoliciesRequestBuilder(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 PoliciesRequestBuilderGetQueryParameters(): + """ + Traffic forwarding policies associated with this profile. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class PoliciesRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[PoliciesRequestBuilder.PoliciesRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class PoliciesRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/network_access/forwarding_policies/forwarding_policies_request_builder.py b/msgraph_beta/generated/network_access/forwarding_policies/forwarding_policies_request_builder.py index c0d2d4278f4..96195a76066 100644 --- a/msgraph_beta/generated/network_access/forwarding_policies/forwarding_policies_request_builder.py +++ b/msgraph_beta/generated/network_access/forwarding_policies/forwarding_policies_request_builder.py @@ -45,7 +45,7 @@ def by_forwarding_policy_id(self,forwarding_policy_id: str) -> ForwardingPolicyI async def get(self,request_configuration: Optional[ForwardingPoliciesRequestBuilderGetRequestConfiguration] = None) -> Optional[ForwardingPolicyCollectionResponse]: """ - Retrieve information about a specific forwarding policy. This API is available in the following national cloud deployments. + Retrieve information about a specific forwarding policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardingPolicyCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[ForwardingPolicy] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[ForwardingPoliciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve information about a specific forwarding policy. This API is available in the following national cloud deployments. + Retrieve information about a specific forwarding policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ForwardingPo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ForwardingPolicy] = None, request_configuration: Optional[ForwardingPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ForwardingPolicy] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ForwardingPoliciesRequestBuilderGetQueryParameters(): """ - Retrieve information about a specific forwarding policy. This API is available in the following national cloud deployments. + Retrieve information about a specific forwarding policy. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/network_access/forwarding_policies/item/forwarding_policy_item_request_builder.py b/msgraph_beta/generated/network_access/forwarding_policies/item/forwarding_policy_item_request_builder.py index cc0be1e1448..6654ff2bcf0 100644 --- a/msgraph_beta/generated/network_access/forwarding_policies/item/forwarding_policy_item_request_builder.py +++ b/msgraph_beta/generated/network_access/forwarding_policies/item/forwarding_policy_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[ForwardingPolicyItemReques async def get(self,request_configuration: Optional[ForwardingPolicyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ForwardingPolicy]: """ - Retrieve information about a specific forwarding policy. This API is available in the following national cloud deployments. + Retrieve information about a specific forwarding policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardingPolicy] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-forwardingpolicy-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Forwardin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ForwardingPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve information about a specific forwarding policy. This API is available in the following national cloud deployments. + Retrieve information about a specific forwarding policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[ForwardingPo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ForwardingPolicy] = None, request_configuration: Optional[ForwardingPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ForwardingPolicy] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class ForwardingPolicyItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class ForwardingPolicyItemRequestBuilderGetQueryParameters(): """ - Retrieve information about a specific forwarding policy. This API is available in the following national cloud deployments. + Retrieve information about a specific forwarding policy. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/network_access/forwarding_policies/item/microsoft_graph_networkaccess_update_policy_rules/microsoft_graph_networkaccess_update_policy_rules_request_builder.py b/msgraph_beta/generated/network_access/forwarding_policies/item/microsoft_graph_networkaccess_update_policy_rules/microsoft_graph_networkaccess_update_policy_rules_request_builder.py index 6cd6101d8ac..086f732c959 100644 --- a/msgraph_beta/generated/network_access/forwarding_policies/item/microsoft_graph_networkaccess_update_policy_rules/microsoft_graph_networkaccess_update_policy_rules_request_builder.py +++ b/msgraph_beta/generated/network_access/forwarding_policies/item/microsoft_graph_networkaccess_update_policy_rules/microsoft_graph_networkaccess_update_policy_rules_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UpdatePolicyRulesPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphNetworkaccessUpdatePolicyRulesRequestBuilderPostRequestConfiguration] = None) -> None: """ - Update the rules within a forwarding policy. This API is available in the following national cloud deployments. + Update the rules within a forwarding policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[UpdatePolicyRulesPostRequestBody] = None, req def to_post_request_information(self,body: Optional[UpdatePolicyRulesPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphNetworkaccessUpdatePolicyRulesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Update the rules within a forwarding policy. This API is available in the following national cloud deployments. + Update the rules within a forwarding policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[UpdatePolicyRulesPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/network_access/forwarding_policies/item/policy_rules/item/policy_rule_item_request_builder.py b/msgraph_beta/generated/network_access/forwarding_policies/item/policy_rules/item/policy_rule_item_request_builder.py index 6bfa334e968..8c288c644f1 100644 --- a/msgraph_beta/generated/network_access/forwarding_policies/item/policy_rules/item/policy_rule_item_request_builder.py +++ b/msgraph_beta/generated/network_access/forwarding_policies/item/policy_rules/item/policy_rule_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PolicyRul request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PolicyRuleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PolicyRuleIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PolicyRule] = None, request_configuration: Optional[PolicyRuleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PolicyRule] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/network_access/forwarding_policies/item/policy_rules/policy_rules_request_builder.py b/msgraph_beta/generated/network_access/forwarding_policies/item/policy_rules/policy_rules_request_builder.py index 0fb59e4278b..7f912ae1e69 100644 --- a/msgraph_beta/generated/network_access/forwarding_policies/item/policy_rules/policy_rules_request_builder.py +++ b/msgraph_beta/generated/network_access/forwarding_policies/item/policy_rules/policy_rules_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PolicyRulesR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PolicyRule] = None, request_configuration: Optional[PolicyRulesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[PolicyRule] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/network_access/forwarding_profiles/forwarding_profiles_request_builder.py b/msgraph_beta/generated/network_access/forwarding_profiles/forwarding_profiles_request_builder.py index 388418920c0..81753da824c 100644 --- a/msgraph_beta/generated/network_access/forwarding_profiles/forwarding_profiles_request_builder.py +++ b/msgraph_beta/generated/network_access/forwarding_profiles/forwarding_profiles_request_builder.py @@ -45,7 +45,7 @@ def by_forwarding_profile_id(self,forwarding_profile_id: str) -> ForwardingProfi async def get(self,request_configuration: Optional[ForwardingProfilesRequestBuilderGetRequestConfiguration] = None) -> Optional[ForwardingProfileCollectionResponse]: """ - Retrieve a list of forwarding profiles. This API is available in the following national cloud deployments. + Retrieve a list of forwarding profiles. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardingProfileCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-networkaccessroot-list-forwardingprofiles?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ForwardingProfile] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[ForwardingProfilesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of forwarding profiles. This API is available in the following national cloud deployments. + Retrieve a list of forwarding profiles. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ForwardingPr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ForwardingProfile] = None, request_configuration: Optional[ForwardingProfilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ForwardingProfile] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ForwardingProfilesRequestBuilderGetQueryParameters(): """ - Retrieve a list of forwarding profiles. This API is available in the following national cloud deployments. + Retrieve a list of forwarding profiles. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/network_access/forwarding_profiles/item/forwarding_profile_item_request_builder.py b/msgraph_beta/generated/network_access/forwarding_profiles/item/forwarding_profile_item_request_builder.py index 9be7a74696e..82f24e1f052 100644 --- a/msgraph_beta/generated/network_access/forwarding_profiles/item/forwarding_profile_item_request_builder.py +++ b/msgraph_beta/generated/network_access/forwarding_profiles/item/forwarding_profile_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ForwardingProfileItemReque async def get(self,request_configuration: Optional[ForwardingProfileItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ForwardingProfile]: """ - Retrieve information about a specific forwarding profile. This API is available in the following national cloud deployments. + Retrieve information about a specific forwarding profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardingProfile] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-forwardingprofile-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[ForwardingProfileItemRequestB async def patch(self,body: Optional[ForwardingProfile] = None, request_configuration: Optional[ForwardingProfileItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ForwardingProfile]: """ - Update an existing forwarding profile. This API is available in the following national cloud deployments. + Update an existing forwarding profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardingProfile] @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Forwardin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ForwardingProfileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve information about a specific forwarding profile. This API is available in the following national cloud deployments. + Retrieve information about a specific forwarding profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[ForwardingPr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ForwardingProfile] = None, request_configuration: Optional[ForwardingProfileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update an existing forwarding profile. This API is available in the following national cloud deployments. + Update an existing forwarding profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ForwardingProfile] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class ForwardingProfileItemRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class ForwardingProfileItemRequestBuilderGetQueryParameters(): """ - Retrieve information about a specific forwarding profile. This API is available in the following national cloud deployments. + Retrieve information about a specific forwarding profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/network_access/forwarding_profiles/item/policies/item/policy/policy_request_builder.py b/msgraph_beta/generated/network_access/forwarding_profiles/item/policies/item/policy/policy_request_builder.py index c558a3e4924..abde3571f94 100644 --- a/msgraph_beta/generated/network_access/forwarding_profiles/item/policies/item/policy/policy_request_builder.py +++ b/msgraph_beta/generated/network_access/forwarding_profiles/item/policies/item/policy/policy_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PolicyReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PolicyRequestBuilder: diff --git a/msgraph_beta/generated/network_access/forwarding_profiles/item/policies/item/policy_link_item_request_builder.py b/msgraph_beta/generated/network_access/forwarding_profiles/item/policies/item/policy_link_item_request_builder.py index 7b9c649c73c..a3ee2aa81f5 100644 --- a/msgraph_beta/generated/network_access/forwarding_profiles/item/policies/item/policy_link_item_request_builder.py +++ b/msgraph_beta/generated/network_access/forwarding_profiles/item/policies/item/policy_link_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PolicyLin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PolicyLinkItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PolicyLinkIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PolicyLink] = None, request_configuration: Optional[PolicyLinkItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[PolicyLink] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/network_access/forwarding_profiles/item/policies/policies_request_builder.py b/msgraph_beta/generated/network_access/forwarding_profiles/item/policies/policies_request_builder.py index 7465b3ddcb4..200fe550d42 100644 --- a/msgraph_beta/generated/network_access/forwarding_profiles/item/policies/policies_request_builder.py +++ b/msgraph_beta/generated/network_access/forwarding_profiles/item/policies/policies_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PoliciesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PolicyLink] = None, request_configuration: Optional[PoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[PolicyLink] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/network_access/logs/logs_request_builder.py b/msgraph_beta/generated/network_access/logs/logs_request_builder.py index 729bba170a9..5912d88d878 100644 --- a/msgraph_beta/generated/network_access/logs/logs_request_builder.py +++ b/msgraph_beta/generated/network_access/logs/logs_request_builder.py @@ -12,6 +12,7 @@ if TYPE_CHECKING: from ...models.networkaccess.logs import Logs from ...models.o_data_errors.o_data_error import ODataError + from .remote_networks.remote_networks_request_builder import RemoteNetworksRequestBuilder from .traffic.traffic_request_builder import TrafficRequestBuilder class LogsRequestBuilder(BaseRequestBuilder): @@ -104,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[LogsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LogsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[LogsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Logs] = None, request_configuration: Optional[LogsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Logs] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -154,6 +155,15 @@ def with_url(self,raw_url: Optional[str] = None) -> LogsRequestBuilder: raise TypeError("raw_url cannot be null.") return LogsRequestBuilder(self.request_adapter, raw_url) + @property + def remote_networks(self) -> RemoteNetworksRequestBuilder: + """ + Provides operations to manage the remoteNetworks property of the microsoft.graph.networkaccess.logs entity. + """ + from .remote_networks.remote_networks_request_builder import RemoteNetworksRequestBuilder + + return RemoteNetworksRequestBuilder(self.request_adapter, self.path_parameters) + @property def traffic(self) -> TrafficRequestBuilder: """ diff --git a/msgraph_beta/generated/network_access/logs/remote_networks/count/count_request_builder.py b/msgraph_beta/generated/network_access/logs/remote_networks/count/count_request_builder.py new file mode 100644 index 00000000000..80143321998 --- /dev/null +++ b/msgraph_beta/generated/network_access/logs/remote_networks/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/networkAccess/logs/remoteNetworks/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/network_access/logs/remote_networks/item/remote_network_health_event_item_request_builder.py b/msgraph_beta/generated/network_access/logs/remote_networks/item/remote_network_health_event_item_request_builder.py new file mode 100644 index 00000000000..43cbff9e97a --- /dev/null +++ b/msgraph_beta/generated/network_access/logs/remote_networks/item/remote_network_health_event_item_request_builder.py @@ -0,0 +1,215 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.networkaccess.remote_network_health_event import RemoteNetworkHealthEvent + from .....models.o_data_errors.o_data_error import ODataError + +class RemoteNetworkHealthEventItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the remoteNetworks property of the microsoft.graph.networkaccess.logs entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new RemoteNetworkHealthEventItemRequestBuilder 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}/networkAccess/logs/remoteNetworks/{remoteNetworkHealthEvent%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[RemoteNetworkHealthEventItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property remoteNetworks for networkAccess + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[RemoteNetworkHealthEventItemRequestBuilderGetRequestConfiguration] = None) -> Optional[RemoteNetworkHealthEvent]: + """ + A collection of remote network health events. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RemoteNetworkHealthEvent] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.networkaccess.remote_network_health_event import RemoteNetworkHealthEvent + + return await self.request_adapter.send_async(request_info, RemoteNetworkHealthEvent, error_mapping) + + async def patch(self,body: Optional[RemoteNetworkHealthEvent] = None, request_configuration: Optional[RemoteNetworkHealthEventItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[RemoteNetworkHealthEvent]: + """ + Update the navigation property remoteNetworks in networkAccess + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RemoteNetworkHealthEvent] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.networkaccess.remote_network_health_event import RemoteNetworkHealthEvent + + return await self.request_adapter.send_async(request_info, RemoteNetworkHealthEvent, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RemoteNetworkHealthEventItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property remoteNetworks for networkAccess + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[RemoteNetworkHealthEventItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + A collection of remote network health events. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[RemoteNetworkHealthEvent] = None, request_configuration: Optional[RemoteNetworkHealthEventItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property remoteNetworks in networkAccess + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> RemoteNetworkHealthEventItemRequestBuilder: + """ + 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: RemoteNetworkHealthEventItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return RemoteNetworkHealthEventItemRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class RemoteNetworkHealthEventItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class RemoteNetworkHealthEventItemRequestBuilderGetQueryParameters(): + """ + A collection of remote network health events. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class RemoteNetworkHealthEventItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[RemoteNetworkHealthEventItemRequestBuilder.RemoteNetworkHealthEventItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class RemoteNetworkHealthEventItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/network_access/logs/remote_networks/remote_networks_request_builder.py b/msgraph_beta/generated/network_access/logs/remote_networks/remote_networks_request_builder.py new file mode 100644 index 00000000000..22f7e764abf --- /dev/null +++ b/msgraph_beta/generated/network_access/logs/remote_networks/remote_networks_request_builder.py @@ -0,0 +1,227 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.networkaccess.remote_network_health_event import RemoteNetworkHealthEvent + from ....models.networkaccess.remote_network_health_event_collection_response import RemoteNetworkHealthEventCollectionResponse + from ....models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.remote_network_health_event_item_request_builder import RemoteNetworkHealthEventItemRequestBuilder + +class RemoteNetworksRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the remoteNetworks property of the microsoft.graph.networkaccess.logs entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new RemoteNetworksRequestBuilder 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}/networkAccess/logs/remoteNetworks{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_remote_network_health_event_id(self,remote_network_health_event_id: str) -> RemoteNetworkHealthEventItemRequestBuilder: + """ + Provides operations to manage the remoteNetworks property of the microsoft.graph.networkaccess.logs entity. + param remote_network_health_event_id: The unique identifier of remoteNetworkHealthEvent + Returns: RemoteNetworkHealthEventItemRequestBuilder + """ + if not remote_network_health_event_id: + raise TypeError("remote_network_health_event_id cannot be null.") + from .item.remote_network_health_event_item_request_builder import RemoteNetworkHealthEventItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["remoteNetworkHealthEvent%2Did"] = remote_network_health_event_id + return RemoteNetworkHealthEventItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RemoteNetworksRequestBuilderGetRequestConfiguration] = None) -> Optional[RemoteNetworkHealthEventCollectionResponse]: + """ + Retrieve a list of remote network health status microsoft.graph.networkaccess.remoteNetworkHealthStatusEvent events, providing insights into the health and status of remote networks. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RemoteNetworkHealthEventCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/networkaccess-remotenetworkhealthstatusevent-list?view=graph-rest-1.0 + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.networkaccess.remote_network_health_event_collection_response import RemoteNetworkHealthEventCollectionResponse + + return await self.request_adapter.send_async(request_info, RemoteNetworkHealthEventCollectionResponse, error_mapping) + + async def post(self,body: Optional[RemoteNetworkHealthEvent] = None, request_configuration: Optional[RemoteNetworksRequestBuilderPostRequestConfiguration] = None) -> Optional[RemoteNetworkHealthEvent]: + """ + Create new navigation property to remoteNetworks for networkAccess + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RemoteNetworkHealthEvent] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.networkaccess.remote_network_health_event import RemoteNetworkHealthEvent + + return await self.request_adapter.send_async(request_info, RemoteNetworkHealthEvent, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RemoteNetworksRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Retrieve a list of remote network health status microsoft.graph.networkaccess.remoteNetworkHealthStatusEvent events, providing insights into the health and status of remote networks. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[RemoteNetworkHealthEvent] = None, request_configuration: Optional[RemoteNetworksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to remoteNetworks for networkAccess + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> RemoteNetworksRequestBuilder: + """ + 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: RemoteNetworksRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return RemoteNetworksRequestBuilder(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 RemoteNetworksRequestBuilderGetQueryParameters(): + """ + Retrieve a list of remote network health status microsoft.graph.networkaccess.remoteNetworkHealthStatusEvent events, providing insights into the health and status of remote networks. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class RemoteNetworksRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[RemoteNetworksRequestBuilder.RemoteNetworksRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class RemoteNetworksRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/network_access/logs/traffic/item/network_access_traffic_transaction_item_request_builder.py b/msgraph_beta/generated/network_access/logs/traffic/item/network_access_traffic_transaction_item_request_builder.py index 440b5fb2db6..1d027babf4d 100644 --- a/msgraph_beta/generated/network_access/logs/traffic/item/network_access_traffic_transaction_item_request_builder.py +++ b/msgraph_beta/generated/network_access/logs/traffic/item/network_access_traffic_transaction_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[NetworkAccessTrafficTransa async def get(self,request_configuration: Optional[NetworkAccessTrafficTransactionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[NetworkAccessTraffic]: """ - Represents a collection of log entries in the network access traffic log. + A network access traffic log entry that contains comprehensive information about network traffic events. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[NetworkAccessTraffic] """ @@ -103,12 +103,12 @@ def to_delete_request_information(self,request_configuration: Optional[NetworkAc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[NetworkAccessTrafficTransactionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Represents a collection of log entries in the network access traffic log. + A network access traffic log entry that contains comprehensive information about network traffic events. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[NetworkAcces request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[NetworkAccessTraffic] = None, request_configuration: Optional[NetworkAccessTrafficTransactionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[NetworkAccessTraffic] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -166,7 +166,7 @@ class NetworkAccessTrafficTransactionItemRequestBuilderDeleteRequestConfiguratio @dataclass class NetworkAccessTrafficTransactionItemRequestBuilderGetQueryParameters(): """ - Represents a collection of log entries in the network access traffic log. + A network access traffic log entry that contains comprehensive information about network traffic events. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/network_access/logs/traffic/traffic_request_builder.py b/msgraph_beta/generated/network_access/logs/traffic/traffic_request_builder.py index 5945c070636..222a0959995 100644 --- a/msgraph_beta/generated/network_access/logs/traffic/traffic_request_builder.py +++ b/msgraph_beta/generated/network_access/logs/traffic/traffic_request_builder.py @@ -45,7 +45,7 @@ def by_network_access_traffic_transaction_id(self,network_access_traffic_transac async def get(self,request_configuration: Optional[TrafficRequestBuilderGetRequestConfiguration] = None) -> Optional[NetworkAccessTrafficCollectionResponse]: """ - Get a list of log events for traffic routed through the Global Secure Access services. This API is available in the following national cloud deployments. + Get a list of log events for traffic routed through the Global Secure Access services. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[NetworkAccessTrafficCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-logs-list-traffic?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[NetworkAccessTraffic] = None, request_configu def to_get_request_information(self,request_configuration: Optional[TrafficRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of log events for traffic routed through the Global Secure Access services. This API is available in the following national cloud deployments. + Get a list of log events for traffic routed through the Global Secure Access services. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[TrafficReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[NetworkAccessTraffic] = None, request_configuration: Optional[TrafficRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[NetworkAccessTraffic] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TrafficRequestBuilderGetQueryParameters(): """ - Get a list of log events for traffic routed through the Global Secure Access services. This API is available in the following national cloud deployments. + Get a list of log events for traffic routed through the Global Secure Access services. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/network_access/microsoft_graph_networkaccess_onboard/microsoft_graph_networkaccess_onboard_request_builder.py b/msgraph_beta/generated/network_access/microsoft_graph_networkaccess_onboard/microsoft_graph_networkaccess_onboard_request_builder.py index 5f9f88db6e5..1d54196405b 100644 --- a/msgraph_beta/generated/network_access/microsoft_graph_networkaccess_onboard/microsoft_graph_networkaccess_onboard_request_builder.py +++ b/msgraph_beta/generated/network_access/microsoft_graph_networkaccess_onboard/microsoft_graph_networkaccess_onboard_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphNetworkaccessOnboardRequestBuilder: diff --git a/msgraph_beta/generated/network_access/network_access_request_builder.py b/msgraph_beta/generated/network_access/network_access_request_builder.py index a87bdbd809b..841c086f0fc 100644 --- a/msgraph_beta/generated/network_access/network_access_request_builder.py +++ b/msgraph_beta/generated/network_access/network_access_request_builder.py @@ -13,6 +13,8 @@ from ..models.networkaccess.network_access_root import NetworkAccessRoot from ..models.o_data_errors.o_data_error import ODataError from .connectivity.connectivity_request_builder import ConnectivityRequestBuilder + from .filtering_policies.filtering_policies_request_builder import FilteringPoliciesRequestBuilder + from .filtering_profiles.filtering_profiles_request_builder import FilteringProfilesRequestBuilder from .forwarding_policies.forwarding_policies_request_builder import ForwardingPoliciesRequestBuilder from .forwarding_profiles.forwarding_profiles_request_builder import ForwardingProfilesRequestBuilder from .logs.logs_request_builder import LogsRequestBuilder @@ -93,7 +95,7 @@ def to_get_request_information(self,request_configuration: Optional[NetworkAcces request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[NetworkAccessRoot] = None, request_configuration: Optional[NetworkAccessRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -112,7 +114,7 @@ def to_patch_request_information(self,body: Optional[NetworkAccessRoot] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -135,6 +137,24 @@ def connectivity(self) -> ConnectivityRequestBuilder: return ConnectivityRequestBuilder(self.request_adapter, self.path_parameters) + @property + def filtering_policies(self) -> FilteringPoliciesRequestBuilder: + """ + Provides operations to manage the filteringPolicies property of the microsoft.graph.networkaccess.networkAccessRoot entity. + """ + from .filtering_policies.filtering_policies_request_builder import FilteringPoliciesRequestBuilder + + return FilteringPoliciesRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def filtering_profiles(self) -> FilteringProfilesRequestBuilder: + """ + Provides operations to manage the filteringProfiles property of the microsoft.graph.networkaccess.networkAccessRoot entity. + """ + from .filtering_profiles.filtering_profiles_request_builder import FilteringProfilesRequestBuilder + + return FilteringProfilesRequestBuilder(self.request_adapter, self.path_parameters) + @property def forwarding_policies(self) -> ForwardingPoliciesRequestBuilder: """ diff --git a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_cross_tenant_access_report_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_cross_tenant_access_report_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_cross_tenant_access_report_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_cross_tenant_access_report_with_start_date_time_with_end_date_time_request_builder.py index ce81147aec1..6b2b9e55cfd 100644 --- a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_cross_tenant_access_report_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_cross_tenant_access_report_with_start_date_time_with_end_date_time_request_builder.py +++ b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_cross_tenant_access_report_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_cross_tenant_access_report_with_start_date_time_with_end_date_time_request_builder.py @@ -67,7 +67,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilder: diff --git a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_destination_report_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_destination_report_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_destination_report_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_destination_report_with_start_date_time_with_end_date_time_request_builder.py index 2258410f65e..93dd7bd3414 100644 --- a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_destination_report_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_destination_report_with_start_date_time_with_end_date_time_request_builder.py +++ b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_destination_report_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_destination_report_with_start_date_time_with_end_date_time_request_builder.py @@ -67,7 +67,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder: diff --git a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_device_report_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_device_report_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_device_report_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_device_report_with_start_date_time_with_end_date_time_request_builder.py index e2e79cd8b46..d957b91e35f 100644 --- a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_device_report_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_device_report_with_start_date_time_with_end_date_time_request_builder.py +++ b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_device_report_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_device_report_with_start_date_time_with_end_date_time_request_builder.py @@ -67,7 +67,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder: diff --git a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_entities_summaries_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_entities_summaries_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_entities_summaries_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_entities_summaries_with_start_date_time_with_end_date_time_request_builder.py index d4646eaf58a..8fc4c3a88d4 100644 --- a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_entities_summaries_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_entities_summaries_with_start_date_time_with_end_date_time_request_builder.py +++ b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_entities_summaries_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_entities_summaries_with_start_date_time_with_end_date_time_request_builder.py @@ -67,7 +67,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilder: diff --git a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_get_cross_tenant_summary_with_start_date_time_with_end_date_time_with_discovery_pivot_date_time/microsoft_graph_networkaccess_get_cross_tenant_summary_with_start_date_time_with_end_date_time_with_discovery_pivot_date_time_request_builder.py b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_get_cross_tenant_summary_with_start_date_time_with_end_date_time_with_discovery_pivot_date_time/microsoft_graph_networkaccess_get_cross_tenant_summary_with_start_date_time_with_end_date_time_with_discovery_pivot_date_time_request_builder.py index 6eb3233c756..433eedacd20 100644 --- a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_get_cross_tenant_summary_with_start_date_time_with_end_date_time_with_discovery_pivot_date_time/microsoft_graph_networkaccess_get_cross_tenant_summary_with_start_date_time_with_end_date_time_with_discovery_pivot_date_time_request_builder.py +++ b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_get_cross_tenant_summary_with_start_date_time_with_end_date_time_with_discovery_pivot_date_time/microsoft_graph_networkaccess_get_cross_tenant_summary_with_start_date_time_with_end_date_time_with_discovery_pivot_date_time_request_builder.py @@ -68,7 +68,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphNetworkaccessGetCrossTenantSummaryWithStartDateTimeWithEndDateTimeWithDiscoveryPivotDateTimeRequestBuilder: diff --git a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_get_destination_summaries_with_start_date_time_with_end_date_time_with_aggregated_by/microsoft_graph_networkaccess_get_destination_summaries_with_start_date_time_with_end_date_time_with_aggregated_by_request_builder.py b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_get_destination_summaries_with_start_date_time_with_end_date_time_with_aggregated_by/microsoft_graph_networkaccess_get_destination_summaries_with_start_date_time_with_end_date_time_with_aggregated_by_request_builder.py index 654c6f6a313..202fb88c0c3 100644 --- a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_get_destination_summaries_with_start_date_time_with_end_date_time_with_aggregated_by/microsoft_graph_networkaccess_get_destination_summaries_with_start_date_time_with_end_date_time_with_aggregated_by_request_builder.py +++ b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_get_destination_summaries_with_start_date_time_with_end_date_time_with_aggregated_by/microsoft_graph_networkaccess_get_destination_summaries_with_start_date_time_with_end_date_time_with_aggregated_by_request_builder.py @@ -69,7 +69,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphNetworkaccessGetDestinationSummariesWithStartDateTimeWithEndDateTimeWithAggregatedByRequestBuilder: diff --git a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_get_device_usage_summary_with_start_date_time_with_end_date_time_with_activity_pivot_date_time/microsoft_graph_networkaccess_get_device_usage_summary_with_start_date_time_with_end_date_time_with_activity_pivot_date_time_request_builder.py b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_get_device_usage_summary_with_start_date_time_with_end_date_time_with_activity_pivot_date_time/microsoft_graph_networkaccess_get_device_usage_summary_with_start_date_time_with_end_date_time_with_activity_pivot_date_time_request_builder.py index 50f02d25179..547d7c434fe 100644 --- a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_get_device_usage_summary_with_start_date_time_with_end_date_time_with_activity_pivot_date_time/microsoft_graph_networkaccess_get_device_usage_summary_with_start_date_time_with_end_date_time_with_activity_pivot_date_time_request_builder.py +++ b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_get_device_usage_summary_with_start_date_time_with_end_date_time_with_activity_pivot_date_time/microsoft_graph_networkaccess_get_device_usage_summary_with_start_date_time_with_end_date_time_with_activity_pivot_date_time_request_builder.py @@ -68,7 +68,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphNetworkaccessGetDeviceUsageSummaryWithStartDateTimeWithEndDateTimeWithActivityPivotDateTimeRequestBuilder: diff --git a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_traffic_distribution_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_traffic_distribution_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_traffic_distribution_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_traffic_distribution_with_start_date_time_with_end_date_time_request_builder.py index 0426ed3e510..a4412ca412a 100644 --- a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_traffic_distribution_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_traffic_distribution_with_start_date_time_with_end_date_time_request_builder.py +++ b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_traffic_distribution_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_traffic_distribution_with_start_date_time_with_end_date_time_request_builder.py @@ -67,7 +67,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphNetworkaccessTrafficDistributionWithStartDateTimeWithEndDateTimeRequestBuilder: diff --git a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_transaction_summaries_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_transaction_summaries_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_transaction_summaries_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_transaction_summaries_with_start_date_time_with_end_date_time_request_builder.py index 9744537c76d..5369887678d 100644 --- a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_transaction_summaries_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_transaction_summaries_with_start_date_time_with_end_date_time_request_builder.py +++ b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_transaction_summaries_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_transaction_summaries_with_start_date_time_with_end_date_time_request_builder.py @@ -67,7 +67,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder: diff --git a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_user_report_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_user_report_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_user_report_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_user_report_with_start_date_time_with_end_date_time_request_builder.py index c8c7151cda4..72003da1568 100644 --- a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_user_report_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_user_report_with_start_date_time_with_end_date_time_request_builder.py +++ b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_user_report_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_user_report_with_start_date_time_with_end_date_time_request_builder.py @@ -67,7 +67,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphNetworkaccessUserReportWithStartDateTimeWithEndDateTimeRequestBuilder: diff --git a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_web_category_report_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_web_category_report_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_web_category_report_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_web_category_report_with_start_date_time_with_end_date_time_request_builder.py index 8d18753a25a..ea26da42113 100644 --- a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_web_category_report_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_web_category_report_with_start_date_time_with_end_date_time_request_builder.py +++ b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_web_category_report_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_web_category_report_with_start_date_time_with_end_date_time_request_builder.py @@ -67,7 +67,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphNetworkaccessWebCategoryReportWithStartDateTimeWithEndDateTimeRequestBuilder: diff --git a/msgraph_beta/generated/network_access/reports/reports_request_builder.py b/msgraph_beta/generated/network_access/reports/reports_request_builder.py index deb7a4bc21b..44f55558cc6 100644 --- a/msgraph_beta/generated/network_access/reports/reports_request_builder.py +++ b/msgraph_beta/generated/network_access/reports/reports_request_builder.py @@ -289,7 +289,7 @@ def to_delete_request_information(self,request_configuration: Optional[ReportsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ReportsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -306,7 +306,7 @@ def to_get_request_information(self,request_configuration: Optional[ReportsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Reports] = None, request_configuration: Optional[ReportsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -325,7 +325,7 @@ def to_patch_request_information(self,body: Optional[Reports] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/network_access/settings/conditional_access/conditional_access_request_builder.py b/msgraph_beta/generated/network_access/settings/conditional_access/conditional_access_request_builder.py index 9bc7c050c85..41df00a90cd 100644 --- a/msgraph_beta/generated/network_access/settings/conditional_access/conditional_access_request_builder.py +++ b/msgraph_beta/generated/network_access/settings/conditional_access/conditional_access_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ConditionalAccessRequestBu async def get(self,request_configuration: Optional[ConditionalAccessRequestBuilderGetRequestConfiguration] = None) -> Optional[ConditionalAccessSettings]: """ - Retrieve the conditional access settings, which include the preservation of the original source IP address in network traffic for accurate identification and tracking, and the establishment of scalable network connectivity through the Global Secure Access services. This API is available in the following national cloud deployments. + Retrieve the conditional access settings, which include the preservation of the original source IP address in network traffic for accurate identification and tracking, and the establishment of scalable network connectivity through the Global Secure Access services. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConditionalAccessSettings] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-conditionalaccesssettings-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[ConditionalAccessRequestBuild async def patch(self,body: Optional[ConditionalAccessSettings] = None, request_configuration: Optional[ConditionalAccessRequestBuilderPatchRequestConfiguration] = None) -> Optional[ConditionalAccessSettings]: """ - Update the conditional access settings to include the preservation of the original source IP address in network traffic for accurate identification and tracking, as well as the establishment of scalable network connectivity through the Global Secure Access services. This API is available in the following national cloud deployments. + Update the conditional access settings to include the preservation of the original source IP address in network traffic for accurate identification and tracking, as well as the establishment of scalable network connectivity through the Global Secure Access services. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConditionalAccessSettings] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Condition request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConditionalAccessRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the conditional access settings, which include the preservation of the original source IP address in network traffic for accurate identification and tracking, and the establishment of scalable network connectivity through the Global Secure Access services. This API is available in the following national cloud deployments. + Retrieve the conditional access settings, which include the preservation of the original source IP address in network traffic for accurate identification and tracking, and the establishment of scalable network connectivity through the Global Secure Access services. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[ConditionalA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConditionalAccessSettings] = None, request_configuration: Optional[ConditionalAccessRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the conditional access settings to include the preservation of the original source IP address in network traffic for accurate identification and tracking, as well as the establishment of scalable network connectivity through the Global Secure Access services. This API is available in the following national cloud deployments. + Update the conditional access settings to include the preservation of the original source IP address in network traffic for accurate identification and tracking, as well as the establishment of scalable network connectivity through the Global Secure Access services. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ConditionalAccessSettings] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ConditionalAccessRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class ConditionalAccessRequestBuilderGetQueryParameters(): """ - Retrieve the conditional access settings, which include the preservation of the original source IP address in network traffic for accurate identification and tracking, and the establishment of scalable network connectivity through the Global Secure Access services. This API is available in the following national cloud deployments. + Retrieve the conditional access settings, which include the preservation of the original source IP address in network traffic for accurate identification and tracking, and the establishment of scalable network connectivity through the Global Secure Access services. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/network_access/settings/cross_tenant_access/cross_tenant_access_request_builder.py b/msgraph_beta/generated/network_access/settings/cross_tenant_access/cross_tenant_access_request_builder.py index 5c8b34c7d3c..bdc5d764aaa 100644 --- a/msgraph_beta/generated/network_access/settings/cross_tenant_access/cross_tenant_access_request_builder.py +++ b/msgraph_beta/generated/network_access/settings/cross_tenant_access/cross_tenant_access_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[CrossTenantAccessRequestBu async def get(self,request_configuration: Optional[CrossTenantAccessRequestBuilderGetRequestConfiguration] = None) -> Optional[CrossTenantAccessSettings]: """ - Retrieve the cross-tenant access settings, which include network packet tagging to enforce Tenant Restrictions Policies (TRv2 Policies) aimed at preventing data exfiltration to external tenants. This API is available in the following national cloud deployments. + Retrieve the cross-tenant access settings, which include network packet tagging to enforce Tenant Restrictions Policies (TRv2 Policies) aimed at preventing data exfiltration to external tenants. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CrossTenantAccessSettings] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-crosstenantaccesssettings-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[CrossTenantAccessRequestBuild async def patch(self,body: Optional[CrossTenantAccessSettings] = None, request_configuration: Optional[CrossTenantAccessRequestBuilderPatchRequestConfiguration] = None) -> Optional[CrossTenantAccessSettings]: """ - Update the cross-tenant access settings to include network packet tagging for enforcing Tenant Restrictions Policies (TRv2 Policies) that prevent data exfiltration to external tenants. This API is available in the following national cloud deployments. + Update the cross-tenant access settings to include network packet tagging for enforcing Tenant Restrictions Policies (TRv2 Policies) that prevent data exfiltration to external tenants. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CrossTenantAccessSettings] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[CrossTena request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CrossTenantAccessRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the cross-tenant access settings, which include network packet tagging to enforce Tenant Restrictions Policies (TRv2 Policies) aimed at preventing data exfiltration to external tenants. This API is available in the following national cloud deployments. + Retrieve the cross-tenant access settings, which include network packet tagging to enforce Tenant Restrictions Policies (TRv2 Policies) aimed at preventing data exfiltration to external tenants. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[CrossTenantA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CrossTenantAccessSettings] = None, request_configuration: Optional[CrossTenantAccessRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the cross-tenant access settings to include network packet tagging for enforcing Tenant Restrictions Policies (TRv2 Policies) that prevent data exfiltration to external tenants. This API is available in the following national cloud deployments. + Update the cross-tenant access settings to include network packet tagging for enforcing Tenant Restrictions Policies (TRv2 Policies) that prevent data exfiltration to external tenants. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[CrossTenantAccessSettings] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class CrossTenantAccessRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class CrossTenantAccessRequestBuilderGetQueryParameters(): """ - Retrieve the cross-tenant access settings, which include network packet tagging to enforce Tenant Restrictions Policies (TRv2 Policies) aimed at preventing data exfiltration to external tenants. This API is available in the following national cloud deployments. + Retrieve the cross-tenant access settings, which include network packet tagging to enforce Tenant Restrictions Policies (TRv2 Policies) aimed at preventing data exfiltration to external tenants. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/network_access/settings/enriched_audit_logs/enriched_audit_logs_request_builder.py b/msgraph_beta/generated/network_access/settings/enriched_audit_logs/enriched_audit_logs_request_builder.py index 40335993057..c926a4b6433 100644 --- a/msgraph_beta/generated/network_access/settings/enriched_audit_logs/enriched_audit_logs_request_builder.py +++ b/msgraph_beta/generated/network_access/settings/enriched_audit_logs/enriched_audit_logs_request_builder.py @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[EnrichedAuditLogsRequestBuild async def patch(self,body: Optional[EnrichedAuditLogs] = None, request_configuration: Optional[EnrichedAuditLogsRequestBuilderPatchRequestConfiguration] = None) -> Optional[EnrichedAuditLogs]: """ - Update the settings for the enriched audit logs workloads to control the enrichment feature for each partner workload, such as SharePoint, Teams, and Exchange. This API is available in the following national cloud deployments. + Update the settings for the enriched audit logs workloads to control the enrichment feature for each partner workload, such as SharePoint, Teams, and Exchange. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EnrichedAuditLogs] @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[EnrichedA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EnrichedAuditLogsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,12 +121,12 @@ def to_get_request_information(self,request_configuration: Optional[EnrichedAudi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EnrichedAuditLogs] = None, request_configuration: Optional[EnrichedAuditLogsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the settings for the enriched audit logs workloads to control the enrichment feature for each partner workload, such as SharePoint, Teams, and Exchange. This API is available in the following national cloud deployments. + Update the settings for the enriched audit logs workloads to control the enrichment feature for each partner workload, such as SharePoint, Teams, and Exchange. 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 to_patch_request_information(self,body: Optional[EnrichedAuditLogs] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/network_access/settings/forwarding_options/forwarding_options_request_builder.py b/msgraph_beta/generated/network_access/settings/forwarding_options/forwarding_options_request_builder.py index a7b045bc07e..1d5443ac4c5 100644 --- a/msgraph_beta/generated/network_access/settings/forwarding_options/forwarding_options_request_builder.py +++ b/msgraph_beta/generated/network_access/settings/forwarding_options/forwarding_options_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ForwardingOptionsRequestBu async def get(self,request_configuration: Optional[ForwardingOptionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ForwardingOptions]: """ - Retrieve the forwarding options for the tenant, with a specific focus on the 'skipDnsLookupState' flag. This flag determines whether DNS lookup will be skipped, allowing Microsoft 365 traffic to be forwarded directly to the Front Door using the client-resolved destination. This API is available in the following national cloud deployments. + Retrieve the forwarding options for the tenant, with a specific focus on the 'skipDnsLookupState' flag. This flag determines whether DNS lookup will be skipped, allowing Microsoft 365 traffic to be forwarded directly to the Front Door using the client-resolved destination. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardingOptions] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-forwardingoptions-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[ForwardingOptionsRequestBuild async def patch(self,body: Optional[ForwardingOptions] = None, request_configuration: Optional[ForwardingOptionsRequestBuilderPatchRequestConfiguration] = None) -> Optional[ForwardingOptions]: """ - the forwarding options for the tenant, with a specific focus on the skipDnsLookupState flag. This flag determines whether DNS lookup will be skipped, allowing Microsoft 365 traffic to be forwarded directly to the Front Door using the client-resolved destination. This API is available in the following national cloud deployments. + the forwarding options for the tenant, with a specific focus on the skipDnsLookupState flag. This flag determines whether DNS lookup will be skipped, allowing Microsoft 365 traffic to be forwarded directly to the Front Door using the client-resolved destination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ForwardingOptions] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Forwardin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ForwardingOptionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the forwarding options for the tenant, with a specific focus on the 'skipDnsLookupState' flag. This flag determines whether DNS lookup will be skipped, allowing Microsoft 365 traffic to be forwarded directly to the Front Door using the client-resolved destination. This API is available in the following national cloud deployments. + Retrieve the forwarding options for the tenant, with a specific focus on the 'skipDnsLookupState' flag. This flag determines whether DNS lookup will be skipped, allowing Microsoft 365 traffic to be forwarded directly to the Front Door using the client-resolved destination. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[ForwardingOp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ForwardingOptions] = None, request_configuration: Optional[ForwardingOptionsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - the forwarding options for the tenant, with a specific focus on the skipDnsLookupState flag. This flag determines whether DNS lookup will be skipped, allowing Microsoft 365 traffic to be forwarded directly to the Front Door using the client-resolved destination. This API is available in the following national cloud deployments. + the forwarding options for the tenant, with a specific focus on the skipDnsLookupState flag. This flag determines whether DNS lookup will be skipped, allowing Microsoft 365 traffic to be forwarded directly to the Front Door using the client-resolved destination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ForwardingOptions] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ForwardingOptionsRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class ForwardingOptionsRequestBuilderGetQueryParameters(): """ - Retrieve the forwarding options for the tenant, with a specific focus on the 'skipDnsLookupState' flag. This flag determines whether DNS lookup will be skipped, allowing Microsoft 365 traffic to be forwarded directly to the Front Door using the client-resolved destination. This API is available in the following national cloud deployments. + Retrieve the forwarding options for the tenant, with a specific focus on the 'skipDnsLookupState' flag. This flag determines whether DNS lookup will be skipped, allowing Microsoft 365 traffic to be forwarded directly to the Front Door using the client-resolved destination. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/network_access/settings/settings_request_builder.py b/msgraph_beta/generated/network_access/settings/settings_request_builder.py index 27f391d1ced..a40e23ad87a 100644 --- a/msgraph_beta/generated/network_access/settings/settings_request_builder.py +++ b/msgraph_beta/generated/network_access/settings/settings_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[SettingsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Settings] = None, request_configuration: Optional[SettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[Settings] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/network_access/tenant_status/tenant_status_request_builder.py b/msgraph_beta/generated/network_access/tenant_status/tenant_status_request_builder.py index 98169dc05a9..de1638bceda 100644 --- a/msgraph_beta/generated/network_access/tenant_status/tenant_status_request_builder.py +++ b/msgraph_beta/generated/network_access/tenant_status/tenant_status_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[TenantStatusRequestBuilder async def get(self,request_configuration: Optional[TenantStatusRequestBuilderGetRequestConfiguration] = None) -> Optional[TenantStatus]: """ - Retrieve the onboarding status of a specific tenant. This API is available in the following national cloud deployments. + Retrieve the onboarding status of a specific tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TenantStatus] Find more info here: https://learn.microsoft.com/graph/api/networkaccess-tenantstatus-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[TenantSta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TenantStatusRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the onboarding status of a specific tenant. This API is available in the following national cloud deployments. + Retrieve the onboarding status of a specific tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TenantStatus request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TenantStatus] = None, request_configuration: Optional[TenantStatusRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[TenantStatus] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class TenantStatusRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class TenantStatusRequestBuilderGetQueryParameters(): """ - Retrieve the onboarding status of a specific tenant. This API is available in the following national cloud deployments. + Retrieve the onboarding status of a specific tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/oauth2_permission_grants/delta/delta_request_builder.py b/msgraph_beta/generated/oauth2_permission_grants/delta/delta_request_builder.py index 2cd735ba139..fe9354a0d53 100644 --- a/msgraph_beta/generated/oauth2_permission_grants/delta/delta_request_builder.py +++ b/msgraph_beta/generated/oauth2_permission_grants/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/oauth2_permission_grants/item/o_auth2_permission_grant_item_request_builder.py b/msgraph_beta/generated/oauth2_permission_grants/item/o_auth2_permission_grant_item_request_builder.py index 83f03d0dd3a..762049b7b9c 100644 --- a/msgraph_beta/generated/oauth2_permission_grants/item/o_auth2_permission_grant_item_request_builder.py +++ b/msgraph_beta/generated/oauth2_permission_grants/item/o_auth2_permission_grant_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[OAuth2PermissionGrantItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an oAuth2PermissionGrant, representing a delegated permission grant. When a delegated permission grant is deleted, the access it granted is revoked. Existing access tokens will continue to be valid for their lifetime, but new access tokens will not be granted for the delegated permissions identified in the deleted oAuth2PermissionGrant. This API is available in the following national cloud deployments. + Delete an oAuth2PermissionGrant, representing a delegated permission grant. When a delegated permission grant is deleted, the access it granted is revoked. Existing access tokens will continue to be valid for their lifetime, but new access tokens will not be granted for the delegated permissions identified in the deleted oAuth2PermissionGrant. 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/oauth2permissiongrant-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[OAuth2PermissionGrantItemR async def get(self,request_configuration: Optional[OAuth2PermissionGrantItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OAuth2PermissionGrant]: """ - Retrieve the properties of a single delegated permission grant represented by an oAuth2PermissionGrant object. An oAuth2PermissionGrant represents delegated permissions which have been granted for a client application to access an API on behalf of a signed-in user. This API is available in the following national cloud deployments. + Retrieve the properties of a single delegated permission grant represented by an oAuth2PermissionGrant object. An oAuth2PermissionGrant represents delegated permissions which have been granted for a client application to access an API on behalf of a signed-in user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OAuth2PermissionGrant] Find more info here: https://learn.microsoft.com/graph/api/oauth2permissiongrant-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[OAuth2PermissionGrantItemRequ async def patch(self,body: Optional[OAuth2PermissionGrant] = None, request_configuration: Optional[OAuth2PermissionGrantItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[OAuth2PermissionGrant]: """ - Update the properties of oAuth2PermissionGrant object, representing a delegated permission grant. An oAuth2PermissionGrant can be updated to change which delegated permissions are granted, by adding or removing items from the list in scopes. This API is available in the following national cloud deployments. + Update the properties of oAuth2PermissionGrant object, representing a delegated permission grant. An oAuth2PermissionGrant can be updated to change which delegated permissions are granted, by adding or removing items from the list in scopes. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OAuth2PermissionGrant] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[OAuth2PermissionGrant] = None, request_confi def to_delete_request_information(self,request_configuration: Optional[OAuth2PermissionGrantItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an oAuth2PermissionGrant, representing a delegated permission grant. When a delegated permission grant is deleted, the access it granted is revoked. Existing access tokens will continue to be valid for their lifetime, but new access tokens will not be granted for the delegated permissions identified in the deleted oAuth2PermissionGrant. This API is available in the following national cloud deployments. + Delete an oAuth2PermissionGrant, representing a delegated permission grant. When a delegated permission grant is deleted, the access it granted is revoked. Existing access tokens will continue to be valid for their lifetime, but new access tokens will not be granted for the delegated permissions identified in the deleted oAuth2PermissionGrant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[OAuth2Per request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OAuth2PermissionGrantItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of a single delegated permission grant represented by an oAuth2PermissionGrant object. An oAuth2PermissionGrant represents delegated permissions which have been granted for a client application to access an API on behalf of a signed-in user. This API is available in the following national cloud deployments. + Retrieve the properties of a single delegated permission grant represented by an oAuth2PermissionGrant object. An oAuth2PermissionGrant represents delegated permissions which have been granted for a client application to access an API on behalf of a signed-in user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[OAuth2Permis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OAuth2PermissionGrant] = None, request_configuration: Optional[OAuth2PermissionGrantItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of oAuth2PermissionGrant object, representing a delegated permission grant. An oAuth2PermissionGrant can be updated to change which delegated permissions are granted, by adding or removing items from the list in scopes. This API is available in the following national cloud deployments. + Update the properties of oAuth2PermissionGrant object, representing a delegated permission grant. An oAuth2PermissionGrant can be updated to change which delegated permissions are granted, by adding or removing items from the list in scopes. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[OAuth2PermissionGrant] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class OAuth2PermissionGrantItemRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class OAuth2PermissionGrantItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties of a single delegated permission grant represented by an oAuth2PermissionGrant object. An oAuth2PermissionGrant represents delegated permissions which have been granted for a client application to access an API on behalf of a signed-in user. This API is available in the following national cloud deployments. + Retrieve the properties of a single delegated permission grant represented by an oAuth2PermissionGrant object. An oAuth2PermissionGrant represents delegated permissions which have been granted for a client application to access an API on behalf of a signed-in user. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/oauth2_permission_grants/oauth2_permission_grants_request_builder.py b/msgraph_beta/generated/oauth2_permission_grants/oauth2_permission_grants_request_builder.py index 2702b3eb2b7..df1465e8144 100644 --- a/msgraph_beta/generated/oauth2_permission_grants/oauth2_permission_grants_request_builder.py +++ b/msgraph_beta/generated/oauth2_permission_grants/oauth2_permission_grants_request_builder.py @@ -46,7 +46,7 @@ def by_o_auth2_permission_grant_id(self,o_auth2_permission_grant_id: str) -> OAu async def get(self,request_configuration: Optional[Oauth2PermissionGrantsRequestBuilderGetRequestConfiguration] = None) -> Optional[OAuth2PermissionGrantCollectionResponse]: """ - Retrieve a list of oAuth2PermissionGrant objects, representing delegated permissions which have been granted for client applications to access APIs on behalf of signed-in users. This API is available in the following national cloud deployments. + Retrieve a list of oAuth2PermissionGrant objects, representing delegated permissions which have been granted for client applications to access APIs on behalf of signed-in users. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OAuth2PermissionGrantCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/oauth2permissiongrant-list?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[Oauth2PermissionGrantsRequest async def post(self,body: Optional[OAuth2PermissionGrant] = None, request_configuration: Optional[Oauth2PermissionGrantsRequestBuilderPostRequestConfiguration] = None) -> Optional[OAuth2PermissionGrant]: """ - Create a delegated permission grant, represented by an oAuth2PermissionGrant object. A delegated permission grant authorizes a client service principal (representing a client application) to access a resource service principal (representing an API), on behalf of a signed-in user, for the level of access limited by the delegated permissions which were granted. This API is available in the following national cloud deployments. + Create a delegated permission grant, represented by an oAuth2PermissionGrant object. A delegated permission grant authorizes a client service principal (representing a client application) to access a resource service principal (representing an API), on behalf of a signed-in user, for the level of access limited by the delegated permissions which were granted. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OAuth2PermissionGrant] @@ -93,7 +93,7 @@ async def post(self,body: Optional[OAuth2PermissionGrant] = None, request_config def to_get_request_information(self,request_configuration: Optional[Oauth2PermissionGrantsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of oAuth2PermissionGrant objects, representing delegated permissions which have been granted for client applications to access APIs on behalf of signed-in users. This API is available in the following national cloud deployments. + Retrieve a list of oAuth2PermissionGrant objects, representing delegated permissions which have been granted for client applications to access APIs on behalf of signed-in users. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[Oauth2Permis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OAuth2PermissionGrant] = None, request_configuration: Optional[Oauth2PermissionGrantsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a delegated permission grant, represented by an oAuth2PermissionGrant object. A delegated permission grant authorizes a client service principal (representing a client application) to access a resource service principal (representing an API), on behalf of a signed-in user, for the level of access limited by the delegated permissions which were granted. This API is available in the following national cloud deployments. + Create a delegated permission grant, represented by an oAuth2PermissionGrant object. A delegated permission grant authorizes a client service principal (representing a client application) to access a resource service principal (representing an API), on behalf of a signed-in user, for the level of access limited by the delegated permissions which were granted. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[OAuth2PermissionGrant] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class Oauth2PermissionGrantsRequestBuilderGetQueryParameters(): """ - Retrieve a list of oAuth2PermissionGrant objects, representing delegated permissions which have been granted for client applications to access APIs on behalf of signed-in users. This API is available in the following national cloud deployments. + Retrieve a list of oAuth2PermissionGrant objects, representing delegated permissions which have been granted for client applications to access APIs on behalf of signed-in users. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/agent_groups_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/agent_groups_request_builder.py index 773689a642e..3b6641e8c44 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/agent_groups_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/agent_groups_request_builder.py @@ -45,7 +45,7 @@ def by_on_premises_agent_group_id(self,on_premises_agent_group_id: str) -> OnPre async def get(self,request_configuration: Optional[AgentGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[OnPremisesAgentGroupCollectionResponse]: """ - Retrieve a list of onPremisesAgentGroup objects. This API is available in the following national cloud deployments. + Retrieve a list of onPremisesAgentGroup objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnPremisesAgentGroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/onpremisesagentgroup-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AgentGroupsRequestBuilderGetR async def post(self,body: Optional[OnPremisesAgentGroup] = None, request_configuration: Optional[AgentGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[OnPremisesAgentGroup]: """ - Create a new onPremisesAgentGroup object. This API is available in the following national cloud deployments. + Create a new onPremisesAgentGroup object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnPremisesAgentGroup] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OnPremisesAgentGroup] = None, request_configu def to_get_request_information(self,request_configuration: Optional[AgentGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of onPremisesAgentGroup objects. This API is available in the following national cloud deployments. + Retrieve a list of onPremisesAgentGroup objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[AgentGroupsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnPremisesAgentGroup] = None, request_configuration: Optional[AgentGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new onPremisesAgentGroup object. This API is available in the following national cloud deployments. + Create a new onPremisesAgentGroup object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OnPremisesAgentGroup] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AgentGroupsRequestBuilderGetQueryParameters(): """ - Retrieve a list of onPremisesAgentGroup objects. This API is available in the following national cloud deployments. + Retrieve a list of onPremisesAgentGroup objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/agents/agents_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/agents/agents_request_builder.py index b3f64c43d1e..5c16816685e 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/agents/agents_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/agents/agents_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AgentsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnPremisesAgent] = None, request_configuration: Optional[AgentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnPremisesAgent] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/agents/item/agent_groups/agent_groups_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/agents/item/agent_groups/agent_groups_request_builder.py index ec03e976ca3..6baaae98fb1 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/agents/item/agent_groups/agent_groups_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/agents/item/agent_groups/agent_groups_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_on_premises_agent_group_id1(self,on_premises_agent_group_id1: str) -> OnPremisesAgentGroupItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.onPremisesPublishingProfiles.item.agentGroups.item.agents.item.agentGroups.item collection - param on_premises_agent_group_id1: Unique identifier of the item + param on_premises_agent_group_id1: The unique identifier of onPremisesAgentGroup Returns: OnPremisesAgentGroupItemRequestBuilder """ if not on_premises_agent_group_id1: @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[AgentGroupsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AgentGroupsRequestBuilder: diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/agents/item/agent_groups/item/ref/ref_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/agents/item/agent_groups/item/ref/ref_request_builder.py index 250a9a07b48..1eae5f73a74 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/agents/item/agent_groups/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/agents/item/agent_groups/item/ref/ref_request_builder.py @@ -58,7 +58,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/agents/item/agent_groups/ref/ref_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/agents/item/agent_groups/ref/ref_request_builder.py index 5305b31a68a..53a9ace2503 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/agents/item/agent_groups/ref/ref_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/agents/item/agent_groups/ref/ref_request_builder.py @@ -84,7 +84,7 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -103,7 +103,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/agents/item/on_premises_agent_item_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/agents/item/on_premises_agent_item_request_builder.py index 1777193a4a8..7e9894904be 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/agents/item/on_premises_agent_item_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/agents/item/on_premises_agent_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnPremise request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnPremisesAgentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[OnPremisesAg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnPremisesAgent] = None, request_configuration: Optional[OnPremisesAgentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[OnPremisesAgent] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/on_premises_agent_group_item_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/on_premises_agent_group_item_request_builder.py index d5da3aeb85d..50700cb2763 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/on_premises_agent_group_item_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/on_premises_agent_group_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[OnPremisesAgentGroupItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an onPremisesAgentGroup object. This API is available in the following national cloud deployments. + Delete an onPremisesAgentGroup object. 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/onpremisesagentgroup-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[OnPremisesAgentGroupItemRe async def get(self,request_configuration: Optional[OnPremisesAgentGroupItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OnPremisesAgentGroup]: """ - Retrieve the properties and relationships of an onPremisesAgentGroup object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an onPremisesAgentGroup object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnPremisesAgentGroup] Find more info here: https://learn.microsoft.com/graph/api/onpremisesagentgroup-get?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[OnPremisesAgentGroupItemReque async def patch(self,body: Optional[OnPremisesAgentGroup] = None, request_configuration: Optional[OnPremisesAgentGroupItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[OnPremisesAgentGroup]: """ - Update the properties of an onPremisesAgentGroup object. This API is available in the following national cloud deployments. + Update the properties of an onPremisesAgentGroup object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnPremisesAgentGroup] @@ -97,7 +97,7 @@ async def patch(self,body: Optional[OnPremisesAgentGroup] = None, request_config def to_delete_request_information(self,request_configuration: Optional[OnPremisesAgentGroupItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an onPremisesAgentGroup object. This API is available in the following national cloud deployments. + Delete an onPremisesAgentGroup object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[OnPremise request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnPremisesAgentGroupItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an onPremisesAgentGroup object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an onPremisesAgentGroup object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[OnPremisesAg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnPremisesAgentGroup] = None, request_configuration: Optional[OnPremisesAgentGroupItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an onPremisesAgentGroup object. This API is available in the following national cloud deployments. + Update the properties of an onPremisesAgentGroup object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[OnPremisesAgentGroup] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class OnPremisesAgentGroupItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class OnPremisesAgentGroupItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an onPremisesAgentGroup object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an onPremisesAgentGroup object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/published_resources/item/agent_groups/agent_groups_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/published_resources/item/agent_groups/agent_groups_request_builder.py index fe06eb9c87b..92c1a3e7e6b 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/published_resources/item/agent_groups/agent_groups_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/published_resources/item/agent_groups/agent_groups_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_on_premises_agent_group_id1(self,on_premises_agent_group_id1: str) -> OnPremisesAgentGroupItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.onPremisesPublishingProfiles.item.agentGroups.item.publishedResources.item.agentGroups.item collection - param on_premises_agent_group_id1: Unique identifier of the item + param on_premises_agent_group_id1: The unique identifier of onPremisesAgentGroup Returns: OnPremisesAgentGroupItemRequestBuilder """ if not on_premises_agent_group_id1: @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AgentGroupsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnPremisesAgentGroup] = None, request_configuration: Optional[AgentGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[OnPremisesAgentGroup] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/published_resources/item/agent_groups/item/ref/ref_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/published_resources/item/agent_groups/item/ref/ref_request_builder.py index a2ee026cc6e..cedf28b92a4 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/published_resources/item/agent_groups/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/published_resources/item/agent_groups/item/ref/ref_request_builder.py @@ -58,7 +58,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/published_resources/item/agent_groups/ref/ref_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/published_resources/item/agent_groups/ref/ref_request_builder.py index f8fc300522e..289596fc94f 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/published_resources/item/agent_groups/ref/ref_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/published_resources/item/agent_groups/ref/ref_request_builder.py @@ -84,7 +84,7 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -103,7 +103,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/published_resources/item/published_resource_item_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/published_resources/item/published_resource_item_request_builder.py index 3c8152d30f5..080843f7c63 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/published_resources/item/published_resource_item_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/published_resources/item/published_resource_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Published request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PublishedResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PublishedRes request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PublishedResource] = None, request_configuration: Optional[PublishedResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[PublishedResource] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/published_resources/published_resources_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/published_resources/published_resources_request_builder.py index a223022dd1a..3fec5f68c09 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/published_resources/published_resources_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/agent_groups/item/published_resources/published_resources_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PublishedRes request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PublishedResource] = None, request_configuration: Optional[PublishedResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[PublishedResource] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/agents/agents_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/agents/agents_request_builder.py index ceb7a704cd6..408ca17eaac 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/agents/agents_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/agents/agents_request_builder.py @@ -45,7 +45,7 @@ def by_on_premises_agent_id(self,on_premises_agent_id: str) -> OnPremisesAgentIt async def get(self,request_configuration: Optional[AgentsRequestBuilderGetRequestConfiguration] = None) -> Optional[OnPremisesAgentCollectionResponse]: """ - Retrieve a list of onPremisesAgent objects. This API is available in the following national cloud deployments. + Retrieve a list of onPremisesAgent objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnPremisesAgentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/onpremisesagent-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[OnPremisesAgent] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[AgentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of onPremisesAgent objects. This API is available in the following national cloud deployments. + Retrieve a list of onPremisesAgent objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AgentsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnPremisesAgent] = None, request_configuration: Optional[AgentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[OnPremisesAgent] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AgentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of onPremisesAgent objects. This API is available in the following national cloud deployments. + Retrieve a list of onPremisesAgent objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/agents/item/agent_groups/agent_groups_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/agents/item/agent_groups/agent_groups_request_builder.py index 37e6edc9994..955674f3858 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/agents/item/agent_groups/agent_groups_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/agents/item/agent_groups/agent_groups_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_on_premises_agent_group_id(self,on_premises_agent_group_id: str) -> OnPremisesAgentGroupItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.onPremisesPublishingProfiles.item.agents.item.agentGroups.item collection - param on_premises_agent_group_id: Unique identifier of the item + param on_premises_agent_group_id: The unique identifier of onPremisesAgentGroup Returns: OnPremisesAgentGroupItemRequestBuilder """ if not on_premises_agent_group_id: @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[AgentGroupsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AgentGroupsRequestBuilder: diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/agents/item/agent_groups/item/ref/ref_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/agents/item/agent_groups/item/ref/ref_request_builder.py index dcd29d61942..ec80aa2a37e 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/agents/item/agent_groups/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/agents/item/agent_groups/item/ref/ref_request_builder.py @@ -58,7 +58,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/agents/item/agent_groups/ref/ref_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/agents/item/agent_groups/ref/ref_request_builder.py index cf032229aaf..f65b0797f3e 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/agents/item/agent_groups/ref/ref_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/agents/item/agent_groups/ref/ref_request_builder.py @@ -84,7 +84,7 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -103,7 +103,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/agents/item/on_premises_agent_item_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/agents/item/on_premises_agent_item_request_builder.py index 95585b93e3f..f9364257d2e 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/agents/item/on_premises_agent_item_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/agents/item/on_premises_agent_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[OnPremisesAgentItemRequest async def get(self,request_configuration: Optional[OnPremisesAgentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OnPremisesAgent]: """ - Retrieve the properties and relationships of an onPremisesAgent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an onPremisesAgent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnPremisesAgent] Find more info here: https://learn.microsoft.com/graph/api/onpremisesagent-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[OnPremise request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnPremisesAgentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an onPremisesAgent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an onPremisesAgent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[OnPremisesAg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnPremisesAgent] = None, request_configuration: Optional[OnPremisesAgentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[OnPremisesAgent] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class OnPremisesAgentItemRequestBuilderDeleteRequestConfiguration(BaseRequestCon @dataclass class OnPremisesAgentItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an onPremisesAgent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an onPremisesAgent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/connector_groups_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/connector_groups_request_builder.py index dd543cd3349..26383b9f8e3 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/connector_groups_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/connector_groups_request_builder.py @@ -67,11 +67,11 @@ async def get(self,request_configuration: Optional[ConnectorGroupsRequestBuilder async def post(self,body: Optional[ConnectorGroup] = None, request_configuration: Optional[ConnectorGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[ConnectorGroup]: """ - Create a new connectorGroup. + Create a connectorGroup object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConnectorGroup] - Find more info here: https://learn.microsoft.com/graph/api/connectorgroup-post-connectorgroups?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/connectorgroup-post?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ConnectorGro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ConnectorGroup] = None, request_configuration: Optional[ConnectorGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new connectorGroup. + Create a connectorGroup object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ConnectorGroup] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/applications/applications_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/applications/applications_request_builder.py index 17aad4674f2..afabbbe6c93 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/applications/applications_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/applications/applications_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[Applications request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ApplicationsRequestBuilder: diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/applications/item/application_item_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/applications/item/application_item_request_builder.py index afb2fb9efb9..955614ba602 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/applications/item/application_item_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/applications/item/application_item_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ApplicationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ApplicationItemRequestBuilder: diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/applications/item/logo/logo_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/applications/item/logo/logo_request_builder.py index f83df368806..4c5a6fbfe9d 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/applications/item/logo/logo_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/applications/item/logo/logo_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[LogoRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[LogoRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -98,7 +98,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/connector_group_item_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/connector_group_item_request_builder.py index 672aae582dc..23e88f90e7e 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/connector_group_item_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/connector_group_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[Connector request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConnectorGroupItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[ConnectorGro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConnectorGroup] = None, request_configuration: Optional[ConnectorGroupItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[ConnectorGroup] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/members/item/ref/ref_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/members/item/ref/ref_request_builder.py index 470fe631208..54a05472a91 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/members/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/members/item/ref/ref_request_builder.py @@ -58,7 +58,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/members/members_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/members/members_request_builder.py index 647fb01dbf1..5721e3aab90 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/members/members_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/members/members_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_connector_id(self,connector_id: str) -> ConnectorItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.onPremisesPublishingProfiles.item.connectorGroups.item.members.item collection - param connector_id: Unique identifier of the item + param connector_id: The unique identifier of connector Returns: ConnectorItemRequestBuilder """ if not connector_id: @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MembersRequestBuilder: diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/members/ref/ref_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/members/ref/ref_request_builder.py index 4a02c4addce..c8d85b18317 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/members/ref/ref_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/connector_groups/item/members/ref/ref_request_builder.py @@ -84,7 +84,7 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -103,7 +103,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/connectors/connectors_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/connectors/connectors_request_builder.py index e20b8c7de53..04db36ad6da 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/connectors/connectors_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/connectors/connectors_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ConnectorsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Connector] = None, request_configuration: Optional[ConnectorsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Connector] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/connectors/item/connector_item_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/connectors/item/connector_item_request_builder.py index 0e03927a338..8f83fdf0304 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/connectors/item/connector_item_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/connectors/item/connector_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Connector request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConnectorItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ConnectorIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Connector] = None, request_configuration: Optional[ConnectorItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Connector] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/connectors/item/member_of/item/ref/ref_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/connectors/item/member_of/item/ref/ref_request_builder.py index 785584224f3..10cdf8c2fd2 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/connectors/item/member_of/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/connectors/item/member_of/item/ref/ref_request_builder.py @@ -58,7 +58,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/connectors/item/member_of/member_of_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/connectors/item/member_of/member_of_request_builder.py index 33de1843094..14eb105d499 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/connectors/item/member_of/member_of_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/connectors/item/member_of/member_of_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_connector_group_id(self,connector_group_id: str) -> ConnectorGroupItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.onPremisesPublishingProfiles.item.connectors.item.memberOf.item collection - param connector_group_id: Unique identifier of the item + param connector_group_id: The unique identifier of connectorGroup Returns: ConnectorGroupItemRequestBuilder """ if not connector_group_id: @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[MemberOfRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MemberOfRequestBuilder: diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/connectors/item/member_of/ref/ref_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/connectors/item/member_of/ref/ref_request_builder.py index 962c0cc561e..13ff90fca3d 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/connectors/item/member_of/ref/ref_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/connectors/item/member_of/ref/ref_request_builder.py @@ -84,7 +84,7 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -103,7 +103,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/on_premises_publishing_profile_item_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/on_premises_publishing_profile_item_request_builder.py index ec8c68b85f0..1c4deae627d 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/on_premises_publishing_profile_item_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/on_premises_publishing_profile_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnPremise request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnPremisesPublishingProfileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[OnPremisesPu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnPremisesPublishingProfile] = None, request_configuration: Optional[OnPremisesPublishingProfileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[OnPremisesPublishingProfile request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/published_resources/item/agent_groups/agent_groups_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/published_resources/item/agent_groups/agent_groups_request_builder.py index a67d7f9cb83..d4ff5456b8d 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/published_resources/item/agent_groups/agent_groups_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/published_resources/item/agent_groups/agent_groups_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_on_premises_agent_group_id(self,on_premises_agent_group_id: str) -> OnPremisesAgentGroupItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.onPremisesPublishingProfiles.item.publishedResources.item.agentGroups.item collection - param on_premises_agent_group_id: Unique identifier of the item + param on_premises_agent_group_id: The unique identifier of onPremisesAgentGroup Returns: OnPremisesAgentGroupItemRequestBuilder """ if not on_premises_agent_group_id: @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AgentGroupsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnPremisesAgentGroup] = None, request_configuration: Optional[AgentGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[OnPremisesAgentGroup] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/published_resources/item/agent_groups/item/ref/ref_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/published_resources/item/agent_groups/item/ref/ref_request_builder.py index b5a7c23f604..b87eede3c11 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/published_resources/item/agent_groups/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/published_resources/item/agent_groups/item/ref/ref_request_builder.py @@ -58,7 +58,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/published_resources/item/agent_groups/ref/ref_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/published_resources/item/agent_groups/ref/ref_request_builder.py index d4d1c44040d..d0a9de470a2 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/published_resources/item/agent_groups/ref/ref_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/published_resources/item/agent_groups/ref/ref_request_builder.py @@ -84,7 +84,7 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -103,7 +103,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/published_resources/item/published_resource_item_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/published_resources/item/published_resource_item_request_builder.py index e12deeb5c91..8e75b713c76 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/published_resources/item/published_resource_item_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/published_resources/item/published_resource_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[PublishedResourceItemReque async def get(self,request_configuration: Optional[PublishedResourceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PublishedResource]: """ - Retrieve the properties and relationships of publishedResource object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of publishedResource object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PublishedResource] Find more info here: https://learn.microsoft.com/graph/api/publishedresource-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[PublishedResourceItemRequestB async def patch(self,body: Optional[PublishedResource] = None, request_configuration: Optional[PublishedResourceItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[PublishedResource]: """ - Update the properties of published resource publishedResource object. This API is available in the following national cloud deployments. + Update the properties of published resource publishedResource object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PublishedResource] @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Published request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PublishedResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of publishedResource object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of publishedResource object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[PublishedRes request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PublishedResource] = None, request_configuration: Optional[PublishedResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of published resource publishedResource object. This API is available in the following national cloud deployments. + Update the properties of published resource publishedResource object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[PublishedResource] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class PublishedResourceItemRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class PublishedResourceItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of publishedResource object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of publishedResource object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/item/published_resources/published_resources_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/item/published_resources/published_resources_request_builder.py index 0eb9bc2da0a..5a2012c8ae5 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/item/published_resources/published_resources_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/item/published_resources/published_resources_request_builder.py @@ -45,7 +45,7 @@ def by_published_resource_id(self,published_resource_id: str) -> PublishedResour async def get(self,request_configuration: Optional[PublishedResourcesRequestBuilderGetRequestConfiguration] = None) -> Optional[PublishedResourceCollectionResponse]: """ - Retrieve a list of publishedResource objects. This API is available in the following national cloud deployments. + Retrieve a list of publishedResource objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PublishedResourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/publishedresource-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[PublishedResourcesRequestBuil async def post(self,body: Optional[PublishedResource] = None, request_configuration: Optional[PublishedResourcesRequestBuilderPostRequestConfiguration] = None) -> Optional[PublishedResource]: """ - Create a new publishedResource object. This API is available in the following national cloud deployments. + Create a new publishedResource object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PublishedResource] @@ -92,7 +92,7 @@ async def post(self,body: Optional[PublishedResource] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[PublishedResourcesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of publishedResource objects. This API is available in the following national cloud deployments. + Retrieve a list of publishedResource objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[PublishedRes request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PublishedResource] = None, request_configuration: Optional[PublishedResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new publishedResource object. This API is available in the following national cloud deployments. + Create a new publishedResource object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PublishedResource] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PublishedResourcesRequestBuilderGetQueryParameters(): """ - Retrieve a list of publishedResource objects. This API is available in the following national cloud deployments. + Retrieve a list of publishedResource objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/on_premises_publishing_profiles/on_premises_publishing_profiles_request_builder.py b/msgraph_beta/generated/on_premises_publishing_profiles/on_premises_publishing_profiles_request_builder.py index c74376ea8de..724a8c38336 100644 --- a/msgraph_beta/generated/on_premises_publishing_profiles/on_premises_publishing_profiles_request_builder.py +++ b/msgraph_beta/generated/on_premises_publishing_profiles/on_premises_publishing_profiles_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[OnPremisesPu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnPremisesPublishingProfile] = None, request_configuration: Optional[OnPremisesPublishingProfilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnPremisesPublishingProfile] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/organization/delta/delta_request_builder.py b/msgraph_beta/generated/organization/delta/delta_request_builder.py index 57828213e09..0751ab02e07 100644 --- a/msgraph_beta/generated/organization/delta/delta_request_builder.py +++ b/msgraph_beta/generated/organization/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/organization/get_by_ids/get_by_ids_request_builder.py b/msgraph_beta/generated/organization/get_by_ids/get_by_ids_request_builder.py index 5c7224ec70e..730e34f4379 100644 --- a/msgraph_beta/generated/organization/get_by_ids/get_by_ids_request_builder.py +++ b/msgraph_beta/generated/organization/get_by_ids/get_by_ids_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetByIdsPostResponse]: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetByIdsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/organization/get_user_owned_objects/get_user_owned_objects_request_builder.py b/msgraph_beta/generated/organization/get_user_owned_objects/get_user_owned_objects_request_builder.py index cdd78df3eb8..af7d4286dcb 100644 --- a/msgraph_beta/generated/organization/get_user_owned_objects/get_user_owned_objects_request_builder.py +++ b/msgraph_beta/generated/organization/get_user_owned_objects/get_user_owned_objects_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, request_configuration: Optional[GetUserOwnedObjectsRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. This API is available in the following national cloud deployments. + Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, r def to_post_request_information(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, request_configuration: Optional[GetUserOwnedObjectsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. This API is available in the following national cloud deployments. + Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetUserOwnedObjectsPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/organization/item/branding/background_image/background_image_request_builder.py b/msgraph_beta/generated/organization/item/branding/background_image/background_image_request_builder.py index d4f86d5f4b1..ccaec1a9a73 100644 --- a/msgraph_beta/generated/organization/item/branding/background_image/background_image_request_builder.py +++ b/msgraph_beta/generated/organization/item/branding/background_image/background_image_request_builder.py @@ -45,10 +45,11 @@ async def get(self,request_configuration: Optional[BackgroundImageRequestBuilder raise Exception("Http core is null") return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - async def put(self,body: bytes, content_type: str, request_configuration: Optional[BackgroundImageRequestBuilderPutRequestConfiguration] = None) -> bytes: + async def put(self,body: bytes, content_type: Optional[str] = None, request_configuration: Optional[BackgroundImageRequestBuilderPutRequestConfiguration] = None) -> bytes: """ Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. param body: Binary request body + param content_type: The request body content type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -57,7 +58,7 @@ async def put(self,body: bytes, content_type: str, request_configuration: Option if not content_type: raise TypeError("content_type cannot be null.") request_info = self.to_put_request_information( - body, request_configuration + body, content_type, request_configuration ) from .....models.o_data_errors.o_data_error import ODataError @@ -82,13 +83,14 @@ def to_get_request_information(self,request_configuration: Optional[BackgroundIm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json") + request_info.headers.try_add("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json") return request_info - def to_put_request_information(self,body: bytes, content_type: str, request_configuration: Optional[BackgroundImageRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: + def to_put_request_information(self,body: bytes, content_type: Optional[str] = None, request_configuration: Optional[BackgroundImageRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: """ Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. param body: Binary request body + param content_type: The request body content type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +105,7 @@ def to_put_request_information(self,body: bytes, content_type: str, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, content_type) return request_info diff --git a/msgraph_beta/generated/organization/item/branding/banner_logo/banner_logo_request_builder.py b/msgraph_beta/generated/organization/item/branding/banner_logo/banner_logo_request_builder.py index 1fa765886eb..72d0b6516f8 100644 --- a/msgraph_beta/generated/organization/item/branding/banner_logo/banner_logo_request_builder.py +++ b/msgraph_beta/generated/organization/item/branding/banner_logo/banner_logo_request_builder.py @@ -45,10 +45,11 @@ async def get(self,request_configuration: Optional[BannerLogoRequestBuilderGetRe raise Exception("Http core is null") return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - async def put(self,body: bytes, content_type: str, request_configuration: Optional[BannerLogoRequestBuilderPutRequestConfiguration] = None) -> bytes: + async def put(self,body: bytes, content_type: Optional[str] = None, request_configuration: Optional[BannerLogoRequestBuilderPutRequestConfiguration] = None) -> bytes: """ A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. param body: Binary request body + param content_type: The request body content type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -57,7 +58,7 @@ async def put(self,body: bytes, content_type: str, request_configuration: Option if not content_type: raise TypeError("content_type cannot be null.") request_info = self.to_put_request_information( - body, request_configuration + body, content_type, request_configuration ) from .....models.o_data_errors.o_data_error import ODataError @@ -82,13 +83,14 @@ def to_get_request_information(self,request_configuration: Optional[BannerLogoRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json") + request_info.headers.try_add("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json") return request_info - def to_put_request_information(self,body: bytes, content_type: str, request_configuration: Optional[BannerLogoRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: + def to_put_request_information(self,body: bytes, content_type: Optional[str] = None, request_configuration: Optional[BannerLogoRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: """ A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. param body: Binary request body + param content_type: The request body content type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +105,7 @@ def to_put_request_information(self,body: bytes, content_type: str, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, content_type) return request_info diff --git a/msgraph_beta/generated/organization/item/branding/branding_request_builder.py b/msgraph_beta/generated/organization/item/branding/branding_request_builder.py index 730e62fca4d..5abe02393f4 100644 --- a/msgraph_beta/generated/organization/item/branding/branding_request_builder.py +++ b/msgraph_beta/generated/organization/item/branding/branding_request_builder.py @@ -36,7 +36,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[BrandingRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete the default organizational branding object. To delete the organizationalBranding object, all images (Stream types) must first be removed from the object. This API is available in the following national cloud deployments. + Delete the default organizational branding object. To delete the organizationalBranding object, all images (Stream types) must first be removed from the object. 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/organizationalbranding-delete?view=graph-rest-1.0 @@ -56,7 +56,7 @@ async def delete(self,request_configuration: Optional[BrandingRequestBuilderDele async def get(self,request_configuration: Optional[BrandingRequestBuilderGetRequestConfiguration] = None) -> Optional[OrganizationalBranding]: """ - Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. This API is available in the following national cloud deployments. + Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OrganizationalBranding] Find more info here: https://learn.microsoft.com/graph/api/organizationalbranding-get?view=graph-rest-1.0 @@ -78,7 +78,7 @@ async def get(self,request_configuration: Optional[BrandingRequestBuilderGetRequ async def patch(self,body: Optional[OrganizationalBranding] = None, request_configuration: Optional[BrandingRequestBuilderPatchRequestConfiguration] = None) -> Optional[OrganizationalBranding]: """ - Update the properties of the default branding object specified by the organizationalBranding resource. This API is available in the following national cloud deployments. + Update the properties of the default branding object specified by the organizationalBranding resource. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OrganizationalBranding] @@ -103,7 +103,7 @@ async def patch(self,body: Optional[OrganizationalBranding] = None, request_conf def to_delete_request_information(self,request_configuration: Optional[BrandingRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete the default organizational branding object. To delete the organizationalBranding object, all images (Stream types) must first be removed from the object. This API is available in the following national cloud deployments. + Delete the default organizational branding object. To delete the organizationalBranding object, all images (Stream types) must first be removed from the object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -114,12 +114,12 @@ def to_delete_request_information(self,request_configuration: Optional[BrandingR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BrandingRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. This API is available in the following national cloud deployments. + Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -131,12 +131,12 @@ def to_get_request_information(self,request_configuration: Optional[BrandingRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OrganizationalBranding] = None, request_configuration: Optional[BrandingRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of the default branding object specified by the organizationalBranding resource. This API is available in the following national cloud deployments. + Update the properties of the default branding object specified by the organizationalBranding resource. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -150,7 +150,7 @@ def to_patch_request_information(self,body: Optional[OrganizationalBranding] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -249,7 +249,7 @@ class BrandingRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class BrandingRequestBuilderGetQueryParameters(): """ - Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. This API is available in the following national cloud deployments. + Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/organization/item/branding/custom_c_s_s/custom_c_s_s_request_builder.py b/msgraph_beta/generated/organization/item/branding/custom_c_s_s/custom_c_s_s_request_builder.py index d452b52c3a8..01b7cc00091 100644 --- a/msgraph_beta/generated/organization/item/branding/custom_c_s_s/custom_c_s_s_request_builder.py +++ b/msgraph_beta/generated/organization/item/branding/custom_c_s_s/custom_c_s_s_request_builder.py @@ -45,10 +45,11 @@ async def get(self,request_configuration: Optional[CustomCSSRequestBuilderGetReq raise Exception("Http core is null") return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - async def put(self,body: bytes, content_type: str, request_configuration: Optional[CustomCSSRequestBuilderPutRequestConfiguration] = None) -> bytes: + async def put(self,body: bytes, content_type: Optional[str] = None, request_configuration: Optional[CustomCSSRequestBuilderPutRequestConfiguration] = None) -> bytes: """ CSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB. param body: Binary request body + param content_type: The request body content type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -57,7 +58,7 @@ async def put(self,body: bytes, content_type: str, request_configuration: Option if not content_type: raise TypeError("content_type cannot be null.") request_info = self.to_put_request_information( - body, request_configuration + body, content_type, request_configuration ) from .....models.o_data_errors.o_data_error import ODataError @@ -82,13 +83,14 @@ def to_get_request_information(self,request_configuration: Optional[CustomCSSReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json") + request_info.headers.try_add("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json") return request_info - def to_put_request_information(self,body: bytes, content_type: str, request_configuration: Optional[CustomCSSRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: + def to_put_request_information(self,body: bytes, content_type: Optional[str] = None, request_configuration: Optional[CustomCSSRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: """ CSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB. param body: Binary request body + param content_type: The request body content type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +105,7 @@ def to_put_request_information(self,body: bytes, content_type: str, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, content_type) return request_info diff --git a/msgraph_beta/generated/organization/item/branding/favicon/favicon_request_builder.py b/msgraph_beta/generated/organization/item/branding/favicon/favicon_request_builder.py index 83456db33f2..8047a666c44 100644 --- a/msgraph_beta/generated/organization/item/branding/favicon/favicon_request_builder.py +++ b/msgraph_beta/generated/organization/item/branding/favicon/favicon_request_builder.py @@ -45,10 +45,11 @@ async def get(self,request_configuration: Optional[FaviconRequestBuilderGetReque raise Exception("Http core is null") return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - async def put(self,body: bytes, content_type: str, request_configuration: Optional[FaviconRequestBuilderPutRequestConfiguration] = None) -> bytes: + async def put(self,body: bytes, content_type: Optional[str] = None, request_configuration: Optional[FaviconRequestBuilderPutRequestConfiguration] = None) -> bytes: """ A custom icon (favicon) to replace a default Microsoft product favicon on a Microsoft Entra tenant. param body: Binary request body + param content_type: The request body content type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -57,7 +58,7 @@ async def put(self,body: bytes, content_type: str, request_configuration: Option if not content_type: raise TypeError("content_type cannot be null.") request_info = self.to_put_request_information( - body, request_configuration + body, content_type, request_configuration ) from .....models.o_data_errors.o_data_error import ODataError @@ -82,13 +83,14 @@ def to_get_request_information(self,request_configuration: Optional[FaviconReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json") + request_info.headers.try_add("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json") return request_info - def to_put_request_information(self,body: bytes, content_type: str, request_configuration: Optional[FaviconRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: + def to_put_request_information(self,body: bytes, content_type: Optional[str] = None, request_configuration: Optional[FaviconRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: """ A custom icon (favicon) to replace a default Microsoft product favicon on a Microsoft Entra tenant. param body: Binary request body + param content_type: The request body content type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +105,7 @@ def to_put_request_information(self,body: bytes, content_type: str, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, content_type) return request_info diff --git a/msgraph_beta/generated/organization/item/branding/header_logo/header_logo_request_builder.py b/msgraph_beta/generated/organization/item/branding/header_logo/header_logo_request_builder.py index b9f0e0e0fdf..52c801459e6 100644 --- a/msgraph_beta/generated/organization/item/branding/header_logo/header_logo_request_builder.py +++ b/msgraph_beta/generated/organization/item/branding/header_logo/header_logo_request_builder.py @@ -45,10 +45,11 @@ async def get(self,request_configuration: Optional[HeaderLogoRequestBuilderGetRe raise Exception("Http core is null") return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - async def put(self,body: bytes, content_type: str, request_configuration: Optional[HeaderLogoRequestBuilderPutRequestConfiguration] = None) -> bytes: + async def put(self,body: bytes, content_type: Optional[str] = None, request_configuration: Optional[HeaderLogoRequestBuilderPutRequestConfiguration] = None) -> bytes: """ A company logo that appears in the header of the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. param body: Binary request body + param content_type: The request body content type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -57,7 +58,7 @@ async def put(self,body: bytes, content_type: str, request_configuration: Option if not content_type: raise TypeError("content_type cannot be null.") request_info = self.to_put_request_information( - body, request_configuration + body, content_type, request_configuration ) from .....models.o_data_errors.o_data_error import ODataError @@ -82,13 +83,14 @@ def to_get_request_information(self,request_configuration: Optional[HeaderLogoRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json") + request_info.headers.try_add("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json") return request_info - def to_put_request_information(self,body: bytes, content_type: str, request_configuration: Optional[HeaderLogoRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: + def to_put_request_information(self,body: bytes, content_type: Optional[str] = None, request_configuration: Optional[HeaderLogoRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: """ A company logo that appears in the header of the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. param body: Binary request body + param content_type: The request body content type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +105,7 @@ def to_put_request_information(self,body: bytes, content_type: str, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, content_type) return request_info diff --git a/msgraph_beta/generated/organization/item/branding/localizations/item/background_image/background_image_request_builder.py b/msgraph_beta/generated/organization/item/branding/localizations/item/background_image/background_image_request_builder.py index e399d724c9e..ffda8ee4299 100644 --- a/msgraph_beta/generated/organization/item/branding/localizations/item/background_image/background_image_request_builder.py +++ b/msgraph_beta/generated/organization/item/branding/localizations/item/background_image/background_image_request_builder.py @@ -45,10 +45,11 @@ async def get(self,request_configuration: Optional[BackgroundImageRequestBuilder raise Exception("Http core is null") return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - async def put(self,body: bytes, content_type: str, request_configuration: Optional[BackgroundImageRequestBuilderPutRequestConfiguration] = None) -> bytes: + async def put(self,body: bytes, content_type: Optional[str] = None, request_configuration: Optional[BackgroundImageRequestBuilderPutRequestConfiguration] = None) -> bytes: """ Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. param body: Binary request body + param content_type: The request body content type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -57,7 +58,7 @@ async def put(self,body: bytes, content_type: str, request_configuration: Option if not content_type: raise TypeError("content_type cannot be null.") request_info = self.to_put_request_information( - body, request_configuration + body, content_type, request_configuration ) from .......models.o_data_errors.o_data_error import ODataError @@ -82,13 +83,14 @@ def to_get_request_information(self,request_configuration: Optional[BackgroundIm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json") + request_info.headers.try_add("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json") return request_info - def to_put_request_information(self,body: bytes, content_type: str, request_configuration: Optional[BackgroundImageRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: + def to_put_request_information(self,body: bytes, content_type: Optional[str] = None, request_configuration: Optional[BackgroundImageRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: """ Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. param body: Binary request body + param content_type: The request body content type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +105,7 @@ def to_put_request_information(self,body: bytes, content_type: str, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, content_type) return request_info diff --git a/msgraph_beta/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py b/msgraph_beta/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py index 574f2c44768..b0620c478a6 100644 --- a/msgraph_beta/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py +++ b/msgraph_beta/generated/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.py @@ -45,10 +45,11 @@ async def get(self,request_configuration: Optional[BannerLogoRequestBuilderGetRe raise Exception("Http core is null") return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - async def put(self,body: bytes, content_type: str, request_configuration: Optional[BannerLogoRequestBuilderPutRequestConfiguration] = None) -> bytes: + async def put(self,body: bytes, content_type: Optional[str] = None, request_configuration: Optional[BannerLogoRequestBuilderPutRequestConfiguration] = None) -> bytes: """ A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. param body: Binary request body + param content_type: The request body content type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -57,7 +58,7 @@ async def put(self,body: bytes, content_type: str, request_configuration: Option if not content_type: raise TypeError("content_type cannot be null.") request_info = self.to_put_request_information( - body, request_configuration + body, content_type, request_configuration ) from .......models.o_data_errors.o_data_error import ODataError @@ -82,13 +83,14 @@ def to_get_request_information(self,request_configuration: Optional[BannerLogoRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json") + request_info.headers.try_add("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json") return request_info - def to_put_request_information(self,body: bytes, content_type: str, request_configuration: Optional[BannerLogoRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: + def to_put_request_information(self,body: bytes, content_type: Optional[str] = None, request_configuration: Optional[BannerLogoRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: """ A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. param body: Binary request body + param content_type: The request body content type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +105,7 @@ def to_put_request_information(self,body: bytes, content_type: str, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, content_type) return request_info diff --git a/msgraph_beta/generated/organization/item/branding/localizations/item/custom_c_s_s/custom_c_s_s_request_builder.py b/msgraph_beta/generated/organization/item/branding/localizations/item/custom_c_s_s/custom_c_s_s_request_builder.py index 947a70a2d72..1f858b60a41 100644 --- a/msgraph_beta/generated/organization/item/branding/localizations/item/custom_c_s_s/custom_c_s_s_request_builder.py +++ b/msgraph_beta/generated/organization/item/branding/localizations/item/custom_c_s_s/custom_c_s_s_request_builder.py @@ -45,10 +45,11 @@ async def get(self,request_configuration: Optional[CustomCSSRequestBuilderGetReq raise Exception("Http core is null") return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - async def put(self,body: bytes, content_type: str, request_configuration: Optional[CustomCSSRequestBuilderPutRequestConfiguration] = None) -> bytes: + async def put(self,body: bytes, content_type: Optional[str] = None, request_configuration: Optional[CustomCSSRequestBuilderPutRequestConfiguration] = None) -> bytes: """ CSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB. param body: Binary request body + param content_type: The request body content type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -57,7 +58,7 @@ async def put(self,body: bytes, content_type: str, request_configuration: Option if not content_type: raise TypeError("content_type cannot be null.") request_info = self.to_put_request_information( - body, request_configuration + body, content_type, request_configuration ) from .......models.o_data_errors.o_data_error import ODataError @@ -82,13 +83,14 @@ def to_get_request_information(self,request_configuration: Optional[CustomCSSReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json") + request_info.headers.try_add("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json") return request_info - def to_put_request_information(self,body: bytes, content_type: str, request_configuration: Optional[CustomCSSRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: + def to_put_request_information(self,body: bytes, content_type: Optional[str] = None, request_configuration: Optional[CustomCSSRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: """ CSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB. param body: Binary request body + param content_type: The request body content type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +105,7 @@ def to_put_request_information(self,body: bytes, content_type: str, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, content_type) return request_info diff --git a/msgraph_beta/generated/organization/item/branding/localizations/item/favicon/favicon_request_builder.py b/msgraph_beta/generated/organization/item/branding/localizations/item/favicon/favicon_request_builder.py index 46f7490ea19..2d478147ea8 100644 --- a/msgraph_beta/generated/organization/item/branding/localizations/item/favicon/favicon_request_builder.py +++ b/msgraph_beta/generated/organization/item/branding/localizations/item/favicon/favicon_request_builder.py @@ -45,10 +45,11 @@ async def get(self,request_configuration: Optional[FaviconRequestBuilderGetReque raise Exception("Http core is null") return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - async def put(self,body: bytes, content_type: str, request_configuration: Optional[FaviconRequestBuilderPutRequestConfiguration] = None) -> bytes: + async def put(self,body: bytes, content_type: Optional[str] = None, request_configuration: Optional[FaviconRequestBuilderPutRequestConfiguration] = None) -> bytes: """ A custom icon (favicon) to replace a default Microsoft product favicon on a Microsoft Entra tenant. param body: Binary request body + param content_type: The request body content type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -57,7 +58,7 @@ async def put(self,body: bytes, content_type: str, request_configuration: Option if not content_type: raise TypeError("content_type cannot be null.") request_info = self.to_put_request_information( - body, request_configuration + body, content_type, request_configuration ) from .......models.o_data_errors.o_data_error import ODataError @@ -82,13 +83,14 @@ def to_get_request_information(self,request_configuration: Optional[FaviconReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json") + request_info.headers.try_add("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json") return request_info - def to_put_request_information(self,body: bytes, content_type: str, request_configuration: Optional[FaviconRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: + def to_put_request_information(self,body: bytes, content_type: Optional[str] = None, request_configuration: Optional[FaviconRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: """ A custom icon (favicon) to replace a default Microsoft product favicon on a Microsoft Entra tenant. param body: Binary request body + param content_type: The request body content type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +105,7 @@ def to_put_request_information(self,body: bytes, content_type: str, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, content_type) return request_info diff --git a/msgraph_beta/generated/organization/item/branding/localizations/item/header_logo/header_logo_request_builder.py b/msgraph_beta/generated/organization/item/branding/localizations/item/header_logo/header_logo_request_builder.py index 4e5a5e45e54..783c7cc08a0 100644 --- a/msgraph_beta/generated/organization/item/branding/localizations/item/header_logo/header_logo_request_builder.py +++ b/msgraph_beta/generated/organization/item/branding/localizations/item/header_logo/header_logo_request_builder.py @@ -45,10 +45,11 @@ async def get(self,request_configuration: Optional[HeaderLogoRequestBuilderGetRe raise Exception("Http core is null") return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - async def put(self,body: bytes, content_type: str, request_configuration: Optional[HeaderLogoRequestBuilderPutRequestConfiguration] = None) -> bytes: + async def put(self,body: bytes, content_type: Optional[str] = None, request_configuration: Optional[HeaderLogoRequestBuilderPutRequestConfiguration] = None) -> bytes: """ A company logo that appears in the header of the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. param body: Binary request body + param content_type: The request body content type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -57,7 +58,7 @@ async def put(self,body: bytes, content_type: str, request_configuration: Option if not content_type: raise TypeError("content_type cannot be null.") request_info = self.to_put_request_information( - body, request_configuration + body, content_type, request_configuration ) from .......models.o_data_errors.o_data_error import ODataError @@ -82,13 +83,14 @@ def to_get_request_information(self,request_configuration: Optional[HeaderLogoRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json") + request_info.headers.try_add("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json") return request_info - def to_put_request_information(self,body: bytes, content_type: str, request_configuration: Optional[HeaderLogoRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: + def to_put_request_information(self,body: bytes, content_type: Optional[str] = None, request_configuration: Optional[HeaderLogoRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: """ A company logo that appears in the header of the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. param body: Binary request body + param content_type: The request body content type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +105,7 @@ def to_put_request_information(self,body: bytes, content_type: str, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, content_type) return request_info diff --git a/msgraph_beta/generated/organization/item/branding/localizations/item/organizational_branding_localization_item_request_builder.py b/msgraph_beta/generated/organization/item/branding/localizations/item/organizational_branding_localization_item_request_builder.py index 50c3220efca..d33b83f5c9e 100644 --- a/msgraph_beta/generated/organization/item/branding/localizations/item/organizational_branding_localization_item_request_builder.py +++ b/msgraph_beta/generated/organization/item/branding/localizations/item/organizational_branding_localization_item_request_builder.py @@ -35,7 +35,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[OrganizationalBrandingLocalizationItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a localized branding object. To delete the organizationalBrandingLocalization object, all images (Stream types) must first be removed from the object. This API is available in the following national cloud deployments. + Delete a localized branding object. To delete the organizationalBrandingLocalization object, all images (Stream types) must first be removed from the object. 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/organizationalbrandinglocalization-delete?view=graph-rest-1.0 @@ -55,7 +55,7 @@ async def delete(self,request_configuration: Optional[OrganizationalBrandingLoca async def get(self,request_configuration: Optional[OrganizationalBrandingLocalizationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OrganizationalBrandingLocalization]: """ - Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. This API is available in the following national cloud deployments. + Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OrganizationalBrandingLocalization] Find more info here: https://learn.microsoft.com/graph/api/organizationalbrandinglocalization-get?view=graph-rest-1.0 @@ -77,7 +77,7 @@ async def get(self,request_configuration: Optional[OrganizationalBrandingLocaliz async def patch(self,body: Optional[OrganizationalBrandingLocalization] = None, request_configuration: Optional[OrganizationalBrandingLocalizationItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[OrganizationalBrandingLocalization]: """ - Update the properties of an organizationalBrandingLocalization object for a specific localization. This API is available in the following national cloud deployments. + Update the properties of an organizationalBrandingLocalization object for a specific localization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OrganizationalBrandingLocalization] @@ -102,7 +102,7 @@ async def patch(self,body: Optional[OrganizationalBrandingLocalization] = None, def to_delete_request_information(self,request_configuration: Optional[OrganizationalBrandingLocalizationItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a localized branding object. To delete the organizationalBrandingLocalization object, all images (Stream types) must first be removed from the object. This API is available in the following national cloud deployments. + Delete a localized branding object. To delete the organizationalBrandingLocalization object, all images (Stream types) must first be removed from the object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -113,12 +113,12 @@ def to_delete_request_information(self,request_configuration: Optional[Organizat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OrganizationalBrandingLocalizationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. This API is available in the following national cloud deployments. + Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -130,12 +130,12 @@ def to_get_request_information(self,request_configuration: Optional[Organization request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OrganizationalBrandingLocalization] = None, request_configuration: Optional[OrganizationalBrandingLocalizationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an organizationalBrandingLocalization object for a specific localization. This API is available in the following national cloud deployments. + Update the properties of an organizationalBrandingLocalization object for a specific localization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -149,7 +149,7 @@ def to_patch_request_information(self,body: Optional[OrganizationalBrandingLocal request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -239,7 +239,7 @@ class OrganizationalBrandingLocalizationItemRequestBuilderDeleteRequestConfigura @dataclass class OrganizationalBrandingLocalizationItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. This API is available in the following national cloud deployments. + Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/organization/item/branding/localizations/item/square_logo/square_logo_request_builder.py b/msgraph_beta/generated/organization/item/branding/localizations/item/square_logo/square_logo_request_builder.py index 147478446fe..1cf68b44f75 100644 --- a/msgraph_beta/generated/organization/item/branding/localizations/item/square_logo/square_logo_request_builder.py +++ b/msgraph_beta/generated/organization/item/branding/localizations/item/square_logo/square_logo_request_builder.py @@ -45,10 +45,11 @@ async def get(self,request_configuration: Optional[SquareLogoRequestBuilderGetRe raise Exception("Http core is null") return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - async def put(self,body: bytes, content_type: str, request_configuration: Optional[SquareLogoRequestBuilderPutRequestConfiguration] = None) -> bytes: + async def put(self,body: bytes, content_type: Optional[str] = None, request_configuration: Optional[SquareLogoRequestBuilderPutRequestConfiguration] = None) -> bytes: """ A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. param body: Binary request body + param content_type: The request body content type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -57,7 +58,7 @@ async def put(self,body: bytes, content_type: str, request_configuration: Option if not content_type: raise TypeError("content_type cannot be null.") request_info = self.to_put_request_information( - body, request_configuration + body, content_type, request_configuration ) from .......models.o_data_errors.o_data_error import ODataError @@ -82,13 +83,14 @@ def to_get_request_information(self,request_configuration: Optional[SquareLogoRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json") + request_info.headers.try_add("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json") return request_info - def to_put_request_information(self,body: bytes, content_type: str, request_configuration: Optional[SquareLogoRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: + def to_put_request_information(self,body: bytes, content_type: Optional[str] = None, request_configuration: Optional[SquareLogoRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: """ A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. param body: Binary request body + param content_type: The request body content type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +105,7 @@ def to_put_request_information(self,body: bytes, content_type: str, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, content_type) return request_info diff --git a/msgraph_beta/generated/organization/item/branding/localizations/item/square_logo_dark/square_logo_dark_request_builder.py b/msgraph_beta/generated/organization/item/branding/localizations/item/square_logo_dark/square_logo_dark_request_builder.py index 8406549d7d2..071bca39461 100644 --- a/msgraph_beta/generated/organization/item/branding/localizations/item/square_logo_dark/square_logo_dark_request_builder.py +++ b/msgraph_beta/generated/organization/item/branding/localizations/item/square_logo_dark/square_logo_dark_request_builder.py @@ -45,10 +45,11 @@ async def get(self,request_configuration: Optional[SquareLogoDarkRequestBuilderG raise Exception("Http core is null") return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - async def put(self,body: bytes, content_type: str, request_configuration: Optional[SquareLogoDarkRequestBuilderPutRequestConfiguration] = None) -> bytes: + async def put(self,body: bytes, content_type: Optional[str] = None, request_configuration: Optional[SquareLogoDarkRequestBuilderPutRequestConfiguration] = None) -> bytes: """ A square dark version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. param body: Binary request body + param content_type: The request body content type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -57,7 +58,7 @@ async def put(self,body: bytes, content_type: str, request_configuration: Option if not content_type: raise TypeError("content_type cannot be null.") request_info = self.to_put_request_information( - body, request_configuration + body, content_type, request_configuration ) from .......models.o_data_errors.o_data_error import ODataError @@ -82,13 +83,14 @@ def to_get_request_information(self,request_configuration: Optional[SquareLogoDa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json") + request_info.headers.try_add("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json") return request_info - def to_put_request_information(self,body: bytes, content_type: str, request_configuration: Optional[SquareLogoDarkRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: + def to_put_request_information(self,body: bytes, content_type: Optional[str] = None, request_configuration: Optional[SquareLogoDarkRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: """ A square dark version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. param body: Binary request body + param content_type: The request body content type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +105,7 @@ def to_put_request_information(self,body: bytes, content_type: str, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, content_type) return request_info diff --git a/msgraph_beta/generated/organization/item/branding/localizations/localizations_request_builder.py b/msgraph_beta/generated/organization/item/branding/localizations/localizations_request_builder.py index 26295110a22..20d8d936118 100644 --- a/msgraph_beta/generated/organization/item/branding/localizations/localizations_request_builder.py +++ b/msgraph_beta/generated/organization/item/branding/localizations/localizations_request_builder.py @@ -45,7 +45,7 @@ def by_organizational_branding_localization_id(self,organizational_branding_loca async def get(self,request_configuration: Optional[LocalizationsRequestBuilderGetRequestConfiguration] = None) -> Optional[OrganizationalBrandingLocalizationCollectionResponse]: """ - Retrieve all localization branding objects, including the default branding. This API is available in the following national cloud deployments. + Retrieve all localization branding objects, including the default branding. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OrganizationalBrandingLocalizationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/organizationalbranding-list-localizations?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[LocalizationsRequestBuilderGe async def post(self,body: Optional[OrganizationalBrandingLocalization] = None, request_configuration: Optional[LocalizationsRequestBuilderPostRequestConfiguration] = None) -> Optional[OrganizationalBrandingLocalization]: """ - Create a new organizationalBrandingLocalization object. This creates a localized branding and at the same time, the default branding if it doesn't exist. The default branding is created only once. It's loaded when a localized branding isn't configured for the user's browser language. To retrieve the default branding, see Get branding. This API is available in the following national cloud deployments. + Create a new organizationalBrandingLocalization object. This creates a localized branding and at the same time, the default branding if it doesn't exist. The default branding is created only once. It's loaded when a localized branding isn't configured for the user's browser language. To retrieve the default branding, see Get branding. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OrganizationalBrandingLocalization] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OrganizationalBrandingLocalization] = None, r def to_get_request_information(self,request_configuration: Optional[LocalizationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve all localization branding objects, including the default branding. This API is available in the following national cloud deployments. + Retrieve all localization branding objects, including the default branding. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[Localization request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OrganizationalBrandingLocalization] = None, request_configuration: Optional[LocalizationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new organizationalBrandingLocalization object. This creates a localized branding and at the same time, the default branding if it doesn't exist. The default branding is created only once. It's loaded when a localized branding isn't configured for the user's browser language. To retrieve the default branding, see Get branding. This API is available in the following national cloud deployments. + Create a new organizationalBrandingLocalization object. This creates a localized branding and at the same time, the default branding if it doesn't exist. The default branding is created only once. It's loaded when a localized branding isn't configured for the user's browser language. To retrieve the default branding, see Get branding. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OrganizationalBrandingLocali request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class LocalizationsRequestBuilderGetQueryParameters(): """ - Retrieve all localization branding objects, including the default branding. This API is available in the following national cloud deployments. + Retrieve all localization branding objects, including the default branding. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/organization/item/branding/square_logo/square_logo_request_builder.py b/msgraph_beta/generated/organization/item/branding/square_logo/square_logo_request_builder.py index 8d7ba7ea36d..396071d9bea 100644 --- a/msgraph_beta/generated/organization/item/branding/square_logo/square_logo_request_builder.py +++ b/msgraph_beta/generated/organization/item/branding/square_logo/square_logo_request_builder.py @@ -45,10 +45,11 @@ async def get(self,request_configuration: Optional[SquareLogoRequestBuilderGetRe raise Exception("Http core is null") return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - async def put(self,body: bytes, content_type: str, request_configuration: Optional[SquareLogoRequestBuilderPutRequestConfiguration] = None) -> bytes: + async def put(self,body: bytes, content_type: Optional[str] = None, request_configuration: Optional[SquareLogoRequestBuilderPutRequestConfiguration] = None) -> bytes: """ A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. param body: Binary request body + param content_type: The request body content type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -57,7 +58,7 @@ async def put(self,body: bytes, content_type: str, request_configuration: Option if not content_type: raise TypeError("content_type cannot be null.") request_info = self.to_put_request_information( - body, request_configuration + body, content_type, request_configuration ) from .....models.o_data_errors.o_data_error import ODataError @@ -82,13 +83,14 @@ def to_get_request_information(self,request_configuration: Optional[SquareLogoRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json") + request_info.headers.try_add("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json") return request_info - def to_put_request_information(self,body: bytes, content_type: str, request_configuration: Optional[SquareLogoRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: + def to_put_request_information(self,body: bytes, content_type: Optional[str] = None, request_configuration: Optional[SquareLogoRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: """ A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. param body: Binary request body + param content_type: The request body content type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +105,7 @@ def to_put_request_information(self,body: bytes, content_type: str, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, content_type) return request_info diff --git a/msgraph_beta/generated/organization/item/branding/square_logo_dark/square_logo_dark_request_builder.py b/msgraph_beta/generated/organization/item/branding/square_logo_dark/square_logo_dark_request_builder.py index d16a37b560f..a90a1d39ca2 100644 --- a/msgraph_beta/generated/organization/item/branding/square_logo_dark/square_logo_dark_request_builder.py +++ b/msgraph_beta/generated/organization/item/branding/square_logo_dark/square_logo_dark_request_builder.py @@ -45,10 +45,11 @@ async def get(self,request_configuration: Optional[SquareLogoDarkRequestBuilderG raise Exception("Http core is null") return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - async def put(self,body: bytes, content_type: str, request_configuration: Optional[SquareLogoDarkRequestBuilderPutRequestConfiguration] = None) -> bytes: + async def put(self,body: bytes, content_type: Optional[str] = None, request_configuration: Optional[SquareLogoDarkRequestBuilderPutRequestConfiguration] = None) -> bytes: """ A square dark version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. param body: Binary request body + param content_type: The request body content type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -57,7 +58,7 @@ async def put(self,body: bytes, content_type: str, request_configuration: Option if not content_type: raise TypeError("content_type cannot be null.") request_info = self.to_put_request_information( - body, request_configuration + body, content_type, request_configuration ) from .....models.o_data_errors.o_data_error import ODataError @@ -82,13 +83,14 @@ def to_get_request_information(self,request_configuration: Optional[SquareLogoDa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json, application/json") + request_info.headers.try_add("Accept", "image/bmp, image/jpg, image/jpeg, image/gif, image/vnd.microsoft.icon, image/png, image/tiff, application/json") return request_info - def to_put_request_information(self,body: bytes, content_type: str, request_configuration: Optional[SquareLogoDarkRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: + def to_put_request_information(self,body: bytes, content_type: Optional[str] = None, request_configuration: Optional[SquareLogoDarkRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: """ A square dark version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. param body: Binary request body + param content_type: The request body content type. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +105,7 @@ def to_put_request_information(self,body: bytes, content_type: str, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, content_type) return request_info diff --git a/msgraph_beta/generated/organization/item/certificate_based_auth_configuration/certificate_based_auth_configuration_request_builder.py b/msgraph_beta/generated/organization/item/certificate_based_auth_configuration/certificate_based_auth_configuration_request_builder.py index 88652f560a8..41259f6db95 100644 --- a/msgraph_beta/generated/organization/item/certificate_based_auth_configuration/certificate_based_auth_configuration_request_builder.py +++ b/msgraph_beta/generated/organization/item/certificate_based_auth_configuration/certificate_based_auth_configuration_request_builder.py @@ -45,7 +45,7 @@ def by_certificate_based_auth_configuration_id(self,certificate_based_auth_confi async def get(self,request_configuration: Optional[CertificateBasedAuthConfigurationRequestBuilderGetRequestConfiguration] = None) -> Optional[CertificateBasedAuthConfigurationCollectionResponse]: """ - Get a list of certificateBasedAuthConfiguration objects. This API is available in the following national cloud deployments. + Get a list of certificateBasedAuthConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CertificateBasedAuthConfigurationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/certificatebasedauthconfiguration-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[CertificateBasedAuthConfigura async def post(self,body: Optional[CertificateBasedAuthConfiguration] = None, request_configuration: Optional[CertificateBasedAuthConfigurationRequestBuilderPostRequestConfiguration] = None) -> Optional[CertificateBasedAuthConfiguration]: """ - Create a new certificateBasedAuthConfiguration object. This API is available in the following national cloud deployments. + Create a new certificateBasedAuthConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CertificateBasedAuthConfiguration] @@ -92,7 +92,7 @@ async def post(self,body: Optional[CertificateBasedAuthConfiguration] = None, re def to_get_request_information(self,request_configuration: Optional[CertificateBasedAuthConfigurationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of certificateBasedAuthConfiguration objects. This API is available in the following national cloud deployments. + Get a list of certificateBasedAuthConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[CertificateB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CertificateBasedAuthConfiguration] = None, request_configuration: Optional[CertificateBasedAuthConfigurationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new certificateBasedAuthConfiguration object. This API is available in the following national cloud deployments. + Create a new certificateBasedAuthConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[CertificateBasedAuthConfigur request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CertificateBasedAuthConfigurationRequestBuilderGetQueryParameters(): """ - Get a list of certificateBasedAuthConfiguration objects. This API is available in the following national cloud deployments. + Get a list of certificateBasedAuthConfiguration objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/organization/item/certificate_based_auth_configuration/item/certificate_based_auth_configuration_item_request_builder.py b/msgraph_beta/generated/organization/item/certificate_based_auth_configuration/item/certificate_based_auth_configuration_item_request_builder.py index 4d7ff840094..56616b03dc9 100644 --- a/msgraph_beta/generated/organization/item/certificate_based_auth_configuration/item/certificate_based_auth_configuration_item_request_builder.py +++ b/msgraph_beta/generated/organization/item/certificate_based_auth_configuration/item/certificate_based_auth_configuration_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[CertificateBasedAuthConfigurationItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a certificateBasedAuthConfiguration object. This API is available in the following national cloud deployments. + Delete a certificateBasedAuthConfiguration object. 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/certificatebasedauthconfiguration-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[CertificateBasedAuthConfig async def get(self,request_configuration: Optional[CertificateBasedAuthConfigurationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CertificateBasedAuthConfiguration]: """ - Get the properties of a certificateBasedAuthConfiguration object. This API is available in the following national cloud deployments. + Get the properties of a certificateBasedAuthConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CertificateBasedAuthConfiguration] Find more info here: https://learn.microsoft.com/graph/api/certificatebasedauthconfiguration-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[CertificateBasedAuthConfigura def to_delete_request_information(self,request_configuration: Optional[CertificateBasedAuthConfigurationItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a certificateBasedAuthConfiguration object. This API is available in the following national cloud deployments. + Delete a certificateBasedAuthConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Certifica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CertificateBasedAuthConfigurationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties of a certificateBasedAuthConfiguration object. This API is available in the following national cloud deployments. + Get the properties of a certificateBasedAuthConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[CertificateB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CertificateBasedAuthConfigurationItemRequestBuilder: @@ -124,7 +124,7 @@ class CertificateBasedAuthConfigurationItemRequestBuilderDeleteRequestConfigurat @dataclass class CertificateBasedAuthConfigurationItemRequestBuilderGetQueryParameters(): """ - Get the properties of a certificateBasedAuthConfiguration object. This API is available in the following national cloud deployments. + Get the properties of a certificateBasedAuthConfiguration object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/organization/item/check_member_groups/check_member_groups_request_builder.py b/msgraph_beta/generated/organization/item/check_member_groups/check_member_groups_request_builder.py index 41ef50af274..bf9b4bf702b 100644 --- a/msgraph_beta/generated/organization/item/check_member_groups/check_member_groups_request_builder.py +++ b/msgraph_beta/generated/organization/item/check_member_groups/check_member_groups_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[CheckMemberGroupsPostResponse]: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, req def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/organization/item/check_member_objects/check_member_objects_request_builder.py b/msgraph_beta/generated/organization/item/check_member_objects/check_member_objects_request_builder.py index 070331817f0..747989ebab0 100644 --- a/msgraph_beta/generated/organization/item/check_member_objects/check_member_objects_request_builder.py +++ b/msgraph_beta/generated/organization/item/check_member_objects/check_member_objects_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CheckMemberObjectsPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/organization/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/organization/item/extensions/extensions_request_builder.py index 49791c2bbd3..f637ceb5da6 100644 --- a/msgraph_beta/generated/organization/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/organization/item/extensions/extensions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/organization/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/organization/item/extensions/item/extension_item_request_builder.py index d8a8f2e18c0..990835e68c1 100644 --- a/msgraph_beta/generated/organization/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/organization/item/extensions/item/extension_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/organization/item/get_member_groups/get_member_groups_request_builder.py b/msgraph_beta/generated/organization/item/get_member_groups/get_member_groups_request_builder.py index 0b7f92e44a2..550748deee3 100644 --- a/msgraph_beta/generated/organization/item/get_member_groups/get_member_groups_request_builder.py +++ b/msgraph_beta/generated/organization/item/get_member_groups/get_member_groups_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetMemberGroupsPostResponse]: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/organization/item/get_member_objects/get_member_objects_request_builder.py b/msgraph_beta/generated/organization/item/get_member_objects/get_member_objects_request_builder.py index c9295a99ae8..5d7417e070b 100644 --- a/msgraph_beta/generated/organization/item/get_member_objects/get_member_objects_request_builder.py +++ b/msgraph_beta/generated/organization/item/get_member_objects/get_member_objects_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GetMemberObjectsPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/organization/item/organization_item_request_builder.py b/msgraph_beta/generated/organization/item/organization_item_request_builder.py index ef0d872642e..9e60b984869 100644 --- a/msgraph_beta/generated/organization/item/organization_item_request_builder.py +++ b/msgraph_beta/generated/organization/item/organization_item_request_builder.py @@ -58,7 +58,7 @@ async def delete(self,request_configuration: Optional[OrganizationItemRequestBui async def get(self,request_configuration: Optional[OrganizationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Organization]: """ - Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. This API is available in the following national cloud deployments. + Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Organization] Find more info here: https://learn.microsoft.com/graph/api/organization-get?view=graph-rest-1.0 @@ -80,7 +80,7 @@ async def get(self,request_configuration: Optional[OrganizationItemRequestBuilde async def patch(self,body: Optional[Organization] = None, request_configuration: Optional[OrganizationItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Organization]: """ - Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization. This API is available in the following national cloud deployments. + Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Organization] @@ -116,12 +116,12 @@ def to_delete_request_information(self,request_configuration: Optional[Organizat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OrganizationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. This API is available in the following national cloud deployments. + Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -133,12 +133,12 @@ def to_get_request_information(self,request_configuration: Optional[Organization request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Organization] = None, request_configuration: Optional[OrganizationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization. This API is available in the following national cloud deployments. + Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -152,7 +152,7 @@ def to_patch_request_information(self,body: Optional[Organization] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -278,7 +278,7 @@ class OrganizationItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class OrganizationItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. This API is available in the following national cloud deployments. + Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/organization/item/partner_information/partner_information_request_builder.py b/msgraph_beta/generated/organization/item/partner_information/partner_information_request_builder.py index 6e1d17d667d..53d51363b06 100644 --- a/msgraph_beta/generated/organization/item/partner_information/partner_information_request_builder.py +++ b/msgraph_beta/generated/organization/item/partner_information/partner_information_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PartnerIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PartnerInformationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PartnerInfor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PartnerInformation] = None, request_configuration: Optional[PartnerInformationRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PartnerInformation] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/organization/item/restore/restore_request_builder.py b/msgraph_beta/generated/organization/item/restore/restore_request_builder.py index 5aff02b0d73..111ffbd551a 100644 --- a/msgraph_beta/generated/organization/item/restore/restore_request_builder.py +++ b/msgraph_beta/generated/organization/item/restore/restore_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RestoreRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[RestoreRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RestoreRequestBuilder: diff --git a/msgraph_beta/generated/organization/item/set_mobile_device_management_authority/set_mobile_device_management_authority_request_builder.py b/msgraph_beta/generated/organization/item/set_mobile_device_management_authority/set_mobile_device_management_authority_request_builder.py index ca34752e82a..7e1f20654d9 100644 --- a/msgraph_beta/generated/organization/item/set_mobile_device_management_authority/set_mobile_device_management_authority_request_builder.py +++ b/msgraph_beta/generated/organization/item/set_mobile_device_management_authority/set_mobile_device_management_authority_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[SetMobileDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetMobileDeviceManagementAuthorityRequestBuilder: diff --git a/msgraph_beta/generated/organization/item/settings/contact_insights/contact_insights_request_builder.py b/msgraph_beta/generated/organization/item/settings/contact_insights/contact_insights_request_builder.py index 22af7d4f79b..c4fccfad5e2 100644 --- a/msgraph_beta/generated/organization/item/settings/contact_insights/contact_insights_request_builder.py +++ b/msgraph_beta/generated/organization/item/settings/contact_insights/contact_insights_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ContactInsightsRequestBuil async def get(self,request_configuration: Optional[ContactInsightsRequestBuilderGetRequestConfiguration] = None) -> Optional[InsightsSettings]: """ - Get the properties of an insightsSettings object for displaying or returning contact insights in an organization. This API is available in the following national cloud deployments. + Get the properties of an insightsSettings object for displaying or returning contact insights in an organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InsightsSettings] Find more info here: https://learn.microsoft.com/graph/api/organizationsettings-list-contactinsights?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[ContactInsightsRequestBuilder async def patch(self,body: Optional[InsightsSettings] = None, request_configuration: Optional[ContactInsightsRequestBuilderPatchRequestConfiguration] = None) -> Optional[InsightsSettings]: """ - Update privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy This API is available in the following national cloud deployments. + Update privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InsightsSettings] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ContactIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ContactInsightsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties of an insightsSettings object for displaying or returning contact insights in an organization. This API is available in the following national cloud deployments. + Get the properties of an insightsSettings object for displaying or returning contact insights in an organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[ContactInsig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[InsightsSettings] = None, request_configuration: Optional[ContactInsightsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy This API is available in the following national cloud deployments. + Update privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[InsightsSettings] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ContactInsightsRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class ContactInsightsRequestBuilderGetQueryParameters(): """ - Get the properties of an insightsSettings object for displaying or returning contact insights in an organization. This API is available in the following national cloud deployments. + Get the properties of an insightsSettings object for displaying or returning contact insights in an organization. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/organization/item/settings/item_insights/item_insights_request_builder.py b/msgraph_beta/generated/organization/item/settings/item_insights/item_insights_request_builder.py index a20a146db12..f6d2ea89373 100644 --- a/msgraph_beta/generated/organization/item/settings/item_insights/item_insights_request_builder.py +++ b/msgraph_beta/generated/organization/item/settings/item_insights/item_insights_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ItemInsightsRequestBuilder async def get(self,request_configuration: Optional[ItemInsightsRequestBuilderGetRequestConfiguration] = None) -> Optional[InsightsSettings]: """ - Get the properties of an insightsSettings object for displaying or returning item insights in an organization. To learn how to customize the privacy of item insights in an organization, see Customize item insights privacy. This API is available in the following national cloud deployments. + Get the properties of an insightsSettings object for displaying or returning item insights in an organization. To learn how to customize the privacy of item insights in an organization, see Customize item insights privacy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InsightsSettings] Find more info here: https://learn.microsoft.com/graph/api/organizationsettings-list-iteminsights?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[ItemInsightsRequestBuilderGet async def patch(self,body: Optional[InsightsSettings] = None, request_configuration: Optional[ItemInsightsRequestBuilderPatchRequestConfiguration] = None) -> Optional[InsightsSettings]: """ - Update privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy This API is available in the following national cloud deployments. + Update privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InsightsSettings] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ItemInsig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemInsightsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties of an insightsSettings object for displaying or returning item insights in an organization. To learn how to customize the privacy of item insights in an organization, see Customize item insights privacy. This API is available in the following national cloud deployments. + Get the properties of an insightsSettings object for displaying or returning item insights in an organization. To learn how to customize the privacy of item insights in an organization, see Customize item insights privacy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[ItemInsights request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[InsightsSettings] = None, request_configuration: Optional[ItemInsightsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy This API is available in the following national cloud deployments. + Update privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[InsightsSettings] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ItemInsightsRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class ItemInsightsRequestBuilderGetQueryParameters(): """ - Get the properties of an insightsSettings object for displaying or returning item insights in an organization. To learn how to customize the privacy of item insights in an organization, see Customize item insights privacy. This API is available in the following national cloud deployments. + Get the properties of an insightsSettings object for displaying or returning item insights in an organization. To learn how to customize the privacy of item insights in an organization, see Customize item insights privacy. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/organization/item/settings/microsoft_application_data_access/microsoft_application_data_access_request_builder.py b/msgraph_beta/generated/organization/item/settings/microsoft_application_data_access/microsoft_application_data_access_request_builder.py index 02ccd5e8219..6533238191d 100644 --- a/msgraph_beta/generated/organization/item/settings/microsoft_application_data_access/microsoft_application_data_access_request_builder.py +++ b/msgraph_beta/generated/organization/item/settings/microsoft_application_data_access/microsoft_application_data_access_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[MicrosoftApplicationDataAc async def get(self,request_configuration: Optional[MicrosoftApplicationDataAccessRequestBuilderGetRequestConfiguration] = None) -> Optional[MicrosoftApplicationDataAccessSettings]: """ - Get the settings in a microsoftApplicationDataAccessSettings object that specify access from Microsoft applications to Microsoft 365 user data in an organization. This API is available in the following national cloud deployments. + Get the settings in a microsoftApplicationDataAccessSettings object that specify access from Microsoft applications to Microsoft 365 user data in an organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MicrosoftApplicationDataAccessSettings] Find more info here: https://learn.microsoft.com/graph/api/organizationsettings-list-microsoftapplicationdataaccess?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[MicrosoftApplicationDataAcces async def patch(self,body: Optional[MicrosoftApplicationDataAccessSettings] = None, request_configuration: Optional[MicrosoftApplicationDataAccessRequestBuilderPatchRequestConfiguration] = None) -> Optional[MicrosoftApplicationDataAccessSettings]: """ - Update the settings in a microsoftApplicationDataAccessSettings object that specify access from Microsoft applications to Microsoft 365 user data in an organization. This API is available in the following national cloud deployments. + Update the settings in a microsoftApplicationDataAccessSettings object that specify access from Microsoft applications to Microsoft 365 user data in an organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MicrosoftApplicationDataAccessSettings] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Microsoft request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MicrosoftApplicationDataAccessRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the settings in a microsoftApplicationDataAccessSettings object that specify access from Microsoft applications to Microsoft 365 user data in an organization. This API is available in the following national cloud deployments. + Get the settings in a microsoftApplicationDataAccessSettings object that specify access from Microsoft applications to Microsoft 365 user data in an organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MicrosoftApplicationDataAccessSettings] = None, request_configuration: Optional[MicrosoftApplicationDataAccessRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the settings in a microsoftApplicationDataAccessSettings object that specify access from Microsoft applications to Microsoft 365 user data in an organization. This API is available in the following national cloud deployments. + Update the settings in a microsoftApplicationDataAccessSettings object that specify access from Microsoft applications to Microsoft 365 user data in an organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MicrosoftApplicationDataAcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class MicrosoftApplicationDataAccessRequestBuilderDeleteRequestConfiguration(Bas @dataclass class MicrosoftApplicationDataAccessRequestBuilderGetQueryParameters(): """ - Get the settings in a microsoftApplicationDataAccessSettings object that specify access from Microsoft applications to Microsoft 365 user data in an organization. This API is available in the following national cloud deployments. + Get the settings in a microsoftApplicationDataAccessSettings object that specify access from Microsoft applications to Microsoft 365 user data in an organization. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/organization/item/settings/people_insights/people_insights_request_builder.py b/msgraph_beta/generated/organization/item/settings/people_insights/people_insights_request_builder.py index ce8e3d3befd..4551cbbb430 100644 --- a/msgraph_beta/generated/organization/item/settings/people_insights/people_insights_request_builder.py +++ b/msgraph_beta/generated/organization/item/settings/people_insights/people_insights_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[PeopleInsightsRequestBuild async def get(self,request_configuration: Optional[PeopleInsightsRequestBuilderGetRequestConfiguration] = None) -> Optional[InsightsSettings]: """ - Get the properties of an insightsSettings object for displaying or returning people insights in an organization. To learn how to customize privacy for people insights in an organization, see Customize people insights privacy in Microsoft Graph. This API is available in the following national cloud deployments. + Get the properties of an insightsSettings object for displaying or returning people insights in an organization. To learn how to customize privacy for people insights in an organization, see Customize people insights privacy in Microsoft Graph. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InsightsSettings] Find more info here: https://learn.microsoft.com/graph/api/organizationsettings-list-peopleinsights?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[PeopleInsightsRequestBuilderG async def patch(self,body: Optional[InsightsSettings] = None, request_configuration: Optional[PeopleInsightsRequestBuilderPatchRequestConfiguration] = None) -> Optional[InsightsSettings]: """ - Update privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy This API is available in the following national cloud deployments. + Update privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InsightsSettings] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[PeopleIns request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PeopleInsightsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties of an insightsSettings object for displaying or returning people insights in an organization. To learn how to customize privacy for people insights in an organization, see Customize people insights privacy in Microsoft Graph. This API is available in the following national cloud deployments. + Get the properties of an insightsSettings object for displaying or returning people insights in an organization. To learn how to customize privacy for people insights in an organization, see Customize people insights privacy in Microsoft Graph. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[PeopleInsigh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[InsightsSettings] = None, request_configuration: Optional[PeopleInsightsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy This API is available in the following national cloud deployments. + Update privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[InsightsSettings] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class PeopleInsightsRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class PeopleInsightsRequestBuilderGetQueryParameters(): """ - Get the properties of an insightsSettings object for displaying or returning people insights in an organization. To learn how to customize privacy for people insights in an organization, see Customize people insights privacy in Microsoft Graph. This API is available in the following national cloud deployments. + Get the properties of an insightsSettings object for displaying or returning people insights in an organization. To learn how to customize privacy for people insights in an organization, see Customize people insights privacy in Microsoft Graph. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/organization/item/settings/settings_request_builder.py b/msgraph_beta/generated/organization/item/settings/settings_request_builder.py index 3331534f0c0..f7962eceadb 100644 --- a/msgraph_beta/generated/organization/item/settings/settings_request_builder.py +++ b/msgraph_beta/generated/organization/item/settings/settings_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[SettingsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OrganizationSettings] = None, request_configuration: Optional[SettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[OrganizationSettings] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/organization/organization_request_builder.py b/msgraph_beta/generated/organization/organization_request_builder.py index 00191238063..ed2c185467c 100644 --- a/msgraph_beta/generated/organization/organization_request_builder.py +++ b/msgraph_beta/generated/organization/organization_request_builder.py @@ -49,7 +49,7 @@ def by_organization_id(self,organization_id: str) -> OrganizationItemRequestBuil async def get(self,request_configuration: Optional[OrganizationRequestBuilderGetRequestConfiguration] = None) -> Optional[OrganizationCollectionResponse]: """ - Retrieve a list of organization objects. There's only one organization object in the collection. This API is available in the following national cloud deployments. + Retrieve a list of organization objects. There's only one organization object in the collection. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OrganizationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/organization-list?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def post(self,body: Optional[Organization] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[OrganizationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of organization objects. There's only one organization object in the collection. This API is available in the following national cloud deployments. + Retrieve a list of organization objects. There's only one organization object in the collection. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,7 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[Organization request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Organization] = None, request_configuration: Optional[OrganizationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_post_request_information(self,body: Optional[Organization] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ def validate_properties(self) -> ValidatePropertiesRequestBuilder: @dataclass class OrganizationRequestBuilderGetQueryParameters(): """ - Retrieve a list of organization objects. There's only one organization object in the collection. This API is available in the following national cloud deployments. + Retrieve a list of organization objects. There's only one organization object in the collection. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/organization/validate_properties/validate_properties_request_builder.py b/msgraph_beta/generated/organization/validate_properties/validate_properties_request_builder.py index 0674c8ddf13..0dd47d683b8 100644 --- a/msgraph_beta/generated/organization/validate_properties/validate_properties_request_builder.py +++ b/msgraph_beta/generated/organization/validate_properties/validate_properties_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> None: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, re def to_post_request_information(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ValidatePropertiesPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/payload_response/item/payload_response_item_request_builder.py b/msgraph_beta/generated/payload_response/item/payload_response_item_request_builder.py index 1d92317fbf8..a8c49de386f 100644 --- a/msgraph_beta/generated/payload_response/item/payload_response_item_request_builder.py +++ b/msgraph_beta/generated/payload_response/item/payload_response_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PayloadRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PayloadResponseItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PayloadRespo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PayloadResponse] = None, request_configuration: Optional[PayloadResponseItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PayloadResponse] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/payload_response/payload_response_request_builder.py b/msgraph_beta/generated/payload_response/payload_response_request_builder.py index 293028cbc26..9044b6b0546 100644 --- a/msgraph_beta/generated/payload_response/payload_response_request_builder.py +++ b/msgraph_beta/generated/payload_response/payload_response_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PayloadRespo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PayloadResponse] = None, request_configuration: Optional[PayloadResponseRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[PayloadResponse] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/permission_grants/delta/delta_request_builder.py b/msgraph_beta/generated/permission_grants/delta/delta_request_builder.py index 398960a2459..e417351b0c8 100644 --- a/msgraph_beta/generated/permission_grants/delta/delta_request_builder.py +++ b/msgraph_beta/generated/permission_grants/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/permission_grants/get_by_ids/get_by_ids_request_builder.py b/msgraph_beta/generated/permission_grants/get_by_ids/get_by_ids_request_builder.py index 3917b70f1c2..c142b50e510 100644 --- a/msgraph_beta/generated/permission_grants/get_by_ids/get_by_ids_request_builder.py +++ b/msgraph_beta/generated/permission_grants/get_by_ids/get_by_ids_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetByIdsPostResponse]: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetByIdsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/permission_grants/get_user_owned_objects/get_user_owned_objects_request_builder.py b/msgraph_beta/generated/permission_grants/get_user_owned_objects/get_user_owned_objects_request_builder.py index ef7ccbd7275..acf52386c81 100644 --- a/msgraph_beta/generated/permission_grants/get_user_owned_objects/get_user_owned_objects_request_builder.py +++ b/msgraph_beta/generated/permission_grants/get_user_owned_objects/get_user_owned_objects_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, request_configuration: Optional[GetUserOwnedObjectsRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. This API is available in the following national cloud deployments. + Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, r def to_post_request_information(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, request_configuration: Optional[GetUserOwnedObjectsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. This API is available in the following national cloud deployments. + Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetUserOwnedObjectsPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/permission_grants/item/check_member_groups/check_member_groups_request_builder.py b/msgraph_beta/generated/permission_grants/item/check_member_groups/check_member_groups_request_builder.py index cd1518125a5..ddb0eed1839 100644 --- a/msgraph_beta/generated/permission_grants/item/check_member_groups/check_member_groups_request_builder.py +++ b/msgraph_beta/generated/permission_grants/item/check_member_groups/check_member_groups_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[CheckMemberGroupsPostResponse]: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, req def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/permission_grants/item/check_member_objects/check_member_objects_request_builder.py b/msgraph_beta/generated/permission_grants/item/check_member_objects/check_member_objects_request_builder.py index 5754adb8f14..4589a89523f 100644 --- a/msgraph_beta/generated/permission_grants/item/check_member_objects/check_member_objects_request_builder.py +++ b/msgraph_beta/generated/permission_grants/item/check_member_objects/check_member_objects_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CheckMemberObjectsPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/permission_grants/item/get_member_groups/get_member_groups_request_builder.py b/msgraph_beta/generated/permission_grants/item/get_member_groups/get_member_groups_request_builder.py index 6661a23eb62..26ac17e581b 100644 --- a/msgraph_beta/generated/permission_grants/item/get_member_groups/get_member_groups_request_builder.py +++ b/msgraph_beta/generated/permission_grants/item/get_member_groups/get_member_groups_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetMemberGroupsPostResponse]: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/permission_grants/item/get_member_objects/get_member_objects_request_builder.py b/msgraph_beta/generated/permission_grants/item/get_member_objects/get_member_objects_request_builder.py index feedb706657..bdc3c137cc7 100644 --- a/msgraph_beta/generated/permission_grants/item/get_member_objects/get_member_objects_request_builder.py +++ b/msgraph_beta/generated/permission_grants/item/get_member_objects/get_member_objects_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GetMemberObjectsPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/permission_grants/item/resource_specific_permission_grant_item_request_builder.py b/msgraph_beta/generated/permission_grants/item/resource_specific_permission_grant_item_request_builder.py index 5d103859b30..d219bea9546 100644 --- a/msgraph_beta/generated/permission_grants/item/resource_specific_permission_grant_item_request_builder.py +++ b/msgraph_beta/generated/permission_grants/item/resource_specific_permission_grant_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[ResourceS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ResourceSpecificPermissionGrantItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceSpec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ResourceSpecificPermissionGrant] = None, request_configuration: Optional[ResourceSpecificPermissionGrantItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[ResourceSpecificPermissionG request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/permission_grants/item/restore/restore_request_builder.py b/msgraph_beta/generated/permission_grants/item/restore/restore_request_builder.py index c4311552b60..c61b660947e 100644 --- a/msgraph_beta/generated/permission_grants/item/restore/restore_request_builder.py +++ b/msgraph_beta/generated/permission_grants/item/restore/restore_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RestoreRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[RestoreRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RestoreRequestBuilder: diff --git a/msgraph_beta/generated/permission_grants/permission_grants_request_builder.py b/msgraph_beta/generated/permission_grants/permission_grants_request_builder.py index bc2a83c65b7..83915c09957 100644 --- a/msgraph_beta/generated/permission_grants/permission_grants_request_builder.py +++ b/msgraph_beta/generated/permission_grants/permission_grants_request_builder.py @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[PermissionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ResourceSpecificPermissionGrant] = None, request_configuration: Optional[PermissionGrantsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ResourceSpecificPermissionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/permission_grants/validate_properties/validate_properties_request_builder.py b/msgraph_beta/generated/permission_grants/validate_properties/validate_properties_request_builder.py index 5edb2811f38..fcaf9e40b89 100644 --- a/msgraph_beta/generated/permission_grants/validate_properties/validate_properties_request_builder.py +++ b/msgraph_beta/generated/permission_grants/validate_properties/validate_properties_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> None: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, re def to_post_request_information(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ValidatePropertiesPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/places/graph_room/graph_room_request_builder.py b/msgraph_beta/generated/places/graph_room/graph_room_request_builder.py index 974b3b2aa1c..67f43c09ae9 100644 --- a/msgraph_beta/generated/places/graph_room/graph_room_request_builder.py +++ b/msgraph_beta/generated/places/graph_room/graph_room_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphRoomReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphRoomRequestBuilder: diff --git a/msgraph_beta/generated/places/graph_room_list/graph_room_list_request_builder.py b/msgraph_beta/generated/places/graph_room_list/graph_room_list_request_builder.py index 07bbc0cf2cc..f60bb42cb9d 100644 --- a/msgraph_beta/generated/places/graph_room_list/graph_room_list_request_builder.py +++ b/msgraph_beta/generated/places/graph_room_list/graph_room_list_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphRoomLis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphRoomListRequestBuilder: diff --git a/msgraph_beta/generated/places/item/graph_room/graph_room_request_builder.py b/msgraph_beta/generated/places/item/graph_room/graph_room_request_builder.py index 45bea545c28..3ef070c5506 100644 --- a/msgraph_beta/generated/places/item/graph_room/graph_room_request_builder.py +++ b/msgraph_beta/generated/places/item/graph_room/graph_room_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphRoomReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphRoomRequestBuilder: diff --git a/msgraph_beta/generated/places/item/graph_room_list/graph_room_list_request_builder.py b/msgraph_beta/generated/places/item/graph_room_list/graph_room_list_request_builder.py index 315d4bc027c..d2c09d7fe14 100644 --- a/msgraph_beta/generated/places/item/graph_room_list/graph_room_list_request_builder.py +++ b/msgraph_beta/generated/places/item/graph_room_list/graph_room_list_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphRoomLis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphRoomListRequestBuilder: diff --git a/msgraph_beta/generated/places/item/graph_room_list/rooms/item/room_item_request_builder.py b/msgraph_beta/generated/places/item/graph_room_list/rooms/item/room_item_request_builder.py index 1318cd2187c..1c01a5d14ef 100644 --- a/msgraph_beta/generated/places/item/graph_room_list/rooms/item/room_item_request_builder.py +++ b/msgraph_beta/generated/places/item/graph_room_list/rooms/item/room_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RoomItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RoomItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RoomItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Room] = None, request_configuration: Optional[RoomItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Room] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/places/item/graph_room_list/rooms/rooms_request_builder.py b/msgraph_beta/generated/places/item/graph_room_list/rooms/rooms_request_builder.py index 306f3636b3a..44fcdaa6e39 100644 --- a/msgraph_beta/generated/places/item/graph_room_list/rooms/rooms_request_builder.py +++ b/msgraph_beta/generated/places/item/graph_room_list/rooms/rooms_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RoomsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Room] = None, request_configuration: Optional[RoomsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Room] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/places/item/graph_room_list/workspaces/item/workspace_item_request_builder.py b/msgraph_beta/generated/places/item/graph_room_list/workspaces/item/workspace_item_request_builder.py index 19e4f127bcf..35f7745caf1 100644 --- a/msgraph_beta/generated/places/item/graph_room_list/workspaces/item/workspace_item_request_builder.py +++ b/msgraph_beta/generated/places/item/graph_room_list/workspaces/item/workspace_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Workspace request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkspaceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[WorkspaceIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Workspace] = None, request_configuration: Optional[WorkspaceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Workspace] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/places/item/graph_room_list/workspaces/workspaces_request_builder.py b/msgraph_beta/generated/places/item/graph_room_list/workspaces/workspaces_request_builder.py index 50fea4d87ca..6f9b6971cc2 100644 --- a/msgraph_beta/generated/places/item/graph_room_list/workspaces/workspaces_request_builder.py +++ b/msgraph_beta/generated/places/item/graph_room_list/workspaces/workspaces_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[WorkspacesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Workspace] = None, request_configuration: Optional[WorkspacesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Workspace] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/places/item/place_item_request_builder.py b/msgraph_beta/generated/places/item/place_item_request_builder.py index fdafbfbef60..e5f3686d0ea 100644 --- a/msgraph_beta/generated/places/item/place_item_request_builder.py +++ b/msgraph_beta/generated/places/item/place_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[PlaceItemRequestBuilderDel async def patch(self,body: Optional[Place] = None, request_configuration: Optional[PlaceItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Place]: """ - Update the properties of place object, which can be a room, workspace, or roomList. You can identify the room, workspace, or roomList by specifying the id or emailAddress property. This API is available in the following national cloud deployments. + Update the properties of place object, which can be a room, workspace, or roomList. You can identify the room, workspace, or roomList by specifying the id or emailAddress property. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Place] @@ -85,12 +85,12 @@ def to_delete_request_information(self,request_configuration: Optional[PlaceItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Place] = None, request_configuration: Optional[PlaceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of place object, which can be a room, workspace, or roomList. You can identify the room, workspace, or roomList by specifying the id or emailAddress property. This API is available in the following national cloud deployments. + Update the properties of place object, which can be a room, workspace, or roomList. You can identify the room, workspace, or roomList by specifying the id or emailAddress property. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[Place] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/planner/buckets/buckets_request_builder.py b/msgraph_beta/generated/planner/buckets/buckets_request_builder.py index a126e133e61..f321deed552 100644 --- a/msgraph_beta/generated/planner/buckets/buckets_request_builder.py +++ b/msgraph_beta/generated/planner/buckets/buckets_request_builder.py @@ -46,7 +46,7 @@ def by_planner_bucket_id(self,planner_bucket_id: str) -> PlannerBucketItemReques async def get(self,request_configuration: Optional[BucketsRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerBucketCollectionResponse]: """ - Retrieve a list of plannerbucket objects. This API is available in the following national cloud deployments. + Retrieve a list of plannerbucket objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerBucketCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/planner-list-buckets?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[BucketsRequestBuilderGetReque async def post(self,body: Optional[PlannerBucket] = None, request_configuration: Optional[BucketsRequestBuilderPostRequestConfiguration] = None) -> Optional[PlannerBucket]: """ - Create a new plannerBucket object. This API is available in the following national cloud deployments. + Create a new plannerBucket object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerBucket] @@ -93,7 +93,7 @@ async def post(self,body: Optional[PlannerBucket] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[BucketsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of plannerbucket objects. This API is available in the following national cloud deployments. + Retrieve a list of plannerbucket objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[BucketsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PlannerBucket] = None, request_configuration: Optional[BucketsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new plannerBucket object. This API is available in the following national cloud deployments. + Create a new plannerBucket object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[PlannerBucket] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class BucketsRequestBuilderGetQueryParameters(): """ - Retrieve a list of plannerbucket objects. This API is available in the following national cloud deployments. + Retrieve a list of plannerbucket objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/buckets/delta/delta_request_builder.py b/msgraph_beta/generated/planner/buckets/delta/delta_request_builder.py index 9fc6c53c052..b71b1df6d3a 100644 --- a/msgraph_beta/generated/planner/buckets/delta/delta_request_builder.py +++ b/msgraph_beta/generated/planner/buckets/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/planner/buckets/item/planner_bucket_item_request_builder.py b/msgraph_beta/generated/planner/buckets/item/planner_bucket_item_request_builder.py index e34e1c72c28..b886669d081 100644 --- a/msgraph_beta/generated/planner/buckets/item/planner_bucket_item_request_builder.py +++ b/msgraph_beta/generated/planner/buckets/item/planner_bucket_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[PlannerBucketItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete plannerBucket. This API is available in the following national cloud deployments. + Delete plannerBucket. 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/plannerbucket-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[PlannerBucketItemRequestBu async def get(self,request_configuration: Optional[PlannerBucketItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerBucket]: """ - Retrieve the properties and relationships of a plannerBucket object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerBucket object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerBucket] Find more info here: https://learn.microsoft.com/graph/api/plannerbucket-get?view=graph-rest-1.0 @@ -96,7 +96,7 @@ async def patch(self,body: Optional[PlannerBucket] = None, request_configuration def to_delete_request_information(self,request_configuration: Optional[PlannerBucketItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete plannerBucket. This API is available in the following national cloud deployments. + Delete plannerBucket. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[PlannerBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PlannerBucketItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a plannerBucket object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerBucket object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[PlannerBucke request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerBucket] = None, request_configuration: Optional[PlannerBucketItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[PlannerBucket] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class PlannerBucketItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class PlannerBucketItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a plannerBucket object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerBucket object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/buckets/item/tasks/delta/delta_request_builder.py b/msgraph_beta/generated/planner/buckets/item/tasks/delta/delta_request_builder.py index e7946b5c068..3bc05f52bdd 100644 --- a/msgraph_beta/generated/planner/buckets/item/tasks/delta/delta_request_builder.py +++ b/msgraph_beta/generated/planner/buckets/item/tasks/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/planner/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py b/msgraph_beta/generated/planner/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py index c70603c228c..c6fab829912 100644 --- a/msgraph_beta/generated/planner/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py +++ b/msgraph_beta/generated/planner/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[AssignedToTaskBoardFormatR async def get(self,request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerAssignedToTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerAssignedToTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[AssignedT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignedToTa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerAssignedToTaskBoardTaskFormat] = None, request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerAssignedToTaskBoardT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class AssignedToTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class AssignedToTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py b/msgraph_beta/generated/planner/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py index 694783e4b7a..9bb4c9afb34 100644 --- a/msgraph_beta/generated/planner/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py +++ b/msgraph_beta/generated/planner/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[BucketTaskBoardFormatReque async def get(self,request_configuration: Optional[BucketTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerBucketTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerBucketTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[BucketTas request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BucketTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[BucketTaskBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerBucketTaskBoardTaskFormat] = None, request_configuration: Optional[BucketTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerBucketTaskBoardTaskF request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class BucketTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class BucketTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/buckets/item/tasks/item/details/details_request_builder.py b/msgraph_beta/generated/planner/buckets/item/tasks/item/details/details_request_builder.py index e310c6c3fc5..4403e8c1a47 100644 --- a/msgraph_beta/generated/planner/buckets/item/tasks/item/details/details_request_builder.py +++ b/msgraph_beta/generated/planner/buckets/item/tasks/item/details/details_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[DetailsRequestBuilderDelet async def get(self,request_configuration: Optional[DetailsRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerTaskDetails]: """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerTaskDetails] Find more info here: https://learn.microsoft.com/graph/api/plannertaskdetails-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[DetailsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DetailsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[DetailsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerTaskDetails] = None, request_configuration: Optional[DetailsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerTaskDetails] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class DetailsRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class DetailsRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/buckets/item/tasks/item/planner_task_item_request_builder.py b/msgraph_beta/generated/planner/buckets/item/tasks/item/planner_task_item_request_builder.py index 2a5eb308bda..12795e50e08 100644 --- a/msgraph_beta/generated/planner/buckets/item/tasks/item/planner_task_item_request_builder.py +++ b/msgraph_beta/generated/planner/buckets/item/tasks/item/planner_task_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[PlannerTa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PlannerTaskItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[PlannerTaskI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerTask] = None, request_configuration: Optional[PlannerTaskItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[PlannerTask] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/planner/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py b/msgraph_beta/generated/planner/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py index 614bd73817e..76765a315af 100644 --- a/msgraph_beta/generated/planner/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py +++ b/msgraph_beta/generated/planner/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ProgressTaskBoardFormatReq async def get(self,request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerProgressTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerProgressTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ProgressT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ProgressTask request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerProgressTaskBoardTaskFormat] = None, request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerProgressTaskBoardTas request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ProgressTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class ProgressTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/buckets/item/tasks/tasks_request_builder.py b/msgraph_beta/generated/planner/buckets/item/tasks/tasks_request_builder.py index 710b3640a06..fafa7d41238 100644 --- a/msgraph_beta/generated/planner/buckets/item/tasks/tasks_request_builder.py +++ b/msgraph_beta/generated/planner/buckets/item/tasks/tasks_request_builder.py @@ -46,7 +46,7 @@ def by_planner_task_id(self,planner_task_id: str) -> PlannerTaskItemRequestBuild async def get(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerTaskCollectionResponse]: """ - Retrieve a list of plannerTask objects associated to a plannerBucket object. This API is available in the following national cloud deployments. + Retrieve a list of plannerTask objects associated to a plannerBucket object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerTaskCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/plannerbucket-list-tasks?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[PlannerTask] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of plannerTask objects associated to a plannerBucket object. This API is available in the following national cloud deployments. + Retrieve a list of plannerTask objects associated to a plannerBucket object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[TasksRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PlannerTask] = None, request_configuration: Optional[TasksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PlannerTask] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class TasksRequestBuilderGetQueryParameters(): """ - Retrieve a list of plannerTask objects associated to a plannerBucket object. This API is available in the following national cloud deployments. + Retrieve a list of plannerTask objects associated to a plannerBucket object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/planner_request_builder.py b/msgraph_beta/generated/planner/planner_request_builder.py index 8fa10575a17..cf77248b20f 100644 --- a/msgraph_beta/generated/planner/planner_request_builder.py +++ b/msgraph_beta/generated/planner/planner_request_builder.py @@ -89,7 +89,7 @@ def to_get_request_information(self,request_configuration: Optional[PlannerReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Planner] = None, request_configuration: Optional[PlannerRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -108,7 +108,7 @@ def to_patch_request_information(self,body: Optional[Planner] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/planner/plans/delta/delta_request_builder.py b/msgraph_beta/generated/planner/plans/delta/delta_request_builder.py index 9cdc70d3fb6..d96e79aa734 100644 --- a/msgraph_beta/generated/planner/plans/delta/delta_request_builder.py +++ b/msgraph_beta/generated/planner/plans/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/planner/plans/item/archive/archive_post_request_body.py b/msgraph_beta/generated/planner/plans/item/archive/archive_post_request_body.py new file mode 100644 index 00000000000..2ab115bfc27 --- /dev/null +++ b/msgraph_beta/generated/planner/plans/item/archive/archive_post_request_body.py @@ -0,0 +1,49 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class ArchivePostRequestBody(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 justification property + justification: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> ArchivePostRequestBody: + """ + 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: ArchivePostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return ArchivePostRequestBody() + + 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]] = { + "justification": lambda n : setattr(self, 'justification', 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("justification", self.justification) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/planner/plans/item/archive/archive_request_builder.py b/msgraph_beta/generated/planner/plans/item/archive/archive_request_builder.py new file mode 100644 index 00000000000..d4058fbfa65 --- /dev/null +++ b/msgraph_beta/generated/planner/plans/item/archive/archive_request_builder.py @@ -0,0 +1,91 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .archive_post_request_body import ArchivePostRequestBody + +class ArchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the archive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ArchiveRequestBuilder 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}/planner/plans/{plannerPlan%2Did}/archive", path_parameters) + + async def post(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Invoke action archive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action archive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> ArchiveRequestBuilder: + """ + 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: ArchiveRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ArchiveRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ArchiveRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/planner/plans/item/buckets/buckets_request_builder.py b/msgraph_beta/generated/planner/plans/item/buckets/buckets_request_builder.py index 6b2508547c6..86d4ff85d12 100644 --- a/msgraph_beta/generated/planner/plans/item/buckets/buckets_request_builder.py +++ b/msgraph_beta/generated/planner/plans/item/buckets/buckets_request_builder.py @@ -46,7 +46,7 @@ def by_planner_bucket_id(self,planner_bucket_id: str) -> PlannerBucketItemReques async def get(self,request_configuration: Optional[BucketsRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerBucketCollectionResponse]: """ - Retrieve a list of plannerBucket objects contained by a plannerPlan object. This API is available in the following national cloud deployments. + Retrieve a list of plannerBucket objects contained by a plannerPlan object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerBucketCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/plannerplan-list-buckets?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[PlannerBucket] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[BucketsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of plannerBucket objects contained by a plannerPlan object. This API is available in the following national cloud deployments. + Retrieve a list of plannerBucket objects contained by a plannerPlan object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[BucketsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PlannerBucket] = None, request_configuration: Optional[BucketsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PlannerBucket] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class BucketsRequestBuilderGetQueryParameters(): """ - Retrieve a list of plannerBucket objects contained by a plannerPlan object. This API is available in the following national cloud deployments. + Retrieve a list of plannerBucket objects contained by a plannerPlan object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/plans/item/buckets/delta/delta_request_builder.py b/msgraph_beta/generated/planner/plans/item/buckets/delta/delta_request_builder.py index 4bf461cbe94..2c083812cbd 100644 --- a/msgraph_beta/generated/planner/plans/item/buckets/delta/delta_request_builder.py +++ b/msgraph_beta/generated/planner/plans/item/buckets/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/planner/plans/item/buckets/item/planner_bucket_item_request_builder.py b/msgraph_beta/generated/planner/plans/item/buckets/item/planner_bucket_item_request_builder.py index 97295f4f938..434f5e60dd5 100644 --- a/msgraph_beta/generated/planner/plans/item/buckets/item/planner_bucket_item_request_builder.py +++ b/msgraph_beta/generated/planner/plans/item/buckets/item/planner_bucket_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PlannerBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PlannerBucketItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PlannerBucke request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerBucket] = None, request_configuration: Optional[PlannerBucketItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[PlannerBucket] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/delta/delta_request_builder.py b/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/delta/delta_request_builder.py index ae8fb9fcb13..b0b9217ffcf 100644 --- a/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/delta/delta_request_builder.py +++ b/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py b/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py index 1e39a84409f..b90a4ca3cce 100644 --- a/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py +++ b/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[AssignedToTaskBoardFormatR async def get(self,request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerAssignedToTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerAssignedToTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[AssignedT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignedToTa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerAssignedToTaskBoardTaskFormat] = None, request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerAssignedToTaskBoardT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class AssignedToTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class AssignedToTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py b/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py index baa90825d06..78e58c56de5 100644 --- a/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py +++ b/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[BucketTaskBoardFormatReque async def get(self,request_configuration: Optional[BucketTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerBucketTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerBucketTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[BucketTas request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BucketTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[BucketTaskBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerBucketTaskBoardTaskFormat] = None, request_configuration: Optional[BucketTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerBucketTaskBoardTaskF request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class BucketTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class BucketTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/item/details/details_request_builder.py b/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/item/details/details_request_builder.py index a6167e05249..a1acfeccc90 100644 --- a/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/item/details/details_request_builder.py +++ b/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/item/details/details_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[DetailsRequestBuilderDelet async def get(self,request_configuration: Optional[DetailsRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerTaskDetails]: """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerTaskDetails] Find more info here: https://learn.microsoft.com/graph/api/plannertaskdetails-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[DetailsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DetailsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[DetailsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerTaskDetails] = None, request_configuration: Optional[DetailsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerTaskDetails] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class DetailsRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class DetailsRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/item/planner_task_item_request_builder.py b/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/item/planner_task_item_request_builder.py index 969e0dc9126..27899c59381 100644 --- a/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/item/planner_task_item_request_builder.py +++ b/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/item/planner_task_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[PlannerTa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PlannerTaskItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[PlannerTaskI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerTask] = None, request_configuration: Optional[PlannerTaskItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[PlannerTask] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py b/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py index 3b733560ee5..fa4ba52c103 100644 --- a/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py +++ b/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ProgressTaskBoardFormatReq async def get(self,request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerProgressTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerProgressTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ProgressT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ProgressTask request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerProgressTaskBoardTaskFormat] = None, request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerProgressTaskBoardTas request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ProgressTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class ProgressTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/tasks_request_builder.py b/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/tasks_request_builder.py index 72e52f23c33..2ea118ab407 100644 --- a/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/tasks_request_builder.py +++ b/msgraph_beta/generated/planner/plans/item/buckets/item/tasks/tasks_request_builder.py @@ -46,7 +46,7 @@ def by_planner_task_id(self,planner_task_id: str) -> PlannerTaskItemRequestBuild async def get(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerTaskCollectionResponse]: """ - Retrieve a list of plannerTask objects associated to a plannerBucket object. This API is available in the following national cloud deployments. + Retrieve a list of plannerTask objects associated to a plannerBucket object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerTaskCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/plannerbucket-list-tasks?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[PlannerTask] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of plannerTask objects associated to a plannerBucket object. This API is available in the following national cloud deployments. + Retrieve a list of plannerTask objects associated to a plannerBucket object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[TasksRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PlannerTask] = None, request_configuration: Optional[TasksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PlannerTask] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class TasksRequestBuilderGetQueryParameters(): """ - Retrieve a list of plannerTask objects associated to a plannerBucket object. This API is available in the following national cloud deployments. + Retrieve a list of plannerTask objects associated to a plannerBucket object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/plans/item/details/details_request_builder.py b/msgraph_beta/generated/planner/plans/item/details/details_request_builder.py index 1b10a7d510d..1fdfd62d043 100644 --- a/msgraph_beta/generated/planner/plans/item/details/details_request_builder.py +++ b/msgraph_beta/generated/planner/plans/item/details/details_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[DetailsRequestBuilderDelet async def get(self,request_configuration: Optional[DetailsRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerPlanDetails]: """ - Retrieve the properties and relationships of a plannerPlanDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerPlanDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerPlanDetails] Find more info here: https://learn.microsoft.com/graph/api/plannerplandetails-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[DetailsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DetailsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a plannerPlanDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerPlanDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[DetailsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerPlanDetails] = None, request_configuration: Optional[DetailsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerPlanDetails] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class DetailsRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class DetailsRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a plannerPlanDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerPlanDetails object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/plans/item/move_to_container/move_to_container_request_builder.py b/msgraph_beta/generated/planner/plans/item/move_to_container/move_to_container_request_builder.py index 76f98aeaeda..9f8e82d10b8 100644 --- a/msgraph_beta/generated/planner/plans/item/move_to_container/move_to_container_request_builder.py +++ b/msgraph_beta/generated/planner/plans/item/move_to_container/move_to_container_request_builder.py @@ -29,10 +29,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[MoveToContainerPostRequestBody] = None, request_configuration: Optional[MoveToContainerRequestBuilderPostRequestConfiguration] = None) -> Optional[PlannerPlan]: """ - Invoke action moveToContainer + Move a planner plan object from one planner plan container to another. Planner plans can only be moved from a user container to a group container. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerPlan] + Find more info here: https://learn.microsoft.com/graph/api/plannerplan-movetocontainer?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -53,7 +54,7 @@ async def post(self,body: Optional[MoveToContainerPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[MoveToContainerPostRequestBody] = None, request_configuration: Optional[MoveToContainerRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Invoke action moveToContainer + Move a planner plan object from one planner plan container to another. Planner plans can only be moved from a user container to a group container. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -67,7 +68,7 @@ def to_post_request_information(self,body: Optional[MoveToContainerPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/planner/plans/item/planner_plan_item_request_builder.py b/msgraph_beta/generated/planner/plans/item/planner_plan_item_request_builder.py index e066b7d5d9b..17070f3ddc0 100644 --- a/msgraph_beta/generated/planner/plans/item/planner_plan_item_request_builder.py +++ b/msgraph_beta/generated/planner/plans/item/planner_plan_item_request_builder.py @@ -12,10 +12,12 @@ if TYPE_CHECKING: from ....models.o_data_errors.o_data_error import ODataError from ....models.planner_plan import PlannerPlan + from .archive.archive_request_builder import ArchiveRequestBuilder from .buckets.buckets_request_builder import BucketsRequestBuilder from .details.details_request_builder import DetailsRequestBuilder from .move_to_container.move_to_container_request_builder import MoveToContainerRequestBuilder from .tasks.tasks_request_builder import TasksRequestBuilder + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder class PlannerPlanItemRequestBuilder(BaseRequestBuilder): """ @@ -32,7 +34,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[PlannerPlanItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a plannerPlan object. This API is available in the following national cloud deployments. + Delete a plannerPlan object. 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/plannerplan-delete?view=graph-rest-1.0 @@ -52,7 +54,7 @@ async def delete(self,request_configuration: Optional[PlannerPlanItemRequestBuil async def get(self,request_configuration: Optional[PlannerPlanItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerPlan]: """ - Retrieve the properties and relationships of a plannerplan object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerplan object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerPlan] Find more info here: https://learn.microsoft.com/graph/api/plannerplan-get?view=graph-rest-1.0 @@ -74,7 +76,7 @@ async def get(self,request_configuration: Optional[PlannerPlanItemRequestBuilder async def patch(self,body: Optional[PlannerPlan] = None, request_configuration: Optional[PlannerPlanItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[PlannerPlan]: """ - Update the properties of a plannerPlan object. This API is available in the following national cloud deployments. + Update the properties of a plannerPlan object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerPlan] @@ -99,7 +101,7 @@ async def patch(self,body: Optional[PlannerPlan] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[PlannerPlanItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a plannerPlan object. This API is available in the following national cloud deployments. + Delete a plannerPlan object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -110,12 +112,12 @@ def to_delete_request_information(self,request_configuration: Optional[PlannerPl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PlannerPlanItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a plannerplan object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerplan object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -127,12 +129,12 @@ def to_get_request_information(self,request_configuration: Optional[PlannerPlanI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerPlan] = None, request_configuration: Optional[PlannerPlanItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a plannerPlan object. This API is available in the following national cloud deployments. + Update the properties of a plannerPlan object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -146,7 +148,7 @@ def to_patch_request_information(self,body: Optional[PlannerPlan] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -160,6 +162,15 @@ def with_url(self,raw_url: Optional[str] = None) -> PlannerPlanItemRequestBuilde raise TypeError("raw_url cannot be null.") return PlannerPlanItemRequestBuilder(self.request_adapter, raw_url) + @property + def archive(self) -> ArchiveRequestBuilder: + """ + Provides operations to call the archive method. + """ + from .archive.archive_request_builder import ArchiveRequestBuilder + + return ArchiveRequestBuilder(self.request_adapter, self.path_parameters) + @property def buckets(self) -> BucketsRequestBuilder: """ @@ -196,6 +207,15 @@ def tasks(self) -> TasksRequestBuilder: return TasksRequestBuilder(self.request_adapter, self.path_parameters) + @property + def unarchive(self) -> UnarchiveRequestBuilder: + """ + Provides operations to call the unarchive method. + """ + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder + + return UnarchiveRequestBuilder(self.request_adapter, self.path_parameters) + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass @@ -209,7 +229,7 @@ class PlannerPlanItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class PlannerPlanItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a plannerplan object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerplan object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/plans/item/tasks/delta/delta_request_builder.py b/msgraph_beta/generated/planner/plans/item/tasks/delta/delta_request_builder.py index 0848e5adaf7..95f1b313fd8 100644 --- a/msgraph_beta/generated/planner/plans/item/tasks/delta/delta_request_builder.py +++ b/msgraph_beta/generated/planner/plans/item/tasks/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/planner/plans/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py b/msgraph_beta/generated/planner/plans/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py index 01d0de5e241..5dc6338663b 100644 --- a/msgraph_beta/generated/planner/plans/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py +++ b/msgraph_beta/generated/planner/plans/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[AssignedToTaskBoardFormatR async def get(self,request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerAssignedToTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerAssignedToTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[AssignedT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignedToTa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerAssignedToTaskBoardTaskFormat] = None, request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerAssignedToTaskBoardT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class AssignedToTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class AssignedToTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/plans/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py b/msgraph_beta/generated/planner/plans/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py index 6481ac1315a..d7eefc2d5d1 100644 --- a/msgraph_beta/generated/planner/plans/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py +++ b/msgraph_beta/generated/planner/plans/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[BucketTaskBoardFormatReque async def get(self,request_configuration: Optional[BucketTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerBucketTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerBucketTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[BucketTas request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BucketTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[BucketTaskBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerBucketTaskBoardTaskFormat] = None, request_configuration: Optional[BucketTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerBucketTaskBoardTaskF request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class BucketTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class BucketTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/plans/item/tasks/item/details/details_request_builder.py b/msgraph_beta/generated/planner/plans/item/tasks/item/details/details_request_builder.py index f611955f3f4..c2e10a684c6 100644 --- a/msgraph_beta/generated/planner/plans/item/tasks/item/details/details_request_builder.py +++ b/msgraph_beta/generated/planner/plans/item/tasks/item/details/details_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[DetailsRequestBuilderDelet async def get(self,request_configuration: Optional[DetailsRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerTaskDetails]: """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerTaskDetails] Find more info here: https://learn.microsoft.com/graph/api/plannertaskdetails-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[DetailsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DetailsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[DetailsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerTaskDetails] = None, request_configuration: Optional[DetailsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerTaskDetails] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class DetailsRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class DetailsRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/plans/item/tasks/item/planner_task_item_request_builder.py b/msgraph_beta/generated/planner/plans/item/tasks/item/planner_task_item_request_builder.py index b9515b624a4..02008b73d6a 100644 --- a/msgraph_beta/generated/planner/plans/item/tasks/item/planner_task_item_request_builder.py +++ b/msgraph_beta/generated/planner/plans/item/tasks/item/planner_task_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[PlannerTa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PlannerTaskItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[PlannerTaskI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerTask] = None, request_configuration: Optional[PlannerTaskItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[PlannerTask] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/planner/plans/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py b/msgraph_beta/generated/planner/plans/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py index 1366aa1d1bd..939307fc7e6 100644 --- a/msgraph_beta/generated/planner/plans/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py +++ b/msgraph_beta/generated/planner/plans/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ProgressTaskBoardFormatReq async def get(self,request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerProgressTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerProgressTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ProgressT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ProgressTask request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerProgressTaskBoardTaskFormat] = None, request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerProgressTaskBoardTas request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ProgressTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class ProgressTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/plans/item/tasks/tasks_request_builder.py b/msgraph_beta/generated/planner/plans/item/tasks/tasks_request_builder.py index 822194471f5..f1fe5fe01c5 100644 --- a/msgraph_beta/generated/planner/plans/item/tasks/tasks_request_builder.py +++ b/msgraph_beta/generated/planner/plans/item/tasks/tasks_request_builder.py @@ -46,7 +46,7 @@ def by_planner_task_id(self,planner_task_id: str) -> PlannerTaskItemRequestBuild async def get(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerTaskCollectionResponse]: """ - Retrieve a list of plannerTask objects associated with a plannerPlan object. This API is available in the following national cloud deployments. + Retrieve a list of plannerTask objects associated with a plannerPlan object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerTaskCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/plannerplan-list-tasks?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[PlannerTask] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of plannerTask objects associated with a plannerPlan object. This API is available in the following national cloud deployments. + Retrieve a list of plannerTask objects associated with a plannerPlan object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[TasksRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PlannerTask] = None, request_configuration: Optional[TasksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PlannerTask] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class TasksRequestBuilderGetQueryParameters(): """ - Retrieve a list of plannerTask objects associated with a plannerPlan object. This API is available in the following national cloud deployments. + Retrieve a list of plannerTask objects associated with a plannerPlan object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/plans/item/unarchive/unarchive_post_request_body.py b/msgraph_beta/generated/planner/plans/item/unarchive/unarchive_post_request_body.py new file mode 100644 index 00000000000..de33ab15da0 --- /dev/null +++ b/msgraph_beta/generated/planner/plans/item/unarchive/unarchive_post_request_body.py @@ -0,0 +1,49 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class UnarchivePostRequestBody(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 justification property + justification: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> UnarchivePostRequestBody: + """ + 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: UnarchivePostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return UnarchivePostRequestBody() + + 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]] = { + "justification": lambda n : setattr(self, 'justification', 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("justification", self.justification) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/planner/plans/item/unarchive/unarchive_request_builder.py b/msgraph_beta/generated/planner/plans/item/unarchive/unarchive_request_builder.py new file mode 100644 index 00000000000..75030f09bd7 --- /dev/null +++ b/msgraph_beta/generated/planner/plans/item/unarchive/unarchive_request_builder.py @@ -0,0 +1,91 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .unarchive_post_request_body import UnarchivePostRequestBody + +class UnarchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the unarchive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new UnarchiveRequestBuilder 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}/planner/plans/{plannerPlan%2Did}/unarchive", path_parameters) + + async def post(self,body: Optional[UnarchivePostRequestBody] = None, request_configuration: Optional[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Invoke action unarchive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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: Optional[UnarchivePostRequestBody] = None, request_configuration: Optional[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action unarchive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> UnarchiveRequestBuilder: + """ + 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: UnarchiveRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return UnarchiveRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class UnarchiveRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/planner/plans/plans_request_builder.py b/msgraph_beta/generated/planner/plans/plans_request_builder.py index b1b095d47b8..e2c93757ebb 100644 --- a/msgraph_beta/generated/planner/plans/plans_request_builder.py +++ b/msgraph_beta/generated/planner/plans/plans_request_builder.py @@ -46,7 +46,7 @@ def by_planner_plan_id(self,planner_plan_id: str) -> PlannerPlanItemRequestBuild async def get(self,request_configuration: Optional[PlansRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerPlanCollectionResponse]: """ - Get a list of plannerPlan objects. This API is available in the following national cloud deployments. + Get a list of plannerPlan objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerPlanCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/planner-list-plans?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[PlansRequestBuilderGetRequest async def post(self,body: Optional[PlannerPlan] = None, request_configuration: Optional[PlansRequestBuilderPostRequestConfiguration] = None) -> Optional[PlannerPlan]: """ - Create a new plannerPlan. This API is available in the following national cloud deployments. + Create a new plannerPlan. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerPlan] @@ -93,7 +93,7 @@ async def post(self,body: Optional[PlannerPlan] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[PlansRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of plannerPlan objects. This API is available in the following national cloud deployments. + Get a list of plannerPlan objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[PlansRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PlannerPlan] = None, request_configuration: Optional[PlansRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new plannerPlan. This API is available in the following national cloud deployments. + Create a new plannerPlan. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[PlannerPlan] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class PlansRequestBuilderGetQueryParameters(): """ - Get a list of plannerPlan objects. This API is available in the following national cloud deployments. + Get a list of plannerPlan objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/rosters/item/members/item/planner_roster_member_item_request_builder.py b/msgraph_beta/generated/planner/rosters/item/members/item/planner_roster_member_item_request_builder.py index ec398f8acd3..603a1a97426 100644 --- a/msgraph_beta/generated/planner/rosters/item/members/item/planner_roster_member_item_request_builder.py +++ b/msgraph_beta/generated/planner/rosters/item/members/item/planner_roster_member_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[PlannerRosterMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a plannerRosterMember object. This API is available in the following national cloud deployments. + Delete a plannerRosterMember object. 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/plannerrostermember-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[PlannerRosterMemberItemReq async def get(self,request_configuration: Optional[PlannerRosterMemberItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerRosterMember]: """ - Read the properties and relationships of a plannerRosterMember object. This API is available in the following national cloud deployments. + Read the properties and relationships of a plannerRosterMember object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerRosterMember] Find more info here: https://learn.microsoft.com/graph/api/plannerrostermember-get?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[PlannerRosterMember] = None, request_configu def to_delete_request_information(self,request_configuration: Optional[PlannerRosterMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a plannerRosterMember object. This API is available in the following national cloud deployments. + Delete a plannerRosterMember object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[PlannerRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PlannerRosterMemberItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a plannerRosterMember object. This API is available in the following national cloud deployments. + Read the properties and relationships of a plannerRosterMember object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[PlannerRoste request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerRosterMember] = None, request_configuration: Optional[PlannerRosterMemberItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerRosterMember] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class PlannerRosterMemberItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class PlannerRosterMemberItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a plannerRosterMember object. This API is available in the following national cloud deployments. + Read the properties and relationships of a plannerRosterMember object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/rosters/item/members/members_request_builder.py b/msgraph_beta/generated/planner/rosters/item/members/members_request_builder.py index d9a4b7c2c5c..cd67dcb2ffa 100644 --- a/msgraph_beta/generated/planner/rosters/item/members/members_request_builder.py +++ b/msgraph_beta/generated/planner/rosters/item/members/members_request_builder.py @@ -45,7 +45,7 @@ def by_planner_roster_member_id(self,planner_roster_member_id: str) -> PlannerRo async def get(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerRosterMemberCollectionResponse]: """ - Get the list of plannerRosterMembers from a plannerRoster. This API is available in the following national cloud deployments. + Get the list of plannerRosterMembers from a plannerRoster. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerRosterMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/plannerroster-list-members?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[MembersRequestBuilderGetReque async def post(self,body: Optional[PlannerRosterMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> Optional[PlannerRosterMember]: """ - Add a member to the plannerRoster object. This API is available in the following national cloud deployments. + Add a member to the plannerRoster object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerRosterMember] @@ -92,7 +92,7 @@ async def post(self,body: Optional[PlannerRosterMember] = None, request_configur def to_get_request_information(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of plannerRosterMembers from a plannerRoster. This API is available in the following national cloud deployments. + Get the list of plannerRosterMembers from a plannerRoster. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PlannerRosterMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a member to the plannerRoster object. This API is available in the following national cloud deployments. + Add a member to the plannerRoster object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PlannerRosterMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MembersRequestBuilderGetQueryParameters(): """ - Get the list of plannerRosterMembers from a plannerRoster. This API is available in the following national cloud deployments. + Get the list of plannerRosterMembers from a plannerRoster. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/rosters/item/planner_roster_item_request_builder.py b/msgraph_beta/generated/planner/rosters/item/planner_roster_item_request_builder.py index 42bd1979b7e..8e451e335d2 100644 --- a/msgraph_beta/generated/planner/rosters/item/planner_roster_item_request_builder.py +++ b/msgraph_beta/generated/planner/rosters/item/planner_roster_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[PlannerRosterItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a plannerRoster object. This API is available in the following national cloud deployments. + Delete a plannerRoster object. 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/plannerroster-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[PlannerRosterItemRequestBu async def get(self,request_configuration: Optional[PlannerRosterItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerRoster]: """ - Read the properties and relationships of a plannerRoster object. This API is available in the following national cloud deployments. + Read the properties and relationships of a plannerRoster object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerRoster] Find more info here: https://learn.microsoft.com/graph/api/plannerroster-get?view=graph-rest-1.0 @@ -96,7 +96,7 @@ async def patch(self,body: Optional[PlannerRoster] = None, request_configuration def to_delete_request_information(self,request_configuration: Optional[PlannerRosterItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a plannerRoster object. This API is available in the following national cloud deployments. + Delete a plannerRoster object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[PlannerRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PlannerRosterItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a plannerRoster object. This API is available in the following national cloud deployments. + Read the properties and relationships of a plannerRoster object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[PlannerRoste request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerRoster] = None, request_configuration: Optional[PlannerRosterItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[PlannerRoster] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ class PlannerRosterItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class PlannerRosterItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a plannerRoster object. This API is available in the following national cloud deployments. + Read the properties and relationships of a plannerRoster object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/rosters/item/plans/item/planner_plan_item_request_builder.py b/msgraph_beta/generated/planner/rosters/item/plans/item/planner_plan_item_request_builder.py index 0d293b4195d..023fc7dc1a9 100644 --- a/msgraph_beta/generated/planner/rosters/item/plans/item/planner_plan_item_request_builder.py +++ b/msgraph_beta/generated/planner/rosters/item/plans/item/planner_plan_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PlannerPlanI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PlannerPlanItemRequestBuilder: diff --git a/msgraph_beta/generated/planner/rosters/item/plans/plans_request_builder.py b/msgraph_beta/generated/planner/rosters/item/plans/plans_request_builder.py index 47c9d500352..4ab0e6ef14a 100644 --- a/msgraph_beta/generated/planner/rosters/item/plans/plans_request_builder.py +++ b/msgraph_beta/generated/planner/rosters/item/plans/plans_request_builder.py @@ -44,7 +44,7 @@ def by_planner_plan_id(self,planner_plan_id: str) -> PlannerPlanItemRequestBuild async def get(self,request_configuration: Optional[PlansRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerPlanCollectionResponse]: """ - Get the plannerPlans contained by the plannerRoster. This API is available in the following national cloud deployments. + Get the plannerPlans contained by the plannerRoster. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerPlanCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/plannerroster-list-plans?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[PlansRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[PlansRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the plannerPlans contained by the plannerRoster. This API is available in the following national cloud deployments. + Get the plannerPlans contained by the plannerRoster. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[PlansRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PlansRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PlansRequestBuilderGetQueryParameters(): """ - Get the plannerPlans contained by the plannerRoster. This API is available in the following national cloud deployments. + Get the plannerPlans contained by the plannerRoster. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/rosters/rosters_request_builder.py b/msgraph_beta/generated/planner/rosters/rosters_request_builder.py index 13a6ff19d44..559036c6d09 100644 --- a/msgraph_beta/generated/planner/rosters/rosters_request_builder.py +++ b/msgraph_beta/generated/planner/rosters/rosters_request_builder.py @@ -45,7 +45,7 @@ def by_planner_roster_id(self,planner_roster_id: str) -> PlannerRosterItemReques async def get(self,request_configuration: Optional[RostersRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerRosterCollectionResponse]: """ - Read the properties and relationships of a plannerRoster object. This API is available in the following national cloud deployments. + Read the properties and relationships of a plannerRoster object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerRosterCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[RostersRequestBuilderGetReque async def post(self,body: Optional[PlannerRoster] = None, request_configuration: Optional[RostersRequestBuilderPostRequestConfiguration] = None) -> Optional[PlannerRoster]: """ - Create a new plannerRoster object. This API is available in the following national cloud deployments. + Create a new plannerRoster object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerRoster] @@ -91,7 +91,7 @@ async def post(self,body: Optional[PlannerRoster] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[RostersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a plannerRoster object. This API is available in the following national cloud deployments. + Read the properties and relationships of a plannerRoster object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[RostersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PlannerRoster] = None, request_configuration: Optional[RostersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new plannerRoster object. This API is available in the following national cloud deployments. + Create a new plannerRoster object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[PlannerRoster] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RostersRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a plannerRoster object. This API is available in the following national cloud deployments. + Read the properties and relationships of a plannerRoster object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/tasks/delta/delta_request_builder.py b/msgraph_beta/generated/planner/tasks/delta/delta_request_builder.py index 6a9a71767fc..d0a247c8682 100644 --- a/msgraph_beta/generated/planner/tasks/delta/delta_request_builder.py +++ b/msgraph_beta/generated/planner/tasks/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/planner/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py b/msgraph_beta/generated/planner/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py index c48ee7364da..709620c5748 100644 --- a/msgraph_beta/generated/planner/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py +++ b/msgraph_beta/generated/planner/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[AssignedToTaskBoardFormatR async def get(self,request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerAssignedToTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerAssignedToTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[AssignedT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignedToTa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerAssignedToTaskBoardTaskFormat] = None, request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerAssignedToTaskBoardT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class AssignedToTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class AssignedToTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py b/msgraph_beta/generated/planner/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py index 2af844fe21c..aaa1c2b6eaf 100644 --- a/msgraph_beta/generated/planner/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py +++ b/msgraph_beta/generated/planner/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[BucketTaskBoardFormatReque async def get(self,request_configuration: Optional[BucketTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerBucketTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerBucketTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[BucketTas request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BucketTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[BucketTaskBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerBucketTaskBoardTaskFormat] = None, request_configuration: Optional[BucketTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerBucketTaskBoardTaskF request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class BucketTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class BucketTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/tasks/item/details/details_request_builder.py b/msgraph_beta/generated/planner/tasks/item/details/details_request_builder.py index 2993cf0e4b6..06e5945d87f 100644 --- a/msgraph_beta/generated/planner/tasks/item/details/details_request_builder.py +++ b/msgraph_beta/generated/planner/tasks/item/details/details_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[DetailsRequestBuilderDelet async def get(self,request_configuration: Optional[DetailsRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerTaskDetails]: """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerTaskDetails] Find more info here: https://learn.microsoft.com/graph/api/plannertaskdetails-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[DetailsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DetailsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[DetailsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerTaskDetails] = None, request_configuration: Optional[DetailsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerTaskDetails] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class DetailsRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class DetailsRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/tasks/item/planner_task_item_request_builder.py b/msgraph_beta/generated/planner/tasks/item/planner_task_item_request_builder.py index 35dd56dccd8..f3162f495b3 100644 --- a/msgraph_beta/generated/planner/tasks/item/planner_task_item_request_builder.py +++ b/msgraph_beta/generated/planner/tasks/item/planner_task_item_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[PlannerTaskItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a plannerTask object. This API is available in the following national cloud deployments. + Delete a plannerTask object. 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/plannertask-delete?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[PlannerTaskItemRequestBuil async def get(self,request_configuration: Optional[PlannerTaskItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerTask]: """ - Retrieve the properties and relationships of plannerTask object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerTask object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerTask] Find more info here: https://learn.microsoft.com/graph/api/plannertask-get?view=graph-rest-1.0 @@ -99,7 +99,7 @@ async def patch(self,body: Optional[PlannerTask] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[PlannerTaskItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a plannerTask object. This API is available in the following national cloud deployments. + Delete a plannerTask object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -110,12 +110,12 @@ def to_delete_request_information(self,request_configuration: Optional[PlannerTa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PlannerTaskItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerTask object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerTask object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[PlannerTaskI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerTask] = None, request_configuration: Optional[PlannerTaskItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[PlannerTask] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -209,7 +209,7 @@ class PlannerTaskItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class PlannerTaskItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerTask object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerTask object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py b/msgraph_beta/generated/planner/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py index 70914c1bbe1..2100f67bf9f 100644 --- a/msgraph_beta/generated/planner/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py +++ b/msgraph_beta/generated/planner/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ProgressTaskBoardFormatReq async def get(self,request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerProgressTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerProgressTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ProgressT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ProgressTask request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerProgressTaskBoardTaskFormat] = None, request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerProgressTaskBoardTas request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ProgressTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class ProgressTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/planner/tasks/tasks_request_builder.py b/msgraph_beta/generated/planner/tasks/tasks_request_builder.py index 0216cf0b48c..65a2992b28a 100644 --- a/msgraph_beta/generated/planner/tasks/tasks_request_builder.py +++ b/msgraph_beta/generated/planner/tasks/tasks_request_builder.py @@ -46,7 +46,7 @@ def by_planner_task_id(self,planner_task_id: str) -> PlannerTaskItemRequestBuild async def get(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerTaskCollectionResponse]: """ - Retrieve a list of plannertask objects. This API is available in the following national cloud deployments. + Retrieve a list of plannertask objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerTaskCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/planner-list-tasks?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[TasksRequestBuilderGetRequest async def post(self,body: Optional[PlannerTask] = None, request_configuration: Optional[TasksRequestBuilderPostRequestConfiguration] = None) -> Optional[PlannerTask]: """ - Create a new plannerTask. This API is available in the following national cloud deployments. + Create a new plannerTask. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerTask] @@ -93,7 +93,7 @@ async def post(self,body: Optional[PlannerTask] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of plannertask objects. This API is available in the following national cloud deployments. + Retrieve a list of plannertask objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[TasksRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PlannerTask] = None, request_configuration: Optional[TasksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new plannerTask. This API is available in the following national cloud deployments. + Create a new plannerTask. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[PlannerTask] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class TasksRequestBuilderGetQueryParameters(): """ - Retrieve a list of plannertask objects. This API is available in the following national cloud deployments. + Retrieve a list of plannertask objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/access_review_policy/access_review_policy_request_builder.py b/msgraph_beta/generated/policies/access_review_policy/access_review_policy_request_builder.py index bbf399145a5..1c4c7e6430c 100644 --- a/msgraph_beta/generated/policies/access_review_policy/access_review_policy_request_builder.py +++ b/msgraph_beta/generated/policies/access_review_policy/access_review_policy_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[AccessReviewPolicyRequestB async def get(self,request_configuration: Optional[AccessReviewPolicyRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewPolicy]: """ - Read the properties and relationships of an accessReviewPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of an accessReviewPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewPolicy] Find more info here: https://learn.microsoft.com/graph/api/accessreviewpolicy-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[AccessReviewPolicyRequestBuil async def patch(self,body: Optional[AccessReviewPolicy] = None, request_configuration: Optional[AccessReviewPolicyRequestBuilderPatchRequestConfiguration] = None) -> Optional[AccessReviewPolicy]: """ - Update the properties of an accessReviewPolicy object. This API is available in the following national cloud deployments. + Update the properties of an accessReviewPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewPolicy] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[AccessRev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessReviewPolicyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an accessReviewPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of an accessReviewPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessReviewPolicy] = None, request_configuration: Optional[AccessReviewPolicyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an accessReviewPolicy object. This API is available in the following national cloud deployments. + Update the properties of an accessReviewPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AccessReviewPolicy] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class AccessReviewPolicyRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class AccessReviewPolicyRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an accessReviewPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of an accessReviewPolicy object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/activity_based_timeout_policies/activity_based_timeout_policies_request_builder.py b/msgraph_beta/generated/policies/activity_based_timeout_policies/activity_based_timeout_policies_request_builder.py index e4ed8ff42d2..301beaa8eb7 100644 --- a/msgraph_beta/generated/policies/activity_based_timeout_policies/activity_based_timeout_policies_request_builder.py +++ b/msgraph_beta/generated/policies/activity_based_timeout_policies/activity_based_timeout_policies_request_builder.py @@ -45,7 +45,7 @@ def by_activity_based_timeout_policy_id(self,activity_based_timeout_policy_id: s async def get(self,request_configuration: Optional[ActivityBasedTimeoutPoliciesRequestBuilderGetRequestConfiguration] = None) -> Optional[ActivityBasedTimeoutPolicyCollectionResponse]: """ - Get a list of activityBasedTimeoutPolicy objects. This API is available in the following national cloud deployments. + Get a list of activityBasedTimeoutPolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ActivityBasedTimeoutPolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/activitybasedtimeoutpolicy-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ActivityBasedTimeoutPoliciesR async def post(self,body: Optional[ActivityBasedTimeoutPolicy] = None, request_configuration: Optional[ActivityBasedTimeoutPoliciesRequestBuilderPostRequestConfiguration] = None) -> Optional[ActivityBasedTimeoutPolicy]: """ - Create a new activityBasedTimeoutPolicy object. This API is available in the following national cloud deployments. + Create a new activityBasedTimeoutPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ActivityBasedTimeoutPolicy] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ActivityBasedTimeoutPolicy] = None, request_c def to_get_request_information(self,request_configuration: Optional[ActivityBasedTimeoutPoliciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of activityBasedTimeoutPolicy objects. This API is available in the following national cloud deployments. + Get a list of activityBasedTimeoutPolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ActivityBase request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ActivityBasedTimeoutPolicy] = None, request_configuration: Optional[ActivityBasedTimeoutPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new activityBasedTimeoutPolicy object. This API is available in the following national cloud deployments. + Create a new activityBasedTimeoutPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ActivityBasedTimeoutPolicy] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ActivityBasedTimeoutPoliciesRequestBuilderGetQueryParameters(): """ - Get a list of activityBasedTimeoutPolicy objects. This API is available in the following national cloud deployments. + Get a list of activityBasedTimeoutPolicy objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/activity_based_timeout_policies/item/activity_based_timeout_policy_item_request_builder.py b/msgraph_beta/generated/policies/activity_based_timeout_policies/item/activity_based_timeout_policy_item_request_builder.py index 87ce131a6ad..e633e702a1f 100644 --- a/msgraph_beta/generated/policies/activity_based_timeout_policies/item/activity_based_timeout_policy_item_request_builder.py +++ b/msgraph_beta/generated/policies/activity_based_timeout_policies/item/activity_based_timeout_policy_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ActivityBasedTimeoutPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an activityBasedTimeoutPolicy object. This API is available in the following national cloud deployments. + Delete an activityBasedTimeoutPolicy object. 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/activitybasedtimeoutpolicy-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[ActivityBasedTimeoutPolicy async def get(self,request_configuration: Optional[ActivityBasedTimeoutPolicyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ActivityBasedTimeoutPolicy]: """ - Get the properties of an activityBasedTimeoutPolicy object. This API is available in the following national cloud deployments. + Get the properties of an activityBasedTimeoutPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ActivityBasedTimeoutPolicy] Find more info here: https://learn.microsoft.com/graph/api/activitybasedtimeoutpolicy-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[ActivityBasedTimeoutPolicyIte async def patch(self,body: Optional[ActivityBasedTimeoutPolicy] = None, request_configuration: Optional[ActivityBasedTimeoutPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ActivityBasedTimeoutPolicy]: """ - Update the properties of an activityBasedTimeoutPolicy object. This API is available in the following national cloud deployments. + Update the properties of an activityBasedTimeoutPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ActivityBasedTimeoutPolicy] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[ActivityBasedTimeoutPolicy] = None, request_ def to_delete_request_information(self,request_configuration: Optional[ActivityBasedTimeoutPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an activityBasedTimeoutPolicy object. This API is available in the following national cloud deployments. + Delete an activityBasedTimeoutPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[ActivityB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ActivityBasedTimeoutPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties of an activityBasedTimeoutPolicy object. This API is available in the following national cloud deployments. + Get the properties of an activityBasedTimeoutPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[ActivityBase request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ActivityBasedTimeoutPolicy] = None, request_configuration: Optional[ActivityBasedTimeoutPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an activityBasedTimeoutPolicy object. This API is available in the following national cloud deployments. + Update the properties of an activityBasedTimeoutPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[ActivityBasedTimeoutPolicy] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class ActivityBasedTimeoutPolicyItemRequestBuilderDeleteRequestConfiguration(Bas @dataclass class ActivityBasedTimeoutPolicyItemRequestBuilderGetQueryParameters(): """ - Get the properties of an activityBasedTimeoutPolicy object. This API is available in the following national cloud deployments. + Get the properties of an activityBasedTimeoutPolicy object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/activity_based_timeout_policies/item/applies_to/applies_to_request_builder.py b/msgraph_beta/generated/policies/activity_based_timeout_policies/item/applies_to/applies_to_request_builder.py index 58b399911e3..5bdd1099a21 100644 --- a/msgraph_beta/generated/policies/activity_based_timeout_policies/item/applies_to/applies_to_request_builder.py +++ b/msgraph_beta/generated/policies/activity_based_timeout_policies/item/applies_to/applies_to_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[AppliesToReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppliesToRequestBuilder: diff --git a/msgraph_beta/generated/policies/activity_based_timeout_policies/item/applies_to/item/directory_object_item_request_builder.py b/msgraph_beta/generated/policies/activity_based_timeout_policies/item/applies_to/item/directory_object_item_request_builder.py index 04d47ab8bc0..e20dc85869d 100644 --- a/msgraph_beta/generated/policies/activity_based_timeout_policies/item/applies_to/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/policies/activity_based_timeout_policies/item/applies_to/item/directory_object_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: diff --git a/msgraph_beta/generated/policies/admin_consent_request_policy/admin_consent_request_policy_request_builder.py b/msgraph_beta/generated/policies/admin_consent_request_policy/admin_consent_request_policy_request_builder.py index 24eb4db8ec4..332e0271b7f 100644 --- a/msgraph_beta/generated/policies/admin_consent_request_policy/admin_consent_request_policy_request_builder.py +++ b/msgraph_beta/generated/policies/admin_consent_request_policy/admin_consent_request_policy_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[AdminConsentRequestPolicyR async def get(self,request_configuration: Optional[AdminConsentRequestPolicyRequestBuilderGetRequestConfiguration] = None) -> Optional[AdminConsentRequestPolicy]: """ - Read the properties and relationships of an adminConsentRequestPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of an adminConsentRequestPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AdminConsentRequestPolicy] Find more info here: https://learn.microsoft.com/graph/api/adminconsentrequestpolicy-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[AdminCons request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AdminConsentRequestPolicyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an adminConsentRequestPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of an adminConsentRequestPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AdminConsent request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AdminConsentRequestPolicy] = None, request_configuration: Optional[AdminConsentRequestPolicyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AdminConsentRequestPolicy] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class AdminConsentRequestPolicyRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class AdminConsentRequestPolicyRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an adminConsentRequestPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of an adminConsentRequestPolicy object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/app_management_policies/app_management_policies_request_builder.py b/msgraph_beta/generated/policies/app_management_policies/app_management_policies_request_builder.py index 1a2f55c538a..3fc5ada0e70 100644 --- a/msgraph_beta/generated/policies/app_management_policies/app_management_policies_request_builder.py +++ b/msgraph_beta/generated/policies/app_management_policies/app_management_policies_request_builder.py @@ -45,7 +45,7 @@ def by_app_management_policy_id(self,app_management_policy_id: str) -> AppManage async def get(self,request_configuration: Optional[AppManagementPoliciesRequestBuilderGetRequestConfiguration] = None) -> Optional[AppManagementPolicyCollectionResponse]: """ - Retrieve a list of appManagementPolicy objects. This API is available in the following national cloud deployments. + Retrieve a list of appManagementPolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppManagementPolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/appmanagementpolicy-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AppManagementPoliciesRequestB async def post(self,body: Optional[AppManagementPolicy] = None, request_configuration: Optional[AppManagementPoliciesRequestBuilderPostRequestConfiguration] = None) -> Optional[AppManagementPolicy]: """ - Create an appManagementPolicy object. This API is available in the following national cloud deployments. + Create an appManagementPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppManagementPolicy] @@ -92,7 +92,7 @@ async def post(self,body: Optional[AppManagementPolicy] = None, request_configur def to_get_request_information(self,request_configuration: Optional[AppManagementPoliciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of appManagementPolicy objects. This API is available in the following national cloud deployments. + Retrieve a list of appManagementPolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[AppManagemen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AppManagementPolicy] = None, request_configuration: Optional[AppManagementPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an appManagementPolicy object. This API is available in the following national cloud deployments. + Create an appManagementPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[AppManagementPolicy] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AppManagementPoliciesRequestBuilderGetQueryParameters(): """ - Retrieve a list of appManagementPolicy objects. This API is available in the following national cloud deployments. + Retrieve a list of appManagementPolicy objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/app_management_policies/item/app_management_policy_item_request_builder.py b/msgraph_beta/generated/policies/app_management_policies/item/app_management_policy_item_request_builder.py index 34e433b7a16..45ce4ff3339 100644 --- a/msgraph_beta/generated/policies/app_management_policies/item/app_management_policy_item_request_builder.py +++ b/msgraph_beta/generated/policies/app_management_policies/item/app_management_policy_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AppManagementPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an appManagementPolicy object. This API is available in the following national cloud deployments. + Delete an appManagementPolicy object. 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/appmanagementpolicy-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[AppManagementPolicyItemReq async def get(self,request_configuration: Optional[AppManagementPolicyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AppManagementPolicy]: """ - Read the properties of an appManagementPolicy object. This API is available in the following national cloud deployments. + Read the properties of an appManagementPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppManagementPolicy] Find more info here: https://learn.microsoft.com/graph/api/appmanagementpolicy-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[AppManagementPolicyItemReques async def patch(self,body: Optional[AppManagementPolicy] = None, request_configuration: Optional[AppManagementPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[AppManagementPolicy]: """ - Update an appManagementPolicy object. This API is available in the following national cloud deployments. + Update an appManagementPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppManagementPolicy] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[AppManagementPolicy] = None, request_configu def to_delete_request_information(self,request_configuration: Optional[AppManagementPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an appManagementPolicy object. This API is available in the following national cloud deployments. + Delete an appManagementPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[AppManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AppManagementPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties of an appManagementPolicy object. This API is available in the following national cloud deployments. + Read the properties of an appManagementPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[AppManagemen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AppManagementPolicy] = None, request_configuration: Optional[AppManagementPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update an appManagementPolicy object. This API is available in the following national cloud deployments. + Update an appManagementPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[AppManagementPolicy] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class AppManagementPolicyItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class AppManagementPolicyItemRequestBuilderGetQueryParameters(): """ - Read the properties of an appManagementPolicy object. This API is available in the following national cloud deployments. + Read the properties of an appManagementPolicy object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/app_management_policies/item/applies_to/applies_to_request_builder.py b/msgraph_beta/generated/policies/app_management_policies/item/applies_to/applies_to_request_builder.py index 3eb77bfce77..de1c22c2fc7 100644 --- a/msgraph_beta/generated/policies/app_management_policies/item/applies_to/applies_to_request_builder.py +++ b/msgraph_beta/generated/policies/app_management_policies/item/applies_to/applies_to_request_builder.py @@ -44,7 +44,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem async def get(self,request_configuration: Optional[AppliesToRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryObjectCollectionResponse]: """ - List application and service principal objects assigned an appManagementPolicy policy object. This API is available in the following national cloud deployments. + List application and service principal objects assigned an appManagementPolicy policy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/appmanagementpolicy-list-appliesto?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[AppliesToRequestBuilderGetReq def to_get_request_information(self,request_configuration: Optional[AppliesToRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List application and service principal objects assigned an appManagementPolicy policy object. This API is available in the following national cloud deployments. + List application and service principal objects assigned an appManagementPolicy policy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[AppliesToReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppliesToRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AppliesToRequestBuilderGetQueryParameters(): """ - List application and service principal objects assigned an appManagementPolicy policy object. This API is available in the following national cloud deployments. + List application and service principal objects assigned an appManagementPolicy policy object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/app_management_policies/item/applies_to/item/directory_object_item_request_builder.py b/msgraph_beta/generated/policies/app_management_policies/item/applies_to/item/directory_object_item_request_builder.py index 9b7a07123bd..8572ba57eb7 100644 --- a/msgraph_beta/generated/policies/app_management_policies/item/applies_to/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/policies/app_management_policies/item/applies_to/item/directory_object_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: diff --git a/msgraph_beta/generated/policies/authentication_flows_policy/authentication_flows_policy_request_builder.py b/msgraph_beta/generated/policies/authentication_flows_policy/authentication_flows_policy_request_builder.py index 4725ea8f69f..19f529d2047 100644 --- a/msgraph_beta/generated/policies/authentication_flows_policy/authentication_flows_policy_request_builder.py +++ b/msgraph_beta/generated/policies/authentication_flows_policy/authentication_flows_policy_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[AuthenticationFlowsPolicyR async def get(self,request_configuration: Optional[AuthenticationFlowsPolicyRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthenticationFlowsPolicy]: """ - Read the properties and relationships of an authenticationFlowsPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of an authenticationFlowsPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationFlowsPolicy] Find more info here: https://learn.microsoft.com/graph/api/authenticationflowspolicy-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[AuthenticationFlowsPolicyRequ async def patch(self,body: Optional[AuthenticationFlowsPolicy] = None, request_configuration: Optional[AuthenticationFlowsPolicyRequestBuilderPatchRequestConfiguration] = None) -> Optional[AuthenticationFlowsPolicy]: """ - Update the Boolean selfServiceSignUp property of an authenticationFlowsPolicy object. The properties id, type, and description cannot be modified. This API is available in the following national cloud deployments. + Update the Boolean selfServiceSignUp property of an authenticationFlowsPolicy object. The properties id, type, and description cannot be modified. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationFlowsPolicy] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Authentic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AuthenticationFlowsPolicyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an authenticationFlowsPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of an authenticationFlowsPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AuthenticationFlowsPolicy] = None, request_configuration: Optional[AuthenticationFlowsPolicyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the Boolean selfServiceSignUp property of an authenticationFlowsPolicy object. The properties id, type, and description cannot be modified. This API is available in the following national cloud deployments. + Update the Boolean selfServiceSignUp property of an authenticationFlowsPolicy object. The properties id, type, and description cannot be modified. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AuthenticationFlowsPolicy] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class AuthenticationFlowsPolicyRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class AuthenticationFlowsPolicyRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an authenticationFlowsPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of an authenticationFlowsPolicy object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/authentication_methods_policy/authentication_method_configurations/authentication_method_configurations_request_builder.py b/msgraph_beta/generated/policies/authentication_methods_policy/authentication_method_configurations/authentication_method_configurations_request_builder.py index 9466ff1ff13..55a90a877b6 100644 --- a/msgraph_beta/generated/policies/authentication_methods_policy/authentication_method_configurations/authentication_method_configurations_request_builder.py +++ b/msgraph_beta/generated/policies/authentication_methods_policy/authentication_method_configurations/authentication_method_configurations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AuthenticationMethodConfiguration] = None, request_configuration: Optional[AuthenticationMethodConfigurationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AuthenticationMethodConfigur request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/policies/authentication_methods_policy/authentication_method_configurations/item/authentication_method_configuration_item_request_builder.py b/msgraph_beta/generated/policies/authentication_methods_policy/authentication_method_configurations/item/authentication_method_configuration_item_request_builder.py index 61961fb5e27..305a32aaab0 100644 --- a/msgraph_beta/generated/policies/authentication_methods_policy/authentication_method_configurations/item/authentication_method_configuration_item_request_builder.py +++ b/msgraph_beta/generated/policies/authentication_methods_policy/authentication_method_configurations/item/authentication_method_configuration_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Authentic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AuthenticationMethodConfigurationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AuthenticationMethodConfiguration] = None, request_configuration: Optional[AuthenticationMethodConfigurationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AuthenticationMethodConfigu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/policies/authentication_methods_policy/authentication_methods_policy_request_builder.py b/msgraph_beta/generated/policies/authentication_methods_policy/authentication_methods_policy_request_builder.py index 37eaa1ec47c..549fb1dbf75 100644 --- a/msgraph_beta/generated/policies/authentication_methods_policy/authentication_methods_policy_request_builder.py +++ b/msgraph_beta/generated/policies/authentication_methods_policy/authentication_methods_policy_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AuthenticationMethodsPolic async def get(self,request_configuration: Optional[AuthenticationMethodsPolicyRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthenticationMethodsPolicy]: """ - Read the properties and relationships of an authenticationMethodsPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of an authenticationMethodsPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationMethodsPolicy] Find more info here: https://learn.microsoft.com/graph/api/authenticationmethodspolicy-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AuthenticationMethodsPolicyRe async def patch(self,body: Optional[AuthenticationMethodsPolicy] = None, request_configuration: Optional[AuthenticationMethodsPolicyRequestBuilderPatchRequestConfiguration] = None) -> Optional[AuthenticationMethodsPolicy]: """ - Update the properties of an authenticationMethodsPolicy object. This API is available in the following national cloud deployments. + Update the properties of an authenticationMethodsPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationMethodsPolicy] @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Authentic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AuthenticationMethodsPolicyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an authenticationMethodsPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of an authenticationMethodsPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AuthenticationMethodsPolicy] = None, request_configuration: Optional[AuthenticationMethodsPolicyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an authenticationMethodsPolicy object. This API is available in the following national cloud deployments. + Update the properties of an authenticationMethodsPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[AuthenticationMethodsPolicy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class AuthenticationMethodsPolicyRequestBuilderDeleteRequestConfiguration(BaseRe @dataclass class AuthenticationMethodsPolicyRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an authenticationMethodsPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of an authenticationMethodsPolicy object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/authentication_strength_policies/authentication_strength_policies_request_builder.py b/msgraph_beta/generated/policies/authentication_strength_policies/authentication_strength_policies_request_builder.py index adabf7c65f2..1f99ca4f1fd 100644 --- a/msgraph_beta/generated/policies/authentication_strength_policies/authentication_strength_policies_request_builder.py +++ b/msgraph_beta/generated/policies/authentication_strength_policies/authentication_strength_policies_request_builder.py @@ -58,7 +58,7 @@ def find_by_method_mode_with_authentication_method_modes(self,authentication_met async def get(self,request_configuration: Optional[AuthenticationStrengthPoliciesRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthenticationStrengthPolicyCollectionResponse]: """ - Get a list of the authenticationStrengthPolicy objects and their properties. This API returns both built-in and custom policies. This API is available in the following national cloud deployments. + Get a list of the authenticationStrengthPolicy objects and their properties. This API returns both built-in and custom policies. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationStrengthPolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/authenticationstrengthroot-list-policies?view=graph-rest-1.0 @@ -80,7 +80,7 @@ async def get(self,request_configuration: Optional[AuthenticationStrengthPolicie async def post(self,body: Optional[AuthenticationStrengthPolicy] = None, request_configuration: Optional[AuthenticationStrengthPoliciesRequestBuilderPostRequestConfiguration] = None) -> Optional[AuthenticationStrengthPolicy]: """ - Create a new custom authenticationStrengthPolicy object. This API is available in the following national cloud deployments. + Create a new custom authenticationStrengthPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationStrengthPolicy] @@ -105,7 +105,7 @@ async def post(self,body: Optional[AuthenticationStrengthPolicy] = None, request def to_get_request_information(self,request_configuration: Optional[AuthenticationStrengthPoliciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the authenticationStrengthPolicy objects and their properties. This API returns both built-in and custom policies. This API is available in the following national cloud deployments. + Get a list of the authenticationStrengthPolicy objects and their properties. This API returns both built-in and custom policies. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,12 +117,12 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AuthenticationStrengthPolicy] = None, request_configuration: Optional[AuthenticationStrengthPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new custom authenticationStrengthPolicy object. This API is available in the following national cloud deployments. + Create a new custom authenticationStrengthPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -136,7 +136,7 @@ def to_post_request_information(self,body: Optional[AuthenticationStrengthPolicy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -162,7 +162,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AuthenticationStrengthPoliciesRequestBuilderGetQueryParameters(): """ - Get a list of the authenticationStrengthPolicy objects and their properties. This API returns both built-in and custom policies. This API is available in the following national cloud deployments. + Get a list of the authenticationStrengthPolicy objects and their properties. This API returns both built-in and custom policies. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/authentication_strength_policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_request_builder.py b/msgraph_beta/generated/policies/authentication_strength_policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_request_builder.py index b06023c29e8..f5343447f4e 100644 --- a/msgraph_beta/generated/policies/authentication_strength_policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_request_builder.py +++ b/msgraph_beta/generated/policies/authentication_strength_policies/find_by_method_mode_with_authentication_method_modes/find_by_method_mode_with_authentication_method_modes_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FindByMethod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FindByMethodModeWithAuthenticationMethodModesRequestBuilder: diff --git a/msgraph_beta/generated/policies/authentication_strength_policies/item/authentication_strength_policy_item_request_builder.py b/msgraph_beta/generated/policies/authentication_strength_policies/item/authentication_strength_policy_item_request_builder.py index d577048580c..c279f7678c4 100644 --- a/msgraph_beta/generated/policies/authentication_strength_policies/item/authentication_strength_policy_item_request_builder.py +++ b/msgraph_beta/generated/policies/authentication_strength_policies/item/authentication_strength_policy_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AuthenticationStrengthPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a custom authenticationStrengthPolicy object. This API is available in the following national cloud deployments. + Delete a custom authenticationStrengthPolicy object. 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/authenticationstrengthroot-delete-policies?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[AuthenticationStrengthPoli async def get(self,request_configuration: Optional[AuthenticationStrengthPolicyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthenticationStrengthPolicy]: """ - Read the properties and relationships of an authenticationStrengthPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of an authenticationStrengthPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationStrengthPolicy] Find more info here: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-get?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[AuthenticationStrengthPolicyI async def patch(self,body: Optional[AuthenticationStrengthPolicy] = None, request_configuration: Optional[AuthenticationStrengthPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[AuthenticationStrengthPolicy]: """ - Update the properties of an authenticationStrengthPolicy object. You cannot update the allowed auth method combinations using this request. To do so, use the Update allowed combinations action. This API is available in the following national cloud deployments. + Update the properties of an authenticationStrengthPolicy object. You cannot update the allowed auth method combinations using this request. To do so, use the Update allowed combinations action. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationStrengthPolicy] @@ -98,7 +98,7 @@ async def patch(self,body: Optional[AuthenticationStrengthPolicy] = None, reques def to_delete_request_information(self,request_configuration: Optional[AuthenticationStrengthPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a custom authenticationStrengthPolicy object. This API is available in the following national cloud deployments. + Delete a custom authenticationStrengthPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[Authentic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AuthenticationStrengthPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an authenticationStrengthPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of an authenticationStrengthPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,12 +126,12 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AuthenticationStrengthPolicy] = None, request_configuration: Optional[AuthenticationStrengthPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an authenticationStrengthPolicy object. You cannot update the allowed auth method combinations using this request. To do so, use the Update allowed combinations action. This API is available in the following national cloud deployments. + Update the properties of an authenticationStrengthPolicy object. You cannot update the allowed auth method combinations using this request. To do so, use the Update allowed combinations action. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[AuthenticationStrengthPolic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -199,7 +199,7 @@ class AuthenticationStrengthPolicyItemRequestBuilderDeleteRequestConfiguration(B @dataclass class AuthenticationStrengthPolicyItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an authenticationStrengthPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of an authenticationStrengthPolicy object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/authentication_strength_policies/item/combination_configurations/combination_configurations_request_builder.py b/msgraph_beta/generated/policies/authentication_strength_policies/item/combination_configurations/combination_configurations_request_builder.py index 5c4c6915afe..deaa6fb05db 100644 --- a/msgraph_beta/generated/policies/authentication_strength_policies/item/combination_configurations/combination_configurations_request_builder.py +++ b/msgraph_beta/generated/policies/authentication_strength_policies/item/combination_configurations/combination_configurations_request_builder.py @@ -45,7 +45,7 @@ def by_authentication_combination_configuration_id(self,authentication_combinati async def get(self,request_configuration: Optional[CombinationConfigurationsRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthenticationCombinationConfigurationCollectionResponse]: """ - Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. This API is available in the following national cloud deployments. + Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationCombinationConfigurationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/authenticationstrengthpolicy-list-combinationconfigurations?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[CombinationConfigurationsRequ async def post(self,body: Optional[AuthenticationCombinationConfiguration] = None, request_configuration: Optional[CombinationConfigurationsRequestBuilderPostRequestConfiguration] = None) -> Optional[AuthenticationCombinationConfiguration]: """ - Create a new authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be created, and these may only be created for custom authentication strength policies. This API is available in the following national cloud deployments. + Create a new authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations might be created, and only for custom authentication strength policies. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationCombinationConfiguration] @@ -92,7 +92,7 @@ async def post(self,body: Optional[AuthenticationCombinationConfiguration] = Non def to_get_request_information(self,request_configuration: Optional[CombinationConfigurationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. This API is available in the following national cloud deployments. + Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[CombinationC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AuthenticationCombinationConfiguration] = None, request_configuration: Optional[CombinationConfigurationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be created, and these may only be created for custom authentication strength policies. This API is available in the following national cloud deployments. + Create a new authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations might be created, and only for custom authentication strength policies. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[AuthenticationCombinationCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CombinationConfigurationsRequestBuilderGetQueryParameters(): """ - Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. This API is available in the following national cloud deployments. + Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/authentication_strength_policies/item/combination_configurations/item/authentication_combination_configuration_item_request_builder.py b/msgraph_beta/generated/policies/authentication_strength_policies/item/combination_configurations/item/authentication_combination_configuration_item_request_builder.py index 9823b0858f1..76fbb38f1df 100644 --- a/msgraph_beta/generated/policies/authentication_strength_policies/item/combination_configurations/item/authentication_combination_configuration_item_request_builder.py +++ b/msgraph_beta/generated/policies/authentication_strength_policies/item/combination_configurations/item/authentication_combination_configuration_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AuthenticationCombinationConfigurationItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an authenticationCombinationConfiguration for a custom authenticationStrengthPolicy object. This API is available in the following national cloud deployments. + Delete an authenticationCombinationConfiguration for a custom authenticationStrengthPolicy object. 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/authenticationstrengthpolicy-delete-combinationconfigurations?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AuthenticationCombinationC async def get(self,request_configuration: Optional[AuthenticationCombinationConfigurationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthenticationCombinationConfiguration]: """ - Read the properties and relationships of an authenticationCombinationConfiguration object. This API is available in the following national cloud deployments. + Read the properties and relationships of an authenticationCombinationConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationCombinationConfiguration] Find more info here: https://learn.microsoft.com/graph/api/authenticationcombinationconfiguration-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AuthenticationCombinationConf async def patch(self,body: Optional[AuthenticationCombinationConfiguration] = None, request_configuration: Optional[AuthenticationCombinationConfigurationItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[AuthenticationCombinationConfiguration]: """ - Update the properties of an authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be updated as they're the only type of authenticationCombinationConfiguration that may be created. This API is available in the following national cloud deployments. + Update the properties of an authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be updated as they're the only type of authenticationCombinationConfiguration that may be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationCombinationConfiguration] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[AuthenticationCombinationConfiguration] = No def to_delete_request_information(self,request_configuration: Optional[AuthenticationCombinationConfigurationItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an authenticationCombinationConfiguration for a custom authenticationStrengthPolicy object. This API is available in the following national cloud deployments. + Delete an authenticationCombinationConfiguration for a custom authenticationStrengthPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Authentic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AuthenticationCombinationConfigurationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an authenticationCombinationConfiguration object. This API is available in the following national cloud deployments. + Read the properties and relationships of an authenticationCombinationConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AuthenticationCombinationConfiguration] = None, request_configuration: Optional[AuthenticationCombinationConfigurationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be updated as they're the only type of authenticationCombinationConfiguration that may be created. This API is available in the following national cloud deployments. + Update the properties of an authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be updated as they're the only type of authenticationCombinationConfiguration that may be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[AuthenticationCombinationCo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class AuthenticationCombinationConfigurationItemRequestBuilderDeleteRequestConfi @dataclass class AuthenticationCombinationConfigurationItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an authenticationCombinationConfiguration object. This API is available in the following national cloud deployments. + Read the properties and relationships of an authenticationCombinationConfiguration object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/authentication_strength_policies/item/update_allowed_combinations/update_allowed_combinations_request_builder.py b/msgraph_beta/generated/policies/authentication_strength_policies/item/update_allowed_combinations/update_allowed_combinations_request_builder.py index 32109ec09d3..f79f6887d24 100644 --- a/msgraph_beta/generated/policies/authentication_strength_policies/item/update_allowed_combinations/update_allowed_combinations_request_builder.py +++ b/msgraph_beta/generated/policies/authentication_strength_policies/item/update_allowed_combinations/update_allowed_combinations_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UpdateAllowedCombinationsPostRequestBody] = None, request_configuration: Optional[UpdateAllowedCombinationsRequestBuilderPostRequestConfiguration] = None) -> Optional[UpdateAllowedCombinationsResult]: """ - Update the allowedCombinations property of an authenticationStrengthPolicy object. To update other properties of an authenticationStrengthPolicy object, use the Update authenticationStrengthPolicy method. This API is available in the following national cloud deployments. + Update the allowedCombinations property of an authenticationStrengthPolicy object. To update other properties of an authenticationStrengthPolicy object, use the Update authenticationStrengthPolicy method. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UpdateAllowedCombinationsResult] @@ -54,7 +54,7 @@ async def post(self,body: Optional[UpdateAllowedCombinationsPostRequestBody] = N def to_post_request_information(self,body: Optional[UpdateAllowedCombinationsPostRequestBody] = None, request_configuration: Optional[UpdateAllowedCombinationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Update the allowedCombinations property of an authenticationStrengthPolicy object. To update other properties of an authenticationStrengthPolicy object, use the Update authenticationStrengthPolicy method. This API is available in the following national cloud deployments. + Update the allowedCombinations property of an authenticationStrengthPolicy object. To update other properties of an authenticationStrengthPolicy object, use the Update authenticationStrengthPolicy method. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[UpdateAllowedCombinationsPos request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/policies/authentication_strength_policies/item/usage/usage_request_builder.py b/msgraph_beta/generated/policies/authentication_strength_policies/item/usage/usage_request_builder.py index 39231311337..17c5f7450cb 100644 --- a/msgraph_beta/generated/policies/authentication_strength_policies/item/usage/usage_request_builder.py +++ b/msgraph_beta/generated/policies/authentication_strength_policies/item/usage/usage_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[UsageRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UsageRequestBuilder: diff --git a/msgraph_beta/generated/policies/authorization_policy/authorization_policy_request_builder.py b/msgraph_beta/generated/policies/authorization_policy/authorization_policy_request_builder.py index d14670eee3c..7ee1b3bc013 100644 --- a/msgraph_beta/generated/policies/authorization_policy/authorization_policy_request_builder.py +++ b/msgraph_beta/generated/policies/authorization_policy/authorization_policy_request_builder.py @@ -45,7 +45,7 @@ def by_authorization_policy_id(self,authorization_policy_id: str) -> Authorizati async def get(self,request_configuration: Optional[AuthorizationPolicyRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthorizationPolicyCollectionResponse]: """ - Retrieve the properties of an authorizationPolicy object. This API is available in the following national cloud deployments. + Retrieve the properties of an authorizationPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthorizationPolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/authorizationpolicy-get?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AuthorizationPolicy] = None, request_configur def to_get_request_information(self,request_configuration: Optional[AuthorizationPolicyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of an authorizationPolicy object. This API is available in the following national cloud deployments. + Retrieve the properties of an authorizationPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[Authorizatio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AuthorizationPolicy] = None, request_configuration: Optional[AuthorizationPolicyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AuthorizationPolicy] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AuthorizationPolicyRequestBuilderGetQueryParameters(): """ - Retrieve the properties of an authorizationPolicy object. This API is available in the following national cloud deployments. + Retrieve the properties of an authorizationPolicy object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/authorization_policy/item/authorization_policy_item_request_builder.py b/msgraph_beta/generated/policies/authorization_policy/item/authorization_policy_item_request_builder.py index 42257d8398d..45b4c45bf9c 100644 --- a/msgraph_beta/generated/policies/authorization_policy/item/authorization_policy_item_request_builder.py +++ b/msgraph_beta/generated/policies/authorization_policy/item/authorization_policy_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Authoriza request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AuthorizationPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[Authorizatio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AuthorizationPolicy] = None, request_configuration: Optional[AuthorizationPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AuthorizationPolicy] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/policies/authorization_policy/item/default_user_role_overrides/default_user_role_overrides_request_builder.py b/msgraph_beta/generated/policies/authorization_policy/item/default_user_role_overrides/default_user_role_overrides_request_builder.py index a67d1511175..4e5b7b91617 100644 --- a/msgraph_beta/generated/policies/authorization_policy/item/default_user_role_overrides/default_user_role_overrides_request_builder.py +++ b/msgraph_beta/generated/policies/authorization_policy/item/default_user_role_overrides/default_user_role_overrides_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DefaultUserR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DefaultUserRoleOverride] = None, request_configuration: Optional[DefaultUserRoleOverridesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DefaultUserRoleOverride] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/policies/authorization_policy/item/default_user_role_overrides/item/default_user_role_override_item_request_builder.py b/msgraph_beta/generated/policies/authorization_policy/item/default_user_role_overrides/item/default_user_role_override_item_request_builder.py index 627bbe4162a..43117b847b2 100644 --- a/msgraph_beta/generated/policies/authorization_policy/item/default_user_role_overrides/item/default_user_role_override_item_request_builder.py +++ b/msgraph_beta/generated/policies/authorization_policy/item/default_user_role_overrides/item/default_user_role_override_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DefaultUs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DefaultUserRoleOverrideItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DefaultUserR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DefaultUserRoleOverride] = None, request_configuration: Optional[DefaultUserRoleOverrideItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DefaultUserRoleOverride] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/policies/b2c_authentication_methods_policy/b2c_authentication_methods_policy_request_builder.py b/msgraph_beta/generated/policies/b2c_authentication_methods_policy/b2c_authentication_methods_policy_request_builder.py index 8fd0b0ff708..153e1f7adeb 100644 --- a/msgraph_beta/generated/policies/b2c_authentication_methods_policy/b2c_authentication_methods_policy_request_builder.py +++ b/msgraph_beta/generated/policies/b2c_authentication_methods_policy/b2c_authentication_methods_policy_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[B2cAuthenticationMethodsPo async def get(self,request_configuration: Optional[B2cAuthenticationMethodsPolicyRequestBuilderGetRequestConfiguration] = None) -> Optional[B2cAuthenticationMethodsPolicy]: """ - Read the properties of a b2cAuthenticationMethodsPolicy object. This API is available in the following national cloud deployments. + Read the properties of a b2cAuthenticationMethodsPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[B2cAuthenticationMethodsPolicy] Find more info here: https://learn.microsoft.com/graph/api/b2cauthenticationmethodspolicy-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[B2cAuthenticationMethodsPolic async def patch(self,body: Optional[B2cAuthenticationMethodsPolicy] = None, request_configuration: Optional[B2cAuthenticationMethodsPolicyRequestBuilderPatchRequestConfiguration] = None) -> Optional[B2cAuthenticationMethodsPolicy]: """ - Update the properties of a b2cAuthenticationMethodsPolicy object. This API is available in the following national cloud deployments. + Update the properties of a b2cAuthenticationMethodsPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[B2cAuthenticationMethodsPolicy] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[B2cAuthen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[B2cAuthenticationMethodsPolicyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties of a b2cAuthenticationMethodsPolicy object. This API is available in the following national cloud deployments. + Read the properties of a b2cAuthenticationMethodsPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[B2cAuthentic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[B2cAuthenticationMethodsPolicy] = None, request_configuration: Optional[B2cAuthenticationMethodsPolicyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a b2cAuthenticationMethodsPolicy object. This API is available in the following national cloud deployments. + Update the properties of a b2cAuthenticationMethodsPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[B2cAuthenticationMethodsPol request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class B2cAuthenticationMethodsPolicyRequestBuilderDeleteRequestConfiguration(Bas @dataclass class B2cAuthenticationMethodsPolicyRequestBuilderGetQueryParameters(): """ - Read the properties of a b2cAuthenticationMethodsPolicy object. This API is available in the following national cloud deployments. + Read the properties of a b2cAuthenticationMethodsPolicy object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/claims_mapping_policies/claims_mapping_policies_request_builder.py b/msgraph_beta/generated/policies/claims_mapping_policies/claims_mapping_policies_request_builder.py index b38f05b96dc..6bcc85a4d2d 100644 --- a/msgraph_beta/generated/policies/claims_mapping_policies/claims_mapping_policies_request_builder.py +++ b/msgraph_beta/generated/policies/claims_mapping_policies/claims_mapping_policies_request_builder.py @@ -45,7 +45,7 @@ def by_claims_mapping_policy_id(self,claims_mapping_policy_id: str) -> ClaimsMap async def get(self,request_configuration: Optional[ClaimsMappingPoliciesRequestBuilderGetRequestConfiguration] = None) -> Optional[ClaimsMappingPolicyCollectionResponse]: """ - Get a list of claimsMappingPolicy objects. This API is available in the following national cloud deployments. + Get a list of claimsMappingPolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ClaimsMappingPolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/claimsmappingpolicy-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ClaimsMappingPoliciesRequestB async def post(self,body: Optional[ClaimsMappingPolicy] = None, request_configuration: Optional[ClaimsMappingPoliciesRequestBuilderPostRequestConfiguration] = None) -> Optional[ClaimsMappingPolicy]: """ - Create a new claimsMappingPolicy object. This API is available in the following national cloud deployments. + Create a new claimsMappingPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ClaimsMappingPolicy] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ClaimsMappingPolicy] = None, request_configur def to_get_request_information(self,request_configuration: Optional[ClaimsMappingPoliciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of claimsMappingPolicy objects. This API is available in the following national cloud deployments. + Get a list of claimsMappingPolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ClaimsMappin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ClaimsMappingPolicy] = None, request_configuration: Optional[ClaimsMappingPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new claimsMappingPolicy object. This API is available in the following national cloud deployments. + Create a new claimsMappingPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ClaimsMappingPolicy] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ClaimsMappingPoliciesRequestBuilderGetQueryParameters(): """ - Get a list of claimsMappingPolicy objects. This API is available in the following national cloud deployments. + Get a list of claimsMappingPolicy objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/claims_mapping_policies/item/applies_to/applies_to_request_builder.py b/msgraph_beta/generated/policies/claims_mapping_policies/item/applies_to/applies_to_request_builder.py index d6f6cb66a63..3e8d5af3490 100644 --- a/msgraph_beta/generated/policies/claims_mapping_policies/item/applies_to/applies_to_request_builder.py +++ b/msgraph_beta/generated/policies/claims_mapping_policies/item/applies_to/applies_to_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[AppliesToReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppliesToRequestBuilder: diff --git a/msgraph_beta/generated/policies/claims_mapping_policies/item/applies_to/item/directory_object_item_request_builder.py b/msgraph_beta/generated/policies/claims_mapping_policies/item/applies_to/item/directory_object_item_request_builder.py index 60fc7a9779c..47340889e32 100644 --- a/msgraph_beta/generated/policies/claims_mapping_policies/item/applies_to/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/policies/claims_mapping_policies/item/applies_to/item/directory_object_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: diff --git a/msgraph_beta/generated/policies/claims_mapping_policies/item/claims_mapping_policy_item_request_builder.py b/msgraph_beta/generated/policies/claims_mapping_policies/item/claims_mapping_policy_item_request_builder.py index 2faaeb2d04a..c75536a1222 100644 --- a/msgraph_beta/generated/policies/claims_mapping_policies/item/claims_mapping_policy_item_request_builder.py +++ b/msgraph_beta/generated/policies/claims_mapping_policies/item/claims_mapping_policy_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ClaimsMappingPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a claimsMappingPolicy object. This API is available in the following national cloud deployments. + Delete a claimsMappingPolicy object. 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/claimsmappingpolicy-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[ClaimsMappingPolicyItemReq async def get(self,request_configuration: Optional[ClaimsMappingPolicyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ClaimsMappingPolicy]: """ - Retrieve the properties and relationships of a claimsMappingPolicy object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a claimsMappingPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ClaimsMappingPolicy] Find more info here: https://learn.microsoft.com/graph/api/claimsmappingpolicy-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[ClaimsMappingPolicyItemReques async def patch(self,body: Optional[ClaimsMappingPolicy] = None, request_configuration: Optional[ClaimsMappingPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ClaimsMappingPolicy]: """ - Update the properties of a claimsMappingPolicy object. This API is available in the following national cloud deployments. + Update the properties of a claimsMappingPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ClaimsMappingPolicy] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[ClaimsMappingPolicy] = None, request_configu def to_delete_request_information(self,request_configuration: Optional[ClaimsMappingPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a claimsMappingPolicy object. This API is available in the following national cloud deployments. + Delete a claimsMappingPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[ClaimsMap request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ClaimsMappingPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a claimsMappingPolicy object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a claimsMappingPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[ClaimsMappin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ClaimsMappingPolicy] = None, request_configuration: Optional[ClaimsMappingPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a claimsMappingPolicy object. This API is available in the following national cloud deployments. + Update the properties of a claimsMappingPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[ClaimsMappingPolicy] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class ClaimsMappingPolicyItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class ClaimsMappingPolicyItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a claimsMappingPolicy object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a claimsMappingPolicy object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/conditional_access_policies/conditional_access_policies_request_builder.py b/msgraph_beta/generated/policies/conditional_access_policies/conditional_access_policies_request_builder.py index 5a68b3964df..9110dc9d9c3 100644 --- a/msgraph_beta/generated/policies/conditional_access_policies/conditional_access_policies_request_builder.py +++ b/msgraph_beta/generated/policies/conditional_access_policies/conditional_access_policies_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ConditionalA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ConditionalAccessPolicy] = None, request_configuration: Optional[ConditionalAccessPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ConditionalAccessPolicy] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/policies/conditional_access_policies/item/conditional_access_policy_item_request_builder.py b/msgraph_beta/generated/policies/conditional_access_policies/item/conditional_access_policy_item_request_builder.py index 6068e9aba6d..dc527333a65 100644 --- a/msgraph_beta/generated/policies/conditional_access_policies/item/conditional_access_policy_item_request_builder.py +++ b/msgraph_beta/generated/policies/conditional_access_policies/item/conditional_access_policy_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Condition request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConditionalAccessPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ConditionalA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConditionalAccessPolicy] = None, request_configuration: Optional[ConditionalAccessPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ConditionalAccessPolicy] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/policies/cross_tenant_access_policy/cross_tenant_access_policy_request_builder.py b/msgraph_beta/generated/policies/cross_tenant_access_policy/cross_tenant_access_policy_request_builder.py index 7e36aa8f849..6f1a6214fec 100644 --- a/msgraph_beta/generated/policies/cross_tenant_access_policy/cross_tenant_access_policy_request_builder.py +++ b/msgraph_beta/generated/policies/cross_tenant_access_policy/cross_tenant_access_policy_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[CrossTenantAccessPolicyReq async def get(self,request_configuration: Optional[CrossTenantAccessPolicyRequestBuilderGetRequestConfiguration] = None) -> Optional[CrossTenantAccessPolicy]: """ - Read the properties and relationships of a crossTenantAccessPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of a crossTenantAccessPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CrossTenantAccessPolicy] Find more info here: https://learn.microsoft.com/graph/api/crosstenantaccesspolicy-get?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[CrossTenantAccessPolicyReques async def patch(self,body: Optional[CrossTenantAccessPolicy] = None, request_configuration: Optional[CrossTenantAccessPolicyRequestBuilderPatchRequestConfiguration] = None) -> Optional[CrossTenantAccessPolicy]: """ - Update the properties of a cross-tenant access policy. This API is available in the following national cloud deployments. + Update the properties of a cross-tenant access policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CrossTenantAccessPolicy] @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[CrossTena request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CrossTenantAccessPolicyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a crossTenantAccessPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of a crossTenantAccessPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[CrossTenantA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CrossTenantAccessPolicy] = None, request_configuration: Optional[CrossTenantAccessPolicyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a cross-tenant access policy. This API is available in the following national cloud deployments. + Update the properties of a cross-tenant access policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[CrossTenantAccessPolicy] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -198,7 +198,7 @@ class CrossTenantAccessPolicyRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class CrossTenantAccessPolicyRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a crossTenantAccessPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of a crossTenantAccessPolicy object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/cross_tenant_access_policy/default/default_request_builder.py b/msgraph_beta/generated/policies/cross_tenant_access_policy/default/default_request_builder.py index 860a3c862c6..2a5707814bc 100644 --- a/msgraph_beta/generated/policies/cross_tenant_access_policy/default/default_request_builder.py +++ b/msgraph_beta/generated/policies/cross_tenant_access_policy/default/default_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[DefaultRequestBuilderDelet async def get(self,request_configuration: Optional[DefaultRequestBuilderGetRequestConfiguration] = None) -> Optional[CrossTenantAccessPolicyConfigurationDefault]: """ - Read the default configuration of a cross-tenant access policy. This default configuration may be the service default assigned by Microsoft Entra ID (isServiceDefault is true) or may be customized in your tenant (isServiceDefault is false). This API is available in the following national cloud deployments. + Read the default configuration of a cross-tenant access policy. This default configuration may be the service default assigned by Microsoft Entra ID (isServiceDefault is true) or may be customized in your tenant (isServiceDefault is false). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CrossTenantAccessPolicyConfigurationDefault] Find more info here: https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationdefault-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[DefaultRequestBuilderGetReque async def patch(self,body: Optional[CrossTenantAccessPolicyConfigurationDefault] = None, request_configuration: Optional[DefaultRequestBuilderPatchRequestConfiguration] = None) -> Optional[CrossTenantAccessPolicyConfigurationDefault]: """ - Update the default configuration of a cross-tenant access policy. This API is available in the following national cloud deployments. + Update the default configuration of a cross-tenant access policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CrossTenantAccessPolicyConfigurationDefault] @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[DefaultRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DefaultRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the default configuration of a cross-tenant access policy. This default configuration may be the service default assigned by Microsoft Entra ID (isServiceDefault is true) or may be customized in your tenant (isServiceDefault is false). This API is available in the following national cloud deployments. + Read the default configuration of a cross-tenant access policy. This default configuration may be the service default assigned by Microsoft Entra ID (isServiceDefault is true) or may be customized in your tenant (isServiceDefault is false). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[DefaultReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CrossTenantAccessPolicyConfigurationDefault] = None, request_configuration: Optional[DefaultRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the default configuration of a cross-tenant access policy. This API is available in the following national cloud deployments. + Update the default configuration of a cross-tenant access policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[CrossTenantAccessPolicyConf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class DefaultRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class DefaultRequestBuilderGetQueryParameters(): """ - Read the default configuration of a cross-tenant access policy. This default configuration may be the service default assigned by Microsoft Entra ID (isServiceDefault is true) or may be customized in your tenant (isServiceDefault is false). This API is available in the following national cloud deployments. + Read the default configuration of a cross-tenant access policy. This default configuration may be the service default assigned by Microsoft Entra ID (isServiceDefault is true) or may be customized in your tenant (isServiceDefault is false). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/cross_tenant_access_policy/default/reset_to_system_default/reset_to_system_default_request_builder.py b/msgraph_beta/generated/policies/cross_tenant_access_policy/default/reset_to_system_default/reset_to_system_default_request_builder.py index fb3bf486ecd..04c8c4d3f98 100644 --- a/msgraph_beta/generated/policies/cross_tenant_access_policy/default/reset_to_system_default/reset_to_system_default_request_builder.py +++ b/msgraph_beta/generated/policies/cross_tenant_access_policy/default/reset_to_system_default/reset_to_system_default_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ResetToSystemDefaultRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reset any changes made to the default configuration in a cross-tenant access policy back to the system default. This API is available in the following national cloud deployments. + Reset any changes made to the default configuration in a cross-tenant access policy back to the system default. 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/crosstenantaccesspolicyconfigurationdefault-resettosystemdefault?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ResetToSystemDefaultRequestB def to_post_request_information(self,request_configuration: Optional[ResetToSystemDefaultRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reset any changes made to the default configuration in a cross-tenant access policy back to the system default. This API is available in the following national cloud deployments. + Reset any changes made to the default configuration in a cross-tenant access policy back to the system default. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ResetToSyst request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResetToSystemDefaultRequestBuilder: diff --git a/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/item/cross_tenant_access_policy_configuration_partner_tenant_item_request_builder.py b/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/item/cross_tenant_access_policy_configuration_partner_tenant_item_request_builder.py index 6c1c6bf2862..5aea099ecf6 100644 --- a/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/item/cross_tenant_access_policy_configuration_partner_tenant_item_request_builder.py +++ b/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/item/cross_tenant_access_policy_configuration_partner_tenant_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a partner-specific configuration in a cross-tenant access policy. If a configuration includes a user synchronization policy, you must first delete the user synchronization policy before you can delete the partner-specific configuration. This API is available in the following national cloud deployments. + Delete a partner-specific configuration in a cross-tenant access policy. If a configuration includes a user synchronization policy, you must first delete the user synchronization policy before you can delete the partner-specific configuration. 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/crosstenantaccesspolicyconfigurationpartner-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[CrossTenantAccessPolicyCon async def get(self,request_configuration: Optional[CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CrossTenantAccessPolicyConfigurationPartner]: """ - Read the properties and relationships of a partner-specific configuration. This API is available in the following national cloud deployments. + Read the properties and relationships of a partner-specific configuration. 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-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[CrossTenantAccessPolicyConfig async def patch(self,body: Optional[CrossTenantAccessPolicyConfigurationPartner] = None, request_configuration: Optional[CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[CrossTenantAccessPolicyConfigurationPartner]: """ - Update the properties of a partner-specific configuration. This API is available in the following national cloud deployments. + Update the properties of a partner-specific configuration. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CrossTenantAccessPolicyConfigurationPartner] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[CrossTenantAccessPolicyConfigurationPartner] def to_delete_request_information(self,request_configuration: Optional[CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a partner-specific configuration in a cross-tenant access policy. If a configuration includes a user synchronization policy, you must first delete the user synchronization policy before you can delete the partner-specific configuration. This API is available in the following national cloud deployments. + Delete a partner-specific configuration in a cross-tenant access policy. If a configuration includes a user synchronization policy, you must first delete the user synchronization policy before you can delete the partner-specific configuration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[CrossTena request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a partner-specific configuration. This API is available in the following national cloud deployments. + Read the properties and relationships of a partner-specific configuration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[CrossTenantA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CrossTenantAccessPolicyConfigurationPartner] = None, request_configuration: Optional[CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a partner-specific configuration. This API is available in the following national cloud deployments. + Update the properties of a partner-specific configuration. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[CrossTenantAccessPolicyConf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderDeleteR @dataclass class CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a partner-specific configuration. This API is available in the following national cloud deployments. + Read the properties and relationships of a partner-specific configuration. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py b/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py index 73ae7edcdcc..ff9dd3d9746 100644 --- a/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py +++ b/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[IdentitySynchronizationRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete the user synchronization policy for a partner-specific configuration. This API is available in the following national cloud deployments. + Delete the user synchronization policy for a partner-specific configuration. 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/crosstenantidentitysyncpolicypartner-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[IdentitySynchronizationReq async def get(self,request_configuration: Optional[IdentitySynchronizationRequestBuilderGetRequestConfiguration] = None) -> Optional[CrossTenantIdentitySyncPolicyPartner]: """ - Get the user synchronization policy of a partner-specific configuration. This API is available in the following national cloud deployments. + Get the user synchronization policy of a partner-specific configuration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CrossTenantIdentitySyncPolicyPartner] Find more info here: https://learn.microsoft.com/graph/api/crosstenantidentitysyncpolicypartner-get?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def put(self,body: Optional[CrossTenantIdentitySyncPolicyPartner] = None, def to_delete_request_information(self,request_configuration: Optional[IdentitySynchronizationRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete the user synchronization policy for a partner-specific configuration. This API is available in the following national cloud deployments. + Delete the user synchronization policy for a partner-specific configuration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[IdentityS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[IdentitySynchronizationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the user synchronization policy of a partner-specific configuration. This API is available in the following national cloud deployments. + Get the user synchronization policy of a partner-specific configuration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[IdentitySync request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_put_request_information(self,body: Optional[CrossTenantIdentitySyncPolicyPartner] = None, request_configuration: Optional[IdentitySynchronizationRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_put_request_information(self,body: Optional[CrossTenantIdentitySyncPolicy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class IdentitySynchronizationRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class IdentitySynchronizationRequestBuilderGetQueryParameters(): """ - Get the user synchronization policy of a partner-specific configuration. This API is available in the following national cloud deployments. + Get the user synchronization policy of a partner-specific configuration. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/partners_request_builder.py b/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/partners_request_builder.py index 20420db1062..18c7cd351fd 100644 --- a/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/partners_request_builder.py +++ b/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/partners_request_builder.py @@ -45,7 +45,7 @@ def by_cross_tenant_access_policy_configuration_partner_tenant_id(self,cross_ten async def get(self,request_configuration: Optional[PartnersRequestBuilderGetRequestConfiguration] = None) -> Optional[CrossTenantAccessPolicyConfigurationPartnerCollectionResponse]: """ - Get a list of all partner configurations within a cross-tenant access policy. You can also use the $expand parameter to list the user synchronization policy for all partner configurations. This API is available in the following national cloud deployments. + Get a list of all partner configurations within a cross-tenant access policy. You can also use the $expand parameter to list the user synchronization policy for all partner configurations. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CrossTenantAccessPolicyConfigurationPartnerCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/crosstenantaccesspolicy-list-partners?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[PartnersRequestBuilderGetRequ async def post(self,body: Optional[CrossTenantAccessPolicyConfigurationPartner] = None, request_configuration: Optional[PartnersRequestBuilderPostRequestConfiguration] = None) -> Optional[CrossTenantAccessPolicyConfigurationPartner]: """ - Create a new partner configuration in a cross-tenant access policy. This API is available in the following national cloud deployments. + Create a new partner configuration in a cross-tenant access policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CrossTenantAccessPolicyConfigurationPartner] @@ -92,7 +92,7 @@ async def post(self,body: Optional[CrossTenantAccessPolicyConfigurationPartner] def to_get_request_information(self,request_configuration: Optional[PartnersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of all partner configurations within a cross-tenant access policy. You can also use the $expand parameter to list the user synchronization policy for all partner configurations. This API is available in the following national cloud deployments. + Get a list of all partner configurations within a cross-tenant access policy. You can also use the $expand parameter to list the user synchronization policy for all partner configurations. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[PartnersRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CrossTenantAccessPolicyConfigurationPartner] = None, request_configuration: Optional[PartnersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new partner configuration in a cross-tenant access policy. This API is available in the following national cloud deployments. + Create a new partner configuration in a cross-tenant access policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[CrossTenantAccessPolicyConfi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PartnersRequestBuilderGetQueryParameters(): """ - Get a list of all partner configurations within a cross-tenant access policy. You can also use the $expand parameter to list the user synchronization policy for all partner configurations. This API is available in the following national cloud deployments. + Get a list of all partner configurations within a cross-tenant access policy. You can also use the $expand parameter to list the user synchronization policy for all partner configurations. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/cross_tenant_access_policy/templates/multi_tenant_organization_identity_synchronization/multi_tenant_organization_identity_synchronization_request_builder.py b/msgraph_beta/generated/policies/cross_tenant_access_policy/templates/multi_tenant_organization_identity_synchronization/multi_tenant_organization_identity_synchronization_request_builder.py index 65c700b1ae3..775c8061984 100644 --- a/msgraph_beta/generated/policies/cross_tenant_access_policy/templates/multi_tenant_organization_identity_synchronization/multi_tenant_organization_identity_synchronization_request_builder.py +++ b/msgraph_beta/generated/policies/cross_tenant_access_policy/templates/multi_tenant_organization_identity_synchronization/multi_tenant_organization_identity_synchronization_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[MultiTenantOrganizationIde async def get(self,request_configuration: Optional[MultiTenantOrganizationIdentitySynchronizationRequestBuilderGetRequestConfiguration] = None) -> Optional[MultiTenantOrganizationIdentitySyncPolicyTemplate]: """ - Get the cross-tenant access policy template with user synchronization settings for a multitenant organization. This API is available in the following national cloud deployments. + Get the cross-tenant access policy template with user synchronization settings for a multitenant organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MultiTenantOrganizationIdentitySyncPolicyTemplate] Find more info here: https://learn.microsoft.com/graph/api/multitenantorganizationidentitysyncpolicytemplate-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[MultiTenantOrganizationIdenti async def patch(self,body: Optional[MultiTenantOrganizationIdentitySyncPolicyTemplate] = None, request_configuration: Optional[MultiTenantOrganizationIdentitySynchronizationRequestBuilderPatchRequestConfiguration] = None) -> Optional[MultiTenantOrganizationIdentitySyncPolicyTemplate]: """ - Update the cross-tenant access policy template with user synchronization settings for a multi-tenant organization. This API is available in the following national cloud deployments. + Update the cross-tenant access policy template with user synchronization settings for a multi-tenant organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MultiTenantOrganizationIdentitySyncPolicyTemplate] @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[MultiTena request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MultiTenantOrganizationIdentitySynchronizationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the cross-tenant access policy template with user synchronization settings for a multitenant organization. This API is available in the following national cloud deployments. + Get the cross-tenant access policy template with user synchronization settings for a multitenant organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[MultiTenantO request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MultiTenantOrganizationIdentitySyncPolicyTemplate] = None, request_configuration: Optional[MultiTenantOrganizationIdentitySynchronizationRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the cross-tenant access policy template with user synchronization settings for a multi-tenant organization. This API is available in the following national cloud deployments. + Update the cross-tenant access policy template with user synchronization settings for a multi-tenant organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[MultiTenantOrganizationIden request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class MultiTenantOrganizationIdentitySynchronizationRequestBuilderDeleteRequestC @dataclass class MultiTenantOrganizationIdentitySynchronizationRequestBuilderGetQueryParameters(): """ - Get the cross-tenant access policy template with user synchronization settings for a multitenant organization. This API is available in the following national cloud deployments. + Get the cross-tenant access policy template with user synchronization settings for a multitenant organization. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/cross_tenant_access_policy/templates/multi_tenant_organization_identity_synchronization/reset_to_default_settings/reset_to_default_settings_request_builder.py b/msgraph_beta/generated/policies/cross_tenant_access_policy/templates/multi_tenant_organization_identity_synchronization/reset_to_default_settings/reset_to_default_settings_request_builder.py index b57f472ed67..970205abd76 100644 --- a/msgraph_beta/generated/policies/cross_tenant_access_policy/templates/multi_tenant_organization_identity_synchronization/reset_to_default_settings/reset_to_default_settings_request_builder.py +++ b/msgraph_beta/generated/policies/cross_tenant_access_policy/templates/multi_tenant_organization_identity_synchronization/reset_to_default_settings/reset_to_default_settings_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ResetToDefaultSettingsRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reset the cross-tenant access policy template with user synchronization settings for a multitenant organization to the default values. In its reset state, the template has no impact on user synchronization settings, other than that unconfigured user synchronization settings are created if needed, for every multitenant organization tenant. This API is available in the following national cloud deployments. + Reset the cross-tenant access policy template with user synchronization settings for a multitenant organization to the default values. In its reset state, the template has no impact on user synchronization settings, other than that unconfigured user synchronization settings are created if needed, for every multitenant organization tenant. 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/multitenantorganizationidentitysyncpolicytemplate-resettodefaultsettings?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ResetToDefaultSettingsReques def to_post_request_information(self,request_configuration: Optional[ResetToDefaultSettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reset the cross-tenant access policy template with user synchronization settings for a multitenant organization to the default values. In its reset state, the template has no impact on user synchronization settings, other than that unconfigured user synchronization settings are created if needed, for every multitenant organization tenant. This API is available in the following national cloud deployments. + Reset the cross-tenant access policy template with user synchronization settings for a multitenant organization to the default values. In its reset state, the template has no impact on user synchronization settings, other than that unconfigured user synchronization settings are created if needed, for every multitenant organization tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ResetToDefa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResetToDefaultSettingsRequestBuilder: diff --git a/msgraph_beta/generated/policies/cross_tenant_access_policy/templates/multi_tenant_organization_partner_configuration/multi_tenant_organization_partner_configuration_request_builder.py b/msgraph_beta/generated/policies/cross_tenant_access_policy/templates/multi_tenant_organization_partner_configuration/multi_tenant_organization_partner_configuration_request_builder.py index 2b3f217e787..d33865786bf 100644 --- a/msgraph_beta/generated/policies/cross_tenant_access_policy/templates/multi_tenant_organization_partner_configuration/multi_tenant_organization_partner_configuration_request_builder.py +++ b/msgraph_beta/generated/policies/cross_tenant_access_policy/templates/multi_tenant_organization_partner_configuration/multi_tenant_organization_partner_configuration_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[MultiTenantOrganizationPar async def get(self,request_configuration: Optional[MultiTenantOrganizationPartnerConfigurationRequestBuilderGetRequestConfiguration] = None) -> Optional[MultiTenantOrganizationPartnerConfigurationTemplate]: """ - Get the cross-tenant access policy template with inbound and outbound partner configuration settings for a multitenant organization. This API is available in the following national cloud deployments. + Get the cross-tenant access policy template with inbound and outbound partner configuration settings for a multitenant organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MultiTenantOrganizationPartnerConfigurationTemplate] Find more info here: https://learn.microsoft.com/graph/api/multitenantorganizationpartnerconfigurationtemplate-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[MultiTenantOrganizationPartne async def patch(self,body: Optional[MultiTenantOrganizationPartnerConfigurationTemplate] = None, request_configuration: Optional[MultiTenantOrganizationPartnerConfigurationRequestBuilderPatchRequestConfiguration] = None) -> Optional[MultiTenantOrganizationPartnerConfigurationTemplate]: """ - Update the cross-tenant access policy template with inbound and outbound partner configuration settings for a multitenant organization. This API is available in the following national cloud deployments. + Update the cross-tenant access policy template with inbound and outbound partner configuration settings for a multitenant organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MultiTenantOrganizationPartnerConfigurationTemplate] @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[MultiTena request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MultiTenantOrganizationPartnerConfigurationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the cross-tenant access policy template with inbound and outbound partner configuration settings for a multitenant organization. This API is available in the following national cloud deployments. + Get the cross-tenant access policy template with inbound and outbound partner configuration settings for a multitenant organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[MultiTenantO request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MultiTenantOrganizationPartnerConfigurationTemplate] = None, request_configuration: Optional[MultiTenantOrganizationPartnerConfigurationRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the cross-tenant access policy template with inbound and outbound partner configuration settings for a multitenant organization. This API is available in the following national cloud deployments. + Update the cross-tenant access policy template with inbound and outbound partner configuration settings for a multitenant organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[MultiTenantOrganizationPart request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class MultiTenantOrganizationPartnerConfigurationRequestBuilderDeleteRequestConf @dataclass class MultiTenantOrganizationPartnerConfigurationRequestBuilderGetQueryParameters(): """ - Get the cross-tenant access policy template with inbound and outbound partner configuration settings for a multitenant organization. This API is available in the following national cloud deployments. + Get the cross-tenant access policy template with inbound and outbound partner configuration settings for a multitenant organization. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/cross_tenant_access_policy/templates/multi_tenant_organization_partner_configuration/reset_to_default_settings/reset_to_default_settings_request_builder.py b/msgraph_beta/generated/policies/cross_tenant_access_policy/templates/multi_tenant_organization_partner_configuration/reset_to_default_settings/reset_to_default_settings_request_builder.py index 3e1416389b5..f46aaa69a79 100644 --- a/msgraph_beta/generated/policies/cross_tenant_access_policy/templates/multi_tenant_organization_partner_configuration/reset_to_default_settings/reset_to_default_settings_request_builder.py +++ b/msgraph_beta/generated/policies/cross_tenant_access_policy/templates/multi_tenant_organization_partner_configuration/reset_to_default_settings/reset_to_default_settings_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ResetToDefaultSettingsRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reset the cross-tenant access policy template with inbound and outbound partner configuration settings for a multitenant organization to the default values. In its reset state, the template has no impact on partner configuration settings, other than that an unconfigured partner configuration is created if needed, for every multitenant organization tenant. This API is available in the following national cloud deployments. + Reset the cross-tenant access policy template with inbound and outbound partner configuration settings for a multitenant organization to the default values. In its reset state, the template has no impact on partner configuration settings, other than that an unconfigured partner configuration is created if needed, for every multitenant organization tenant. 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/multitenantorganizationpartnerconfigurationtemplate-resettodefaultsettings?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ResetToDefaultSettingsReques def to_post_request_information(self,request_configuration: Optional[ResetToDefaultSettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reset the cross-tenant access policy template with inbound and outbound partner configuration settings for a multitenant organization to the default values. In its reset state, the template has no impact on partner configuration settings, other than that an unconfigured partner configuration is created if needed, for every multitenant organization tenant. This API is available in the following national cloud deployments. + Reset the cross-tenant access policy template with inbound and outbound partner configuration settings for a multitenant organization to the default values. In its reset state, the template has no impact on partner configuration settings, other than that an unconfigured partner configuration is created if needed, for every multitenant organization tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ResetToDefa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResetToDefaultSettingsRequestBuilder: diff --git a/msgraph_beta/generated/policies/cross_tenant_access_policy/templates/templates_request_builder.py b/msgraph_beta/generated/policies/cross_tenant_access_policy/templates/templates_request_builder.py index 3318d0a80b0..6f8f344011a 100644 --- a/msgraph_beta/generated/policies/cross_tenant_access_policy/templates/templates_request_builder.py +++ b/msgraph_beta/generated/policies/cross_tenant_access_policy/templates/templates_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Templates request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TemplatesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TemplatesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PolicyTemplate] = None, request_configuration: Optional[TemplatesRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PolicyTemplate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/policies/default_app_management_policy/default_app_management_policy_request_builder.py b/msgraph_beta/generated/policies/default_app_management_policy/default_app_management_policy_request_builder.py index 73aac36f3d5..b7bcb50587d 100644 --- a/msgraph_beta/generated/policies/default_app_management_policy/default_app_management_policy_request_builder.py +++ b/msgraph_beta/generated/policies/default_app_management_policy/default_app_management_policy_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[DefaultAppManagementPolicy async def get(self,request_configuration: Optional[DefaultAppManagementPolicyRequestBuilderGetRequestConfiguration] = None) -> Optional[TenantAppManagementPolicy]: """ - Read the properties of a tenantAppManagementPolicy object. This API is available in the following national cloud deployments. + Read the properties of a tenantAppManagementPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TenantAppManagementPolicy] Find more info here: https://learn.microsoft.com/graph/api/tenantappmanagementpolicy-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[DefaultAppManagementPolicyReq async def patch(self,body: Optional[TenantAppManagementPolicy] = None, request_configuration: Optional[DefaultAppManagementPolicyRequestBuilderPatchRequestConfiguration] = None) -> Optional[TenantAppManagementPolicy]: """ - Update the properties of a tenantAppManagementPolicy object. This API is available in the following national cloud deployments. + Update the properties of a tenantAppManagementPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TenantAppManagementPolicy] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[DefaultAp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DefaultAppManagementPolicyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties of a tenantAppManagementPolicy object. This API is available in the following national cloud deployments. + Read the properties of a tenantAppManagementPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[DefaultAppMa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TenantAppManagementPolicy] = None, request_configuration: Optional[DefaultAppManagementPolicyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a tenantAppManagementPolicy object. This API is available in the following national cloud deployments. + Update the properties of a tenantAppManagementPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[TenantAppManagementPolicy] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class DefaultAppManagementPolicyRequestBuilderDeleteRequestConfiguration(BaseReq @dataclass class DefaultAppManagementPolicyRequestBuilderGetQueryParameters(): """ - Read the properties of a tenantAppManagementPolicy object. This API is available in the following national cloud deployments. + Read the properties of a tenantAppManagementPolicy object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/device_registration_policy/device_registration_policy_request_builder.py b/msgraph_beta/generated/policies/device_registration_policy/device_registration_policy_request_builder.py index 70e0d0f0d1d..842c933d01a 100644 --- a/msgraph_beta/generated/policies/device_registration_policy/device_registration_policy_request_builder.py +++ b/msgraph_beta/generated/policies/device_registration_policy/device_registration_policy_request_builder.py @@ -24,11 +24,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/policies/deviceRegistrationPolicy{?%24select,%24expand}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/policies/deviceRegistrationPolicy{?%24select}", path_parameters) async def get(self,request_configuration: Optional[DeviceRegistrationPolicyRequestBuilderGetRequestConfiguration] = None) -> Optional[DeviceRegistrationPolicy]: """ - Read the properties and relationships of a deviceRegistrationPolicy object. Represents deviceRegistrationPolicy quota restrictions, additional authentication, and authorization policies to register device identities to your organization. This API is available in the following national cloud deployments. + Read the properties and relationships of a deviceRegistrationPolicy object. Represents deviceRegistrationPolicy quota restrictions, additional authentication, and authorization policies to register device identities to your organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceRegistrationPolicy] Find more info here: https://learn.microsoft.com/graph/api/deviceregistrationpolicy-get?view=graph-rest-1.0 @@ -75,7 +75,7 @@ async def patch(self,body: Optional[DeviceRegistrationPolicy] = None, request_co def to_get_request_information(self,request_configuration: Optional[DeviceRegistrationPolicyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a deviceRegistrationPolicy object. Represents deviceRegistrationPolicy quota restrictions, additional authentication, and authorization policies to register device identities to your organization. This API is available in the following national cloud deployments. + Read the properties and relationships of a deviceRegistrationPolicy object. Represents deviceRegistrationPolicy quota restrictions, additional authentication, and authorization policies to register device identities to your organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -87,7 +87,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceRegist request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceRegistrationPolicy] = None, request_configuration: Optional[DeviceRegistrationPolicyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -106,7 +106,7 @@ def to_patch_request_information(self,body: Optional[DeviceRegistrationPolicy] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -123,7 +123,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeviceRegistrationPolicyRequ @dataclass class DeviceRegistrationPolicyRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a deviceRegistrationPolicy object. Represents deviceRegistrationPolicy quota restrictions, additional authentication, and authorization policies to register device identities to your organization. This API is available in the following national cloud deployments. + Read the properties and relationships of a deviceRegistrationPolicy object. Represents deviceRegistrationPolicy quota restrictions, additional authentication, and authorization policies to register device identities to your organization. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ @@ -133,15 +133,10 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ if not original_name: 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 diff --git a/msgraph_beta/generated/policies/directory_role_access_review_policy/directory_role_access_review_policy_request_builder.py b/msgraph_beta/generated/policies/directory_role_access_review_policy/directory_role_access_review_policy_request_builder.py index ec6d41f8c25..8b6be88ad60 100644 --- a/msgraph_beta/generated/policies/directory_role_access_review_policy/directory_role_access_review_policy_request_builder.py +++ b/msgraph_beta/generated/policies/directory_role_access_review_policy/directory_role_access_review_policy_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Directory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DirectoryRoleAccessReviewPolicyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryRol request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DirectoryRoleAccessReviewPolicy] = None, request_configuration: Optional[DirectoryRoleAccessReviewPolicyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DirectoryRoleAccessReviewPo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/policies/external_identities_policy/external_identities_policy_request_builder.py b/msgraph_beta/generated/policies/external_identities_policy/external_identities_policy_request_builder.py index 8069fefef39..1a0b4f6edf7 100644 --- a/msgraph_beta/generated/policies/external_identities_policy/external_identities_policy_request_builder.py +++ b/msgraph_beta/generated/policies/external_identities_policy/external_identities_policy_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExternalIdentitiesPolicyRe async def get(self,request_configuration: Optional[ExternalIdentitiesPolicyRequestBuilderGetRequestConfiguration] = None) -> Optional[ExternalIdentitiesPolicy]: """ - Read the properties and relationships of the tenant-wide externalIdentitiesPolicy object that controls whether external users can leave a Microsoft Entra tenant via self-service controls. This API is available in the following national cloud deployments. + Read the properties and relationships of the tenant-wide externalIdentitiesPolicy object that controls whether external users can leave a Microsoft Entra tenant via self-service controls. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalIdentitiesPolicy] Find more info here: https://learn.microsoft.com/graph/api/externalidentitiespolicy-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[ExternalIdentitiesPolicyReque async def patch(self,body: Optional[ExternalIdentitiesPolicy] = None, request_configuration: Optional[ExternalIdentitiesPolicyRequestBuilderPatchRequestConfiguration] = None) -> Optional[ExternalIdentitiesPolicy]: """ - Update the settings of the tenant-wide externalIdentitiesPolicy object that controls whether external users can leave a Microsoft Entra tenant via self-service controls. This API is available in the following national cloud deployments. + Update the settings of the tenant-wide externalIdentitiesPolicy object that controls whether external users can leave a Microsoft Entra tenant via self-service controls. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalIdentitiesPolicy] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ExternalI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExternalIdentitiesPolicyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of the tenant-wide externalIdentitiesPolicy object that controls whether external users can leave a Microsoft Entra tenant via self-service controls. This API is available in the following national cloud deployments. + Read the properties and relationships of the tenant-wide externalIdentitiesPolicy object that controls whether external users can leave a Microsoft Entra tenant via self-service controls. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[ExternalIden request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ExternalIdentitiesPolicy] = None, request_configuration: Optional[ExternalIdentitiesPolicyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the settings of the tenant-wide externalIdentitiesPolicy object that controls whether external users can leave a Microsoft Entra tenant via self-service controls. This API is available in the following national cloud deployments. + Update the settings of the tenant-wide externalIdentitiesPolicy object that controls whether external users can leave a Microsoft Entra tenant via self-service controls. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ExternalIdentitiesPolicy] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ExternalIdentitiesPolicyRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class ExternalIdentitiesPolicyRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of the tenant-wide externalIdentitiesPolicy object that controls whether external users can leave a Microsoft Entra tenant via self-service controls. This API is available in the following national cloud deployments. + Read the properties and relationships of the tenant-wide externalIdentitiesPolicy object that controls whether external users can leave a Microsoft Entra tenant via self-service controls. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/feature_rollout_policies/feature_rollout_policies_request_builder.py b/msgraph_beta/generated/policies/feature_rollout_policies/feature_rollout_policies_request_builder.py index 36a260bdede..a56a47eff7f 100644 --- a/msgraph_beta/generated/policies/feature_rollout_policies/feature_rollout_policies_request_builder.py +++ b/msgraph_beta/generated/policies/feature_rollout_policies/feature_rollout_policies_request_builder.py @@ -45,7 +45,7 @@ def by_feature_rollout_policy_id(self,feature_rollout_policy_id: str) -> Feature async def get(self,request_configuration: Optional[FeatureRolloutPoliciesRequestBuilderGetRequestConfiguration] = None) -> Optional[FeatureRolloutPolicyCollectionResponse]: """ - Retrieve a list of featureRolloutPolicy objects. This API is available in the following national cloud deployments. + Retrieve a list of featureRolloutPolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FeatureRolloutPolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/list-featurerolloutpolicies?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[FeatureRolloutPoliciesRequest async def post(self,body: Optional[FeatureRolloutPolicy] = None, request_configuration: Optional[FeatureRolloutPoliciesRequestBuilderPostRequestConfiguration] = None) -> Optional[FeatureRolloutPolicy]: """ - Create a new featureRolloutPolicy object. This API is available in the following national cloud deployments. + Create a new featureRolloutPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FeatureRolloutPolicy] @@ -92,7 +92,7 @@ async def post(self,body: Optional[FeatureRolloutPolicy] = None, request_configu def to_get_request_information(self,request_configuration: Optional[FeatureRolloutPoliciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of featureRolloutPolicy objects. This API is available in the following national cloud deployments. + Retrieve a list of featureRolloutPolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[FeatureRollo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[FeatureRolloutPolicy] = None, request_configuration: Optional[FeatureRolloutPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new featureRolloutPolicy object. This API is available in the following national cloud deployments. + Create a new featureRolloutPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[FeatureRolloutPolicy] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class FeatureRolloutPoliciesRequestBuilderGetQueryParameters(): """ - Retrieve a list of featureRolloutPolicy objects. This API is available in the following national cloud deployments. + Retrieve a list of featureRolloutPolicy objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/feature_rollout_policies/item/applies_to/applies_to_request_builder.py b/msgraph_beta/generated/policies/feature_rollout_policies/item/applies_to/applies_to_request_builder.py index 80f6c216db3..e32ae485617 100644 --- a/msgraph_beta/generated/policies/feature_rollout_policies/item/applies_to/applies_to_request_builder.py +++ b/msgraph_beta/generated/policies/feature_rollout_policies/item/applies_to/applies_to_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.policies.featureRolloutPolicies.item.appliesTo.item collection - param directory_object_id: Unique identifier of the item + param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ if not directory_object_id: @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AppliesToRequestBuilderGetReq async def post(self,body: Optional[DirectoryObject] = None, request_configuration: Optional[AppliesToRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. This API is available in the following national cloud deployments. + Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[AppliesToReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DirectoryObject] = None, request_configuration: Optional[AppliesToRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. This API is available in the following national cloud deployments. + Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[DirectoryObject] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/policies/feature_rollout_policies/item/applies_to/item/ref/ref_request_builder.py b/msgraph_beta/generated/policies/feature_rollout_policies/item/applies_to/item/ref/ref_request_builder.py index 73b8dcf1051..8d74a1a2bbe 100644 --- a/msgraph_beta/generated/policies/feature_rollout_policies/item/applies_to/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/policies/feature_rollout_policies/item/applies_to/item/ref/ref_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. This API is available in the following national cloud deployments. + Remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. 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/featurerolloutpolicy-delete-appliesto?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. This API is available in the following national cloud deployments. + Remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. This API is available in the following national cloud deployments. + Remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/feature_rollout_policies/item/applies_to/ref/ref_request_builder.py b/msgraph_beta/generated/policies/feature_rollout_policies/item/applies_to/ref/ref_request_builder.py index 03a4864ee72..5bde23b1b6d 100644 --- a/msgraph_beta/generated/policies/feature_rollout_policies/item/applies_to/ref/ref_request_builder.py +++ b/msgraph_beta/generated/policies/feature_rollout_policies/item/applies_to/ref/ref_request_builder.py @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. This API is available in the following national cloud deployments. + Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -85,12 +85,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. This API is available in the following national cloud deployments. + Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -104,7 +104,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/policies/feature_rollout_policies/item/feature_rollout_policy_item_request_builder.py b/msgraph_beta/generated/policies/feature_rollout_policies/item/feature_rollout_policy_item_request_builder.py index 17cab6ca72e..64d43948c19 100644 --- a/msgraph_beta/generated/policies/feature_rollout_policies/item/feature_rollout_policy_item_request_builder.py +++ b/msgraph_beta/generated/policies/feature_rollout_policies/item/feature_rollout_policy_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[FeatureRolloutPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a featureRolloutPolicy object. This API is available in the following national cloud deployments. + Delete a featureRolloutPolicy object. 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/featurerolloutpolicy-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[FeatureRolloutPolicyItemRe async def get(self,request_configuration: Optional[FeatureRolloutPolicyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[FeatureRolloutPolicy]: """ - Retrieve the properties and relationships of a featureRolloutPolicy object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a featureRolloutPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FeatureRolloutPolicy] Find more info here: https://learn.microsoft.com/graph/api/featurerolloutpolicy-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[FeatureRolloutPolicyItemReque async def patch(self,body: Optional[FeatureRolloutPolicy] = None, request_configuration: Optional[FeatureRolloutPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[FeatureRolloutPolicy]: """ - Update the properties of featureRolloutPolicy object. This API is available in the following national cloud deployments. + Update the properties of featureRolloutPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FeatureRolloutPolicy] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[FeatureRolloutPolicy] = None, request_config def to_delete_request_information(self,request_configuration: Optional[FeatureRolloutPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a featureRolloutPolicy object. This API is available in the following national cloud deployments. + Delete a featureRolloutPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[FeatureRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FeatureRolloutPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a featureRolloutPolicy object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a featureRolloutPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[FeatureRollo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[FeatureRolloutPolicy] = None, request_configuration: Optional[FeatureRolloutPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of featureRolloutPolicy object. This API is available in the following national cloud deployments. + Update the properties of featureRolloutPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[FeatureRolloutPolicy] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class FeatureRolloutPolicyItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class FeatureRolloutPolicyItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a featureRolloutPolicy object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a featureRolloutPolicy object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/federated_token_validation_policy/federated_token_validation_policy_request_builder.py b/msgraph_beta/generated/policies/federated_token_validation_policy/federated_token_validation_policy_request_builder.py index e49c526f2e7..11666910c08 100644 --- a/msgraph_beta/generated/policies/federated_token_validation_policy/federated_token_validation_policy_request_builder.py +++ b/msgraph_beta/generated/policies/federated_token_validation_policy/federated_token_validation_policy_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Federated request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FederatedTokenValidationPolicyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[FederatedTok request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[FederatedTokenValidationPolicy] = None, request_configuration: Optional[FederatedTokenValidationPolicyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[FederatedTokenValidationPol request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/policies/home_realm_discovery_policies/home_realm_discovery_policies_request_builder.py b/msgraph_beta/generated/policies/home_realm_discovery_policies/home_realm_discovery_policies_request_builder.py index affd68e813d..9ed0cbf0874 100644 --- a/msgraph_beta/generated/policies/home_realm_discovery_policies/home_realm_discovery_policies_request_builder.py +++ b/msgraph_beta/generated/policies/home_realm_discovery_policies/home_realm_discovery_policies_request_builder.py @@ -45,7 +45,7 @@ def by_home_realm_discovery_policy_id(self,home_realm_discovery_policy_id: str) async def get(self,request_configuration: Optional[HomeRealmDiscoveryPoliciesRequestBuilderGetRequestConfiguration] = None) -> Optional[HomeRealmDiscoveryPolicyCollectionResponse]: """ - Get a list of homeRealmDiscoveryPolicy objects. This API is available in the following national cloud deployments. + Get a list of homeRealmDiscoveryPolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HomeRealmDiscoveryPolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/homerealmdiscoverypolicy-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[HomeRealmDiscoveryPoliciesReq async def post(self,body: Optional[HomeRealmDiscoveryPolicy] = None, request_configuration: Optional[HomeRealmDiscoveryPoliciesRequestBuilderPostRequestConfiguration] = None) -> Optional[HomeRealmDiscoveryPolicy]: """ - Create a new homeRealmDiscoveryPolicy object. This API is available in the following national cloud deployments. + Create a new homeRealmDiscoveryPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HomeRealmDiscoveryPolicy] @@ -92,7 +92,7 @@ async def post(self,body: Optional[HomeRealmDiscoveryPolicy] = None, request_con def to_get_request_information(self,request_configuration: Optional[HomeRealmDiscoveryPoliciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of homeRealmDiscoveryPolicy objects. This API is available in the following national cloud deployments. + Get a list of homeRealmDiscoveryPolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[HomeRealmDis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[HomeRealmDiscoveryPolicy] = None, request_configuration: Optional[HomeRealmDiscoveryPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new homeRealmDiscoveryPolicy object. This API is available in the following national cloud deployments. + Create a new homeRealmDiscoveryPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[HomeRealmDiscoveryPolicy] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HomeRealmDiscoveryPoliciesRequestBuilderGetQueryParameters(): """ - Get a list of homeRealmDiscoveryPolicy objects. This API is available in the following national cloud deployments. + Get a list of homeRealmDiscoveryPolicy objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/home_realm_discovery_policies/item/applies_to/applies_to_request_builder.py b/msgraph_beta/generated/policies/home_realm_discovery_policies/item/applies_to/applies_to_request_builder.py index 23a1d73778c..2f6314b0e26 100644 --- a/msgraph_beta/generated/policies/home_realm_discovery_policies/item/applies_to/applies_to_request_builder.py +++ b/msgraph_beta/generated/policies/home_realm_discovery_policies/item/applies_to/applies_to_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[AppliesToReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppliesToRequestBuilder: diff --git a/msgraph_beta/generated/policies/home_realm_discovery_policies/item/applies_to/item/directory_object_item_request_builder.py b/msgraph_beta/generated/policies/home_realm_discovery_policies/item/applies_to/item/directory_object_item_request_builder.py index b99fa7e86e7..931ffa330c0 100644 --- a/msgraph_beta/generated/policies/home_realm_discovery_policies/item/applies_to/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/policies/home_realm_discovery_policies/item/applies_to/item/directory_object_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: diff --git a/msgraph_beta/generated/policies/home_realm_discovery_policies/item/home_realm_discovery_policy_item_request_builder.py b/msgraph_beta/generated/policies/home_realm_discovery_policies/item/home_realm_discovery_policy_item_request_builder.py index 519086bd315..0a12e82cf83 100644 --- a/msgraph_beta/generated/policies/home_realm_discovery_policies/item/home_realm_discovery_policy_item_request_builder.py +++ b/msgraph_beta/generated/policies/home_realm_discovery_policies/item/home_realm_discovery_policy_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[HomeRealmDiscoveryPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a homeRealmDiscoveryPolicy object. This API is available in the following national cloud deployments. + Delete a homeRealmDiscoveryPolicy object. 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/homerealmdiscoverypolicy-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[HomeRealmDiscoveryPolicyIt async def get(self,request_configuration: Optional[HomeRealmDiscoveryPolicyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[HomeRealmDiscoveryPolicy]: """ - Retrieve the properties and relationships of a homeRealmDiscoveryPolicy object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a homeRealmDiscoveryPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HomeRealmDiscoveryPolicy] Find more info here: https://learn.microsoft.com/graph/api/homerealmdiscoverypolicy-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[HomeRealmDiscoveryPolicyItemR async def patch(self,body: Optional[HomeRealmDiscoveryPolicy] = None, request_configuration: Optional[HomeRealmDiscoveryPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[HomeRealmDiscoveryPolicy]: """ - Update the properties of a homeRealmDiscoveryPolicy object. This API is available in the following national cloud deployments. + Update the properties of a homeRealmDiscoveryPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HomeRealmDiscoveryPolicy] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[HomeRealmDiscoveryPolicy] = None, request_co def to_delete_request_information(self,request_configuration: Optional[HomeRealmDiscoveryPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a homeRealmDiscoveryPolicy object. This API is available in the following national cloud deployments. + Delete a homeRealmDiscoveryPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[HomeRealm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[HomeRealmDiscoveryPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a homeRealmDiscoveryPolicy object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a homeRealmDiscoveryPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[HomeRealmDis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[HomeRealmDiscoveryPolicy] = None, request_configuration: Optional[HomeRealmDiscoveryPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a homeRealmDiscoveryPolicy object. This API is available in the following national cloud deployments. + Update the properties of a homeRealmDiscoveryPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[HomeRealmDiscoveryPolicy] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class HomeRealmDiscoveryPolicyItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class HomeRealmDiscoveryPolicyItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a homeRealmDiscoveryPolicy object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a homeRealmDiscoveryPolicy object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/identity_security_defaults_enforcement_policy/identity_security_defaults_enforcement_policy_request_builder.py b/msgraph_beta/generated/policies/identity_security_defaults_enforcement_policy/identity_security_defaults_enforcement_policy_request_builder.py index e5a9f7e3c5a..41afaf55f4a 100644 --- a/msgraph_beta/generated/policies/identity_security_defaults_enforcement_policy/identity_security_defaults_enforcement_policy_request_builder.py +++ b/msgraph_beta/generated/policies/identity_security_defaults_enforcement_policy/identity_security_defaults_enforcement_policy_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[IdentitySecurityDefaultsEn async def get(self,request_configuration: Optional[IdentitySecurityDefaultsEnforcementPolicyRequestBuilderGetRequestConfiguration] = None) -> Optional[IdentitySecurityDefaultsEnforcementPolicy]: """ - Retrieve the properties of an identitySecurityDefaultsEnforcementPolicy object. This API is available in the following national cloud deployments. + Retrieve the properties of an identitySecurityDefaultsEnforcementPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentitySecurityDefaultsEnforcementPolicy] Find more info here: https://learn.microsoft.com/graph/api/identitysecuritydefaultsenforcementpolicy-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[IdentitySecurityDefaultsEnfor async def patch(self,body: Optional[IdentitySecurityDefaultsEnforcementPolicy] = None, request_configuration: Optional[IdentitySecurityDefaultsEnforcementPolicyRequestBuilderPatchRequestConfiguration] = None) -> Optional[IdentitySecurityDefaultsEnforcementPolicy]: """ - Update the properties of an identitySecurityDefaultsEnforcementPolicy object. This API is available in the following national cloud deployments. + Update the properties of an identitySecurityDefaultsEnforcementPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IdentitySecurityDefaultsEnforcementPolicy] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[IdentityS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[IdentitySecurityDefaultsEnforcementPolicyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of an identitySecurityDefaultsEnforcementPolicy object. This API is available in the following national cloud deployments. + Retrieve the properties of an identitySecurityDefaultsEnforcementPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[IdentitySecu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[IdentitySecurityDefaultsEnforcementPolicy] = None, request_configuration: Optional[IdentitySecurityDefaultsEnforcementPolicyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an identitySecurityDefaultsEnforcementPolicy object. This API is available in the following national cloud deployments. + Update the properties of an identitySecurityDefaultsEnforcementPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[IdentitySecurityDefaultsEnf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class IdentitySecurityDefaultsEnforcementPolicyRequestBuilderDeleteRequestConfig @dataclass class IdentitySecurityDefaultsEnforcementPolicyRequestBuilderGetQueryParameters(): """ - Retrieve the properties of an identitySecurityDefaultsEnforcementPolicy object. This API is available in the following national cloud deployments. + Retrieve the properties of an identitySecurityDefaultsEnforcementPolicy object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/mobile_app_management_policies/item/included_groups/included_groups_request_builder.py b/msgraph_beta/generated/policies/mobile_app_management_policies/item/included_groups/included_groups_request_builder.py index 30827912048..4e6367d79f0 100644 --- a/msgraph_beta/generated/policies/mobile_app_management_policies/item/included_groups/included_groups_request_builder.py +++ b/msgraph_beta/generated/policies/mobile_app_management_policies/item/included_groups/included_groups_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_group_id(self,group_id: str) -> GroupItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.policies.mobileAppManagementPolicies.item.includedGroups.item collection - param group_id: Unique identifier of the item + param group_id: The unique identifier of group Returns: GroupItemRequestBuilder """ if not group_id: @@ -45,7 +45,7 @@ def by_group_id(self,group_id: str) -> GroupItemRequestBuilder: async def get(self,request_configuration: Optional[IncludedGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[GroupCollectionResponse]: """ - Get the list of groups that are included in a mobile app management policy. This API is available in the following national cloud deployments. + Get the list of groups that are included in a mobile app management policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/mobileappmanagementpolicies-list-includedgroups?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[IncludedGroupsRequestBuilderG def to_get_request_information(self,request_configuration: Optional[IncludedGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of groups that are included in a mobile app management policy. This API is available in the following national cloud deployments. + Get the list of groups that are included in a mobile app management policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[IncludedGrou request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IncludedGroupsRequestBuilder: @@ -113,7 +113,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class IncludedGroupsRequestBuilderGetQueryParameters(): """ - Get the list of groups that are included in a mobile app management policy. This API is available in the following national cloud deployments. + Get the list of groups that are included in a mobile app management policy. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/mobile_app_management_policies/item/included_groups/item/ref/ref_request_builder.py b/msgraph_beta/generated/policies/mobile_app_management_policies/item/included_groups/item/ref/ref_request_builder.py index a9fae800964..cad01a3d6e2 100644 --- a/msgraph_beta/generated/policies/mobile_app_management_policies/item/included_groups/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/policies/mobile_app_management_policies/item/included_groups/item/ref/ref_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a group from the list of groups included in a mobile app management policy. This API is available in the following national cloud deployments. + Delete a group from the list of groups included in a mobile app management policy. 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/mobileappmanagementpolicies-delete-includedgroups?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a group from the list of groups included in a mobile app management policy. This API is available in the following national cloud deployments. + Delete a group from the list of groups included in a mobile app management policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Delete a group from the list of groups included in a mobile app management policy. This API is available in the following national cloud deployments. + Delete a group from the list of groups included in a mobile app management policy. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/mobile_app_management_policies/item/included_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/policies/mobile_app_management_policies/item/included_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py index 0af73071eda..d77f31d6708 100644 --- a/msgraph_beta/generated/policies/mobile_app_management_policies/item/included_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/policies/mobile_app_management_policies/item/included_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/mobile_app_management_policies/item/included_groups/ref/ref_request_builder.py b/msgraph_beta/generated/policies/mobile_app_management_policies/item/included_groups/ref/ref_request_builder.py index d5172be3716..dbc4fd1bcca 100644 --- a/msgraph_beta/generated/policies/mobile_app_management_policies/item/included_groups/ref/ref_request_builder.py +++ b/msgraph_beta/generated/policies/mobile_app_management_policies/item/included_groups/ref/ref_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - Get the list of groups that are included in a mobile app management policy. This API is available in the following national cloud deployments. + Get the list of groups that are included in a mobile app management policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/mobileappmanagementpolicies-list-includedgroups?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add groups to be included in a mobile app management policy. This API is available in the following national cloud deployments. + Add groups to be included in a mobile app management policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -74,7 +74,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of groups that are included in a mobile app management policy. This API is available in the following national cloud deployments. + Get the list of groups that are included in a mobile app management policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add groups to be included in a mobile app management policy. This API is available in the following national cloud deployments. + Add groups to be included in a mobile app management policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -122,7 +122,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderGetQueryParameters(): """ - Get the list of groups that are included in a mobile app management policy. This API is available in the following national cloud deployments. + Get the list of groups that are included in a mobile app management policy. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/mobile_app_management_policies/item/mobility_management_policy_item_request_builder.py b/msgraph_beta/generated/policies/mobile_app_management_policies/item/mobility_management_policy_item_request_builder.py index 5c03e2a734d..4d8f6edb384 100644 --- a/msgraph_beta/generated/policies/mobile_app_management_policies/item/mobility_management_policy_item_request_builder.py +++ b/msgraph_beta/generated/policies/mobile_app_management_policies/item/mobility_management_policy_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[MobilityManagementPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a mobilityManagementPolicy object. This API is available in the following national cloud deployments. + Delete a mobilityManagementPolicy object. 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/mobileappmanagementpolicies-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[MobilityManagementPolicyIt async def get(self,request_configuration: Optional[MobilityManagementPolicyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[MobilityManagementPolicy]: """ - Read the properties and relationships of a mobilityManagementPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of a mobilityManagementPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobilityManagementPolicy] Find more info here: https://learn.microsoft.com/graph/api/mobileappmanagementpolicies-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[MobilityManagementPolicyItemR async def patch(self,body: Optional[MobilityManagementPolicy] = None, request_configuration: Optional[MobilityManagementPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[MobilityManagementPolicy]: """ - Update the properties of a mobilityManagementPolicy object. This API is available in the following national cloud deployments. + Update the properties of a mobilityManagementPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobilityManagementPolicy] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[MobilityManagementPolicy] = None, request_co def to_delete_request_information(self,request_configuration: Optional[MobilityManagementPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a mobilityManagementPolicy object. This API is available in the following national cloud deployments. + Delete a mobilityManagementPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[MobilityM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobilityManagementPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a mobilityManagementPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of a mobilityManagementPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[MobilityMana request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobilityManagementPolicy] = None, request_configuration: Optional[MobilityManagementPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a mobilityManagementPolicy object. This API is available in the following national cloud deployments. + Update the properties of a mobilityManagementPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[MobilityManagementPolicy] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class MobilityManagementPolicyItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class MobilityManagementPolicyItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a mobilityManagementPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of a mobilityManagementPolicy object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/mobile_app_management_policies/mobile_app_management_policies_request_builder.py b/msgraph_beta/generated/policies/mobile_app_management_policies/mobile_app_management_policies_request_builder.py index 4ad1c1eaa69..afe9610a2ff 100644 --- a/msgraph_beta/generated/policies/mobile_app_management_policies/mobile_app_management_policies_request_builder.py +++ b/msgraph_beta/generated/policies/mobile_app_management_policies/mobile_app_management_policies_request_builder.py @@ -45,7 +45,7 @@ def by_mobility_management_policy_id(self,mobility_management_policy_id: str) -> async def get(self,request_configuration: Optional[MobileAppManagementPoliciesRequestBuilderGetRequestConfiguration] = None) -> Optional[MobilityManagementPolicyCollectionResponse]: """ - Get a list of the mobilityManagementPolicy objects and their properties. This API is available in the following national cloud deployments. + Get a list of the mobilityManagementPolicy objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobilityManagementPolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/mobileappmanagementpolicies-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[MobilityManagementPolicy] = None, request_con def to_get_request_information(self,request_configuration: Optional[MobileAppManagementPoliciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the mobilityManagementPolicy objects and their properties. This API is available in the following national cloud deployments. + Get a list of the mobilityManagementPolicy objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobilityManagementPolicy] = None, request_configuration: Optional[MobileAppManagementPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[MobilityManagementPolicy] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MobileAppManagementPoliciesRequestBuilderGetQueryParameters(): """ - Get a list of the mobilityManagementPolicy objects and their properties. This API is available in the following national cloud deployments. + Get a list of the mobilityManagementPolicy objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/mobile_device_management_policies/item/included_groups/included_groups_request_builder.py b/msgraph_beta/generated/policies/mobile_device_management_policies/item/included_groups/included_groups_request_builder.py index 9f3ffe319e1..494f1108f01 100644 --- a/msgraph_beta/generated/policies/mobile_device_management_policies/item/included_groups/included_groups_request_builder.py +++ b/msgraph_beta/generated/policies/mobile_device_management_policies/item/included_groups/included_groups_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_group_id(self,group_id: str) -> GroupItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.policies.mobileDeviceManagementPolicies.item.includedGroups.item collection - param group_id: Unique identifier of the item + param group_id: The unique identifier of group Returns: GroupItemRequestBuilder """ if not group_id: @@ -45,7 +45,7 @@ def by_group_id(self,group_id: str) -> GroupItemRequestBuilder: async def get(self,request_configuration: Optional[IncludedGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[GroupCollectionResponse]: """ - Get the list of groups that are included in a mobile app management policy. This API is available in the following national cloud deployments. + Get the list of groups that are included in a mobile app management policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/mobileappmanagementpolicies-list-includedgroups?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[IncludedGroupsRequestBuilderG def to_get_request_information(self,request_configuration: Optional[IncludedGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of groups that are included in a mobile app management policy. This API is available in the following national cloud deployments. + Get the list of groups that are included in a mobile app management policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[IncludedGrou request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IncludedGroupsRequestBuilder: @@ -113,7 +113,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class IncludedGroupsRequestBuilderGetQueryParameters(): """ - Get the list of groups that are included in a mobile app management policy. This API is available in the following national cloud deployments. + Get the list of groups that are included in a mobile app management policy. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/mobile_device_management_policies/item/included_groups/item/ref/ref_request_builder.py b/msgraph_beta/generated/policies/mobile_device_management_policies/item/included_groups/item/ref/ref_request_builder.py index f653a14e080..32069ff3838 100644 --- a/msgraph_beta/generated/policies/mobile_device_management_policies/item/included_groups/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/policies/mobile_device_management_policies/item/included_groups/item/ref/ref_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a group from the list of groups included in a mobile app management policy. This API is available in the following national cloud deployments. + Delete a group from the list of groups included in a mobile app management policy. 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/mobileappmanagementpolicies-delete-includedgroups?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a group from the list of groups included in a mobile app management policy. This API is available in the following national cloud deployments. + Delete a group from the list of groups included in a mobile app management policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Delete a group from the list of groups included in a mobile app management policy. This API is available in the following national cloud deployments. + Delete a group from the list of groups included in a mobile app management policy. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/mobile_device_management_policies/item/included_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/policies/mobile_device_management_policies/item/included_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py index 38b230fd180..9f9a6adfa7c 100644 --- a/msgraph_beta/generated/policies/mobile_device_management_policies/item/included_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/policies/mobile_device_management_policies/item/included_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/mobile_device_management_policies/item/included_groups/ref/ref_request_builder.py b/msgraph_beta/generated/policies/mobile_device_management_policies/item/included_groups/ref/ref_request_builder.py index 92e682160dd..711f4e2cae7 100644 --- a/msgraph_beta/generated/policies/mobile_device_management_policies/item/included_groups/ref/ref_request_builder.py +++ b/msgraph_beta/generated/policies/mobile_device_management_policies/item/included_groups/ref/ref_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - Get the list of groups that are included in a mobile app management policy. This API is available in the following national cloud deployments. + Get the list of groups that are included in a mobile app management policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/mobileappmanagementpolicies-list-includedgroups?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add groups to be included in a mobile app management policy. This API is available in the following national cloud deployments. + Add groups to be included in a mobile app management policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -74,7 +74,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of groups that are included in a mobile app management policy. This API is available in the following national cloud deployments. + Get the list of groups that are included in a mobile app management policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add groups to be included in a mobile app management policy. This API is available in the following national cloud deployments. + Add groups to be included in a mobile app management policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -122,7 +122,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderGetQueryParameters(): """ - Get the list of groups that are included in a mobile app management policy. This API is available in the following national cloud deployments. + Get the list of groups that are included in a mobile app management policy. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/mobile_device_management_policies/item/mobility_management_policy_item_request_builder.py b/msgraph_beta/generated/policies/mobile_device_management_policies/item/mobility_management_policy_item_request_builder.py index 41f80608458..01b2973fa87 100644 --- a/msgraph_beta/generated/policies/mobile_device_management_policies/item/mobility_management_policy_item_request_builder.py +++ b/msgraph_beta/generated/policies/mobile_device_management_policies/item/mobility_management_policy_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[MobilityManagementPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a mobilityManagementPolicy object. This API is available in the following national cloud deployments. + Delete a mobilityManagementPolicy object. 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/mobiledevicemanagementpolicies-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[MobilityManagementPolicyIt async def get(self,request_configuration: Optional[MobilityManagementPolicyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[MobilityManagementPolicy]: """ - Read the properties and relationships of a mobilityManagementPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of a mobilityManagementPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobilityManagementPolicy] Find more info here: https://learn.microsoft.com/graph/api/mobiledevicemanagementpolicies-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[MobilityManagementPolicyItemR async def patch(self,body: Optional[MobilityManagementPolicy] = None, request_configuration: Optional[MobilityManagementPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[MobilityManagementPolicy]: """ - Update the properties of a mobilityManagementPolicy object. This API is available in the following national cloud deployments. + Update the properties of a mobilityManagementPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobilityManagementPolicy] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[MobilityManagementPolicy] = None, request_co def to_delete_request_information(self,request_configuration: Optional[MobilityManagementPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a mobilityManagementPolicy object. This API is available in the following national cloud deployments. + Delete a mobilityManagementPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[MobilityM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobilityManagementPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a mobilityManagementPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of a mobilityManagementPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[MobilityMana request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobilityManagementPolicy] = None, request_configuration: Optional[MobilityManagementPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a mobilityManagementPolicy object. This API is available in the following national cloud deployments. + Update the properties of a mobilityManagementPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[MobilityManagementPolicy] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class MobilityManagementPolicyItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class MobilityManagementPolicyItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a mobilityManagementPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of a mobilityManagementPolicy object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/mobile_device_management_policies/mobile_device_management_policies_request_builder.py b/msgraph_beta/generated/policies/mobile_device_management_policies/mobile_device_management_policies_request_builder.py index 74f390f8a44..73bf14a91a3 100644 --- a/msgraph_beta/generated/policies/mobile_device_management_policies/mobile_device_management_policies_request_builder.py +++ b/msgraph_beta/generated/policies/mobile_device_management_policies/mobile_device_management_policies_request_builder.py @@ -45,7 +45,7 @@ def by_mobility_management_policy_id(self,mobility_management_policy_id: str) -> async def get(self,request_configuration: Optional[MobileDeviceManagementPoliciesRequestBuilderGetRequestConfiguration] = None) -> Optional[MobilityManagementPolicyCollectionResponse]: """ - Get a list of the mobilityManagementPolicy objects and their properties. This API is available in the following national cloud deployments. + Get a list of the mobilityManagementPolicy objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobilityManagementPolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/mobiledevicemanagementpolicies-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[MobilityManagementPolicy] = None, request_con def to_get_request_information(self,request_configuration: Optional[MobileDeviceManagementPoliciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the mobilityManagementPolicy objects and their properties. This API is available in the following national cloud deployments. + Get a list of the mobilityManagementPolicy objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileDevice request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobilityManagementPolicy] = None, request_configuration: Optional[MobileDeviceManagementPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[MobilityManagementPolicy] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MobileDeviceManagementPoliciesRequestBuilderGetQueryParameters(): """ - Get a list of the mobilityManagementPolicy objects and their properties. This API is available in the following national cloud deployments. + Get a list of the mobilityManagementPolicy objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/permission_grant_policies/item/excludes/excludes_request_builder.py b/msgraph_beta/generated/policies/permission_grant_policies/item/excludes/excludes_request_builder.py index 3c79f158c82..3fb8641034b 100644 --- a/msgraph_beta/generated/policies/permission_grant_policies/item/excludes/excludes_request_builder.py +++ b/msgraph_beta/generated/policies/permission_grant_policies/item/excludes/excludes_request_builder.py @@ -45,7 +45,7 @@ def by_permission_grant_condition_set_id(self,permission_grant_condition_set_id: async def get(self,request_configuration: Optional[ExcludesRequestBuilderGetRequestConfiguration] = None) -> Optional[PermissionGrantConditionSetCollectionResponse]: """ - Retrieve the condition sets that are *excluded* in a permissionGrantPolicy. This API is available in the following national cloud deployments. + Retrieve the condition sets that are *excluded* in a permissionGrantPolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionGrantConditionSetCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/permissiongrantpolicy-list-excludes?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ExcludesRequestBuilderGetRequ async def post(self,body: Optional[PermissionGrantConditionSet] = None, request_configuration: Optional[ExcludesRequestBuilderPostRequestConfiguration] = None) -> Optional[PermissionGrantConditionSet]: """ - Add conditions under which a permission grant event is *excluded* in a permission grant policy. You do this by adding a permissionGrantConditionSet to the excludes collection of a permissionGrantPolicy. This API is available in the following national cloud deployments. + Add conditions under which a permission grant event is *excluded* in a permission grant policy. You do this by adding a permissionGrantConditionSet to the excludes collection of a permissionGrantPolicy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionGrantConditionSet] @@ -92,7 +92,7 @@ async def post(self,body: Optional[PermissionGrantConditionSet] = None, request_ def to_get_request_information(self,request_configuration: Optional[ExcludesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the condition sets that are *excluded* in a permissionGrantPolicy. This API is available in the following national cloud deployments. + Retrieve the condition sets that are *excluded* in a permissionGrantPolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ExcludesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PermissionGrantConditionSet] = None, request_configuration: Optional[ExcludesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add conditions under which a permission grant event is *excluded* in a permission grant policy. You do this by adding a permissionGrantConditionSet to the excludes collection of a permissionGrantPolicy. This API is available in the following national cloud deployments. + Add conditions under which a permission grant event is *excluded* in a permission grant policy. You do this by adding a permissionGrantConditionSet to the excludes collection of a permissionGrantPolicy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PermissionGrantConditionSet] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExcludesRequestBuilderGetQueryParameters(): """ - Retrieve the condition sets that are *excluded* in a permissionGrantPolicy. This API is available in the following national cloud deployments. + Retrieve the condition sets that are *excluded* in a permissionGrantPolicy. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/permission_grant_policies/item/excludes/item/permission_grant_condition_set_item_request_builder.py b/msgraph_beta/generated/policies/permission_grant_policies/item/excludes/item/permission_grant_condition_set_item_request_builder.py index d22f5ba555d..b80e0c84930 100644 --- a/msgraph_beta/generated/policies/permission_grant_policies/item/excludes/item/permission_grant_condition_set_item_request_builder.py +++ b/msgraph_beta/generated/policies/permission_grant_policies/item/excludes/item/permission_grant_condition_set_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[PermissionGrantConditionSetItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes a permissionGrantConditionSet from the excludes collection of a permissionGrantPolicy. This API is available in the following national cloud deployments. + Deletes a permissionGrantConditionSet from the excludes collection of a permissionGrantPolicy. 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/permissiongrantpolicy-delete-excludes?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def patch(self,body: Optional[PermissionGrantConditionSet] = None, request def to_delete_request_information(self,request_configuration: Optional[PermissionGrantConditionSetItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes a permissionGrantConditionSet from the excludes collection of a permissionGrantPolicy. This API is available in the following national cloud deployments. + Deletes a permissionGrantConditionSet from the excludes collection of a permissionGrantPolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Permissio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PermissionGrantConditionSetItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PermissionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PermissionGrantConditionSet] = None, request_configuration: Optional[PermissionGrantConditionSetItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[PermissionGrantConditionSet request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/policies/permission_grant_policies/item/includes/includes_request_builder.py b/msgraph_beta/generated/policies/permission_grant_policies/item/includes/includes_request_builder.py index d464cd7f833..3fb2ccbbef6 100644 --- a/msgraph_beta/generated/policies/permission_grant_policies/item/includes/includes_request_builder.py +++ b/msgraph_beta/generated/policies/permission_grant_policies/item/includes/includes_request_builder.py @@ -45,7 +45,7 @@ def by_permission_grant_condition_set_id(self,permission_grant_condition_set_id: async def get(self,request_configuration: Optional[IncludesRequestBuilderGetRequestConfiguration] = None) -> Optional[PermissionGrantConditionSetCollectionResponse]: """ - Retrieve the condition sets that are *included* in a permissionGrantPolicy. This API is available in the following national cloud deployments. + Retrieve the condition sets that are *included* in a permissionGrantPolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionGrantConditionSetCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/permissiongrantpolicy-list-includes?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[IncludesRequestBuilderGetRequ async def post(self,body: Optional[PermissionGrantConditionSet] = None, request_configuration: Optional[IncludesRequestBuilderPostRequestConfiguration] = None) -> Optional[PermissionGrantConditionSet]: """ - Add conditions under which a permission grant event is *included* in a permission grant policy. You do this by adding a permissionGrantConditionSet to the includes collection of a permissionGrantPolicy. This API is available in the following national cloud deployments. + Add conditions under which a permission grant event is *included* in a permission grant policy. You do this by adding a permissionGrantConditionSet to the includes collection of a permissionGrantPolicy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionGrantConditionSet] @@ -92,7 +92,7 @@ async def post(self,body: Optional[PermissionGrantConditionSet] = None, request_ def to_get_request_information(self,request_configuration: Optional[IncludesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the condition sets that are *included* in a permissionGrantPolicy. This API is available in the following national cloud deployments. + Retrieve the condition sets that are *included* in a permissionGrantPolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[IncludesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PermissionGrantConditionSet] = None, request_configuration: Optional[IncludesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add conditions under which a permission grant event is *included* in a permission grant policy. You do this by adding a permissionGrantConditionSet to the includes collection of a permissionGrantPolicy. This API is available in the following national cloud deployments. + Add conditions under which a permission grant event is *included* in a permission grant policy. You do this by adding a permissionGrantConditionSet to the includes collection of a permissionGrantPolicy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PermissionGrantConditionSet] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class IncludesRequestBuilderGetQueryParameters(): """ - Retrieve the condition sets that are *included* in a permissionGrantPolicy. This API is available in the following national cloud deployments. + Retrieve the condition sets that are *included* in a permissionGrantPolicy. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/permission_grant_policies/item/includes/item/permission_grant_condition_set_item_request_builder.py b/msgraph_beta/generated/policies/permission_grant_policies/item/includes/item/permission_grant_condition_set_item_request_builder.py index 40c66155af7..2eb9f548591 100644 --- a/msgraph_beta/generated/policies/permission_grant_policies/item/includes/item/permission_grant_condition_set_item_request_builder.py +++ b/msgraph_beta/generated/policies/permission_grant_policies/item/includes/item/permission_grant_condition_set_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[PermissionGrantConditionSetItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes a permissionGrantConditionSet from the includes collection of a permissionGrantPolicy. This API is available in the following national cloud deployments. + Deletes a permissionGrantConditionSet from the includes collection of a permissionGrantPolicy. 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/permissiongrantpolicy-delete-includes?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def patch(self,body: Optional[PermissionGrantConditionSet] = None, request def to_delete_request_information(self,request_configuration: Optional[PermissionGrantConditionSetItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes a permissionGrantConditionSet from the includes collection of a permissionGrantPolicy. This API is available in the following national cloud deployments. + Deletes a permissionGrantConditionSet from the includes collection of a permissionGrantPolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Permissio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PermissionGrantConditionSetItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PermissionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PermissionGrantConditionSet] = None, request_configuration: Optional[PermissionGrantConditionSetItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[PermissionGrantConditionSet request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/policies/permission_grant_policies/item/permission_grant_policy_item_request_builder.py b/msgraph_beta/generated/policies/permission_grant_policies/item/permission_grant_policy_item_request_builder.py index 5e3e98178f8..8d57a33d726 100644 --- a/msgraph_beta/generated/policies/permission_grant_policies/item/permission_grant_policy_item_request_builder.py +++ b/msgraph_beta/generated/policies/permission_grant_policies/item/permission_grant_policy_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[PermissionGrantPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a permissionGrantPolicy object. This API is available in the following national cloud deployments. + Delete a permissionGrantPolicy object. 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/permissiongrantpolicy-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[PermissionGrantPolicyItemR async def get(self,request_configuration: Optional[PermissionGrantPolicyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PermissionGrantPolicy]: """ - Retrieve a single permissionGrantPolicy object. This API is available in the following national cloud deployments. + Retrieve a single permissionGrantPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionGrantPolicy] Find more info here: https://learn.microsoft.com/graph/api/permissiongrantpolicy-get?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[PermissionGrantPolicyItemRequ async def patch(self,body: Optional[PermissionGrantPolicy] = None, request_configuration: Optional[PermissionGrantPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[PermissionGrantPolicy]: """ - Update properties of a permissionGrantPolicy. This API is available in the following national cloud deployments. + Update properties of a permissionGrantPolicy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionGrantPolicy] @@ -97,7 +97,7 @@ async def patch(self,body: Optional[PermissionGrantPolicy] = None, request_confi def to_delete_request_information(self,request_configuration: Optional[PermissionGrantPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a permissionGrantPolicy object. This API is available in the following national cloud deployments. + Delete a permissionGrantPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[Permissio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PermissionGrantPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a single permissionGrantPolicy object. This API is available in the following national cloud deployments. + Retrieve a single permissionGrantPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[PermissionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PermissionGrantPolicy] = None, request_configuration: Optional[PermissionGrantPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update properties of a permissionGrantPolicy. This API is available in the following national cloud deployments. + Update properties of a permissionGrantPolicy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[PermissionGrantPolicy] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class PermissionGrantPolicyItemRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class PermissionGrantPolicyItemRequestBuilderGetQueryParameters(): """ - Retrieve a single permissionGrantPolicy object. This API is available in the following national cloud deployments. + Retrieve a single permissionGrantPolicy object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/permission_grant_policies/permission_grant_policies_request_builder.py b/msgraph_beta/generated/policies/permission_grant_policies/permission_grant_policies_request_builder.py index 1270ae51050..402d1228115 100644 --- a/msgraph_beta/generated/policies/permission_grant_policies/permission_grant_policies_request_builder.py +++ b/msgraph_beta/generated/policies/permission_grant_policies/permission_grant_policies_request_builder.py @@ -45,7 +45,7 @@ def by_permission_grant_policy_id(self,permission_grant_policy_id: str) -> Permi async def get(self,request_configuration: Optional[PermissionGrantPoliciesRequestBuilderGetRequestConfiguration] = None) -> Optional[PermissionGrantPolicyCollectionResponse]: """ - Retrieve the list of permissionGrantPolicy objects. This API is available in the following national cloud deployments. + Retrieve the list of permissionGrantPolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionGrantPolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/permissiongrantpolicy-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[PermissionGrantPoliciesReques async def post(self,body: Optional[PermissionGrantPolicy] = None, request_configuration: Optional[PermissionGrantPoliciesRequestBuilderPostRequestConfiguration] = None) -> Optional[PermissionGrantPolicy]: """ - Creates a permissionGrantPolicy. A permission grant policy is used to describe the conditions under which permissions can be granted (for example, during application consent). After creating the permission grant policy, you can add include condition sets to add matching rules, and add exclude condition sets to add exclusion rules. This API is available in the following national cloud deployments. + Creates a permissionGrantPolicy. A permission grant policy is used to describe the conditions under which permissions can be granted (for example, during application consent). After creating the permission grant policy, you can add include condition sets to add matching rules, and add exclude condition sets to add exclusion rules. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionGrantPolicy] @@ -92,7 +92,7 @@ async def post(self,body: Optional[PermissionGrantPolicy] = None, request_config def to_get_request_information(self,request_configuration: Optional[PermissionGrantPoliciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of permissionGrantPolicy objects. This API is available in the following national cloud deployments. + Retrieve the list of permissionGrantPolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[PermissionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PermissionGrantPolicy] = None, request_configuration: Optional[PermissionGrantPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Creates a permissionGrantPolicy. A permission grant policy is used to describe the conditions under which permissions can be granted (for example, during application consent). After creating the permission grant policy, you can add include condition sets to add matching rules, and add exclude condition sets to add exclusion rules. This API is available in the following national cloud deployments. + Creates a permissionGrantPolicy. A permission grant policy is used to describe the conditions under which permissions can be granted (for example, during application consent). After creating the permission grant policy, you can add include condition sets to add matching rules, and add exclude condition sets to add exclusion rules. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PermissionGrantPolicy] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PermissionGrantPoliciesRequestBuilderGetQueryParameters(): """ - Retrieve the list of permissionGrantPolicy objects. This API is available in the following national cloud deployments. + Retrieve the list of permissionGrantPolicy objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/policies_request_builder.py b/msgraph_beta/generated/policies/policies_request_builder.py index 2fe13bbf5cb..2bf8320b918 100644 --- a/msgraph_beta/generated/policies/policies_request_builder.py +++ b/msgraph_beta/generated/policies/policies_request_builder.py @@ -113,7 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[PoliciesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PolicyRoot] = None, request_configuration: Optional[PoliciesRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -132,7 +132,7 @@ def to_patch_request_information(self,body: Optional[PolicyRoot] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/policies/role_management_policies/item/effective_rules/effective_rules_request_builder.py b/msgraph_beta/generated/policies/role_management_policies/item/effective_rules/effective_rules_request_builder.py index 35fc15d8972..baec964d305 100644 --- a/msgraph_beta/generated/policies/role_management_policies/item/effective_rules/effective_rules_request_builder.py +++ b/msgraph_beta/generated/policies/role_management_policies/item/effective_rules/effective_rules_request_builder.py @@ -45,7 +45,7 @@ def by_unified_role_management_policy_rule_id(self,unified_role_management_polic async def get(self,request_configuration: Optional[EffectiveRulesRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleManagementPolicyRuleCollectionResponse]: """ - Get the unifiedRoleManagementPolicyRule resources from the effectiveRules navigation property. To retrieve rules for a policy that applies to Azure RBAC, use the Azure REST PIM API for role management policies. This API is available in the following national cloud deployments. + Get the unifiedRoleManagementPolicyRule resources from the effectiveRules navigation property. To retrieve rules for a policy that applies to Azure RBAC, use the Azure REST PIM API for role management policies. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleManagementPolicyRuleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedrolemanagementpolicy-list-effectiverules?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[UnifiedRoleManagementPolicyRule] = None, requ def to_get_request_information(self,request_configuration: Optional[EffectiveRulesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the unifiedRoleManagementPolicyRule resources from the effectiveRules navigation property. To retrieve rules for a policy that applies to Azure RBAC, use the Azure REST PIM API for role management policies. This API is available in the following national cloud deployments. + Get the unifiedRoleManagementPolicyRule resources from the effectiveRules navigation property. To retrieve rules for a policy that applies to Azure RBAC, use the Azure REST PIM API for role management policies. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[EffectiveRul request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleManagementPolicyRule] = None, request_configuration: Optional[EffectiveRulesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleManagementPolicyR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class EffectiveRulesRequestBuilderGetQueryParameters(): """ - Get the unifiedRoleManagementPolicyRule resources from the effectiveRules navigation property. To retrieve rules for a policy that applies to Azure RBAC, use the Azure REST PIM API for role management policies. This API is available in the following national cloud deployments. + Get the unifiedRoleManagementPolicyRule resources from the effectiveRules navigation property. To retrieve rules for a policy that applies to Azure RBAC, use the Azure REST PIM API for role management policies. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/role_management_policies/item/effective_rules/item/unified_role_management_policy_rule_item_request_builder.py b/msgraph_beta/generated/policies/role_management_policies/item/effective_rules/item/unified_role_management_policy_rule_item_request_builder.py index 402a5828f26..f12a5577a9e 100644 --- a/msgraph_beta/generated/policies/role_management_policies/item/effective_rules/item/unified_role_management_policy_rule_item_request_builder.py +++ b/msgraph_beta/generated/policies/role_management_policies/item/effective_rules/item/unified_role_management_policy_rule_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleManagementPolicyRuleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleManagementPolicyRule] = None, request_configuration: Optional[UnifiedRoleManagementPolicyRuleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleManagementPolicy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/policies/role_management_policies/item/rules/item/unified_role_management_policy_rule_item_request_builder.py b/msgraph_beta/generated/policies/role_management_policies/item/rules/item/unified_role_management_policy_rule_item_request_builder.py index 60e5990a208..3c99b5d7619 100644 --- a/msgraph_beta/generated/policies/role_management_policies/item/rules/item/unified_role_management_policy_rule_item_request_builder.py +++ b/msgraph_beta/generated/policies/role_management_policies/item/rules/item/unified_role_management_policy_rule_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleManagementPolic async def get(self,request_configuration: Optional[UnifiedRoleManagementPolicyRuleItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleManagementPolicyRule]: """ - Retrieve a rule defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: This API is available in the following national cloud deployments. + Retrieve a rule defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleManagementPolicyRule] Find more info here: https://learn.microsoft.com/graph/api/unifiedrolemanagementpolicyrule-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[UnifiedRoleManagementPolicyRu async def patch(self,body: Optional[UnifiedRoleManagementPolicyRule] = None, request_configuration: Optional[UnifiedRoleManagementPolicyRuleItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[UnifiedRoleManagementPolicyRule]: """ - Update a rule defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: For more information about rules for Microsoft Entra roles and examples of updating rules, see the following articles:+ Overview of rules for Microsoft Entra roles in PIM APIs in Microsoft Graph+ Use PIM APIs in Microsoft Graph to update Microsoft Entra ID rules This API is available in the following national cloud deployments. + Update a rule defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: For more information about rules for Microsoft Entra roles and examples of updating rules, see the following articles:+ Overview of rules for Microsoft Entra roles in PIM APIs in Microsoft Graph+ Use PIM APIs in Microsoft Graph to update Microsoft Entra ID rules param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleManagementPolicyRule] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleManagementPolicyRuleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a rule defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: This API is available in the following national cloud deployments. + Retrieve a rule defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleManagementPolicyRule] = None, request_configuration: Optional[UnifiedRoleManagementPolicyRuleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update a rule defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: For more information about rules for Microsoft Entra roles and examples of updating rules, see the following articles:+ Overview of rules for Microsoft Entra roles in PIM APIs in Microsoft Graph+ Use PIM APIs in Microsoft Graph to update Microsoft Entra ID rules This API is available in the following national cloud deployments. + Update a rule defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: For more information about rules for Microsoft Entra roles and examples of updating rules, see the following articles:+ Overview of rules for Microsoft Entra roles in PIM APIs in Microsoft Graph+ Use PIM APIs in Microsoft Graph to update Microsoft Entra ID rules param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleManagementPolicy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class UnifiedRoleManagementPolicyRuleItemRequestBuilderDeleteRequestConfiguratio @dataclass class UnifiedRoleManagementPolicyRuleItemRequestBuilderGetQueryParameters(): """ - Retrieve a rule defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: This API is available in the following national cloud deployments. + Retrieve a rule defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/role_management_policies/item/rules/rules_request_builder.py b/msgraph_beta/generated/policies/role_management_policies/item/rules/rules_request_builder.py index 184afbe4b01..e8407c56a31 100644 --- a/msgraph_beta/generated/policies/role_management_policies/item/rules/rules_request_builder.py +++ b/msgraph_beta/generated/policies/role_management_policies/item/rules/rules_request_builder.py @@ -45,7 +45,7 @@ def by_unified_role_management_policy_rule_id(self,unified_role_management_polic async def get(self,request_configuration: Optional[RulesRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleManagementPolicyRuleCollectionResponse]: """ - Get the rules defined for a role management policy. The rules are a collection of following types that are derived from the unifiedRoleManagementPolicyRule object:+ unifiedRoleManagementPolicyApprovalRule+ unifiedRoleManagementPolicyAuthenticationContextRule+ unifiedRoleManagementPolicyEnablementRule+ unifiedRoleManagementPolicyExpirationRule+ unifiedRoleManagementPolicyNotificationRule To retrieve rules for a policy that applies to Azure RBAC, use the Azure REST PIM API for role management policies. This API is available in the following national cloud deployments. + Get the rules defined for a role management policy. The rules are a collection of following types that are derived from the unifiedRoleManagementPolicyRule object:+ unifiedRoleManagementPolicyApprovalRule+ unifiedRoleManagementPolicyAuthenticationContextRule+ unifiedRoleManagementPolicyEnablementRule+ unifiedRoleManagementPolicyExpirationRule+ unifiedRoleManagementPolicyNotificationRule To retrieve rules for a policy that applies to Azure RBAC, use the Azure REST PIM API for role management policies. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleManagementPolicyRuleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedrolemanagementpolicy-list-rules?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[UnifiedRoleManagementPolicyRule] = None, requ def to_get_request_information(self,request_configuration: Optional[RulesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the rules defined for a role management policy. The rules are a collection of following types that are derived from the unifiedRoleManagementPolicyRule object:+ unifiedRoleManagementPolicyApprovalRule+ unifiedRoleManagementPolicyAuthenticationContextRule+ unifiedRoleManagementPolicyEnablementRule+ unifiedRoleManagementPolicyExpirationRule+ unifiedRoleManagementPolicyNotificationRule To retrieve rules for a policy that applies to Azure RBAC, use the Azure REST PIM API for role management policies. This API is available in the following national cloud deployments. + Get the rules defined for a role management policy. The rules are a collection of following types that are derived from the unifiedRoleManagementPolicyRule object:+ unifiedRoleManagementPolicyApprovalRule+ unifiedRoleManagementPolicyAuthenticationContextRule+ unifiedRoleManagementPolicyEnablementRule+ unifiedRoleManagementPolicyExpirationRule+ unifiedRoleManagementPolicyNotificationRule To retrieve rules for a policy that applies to Azure RBAC, use the Azure REST PIM API for role management policies. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RulesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleManagementPolicyRule] = None, request_configuration: Optional[RulesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleManagementPolicyR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RulesRequestBuilderGetQueryParameters(): """ - Get the rules defined for a role management policy. The rules are a collection of following types that are derived from the unifiedRoleManagementPolicyRule object:+ unifiedRoleManagementPolicyApprovalRule+ unifiedRoleManagementPolicyAuthenticationContextRule+ unifiedRoleManagementPolicyEnablementRule+ unifiedRoleManagementPolicyExpirationRule+ unifiedRoleManagementPolicyNotificationRule To retrieve rules for a policy that applies to Azure RBAC, use the Azure REST PIM API for role management policies. This API is available in the following national cloud deployments. + Get the rules defined for a role management policy. The rules are a collection of following types that are derived from the unifiedRoleManagementPolicyRule object:+ unifiedRoleManagementPolicyApprovalRule+ unifiedRoleManagementPolicyAuthenticationContextRule+ unifiedRoleManagementPolicyEnablementRule+ unifiedRoleManagementPolicyExpirationRule+ unifiedRoleManagementPolicyNotificationRule To retrieve rules for a policy that applies to Azure RBAC, use the Azure REST PIM API for role management policies. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/role_management_policies/item/unified_role_management_policy_item_request_builder.py b/msgraph_beta/generated/policies/role_management_policies/item/unified_role_management_policy_item_request_builder.py index 3832b65d7a4..29b3a9a7f79 100644 --- a/msgraph_beta/generated/policies/role_management_policies/item/unified_role_management_policy_item_request_builder.py +++ b/msgraph_beta/generated/policies/role_management_policies/item/unified_role_management_policy_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleManagementPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleManagementPolicy] = None, request_configuration: Optional[UnifiedRoleManagementPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleManagementPolicy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/policies/role_management_policies/role_management_policies_request_builder.py b/msgraph_beta/generated/policies/role_management_policies/role_management_policies_request_builder.py index d9ea47d2861..353bfe1b9ca 100644 --- a/msgraph_beta/generated/policies/role_management_policies/role_management_policies_request_builder.py +++ b/msgraph_beta/generated/policies/role_management_policies/role_management_policies_request_builder.py @@ -45,7 +45,7 @@ def by_unified_role_management_policy_id(self,unified_role_management_policy_id: async def get(self,request_configuration: Optional[RoleManagementPoliciesRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleManagementPolicyCollectionResponse]: """ - Get the details of the policies in PIM that can be applied to Microsoft Entra roles or group membership or ownership. To retrieve policies that apply to Azure RBAC, use the Azure REST PIM API for role management policies. This API is available in the following national cloud deployments. + Get the details of the policies in PIM that can be applied to Microsoft Entra roles or group membership or ownership. To retrieve policies that apply to Azure RBAC, use the Azure REST PIM API for role management policies. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleManagementPolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/policyroot-list-rolemanagementpolicies?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[UnifiedRoleManagementPolicy] = None, request_ def to_get_request_information(self,request_configuration: Optional[RoleManagementPoliciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the details of the policies in PIM that can be applied to Microsoft Entra roles or group membership or ownership. To retrieve policies that apply to Azure RBAC, use the Azure REST PIM API for role management policies. This API is available in the following national cloud deployments. + Get the details of the policies in PIM that can be applied to Microsoft Entra roles or group membership or ownership. To retrieve policies that apply to Azure RBAC, use the Azure REST PIM API for role management policies. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleManageme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleManagementPolicy] = None, request_configuration: Optional[RoleManagementPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleManagementPolicy] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleManagementPoliciesRequestBuilderGetQueryParameters(): """ - Get the details of the policies in PIM that can be applied to Microsoft Entra roles or group membership or ownership. To retrieve policies that apply to Azure RBAC, use the Azure REST PIM API for role management policies. This API is available in the following national cloud deployments. + Get the details of the policies in PIM that can be applied to Microsoft Entra roles or group membership or ownership. To retrieve policies that apply to Azure RBAC, use the Azure REST PIM API for role management policies. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/role_management_policy_assignments/item/policy/policy_request_builder.py b/msgraph_beta/generated/policies/role_management_policy_assignments/item/policy/policy_request_builder.py index 8fc096a6f9b..836c15bf096 100644 --- a/msgraph_beta/generated/policies/role_management_policy_assignments/item/policy/policy_request_builder.py +++ b/msgraph_beta/generated/policies/role_management_policy_assignments/item/policy/policy_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PolicyReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PolicyRequestBuilder: diff --git a/msgraph_beta/generated/policies/role_management_policy_assignments/item/unified_role_management_policy_assignment_item_request_builder.py b/msgraph_beta/generated/policies/role_management_policy_assignments/item/unified_role_management_policy_assignment_item_request_builder.py index 39d02faa2e2..d9befc960d2 100644 --- a/msgraph_beta/generated/policies/role_management_policy_assignments/item/unified_role_management_policy_assignment_item_request_builder.py +++ b/msgraph_beta/generated/policies/role_management_policy_assignments/item/unified_role_management_policy_assignment_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleManagementPolicyAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleManagementPolicyAssignment] = None, request_configuration: Optional[UnifiedRoleManagementPolicyAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleManagementPolicy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/policies/role_management_policy_assignments/role_management_policy_assignments_request_builder.py b/msgraph_beta/generated/policies/role_management_policy_assignments/role_management_policy_assignments_request_builder.py index 38c81400289..03813dbf67e 100644 --- a/msgraph_beta/generated/policies/role_management_policy_assignments/role_management_policy_assignments_request_builder.py +++ b/msgraph_beta/generated/policies/role_management_policy_assignments/role_management_policy_assignments_request_builder.py @@ -45,7 +45,7 @@ def by_unified_role_management_policy_assignment_id(self,unified_role_management async def get(self,request_configuration: Optional[RoleManagementPolicyAssignmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleManagementPolicyAssignmentCollectionResponse]: """ - Get the details of all role management policy assignments made in PIM for Microsoft Entra roles and PIM for groups. This API is available in the following national cloud deployments. + Get the details of all role management policy assignments made in PIM for Microsoft Entra roles and PIM for groups. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleManagementPolicyAssignmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/policyroot-list-rolemanagementpolicyassignments?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[UnifiedRoleManagementPolicyAssignment] = None def to_get_request_information(self,request_configuration: Optional[RoleManagementPolicyAssignmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the details of all role management policy assignments made in PIM for Microsoft Entra roles and PIM for groups. This API is available in the following national cloud deployments. + Get the details of all role management policy assignments made in PIM for Microsoft Entra roles and PIM for groups. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleManageme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleManagementPolicyAssignment] = None, request_configuration: Optional[RoleManagementPolicyAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleManagementPolicyA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleManagementPolicyAssignmentsRequestBuilderGetQueryParameters(): """ - Get the details of all role management policy assignments made in PIM for Microsoft Entra roles and PIM for groups. This API is available in the following national cloud deployments. + Get the details of all role management policy assignments made in PIM for Microsoft Entra roles and PIM for groups. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/service_principal_creation_policies/item/excludes/excludes_request_builder.py b/msgraph_beta/generated/policies/service_principal_creation_policies/item/excludes/excludes_request_builder.py index 8b2edb5bed2..157a2ac5eea 100644 --- a/msgraph_beta/generated/policies/service_principal_creation_policies/item/excludes/excludes_request_builder.py +++ b/msgraph_beta/generated/policies/service_principal_creation_policies/item/excludes/excludes_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ExcludesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ServicePrincipalCreationConditionSet] = None, request_configuration: Optional[ExcludesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ServicePrincipalCreationCond request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/policies/service_principal_creation_policies/item/excludes/item/service_principal_creation_condition_set_item_request_builder.py b/msgraph_beta/generated/policies/service_principal_creation_policies/item/excludes/item/service_principal_creation_condition_set_item_request_builder.py index d1b1d26533e..65c9baea1ba 100644 --- a/msgraph_beta/generated/policies/service_principal_creation_policies/item/excludes/item/service_principal_creation_condition_set_item_request_builder.py +++ b/msgraph_beta/generated/policies/service_principal_creation_policies/item/excludes/item/service_principal_creation_condition_set_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ServicePr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ServicePrincipalCreationConditionSetItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ServicePrinc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ServicePrincipalCreationConditionSet] = None, request_configuration: Optional[ServicePrincipalCreationConditionSetItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ServicePrincipalCreationCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/policies/service_principal_creation_policies/item/includes/includes_request_builder.py b/msgraph_beta/generated/policies/service_principal_creation_policies/item/includes/includes_request_builder.py index e10b618cb43..fa8d3d607f3 100644 --- a/msgraph_beta/generated/policies/service_principal_creation_policies/item/includes/includes_request_builder.py +++ b/msgraph_beta/generated/policies/service_principal_creation_policies/item/includes/includes_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[IncludesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ServicePrincipalCreationConditionSet] = None, request_configuration: Optional[IncludesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ServicePrincipalCreationCond request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/policies/service_principal_creation_policies/item/includes/item/service_principal_creation_condition_set_item_request_builder.py b/msgraph_beta/generated/policies/service_principal_creation_policies/item/includes/item/service_principal_creation_condition_set_item_request_builder.py index f627d8534ee..001568d8d05 100644 --- a/msgraph_beta/generated/policies/service_principal_creation_policies/item/includes/item/service_principal_creation_condition_set_item_request_builder.py +++ b/msgraph_beta/generated/policies/service_principal_creation_policies/item/includes/item/service_principal_creation_condition_set_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ServicePr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ServicePrincipalCreationConditionSetItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ServicePrinc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ServicePrincipalCreationConditionSet] = None, request_configuration: Optional[ServicePrincipalCreationConditionSetItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ServicePrincipalCreationCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/policies/service_principal_creation_policies/item/service_principal_creation_policy_item_request_builder.py b/msgraph_beta/generated/policies/service_principal_creation_policies/item/service_principal_creation_policy_item_request_builder.py index c34a5dcb93e..46f60e7aafc 100644 --- a/msgraph_beta/generated/policies/service_principal_creation_policies/item/service_principal_creation_policy_item_request_builder.py +++ b/msgraph_beta/generated/policies/service_principal_creation_policies/item/service_principal_creation_policy_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ServicePr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ServicePrincipalCreationPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ServicePrinc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ServicePrincipalCreationPolicy] = None, request_configuration: Optional[ServicePrincipalCreationPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ServicePrincipalCreationPol request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/policies/service_principal_creation_policies/service_principal_creation_policies_request_builder.py b/msgraph_beta/generated/policies/service_principal_creation_policies/service_principal_creation_policies_request_builder.py index d3602ea6cbf..9ab62ad4c3b 100644 --- a/msgraph_beta/generated/policies/service_principal_creation_policies/service_principal_creation_policies_request_builder.py +++ b/msgraph_beta/generated/policies/service_principal_creation_policies/service_principal_creation_policies_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ServicePrinc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ServicePrincipalCreationPolicy] = None, request_configuration: Optional[ServicePrincipalCreationPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ServicePrincipalCreationPoli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/policies/token_issuance_policies/item/applies_to/applies_to_request_builder.py b/msgraph_beta/generated/policies/token_issuance_policies/item/applies_to/applies_to_request_builder.py index 166543390c4..ad27ef7b173 100644 --- a/msgraph_beta/generated/policies/token_issuance_policies/item/applies_to/applies_to_request_builder.py +++ b/msgraph_beta/generated/policies/token_issuance_policies/item/applies_to/applies_to_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[AppliesToReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppliesToRequestBuilder: diff --git a/msgraph_beta/generated/policies/token_issuance_policies/item/applies_to/item/directory_object_item_request_builder.py b/msgraph_beta/generated/policies/token_issuance_policies/item/applies_to/item/directory_object_item_request_builder.py index b7260f61940..782f7216681 100644 --- a/msgraph_beta/generated/policies/token_issuance_policies/item/applies_to/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/policies/token_issuance_policies/item/applies_to/item/directory_object_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: diff --git a/msgraph_beta/generated/policies/token_issuance_policies/item/token_issuance_policy_item_request_builder.py b/msgraph_beta/generated/policies/token_issuance_policies/item/token_issuance_policy_item_request_builder.py index 6618cdd7ff0..4ce4f1495af 100644 --- a/msgraph_beta/generated/policies/token_issuance_policies/item/token_issuance_policy_item_request_builder.py +++ b/msgraph_beta/generated/policies/token_issuance_policies/item/token_issuance_policy_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TokenIssuancePolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a tokenIssuancePolicy object. This API is available in the following national cloud deployments. + Delete a tokenIssuancePolicy object. 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/tokenissuancepolicy-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[TokenIssuancePolicyItemReq async def get(self,request_configuration: Optional[TokenIssuancePolicyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TokenIssuancePolicy]: """ - Retrieve the properties and relationships of a tokenIssuancePolicy object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a tokenIssuancePolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TokenIssuancePolicy] Find more info here: https://learn.microsoft.com/graph/api/tokenissuancepolicy-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[TokenIssuancePolicyItemReques async def patch(self,body: Optional[TokenIssuancePolicy] = None, request_configuration: Optional[TokenIssuancePolicyItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[TokenIssuancePolicy]: """ - Update the properties of a tokenIssuancePolicy object. This API is available in the following national cloud deployments. + Update the properties of a tokenIssuancePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TokenIssuancePolicy] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[TokenIssuancePolicy] = None, request_configu def to_delete_request_information(self,request_configuration: Optional[TokenIssuancePolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a tokenIssuancePolicy object. This API is available in the following national cloud deployments. + Delete a tokenIssuancePolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[TokenIssu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TokenIssuancePolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a tokenIssuancePolicy object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a tokenIssuancePolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[TokenIssuanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TokenIssuancePolicy] = None, request_configuration: Optional[TokenIssuancePolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a tokenIssuancePolicy object. This API is available in the following national cloud deployments. + Update the properties of a tokenIssuancePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[TokenIssuancePolicy] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class TokenIssuancePolicyItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class TokenIssuancePolicyItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a tokenIssuancePolicy object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a tokenIssuancePolicy object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/token_issuance_policies/token_issuance_policies_request_builder.py b/msgraph_beta/generated/policies/token_issuance_policies/token_issuance_policies_request_builder.py index 502a25e0dab..3a831dec2ae 100644 --- a/msgraph_beta/generated/policies/token_issuance_policies/token_issuance_policies_request_builder.py +++ b/msgraph_beta/generated/policies/token_issuance_policies/token_issuance_policies_request_builder.py @@ -45,7 +45,7 @@ def by_token_issuance_policy_id(self,token_issuance_policy_id: str) -> TokenIssu async def get(self,request_configuration: Optional[TokenIssuancePoliciesRequestBuilderGetRequestConfiguration] = None) -> Optional[TokenIssuancePolicyCollectionResponse]: """ - Get a list of tokenIssuancePolicy objects. This API is available in the following national cloud deployments. + Get a list of tokenIssuancePolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TokenIssuancePolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/tokenissuancepolicy-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TokenIssuancePoliciesRequestB async def post(self,body: Optional[TokenIssuancePolicy] = None, request_configuration: Optional[TokenIssuancePoliciesRequestBuilderPostRequestConfiguration] = None) -> Optional[TokenIssuancePolicy]: """ - Create a new tokenIssuancePolicy object. This API is available in the following national cloud deployments. + Create a new tokenIssuancePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TokenIssuancePolicy] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TokenIssuancePolicy] = None, request_configur def to_get_request_information(self,request_configuration: Optional[TokenIssuancePoliciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of tokenIssuancePolicy objects. This API is available in the following national cloud deployments. + Get a list of tokenIssuancePolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[TokenIssuanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TokenIssuancePolicy] = None, request_configuration: Optional[TokenIssuancePoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new tokenIssuancePolicy object. This API is available in the following national cloud deployments. + Create a new tokenIssuancePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TokenIssuancePolicy] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TokenIssuancePoliciesRequestBuilderGetQueryParameters(): """ - Get a list of tokenIssuancePolicy objects. This API is available in the following national cloud deployments. + Get a list of tokenIssuancePolicy objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/token_lifetime_policies/item/applies_to/applies_to_request_builder.py b/msgraph_beta/generated/policies/token_lifetime_policies/item/applies_to/applies_to_request_builder.py index 2eca2b530ac..91d29bbba8f 100644 --- a/msgraph_beta/generated/policies/token_lifetime_policies/item/applies_to/applies_to_request_builder.py +++ b/msgraph_beta/generated/policies/token_lifetime_policies/item/applies_to/applies_to_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[AppliesToReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppliesToRequestBuilder: diff --git a/msgraph_beta/generated/policies/token_lifetime_policies/item/applies_to/item/directory_object_item_request_builder.py b/msgraph_beta/generated/policies/token_lifetime_policies/item/applies_to/item/directory_object_item_request_builder.py index 82cc599dfa4..88f52afab7d 100644 --- a/msgraph_beta/generated/policies/token_lifetime_policies/item/applies_to/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/policies/token_lifetime_policies/item/applies_to/item/directory_object_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: diff --git a/msgraph_beta/generated/policies/token_lifetime_policies/item/token_lifetime_policy_item_request_builder.py b/msgraph_beta/generated/policies/token_lifetime_policies/item/token_lifetime_policy_item_request_builder.py index e86f1809211..d31f992a5c8 100644 --- a/msgraph_beta/generated/policies/token_lifetime_policies/item/token_lifetime_policy_item_request_builder.py +++ b/msgraph_beta/generated/policies/token_lifetime_policies/item/token_lifetime_policy_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TokenLifetimePolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a tokenLifetimePolicy object. This API is available in the following national cloud deployments. + Delete a tokenLifetimePolicy object. 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/tokenlifetimepolicy-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[TokenLifetimePolicyItemReq async def get(self,request_configuration: Optional[TokenLifetimePolicyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TokenLifetimePolicy]: """ - Retrieve the properties and relationships of a tokenLifetimePolicy object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a tokenLifetimePolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TokenLifetimePolicy] Find more info here: https://learn.microsoft.com/graph/api/tokenlifetimepolicy-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[TokenLifetimePolicyItemReques async def patch(self,body: Optional[TokenLifetimePolicy] = None, request_configuration: Optional[TokenLifetimePolicyItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[TokenLifetimePolicy]: """ - Update the properties of a tokenLifetimePolicy object. This API is available in the following national cloud deployments. + Update the properties of a tokenLifetimePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TokenLifetimePolicy] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[TokenLifetimePolicy] = None, request_configu def to_delete_request_information(self,request_configuration: Optional[TokenLifetimePolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a tokenLifetimePolicy object. This API is available in the following national cloud deployments. + Delete a tokenLifetimePolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[TokenLife request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TokenLifetimePolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a tokenLifetimePolicy object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a tokenLifetimePolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[TokenLifetim request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TokenLifetimePolicy] = None, request_configuration: Optional[TokenLifetimePolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a tokenLifetimePolicy object. This API is available in the following national cloud deployments. + Update the properties of a tokenLifetimePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[TokenLifetimePolicy] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class TokenLifetimePolicyItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class TokenLifetimePolicyItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a tokenLifetimePolicy object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a tokenLifetimePolicy object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/policies/token_lifetime_policies/token_lifetime_policies_request_builder.py b/msgraph_beta/generated/policies/token_lifetime_policies/token_lifetime_policies_request_builder.py index 8f5455646ab..1a18b94ef14 100644 --- a/msgraph_beta/generated/policies/token_lifetime_policies/token_lifetime_policies_request_builder.py +++ b/msgraph_beta/generated/policies/token_lifetime_policies/token_lifetime_policies_request_builder.py @@ -45,7 +45,7 @@ def by_token_lifetime_policy_id(self,token_lifetime_policy_id: str) -> TokenLife async def get(self,request_configuration: Optional[TokenLifetimePoliciesRequestBuilderGetRequestConfiguration] = None) -> Optional[TokenLifetimePolicyCollectionResponse]: """ - Get a list of tokenLifetimePolicy objects. This API is available in the following national cloud deployments. + Get a list of tokenLifetimePolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TokenLifetimePolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/tokenlifetimepolicy-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TokenLifetimePoliciesRequestB async def post(self,body: Optional[TokenLifetimePolicy] = None, request_configuration: Optional[TokenLifetimePoliciesRequestBuilderPostRequestConfiguration] = None) -> Optional[TokenLifetimePolicy]: """ - Create a new tokenLifetimePolicy object. This API is available in the following national cloud deployments. + Create a new tokenLifetimePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TokenLifetimePolicy] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TokenLifetimePolicy] = None, request_configur def to_get_request_information(self,request_configuration: Optional[TokenLifetimePoliciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of tokenLifetimePolicy objects. This API is available in the following national cloud deployments. + Get a list of tokenLifetimePolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[TokenLifetim request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TokenLifetimePolicy] = None, request_configuration: Optional[TokenLifetimePoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new tokenLifetimePolicy object. This API is available in the following national cloud deployments. + Create a new tokenLifetimePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TokenLifetimePolicy] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TokenLifetimePoliciesRequestBuilderGetQueryParameters(): """ - Get a list of tokenLifetimePolicy objects. This API is available in the following national cloud deployments. + Get a list of tokenLifetimePolicy objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/connectors/connectors_request_builder.py b/msgraph_beta/generated/print/connectors/connectors_request_builder.py index daa2231afaf..67bb61ed460 100644 --- a/msgraph_beta/generated/print/connectors/connectors_request_builder.py +++ b/msgraph_beta/generated/print/connectors/connectors_request_builder.py @@ -45,7 +45,7 @@ def by_print_connector_id(self,print_connector_id: str) -> PrintConnectorItemReq async def get(self,request_configuration: Optional[ConnectorsRequestBuilderGetRequestConfiguration] = None) -> Optional[PrintConnectorCollectionResponse]: """ - Retrieve a list of print connectors. This API is available in the following national cloud deployments. + Retrieve a list of print connectors. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintConnectorCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/print-list-connectors?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[PrintConnector] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[ConnectorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of print connectors. This API is available in the following national cloud deployments. + Retrieve a list of print connectors. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ConnectorsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrintConnector] = None, request_configuration: Optional[ConnectorsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[PrintConnector] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ConnectorsRequestBuilderGetQueryParameters(): """ - Retrieve a list of print connectors. This API is available in the following national cloud deployments. + Retrieve a list of print connectors. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/connectors/item/print_connector_item_request_builder.py b/msgraph_beta/generated/print/connectors/item/print_connector_item_request_builder.py index f67b3a7ade0..585e021607f 100644 --- a/msgraph_beta/generated/print/connectors/item/print_connector_item_request_builder.py +++ b/msgraph_beta/generated/print/connectors/item/print_connector_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[PrintConnectorItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete (unregister) a printConnector. This API is available in the following national cloud deployments. + Delete (unregister) a printConnector. 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/printconnector-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[PrintConnectorItemRequestB async def get(self,request_configuration: Optional[PrintConnectorItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PrintConnector]: """ - Retrieve the properties and relationships of a printConnector object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a printConnector object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintConnector] Find more info here: https://learn.microsoft.com/graph/api/printconnector-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[PrintConnectorItemRequestBuil async def patch(self,body: Optional[PrintConnector] = None, request_configuration: Optional[PrintConnectorItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[PrintConnector]: """ - Update the properties of a printConnector object. This API is available in the following national cloud deployments. + Update the properties of a printConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintConnector] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[PrintConnector] = None, request_configuratio def to_delete_request_information(self,request_configuration: Optional[PrintConnectorItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete (unregister) a printConnector. This API is available in the following national cloud deployments. + Delete (unregister) a printConnector. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[PrintConn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrintConnectorItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a printConnector object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a printConnector object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[PrintConnect request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrintConnector] = None, request_configuration: Optional[PrintConnectorItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a printConnector object. This API is available in the following national cloud deployments. + Update the properties of a printConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[PrintConnector] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class PrintConnectorItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class PrintConnectorItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a printConnector object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a printConnector object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/operations/item/print_operation_item_request_builder.py b/msgraph_beta/generated/print/operations/item/print_operation_item_request_builder.py index 62c4ec59785..ce43125c9a4 100644 --- a/msgraph_beta/generated/print/operations/item/print_operation_item_request_builder.py +++ b/msgraph_beta/generated/print/operations/item/print_operation_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[PrintOperationItemRequestB async def get(self,request_configuration: Optional[PrintOperationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PrintOperation]: """ - Retrieve the properties and relationships of a printOperation object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a printOperation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintOperation] Find more info here: https://learn.microsoft.com/graph/api/printoperation-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[PrintOper request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrintOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a printOperation object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a printOperation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PrintOperati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrintOperation] = None, request_configuration: Optional[PrintOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[PrintOperation] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class PrintOperationItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class PrintOperationItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a printOperation object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a printOperation object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/operations/operations_request_builder.py b/msgraph_beta/generated/print/operations/operations_request_builder.py index c67390c935c..a7f0672f9d3 100644 --- a/msgraph_beta/generated/print/operations/operations_request_builder.py +++ b/msgraph_beta/generated/print/operations/operations_request_builder.py @@ -45,7 +45,7 @@ def by_print_operation_id(self,print_operation_id: str) -> PrintOperationItemReq async def get(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> Optional[PrintOperationCollectionResponse]: """ - Retrieve the properties and relationships of a printOperation object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a printOperation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintOperationCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[PrintOperation] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a printOperation object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a printOperation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrintOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[PrintOperation] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OperationsRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a printOperation object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a printOperation object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/print_request_builder.py b/msgraph_beta/generated/print/print_request_builder.py index 7e7315110c2..e91a3751346 100644 --- a/msgraph_beta/generated/print/print_request_builder.py +++ b/msgraph_beta/generated/print/print_request_builder.py @@ -92,7 +92,7 @@ def to_get_request_information(self,request_configuration: Optional[PrintRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Print] = None, request_configuration: Optional[PrintRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -111,7 +111,7 @@ def to_patch_request_information(self,body: Optional[Print] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/printer_shares/item/allowed_groups/allowed_groups_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/allowed_groups/allowed_groups_request_builder.py index 03973f4ef92..dc5b38ed7af 100644 --- a/msgraph_beta/generated/print/printer_shares/item/allowed_groups/allowed_groups_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/allowed_groups/allowed_groups_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_group_id(self,group_id: str) -> GroupItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.print.printerShares.item.allowedGroups.item collection - param group_id: Unique identifier of the item + param group_id: The unique identifier of group Returns: GroupItemRequestBuilder """ if not group_id: @@ -45,7 +45,7 @@ def by_group_id(self,group_id: str) -> GroupItemRequestBuilder: async def get(self,request_configuration: Optional[AllowedGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[GroupCollectionResponse]: """ - Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/printershare-list-allowedgroups?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AllowedGroupsRequestBuilderGe def to_get_request_information(self,request_configuration: Optional[AllowedGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[AllowedGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllowedGroupsRequestBuilder: @@ -113,7 +113,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class AllowedGroupsRequestBuilderGetQueryParameters(): """ - Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/printer_shares/item/allowed_groups/item/ref/ref_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/allowed_groups/item/ref/ref_request_builder.py index af7838c6745..9436e77774e 100644 --- a/msgraph_beta/generated/print/printer_shares/item/allowed_groups/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/allowed_groups/item/ref/ref_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Revoke the specified group's access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Revoke the specified group's access to submit print jobs to the associated printerShare. 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/printershare-delete-allowedgroup?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Revoke the specified group's access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Revoke the specified group's access to submit print jobs to the associated printerShare. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Revoke the specified group's access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Revoke the specified group's access to submit print jobs to the associated printerShare. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/printer_shares/item/allowed_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/allowed_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py index 4982e4c9604..28230cffce0 100644 --- a/msgraph_beta/generated/print/printer_shares/item/allowed_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/allowed_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/printer_shares/item/allowed_groups/ref/ref_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/allowed_groups/ref/ref_request_builder.py index d0c0ae24466..3b50e31a2cc 100644 --- a/msgraph_beta/generated/print/printer_shares/item/allowed_groups/ref/ref_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/allowed_groups/ref/ref_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/printershare-list-allowedgroups?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Grant the specified group access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Grant the specified group access to submit print jobs to the associated printerShare. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -74,7 +74,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Grant the specified group access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Grant the specified group access to submit print jobs to the associated printerShare. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -122,7 +122,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderGetQueryParameters(): """ - Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/printer_shares/item/allowed_users/allowed_users_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/allowed_users/allowed_users_request_builder.py index bf41f912d1e..3a5e186fd95 100644 --- a/msgraph_beta/generated/print/printer_shares/item/allowed_users/allowed_users_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/allowed_users/allowed_users_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_user_id(self,user_id: str) -> UserItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.print.printerShares.item.allowedUsers.item collection - param user_id: Unique identifier of the item + param user_id: The unique identifier of user Returns: UserItemRequestBuilder """ if not user_id: @@ -45,7 +45,7 @@ def by_user_id(self,user_id: str) -> UserItemRequestBuilder: async def get(self,request_configuration: Optional[AllowedUsersRequestBuilderGetRequestConfiguration] = None) -> Optional[UserCollectionResponse]: """ - Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/printershare-list-allowedusers?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AllowedUsersRequestBuilderGet def to_get_request_information(self,request_configuration: Optional[AllowedUsersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[AllowedUsers request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllowedUsersRequestBuilder: @@ -113,7 +113,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class AllowedUsersRequestBuilderGetQueryParameters(): """ - Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/mailbox_settings/mailbox_settings_request_builder.py index f449068ed8e..02f251edc0a 100644 --- a/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/ref/ref_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/ref/ref_request_builder.py index 3588b0542ff..17f43448ec1 100644 --- a/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/ref/ref_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Revoke the specified user's access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Revoke the specified user's access to submit print jobs to the associated printerShare. 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/printershare-delete-alloweduser?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Revoke the specified user's access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Revoke the specified user's access to submit print jobs to the associated printerShare. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Revoke the specified user's access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Revoke the specified user's access to submit print jobs to the associated printerShare. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/service_provisioning_errors/service_provisioning_errors_request_builder.py index c94e528bb42..fd2d9e268ed 100644 --- a/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/allowed_users/item/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/printer_shares/item/allowed_users/ref/ref_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/allowed_users/ref/ref_request_builder.py index b420aa5e1d4..866fddf62a6 100644 --- a/msgraph_beta/generated/print/printer_shares/item/allowed_users/ref/ref_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/allowed_users/ref/ref_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/printershare-list-allowedusers?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Grant the specified user access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Grant the specified user access to submit print jobs to the associated printerShare. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -74,7 +74,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Grant the specified user access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Grant the specified user access to submit print jobs to the associated printerShare. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -122,7 +122,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderGetQueryParameters(): """ - Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/abort/abort_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/abort/abort_request_builder.py index 8ffc8c1c91e..fff4dab162b 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/abort/abort_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/abort/abort_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AbortPostRequestBody] = None, request_configuration: Optional[AbortRequestBuilderPostRequestConfiguration] = None) -> None: """ - Abort a print job. Only applications using application permissions can abort a print job. Aborting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to register a task trigger, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Abort a print job. Only applications using application permissions can abort a print job. Aborting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to register a task trigger, see Extending Universal Print to support pull printing. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AbortPostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[AbortPostRequestBody] = None, request_configuration: Optional[AbortRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Abort a print job. Only applications using application permissions can abort a print job. Aborting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to register a task trigger, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Abort a print job. Only applications using application permissions can abort a print job. Aborting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to register a task trigger, see Extending Universal Print to support pull printing. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AbortPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/cancel/cancel_request_builder.py index 6306ca28c0c..9cd6ee2d896 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/cancel/cancel_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - Cancel a print job. Print jobs can be canceled only on behalf of a user, using delegated permissions. This API is available in the following national cloud deployments. + Cancel a print job. Print jobs can be canceled only on behalf of a user, using delegated permissions. 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/printjob-cancel?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[CancelRequestBuilderPostRequ def to_post_request_information(self,request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Cancel a print job. Print jobs can be canceled only on behalf of a user, using delegated permissions. This API is available in the following national cloud deployments. + Cancel a print job. Print jobs can be canceled only on behalf of a user, using delegated permissions. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[CancelReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CancelRequestBuilder: diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/cancel_print_job/cancel_print_job_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/cancel_print_job/cancel_print_job_request_builder.py index 65818c35ee0..3ab96aa1267 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/cancel_print_job/cancel_print_job_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/cancel_print_job/cancel_print_job_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[CancelPrint request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CancelPrintJobRequestBuilder: diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/documents_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/documents_request_builder.py index 4fd2982011e..2bb9c758ea6 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/documents_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/documents_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DocumentsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrintDocument] = None, request_configuration: Optional[DocumentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[PrintDocument] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/item/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/item/create_upload_session/create_upload_session_request_builder.py index 2c51d8120b8..f4239eacf0c 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/item/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/item/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a binary file linked to the print document. As part of the response, this action returns an upload URL that can be used in subsequent sequential PUT queries. Request headers for each PUT operation can be used to specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a binary file linked to the print document. As part of the response, this action returns an upload URL that can be used in subsequent sequential PUT queries. Request headers for each PUT operation can be used to specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a binary file linked to the print document. As part of the response, this action returns an upload URL that can be used in subsequent sequential PUT queries. Request headers for each PUT operation can be used to specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a binary file linked to the print document. As part of the response, this action returns an upload URL that can be used in subsequent sequential PUT queries. Request headers for each PUT operation can be used to specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/item/print_document_item_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/item/print_document_item_request_builder.py index 22c570b915a..e77e2586252 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/item/print_document_item_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/item/print_document_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[PrintDocu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrintDocumentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[PrintDocumen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrintDocument] = None, request_configuration: Optional[PrintDocumentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PrintDocument] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/item/value/content_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/item/value/content_request_builder.py index 3f34a9ac5a9..cba491351f6 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/item/value/content_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/documents/item/value/content_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -98,7 +98,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/print_job_item_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/print_job_item_request_builder.py index b22371f9318..3c77ae545fc 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/print_job_item_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/print_job_item_request_builder.py @@ -111,7 +111,7 @@ def to_delete_request_information(self,request_configuration: Optional[PrintJobI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrintJobItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -128,7 +128,7 @@ def to_get_request_information(self,request_configuration: Optional[PrintJobItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrintJob] = None, request_configuration: Optional[PrintJobItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[PrintJob] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/redirect/redirect_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/redirect/redirect_request_builder.py index dd039bb29a0..3d8f49533db 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/redirect/redirect_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/redirect/redirect_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RedirectPostRequestBody] = None, request_configuration: Optional[RedirectRequestBuilderPostRequestConfiguration] = None) -> Optional[PrintJob]: """ - Redirect a print job to a different printer. Redirecting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Redirect a print job to a different printer. Redirecting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintJob] @@ -54,7 +54,7 @@ async def post(self,body: Optional[RedirectPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[RedirectPostRequestBody] = None, request_configuration: Optional[RedirectRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Redirect a print job to a different printer. Redirecting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Redirect a print job to a different printer. Redirecting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[RedirectPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/start/start_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/start/start_request_builder.py index de19a6752b2..cdf9a385ec5 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/start/start_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/start/start_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[StartReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> StartRequestBuilder: diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/start_print_job/start_print_job_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/start_print_job/start_print_job_request_builder.py index 2ef218afb27..a429043b680 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/start_print_job/start_print_job_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/start_print_job/start_print_job_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[StartPrintJ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> StartPrintJobRequestBuilder: diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/item/definition/definition_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/item/definition/definition_request_builder.py index 12a43112ffc..b751cb32871 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/item/definition/definition_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/item/definition/definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DefinitionRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DefinitionRequestBuilder: diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/item/print_task_item_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/item/print_task_item_request_builder.py index 0094e218b6c..31b5f7d4f2d 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/item/print_task_item_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/item/print_task_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[PrintTask request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrintTaskItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[PrintTaskIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrintTask] = None, request_configuration: Optional[PrintTaskItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PrintTask] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/item/trigger/trigger_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/item/trigger/trigger_request_builder.py index 5ad096cc8f4..33066c8364b 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/item/trigger/trigger_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/item/trigger/trigger_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TriggerReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TriggerRequestBuilder: diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/tasks_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/tasks_request_builder.py index a5a69641738..5c22e6bd5d7 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/tasks_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/item/tasks/tasks_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[TasksRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrintTask] = None, request_configuration: Optional[TasksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[PrintTask] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/printer_shares/item/jobs/jobs_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/jobs/jobs_request_builder.py index e30d898b0e9..68391f122ac 100644 --- a/msgraph_beta/generated/print/printer_shares/item/jobs/jobs_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/jobs/jobs_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[JobsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrintJob] = None, request_configuration: Optional[JobsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[PrintJob] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/printer_shares/item/printer/printer_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/printer/printer_request_builder.py index 25eb8576ff7..5807989254c 100644 --- a/msgraph_beta/generated/print/printer_shares/item/printer/printer_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/printer/printer_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrinterReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrinterRequestBuilder: diff --git a/msgraph_beta/generated/print/printer_shares/item/printer_share_item_request_builder.py b/msgraph_beta/generated/print/printer_shares/item/printer_share_item_request_builder.py index 1d0f567115c..31dc77245ac 100644 --- a/msgraph_beta/generated/print/printer_shares/item/printer_share_item_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/item/printer_share_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[PrinterSh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrinterShareItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[PrinterShare request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrinterShare] = None, request_configuration: Optional[PrinterShareItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[PrinterShare] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/printer_shares/printer_shares_request_builder.py b/msgraph_beta/generated/print/printer_shares/printer_shares_request_builder.py index a9432ff405d..b1d40ed37a1 100644 --- a/msgraph_beta/generated/print/printer_shares/printer_shares_request_builder.py +++ b/msgraph_beta/generated/print/printer_shares/printer_shares_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PrinterShare request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrinterShare] = None, request_configuration: Optional[PrinterSharesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[PrinterShare] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/printers/create/create_request_builder.py b/msgraph_beta/generated/print/printers/create/create_request_builder.py index d44a1af269f..bb33a6e1800 100644 --- a/msgraph_beta/generated/print/printers/create/create_request_builder.py +++ b/msgraph_beta/generated/print/printers/create/create_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreatePostRequestBody] = None, request_configuration: Optional[CreateRequestBuilderPostRequestConfiguration] = None) -> None: """ - Create (register) a printer with the Universal Print service. This is a long-running operation and as such, it returns a printerCreateOperation that can be used to track and verify the registration of the printer. This API is available in the following national cloud deployments. + Create (register) a printer with the Universal Print service. This is a long-running operation and as such, it returns a printerCreateOperation that can be used to track and verify the registration of the printer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CreatePostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CreatePostRequestBody] = None, request_configuration: Optional[CreateRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create (register) a printer with the Universal Print service. This is a long-running operation and as such, it returns a printerCreateOperation that can be used to track and verify the registration of the printer. This API is available in the following national cloud deployments. + Create (register) a printer with the Universal Print service. This is a long-running operation and as such, it returns a printerCreateOperation that can be used to track and verify the registration of the printer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CreatePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/printers/item/connectors/connectors_request_builder.py b/msgraph_beta/generated/print/printers/item/connectors/connectors_request_builder.py index be36c350b0c..089db719c9b 100644 --- a/msgraph_beta/generated/print/printers/item/connectors/connectors_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/connectors/connectors_request_builder.py @@ -44,7 +44,7 @@ def by_print_connector_id(self,print_connector_id: str) -> PrintConnectorItemReq async def get(self,request_configuration: Optional[ConnectorsRequestBuilderGetRequestConfiguration] = None) -> Optional[PrintConnectorCollectionResponse]: """ - Retrieve a list of connectors associated with the printer. This API is available in the following national cloud deployments. + Retrieve a list of connectors associated with the printer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintConnectorCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/printer-list-connectors?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ConnectorsRequestBuilderGetRe def to_get_request_information(self,request_configuration: Optional[ConnectorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of connectors associated with the printer. This API is available in the following national cloud deployments. + Retrieve a list of connectors associated with the printer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ConnectorsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ConnectorsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ConnectorsRequestBuilderGetQueryParameters(): """ - Retrieve a list of connectors associated with the printer. This API is available in the following national cloud deployments. + Retrieve a list of connectors associated with the printer. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/printers/item/connectors/item/print_connector_item_request_builder.py b/msgraph_beta/generated/print/printers/item/connectors/item/print_connector_item_request_builder.py index 63124678ff3..e91ef47954d 100644 --- a/msgraph_beta/generated/print/printers/item/connectors/item/print_connector_item_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/connectors/item/print_connector_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrintConnect request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrintConnectorItemRequestBuilder: diff --git a/msgraph_beta/generated/print/printers/item/get_capabilities/get_capabilities_request_builder.py b/msgraph_beta/generated/print/printers/item/get_capabilities/get_capabilities_request_builder.py index 21b2a7f7bbc..93dacfdef8b 100644 --- a/msgraph_beta/generated/print/printers/item/get_capabilities/get_capabilities_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/get_capabilities/get_capabilities_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetCapabilit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetCapabilitiesRequestBuilder: diff --git a/msgraph_beta/generated/print/printers/item/jobs/item/abort/abort_request_builder.py b/msgraph_beta/generated/print/printers/item/jobs/item/abort/abort_request_builder.py index 88d209e834a..90bc7bee3b1 100644 --- a/msgraph_beta/generated/print/printers/item/jobs/item/abort/abort_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/jobs/item/abort/abort_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AbortPostRequestBody] = None, request_configuration: Optional[AbortRequestBuilderPostRequestConfiguration] = None) -> None: """ - Abort a print job. Only applications using application permissions can abort a print job. Aborting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to register a task trigger, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Abort a print job. Only applications using application permissions can abort a print job. Aborting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to register a task trigger, see Extending Universal Print to support pull printing. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AbortPostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[AbortPostRequestBody] = None, request_configuration: Optional[AbortRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Abort a print job. Only applications using application permissions can abort a print job. Aborting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to register a task trigger, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Abort a print job. Only applications using application permissions can abort a print job. Aborting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to register a task trigger, see Extending Universal Print to support pull printing. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AbortPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/printers/item/jobs/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/print/printers/item/jobs/item/cancel/cancel_request_builder.py index 2eea959760c..3713ea84426 100644 --- a/msgraph_beta/generated/print/printers/item/jobs/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/jobs/item/cancel/cancel_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - Cancel a print job. Print jobs can be canceled only on behalf of a user, using delegated permissions. This API is available in the following national cloud deployments. + Cancel a print job. Print jobs can be canceled only on behalf of a user, using delegated permissions. 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/printjob-cancel?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[CancelRequestBuilderPostRequ def to_post_request_information(self,request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Cancel a print job. Print jobs can be canceled only on behalf of a user, using delegated permissions. This API is available in the following national cloud deployments. + Cancel a print job. Print jobs can be canceled only on behalf of a user, using delegated permissions. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[CancelReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CancelRequestBuilder: diff --git a/msgraph_beta/generated/print/printers/item/jobs/item/cancel_print_job/cancel_print_job_request_builder.py b/msgraph_beta/generated/print/printers/item/jobs/item/cancel_print_job/cancel_print_job_request_builder.py index 0e8414af227..2dbf0d9a9bf 100644 --- a/msgraph_beta/generated/print/printers/item/jobs/item/cancel_print_job/cancel_print_job_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/jobs/item/cancel_print_job/cancel_print_job_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[CancelPrint request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CancelPrintJobRequestBuilder: diff --git a/msgraph_beta/generated/print/printers/item/jobs/item/documents/documents_request_builder.py b/msgraph_beta/generated/print/printers/item/jobs/item/documents/documents_request_builder.py index b8590972ed9..e9469955600 100644 --- a/msgraph_beta/generated/print/printers/item/jobs/item/documents/documents_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/jobs/item/documents/documents_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DocumentsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrintDocument] = None, request_configuration: Optional[DocumentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[PrintDocument] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/printers/item/jobs/item/documents/item/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/print/printers/item/jobs/item/documents/item/create_upload_session/create_upload_session_request_builder.py index cb80c881e4e..7ea14cfda37 100644 --- a/msgraph_beta/generated/print/printers/item/jobs/item/documents/item/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/jobs/item/documents/item/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a binary file linked to the print document. As part of the response, this action returns an upload URL that can be used in subsequent sequential PUT queries. Request headers for each PUT operation can be used to specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a binary file linked to the print document. As part of the response, this action returns an upload URL that can be used in subsequent sequential PUT queries. Request headers for each PUT operation can be used to specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a binary file linked to the print document. As part of the response, this action returns an upload URL that can be used in subsequent sequential PUT queries. Request headers for each PUT operation can be used to specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a binary file linked to the print document. As part of the response, this action returns an upload URL that can be used in subsequent sequential PUT queries. Request headers for each PUT operation can be used to specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/printers/item/jobs/item/documents/item/print_document_item_request_builder.py b/msgraph_beta/generated/print/printers/item/jobs/item/documents/item/print_document_item_request_builder.py index 377743a20ea..1d98770f304 100644 --- a/msgraph_beta/generated/print/printers/item/jobs/item/documents/item/print_document_item_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/jobs/item/documents/item/print_document_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[PrintDocu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrintDocumentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[PrintDocumen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrintDocument] = None, request_configuration: Optional[PrintDocumentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PrintDocument] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/printers/item/jobs/item/documents/item/value/content_request_builder.py b/msgraph_beta/generated/print/printers/item/jobs/item/documents/item/value/content_request_builder.py index a056917dbb2..8c1cc7893f2 100644 --- a/msgraph_beta/generated/print/printers/item/jobs/item/documents/item/value/content_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/jobs/item/documents/item/value/content_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -98,7 +98,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/print/printers/item/jobs/item/print_job_item_request_builder.py b/msgraph_beta/generated/print/printers/item/jobs/item/print_job_item_request_builder.py index d9c16293bfc..97e13e976f6 100644 --- a/msgraph_beta/generated/print/printers/item/jobs/item/print_job_item_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/jobs/item/print_job_item_request_builder.py @@ -111,7 +111,7 @@ def to_delete_request_information(self,request_configuration: Optional[PrintJobI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrintJobItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -128,7 +128,7 @@ def to_get_request_information(self,request_configuration: Optional[PrintJobItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrintJob] = None, request_configuration: Optional[PrintJobItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[PrintJob] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/printers/item/jobs/item/redirect/redirect_request_builder.py b/msgraph_beta/generated/print/printers/item/jobs/item/redirect/redirect_request_builder.py index 69c4497df8e..59278f4f3b6 100644 --- a/msgraph_beta/generated/print/printers/item/jobs/item/redirect/redirect_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/jobs/item/redirect/redirect_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RedirectPostRequestBody] = None, request_configuration: Optional[RedirectRequestBuilderPostRequestConfiguration] = None) -> Optional[PrintJob]: """ - Redirect a print job to a different printer. Redirecting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Redirect a print job to a different printer. Redirecting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintJob] @@ -54,7 +54,7 @@ async def post(self,body: Optional[RedirectPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[RedirectPostRequestBody] = None, request_configuration: Optional[RedirectRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Redirect a print job to a different printer. Redirecting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Redirect a print job to a different printer. Redirecting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[RedirectPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/printers/item/jobs/item/start/start_request_builder.py b/msgraph_beta/generated/print/printers/item/jobs/item/start/start_request_builder.py index 6422d58a2cf..d2695c3a11f 100644 --- a/msgraph_beta/generated/print/printers/item/jobs/item/start/start_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/jobs/item/start/start_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[StartReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> StartRequestBuilder: diff --git a/msgraph_beta/generated/print/printers/item/jobs/item/start_print_job/start_print_job_request_builder.py b/msgraph_beta/generated/print/printers/item/jobs/item/start_print_job/start_print_job_request_builder.py index fa664c6e6ad..f7cf47f1099 100644 --- a/msgraph_beta/generated/print/printers/item/jobs/item/start_print_job/start_print_job_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/jobs/item/start_print_job/start_print_job_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[StartPrintJ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> StartPrintJobRequestBuilder: diff --git a/msgraph_beta/generated/print/printers/item/jobs/item/tasks/item/definition/definition_request_builder.py b/msgraph_beta/generated/print/printers/item/jobs/item/tasks/item/definition/definition_request_builder.py index 66aa4754ba1..b55bc998e8c 100644 --- a/msgraph_beta/generated/print/printers/item/jobs/item/tasks/item/definition/definition_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/jobs/item/tasks/item/definition/definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DefinitionRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DefinitionRequestBuilder: diff --git a/msgraph_beta/generated/print/printers/item/jobs/item/tasks/item/print_task_item_request_builder.py b/msgraph_beta/generated/print/printers/item/jobs/item/tasks/item/print_task_item_request_builder.py index e01cd9af2de..0cad838e8e4 100644 --- a/msgraph_beta/generated/print/printers/item/jobs/item/tasks/item/print_task_item_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/jobs/item/tasks/item/print_task_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[PrintTask request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrintTaskItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[PrintTaskIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrintTask] = None, request_configuration: Optional[PrintTaskItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PrintTask] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/printers/item/jobs/item/tasks/item/trigger/trigger_request_builder.py b/msgraph_beta/generated/print/printers/item/jobs/item/tasks/item/trigger/trigger_request_builder.py index e737f23dbdd..00542581fc7 100644 --- a/msgraph_beta/generated/print/printers/item/jobs/item/tasks/item/trigger/trigger_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/jobs/item/tasks/item/trigger/trigger_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TriggerReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TriggerRequestBuilder: diff --git a/msgraph_beta/generated/print/printers/item/jobs/item/tasks/tasks_request_builder.py b/msgraph_beta/generated/print/printers/item/jobs/item/tasks/tasks_request_builder.py index 562e4c70970..f52c1940e3c 100644 --- a/msgraph_beta/generated/print/printers/item/jobs/item/tasks/tasks_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/jobs/item/tasks/tasks_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[TasksRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrintTask] = None, request_configuration: Optional[TasksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[PrintTask] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/printers/item/jobs/jobs_request_builder.py b/msgraph_beta/generated/print/printers/item/jobs/jobs_request_builder.py index 4ce5ab37942..f4dd9deaa57 100644 --- a/msgraph_beta/generated/print/printers/item/jobs/jobs_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/jobs/jobs_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[JobsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrintJob] = None, request_configuration: Optional[JobsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[PrintJob] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/printers/item/printer_item_request_builder.py b/msgraph_beta/generated/print/printers/item/printer_item_request_builder.py index f3f0d3f5b01..4cf91be14ec 100644 --- a/msgraph_beta/generated/print/printers/item/printer_item_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/printer_item_request_builder.py @@ -36,7 +36,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[PrinterItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete (unregister) a printer. This API is available in the following national cloud deployments. + Delete (unregister) a printer. 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/printer-delete?view=graph-rest-1.0 @@ -56,7 +56,7 @@ async def delete(self,request_configuration: Optional[PrinterItemRequestBuilderD async def get(self,request_configuration: Optional[PrinterItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Printer]: """ - Retrieve the properties and relationships of a printer object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a printer object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Printer] Find more info here: https://learn.microsoft.com/graph/api/printer-get?view=graph-rest-1.0 @@ -78,7 +78,7 @@ async def get(self,request_configuration: Optional[PrinterItemRequestBuilderGetR async def patch(self,body: Optional[Printer] = None, request_configuration: Optional[PrinterItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Printer]: """ - Update the properties of a printer object. This API is available in the following national cloud deployments. + Update the properties of a printer object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Printer] @@ -103,7 +103,7 @@ async def patch(self,body: Optional[Printer] = None, request_configuration: Opti def to_delete_request_information(self,request_configuration: Optional[PrinterItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete (unregister) a printer. This API is available in the following national cloud deployments. + Delete (unregister) a printer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -114,12 +114,12 @@ def to_delete_request_information(self,request_configuration: Optional[PrinterIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrinterItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a printer object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a printer object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -131,12 +131,12 @@ def to_get_request_information(self,request_configuration: Optional[PrinterItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Printer] = None, request_configuration: Optional[PrinterItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a printer object. This API is available in the following national cloud deployments. + Update the properties of a printer object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -150,7 +150,7 @@ def to_patch_request_information(self,body: Optional[Printer] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -249,7 +249,7 @@ class PrinterItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurati @dataclass class PrinterItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a printer object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a printer object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/printers/item/reset_defaults/reset_defaults_request_builder.py b/msgraph_beta/generated/print/printers/item/reset_defaults/reset_defaults_request_builder.py index 83e8c318d04..ccb9be795f1 100644 --- a/msgraph_beta/generated/print/printers/item/reset_defaults/reset_defaults_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/reset_defaults/reset_defaults_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[ResetDefaul request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResetDefaultsRequestBuilder: diff --git a/msgraph_beta/generated/print/printers/item/restore_factory_defaults/restore_factory_defaults_request_builder.py b/msgraph_beta/generated/print/printers/item/restore_factory_defaults/restore_factory_defaults_request_builder.py index 18e797639ce..231b93371f3 100644 --- a/msgraph_beta/generated/print/printers/item/restore_factory_defaults/restore_factory_defaults_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/restore_factory_defaults/restore_factory_defaults_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RestoreFactoryDefaultsRequestBuilderPostRequestConfiguration] = None) -> None: """ - Restore a printer's default settings to the values specified by the manufacturer. This API is available in the following national cloud deployments. + Restore a printer's default settings to the values specified by the manufacturer. 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/printer-restorefactorydefaults?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RestoreFactoryDefaultsReques def to_post_request_information(self,request_configuration: Optional[RestoreFactoryDefaultsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a printer's default settings to the values specified by the manufacturer. This API is available in the following national cloud deployments. + Restore a printer's default settings to the values specified by the manufacturer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RestoreFact request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RestoreFactoryDefaultsRequestBuilder: diff --git a/msgraph_beta/generated/print/printers/item/share/share_request_builder.py b/msgraph_beta/generated/print/printers/item/share/share_request_builder.py index b9cb48de53d..e19e2af4108 100644 --- a/msgraph_beta/generated/print/printers/item/share/share_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/share/share_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ShareRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ShareRequestBuilder: diff --git a/msgraph_beta/generated/print/printers/item/shares/item/printer_share_item_request_builder.py b/msgraph_beta/generated/print/printers/item/shares/item/printer_share_item_request_builder.py index 8258418ac1d..87b035edcd6 100644 --- a/msgraph_beta/generated/print/printers/item/shares/item/printer_share_item_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/shares/item/printer_share_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrinterShare request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrinterShareItemRequestBuilder: diff --git a/msgraph_beta/generated/print/printers/item/shares/shares_request_builder.py b/msgraph_beta/generated/print/printers/item/shares/shares_request_builder.py index 58d1899498c..c3b1ef0ccad 100644 --- a/msgraph_beta/generated/print/printers/item/shares/shares_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/shares/shares_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[SharesReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SharesRequestBuilder: diff --git a/msgraph_beta/generated/print/printers/item/task_triggers/item/definition/definition_request_builder.py b/msgraph_beta/generated/print/printers/item/task_triggers/item/definition/definition_request_builder.py index d8a5aaaa93d..4770bde985f 100644 --- a/msgraph_beta/generated/print/printers/item/task_triggers/item/definition/definition_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/task_triggers/item/definition/definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DefinitionRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DefinitionRequestBuilder: diff --git a/msgraph_beta/generated/print/printers/item/task_triggers/item/print_task_trigger_item_request_builder.py b/msgraph_beta/generated/print/printers/item/task_triggers/item/print_task_trigger_item_request_builder.py index 3e9c78eed08..890467d0c61 100644 --- a/msgraph_beta/generated/print/printers/item/task_triggers/item/print_task_trigger_item_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/task_triggers/item/print_task_trigger_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[PrintTaskTriggerItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a printer's task trigger to prevent related print events from triggering tasks on the specified printer. This API is available in the following national cloud deployments. + Delete a printer's task trigger to prevent related print events from triggering tasks on the specified printer. 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/printer-delete-tasktrigger?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[PrintTaskTriggerItemReques async def get(self,request_configuration: Optional[PrintTaskTriggerItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PrintTaskTrigger]: """ - Get a task trigger from a printer. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Get a task trigger from a printer. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintTaskTrigger] Find more info here: https://learn.microsoft.com/graph/api/printtasktrigger-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[PrintTaskTrigger] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[PrintTaskTriggerItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a printer's task trigger to prevent related print events from triggering tasks on the specified printer. This API is available in the following national cloud deployments. + Delete a printer's task trigger to prevent related print events from triggering tasks on the specified printer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[PrintTask request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrintTaskTriggerItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a task trigger from a printer. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Get a task trigger from a printer. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[PrintTaskTri request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrintTaskTrigger] = None, request_configuration: Optional[PrintTaskTriggerItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[PrintTaskTrigger] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class PrintTaskTriggerItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class PrintTaskTriggerItemRequestBuilderGetQueryParameters(): """ - Get a task trigger from a printer. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Get a task trigger from a printer. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/printers/item/task_triggers/task_triggers_request_builder.py b/msgraph_beta/generated/print/printers/item/task_triggers/task_triggers_request_builder.py index 22db4b69362..c0cac293854 100644 --- a/msgraph_beta/generated/print/printers/item/task_triggers/task_triggers_request_builder.py +++ b/msgraph_beta/generated/print/printers/item/task_triggers/task_triggers_request_builder.py @@ -45,7 +45,7 @@ def by_print_task_trigger_id(self,print_task_trigger_id: str) -> PrintTaskTrigge async def get(self,request_configuration: Optional[TaskTriggersRequestBuilderGetRequestConfiguration] = None) -> Optional[PrintTaskTriggerCollectionResponse]: """ - Retrieve a list of task triggers associated with the printer. The list of task triggers defines which tasks will be triggered as a result of events that occur during printing. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Retrieve a list of task triggers associated with the printer. The list of task triggers defines which tasks will be triggered as a result of events that occur during printing. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintTaskTriggerCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/printer-list-tasktriggers?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TaskTriggersRequestBuilderGet async def post(self,body: Optional[PrintTaskTrigger] = None, request_configuration: Optional[TaskTriggersRequestBuilderPostRequestConfiguration] = None) -> Optional[PrintTaskTrigger]: """ - Create a new task trigger on the specified printer. Currently, only one task trigger can be specified per printer, but this limit might be removed in the future. This API is available in the following national cloud deployments. + Create a new task trigger on the specified printer. Currently, only one task trigger can be specified per printer, but this limit might be removed in the future. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintTaskTrigger] @@ -92,7 +92,7 @@ async def post(self,body: Optional[PrintTaskTrigger] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[TaskTriggersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of task triggers associated with the printer. The list of task triggers defines which tasks will be triggered as a result of events that occur during printing. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Retrieve a list of task triggers associated with the printer. The list of task triggers defines which tasks will be triggered as a result of events that occur during printing. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[TaskTriggers request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrintTaskTrigger] = None, request_configuration: Optional[TaskTriggersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new task trigger on the specified printer. Currently, only one task trigger can be specified per printer, but this limit might be removed in the future. This API is available in the following national cloud deployments. + Create a new task trigger on the specified printer. Currently, only one task trigger can be specified per printer, but this limit might be removed in the future. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PrintTaskTrigger] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TaskTriggersRequestBuilderGetQueryParameters(): """ - Retrieve a list of task triggers associated with the printer. The list of task triggers defines which tasks will be triggered as a result of events that occur during printing. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Retrieve a list of task triggers associated with the printer. The list of task triggers defines which tasks will be triggered as a result of events that occur during printing. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/printers/printers_request_builder.py b/msgraph_beta/generated/print/printers/printers_request_builder.py index 273f4f445c6..1cdc93ac34f 100644 --- a/msgraph_beta/generated/print/printers/printers_request_builder.py +++ b/msgraph_beta/generated/print/printers/printers_request_builder.py @@ -46,7 +46,7 @@ def by_printer_id(self,printer_id: str) -> PrinterItemRequestBuilder: async def get(self,request_configuration: Optional[PrintersRequestBuilderGetRequestConfiguration] = None) -> Optional[PrinterCollectionResponse]: """ - Retrieve the list of printers that are registered in the tenant. This API is available in the following national cloud deployments. + Retrieve the list of printers that are registered in the tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrinterCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/print-list-printers?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[Printer] = None, request_configuration: Optio def to_get_request_information(self,request_configuration: Optional[PrintersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of printers that are registered in the tenant. This API is available in the following national cloud deployments. + Retrieve the list of printers that are registered in the tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[PrintersRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Printer] = None, request_configuration: Optional[PrintersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Printer] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def create(self) -> CreateRequestBuilder: @dataclass class PrintersRequestBuilderGetQueryParameters(): """ - Retrieve the list of printers that are registered in the tenant. This API is available in the following national cloud deployments. + Retrieve the list of printers that are registered in the tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/services/item/endpoints/endpoints_request_builder.py b/msgraph_beta/generated/print/services/item/endpoints/endpoints_request_builder.py index 4a8d70d71a2..8e5d7c9ddce 100644 --- a/msgraph_beta/generated/print/services/item/endpoints/endpoints_request_builder.py +++ b/msgraph_beta/generated/print/services/item/endpoints/endpoints_request_builder.py @@ -45,7 +45,7 @@ def by_print_service_endpoint_id(self,print_service_endpoint_id: str) -> PrintSe async def get(self,request_configuration: Optional[EndpointsRequestBuilderGetRequestConfiguration] = None) -> Optional[PrintServiceEndpointCollectionResponse]: """ - Retrieve a list of endpoints exposed by a print service. This API is available in the following national cloud deployments. + Retrieve a list of endpoints exposed by a print service. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintServiceEndpointCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/printservice-list-endpoints?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[PrintServiceEndpoint] = None, request_configu def to_get_request_information(self,request_configuration: Optional[EndpointsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of endpoints exposed by a print service. This API is available in the following national cloud deployments. + Retrieve a list of endpoints exposed by a print service. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[EndpointsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrintServiceEndpoint] = None, request_configuration: Optional[EndpointsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[PrintServiceEndpoint] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class EndpointsRequestBuilderGetQueryParameters(): """ - Retrieve a list of endpoints exposed by a print service. This API is available in the following national cloud deployments. + Retrieve a list of endpoints exposed by a print service. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/services/item/endpoints/item/print_service_endpoint_item_request_builder.py b/msgraph_beta/generated/print/services/item/endpoints/item/print_service_endpoint_item_request_builder.py index fc0bdad78fa..5b125fa46c5 100644 --- a/msgraph_beta/generated/print/services/item/endpoints/item/print_service_endpoint_item_request_builder.py +++ b/msgraph_beta/generated/print/services/item/endpoints/item/print_service_endpoint_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[PrintServiceEndpointItemRe async def get(self,request_configuration: Optional[PrintServiceEndpointItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PrintServiceEndpoint]: """ - Retrieve the properties and relationships of a print service endpoint. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a print service endpoint. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintServiceEndpoint] Find more info here: https://learn.microsoft.com/graph/api/printserviceendpoint-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[PrintServ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrintServiceEndpointItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a print service endpoint. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a print service endpoint. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PrintService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrintServiceEndpoint] = None, request_configuration: Optional[PrintServiceEndpointItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[PrintServiceEndpoint] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class PrintServiceEndpointItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class PrintServiceEndpointItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a print service endpoint. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a print service endpoint. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/services/item/print_service_item_request_builder.py b/msgraph_beta/generated/print/services/item/print_service_item_request_builder.py index 08e43e28a34..d78186c6a62 100644 --- a/msgraph_beta/generated/print/services/item/print_service_item_request_builder.py +++ b/msgraph_beta/generated/print/services/item/print_service_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[PrintServiceItemRequestBui async def get(self,request_configuration: Optional[PrintServiceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PrintService]: """ - Retrieve the properties and relationships of a print service. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a print service. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintService] Find more info here: https://learn.microsoft.com/graph/api/printservice-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[PrintServ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrintServiceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a print service. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a print service. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[PrintService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrintService] = None, request_configuration: Optional[PrintServiceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PrintService] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class PrintServiceItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class PrintServiceItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a print service. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a print service. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/services/services_request_builder.py b/msgraph_beta/generated/print/services/services_request_builder.py index cafbf850876..4b3c7e68067 100644 --- a/msgraph_beta/generated/print/services/services_request_builder.py +++ b/msgraph_beta/generated/print/services/services_request_builder.py @@ -45,7 +45,7 @@ def by_print_service_id(self,print_service_id: str) -> PrintServiceItemRequestBu async def get(self,request_configuration: Optional[ServicesRequestBuilderGetRequestConfiguration] = None) -> Optional[PrintServiceCollectionResponse]: """ - Retrieve a list of printService objects that represent the services available to your tenant. This API is available in the following national cloud deployments. + Retrieve a list of printService objects that represent the services available to your tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintServiceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/print-list-services?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[PrintService] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[ServicesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of printService objects that represent the services available to your tenant. This API is available in the following national cloud deployments. + Retrieve a list of printService objects that represent the services available to your tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ServicesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrintService] = None, request_configuration: Optional[ServicesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[PrintService] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServicesRequestBuilderGetQueryParameters(): """ - Retrieve a list of printService objects that represent the services available to your tenant. This API is available in the following national cloud deployments. + Retrieve a list of printService objects that represent the services available to your tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/shares/item/allowed_groups/allowed_groups_request_builder.py b/msgraph_beta/generated/print/shares/item/allowed_groups/allowed_groups_request_builder.py index 5ecc2df072d..f5ee92af3b1 100644 --- a/msgraph_beta/generated/print/shares/item/allowed_groups/allowed_groups_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/allowed_groups/allowed_groups_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_group_id(self,group_id: str) -> GroupItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.print.shares.item.allowedGroups.item collection - param group_id: Unique identifier of the item + param group_id: The unique identifier of group Returns: GroupItemRequestBuilder """ if not group_id: @@ -45,7 +45,7 @@ def by_group_id(self,group_id: str) -> GroupItemRequestBuilder: async def get(self,request_configuration: Optional[AllowedGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[GroupCollectionResponse]: """ - Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/printershare-list-allowedgroups?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AllowedGroupsRequestBuilderGe def to_get_request_information(self,request_configuration: Optional[AllowedGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[AllowedGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllowedGroupsRequestBuilder: @@ -113,7 +113,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class AllowedGroupsRequestBuilderGetQueryParameters(): """ - Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/shares/item/allowed_groups/item/ref/ref_request_builder.py b/msgraph_beta/generated/print/shares/item/allowed_groups/item/ref/ref_request_builder.py index 38d2575b011..d00ce118745 100644 --- a/msgraph_beta/generated/print/shares/item/allowed_groups/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/allowed_groups/item/ref/ref_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Revoke the specified group's access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Revoke the specified group's access to submit print jobs to the associated printerShare. 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/printershare-delete-allowedgroup?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Revoke the specified group's access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Revoke the specified group's access to submit print jobs to the associated printerShare. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Revoke the specified group's access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Revoke the specified group's access to submit print jobs to the associated printerShare. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/shares/item/allowed_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/print/shares/item/allowed_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py index 81e24cc4482..690c46d87ed 100644 --- a/msgraph_beta/generated/print/shares/item/allowed_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/allowed_groups/item/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/shares/item/allowed_groups/ref/ref_request_builder.py b/msgraph_beta/generated/print/shares/item/allowed_groups/ref/ref_request_builder.py index d9bdf2e36e5..74bf5c59f7c 100644 --- a/msgraph_beta/generated/print/shares/item/allowed_groups/ref/ref_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/allowed_groups/ref/ref_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/printershare-list-allowedgroups?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Grant the specified group access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Grant the specified group access to submit print jobs to the associated printerShare. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -74,7 +74,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Grant the specified group access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Grant the specified group access to submit print jobs to the associated printerShare. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -122,7 +122,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderGetQueryParameters(): """ - Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/shares/item/allowed_users/allowed_users_request_builder.py b/msgraph_beta/generated/print/shares/item/allowed_users/allowed_users_request_builder.py index 55c6285778f..8e5b06ca4d4 100644 --- a/msgraph_beta/generated/print/shares/item/allowed_users/allowed_users_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/allowed_users/allowed_users_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_user_id(self,user_id: str) -> UserItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.print.shares.item.allowedUsers.item collection - param user_id: Unique identifier of the item + param user_id: The unique identifier of user Returns: UserItemRequestBuilder """ if not user_id: @@ -45,7 +45,7 @@ def by_user_id(self,user_id: str) -> UserItemRequestBuilder: async def get(self,request_configuration: Optional[AllowedUsersRequestBuilderGetRequestConfiguration] = None) -> Optional[UserCollectionResponse]: """ - Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/printershare-list-allowedusers?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AllowedUsersRequestBuilderGet def to_get_request_information(self,request_configuration: Optional[AllowedUsersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[AllowedUsers request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllowedUsersRequestBuilder: @@ -113,7 +113,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class AllowedUsersRequestBuilderGetQueryParameters(): """ - Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/shares/item/allowed_users/item/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/print/shares/item/allowed_users/item/mailbox_settings/mailbox_settings_request_builder.py index ec8d3ed0899..d4779c506b3 100644 --- a/msgraph_beta/generated/print/shares/item/allowed_users/item/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/allowed_users/item/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/shares/item/allowed_users/item/ref/ref_request_builder.py b/msgraph_beta/generated/print/shares/item/allowed_users/item/ref/ref_request_builder.py index 5b027e218f0..81560c5efc9 100644 --- a/msgraph_beta/generated/print/shares/item/allowed_users/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/allowed_users/item/ref/ref_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Revoke the specified user's access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Revoke the specified user's access to submit print jobs to the associated printerShare. 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/printershare-delete-alloweduser?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Revoke the specified user's access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Revoke the specified user's access to submit print jobs to the associated printerShare. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Revoke the specified user's access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Revoke the specified user's access to submit print jobs to the associated printerShare. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/shares/item/allowed_users/item/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/print/shares/item/allowed_users/item/service_provisioning_errors/service_provisioning_errors_request_builder.py index de688478b39..e8d2ed7ba0d 100644 --- a/msgraph_beta/generated/print/shares/item/allowed_users/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/allowed_users/item/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/shares/item/allowed_users/ref/ref_request_builder.py b/msgraph_beta/generated/print/shares/item/allowed_users/ref/ref_request_builder.py index 1577f95c3ba..248fe3b8501 100644 --- a/msgraph_beta/generated/print/shares/item/allowed_users/ref/ref_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/allowed_users/ref/ref_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/printershare-list-allowedusers?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Grant the specified user access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Grant the specified user access to submit print jobs to the associated printerShare. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -74,7 +74,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Grant the specified user access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Grant the specified user access to submit print jobs to the associated printerShare. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -122,7 +122,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderGetQueryParameters(): """ - Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. This API is available in the following national cloud deployments. + Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/shares/item/jobs/item/abort/abort_request_builder.py b/msgraph_beta/generated/print/shares/item/jobs/item/abort/abort_request_builder.py index d90906af23c..30ed6d39b7f 100644 --- a/msgraph_beta/generated/print/shares/item/jobs/item/abort/abort_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/jobs/item/abort/abort_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AbortPostRequestBody] = None, request_configuration: Optional[AbortRequestBuilderPostRequestConfiguration] = None) -> None: """ - Abort a print job. Only applications using application permissions can abort a print job. Aborting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to register a task trigger, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Abort a print job. Only applications using application permissions can abort a print job. Aborting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to register a task trigger, see Extending Universal Print to support pull printing. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AbortPostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[AbortPostRequestBody] = None, request_configuration: Optional[AbortRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Abort a print job. Only applications using application permissions can abort a print job. Aborting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to register a task trigger, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Abort a print job. Only applications using application permissions can abort a print job. Aborting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to register a task trigger, see Extending Universal Print to support pull printing. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AbortPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/shares/item/jobs/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/print/shares/item/jobs/item/cancel/cancel_request_builder.py index 48ee9776b41..016bbde329a 100644 --- a/msgraph_beta/generated/print/shares/item/jobs/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/jobs/item/cancel/cancel_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - Cancel a print job. Print jobs can be canceled only on behalf of a user, using delegated permissions. This API is available in the following national cloud deployments. + Cancel a print job. Print jobs can be canceled only on behalf of a user, using delegated permissions. 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/printjob-cancel?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[CancelRequestBuilderPostRequ def to_post_request_information(self,request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Cancel a print job. Print jobs can be canceled only on behalf of a user, using delegated permissions. This API is available in the following national cloud deployments. + Cancel a print job. Print jobs can be canceled only on behalf of a user, using delegated permissions. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[CancelReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CancelRequestBuilder: diff --git a/msgraph_beta/generated/print/shares/item/jobs/item/cancel_print_job/cancel_print_job_request_builder.py b/msgraph_beta/generated/print/shares/item/jobs/item/cancel_print_job/cancel_print_job_request_builder.py index bbd7a84de7f..d273544bc2e 100644 --- a/msgraph_beta/generated/print/shares/item/jobs/item/cancel_print_job/cancel_print_job_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/jobs/item/cancel_print_job/cancel_print_job_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[CancelPrint request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CancelPrintJobRequestBuilder: diff --git a/msgraph_beta/generated/print/shares/item/jobs/item/documents/documents_request_builder.py b/msgraph_beta/generated/print/shares/item/jobs/item/documents/documents_request_builder.py index 0dd0b9e83af..5fcdaf12286 100644 --- a/msgraph_beta/generated/print/shares/item/jobs/item/documents/documents_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/jobs/item/documents/documents_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DocumentsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrintDocument] = None, request_configuration: Optional[DocumentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[PrintDocument] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/shares/item/jobs/item/documents/item/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/print/shares/item/jobs/item/documents/item/create_upload_session/create_upload_session_request_builder.py index 3cfc9070f54..4b37a310292 100644 --- a/msgraph_beta/generated/print/shares/item/jobs/item/documents/item/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/jobs/item/documents/item/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a binary file linked to the print document. As part of the response, this action returns an upload URL that can be used in subsequent sequential PUT queries. Request headers for each PUT operation can be used to specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a binary file linked to the print document. As part of the response, this action returns an upload URL that can be used in subsequent sequential PUT queries. Request headers for each PUT operation can be used to specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a binary file linked to the print document. As part of the response, this action returns an upload URL that can be used in subsequent sequential PUT queries. Request headers for each PUT operation can be used to specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a binary file linked to the print document. As part of the response, this action returns an upload URL that can be used in subsequent sequential PUT queries. Request headers for each PUT operation can be used to specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/shares/item/jobs/item/documents/item/print_document_item_request_builder.py b/msgraph_beta/generated/print/shares/item/jobs/item/documents/item/print_document_item_request_builder.py index 25ccd249dd1..a2021d4e21d 100644 --- a/msgraph_beta/generated/print/shares/item/jobs/item/documents/item/print_document_item_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/jobs/item/documents/item/print_document_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[PrintDocu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrintDocumentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[PrintDocumen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrintDocument] = None, request_configuration: Optional[PrintDocumentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PrintDocument] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/shares/item/jobs/item/documents/item/value/content_request_builder.py b/msgraph_beta/generated/print/shares/item/jobs/item/documents/item/value/content_request_builder.py index 6a9dad1f9ce..58d71028076 100644 --- a/msgraph_beta/generated/print/shares/item/jobs/item/documents/item/value/content_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/jobs/item/documents/item/value/content_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -98,7 +98,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/print/shares/item/jobs/item/print_job_item_request_builder.py b/msgraph_beta/generated/print/shares/item/jobs/item/print_job_item_request_builder.py index b3b4b5bd6e0..4004858beb1 100644 --- a/msgraph_beta/generated/print/shares/item/jobs/item/print_job_item_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/jobs/item/print_job_item_request_builder.py @@ -111,7 +111,7 @@ def to_delete_request_information(self,request_configuration: Optional[PrintJobI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrintJobItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -128,7 +128,7 @@ def to_get_request_information(self,request_configuration: Optional[PrintJobItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrintJob] = None, request_configuration: Optional[PrintJobItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[PrintJob] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/shares/item/jobs/item/redirect/redirect_request_builder.py b/msgraph_beta/generated/print/shares/item/jobs/item/redirect/redirect_request_builder.py index f7a532dc2d2..6c663bbe50a 100644 --- a/msgraph_beta/generated/print/shares/item/jobs/item/redirect/redirect_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/jobs/item/redirect/redirect_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RedirectPostRequestBody] = None, request_configuration: Optional[RedirectRequestBuilderPostRequestConfiguration] = None) -> Optional[PrintJob]: """ - Redirect a print job to a different printer. Redirecting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Redirect a print job to a different printer. Redirecting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintJob] @@ -54,7 +54,7 @@ async def post(self,body: Optional[RedirectPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[RedirectPostRequestBody] = None, request_configuration: Optional[RedirectRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Redirect a print job to a different printer. Redirecting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Redirect a print job to a different printer. Redirecting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[RedirectPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/shares/item/jobs/item/start/start_request_builder.py b/msgraph_beta/generated/print/shares/item/jobs/item/start/start_request_builder.py index a1c7be9cd87..ad95e487e6d 100644 --- a/msgraph_beta/generated/print/shares/item/jobs/item/start/start_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/jobs/item/start/start_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[StartReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> StartRequestBuilder: diff --git a/msgraph_beta/generated/print/shares/item/jobs/item/start_print_job/start_print_job_request_builder.py b/msgraph_beta/generated/print/shares/item/jobs/item/start_print_job/start_print_job_request_builder.py index 339dd47a0c2..2d2dc94e43c 100644 --- a/msgraph_beta/generated/print/shares/item/jobs/item/start_print_job/start_print_job_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/jobs/item/start_print_job/start_print_job_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[StartPrintJ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> StartPrintJobRequestBuilder: diff --git a/msgraph_beta/generated/print/shares/item/jobs/item/tasks/item/definition/definition_request_builder.py b/msgraph_beta/generated/print/shares/item/jobs/item/tasks/item/definition/definition_request_builder.py index 9dc432c2c90..dcdd9cb1489 100644 --- a/msgraph_beta/generated/print/shares/item/jobs/item/tasks/item/definition/definition_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/jobs/item/tasks/item/definition/definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DefinitionRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DefinitionRequestBuilder: diff --git a/msgraph_beta/generated/print/shares/item/jobs/item/tasks/item/print_task_item_request_builder.py b/msgraph_beta/generated/print/shares/item/jobs/item/tasks/item/print_task_item_request_builder.py index 51afd687705..e7ecbc8d2f7 100644 --- a/msgraph_beta/generated/print/shares/item/jobs/item/tasks/item/print_task_item_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/jobs/item/tasks/item/print_task_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[PrintTask request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrintTaskItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[PrintTaskIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrintTask] = None, request_configuration: Optional[PrintTaskItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PrintTask] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/shares/item/jobs/item/tasks/item/trigger/trigger_request_builder.py b/msgraph_beta/generated/print/shares/item/jobs/item/tasks/item/trigger/trigger_request_builder.py index 334145a9a7d..42743e4b5f3 100644 --- a/msgraph_beta/generated/print/shares/item/jobs/item/tasks/item/trigger/trigger_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/jobs/item/tasks/item/trigger/trigger_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TriggerReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TriggerRequestBuilder: diff --git a/msgraph_beta/generated/print/shares/item/jobs/item/tasks/tasks_request_builder.py b/msgraph_beta/generated/print/shares/item/jobs/item/tasks/tasks_request_builder.py index 962a89f4ac4..154eeeebf7b 100644 --- a/msgraph_beta/generated/print/shares/item/jobs/item/tasks/tasks_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/jobs/item/tasks/tasks_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[TasksRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrintTask] = None, request_configuration: Optional[TasksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[PrintTask] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/shares/item/jobs/jobs_request_builder.py b/msgraph_beta/generated/print/shares/item/jobs/jobs_request_builder.py index cf4e68ee113..bf93fe794d3 100644 --- a/msgraph_beta/generated/print/shares/item/jobs/jobs_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/jobs/jobs_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[JobsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrintJob] = None, request_configuration: Optional[JobsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[PrintJob] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/print/shares/item/printer/printer_request_builder.py b/msgraph_beta/generated/print/shares/item/printer/printer_request_builder.py index 0ae7f8a8de4..0340e6e1056 100644 --- a/msgraph_beta/generated/print/shares/item/printer/printer_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/printer/printer_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrinterReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrinterRequestBuilder: diff --git a/msgraph_beta/generated/print/shares/item/printer_share_item_request_builder.py b/msgraph_beta/generated/print/shares/item/printer_share_item_request_builder.py index 7d818e44a8b..8072b083732 100644 --- a/msgraph_beta/generated/print/shares/item/printer_share_item_request_builder.py +++ b/msgraph_beta/generated/print/shares/item/printer_share_item_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[PrinterShareItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a printer share (unshare the associated printer). This action can't be undone. If the printer is shared again in the future, any Windows users who had previously installed the printer needs to discover and reinstall it. This API is available in the following national cloud deployments. + Delete a printer share (unshare the associated printer). This action can't be undone. If the printer is shared again in the future, any Windows users who had previously installed the printer needs to discover and reinstall it. 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/printershare-delete?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[PrinterShareItemRequestBui async def get(self,request_configuration: Optional[PrinterShareItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PrinterShare]: """ - Retrieve the properties and relationships of a printer share. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a printer share. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrinterShare] Find more info here: https://learn.microsoft.com/graph/api/printershare-get?view=graph-rest-1.0 @@ -74,7 +74,7 @@ async def get(self,request_configuration: Optional[PrinterShareItemRequestBuilde async def patch(self,body: Optional[PrinterShare] = None, request_configuration: Optional[PrinterShareItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[PrinterShare]: """ - Update the properties of a printer share. This method can be used to swap printers. For example, if a physical printer device breaks, an administrator can register a new printer device and update this printerShare to point to the new printer without requiring users to take any action. This API is available in the following national cloud deployments. + Update the properties of a printer share. This method can be used to swap printers. For example, if a physical printer device breaks, an administrator can register a new printer device and update this printerShare to point to the new printer without requiring users to take any action. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrinterShare] @@ -99,7 +99,7 @@ async def patch(self,body: Optional[PrinterShare] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[PrinterShareItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a printer share (unshare the associated printer). This action can't be undone. If the printer is shared again in the future, any Windows users who had previously installed the printer needs to discover and reinstall it. This API is available in the following national cloud deployments. + Delete a printer share (unshare the associated printer). This action can't be undone. If the printer is shared again in the future, any Windows users who had previously installed the printer needs to discover and reinstall it. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -110,12 +110,12 @@ def to_delete_request_information(self,request_configuration: Optional[PrinterSh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrinterShareItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a printer share. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a printer share. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -127,12 +127,12 @@ def to_get_request_information(self,request_configuration: Optional[PrinterShare request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrinterShare] = None, request_configuration: Optional[PrinterShareItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a printer share. This method can be used to swap printers. For example, if a physical printer device breaks, an administrator can register a new printer device and update this printerShare to point to the new printer without requiring users to take any action. This API is available in the following national cloud deployments. + Update the properties of a printer share. This method can be used to swap printers. For example, if a physical printer device breaks, an administrator can register a new printer device and update this printerShare to point to the new printer without requiring users to take any action. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[PrinterShare] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -209,7 +209,7 @@ class PrinterShareItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class PrinterShareItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a printer share. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a printer share. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/shares/shares_request_builder.py b/msgraph_beta/generated/print/shares/shares_request_builder.py index 4a77536a2b8..935b5d7fc30 100644 --- a/msgraph_beta/generated/print/shares/shares_request_builder.py +++ b/msgraph_beta/generated/print/shares/shares_request_builder.py @@ -45,7 +45,7 @@ def by_printer_share_id(self,printer_share_id: str) -> PrinterShareItemRequestBu async def get(self,request_configuration: Optional[SharesRequestBuilderGetRequestConfiguration] = None) -> Optional[PrinterShareCollectionResponse]: """ - Retrieve a list of printerShares. This API is available in the following national cloud deployments. + Retrieve a list of printerShares. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrinterShareCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/print-list-shares?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SharesRequestBuilderGetReques async def post(self,body: Optional[PrinterShare] = None, request_configuration: Optional[SharesRequestBuilderPostRequestConfiguration] = None) -> Optional[PrinterShare]: """ - Create a new printerShare for the specified printer. This API is available in the following national cloud deployments. + Create a new printerShare for the specified printer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrinterShare] @@ -92,7 +92,7 @@ async def post(self,body: Optional[PrinterShare] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[SharesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of printerShares. This API is available in the following national cloud deployments. + Retrieve a list of printerShares. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SharesReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrinterShare] = None, request_configuration: Optional[SharesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new printerShare for the specified printer. This API is available in the following national cloud deployments. + Create a new printerShare for the specified printer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PrinterShare] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SharesRequestBuilderGetQueryParameters(): """ - Retrieve a list of printerShares. This API is available in the following national cloud deployments. + Retrieve a list of printerShares. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/task_definitions/item/print_task_definition_item_request_builder.py b/msgraph_beta/generated/print/task_definitions/item/print_task_definition_item_request_builder.py index 072295ee1fa..88c1108c425 100644 --- a/msgraph_beta/generated/print/task_definitions/item/print_task_definition_item_request_builder.py +++ b/msgraph_beta/generated/print/task_definitions/item/print_task_definition_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[PrintTaskDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a taskDefinition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Delete a taskDefinition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. 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/print-delete-taskdefinition?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[PrintTaskDefinitionItemReq async def get(self,request_configuration: Optional[PrintTaskDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PrintTaskDefinition]: """ - Get details about a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Get details about a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintTaskDefinition] Find more info here: https://learn.microsoft.com/graph/api/printtaskdefinition-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[PrintTaskDefinitionItemReques async def patch(self,body: Optional[PrintTaskDefinition] = None, request_configuration: Optional[PrintTaskDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[PrintTaskDefinition]: """ - Update a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Update a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintTaskDefinition] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[PrintTaskDefinition] = None, request_configu def to_delete_request_information(self,request_configuration: Optional[PrintTaskDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a taskDefinition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Delete a taskDefinition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[PrintTask request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrintTaskDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get details about a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Get details about a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[PrintTaskDef request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrintTaskDefinition] = None, request_configuration: Optional[PrintTaskDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Update a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[PrintTaskDefinition] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class PrintTaskDefinitionItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class PrintTaskDefinitionItemRequestBuilderGetQueryParameters(): """ - Get details about a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Get details about a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/task_definitions/item/tasks/item/definition/definition_request_builder.py b/msgraph_beta/generated/print/task_definitions/item/tasks/item/definition/definition_request_builder.py index dcf8b092dd6..10bf025b257 100644 --- a/msgraph_beta/generated/print/task_definitions/item/tasks/item/definition/definition_request_builder.py +++ b/msgraph_beta/generated/print/task_definitions/item/tasks/item/definition/definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DefinitionRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DefinitionRequestBuilder: diff --git a/msgraph_beta/generated/print/task_definitions/item/tasks/item/print_task_item_request_builder.py b/msgraph_beta/generated/print/task_definitions/item/tasks/item/print_task_item_request_builder.py index 918fcbecb5c..b7517d18b3d 100644 --- a/msgraph_beta/generated/print/task_definitions/item/tasks/item/print_task_item_request_builder.py +++ b/msgraph_beta/generated/print/task_definitions/item/tasks/item/print_task_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[PrintTaskItemRequestBuilde async def get(self,request_configuration: Optional[PrintTaskItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PrintTask]: """ - Get details about a print task. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Get details about a print task. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintTask] Find more info here: https://learn.microsoft.com/graph/api/printtask-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[PrintTaskItemRequestBuilderGe async def patch(self,body: Optional[PrintTask] = None, request_configuration: Optional[PrintTaskItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[PrintTask]: """ - Update a print task. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Update a print task. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintTask] @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[PrintTask request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrintTaskItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get details about a print task. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Get details about a print task. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[PrintTaskIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrintTask] = None, request_configuration: Optional[PrintTaskItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update a print task. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Update a print task. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[PrintTask] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ class PrintTaskItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class PrintTaskItemRequestBuilderGetQueryParameters(): """ - Get details about a print task. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Get details about a print task. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/task_definitions/item/tasks/item/trigger/trigger_request_builder.py b/msgraph_beta/generated/print/task_definitions/item/tasks/item/trigger/trigger_request_builder.py index 18329a11c28..52786acbcd7 100644 --- a/msgraph_beta/generated/print/task_definitions/item/tasks/item/trigger/trigger_request_builder.py +++ b/msgraph_beta/generated/print/task_definitions/item/tasks/item/trigger/trigger_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TriggerReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TriggerRequestBuilder: diff --git a/msgraph_beta/generated/print/task_definitions/item/tasks/tasks_request_builder.py b/msgraph_beta/generated/print/task_definitions/item/tasks/tasks_request_builder.py index 234d84f68ee..c7e56061629 100644 --- a/msgraph_beta/generated/print/task_definitions/item/tasks/tasks_request_builder.py +++ b/msgraph_beta/generated/print/task_definitions/item/tasks/tasks_request_builder.py @@ -45,7 +45,7 @@ def by_print_task_id(self,print_task_id: str) -> PrintTaskItemRequestBuilder: async def get(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> Optional[PrintTaskCollectionResponse]: """ - Retrieve a list of tasks associated with a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Retrieve a list of tasks associated with a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintTaskCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/printtaskdefinition-list-tasks?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[PrintTask] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of tasks associated with a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Retrieve a list of tasks associated with a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[TasksRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrintTask] = None, request_configuration: Optional[TasksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[PrintTask] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TasksRequestBuilderGetQueryParameters(): """ - Retrieve a list of tasks associated with a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Retrieve a list of tasks associated with a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/print/task_definitions/task_definitions_request_builder.py b/msgraph_beta/generated/print/task_definitions/task_definitions_request_builder.py index 3a8b02b7898..ba3734677e6 100644 --- a/msgraph_beta/generated/print/task_definitions/task_definitions_request_builder.py +++ b/msgraph_beta/generated/print/task_definitions/task_definitions_request_builder.py @@ -45,7 +45,7 @@ def by_print_task_definition_id(self,print_task_definition_id: str) -> PrintTask async def get(self,request_configuration: Optional[TaskDefinitionsRequestBuilderGetRequestConfiguration] = None) -> Optional[PrintTaskDefinitionCollectionResponse]: """ - Retrieve a list of task definitions that the requesting app defined in the tenant. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Retrieve a list of task definitions that the requesting app defined in the tenant. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintTaskDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/print-list-taskdefinitions?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TaskDefinitionsRequestBuilder async def post(self,body: Optional[PrintTaskDefinition] = None, request_configuration: Optional[TaskDefinitionsRequestBuilderPostRequestConfiguration] = None) -> Optional[PrintTaskDefinition]: """ - Create a new task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Create a new task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintTaskDefinition] @@ -92,7 +92,7 @@ async def post(self,body: Optional[PrintTaskDefinition] = None, request_configur def to_get_request_information(self,request_configuration: Optional[TaskDefinitionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of task definitions that the requesting app defined in the tenant. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Retrieve a list of task definitions that the requesting app defined in the tenant. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[TaskDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrintTaskDefinition] = None, request_configuration: Optional[TaskDefinitionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Create a new task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PrintTaskDefinition] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TaskDefinitionsRequestBuilderGetQueryParameters(): """ - Retrieve a list of task definitions that the requesting app defined in the tenant. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. This API is available in the following national cloud deployments. + Retrieve a list of task definitions that the requesting app defined in the tenant. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/privacy/privacy_request_builder.py b/msgraph_beta/generated/privacy/privacy_request_builder.py index 5309ca6f90a..d71e1774df8 100644 --- a/msgraph_beta/generated/privacy/privacy_request_builder.py +++ b/msgraph_beta/generated/privacy/privacy_request_builder.py @@ -86,7 +86,7 @@ def to_get_request_information(self,request_configuration: Optional[PrivacyReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Privacy] = None, request_configuration: Optional[PrivacyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -105,7 +105,7 @@ def to_patch_request_information(self,body: Optional[Privacy] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/approvers_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/approvers_request_builder.py index 03ba67347f6..624e63f5131 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/approvers_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/approvers_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[ApproversReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ApproversRequestBuilder: diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/mailbox_settings/mailbox_settings_request_builder.py index af86430b646..4bb3f6fc925 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/service_provisioning_errors/service_provisioning_errors_request_builder.py index c43e70a71c7..ce89aaeec91 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/user_item_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/user_item_request_builder.py index 200edcc00bf..7f61d8b8a54 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/user_item_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/approvers/item/user_item_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[UserItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserItemRequestBuilder: diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/collaborators_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/collaborators_request_builder.py index 614dd48879e..37907c9c7d0 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/collaborators_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/collaborators_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[Collaborator request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CollaboratorsRequestBuilder: diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/mailbox_settings/mailbox_settings_request_builder.py index 70c9c9c70fa..a7cc816d126 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/service_provisioning_errors/service_provisioning_errors_request_builder.py index f95f19c485b..42afab8d87e 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/user_item_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/user_item_request_builder.py index 86561f55fc2..261db5214d8 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/user_item_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/collaborators/item/user_item_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[UserItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserItemRequestBuilder: diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/get_final_attachment/get_final_attachment_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/get_final_attachment/get_final_attachment_request_builder.py index 87abc05ce7b..a33a50303d8 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/get_final_attachment/get_final_attachment_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/get_final_attachment/get_final_attachment_request_builder.py @@ -57,7 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[GetFinalAtta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetFinalAttachmentRequestBuilder: diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/get_final_report/get_final_report_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/get_final_report/get_final_report_request_builder.py index 3fb161399b8..73d86e24c3c 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/get_final_report/get_final_report_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/get_final_report/get_final_report_request_builder.py @@ -57,7 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[GetFinalRepo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetFinalReportRequestBuilder: diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/notes/item/authored_note_item_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/notes/item/authored_note_item_request_builder.py index 09a4bd3870c..7c392a572a3 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/notes/item/authored_note_item_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/notes/item/authored_note_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AuthoredN request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AuthoredNoteItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AuthoredNote request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AuthoredNote] = None, request_configuration: Optional[AuthoredNoteItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AuthoredNote] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/notes/notes_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/notes/notes_request_builder.py index 5f799011f39..c16aa1c1606 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/notes/notes_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/notes/notes_request_builder.py @@ -45,7 +45,7 @@ def by_authored_note_id(self,authored_note_id: str) -> AuthoredNoteItemRequestBu async def get(self,request_configuration: Optional[NotesRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthoredNoteCollectionResponse]: """ - Get the list of authored notes associated with a subject rights request. This API is available in the following national cloud deployments. + Get the list of authored notes associated with a subject rights request. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthoredNoteCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/subjectrightsrequest-list-notes?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[NotesRequestBuilderGetRequest async def post(self,body: Optional[AuthoredNote] = None, request_configuration: Optional[NotesRequestBuilderPostRequestConfiguration] = None) -> Optional[AuthoredNote]: """ - Create a new authoredNote object. This API is available in the following national cloud deployments. + Create a new authoredNote object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthoredNote] @@ -92,7 +92,7 @@ async def post(self,body: Optional[AuthoredNote] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[NotesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of authored notes associated with a subject rights request. This API is available in the following national cloud deployments. + Get the list of authored notes associated with a subject rights request. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[NotesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AuthoredNote] = None, request_configuration: Optional[NotesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new authoredNote object. This API is available in the following national cloud deployments. + Create a new authoredNote object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[AuthoredNote] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class NotesRequestBuilderGetQueryParameters(): """ - Get the list of authored notes associated with a subject rights request. This API is available in the following national cloud deployments. + Get the list of authored notes associated with a subject rights request. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/subject_rights_request_item_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/subject_rights_request_item_request_builder.py index bad651b29de..b10dce92512 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/subject_rights_request_item_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/subject_rights_request_item_request_builder.py @@ -53,7 +53,7 @@ async def delete(self,request_configuration: Optional[SubjectRightsRequestItemRe async def get(self,request_configuration: Optional[SubjectRightsRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SubjectRightsRequest]: """ - Read the properties and relationships of a subjectRightsRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of a subjectRightsRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SubjectRightsRequest] Find more info here: https://learn.microsoft.com/graph/api/subjectrightsrequest-get?view=graph-rest-1.0 @@ -75,7 +75,7 @@ async def get(self,request_configuration: Optional[SubjectRightsRequestItemReque async def patch(self,body: Optional[SubjectRightsRequest] = None, request_configuration: Optional[SubjectRightsRequestItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[SubjectRightsRequest]: """ - Update the properties of a subjectRightsRequest object. This API is available in the following national cloud deployments. + Update the properties of a subjectRightsRequest object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SubjectRightsRequest] @@ -111,12 +111,12 @@ def to_delete_request_information(self,request_configuration: Optional[SubjectRi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SubjectRightsRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a subjectRightsRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of a subjectRightsRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -128,12 +128,12 @@ def to_get_request_information(self,request_configuration: Optional[SubjectRight request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SubjectRightsRequest] = None, request_configuration: Optional[SubjectRightsRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a subjectRightsRequest object. This API is available in the following national cloud deployments. + Update the properties of a subjectRightsRequest object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[SubjectRightsRequest] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -228,7 +228,7 @@ class SubjectRightsRequestItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class SubjectRightsRequestItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a subjectRightsRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of a subjectRightsRequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/item/team/team_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/item/team/team_request_builder.py index 131427dfe01..9453522ec88 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/item/team/team_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/item/team/team_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamRequestBuilder: diff --git a/msgraph_beta/generated/privacy/subject_rights_requests/subject_rights_requests_request_builder.py b/msgraph_beta/generated/privacy/subject_rights_requests/subject_rights_requests_request_builder.py index 5a45cad0a4e..0a4bac58634 100644 --- a/msgraph_beta/generated/privacy/subject_rights_requests/subject_rights_requests_request_builder.py +++ b/msgraph_beta/generated/privacy/subject_rights_requests/subject_rights_requests_request_builder.py @@ -45,7 +45,7 @@ def by_subject_rights_request_id(self,subject_rights_request_id: str) -> Subject async def get(self,request_configuration: Optional[SubjectRightsRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[SubjectRightsRequestCollectionResponse]: """ - Get a list of subjectRightsRequest objects and their properties. This API is available in the following national cloud deployments. + Get a list of subjectRightsRequest objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SubjectRightsRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/subjectrightsrequest-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SubjectRightsRequestsRequestB async def post(self,body: Optional[SubjectRightsRequest] = None, request_configuration: Optional[SubjectRightsRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[SubjectRightsRequest]: """ - Create a new subjectRightsRequest object. This API is available in the following national cloud deployments. + Create a new subjectRightsRequest object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SubjectRightsRequest] @@ -92,7 +92,7 @@ async def post(self,body: Optional[SubjectRightsRequest] = None, request_configu def to_get_request_information(self,request_configuration: Optional[SubjectRightsRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of subjectRightsRequest objects and their properties. This API is available in the following national cloud deployments. + Get a list of subjectRightsRequest objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SubjectRight request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SubjectRightsRequest] = None, request_configuration: Optional[SubjectRightsRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new subjectRightsRequest object. This API is available in the following national cloud deployments. + Create a new subjectRightsRequest object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[SubjectRightsRequest] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SubjectRightsRequestsRequestBuilderGetQueryParameters(): """ - Get a list of subjectRightsRequest objects and their properties. This API is available in the following national cloud deployments. + Get a list of subjectRightsRequest objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/privileged_access/item/privileged_access_item_request_builder.py b/msgraph_beta/generated/privileged_access/item/privileged_access_item_request_builder.py index 007f6fcaca6..771c452ca5c 100644 --- a/msgraph_beta/generated/privileged_access/item/privileged_access_item_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/privileged_access_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[Privilege request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrivilegedAccessItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[PrivilegedAc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrivilegedAccess] = None, request_configuration: Optional[PrivilegedAccessItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[PrivilegedAccess] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/governance_resource_item_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/governance_resource_item_request_builder.py index 1faaa8bd1e5..ef624c9c074 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/governance_resource_item_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/governance_resource_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[Governanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GovernanceResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceResource] = None, request_configuration: Optional[GovernanceResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[GovernanceResource] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/parent/parent_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/parent/parent_request_builder.py index b852fe406a6..1cfea97473d 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/parent/parent_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/parent/parent_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentRequestBuilder: diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/cancel/cancel_request_builder.py index 928559e3ac3..4e5a1df1189 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/cancel/cancel_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[CancelReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CancelRequestBuilder: diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/governance_role_assignment_request_item_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/governance_role_assignment_request_item_request_builder.py index cbd6cf81bf2..6f7b6b80387 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/governance_role_assignment_request_item_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/governance_role_assignment_request_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[Governanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GovernanceRoleAssignmentRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceRoleAssignmentRequest] = None, request_configuration: Optional[GovernanceRoleAssignmentRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[GovernanceRoleAssignmentReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/resource/resource_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/resource/resource_request_builder.py index 332010db60b..953ca2693c9 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/resource/resource_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/role_definition/resource/resource_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/role_definition/resource/resource_request_builder.py index 553ba6fd339..33d488cfbd7 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/role_definition/resource/resource_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/role_definition/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/role_definition/role_definition_request_builder.py index e53eef9e5ac..e5fdaf0c6d6 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/role_definition/role_definition_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RoleDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RoleDefinitionRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = None, request_configuration: Optional[RoleDefinitionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/role_definition/role_setting/role_setting_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/role_definition/role_setting/role_setting_request_builder.py index 5b07fbaf95a..32167577f5e 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/role_definition/role_setting/role_setting_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/role_definition/role_setting/role_setting_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleSettingR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleSettingRequestBuilder: diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/subject/subject_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/subject/subject_request_builder.py index 26789d678eb..c06fe953f33 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/subject/subject_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/subject/subject_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[SubjectRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SubjectRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SubjectReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceSubject] = None, request_configuration: Optional[SubjectRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[GovernanceSubject] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/update_request/update_request_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/update_request/update_request_request_builder.py index 94cd60449d4..97680b6bbb6 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/update_request/update_request_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/item/update_request/update_request_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[UpdateRequestPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/role_assignment_requests_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/role_assignment_requests_request_builder.py index a84d74ae5f9..fbcad6d71a4 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/role_assignment_requests_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignment_requests/role_assignment_requests_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleAssignme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GovernanceRoleAssignmentRequest] = None, request_configuration: Optional[RoleAssignmentRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GovernanceRoleAssignmentRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/export/export_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/export/export_request_builder.py index 8af9dec9f9b..be11a5a6773 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/export/export_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/export/export_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ExportReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExportRequestBuilder: diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/item/governance_role_assignment_item_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/item/governance_role_assignment_item_request_builder.py index c489d8f358c..7849db2c396 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/item/governance_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/item/governance_role_assignment_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[Governanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GovernanceRoleAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceRoleAssignment] = None, request_configuration: Optional[GovernanceRoleAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[GovernanceRoleAssignment] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/item/linked_eligible_role_assignment/linked_eligible_role_assignment_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/item/linked_eligible_role_assignment/linked_eligible_role_assignment_request_builder.py index 311595017ef..5968d9d76b7 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/item/linked_eligible_role_assignment/linked_eligible_role_assignment_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/item/linked_eligible_role_assignment/linked_eligible_role_assignment_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[LinkedEligib request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LinkedEligibleRoleAssignmentRequestBuilder: diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/item/resource/resource_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/item/resource/resource_request_builder.py index fed22477aea..f01bf410f26 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/item/resource/resource_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/item/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/item/role_definition/resource/resource_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/item/role_definition/resource/resource_request_builder.py index af7dcd0ede3..3149f37f15c 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/item/role_definition/resource/resource_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/item/role_definition/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/item/role_definition/role_definition_request_builder.py index 0373715337d..99717360b9d 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/item/role_definition/role_definition_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RoleDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RoleDefinitionRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = None, request_configuration: Optional[RoleDefinitionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/item/role_definition/role_setting/role_setting_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/item/role_definition/role_setting/role_setting_request_builder.py index 26961d110a1..64505c50f6c 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/item/role_definition/role_setting/role_setting_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/item/role_definition/role_setting/role_setting_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleSettingR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleSettingRequestBuilder: diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/item/subject/subject_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/item/subject/subject_request_builder.py index a910d44f139..f9e562270f9 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/item/subject/subject_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/item/subject/subject_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[SubjectRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SubjectRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SubjectReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceSubject] = None, request_configuration: Optional[SubjectRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[GovernanceSubject] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/role_assignments_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/role_assignments_request_builder.py index 83625dbb9ee..2f254aabcab 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/role_assignments_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_assignments/role_assignments_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleAssignme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GovernanceRoleAssignment] = None, request_configuration: Optional[RoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[GovernanceRoleAssignment] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_definitions/item/governance_role_definition_item_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_definitions/item/governance_role_definition_item_request_builder.py index 1ac19cb914e..9ab051e9c78 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_definitions/item/governance_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_definitions/item/governance_role_definition_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Governanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GovernanceRoleDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = None, request_configuration: Optional[GovernanceRoleDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_definitions/item/resource/resource_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_definitions/item/resource/resource_request_builder.py index 805af1460e2..f697edd3c6a 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_definitions/item/resource/resource_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_definitions/item/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_definitions/item/role_setting/role_setting_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_definitions/item/role_setting/role_setting_request_builder.py index d96f2b82701..67a91b13e26 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_definitions/item/role_setting/role_setting_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_definitions/item/role_setting/role_setting_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleSettingR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleSettingRequestBuilder: diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_definitions/role_definitions_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_definitions/role_definitions_request_builder.py index 872f19f0ca2..b701d38c77e 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_definitions/role_definitions_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_definitions/role_definitions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GovernanceRoleDefinition] = None, request_configuration: Optional[RoleDefinitionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GovernanceRoleDefinition] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_settings/item/governance_role_setting_item_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_settings/item/governance_role_setting_item_request_builder.py index 9ea036d4170..8b1567e77d7 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_settings/item/governance_role_setting_item_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_settings/item/governance_role_setting_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Governanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GovernanceRoleSettingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceRoleSetting] = None, request_configuration: Optional[GovernanceRoleSettingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[GovernanceRoleSetting] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_settings/item/resource/resource_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_settings/item/resource/resource_request_builder.py index 60a379db589..bd3079cc36f 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_settings/item/resource/resource_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_settings/item/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_settings/item/role_definition/resource/resource_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_settings/item/role_definition/resource/resource_request_builder.py index 9740e0a47d2..99db56f4fbe 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_settings/item/role_definition/resource/resource_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_settings/item/role_definition/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_settings/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_settings/item/role_definition/role_definition_request_builder.py index ee8dde64be4..a7beb190325 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_settings/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_settings/item/role_definition/role_definition_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RoleDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RoleDefinitionRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = None, request_configuration: Optional[RoleDefinitionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_settings/item/role_definition/role_setting/role_setting_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_settings/item/role_definition/role_setting/role_setting_request_builder.py index c6e5cae8650..0a58e714125 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_settings/item/role_definition/role_setting/role_setting_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_settings/item/role_definition/role_setting/role_setting_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleSettingR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleSettingRequestBuilder: diff --git a/msgraph_beta/generated/privileged_access/item/resources/item/role_settings/role_settings_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/item/role_settings/role_settings_request_builder.py index f6d0d21f9ea..788e730a10d 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/item/role_settings/role_settings_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/item/role_settings/role_settings_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleSettings request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GovernanceRoleSetting] = None, request_configuration: Optional[RoleSettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GovernanceRoleSetting] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_access/item/resources/register/register_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/register/register_request_builder.py index 348c6967e4d..5cfa40c0428 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/register/register_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/register/register_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[RegisterPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_access/item/resources/resources_request_builder.py b/msgraph_beta/generated/privileged_access/item/resources/resources_request_builder.py index a2988427439..e34b3b2a223 100644 --- a/msgraph_beta/generated/privileged_access/item/resources/resources_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/resources/resources_request_builder.py @@ -46,7 +46,7 @@ def by_governance_resource_id(self,governance_resource_id: str) -> GovernanceRes async def get(self,request_configuration: Optional[ResourcesRequestBuilderGetRequestConfiguration] = None) -> Optional[GovernanceResourceCollectionResponse]: """ - Retrieve a collection of governanceResource that the requestor has access to. This API is available in the following national cloud deployments. + Retrieve a collection of governanceResource that the requestor has access to. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceResourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/governanceresource-list?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[GovernanceResource] = None, request_configura def to_get_request_information(self,request_configuration: Optional[ResourcesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a collection of governanceResource that the requestor has access to. This API is available in the following national cloud deployments. + Retrieve a collection of governanceResource that the requestor has access to. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourcesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GovernanceResource] = None, request_configuration: Optional[ResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[GovernanceResource] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def register(self) -> RegisterRequestBuilder: @dataclass class ResourcesRequestBuilderGetQueryParameters(): """ - Retrieve a collection of governanceResource that the requestor has access to. This API is available in the following national cloud deployments. + Retrieve a collection of governanceResource that the requestor has access to. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/cancel/cancel_request_builder.py index 0f1004b2333..5032dd4f1d1 100644 --- a/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/cancel/cancel_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[CancelReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CancelRequestBuilder: diff --git a/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/governance_role_assignment_request_item_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/governance_role_assignment_request_item_request_builder.py index 109ba9f0b4d..27d48446014 100644 --- a/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/governance_role_assignment_request_item_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/governance_role_assignment_request_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[Governanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GovernanceRoleAssignmentRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceRoleAssignmentRequest] = None, request_configuration: Optional[GovernanceRoleAssignmentRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[GovernanceRoleAssignmentReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/resource/resource_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/resource/resource_request_builder.py index b58742212d4..482c9827f65 100644 --- a/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/resource/resource_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/role_definition/resource/resource_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/role_definition/resource/resource_request_builder.py index dc40f4edbf0..51ba4771936 100644 --- a/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/role_definition/resource/resource_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/role_definition/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/role_definition/role_definition_request_builder.py index ba4f0f390fb..b0d2d0c6706 100644 --- a/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/role_definition/role_definition_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RoleDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RoleDefinitionRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = None, request_configuration: Optional[RoleDefinitionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/role_definition/role_setting/role_setting_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/role_definition/role_setting/role_setting_request_builder.py index fe1e2f1c748..9a9a32b6ca0 100644 --- a/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/role_definition/role_setting/role_setting_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/role_definition/role_setting/role_setting_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleSettingR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleSettingRequestBuilder: diff --git a/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/subject/subject_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/subject/subject_request_builder.py index ede7b9c953d..e9ecd82bf86 100644 --- a/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/subject/subject_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/subject/subject_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[SubjectRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SubjectRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SubjectReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceSubject] = None, request_configuration: Optional[SubjectRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[GovernanceSubject] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/update_request/update_request_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/update_request/update_request_request_builder.py index 91bd2702d0a..6d7eb26b0b3 100644 --- a/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/update_request/update_request_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_assignment_requests/item/update_request/update_request_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[UpdateRequestPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_access/item/role_assignment_requests/role_assignment_requests_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_assignment_requests/role_assignment_requests_request_builder.py index 5fc74c310eb..e4f484d73db 100644 --- a/msgraph_beta/generated/privileged_access/item/role_assignment_requests/role_assignment_requests_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_assignment_requests/role_assignment_requests_request_builder.py @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[RoleAssignmentRequestsRequest async def post(self,body: Optional[GovernanceRoleAssignmentRequest] = None, request_configuration: Optional[RoleAssignmentRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[GovernanceRoleAssignmentRequest]: """ - Create a role assignment request to represent the operation you want on a role assignment. The following table lists the operations. This API is available in the following national cloud deployments. + Create a role assignment request to represent the operation you want on a role assignment. The following table lists the operations. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceRoleAssignmentRequest] @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[RoleAssignme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GovernanceRoleAssignmentRequest] = None, request_configuration: Optional[RoleAssignmentRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a role assignment request to represent the operation you want on a role assignment. The following table lists the operations. This API is available in the following national cloud deployments. + Create a role assignment request to represent the operation you want on a role assignment. The following table lists the operations. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[GovernanceRoleAssignmentRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_access/item/role_assignments/export/export_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_assignments/export/export_request_builder.py index 46e2001b678..98dd1394944 100644 --- a/msgraph_beta/generated/privileged_access/item/role_assignments/export/export_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_assignments/export/export_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ExportReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExportRequestBuilder: diff --git a/msgraph_beta/generated/privileged_access/item/role_assignments/item/governance_role_assignment_item_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_assignments/item/governance_role_assignment_item_request_builder.py index 0e362f42a2a..61ae8c5601e 100644 --- a/msgraph_beta/generated/privileged_access/item/role_assignments/item/governance_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_assignments/item/governance_role_assignment_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[Governanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GovernanceRoleAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceRoleAssignment] = None, request_configuration: Optional[GovernanceRoleAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[GovernanceRoleAssignment] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_access/item/role_assignments/item/linked_eligible_role_assignment/linked_eligible_role_assignment_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_assignments/item/linked_eligible_role_assignment/linked_eligible_role_assignment_request_builder.py index 23bdcad9e50..b0c62704691 100644 --- a/msgraph_beta/generated/privileged_access/item/role_assignments/item/linked_eligible_role_assignment/linked_eligible_role_assignment_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_assignments/item/linked_eligible_role_assignment/linked_eligible_role_assignment_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[LinkedEligib request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LinkedEligibleRoleAssignmentRequestBuilder: diff --git a/msgraph_beta/generated/privileged_access/item/role_assignments/item/resource/resource_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_assignments/item/resource/resource_request_builder.py index db7bb24514a..6ba8fd7c170 100644 --- a/msgraph_beta/generated/privileged_access/item/role_assignments/item/resource/resource_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_assignments/item/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/privileged_access/item/role_assignments/item/role_definition/resource/resource_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_assignments/item/role_definition/resource/resource_request_builder.py index 036bf78f38d..05611f1312d 100644 --- a/msgraph_beta/generated/privileged_access/item/role_assignments/item/role_definition/resource/resource_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_assignments/item/role_definition/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/privileged_access/item/role_assignments/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_assignments/item/role_definition/role_definition_request_builder.py index 7c57a03010a..7c9de0ce09e 100644 --- a/msgraph_beta/generated/privileged_access/item/role_assignments/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_assignments/item/role_definition/role_definition_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RoleDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RoleDefinitionRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = None, request_configuration: Optional[RoleDefinitionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_access/item/role_assignments/item/role_definition/role_setting/role_setting_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_assignments/item/role_definition/role_setting/role_setting_request_builder.py index dc912fe1b2e..c4b37e58057 100644 --- a/msgraph_beta/generated/privileged_access/item/role_assignments/item/role_definition/role_setting/role_setting_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_assignments/item/role_definition/role_setting/role_setting_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleSettingR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleSettingRequestBuilder: diff --git a/msgraph_beta/generated/privileged_access/item/role_assignments/item/subject/subject_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_assignments/item/subject/subject_request_builder.py index 4ea62422fc6..d54189a9dec 100644 --- a/msgraph_beta/generated/privileged_access/item/role_assignments/item/subject/subject_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_assignments/item/subject/subject_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[SubjectRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SubjectRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SubjectReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceSubject] = None, request_configuration: Optional[SubjectRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[GovernanceSubject] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_access/item/role_assignments/role_assignments_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_assignments/role_assignments_request_builder.py index 80d23f690c8..e6983214240 100644 --- a/msgraph_beta/generated/privileged_access/item/role_assignments/role_assignments_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_assignments/role_assignments_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleAssignme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GovernanceRoleAssignment] = None, request_configuration: Optional[RoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[GovernanceRoleAssignment] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_access/item/role_definitions/item/governance_role_definition_item_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_definitions/item/governance_role_definition_item_request_builder.py index 884eaed3a5e..4e4857e0eb4 100644 --- a/msgraph_beta/generated/privileged_access/item/role_definitions/item/governance_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_definitions/item/governance_role_definition_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Governanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GovernanceRoleDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = None, request_configuration: Optional[GovernanceRoleDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_access/item/role_definitions/item/resource/resource_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_definitions/item/resource/resource_request_builder.py index 6abae54b459..b8ea422eef8 100644 --- a/msgraph_beta/generated/privileged_access/item/role_definitions/item/resource/resource_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_definitions/item/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/privileged_access/item/role_definitions/item/role_setting/role_setting_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_definitions/item/role_setting/role_setting_request_builder.py index 4d160d01db6..dae9d3e7305 100644 --- a/msgraph_beta/generated/privileged_access/item/role_definitions/item/role_setting/role_setting_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_definitions/item/role_setting/role_setting_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleSettingR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleSettingRequestBuilder: diff --git a/msgraph_beta/generated/privileged_access/item/role_definitions/role_definitions_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_definitions/role_definitions_request_builder.py index ecd77a360e6..2e77ef4414a 100644 --- a/msgraph_beta/generated/privileged_access/item/role_definitions/role_definitions_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_definitions/role_definitions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GovernanceRoleDefinition] = None, request_configuration: Optional[RoleDefinitionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GovernanceRoleDefinition] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_access/item/role_settings/item/governance_role_setting_item_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_settings/item/governance_role_setting_item_request_builder.py index fea81856a4d..8c2a106f11d 100644 --- a/msgraph_beta/generated/privileged_access/item/role_settings/item/governance_role_setting_item_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_settings/item/governance_role_setting_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[GovernanceRoleSettingItemR async def get(self,request_configuration: Optional[GovernanceRoleSettingItemRequestBuilderGetRequestConfiguration] = None) -> Optional[GovernanceRoleSetting]: """ - Retrieve the properties and relationships of a governanceRoleSetting. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a governanceRoleSetting. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceRoleSetting] Find more info here: https://learn.microsoft.com/graph/api/governancerolesetting-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[GovernanceRoleSettingItemRequ async def patch(self,body: Optional[GovernanceRoleSetting] = None, request_configuration: Optional[GovernanceRoleSettingItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[GovernanceRoleSetting]: """ - Update the properties of governanceRoleSetting. This API is available in the following national cloud deployments. + Update the properties of governanceRoleSetting. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceRoleSetting] @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[Governanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GovernanceRoleSettingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a governanceRoleSetting. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a governanceRoleSetting. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceRoleSetting] = None, request_configuration: Optional[GovernanceRoleSettingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of governanceRoleSetting. This API is available in the following national cloud deployments. + Update the properties of governanceRoleSetting. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[GovernanceRoleSetting] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ class GovernanceRoleSettingItemRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class GovernanceRoleSettingItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a governanceRoleSetting. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a governanceRoleSetting. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/privileged_access/item/role_settings/item/resource/resource_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_settings/item/resource/resource_request_builder.py index 1d6ea05a632..74c33730167 100644 --- a/msgraph_beta/generated/privileged_access/item/role_settings/item/resource/resource_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_settings/item/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/privileged_access/item/role_settings/item/role_definition/resource/resource_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_settings/item/role_definition/resource/resource_request_builder.py index 8a859c208d2..cfd77db76b4 100644 --- a/msgraph_beta/generated/privileged_access/item/role_settings/item/role_definition/resource/resource_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_settings/item/role_definition/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/privileged_access/item/role_settings/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_settings/item/role_definition/role_definition_request_builder.py index c1e2b1308e5..230bcb45f5f 100644 --- a/msgraph_beta/generated/privileged_access/item/role_settings/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_settings/item/role_definition/role_definition_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RoleDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RoleDefinitionRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = None, request_configuration: Optional[RoleDefinitionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[GovernanceRoleDefinition] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_access/item/role_settings/item/role_definition/role_setting/role_setting_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_settings/item/role_definition/role_setting/role_setting_request_builder.py index a34b1687df2..326c69ae642 100644 --- a/msgraph_beta/generated/privileged_access/item/role_settings/item/role_definition/role_setting/role_setting_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_settings/item/role_definition/role_setting/role_setting_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleSettingR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleSettingRequestBuilder: diff --git a/msgraph_beta/generated/privileged_access/item/role_settings/role_settings_request_builder.py b/msgraph_beta/generated/privileged_access/item/role_settings/role_settings_request_builder.py index 32aa2604e17..150de4565e7 100644 --- a/msgraph_beta/generated/privileged_access/item/role_settings/role_settings_request_builder.py +++ b/msgraph_beta/generated/privileged_access/item/role_settings/role_settings_request_builder.py @@ -45,7 +45,7 @@ def by_governance_role_setting_id(self,governance_role_setting_id: str) -> Gover async def get(self,request_configuration: Optional[RoleSettingsRequestBuilderGetRequestConfiguration] = None) -> Optional[GovernanceRoleSettingCollectionResponse]: """ - Retrieve the properties and relationships of a governanceRoleSetting. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a governanceRoleSetting. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GovernanceRoleSettingCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[GovernanceRoleSetting] = None, request_config def to_get_request_information(self,request_configuration: Optional[RoleSettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a governanceRoleSetting. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a governanceRoleSetting. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleSettings request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GovernanceRoleSetting] = None, request_configuration: Optional[RoleSettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GovernanceRoleSetting] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleSettingsRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a governanceRoleSetting. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a governanceRoleSetting. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/privileged_access/privileged_access_request_builder.py b/msgraph_beta/generated/privileged_access/privileged_access_request_builder.py index 32e7d4dd3f2..cf6d8ef59b0 100644 --- a/msgraph_beta/generated/privileged_access/privileged_access_request_builder.py +++ b/msgraph_beta/generated/privileged_access/privileged_access_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PrivilegedAc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrivilegedAccess] = None, request_configuration: Optional[PrivilegedAccessRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[PrivilegedAccess] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_approval/item/privileged_approval_item_request_builder.py b/msgraph_beta/generated/privileged_approval/item/privileged_approval_item_request_builder.py index 3ced22a69da..c9add65ad9a 100644 --- a/msgraph_beta/generated/privileged_approval/item/privileged_approval_item_request_builder.py +++ b/msgraph_beta/generated/privileged_approval/item/privileged_approval_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Privilege request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrivilegedApprovalItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[PrivilegedAp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrivilegedApproval] = None, request_configuration: Optional[PrivilegedApprovalItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PrivilegedApproval] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_approval/item/request/request_request_builder.py b/msgraph_beta/generated/privileged_approval/item/request/request_request_builder.py index c5be9f37be0..9180b51846a 100644 --- a/msgraph_beta/generated/privileged_approval/item/request/request_request_builder.py +++ b/msgraph_beta/generated/privileged_approval/item/request/request_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RequestRequestBuilder: diff --git a/msgraph_beta/generated/privileged_approval/item/role_info/assignments/assignments_request_builder.py b/msgraph_beta/generated/privileged_approval/item/role_info/assignments/assignments_request_builder.py index a5b7e0f2118..85ed1edf655 100644 --- a/msgraph_beta/generated/privileged_approval/item/role_info/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/privileged_approval/item/role_info/assignments/assignments_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AssignmentsRequestBuilder: diff --git a/msgraph_beta/generated/privileged_approval/item/role_info/assignments/item/privileged_role_assignment_item_request_builder.py b/msgraph_beta/generated/privileged_approval/item/role_info/assignments/item/privileged_role_assignment_item_request_builder.py index 18175279a43..28be1205ef2 100644 --- a/msgraph_beta/generated/privileged_approval/item/role_info/assignments/item/privileged_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/privileged_approval/item/role_info/assignments/item/privileged_role_assignment_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrivilegedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrivilegedRoleAssignmentItemRequestBuilder: diff --git a/msgraph_beta/generated/privileged_approval/item/role_info/role_info_request_builder.py b/msgraph_beta/generated/privileged_approval/item/role_info/role_info_request_builder.py index 674f28aea29..e3be46d1ee8 100644 --- a/msgraph_beta/generated/privileged_approval/item/role_info/role_info_request_builder.py +++ b/msgraph_beta/generated/privileged_approval/item/role_info/role_info_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[RoleInfoR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RoleInfoRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleInfoRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrivilegedRole] = None, request_configuration: Optional[RoleInfoRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[PrivilegedRole] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_approval/item/role_info/self_activate/self_activate_request_builder.py b/msgraph_beta/generated/privileged_approval/item/role_info/self_activate/self_activate_request_builder.py index 7a770142fbe..407df3b868c 100644 --- a/msgraph_beta/generated/privileged_approval/item/role_info/self_activate/self_activate_request_builder.py +++ b/msgraph_beta/generated/privileged_approval/item/role_info/self_activate/self_activate_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SelfActivatePostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_approval/item/role_info/self_deactivate/self_deactivate_request_builder.py b/msgraph_beta/generated/privileged_approval/item/role_info/self_deactivate/self_deactivate_request_builder.py index 487a93290d9..be42e5f27dc 100644 --- a/msgraph_beta/generated/privileged_approval/item/role_info/self_deactivate/self_deactivate_request_builder.py +++ b/msgraph_beta/generated/privileged_approval/item/role_info/self_deactivate/self_deactivate_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[SelfDeactiv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SelfDeactivateRequestBuilder: diff --git a/msgraph_beta/generated/privileged_approval/item/role_info/settings/settings_request_builder.py b/msgraph_beta/generated/privileged_approval/item/role_info/settings/settings_request_builder.py index 9e2f0337da7..e0955018ddc 100644 --- a/msgraph_beta/generated/privileged_approval/item/role_info/settings/settings_request_builder.py +++ b/msgraph_beta/generated/privileged_approval/item/role_info/settings/settings_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[SettingsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrivilegedRoleSettings] = None, request_configuration: Optional[SettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PrivilegedRoleSettings] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_approval/item/role_info/summary/summary_request_builder.py b/msgraph_beta/generated/privileged_approval/item/role_info/summary/summary_request_builder.py index b6313761f5a..6d92b73cb91 100644 --- a/msgraph_beta/generated/privileged_approval/item/role_info/summary/summary_request_builder.py +++ b/msgraph_beta/generated/privileged_approval/item/role_info/summary/summary_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[SummaryRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SummaryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SummaryReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrivilegedRoleSummary] = None, request_configuration: Optional[SummaryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PrivilegedRoleSummary] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_approval/my_requests/my_requests_request_builder.py b/msgraph_beta/generated/privileged_approval/my_requests/my_requests_request_builder.py index 65f58db6970..ab774fc355d 100644 --- a/msgraph_beta/generated/privileged_approval/my_requests/my_requests_request_builder.py +++ b/msgraph_beta/generated/privileged_approval/my_requests/my_requests_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MyRequestsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MyRequestsRequestBuilder: diff --git a/msgraph_beta/generated/privileged_approval/privileged_approval_request_builder.py b/msgraph_beta/generated/privileged_approval/privileged_approval_request_builder.py index 076681bd035..180b8074059 100644 --- a/msgraph_beta/generated/privileged_approval/privileged_approval_request_builder.py +++ b/msgraph_beta/generated/privileged_approval/privileged_approval_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PrivilegedAp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrivilegedApproval] = None, request_configuration: Optional[PrivilegedApprovalRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[PrivilegedApproval] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_operation_events/item/privileged_operation_event_item_request_builder.py b/msgraph_beta/generated/privileged_operation_events/item/privileged_operation_event_item_request_builder.py index 56dc927cc07..be0d1319cb3 100644 --- a/msgraph_beta/generated/privileged_operation_events/item/privileged_operation_event_item_request_builder.py +++ b/msgraph_beta/generated/privileged_operation_events/item/privileged_operation_event_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Privilege request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrivilegedOperationEventItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PrivilegedOp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrivilegedOperationEvent] = None, request_configuration: Optional[PrivilegedOperationEventItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PrivilegedOperationEvent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_operation_events/privileged_operation_events_request_builder.py b/msgraph_beta/generated/privileged_operation_events/privileged_operation_events_request_builder.py index 671ba0fb4ca..07369810458 100644 --- a/msgraph_beta/generated/privileged_operation_events/privileged_operation_events_request_builder.py +++ b/msgraph_beta/generated/privileged_operation_events/privileged_operation_events_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PrivilegedOp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrivilegedOperationEvent] = None, request_configuration: Optional[PrivilegedOperationEventsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[PrivilegedOperationEvent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_role_assignment_requests/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/privileged_role_assignment_requests/item/cancel/cancel_request_builder.py index e3e962437be..87fde7ab61c 100644 --- a/msgraph_beta/generated/privileged_role_assignment_requests/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/privileged_role_assignment_requests/item/cancel/cancel_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[CancelReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CancelRequestBuilder: diff --git a/msgraph_beta/generated/privileged_role_assignment_requests/item/privileged_role_assignment_request_item_request_builder.py b/msgraph_beta/generated/privileged_role_assignment_requests/item/privileged_role_assignment_request_item_request_builder.py index 3f6dcd556db..43a29f98c8f 100644 --- a/msgraph_beta/generated/privileged_role_assignment_requests/item/privileged_role_assignment_request_item_request_builder.py +++ b/msgraph_beta/generated/privileged_role_assignment_requests/item/privileged_role_assignment_request_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Privilege request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrivilegedRoleAssignmentRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[PrivilegedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrivilegedRoleAssignmentRequest] = None, request_configuration: Optional[PrivilegedRoleAssignmentRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PrivilegedRoleAssignmentReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/assignments/assignments_request_builder.py b/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/assignments/assignments_request_builder.py index 8a3cec2e478..0eaa986f0e4 100644 --- a/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/assignments/assignments_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AssignmentsRequestBuilder: diff --git a/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/assignments/item/privileged_role_assignment_item_request_builder.py b/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/assignments/item/privileged_role_assignment_item_request_builder.py index b311f1aaac0..33318f855a2 100644 --- a/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/assignments/item/privileged_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/assignments/item/privileged_role_assignment_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrivilegedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrivilegedRoleAssignmentItemRequestBuilder: diff --git a/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/role_info_request_builder.py b/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/role_info_request_builder.py index 9b8a1bccaa3..dd9928efdb6 100644 --- a/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/role_info_request_builder.py +++ b/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/role_info_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[RoleInfoR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RoleInfoRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleInfoRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrivilegedRole] = None, request_configuration: Optional[RoleInfoRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[PrivilegedRole] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/self_activate/self_activate_request_builder.py b/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/self_activate/self_activate_request_builder.py index 9c82c8c4573..a70a20ee5ca 100644 --- a/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/self_activate/self_activate_request_builder.py +++ b/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/self_activate/self_activate_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SelfActivatePostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/self_deactivate/self_deactivate_request_builder.py b/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/self_deactivate/self_deactivate_request_builder.py index 1c68ba42e59..51e23e3a953 100644 --- a/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/self_deactivate/self_deactivate_request_builder.py +++ b/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/self_deactivate/self_deactivate_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[SelfDeactiv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SelfDeactivateRequestBuilder: diff --git a/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/settings/settings_request_builder.py b/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/settings/settings_request_builder.py index 97bd9372f86..3fb48ee0141 100644 --- a/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/settings/settings_request_builder.py +++ b/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/settings/settings_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[SettingsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrivilegedRoleSettings] = None, request_configuration: Optional[SettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PrivilegedRoleSettings] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/summary/summary_request_builder.py b/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/summary/summary_request_builder.py index 49f008e93c8..868b0cb9e5f 100644 --- a/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/summary/summary_request_builder.py +++ b/msgraph_beta/generated/privileged_role_assignment_requests/item/role_info/summary/summary_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[SummaryRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SummaryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SummaryReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrivilegedRoleSummary] = None, request_configuration: Optional[SummaryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PrivilegedRoleSummary] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_role_assignment_requests/my/my_request_builder.py b/msgraph_beta/generated/privileged_role_assignment_requests/my/my_request_builder.py index e827bd3c621..2faa7a75c24 100644 --- a/msgraph_beta/generated/privileged_role_assignment_requests/my/my_request_builder.py +++ b/msgraph_beta/generated/privileged_role_assignment_requests/my/my_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MyRequestBui request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MyRequestBuilder: diff --git a/msgraph_beta/generated/privileged_role_assignment_requests/privileged_role_assignment_requests_request_builder.py b/msgraph_beta/generated/privileged_role_assignment_requests/privileged_role_assignment_requests_request_builder.py index 020078b115a..24103216b85 100644 --- a/msgraph_beta/generated/privileged_role_assignment_requests/privileged_role_assignment_requests_request_builder.py +++ b/msgraph_beta/generated/privileged_role_assignment_requests/privileged_role_assignment_requests_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PrivilegedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrivilegedRoleAssignmentRequest] = None, request_configuration: Optional[PrivilegedRoleAssignmentRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[PrivilegedRoleAssignmentRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_role_assignments/item/make_eligible/make_eligible_request_builder.py b/msgraph_beta/generated/privileged_role_assignments/item/make_eligible/make_eligible_request_builder.py index 38586c4129a..9ec28837954 100644 --- a/msgraph_beta/generated/privileged_role_assignments/item/make_eligible/make_eligible_request_builder.py +++ b/msgraph_beta/generated/privileged_role_assignments/item/make_eligible/make_eligible_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[MakeEligibl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MakeEligibleRequestBuilder: diff --git a/msgraph_beta/generated/privileged_role_assignments/item/make_permanent/make_permanent_request_builder.py b/msgraph_beta/generated/privileged_role_assignments/item/make_permanent/make_permanent_request_builder.py index b2356f4fe32..b2e1362b115 100644 --- a/msgraph_beta/generated/privileged_role_assignments/item/make_permanent/make_permanent_request_builder.py +++ b/msgraph_beta/generated/privileged_role_assignments/item/make_permanent/make_permanent_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[MakePermanentPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_role_assignments/item/privileged_role_assignment_item_request_builder.py b/msgraph_beta/generated/privileged_role_assignments/item/privileged_role_assignment_item_request_builder.py index f079a067e20..049b68d5b6d 100644 --- a/msgraph_beta/generated/privileged_role_assignments/item/privileged_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/privileged_role_assignments/item/privileged_role_assignment_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[Privilege request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrivilegedRoleAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[PrivilegedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrivilegedRoleAssignment] = None, request_configuration: Optional[PrivilegedRoleAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[PrivilegedRoleAssignment] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_role_assignments/item/role_info/assignments/assignments_request_builder.py b/msgraph_beta/generated/privileged_role_assignments/item/role_info/assignments/assignments_request_builder.py index 4f6d2d229cc..4760214a1d5 100644 --- a/msgraph_beta/generated/privileged_role_assignments/item/role_info/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/privileged_role_assignments/item/role_info/assignments/assignments_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AssignmentsRequestBuilder: diff --git a/msgraph_beta/generated/privileged_role_assignments/item/role_info/assignments/item/privileged_role_assignment_item_request_builder.py b/msgraph_beta/generated/privileged_role_assignments/item/role_info/assignments/item/privileged_role_assignment_item_request_builder.py index 5e5d6d2f874..5235e0f1602 100644 --- a/msgraph_beta/generated/privileged_role_assignments/item/role_info/assignments/item/privileged_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/privileged_role_assignments/item/role_info/assignments/item/privileged_role_assignment_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrivilegedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrivilegedRoleAssignmentItemRequestBuilder: diff --git a/msgraph_beta/generated/privileged_role_assignments/item/role_info/role_info_request_builder.py b/msgraph_beta/generated/privileged_role_assignments/item/role_info/role_info_request_builder.py index f86cd71a7b4..21bb8246df4 100644 --- a/msgraph_beta/generated/privileged_role_assignments/item/role_info/role_info_request_builder.py +++ b/msgraph_beta/generated/privileged_role_assignments/item/role_info/role_info_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[RoleInfoR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RoleInfoRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleInfoRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrivilegedRole] = None, request_configuration: Optional[RoleInfoRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[PrivilegedRole] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_role_assignments/item/role_info/self_activate/self_activate_request_builder.py b/msgraph_beta/generated/privileged_role_assignments/item/role_info/self_activate/self_activate_request_builder.py index 8543a170ae1..87e79074153 100644 --- a/msgraph_beta/generated/privileged_role_assignments/item/role_info/self_activate/self_activate_request_builder.py +++ b/msgraph_beta/generated/privileged_role_assignments/item/role_info/self_activate/self_activate_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SelfActivatePostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_role_assignments/item/role_info/self_deactivate/self_deactivate_request_builder.py b/msgraph_beta/generated/privileged_role_assignments/item/role_info/self_deactivate/self_deactivate_request_builder.py index b41ecfad29e..4413f5c54ca 100644 --- a/msgraph_beta/generated/privileged_role_assignments/item/role_info/self_deactivate/self_deactivate_request_builder.py +++ b/msgraph_beta/generated/privileged_role_assignments/item/role_info/self_deactivate/self_deactivate_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[SelfDeactiv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SelfDeactivateRequestBuilder: diff --git a/msgraph_beta/generated/privileged_role_assignments/item/role_info/settings/settings_request_builder.py b/msgraph_beta/generated/privileged_role_assignments/item/role_info/settings/settings_request_builder.py index c27f35c761a..7912db51877 100644 --- a/msgraph_beta/generated/privileged_role_assignments/item/role_info/settings/settings_request_builder.py +++ b/msgraph_beta/generated/privileged_role_assignments/item/role_info/settings/settings_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[SettingsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrivilegedRoleSettings] = None, request_configuration: Optional[SettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PrivilegedRoleSettings] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_role_assignments/item/role_info/summary/summary_request_builder.py b/msgraph_beta/generated/privileged_role_assignments/item/role_info/summary/summary_request_builder.py index 35cf9cec354..f0e69cdb706 100644 --- a/msgraph_beta/generated/privileged_role_assignments/item/role_info/summary/summary_request_builder.py +++ b/msgraph_beta/generated/privileged_role_assignments/item/role_info/summary/summary_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[SummaryRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SummaryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SummaryReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrivilegedRoleSummary] = None, request_configuration: Optional[SummaryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PrivilegedRoleSummary] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_role_assignments/my/my_request_builder.py b/msgraph_beta/generated/privileged_role_assignments/my/my_request_builder.py index dc1f3f4bed7..e6fe9a97bdf 100644 --- a/msgraph_beta/generated/privileged_role_assignments/my/my_request_builder.py +++ b/msgraph_beta/generated/privileged_role_assignments/my/my_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MyRequestBui request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MyRequestBuilder: diff --git a/msgraph_beta/generated/privileged_role_assignments/privileged_role_assignments_request_builder.py b/msgraph_beta/generated/privileged_role_assignments/privileged_role_assignments_request_builder.py index 48db005fba5..5cf2cab4004 100644 --- a/msgraph_beta/generated/privileged_role_assignments/privileged_role_assignments_request_builder.py +++ b/msgraph_beta/generated/privileged_role_assignments/privileged_role_assignments_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PrivilegedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrivilegedRoleAssignment] = None, request_configuration: Optional[PrivilegedRoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[PrivilegedRoleAssignment] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_roles/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/privileged_roles/item/assignments/assignments_request_builder.py index 49b6e700568..6c5c7e57cdd 100644 --- a/msgraph_beta/generated/privileged_roles/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/privileged_roles/item/assignments/assignments_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AssignmentsRequestBuilder: diff --git a/msgraph_beta/generated/privileged_roles/item/assignments/item/privileged_role_assignment_item_request_builder.py b/msgraph_beta/generated/privileged_roles/item/assignments/item/privileged_role_assignment_item_request_builder.py index 960081c1342..f2b2444bb49 100644 --- a/msgraph_beta/generated/privileged_roles/item/assignments/item/privileged_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/privileged_roles/item/assignments/item/privileged_role_assignment_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrivilegedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrivilegedRoleAssignmentItemRequestBuilder: diff --git a/msgraph_beta/generated/privileged_roles/item/privileged_role_item_request_builder.py b/msgraph_beta/generated/privileged_roles/item/privileged_role_item_request_builder.py index 8ee314c29df..7c8bebaf752 100644 --- a/msgraph_beta/generated/privileged_roles/item/privileged_role_item_request_builder.py +++ b/msgraph_beta/generated/privileged_roles/item/privileged_role_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[Privilege request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrivilegedRoleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[PrivilegedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrivilegedRole] = None, request_configuration: Optional[PrivilegedRoleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[PrivilegedRole] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_roles/item/self_activate/self_activate_request_builder.py b/msgraph_beta/generated/privileged_roles/item/self_activate/self_activate_request_builder.py index 25d83657ef7..eba4c8173db 100644 --- a/msgraph_beta/generated/privileged_roles/item/self_activate/self_activate_request_builder.py +++ b/msgraph_beta/generated/privileged_roles/item/self_activate/self_activate_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SelfActivatePostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_roles/item/self_deactivate/self_deactivate_request_builder.py b/msgraph_beta/generated/privileged_roles/item/self_deactivate/self_deactivate_request_builder.py index 531f5307513..733cd97cf21 100644 --- a/msgraph_beta/generated/privileged_roles/item/self_deactivate/self_deactivate_request_builder.py +++ b/msgraph_beta/generated/privileged_roles/item/self_deactivate/self_deactivate_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[SelfDeactiv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SelfDeactivateRequestBuilder: diff --git a/msgraph_beta/generated/privileged_roles/item/settings/settings_request_builder.py b/msgraph_beta/generated/privileged_roles/item/settings/settings_request_builder.py index e3c2e8f883f..92e7a6e44d2 100644 --- a/msgraph_beta/generated/privileged_roles/item/settings/settings_request_builder.py +++ b/msgraph_beta/generated/privileged_roles/item/settings/settings_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[SettingsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrivilegedRoleSettings] = None, request_configuration: Optional[SettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PrivilegedRoleSettings] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_roles/item/summary/summary_request_builder.py b/msgraph_beta/generated/privileged_roles/item/summary/summary_request_builder.py index d105c7bf040..34392182db3 100644 --- a/msgraph_beta/generated/privileged_roles/item/summary/summary_request_builder.py +++ b/msgraph_beta/generated/privileged_roles/item/summary/summary_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[SummaryRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SummaryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SummaryReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrivilegedRoleSummary] = None, request_configuration: Optional[SummaryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PrivilegedRoleSummary] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_roles/privileged_roles_request_builder.py b/msgraph_beta/generated/privileged_roles/privileged_roles_request_builder.py index 13747549437..a0103bb3280 100644 --- a/msgraph_beta/generated/privileged_roles/privileged_roles_request_builder.py +++ b/msgraph_beta/generated/privileged_roles/privileged_roles_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PrivilegedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrivilegedRole] = None, request_configuration: Optional[PrivilegedRolesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[PrivilegedRole] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_signup_status/can_sign_up/can_sign_up_request_builder.py b/msgraph_beta/generated/privileged_signup_status/can_sign_up/can_sign_up_request_builder.py index 78fd6dde6f8..fd56bb74a9a 100644 --- a/msgraph_beta/generated/privileged_signup_status/can_sign_up/can_sign_up_request_builder.py +++ b/msgraph_beta/generated/privileged_signup_status/can_sign_up/can_sign_up_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[CanSignUpReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CanSignUpRequestBuilder: diff --git a/msgraph_beta/generated/privileged_signup_status/complete_setup/complete_setup_request_builder.py b/msgraph_beta/generated/privileged_signup_status/complete_setup/complete_setup_request_builder.py index 44debfb7c2d..f192011da8e 100644 --- a/msgraph_beta/generated/privileged_signup_status/complete_setup/complete_setup_request_builder.py +++ b/msgraph_beta/generated/privileged_signup_status/complete_setup/complete_setup_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CompleteSetupPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_signup_status/is_signed_up/is_signed_up_request_builder.py b/msgraph_beta/generated/privileged_signup_status/is_signed_up/is_signed_up_request_builder.py index 90bb6842f20..51b036a0b14 100644 --- a/msgraph_beta/generated/privileged_signup_status/is_signed_up/is_signed_up_request_builder.py +++ b/msgraph_beta/generated/privileged_signup_status/is_signed_up/is_signed_up_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[IsSignedUpRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IsSignedUpRequestBuilder: diff --git a/msgraph_beta/generated/privileged_signup_status/item/privileged_signup_status_item_request_builder.py b/msgraph_beta/generated/privileged_signup_status/item/privileged_signup_status_item_request_builder.py index 67bcfe20a27..e3e54be080e 100644 --- a/msgraph_beta/generated/privileged_signup_status/item/privileged_signup_status_item_request_builder.py +++ b/msgraph_beta/generated/privileged_signup_status/item/privileged_signup_status_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Privilege request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrivilegedSignupStatusItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PrivilegedSi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrivilegedSignupStatus] = None, request_configuration: Optional[PrivilegedSignupStatusItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PrivilegedSignupStatus] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_signup_status/privileged_signup_status_request_builder.py b/msgraph_beta/generated/privileged_signup_status/privileged_signup_status_request_builder.py index ce73b6d0a96..e21a8e17d94 100644 --- a/msgraph_beta/generated/privileged_signup_status/privileged_signup_status_request_builder.py +++ b/msgraph_beta/generated/privileged_signup_status/privileged_signup_status_request_builder.py @@ -106,7 +106,7 @@ def to_get_request_information(self,request_configuration: Optional[PrivilegedSi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrivilegedSignupStatus] = None, request_configuration: Optional[PrivilegedSignupStatusRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_post_request_information(self,body: Optional[PrivilegedSignupStatus] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/privileged_signup_status/sign_up/sign_up_request_builder.py b/msgraph_beta/generated/privileged_signup_status/sign_up/sign_up_request_builder.py index 7c38ad85a5d..1892868294f 100644 --- a/msgraph_beta/generated/privileged_signup_status/sign_up/sign_up_request_builder.py +++ b/msgraph_beta/generated/privileged_signup_status/sign_up/sign_up_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[SignUpReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SignUpRequestBuilder: diff --git a/msgraph_beta/generated/program_control_types/item/program_control_type_item_request_builder.py b/msgraph_beta/generated/program_control_types/item/program_control_type_item_request_builder.py index 69fcfde3afd..1804c5b465d 100644 --- a/msgraph_beta/generated/program_control_types/item/program_control_type_item_request_builder.py +++ b/msgraph_beta/generated/program_control_types/item/program_control_type_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ProgramCo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ProgramControlTypeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ProgramContr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ProgramControlType] = None, request_configuration: Optional[ProgramControlTypeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ProgramControlType] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/program_control_types/program_control_types_request_builder.py b/msgraph_beta/generated/program_control_types/program_control_types_request_builder.py index 1a236a79409..9bb0ee4759e 100644 --- a/msgraph_beta/generated/program_control_types/program_control_types_request_builder.py +++ b/msgraph_beta/generated/program_control_types/program_control_types_request_builder.py @@ -45,7 +45,7 @@ def by_program_control_type_id(self,program_control_type_id: str) -> ProgramCont async def get(self,request_configuration: Optional[ProgramControlTypesRequestBuilderGetRequestConfiguration] = None) -> Optional[ProgramControlTypeCollectionResponse]: """ - In the Microsoft Entra access reviews feature, list all the programControlType objects. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, list all the programControlType objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProgramControlTypeCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/programcontroltype-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ProgramControlType] = None, request_configura def to_get_request_information(self,request_configuration: Optional[ProgramControlTypesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, list all the programControlType objects. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, list all the programControlType objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ProgramContr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ProgramControlType] = None, request_configuration: Optional[ProgramControlTypesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ProgramControlType] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ProgramControlTypesRequestBuilderGetQueryParameters(): """ - In the Microsoft Entra access reviews feature, list all the programControlType objects. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, list all the programControlType objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/program_controls/item/program/controls/controls_request_builder.py b/msgraph_beta/generated/program_controls/item/program/controls/controls_request_builder.py index 47d5448422b..3a65c731fc9 100644 --- a/msgraph_beta/generated/program_controls/item/program/controls/controls_request_builder.py +++ b/msgraph_beta/generated/program_controls/item/program/controls/controls_request_builder.py @@ -45,7 +45,7 @@ def by_program_control_id1(self,program_control_id1: str) -> ProgramControlItemR async def get(self,request_configuration: Optional[ControlsRequestBuilderGetRequestConfiguration] = None) -> Optional[ProgramControlCollectionResponse]: """ - In the Microsoft Entra access reviews feature, list all the programControl objects, linked to a particular program. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, list all the programControl objects, linked to a particular program. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProgramControlCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/program-listcontrols?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ProgramControl] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[ControlsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, list all the programControl objects, linked to a particular program. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, list all the programControl objects, linked to a particular program. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ControlsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ProgramControl] = None, request_configuration: Optional[ControlsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ProgramControl] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ControlsRequestBuilderGetQueryParameters(): """ - In the Microsoft Entra access reviews feature, list all the programControl objects, linked to a particular program. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, list all the programControl objects, linked to a particular program. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/program_controls/item/program/controls/item/program_control_item_request_builder.py b/msgraph_beta/generated/program_controls/item/program/controls/item/program_control_item_request_builder.py index e168dc3dba3..5f795c9351d 100644 --- a/msgraph_beta/generated/program_controls/item/program/controls/item/program_control_item_request_builder.py +++ b/msgraph_beta/generated/program_controls/item/program/controls/item/program_control_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ProgramCo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ProgramControlItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ProgramContr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ProgramControl] = None, request_configuration: Optional[ProgramControlItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ProgramControl] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/program_controls/item/program/program_request_builder.py b/msgraph_beta/generated/program_controls/item/program/program_request_builder.py index c6646a5007b..2464c0570d8 100644 --- a/msgraph_beta/generated/program_controls/item/program/program_request_builder.py +++ b/msgraph_beta/generated/program_controls/item/program/program_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ProgramRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ProgramRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ProgramReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Program] = None, request_configuration: Optional[ProgramRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Program] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/program_controls/item/program_control_item_request_builder.py b/msgraph_beta/generated/program_controls/item/program_control_item_request_builder.py index a5fd906afc1..66bc7eafd82 100644 --- a/msgraph_beta/generated/program_controls/item/program_control_item_request_builder.py +++ b/msgraph_beta/generated/program_controls/item/program_control_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ProgramControlItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - In the Microsoft Entra access reviews feature, delete a programControl object. This unlinks an access review from a program. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, delete a programControl object. This unlinks an access review from a program. 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/programcontrol-delete?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[ProgramControl] = None, request_configuratio def to_delete_request_information(self,request_configuration: Optional[ProgramControlItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, delete a programControl object. This unlinks an access review from a program. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, delete a programControl object. This unlinks an access review from a program. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ProgramCo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ProgramControlItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ProgramContr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ProgramControl] = None, request_configuration: Optional[ProgramControlItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ProgramControl] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/program_controls/program_controls_request_builder.py b/msgraph_beta/generated/program_controls/program_controls_request_builder.py index 4a57aa32fb5..65dfe08620b 100644 --- a/msgraph_beta/generated/program_controls/program_controls_request_builder.py +++ b/msgraph_beta/generated/program_controls/program_controls_request_builder.py @@ -45,7 +45,7 @@ def by_program_control_id(self,program_control_id: str) -> ProgramControlItemReq async def get(self,request_configuration: Optional[ProgramControlsRequestBuilderGetRequestConfiguration] = None) -> Optional[ProgramControlCollectionResponse]: """ - In the Microsoft Entra access reviews feature, list all the programControl objects, across all programs in the tenant. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, list all the programControl objects, across all programs in the tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProgramControlCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/programcontrol-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ProgramControlsRequestBuilder async def post(self,body: Optional[ProgramControl] = None, request_configuration: Optional[ProgramControlsRequestBuilderPostRequestConfiguration] = None) -> Optional[ProgramControl]: """ - In the Microsoft Entra access reviews feature, create a new programControl object. This links an access review to a program. Prior to making this request, the caller must have previously This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, create a new programControl object. This links an access review to a program. Prior to making this request, the caller must have previously param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProgramControl] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ProgramControl] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[ProgramControlsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, list all the programControl objects, across all programs in the tenant. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, list all the programControl objects, across all programs in the tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ProgramContr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ProgramControl] = None, request_configuration: Optional[ProgramControlsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, create a new programControl object. This links an access review to a program. Prior to making this request, the caller must have previously This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, create a new programControl object. This links an access review to a program. Prior to making this request, the caller must have previously param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ProgramControl] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ProgramControlsRequestBuilderGetQueryParameters(): """ - In the Microsoft Entra access reviews feature, list all the programControl objects, across all programs in the tenant. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, list all the programControl objects, across all programs in the tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/programs/item/controls/controls_request_builder.py b/msgraph_beta/generated/programs/item/controls/controls_request_builder.py index e91a3701bf3..34fcd4f222e 100644 --- a/msgraph_beta/generated/programs/item/controls/controls_request_builder.py +++ b/msgraph_beta/generated/programs/item/controls/controls_request_builder.py @@ -45,7 +45,7 @@ def by_program_control_id(self,program_control_id: str) -> ProgramControlItemReq async def get(self,request_configuration: Optional[ControlsRequestBuilderGetRequestConfiguration] = None) -> Optional[ProgramControlCollectionResponse]: """ - In the Microsoft Entra access reviews feature, list all the programControl objects, linked to a particular program. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, list all the programControl objects, linked to a particular program. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProgramControlCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/program-listcontrols?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ProgramControl] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[ControlsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, list all the programControl objects, linked to a particular program. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, list all the programControl objects, linked to a particular program. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ControlsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ProgramControl] = None, request_configuration: Optional[ControlsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ProgramControl] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ControlsRequestBuilderGetQueryParameters(): """ - In the Microsoft Entra access reviews feature, list all the programControl objects, linked to a particular program. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, list all the programControl objects, linked to a particular program. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/programs/item/controls/item/program/program_request_builder.py b/msgraph_beta/generated/programs/item/controls/item/program/program_request_builder.py index 84d8d8594a5..f2f17aef001 100644 --- a/msgraph_beta/generated/programs/item/controls/item/program/program_request_builder.py +++ b/msgraph_beta/generated/programs/item/controls/item/program/program_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ProgramRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ProgramRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ProgramReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Program] = None, request_configuration: Optional[ProgramRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Program] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/programs/item/controls/item/program_control_item_request_builder.py b/msgraph_beta/generated/programs/item/controls/item/program_control_item_request_builder.py index 710f7ccb29b..d0a415bd0ed 100644 --- a/msgraph_beta/generated/programs/item/controls/item/program_control_item_request_builder.py +++ b/msgraph_beta/generated/programs/item/controls/item/program_control_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ProgramCo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ProgramControlItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ProgramContr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ProgramControl] = None, request_configuration: Optional[ProgramControlItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ProgramControl] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/programs/item/program_item_request_builder.py b/msgraph_beta/generated/programs/item/program_item_request_builder.py index aa6519457ae..5aff5bd0de2 100644 --- a/msgraph_beta/generated/programs/item/program_item_request_builder.py +++ b/msgraph_beta/generated/programs/item/program_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ProgramItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - In the Microsoft Entra access reviews feature, delete a program object. Do not delete a program which still has programControl linked to it, those access reviews should first be deleted or unlinked from the program and linked to a different program. Also, please note that the built-in default program cannot be deleted. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, delete a program object. Do not delete a program which still has programControl linked to it, those access reviews should first be deleted or unlinked from the program and linked to a different program. Also, please note that the built-in default program cannot be deleted. 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/program-delete?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[ProgramItemRequestBuilderGetR async def patch(self,body: Optional[Program] = None, request_configuration: Optional[ProgramItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Program]: """ - In the Microsoft Entra access reviews feature, update an existing program object. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, update an existing program object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Program] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[Program] = None, request_configuration: Opti def to_delete_request_information(self,request_configuration: Optional[ProgramItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, delete a program object. Do not delete a program which still has programControl linked to it, those access reviews should first be deleted or unlinked from the program and linked to a different program. Also, please note that the built-in default program cannot be deleted. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, delete a program object. Do not delete a program which still has programControl linked to it, those access reviews should first be deleted or unlinked from the program and linked to a different program. Also, please note that the built-in default program cannot be deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[ProgramIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ProgramItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[ProgramItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Program] = None, request_configuration: Optional[ProgramItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, update an existing program object. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, update an existing program object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Program] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/programs/programs_request_builder.py b/msgraph_beta/generated/programs/programs_request_builder.py index 370085a1a5f..8349bbf17a2 100644 --- a/msgraph_beta/generated/programs/programs_request_builder.py +++ b/msgraph_beta/generated/programs/programs_request_builder.py @@ -45,7 +45,7 @@ def by_program_id(self,program_id: str) -> ProgramItemRequestBuilder: async def get(self,request_configuration: Optional[ProgramsRequestBuilderGetRequestConfiguration] = None) -> Optional[ProgramCollectionResponse]: """ - In the Microsoft Entra access reviews feature, list all the program objects. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, list all the program objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProgramCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/program-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ProgramsRequestBuilderGetRequ async def post(self,body: Optional[Program] = None, request_configuration: Optional[ProgramsRequestBuilderPostRequestConfiguration] = None) -> Optional[Program]: """ - In the Microsoft Entra access reviews feature, create a new program object. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, create a new program object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Program] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Program] = None, request_configuration: Optio def to_get_request_information(self,request_configuration: Optional[ProgramsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, list all the program objects. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, list all the program objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ProgramsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Program] = None, request_configuration: Optional[ProgramsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - In the Microsoft Entra access reviews feature, create a new program object. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, create a new program object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Program] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ProgramsRequestBuilderGetQueryParameters(): """ - In the Microsoft Entra access reviews feature, list all the program objects. This API is available in the following national cloud deployments. + In the Microsoft Entra access reviews feature, list all the program objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/app_credential_sign_in_activities/app_credential_sign_in_activities_request_builder.py b/msgraph_beta/generated/reports/app_credential_sign_in_activities/app_credential_sign_in_activities_request_builder.py index 567b52ac36e..2b422566afd 100644 --- a/msgraph_beta/generated/reports/app_credential_sign_in_activities/app_credential_sign_in_activities_request_builder.py +++ b/msgraph_beta/generated/reports/app_credential_sign_in_activities/app_credential_sign_in_activities_request_builder.py @@ -45,7 +45,7 @@ def by_app_credential_sign_in_activity_id(self,app_credential_sign_in_activity_i async def get(self,request_configuration: Optional[AppCredentialSignInActivitiesRequestBuilderGetRequestConfiguration] = None) -> Optional[AppCredentialSignInActivityCollectionResponse]: """ - Get a list of appCredentialSignInActivity objects that contains recent activity of application credentials. This API is available in the following national cloud deployments. + Get a list of appCredentialSignInActivity objects that contains recent activity of application credentials. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppCredentialSignInActivityCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/reportroot-list-appcredentialsigninactivities?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AppCredentialSignInActivity] = None, request_ def to_get_request_information(self,request_configuration: Optional[AppCredentialSignInActivitiesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of appCredentialSignInActivity objects that contains recent activity of application credentials. This API is available in the following national cloud deployments. + Get a list of appCredentialSignInActivity objects that contains recent activity of application credentials. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AppCredentia request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AppCredentialSignInActivity] = None, request_configuration: Optional[AppCredentialSignInActivitiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AppCredentialSignInActivity] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AppCredentialSignInActivitiesRequestBuilderGetQueryParameters(): """ - Get a list of appCredentialSignInActivity objects that contains recent activity of application credentials. This API is available in the following national cloud deployments. + Get a list of appCredentialSignInActivity objects that contains recent activity of application credentials. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/app_credential_sign_in_activities/item/app_credential_sign_in_activity_item_request_builder.py b/msgraph_beta/generated/reports/app_credential_sign_in_activities/item/app_credential_sign_in_activity_item_request_builder.py index 70bcf9a936f..2744dac38ef 100644 --- a/msgraph_beta/generated/reports/app_credential_sign_in_activities/item/app_credential_sign_in_activity_item_request_builder.py +++ b/msgraph_beta/generated/reports/app_credential_sign_in_activities/item/app_credential_sign_in_activity_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[AppCredentialSignInActivit async def get(self,request_configuration: Optional[AppCredentialSignInActivityItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AppCredentialSignInActivity]: """ - Get an appCredentialSignInActivity object that contains recent activity of an application credential. This API is available in the following national cloud deployments. + Get an appCredentialSignInActivity object that contains recent activity of an application credential. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppCredentialSignInActivity] Find more info here: https://learn.microsoft.com/graph/api/appcredentialsigninactivity-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[AppCreden request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AppCredentialSignInActivityItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an appCredentialSignInActivity object that contains recent activity of an application credential. This API is available in the following national cloud deployments. + Get an appCredentialSignInActivity object that contains recent activity of an application credential. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AppCredentia request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AppCredentialSignInActivity] = None, request_configuration: Optional[AppCredentialSignInActivityItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AppCredentialSignInActivity request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class AppCredentialSignInActivityItemRequestBuilderDeleteRequestConfiguration(Ba @dataclass class AppCredentialSignInActivityItemRequestBuilderGetQueryParameters(): """ - Get an appCredentialSignInActivity object that contains recent activity of an application credential. This API is available in the following national cloud deployments. + Get an appCredentialSignInActivity object that contains recent activity of an application credential. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/application_sign_in_detailed_summary/application_sign_in_detailed_summary_request_builder.py b/msgraph_beta/generated/reports/application_sign_in_detailed_summary/application_sign_in_detailed_summary_request_builder.py index 82384e4a245..bf28570f40b 100644 --- a/msgraph_beta/generated/reports/application_sign_in_detailed_summary/application_sign_in_detailed_summary_request_builder.py +++ b/msgraph_beta/generated/reports/application_sign_in_detailed_summary/application_sign_in_detailed_summary_request_builder.py @@ -45,7 +45,7 @@ def by_application_sign_in_detailed_summary_id(self,application_sign_in_detailed async def get(self,request_configuration: Optional[ApplicationSignInDetailedSummaryRequestBuilderGetRequestConfiguration] = None) -> Optional[ApplicationSignInDetailedSummaryCollectionResponse]: """ - Retrieve the applicationSignInDetailedSummary objects. This API is available in the following national cloud deployments. + Retrieve the applicationSignInDetailedSummary objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApplicationSignInDetailedSummaryCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/reportroot-list-applicationsignindetailedsummary?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ApplicationSignInDetailedSummary] = None, req def to_get_request_information(self,request_configuration: Optional[ApplicationSignInDetailedSummaryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the applicationSignInDetailedSummary objects. This API is available in the following national cloud deployments. + Retrieve the applicationSignInDetailedSummary objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ApplicationS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ApplicationSignInDetailedSummary] = None, request_configuration: Optional[ApplicationSignInDetailedSummaryRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ApplicationSignInDetailedSum request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ApplicationSignInDetailedSummaryRequestBuilderGetQueryParameters(): """ - Retrieve the applicationSignInDetailedSummary objects. This API is available in the following national cloud deployments. + Retrieve the applicationSignInDetailedSummary objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/application_sign_in_detailed_summary/item/application_sign_in_detailed_summary_item_request_builder.py b/msgraph_beta/generated/reports/application_sign_in_detailed_summary/item/application_sign_in_detailed_summary_item_request_builder.py index 41f20a59044..078a5d1c511 100644 --- a/msgraph_beta/generated/reports/application_sign_in_detailed_summary/item/application_sign_in_detailed_summary_item_request_builder.py +++ b/msgraph_beta/generated/reports/application_sign_in_detailed_summary/item/application_sign_in_detailed_summary_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ApplicationSignInDetailedS async def get(self,request_configuration: Optional[ApplicationSignInDetailedSummaryItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ApplicationSignInDetailedSummary]: """ - Retrieve the properties and relationships of an applicationSignInDetailedSummary object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an applicationSignInDetailedSummary object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApplicationSignInDetailedSummary] Find more info here: https://learn.microsoft.com/graph/api/applicationsignindetailedsummary-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Applicati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ApplicationSignInDetailedSummaryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an applicationSignInDetailedSummary object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an applicationSignInDetailedSummary object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ApplicationS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ApplicationSignInDetailedSummary] = None, request_configuration: Optional[ApplicationSignInDetailedSummaryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ApplicationSignInDetailedSu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ApplicationSignInDetailedSummaryItemRequestBuilderDeleteRequestConfigurati @dataclass class ApplicationSignInDetailedSummaryItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an applicationSignInDetailedSummary object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an applicationSignInDetailedSummary object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/authentication_methods/authentication_methods_request_builder.py b/msgraph_beta/generated/reports/authentication_methods/authentication_methods_request_builder.py index 730c7296999..c1c31e7f0ca 100644 --- a/msgraph_beta/generated/reports/authentication_methods/authentication_methods_request_builder.py +++ b/msgraph_beta/generated/reports/authentication_methods/authentication_methods_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[Authentic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AuthenticationMethodsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AuthenticationMethodsRoot] = None, request_configuration: Optional[AuthenticationMethodsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[AuthenticationMethodsRoot] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/reports/authentication_methods/user_registration_details/item/user_registration_details_item_request_builder.py b/msgraph_beta/generated/reports/authentication_methods/user_registration_details/item/user_registration_details_item_request_builder.py index 568b0ecc010..21309773159 100644 --- a/msgraph_beta/generated/reports/authentication_methods/user_registration_details/item/user_registration_details_item_request_builder.py +++ b/msgraph_beta/generated/reports/authentication_methods/user_registration_details/item/user_registration_details_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[UserRegistrationDetailsIte async def get(self,request_configuration: Optional[UserRegistrationDetailsItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UserRegistrationDetails]: """ - Read the properties and relationships of a userRegistrationDetails object. This API is available in the following national cloud deployments. + Read the properties and relationships of a userRegistrationDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserRegistrationDetails] Find more info here: https://learn.microsoft.com/graph/api/userregistrationdetails-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[UserRegis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserRegistrationDetailsItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a userRegistrationDetails object. This API is available in the following national cloud deployments. + Read the properties and relationships of a userRegistrationDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[UserRegistra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserRegistrationDetails] = None, request_configuration: Optional[UserRegistrationDetailsItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[UserRegistrationDetails] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class UserRegistrationDetailsItemRequestBuilderDeleteRequestConfiguration(BaseRe @dataclass class UserRegistrationDetailsItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a userRegistrationDetails object. This API is available in the following national cloud deployments. + Read the properties and relationships of a userRegistrationDetails object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/authentication_methods/user_registration_details/user_registration_details_request_builder.py b/msgraph_beta/generated/reports/authentication_methods/user_registration_details/user_registration_details_request_builder.py index 3fe2f508ecf..3bf88b54b19 100644 --- a/msgraph_beta/generated/reports/authentication_methods/user_registration_details/user_registration_details_request_builder.py +++ b/msgraph_beta/generated/reports/authentication_methods/user_registration_details/user_registration_details_request_builder.py @@ -45,7 +45,7 @@ def by_user_registration_details_id(self,user_registration_details_id: str) -> U async def get(self,request_configuration: Optional[UserRegistrationDetailsRequestBuilderGetRequestConfiguration] = None) -> Optional[UserRegistrationDetailsCollectionResponse]: """ - Get a list of the authentication methods registered for a user as defined in the userRegistrationDetails object. This API is available in the following national cloud deployments. + Get a list of the authentication methods registered for a user as defined in the userRegistrationDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserRegistrationDetailsCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/authenticationmethodsroot-list-userregistrationdetails?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[UserRegistrationDetails] = None, request_conf def to_get_request_information(self,request_configuration: Optional[UserRegistrationDetailsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the authentication methods registered for a user as defined in the userRegistrationDetails object. This API is available in the following national cloud deployments. + Get a list of the authentication methods registered for a user as defined in the userRegistrationDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[UserRegistra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserRegistrationDetails] = None, request_configuration: Optional[UserRegistrationDetailsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UserRegistrationDetails] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class UserRegistrationDetailsRequestBuilderGetQueryParameters(): """ - Get a list of the authentication methods registered for a user as defined in the userRegistrationDetails object. This API is available in the following national cloud deployments. + Get a list of the authentication methods registered for a user as defined in the userRegistrationDetails object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/authentication_methods/users_registered_by_feature/users_registered_by_feature_request_builder.py b/msgraph_beta/generated/reports/authentication_methods/users_registered_by_feature/users_registered_by_feature_request_builder.py index a711e71c54e..60063ff02f4 100644 --- a/msgraph_beta/generated/reports/authentication_methods/users_registered_by_feature/users_registered_by_feature_request_builder.py +++ b/msgraph_beta/generated/reports/authentication_methods/users_registered_by_feature/users_registered_by_feature_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[UsersRegiste request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UsersRegisteredByFeatureRequestBuilder: diff --git a/msgraph_beta/generated/reports/authentication_methods/users_registered_by_feature_with_included_user_types_with_included_user_roles/users_registered_by_feature_with_included_user_types_with_included_user_roles_request_builder.py b/msgraph_beta/generated/reports/authentication_methods/users_registered_by_feature_with_included_user_types_with_included_user_roles/users_registered_by_feature_with_included_user_types_with_included_user_roles_request_builder.py index 6bc952c7328..ebc147d62f6 100644 --- a/msgraph_beta/generated/reports/authentication_methods/users_registered_by_feature_with_included_user_types_with_included_user_roles/users_registered_by_feature_with_included_user_types_with_included_user_roles_request_builder.py +++ b/msgraph_beta/generated/reports/authentication_methods/users_registered_by_feature_with_included_user_types_with_included_user_roles/users_registered_by_feature_with_included_user_types_with_included_user_roles_request_builder.py @@ -65,7 +65,7 @@ def to_get_request_information(self,request_configuration: Optional[UsersRegiste request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRolesRequestBuilder: diff --git a/msgraph_beta/generated/reports/authentication_methods/users_registered_by_method/users_registered_by_method_request_builder.py b/msgraph_beta/generated/reports/authentication_methods/users_registered_by_method/users_registered_by_method_request_builder.py index 43e9114337d..3cfdb2d7501 100644 --- a/msgraph_beta/generated/reports/authentication_methods/users_registered_by_method/users_registered_by_method_request_builder.py +++ b/msgraph_beta/generated/reports/authentication_methods/users_registered_by_method/users_registered_by_method_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[UsersRegiste request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UsersRegisteredByMethodRequestBuilder: diff --git a/msgraph_beta/generated/reports/authentication_methods/users_registered_by_method_with_included_user_types_with_included_user_roles/users_registered_by_method_with_included_user_types_with_included_user_roles_request_builder.py b/msgraph_beta/generated/reports/authentication_methods/users_registered_by_method_with_included_user_types_with_included_user_roles/users_registered_by_method_with_included_user_types_with_included_user_roles_request_builder.py index c49c52c5cf1..83b734bfa49 100644 --- a/msgraph_beta/generated/reports/authentication_methods/users_registered_by_method_with_included_user_types_with_included_user_roles/users_registered_by_method_with_included_user_types_with_included_user_roles_request_builder.py +++ b/msgraph_beta/generated/reports/authentication_methods/users_registered_by_method_with_included_user_types_with_included_user_roles/users_registered_by_method_with_included_user_types_with_included_user_roles_request_builder.py @@ -65,7 +65,7 @@ def to_get_request_information(self,request_configuration: Optional[UsersRegiste request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRolesRequestBuilder: diff --git a/msgraph_beta/generated/reports/credential_user_registration_details/credential_user_registration_details_request_builder.py b/msgraph_beta/generated/reports/credential_user_registration_details/credential_user_registration_details_request_builder.py index 94bac3ce33d..ca80c4fd162 100644 --- a/msgraph_beta/generated/reports/credential_user_registration_details/credential_user_registration_details_request_builder.py +++ b/msgraph_beta/generated/reports/credential_user_registration_details/credential_user_registration_details_request_builder.py @@ -45,7 +45,7 @@ def by_credential_user_registration_details_id(self,credential_user_registration async def get(self,request_configuration: Optional[CredentialUserRegistrationDetailsRequestBuilderGetRequestConfiguration] = None) -> Optional[CredentialUserRegistrationDetailsCollectionResponse]: """ - Get a list of credentialUserRegistrationDetails objects for a given tenant. This API is available in the following national cloud deployments. + Get a list of credentialUserRegistrationDetails objects for a given tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CredentialUserRegistrationDetailsCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/reportroot-list-credentialuserregistrationdetails?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[CredentialUserRegistrationDetails] = None, re def to_get_request_information(self,request_configuration: Optional[CredentialUserRegistrationDetailsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of credentialUserRegistrationDetails objects for a given tenant. This API is available in the following national cloud deployments. + Get a list of credentialUserRegistrationDetails objects for a given tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[CredentialUs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CredentialUserRegistrationDetails] = None, request_configuration: Optional[CredentialUserRegistrationDetailsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[CredentialUserRegistrationDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CredentialUserRegistrationDetailsRequestBuilderGetQueryParameters(): """ - Get a list of credentialUserRegistrationDetails objects for a given tenant. This API is available in the following national cloud deployments. + Get a list of credentialUserRegistrationDetails objects for a given tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/credential_user_registration_details/item/credential_user_registration_details_item_request_builder.py b/msgraph_beta/generated/reports/credential_user_registration_details/item/credential_user_registration_details_item_request_builder.py index 674664d111c..562827ce445 100644 --- a/msgraph_beta/generated/reports/credential_user_registration_details/item/credential_user_registration_details_item_request_builder.py +++ b/msgraph_beta/generated/reports/credential_user_registration_details/item/credential_user_registration_details_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[CredentialUserRegistration async def get(self,request_configuration: Optional[CredentialUserRegistrationDetailsItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CredentialUserRegistrationDetails]: """ - Details of the usage of self-service password reset and multi-factor authentication (MFA) for all registered users. + Details of the usage of self-service password reset and multifactor authentication (MFA) for all registered users. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CredentialUserRegistrationDetails] """ @@ -103,12 +103,12 @@ def to_delete_request_information(self,request_configuration: Optional[Credentia request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CredentialUserRegistrationDetailsItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Details of the usage of self-service password reset and multi-factor authentication (MFA) for all registered users. + Details of the usage of self-service password reset and multifactor authentication (MFA) for all registered users. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[CredentialUs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CredentialUserRegistrationDetails] = None, request_configuration: Optional[CredentialUserRegistrationDetailsItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[CredentialUserRegistrationD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -166,7 +166,7 @@ class CredentialUserRegistrationDetailsItemRequestBuilderDeleteRequestConfigurat @dataclass class CredentialUserRegistrationDetailsItemRequestBuilderGetQueryParameters(): """ - Details of the usage of self-service password reset and multi-factor authentication (MFA) for all registered users. + Details of the usage of self-service password reset and multifactor authentication (MFA) for all registered users. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/daily_print_usage/daily_print_usage_request_builder.py b/msgraph_beta/generated/reports/daily_print_usage/daily_print_usage_request_builder.py index 2ecf9fc810c..62b4fad5fd2 100644 --- a/msgraph_beta/generated/reports/daily_print_usage/daily_print_usage_request_builder.py +++ b/msgraph_beta/generated/reports/daily_print_usage/daily_print_usage_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DailyPrintUs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrintUsage] = None, request_configuration: Optional[DailyPrintUsageRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[PrintUsage] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/reports/daily_print_usage/item/print_usage_item_request_builder.py b/msgraph_beta/generated/reports/daily_print_usage/item/print_usage_item_request_builder.py index ef1c9174287..f22c7b0eddd 100644 --- a/msgraph_beta/generated/reports/daily_print_usage/item/print_usage_item_request_builder.py +++ b/msgraph_beta/generated/reports/daily_print_usage/item/print_usage_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PrintUsag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrintUsageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PrintUsageIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrintUsage] = None, request_configuration: Optional[PrintUsageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PrintUsage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/reports/daily_print_usage_by_printer/daily_print_usage_by_printer_request_builder.py b/msgraph_beta/generated/reports/daily_print_usage_by_printer/daily_print_usage_by_printer_request_builder.py index 889ade77411..d0f9275cf26 100644 --- a/msgraph_beta/generated/reports/daily_print_usage_by_printer/daily_print_usage_by_printer_request_builder.py +++ b/msgraph_beta/generated/reports/daily_print_usage_by_printer/daily_print_usage_by_printer_request_builder.py @@ -45,7 +45,7 @@ def by_print_usage_by_printer_id(self,print_usage_by_printer_id: str) -> PrintUs async def get(self,request_configuration: Optional[DailyPrintUsageByPrinterRequestBuilderGetRequestConfiguration] = None) -> Optional[PrintUsageByPrinterCollectionResponse]: """ - Retrieve a list of daily print usage summaries, grouped by printer. This API is available in the following national cloud deployments. + Retrieve a list of daily print usage summaries, grouped by printer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintUsageByPrinterCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/reportroot-list-dailyprintusagebyprinter?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[PrintUsageByPrinter] = None, request_configur def to_get_request_information(self,request_configuration: Optional[DailyPrintUsageByPrinterRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of daily print usage summaries, grouped by printer. This API is available in the following national cloud deployments. + Retrieve a list of daily print usage summaries, grouped by printer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[DailyPrintUs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrintUsageByPrinter] = None, request_configuration: Optional[DailyPrintUsageByPrinterRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[PrintUsageByPrinter] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DailyPrintUsageByPrinterRequestBuilderGetQueryParameters(): """ - Retrieve a list of daily print usage summaries, grouped by printer. This API is available in the following national cloud deployments. + Retrieve a list of daily print usage summaries, grouped by printer. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/daily_print_usage_by_printer/item/print_usage_by_printer_item_request_builder.py b/msgraph_beta/generated/reports/daily_print_usage_by_printer/item/print_usage_by_printer_item_request_builder.py index 3dc9a06035d..d7992cf787f 100644 --- a/msgraph_beta/generated/reports/daily_print_usage_by_printer/item/print_usage_by_printer_item_request_builder.py +++ b/msgraph_beta/generated/reports/daily_print_usage_by_printer/item/print_usage_by_printer_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[PrintUsageByPrinterItemReq async def get(self,request_configuration: Optional[PrintUsageByPrinterItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PrintUsageByPrinter]: """ - Retrieve a printer's usage summary for a particular time period. For descriptions of each of the endpoints, see printUsageByPrinter. This API is available in the following national cloud deployments. + Retrieve a printer's usage summary for a particular time period. For descriptions of each of the endpoints, see printUsageByPrinter. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintUsageByPrinter] Find more info here: https://learn.microsoft.com/graph/api/printusagebyprinter-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[PrintUsag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrintUsageByPrinterItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a printer's usage summary for a particular time period. For descriptions of each of the endpoints, see printUsageByPrinter. This API is available in the following national cloud deployments. + Retrieve a printer's usage summary for a particular time period. For descriptions of each of the endpoints, see printUsageByPrinter. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PrintUsageBy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrintUsageByPrinter] = None, request_configuration: Optional[PrintUsageByPrinterItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[PrintUsageByPrinter] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class PrintUsageByPrinterItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class PrintUsageByPrinterItemRequestBuilderGetQueryParameters(): """ - Retrieve a printer's usage summary for a particular time period. For descriptions of each of the endpoints, see printUsageByPrinter. This API is available in the following national cloud deployments. + Retrieve a printer's usage summary for a particular time period. For descriptions of each of the endpoints, see printUsageByPrinter. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/daily_print_usage_by_user/daily_print_usage_by_user_request_builder.py b/msgraph_beta/generated/reports/daily_print_usage_by_user/daily_print_usage_by_user_request_builder.py index 6625d0589fb..b118bbbc38e 100644 --- a/msgraph_beta/generated/reports/daily_print_usage_by_user/daily_print_usage_by_user_request_builder.py +++ b/msgraph_beta/generated/reports/daily_print_usage_by_user/daily_print_usage_by_user_request_builder.py @@ -45,7 +45,7 @@ def by_print_usage_by_user_id(self,print_usage_by_user_id: str) -> PrintUsageByU async def get(self,request_configuration: Optional[DailyPrintUsageByUserRequestBuilderGetRequestConfiguration] = None) -> Optional[PrintUsageByUserCollectionResponse]: """ - Retrieve a list of daily print usage summaries, grouped by user. This API is available in the following national cloud deployments. + Retrieve a list of daily print usage summaries, grouped by user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintUsageByUserCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/reportroot-list-dailyprintusagebyuser?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[PrintUsageByUser] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[DailyPrintUsageByUserRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of daily print usage summaries, grouped by user. This API is available in the following national cloud deployments. + Retrieve a list of daily print usage summaries, grouped by user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[DailyPrintUs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrintUsageByUser] = None, request_configuration: Optional[DailyPrintUsageByUserRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[PrintUsageByUser] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DailyPrintUsageByUserRequestBuilderGetQueryParameters(): """ - Retrieve a list of daily print usage summaries, grouped by user. This API is available in the following national cloud deployments. + Retrieve a list of daily print usage summaries, grouped by user. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/daily_print_usage_by_user/item/print_usage_by_user_item_request_builder.py b/msgraph_beta/generated/reports/daily_print_usage_by_user/item/print_usage_by_user_item_request_builder.py index 93fee58f316..2a8ac0024b6 100644 --- a/msgraph_beta/generated/reports/daily_print_usage_by_user/item/print_usage_by_user_item_request_builder.py +++ b/msgraph_beta/generated/reports/daily_print_usage_by_user/item/print_usage_by_user_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[PrintUsageByUserItemReques async def get(self,request_configuration: Optional[PrintUsageByUserItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PrintUsageByUser]: """ - Retrieve a user's usage summary for a particular time period. See the printUsageByUser documentation for descriptions of each of the endpoints. This API is available in the following national cloud deployments. + Retrieve a user's usage summary for a particular time period. See the printUsageByUser documentation for descriptions of each of the endpoints. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintUsageByUser] Find more info here: https://learn.microsoft.com/graph/api/printusagebyuser-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[PrintUsag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrintUsageByUserItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a user's usage summary for a particular time period. See the printUsageByUser documentation for descriptions of each of the endpoints. This API is available in the following national cloud deployments. + Retrieve a user's usage summary for a particular time period. See the printUsageByUser documentation for descriptions of each of the endpoints. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PrintUsageBy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrintUsageByUser] = None, request_configuration: Optional[PrintUsageByUserItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[PrintUsageByUser] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class PrintUsageByUserItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class PrintUsageByUserItemRequestBuilderGetQueryParameters(): """ - Retrieve a user's usage summary for a particular time period. See the printUsageByUser documentation for descriptions of each of the endpoints. This API is available in the following national cloud deployments. + Retrieve a user's usage summary for a particular time period. See the printUsageByUser documentation for descriptions of each of the endpoints. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/daily_print_usage_summaries_by_printer/daily_print_usage_summaries_by_printer_request_builder.py b/msgraph_beta/generated/reports/daily_print_usage_summaries_by_printer/daily_print_usage_summaries_by_printer_request_builder.py index 7dfc5f70060..a853e729d5c 100644 --- a/msgraph_beta/generated/reports/daily_print_usage_summaries_by_printer/daily_print_usage_summaries_by_printer_request_builder.py +++ b/msgraph_beta/generated/reports/daily_print_usage_summaries_by_printer/daily_print_usage_summaries_by_printer_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DailyPrintUs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrintUsageByPrinter] = None, request_configuration: Optional[DailyPrintUsageSummariesByPrinterRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[PrintUsageByPrinter] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/reports/daily_print_usage_summaries_by_printer/item/print_usage_by_printer_item_request_builder.py b/msgraph_beta/generated/reports/daily_print_usage_summaries_by_printer/item/print_usage_by_printer_item_request_builder.py index aa103de4bb4..751e436f85c 100644 --- a/msgraph_beta/generated/reports/daily_print_usage_summaries_by_printer/item/print_usage_by_printer_item_request_builder.py +++ b/msgraph_beta/generated/reports/daily_print_usage_summaries_by_printer/item/print_usage_by_printer_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PrintUsag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrintUsageByPrinterItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PrintUsageBy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrintUsageByPrinter] = None, request_configuration: Optional[PrintUsageByPrinterItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PrintUsageByPrinter] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/reports/daily_print_usage_summaries_by_user/daily_print_usage_summaries_by_user_request_builder.py b/msgraph_beta/generated/reports/daily_print_usage_summaries_by_user/daily_print_usage_summaries_by_user_request_builder.py index e642559ca48..8052180c08c 100644 --- a/msgraph_beta/generated/reports/daily_print_usage_summaries_by_user/daily_print_usage_summaries_by_user_request_builder.py +++ b/msgraph_beta/generated/reports/daily_print_usage_summaries_by_user/daily_print_usage_summaries_by_user_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DailyPrintUs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrintUsageByUser] = None, request_configuration: Optional[DailyPrintUsageSummariesByUserRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[PrintUsageByUser] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/reports/daily_print_usage_summaries_by_user/item/print_usage_by_user_item_request_builder.py b/msgraph_beta/generated/reports/daily_print_usage_summaries_by_user/item/print_usage_by_user_item_request_builder.py index 2c45fc2b696..37ae467a70f 100644 --- a/msgraph_beta/generated/reports/daily_print_usage_summaries_by_user/item/print_usage_by_user_item_request_builder.py +++ b/msgraph_beta/generated/reports/daily_print_usage_summaries_by_user/item/print_usage_by_user_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PrintUsag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrintUsageByUserItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PrintUsageBy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrintUsageByUser] = None, request_configuration: Optional[PrintUsageByUserItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PrintUsageByUser] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/reports/device_configuration_device_activity/device_configuration_device_activity_request_builder.py b/msgraph_beta/generated/reports/device_configuration_device_activity/device_configuration_device_activity_request_builder.py index 05643820c7a..bc8c746b006 100644 --- a/msgraph_beta/generated/reports/device_configuration_device_activity/device_configuration_device_activity_request_builder.py +++ b/msgraph_beta/generated/reports/device_configuration_device_activity/device_configuration_device_activity_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeviceConfigurationDeviceActivityRequestBuilder: diff --git a/msgraph_beta/generated/reports/device_configuration_user_activity/device_configuration_user_activity_request_builder.py b/msgraph_beta/generated/reports/device_configuration_user_activity/device_configuration_user_activity_request_builder.py index 4619d6eb5d1..3c6da706b40 100644 --- a/msgraph_beta/generated/reports/device_configuration_user_activity/device_configuration_user_activity_request_builder.py +++ b/msgraph_beta/generated/reports/device_configuration_user_activity/device_configuration_user_activity_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeviceConfigurationUserActivityRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_request_builder.py b/msgraph_beta/generated/reports/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_request_builder.py index 811e655de45..1243db5c453 100644 --- a/msgraph_beta/generated/reports/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_request_builder.py +++ b/msgraph_beta/generated/reports/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetAttackSim request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetAttackSimulationRepeatOffendersRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_attack_simulation_simulation_user_coverage/get_attack_simulation_simulation_user_coverage_request_builder.py b/msgraph_beta/generated/reports/get_attack_simulation_simulation_user_coverage/get_attack_simulation_simulation_user_coverage_request_builder.py index 86fc7724c69..1e3aba776f1 100644 --- a/msgraph_beta/generated/reports/get_attack_simulation_simulation_user_coverage/get_attack_simulation_simulation_user_coverage_request_builder.py +++ b/msgraph_beta/generated/reports/get_attack_simulation_simulation_user_coverage/get_attack_simulation_simulation_user_coverage_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetAttackSim request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetAttackSimulationSimulationUserCoverageRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_attack_simulation_training_user_coverage/get_attack_simulation_training_user_coverage_request_builder.py b/msgraph_beta/generated/reports/get_attack_simulation_training_user_coverage/get_attack_simulation_training_user_coverage_request_builder.py index eaf08cd9e68..9d117f21e46 100644 --- a/msgraph_beta/generated/reports/get_attack_simulation_training_user_coverage/get_attack_simulation_training_user_coverage_request_builder.py +++ b/msgraph_beta/generated/reports/get_attack_simulation_training_user_coverage/get_attack_simulation_training_user_coverage_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetAttackSim request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetAttackSimulationTrainingUserCoverageRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_azure_a_d_application_sign_in_summary_with_period/get_azure_a_d_application_sign_in_summary_with_period_request_builder.py b/msgraph_beta/generated/reports/get_azure_a_d_application_sign_in_summary_with_period/get_azure_a_d_application_sign_in_summary_with_period_request_builder.py index a43c07e001e..3fd80518a4c 100644 --- a/msgraph_beta/generated/reports/get_azure_a_d_application_sign_in_summary_with_period/get_azure_a_d_application_sign_in_summary_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_azure_a_d_application_sign_in_summary_with_period/get_azure_a_d_application_sign_in_summary_with_period_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GetAzureADAp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetAzureADApplicationSignInSummaryWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_browser_distribution_user_counts_with_period/get_browser_distribution_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_browser_distribution_user_counts_with_period/get_browser_distribution_user_counts_with_period_request_builder.py index e69bd476f1f..33918b806a8 100644 --- a/msgraph_beta/generated/reports/get_browser_distribution_user_counts_with_period/get_browser_distribution_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_browser_distribution_user_counts_with_period/get_browser_distribution_user_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetBrowserDi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetBrowserDistributionUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_browser_user_counts_with_period/get_browser_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_browser_user_counts_with_period/get_browser_user_counts_with_period_request_builder.py index e51f63cfc01..9c4c3e506f5 100644 --- a/msgraph_beta/generated/reports/get_browser_user_counts_with_period/get_browser_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_browser_user_counts_with_period/get_browser_user_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetBrowserUs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetBrowserUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_browser_user_detail_with_period/get_browser_user_detail_with_period_request_builder.py b/msgraph_beta/generated/reports/get_browser_user_detail_with_period/get_browser_user_detail_with_period_request_builder.py index f30c8a24b79..9dd7b54b3b4 100644 --- a/msgraph_beta/generated/reports/get_browser_user_detail_with_period/get_browser_user_detail_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_browser_user_detail_with_period/get_browser_user_detail_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetBrowserUs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetBrowserUserDetailWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_credential_usage_summary_with_period/get_credential_usage_summary_with_period_request_builder.py b/msgraph_beta/generated/reports/get_credential_usage_summary_with_period/get_credential_usage_summary_with_period_request_builder.py index a2c2959a30e..a2444194c4f 100644 --- a/msgraph_beta/generated/reports/get_credential_usage_summary_with_period/get_credential_usage_summary_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_credential_usage_summary_with_period/get_credential_usage_summary_with_period_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GetCredentia request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetCredentialUsageSummaryWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_credential_user_registration_count/get_credential_user_registration_count_request_builder.py b/msgraph_beta/generated/reports/get_credential_user_registration_count/get_credential_user_registration_count_request_builder.py index c605b0270e5..5c9a5a8a2ed 100644 --- a/msgraph_beta/generated/reports/get_credential_user_registration_count/get_credential_user_registration_count_request_builder.py +++ b/msgraph_beta/generated/reports/get_credential_user_registration_count/get_credential_user_registration_count_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[GetCredentialUserRegistrationCountRequestBuilderGetRequestConfiguration] = None) -> Optional[GetCredentialUserRegistrationCountGetResponse]: """ - Report the current state of how many users in your organization are registered for self-service password reset and multifactor authentication (MFA) capabilities. This API is available in the following national cloud deployments. + Report the current state of how many users in your organization are registered for self-service password reset and multifactor authentication (MFA) capabilities. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetCredentialUserRegistrationCountGetResponse] Find more info here: https://learn.microsoft.com/graph/api/reportroot-getcredentialuserregistrationcount?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[GetCredentialUserRegistration def to_get_request_information(self,request_configuration: Optional[GetCredentialUserRegistrationCountRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Report the current state of how many users in your organization are registered for self-service password reset and multifactor authentication (MFA) capabilities. This API is available in the following national cloud deployments. + Report the current state of how many users in your organization are registered for self-service password reset and multifactor authentication (MFA) capabilities. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GetCredentia request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetCredentialUserRegistrationCountRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> GetCredentialUserRegistratio @dataclass class GetCredentialUserRegistrationCountRequestBuilderGetQueryParameters(): """ - Report the current state of how many users in your organization are registered for self-service password reset and multifactor authentication (MFA) capabilities. This API is available in the following national cloud deployments. + Report the current state of how many users in your organization are registered for self-service password reset and multifactor authentication (MFA) capabilities. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/get_email_activity_counts_with_period/get_email_activity_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_email_activity_counts_with_period/get_email_activity_counts_with_period_request_builder.py index e3156fd1f97..256d9d0ef98 100644 --- a/msgraph_beta/generated/reports/get_email_activity_counts_with_period/get_email_activity_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_email_activity_counts_with_period/get_email_activity_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetEmailActi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetEmailActivityCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_email_activity_user_counts_with_period/get_email_activity_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_email_activity_user_counts_with_period/get_email_activity_user_counts_with_period_request_builder.py index 345e43b3033..438b069bb59 100644 --- a/msgraph_beta/generated/reports/get_email_activity_user_counts_with_period/get_email_activity_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_email_activity_user_counts_with_period/get_email_activity_user_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetEmailActi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetEmailActivityUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_email_activity_user_detail_with_date/get_email_activity_user_detail_with_date_request_builder.py b/msgraph_beta/generated/reports/get_email_activity_user_detail_with_date/get_email_activity_user_detail_with_date_request_builder.py index 0f265a46da4..f1dcdfa11f0 100644 --- a/msgraph_beta/generated/reports/get_email_activity_user_detail_with_date/get_email_activity_user_detail_with_date_request_builder.py +++ b/msgraph_beta/generated/reports/get_email_activity_user_detail_with_date/get_email_activity_user_detail_with_date_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetEmailActi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetEmailActivityUserDetailWithDateRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_email_activity_user_detail_with_period/get_email_activity_user_detail_with_period_request_builder.py b/msgraph_beta/generated/reports/get_email_activity_user_detail_with_period/get_email_activity_user_detail_with_period_request_builder.py index cb06fb5580b..c81eecbb753 100644 --- a/msgraph_beta/generated/reports/get_email_activity_user_detail_with_period/get_email_activity_user_detail_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_email_activity_user_detail_with_period/get_email_activity_user_detail_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetEmailActi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetEmailActivityUserDetailWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_email_app_usage_apps_user_counts_with_period/get_email_app_usage_apps_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_email_app_usage_apps_user_counts_with_period/get_email_app_usage_apps_user_counts_with_period_request_builder.py index 9072e3a613f..3aa7779ce76 100644 --- a/msgraph_beta/generated/reports/get_email_app_usage_apps_user_counts_with_period/get_email_app_usage_apps_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_email_app_usage_apps_user_counts_with_period/get_email_app_usage_apps_user_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetEmailAppU request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetEmailAppUsageAppsUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_email_app_usage_user_counts_with_period/get_email_app_usage_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_email_app_usage_user_counts_with_period/get_email_app_usage_user_counts_with_period_request_builder.py index b4a6d12d6f5..6ea80d28790 100644 --- a/msgraph_beta/generated/reports/get_email_app_usage_user_counts_with_period/get_email_app_usage_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_email_app_usage_user_counts_with_period/get_email_app_usage_user_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetEmailAppU request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetEmailAppUsageUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_email_app_usage_user_detail_with_date/get_email_app_usage_user_detail_with_date_request_builder.py b/msgraph_beta/generated/reports/get_email_app_usage_user_detail_with_date/get_email_app_usage_user_detail_with_date_request_builder.py index 31d6b03ac5f..8216ee5b638 100644 --- a/msgraph_beta/generated/reports/get_email_app_usage_user_detail_with_date/get_email_app_usage_user_detail_with_date_request_builder.py +++ b/msgraph_beta/generated/reports/get_email_app_usage_user_detail_with_date/get_email_app_usage_user_detail_with_date_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetEmailAppU request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetEmailAppUsageUserDetailWithDateRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_email_app_usage_user_detail_with_period/get_email_app_usage_user_detail_with_period_request_builder.py b/msgraph_beta/generated/reports/get_email_app_usage_user_detail_with_period/get_email_app_usage_user_detail_with_period_request_builder.py index 88249ab711a..aa8528672fc 100644 --- a/msgraph_beta/generated/reports/get_email_app_usage_user_detail_with_period/get_email_app_usage_user_detail_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_email_app_usage_user_detail_with_period/get_email_app_usage_user_detail_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetEmailAppU request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetEmailAppUsageUserDetailWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_email_app_usage_versions_user_counts_with_period/get_email_app_usage_versions_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_email_app_usage_versions_user_counts_with_period/get_email_app_usage_versions_user_counts_with_period_request_builder.py index 2c72ebb24a7..6e06fcdffa3 100644 --- a/msgraph_beta/generated/reports/get_email_app_usage_versions_user_counts_with_period/get_email_app_usage_versions_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_email_app_usage_versions_user_counts_with_period/get_email_app_usage_versions_user_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetEmailAppU request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetEmailAppUsageVersionsUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_forms_user_activity_counts_with_period/get_forms_user_activity_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_forms_user_activity_counts_with_period/get_forms_user_activity_counts_with_period_request_builder.py index 64541b2236b..4ef672e01ed 100644 --- a/msgraph_beta/generated/reports/get_forms_user_activity_counts_with_period/get_forms_user_activity_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_forms_user_activity_counts_with_period/get_forms_user_activity_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetFormsUser request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetFormsUserActivityCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_forms_user_activity_user_counts_with_period/get_forms_user_activity_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_forms_user_activity_user_counts_with_period/get_forms_user_activity_user_counts_with_period_request_builder.py index 7d1bdbbeb41..da900f0a8eb 100644 --- a/msgraph_beta/generated/reports/get_forms_user_activity_user_counts_with_period/get_forms_user_activity_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_forms_user_activity_user_counts_with_period/get_forms_user_activity_user_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetFormsUser request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetFormsUserActivityUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_forms_user_activity_user_detail_with_date/get_forms_user_activity_user_detail_with_date_request_builder.py b/msgraph_beta/generated/reports/get_forms_user_activity_user_detail_with_date/get_forms_user_activity_user_detail_with_date_request_builder.py index 5bdc5ad9e7c..4bd8525fed4 100644 --- a/msgraph_beta/generated/reports/get_forms_user_activity_user_detail_with_date/get_forms_user_activity_user_detail_with_date_request_builder.py +++ b/msgraph_beta/generated/reports/get_forms_user_activity_user_detail_with_date/get_forms_user_activity_user_detail_with_date_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetFormsUser request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetFormsUserActivityUserDetailWithDateRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_forms_user_activity_user_detail_with_period/get_forms_user_activity_user_detail_with_period_request_builder.py b/msgraph_beta/generated/reports/get_forms_user_activity_user_detail_with_period/get_forms_user_activity_user_detail_with_period_request_builder.py index a26591a9086..f44f2fbe328 100644 --- a/msgraph_beta/generated/reports/get_forms_user_activity_user_detail_with_period/get_forms_user_activity_user_detail_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_forms_user_activity_user_detail_with_period/get_forms_user_activity_user_detail_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetFormsUser request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetFormsUserActivityUserDetailWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time/get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/reports/get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time/get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time_request_builder.py index cf958170161..8cce8c29e8e 100644 --- a/msgraph_beta/generated/reports/get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time/get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time_request_builder.py +++ b/msgraph_beta/generated/reports/get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time/get_group_archived_print_jobs_with_group_id_with_start_date_time_with_end_date_time_request_builder.py @@ -69,7 +69,7 @@ def to_get_request_information(self,request_configuration: Optional[GetGroupArch request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_m365_app_platform_user_counts_with_period/get_m365_app_platform_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_m365_app_platform_user_counts_with_period/get_m365_app_platform_user_counts_with_period_request_builder.py index 43798ec6ee0..f892d9137b4 100644 --- a/msgraph_beta/generated/reports/get_m365_app_platform_user_counts_with_period/get_m365_app_platform_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_m365_app_platform_user_counts_with_period/get_m365_app_platform_user_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetM365AppPl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetM365AppPlatformUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_m365_app_user_counts_with_period/get_m365_app_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_m365_app_user_counts_with_period/get_m365_app_user_counts_with_period_request_builder.py index 2ded97b6ad6..8751733cc4e 100644 --- a/msgraph_beta/generated/reports/get_m365_app_user_counts_with_period/get_m365_app_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_m365_app_user_counts_with_period/get_m365_app_user_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetM365AppUs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetM365AppUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_m365_app_user_detail_with_date/get_m365_app_user_detail_with_date_request_builder.py b/msgraph_beta/generated/reports/get_m365_app_user_detail_with_date/get_m365_app_user_detail_with_date_request_builder.py index 103f445a323..002f71e2227 100644 --- a/msgraph_beta/generated/reports/get_m365_app_user_detail_with_date/get_m365_app_user_detail_with_date_request_builder.py +++ b/msgraph_beta/generated/reports/get_m365_app_user_detail_with_date/get_m365_app_user_detail_with_date_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetM365AppUs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetM365AppUserDetailWithDateRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_m365_app_user_detail_with_period/get_m365_app_user_detail_with_period_request_builder.py b/msgraph_beta/generated/reports/get_m365_app_user_detail_with_period/get_m365_app_user_detail_with_period_request_builder.py index 6e2735dcd1a..e42cfda86a9 100644 --- a/msgraph_beta/generated/reports/get_m365_app_user_detail_with_period/get_m365_app_user_detail_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_m365_app_user_detail_with_period/get_m365_app_user_detail_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetM365AppUs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetM365AppUserDetailWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_mailbox_usage_detail_with_period/get_mailbox_usage_detail_with_period_request_builder.py b/msgraph_beta/generated/reports/get_mailbox_usage_detail_with_period/get_mailbox_usage_detail_with_period_request_builder.py index bca558303b7..8b61eafd903 100644 --- a/msgraph_beta/generated/reports/get_mailbox_usage_detail_with_period/get_mailbox_usage_detail_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_mailbox_usage_detail_with_period/get_mailbox_usage_detail_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetMailboxUs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetMailboxUsageDetailWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_mailbox_usage_mailbox_counts_with_period/get_mailbox_usage_mailbox_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_mailbox_usage_mailbox_counts_with_period/get_mailbox_usage_mailbox_counts_with_period_request_builder.py index d33f6de2e5b..aea5a8f2ef8 100644 --- a/msgraph_beta/generated/reports/get_mailbox_usage_mailbox_counts_with_period/get_mailbox_usage_mailbox_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_mailbox_usage_mailbox_counts_with_period/get_mailbox_usage_mailbox_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetMailboxUs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetMailboxUsageMailboxCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_mailbox_usage_quota_status_mailbox_counts_with_period/get_mailbox_usage_quota_status_mailbox_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_mailbox_usage_quota_status_mailbox_counts_with_period/get_mailbox_usage_quota_status_mailbox_counts_with_period_request_builder.py index b3798abb71a..6728e2ea193 100644 --- a/msgraph_beta/generated/reports/get_mailbox_usage_quota_status_mailbox_counts_with_period/get_mailbox_usage_quota_status_mailbox_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_mailbox_usage_quota_status_mailbox_counts_with_period/get_mailbox_usage_quota_status_mailbox_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetMailboxUs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetMailboxUsageQuotaStatusMailboxCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_mailbox_usage_storage_with_period/get_mailbox_usage_storage_with_period_request_builder.py b/msgraph_beta/generated/reports/get_mailbox_usage_storage_with_period/get_mailbox_usage_storage_with_period_request_builder.py index b105f4ac84e..250b94812cf 100644 --- a/msgraph_beta/generated/reports/get_mailbox_usage_storage_with_period/get_mailbox_usage_storage_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_mailbox_usage_storage_with_period/get_mailbox_usage_storage_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetMailboxUs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetMailboxUsageStorageWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_office365_activation_counts/get_office365_activation_counts_request_builder.py b/msgraph_beta/generated/reports/get_office365_activation_counts/get_office365_activation_counts_request_builder.py index 86e68c0b4fb..034f9beb33b 100644 --- a/msgraph_beta/generated/reports/get_office365_activation_counts/get_office365_activation_counts_request_builder.py +++ b/msgraph_beta/generated/reports/get_office365_activation_counts/get_office365_activation_counts_request_builder.py @@ -57,7 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[GetOffice365 request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetOffice365ActivationCountsRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_office365_activations_user_counts/get_office365_activations_user_counts_request_builder.py b/msgraph_beta/generated/reports/get_office365_activations_user_counts/get_office365_activations_user_counts_request_builder.py index 00af1064dba..2cc34dc12e0 100644 --- a/msgraph_beta/generated/reports/get_office365_activations_user_counts/get_office365_activations_user_counts_request_builder.py +++ b/msgraph_beta/generated/reports/get_office365_activations_user_counts/get_office365_activations_user_counts_request_builder.py @@ -57,7 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[GetOffice365 request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetOffice365ActivationsUserCountsRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_office365_activations_user_detail/get_office365_activations_user_detail_request_builder.py b/msgraph_beta/generated/reports/get_office365_activations_user_detail/get_office365_activations_user_detail_request_builder.py index aae0d100ad8..750d398135d 100644 --- a/msgraph_beta/generated/reports/get_office365_activations_user_detail/get_office365_activations_user_detail_request_builder.py +++ b/msgraph_beta/generated/reports/get_office365_activations_user_detail/get_office365_activations_user_detail_request_builder.py @@ -57,7 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[GetOffice365 request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetOffice365ActivationsUserDetailRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_office365_active_user_counts_with_period/get_office365_active_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_office365_active_user_counts_with_period/get_office365_active_user_counts_with_period_request_builder.py index df1a30d6a66..0d65880cea5 100644 --- a/msgraph_beta/generated/reports/get_office365_active_user_counts_with_period/get_office365_active_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_office365_active_user_counts_with_period/get_office365_active_user_counts_with_period_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GetOffice365 request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetOffice365ActiveUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_office365_active_user_detail_with_date/get_office365_active_user_detail_with_date_request_builder.py b/msgraph_beta/generated/reports/get_office365_active_user_detail_with_date/get_office365_active_user_detail_with_date_request_builder.py index 2a3816acb96..68e17f3b254 100644 --- a/msgraph_beta/generated/reports/get_office365_active_user_detail_with_date/get_office365_active_user_detail_with_date_request_builder.py +++ b/msgraph_beta/generated/reports/get_office365_active_user_detail_with_date/get_office365_active_user_detail_with_date_request_builder.py @@ -65,7 +65,7 @@ def to_get_request_information(self,request_configuration: Optional[GetOffice365 request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetOffice365ActiveUserDetailWithDateRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_office365_active_user_detail_with_period/get_office365_active_user_detail_with_period_request_builder.py b/msgraph_beta/generated/reports/get_office365_active_user_detail_with_period/get_office365_active_user_detail_with_period_request_builder.py index 08b541a3a36..6c17bb479cb 100644 --- a/msgraph_beta/generated/reports/get_office365_active_user_detail_with_period/get_office365_active_user_detail_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_office365_active_user_detail_with_period/get_office365_active_user_detail_with_period_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GetOffice365 request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetOffice365ActiveUserDetailWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_office365_groups_activity_counts_with_period/get_office365_groups_activity_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_office365_groups_activity_counts_with_period/get_office365_groups_activity_counts_with_period_request_builder.py index f622cee6c59..5446590ceeb 100644 --- a/msgraph_beta/generated/reports/get_office365_groups_activity_counts_with_period/get_office365_groups_activity_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_office365_groups_activity_counts_with_period/get_office365_groups_activity_counts_with_period_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GetOffice365 request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetOffice365GroupsActivityCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_office365_groups_activity_detail_with_date/get_office365_groups_activity_detail_with_date_request_builder.py b/msgraph_beta/generated/reports/get_office365_groups_activity_detail_with_date/get_office365_groups_activity_detail_with_date_request_builder.py index ec721ae1d45..e79f1a91c46 100644 --- a/msgraph_beta/generated/reports/get_office365_groups_activity_detail_with_date/get_office365_groups_activity_detail_with_date_request_builder.py +++ b/msgraph_beta/generated/reports/get_office365_groups_activity_detail_with_date/get_office365_groups_activity_detail_with_date_request_builder.py @@ -65,7 +65,7 @@ def to_get_request_information(self,request_configuration: Optional[GetOffice365 request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetOffice365GroupsActivityDetailWithDateRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_office365_groups_activity_detail_with_period/get_office365_groups_activity_detail_with_period_request_builder.py b/msgraph_beta/generated/reports/get_office365_groups_activity_detail_with_period/get_office365_groups_activity_detail_with_period_request_builder.py index fb20b935158..cc0b553d79d 100644 --- a/msgraph_beta/generated/reports/get_office365_groups_activity_detail_with_period/get_office365_groups_activity_detail_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_office365_groups_activity_detail_with_period/get_office365_groups_activity_detail_with_period_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GetOffice365 request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetOffice365GroupsActivityDetailWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_office365_groups_activity_file_counts_with_period/get_office365_groups_activity_file_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_office365_groups_activity_file_counts_with_period/get_office365_groups_activity_file_counts_with_period_request_builder.py index 6a2c7274a78..1427b16c9ce 100644 --- a/msgraph_beta/generated/reports/get_office365_groups_activity_file_counts_with_period/get_office365_groups_activity_file_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_office365_groups_activity_file_counts_with_period/get_office365_groups_activity_file_counts_with_period_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GetOffice365 request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetOffice365GroupsActivityFileCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_office365_groups_activity_group_counts_with_period/get_office365_groups_activity_group_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_office365_groups_activity_group_counts_with_period/get_office365_groups_activity_group_counts_with_period_request_builder.py index af35298d6b0..5f95dec943b 100644 --- a/msgraph_beta/generated/reports/get_office365_groups_activity_group_counts_with_period/get_office365_groups_activity_group_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_office365_groups_activity_group_counts_with_period/get_office365_groups_activity_group_counts_with_period_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GetOffice365 request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetOffice365GroupsActivityGroupCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_office365_groups_activity_storage_with_period/get_office365_groups_activity_storage_with_period_request_builder.py b/msgraph_beta/generated/reports/get_office365_groups_activity_storage_with_period/get_office365_groups_activity_storage_with_period_request_builder.py index 9af2e5fc305..a77076deacb 100644 --- a/msgraph_beta/generated/reports/get_office365_groups_activity_storage_with_period/get_office365_groups_activity_storage_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_office365_groups_activity_storage_with_period/get_office365_groups_activity_storage_with_period_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GetOffice365 request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetOffice365GroupsActivityStorageWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_office365_services_user_counts_with_period/get_office365_services_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_office365_services_user_counts_with_period/get_office365_services_user_counts_with_period_request_builder.py index ba1079f69b7..66913a27113 100644 --- a/msgraph_beta/generated/reports/get_office365_services_user_counts_with_period/get_office365_services_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_office365_services_user_counts_with_period/get_office365_services_user_counts_with_period_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GetOffice365 request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetOffice365ServicesUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_one_drive_activity_file_counts_with_period/get_one_drive_activity_file_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_one_drive_activity_file_counts_with_period/get_one_drive_activity_file_counts_with_period_request_builder.py index 96ba5aba5a7..3aee52a8ce5 100644 --- a/msgraph_beta/generated/reports/get_one_drive_activity_file_counts_with_period/get_one_drive_activity_file_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_one_drive_activity_file_counts_with_period/get_one_drive_activity_file_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetOneDriveA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetOneDriveActivityFileCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_one_drive_activity_user_counts_with_period/get_one_drive_activity_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_one_drive_activity_user_counts_with_period/get_one_drive_activity_user_counts_with_period_request_builder.py index 6676e83a128..a2d38b2a151 100644 --- a/msgraph_beta/generated/reports/get_one_drive_activity_user_counts_with_period/get_one_drive_activity_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_one_drive_activity_user_counts_with_period/get_one_drive_activity_user_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetOneDriveA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetOneDriveActivityUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_one_drive_activity_user_detail_with_date/get_one_drive_activity_user_detail_with_date_request_builder.py b/msgraph_beta/generated/reports/get_one_drive_activity_user_detail_with_date/get_one_drive_activity_user_detail_with_date_request_builder.py index d743785d895..0d4e4df151e 100644 --- a/msgraph_beta/generated/reports/get_one_drive_activity_user_detail_with_date/get_one_drive_activity_user_detail_with_date_request_builder.py +++ b/msgraph_beta/generated/reports/get_one_drive_activity_user_detail_with_date/get_one_drive_activity_user_detail_with_date_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetOneDriveA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetOneDriveActivityUserDetailWithDateRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_one_drive_activity_user_detail_with_period/get_one_drive_activity_user_detail_with_period_request_builder.py b/msgraph_beta/generated/reports/get_one_drive_activity_user_detail_with_period/get_one_drive_activity_user_detail_with_period_request_builder.py index c760c330f4a..09f0431785b 100644 --- a/msgraph_beta/generated/reports/get_one_drive_activity_user_detail_with_period/get_one_drive_activity_user_detail_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_one_drive_activity_user_detail_with_period/get_one_drive_activity_user_detail_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetOneDriveA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetOneDriveActivityUserDetailWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_one_drive_usage_account_counts_with_period/get_one_drive_usage_account_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_one_drive_usage_account_counts_with_period/get_one_drive_usage_account_counts_with_period_request_builder.py index 4b5db2f6339..265e0f3258f 100644 --- a/msgraph_beta/generated/reports/get_one_drive_usage_account_counts_with_period/get_one_drive_usage_account_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_one_drive_usage_account_counts_with_period/get_one_drive_usage_account_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetOneDriveU request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetOneDriveUsageAccountCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_one_drive_usage_account_detail_with_date/get_one_drive_usage_account_detail_with_date_request_builder.py b/msgraph_beta/generated/reports/get_one_drive_usage_account_detail_with_date/get_one_drive_usage_account_detail_with_date_request_builder.py index e3c5e0f51b8..56e7978c618 100644 --- a/msgraph_beta/generated/reports/get_one_drive_usage_account_detail_with_date/get_one_drive_usage_account_detail_with_date_request_builder.py +++ b/msgraph_beta/generated/reports/get_one_drive_usage_account_detail_with_date/get_one_drive_usage_account_detail_with_date_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetOneDriveU request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetOneDriveUsageAccountDetailWithDateRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_one_drive_usage_account_detail_with_period/get_one_drive_usage_account_detail_with_period_request_builder.py b/msgraph_beta/generated/reports/get_one_drive_usage_account_detail_with_period/get_one_drive_usage_account_detail_with_period_request_builder.py index a277a469e4b..c5f19789fc4 100644 --- a/msgraph_beta/generated/reports/get_one_drive_usage_account_detail_with_period/get_one_drive_usage_account_detail_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_one_drive_usage_account_detail_with_period/get_one_drive_usage_account_detail_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetOneDriveU request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetOneDriveUsageAccountDetailWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_one_drive_usage_file_counts_with_period/get_one_drive_usage_file_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_one_drive_usage_file_counts_with_period/get_one_drive_usage_file_counts_with_period_request_builder.py index cdf4e6311a6..b7c8af02f9d 100644 --- a/msgraph_beta/generated/reports/get_one_drive_usage_file_counts_with_period/get_one_drive_usage_file_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_one_drive_usage_file_counts_with_period/get_one_drive_usage_file_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetOneDriveU request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetOneDriveUsageFileCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_one_drive_usage_storage_with_period/get_one_drive_usage_storage_with_period_request_builder.py b/msgraph_beta/generated/reports/get_one_drive_usage_storage_with_period/get_one_drive_usage_storage_with_period_request_builder.py index c44ad8397a2..6e37987e413 100644 --- a/msgraph_beta/generated/reports/get_one_drive_usage_storage_with_period/get_one_drive_usage_storage_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_one_drive_usage_storage_with_period/get_one_drive_usage_storage_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetOneDriveU request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetOneDriveUsageStorageWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time/get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/reports/get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time/get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time_request_builder.py index 2a899c36d5f..775fe0e6533 100644 --- a/msgraph_beta/generated/reports/get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time/get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time_request_builder.py +++ b/msgraph_beta/generated/reports/get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time/get_printer_archived_print_jobs_with_printer_id_with_start_date_time_with_end_date_time_request_builder.py @@ -69,7 +69,7 @@ def to_get_request_information(self,request_configuration: Optional[GetPrinterAr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_relying_party_detailed_summary_with_period/get_relying_party_detailed_summary_with_period_request_builder.py b/msgraph_beta/generated/reports/get_relying_party_detailed_summary_with_period/get_relying_party_detailed_summary_with_period_request_builder.py index ba9db585e6b..9e4384e5538 100644 --- a/msgraph_beta/generated/reports/get_relying_party_detailed_summary_with_period/get_relying_party_detailed_summary_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_relying_party_detailed_summary_with_period/get_relying_party_detailed_summary_with_period_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GetRelyingPa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetRelyingPartyDetailedSummaryWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_share_point_activity_file_counts_with_period/get_share_point_activity_file_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_share_point_activity_file_counts_with_period/get_share_point_activity_file_counts_with_period_request_builder.py index 2f7cfab74cc..8c1438d6265 100644 --- a/msgraph_beta/generated/reports/get_share_point_activity_file_counts_with_period/get_share_point_activity_file_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_share_point_activity_file_counts_with_period/get_share_point_activity_file_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSharePoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSharePointActivityFileCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_share_point_activity_pages_with_period/get_share_point_activity_pages_with_period_request_builder.py b/msgraph_beta/generated/reports/get_share_point_activity_pages_with_period/get_share_point_activity_pages_with_period_request_builder.py index 219f1771e50..0e2bd444893 100644 --- a/msgraph_beta/generated/reports/get_share_point_activity_pages_with_period/get_share_point_activity_pages_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_share_point_activity_pages_with_period/get_share_point_activity_pages_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSharePoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSharePointActivityPagesWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_share_point_activity_user_counts_with_period/get_share_point_activity_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_share_point_activity_user_counts_with_period/get_share_point_activity_user_counts_with_period_request_builder.py index fe3764e7f98..abe1ce1f3fc 100644 --- a/msgraph_beta/generated/reports/get_share_point_activity_user_counts_with_period/get_share_point_activity_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_share_point_activity_user_counts_with_period/get_share_point_activity_user_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSharePoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSharePointActivityUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_share_point_activity_user_detail_with_date/get_share_point_activity_user_detail_with_date_request_builder.py b/msgraph_beta/generated/reports/get_share_point_activity_user_detail_with_date/get_share_point_activity_user_detail_with_date_request_builder.py index ef5b5c7c2d5..52a409456da 100644 --- a/msgraph_beta/generated/reports/get_share_point_activity_user_detail_with_date/get_share_point_activity_user_detail_with_date_request_builder.py +++ b/msgraph_beta/generated/reports/get_share_point_activity_user_detail_with_date/get_share_point_activity_user_detail_with_date_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSharePoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSharePointActivityUserDetailWithDateRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_share_point_activity_user_detail_with_period/get_share_point_activity_user_detail_with_period_request_builder.py b/msgraph_beta/generated/reports/get_share_point_activity_user_detail_with_period/get_share_point_activity_user_detail_with_period_request_builder.py index a04f6149ebe..799a3c0dca1 100644 --- a/msgraph_beta/generated/reports/get_share_point_activity_user_detail_with_period/get_share_point_activity_user_detail_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_share_point_activity_user_detail_with_period/get_share_point_activity_user_detail_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSharePoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSharePointActivityUserDetailWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_share_point_site_usage_detail_with_date/get_share_point_site_usage_detail_with_date_request_builder.py b/msgraph_beta/generated/reports/get_share_point_site_usage_detail_with_date/get_share_point_site_usage_detail_with_date_request_builder.py index 0e9c683f175..282bb34560a 100644 --- a/msgraph_beta/generated/reports/get_share_point_site_usage_detail_with_date/get_share_point_site_usage_detail_with_date_request_builder.py +++ b/msgraph_beta/generated/reports/get_share_point_site_usage_detail_with_date/get_share_point_site_usage_detail_with_date_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSharePoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSharePointSiteUsageDetailWithDateRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_share_point_site_usage_detail_with_period/get_share_point_site_usage_detail_with_period_request_builder.py b/msgraph_beta/generated/reports/get_share_point_site_usage_detail_with_period/get_share_point_site_usage_detail_with_period_request_builder.py index 9abfeadb39a..5a40477049d 100644 --- a/msgraph_beta/generated/reports/get_share_point_site_usage_detail_with_period/get_share_point_site_usage_detail_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_share_point_site_usage_detail_with_period/get_share_point_site_usage_detail_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSharePoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSharePointSiteUsageDetailWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_share_point_site_usage_file_counts_with_period/get_share_point_site_usage_file_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_share_point_site_usage_file_counts_with_period/get_share_point_site_usage_file_counts_with_period_request_builder.py index d20c9c62773..485f599fbeb 100644 --- a/msgraph_beta/generated/reports/get_share_point_site_usage_file_counts_with_period/get_share_point_site_usage_file_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_share_point_site_usage_file_counts_with_period/get_share_point_site_usage_file_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSharePoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSharePointSiteUsageFileCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_share_point_site_usage_pages_with_period/get_share_point_site_usage_pages_with_period_request_builder.py b/msgraph_beta/generated/reports/get_share_point_site_usage_pages_with_period/get_share_point_site_usage_pages_with_period_request_builder.py index 04c29e0bc06..3a682c972d6 100644 --- a/msgraph_beta/generated/reports/get_share_point_site_usage_pages_with_period/get_share_point_site_usage_pages_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_share_point_site_usage_pages_with_period/get_share_point_site_usage_pages_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSharePoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSharePointSiteUsagePagesWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_share_point_site_usage_site_counts_with_period/get_share_point_site_usage_site_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_share_point_site_usage_site_counts_with_period/get_share_point_site_usage_site_counts_with_period_request_builder.py index ea0bb812e02..a7608e3c7fd 100644 --- a/msgraph_beta/generated/reports/get_share_point_site_usage_site_counts_with_period/get_share_point_site_usage_site_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_share_point_site_usage_site_counts_with_period/get_share_point_site_usage_site_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSharePoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSharePointSiteUsageSiteCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_share_point_site_usage_storage_with_period/get_share_point_site_usage_storage_with_period_request_builder.py b/msgraph_beta/generated/reports/get_share_point_site_usage_storage_with_period/get_share_point_site_usage_storage_with_period_request_builder.py index 1926c460a01..275e2202a35 100644 --- a/msgraph_beta/generated/reports/get_share_point_site_usage_storage_with_period/get_share_point_site_usage_storage_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_share_point_site_usage_storage_with_period/get_share_point_site_usage_storage_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSharePoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSharePointSiteUsageStorageWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_skype_for_business_activity_counts_with_period/get_skype_for_business_activity_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_skype_for_business_activity_counts_with_period/get_skype_for_business_activity_counts_with_period_request_builder.py index cd37a3dd27b..86991190509 100644 --- a/msgraph_beta/generated/reports/get_skype_for_business_activity_counts_with_period/get_skype_for_business_activity_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_skype_for_business_activity_counts_with_period/get_skype_for_business_activity_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSkypeForB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSkypeForBusinessActivityCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_skype_for_business_activity_user_counts_with_period/get_skype_for_business_activity_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_skype_for_business_activity_user_counts_with_period/get_skype_for_business_activity_user_counts_with_period_request_builder.py index 3eac072cb38..b8704d1fb04 100644 --- a/msgraph_beta/generated/reports/get_skype_for_business_activity_user_counts_with_period/get_skype_for_business_activity_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_skype_for_business_activity_user_counts_with_period/get_skype_for_business_activity_user_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSkypeForB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSkypeForBusinessActivityUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_skype_for_business_activity_user_detail_with_date/get_skype_for_business_activity_user_detail_with_date_request_builder.py b/msgraph_beta/generated/reports/get_skype_for_business_activity_user_detail_with_date/get_skype_for_business_activity_user_detail_with_date_request_builder.py index 24a5dd2ad5f..1c873a66290 100644 --- a/msgraph_beta/generated/reports/get_skype_for_business_activity_user_detail_with_date/get_skype_for_business_activity_user_detail_with_date_request_builder.py +++ b/msgraph_beta/generated/reports/get_skype_for_business_activity_user_detail_with_date/get_skype_for_business_activity_user_detail_with_date_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSkypeForB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSkypeForBusinessActivityUserDetailWithDateRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_skype_for_business_activity_user_detail_with_period/get_skype_for_business_activity_user_detail_with_period_request_builder.py b/msgraph_beta/generated/reports/get_skype_for_business_activity_user_detail_with_period/get_skype_for_business_activity_user_detail_with_period_request_builder.py index f3fc119e5bd..bfa8ac8f4cd 100644 --- a/msgraph_beta/generated/reports/get_skype_for_business_activity_user_detail_with_period/get_skype_for_business_activity_user_detail_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_skype_for_business_activity_user_detail_with_period/get_skype_for_business_activity_user_detail_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSkypeForB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSkypeForBusinessActivityUserDetailWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_skype_for_business_device_usage_distribution_user_counts_with_period/get_skype_for_business_device_usage_distribution_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_skype_for_business_device_usage_distribution_user_counts_with_period/get_skype_for_business_device_usage_distribution_user_counts_with_period_request_builder.py index bba68d34154..dc77c36e44a 100644 --- a/msgraph_beta/generated/reports/get_skype_for_business_device_usage_distribution_user_counts_with_period/get_skype_for_business_device_usage_distribution_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_skype_for_business_device_usage_distribution_user_counts_with_period/get_skype_for_business_device_usage_distribution_user_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSkypeForB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_skype_for_business_device_usage_user_counts_with_period/get_skype_for_business_device_usage_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_skype_for_business_device_usage_user_counts_with_period/get_skype_for_business_device_usage_user_counts_with_period_request_builder.py index f0049d894f8..b8e177c4fea 100644 --- a/msgraph_beta/generated/reports/get_skype_for_business_device_usage_user_counts_with_period/get_skype_for_business_device_usage_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_skype_for_business_device_usage_user_counts_with_period/get_skype_for_business_device_usage_user_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSkypeForB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSkypeForBusinessDeviceUsageUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_skype_for_business_device_usage_user_detail_with_date/get_skype_for_business_device_usage_user_detail_with_date_request_builder.py b/msgraph_beta/generated/reports/get_skype_for_business_device_usage_user_detail_with_date/get_skype_for_business_device_usage_user_detail_with_date_request_builder.py index ac335610b89..22ce8892fe1 100644 --- a/msgraph_beta/generated/reports/get_skype_for_business_device_usage_user_detail_with_date/get_skype_for_business_device_usage_user_detail_with_date_request_builder.py +++ b/msgraph_beta/generated/reports/get_skype_for_business_device_usage_user_detail_with_date/get_skype_for_business_device_usage_user_detail_with_date_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSkypeForB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSkypeForBusinessDeviceUsageUserDetailWithDateRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_skype_for_business_device_usage_user_detail_with_period/get_skype_for_business_device_usage_user_detail_with_period_request_builder.py b/msgraph_beta/generated/reports/get_skype_for_business_device_usage_user_detail_with_period/get_skype_for_business_device_usage_user_detail_with_period_request_builder.py index 09e5c689df8..ed8daaaabbe 100644 --- a/msgraph_beta/generated/reports/get_skype_for_business_device_usage_user_detail_with_period/get_skype_for_business_device_usage_user_detail_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_skype_for_business_device_usage_user_detail_with_period/get_skype_for_business_device_usage_user_detail_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSkypeForB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSkypeForBusinessDeviceUsageUserDetailWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_skype_for_business_organizer_activity_counts_with_period/get_skype_for_business_organizer_activity_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_skype_for_business_organizer_activity_counts_with_period/get_skype_for_business_organizer_activity_counts_with_period_request_builder.py index c6cb0d4773f..2dca2159874 100644 --- a/msgraph_beta/generated/reports/get_skype_for_business_organizer_activity_counts_with_period/get_skype_for_business_organizer_activity_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_skype_for_business_organizer_activity_counts_with_period/get_skype_for_business_organizer_activity_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSkypeForB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSkypeForBusinessOrganizerActivityCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_skype_for_business_organizer_activity_minute_counts_with_period/get_skype_for_business_organizer_activity_minute_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_skype_for_business_organizer_activity_minute_counts_with_period/get_skype_for_business_organizer_activity_minute_counts_with_period_request_builder.py index b1fc4cc7b3f..b417fed23eb 100644 --- a/msgraph_beta/generated/reports/get_skype_for_business_organizer_activity_minute_counts_with_period/get_skype_for_business_organizer_activity_minute_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_skype_for_business_organizer_activity_minute_counts_with_period/get_skype_for_business_organizer_activity_minute_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSkypeForB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_skype_for_business_organizer_activity_user_counts_with_period/get_skype_for_business_organizer_activity_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_skype_for_business_organizer_activity_user_counts_with_period/get_skype_for_business_organizer_activity_user_counts_with_period_request_builder.py index 45e49c262ca..fa71d057812 100644 --- a/msgraph_beta/generated/reports/get_skype_for_business_organizer_activity_user_counts_with_period/get_skype_for_business_organizer_activity_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_skype_for_business_organizer_activity_user_counts_with_period/get_skype_for_business_organizer_activity_user_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSkypeForB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSkypeForBusinessOrganizerActivityUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_skype_for_business_participant_activity_counts_with_period/get_skype_for_business_participant_activity_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_skype_for_business_participant_activity_counts_with_period/get_skype_for_business_participant_activity_counts_with_period_request_builder.py index 2f1ec823f13..2fe1f2df104 100644 --- a/msgraph_beta/generated/reports/get_skype_for_business_participant_activity_counts_with_period/get_skype_for_business_participant_activity_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_skype_for_business_participant_activity_counts_with_period/get_skype_for_business_participant_activity_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSkypeForB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSkypeForBusinessParticipantActivityCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_skype_for_business_participant_activity_minute_counts_with_period/get_skype_for_business_participant_activity_minute_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_skype_for_business_participant_activity_minute_counts_with_period/get_skype_for_business_participant_activity_minute_counts_with_period_request_builder.py index 3632b4acf65..91894ef7c74 100644 --- a/msgraph_beta/generated/reports/get_skype_for_business_participant_activity_minute_counts_with_period/get_skype_for_business_participant_activity_minute_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_skype_for_business_participant_activity_minute_counts_with_period/get_skype_for_business_participant_activity_minute_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSkypeForB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSkypeForBusinessParticipantActivityMinuteCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_skype_for_business_participant_activity_user_counts_with_period/get_skype_for_business_participant_activity_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_skype_for_business_participant_activity_user_counts_with_period/get_skype_for_business_participant_activity_user_counts_with_period_request_builder.py index 39d8a0a351f..094c7cbcb47 100644 --- a/msgraph_beta/generated/reports/get_skype_for_business_participant_activity_user_counts_with_period/get_skype_for_business_participant_activity_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_skype_for_business_participant_activity_user_counts_with_period/get_skype_for_business_participant_activity_user_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSkypeForB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSkypeForBusinessParticipantActivityUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_skype_for_business_peer_to_peer_activity_counts_with_period/get_skype_for_business_peer_to_peer_activity_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_skype_for_business_peer_to_peer_activity_counts_with_period/get_skype_for_business_peer_to_peer_activity_counts_with_period_request_builder.py index 27a0835445c..290c9b9a480 100644 --- a/msgraph_beta/generated/reports/get_skype_for_business_peer_to_peer_activity_counts_with_period/get_skype_for_business_peer_to_peer_activity_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_skype_for_business_peer_to_peer_activity_counts_with_period/get_skype_for_business_peer_to_peer_activity_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSkypeForB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSkypeForBusinessPeerToPeerActivityCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_skype_for_business_peer_to_peer_activity_minute_counts_with_period/get_skype_for_business_peer_to_peer_activity_minute_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_skype_for_business_peer_to_peer_activity_minute_counts_with_period/get_skype_for_business_peer_to_peer_activity_minute_counts_with_period_request_builder.py index 4ca679228a8..194071560a2 100644 --- a/msgraph_beta/generated/reports/get_skype_for_business_peer_to_peer_activity_minute_counts_with_period/get_skype_for_business_peer_to_peer_activity_minute_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_skype_for_business_peer_to_peer_activity_minute_counts_with_period/get_skype_for_business_peer_to_peer_activity_minute_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSkypeForB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_skype_for_business_peer_to_peer_activity_user_counts_with_period/get_skype_for_business_peer_to_peer_activity_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_skype_for_business_peer_to_peer_activity_user_counts_with_period/get_skype_for_business_peer_to_peer_activity_user_counts_with_period_request_builder.py index 3bc4fcdeb19..47989bafab0 100644 --- a/msgraph_beta/generated/reports/get_skype_for_business_peer_to_peer_activity_user_counts_with_period/get_skype_for_business_peer_to_peer_activity_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_skype_for_business_peer_to_peer_activity_user_counts_with_period/get_skype_for_business_peer_to_peer_activity_user_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSkypeForB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_teams_device_usage_distribution_total_user_counts_with_period/get_teams_device_usage_distribution_total_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_teams_device_usage_distribution_total_user_counts_with_period/get_teams_device_usage_distribution_total_user_counts_with_period_request_builder.py index a8288f4ec16..97cd1fc7c7a 100644 --- a/msgraph_beta/generated/reports/get_teams_device_usage_distribution_total_user_counts_with_period/get_teams_device_usage_distribution_total_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_teams_device_usage_distribution_total_user_counts_with_period/get_teams_device_usage_distribution_total_user_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetTeamsDevi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetTeamsDeviceUsageDistributionTotalUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_teams_device_usage_distribution_user_counts_with_period/get_teams_device_usage_distribution_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_teams_device_usage_distribution_user_counts_with_period/get_teams_device_usage_distribution_user_counts_with_period_request_builder.py index 97f5810e99d..d5a313875c3 100644 --- a/msgraph_beta/generated/reports/get_teams_device_usage_distribution_user_counts_with_period/get_teams_device_usage_distribution_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_teams_device_usage_distribution_user_counts_with_period/get_teams_device_usage_distribution_user_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetTeamsDevi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetTeamsDeviceUsageDistributionUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_teams_device_usage_total_user_counts_with_period/get_teams_device_usage_total_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_teams_device_usage_total_user_counts_with_period/get_teams_device_usage_total_user_counts_with_period_request_builder.py index ab79d83e62e..b9cac76ddf4 100644 --- a/msgraph_beta/generated/reports/get_teams_device_usage_total_user_counts_with_period/get_teams_device_usage_total_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_teams_device_usage_total_user_counts_with_period/get_teams_device_usage_total_user_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetTeamsDevi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetTeamsDeviceUsageTotalUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_teams_device_usage_user_counts_with_period/get_teams_device_usage_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_teams_device_usage_user_counts_with_period/get_teams_device_usage_user_counts_with_period_request_builder.py index 3b69667de61..1385a895dd9 100644 --- a/msgraph_beta/generated/reports/get_teams_device_usage_user_counts_with_period/get_teams_device_usage_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_teams_device_usage_user_counts_with_period/get_teams_device_usage_user_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetTeamsDevi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetTeamsDeviceUsageUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_teams_device_usage_user_detail_with_date/get_teams_device_usage_user_detail_with_date_request_builder.py b/msgraph_beta/generated/reports/get_teams_device_usage_user_detail_with_date/get_teams_device_usage_user_detail_with_date_request_builder.py index 9c86553a638..bd6cc69f8a9 100644 --- a/msgraph_beta/generated/reports/get_teams_device_usage_user_detail_with_date/get_teams_device_usage_user_detail_with_date_request_builder.py +++ b/msgraph_beta/generated/reports/get_teams_device_usage_user_detail_with_date/get_teams_device_usage_user_detail_with_date_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetTeamsDevi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetTeamsDeviceUsageUserDetailWithDateRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_teams_device_usage_user_detail_with_period/get_teams_device_usage_user_detail_with_period_request_builder.py b/msgraph_beta/generated/reports/get_teams_device_usage_user_detail_with_period/get_teams_device_usage_user_detail_with_period_request_builder.py index 91737ddef36..c4061935b28 100644 --- a/msgraph_beta/generated/reports/get_teams_device_usage_user_detail_with_period/get_teams_device_usage_user_detail_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_teams_device_usage_user_detail_with_period/get_teams_device_usage_user_detail_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetTeamsDevi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetTeamsDeviceUsageUserDetailWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_teams_team_activity_counts_with_period/get_teams_team_activity_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_teams_team_activity_counts_with_period/get_teams_team_activity_counts_with_period_request_builder.py index 0d060882832..d878de8c16e 100644 --- a/msgraph_beta/generated/reports/get_teams_team_activity_counts_with_period/get_teams_team_activity_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_teams_team_activity_counts_with_period/get_teams_team_activity_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetTeamsTeam request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetTeamsTeamActivityCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_teams_team_activity_detail_with_date/get_teams_team_activity_detail_with_date_request_builder.py b/msgraph_beta/generated/reports/get_teams_team_activity_detail_with_date/get_teams_team_activity_detail_with_date_request_builder.py index 3eb374f9cde..e5ffbc47aa1 100644 --- a/msgraph_beta/generated/reports/get_teams_team_activity_detail_with_date/get_teams_team_activity_detail_with_date_request_builder.py +++ b/msgraph_beta/generated/reports/get_teams_team_activity_detail_with_date/get_teams_team_activity_detail_with_date_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetTeamsTeam request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetTeamsTeamActivityDetailWithDateRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_teams_team_activity_detail_with_period/get_teams_team_activity_detail_with_period_request_builder.py b/msgraph_beta/generated/reports/get_teams_team_activity_detail_with_period/get_teams_team_activity_detail_with_period_request_builder.py index a0fe5020fb1..7ba13ce83fc 100644 --- a/msgraph_beta/generated/reports/get_teams_team_activity_detail_with_period/get_teams_team_activity_detail_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_teams_team_activity_detail_with_period/get_teams_team_activity_detail_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetTeamsTeam request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetTeamsTeamActivityDetailWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_teams_team_activity_distribution_counts_with_period/get_teams_team_activity_distribution_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_teams_team_activity_distribution_counts_with_period/get_teams_team_activity_distribution_counts_with_period_request_builder.py index 3436db8fb1b..d2c3d7cc949 100644 --- a/msgraph_beta/generated/reports/get_teams_team_activity_distribution_counts_with_period/get_teams_team_activity_distribution_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_teams_team_activity_distribution_counts_with_period/get_teams_team_activity_distribution_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetTeamsTeam request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetTeamsTeamActivityDistributionCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_teams_team_counts_with_period/get_teams_team_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_teams_team_counts_with_period/get_teams_team_counts_with_period_request_builder.py index f3710d8ad3a..f33689b52a8 100644 --- a/msgraph_beta/generated/reports/get_teams_team_counts_with_period/get_teams_team_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_teams_team_counts_with_period/get_teams_team_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetTeamsTeam request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetTeamsTeamCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_teams_user_activity_counts_with_period/get_teams_user_activity_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_teams_user_activity_counts_with_period/get_teams_user_activity_counts_with_period_request_builder.py index df8511e592c..e0e6148884b 100644 --- a/msgraph_beta/generated/reports/get_teams_user_activity_counts_with_period/get_teams_user_activity_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_teams_user_activity_counts_with_period/get_teams_user_activity_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetTeamsUser request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetTeamsUserActivityCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_teams_user_activity_distribution_total_user_counts_with_period/get_teams_user_activity_distribution_total_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_teams_user_activity_distribution_total_user_counts_with_period/get_teams_user_activity_distribution_total_user_counts_with_period_request_builder.py index f44b8c592ad..3d45f66a268 100644 --- a/msgraph_beta/generated/reports/get_teams_user_activity_distribution_total_user_counts_with_period/get_teams_user_activity_distribution_total_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_teams_user_activity_distribution_total_user_counts_with_period/get_teams_user_activity_distribution_total_user_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetTeamsUser request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetTeamsUserActivityDistributionTotalUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_teams_user_activity_distribution_user_counts_with_period/get_teams_user_activity_distribution_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_teams_user_activity_distribution_user_counts_with_period/get_teams_user_activity_distribution_user_counts_with_period_request_builder.py index f0e2b3a187f..281e909691e 100644 --- a/msgraph_beta/generated/reports/get_teams_user_activity_distribution_user_counts_with_period/get_teams_user_activity_distribution_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_teams_user_activity_distribution_user_counts_with_period/get_teams_user_activity_distribution_user_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetTeamsUser request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetTeamsUserActivityDistributionUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_teams_user_activity_total_counts_with_period/get_teams_user_activity_total_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_teams_user_activity_total_counts_with_period/get_teams_user_activity_total_counts_with_period_request_builder.py index 923cd1353e1..0607851347e 100644 --- a/msgraph_beta/generated/reports/get_teams_user_activity_total_counts_with_period/get_teams_user_activity_total_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_teams_user_activity_total_counts_with_period/get_teams_user_activity_total_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetTeamsUser request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetTeamsUserActivityTotalCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_teams_user_activity_total_distribution_counts_with_period/get_teams_user_activity_total_distribution_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_teams_user_activity_total_distribution_counts_with_period/get_teams_user_activity_total_distribution_counts_with_period_request_builder.py index 54d57ffd1f3..f5afa0e4687 100644 --- a/msgraph_beta/generated/reports/get_teams_user_activity_total_distribution_counts_with_period/get_teams_user_activity_total_distribution_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_teams_user_activity_total_distribution_counts_with_period/get_teams_user_activity_total_distribution_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetTeamsUser request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetTeamsUserActivityTotalDistributionCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_teams_user_activity_total_user_counts_with_period/get_teams_user_activity_total_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_teams_user_activity_total_user_counts_with_period/get_teams_user_activity_total_user_counts_with_period_request_builder.py index 5eec967edb1..57fb7ad7976 100644 --- a/msgraph_beta/generated/reports/get_teams_user_activity_total_user_counts_with_period/get_teams_user_activity_total_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_teams_user_activity_total_user_counts_with_period/get_teams_user_activity_total_user_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetTeamsUser request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetTeamsUserActivityTotalUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_teams_user_activity_user_counts_with_period/get_teams_user_activity_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_teams_user_activity_user_counts_with_period/get_teams_user_activity_user_counts_with_period_request_builder.py index 2b86a321c8a..344b2243ee7 100644 --- a/msgraph_beta/generated/reports/get_teams_user_activity_user_counts_with_period/get_teams_user_activity_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_teams_user_activity_user_counts_with_period/get_teams_user_activity_user_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetTeamsUser request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetTeamsUserActivityUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_teams_user_activity_user_detail_with_date/get_teams_user_activity_user_detail_with_date_request_builder.py b/msgraph_beta/generated/reports/get_teams_user_activity_user_detail_with_date/get_teams_user_activity_user_detail_with_date_request_builder.py index 67cdd5399f2..e803a8ca212 100644 --- a/msgraph_beta/generated/reports/get_teams_user_activity_user_detail_with_date/get_teams_user_activity_user_detail_with_date_request_builder.py +++ b/msgraph_beta/generated/reports/get_teams_user_activity_user_detail_with_date/get_teams_user_activity_user_detail_with_date_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetTeamsUser request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetTeamsUserActivityUserDetailWithDateRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_teams_user_activity_user_detail_with_period/get_teams_user_activity_user_detail_with_period_request_builder.py b/msgraph_beta/generated/reports/get_teams_user_activity_user_detail_with_period/get_teams_user_activity_user_detail_with_period_request_builder.py index 40030ad101d..715ad3b5cee 100644 --- a/msgraph_beta/generated/reports/get_teams_user_activity_user_detail_with_period/get_teams_user_activity_user_detail_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_teams_user_activity_user_detail_with_period/get_teams_user_activity_user_detail_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetTeamsUser request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetTeamsUserActivityUserDetailWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time/get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/reports/get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time/get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time_request_builder.py index 2cc01611b26..0f3b3195e7e 100644 --- a/msgraph_beta/generated/reports/get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time/get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time_request_builder.py +++ b/msgraph_beta/generated/reports/get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time/get_user_archived_print_jobs_with_user_id_with_start_date_time_with_end_date_time_request_builder.py @@ -69,7 +69,7 @@ def to_get_request_information(self,request_configuration: Optional[GetUserArchi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_yammer_activity_counts_with_period/get_yammer_activity_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_yammer_activity_counts_with_period/get_yammer_activity_counts_with_period_request_builder.py index b96d564dd1b..9323c8b6766 100644 --- a/msgraph_beta/generated/reports/get_yammer_activity_counts_with_period/get_yammer_activity_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_yammer_activity_counts_with_period/get_yammer_activity_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetYammerAct request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetYammerActivityCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_yammer_activity_user_counts_with_period/get_yammer_activity_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_yammer_activity_user_counts_with_period/get_yammer_activity_user_counts_with_period_request_builder.py index 0cb02f8cd7a..de7d0dc123a 100644 --- a/msgraph_beta/generated/reports/get_yammer_activity_user_counts_with_period/get_yammer_activity_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_yammer_activity_user_counts_with_period/get_yammer_activity_user_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetYammerAct request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetYammerActivityUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_yammer_activity_user_detail_with_date/get_yammer_activity_user_detail_with_date_request_builder.py b/msgraph_beta/generated/reports/get_yammer_activity_user_detail_with_date/get_yammer_activity_user_detail_with_date_request_builder.py index 5378f90c864..a7919c39d87 100644 --- a/msgraph_beta/generated/reports/get_yammer_activity_user_detail_with_date/get_yammer_activity_user_detail_with_date_request_builder.py +++ b/msgraph_beta/generated/reports/get_yammer_activity_user_detail_with_date/get_yammer_activity_user_detail_with_date_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetYammerAct request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetYammerActivityUserDetailWithDateRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_yammer_activity_user_detail_with_period/get_yammer_activity_user_detail_with_period_request_builder.py b/msgraph_beta/generated/reports/get_yammer_activity_user_detail_with_period/get_yammer_activity_user_detail_with_period_request_builder.py index eb339704fba..db80ed6b848 100644 --- a/msgraph_beta/generated/reports/get_yammer_activity_user_detail_with_period/get_yammer_activity_user_detail_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_yammer_activity_user_detail_with_period/get_yammer_activity_user_detail_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetYammerAct request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetYammerActivityUserDetailWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_yammer_device_usage_distribution_user_counts_with_period/get_yammer_device_usage_distribution_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_yammer_device_usage_distribution_user_counts_with_period/get_yammer_device_usage_distribution_user_counts_with_period_request_builder.py index 5849fb73058..10f99dcd505 100644 --- a/msgraph_beta/generated/reports/get_yammer_device_usage_distribution_user_counts_with_period/get_yammer_device_usage_distribution_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_yammer_device_usage_distribution_user_counts_with_period/get_yammer_device_usage_distribution_user_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetYammerDev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetYammerDeviceUsageDistributionUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_yammer_device_usage_user_counts_with_period/get_yammer_device_usage_user_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_yammer_device_usage_user_counts_with_period/get_yammer_device_usage_user_counts_with_period_request_builder.py index dc770cc6b44..e7e683f0d96 100644 --- a/msgraph_beta/generated/reports/get_yammer_device_usage_user_counts_with_period/get_yammer_device_usage_user_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_yammer_device_usage_user_counts_with_period/get_yammer_device_usage_user_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetYammerDev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetYammerDeviceUsageUserCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_yammer_device_usage_user_detail_with_date/get_yammer_device_usage_user_detail_with_date_request_builder.py b/msgraph_beta/generated/reports/get_yammer_device_usage_user_detail_with_date/get_yammer_device_usage_user_detail_with_date_request_builder.py index 621193c9717..4a82858f23b 100644 --- a/msgraph_beta/generated/reports/get_yammer_device_usage_user_detail_with_date/get_yammer_device_usage_user_detail_with_date_request_builder.py +++ b/msgraph_beta/generated/reports/get_yammer_device_usage_user_detail_with_date/get_yammer_device_usage_user_detail_with_date_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetYammerDev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetYammerDeviceUsageUserDetailWithDateRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_yammer_device_usage_user_detail_with_period/get_yammer_device_usage_user_detail_with_period_request_builder.py b/msgraph_beta/generated/reports/get_yammer_device_usage_user_detail_with_period/get_yammer_device_usage_user_detail_with_period_request_builder.py index a769e512fd0..9a5524557d4 100644 --- a/msgraph_beta/generated/reports/get_yammer_device_usage_user_detail_with_period/get_yammer_device_usage_user_detail_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_yammer_device_usage_user_detail_with_period/get_yammer_device_usage_user_detail_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetYammerDev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetYammerDeviceUsageUserDetailWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_yammer_groups_activity_counts_with_period/get_yammer_groups_activity_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_yammer_groups_activity_counts_with_period/get_yammer_groups_activity_counts_with_period_request_builder.py index ff497bb250e..366ab73ee3b 100644 --- a/msgraph_beta/generated/reports/get_yammer_groups_activity_counts_with_period/get_yammer_groups_activity_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_yammer_groups_activity_counts_with_period/get_yammer_groups_activity_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetYammerGro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetYammerGroupsActivityCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_yammer_groups_activity_detail_with_date/get_yammer_groups_activity_detail_with_date_request_builder.py b/msgraph_beta/generated/reports/get_yammer_groups_activity_detail_with_date/get_yammer_groups_activity_detail_with_date_request_builder.py index 0e6d909cb65..1a5d8ab5981 100644 --- a/msgraph_beta/generated/reports/get_yammer_groups_activity_detail_with_date/get_yammer_groups_activity_detail_with_date_request_builder.py +++ b/msgraph_beta/generated/reports/get_yammer_groups_activity_detail_with_date/get_yammer_groups_activity_detail_with_date_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetYammerGro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetYammerGroupsActivityDetailWithDateRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_yammer_groups_activity_detail_with_period/get_yammer_groups_activity_detail_with_period_request_builder.py b/msgraph_beta/generated/reports/get_yammer_groups_activity_detail_with_period/get_yammer_groups_activity_detail_with_period_request_builder.py index 753d68cd27e..6c9c267e267 100644 --- a/msgraph_beta/generated/reports/get_yammer_groups_activity_detail_with_period/get_yammer_groups_activity_detail_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_yammer_groups_activity_detail_with_period/get_yammer_groups_activity_detail_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetYammerGro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetYammerGroupsActivityDetailWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/get_yammer_groups_activity_group_counts_with_period/get_yammer_groups_activity_group_counts_with_period_request_builder.py b/msgraph_beta/generated/reports/get_yammer_groups_activity_group_counts_with_period/get_yammer_groups_activity_group_counts_with_period_request_builder.py index 24d37261b19..9ad3f590e46 100644 --- a/msgraph_beta/generated/reports/get_yammer_groups_activity_group_counts_with_period/get_yammer_groups_activity_group_counts_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/get_yammer_groups_activity_group_counts_with_period/get_yammer_groups_activity_group_counts_with_period_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetYammerGro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetYammerGroupsActivityGroupCountsWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/managed_device_enrollment_abandonment_details_with_skip_with_top_with_filter_with_skip_token/managed_device_enrollment_abandonment_details_with_skip_with_top_with_filter_with_skip_token_request_builder.py b/msgraph_beta/generated/reports/managed_device_enrollment_abandonment_details_with_skip_with_top_with_filter_with_skip_token/managed_device_enrollment_abandonment_details_with_skip_with_top_with_filter_with_skip_token_request_builder.py index e7099ab467e..fe9e10fc0ec 100644 --- a/msgraph_beta/generated/reports/managed_device_enrollment_abandonment_details_with_skip_with_top_with_filter_with_skip_token/managed_device_enrollment_abandonment_details_with_skip_with_top_with_filter_with_skip_token_request_builder.py +++ b/msgraph_beta/generated/reports/managed_device_enrollment_abandonment_details_with_skip_with_top_with_filter_with_skip_token/managed_device_enrollment_abandonment_details_with_skip_with_top_with_filter_with_skip_token_request_builder.py @@ -69,7 +69,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagedDeviceEnrollmentAbandonmentDetailsWithSkipWithTopWithFilterWithSkipTokenRequestBuilder: diff --git a/msgraph_beta/generated/reports/managed_device_enrollment_abandonment_summary_with_skip_with_top_with_filter_with_skip_token/managed_device_enrollment_abandonment_summary_with_skip_with_top_with_filter_with_skip_token_request_builder.py b/msgraph_beta/generated/reports/managed_device_enrollment_abandonment_summary_with_skip_with_top_with_filter_with_skip_token/managed_device_enrollment_abandonment_summary_with_skip_with_top_with_filter_with_skip_token_request_builder.py index 31238e1ed52..afafb05c157 100644 --- a/msgraph_beta/generated/reports/managed_device_enrollment_abandonment_summary_with_skip_with_top_with_filter_with_skip_token/managed_device_enrollment_abandonment_summary_with_skip_with_top_with_filter_with_skip_token_request_builder.py +++ b/msgraph_beta/generated/reports/managed_device_enrollment_abandonment_summary_with_skip_with_top_with_filter_with_skip_token/managed_device_enrollment_abandonment_summary_with_skip_with_top_with_filter_with_skip_token_request_builder.py @@ -69,7 +69,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagedDeviceEnrollmentAbandonmentSummaryWithSkipWithTopWithFilterWithSkipTokenRequestBuilder: diff --git a/msgraph_beta/generated/reports/managed_device_enrollment_failure_details/managed_device_enrollment_failure_details_request_builder.py b/msgraph_beta/generated/reports/managed_device_enrollment_failure_details/managed_device_enrollment_failure_details_request_builder.py index 525d72e4e40..9c13719da09 100644 --- a/msgraph_beta/generated/reports/managed_device_enrollment_failure_details/managed_device_enrollment_failure_details_request_builder.py +++ b/msgraph_beta/generated/reports/managed_device_enrollment_failure_details/managed_device_enrollment_failure_details_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagedDeviceEnrollmentFailureDetailsRequestBuilder: diff --git a/msgraph_beta/generated/reports/managed_device_enrollment_failure_details_with_skip_with_top_with_filter_with_skip_token/managed_device_enrollment_failure_details_with_skip_with_top_with_filter_with_skip_token_request_builder.py b/msgraph_beta/generated/reports/managed_device_enrollment_failure_details_with_skip_with_top_with_filter_with_skip_token/managed_device_enrollment_failure_details_with_skip_with_top_with_filter_with_skip_token_request_builder.py index 69d0ca71ac2..5ea1a90f0bb 100644 --- a/msgraph_beta/generated/reports/managed_device_enrollment_failure_details_with_skip_with_top_with_filter_with_skip_token/managed_device_enrollment_failure_details_with_skip_with_top_with_filter_with_skip_token_request_builder.py +++ b/msgraph_beta/generated/reports/managed_device_enrollment_failure_details_with_skip_with_top_with_filter_with_skip_token/managed_device_enrollment_failure_details_with_skip_with_top_with_filter_with_skip_token_request_builder.py @@ -69,7 +69,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipTokenRequestBuilder: diff --git a/msgraph_beta/generated/reports/managed_device_enrollment_failure_trends/managed_device_enrollment_failure_trends_request_builder.py b/msgraph_beta/generated/reports/managed_device_enrollment_failure_trends/managed_device_enrollment_failure_trends_request_builder.py index 2f912b4f168..5157900e699 100644 --- a/msgraph_beta/generated/reports/managed_device_enrollment_failure_trends/managed_device_enrollment_failure_trends_request_builder.py +++ b/msgraph_beta/generated/reports/managed_device_enrollment_failure_trends/managed_device_enrollment_failure_trends_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagedDeviceEnrollmentFailureTrendsRequestBuilder: diff --git a/msgraph_beta/generated/reports/managed_device_enrollment_top_failures/managed_device_enrollment_top_failures_request_builder.py b/msgraph_beta/generated/reports/managed_device_enrollment_top_failures/managed_device_enrollment_top_failures_request_builder.py index c15ba9b1771..b6ef40c4e18 100644 --- a/msgraph_beta/generated/reports/managed_device_enrollment_top_failures/managed_device_enrollment_top_failures_request_builder.py +++ b/msgraph_beta/generated/reports/managed_device_enrollment_top_failures/managed_device_enrollment_top_failures_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagedDeviceEnrollmentTopFailuresRequestBuilder: diff --git a/msgraph_beta/generated/reports/managed_device_enrollment_top_failures_with_period/managed_device_enrollment_top_failures_with_period_request_builder.py b/msgraph_beta/generated/reports/managed_device_enrollment_top_failures_with_period/managed_device_enrollment_top_failures_with_period_request_builder.py index 70199ae3290..a51613dc37e 100644 --- a/msgraph_beta/generated/reports/managed_device_enrollment_top_failures_with_period/managed_device_enrollment_top_failures_with_period_request_builder.py +++ b/msgraph_beta/generated/reports/managed_device_enrollment_top_failures_with_period/managed_device_enrollment_top_failures_with_period_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagedDeviceEnrollmentTopFailuresWithPeriodRequestBuilder: diff --git a/msgraph_beta/generated/reports/monthly_print_usage_by_printer/item/print_usage_by_printer_item_request_builder.py b/msgraph_beta/generated/reports/monthly_print_usage_by_printer/item/print_usage_by_printer_item_request_builder.py index 8d74e213346..c18cee1d94b 100644 --- a/msgraph_beta/generated/reports/monthly_print_usage_by_printer/item/print_usage_by_printer_item_request_builder.py +++ b/msgraph_beta/generated/reports/monthly_print_usage_by_printer/item/print_usage_by_printer_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PrintUsag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrintUsageByPrinterItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PrintUsageBy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrintUsageByPrinter] = None, request_configuration: Optional[PrintUsageByPrinterItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PrintUsageByPrinter] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/reports/monthly_print_usage_by_printer/monthly_print_usage_by_printer_request_builder.py b/msgraph_beta/generated/reports/monthly_print_usage_by_printer/monthly_print_usage_by_printer_request_builder.py index 9e44f510369..1db6f8eff19 100644 --- a/msgraph_beta/generated/reports/monthly_print_usage_by_printer/monthly_print_usage_by_printer_request_builder.py +++ b/msgraph_beta/generated/reports/monthly_print_usage_by_printer/monthly_print_usage_by_printer_request_builder.py @@ -45,7 +45,7 @@ def by_print_usage_by_printer_id(self,print_usage_by_printer_id: str) -> PrintUs async def get(self,request_configuration: Optional[MonthlyPrintUsageByPrinterRequestBuilderGetRequestConfiguration] = None) -> Optional[PrintUsageByPrinterCollectionResponse]: """ - Retrieve a list of monthly print usage summaries, grouped by printer. This API is available in the following national cloud deployments. + Retrieve a list of monthly print usage summaries, grouped by printer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintUsageByPrinterCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/reportroot-list-monthlyprintusagebyprinter?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[PrintUsageByPrinter] = None, request_configur def to_get_request_information(self,request_configuration: Optional[MonthlyPrintUsageByPrinterRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of monthly print usage summaries, grouped by printer. This API is available in the following national cloud deployments. + Retrieve a list of monthly print usage summaries, grouped by printer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[MonthlyPrint request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrintUsageByPrinter] = None, request_configuration: Optional[MonthlyPrintUsageByPrinterRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[PrintUsageByPrinter] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MonthlyPrintUsageByPrinterRequestBuilderGetQueryParameters(): """ - Retrieve a list of monthly print usage summaries, grouped by printer. This API is available in the following national cloud deployments. + Retrieve a list of monthly print usage summaries, grouped by printer. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/monthly_print_usage_by_user/item/print_usage_by_user_item_request_builder.py b/msgraph_beta/generated/reports/monthly_print_usage_by_user/item/print_usage_by_user_item_request_builder.py index 2add96ae761..37dfdaec949 100644 --- a/msgraph_beta/generated/reports/monthly_print_usage_by_user/item/print_usage_by_user_item_request_builder.py +++ b/msgraph_beta/generated/reports/monthly_print_usage_by_user/item/print_usage_by_user_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PrintUsag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrintUsageByUserItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PrintUsageBy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrintUsageByUser] = None, request_configuration: Optional[PrintUsageByUserItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PrintUsageByUser] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/reports/monthly_print_usage_by_user/monthly_print_usage_by_user_request_builder.py b/msgraph_beta/generated/reports/monthly_print_usage_by_user/monthly_print_usage_by_user_request_builder.py index cc1e5787cff..bc3d7b8e6a9 100644 --- a/msgraph_beta/generated/reports/monthly_print_usage_by_user/monthly_print_usage_by_user_request_builder.py +++ b/msgraph_beta/generated/reports/monthly_print_usage_by_user/monthly_print_usage_by_user_request_builder.py @@ -45,7 +45,7 @@ def by_print_usage_by_user_id(self,print_usage_by_user_id: str) -> PrintUsageByU async def get(self,request_configuration: Optional[MonthlyPrintUsageByUserRequestBuilderGetRequestConfiguration] = None) -> Optional[PrintUsageByUserCollectionResponse]: """ - Retrieve a list of monthly print usage summaries, grouped by user. This API is available in the following national cloud deployments. + Retrieve a list of monthly print usage summaries, grouped by user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PrintUsageByUserCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/reportroot-list-monthlyprintusagebyuser?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[PrintUsageByUser] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[MonthlyPrintUsageByUserRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of monthly print usage summaries, grouped by user. This API is available in the following national cloud deployments. + Retrieve a list of monthly print usage summaries, grouped by user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[MonthlyPrint request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrintUsageByUser] = None, request_configuration: Optional[MonthlyPrintUsageByUserRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[PrintUsageByUser] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MonthlyPrintUsageByUserRequestBuilderGetQueryParameters(): """ - Retrieve a list of monthly print usage summaries, grouped by user. This API is available in the following national cloud deployments. + Retrieve a list of monthly print usage summaries, grouped by user. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_printer/item/print_usage_by_printer_item_request_builder.py b/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_printer/item/print_usage_by_printer_item_request_builder.py index da4f3d54130..51c779a5683 100644 --- a/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_printer/item/print_usage_by_printer_item_request_builder.py +++ b/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_printer/item/print_usage_by_printer_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PrintUsag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrintUsageByPrinterItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PrintUsageBy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrintUsageByPrinter] = None, request_configuration: Optional[PrintUsageByPrinterItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PrintUsageByPrinter] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_printer/monthly_print_usage_summaries_by_printer_request_builder.py b/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_printer/monthly_print_usage_summaries_by_printer_request_builder.py index 5d9982fa1e7..ae4b59c66a2 100644 --- a/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_printer/monthly_print_usage_summaries_by_printer_request_builder.py +++ b/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_printer/monthly_print_usage_summaries_by_printer_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[MonthlyPrint request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrintUsageByPrinter] = None, request_configuration: Optional[MonthlyPrintUsageSummariesByPrinterRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[PrintUsageByPrinter] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_user/item/print_usage_by_user_item_request_builder.py b/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_user/item/print_usage_by_user_item_request_builder.py index 909f8119d09..cb6f37bd219 100644 --- a/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_user/item/print_usage_by_user_item_request_builder.py +++ b/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_user/item/print_usage_by_user_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PrintUsag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrintUsageByUserItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PrintUsageBy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PrintUsageByUser] = None, request_configuration: Optional[PrintUsageByUserItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PrintUsageByUser] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_user/monthly_print_usage_summaries_by_user_request_builder.py b/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_user/monthly_print_usage_summaries_by_user_request_builder.py index 72e99c139c7..54a299f253e 100644 --- a/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_user/monthly_print_usage_summaries_by_user_request_builder.py +++ b/msgraph_beta/generated/reports/monthly_print_usage_summaries_by_user/monthly_print_usage_summaries_by_user_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[MonthlyPrint request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PrintUsageByUser] = None, request_configuration: Optional[MonthlyPrintUsageSummariesByUserRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[PrintUsageByUser] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/reports/reports_request_builder.py b/msgraph_beta/generated/reports/reports_request_builder.py index 752cc599292..7f2269984a6 100644 --- a/msgraph_beta/generated/reports/reports_request_builder.py +++ b/msgraph_beta/generated/reports/reports_request_builder.py @@ -152,6 +152,7 @@ from .monthly_print_usage_summaries_by_printer.monthly_print_usage_summaries_by_printer_request_builder import MonthlyPrintUsageSummariesByPrinterRequestBuilder from .monthly_print_usage_summaries_by_user.monthly_print_usage_summaries_by_user_request_builder import MonthlyPrintUsageSummariesByUserRequestBuilder from .security.security_request_builder import SecurityRequestBuilder + from .service_activity.service_activity_request_builder import ServiceActivityRequestBuilder from .service_principal_sign_in_activities.service_principal_sign_in_activities_request_builder import ServicePrincipalSignInActivitiesRequestBuilder from .sla.sla_request_builder import SlaRequestBuilder from .user_credential_usage_details.user_credential_usage_details_request_builder import UserCredentialUsageDetailsRequestBuilder @@ -1630,7 +1631,7 @@ def to_get_request_information(self,request_configuration: Optional[ReportsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ReportRoot] = None, request_configuration: Optional[ReportsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -1649,7 +1650,7 @@ def to_patch_request_information(self,body: Optional[ReportRoot] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -1897,6 +1898,15 @@ def security(self) -> SecurityRequestBuilder: return SecurityRequestBuilder(self.request_adapter, self.path_parameters) + @property + def service_activity(self) -> ServiceActivityRequestBuilder: + """ + Provides operations to manage the serviceActivity property of the microsoft.graph.reportRoot entity. + """ + from .service_activity.service_activity_request_builder import ServiceActivityRequestBuilder + + return ServiceActivityRequestBuilder(self.request_adapter, self.path_parameters) + @property def service_principal_sign_in_activities(self) -> ServicePrincipalSignInActivitiesRequestBuilder: """ diff --git a/msgraph_beta/generated/reports/security/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_request_builder.py b/msgraph_beta/generated/reports/security/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_request_builder.py index d4b2450dd25..2356eaf3303 100644 --- a/msgraph_beta/generated/reports/security/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_request_builder.py +++ b/msgraph_beta/generated/reports/security/get_attack_simulation_repeat_offenders/get_attack_simulation_repeat_offenders_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetAttackSim request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetAttackSimulationRepeatOffendersRequestBuilder: diff --git a/msgraph_beta/generated/reports/security/get_attack_simulation_simulation_user_coverage/get_attack_simulation_simulation_user_coverage_request_builder.py b/msgraph_beta/generated/reports/security/get_attack_simulation_simulation_user_coverage/get_attack_simulation_simulation_user_coverage_request_builder.py index bb17ea74d0b..96923062858 100644 --- a/msgraph_beta/generated/reports/security/get_attack_simulation_simulation_user_coverage/get_attack_simulation_simulation_user_coverage_request_builder.py +++ b/msgraph_beta/generated/reports/security/get_attack_simulation_simulation_user_coverage/get_attack_simulation_simulation_user_coverage_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetAttackSim request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetAttackSimulationSimulationUserCoverageRequestBuilder: diff --git a/msgraph_beta/generated/reports/security/get_attack_simulation_training_user_coverage/get_attack_simulation_training_user_coverage_request_builder.py b/msgraph_beta/generated/reports/security/get_attack_simulation_training_user_coverage/get_attack_simulation_training_user_coverage_request_builder.py index 44f0186d6b0..6703ffc0bdf 100644 --- a/msgraph_beta/generated/reports/security/get_attack_simulation_training_user_coverage/get_attack_simulation_training_user_coverage_request_builder.py +++ b/msgraph_beta/generated/reports/security/get_attack_simulation_training_user_coverage/get_attack_simulation_training_user_coverage_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetAttackSim request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetAttackSimulationTrainingUserCoverageRequestBuilder: diff --git a/msgraph_beta/generated/reports/security/security_request_builder.py b/msgraph_beta/generated/reports/security/security_request_builder.py index 960bca5a5da..5e2cf37826d 100644 --- a/msgraph_beta/generated/reports/security/security_request_builder.py +++ b/msgraph_beta/generated/reports/security/security_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[SecurityRequestBuilderDele async def get(self,request_configuration: Optional[SecurityRequestBuilderGetRequestConfiguration] = None) -> Optional[SecurityReportsRoot]: """ - Provides the ability to launch a realistically simulated phishing attack that organizations can learn from. + Provides the ability to launch a simulated phishing attack that organizations can learn from. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecurityReportsRoot] """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[SecurityR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SecurityRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Provides the ability to launch a realistically simulated phishing attack that organizations can learn from. + Provides the ability to launch a simulated phishing attack that organizations can learn from. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[SecurityRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SecurityReportsRoot] = None, request_configuration: Optional[SecurityRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[SecurityReportsRoot] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -196,7 +196,7 @@ class SecurityRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class SecurityRequestBuilderGetQueryParameters(): """ - Provides the ability to launch a realistically simulated phishing attack that organizations can learn from. + Provides the ability to launch a simulated phishing attack that organizations can learn from. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/service_activity/get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py b/msgraph_beta/generated/reports/service_activity/get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py new file mode 100644 index 00000000000..c302d9e6511 --- /dev/null +++ b/msgraph_beta/generated/reports/service_activity/get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.service_activity_value_metric import ServiceActivityValueMetric + +from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class GetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[ServiceActivityValueMetric]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> GetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse: + """ + 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: GetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return GetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse() + + 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.service_activity_value_metric import ServiceActivityValueMetric + + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.service_activity_value_metric import ServiceActivityValueMetric + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ServiceActivityValueMetric)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/reports/service_activity/get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py b/msgraph_beta/generated/reports/service_activity/get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py new file mode 100644 index 00000000000..b49cb6c0a8f --- /dev/null +++ b/msgraph_beta/generated/reports/service_activity/get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py @@ -0,0 +1,142 @@ +from __future__ import annotations +import datetime +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.o_data_errors.o_data_error import ODataError + from .get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response import GetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse + +class GetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getMetricsForConditionalAccessCompliantDevicesSignInSuccess method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None, exclusive_interval_end_date_time: Optional[datetime.datetime] = None, inclusive_interval_start_date_time: Optional[datetime.datetime] = None) -> None: + """ + Instantiates a new GetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder and sets the default values. + param exclusive_interval_end_date_time: Usage: exclusiveIntervalEndDateTime={exclusiveIntervalEndDateTime} + param inclusive_interval_start_date_time: Usage: inclusiveIntervalStartDateTime={inclusiveIntervalStartDateTime} + 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 + """ + if isinstance(path_parameters, dict): + path_parameters['exclusiveIntervalEndDateTime'] = str(exclusive_interval_end_date_time) + path_parameters['inclusiveIntervalStartDateTime'] = str(inclusive_interval_start_date_time) + super().__init__(request_adapter, "{+baseurl}/reports/serviceActivity/getMetricsForConditionalAccessCompliantDevicesSignInSuccess(inclusiveIntervalStartDateTime={inclusiveIntervalStartDateTime},exclusiveIntervalEndDateTime={exclusiveIntervalEndDateTime},aggregationIntervalInMinutes=@aggregationIntervalInMinutes){?aggregationIntervalInMinutes*,%24top,%24skip,%24search,%24filter,%24count}", path_parameters) + + async def get(self,request_configuration: Optional[GetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration] = None) -> Optional[GetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse]: + """ + Invoke function getMetricsForConditionalAccessCompliantDevicesSignInSuccess + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[GetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response import GetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse + + return await self.request_adapter.send_async(request_info, GetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[GetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Invoke function getMetricsForConditionalAccessCompliantDevicesSignInSuccess + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> GetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder: + """ + 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: GetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class GetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters(): + """ + Invoke function getMetricsForConditionalAccessCompliantDevicesSignInSuccess + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "aggregation_interval_in_minutes": + return "aggregationIntervalInMinutes" + if original_name == "count": + return "%24count" + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes + aggregation_interval_in_minutes: Optional[int] = None + + # Include count of items + count: Optional[bool] = None + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[GetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.GetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/reports/service_activity/get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py b/msgraph_beta/generated/reports/service_activity/get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py new file mode 100644 index 00000000000..5e0542a3f09 --- /dev/null +++ b/msgraph_beta/generated/reports/service_activity/get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.service_activity_value_metric import ServiceActivityValueMetric + +from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class GetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[ServiceActivityValueMetric]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> GetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse: + """ + 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: GetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return GetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse() + + 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.service_activity_value_metric import ServiceActivityValueMetric + + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.service_activity_value_metric import ServiceActivityValueMetric + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ServiceActivityValueMetric)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/reports/service_activity/get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py b/msgraph_beta/generated/reports/service_activity/get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py new file mode 100644 index 00000000000..1b6d8fd6a88 --- /dev/null +++ b/msgraph_beta/generated/reports/service_activity/get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py @@ -0,0 +1,142 @@ +from __future__ import annotations +import datetime +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.o_data_errors.o_data_error import ODataError + from .get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response import GetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse + +class GetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getMetricsForConditionalAccessManagedDevicesSignInSuccess method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None, exclusive_interval_end_date_time: Optional[datetime.datetime] = None, inclusive_interval_start_date_time: Optional[datetime.datetime] = None) -> None: + """ + Instantiates a new GetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder and sets the default values. + param exclusive_interval_end_date_time: Usage: exclusiveIntervalEndDateTime={exclusiveIntervalEndDateTime} + param inclusive_interval_start_date_time: Usage: inclusiveIntervalStartDateTime={inclusiveIntervalStartDateTime} + 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 + """ + if isinstance(path_parameters, dict): + path_parameters['exclusiveIntervalEndDateTime'] = str(exclusive_interval_end_date_time) + path_parameters['inclusiveIntervalStartDateTime'] = str(inclusive_interval_start_date_time) + super().__init__(request_adapter, "{+baseurl}/reports/serviceActivity/getMetricsForConditionalAccessManagedDevicesSignInSuccess(inclusiveIntervalStartDateTime={inclusiveIntervalStartDateTime},exclusiveIntervalEndDateTime={exclusiveIntervalEndDateTime},aggregationIntervalInMinutes=@aggregationIntervalInMinutes){?aggregationIntervalInMinutes*,%24top,%24skip,%24search,%24filter,%24count}", path_parameters) + + async def get(self,request_configuration: Optional[GetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration] = None) -> Optional[GetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse]: + """ + Invoke function getMetricsForConditionalAccessManagedDevicesSignInSuccess + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[GetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response import GetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse + + return await self.request_adapter.send_async(request_info, GetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[GetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Invoke function getMetricsForConditionalAccessManagedDevicesSignInSuccess + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> GetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder: + """ + 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: GetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class GetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters(): + """ + Invoke function getMetricsForConditionalAccessManagedDevicesSignInSuccess + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "aggregation_interval_in_minutes": + return "aggregationIntervalInMinutes" + if original_name == "count": + return "%24count" + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes + aggregation_interval_in_minutes: Optional[int] = None + + # Include count of items + count: Optional[bool] = None + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[GetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.GetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/reports/service_activity/get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py b/msgraph_beta/generated/reports/service_activity/get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py new file mode 100644 index 00000000000..ebd1cecbb70 --- /dev/null +++ b/msgraph_beta/generated/reports/service_activity/get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.service_activity_value_metric import ServiceActivityValueMetric + +from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class GetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[ServiceActivityValueMetric]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> GetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse: + """ + 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: GetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return GetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse() + + 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.service_activity_value_metric import ServiceActivityValueMetric + + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.service_activity_value_metric import ServiceActivityValueMetric + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ServiceActivityValueMetric)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/reports/service_activity/get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py b/msgraph_beta/generated/reports/service_activity/get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py new file mode 100644 index 00000000000..c2ee2afea66 --- /dev/null +++ b/msgraph_beta/generated/reports/service_activity/get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py @@ -0,0 +1,142 @@ +from __future__ import annotations +import datetime +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.o_data_errors.o_data_error import ODataError + from .get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response import GetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse + +class GetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getMetricsForMfaSignInFailure method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None, exclusive_interval_end_date_time: Optional[datetime.datetime] = None, inclusive_interval_start_date_time: Optional[datetime.datetime] = None) -> None: + """ + Instantiates a new GetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder and sets the default values. + param exclusive_interval_end_date_time: Usage: exclusiveIntervalEndDateTime={exclusiveIntervalEndDateTime} + param inclusive_interval_start_date_time: Usage: inclusiveIntervalStartDateTime={inclusiveIntervalStartDateTime} + 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 + """ + if isinstance(path_parameters, dict): + path_parameters['exclusiveIntervalEndDateTime'] = str(exclusive_interval_end_date_time) + path_parameters['inclusiveIntervalStartDateTime'] = str(inclusive_interval_start_date_time) + super().__init__(request_adapter, "{+baseurl}/reports/serviceActivity/getMetricsForMfaSignInFailure(inclusiveIntervalStartDateTime={inclusiveIntervalStartDateTime},exclusiveIntervalEndDateTime={exclusiveIntervalEndDateTime},aggregationIntervalInMinutes=@aggregationIntervalInMinutes){?aggregationIntervalInMinutes*,%24top,%24skip,%24search,%24filter,%24count}", path_parameters) + + async def get(self,request_configuration: Optional[GetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration] = None) -> Optional[GetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse]: + """ + Invoke function getMetricsForMfaSignInFailure + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[GetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response import GetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse + + return await self.request_adapter.send_async(request_info, GetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[GetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Invoke function getMetricsForMfaSignInFailure + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> GetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder: + """ + 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: GetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class GetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters(): + """ + Invoke function getMetricsForMfaSignInFailure + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "aggregation_interval_in_minutes": + return "aggregationIntervalInMinutes" + if original_name == "count": + return "%24count" + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes + aggregation_interval_in_minutes: Optional[int] = None + + # Include count of items + count: Optional[bool] = None + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[GetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.GetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/reports/service_activity/get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py b/msgraph_beta/generated/reports/service_activity/get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py new file mode 100644 index 00000000000..4898eba0091 --- /dev/null +++ b/msgraph_beta/generated/reports/service_activity/get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.service_activity_value_metric import ServiceActivityValueMetric + +from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class GetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[ServiceActivityValueMetric]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> GetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse: + """ + 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: GetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return GetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse() + + 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.service_activity_value_metric import ServiceActivityValueMetric + + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.service_activity_value_metric import ServiceActivityValueMetric + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ServiceActivityValueMetric)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/reports/service_activity/get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py b/msgraph_beta/generated/reports/service_activity/get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py new file mode 100644 index 00000000000..5c3fe78b523 --- /dev/null +++ b/msgraph_beta/generated/reports/service_activity/get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py @@ -0,0 +1,142 @@ +from __future__ import annotations +import datetime +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.o_data_errors.o_data_error import ODataError + from .get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response import GetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse + +class GetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getMetricsForMfaSignInSuccess method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None, exclusive_interval_end_date_time: Optional[datetime.datetime] = None, inclusive_interval_start_date_time: Optional[datetime.datetime] = None) -> None: + """ + Instantiates a new GetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder and sets the default values. + param exclusive_interval_end_date_time: Usage: exclusiveIntervalEndDateTime={exclusiveIntervalEndDateTime} + param inclusive_interval_start_date_time: Usage: inclusiveIntervalStartDateTime={inclusiveIntervalStartDateTime} + 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 + """ + if isinstance(path_parameters, dict): + path_parameters['exclusiveIntervalEndDateTime'] = str(exclusive_interval_end_date_time) + path_parameters['inclusiveIntervalStartDateTime'] = str(inclusive_interval_start_date_time) + super().__init__(request_adapter, "{+baseurl}/reports/serviceActivity/getMetricsForMfaSignInSuccess(inclusiveIntervalStartDateTime={inclusiveIntervalStartDateTime},exclusiveIntervalEndDateTime={exclusiveIntervalEndDateTime},aggregationIntervalInMinutes=@aggregationIntervalInMinutes){?aggregationIntervalInMinutes*,%24top,%24skip,%24search,%24filter,%24count}", path_parameters) + + async def get(self,request_configuration: Optional[GetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration] = None) -> Optional[GetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse]: + """ + Invoke function getMetricsForMfaSignInSuccess + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[GetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response import GetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse + + return await self.request_adapter.send_async(request_info, GetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[GetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Invoke function getMetricsForMfaSignInSuccess + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> GetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder: + """ + 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: GetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class GetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters(): + """ + Invoke function getMetricsForMfaSignInSuccess + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "aggregation_interval_in_minutes": + return "aggregationIntervalInMinutes" + if original_name == "count": + return "%24count" + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes + aggregation_interval_in_minutes: Optional[int] = None + + # Include count of items + count: Optional[bool] = None + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[GetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.GetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/reports/service_activity/get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py b/msgraph_beta/generated/reports/service_activity/get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py new file mode 100644 index 00000000000..de4f8f263c5 --- /dev/null +++ b/msgraph_beta/generated/reports/service_activity/get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.service_activity_value_metric import ServiceActivityValueMetric + +from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class GetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[ServiceActivityValueMetric]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> GetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse: + """ + 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: GetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return GetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse() + + 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.service_activity_value_metric import ServiceActivityValueMetric + + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.service_activity_value_metric import ServiceActivityValueMetric + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ServiceActivityValueMetric)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/reports/service_activity/get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py b/msgraph_beta/generated/reports/service_activity/get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py new file mode 100644 index 00000000000..0fcb5e5f35e --- /dev/null +++ b/msgraph_beta/generated/reports/service_activity/get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes/get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder.py @@ -0,0 +1,142 @@ +from __future__ import annotations +import datetime +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.o_data_errors.o_data_error import ODataError + from .get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response import GetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse + +class GetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getMetricsForSamlSignInSuccess method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None, exclusive_interval_end_date_time: Optional[datetime.datetime] = None, inclusive_interval_start_date_time: Optional[datetime.datetime] = None) -> None: + """ + Instantiates a new GetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder and sets the default values. + param exclusive_interval_end_date_time: Usage: exclusiveIntervalEndDateTime={exclusiveIntervalEndDateTime} + param inclusive_interval_start_date_time: Usage: inclusiveIntervalStartDateTime={inclusiveIntervalStartDateTime} + 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 + """ + if isinstance(path_parameters, dict): + path_parameters['exclusiveIntervalEndDateTime'] = str(exclusive_interval_end_date_time) + path_parameters['inclusiveIntervalStartDateTime'] = str(inclusive_interval_start_date_time) + super().__init__(request_adapter, "{+baseurl}/reports/serviceActivity/getMetricsForSamlSignInSuccess(inclusiveIntervalStartDateTime={inclusiveIntervalStartDateTime},exclusiveIntervalEndDateTime={exclusiveIntervalEndDateTime},aggregationIntervalInMinutes=@aggregationIntervalInMinutes){?aggregationIntervalInMinutes*,%24top,%24skip,%24search,%24filter,%24count}", path_parameters) + + async def get(self,request_configuration: Optional[GetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration] = None) -> Optional[GetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse]: + """ + Invoke function getMetricsForSamlSignInSuccess + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[GetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_get_response import GetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse + + return await self.request_adapter.send_async(request_info, GetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[GetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Invoke function getMetricsForSamlSignInSuccess + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> GetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder: + """ + 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: GetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class GetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters(): + """ + Invoke function getMetricsForSamlSignInSuccess + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "aggregation_interval_in_minutes": + return "aggregationIntervalInMinutes" + if original_name == "count": + return "%24count" + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Usage: aggregationIntervalInMinutes=@aggregationIntervalInMinutes + aggregation_interval_in_minutes: Optional[int] = None + + # Include count of items + count: Optional[bool] = None + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[GetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.GetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/reports/service_activity/service_activity_request_builder.py b/msgraph_beta/generated/reports/service_activity/service_activity_request_builder.py new file mode 100644 index 00000000000..083407ca27b --- /dev/null +++ b/msgraph_beta/generated/reports/service_activity/service_activity_request_builder.py @@ -0,0 +1,296 @@ +from __future__ import annotations +import datetime +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ...models.o_data_errors.o_data_error import ODataError + from ...models.service_activity import ServiceActivity + from .get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes.get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder import GetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder + from .get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes.get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder import GetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder + from .get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes.get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder import GetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder + from .get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes.get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder import GetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder + from .get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes.get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder import GetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder + +class ServiceActivityRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the serviceActivity property of the microsoft.graph.reportRoot entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ServiceActivityRequestBuilder 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}/reports/serviceActivity{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[ServiceActivityRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property serviceActivity for reports + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[ServiceActivityRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceActivity]: + """ + Reports that relate to tenant-level authentication activities in Microsoft Entra. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ServiceActivity] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...models.service_activity import ServiceActivity + + return await self.request_adapter.send_async(request_info, ServiceActivity, error_mapping) + + def get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes(self,exclusive_interval_end_date_time: Optional[datetime.datetime] = None, inclusive_interval_start_date_time: Optional[datetime.datetime] = None) -> GetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder: + """ + Provides operations to call the getMetricsForConditionalAccessCompliantDevicesSignInSuccess method. + param exclusive_interval_end_date_time: Usage: exclusiveIntervalEndDateTime={exclusiveIntervalEndDateTime} + param inclusive_interval_start_date_time: Usage: inclusiveIntervalStartDateTime={inclusiveIntervalStartDateTime} + Returns: GetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder + """ + if not exclusive_interval_end_date_time: + raise TypeError("exclusive_interval_end_date_time cannot be null.") + if not inclusive_interval_start_date_time: + raise TypeError("inclusive_interval_start_date_time cannot be null.") + from .get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes.get_metrics_for_conditional_access_compliant_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder import GetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder + + return GetMetricsForConditionalAccessCompliantDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder(self.request_adapter, self.path_parameters, exclusive_interval_end_date_time, inclusive_interval_start_date_time) + + def get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes(self,exclusive_interval_end_date_time: Optional[datetime.datetime] = None, inclusive_interval_start_date_time: Optional[datetime.datetime] = None) -> GetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder: + """ + Provides operations to call the getMetricsForConditionalAccessManagedDevicesSignInSuccess method. + param exclusive_interval_end_date_time: Usage: exclusiveIntervalEndDateTime={exclusiveIntervalEndDateTime} + param inclusive_interval_start_date_time: Usage: inclusiveIntervalStartDateTime={inclusiveIntervalStartDateTime} + Returns: GetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder + """ + if not exclusive_interval_end_date_time: + raise TypeError("exclusive_interval_end_date_time cannot be null.") + if not inclusive_interval_start_date_time: + raise TypeError("inclusive_interval_start_date_time cannot be null.") + from .get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes.get_metrics_for_conditional_access_managed_devices_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder import GetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder + + return GetMetricsForConditionalAccessManagedDevicesSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder(self.request_adapter, self.path_parameters, exclusive_interval_end_date_time, inclusive_interval_start_date_time) + + def get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes(self,exclusive_interval_end_date_time: Optional[datetime.datetime] = None, inclusive_interval_start_date_time: Optional[datetime.datetime] = None) -> GetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder: + """ + Provides operations to call the getMetricsForMfaSignInFailure method. + param exclusive_interval_end_date_time: Usage: exclusiveIntervalEndDateTime={exclusiveIntervalEndDateTime} + param inclusive_interval_start_date_time: Usage: inclusiveIntervalStartDateTime={inclusiveIntervalStartDateTime} + Returns: GetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder + """ + if not exclusive_interval_end_date_time: + raise TypeError("exclusive_interval_end_date_time cannot be null.") + if not inclusive_interval_start_date_time: + raise TypeError("inclusive_interval_start_date_time cannot be null.") + from .get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes.get_metrics_for_mfa_sign_in_failure_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder import GetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder + + return GetMetricsForMfaSignInFailureWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder(self.request_adapter, self.path_parameters, exclusive_interval_end_date_time, inclusive_interval_start_date_time) + + def get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes(self,exclusive_interval_end_date_time: Optional[datetime.datetime] = None, inclusive_interval_start_date_time: Optional[datetime.datetime] = None) -> GetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder: + """ + Provides operations to call the getMetricsForMfaSignInSuccess method. + param exclusive_interval_end_date_time: Usage: exclusiveIntervalEndDateTime={exclusiveIntervalEndDateTime} + param inclusive_interval_start_date_time: Usage: inclusiveIntervalStartDateTime={inclusiveIntervalStartDateTime} + Returns: GetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder + """ + if not exclusive_interval_end_date_time: + raise TypeError("exclusive_interval_end_date_time cannot be null.") + if not inclusive_interval_start_date_time: + raise TypeError("inclusive_interval_start_date_time cannot be null.") + from .get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes.get_metrics_for_mfa_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder import GetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder + + return GetMetricsForMfaSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder(self.request_adapter, self.path_parameters, exclusive_interval_end_date_time, inclusive_interval_start_date_time) + + def get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes(self,exclusive_interval_end_date_time: Optional[datetime.datetime] = None, inclusive_interval_start_date_time: Optional[datetime.datetime] = None) -> GetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder: + """ + Provides operations to call the getMetricsForSamlSignInSuccess method. + param exclusive_interval_end_date_time: Usage: exclusiveIntervalEndDateTime={exclusiveIntervalEndDateTime} + param inclusive_interval_start_date_time: Usage: inclusiveIntervalStartDateTime={inclusiveIntervalStartDateTime} + Returns: GetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder + """ + if not exclusive_interval_end_date_time: + raise TypeError("exclusive_interval_end_date_time cannot be null.") + if not inclusive_interval_start_date_time: + raise TypeError("inclusive_interval_start_date_time cannot be null.") + from .get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes.get_metrics_for_saml_sign_in_success_with_inclusive_interval_start_date_time_with_exclusive_interval_end_date_time_with_aggregation_interval_in_minutes_request_builder import GetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder + + return GetMetricsForSamlSignInSuccessWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder(self.request_adapter, self.path_parameters, exclusive_interval_end_date_time, inclusive_interval_start_date_time) + + async def patch(self,body: Optional[ServiceActivity] = None, request_configuration: Optional[ServiceActivityRequestBuilderPatchRequestConfiguration] = None) -> Optional[ServiceActivity]: + """ + Update the navigation property serviceActivity in reports + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ServiceActivity] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...models.service_activity import ServiceActivity + + return await self.request_adapter.send_async(request_info, ServiceActivity, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[ServiceActivityRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property serviceActivity for reports + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[ServiceActivityRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Reports that relate to tenant-level authentication activities in Microsoft Entra. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[ServiceActivity] = None, request_configuration: Optional[ServiceActivityRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property serviceActivity in reports + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> ServiceActivityRequestBuilder: + """ + 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: ServiceActivityRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ServiceActivityRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ServiceActivityRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class ServiceActivityRequestBuilderGetQueryParameters(): + """ + Reports that relate to tenant-level authentication activities in Microsoft Entra. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ServiceActivityRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[ServiceActivityRequestBuilder.ServiceActivityRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ServiceActivityRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/reports/service_principal_sign_in_activities/item/service_principal_sign_in_activity_item_request_builder.py b/msgraph_beta/generated/reports/service_principal_sign_in_activities/item/service_principal_sign_in_activity_item_request_builder.py index 5dfac0d4391..4b644220b42 100644 --- a/msgraph_beta/generated/reports/service_principal_sign_in_activities/item/service_principal_sign_in_activity_item_request_builder.py +++ b/msgraph_beta/generated/reports/service_principal_sign_in_activities/item/service_principal_sign_in_activity_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ServicePrincipalSignInActi async def get(self,request_configuration: Optional[ServicePrincipalSignInActivityItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ServicePrincipalSignInActivity]: """ - Get a servicePrincipalSignInActivity object that contains sign-in activity information for a service principal in a Microsoft Entra tenant. You can use a service principal as a client or resource. A service principal supports delegated or app-only authentication context. This API is available in the following national cloud deployments. + Get a servicePrincipalSignInActivity object that contains sign-in activity information for a service principal in a Microsoft Entra tenant. You can use a service principal as a client or resource. A service principal supports delegated or app-only authentication context. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServicePrincipalSignInActivity] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipalsigninactivity-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[ServicePr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ServicePrincipalSignInActivityItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a servicePrincipalSignInActivity object that contains sign-in activity information for a service principal in a Microsoft Entra tenant. You can use a service principal as a client or resource. A service principal supports delegated or app-only authentication context. This API is available in the following national cloud deployments. + Get a servicePrincipalSignInActivity object that contains sign-in activity information for a service principal in a Microsoft Entra tenant. You can use a service principal as a client or resource. A service principal supports delegated or app-only authentication context. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ServicePrinc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ServicePrincipalSignInActivity] = None, request_configuration: Optional[ServicePrincipalSignInActivityItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ServicePrincipalSignInActiv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ServicePrincipalSignInActivityItemRequestBuilderDeleteRequestConfiguration @dataclass class ServicePrincipalSignInActivityItemRequestBuilderGetQueryParameters(): """ - Get a servicePrincipalSignInActivity object that contains sign-in activity information for a service principal in a Microsoft Entra tenant. You can use a service principal as a client or resource. A service principal supports delegated or app-only authentication context. This API is available in the following national cloud deployments. + Get a servicePrincipalSignInActivity object that contains sign-in activity information for a service principal in a Microsoft Entra tenant. You can use a service principal as a client or resource. A service principal supports delegated or app-only authentication context. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/service_principal_sign_in_activities/service_principal_sign_in_activities_request_builder.py b/msgraph_beta/generated/reports/service_principal_sign_in_activities/service_principal_sign_in_activities_request_builder.py index ac9e022d7e2..2be78f9751b 100644 --- a/msgraph_beta/generated/reports/service_principal_sign_in_activities/service_principal_sign_in_activities_request_builder.py +++ b/msgraph_beta/generated/reports/service_principal_sign_in_activities/service_principal_sign_in_activities_request_builder.py @@ -45,7 +45,7 @@ def by_service_principal_sign_in_activity_id(self,service_principal_sign_in_acti async def get(self,request_configuration: Optional[ServicePrincipalSignInActivitiesRequestBuilderGetRequestConfiguration] = None) -> Optional[ServicePrincipalSignInActivityCollectionResponse]: """ - Get a list of servicePrincipalSignInActivity objects that contains sign-in activity information for service principals in a Microsoft Entra tenant. You can use a service principal as a client or resource. A service principal supports delegated or app-only authentication context. This API is available in the following national cloud deployments. + Get a list of servicePrincipalSignInActivity objects that contains sign-in activity information for service principals in a Microsoft Entra tenant. You can use a service principal as a client or resource. A service principal supports delegated or app-only authentication context. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServicePrincipalSignInActivityCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/reportroot-list-serviceprincipalsigninactivities?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ServicePrincipalSignInActivity] = None, reque def to_get_request_information(self,request_configuration: Optional[ServicePrincipalSignInActivitiesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of servicePrincipalSignInActivity objects that contains sign-in activity information for service principals in a Microsoft Entra tenant. You can use a service principal as a client or resource. A service principal supports delegated or app-only authentication context. This API is available in the following national cloud deployments. + Get a list of servicePrincipalSignInActivity objects that contains sign-in activity information for service principals in a Microsoft Entra tenant. You can use a service principal as a client or resource. A service principal supports delegated or app-only authentication context. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ServicePrinc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ServicePrincipalSignInActivity] = None, request_configuration: Optional[ServicePrincipalSignInActivitiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ServicePrincipalSignInActivi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServicePrincipalSignInActivitiesRequestBuilderGetQueryParameters(): """ - Get a list of servicePrincipalSignInActivity objects that contains sign-in activity information for service principals in a Microsoft Entra tenant. You can use a service principal as a client or resource. A service principal supports delegated or app-only authentication context. This API is available in the following national cloud deployments. + Get a list of servicePrincipalSignInActivity objects that contains sign-in activity information for service principals in a Microsoft Entra tenant. You can use a service principal as a client or resource. A service principal supports delegated or app-only authentication context. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/sla/azure_a_d_authentication/azure_a_d_authentication_request_builder.py b/msgraph_beta/generated/reports/sla/azure_a_d_authentication/azure_a_d_authentication_request_builder.py index b48bdfbd4cb..60fe4ef7c1f 100644 --- a/msgraph_beta/generated/reports/sla/azure_a_d_authentication/azure_a_d_authentication_request_builder.py +++ b/msgraph_beta/generated/reports/sla/azure_a_d_authentication/azure_a_d_authentication_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[AzureADAuthenticationReque async def get(self,request_configuration: Optional[AzureADAuthenticationRequestBuilderGetRequestConfiguration] = None) -> Optional[AzureADAuthentication]: """ - Read the properties and relationships of an azureADAuthentication object to find the level of Microsoft Entra authentication availability for your tenant. The Microsoft Entra service Level Agreement (SLA) commits to at least 99.99% authentication availability, as described in Microsoft Entra SLA performance. This object provides you with your tenant’s actual performance against this commitment. This API is available in the following national cloud deployments. + Read the properties and relationships of an azureADAuthentication object to find the level of Microsoft Entra authentication availability for your tenant. The Microsoft Entra service Level Agreement (SLA) commits to at least 99.99% authentication availability, as described in Microsoft Entra SLA performance. This object provides you with your tenant’s actual performance against this commitment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AzureADAuthentication] Find more info here: https://learn.microsoft.com/graph/api/azureadauthentication-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[AzureADAu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AzureADAuthenticationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an azureADAuthentication object to find the level of Microsoft Entra authentication availability for your tenant. The Microsoft Entra service Level Agreement (SLA) commits to at least 99.99% authentication availability, as described in Microsoft Entra SLA performance. This object provides you with your tenant’s actual performance against this commitment. This API is available in the following national cloud deployments. + Read the properties and relationships of an azureADAuthentication object to find the level of Microsoft Entra authentication availability for your tenant. The Microsoft Entra service Level Agreement (SLA) commits to at least 99.99% authentication availability, as described in Microsoft Entra SLA performance. This object provides you with your tenant’s actual performance against this commitment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AzureADAuthe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AzureADAuthentication] = None, request_configuration: Optional[AzureADAuthenticationRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AzureADAuthentication] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class AzureADAuthenticationRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class AzureADAuthenticationRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an azureADAuthentication object to find the level of Microsoft Entra authentication availability for your tenant. The Microsoft Entra service Level Agreement (SLA) commits to at least 99.99% authentication availability, as described in Microsoft Entra SLA performance. This object provides you with your tenant’s actual performance against this commitment. This API is available in the following national cloud deployments. + Read the properties and relationships of an azureADAuthentication object to find the level of Microsoft Entra authentication availability for your tenant. The Microsoft Entra service Level Agreement (SLA) commits to at least 99.99% authentication availability, as described in Microsoft Entra SLA performance. This object provides you with your tenant’s actual performance against this commitment. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/sla/sla_request_builder.py b/msgraph_beta/generated/reports/sla/sla_request_builder.py index 5ad6a7c703f..63e33a402ef 100644 --- a/msgraph_beta/generated/reports/sla/sla_request_builder.py +++ b/msgraph_beta/generated/reports/sla/sla_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[SlaRequestBuilderDeleteReq async def get(self,request_configuration: Optional[SlaRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceLevelAgreementRoot]: """ - A placeholder to allow for the desired URL path for SLA. + Reports that relate to tenant-level Microsoft Entra SLA attainment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceLevelAgreementRoot] """ @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[SlaReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SlaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - A placeholder to allow for the desired URL path for SLA. + Reports that relate to tenant-level Microsoft Entra SLA attainment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[SlaRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ServiceLevelAgreementRoot] = None, request_configuration: Optional[SlaRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ServiceLevelAgreementRoot] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -176,7 +176,7 @@ class SlaRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class SlaRequestBuilderGetQueryParameters(): """ - A placeholder to allow for the desired URL path for SLA. + Reports that relate to tenant-level Microsoft Entra SLA attainment. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_credential_usage_details/item/user_credential_usage_details_item_request_builder.py b/msgraph_beta/generated/reports/user_credential_usage_details/item/user_credential_usage_details_item_request_builder.py index 2e291690c51..5c88e5a2cad 100644 --- a/msgraph_beta/generated/reports/user_credential_usage_details/item/user_credential_usage_details_item_request_builder.py +++ b/msgraph_beta/generated/reports/user_credential_usage_details/item/user_credential_usage_details_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserCrede request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserCredentialUsageDetailsItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserCredenti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserCredentialUsageDetails] = None, request_configuration: Optional[UserCredentialUsageDetailsItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserCredentialUsageDetails] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/reports/user_credential_usage_details/user_credential_usage_details_request_builder.py b/msgraph_beta/generated/reports/user_credential_usage_details/user_credential_usage_details_request_builder.py index 51bd52e09b8..1b1cc8ea4c7 100644 --- a/msgraph_beta/generated/reports/user_credential_usage_details/user_credential_usage_details_request_builder.py +++ b/msgraph_beta/generated/reports/user_credential_usage_details/user_credential_usage_details_request_builder.py @@ -45,7 +45,7 @@ def by_user_credential_usage_details_id(self,user_credential_usage_details_id: s async def get(self,request_configuration: Optional[UserCredentialUsageDetailsRequestBuilderGetRequestConfiguration] = None) -> Optional[UserCredentialUsageDetailsCollectionResponse]: """ - Get a list of userCredentialUsageDetails objects for a given tenant. Details include user information, status of the reset, and the reason for failure. This API is available in the following national cloud deployments. + Get a list of userCredentialUsageDetails objects for a given tenant. Details include user information, status of the reset, and the reason for failure. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserCredentialUsageDetailsCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/reportroot-list-usercredentialusagedetails?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[UserCredentialUsageDetails] = None, request_c def to_get_request_information(self,request_configuration: Optional[UserCredentialUsageDetailsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of userCredentialUsageDetails objects for a given tenant. Details include user information, status of the reset, and the reason for failure. This API is available in the following national cloud deployments. + Get a list of userCredentialUsageDetails objects for a given tenant. Details include user information, status of the reset, and the reason for failure. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[UserCredenti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserCredentialUsageDetails] = None, request_configuration: Optional[UserCredentialUsageDetailsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UserCredentialUsageDetails] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class UserCredentialUsageDetailsRequestBuilderGetQueryParameters(): """ - Get a list of userCredentialUsageDetails objects for a given tenant. Details include user information, status of the reset, and the reason for failure. This API is available in the following national cloud deployments. + Get a list of userCredentialUsageDetails objects for a given tenant. Details include user information, status of the reset, and the reason for failure. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/daily/active_users/active_users_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/active_users/active_users_request_builder.py index 5882f3d59da..fa20236da42 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/active_users/active_users_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/active_users/active_users_request_builder.py @@ -44,9 +44,10 @@ def by_active_users_metric_id(self,active_users_metric_id: str) -> ActiveUsersMe async def get(self,request_configuration: Optional[ActiveUsersRequestBuilderGetRequestConfiguration] = None) -> Optional[ActiveUsersMetricCollectionResponse]: """ - Get activeUsers from reports + Get a list of daily active users on apps registered in your tenant configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ActiveUsersMetricCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/dailyuserinsightmetricsroot-list-activeusers?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -65,7 +66,7 @@ async def get(self,request_configuration: Optional[ActiveUsersRequestBuilderGetR def to_get_request_information(self,request_configuration: Optional[ActiveUsersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get activeUsers from reports + Get a list of daily active users on apps registered in your tenant configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -77,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ActiveUsersR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ActiveUsersRequestBuilder: @@ -102,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ActiveUsersRequestBuilderGetQueryParameters(): """ - Get activeUsers from reports + Get a list of daily active users on apps registered in your tenant configured for Microsoft Entra External ID for customers. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/daily/active_users/item/active_users_metric_item_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/active_users/item/active_users_metric_item_request_builder.py index 1cc687de8cd..3b533903cd8 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/active_users/item/active_users_metric_item_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/active_users/item/active_users_metric_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ActiveUsersMetricItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ActiveUsersMetric]: """ - Get activeUsers from reports + Insights for active users on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ActiveUsersMetric] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[ActiveUsersMetricItemRequestB def to_get_request_information(self,request_configuration: Optional[ActiveUsersMetricItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get activeUsers from reports + Insights for active users on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ActiveUsersM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ActiveUsersMetricItemRequestBuilder: @@ -77,7 +77,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ActiveUsersMetricItemRequest @dataclass class ActiveUsersMetricItemRequestBuilderGetQueryParameters(): """ - Get activeUsers from reports + Insights for active users on apps registered in the tenant for a specified period. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/daily/active_users_breakdown/active_users_breakdown_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/active_users_breakdown/active_users_breakdown_request_builder.py index a35ee222f49..25fbfa9c64d 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/active_users_breakdown/active_users_breakdown_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/active_users_breakdown/active_users_breakdown_request_builder.py @@ -44,9 +44,10 @@ def by_active_users_breakdown_metric_id(self,active_users_breakdown_metric_id: s async def get(self,request_configuration: Optional[ActiveUsersBreakdownRequestBuilderGetRequestConfiguration] = None) -> Optional[ActiveUsersBreakdownMetricCollectionResponse]: """ - Get activeUsersBreakdown from reports + Get a list of daily activeUsersBreakdown objects on apps registered in your tenant configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ActiveUsersBreakdownMetricCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/dailyuserinsightmetricsroot-list-activeusersbreakdown?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -65,7 +66,7 @@ async def get(self,request_configuration: Optional[ActiveUsersBreakdownRequestBu def to_get_request_information(self,request_configuration: Optional[ActiveUsersBreakdownRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get activeUsersBreakdown from reports + Get a list of daily activeUsersBreakdown objects on apps registered in your tenant configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -77,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ActiveUsersB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ActiveUsersBreakdownRequestBuilder: @@ -102,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ActiveUsersBreakdownRequestBuilderGetQueryParameters(): """ - Get activeUsersBreakdown from reports + Get a list of daily activeUsersBreakdown objects on apps registered in your tenant configured for Microsoft Entra External ID for customers. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/daily/active_users_breakdown/item/active_users_breakdown_metric_item_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/active_users_breakdown/item/active_users_breakdown_metric_item_request_builder.py index e50d63bec00..fd3a4053689 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/active_users_breakdown/item/active_users_breakdown_metric_item_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/active_users_breakdown/item/active_users_breakdown_metric_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ActiveUsersBreakdownMetricItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ActiveUsersBreakdownMetric]: """ - Get activeUsersBreakdown from reports + Insights for the breakdown of users who were active on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ActiveUsersBreakdownMetric] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[ActiveUsersBreakdownMetricIte def to_get_request_information(self,request_configuration: Optional[ActiveUsersBreakdownMetricItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get activeUsersBreakdown from reports + Insights for the breakdown of users who were active on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ActiveUsersB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ActiveUsersBreakdownMetricItemRequestBuilder: @@ -77,7 +77,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ActiveUsersBreakdownMetricIt @dataclass class ActiveUsersBreakdownMetricItemRequestBuilderGetQueryParameters(): """ - Get activeUsersBreakdown from reports + Insights for the breakdown of users who were active on apps registered in the tenant for a specified period. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/daily/authentications/authentications_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/authentications/authentications_request_builder.py index 783482a3c75..a63d58f4295 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/authentications/authentications_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/authentications/authentications_request_builder.py @@ -44,9 +44,10 @@ def by_authentications_metric_id(self,authentications_metric_id: str) -> Authent async def get(self,request_configuration: Optional[AuthenticationsRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthenticationsMetricCollectionResponse]: """ - Get authentications from reports + Get a list of daily authentications on apps registered in your tenant configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationsMetricCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/dailyuserinsightmetricsroot-list-authentications?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -65,7 +66,7 @@ async def get(self,request_configuration: Optional[AuthenticationsRequestBuilder def to_get_request_information(self,request_configuration: Optional[AuthenticationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get authentications from reports + Get a list of daily authentications on apps registered in your tenant configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -77,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AuthenticationsRequestBuilder: @@ -102,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AuthenticationsRequestBuilderGetQueryParameters(): """ - Get authentications from reports + Get a list of daily authentications on apps registered in your tenant configured for Microsoft Entra External ID for customers. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/daily/authentications/item/authentications_metric_item_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/authentications/item/authentications_metric_item_request_builder.py index 31650084632..5dca191f58b 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/authentications/item/authentications_metric_item_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/authentications/item/authentications_metric_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[AuthenticationsMetricItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthenticationsMetric]: """ - Get authentications from reports + Insights for authentications on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationsMetric] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[AuthenticationsMetricItemRequ def to_get_request_information(self,request_configuration: Optional[AuthenticationsMetricItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get authentications from reports + Insights for authentications on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AuthenticationsMetricItemRequestBuilder: @@ -77,7 +77,7 @@ def with_url(self,raw_url: Optional[str] = None) -> AuthenticationsMetricItemReq @dataclass class AuthenticationsMetricItemRequestBuilderGetQueryParameters(): """ - Get authentications from reports + Insights for authentications on apps registered in the tenant for a specified period. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/daily/daily_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/daily_request_builder.py index 04769227c5d..383b0a719e6 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/daily_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/daily_request_builder.py @@ -56,7 +56,7 @@ async def delete(self,request_configuration: Optional[DailyRequestBuilderDeleteR async def get(self,request_configuration: Optional[DailyRequestBuilderGetRequestConfiguration] = None) -> Optional[DailyUserInsightMetricsRoot]: """ - Get daily from reports + Summaries of daily user activities on apps registered in your tenant that is configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DailyUserInsightMetricsRoot] """ @@ -112,12 +112,12 @@ def to_delete_request_information(self,request_configuration: Optional[DailyRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DailyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get daily from reports + Summaries of daily user activities on apps registered in your tenant that is configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -129,7 +129,7 @@ def to_get_request_information(self,request_configuration: Optional[DailyRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DailyUserInsightMetricsRoot] = None, request_configuration: Optional[DailyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -148,7 +148,7 @@ def to_patch_request_information(self,body: Optional[DailyUserInsightMetricsRoot request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -256,7 +256,7 @@ class DailyRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class DailyRequestBuilderGetQueryParameters(): """ - Get daily from reports + Summaries of daily user activities on apps registered in your tenant that is configured for Microsoft Entra External ID for customers. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/daily/inactive_users/inactive_users_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/inactive_users/inactive_users_request_builder.py index 554dcfadece..5b75fb9b494 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/inactive_users/inactive_users_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/inactive_users/inactive_users_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[InactiveUser request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InactiveUsersRequestBuilder: diff --git a/msgraph_beta/generated/reports/user_insights/daily/inactive_users/item/daily_inactive_users_metric_item_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/inactive_users/item/daily_inactive_users_metric_item_request_builder.py index 56766a24e20..6a2f1e17b9a 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/inactive_users/item/daily_inactive_users_metric_item_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/inactive_users/item/daily_inactive_users_metric_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DailyInactiv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DailyInactiveUsersMetricItemRequestBuilder: diff --git a/msgraph_beta/generated/reports/user_insights/daily/inactive_users_by_application/inactive_users_by_application_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/inactive_users_by_application/inactive_users_by_application_request_builder.py index 2e5f338985d..05e16b8c15a 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/inactive_users_by_application/inactive_users_by_application_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/inactive_users_by_application/inactive_users_by_application_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[InactiveUser request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InactiveUsersByApplicationRequestBuilder: diff --git a/msgraph_beta/generated/reports/user_insights/daily/inactive_users_by_application/item/daily_inactive_users_by_application_metric_item_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/inactive_users_by_application/item/daily_inactive_users_by_application_metric_item_request_builder.py index 465d117275e..3daecc838dd 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/inactive_users_by_application/item/daily_inactive_users_by_application_metric_item_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/inactive_users_by_application/item/daily_inactive_users_by_application_metric_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DailyInactiv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DailyInactiveUsersByApplicationMetricItemRequestBuilder: diff --git a/msgraph_beta/generated/reports/user_insights/daily/mfa_completions/item/mfa_completion_metric_item_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/mfa_completions/item/mfa_completion_metric_item_request_builder.py index 6c26690360b..009c421f7c7 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/mfa_completions/item/mfa_completion_metric_item_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/mfa_completions/item/mfa_completion_metric_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[MfaCompletionMetricItemRequestBuilderGetRequestConfiguration] = None) -> Optional[MfaCompletionMetric]: """ - Get mfaCompletions from reports + Insights for MFA usage on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MfaCompletionMetric] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[MfaCompletionMetricItemReques def to_get_request_information(self,request_configuration: Optional[MfaCompletionMetricItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get mfaCompletions from reports + Insights for MFA usage on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MfaCompletio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MfaCompletionMetricItemRequestBuilder: @@ -77,7 +77,7 @@ def with_url(self,raw_url: Optional[str] = None) -> MfaCompletionMetricItemReque @dataclass class MfaCompletionMetricItemRequestBuilderGetQueryParameters(): """ - Get mfaCompletions from reports + Insights for MFA usage on apps registered in the tenant for a specified period. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/daily/mfa_completions/mfa_completions_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/mfa_completions/mfa_completions_request_builder.py index 4b35e9cae4b..af54fbbefdd 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/mfa_completions/mfa_completions_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/mfa_completions/mfa_completions_request_builder.py @@ -44,9 +44,10 @@ def by_mfa_completion_metric_id(self,mfa_completion_metric_id: str) -> MfaComple async def get(self,request_configuration: Optional[MfaCompletionsRequestBuilderGetRequestConfiguration] = None) -> Optional[MfaCompletionMetricCollectionResponse]: """ - Get mfaCompletions from reports + Get a list of daily MFA completions on apps registered in your tenant configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MfaCompletionMetricCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/dailyuserinsightmetricsroot-list-mfacompletions?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -65,7 +66,7 @@ async def get(self,request_configuration: Optional[MfaCompletionsRequestBuilderG def to_get_request_information(self,request_configuration: Optional[MfaCompletionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get mfaCompletions from reports + Get a list of daily MFA completions on apps registered in your tenant configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -77,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[MfaCompletio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MfaCompletionsRequestBuilder: @@ -102,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MfaCompletionsRequestBuilderGetQueryParameters(): """ - Get mfaCompletions from reports + Get a list of daily MFA completions on apps registered in your tenant configured for Microsoft Entra External ID for customers. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/daily/sign_ups/item/user_sign_up_metric_item_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/sign_ups/item/user_sign_up_metric_item_request_builder.py index 1a806da995a..20ebbdf5d0a 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/sign_ups/item/user_sign_up_metric_item_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/sign_ups/item/user_sign_up_metric_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[UserSignUpMetricItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UserSignUpMetric]: """ - Get signUps from reports + Total sign-ups on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserSignUpMetric] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[UserSignUpMetricItemRequestBu def to_get_request_information(self,request_configuration: Optional[UserSignUpMetricItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get signUps from reports + Total sign-ups on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[UserSignUpMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserSignUpMetricItemRequestBuilder: @@ -77,7 +77,7 @@ def with_url(self,raw_url: Optional[str] = None) -> UserSignUpMetricItemRequestB @dataclass class UserSignUpMetricItemRequestBuilderGetQueryParameters(): """ - Get signUps from reports + Total sign-ups on apps registered in the tenant for a specified period. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/daily/sign_ups/sign_ups_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/sign_ups/sign_ups_request_builder.py index ed522dd376d..ac8fff25cd8 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/sign_ups/sign_ups_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/sign_ups/sign_ups_request_builder.py @@ -44,9 +44,10 @@ def by_user_sign_up_metric_id(self,user_sign_up_metric_id: str) -> UserSignUpMet async def get(self,request_configuration: Optional[SignUpsRequestBuilderGetRequestConfiguration] = None) -> Optional[UserSignUpMetricCollectionResponse]: """ - Get signUps from reports + Get a list of daily user sign-ups on apps registered in your tenant configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserSignUpMetricCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/dailyuserinsightmetricsroot-list-signups?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -65,7 +66,7 @@ async def get(self,request_configuration: Optional[SignUpsRequestBuilderGetReque def to_get_request_information(self,request_configuration: Optional[SignUpsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get signUps from reports + Get a list of daily user sign-ups on apps registered in your tenant configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -77,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[SignUpsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SignUpsRequestBuilder: @@ -102,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SignUpsRequestBuilderGetQueryParameters(): """ - Get signUps from reports + Get a list of daily user sign-ups on apps registered in your tenant configured for Microsoft Entra External ID for customers. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/daily/summary/item/insight_summary_item_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/summary/item/insight_summary_item_request_builder.py index c2ffb8bf983..6595c673a3c 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/summary/item/insight_summary_item_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/summary/item/insight_summary_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[InsightSummaryItemRequestBuilderGetRequestConfiguration] = None) -> Optional[InsightSummary]: """ - Get summary from reports + Summary of all usage insights on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InsightSummary] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[InsightSummaryItemRequestBuil def to_get_request_information(self,request_configuration: Optional[InsightSummaryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get summary from reports + Summary of all usage insights on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[InsightSumma request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InsightSummaryItemRequestBuilder: @@ -77,7 +77,7 @@ def with_url(self,raw_url: Optional[str] = None) -> InsightSummaryItemRequestBui @dataclass class InsightSummaryItemRequestBuilderGetQueryParameters(): """ - Get summary from reports + Summary of all usage insights on apps registered in the tenant for a specified period. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/daily/summary/summary_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/summary/summary_request_builder.py index 21f7660cd79..79ef31d4393 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/summary/summary_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/summary/summary_request_builder.py @@ -44,7 +44,7 @@ def by_insight_summary_id(self,insight_summary_id: str) -> InsightSummaryItemReq async def get(self,request_configuration: Optional[SummaryRequestBuilderGetRequestConfiguration] = None) -> Optional[InsightSummaryCollectionResponse]: """ - Get summary from reports + Summary of all usage insights on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InsightSummaryCollectionResponse] """ @@ -65,7 +65,7 @@ async def get(self,request_configuration: Optional[SummaryRequestBuilderGetReque def to_get_request_information(self,request_configuration: Optional[SummaryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get summary from reports + Summary of all usage insights on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[SummaryReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SummaryRequestBuilder: @@ -102,7 +102,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SummaryRequestBuilderGetQueryParameters(): """ - Get summary from reports + Summary of all usage insights on apps registered in the tenant for a specified period. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/daily/user_count/item/user_count_metric_item_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/user_count/item/user_count_metric_item_request_builder.py index f695fbecd8e..943e5b18075 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/user_count/item/user_count_metric_item_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/user_count/item/user_count_metric_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[UserCountMetricItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UserCountMetric]: """ - Get userCount from reports + Insights for total users on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserCountMetric] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[UserCountMetricItemRequestBui def to_get_request_information(self,request_configuration: Optional[UserCountMetricItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get userCount from reports + Insights for total users on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[UserCountMet request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserCountMetricItemRequestBuilder: @@ -77,7 +77,7 @@ def with_url(self,raw_url: Optional[str] = None) -> UserCountMetricItemRequestBu @dataclass class UserCountMetricItemRequestBuilderGetQueryParameters(): """ - Get userCount from reports + Insights for total users on apps registered in the tenant for a specified period. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/daily/user_count/user_count_request_builder.py b/msgraph_beta/generated/reports/user_insights/daily/user_count/user_count_request_builder.py index 24a9dd84bb3..fb68db186ed 100644 --- a/msgraph_beta/generated/reports/user_insights/daily/user_count/user_count_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/daily/user_count/user_count_request_builder.py @@ -44,9 +44,10 @@ def by_user_count_metric_id(self,user_count_metric_id: str) -> UserCountMetricIt async def get(self,request_configuration: Optional[UserCountRequestBuilderGetRequestConfiguration] = None) -> Optional[UserCountMetricCollectionResponse]: """ - Get userCount from reports + Get a list of daily user count on apps registered in your tenant configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserCountMetricCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/dailyuserinsightmetricsroot-list-usercount?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -65,7 +66,7 @@ async def get(self,request_configuration: Optional[UserCountRequestBuilderGetReq def to_get_request_information(self,request_configuration: Optional[UserCountRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get userCount from reports + Get a list of daily user count on apps registered in your tenant configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -77,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[UserCountReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserCountRequestBuilder: @@ -102,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class UserCountRequestBuilderGetQueryParameters(): """ - Get userCount from reports + Get a list of daily user count on apps registered in your tenant configured for Microsoft Entra External ID for customers. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/monthly/active_users/active_users_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/active_users/active_users_request_builder.py index 3e91de82652..d3bcf9ab97c 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/active_users/active_users_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/active_users/active_users_request_builder.py @@ -44,9 +44,10 @@ def by_active_users_metric_id(self,active_users_metric_id: str) -> ActiveUsersMe async def get(self,request_configuration: Optional[ActiveUsersRequestBuilderGetRequestConfiguration] = None) -> Optional[ActiveUsersMetricCollectionResponse]: """ - Get activeUsers from reports + Get a list of monthly active users on apps registered in your tenant configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ActiveUsersMetricCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/monthlyuserinsightmetricsroot-list-activeusers?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -65,7 +66,7 @@ async def get(self,request_configuration: Optional[ActiveUsersRequestBuilderGetR def to_get_request_information(self,request_configuration: Optional[ActiveUsersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get activeUsers from reports + Get a list of monthly active users on apps registered in your tenant configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -77,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ActiveUsersR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ActiveUsersRequestBuilder: @@ -102,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ActiveUsersRequestBuilderGetQueryParameters(): """ - Get activeUsers from reports + Get a list of monthly active users on apps registered in your tenant configured for Microsoft Entra External ID for customers. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/monthly/active_users/item/active_users_metric_item_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/active_users/item/active_users_metric_item_request_builder.py index f6e4fbfb06e..055da0eaf7c 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/active_users/item/active_users_metric_item_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/active_users/item/active_users_metric_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ActiveUsersMetricItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ActiveUsersMetric]: """ - Get activeUsers from reports + Insights for active users on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ActiveUsersMetric] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[ActiveUsersMetricItemRequestB def to_get_request_information(self,request_configuration: Optional[ActiveUsersMetricItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get activeUsers from reports + Insights for active users on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ActiveUsersM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ActiveUsersMetricItemRequestBuilder: @@ -77,7 +77,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ActiveUsersMetricItemRequest @dataclass class ActiveUsersMetricItemRequestBuilderGetQueryParameters(): """ - Get activeUsers from reports + Insights for active users on apps registered in the tenant for a specified period. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/monthly/active_users_breakdown/active_users_breakdown_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/active_users_breakdown/active_users_breakdown_request_builder.py index 00bb994c17d..7ce5568fc65 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/active_users_breakdown/active_users_breakdown_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/active_users_breakdown/active_users_breakdown_request_builder.py @@ -44,9 +44,10 @@ def by_active_users_breakdown_metric_id(self,active_users_breakdown_metric_id: s async def get(self,request_configuration: Optional[ActiveUsersBreakdownRequestBuilderGetRequestConfiguration] = None) -> Optional[ActiveUsersBreakdownMetricCollectionResponse]: """ - Get activeUsersBreakdown from reports + Get a list of monthly activeUsersBreakdown objects on apps registered in your tenant configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ActiveUsersBreakdownMetricCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/monthlyuserinsightmetricsroot-list-activeusersbreakdown?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -65,7 +66,7 @@ async def get(self,request_configuration: Optional[ActiveUsersBreakdownRequestBu def to_get_request_information(self,request_configuration: Optional[ActiveUsersBreakdownRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get activeUsersBreakdown from reports + Get a list of monthly activeUsersBreakdown objects on apps registered in your tenant configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -77,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ActiveUsersB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ActiveUsersBreakdownRequestBuilder: @@ -102,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ActiveUsersBreakdownRequestBuilderGetQueryParameters(): """ - Get activeUsersBreakdown from reports + Get a list of monthly activeUsersBreakdown objects on apps registered in your tenant configured for Microsoft Entra External ID for customers. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/monthly/active_users_breakdown/item/active_users_breakdown_metric_item_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/active_users_breakdown/item/active_users_breakdown_metric_item_request_builder.py index 7f0841978b4..e50043f4e79 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/active_users_breakdown/item/active_users_breakdown_metric_item_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/active_users_breakdown/item/active_users_breakdown_metric_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ActiveUsersBreakdownMetricItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ActiveUsersBreakdownMetric]: """ - Get activeUsersBreakdown from reports + Insights for the breakdown of users who were active on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ActiveUsersBreakdownMetric] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[ActiveUsersBreakdownMetricIte def to_get_request_information(self,request_configuration: Optional[ActiveUsersBreakdownMetricItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get activeUsersBreakdown from reports + Insights for the breakdown of users who were active on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ActiveUsersB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ActiveUsersBreakdownMetricItemRequestBuilder: @@ -77,7 +77,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ActiveUsersBreakdownMetricIt @dataclass class ActiveUsersBreakdownMetricItemRequestBuilderGetQueryParameters(): """ - Get activeUsersBreakdown from reports + Insights for the breakdown of users who were active on apps registered in the tenant for a specified period. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/monthly/authentications/authentications_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/authentications/authentications_request_builder.py index d509c449707..d1c67cc0481 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/authentications/authentications_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/authentications/authentications_request_builder.py @@ -44,9 +44,10 @@ def by_authentications_metric_id(self,authentications_metric_id: str) -> Authent async def get(self,request_configuration: Optional[AuthenticationsRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthenticationsMetricCollectionResponse]: """ - Get authentications from reports + Get a list of monthly authentications on apps registered in your tenant configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationsMetricCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/monthlyuserinsightmetricsroot-list-authentications?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -65,7 +66,7 @@ async def get(self,request_configuration: Optional[AuthenticationsRequestBuilder def to_get_request_information(self,request_configuration: Optional[AuthenticationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get authentications from reports + Get a list of monthly authentications on apps registered in your tenant configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -77,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AuthenticationsRequestBuilder: @@ -102,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AuthenticationsRequestBuilderGetQueryParameters(): """ - Get authentications from reports + Get a list of monthly authentications on apps registered in your tenant configured for Microsoft Entra External ID for customers. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/monthly/authentications/item/authentications_metric_item_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/authentications/item/authentications_metric_item_request_builder.py index 061f65db316..35a1cc65d4e 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/authentications/item/authentications_metric_item_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/authentications/item/authentications_metric_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[AuthenticationsMetricItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthenticationsMetric]: """ - Get authentications from reports + Insights for authentications on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationsMetric] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[AuthenticationsMetricItemRequ def to_get_request_information(self,request_configuration: Optional[AuthenticationsMetricItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get authentications from reports + Insights for authentications on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AuthenticationsMetricItemRequestBuilder: @@ -77,7 +77,7 @@ def with_url(self,raw_url: Optional[str] = None) -> AuthenticationsMetricItemReq @dataclass class AuthenticationsMetricItemRequestBuilderGetQueryParameters(): """ - Get authentications from reports + Insights for authentications on apps registered in the tenant for a specified period. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/monthly/inactive_users/inactive_users_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/inactive_users/inactive_users_request_builder.py index da340d7a80f..c47e85b1d83 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/inactive_users/inactive_users_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/inactive_users/inactive_users_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[InactiveUser request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InactiveUsersRequestBuilder: diff --git a/msgraph_beta/generated/reports/user_insights/monthly/inactive_users/item/monthly_inactive_users_metric_item_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/inactive_users/item/monthly_inactive_users_metric_item_request_builder.py index 31ecf4f9c72..7cb5eae09c0 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/inactive_users/item/monthly_inactive_users_metric_item_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/inactive_users/item/monthly_inactive_users_metric_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MonthlyInact request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MonthlyInactiveUsersMetricItemRequestBuilder: diff --git a/msgraph_beta/generated/reports/user_insights/monthly/inactive_users_by_application/inactive_users_by_application_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/inactive_users_by_application/inactive_users_by_application_request_builder.py index eee9f80c6a3..32819564245 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/inactive_users_by_application/inactive_users_by_application_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/inactive_users_by_application/inactive_users_by_application_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[InactiveUser request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InactiveUsersByApplicationRequestBuilder: diff --git a/msgraph_beta/generated/reports/user_insights/monthly/inactive_users_by_application/item/monthly_inactive_users_by_application_metric_item_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/inactive_users_by_application/item/monthly_inactive_users_by_application_metric_item_request_builder.py index fbdcea9c250..a627e8b35aa 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/inactive_users_by_application/item/monthly_inactive_users_by_application_metric_item_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/inactive_users_by_application/item/monthly_inactive_users_by_application_metric_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MonthlyInact request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MonthlyInactiveUsersByApplicationMetricItemRequestBuilder: diff --git a/msgraph_beta/generated/reports/user_insights/monthly/mfa_completions/item/mfa_completion_metric_item_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/mfa_completions/item/mfa_completion_metric_item_request_builder.py index e9cfd1b45b3..26f1b3fa178 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/mfa_completions/item/mfa_completion_metric_item_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/mfa_completions/item/mfa_completion_metric_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[MfaCompletionMetricItemRequestBuilderGetRequestConfiguration] = None) -> Optional[MfaCompletionMetric]: """ - Get mfaCompletions from reports + Insights for MFA usage on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MfaCompletionMetric] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[MfaCompletionMetricItemReques def to_get_request_information(self,request_configuration: Optional[MfaCompletionMetricItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get mfaCompletions from reports + Insights for MFA usage on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MfaCompletio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MfaCompletionMetricItemRequestBuilder: @@ -77,7 +77,7 @@ def with_url(self,raw_url: Optional[str] = None) -> MfaCompletionMetricItemReque @dataclass class MfaCompletionMetricItemRequestBuilderGetQueryParameters(): """ - Get mfaCompletions from reports + Insights for MFA usage on apps registered in the tenant for a specified period. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/monthly/mfa_completions/mfa_completions_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/mfa_completions/mfa_completions_request_builder.py index a9c3c8e7d36..453e7691b82 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/mfa_completions/mfa_completions_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/mfa_completions/mfa_completions_request_builder.py @@ -44,9 +44,10 @@ def by_mfa_completion_metric_id(self,mfa_completion_metric_id: str) -> MfaComple async def get(self,request_configuration: Optional[MfaCompletionsRequestBuilderGetRequestConfiguration] = None) -> Optional[MfaCompletionMetricCollectionResponse]: """ - Get mfaCompletions from reports + Get a list of monthly MFA completions on apps registered in your tenant configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MfaCompletionMetricCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/monthlyuserinsightmetricsroot-list-mfacompletions?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -65,7 +66,7 @@ async def get(self,request_configuration: Optional[MfaCompletionsRequestBuilderG def to_get_request_information(self,request_configuration: Optional[MfaCompletionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get mfaCompletions from reports + Get a list of monthly MFA completions on apps registered in your tenant configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -77,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[MfaCompletio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MfaCompletionsRequestBuilder: @@ -102,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MfaCompletionsRequestBuilderGetQueryParameters(): """ - Get mfaCompletions from reports + Get a list of monthly MFA completions on apps registered in your tenant configured for Microsoft Entra External ID for customers. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/monthly/monthly_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/monthly_request_builder.py index 2d4b1bd5934..abf0499a574 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/monthly_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/monthly_request_builder.py @@ -56,7 +56,7 @@ async def delete(self,request_configuration: Optional[MonthlyRequestBuilderDelet async def get(self,request_configuration: Optional[MonthlyRequestBuilderGetRequestConfiguration] = None) -> Optional[MonthlyUserInsightMetricsRoot]: """ - Get monthly from reports + Summaries of monthly user activities on apps registered in your tenant that is configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MonthlyUserInsightMetricsRoot] """ @@ -112,12 +112,12 @@ def to_delete_request_information(self,request_configuration: Optional[MonthlyRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MonthlyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get monthly from reports + Summaries of monthly user activities on apps registered in your tenant that is configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -129,7 +129,7 @@ def to_get_request_information(self,request_configuration: Optional[MonthlyReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MonthlyUserInsightMetricsRoot] = None, request_configuration: Optional[MonthlyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -148,7 +148,7 @@ def to_patch_request_information(self,body: Optional[MonthlyUserInsightMetricsRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -256,7 +256,7 @@ class MonthlyRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class MonthlyRequestBuilderGetQueryParameters(): """ - Get monthly from reports + Summaries of monthly user activities on apps registered in your tenant that is configured for Microsoft Entra External ID for customers. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/monthly/requests/item/user_requests_metric_item_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/requests/item/user_requests_metric_item_request_builder.py index 4934b5bb220..b8c3330fb4e 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/requests/item/user_requests_metric_item_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/requests/item/user_requests_metric_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[UserRequestsMetricItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UserRequestsMetric]: """ - Get requests from reports + Insights for all user requests on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserRequestsMetric] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[UserRequestsMetricItemRequest def to_get_request_information(self,request_configuration: Optional[UserRequestsMetricItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get requests from reports + Insights for all user requests on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[UserRequests request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserRequestsMetricItemRequestBuilder: @@ -77,7 +77,7 @@ def with_url(self,raw_url: Optional[str] = None) -> UserRequestsMetricItemReques @dataclass class UserRequestsMetricItemRequestBuilderGetQueryParameters(): """ - Get requests from reports + Insights for all user requests on apps registered in the tenant for a specified period. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/monthly/requests/requests_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/requests/requests_request_builder.py index 50e8f4509ab..50bfc478eb5 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/requests/requests_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/requests/requests_request_builder.py @@ -44,9 +44,10 @@ def by_user_requests_metric_id(self,user_requests_metric_id: str) -> UserRequest async def get(self,request_configuration: Optional[RequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[UserRequestsMetricCollectionResponse]: """ - Get requests from reports + Get a list of monthly user requests on apps registered in your tenant configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserRequestsMetricCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/monthlyuserinsightmetricsroot-list-requests?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -65,7 +66,7 @@ async def get(self,request_configuration: Optional[RequestsRequestBuilderGetRequ def to_get_request_information(self,request_configuration: Optional[RequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get requests from reports + Get a list of monthly user requests on apps registered in your tenant configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -77,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RequestsRequestBuilder: @@ -102,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RequestsRequestBuilderGetQueryParameters(): """ - Get requests from reports + Get a list of monthly user requests on apps registered in your tenant configured for Microsoft Entra External ID for customers. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/monthly/sign_ups/item/user_sign_up_metric_item_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/sign_ups/item/user_sign_up_metric_item_request_builder.py index 4cb22acf85a..1ea6beddd54 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/sign_ups/item/user_sign_up_metric_item_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/sign_ups/item/user_sign_up_metric_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[UserSignUpMetricItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UserSignUpMetric]: """ - Get signUps from reports + Total sign-ups on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserSignUpMetric] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[UserSignUpMetricItemRequestBu def to_get_request_information(self,request_configuration: Optional[UserSignUpMetricItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get signUps from reports + Total sign-ups on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[UserSignUpMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserSignUpMetricItemRequestBuilder: @@ -77,7 +77,7 @@ def with_url(self,raw_url: Optional[str] = None) -> UserSignUpMetricItemRequestB @dataclass class UserSignUpMetricItemRequestBuilderGetQueryParameters(): """ - Get signUps from reports + Total sign-ups on apps registered in the tenant for a specified period. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/monthly/sign_ups/sign_ups_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/sign_ups/sign_ups_request_builder.py index c7e56577f60..8ea0fcb3aab 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/sign_ups/sign_ups_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/sign_ups/sign_ups_request_builder.py @@ -44,9 +44,10 @@ def by_user_sign_up_metric_id(self,user_sign_up_metric_id: str) -> UserSignUpMet async def get(self,request_configuration: Optional[SignUpsRequestBuilderGetRequestConfiguration] = None) -> Optional[UserSignUpMetricCollectionResponse]: """ - Get signUps from reports + Get a list of monthly user sign-ups on apps registered in your tenant configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserSignUpMetricCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/monthlyuserinsightmetricsroot-list-signups?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -65,7 +66,7 @@ async def get(self,request_configuration: Optional[SignUpsRequestBuilderGetReque def to_get_request_information(self,request_configuration: Optional[SignUpsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get signUps from reports + Get a list of monthly user sign-ups on apps registered in your tenant configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -77,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[SignUpsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SignUpsRequestBuilder: @@ -102,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SignUpsRequestBuilderGetQueryParameters(): """ - Get signUps from reports + Get a list of monthly user sign-ups on apps registered in your tenant configured for Microsoft Entra External ID for customers. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/monthly/summary/item/insight_summary_item_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/summary/item/insight_summary_item_request_builder.py index 6415cc0111e..28bdf611640 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/summary/item/insight_summary_item_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/summary/item/insight_summary_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[InsightSummaryItemRequestBuilderGetRequestConfiguration] = None) -> Optional[InsightSummary]: """ - Get summary from reports + Summary of all usage insights on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InsightSummary] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[InsightSummaryItemRequestBuil def to_get_request_information(self,request_configuration: Optional[InsightSummaryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get summary from reports + Summary of all usage insights on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[InsightSumma request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InsightSummaryItemRequestBuilder: @@ -77,7 +77,7 @@ def with_url(self,raw_url: Optional[str] = None) -> InsightSummaryItemRequestBui @dataclass class InsightSummaryItemRequestBuilderGetQueryParameters(): """ - Get summary from reports + Summary of all usage insights on apps registered in the tenant for a specified period. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/monthly/summary/summary_request_builder.py b/msgraph_beta/generated/reports/user_insights/monthly/summary/summary_request_builder.py index 1a1bf6b9d12..6c299557c93 100644 --- a/msgraph_beta/generated/reports/user_insights/monthly/summary/summary_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/monthly/summary/summary_request_builder.py @@ -44,7 +44,7 @@ def by_insight_summary_id(self,insight_summary_id: str) -> InsightSummaryItemReq async def get(self,request_configuration: Optional[SummaryRequestBuilderGetRequestConfiguration] = None) -> Optional[InsightSummaryCollectionResponse]: """ - Get summary from reports + Summary of all usage insights on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InsightSummaryCollectionResponse] """ @@ -65,7 +65,7 @@ async def get(self,request_configuration: Optional[SummaryRequestBuilderGetReque def to_get_request_information(self,request_configuration: Optional[SummaryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get summary from reports + Summary of all usage insights on apps registered in the tenant for a specified period. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[SummaryReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SummaryRequestBuilder: @@ -102,7 +102,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SummaryRequestBuilderGetQueryParameters(): """ - Get summary from reports + Summary of all usage insights on apps registered in the tenant for a specified period. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/reports/user_insights/user_insights_request_builder.py b/msgraph_beta/generated/reports/user_insights/user_insights_request_builder.py index 6b8d8fb4fa9..d09a1f86a98 100644 --- a/msgraph_beta/generated/reports/user_insights/user_insights_request_builder.py +++ b/msgraph_beta/generated/reports/user_insights/user_insights_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[UserInsightsRequestBuilder async def get(self,request_configuration: Optional[UserInsightsRequestBuilderGetRequestConfiguration] = None) -> Optional[UserInsightsRoot]: """ - Get userInsights from reports + Represents a collection of user activities on applications in a tenant that is configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserInsightsRoot] """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[UserInsig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserInsightsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get userInsights from reports + Represents a collection of user activities on applications in a tenant that is configured for Microsoft Entra External ID for customers. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[UserInsights request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserInsightsRoot] = None, request_configuration: Optional[UserInsightsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[UserInsightsRoot] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -186,7 +186,7 @@ class UserInsightsRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class UserInsightsRequestBuilderGetQueryParameters(): """ - Get userInsights from reports + Represents a collection of user activities on applications in a tenant that is configured for Microsoft Entra External ID for customers. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/risk_detections/item/risk_detection_item_request_builder.py b/msgraph_beta/generated/risk_detections/item/risk_detection_item_request_builder.py index a314de193ae..80d98a54d28 100644 --- a/msgraph_beta/generated/risk_detections/item/risk_detection_item_request_builder.py +++ b/msgraph_beta/generated/risk_detections/item/risk_detection_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RiskDetec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RiskDetectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RiskDetectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RiskDetection] = None, request_configuration: Optional[RiskDetectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[RiskDetection] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/risk_detections/risk_detections_request_builder.py b/msgraph_beta/generated/risk_detections/risk_detections_request_builder.py index eeb8667e7ee..12b523db63d 100644 --- a/msgraph_beta/generated/risk_detections/risk_detections_request_builder.py +++ b/msgraph_beta/generated/risk_detections/risk_detections_request_builder.py @@ -44,10 +44,10 @@ def by_risk_detection_id(self,risk_detection_id: str) -> RiskDetectionItemReques async def get(self,request_configuration: Optional[RiskDetectionsRequestBuilderGetRequestConfiguration] = None) -> Optional[RiskDetectionCollectionResponse]: """ - Retrieve the properties of a collection of riskDetection objects. This API is available in the following national cloud deployments. + Retrieve the properties of a riskDetection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RiskDetectionCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/riskdetection-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/riskdetection-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -90,7 +90,7 @@ async def post(self,body: Optional[RiskDetection] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[RiskDetectionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of a collection of riskDetection objects. This API is available in the following national cloud deployments. + Retrieve the properties of a riskDetection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RiskDetectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[RiskDetection] = None, request_configuration: Optional[RiskDetectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[RiskDetection] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RiskDetectionsRequestBuilder @dataclass class RiskDetectionsRequestBuilderGetQueryParameters(): """ - Retrieve the properties of a collection of riskDetection objects. This API is available in the following national cloud deployments. + Retrieve the properties of a riskDetection object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/risky_users/confirm_compromised/confirm_compromised_request_builder.py b/msgraph_beta/generated/risky_users/confirm_compromised/confirm_compromised_request_builder.py index c9dca5a0a3a..671a7642a36 100644 --- a/msgraph_beta/generated/risky_users/confirm_compromised/confirm_compromised_request_builder.py +++ b/msgraph_beta/generated/risky_users/confirm_compromised/confirm_compromised_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ConfirmCompromisedPostRequestBody] = None, request_configuration: Optional[ConfirmCompromisedRequestBuilderPostRequestConfiguration] = None) -> None: """ - Confirm one or more riskyUser objects as compromised. This action sets the targeted user's risk level to high. This API is available in the following national cloud deployments. + Confirm one or more riskyUser objects as compromised. This action sets the targeted user's risk level to high. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ConfirmCompromisedPostRequestBody] = None, re def to_post_request_information(self,body: Optional[ConfirmCompromisedPostRequestBody] = None, request_configuration: Optional[ConfirmCompromisedRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Confirm one or more riskyUser objects as compromised. This action sets the targeted user's risk level to high. This API is available in the following national cloud deployments. + Confirm one or more riskyUser objects as compromised. This action sets the targeted user's risk level to high. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ConfirmCompromisedPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/risky_users/dismiss/dismiss_request_builder.py b/msgraph_beta/generated/risky_users/dismiss/dismiss_request_builder.py index f6410c5f8e5..4a58213fc3f 100644 --- a/msgraph_beta/generated/risky_users/dismiss/dismiss_request_builder.py +++ b/msgraph_beta/generated/risky_users/dismiss/dismiss_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DismissPostRequestBody] = None, request_configuration: Optional[DismissRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss the risk of one or more riskyUser objects. This action sets the targeted user's risk level to none. The maximum count of users to dismiss in one call is 60. This API is available in the following national cloud deployments. + Dismiss the risk of one or more riskyUser objects. This action sets the targeted user's risk level to none. The maximum count of users to dismiss in one call is 60. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DismissPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DismissPostRequestBody] = None, request_configuration: Optional[DismissRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss the risk of one or more riskyUser objects. This action sets the targeted user's risk level to none. The maximum count of users to dismiss in one call is 60. This API is available in the following national cloud deployments. + Dismiss the risk of one or more riskyUser objects. This action sets the targeted user's risk level to none. The maximum count of users to dismiss in one call is 60. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DismissPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/risky_users/item/history/history_request_builder.py b/msgraph_beta/generated/risky_users/item/history/history_request_builder.py index 552a24b4b17..2db7212eea0 100644 --- a/msgraph_beta/generated/risky_users/item/history/history_request_builder.py +++ b/msgraph_beta/generated/risky_users/item/history/history_request_builder.py @@ -45,7 +45,7 @@ def by_risky_user_history_item_id(self,risky_user_history_item_id: str) -> Risky async def get(self,request_configuration: Optional[HistoryRequestBuilderGetRequestConfiguration] = None) -> Optional[RiskyUserHistoryItemCollectionResponse]: """ - Get the risk history of a riskyUser resource. This API is available in the following national cloud deployments. + Get the risk history of a riskyUser resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RiskyUserHistoryItemCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/riskyuser-list-history?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[RiskyUserHistoryItem] = None, request_configu def to_get_request_information(self,request_configuration: Optional[HistoryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the risk history of a riskyUser resource. This API is available in the following national cloud deployments. + Get the risk history of a riskyUser resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[HistoryReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[RiskyUserHistoryItem] = None, request_configuration: Optional[HistoryRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[RiskyUserHistoryItem] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HistoryRequestBuilderGetQueryParameters(): """ - Get the risk history of a riskyUser resource. This API is available in the following national cloud deployments. + Get the risk history of a riskyUser resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/risky_users/item/history/item/risky_user_history_item_item_request_builder.py b/msgraph_beta/generated/risky_users/item/history/item/risky_user_history_item_item_request_builder.py index b4cb6bf2168..d8e277566e3 100644 --- a/msgraph_beta/generated/risky_users/item/history/item/risky_user_history_item_item_request_builder.py +++ b/msgraph_beta/generated/risky_users/item/history/item/risky_user_history_item_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RiskyUserHistoryItemItemRe async def get(self,request_configuration: Optional[RiskyUserHistoryItemItemRequestBuilderGetRequestConfiguration] = None) -> Optional[RiskyUserHistoryItem]: """ - Get a riskyUserHistoryItem object of a riskyUser. This API is available in the following national cloud deployments. + Get a riskyUserHistoryItem object of a riskyUser. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RiskyUserHistoryItem] Find more info here: https://learn.microsoft.com/graph/api/riskyuserhistoryitem-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[RiskyUser request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RiskyUserHistoryItemItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a riskyUserHistoryItem object of a riskyUser. This API is available in the following national cloud deployments. + Get a riskyUserHistoryItem object of a riskyUser. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[RiskyUserHis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RiskyUserHistoryItem] = None, request_configuration: Optional[RiskyUserHistoryItemItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[RiskyUserHistoryItem] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class RiskyUserHistoryItemItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class RiskyUserHistoryItemItemRequestBuilderGetQueryParameters(): """ - Get a riskyUserHistoryItem object of a riskyUser. This API is available in the following national cloud deployments. + Get a riskyUserHistoryItem object of a riskyUser. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/risky_users/item/risky_user_item_request_builder.py b/msgraph_beta/generated/risky_users/item/risky_user_item_request_builder.py index 242f8111db7..254a2dbff5c 100644 --- a/msgraph_beta/generated/risky_users/item/risky_user_item_request_builder.py +++ b/msgraph_beta/generated/risky_users/item/risky_user_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[RiskyUserItemRequestBuilde async def get(self,request_configuration: Optional[RiskyUserItemRequestBuilderGetRequestConfiguration] = None) -> Optional[RiskyUser]: """ - Retrieve the properties and relationships of a riskyUser object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a riskyUser object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RiskyUser] Find more info here: https://learn.microsoft.com/graph/api/riskyusers-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[RiskyUser request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RiskyUserItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a riskyUser object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a riskyUser object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[RiskyUserIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RiskyUser] = None, request_configuration: Optional[RiskyUserItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[RiskyUser] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class RiskyUserItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class RiskyUserItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a riskyUser object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a riskyUser object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/risky_users/risky_users_request_builder.py b/msgraph_beta/generated/risky_users/risky_users_request_builder.py index a5c58946d30..aeff9f40b89 100644 --- a/msgraph_beta/generated/risky_users/risky_users_request_builder.py +++ b/msgraph_beta/generated/risky_users/risky_users_request_builder.py @@ -47,7 +47,7 @@ def by_risky_user_id(self,risky_user_id: str) -> RiskyUserItemRequestBuilder: async def get(self,request_configuration: Optional[RiskyUsersRequestBuilderGetRequestConfiguration] = None) -> Optional[RiskyUserCollectionResponse]: """ - Retrieve the properties and relationships of a collection of riskyUser objects. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a collection of riskyUser objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RiskyUserCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/riskyusers-list?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def post(self,body: Optional[RiskyUser] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[RiskyUsersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a collection of riskyUser objects. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a collection of riskyUser objects. 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[RiskyUsersRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[RiskyUser] = None, request_configuration: Optional[RiskyUsersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[RiskyUser] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ def dismiss(self) -> DismissRequestBuilder: @dataclass class RiskyUsersRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a collection of riskyUser objects. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a collection of riskyUser objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/cloud_p_c/cloud_p_c_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/cloud_p_c_request_builder.py index 25ad3a5efd0..827984751a5 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/cloud_p_c_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/cloud_p_c_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[CloudPCRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CloudPCRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[CloudPCReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RbacApplicationMultiple] = None, request_configuration: Optional[CloudPCRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[RbacApplicationMultiple] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py index 04bd0eefdb8..358583de137 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImportResourceActionsPostReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py index 00f1e52637a..12ee5da69fd 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AuthenticationContextRequestBuilder: diff --git a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py index e0917ce7f66..f333d7f743c 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ResourceS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ResourceScopeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceScop request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRbacResourceScope] = None, request_configuration: Optional[ResourceScopeRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRbacResourceScope] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py index 5d3fa41bf20..1abe4cf2f79 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[UnifiedRbacResourceActionI async def get(self,request_configuration: Optional[UnifiedRbacResourceActionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRbacResourceAction]: """ - Read the properties and relationships of an unifiedRbacResourceAction object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRbacResourceAction object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceAction] Find more info here: https://learn.microsoft.com/graph/api/unifiedrbacresourceaction-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRb request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRbacResourceActionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an unifiedRbacResourceAction object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRbacResourceAction object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRbacR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRbacResourceAction] = None, request_configuration: Optional[UnifiedRbacResourceActionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRbacResourceAction] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class UnifiedRbacResourceActionItemRequestBuilderDeleteRequestConfiguration(Base @dataclass class UnifiedRbacResourceActionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an unifiedRbacResourceAction object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRbacResourceAction object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/resource_actions_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/resource_actions_request_builder.py index 63ed1d18f50..a5918abe4a3 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/resource_actions_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/resource_actions_request_builder.py @@ -45,7 +45,7 @@ def by_unified_rbac_resource_action_id(self,unified_rbac_resource_action_id: str async def get(self,request_configuration: Optional[ResourceActionsRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRbacResourceActionCollectionResponse]: """ - Get a list of the unifiedRbacResourceAction objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRbacResourceAction objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceActionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedrbacresourcenamespace-list-resourceactions?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[UnifiedRbacResourceAction] = None, request_co def to_get_request_information(self,request_configuration: Optional[ResourceActionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the unifiedRbacResourceAction objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRbacResourceAction objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceActi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRbacResourceAction] = None, request_configuration: Optional[ResourceActionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UnifiedRbacResourceAction] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ResourceActionsRequestBuilderGetQueryParameters(): """ - Get a list of the unifiedRbacResourceAction objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRbacResourceAction objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py index a789930d3bc..4ff1b6ae710 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRb request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRbacResourceNamespaceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRbacR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRbacResourceNamespace] = None, request_configuration: Optional[UnifiedRbacResourceNamespaceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRbacResourceNamespac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/resource_namespaces_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/resource_namespaces_request_builder.py index 700b4643863..e9c2cbc416d 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/resource_namespaces_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/resource_namespaces_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceName request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRbacResourceNamespace] = None, request_configuration: Optional[ResourceNamespacesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UnifiedRbacResourceNamespace request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/app_scopes/app_scopes_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/app_scopes/app_scopes_request_builder.py index 4ad21c4d678..72dff76784b 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/app_scopes/app_scopes_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/app_scopes/app_scopes_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AppScope] = None, request_configuration: Optional[AppScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AppScope] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/app_scopes/item/app_scope_item_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/app_scopes/item/app_scope_item_request_builder.py index 93687db5119..404424f88b5 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/app_scopes/item/app_scope_item_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/app_scopes/item/app_scope_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AppScopeI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AppScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopeItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AppScope] = None, request_configuration: Optional[AppScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AppScope] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/directory_scopes/directory_scopes_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/directory_scopes/directory_scopes_request_builder.py index ebaa713b534..ca665819033 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/directory_scopes/directory_scopes_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/directory_scopes/directory_scopes_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryScopesRequestBuilder: diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/directory_scopes/item/directory_object_item_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/directory_scopes/item/directory_object_item_request_builder.py index f0206a2b18f..c13f6146123 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/directory_scopes/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/directory_scopes/item/directory_object_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/principals/item/directory_object_item_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/principals/item/directory_object_item_request_builder.py index 24d88842d65..6be23905d04 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/principals/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/principals/item/directory_object_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/principals/principals_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/principals/principals_request_builder.py index b21f1fea823..dca0391870f 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/principals/principals_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/principals/principals_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalsRequestBuilder: diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/role_definition/role_definition_request_builder.py index af667e88461..a9d5a36cd31 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/unified_role_assignment_multiple_item_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/unified_role_assignment_multiple_item_request_builder.py index fc55af7803b..2c0a72d5b8d 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/unified_role_assignment_multiple_item_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/unified_role_assignment_multiple_item_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[UnifiedRoleAssignmentMultipleItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a unifiedRoleAssignmentMultiple object of an RBAC provider. This is applicable for a RBAC application that supports multiple principals and scopes. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) This API is available in the following national cloud deployments. + Delete a unifiedRoleAssignmentMultiple object of an RBAC provider. This is applicable for a RBAC application that supports multiple principals and scopes. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) 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/unifiedroleassignmentmultiple-delete?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleAssignmentMulti async def get(self,request_configuration: Optional[UnifiedRoleAssignmentMultipleItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentMultiple]: """ - Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentMultiple] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentmultiple-get?view=graph-rest-1.0 @@ -74,7 +74,7 @@ async def get(self,request_configuration: Optional[UnifiedRoleAssignmentMultiple async def patch(self,body: Optional[UnifiedRoleAssignmentMultiple] = None, request_configuration: Optional[UnifiedRoleAssignmentMultipleItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentMultiple]: """ - Update an existing unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) In contrast, unifiedRoleAssignment does not support update. This API is available in the following national cloud deployments. + Update an existing unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) In contrast, unifiedRoleAssignment does not support update. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentMultiple] @@ -99,7 +99,7 @@ async def patch(self,body: Optional[UnifiedRoleAssignmentMultiple] = None, reque def to_delete_request_information(self,request_configuration: Optional[UnifiedRoleAssignmentMultipleItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a unifiedRoleAssignmentMultiple object of an RBAC provider. This is applicable for a RBAC application that supports multiple principals and scopes. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) This API is available in the following national cloud deployments. + Delete a unifiedRoleAssignmentMultiple object of an RBAC provider. This is applicable for a RBAC application that supports multiple principals and scopes. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -110,12 +110,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleAssignmentMultipleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -127,12 +127,12 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleAssignmentMultiple] = None, request_configuration: Optional[UnifiedRoleAssignmentMultipleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update an existing unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) In contrast, unifiedRoleAssignment does not support update. This API is available in the following national cloud deployments. + Update an existing unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) In contrast, unifiedRoleAssignment does not support update. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleAssignmentMultip request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -209,7 +209,7 @@ class UnifiedRoleAssignmentMultipleItemRequestBuilderDeleteRequestConfiguration( @dataclass class UnifiedRoleAssignmentMultipleItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/role_assignments_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/role_assignments_request_builder.py index a9af4a96bac..f8f85eacd7d 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/role_assignments_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/role_assignments_request_builder.py @@ -45,10 +45,10 @@ def by_unified_role_assignment_multiple_id(self,unified_role_assignment_multiple async def get(self,request_configuration: Optional[RoleAssignmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentMultipleCollectionResponse]: """ - Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentMultipleCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/rbacapplicationmultiple-list-roleassignments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentmultiple-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RoleAssignmentsRequestBuilder async def post(self,body: Optional[UnifiedRoleAssignmentMultiple] = None, request_configuration: Optional[RoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentMultiple]: """ - Create a new unifiedRoleAssignmentMultiple object for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. This API is available in the following national cloud deployments. + Create a new unifiedRoleAssignmentMultiple object for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentMultiple] @@ -92,7 +92,7 @@ async def post(self,body: Optional[UnifiedRoleAssignmentMultiple] = None, reques def to_get_request_information(self,request_configuration: Optional[RoleAssignmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[RoleAssignme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleAssignmentMultiple] = None, request_configuration: Optional[RoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new unifiedRoleAssignmentMultiple object for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. This API is available in the following national cloud deployments. + Create a new unifiedRoleAssignmentMultiple object for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleAssignmentMultipl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleAssignmentsRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py index 53d1d1635e6..5129ea3f69a 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignedPrin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder: diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py index 48d55c3feb9..1264e7416f6 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[InheritsPerm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[InheritsPermissionsFromRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleDefinition] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py index beafa359159..7aab8870095 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignedPrin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder: diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py index 1523e00aad6..ab54843485a 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleDefinition] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/unified_role_definition_item_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/unified_role_definition_item_request_builder.py index f7e515ce978..b93b78f7c8f 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/unified_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/unified_role_definition_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) 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/unifiedroledefinition-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleDefinitionItemR async def get(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleDefinition]: """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] Find more info here: https://learn.microsoft.com/graph/api/unifiedroledefinition-get?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequ async def patch(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[UnifiedRoleDefinition]: """ - Update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] @@ -97,7 +97,7 @@ async def patch(self,body: Optional[UnifiedRoleDefinition] = None, request_confi def to_delete_request_information(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleDefinition] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/role_definitions_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/role_definitions_request_builder.py index 11fb9d295f9..3f5cfc4d53b 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/role_definitions_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/role_definitions_request_builder.py @@ -45,7 +45,7 @@ def by_unified_role_definition_id(self,unified_role_definition_id: str) -> Unifi async def get(self,request_configuration: Optional[RoleDefinitionsRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleDefinitionCollectionResponse]: """ - Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roledefinitions?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RoleDefinitionsRequestBuilder async def post(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[RoleDefinitionsRequestBuilderPostRequestConfiguration] = None) -> Optional[UnifiedRoleDefinition]: """ - Create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] @@ -92,7 +92,7 @@ async def post(self,body: Optional[UnifiedRoleDefinition] = None, request_config def to_get_request_information(self,request_configuration: Optional[RoleDefinitionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[RoleDefinitionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleDefinition] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleDefinitionsRequestBuilderGetQueryParameters(): """ - Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/device_management/device_management_request_builder.py b/msgraph_beta/generated/role_management/device_management/device_management_request_builder.py index 48cbf74a5a7..0aecfe903c4 100644 --- a/msgraph_beta/generated/role_management/device_management/device_management_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/device_management_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RbacApplicationMultiple] = None, request_configuration: Optional[DeviceManagementRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[RbacApplicationMultiple] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py b/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py index 27fb6cc775a..92129c5d74f 100644 --- a/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImportResourceActionsPostReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py b/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py index b24a30537e0..f475703a953 100644 --- a/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AuthenticationContextRequestBuilder: diff --git a/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py b/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py index 2c75bb58f13..0362902748f 100644 --- a/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ResourceS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ResourceScopeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceScop request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRbacResourceScope] = None, request_configuration: Optional[ResourceScopeRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRbacResourceScope] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py b/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py index 918cec3daa6..815212971ae 100644 --- a/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[UnifiedRbacResourceActionI async def get(self,request_configuration: Optional[UnifiedRbacResourceActionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRbacResourceAction]: """ - Read the properties and relationships of an unifiedRbacResourceAction object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRbacResourceAction object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceAction] Find more info here: https://learn.microsoft.com/graph/api/unifiedrbacresourceaction-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRb request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRbacResourceActionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an unifiedRbacResourceAction object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRbacResourceAction object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRbacR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRbacResourceAction] = None, request_configuration: Optional[UnifiedRbacResourceActionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRbacResourceAction] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class UnifiedRbacResourceActionItemRequestBuilderDeleteRequestConfiguration(Base @dataclass class UnifiedRbacResourceActionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an unifiedRbacResourceAction object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRbacResourceAction object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/resource_actions_request_builder.py b/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/resource_actions_request_builder.py index 739093cccc0..02940005047 100644 --- a/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/resource_actions_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/resource_actions_request_builder.py @@ -45,7 +45,7 @@ def by_unified_rbac_resource_action_id(self,unified_rbac_resource_action_id: str async def get(self,request_configuration: Optional[ResourceActionsRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRbacResourceActionCollectionResponse]: """ - Get a list of the unifiedRbacResourceAction objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRbacResourceAction objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceActionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedrbacresourcenamespace-list-resourceactions?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[UnifiedRbacResourceAction] = None, request_co def to_get_request_information(self,request_configuration: Optional[ResourceActionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the unifiedRbacResourceAction objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRbacResourceAction objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceActi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRbacResourceAction] = None, request_configuration: Optional[ResourceActionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UnifiedRbacResourceAction] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ResourceActionsRequestBuilderGetQueryParameters(): """ - Get a list of the unifiedRbacResourceAction objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRbacResourceAction objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py b/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py index 067e6771d82..d77a129753c 100644 --- a/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRb request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRbacResourceNamespaceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRbacR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRbacResourceNamespace] = None, request_configuration: Optional[UnifiedRbacResourceNamespaceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRbacResourceNamespac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/device_management/resource_namespaces/resource_namespaces_request_builder.py b/msgraph_beta/generated/role_management/device_management/resource_namespaces/resource_namespaces_request_builder.py index 58ab26f3ece..a8de131f981 100644 --- a/msgraph_beta/generated/role_management/device_management/resource_namespaces/resource_namespaces_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/resource_namespaces/resource_namespaces_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceName request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRbacResourceNamespace] = None, request_configuration: Optional[ResourceNamespacesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UnifiedRbacResourceNamespace request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/item/app_scopes/app_scopes_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/item/app_scopes/app_scopes_request_builder.py index 8d3cc3ca083..b9f9602d4cc 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/item/app_scopes/app_scopes_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/item/app_scopes/app_scopes_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AppScope] = None, request_configuration: Optional[AppScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AppScope] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/item/app_scopes/item/app_scope_item_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/item/app_scopes/item/app_scope_item_request_builder.py index ffe1f02bace..2bbdcdc0439 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/item/app_scopes/item/app_scope_item_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/item/app_scopes/item/app_scope_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AppScopeI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AppScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopeItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AppScope] = None, request_configuration: Optional[AppScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AppScope] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/item/directory_scopes/directory_scopes_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/item/directory_scopes/directory_scopes_request_builder.py index 6cd0afd2129..bc2d266f4e5 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/item/directory_scopes/directory_scopes_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/item/directory_scopes/directory_scopes_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryScopesRequestBuilder: diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/item/directory_scopes/item/directory_object_item_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/item/directory_scopes/item/directory_object_item_request_builder.py index cedc2ca8479..6f00388f540 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/item/directory_scopes/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/item/directory_scopes/item/directory_object_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/item/principals/item/directory_object_item_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/item/principals/item/directory_object_item_request_builder.py index 95a7777f01b..46cf5bc9877 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/item/principals/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/item/principals/item/directory_object_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/item/principals/principals_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/item/principals/principals_request_builder.py index acbef57d09a..2bbb3a53bb9 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/item/principals/principals_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/item/principals/principals_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalsRequestBuilder: diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/item/role_definition/role_definition_request_builder.py index 32e8cb9c4f6..ca065a9a9e2 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/item/unified_role_assignment_multiple_item_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/item/unified_role_assignment_multiple_item_request_builder.py index cf10857b879..d4771170bf0 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/item/unified_role_assignment_multiple_item_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/item/unified_role_assignment_multiple_item_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[UnifiedRoleAssignmentMultipleItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a unifiedRoleAssignmentMultiple object of an RBAC provider. This is applicable for a RBAC application that supports multiple principals and scopes. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) This API is available in the following national cloud deployments. + Delete a unifiedRoleAssignmentMultiple object of an RBAC provider. This is applicable for a RBAC application that supports multiple principals and scopes. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) 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/unifiedroleassignmentmultiple-delete?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleAssignmentMulti async def get(self,request_configuration: Optional[UnifiedRoleAssignmentMultipleItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentMultiple]: """ - Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentMultiple] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentmultiple-get?view=graph-rest-1.0 @@ -74,7 +74,7 @@ async def get(self,request_configuration: Optional[UnifiedRoleAssignmentMultiple async def patch(self,body: Optional[UnifiedRoleAssignmentMultiple] = None, request_configuration: Optional[UnifiedRoleAssignmentMultipleItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentMultiple]: """ - Update an existing unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) In contrast, unifiedRoleAssignment does not support update. This API is available in the following national cloud deployments. + Update an existing unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) In contrast, unifiedRoleAssignment does not support update. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentMultiple] @@ -99,7 +99,7 @@ async def patch(self,body: Optional[UnifiedRoleAssignmentMultiple] = None, reque def to_delete_request_information(self,request_configuration: Optional[UnifiedRoleAssignmentMultipleItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a unifiedRoleAssignmentMultiple object of an RBAC provider. This is applicable for a RBAC application that supports multiple principals and scopes. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) This API is available in the following national cloud deployments. + Delete a unifiedRoleAssignmentMultiple object of an RBAC provider. This is applicable for a RBAC application that supports multiple principals and scopes. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -110,12 +110,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleAssignmentMultipleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -127,12 +127,12 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleAssignmentMultiple] = None, request_configuration: Optional[UnifiedRoleAssignmentMultipleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update an existing unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) In contrast, unifiedRoleAssignment does not support update. This API is available in the following national cloud deployments. + Update an existing unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) In contrast, unifiedRoleAssignment does not support update. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleAssignmentMultip request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -209,7 +209,7 @@ class UnifiedRoleAssignmentMultipleItemRequestBuilderDeleteRequestConfiguration( @dataclass class UnifiedRoleAssignmentMultipleItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/role_assignments_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/role_assignments_request_builder.py index 63d81a722a5..94600817bab 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/role_assignments_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/role_assignments_request_builder.py @@ -45,10 +45,10 @@ def by_unified_role_assignment_multiple_id(self,unified_role_assignment_multiple async def get(self,request_configuration: Optional[RoleAssignmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentMultipleCollectionResponse]: """ - Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentMultipleCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/rbacapplicationmultiple-list-roleassignments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentmultiple-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RoleAssignmentsRequestBuilder async def post(self,body: Optional[UnifiedRoleAssignmentMultiple] = None, request_configuration: Optional[RoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentMultiple]: """ - Create a new unifiedRoleAssignmentMultiple object for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. This API is available in the following national cloud deployments. + Create a new unifiedRoleAssignmentMultiple object for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentMultiple] @@ -92,7 +92,7 @@ async def post(self,body: Optional[UnifiedRoleAssignmentMultiple] = None, reques def to_get_request_information(self,request_configuration: Optional[RoleAssignmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[RoleAssignme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleAssignmentMultiple] = None, request_configuration: Optional[RoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new unifiedRoleAssignmentMultiple object for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. This API is available in the following national cloud deployments. + Create a new unifiedRoleAssignmentMultiple object for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleAssignmentMultipl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleAssignmentsRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/device_management/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py index 3d6c8400cce..72a4d31e5bf 100644 --- a/msgraph_beta/generated/role_management/device_management/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignedPrin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder: diff --git a/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py index 27439e00114..c3f638491a8 100644 --- a/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[InheritsPerm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[InheritsPermissionsFromRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleDefinition] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py index 648eea61261..152b0050910 100644 --- a/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignedPrin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder: diff --git a/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py index 402aff140bc..ee83a5a24ad 100644 --- a/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleDefinition] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/device_management/role_definitions/item/unified_role_definition_item_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_definitions/item/unified_role_definition_item_request_builder.py index ee5ec7592dd..41ab42e1058 100644 --- a/msgraph_beta/generated/role_management/device_management/role_definitions/item/unified_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_definitions/item/unified_role_definition_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) 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/unifiedroledefinition-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleDefinitionItemR async def get(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleDefinition]: """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] Find more info here: https://learn.microsoft.com/graph/api/unifiedroledefinition-get?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequ async def patch(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[UnifiedRoleDefinition]: """ - Update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] @@ -97,7 +97,7 @@ async def patch(self,body: Optional[UnifiedRoleDefinition] = None, request_confi def to_delete_request_information(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleDefinition] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/device_management/role_definitions/role_definitions_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_definitions/role_definitions_request_builder.py index 62e0d53283d..cb5044f10de 100644 --- a/msgraph_beta/generated/role_management/device_management/role_definitions/role_definitions_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_definitions/role_definitions_request_builder.py @@ -45,7 +45,7 @@ def by_unified_role_definition_id(self,unified_role_definition_id: str) -> Unifi async def get(self,request_configuration: Optional[RoleDefinitionsRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleDefinitionCollectionResponse]: """ - Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roledefinitions?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RoleDefinitionsRequestBuilder async def post(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[RoleDefinitionsRequestBuilderPostRequestConfiguration] = None) -> Optional[UnifiedRoleDefinition]: """ - Create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] @@ -92,7 +92,7 @@ async def post(self,body: Optional[UnifiedRoleDefinition] = None, request_config def to_get_request_information(self,request_configuration: Optional[RoleDefinitionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[RoleDefinitionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleDefinition] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleDefinitionsRequestBuilderGetQueryParameters(): """ - Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/directory/directory_request_builder.py b/msgraph_beta/generated/role_management/directory/directory_request_builder.py index d4d3bb15c32..4415e1567ca 100644 --- a/msgraph_beta/generated/role_management/directory/directory_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/directory_request_builder.py @@ -116,7 +116,7 @@ def to_delete_request_information(self,request_configuration: Optional[Directory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DirectoryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -133,7 +133,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RbacApplication] = None, request_configuration: Optional[DirectoryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -152,7 +152,7 @@ def to_patch_request_information(self,body: Optional[RbacApplication] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/directory/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py b/msgraph_beta/generated/role_management/directory/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py index 090bfe5f87b..8caccd17d6f 100644 --- a/msgraph_beta/generated/role_management/directory/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImportResourceActionsPostReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py b/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py index 7dceef3b3d4..627da54526e 100644 --- a/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AuthenticationContextRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py index 05949397fa7..ef5277a890a 100644 --- a/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ResourceS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ResourceScopeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceScop request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRbacResourceScope] = None, request_configuration: Optional[ResourceScopeRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRbacResourceScope] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py b/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py index 03c5ea16d88..0cb5b760cd5 100644 --- a/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[UnifiedRbacResourceActionI async def get(self,request_configuration: Optional[UnifiedRbacResourceActionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRbacResourceAction]: """ - Read the properties and relationships of an unifiedRbacResourceAction object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRbacResourceAction object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceAction] Find more info here: https://learn.microsoft.com/graph/api/unifiedrbacresourceaction-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRb request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRbacResourceActionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an unifiedRbacResourceAction object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRbacResourceAction object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRbacR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRbacResourceAction] = None, request_configuration: Optional[UnifiedRbacResourceActionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRbacResourceAction] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class UnifiedRbacResourceActionItemRequestBuilderDeleteRequestConfiguration(Base @dataclass class UnifiedRbacResourceActionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an unifiedRbacResourceAction object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRbacResourceAction object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/resource_actions_request_builder.py b/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/resource_actions_request_builder.py index 57fb659aa39..12fb31378bf 100644 --- a/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/resource_actions_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/resource_actions_request_builder.py @@ -45,7 +45,7 @@ def by_unified_rbac_resource_action_id(self,unified_rbac_resource_action_id: str async def get(self,request_configuration: Optional[ResourceActionsRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRbacResourceActionCollectionResponse]: """ - Get a list of the unifiedRbacResourceAction objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRbacResourceAction objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceActionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedrbacresourcenamespace-list-resourceactions?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[UnifiedRbacResourceAction] = None, request_co def to_get_request_information(self,request_configuration: Optional[ResourceActionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the unifiedRbacResourceAction objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRbacResourceAction objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceActi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRbacResourceAction] = None, request_configuration: Optional[ResourceActionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UnifiedRbacResourceAction] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ResourceActionsRequestBuilderGetQueryParameters(): """ - Get a list of the unifiedRbacResourceAction objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRbacResourceAction objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/directory/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py b/msgraph_beta/generated/role_management/directory/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py index e927bf1d0f0..23c906cd370 100644 --- a/msgraph_beta/generated/role_management/directory/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[UnifiedRbacResourceNamespa async def get(self,request_configuration: Optional[UnifiedRbacResourceNamespaceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRbacResourceNamespace]: """ - Read the properties and relationships of an unifiedRbacResourceNamespace object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRbacResourceNamespace object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] Find more info here: https://learn.microsoft.com/graph/api/unifiedrbacresourcenamespace-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRb request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRbacResourceNamespaceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an unifiedRbacResourceNamespace object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRbacResourceNamespace object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRbacR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRbacResourceNamespace] = None, request_configuration: Optional[UnifiedRbacResourceNamespaceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRbacResourceNamespac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class UnifiedRbacResourceNamespaceItemRequestBuilderDeleteRequestConfiguration(B @dataclass class UnifiedRbacResourceNamespaceItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an unifiedRbacResourceNamespace object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRbacResourceNamespace object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/directory/resource_namespaces/resource_namespaces_request_builder.py b/msgraph_beta/generated/role_management/directory/resource_namespaces/resource_namespaces_request_builder.py index 53f617a954f..22cd2f382a2 100644 --- a/msgraph_beta/generated/role_management/directory/resource_namespaces/resource_namespaces_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/resource_namespaces/resource_namespaces_request_builder.py @@ -45,7 +45,7 @@ def by_unified_rbac_resource_namespace_id(self,unified_rbac_resource_namespace_i async def get(self,request_configuration: Optional[ResourceNamespacesRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRbacResourceNamespaceCollectionResponse]: """ - Get a list of the unifiedRbacResourceNamespace objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRbacResourceNamespace objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespaceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplicationmultiple-list-resourcenamespaces?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[UnifiedRbacResourceNamespace] = None, request def to_get_request_information(self,request_configuration: Optional[ResourceNamespacesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the unifiedRbacResourceNamespace objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRbacResourceNamespace objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceName request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRbacResourceNamespace] = None, request_configuration: Optional[ResourceNamespacesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UnifiedRbacResourceNamespace request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ResourceNamespacesRequestBuilderGetQueryParameters(): """ - Get a list of the unifiedRbacResourceNamespace objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRbacResourceNamespace objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index ce8223e3970..d2958562259 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/approval_item_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/approval_item_request_builder.py index efa55945bd4..b6eca4595dc 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/approval_item_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/approval_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ApprovalI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ApprovalItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ApprovalItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Approval] = None, request_configuration: Optional[ApprovalItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Approval] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/steps/item/approval_step_item_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/steps/item/approval_step_item_request_builder.py index c6afd69aca0..b1b8657e3f8 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/steps/item/approval_step_item_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/steps/item/approval_step_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ApprovalStepItemRequestBui async def get(self,request_configuration: Optional[ApprovalStepItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ApprovalStep]: """ - Retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. + Retrieve the properties of an approvalStep object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] Find more info here: https://learn.microsoft.com/graph/api/approvalstep-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[ApprovalStepItemRequestBuilde async def patch(self,body: Optional[ApprovalStep] = None, request_configuration: Optional[ApprovalStepItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ApprovalStep]: """ - Apply approve or deny decision on an approvalStep object. This API is available in the following national cloud deployments. + Apply approve or deny decision on an approvalStep object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ApprovalS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ApprovalStepItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. + Retrieve the properties of an approvalStep object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[ApprovalStep request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ApprovalStep] = None, request_configuration: Optional[ApprovalStepItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Apply approve or deny decision on an approvalStep object. This API is available in the following national cloud deployments. + Apply approve or deny decision on an approvalStep object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ApprovalStep] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ApprovalStepItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class ApprovalStepItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. + Retrieve the properties of an approvalStep object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/steps/steps_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/steps/steps_request_builder.py index 4730594694d..8e9deb97fab 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/steps/steps_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/steps/steps_request_builder.py @@ -45,7 +45,7 @@ def by_approval_step_id(self,approval_step_id: str) -> ApprovalStepItemRequestBu async def get(self,request_configuration: Optional[StepsRequestBuilderGetRequestConfiguration] = None) -> Optional[ApprovalStepCollectionResponse]: """ - List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStepCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/approval-list-steps?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ApprovalStep] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[StepsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[StepsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ApprovalStep] = None, request_configuration: Optional[StepsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ApprovalStep] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class StepsRequestBuilderGetQueryParameters(): """ - List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/role_assignment_approvals_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/role_assignment_approvals_request_builder.py index 67513a1d1ff..95aeaaa409d 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/role_assignment_approvals_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/role_assignment_approvals_request_builder.py @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleAssignme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Approval] = None, request_configuration: Optional[RoleAssignmentApprovalsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -134,7 +134,7 @@ def to_post_request_information(self,body: Optional[Approval] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 3c36438d602..3ac12a8c457 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py index 2fb1f24b87a..d9bf8075493 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivatedUsi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ActivatedUsingRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/app_scope/app_scope_request_builder.py index 0a2f3b6abc7..991071193b6 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/app_scope/app_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopeRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/directory_scope/directory_scope_request_builder.py index 01af019a689..a182e434c8e 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/directory_scope/directory_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/principal/principal_request_builder.py index 57b2cce8e94..827e424574b 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/principal/principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/role_definition/role_definition_request_builder.py index a5e673fbcce..15cf52e017e 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.py index a9704615ac8..d9353bd604e 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.py @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleAssignmentSched async def get(self,request_configuration: Optional[UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentScheduleInstance]: """ - Get the instance of an active role assignment. This API is available in the following national cloud deployments. + Get the instance of an active role assignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleInstance] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentscheduleinstance-get?view=graph-rest-1.0 @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the instance of an active role assignment. This API is available in the following national cloud deployments. + Get the instance of an active role assignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleAssignmentScheduleInstance] = None, request_configuration: Optional[UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleAssignmentSchedu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -217,7 +217,7 @@ class UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderDeleteRequestConfig @dataclass class UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters(): """ - Get the instance of an active role assignment. This API is available in the following national cloud deployments. + Get the instance of an active role assignment. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.py index aaecb8c12a2..518fd2984b4 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.py @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[RoleAssignmentScheduleInstancesRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentScheduleInstanceCollectionResponse]: """ - Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. This API is available in the following national cloud deployments. + Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleInstanceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignmentscheduleinstances?view=graph-rest-1.0 @@ -104,7 +104,7 @@ async def post(self,body: Optional[UnifiedRoleAssignmentScheduleInstance] = None def to_get_request_information(self,request_configuration: Optional[RoleAssignmentScheduleInstancesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. This API is available in the following national cloud deployments. + Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleAssignme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleAssignmentScheduleInstance] = None, request_configuration: Optional[RoleAssignmentScheduleInstancesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -135,7 +135,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleAssignmentSchedul request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -161,7 +161,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleAssignmentScheduleInstancesRequestBuilderGetQueryParameters(): """ - Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. This API is available in the following national cloud deployments. + Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 4a640e39117..2551ef7002f 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py index bd6f0edaedd..1411228cd21 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivatedUsi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ActivatedUsingRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/app_scope/app_scope_request_builder.py index 7dacf46b761..8c5552898d9 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/app_scope/app_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopeRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/cancel/cancel_request_builder.py index 29f4f3b4000..421f88e3c19 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/cancel/cancel_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - Immediately cancel a unifiedRoleAssignmentScheduleRequest object that is in a Granted status, and have the system automatically delete the canceled request after 30 days. After calling this action, the status of the canceled unifiedRoleAssignmentScheduleRequest changes to Canceled. This API is available in the following national cloud deployments. + Immediately cancel a unifiedRoleAssignmentScheduleRequest object that is in a Granted status, and have the system automatically delete the canceled request after 30 days. After calling this action, the status of the canceled unifiedRoleAssignmentScheduleRequest changes to Canceled. 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/unifiedroleassignmentschedulerequest-cancel?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[CancelRequestBuilderPostRequ def to_post_request_information(self,request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Immediately cancel a unifiedRoleAssignmentScheduleRequest object that is in a Granted status, and have the system automatically delete the canceled request after 30 days. After calling this action, the status of the canceled unifiedRoleAssignmentScheduleRequest changes to Canceled. This API is available in the following national cloud deployments. + Immediately cancel a unifiedRoleAssignmentScheduleRequest object that is in a Granted status, and have the system automatically delete the canceled request after 30 days. After calling this action, the status of the canceled unifiedRoleAssignmentScheduleRequest changes to Canceled. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[CancelReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CancelRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/directory_scope/directory_scope_request_builder.py index e56716ca979..d635bcaff7a 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/directory_scope/directory_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/principal/principal_request_builder.py index fa7a339eb8d..4afbfb4d8ec 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/principal/principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py index dd5b3a1d55e..bf0015ee7fb 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py index 0d5f385fb91..4e4bbbf3273 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TargetSchedu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TargetScheduleRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.py index efb5827fe5b..4884c8e7492 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.py @@ -54,7 +54,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleAssignmentSched async def get(self,request_configuration: Optional[UnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentScheduleRequest]: """ - In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. This API is available in the following national cloud deployments. + In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleRequest] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-get?view=graph-rest-1.0 @@ -111,12 +111,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. This API is available in the following national cloud deployments. + In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -128,7 +128,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleAssignmentScheduleRequest] = None, request_configuration: Optional[UnifiedRoleAssignmentScheduleRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleAssignmentSchedu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -237,7 +237,7 @@ class UnifiedRoleAssignmentScheduleRequestItemRequestBuilderDeleteRequestConfigu @dataclass class UnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetQueryParameters(): """ - In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. This API is available in the following national cloud deployments. + In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.py index e56aec56d11..5c0bc601c22 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.py @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[RoleAssignmentScheduleRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentScheduleRequestCollectionResponse]: """ - Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. This API is available in the following national cloud deployments. + Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignmentschedulerequests?view=graph-rest-1.0 @@ -80,7 +80,7 @@ async def get(self,request_configuration: Optional[RoleAssignmentScheduleRequest async def post(self,body: Optional[UnifiedRoleAssignmentScheduleRequest] = None, request_configuration: Optional[RoleAssignmentScheduleRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentScheduleRequest]: """ - Create a new unifiedRoleAssignmentScheduleRequest object. This operation allows both admins and users to add, remove, extend, or renew assignments. To run this request, the calling user must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events. This API is available in the following national cloud deployments. + Create a new unifiedRoleAssignmentScheduleRequest object. This operation allows both admins and users to add, remove, extend, or renew assignments. To run this request, the calling user must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleRequest] @@ -105,7 +105,7 @@ async def post(self,body: Optional[UnifiedRoleAssignmentScheduleRequest] = None, def to_get_request_information(self,request_configuration: Optional[RoleAssignmentScheduleRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. This API is available in the following national cloud deployments. + Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,12 +117,12 @@ def to_get_request_information(self,request_configuration: Optional[RoleAssignme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleAssignmentScheduleRequest] = None, request_configuration: Optional[RoleAssignmentScheduleRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new unifiedRoleAssignmentScheduleRequest object. This operation allows both admins and users to add, remove, extend, or renew assignments. To run this request, the calling user must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events. This API is available in the following national cloud deployments. + Create a new unifiedRoleAssignmentScheduleRequest object. This operation allows both admins and users to add, remove, extend, or renew assignments. To run this request, the calling user must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -136,7 +136,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleAssignmentSchedul request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -162,7 +162,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleAssignmentScheduleRequestsRequestBuilderGetQueryParameters(): """ - Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. This API is available in the following national cloud deployments. + Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index f0e1154735b..881da8602a5 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/activated_using/activated_using_request_builder.py index 1009b543527..7c385edde19 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/activated_using/activated_using_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivatedUsi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ActivatedUsingRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/app_scope/app_scope_request_builder.py index 6a8f6d006ba..caa751ed802 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/app_scope/app_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopeRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/directory_scope/directory_scope_request_builder.py index fde0dee0bf9..4cc18a2721c 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/directory_scope/directory_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/principal/principal_request_builder.py index aaa71743b16..6a782b44260 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/principal/principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/role_definition/role_definition_request_builder.py index ab4ead31449..b0ecf67378b 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.py index 3c47356b40f..65df2096ceb 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.py @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleAssignmentSched async def get(self,request_configuration: Optional[UnifiedRoleAssignmentScheduleItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentSchedule]: """ - Retrieve the schedule for an active role assignment operation. This API is available in the following national cloud deployments. + Retrieve the schedule for an active role assignment operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentSchedule] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedule-get?view=graph-rest-1.0 @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleAssignmentScheduleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the schedule for an active role assignment operation. This API is available in the following national cloud deployments. + Retrieve the schedule for an active role assignment operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleAssignmentSchedule] = None, request_configuration: Optional[UnifiedRoleAssignmentScheduleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleAssignmentSchedu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -217,7 +217,7 @@ class UnifiedRoleAssignmentScheduleItemRequestBuilderDeleteRequestConfiguration( @dataclass class UnifiedRoleAssignmentScheduleItemRequestBuilderGetQueryParameters(): """ - Retrieve the schedule for an active role assignment operation. This API is available in the following national cloud deployments. + Retrieve the schedule for an active role assignment operation. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/role_assignment_schedules_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/role_assignment_schedules_request_builder.py index f3354d2dd1f..fec4c8a140e 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/role_assignment_schedules_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/role_assignment_schedules_request_builder.py @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[RoleAssignmentSchedulesRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentScheduleCollectionResponse]: """ - Get the schedules for active role assignment operations. This API is available in the following national cloud deployments. + Get the schedules for active role assignment operations. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignmentschedules?view=graph-rest-1.0 @@ -104,7 +104,7 @@ async def post(self,body: Optional[UnifiedRoleAssignmentSchedule] = None, reques def to_get_request_information(self,request_configuration: Optional[RoleAssignmentSchedulesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the schedules for active role assignment operations. This API is available in the following national cloud deployments. + Get the schedules for active role assignment operations. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleAssignme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleAssignmentSchedule] = None, request_configuration: Optional[RoleAssignmentSchedulesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -135,7 +135,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleAssignmentSchedul request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -161,7 +161,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleAssignmentSchedulesRequestBuilderGetQueryParameters(): """ - Get the schedules for active role assignment operations. This API is available in the following national cloud deployments. + Get the schedules for active role assignment operations. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/directory/role_assignments/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignments/item/app_scope/app_scope_request_builder.py index 409f2374eba..c1ee76f0719 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignments/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignments/item/app_scope/app_scope_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AppScopeR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AppScopeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopeRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AppScope] = None, request_configuration: Optional[AppScopeRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AppScope] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/directory/role_assignments/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignments/item/directory_scope/directory_scope_request_builder.py index 7044a5bf4b5..5511f84f913 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignments/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignments/item/directory_scope/directory_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_assignments/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignments/item/principal/principal_request_builder.py index 44849a23b09..df236bc2434 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignments/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignments/item/principal/principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_assignments/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignments/item/role_definition/role_definition_request_builder.py index 7ab60baae65..cc90a3e9275 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignments/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignments/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_assignments/item/unified_role_assignment_item_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignments/item/unified_role_assignment_item_request_builder.py index 308cd19375c..28859eed5be 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignments/item/unified_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignments/item/unified_role_assignment_item_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[UnifiedRoleAssignmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + Delete a unifiedRoleAssignment object. 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/unifiedroleassignment-delete?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleAssignmentItemR async def get(self,request_configuration: Optional[UnifiedRoleAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignment]: """ - Retrieve the properties and relationships of a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a unifiedRoleAssignment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignment] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignment-get?view=graph-rest-1.0 @@ -98,7 +98,7 @@ async def patch(self,body: Optional[UnifiedRoleAssignment] = None, request_confi def to_delete_request_information(self,request_configuration: Optional[UnifiedRoleAssignmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + Delete a unifiedRoleAssignment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a unifiedRoleAssignment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleAssignment] = None, request_configuration: Optional[UnifiedRoleAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleAssignment] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -208,7 +208,7 @@ class UnifiedRoleAssignmentItemRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class UnifiedRoleAssignmentItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a unifiedRoleAssignment object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/directory/role_assignments/role_assignments_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignments/role_assignments_request_builder.py index 522a09f1873..1bd9ccec400 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignments/role_assignments_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignments/role_assignments_request_builder.py @@ -45,7 +45,7 @@ def by_unified_role_assignment_id(self,unified_role_assignment_id: str) -> Unifi async def get(self,request_configuration: Optional[RoleAssignmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentCollectionResponse]: """ - Get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra entitlement management)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignments?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RoleAssignmentsRequestBuilder async def post(self,body: Optional[UnifiedRoleAssignment] = None, request_configuration: Optional[RoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[UnifiedRoleAssignment]: """ - Create a new unifiedRoleAssignment object. This API is available in the following national cloud deployments. + Create a new unifiedRoleAssignment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignment] @@ -92,7 +92,7 @@ async def post(self,body: Optional[UnifiedRoleAssignment] = None, request_config def to_get_request_information(self,request_configuration: Optional[RoleAssignmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra entitlement management)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[RoleAssignme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleAssignment] = None, request_configuration: Optional[RoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new unifiedRoleAssignment object. This API is available in the following national cloud deployments. + Create a new unifiedRoleAssignment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleAssignment] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleAssignmentsRequestBuilderGetQueryParameters(): """ - Get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra entitlement management)- Exchange Online """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/directory/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py b/msgraph_beta/generated/role_management/directory/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py index d30c88b06ff..1a017d9bcb7 100644 --- a/msgraph_beta/generated/role_management/directory/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignedPrin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py b/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py index f0125b1b547..fcc97a57154 100644 --- a/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[InheritsPerm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[InheritsPermissionsFromRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleDefinition] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py b/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py index abdff4f012f..22b7fc41564 100644 --- a/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignedPrin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py b/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py index cc2ed98e06a..75dde3b7230 100644 --- a/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleDefinition] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/directory/role_definitions/item/unified_role_definition_item_request_builder.py b/msgraph_beta/generated/role_management/directory/role_definitions/item/unified_role_definition_item_request_builder.py index cc1510cb54c..75ab5858b1f 100644 --- a/msgraph_beta/generated/role_management/directory/role_definitions/item/unified_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_definitions/item/unified_role_definition_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) 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/unifiedroledefinition-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleDefinitionItemR async def get(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleDefinition]: """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] Find more info here: https://learn.microsoft.com/graph/api/unifiedroledefinition-get?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequ async def patch(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[UnifiedRoleDefinition]: """ - Update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] @@ -97,7 +97,7 @@ async def patch(self,body: Optional[UnifiedRoleDefinition] = None, request_confi def to_delete_request_information(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleDefinition] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/directory/role_definitions/role_definitions_request_builder.py b/msgraph_beta/generated/role_management/directory/role_definitions/role_definitions_request_builder.py index 66d9e6bee17..2efc9840b47 100644 --- a/msgraph_beta/generated/role_management/directory/role_definitions/role_definitions_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_definitions/role_definitions_request_builder.py @@ -45,7 +45,7 @@ def by_unified_role_definition_id(self,unified_role_definition_id: str) -> Unifi async def get(self,request_configuration: Optional[RoleDefinitionsRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleDefinitionCollectionResponse]: """ - Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roledefinitions?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RoleDefinitionsRequestBuilder async def post(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[RoleDefinitionsRequestBuilderPostRequestConfiguration] = None) -> Optional[UnifiedRoleDefinition]: """ - Create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] @@ -92,7 +92,7 @@ async def post(self,body: Optional[UnifiedRoleDefinition] = None, request_config def to_get_request_information(self,request_configuration: Optional[RoleDefinitionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[RoleDefinitionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleDefinition] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleDefinitionsRequestBuilderGetQueryParameters(): """ - Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 999c6f71a25..88ceb3509c0 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/app_scope/app_scope_request_builder.py index 14f40d4d048..eea06cc2bc0 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/app_scope/app_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopeRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/directory_scope/directory_scope_request_builder.py index 50240bc5c69..df21e5bc194 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/directory_scope/directory_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/principal/principal_request_builder.py index c39eec46bb3..699507372d0 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/principal/principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/role_definition/role_definition_request_builder.py index 2091cc1522d..da9dcb76f0d 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.py index ffe85b8367c..6f9a5a38297 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.py @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleEligibilitySche async def get(self,request_configuration: Optional[UnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleEligibilityScheduleInstance]: """ - Read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleInstance] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleeligibilityscheduleinstance-get?view=graph-rest-1.0 @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleE request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleEligibilityScheduleInstance] = None, request_configuration: Optional[UnifiedRoleEligibilityScheduleInstanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleEligibilitySched request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -207,7 +207,7 @@ class UnifiedRoleEligibilityScheduleInstanceItemRequestBuilderDeleteRequestConfi @dataclass class UnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.py index 345a2263ca8..b5edfbea206 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.py @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[RoleEligibilityScheduleInstancesRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleEligibilityScheduleInstanceCollectionResponse]: """ - Get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleInstanceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleeligibilityscheduleinstances?view=graph-rest-1.0 @@ -104,7 +104,7 @@ async def post(self,body: Optional[UnifiedRoleEligibilityScheduleInstance] = Non def to_get_request_information(self,request_configuration: Optional[RoleEligibilityScheduleInstancesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleEligibil request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleEligibilityScheduleInstance] = None, request_configuration: Optional[RoleEligibilityScheduleInstancesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -135,7 +135,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleEligibilitySchedu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -161,7 +161,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleEligibilityScheduleInstancesRequestBuilderGetQueryParameters(): """ - Get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index e66a46180d1..b52e1e71825 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/app_scope/app_scope_request_builder.py index 394f198a68a..5978f63b5bb 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/app_scope/app_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopeRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/cancel/cancel_request_builder.py index 415f6026480..56eed685c95 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/cancel/cancel_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - Immediately cancel a unifiedRoleEligibilityScheduleRequest that is in a Granted status, and have the system automatically delete the cancelled request after 30 days. After calling this action, the status of the cancelled unifiedRoleEligibilityScheduleRequest changes to Revoked. This API is available in the following national cloud deployments. + Immediately cancel a unifiedRoleEligibilityScheduleRequest that is in a Granted status, and have the system automatically delete the cancelled request after 30 days. After calling this action, the status of the cancelled unifiedRoleEligibilityScheduleRequest changes to Revoked. 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/unifiedroleeligibilityschedulerequest-cancel?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[CancelRequestBuilderPostRequ def to_post_request_information(self,request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Immediately cancel a unifiedRoleEligibilityScheduleRequest that is in a Granted status, and have the system automatically delete the cancelled request after 30 days. After calling this action, the status of the cancelled unifiedRoleEligibilityScheduleRequest changes to Revoked. This API is available in the following national cloud deployments. + Immediately cancel a unifiedRoleEligibilityScheduleRequest that is in a Granted status, and have the system automatically delete the cancelled request after 30 days. After calling this action, the status of the cancelled unifiedRoleEligibilityScheduleRequest changes to Revoked. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[CancelReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CancelRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/directory_scope/directory_scope_request_builder.py index 5889d5287ef..5c73c0ba08d 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/directory_scope/directory_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/principal/principal_request_builder.py index 09b7e28d378..af99f337703 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/principal/principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/role_definition/role_definition_request_builder.py index 01ad9489228..517d97e95d7 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/target_schedule/target_schedule_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/target_schedule/target_schedule_request_builder.py index 6c82af27e5b..238f6d059db 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/target_schedule/target_schedule_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/target_schedule/target_schedule_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TargetSchedu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TargetScheduleRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.py index 00744370c00..02a66967ede 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.py @@ -53,7 +53,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleEligibilitySche async def get(self,request_configuration: Optional[UnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleEligibilityScheduleRequest]: """ - Read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleRequest] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedulerequest-get?view=graph-rest-1.0 @@ -110,12 +110,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleE request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleEligibilityScheduleRequest] = None, request_configuration: Optional[UnifiedRoleEligibilityScheduleRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleEligibilitySched request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -227,7 +227,7 @@ class UnifiedRoleEligibilityScheduleRequestItemRequestBuilderDeleteRequestConfig @dataclass class UnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.py index 9f6b727eeab..d6ae71543e2 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.py @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[RoleEligibilityScheduleRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleEligibilityScheduleRequestCollectionResponse]: """ - Get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleeligibilityschedulerequests?view=graph-rest-1.0 @@ -80,7 +80,7 @@ async def get(self,request_configuration: Optional[RoleEligibilityScheduleReques async def post(self,body: Optional[UnifiedRoleEligibilityScheduleRequest] = None, request_configuration: Optional[RoleEligibilityScheduleRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[UnifiedRoleEligibilityScheduleRequest]: """ - Create a new unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments. This API is available in the following national cloud deployments. + Create a new unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleRequest] @@ -105,7 +105,7 @@ async def post(self,body: Optional[UnifiedRoleEligibilityScheduleRequest] = None def to_get_request_information(self,request_configuration: Optional[RoleEligibilityScheduleRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,12 +117,12 @@ def to_get_request_information(self,request_configuration: Optional[RoleEligibil request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleEligibilityScheduleRequest] = None, request_configuration: Optional[RoleEligibilityScheduleRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments. This API is available in the following national cloud deployments. + Create a new unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -136,7 +136,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleEligibilitySchedu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -162,7 +162,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleEligibilityScheduleRequestsRequestBuilderGetQueryParameters(): """ - Get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 092a6cd3a34..3178b2f7a89 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/app_scope/app_scope_request_builder.py index a475a8ef477..475f5ff2abb 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/app_scope/app_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopeRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/directory_scope/directory_scope_request_builder.py index 67ff27ce410..9fc0229bc74 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/directory_scope/directory_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/principal/principal_request_builder.py index c30d48e8af0..7d9cb3b65ad 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/principal/principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/role_definition/role_definition_request_builder.py index 36c7ec9cd4e..3489a3e0843 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.py index 2a6ad578376..e7b7e1f63c5 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.py @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleEligibilitySche async def get(self,request_configuration: Optional[UnifiedRoleEligibilityScheduleItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleEligibilitySchedule]: """ - Read the properties and relationships of an unifiedRoleEligibilitySchedule object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRoleEligibilitySchedule object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilitySchedule] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedule-get?view=graph-rest-1.0 @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleEligibilityScheduleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an unifiedRoleEligibilitySchedule object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRoleEligibilitySchedule object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleE request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleEligibilitySchedule] = None, request_configuration: Optional[UnifiedRoleEligibilityScheduleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleEligibilitySched request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -207,7 +207,7 @@ class UnifiedRoleEligibilityScheduleItemRequestBuilderDeleteRequestConfiguration @dataclass class UnifiedRoleEligibilityScheduleItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an unifiedRoleEligibilitySchedule object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRoleEligibilitySchedule object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/role_eligibility_schedules_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/role_eligibility_schedules_request_builder.py index cbf3804c828..93ffb05d79c 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/role_eligibility_schedules_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/role_eligibility_schedules_request_builder.py @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[RoleEligibilitySchedulesRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleEligibilityScheduleCollectionResponse]: """ - Get a list of the unifiedRoleEligibilitySchedule objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleEligibilitySchedule objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleeligibilityschedules?view=graph-rest-1.0 @@ -104,7 +104,7 @@ async def post(self,body: Optional[UnifiedRoleEligibilitySchedule] = None, reque def to_get_request_information(self,request_configuration: Optional[RoleEligibilitySchedulesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the unifiedRoleEligibilitySchedule objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleEligibilitySchedule objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleEligibil request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleEligibilitySchedule] = None, request_configuration: Optional[RoleEligibilitySchedulesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -135,7 +135,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleEligibilitySchedu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -161,7 +161,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleEligibilitySchedulesRequestBuilderGetQueryParameters(): """ - Get a list of the unifiedRoleEligibilitySchedule objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleEligibilitySchedule objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/directory/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py b/msgraph_beta/generated/role_management/directory/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py index d37894759cc..a317f800980 100644 --- a/msgraph_beta/generated/role_management/directory/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleSchedule request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py b/msgraph_beta/generated/role_management/directory/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py index 092ec6f44ac..3135fbd2a56 100644 --- a/msgraph_beta/generated/role_management/directory/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleSchedule request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/app_scope/app_scope_request_builder.py index 638098ceeec..6cbba5c94cd 100644 --- a/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/app_scope/app_scope_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AppScopeR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AppScopeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopeRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AppScope] = None, request_configuration: Optional[AppScopeRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AppScope] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py index d4ae7b8238e..abe736bad06 100644 --- a/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/principal/principal_request_builder.py index a4717f7b788..3eb76e527ab 100644 --- a/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/principal/principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/role_definition/role_definition_request_builder.py index 6590ee1ead2..db46882965b 100644 --- a/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py b/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py index 1207ec7f3db..cb16102886a 100644 --- a/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleAssignment] = None, request_configuration: Optional[UnifiedRoleAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleAssignment] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/directory/transitive_role_assignments/transitive_role_assignments_request_builder.py b/msgraph_beta/generated/role_management/directory/transitive_role_assignments/transitive_role_assignments_request_builder.py index 08a739133c3..608854bff28 100644 --- a/msgraph_beta/generated/role_management/directory/transitive_role_assignments/transitive_role_assignments_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/transitive_role_assignments/transitive_role_assignments_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[TransitiveRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleAssignment] = None, request_configuration: Optional[TransitiveRoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleAssignment] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/enterprise_apps/enterprise_apps_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/enterprise_apps_request_builder.py index 985930119d1..b07fe877098 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/enterprise_apps_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/enterprise_apps_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[EnterpriseAp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[RbacApplication] = None, request_configuration: Optional[EnterpriseAppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[RbacApplication] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/rbac_application_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/rbac_application_item_request_builder.py index 1a15f3e423b..e83c4cafe28 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/rbac_application_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/rbac_application_item_request_builder.py @@ -116,7 +116,7 @@ def to_delete_request_information(self,request_configuration: Optional[RbacAppli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RbacApplicationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -133,7 +133,7 @@ def to_get_request_information(self,request_configuration: Optional[RbacApplicat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RbacApplication] = None, request_configuration: Optional[RbacApplicationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -152,7 +152,7 @@ def to_patch_request_information(self,body: Optional[RbacApplication] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py index b4c003e86f1..26a788d7676 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImportResourceActionsPostReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py index 8f0ce6704fc..1de017621dc 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AuthenticationContextRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py index 0a5c7bdf5be..e7e3324957b 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ResourceS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ResourceScopeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceScop request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRbacResourceScope] = None, request_configuration: Optional[ResourceScopeRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRbacResourceScope] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py index 75ae7c85ad0..3949b9b1736 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[UnifiedRbacResourceActionI async def get(self,request_configuration: Optional[UnifiedRbacResourceActionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRbacResourceAction]: """ - Read the properties and relationships of an unifiedRbacResourceAction object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRbacResourceAction object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceAction] Find more info here: https://learn.microsoft.com/graph/api/unifiedrbacresourceaction-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRb request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRbacResourceActionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an unifiedRbacResourceAction object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRbacResourceAction object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRbacR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRbacResourceAction] = None, request_configuration: Optional[UnifiedRbacResourceActionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRbacResourceAction] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class UnifiedRbacResourceActionItemRequestBuilderDeleteRequestConfiguration(Base @dataclass class UnifiedRbacResourceActionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an unifiedRbacResourceAction object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRbacResourceAction object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/resource_actions_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/resource_actions_request_builder.py index c1f909fd80e..21864047368 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/resource_actions_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/resource_actions_request_builder.py @@ -45,7 +45,7 @@ def by_unified_rbac_resource_action_id(self,unified_rbac_resource_action_id: str async def get(self,request_configuration: Optional[ResourceActionsRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRbacResourceActionCollectionResponse]: """ - Get a list of the unifiedRbacResourceAction objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRbacResourceAction objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceActionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedrbacresourcenamespace-list-resourceactions?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[UnifiedRbacResourceAction] = None, request_co def to_get_request_information(self,request_configuration: Optional[ResourceActionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the unifiedRbacResourceAction objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRbacResourceAction objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceActi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRbacResourceAction] = None, request_configuration: Optional[ResourceActionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UnifiedRbacResourceAction] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ResourceActionsRequestBuilderGetQueryParameters(): """ - Get a list of the unifiedRbacResourceAction objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRbacResourceAction objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py index 4d5ea252a4c..f4d30346e31 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[UnifiedRbacResourceNamespa async def get(self,request_configuration: Optional[UnifiedRbacResourceNamespaceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRbacResourceNamespace]: """ - Read the properties and relationships of an unifiedRbacResourceNamespace object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRbacResourceNamespace object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] Find more info here: https://learn.microsoft.com/graph/api/unifiedrbacresourcenamespace-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRb request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRbacResourceNamespaceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an unifiedRbacResourceNamespace object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRbacResourceNamespace object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRbacR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRbacResourceNamespace] = None, request_configuration: Optional[UnifiedRbacResourceNamespaceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRbacResourceNamespac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class UnifiedRbacResourceNamespaceItemRequestBuilderDeleteRequestConfiguration(B @dataclass class UnifiedRbacResourceNamespaceItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an unifiedRbacResourceNamespace object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRbacResourceNamespace object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/resource_namespaces_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/resource_namespaces_request_builder.py index 7f718587beb..f09e6640755 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/resource_namespaces_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/resource_namespaces_request_builder.py @@ -45,7 +45,7 @@ def by_unified_rbac_resource_namespace_id(self,unified_rbac_resource_namespace_i async def get(self,request_configuration: Optional[ResourceNamespacesRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRbacResourceNamespaceCollectionResponse]: """ - Get a list of the unifiedRbacResourceNamespace objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRbacResourceNamespace objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespaceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplicationmultiple-list-resourcenamespaces?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[UnifiedRbacResourceNamespace] = None, request def to_get_request_information(self,request_configuration: Optional[ResourceNamespacesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the unifiedRbacResourceNamespace objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRbacResourceNamespace objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceName request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRbacResourceNamespace] = None, request_configuration: Optional[ResourceNamespacesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UnifiedRbacResourceNamespace request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ResourceNamespacesRequestBuilderGetQueryParameters(): """ - Get a list of the unifiedRbacResourceNamespace objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRbacResourceNamespace objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index f7ac9fedb8b..b00b993da4c 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/approval_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/approval_item_request_builder.py index 12093e5f66b..5fe8e748d94 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/approval_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/approval_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ApprovalI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ApprovalItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ApprovalItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Approval] = None, request_configuration: Optional[ApprovalItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Approval] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/steps/item/approval_step_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/steps/item/approval_step_item_request_builder.py index 9809002ebfd..689409b4fbf 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/steps/item/approval_step_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/steps/item/approval_step_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ApprovalStepItemRequestBui async def get(self,request_configuration: Optional[ApprovalStepItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ApprovalStep]: """ - Retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. + Retrieve the properties of an approvalStep object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] Find more info here: https://learn.microsoft.com/graph/api/approvalstep-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[ApprovalStepItemRequestBuilde async def patch(self,body: Optional[ApprovalStep] = None, request_configuration: Optional[ApprovalStepItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ApprovalStep]: """ - Apply approve or deny decision on an approvalStep object. This API is available in the following national cloud deployments. + Apply approve or deny decision on an approvalStep object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ApprovalS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ApprovalStepItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. + Retrieve the properties of an approvalStep object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[ApprovalStep request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ApprovalStep] = None, request_configuration: Optional[ApprovalStepItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Apply approve or deny decision on an approvalStep object. This API is available in the following national cloud deployments. + Apply approve or deny decision on an approvalStep object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ApprovalStep] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ApprovalStepItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class ApprovalStepItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. + Retrieve the properties of an approvalStep object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/steps/steps_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/steps/steps_request_builder.py index 5a6c9188211..ab86c88ca95 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/steps/steps_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/steps/steps_request_builder.py @@ -45,7 +45,7 @@ def by_approval_step_id(self,approval_step_id: str) -> ApprovalStepItemRequestBu async def get(self,request_configuration: Optional[StepsRequestBuilderGetRequestConfiguration] = None) -> Optional[ApprovalStepCollectionResponse]: """ - List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStepCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/approval-list-steps?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ApprovalStep] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[StepsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[StepsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ApprovalStep] = None, request_configuration: Optional[StepsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ApprovalStep] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class StepsRequestBuilderGetQueryParameters(): """ - List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/role_assignment_approvals_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/role_assignment_approvals_request_builder.py index d791a0c6167..423a21f4ae1 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/role_assignment_approvals_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/role_assignment_approvals_request_builder.py @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleAssignme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Approval] = None, request_configuration: Optional[RoleAssignmentApprovalsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -134,7 +134,7 @@ def to_post_request_information(self,body: Optional[Approval] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index f4757ee1949..2dc0b52e607 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py index 8216f321073..7720a59353f 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivatedUsi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ActivatedUsingRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/app_scope/app_scope_request_builder.py index ce8be785545..f79f9fa4673 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/app_scope/app_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopeRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/directory_scope/directory_scope_request_builder.py index b1c71f00a94..dd23e4de457 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/directory_scope/directory_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/principal/principal_request_builder.py index aeb6d599843..db8eccc5a88 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/principal/principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/role_definition/role_definition_request_builder.py index 9170a8a0b58..6b57f2006f4 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.py index 536fdb0fd3f..d8429073ab7 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.py @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleAssignmentSched async def get(self,request_configuration: Optional[UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentScheduleInstance]: """ - Get the instance of an active role assignment. This API is available in the following national cloud deployments. + Get the instance of an active role assignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleInstance] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentscheduleinstance-get?view=graph-rest-1.0 @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the instance of an active role assignment. This API is available in the following national cloud deployments. + Get the instance of an active role assignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleAssignmentScheduleInstance] = None, request_configuration: Optional[UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleAssignmentSchedu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -217,7 +217,7 @@ class UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderDeleteRequestConfig @dataclass class UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters(): """ - Get the instance of an active role assignment. This API is available in the following national cloud deployments. + Get the instance of an active role assignment. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.py index 3f55f181a08..d084263c212 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.py @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[RoleAssignmentScheduleInstancesRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentScheduleInstanceCollectionResponse]: """ - Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. This API is available in the following national cloud deployments. + Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleInstanceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignmentscheduleinstances?view=graph-rest-1.0 @@ -104,7 +104,7 @@ async def post(self,body: Optional[UnifiedRoleAssignmentScheduleInstance] = None def to_get_request_information(self,request_configuration: Optional[RoleAssignmentScheduleInstancesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. This API is available in the following national cloud deployments. + Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleAssignme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleAssignmentScheduleInstance] = None, request_configuration: Optional[RoleAssignmentScheduleInstancesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -135,7 +135,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleAssignmentSchedul request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -161,7 +161,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleAssignmentScheduleInstancesRequestBuilderGetQueryParameters(): """ - Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. This API is available in the following national cloud deployments. + Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 46040a2b91f..5216eac9070 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py index 7bdbe35745f..d16ed610eab 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivatedUsi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ActivatedUsingRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/app_scope/app_scope_request_builder.py index c9e45e6f763..828fcc6f8ec 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/app_scope/app_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopeRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/cancel/cancel_request_builder.py index 3ac1bc6a3f6..b26f0224f60 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/cancel/cancel_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - Immediately cancel a unifiedRoleAssignmentScheduleRequest object that is in a Granted status, and have the system automatically delete the canceled request after 30 days. After calling this action, the status of the canceled unifiedRoleAssignmentScheduleRequest changes to Canceled. This API is available in the following national cloud deployments. + Immediately cancel a unifiedRoleAssignmentScheduleRequest object that is in a Granted status, and have the system automatically delete the canceled request after 30 days. After calling this action, the status of the canceled unifiedRoleAssignmentScheduleRequest changes to Canceled. 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/unifiedroleassignmentschedulerequest-cancel?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[CancelRequestBuilderPostRequ def to_post_request_information(self,request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Immediately cancel a unifiedRoleAssignmentScheduleRequest object that is in a Granted status, and have the system automatically delete the canceled request after 30 days. After calling this action, the status of the canceled unifiedRoleAssignmentScheduleRequest changes to Canceled. This API is available in the following national cloud deployments. + Immediately cancel a unifiedRoleAssignmentScheduleRequest object that is in a Granted status, and have the system automatically delete the canceled request after 30 days. After calling this action, the status of the canceled unifiedRoleAssignmentScheduleRequest changes to Canceled. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[CancelReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CancelRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/directory_scope/directory_scope_request_builder.py index dd3906d3bce..37bb9805914 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/directory_scope/directory_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/principal/principal_request_builder.py index 92a88f41fca..19f8c1336db 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/principal/principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py index 951c8f5b7fc..27300be20cb 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py index b7cf197e68a..8a1a22ac702 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TargetSchedu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TargetScheduleRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.py index 4f597bd247f..3a17b38806b 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.py @@ -54,7 +54,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleAssignmentSched async def get(self,request_configuration: Optional[UnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentScheduleRequest]: """ - In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. This API is available in the following national cloud deployments. + In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleRequest] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-get?view=graph-rest-1.0 @@ -111,12 +111,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. This API is available in the following national cloud deployments. + In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -128,7 +128,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleAssignmentScheduleRequest] = None, request_configuration: Optional[UnifiedRoleAssignmentScheduleRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleAssignmentSchedu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -237,7 +237,7 @@ class UnifiedRoleAssignmentScheduleRequestItemRequestBuilderDeleteRequestConfigu @dataclass class UnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetQueryParameters(): """ - In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. This API is available in the following national cloud deployments. + In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.py index 0b87c5e16b0..3d6d9219c4f 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.py @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[RoleAssignmentScheduleRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentScheduleRequestCollectionResponse]: """ - Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. This API is available in the following national cloud deployments. + Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignmentschedulerequests?view=graph-rest-1.0 @@ -80,7 +80,7 @@ async def get(self,request_configuration: Optional[RoleAssignmentScheduleRequest async def post(self,body: Optional[UnifiedRoleAssignmentScheduleRequest] = None, request_configuration: Optional[RoleAssignmentScheduleRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentScheduleRequest]: """ - Create a new unifiedRoleAssignmentScheduleRequest object. This operation allows both admins and users to add, remove, extend, or renew assignments. To run this request, the calling user must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events. This API is available in the following national cloud deployments. + Create a new unifiedRoleAssignmentScheduleRequest object. This operation allows both admins and users to add, remove, extend, or renew assignments. To run this request, the calling user must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleRequest] @@ -105,7 +105,7 @@ async def post(self,body: Optional[UnifiedRoleAssignmentScheduleRequest] = None, def to_get_request_information(self,request_configuration: Optional[RoleAssignmentScheduleRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. This API is available in the following national cloud deployments. + Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,12 +117,12 @@ def to_get_request_information(self,request_configuration: Optional[RoleAssignme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleAssignmentScheduleRequest] = None, request_configuration: Optional[RoleAssignmentScheduleRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new unifiedRoleAssignmentScheduleRequest object. This operation allows both admins and users to add, remove, extend, or renew assignments. To run this request, the calling user must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events. This API is available in the following national cloud deployments. + Create a new unifiedRoleAssignmentScheduleRequest object. This operation allows both admins and users to add, remove, extend, or renew assignments. To run this request, the calling user must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -136,7 +136,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleAssignmentSchedul request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -162,7 +162,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleAssignmentScheduleRequestsRequestBuilderGetQueryParameters(): """ - Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. This API is available in the following national cloud deployments. + Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index ccb3473c55f..0283bea0051 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/activated_using/activated_using_request_builder.py index a9f68a76540..8bfad5fd4a9 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/activated_using/activated_using_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivatedUsi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ActivatedUsingRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/app_scope/app_scope_request_builder.py index df7f81f7af6..7a7515cd647 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/app_scope/app_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopeRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/directory_scope/directory_scope_request_builder.py index d56a8dc0df0..ff94947340c 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/directory_scope/directory_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/principal/principal_request_builder.py index 79678dc33ab..fab8022edd8 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/principal/principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/role_definition/role_definition_request_builder.py index 5f19d54831b..d6275d948f1 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.py index ae55e650a11..ab406487e17 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.py @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleAssignmentSched async def get(self,request_configuration: Optional[UnifiedRoleAssignmentScheduleItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentSchedule]: """ - Retrieve the schedule for an active role assignment operation. This API is available in the following national cloud deployments. + Retrieve the schedule for an active role assignment operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentSchedule] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedule-get?view=graph-rest-1.0 @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleAssignmentScheduleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the schedule for an active role assignment operation. This API is available in the following national cloud deployments. + Retrieve the schedule for an active role assignment operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleAssignmentSchedule] = None, request_configuration: Optional[UnifiedRoleAssignmentScheduleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleAssignmentSchedu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -217,7 +217,7 @@ class UnifiedRoleAssignmentScheduleItemRequestBuilderDeleteRequestConfiguration( @dataclass class UnifiedRoleAssignmentScheduleItemRequestBuilderGetQueryParameters(): """ - Retrieve the schedule for an active role assignment operation. This API is available in the following national cloud deployments. + Retrieve the schedule for an active role assignment operation. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/role_assignment_schedules_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/role_assignment_schedules_request_builder.py index 66531460101..aa19cef9cc2 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/role_assignment_schedules_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/role_assignment_schedules_request_builder.py @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[RoleAssignmentSchedulesRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentScheduleCollectionResponse]: """ - Get the schedules for active role assignment operations. This API is available in the following national cloud deployments. + Get the schedules for active role assignment operations. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignmentschedules?view=graph-rest-1.0 @@ -104,7 +104,7 @@ async def post(self,body: Optional[UnifiedRoleAssignmentSchedule] = None, reques def to_get_request_information(self,request_configuration: Optional[RoleAssignmentSchedulesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the schedules for active role assignment operations. This API is available in the following national cloud deployments. + Get the schedules for active role assignment operations. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleAssignme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleAssignmentSchedule] = None, request_configuration: Optional[RoleAssignmentSchedulesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -135,7 +135,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleAssignmentSchedul request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -161,7 +161,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleAssignmentSchedulesRequestBuilderGetQueryParameters(): """ - Get the schedules for active role assignment operations. This API is available in the following national cloud deployments. + Get the schedules for active role assignment operations. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/app_scope/app_scope_request_builder.py index 0613a7bd764..ec659e29f18 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/app_scope/app_scope_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AppScopeR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AppScopeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopeRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AppScope] = None, request_configuration: Optional[AppScopeRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AppScope] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/directory_scope/directory_scope_request_builder.py index 5ed425876dd..cb70756c83b 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/directory_scope/directory_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/principal/principal_request_builder.py index afbe7edec0d..23d9c12561c 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/principal/principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/role_definition/role_definition_request_builder.py index 682b5c67a2f..bba4d7d712b 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/unified_role_assignment_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/unified_role_assignment_item_request_builder.py index 5e5f2663516..f095c3e2174 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/unified_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/unified_role_assignment_item_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[UnifiedRoleAssignmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + Delete a unifiedRoleAssignment object. 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/unifiedroleassignment-delete?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleAssignmentItemR async def get(self,request_configuration: Optional[UnifiedRoleAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignment]: """ - Retrieve the properties and relationships of a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a unifiedRoleAssignment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignment] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignment-get?view=graph-rest-1.0 @@ -98,7 +98,7 @@ async def patch(self,body: Optional[UnifiedRoleAssignment] = None, request_confi def to_delete_request_information(self,request_configuration: Optional[UnifiedRoleAssignmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + Delete a unifiedRoleAssignment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a unifiedRoleAssignment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleAssignment] = None, request_configuration: Optional[UnifiedRoleAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleAssignment] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -208,7 +208,7 @@ class UnifiedRoleAssignmentItemRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class UnifiedRoleAssignmentItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a unifiedRoleAssignment object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/role_assignments_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/role_assignments_request_builder.py index 49ebc062274..1eb7e1b50b6 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/role_assignments_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/role_assignments_request_builder.py @@ -45,7 +45,7 @@ def by_unified_role_assignment_id(self,unified_role_assignment_id: str) -> Unifi async def get(self,request_configuration: Optional[RoleAssignmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentCollectionResponse]: """ - Get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra entitlement management)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignments?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RoleAssignmentsRequestBuilder async def post(self,body: Optional[UnifiedRoleAssignment] = None, request_configuration: Optional[RoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[UnifiedRoleAssignment]: """ - Create a new unifiedRoleAssignment object. This API is available in the following national cloud deployments. + Create a new unifiedRoleAssignment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignment] @@ -92,7 +92,7 @@ async def post(self,body: Optional[UnifiedRoleAssignment] = None, request_config def to_get_request_information(self,request_configuration: Optional[RoleAssignmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra entitlement management)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[RoleAssignme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleAssignment] = None, request_configuration: Optional[RoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new unifiedRoleAssignment object. This API is available in the following national cloud deployments. + Create a new unifiedRoleAssignment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleAssignment] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleAssignmentsRequestBuilderGetQueryParameters(): """ - Get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra entitlement management)- Exchange Online """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py index b464417b0d1..720eb22431d 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignedPrin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py index 2ea9fdffe3b..c6f4abc440d 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[InheritsPerm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[InheritsPermissionsFromRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleDefinition] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py index b4a177dc8cc..cbcb473af2b 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignedPrin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py index f78f091654d..e948d80f6e9 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleDefinition] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/unified_role_definition_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/unified_role_definition_item_request_builder.py index ab51d0f2218..6f6a6274519 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/unified_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/unified_role_definition_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) 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/unifiedroledefinition-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleDefinitionItemR async def get(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleDefinition]: """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] Find more info here: https://learn.microsoft.com/graph/api/unifiedroledefinition-get?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequ async def patch(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[UnifiedRoleDefinition]: """ - Update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] @@ -97,7 +97,7 @@ async def patch(self,body: Optional[UnifiedRoleDefinition] = None, request_confi def to_delete_request_information(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleDefinition] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/role_definitions_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/role_definitions_request_builder.py index 45becd8e2d1..58044391179 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/role_definitions_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/role_definitions_request_builder.py @@ -45,7 +45,7 @@ def by_unified_role_definition_id(self,unified_role_definition_id: str) -> Unifi async def get(self,request_configuration: Optional[RoleDefinitionsRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleDefinitionCollectionResponse]: """ - Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roledefinitions?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RoleDefinitionsRequestBuilder async def post(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[RoleDefinitionsRequestBuilderPostRequestConfiguration] = None) -> Optional[UnifiedRoleDefinition]: """ - Create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] @@ -92,7 +92,7 @@ async def post(self,body: Optional[UnifiedRoleDefinition] = None, request_config def to_get_request_information(self,request_configuration: Optional[RoleDefinitionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[RoleDefinitionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleDefinition] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleDefinitionsRequestBuilderGetQueryParameters(): """ - Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 9bfaaea548a..5c9791e8223 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/app_scope/app_scope_request_builder.py index 59f7a50eb2a..8e4c3f61b0c 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/app_scope/app_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopeRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/directory_scope/directory_scope_request_builder.py index c77cecc50cf..fc8f667c676 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/directory_scope/directory_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/principal/principal_request_builder.py index 2f1c632f190..093f2274cce 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/principal/principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/role_definition/role_definition_request_builder.py index 7d61873a273..9f50a81d7e8 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.py index 83e73e43427..e8e68e3de28 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.py @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleEligibilitySche async def get(self,request_configuration: Optional[UnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleEligibilityScheduleInstance]: """ - Read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleInstance] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleeligibilityscheduleinstance-get?view=graph-rest-1.0 @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleE request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleEligibilityScheduleInstance] = None, request_configuration: Optional[UnifiedRoleEligibilityScheduleInstanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleEligibilitySched request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -207,7 +207,7 @@ class UnifiedRoleEligibilityScheduleInstanceItemRequestBuilderDeleteRequestConfi @dataclass class UnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.py index f8b76b383a4..7b2d6039f38 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.py @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[RoleEligibilityScheduleInstancesRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleEligibilityScheduleInstanceCollectionResponse]: """ - Get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleInstanceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleeligibilityscheduleinstances?view=graph-rest-1.0 @@ -104,7 +104,7 @@ async def post(self,body: Optional[UnifiedRoleEligibilityScheduleInstance] = Non def to_get_request_information(self,request_configuration: Optional[RoleEligibilityScheduleInstancesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleEligibil request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleEligibilityScheduleInstance] = None, request_configuration: Optional[RoleEligibilityScheduleInstancesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -135,7 +135,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleEligibilitySchedu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -161,7 +161,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleEligibilityScheduleInstancesRequestBuilderGetQueryParameters(): """ - Get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index a83a201490c..d14303ff174 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/app_scope/app_scope_request_builder.py index bf81f26a093..85471615d3b 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/app_scope/app_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopeRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/cancel/cancel_request_builder.py index 10e936cf501..9a29fdff69a 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/cancel/cancel_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - Immediately cancel a unifiedRoleEligibilityScheduleRequest that is in a Granted status, and have the system automatically delete the cancelled request after 30 days. After calling this action, the status of the cancelled unifiedRoleEligibilityScheduleRequest changes to Revoked. This API is available in the following national cloud deployments. + Immediately cancel a unifiedRoleEligibilityScheduleRequest that is in a Granted status, and have the system automatically delete the cancelled request after 30 days. After calling this action, the status of the cancelled unifiedRoleEligibilityScheduleRequest changes to Revoked. 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/unifiedroleeligibilityschedulerequest-cancel?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[CancelRequestBuilderPostRequ def to_post_request_information(self,request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Immediately cancel a unifiedRoleEligibilityScheduleRequest that is in a Granted status, and have the system automatically delete the cancelled request after 30 days. After calling this action, the status of the cancelled unifiedRoleEligibilityScheduleRequest changes to Revoked. This API is available in the following national cloud deployments. + Immediately cancel a unifiedRoleEligibilityScheduleRequest that is in a Granted status, and have the system automatically delete the cancelled request after 30 days. After calling this action, the status of the cancelled unifiedRoleEligibilityScheduleRequest changes to Revoked. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[CancelReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CancelRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/directory_scope/directory_scope_request_builder.py index 37fc442926f..0c41a4f048b 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/directory_scope/directory_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/principal/principal_request_builder.py index 407892b1db5..d82b4de91c2 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/principal/principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/role_definition/role_definition_request_builder.py index 260b979146f..a9e6e07c658 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/target_schedule/target_schedule_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/target_schedule/target_schedule_request_builder.py index 060ee2b322a..4eb4deba7cf 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/target_schedule/target_schedule_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/target_schedule/target_schedule_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TargetSchedu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TargetScheduleRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.py index 0c7a04463a7..028b5437318 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.py @@ -53,7 +53,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleEligibilitySche async def get(self,request_configuration: Optional[UnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleEligibilityScheduleRequest]: """ - Read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleRequest] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedulerequest-get?view=graph-rest-1.0 @@ -110,12 +110,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleE request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleEligibilityScheduleRequest] = None, request_configuration: Optional[UnifiedRoleEligibilityScheduleRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleEligibilitySched request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -227,7 +227,7 @@ class UnifiedRoleEligibilityScheduleRequestItemRequestBuilderDeleteRequestConfig @dataclass class UnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.py index 56dc269b5a1..163f507d94e 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.py @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[RoleEligibilityScheduleRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleEligibilityScheduleRequestCollectionResponse]: """ - Get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleeligibilityschedulerequests?view=graph-rest-1.0 @@ -80,7 +80,7 @@ async def get(self,request_configuration: Optional[RoleEligibilityScheduleReques async def post(self,body: Optional[UnifiedRoleEligibilityScheduleRequest] = None, request_configuration: Optional[RoleEligibilityScheduleRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[UnifiedRoleEligibilityScheduleRequest]: """ - Create a new unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments. This API is available in the following national cloud deployments. + Create a new unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleRequest] @@ -105,7 +105,7 @@ async def post(self,body: Optional[UnifiedRoleEligibilityScheduleRequest] = None def to_get_request_information(self,request_configuration: Optional[RoleEligibilityScheduleRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,12 +117,12 @@ def to_get_request_information(self,request_configuration: Optional[RoleEligibil request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleEligibilityScheduleRequest] = None, request_configuration: Optional[RoleEligibilityScheduleRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments. This API is available in the following national cloud deployments. + Create a new unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -136,7 +136,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleEligibilitySchedu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -162,7 +162,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleEligibilityScheduleRequestsRequestBuilderGetQueryParameters(): """ - Get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index fa197a75f66..715f90c2d7a 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/app_scope/app_scope_request_builder.py index aea3cfa03ed..7219419047b 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/app_scope/app_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopeRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/directory_scope/directory_scope_request_builder.py index b974c0f119c..beedca9a237 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/directory_scope/directory_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/principal/principal_request_builder.py index 102c931fc87..1da415df8ab 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/principal/principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/role_definition/role_definition_request_builder.py index 8c8b384b6b6..d244ba8ab70 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.py index 54838e89c67..8284708a540 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.py @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleEligibilitySche async def get(self,request_configuration: Optional[UnifiedRoleEligibilityScheduleItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleEligibilitySchedule]: """ - Read the properties and relationships of an unifiedRoleEligibilitySchedule object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRoleEligibilitySchedule object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilitySchedule] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedule-get?view=graph-rest-1.0 @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleEligibilityScheduleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an unifiedRoleEligibilitySchedule object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRoleEligibilitySchedule object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleE request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleEligibilitySchedule] = None, request_configuration: Optional[UnifiedRoleEligibilityScheduleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleEligibilitySched request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -207,7 +207,7 @@ class UnifiedRoleEligibilityScheduleItemRequestBuilderDeleteRequestConfiguration @dataclass class UnifiedRoleEligibilityScheduleItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an unifiedRoleEligibilitySchedule object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRoleEligibilitySchedule object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/role_eligibility_schedules_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/role_eligibility_schedules_request_builder.py index d8caa9f0f95..1e50575b27a 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/role_eligibility_schedules_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/role_eligibility_schedules_request_builder.py @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[RoleEligibilitySchedulesRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleEligibilityScheduleCollectionResponse]: """ - Get a list of the unifiedRoleEligibilitySchedule objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleEligibilitySchedule objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleeligibilityschedules?view=graph-rest-1.0 @@ -104,7 +104,7 @@ async def post(self,body: Optional[UnifiedRoleEligibilitySchedule] = None, reque def to_get_request_information(self,request_configuration: Optional[RoleEligibilitySchedulesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the unifiedRoleEligibilitySchedule objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleEligibilitySchedule objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleEligibil request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleEligibilitySchedule] = None, request_configuration: Optional[RoleEligibilitySchedulesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -135,7 +135,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleEligibilitySchedu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -161,7 +161,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleEligibilitySchedulesRequestBuilderGetQueryParameters(): """ - Get a list of the unifiedRoleEligibilitySchedule objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleEligibilitySchedule objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py index 5282bf19ebb..27b54edbc9b 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleSchedule request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py index bd87f501029..af730b89827 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleSchedule request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/app_scope/app_scope_request_builder.py index e65a982b190..891e89d2bc0 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/app_scope/app_scope_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AppScopeR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AppScopeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopeRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AppScope] = None, request_configuration: Optional[AppScopeRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AppScope] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py index 3fc8553b2c7..ea5bc621a8d 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/principal/principal_request_builder.py index 167fcfa5b23..d5e75c2fbac 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/principal/principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/role_definition/role_definition_request_builder.py index d95d0e57b49..e36cb9e16ff 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py index 979e8545c0c..1d737cf5940 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleAssignment] = None, request_configuration: Optional[UnifiedRoleAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleAssignment] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/transitive_role_assignments_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/transitive_role_assignments_request_builder.py index f0a5287d959..51224b36c7b 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/transitive_role_assignments_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/transitive_role_assignments_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[TransitiveRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleAssignment] = None, request_configuration: Optional[TransitiveRoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleAssignment] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/entitlement_management/entitlement_management_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/entitlement_management_request_builder.py index c1b8d2ce07c..b4806af7b49 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/entitlement_management_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/entitlement_management_request_builder.py @@ -116,7 +116,7 @@ def to_delete_request_information(self,request_configuration: Optional[Entitleme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EntitlementManagementRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -133,7 +133,7 @@ def to_get_request_information(self,request_configuration: Optional[EntitlementM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RbacApplication] = None, request_configuration: Optional[EntitlementManagementRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -152,7 +152,7 @@ def to_patch_request_information(self,body: Optional[RbacApplication] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py index a1958428e4f..b52e26dbc09 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImportResourceActionsPostReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py index cc86a226c0b..b4ee6b35386 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AuthenticationContextRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py index 0260dba44ba..555c377c3d2 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ResourceS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ResourceScopeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceScop request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRbacResourceScope] = None, request_configuration: Optional[ResourceScopeRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRbacResourceScope] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py index e083913d1c7..b29da00d09f 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[UnifiedRbacResourceActionI async def get(self,request_configuration: Optional[UnifiedRbacResourceActionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRbacResourceAction]: """ - Read the properties and relationships of an unifiedRbacResourceAction object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRbacResourceAction object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceAction] Find more info here: https://learn.microsoft.com/graph/api/unifiedrbacresourceaction-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRb request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRbacResourceActionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an unifiedRbacResourceAction object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRbacResourceAction object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRbacR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRbacResourceAction] = None, request_configuration: Optional[UnifiedRbacResourceActionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRbacResourceAction] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class UnifiedRbacResourceActionItemRequestBuilderDeleteRequestConfiguration(Base @dataclass class UnifiedRbacResourceActionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an unifiedRbacResourceAction object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRbacResourceAction object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/resource_actions_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/resource_actions_request_builder.py index 69e3cc62507..90fe20c2526 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/resource_actions_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/resource_actions_request_builder.py @@ -45,7 +45,7 @@ def by_unified_rbac_resource_action_id(self,unified_rbac_resource_action_id: str async def get(self,request_configuration: Optional[ResourceActionsRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRbacResourceActionCollectionResponse]: """ - Get a list of the unifiedRbacResourceAction objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRbacResourceAction objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceActionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedrbacresourcenamespace-list-resourceactions?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[UnifiedRbacResourceAction] = None, request_co def to_get_request_information(self,request_configuration: Optional[ResourceActionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the unifiedRbacResourceAction objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRbacResourceAction objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceActi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRbacResourceAction] = None, request_configuration: Optional[ResourceActionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UnifiedRbacResourceAction] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ResourceActionsRequestBuilderGetQueryParameters(): """ - Get a list of the unifiedRbacResourceAction objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRbacResourceAction objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py index 328c40aba9f..d25cebd9675 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[UnifiedRbacResourceNamespa async def get(self,request_configuration: Optional[UnifiedRbacResourceNamespaceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRbacResourceNamespace]: """ - Read the properties and relationships of an unifiedRbacResourceNamespace object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRbacResourceNamespace object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] Find more info here: https://learn.microsoft.com/graph/api/unifiedrbacresourcenamespace-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRb request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRbacResourceNamespaceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an unifiedRbacResourceNamespace object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRbacResourceNamespace object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRbacR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRbacResourceNamespace] = None, request_configuration: Optional[UnifiedRbacResourceNamespaceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRbacResourceNamespac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class UnifiedRbacResourceNamespaceItemRequestBuilderDeleteRequestConfiguration(B @dataclass class UnifiedRbacResourceNamespaceItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an unifiedRbacResourceNamespace object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRbacResourceNamespace object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/resource_namespaces_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/resource_namespaces_request_builder.py index 70e9cd021c7..3206e93d3ab 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/resource_namespaces_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/resource_namespaces_request_builder.py @@ -45,7 +45,7 @@ def by_unified_rbac_resource_namespace_id(self,unified_rbac_resource_namespace_i async def get(self,request_configuration: Optional[ResourceNamespacesRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRbacResourceNamespaceCollectionResponse]: """ - Get a list of the unifiedRbacResourceNamespace objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRbacResourceNamespace objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespaceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplicationmultiple-list-resourcenamespaces?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[UnifiedRbacResourceNamespace] = None, request def to_get_request_information(self,request_configuration: Optional[ResourceNamespacesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the unifiedRbacResourceNamespace objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRbacResourceNamespace objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceName request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRbacResourceNamespace] = None, request_configuration: Optional[ResourceNamespacesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UnifiedRbacResourceNamespace request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ResourceNamespacesRequestBuilderGetQueryParameters(): """ - Get a list of the unifiedRbacResourceNamespace objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRbacResourceNamespace objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 0aa1b644c4f..b52cc3d82da 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/approval_item_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/approval_item_request_builder.py index 56205222709..f886b395e29 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/approval_item_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/approval_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ApprovalI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ApprovalItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ApprovalItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Approval] = None, request_configuration: Optional[ApprovalItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Approval] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/steps/item/approval_step_item_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/steps/item/approval_step_item_request_builder.py index f60bbc807db..d75c3467ceb 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/steps/item/approval_step_item_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/steps/item/approval_step_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ApprovalStepItemRequestBui async def get(self,request_configuration: Optional[ApprovalStepItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ApprovalStep]: """ - Retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. + Retrieve the properties of an approvalStep object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] Find more info here: https://learn.microsoft.com/graph/api/approvalstep-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[ApprovalStepItemRequestBuilde async def patch(self,body: Optional[ApprovalStep] = None, request_configuration: Optional[ApprovalStepItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ApprovalStep]: """ - Apply approve or deny decision on an approvalStep object. This API is available in the following national cloud deployments. + Apply approve or deny decision on an approvalStep object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ApprovalS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ApprovalStepItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. + Retrieve the properties of an approvalStep object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[ApprovalStep request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ApprovalStep] = None, request_configuration: Optional[ApprovalStepItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Apply approve or deny decision on an approvalStep object. This API is available in the following national cloud deployments. + Apply approve or deny decision on an approvalStep object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ApprovalStep] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ApprovalStepItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class ApprovalStepItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. + Retrieve the properties of an approvalStep object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/steps/steps_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/steps/steps_request_builder.py index 90863226e5c..807aae91cb1 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/steps/steps_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/steps/steps_request_builder.py @@ -45,7 +45,7 @@ def by_approval_step_id(self,approval_step_id: str) -> ApprovalStepItemRequestBu async def get(self,request_configuration: Optional[StepsRequestBuilderGetRequestConfiguration] = None) -> Optional[ApprovalStepCollectionResponse]: """ - List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStepCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/approval-list-steps?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ApprovalStep] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[StepsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[StepsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ApprovalStep] = None, request_configuration: Optional[StepsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ApprovalStep] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class StepsRequestBuilderGetQueryParameters(): """ - List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/role_assignment_approvals_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/role_assignment_approvals_request_builder.py index 8d4dc4f925e..90387bf9538 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/role_assignment_approvals_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/role_assignment_approvals_request_builder.py @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleAssignme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Approval] = None, request_configuration: Optional[RoleAssignmentApprovalsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -134,7 +134,7 @@ def to_post_request_information(self,body: Optional[Approval] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 072ca09a263..62fc11badee 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py index 9a8f25354f3..d019a91c732 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivatedUsi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ActivatedUsingRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/app_scope/app_scope_request_builder.py index d511b8752ef..c8e49778e24 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/app_scope/app_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopeRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/directory_scope/directory_scope_request_builder.py index c224c49c5d3..05b02328ab6 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/directory_scope/directory_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/principal/principal_request_builder.py index 99d38a49bce..e1d142d36ff 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/principal/principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/role_definition/role_definition_request_builder.py index a29ab0ac7aa..6047c5c857e 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.py index ea38a861c0b..4f649914060 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.py @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleAssignmentSched async def get(self,request_configuration: Optional[UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentScheduleInstance]: """ - Get the instance of an active role assignment. This API is available in the following national cloud deployments. + Get the instance of an active role assignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleInstance] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentscheduleinstance-get?view=graph-rest-1.0 @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the instance of an active role assignment. This API is available in the following national cloud deployments. + Get the instance of an active role assignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleAssignmentScheduleInstance] = None, request_configuration: Optional[UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleAssignmentSchedu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -217,7 +217,7 @@ class UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderDeleteRequestConfig @dataclass class UnifiedRoleAssignmentScheduleInstanceItemRequestBuilderGetQueryParameters(): """ - Get the instance of an active role assignment. This API is available in the following national cloud deployments. + Get the instance of an active role assignment. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.py index 53295bfcd0d..00bceed8830 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.py @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[RoleAssignmentScheduleInstancesRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentScheduleInstanceCollectionResponse]: """ - Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. This API is available in the following national cloud deployments. + Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleInstanceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignmentscheduleinstances?view=graph-rest-1.0 @@ -104,7 +104,7 @@ async def post(self,body: Optional[UnifiedRoleAssignmentScheduleInstance] = None def to_get_request_information(self,request_configuration: Optional[RoleAssignmentScheduleInstancesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. This API is available in the following national cloud deployments. + Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleAssignme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleAssignmentScheduleInstance] = None, request_configuration: Optional[RoleAssignmentScheduleInstancesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -135,7 +135,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleAssignmentSchedul request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -161,7 +161,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleAssignmentScheduleInstancesRequestBuilderGetQueryParameters(): """ - Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. This API is available in the following national cloud deployments. + Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 3a7d4390bae..f4da3b2254d 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py index 72b090b2ae3..b1c1c077009 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivatedUsi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ActivatedUsingRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/app_scope/app_scope_request_builder.py index 50a33921058..bcf455f42e9 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/app_scope/app_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopeRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/cancel/cancel_request_builder.py index fb48ed71029..d596568ade0 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/cancel/cancel_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - Immediately cancel a unifiedRoleAssignmentScheduleRequest object that is in a Granted status, and have the system automatically delete the canceled request after 30 days. After calling this action, the status of the canceled unifiedRoleAssignmentScheduleRequest changes to Canceled. This API is available in the following national cloud deployments. + Immediately cancel a unifiedRoleAssignmentScheduleRequest object that is in a Granted status, and have the system automatically delete the canceled request after 30 days. After calling this action, the status of the canceled unifiedRoleAssignmentScheduleRequest changes to Canceled. 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/unifiedroleassignmentschedulerequest-cancel?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[CancelRequestBuilderPostRequ def to_post_request_information(self,request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Immediately cancel a unifiedRoleAssignmentScheduleRequest object that is in a Granted status, and have the system automatically delete the canceled request after 30 days. After calling this action, the status of the canceled unifiedRoleAssignmentScheduleRequest changes to Canceled. This API is available in the following national cloud deployments. + Immediately cancel a unifiedRoleAssignmentScheduleRequest object that is in a Granted status, and have the system automatically delete the canceled request after 30 days. After calling this action, the status of the canceled unifiedRoleAssignmentScheduleRequest changes to Canceled. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[CancelReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CancelRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/directory_scope/directory_scope_request_builder.py index 0efe456b785..a0906b205e3 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/directory_scope/directory_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/principal/principal_request_builder.py index 29e4b5cfa28..b7260572f03 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/principal/principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py index bc65004b25d..87f92782129 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py index 3216208cdb4..74f7349ecb6 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TargetSchedu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TargetScheduleRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.py index a8cd4612cc0..e44d85b433b 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.py @@ -54,7 +54,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleAssignmentSched async def get(self,request_configuration: Optional[UnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentScheduleRequest]: """ - In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. This API is available in the following national cloud deployments. + In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleRequest] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-get?view=graph-rest-1.0 @@ -111,12 +111,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. This API is available in the following national cloud deployments. + In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -128,7 +128,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleAssignmentScheduleRequest] = None, request_configuration: Optional[UnifiedRoleAssignmentScheduleRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleAssignmentSchedu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -237,7 +237,7 @@ class UnifiedRoleAssignmentScheduleRequestItemRequestBuilderDeleteRequestConfigu @dataclass class UnifiedRoleAssignmentScheduleRequestItemRequestBuilderGetQueryParameters(): """ - In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. This API is available in the following national cloud deployments. + In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.py index 180fa373493..30bfd79d409 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.py @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[RoleAssignmentScheduleRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentScheduleRequestCollectionResponse]: """ - Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. This API is available in the following national cloud deployments. + Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignmentschedulerequests?view=graph-rest-1.0 @@ -80,7 +80,7 @@ async def get(self,request_configuration: Optional[RoleAssignmentScheduleRequest async def post(self,body: Optional[UnifiedRoleAssignmentScheduleRequest] = None, request_configuration: Optional[RoleAssignmentScheduleRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentScheduleRequest]: """ - Create a new unifiedRoleAssignmentScheduleRequest object. This operation allows both admins and users to add, remove, extend, or renew assignments. To run this request, the calling user must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events. This API is available in the following national cloud deployments. + Create a new unifiedRoleAssignmentScheduleRequest object. This operation allows both admins and users to add, remove, extend, or renew assignments. To run this request, the calling user must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleRequest] @@ -105,7 +105,7 @@ async def post(self,body: Optional[UnifiedRoleAssignmentScheduleRequest] = None, def to_get_request_information(self,request_configuration: Optional[RoleAssignmentScheduleRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. This API is available in the following national cloud deployments. + Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,12 +117,12 @@ def to_get_request_information(self,request_configuration: Optional[RoleAssignme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleAssignmentScheduleRequest] = None, request_configuration: Optional[RoleAssignmentScheduleRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new unifiedRoleAssignmentScheduleRequest object. This operation allows both admins and users to add, remove, extend, or renew assignments. To run this request, the calling user must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events. This API is available in the following national cloud deployments. + Create a new unifiedRoleAssignmentScheduleRequest object. This operation allows both admins and users to add, remove, extend, or renew assignments. To run this request, the calling user must have multifactor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Microsoft Entra multifactor authentication to secure sign-in events. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -136,7 +136,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleAssignmentSchedul request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -162,7 +162,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleAssignmentScheduleRequestsRequestBuilderGetQueryParameters(): """ - Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. This API is available in the following national cloud deployments. + Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index d52144497fe..efccab5bcfd 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/activated_using/activated_using_request_builder.py index cbe283c01fb..ba5bf25823e 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/activated_using/activated_using_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivatedUsi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ActivatedUsingRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/app_scope/app_scope_request_builder.py index f7d2fb51250..a8072f49a06 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/app_scope/app_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopeRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/directory_scope/directory_scope_request_builder.py index 0c7db60d428..73b98443009 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/directory_scope/directory_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/principal/principal_request_builder.py index 06c2a06c919..3127c7376e4 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/principal/principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/role_definition/role_definition_request_builder.py index 5c92d0e4375..f249c395638 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.py index a970b611a7c..fab478854ab 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.py @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleAssignmentSched async def get(self,request_configuration: Optional[UnifiedRoleAssignmentScheduleItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentSchedule]: """ - Retrieve the schedule for an active role assignment operation. This API is available in the following national cloud deployments. + Retrieve the schedule for an active role assignment operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentSchedule] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedule-get?view=graph-rest-1.0 @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleAssignmentScheduleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the schedule for an active role assignment operation. This API is available in the following national cloud deployments. + Retrieve the schedule for an active role assignment operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleAssignmentSchedule] = None, request_configuration: Optional[UnifiedRoleAssignmentScheduleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleAssignmentSchedu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -217,7 +217,7 @@ class UnifiedRoleAssignmentScheduleItemRequestBuilderDeleteRequestConfiguration( @dataclass class UnifiedRoleAssignmentScheduleItemRequestBuilderGetQueryParameters(): """ - Retrieve the schedule for an active role assignment operation. This API is available in the following national cloud deployments. + Retrieve the schedule for an active role assignment operation. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/role_assignment_schedules_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/role_assignment_schedules_request_builder.py index a42128a7bd9..17b5788780e 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/role_assignment_schedules_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/role_assignment_schedules_request_builder.py @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[RoleAssignmentSchedulesRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentScheduleCollectionResponse]: """ - Get the schedules for active role assignment operations. This API is available in the following national cloud deployments. + Get the schedules for active role assignment operations. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignmentschedules?view=graph-rest-1.0 @@ -104,7 +104,7 @@ async def post(self,body: Optional[UnifiedRoleAssignmentSchedule] = None, reques def to_get_request_information(self,request_configuration: Optional[RoleAssignmentSchedulesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the schedules for active role assignment operations. This API is available in the following national cloud deployments. + Get the schedules for active role assignment operations. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleAssignme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleAssignmentSchedule] = None, request_configuration: Optional[RoleAssignmentSchedulesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -135,7 +135,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleAssignmentSchedul request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -161,7 +161,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleAssignmentSchedulesRequestBuilderGetQueryParameters(): """ - Get the schedules for active role assignment operations. This API is available in the following national cloud deployments. + Get the schedules for active role assignment operations. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/app_scope/app_scope_request_builder.py index 28a63bcff2b..9bd7666e784 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/app_scope/app_scope_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AppScopeR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AppScopeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopeRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AppScope] = None, request_configuration: Optional[AppScopeRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AppScope] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/directory_scope/directory_scope_request_builder.py index e70ae7508cb..fd457f6e8be 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/directory_scope/directory_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/principal/principal_request_builder.py index 1b4307ee12e..9af0343cd39 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/principal/principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/role_definition/role_definition_request_builder.py index b50a065f40c..b7c541dd758 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/unified_role_assignment_item_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/unified_role_assignment_item_request_builder.py index 4a91f0b0286..b79737cc995 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/unified_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/unified_role_assignment_item_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[UnifiedRoleAssignmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + Delete a unifiedRoleAssignment object. 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/unifiedroleassignment-delete?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleAssignmentItemR async def get(self,request_configuration: Optional[UnifiedRoleAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignment]: """ - Retrieve the properties and relationships of a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a unifiedRoleAssignment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignment] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignment-get?view=graph-rest-1.0 @@ -98,7 +98,7 @@ async def patch(self,body: Optional[UnifiedRoleAssignment] = None, request_confi def to_delete_request_information(self,request_configuration: Optional[UnifiedRoleAssignmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + Delete a unifiedRoleAssignment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a unifiedRoleAssignment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleAssignment] = None, request_configuration: Optional[UnifiedRoleAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleAssignment] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -208,7 +208,7 @@ class UnifiedRoleAssignmentItemRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class UnifiedRoleAssignmentItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a unifiedRoleAssignment object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignments/role_assignments_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignments/role_assignments_request_builder.py index 6094f68c828..772eec08f0c 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignments/role_assignments_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignments/role_assignments_request_builder.py @@ -45,7 +45,7 @@ def by_unified_role_assignment_id(self,unified_role_assignment_id: str) -> Unifi async def get(self,request_configuration: Optional[RoleAssignmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentCollectionResponse]: """ - Get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra entitlement management)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignments?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RoleAssignmentsRequestBuilder async def post(self,body: Optional[UnifiedRoleAssignment] = None, request_configuration: Optional[RoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[UnifiedRoleAssignment]: """ - Create a new unifiedRoleAssignment object. This API is available in the following national cloud deployments. + Create a new unifiedRoleAssignment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignment] @@ -92,7 +92,7 @@ async def post(self,body: Optional[UnifiedRoleAssignment] = None, request_config def to_get_request_information(self,request_configuration: Optional[RoleAssignmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra entitlement management)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[RoleAssignme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleAssignment] = None, request_configuration: Optional[RoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new unifiedRoleAssignment object. This API is available in the following national cloud deployments. + Create a new unifiedRoleAssignment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleAssignment] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleAssignmentsRequestBuilderGetQueryParameters(): """ - Get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra entitlement management)- Exchange Online """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py index 7a0ca7327ac..017797ddc8e 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignedPrin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py index dc4b88b58ad..97bf51970ae 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[InheritsPerm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[InheritsPermissionsFromRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleDefinition] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py index cbfece6e55a..26bcb33ce89 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignedPrin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py index f4a150aac2b..c4b9dcf4bf0 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleDefinition] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/unified_role_definition_item_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/unified_role_definition_item_request_builder.py index df5a14e8ed6..14295ba69bd 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/unified_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/unified_role_definition_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) 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/unifiedroledefinition-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleDefinitionItemR async def get(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleDefinition]: """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] Find more info here: https://learn.microsoft.com/graph/api/unifiedroledefinition-get?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequ async def patch(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[UnifiedRoleDefinition]: """ - Update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] @@ -97,7 +97,7 @@ async def patch(self,body: Optional[UnifiedRoleDefinition] = None, request_confi def to_delete_request_information(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Update the properties of a unifiedRoleDefinition object for an RBAC provider. You cannot update built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleDefinition] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/role_definitions_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/role_definitions_request_builder.py index 648668930c1..6ca4dce0022 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/role_definitions_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/role_definitions_request_builder.py @@ -45,7 +45,7 @@ def by_unified_role_definition_id(self,unified_role_definition_id: str) -> Unifi async def get(self,request_configuration: Optional[RoleDefinitionsRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleDefinitionCollectionResponse]: """ - Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roledefinitions?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RoleDefinitionsRequestBuilder async def post(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[RoleDefinitionsRequestBuilderPostRequestConfiguration] = None) -> Optional[UnifiedRoleDefinition]: """ - Create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] @@ -92,7 +92,7 @@ async def post(self,body: Optional[UnifiedRoleDefinition] = None, request_config def to_get_request_information(self,request_configuration: Optional[RoleDefinitionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[RoleDefinitionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) This API is available in the following national cloud deployments. + Create a new unifiedRoleDefinition object for an RBAC provider. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- directory (Microsoft Entra ID) param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleDefinition] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleDefinitionsRequestBuilderGetQueryParameters(): """ - Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 91562b34bd6..edb19a7041e 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/app_scope/app_scope_request_builder.py index a5401814f5b..79ed8167c72 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/app_scope/app_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopeRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/directory_scope/directory_scope_request_builder.py index 811ca28cb81..f05579d5dcd 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/directory_scope/directory_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/principal/principal_request_builder.py index 6aaeaf9175c..7947d92dffc 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/principal/principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/role_definition/role_definition_request_builder.py index e8087a9f524..ac2c0c7243c 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.py index 204a7b81e0d..57d01a0b84d 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.py @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleEligibilitySche async def get(self,request_configuration: Optional[UnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleEligibilityScheduleInstance]: """ - Read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleInstance] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleeligibilityscheduleinstance-get?view=graph-rest-1.0 @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleE request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleEligibilityScheduleInstance] = None, request_configuration: Optional[UnifiedRoleEligibilityScheduleInstanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleEligibilitySched request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -207,7 +207,7 @@ class UnifiedRoleEligibilityScheduleInstanceItemRequestBuilderDeleteRequestConfi @dataclass class UnifiedRoleEligibilityScheduleInstanceItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRoleEligibilityScheduleInstance object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.py index 357ee2f12c8..89eaf81fcf6 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.py @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[RoleEligibilityScheduleInstancesRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleEligibilityScheduleInstanceCollectionResponse]: """ - Get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleInstanceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleeligibilityscheduleinstances?view=graph-rest-1.0 @@ -104,7 +104,7 @@ async def post(self,body: Optional[UnifiedRoleEligibilityScheduleInstance] = Non def to_get_request_information(self,request_configuration: Optional[RoleEligibilityScheduleInstancesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleEligibil request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleEligibilityScheduleInstance] = None, request_configuration: Optional[RoleEligibilityScheduleInstancesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -135,7 +135,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleEligibilitySchedu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -161,7 +161,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleEligibilityScheduleInstancesRequestBuilderGetQueryParameters(): """ - Get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleEligibilityScheduleInstance objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 688b7516668..7b1bf5abcab 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/app_scope/app_scope_request_builder.py index d4976fab6d5..96f2641eb59 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/app_scope/app_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopeRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/cancel/cancel_request_builder.py index 503338a232e..ca4ca65aa24 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/cancel/cancel_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - Immediately cancel a unifiedRoleEligibilityScheduleRequest that is in a Granted status, and have the system automatically delete the cancelled request after 30 days. After calling this action, the status of the cancelled unifiedRoleEligibilityScheduleRequest changes to Revoked. This API is available in the following national cloud deployments. + Immediately cancel a unifiedRoleEligibilityScheduleRequest that is in a Granted status, and have the system automatically delete the cancelled request after 30 days. After calling this action, the status of the cancelled unifiedRoleEligibilityScheduleRequest changes to Revoked. 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/unifiedroleeligibilityschedulerequest-cancel?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[CancelRequestBuilderPostRequ def to_post_request_information(self,request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Immediately cancel a unifiedRoleEligibilityScheduleRequest that is in a Granted status, and have the system automatically delete the cancelled request after 30 days. After calling this action, the status of the cancelled unifiedRoleEligibilityScheduleRequest changes to Revoked. This API is available in the following national cloud deployments. + Immediately cancel a unifiedRoleEligibilityScheduleRequest that is in a Granted status, and have the system automatically delete the cancelled request after 30 days. After calling this action, the status of the cancelled unifiedRoleEligibilityScheduleRequest changes to Revoked. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[CancelReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CancelRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/directory_scope/directory_scope_request_builder.py index 16cf551ff5d..8543d461633 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/directory_scope/directory_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/principal/principal_request_builder.py index 8b127d1c7b7..f4770ed287d 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/principal/principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/role_definition/role_definition_request_builder.py index 923824c6442..49981d1f485 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/target_schedule/target_schedule_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/target_schedule/target_schedule_request_builder.py index 1f5690f14ed..d408efa3f0e 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/target_schedule/target_schedule_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/target_schedule/target_schedule_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TargetSchedu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TargetScheduleRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.py index 46d7a0d3d90..e16eeceb832 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.py @@ -53,7 +53,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleEligibilitySche async def get(self,request_configuration: Optional[UnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleEligibilityScheduleRequest]: """ - Read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleRequest] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedulerequest-get?view=graph-rest-1.0 @@ -110,12 +110,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleE request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleEligibilityScheduleRequest] = None, request_configuration: Optional[UnifiedRoleEligibilityScheduleRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleEligibilitySched request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -227,7 +227,7 @@ class UnifiedRoleEligibilityScheduleRequestItemRequestBuilderDeleteRequestConfig @dataclass class UnifiedRoleEligibilityScheduleRequestItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRoleEligibilityScheduleRequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.py index 442530ca3df..2bd334f60d9 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.py @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[RoleEligibilityScheduleRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleEligibilityScheduleRequestCollectionResponse]: """ - Get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleeligibilityschedulerequests?view=graph-rest-1.0 @@ -80,7 +80,7 @@ async def get(self,request_configuration: Optional[RoleEligibilityScheduleReques async def post(self,body: Optional[UnifiedRoleEligibilityScheduleRequest] = None, request_configuration: Optional[RoleEligibilityScheduleRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[UnifiedRoleEligibilityScheduleRequest]: """ - Create a new unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments. This API is available in the following national cloud deployments. + Create a new unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleRequest] @@ -105,7 +105,7 @@ async def post(self,body: Optional[UnifiedRoleEligibilityScheduleRequest] = None def to_get_request_information(self,request_configuration: Optional[RoleEligibilityScheduleRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,12 +117,12 @@ def to_get_request_information(self,request_configuration: Optional[RoleEligibil request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleEligibilityScheduleRequest] = None, request_configuration: Optional[RoleEligibilityScheduleRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments. This API is available in the following national cloud deployments. + Create a new unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -136,7 +136,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleEligibilitySchedu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -162,7 +162,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleEligibilityScheduleRequestsRequestBuilderGetQueryParameters(): """ - Get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleEligibilityScheduleRequest objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index fabe48c8d54..13b8b48e832 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/app_scope/app_scope_request_builder.py index 493297af639..9092b66ecef 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/app_scope/app_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopeRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/directory_scope/directory_scope_request_builder.py index a876d74b3b1..05387026a19 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/directory_scope/directory_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/principal/principal_request_builder.py index 68b754b2c01..5c6c251e8ba 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/principal/principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/role_definition/role_definition_request_builder.py index eb3bae2034c..32636f19de1 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.py index e3979e202e9..39f17eb8b3b 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.py @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleEligibilitySche async def get(self,request_configuration: Optional[UnifiedRoleEligibilityScheduleItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleEligibilitySchedule]: """ - Read the properties and relationships of an unifiedRoleEligibilitySchedule object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRoleEligibilitySchedule object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilitySchedule] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedule-get?view=graph-rest-1.0 @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleEligibilityScheduleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an unifiedRoleEligibilitySchedule object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRoleEligibilitySchedule object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleE request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleEligibilitySchedule] = None, request_configuration: Optional[UnifiedRoleEligibilityScheduleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleEligibilitySched request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -207,7 +207,7 @@ class UnifiedRoleEligibilityScheduleItemRequestBuilderDeleteRequestConfiguration @dataclass class UnifiedRoleEligibilityScheduleItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an unifiedRoleEligibilitySchedule object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRoleEligibilitySchedule object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/role_eligibility_schedules_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/role_eligibility_schedules_request_builder.py index 4ac32e0ee8f..f02f9942241 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/role_eligibility_schedules_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/role_eligibility_schedules_request_builder.py @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[RoleEligibilitySchedulesRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleEligibilityScheduleCollectionResponse]: """ - Get a list of the unifiedRoleEligibilitySchedule objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleEligibilitySchedule objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleeligibilityschedules?view=graph-rest-1.0 @@ -104,7 +104,7 @@ async def post(self,body: Optional[UnifiedRoleEligibilitySchedule] = None, reque def to_get_request_information(self,request_configuration: Optional[RoleEligibilitySchedulesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the unifiedRoleEligibilitySchedule objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleEligibilitySchedule objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleEligibil request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleEligibilitySchedule] = None, request_configuration: Optional[RoleEligibilitySchedulesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -135,7 +135,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleEligibilitySchedu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -161,7 +161,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleEligibilitySchedulesRequestBuilderGetQueryParameters(): """ - Get a list of the unifiedRoleEligibilitySchedule objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRoleEligibilitySchedule objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py index 429f0ecf983..8cb8513419b 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleSchedule request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py index e98bc5bf0f3..2c97c7bfbaa 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleSchedule request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/app_scope/app_scope_request_builder.py index 08d4958ae31..31ec8755d86 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/app_scope/app_scope_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AppScopeR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AppScopeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopeRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AppScope] = None, request_configuration: Optional[AppScopeRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AppScope] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py index 927070366e9..99eb90396f8 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/principal/principal_request_builder.py index 9fc03bcd566..d16290a5fae 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/principal/principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/role_definition/role_definition_request_builder.py index 0aeefefece0..78fe4aef260 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py index df4b485b39d..80cc874b727 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleAssignment] = None, request_configuration: Optional[UnifiedRoleAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleAssignment] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/transitive_role_assignments_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/transitive_role_assignments_request_builder.py index be6125f4215..73fe14adbd2 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/transitive_role_assignments_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/transitive_role_assignments_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[TransitiveRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleAssignment] = None, request_configuration: Optional[TransitiveRoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleAssignment] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/exchange/custom_app_scopes/custom_app_scopes_request_builder.py b/msgraph_beta/generated/role_management/exchange/custom_app_scopes/custom_app_scopes_request_builder.py index a37ae724801..27208154db0 100644 --- a/msgraph_beta/generated/role_management/exchange/custom_app_scopes/custom_app_scopes_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/custom_app_scopes/custom_app_scopes_request_builder.py @@ -45,7 +45,7 @@ def by_custom_app_scope_id(self,custom_app_scope_id: str) -> CustomAppScopeItemR async def get(self,request_configuration: Optional[CustomAppScopesRequestBuilderGetRequestConfiguration] = None) -> Optional[CustomAppScopeCollectionResponse]: """ - Get a list of customAppScope objects for an RBAC provider. Currently only the Exchange Online RBAC provider is supported. This API is available in the following national cloud deployments. + Get a list of customAppScope objects for an RBAC provider. Currently only the Exchange Online RBAC provider is supported. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomAppScopeCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedrbacapplication-list-customappscopes?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[CustomAppScopesRequestBuilder async def post(self,body: Optional[CustomAppScope] = None, request_configuration: Optional[CustomAppScopesRequestBuilderPostRequestConfiguration] = None) -> Optional[CustomAppScope]: """ - Create a new customAppScope object for an RBAC provider. Currently only the Exchange Online RBAC provider is supported. This API is available in the following national cloud deployments. + Create a new customAppScope object for an RBAC provider. Currently only the Exchange Online RBAC provider is supported. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomAppScope] @@ -92,7 +92,7 @@ async def post(self,body: Optional[CustomAppScope] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[CustomAppScopesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of customAppScope objects for an RBAC provider. Currently only the Exchange Online RBAC provider is supported. This API is available in the following national cloud deployments. + Get a list of customAppScope objects for an RBAC provider. Currently only the Exchange Online RBAC provider is supported. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[CustomAppSco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CustomAppScope] = None, request_configuration: Optional[CustomAppScopesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new customAppScope object for an RBAC provider. Currently only the Exchange Online RBAC provider is supported. This API is available in the following national cloud deployments. + Create a new customAppScope object for an RBAC provider. Currently only the Exchange Online RBAC provider is supported. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[CustomAppScope] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CustomAppScopesRequestBuilderGetQueryParameters(): """ - Get a list of customAppScope objects for an RBAC provider. Currently only the Exchange Online RBAC provider is supported. This API is available in the following national cloud deployments. + Get a list of customAppScope objects for an RBAC provider. Currently only the Exchange Online RBAC provider is supported. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/exchange/custom_app_scopes/item/custom_app_scope_item_request_builder.py b/msgraph_beta/generated/role_management/exchange/custom_app_scopes/item/custom_app_scope_item_request_builder.py index f76db7ad921..fde1b8298c7 100644 --- a/msgraph_beta/generated/role_management/exchange/custom_app_scopes/item/custom_app_scope_item_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/custom_app_scopes/item/custom_app_scope_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[CustomAppScopeItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a customAppScope object of an RBAC provider. Currently only the Exchange Online RBAC provider is supported. This API is available in the following national cloud deployments. + Delete a customAppScope object of an RBAC provider. Currently only the Exchange Online RBAC provider is supported. 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/customappscope-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[CustomAppScopeItemRequestB async def get(self,request_configuration: Optional[CustomAppScopeItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CustomAppScope]: """ - Get the properties of a customAppScope object for an RBAC provider. Currently only the Exchange Online RBAC provider is supported. This API is available in the following national cloud deployments. + Get the properties of a customAppScope object for an RBAC provider. Currently only the Exchange Online RBAC provider is supported. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomAppScope] Find more info here: https://learn.microsoft.com/graph/api/customappscope-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[CustomAppScopeItemRequestBuil async def patch(self,body: Optional[CustomAppScope] = None, request_configuration: Optional[CustomAppScopeItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[CustomAppScope]: """ - Update an existing customAppScope object of an RBAC provider. Currently only the Exchange Online RBAC provider is supported. This API is available in the following national cloud deployments. + Update an existing customAppScope object of an RBAC provider. Currently only the Exchange Online RBAC provider is supported. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomAppScope] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[CustomAppScope] = None, request_configuratio def to_delete_request_information(self,request_configuration: Optional[CustomAppScopeItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a customAppScope object of an RBAC provider. Currently only the Exchange Online RBAC provider is supported. This API is available in the following national cloud deployments. + Delete a customAppScope object of an RBAC provider. Currently only the Exchange Online RBAC provider is supported. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[CustomApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CustomAppScopeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties of a customAppScope object for an RBAC provider. Currently only the Exchange Online RBAC provider is supported. This API is available in the following national cloud deployments. + Get the properties of a customAppScope object for an RBAC provider. Currently only the Exchange Online RBAC provider is supported. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[CustomAppSco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CustomAppScope] = None, request_configuration: Optional[CustomAppScopeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update an existing customAppScope object of an RBAC provider. Currently only the Exchange Online RBAC provider is supported. This API is available in the following national cloud deployments. + Update an existing customAppScope object of an RBAC provider. Currently only the Exchange Online RBAC provider is supported. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[CustomAppScope] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class CustomAppScopeItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class CustomAppScopeItemRequestBuilderGetQueryParameters(): """ - Get the properties of a customAppScope object for an RBAC provider. Currently only the Exchange Online RBAC provider is supported. This API is available in the following national cloud deployments. + Get the properties of a customAppScope object for an RBAC provider. Currently only the Exchange Online RBAC provider is supported. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/exchange/exchange_request_builder.py b/msgraph_beta/generated/role_management/exchange/exchange_request_builder.py index 8466e44c0ff..22fdde64802 100644 --- a/msgraph_beta/generated/role_management/exchange/exchange_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/exchange_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[ExchangeR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExchangeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[ExchangeRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRbacApplication] = None, request_configuration: Optional[ExchangeRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRbacApplication] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py b/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py index 68be7a00057..274a917c2a6 100644 --- a/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ImportResourceActionsPostReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py b/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py index 1cf1044770e..52f05d2b888 100644 --- a/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AuthenticationContextRequestBuilder: diff --git a/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py b/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py index 362ba53f11b..cb1bd88dcf9 100644 --- a/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ResourceS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ResourceScopeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceScop request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRbacResourceScope] = None, request_configuration: Optional[ResourceScopeRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRbacResourceScope] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py b/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py index 68644b661bc..e64f9d9ad3c 100644 --- a/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[UnifiedRbacResourceActionI async def get(self,request_configuration: Optional[UnifiedRbacResourceActionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRbacResourceAction]: """ - Read the properties and relationships of an unifiedRbacResourceAction object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRbacResourceAction object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceAction] Find more info here: https://learn.microsoft.com/graph/api/unifiedrbacresourceaction-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRb request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRbacResourceActionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an unifiedRbacResourceAction object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRbacResourceAction object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRbacR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRbacResourceAction] = None, request_configuration: Optional[UnifiedRbacResourceActionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRbacResourceAction] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class UnifiedRbacResourceActionItemRequestBuilderDeleteRequestConfiguration(Base @dataclass class UnifiedRbacResourceActionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an unifiedRbacResourceAction object. This API is available in the following national cloud deployments. + Read the properties and relationships of an unifiedRbacResourceAction object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/resource_actions_request_builder.py b/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/resource_actions_request_builder.py index a68d628454e..00d3fd780c3 100644 --- a/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/resource_actions_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/resource_actions_request_builder.py @@ -45,7 +45,7 @@ def by_unified_rbac_resource_action_id(self,unified_rbac_resource_action_id: str async def get(self,request_configuration: Optional[ResourceActionsRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRbacResourceActionCollectionResponse]: """ - Get a list of the unifiedRbacResourceAction objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRbacResourceAction objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceActionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedrbacresourcenamespace-list-resourceactions?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[UnifiedRbacResourceAction] = None, request_co def to_get_request_information(self,request_configuration: Optional[ResourceActionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the unifiedRbacResourceAction objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRbacResourceAction objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceActi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRbacResourceAction] = None, request_configuration: Optional[ResourceActionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UnifiedRbacResourceAction] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ResourceActionsRequestBuilderGetQueryParameters(): """ - Get a list of the unifiedRbacResourceAction objects and their properties. This API is available in the following national cloud deployments. + Get a list of the unifiedRbacResourceAction objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py b/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py index 55a737559c4..e44a37a8033 100644 --- a/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRb request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRbacResourceNamespaceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRbacR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRbacResourceNamespace] = None, request_configuration: Optional[UnifiedRbacResourceNamespaceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRbacResourceNamespac request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/exchange/resource_namespaces/resource_namespaces_request_builder.py b/msgraph_beta/generated/role_management/exchange/resource_namespaces/resource_namespaces_request_builder.py index 72c603f26f0..975d726ea59 100644 --- a/msgraph_beta/generated/role_management/exchange/resource_namespaces/resource_namespaces_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/resource_namespaces/resource_namespaces_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceName request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRbacResourceNamespace] = None, request_configuration: Optional[ResourceNamespacesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UnifiedRbacResourceNamespace request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/exchange/role_assignments/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_assignments/item/app_scope/app_scope_request_builder.py index 55a70770d8e..2a0eeac350b 100644 --- a/msgraph_beta/generated/role_management/exchange/role_assignments/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_assignments/item/app_scope/app_scope_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AppScopeR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AppScopeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopeRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AppScope] = None, request_configuration: Optional[AppScopeRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AppScope] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/exchange/role_assignments/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_assignments/item/directory_scope/directory_scope_request_builder.py index 62e511703cb..3d6b2797fa6 100644 --- a/msgraph_beta/generated/role_management/exchange/role_assignments/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_assignments/item/directory_scope/directory_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/exchange/role_assignments/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_assignments/item/principal/principal_request_builder.py index 96009946155..9004b2086ab 100644 --- a/msgraph_beta/generated/role_management/exchange/role_assignments/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_assignments/item/principal/principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: diff --git a/msgraph_beta/generated/role_management/exchange/role_assignments/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_assignments/item/role_definition/role_definition_request_builder.py index 5085476d691..757fbd27d4c 100644 --- a/msgraph_beta/generated/role_management/exchange/role_assignments/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_assignments/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/role_management/exchange/role_assignments/item/unified_role_assignment_item_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_assignments/item/unified_role_assignment_item_request_builder.py index dcdb4fa5bc9..5e1168088fc 100644 --- a/msgraph_beta/generated/role_management/exchange/role_assignments/item/unified_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_assignments/item/unified_role_assignment_item_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[UnifiedRoleAssignmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + Delete a unifiedRoleAssignment object. 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/unifiedroleassignment-delete?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleAssignmentItemR async def get(self,request_configuration: Optional[UnifiedRoleAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignment]: """ - Retrieve the properties and relationships of a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a unifiedRoleAssignment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignment] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignment-get?view=graph-rest-1.0 @@ -98,7 +98,7 @@ async def patch(self,body: Optional[UnifiedRoleAssignment] = None, request_confi def to_delete_request_information(self,request_configuration: Optional[UnifiedRoleAssignmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + Delete a unifiedRoleAssignment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a unifiedRoleAssignment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleAssignment] = None, request_configuration: Optional[UnifiedRoleAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleAssignment] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -208,7 +208,7 @@ class UnifiedRoleAssignmentItemRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class UnifiedRoleAssignmentItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a unifiedRoleAssignment object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a unifiedRoleAssignment object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/exchange/role_assignments/role_assignments_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_assignments/role_assignments_request_builder.py index b535ee2bd5b..147e5792252 100644 --- a/msgraph_beta/generated/role_management/exchange/role_assignments/role_assignments_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_assignments/role_assignments_request_builder.py @@ -45,7 +45,7 @@ def by_unified_role_assignment_id(self,unified_role_assignment_id: str) -> Unifi async def get(self,request_configuration: Optional[RoleAssignmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleAssignmentCollectionResponse]: """ - Get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra entitlement management)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignments?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RoleAssignmentsRequestBuilder async def post(self,body: Optional[UnifiedRoleAssignment] = None, request_configuration: Optional[RoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[UnifiedRoleAssignment]: """ - Create a new unifiedRoleAssignment object. This API is available in the following national cloud deployments. + Create a new unifiedRoleAssignment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignment] @@ -92,7 +92,7 @@ async def post(self,body: Optional[UnifiedRoleAssignment] = None, request_config def to_get_request_information(self,request_configuration: Optional[RoleAssignmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra entitlement management)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[RoleAssignme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleAssignment] = None, request_configuration: Optional[RoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new unifiedRoleAssignment object. This API is available in the following national cloud deployments. + Create a new unifiedRoleAssignment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleAssignment] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleAssignmentsRequestBuilderGetQueryParameters(): """ - Get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleAssignment objects for the provider. The following RBAC providers are currently supported:- directory (Microsoft Entra ID)- entitlement management (Microsoft Entra entitlement management)- Exchange Online """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/exchange/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py index 4f952682918..b0fac0791ed 100644 --- a/msgraph_beta/generated/role_management/exchange/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignedPrin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder: diff --git a/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py index 82ce140cc36..ae774e5713b 100644 --- a/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[InheritsPerm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[InheritsPermissionsFromRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleDefinition] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py index 82ee23cbc75..f121d778177 100644 --- a/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignedPrin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder: diff --git a/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py index db1a4cbc97b..745a1e6c0ef 100644 --- a/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleDefinition] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/exchange/role_definitions/item/unified_role_definition_item_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_definitions/item/unified_role_definition_item_request_builder.py index ca17ca2cb79..f4f23631bdb 100644 --- a/msgraph_beta/generated/role_management/exchange/role_definitions/item/unified_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_definitions/item/unified_role_definition_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[UnifiedRoleDefinitionItemR async def get(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleDefinition]: """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] Find more info here: https://learn.microsoft.com/graph/api/unifiedroledefinition-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleDefinition] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online This API is available in the following national cloud deployments. + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/exchange/role_definitions/role_definitions_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_definitions/role_definitions_request_builder.py index ffeaf8949b5..0cf0c17ab20 100644 --- a/msgraph_beta/generated/role_management/exchange/role_definitions/role_definitions_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_definitions/role_definitions_request_builder.py @@ -45,7 +45,7 @@ def by_unified_role_definition_id(self,unified_role_definition_id: str) -> Unifi async def get(self,request_configuration: Optional[RoleDefinitionsRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedRoleDefinitionCollectionResponse]: """ - Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roledefinitions?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[UnifiedRoleDefinition] = None, request_config def to_get_request_information(self,request_configuration: Optional[RoleDefinitionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleDefinition] = None, request_configuration: Optional[RoleDefinitionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleDefinition] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleDefinitionsRequestBuilderGetQueryParameters(): """ - Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online This API is available in the following national cloud deployments. + Get a list of unifiedRoleDefinition objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra ID) - entitlement management (Microsoft Entra ID)- Exchange Online """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/app_scope/app_scope_request_builder.py index 9d6a6a82240..4fa263c744c 100644 --- a/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/app_scope/app_scope_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AppScopeR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AppScopeRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AppScopeRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AppScope] = None, request_configuration: Optional[AppScopeRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AppScope] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py index 140e8c58e82..9c8186bbd72 100644 --- a/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryScopeRequestBuilder: diff --git a/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/principal/principal_request_builder.py index c6c1b6acfa2..b61bd546d3b 100644 --- a/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/principal/principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PrincipalReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PrincipalRequestBuilder: diff --git a/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/role_definition/role_definition_request_builder.py index 22643dff78d..e99dc1c1f87 100644 --- a/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/role_definition/role_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RoleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py b/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py index a984e9d47c7..8ecc5729284 100644 --- a/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedRoleAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedRoleA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedRoleAssignment] = None, request_configuration: Optional[UnifiedRoleAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[UnifiedRoleAssignment] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/transitive_role_assignments_request_builder.py b/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/transitive_role_assignments_request_builder.py index d2b5103772c..bf977f41177 100644 --- a/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/transitive_role_assignments_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/transitive_role_assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[TransitiveRo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedRoleAssignment] = None, request_configuration: Optional[TransitiveRoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UnifiedRoleAssignment] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/role_management/role_management_request_builder.py b/msgraph_beta/generated/role_management/role_management_request_builder.py index c78ef2a8a5c..0e023b33ab2 100644 --- a/msgraph_beta/generated/role_management/role_management_request_builder.py +++ b/msgraph_beta/generated/role_management/role_management_request_builder.py @@ -91,7 +91,7 @@ def to_get_request_information(self,request_configuration: Optional[RoleManageme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RoleManagement] = None, request_configuration: Optional[RoleManagementRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -110,7 +110,7 @@ def to_patch_request_information(self,body: Optional[RoleManagement] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/schema_extensions/item/schema_extension_item_request_builder.py b/msgraph_beta/generated/schema_extensions/item/schema_extension_item_request_builder.py index e235f699bef..bf31a33dd12 100644 --- a/msgraph_beta/generated/schema_extensions/item/schema_extension_item_request_builder.py +++ b/msgraph_beta/generated/schema_extensions/item/schema_extension_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[SchemaExtensionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete the definition of a schema extension. Only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition does not affect accessing custom data that has been added to resource instances based on that definition. This API is available in the following national cloud deployments. + Delete the definition of a schema extension. Only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition does not affect accessing custom data that has been added to resource instances based on that definition. 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/schemaextension-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[SchemaExtensionItemRequest async def get(self,request_configuration: Optional[SchemaExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SchemaExtension]: """ - Get the properties of the specified schemaExtension definition. This API is available in the following national cloud deployments. + Get the properties of the specified schemaExtension definition. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SchemaExtension] Find more info here: https://learn.microsoft.com/graph/api/schemaextension-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[SchemaExtensionItemRequestBui async def patch(self,body: Optional[SchemaExtension] = None, request_configuration: Optional[SchemaExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[SchemaExtension]: """ - Update properties in the definition of the specified schemaExtension. Additive updates to the extension can only be made when the extension is in the InDevelopment or Available status. This means custom properties or target resource types cannot be removed from the definition, but new custom properties can be added and the description of the extension changed. The update applies to all the resources that are included in the targetTypes property of the extension. These resources are among the supporting resource types. For delegated flows, the signed-in user can update a schema extension as long as the owner property of the extension is set to the appId of an application the signed-in user owns. That application can be the one that initially created the extension, or some other application owned by the signed-in user. This criteria for the owner property allows a signed-in user to make updates through other applications they don't own, such as Microsoft Graph Explorer. When using Graph Explorer to update a schemaExtension resource, include the owner property in the PATCH request body. This API is available in the following national cloud deployments. + Update properties in the definition of the specified schemaExtension. Additive updates to the extension can only be made when the extension is in the InDevelopment or Available status. This means custom properties or target resource types cannot be removed from the definition, but new custom properties can be added and the description of the extension changed. The update applies to all the resources that are included in the targetTypes property of the extension. These resources are among the supporting resource types. For delegated flows, the signed-in user can update a schema extension as long as the owner property of the extension is set to the appId of an application the signed-in user owns. That application can be the one that initially created the extension, or some other application owned by the signed-in user. This criteria for the owner property allows a signed-in user to make updates through other applications they don't own, such as Microsoft Graph Explorer. When using Graph Explorer to update a schemaExtension resource, include the owner property in the PATCH request body. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SchemaExtension] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[SchemaExtension] = None, request_configurati def to_delete_request_information(self,request_configuration: Optional[SchemaExtensionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete the definition of a schema extension. Only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition does not affect accessing custom data that has been added to resource instances based on that definition. This API is available in the following national cloud deployments. + Delete the definition of a schema extension. Only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition does not affect accessing custom data that has been added to resource instances based on that definition. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[SchemaExt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SchemaExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties of the specified schemaExtension definition. This API is available in the following national cloud deployments. + Get the properties of the specified schemaExtension definition. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[SchemaExtens request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SchemaExtension] = None, request_configuration: Optional[SchemaExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update properties in the definition of the specified schemaExtension. Additive updates to the extension can only be made when the extension is in the InDevelopment or Available status. This means custom properties or target resource types cannot be removed from the definition, but new custom properties can be added and the description of the extension changed. The update applies to all the resources that are included in the targetTypes property of the extension. These resources are among the supporting resource types. For delegated flows, the signed-in user can update a schema extension as long as the owner property of the extension is set to the appId of an application the signed-in user owns. That application can be the one that initially created the extension, or some other application owned by the signed-in user. This criteria for the owner property allows a signed-in user to make updates through other applications they don't own, such as Microsoft Graph Explorer. When using Graph Explorer to update a schemaExtension resource, include the owner property in the PATCH request body. This API is available in the following national cloud deployments. + Update properties in the definition of the specified schemaExtension. Additive updates to the extension can only be made when the extension is in the InDevelopment or Available status. This means custom properties or target resource types cannot be removed from the definition, but new custom properties can be added and the description of the extension changed. The update applies to all the resources that are included in the targetTypes property of the extension. These resources are among the supporting resource types. For delegated flows, the signed-in user can update a schema extension as long as the owner property of the extension is set to the appId of an application the signed-in user owns. That application can be the one that initially created the extension, or some other application owned by the signed-in user. This criteria for the owner property allows a signed-in user to make updates through other applications they don't own, such as Microsoft Graph Explorer. When using Graph Explorer to update a schemaExtension resource, include the owner property in the PATCH request body. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[SchemaExtension] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class SchemaExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestCon @dataclass class SchemaExtensionItemRequestBuilderGetQueryParameters(): """ - Get the properties of the specified schemaExtension definition. This API is available in the following national cloud deployments. + Get the properties of the specified schemaExtension definition. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/schema_extensions/schema_extensions_request_builder.py b/msgraph_beta/generated/schema_extensions/schema_extensions_request_builder.py index 7baecb0cbc1..a676341c884 100644 --- a/msgraph_beta/generated/schema_extensions/schema_extensions_request_builder.py +++ b/msgraph_beta/generated/schema_extensions/schema_extensions_request_builder.py @@ -45,7 +45,7 @@ def by_schema_extension_id(self,schema_extension_id: str) -> SchemaExtensionItem async def get(self,request_configuration: Optional[SchemaExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[SchemaExtensionCollectionResponse]: """ - Get a list of schemaExtension objects in your tenant. The schema extensions can be InDevelopment, Available, or Deprecated and includes schema extensions:+ Created by any apps you own in the current tenant.+ Owned by other apps that are marked as Available.+ Created by other developers from other tenants and marked as Available. This is different from other APIs that only return tenant-specific data. Extension data created based on schema extension definitions is tenant-specific and can only be accessed by apps explicitly granted permission. This API is available in the following national cloud deployments. + Get a list of schemaExtension objects in your tenant. The schema extensions can be InDevelopment, Available, or Deprecated and includes schema extensions:+ Created by any apps you own in the current tenant.+ Owned by other apps that are marked as Available.+ Created by other developers from other tenants and marked as Available. This is different from other APIs that only return tenant-specific data. Extension data created based on schema extension definitions is tenant-specific and can only be accessed by apps explicitly granted permission. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SchemaExtensionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/schemaextension-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SchemaExtensionsRequestBuilde async def post(self,body: Optional[SchemaExtension] = None, request_configuration: Optional[SchemaExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[SchemaExtension]: """ - Create a new schemaExtension definition and its associated schema extension property to extend a supporting resource type. Schema extensions let you add strongly-typed custom data to a resource. The app that creates a schema extension is the owner app. Depending on the state of the extension, the owner app, and only the owner app, may update or delete the extension. See examples of how to define a schema extension that describes a training course, use the schema extension definition to create a new group with training course data, and add training course data to an existing group. This API is available in the following national cloud deployments. + Create a new schemaExtension definition and its associated schema extension property to extend a supporting resource type. Schema extensions let you add strongly-typed custom data to a resource. The app that creates a schema extension is the owner app. Depending on the state of the extension, the owner app, and only the owner app, may update or delete the extension. See examples of how to define a schema extension that describes a training course, use the schema extension definition to create a new group with training course data, and add training course data to an existing group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SchemaExtension] @@ -92,7 +92,7 @@ async def post(self,body: Optional[SchemaExtension] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[SchemaExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of schemaExtension objects in your tenant. The schema extensions can be InDevelopment, Available, or Deprecated and includes schema extensions:+ Created by any apps you own in the current tenant.+ Owned by other apps that are marked as Available.+ Created by other developers from other tenants and marked as Available. This is different from other APIs that only return tenant-specific data. Extension data created based on schema extension definitions is tenant-specific and can only be accessed by apps explicitly granted permission. This API is available in the following national cloud deployments. + Get a list of schemaExtension objects in your tenant. The schema extensions can be InDevelopment, Available, or Deprecated and includes schema extensions:+ Created by any apps you own in the current tenant.+ Owned by other apps that are marked as Available.+ Created by other developers from other tenants and marked as Available. This is different from other APIs that only return tenant-specific data. Extension data created based on schema extension definitions is tenant-specific and can only be accessed by apps explicitly granted permission. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SchemaExtens request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SchemaExtension] = None, request_configuration: Optional[SchemaExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new schemaExtension definition and its associated schema extension property to extend a supporting resource type. Schema extensions let you add strongly-typed custom data to a resource. The app that creates a schema extension is the owner app. Depending on the state of the extension, the owner app, and only the owner app, may update or delete the extension. See examples of how to define a schema extension that describes a training course, use the schema extension definition to create a new group with training course data, and add training course data to an existing group. This API is available in the following national cloud deployments. + Create a new schemaExtension definition and its associated schema extension property to extend a supporting resource type. Schema extensions let you add strongly-typed custom data to a resource. The app that creates a schema extension is the owner app. Depending on the state of the extension, the owner app, and only the owner app, may update or delete the extension. See examples of how to define a schema extension that describes a training course, use the schema extension definition to create a new group with training course data, and add training course data to an existing group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[SchemaExtension] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SchemaExtensionsRequestBuilderGetQueryParameters(): """ - Get a list of schemaExtension objects in your tenant. The schema extensions can be InDevelopment, Available, or Deprecated and includes schema extensions:+ Created by any apps you own in the current tenant.+ Owned by other apps that are marked as Available.+ Created by other developers from other tenants and marked as Available. This is different from other APIs that only return tenant-specific data. Extension data created based on schema extension definitions is tenant-specific and can only be accessed by apps explicitly granted permission. This API is available in the following national cloud deployments. + Get a list of schemaExtension objects in your tenant. The schema extensions can be InDevelopment, Available, or Deprecated and includes schema extensions:+ Created by any apps you own in the current tenant.+ Owned by other apps that are marked as Available.+ Created by other developers from other tenants and marked as Available. This is different from other APIs that only return tenant-specific data. Extension data created based on schema extension definitions is tenant-specific and can only be accessed by apps explicitly granted permission. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/scoped_role_memberships/item/scoped_role_membership_item_request_builder.py b/msgraph_beta/generated/scoped_role_memberships/item/scoped_role_membership_item_request_builder.py index e9f14a7ba43..25b76823e2d 100644 --- a/msgraph_beta/generated/scoped_role_memberships/item/scoped_role_membership_item_request_builder.py +++ b/msgraph_beta/generated/scoped_role_memberships/item/scoped_role_membership_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ScopedRol request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ScopedRoleMembershipItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ScopedRoleMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ScopedRoleMembership] = None, request_configuration: Optional[ScopedRoleMembershipItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ScopedRoleMembership] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/scoped_role_memberships/scoped_role_memberships_request_builder.py b/msgraph_beta/generated/scoped_role_memberships/scoped_role_memberships_request_builder.py index 359d8bf2ce4..f5000082436 100644 --- a/msgraph_beta/generated/scoped_role_memberships/scoped_role_memberships_request_builder.py +++ b/msgraph_beta/generated/scoped_role_memberships/scoped_role_memberships_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ScopedRoleMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ScopedRoleMembership] = None, request_configuration: Optional[ScopedRoleMembershipsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ScopedRoleMembership] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/search/acronyms/acronyms_request_builder.py b/msgraph_beta/generated/search/acronyms/acronyms_request_builder.py index e6013413c1d..6523b7938b2 100644 --- a/msgraph_beta/generated/search/acronyms/acronyms_request_builder.py +++ b/msgraph_beta/generated/search/acronyms/acronyms_request_builder.py @@ -45,7 +45,7 @@ def by_acronym_id(self,acronym_id: str) -> AcronymItemRequestBuilder: async def get(self,request_configuration: Optional[AcronymsRequestBuilderGetRequestConfiguration] = None) -> Optional[AcronymCollectionResponse]: """ - Get a list of the acronym objects and their properties. This API is available in the following national cloud deployments. + Get a list of the acronym objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AcronymCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/search-searchentity-list-acronyms?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AcronymsRequestBuilderGetRequ async def post(self,body: Optional[Acronym] = None, request_configuration: Optional[AcronymsRequestBuilderPostRequestConfiguration] = None) -> Optional[Acronym]: """ - Create a new acronym object. This API is available in the following national cloud deployments. + Create a new acronym object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Acronym] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Acronym] = None, request_configuration: Optio def to_get_request_information(self,request_configuration: Optional[AcronymsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the acronym objects and their properties. This API is available in the following national cloud deployments. + Get a list of the acronym objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[AcronymsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Acronym] = None, request_configuration: Optional[AcronymsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new acronym object. This API is available in the following national cloud deployments. + Create a new acronym object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Acronym] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AcronymsRequestBuilderGetQueryParameters(): """ - Get a list of the acronym objects and their properties. This API is available in the following national cloud deployments. + Get a list of the acronym objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/search/acronyms/item/acronym_item_request_builder.py b/msgraph_beta/generated/search/acronyms/item/acronym_item_request_builder.py index 8c3f3e103bf..9d70bc4fc87 100644 --- a/msgraph_beta/generated/search/acronyms/item/acronym_item_request_builder.py +++ b/msgraph_beta/generated/search/acronyms/item/acronym_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AcronymItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes an acronym object. This API is available in the following national cloud deployments. + Deletes an acronym object. 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/search-acronym-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AcronymItemRequestBuilderD async def get(self,request_configuration: Optional[AcronymItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Acronym]: """ - Read the properties and relationships of an acronym object. This API is available in the following national cloud deployments. + Read the properties and relationships of an acronym object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Acronym] Find more info here: https://learn.microsoft.com/graph/api/search-acronym-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AcronymItemRequestBuilderGetR async def patch(self,body: Optional[Acronym] = None, request_configuration: Optional[AcronymItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Acronym]: """ - Update the properties of an acronym object. This API is available in the following national cloud deployments. + Update the properties of an acronym object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Acronym] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[Acronym] = None, request_configuration: Opti def to_delete_request_information(self,request_configuration: Optional[AcronymItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes an acronym object. This API is available in the following national cloud deployments. + Deletes an acronym object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[AcronymIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AcronymItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an acronym object. This API is available in the following national cloud deployments. + Read the properties and relationships of an acronym object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[AcronymItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Acronym] = None, request_configuration: Optional[AcronymItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an acronym object. This API is available in the following national cloud deployments. + Update the properties of an acronym object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Acronym] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class AcronymItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurati @dataclass class AcronymItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an acronym object. This API is available in the following national cloud deployments. + Read the properties and relationships of an acronym object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/search/bookmarks/bookmarks_request_builder.py b/msgraph_beta/generated/search/bookmarks/bookmarks_request_builder.py index 618da0418cc..f3751a9dd90 100644 --- a/msgraph_beta/generated/search/bookmarks/bookmarks_request_builder.py +++ b/msgraph_beta/generated/search/bookmarks/bookmarks_request_builder.py @@ -45,7 +45,7 @@ def by_bookmark_id(self,bookmark_id: str) -> BookmarkItemRequestBuilder: async def get(self,request_configuration: Optional[BookmarksRequestBuilderGetRequestConfiguration] = None) -> Optional[BookmarkCollectionResponse]: """ - Get a list of bookmark objects and their properties. This API is available in the following national cloud deployments. + Get a list of bookmark objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BookmarkCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/search-searchentity-list-bookmarks?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[BookmarksRequestBuilderGetReq async def post(self,body: Optional[Bookmark] = None, request_configuration: Optional[BookmarksRequestBuilderPostRequestConfiguration] = None) -> Optional[Bookmark]: """ - Create a new bookmark object. This API is available in the following national cloud deployments. + Create a new bookmark object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Bookmark] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Bookmark] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[BookmarksRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of bookmark objects and their properties. This API is available in the following national cloud deployments. + Get a list of bookmark objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[BookmarksReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Bookmark] = None, request_configuration: Optional[BookmarksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new bookmark object. This API is available in the following national cloud deployments. + Create a new bookmark object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Bookmark] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class BookmarksRequestBuilderGetQueryParameters(): """ - Get a list of bookmark objects and their properties. This API is available in the following national cloud deployments. + Get a list of bookmark objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/search/bookmarks/item/bookmark_item_request_builder.py b/msgraph_beta/generated/search/bookmarks/item/bookmark_item_request_builder.py index 8dd807e4d8c..16bf45edd8a 100644 --- a/msgraph_beta/generated/search/bookmarks/item/bookmark_item_request_builder.py +++ b/msgraph_beta/generated/search/bookmarks/item/bookmark_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[BookmarkItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a bookmark object. This API is available in the following national cloud deployments. + Delete a bookmark object. 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/search-bookmark-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[BookmarkItemRequestBuilder async def get(self,request_configuration: Optional[BookmarkItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Bookmark]: """ - Read the properties and relationships of a bookmark object. This API is available in the following national cloud deployments. + Read the properties and relationships of a bookmark object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Bookmark] Find more info here: https://learn.microsoft.com/graph/api/search-bookmark-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[BookmarkItemRequestBuilderGet async def patch(self,body: Optional[Bookmark] = None, request_configuration: Optional[BookmarkItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Bookmark]: """ - Update the properties of a bookmark object. This API is available in the following national cloud deployments. + Update the properties of a bookmark object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Bookmark] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[Bookmark] = None, request_configuration: Opt def to_delete_request_information(self,request_configuration: Optional[BookmarkItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a bookmark object. This API is available in the following national cloud deployments. + Delete a bookmark object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[BookmarkI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BookmarkItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a bookmark object. This API is available in the following national cloud deployments. + Read the properties and relationships of a bookmark object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[BookmarkItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Bookmark] = None, request_configuration: Optional[BookmarkItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a bookmark object. This API is available in the following national cloud deployments. + Update the properties of a bookmark object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Bookmark] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class BookmarkItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class BookmarkItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a bookmark object. This API is available in the following national cloud deployments. + Read the properties and relationships of a bookmark object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/search/qnas/item/qna_item_request_builder.py b/msgraph_beta/generated/search/qnas/item/qna_item_request_builder.py index 6351502cc7b..f818fb54063 100644 --- a/msgraph_beta/generated/search/qnas/item/qna_item_request_builder.py +++ b/msgraph_beta/generated/search/qnas/item/qna_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[QnaItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a qna object. This API is available in the following national cloud deployments. + Delete a qna object. 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/search-qna-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[QnaItemRequestBuilderDelet async def get(self,request_configuration: Optional[QnaItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Qna]: """ - Read the properties and relationships of a qna object. This API is available in the following national cloud deployments. + Read the properties and relationships of a qna object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Qna] Find more info here: https://learn.microsoft.com/graph/api/search-qna-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[QnaItemRequestBuilderGetReque async def patch(self,body: Optional[Qna] = None, request_configuration: Optional[QnaItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Qna]: """ - Update the properties of a qna object. This API is available in the following national cloud deployments. + Update the properties of a qna object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Qna] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[Qna] = None, request_configuration: Optional def to_delete_request_information(self,request_configuration: Optional[QnaItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a qna object. This API is available in the following national cloud deployments. + Delete a qna object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[QnaItemRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[QnaItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a qna object. This API is available in the following national cloud deployments. + Read the properties and relationships of a qna object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[QnaItemReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Qna] = None, request_configuration: Optional[QnaItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a qna object. This API is available in the following national cloud deployments. + Update the properties of a qna object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Qna] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class QnaItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class QnaItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a qna object. This API is available in the following national cloud deployments. + Read the properties and relationships of a qna object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/search/qnas/qnas_request_builder.py b/msgraph_beta/generated/search/qnas/qnas_request_builder.py index 67b19dc2eae..a935c78e446 100644 --- a/msgraph_beta/generated/search/qnas/qnas_request_builder.py +++ b/msgraph_beta/generated/search/qnas/qnas_request_builder.py @@ -45,7 +45,7 @@ def by_qna_id(self,qna_id: str) -> QnaItemRequestBuilder: async def get(self,request_configuration: Optional[QnasRequestBuilderGetRequestConfiguration] = None) -> Optional[QnaCollectionResponse]: """ - Get a list of the qna objects and their properties. This API is available in the following national cloud deployments. + Get a list of the qna objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[QnaCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/search-searchentity-list-qnas?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[QnasRequestBuilderGetRequestC async def post(self,body: Optional[Qna] = None, request_configuration: Optional[QnasRequestBuilderPostRequestConfiguration] = None) -> Optional[Qna]: """ - Create a new qna object. This API is available in the following national cloud deployments. + Create a new qna object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Qna] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Qna] = None, request_configuration: Optional[ def to_get_request_information(self,request_configuration: Optional[QnasRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the qna objects and their properties. This API is available in the following national cloud deployments. + Get a list of the qna objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[QnasRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Qna] = None, request_configuration: Optional[QnasRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new qna object. This API is available in the following national cloud deployments. + Create a new qna object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Qna] = None, request_configu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class QnasRequestBuilderGetQueryParameters(): """ - Get a list of the qna objects and their properties. This API is available in the following national cloud deployments. + Get a list of the qna objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/search/query/query_request_builder.py b/msgraph_beta/generated/search/query/query_request_builder.py index 6f695ad48e8..69d4866d4f6 100644 --- a/msgraph_beta/generated/search/query/query_request_builder.py +++ b/msgraph_beta/generated/search/query/query_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[QueryPostRequestBody] = None, request_configuration: Optional[QueryRequestBuilderPostRequestConfiguration] = None) -> Optional[QueryPostResponse]: """ - Run a specified search query. Search results are provided in the response. This API is available in the following national cloud deployments. + Run a specified search query. Search results are provided in the response. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[QueryPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[QueryPostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[QueryPostRequestBody] = None, request_configuration: Optional[QueryRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Run a specified search query. Search results are provided in the response. This API is available in the following national cloud deployments. + Run a specified search query. Search results are provided in the response. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[QueryPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/search/search_request_builder.py b/msgraph_beta/generated/search/search_request_builder.py index ff2dba21d0d..a6a5e22f4a4 100644 --- a/msgraph_beta/generated/search/search_request_builder.py +++ b/msgraph_beta/generated/search/search_request_builder.py @@ -89,7 +89,7 @@ def to_get_request_information(self,request_configuration: Optional[SearchReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SearchEntity] = None, request_configuration: Optional[SearchRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -108,7 +108,7 @@ def to_patch_request_information(self,body: Optional[SearchEntity] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/alerts/alerts_request_builder.py b/msgraph_beta/generated/security/alerts/alerts_request_builder.py index 617d3787ccf..b3910bfbba0 100644 --- a/msgraph_beta/generated/security/alerts/alerts_request_builder.py +++ b/msgraph_beta/generated/security/alerts/alerts_request_builder.py @@ -46,7 +46,7 @@ def by_alert_id(self,alert_id: str) -> AlertItemRequestBuilder: async def get(self,request_configuration: Optional[AlertsRequestBuilderGetRequestConfiguration] = None) -> Optional[AlertCollectionResponse]: """ - Retrieve a list of alert objects. This API is available in the following national cloud deployments. + Retrieve a list of alert objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AlertCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/alert-list?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[Alert] = None, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[AlertsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of alert objects. This API is available in the following national cloud deployments. + Retrieve a list of alert objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[AlertsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Alert] = None, request_configuration: Optional[AlertsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Alert] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def update_alerts(self) -> UpdateAlertsRequestBuilder: @dataclass class AlertsRequestBuilderGetQueryParameters(): """ - Retrieve a list of alert objects. This API is available in the following national cloud deployments. + Retrieve a list of alert objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/alerts/item/alert_item_request_builder.py b/msgraph_beta/generated/security/alerts/item/alert_item_request_builder.py index fe77e91dcd5..2049deb8b2b 100644 --- a/msgraph_beta/generated/security/alerts/item/alert_item_request_builder.py +++ b/msgraph_beta/generated/security/alerts/item/alert_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[AlertItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Alert]: """ - Retrieve the properties and relationships of an alert object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an alert object. 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/alert-get?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[AlertItemRequestBuilderGetReq async def patch(self,body: Optional[Alert] = None, request_configuration: Optional[AlertItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Alert]: """ - Update an editable alert property within any integrated solution to keep alert status and assignments in sync across solutions. This method updates any solution that has a record of the referenced alert ID. This API is available in the following national cloud deployments. + Update an editable alert property within any integrated solution to keep alert status and assignments in sync across solutions. This method updates any solution that has a record of the referenced alert ID. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Alert] @@ -75,7 +75,7 @@ async def patch(self,body: Optional[Alert] = None, request_configuration: Option def to_get_request_information(self,request_configuration: Optional[AlertItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an alert object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an alert object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -87,12 +87,12 @@ def to_get_request_information(self,request_configuration: Optional[AlertItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Alert] = None, request_configuration: Optional[AlertItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update an editable alert property within any integrated solution to keep alert status and assignments in sync across solutions. This method updates any solution that has a record of the referenced alert ID. This API is available in the following national cloud deployments. + Update an editable alert property within any integrated solution to keep alert status and assignments in sync across solutions. This method updates any solution that has a record of the referenced alert ID. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -106,7 +106,7 @@ def to_patch_request_information(self,body: Optional[Alert] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -123,7 +123,7 @@ def with_url(self,raw_url: Optional[str] = None) -> AlertItemRequestBuilder: @dataclass class AlertItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an alert object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an alert object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/alerts/update_alerts/update_alerts_request_builder.py b/msgraph_beta/generated/security/alerts/update_alerts/update_alerts_request_builder.py index d7214f64f7b..7696199c391 100644 --- a/msgraph_beta/generated/security/alerts/update_alerts/update_alerts_request_builder.py +++ b/msgraph_beta/generated/security/alerts/update_alerts/update_alerts_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UpdateAlertsPostRequestBody] = None, request_configuration: Optional[UpdateAlertsRequestBuilderPostRequestConfiguration] = None) -> Optional[UpdateAlertsPostResponse]: """ - Update multiple alerts in one request instead of multiple requests. This API is available in the following national cloud deployments. + Update multiple alerts in one request instead of multiple requests. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UpdateAlertsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[UpdateAlertsPostRequestBody] = None, request_ def to_post_request_information(self,body: Optional[UpdateAlertsPostRequestBody] = None, request_configuration: Optional[UpdateAlertsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Update multiple alerts in one request instead of multiple requests. This API is available in the following national cloud deployments. + Update multiple alerts in one request instead of multiple requests. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[UpdateAlertsPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 e0b60031c4b..21121f458f0 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 @@ -45,7 +45,7 @@ def by_alert_id(self,alert_id: str) -> AlertItemRequestBuilder: async def get(self,request_configuration: Optional[Alerts_v2RequestBuilderGetRequestConfiguration] = None) -> Optional[AlertCollectionResponse]: """ - Get a list of alert resources that have been created to track suspicious activities in an organization. This operation lets you filter and sort through alerts to create an informed cyber security response. It exposes a collection of alerts that were flagged in your network, within the time range you specified in your environment retention policy. The most recent alerts are displayed at the top of the list. This API is available in the following national cloud deployments. + Get a list of alert resources that have been created to track suspicious activities in an organization. This operation lets you filter and sort through alerts to create an informed cyber security response. It exposes a collection of alerts that were flagged in your network, within the time range you specified in your environment retention policy. The most recent alerts are displayed at the top of the list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AlertCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-list-alerts_v2?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[Alert] = None, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[Alerts_v2RequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of alert resources that have been created to track suspicious activities in an organization. This operation lets you filter and sort through alerts to create an informed cyber security response. It exposes a collection of alerts that were flagged in your network, within the time range you specified in your environment retention policy. The most recent alerts are displayed at the top of the list. This API is available in the following national cloud deployments. + Get a list of alert resources that have been created to track suspicious activities in an organization. This operation lets you filter and sort through alerts to create an informed cyber security response. It exposes a collection of alerts that were flagged in your network, within the time range you specified in your environment retention policy. The most recent alerts are displayed at the top of the list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[Alerts_v2Req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Alert] = None, request_configuration: Optional[Alerts_v2RequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Alert] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class Alerts_v2RequestBuilderGetQueryParameters(): """ - Get a list of alert resources that have been created to track suspicious activities in an organization. This operation lets you filter and sort through alerts to create an informed cyber security response. It exposes a collection of alerts that were flagged in your network, within the time range you specified in your environment retention policy. The most recent alerts are displayed at the top of the list. This API is available in the following national cloud deployments. + Get a list of alert resources that have been created to track suspicious activities in an organization. This operation lets you filter and sort through alerts to create an informed cyber security response. It exposes a collection of alerts that were flagged in your network, within the time range you specified in your environment retention policy. The most recent alerts are displayed at the top of the list. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/alerts_v2/item/alert_item_request_builder.py b/msgraph_beta/generated/security/alerts_v2/item/alert_item_request_builder.py index 90b34a3a1d0..d495d900fbf 100644 --- a/msgraph_beta/generated/security/alerts_v2/item/alert_item_request_builder.py +++ b/msgraph_beta/generated/security/alerts_v2/item/alert_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AlertItemRequestBuilderDel async def get(self,request_configuration: Optional[AlertItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Alert]: """ - Get the properties and relationships of an alert in an organization based on the specified alert id property. This API is available in the following national cloud deployments. + Get the properties and relationships of an alert in an organization based on the specified alert id property. 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-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AlertItemRequestBuilderGetReq async def patch(self,body: Optional[Alert] = None, request_configuration: Optional[AlertItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Alert]: """ - Update the properties of an alert object in an organization based on the specified alert id property. This API is available in the following national cloud deployments. + Update the properties of an alert object in an organization based on the specified alert id property. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Alert] @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[AlertItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AlertItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of an alert in an organization based on the specified alert id property. This API is available in the following national cloud deployments. + Get the properties and relationships of an alert in an organization based on the specified alert id property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[AlertItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Alert] = None, request_configuration: Optional[AlertItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an alert object in an organization based on the specified alert id property. This API is available in the following national cloud deployments. + Update the properties of an alert object in an organization based on the specified alert id property. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Alert] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class AlertItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration @dataclass class AlertItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of an alert in an organization based on the specified alert id property. This API is available in the following national cloud deployments. + Get the properties and relationships of an alert in an organization based on the specified alert id property. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/alerts_v2/item/comments/comments_request_builder.py b/msgraph_beta/generated/security/alerts_v2/item/comments/comments_request_builder.py index ff9007d451f..20cc068dd23 100644 --- a/msgraph_beta/generated/security/alerts_v2/item/comments/comments_request_builder.py +++ b/msgraph_beta/generated/security/alerts_v2/item/comments/comments_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[List[AlertComment]] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/attack_simulation/attack_simulation_request_builder.py b/msgraph_beta/generated/security/attack_simulation/attack_simulation_request_builder.py index 9f8573955d3..06615d1b232 100644 --- a/msgraph_beta/generated/security/attack_simulation/attack_simulation_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/attack_simulation_request_builder.py @@ -111,7 +111,7 @@ def to_delete_request_information(self,request_configuration: Optional[AttackSim request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttackSimulationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -128,7 +128,7 @@ def to_get_request_information(self,request_configuration: Optional[AttackSimula request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AttackSimulationRoot] = None, request_configuration: Optional[AttackSimulationRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[AttackSimulationRoot] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/attack_simulation/end_user_notifications/end_user_notifications_request_builder.py b/msgraph_beta/generated/security/attack_simulation/end_user_notifications/end_user_notifications_request_builder.py index 5af98618641..37515d1c7b3 100644 --- a/msgraph_beta/generated/security/attack_simulation/end_user_notifications/end_user_notifications_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/end_user_notifications/end_user_notifications_request_builder.py @@ -45,7 +45,7 @@ def by_end_user_notification_id(self,end_user_notification_id: str) -> EndUserNo async def get(self,request_configuration: Optional[EndUserNotificationsRequestBuilderGetRequestConfiguration] = None) -> Optional[EndUserNotificationCollectionResponse]: """ - Get a list of endUserNotification objects and their properties. This API is available in the following national cloud deployments. + Get a list of endUserNotification objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EndUserNotificationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/attacksimulationroot-list-endusernotifications?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[EndUserNotification] = None, request_configur def to_get_request_information(self,request_configuration: Optional[EndUserNotificationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of endUserNotification objects and their properties. This API is available in the following national cloud deployments. + Get a list of endUserNotification objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[EndUserNotif request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EndUserNotification] = None, request_configuration: Optional[EndUserNotificationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[EndUserNotification] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class EndUserNotificationsRequestBuilderGetQueryParameters(): """ - Get a list of endUserNotification objects and their properties. This API is available in the following national cloud deployments. + Get a list of endUserNotification objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/attack_simulation/end_user_notifications/item/details/details_request_builder.py b/msgraph_beta/generated/security/attack_simulation/end_user_notifications/item/details/details_request_builder.py index 492aa8d98b2..245e5d72651 100644 --- a/msgraph_beta/generated/security/attack_simulation/end_user_notifications/item/details/details_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/end_user_notifications/item/details/details_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DetailsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EndUserNotificationDetail] = None, request_configuration: Optional[DetailsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[EndUserNotificationDetail] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/attack_simulation/end_user_notifications/item/details/item/end_user_notification_detail_item_request_builder.py b/msgraph_beta/generated/security/attack_simulation/end_user_notifications/item/details/item/end_user_notification_detail_item_request_builder.py index 9cf52462402..5ba1d7426d1 100644 --- a/msgraph_beta/generated/security/attack_simulation/end_user_notifications/item/details/item/end_user_notification_detail_item_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/end_user_notifications/item/details/item/end_user_notification_detail_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[EndUserNo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EndUserNotificationDetailItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[EndUserNotif request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EndUserNotificationDetail] = None, request_configuration: Optional[EndUserNotificationDetailItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[EndUserNotificationDetail] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/attack_simulation/end_user_notifications/item/end_user_notification_item_request_builder.py b/msgraph_beta/generated/security/attack_simulation/end_user_notifications/item/end_user_notification_item_request_builder.py index cd455d4949b..73680e33df6 100644 --- a/msgraph_beta/generated/security/attack_simulation/end_user_notifications/item/end_user_notification_item_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/end_user_notifications/item/end_user_notification_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[EndUserNo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EndUserNotificationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[EndUserNotif request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EndUserNotification] = None, request_configuration: Optional[EndUserNotificationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[EndUserNotification] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/attack_simulation/landing_pages/item/details/details_request_builder.py b/msgraph_beta/generated/security/attack_simulation/landing_pages/item/details/details_request_builder.py index 4cf37b40881..fbccfa41414 100644 --- a/msgraph_beta/generated/security/attack_simulation/landing_pages/item/details/details_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/landing_pages/item/details/details_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DetailsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[LandingPageDetail] = None, request_configuration: Optional[DetailsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[LandingPageDetail] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/attack_simulation/landing_pages/item/details/item/landing_page_detail_item_request_builder.py b/msgraph_beta/generated/security/attack_simulation/landing_pages/item/details/item/landing_page_detail_item_request_builder.py index 2930c5800ae..28b7c84c6b3 100644 --- a/msgraph_beta/generated/security/attack_simulation/landing_pages/item/details/item/landing_page_detail_item_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/landing_pages/item/details/item/landing_page_detail_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[LandingPa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LandingPageDetailItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[LandingPageD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[LandingPageDetail] = None, request_configuration: Optional[LandingPageDetailItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[LandingPageDetail] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/attack_simulation/landing_pages/item/landing_page_item_request_builder.py b/msgraph_beta/generated/security/attack_simulation/landing_pages/item/landing_page_item_request_builder.py index 62bd74ee9af..a75db98535b 100644 --- a/msgraph_beta/generated/security/attack_simulation/landing_pages/item/landing_page_item_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/landing_pages/item/landing_page_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[LandingPa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LandingPageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[LandingPageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[LandingPage] = None, request_configuration: Optional[LandingPageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[LandingPage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/attack_simulation/landing_pages/landing_pages_request_builder.py b/msgraph_beta/generated/security/attack_simulation/landing_pages/landing_pages_request_builder.py index 952dbd7f738..070d6cd655a 100644 --- a/msgraph_beta/generated/security/attack_simulation/landing_pages/landing_pages_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/landing_pages/landing_pages_request_builder.py @@ -45,7 +45,7 @@ def by_landing_page_id(self,landing_page_id: str) -> LandingPageItemRequestBuild async def get(self,request_configuration: Optional[LandingPagesRequestBuilderGetRequestConfiguration] = None) -> Optional[LandingPageCollectionResponse]: """ - Get a list of the landingPage objects and their properties. This API is available in the following national cloud deployments. + Get a list of the landingPage objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LandingPageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/attacksimulationroot-list-landingpage?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[LandingPage] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[LandingPagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the landingPage objects and their properties. This API is available in the following national cloud deployments. + Get a list of the landingPage objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[LandingPages request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[LandingPage] = None, request_configuration: Optional[LandingPagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[LandingPage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class LandingPagesRequestBuilderGetQueryParameters(): """ - Get a list of the landingPage objects and their properties. This API is available in the following national cloud deployments. + Get a list of the landingPage objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/attack_simulation/login_pages/item/login_page_item_request_builder.py b/msgraph_beta/generated/security/attack_simulation/login_pages/item/login_page_item_request_builder.py index 47915080647..f17f69ad459 100644 --- a/msgraph_beta/generated/security/attack_simulation/login_pages/item/login_page_item_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/login_pages/item/login_page_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[LoginPage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LoginPageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[LoginPageIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[LoginPage] = None, request_configuration: Optional[LoginPageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[LoginPage] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/attack_simulation/login_pages/login_pages_request_builder.py b/msgraph_beta/generated/security/attack_simulation/login_pages/login_pages_request_builder.py index 7c16e49e725..bf4592c25b2 100644 --- a/msgraph_beta/generated/security/attack_simulation/login_pages/login_pages_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/login_pages/login_pages_request_builder.py @@ -45,7 +45,7 @@ def by_login_page_id(self,login_page_id: str) -> LoginPageItemRequestBuilder: async def get(self,request_configuration: Optional[LoginPagesRequestBuilderGetRequestConfiguration] = None) -> Optional[LoginPageCollectionResponse]: """ - Get a list of the loginPage objects and their properties. This API is available in the following national cloud deployments. + Get a list of the loginPage objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LoginPageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/attacksimulationroot-list-loginpage?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[LoginPage] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[LoginPagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the loginPage objects and their properties. This API is available in the following national cloud deployments. + Get a list of the loginPage objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[LoginPagesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[LoginPage] = None, request_configuration: Optional[LoginPagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[LoginPage] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class LoginPagesRequestBuilderGetQueryParameters(): """ - Get a list of the loginPage objects and their properties. This API is available in the following national cloud deployments. + Get a list of the loginPage objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/attack_simulation/operations/item/attack_simulation_operation_item_request_builder.py b/msgraph_beta/generated/security/attack_simulation/operations/item/attack_simulation_operation_item_request_builder.py index 4e527346956..078e9dcca0a 100644 --- a/msgraph_beta/generated/security/attack_simulation/operations/item/attack_simulation_operation_item_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/operations/item/attack_simulation_operation_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[AttackSimulationOperationI async def get(self,request_configuration: Optional[AttackSimulationOperationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AttackSimulationOperation]: """ - Get an attack simulation operation to track a long-running operation request for a tenant. This API is available in the following national cloud deployments. + Get an attack simulation operation to track a long-running operation request for a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttackSimulationOperation] Find more info here: https://learn.microsoft.com/graph/api/attacksimulationoperation-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[AttackSim request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttackSimulationOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an attack simulation operation to track a long-running operation request for a tenant. This API is available in the following national cloud deployments. + Get an attack simulation operation to track a long-running operation request for a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AttackSimula request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AttackSimulationOperation] = None, request_configuration: Optional[AttackSimulationOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AttackSimulationOperation] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class AttackSimulationOperationItemRequestBuilderDeleteRequestConfiguration(Base @dataclass class AttackSimulationOperationItemRequestBuilderGetQueryParameters(): """ - Get an attack simulation operation to track a long-running operation request for a tenant. This API is available in the following national cloud deployments. + Get an attack simulation operation to track a long-running operation request for a tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/attack_simulation/operations/operations_request_builder.py b/msgraph_beta/generated/security/attack_simulation/operations/operations_request_builder.py index dfae8bd5d11..336b8dd92a5 100644 --- a/msgraph_beta/generated/security/attack_simulation/operations/operations_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/operations/operations_request_builder.py @@ -45,7 +45,7 @@ def by_attack_simulation_operation_id(self,attack_simulation_operation_id: str) async def get(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttackSimulationOperationCollectionResponse]: """ - Get an attack simulation operation to track a long-running operation request for a tenant. This API is available in the following national cloud deployments. + Get an attack simulation operation to track a long-running operation request for a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttackSimulationOperationCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[AttackSimulationOperation] = None, request_co def to_get_request_information(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an attack simulation operation to track a long-running operation request for a tenant. This API is available in the following national cloud deployments. + Get an attack simulation operation to track a long-running operation request for a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AttackSimulationOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AttackSimulationOperation] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OperationsRequestBuilderGetQueryParameters(): """ - Get an attack simulation operation to track a long-running operation request for a tenant. This API is available in the following national cloud deployments. + Get an attack simulation operation to track a long-running operation request for a tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/attack_simulation/payloads/item/payload_item_request_builder.py b/msgraph_beta/generated/security/attack_simulation/payloads/item/payload_item_request_builder.py index 996cb5c2402..d509a29308e 100644 --- a/msgraph_beta/generated/security/attack_simulation/payloads/item/payload_item_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/payloads/item/payload_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PayloadIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PayloadItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PayloadItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Payload] = None, request_configuration: Optional[PayloadItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Payload] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/attack_simulation/payloads/payloads_request_builder.py b/msgraph_beta/generated/security/attack_simulation/payloads/payloads_request_builder.py index 16feb44e95c..5bab629815d 100644 --- a/msgraph_beta/generated/security/attack_simulation/payloads/payloads_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/payloads/payloads_request_builder.py @@ -45,7 +45,7 @@ def by_payload_id(self,payload_id: str) -> PayloadItemRequestBuilder: async def get(self,request_configuration: Optional[PayloadsRequestBuilderGetRequestConfiguration] = None) -> Optional[PayloadCollectionResponse]: """ - Get a list of payloads for attack simulation campaigns. This operation expects the mandatory parameter source to filter and query the respective data source. This API is available in the following national cloud deployments. + Get a list of payloads for attack simulation campaigns. This operation expects the mandatory parameter source to filter and query the respective data source. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PayloadCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/attacksimulationroot-list-payloads?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[Payload] = None, request_configuration: Optio def to_get_request_information(self,request_configuration: Optional[PayloadsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of payloads for attack simulation campaigns. This operation expects the mandatory parameter source to filter and query the respective data source. This API is available in the following national cloud deployments. + Get a list of payloads for attack simulation campaigns. This operation expects the mandatory parameter source to filter and query the respective data source. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PayloadsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Payload] = None, request_configuration: Optional[PayloadsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Payload] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PayloadsRequestBuilderGetQueryParameters(): """ - Get a list of payloads for attack simulation campaigns. This operation expects the mandatory parameter source to filter and query the respective data source. This API is available in the following national cloud deployments. + Get a list of payloads for attack simulation campaigns. This operation expects the mandatory parameter source to filter and query the respective data source. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/attack_simulation/simulation_automations/item/runs/item/simulation_automation_run_item_request_builder.py b/msgraph_beta/generated/security/attack_simulation/simulation_automations/item/runs/item/simulation_automation_run_item_request_builder.py index 568ed39ea62..3dc5288d78d 100644 --- a/msgraph_beta/generated/security/attack_simulation/simulation_automations/item/runs/item/simulation_automation_run_item_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/simulation_automations/item/runs/item/simulation_automation_run_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Simulatio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SimulationAutomationRunItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SimulationAu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SimulationAutomationRun] = None, request_configuration: Optional[SimulationAutomationRunItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[SimulationAutomationRun] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/attack_simulation/simulation_automations/item/runs/runs_request_builder.py b/msgraph_beta/generated/security/attack_simulation/simulation_automations/item/runs/runs_request_builder.py index 6841626bada..b2504278a82 100644 --- a/msgraph_beta/generated/security/attack_simulation/simulation_automations/item/runs/runs_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/simulation_automations/item/runs/runs_request_builder.py @@ -45,7 +45,7 @@ def by_simulation_automation_run_id(self,simulation_automation_run_id: str) -> S async def get(self,request_configuration: Optional[RunsRequestBuilderGetRequestConfiguration] = None) -> Optional[SimulationAutomationRunCollectionResponse]: """ - Get a list of the attack simulation automation runs for a tenant. This API is available in the following national cloud deployments. + Get a list of the attack simulation automation runs for a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SimulationAutomationRunCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/simulationautomation-list-runs?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[SimulationAutomationRun] = None, request_conf def to_get_request_information(self,request_configuration: Optional[RunsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the attack simulation automation runs for a tenant. This API is available in the following national cloud deployments. + Get a list of the attack simulation automation runs for a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RunsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SimulationAutomationRun] = None, request_configuration: Optional[RunsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SimulationAutomationRun] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RunsRequestBuilderGetQueryParameters(): """ - Get a list of the attack simulation automation runs for a tenant. This API is available in the following national cloud deployments. + Get a list of the attack simulation automation runs for a tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/attack_simulation/simulation_automations/item/simulation_automation_item_request_builder.py b/msgraph_beta/generated/security/attack_simulation/simulation_automations/item/simulation_automation_item_request_builder.py index 9276fd1dc68..cfe2978dc48 100644 --- a/msgraph_beta/generated/security/attack_simulation/simulation_automations/item/simulation_automation_item_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/simulation_automations/item/simulation_automation_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[SimulationAutomationItemRe async def get(self,request_configuration: Optional[SimulationAutomationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SimulationAutomation]: """ - Get an attack simulation automation for a tenant. This API is available in the following national cloud deployments. + Get an attack simulation automation for a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SimulationAutomation] Find more info here: https://learn.microsoft.com/graph/api/simulationautomation-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Simulatio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SimulationAutomationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an attack simulation automation for a tenant. This API is available in the following national cloud deployments. + Get an attack simulation automation for a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[SimulationAu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SimulationAutomation] = None, request_configuration: Optional[SimulationAutomationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[SimulationAutomation] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class SimulationAutomationItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class SimulationAutomationItemRequestBuilderGetQueryParameters(): """ - Get an attack simulation automation for a tenant. This API is available in the following national cloud deployments. + Get an attack simulation automation for a tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/attack_simulation/simulation_automations/simulation_automations_request_builder.py b/msgraph_beta/generated/security/attack_simulation/simulation_automations/simulation_automations_request_builder.py index addcb989065..9cedf38c8ce 100644 --- a/msgraph_beta/generated/security/attack_simulation/simulation_automations/simulation_automations_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/simulation_automations/simulation_automations_request_builder.py @@ -45,7 +45,7 @@ def by_simulation_automation_id(self,simulation_automation_id: str) -> Simulatio async def get(self,request_configuration: Optional[SimulationAutomationsRequestBuilderGetRequestConfiguration] = None) -> Optional[SimulationAutomationCollectionResponse]: """ - Get a list of attack simulation automations for a tenant. This API is available in the following national cloud deployments. + Get a list of attack simulation automations for a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SimulationAutomationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/attacksimulationroot-list-simulationautomations?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[SimulationAutomation] = None, request_configu def to_get_request_information(self,request_configuration: Optional[SimulationAutomationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of attack simulation automations for a tenant. This API is available in the following national cloud deployments. + Get a list of attack simulation automations for a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SimulationAu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SimulationAutomation] = None, request_configuration: Optional[SimulationAutomationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SimulationAutomation] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SimulationAutomationsRequestBuilderGetQueryParameters(): """ - Get a list of attack simulation automations for a tenant. This API is available in the following national cloud deployments. + Get a list of attack simulation automations for a tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/attack_simulation/simulations/item/landing_page/landing_page_request_builder.py b/msgraph_beta/generated/security/attack_simulation/simulations/item/landing_page/landing_page_request_builder.py index 28881ed7d77..44a9ae584f6 100644 --- a/msgraph_beta/generated/security/attack_simulation/simulations/item/landing_page/landing_page_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/simulations/item/landing_page/landing_page_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[LandingPageR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LandingPageRequestBuilder: diff --git a/msgraph_beta/generated/security/attack_simulation/simulations/item/login_page/login_page_request_builder.py b/msgraph_beta/generated/security/attack_simulation/simulations/item/login_page/login_page_request_builder.py index 4aee9438e63..5302212ce41 100644 --- a/msgraph_beta/generated/security/attack_simulation/simulations/item/login_page/login_page_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/simulations/item/login_page/login_page_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[LoginPageReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LoginPageRequestBuilder: diff --git a/msgraph_beta/generated/security/attack_simulation/simulations/item/payload/payload_request_builder.py b/msgraph_beta/generated/security/attack_simulation/simulations/item/payload/payload_request_builder.py index 33edc1e4f29..6a307ba22ba 100644 --- a/msgraph_beta/generated/security/attack_simulation/simulations/item/payload/payload_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/simulations/item/payload/payload_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PayloadReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PayloadRequestBuilder: diff --git a/msgraph_beta/generated/security/attack_simulation/simulations/item/simulation_item_request_builder.py b/msgraph_beta/generated/security/attack_simulation/simulations/item/simulation_item_request_builder.py index c55fea683c7..6ba226193fd 100644 --- a/msgraph_beta/generated/security/attack_simulation/simulations/item/simulation_item_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/simulations/item/simulation_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[SimulationItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attack simulation campaign for a tenant. This API is available in the following national cloud deployments. + Delete an attack simulation campaign for a tenant. 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/simulation-delete?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[SimulationItemRequestBuild async def get(self,request_configuration: Optional[SimulationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Simulation]: """ - Get an attack simulation campaign for a tenant. This API is available in the following national cloud deployments. + Get an attack simulation campaign for a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Simulation] Find more info here: https://learn.microsoft.com/graph/api/simulation-get?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[SimulationItemRequestBuilderG async def patch(self,body: Optional[Simulation] = None, request_configuration: Optional[SimulationItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Simulation]: """ - Update an attack simulation campaign for a tenant. This API is available in the following national cloud deployments. + Update an attack simulation campaign for a tenant. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Simulation] @@ -98,7 +98,7 @@ async def patch(self,body: Optional[Simulation] = None, request_configuration: O def to_delete_request_information(self,request_configuration: Optional[SimulationItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attack simulation campaign for a tenant. This API is available in the following national cloud deployments. + Delete an attack simulation campaign for a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[Simulatio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SimulationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an attack simulation campaign for a tenant. This API is available in the following national cloud deployments. + Get an attack simulation campaign for a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,12 +126,12 @@ def to_get_request_information(self,request_configuration: Optional[SimulationIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Simulation] = None, request_configuration: Optional[SimulationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update an attack simulation campaign for a tenant. This API is available in the following national cloud deployments. + Update an attack simulation campaign for a tenant. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[Simulation] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -199,7 +199,7 @@ class SimulationItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class SimulationItemRequestBuilderGetQueryParameters(): """ - Get an attack simulation campaign for a tenant. This API is available in the following national cloud deployments. + Get an attack simulation campaign for a tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/attack_simulation/simulations/simulations_request_builder.py b/msgraph_beta/generated/security/attack_simulation/simulations/simulations_request_builder.py index 2b4bcdf7cd1..daead3fbe32 100644 --- a/msgraph_beta/generated/security/attack_simulation/simulations/simulations_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/simulations/simulations_request_builder.py @@ -45,7 +45,7 @@ def by_simulation_id(self,simulation_id: str) -> SimulationItemRequestBuilder: async def get(self,request_configuration: Optional[SimulationsRequestBuilderGetRequestConfiguration] = None) -> Optional[SimulationCollectionResponse]: """ - Get a list of attack simulation campaigns for a tenant. This API is available in the following national cloud deployments. + Get a list of attack simulation campaigns for a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SimulationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/attacksimulationroot-list-simulations?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SimulationsRequestBuilderGetR async def post(self,body: Optional[Simulation] = None, request_configuration: Optional[SimulationsRequestBuilderPostRequestConfiguration] = None) -> Optional[Simulation]: """ - Create an attack simulation campaign for a tenant. This API is available in the following national cloud deployments. + Create an attack simulation campaign for a tenant. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Simulation] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Simulation] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[SimulationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of attack simulation campaigns for a tenant. This API is available in the following national cloud deployments. + Get a list of attack simulation campaigns for a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SimulationsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Simulation] = None, request_configuration: Optional[SimulationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an attack simulation campaign for a tenant. This API is available in the following national cloud deployments. + Create an attack simulation campaign for a tenant. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Simulation] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SimulationsRequestBuilderGetQueryParameters(): """ - Get a list of attack simulation campaigns for a tenant. This API is available in the following national cloud deployments. + Get a list of attack simulation campaigns for a tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/attack_simulation/trainings/item/language_details/item/training_language_detail_item_request_builder.py b/msgraph_beta/generated/security/attack_simulation/trainings/item/language_details/item/training_language_detail_item_request_builder.py index 6a4fbcc3934..03d6b41a3a1 100644 --- a/msgraph_beta/generated/security/attack_simulation/trainings/item/language_details/item/training_language_detail_item_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/trainings/item/language_details/item/training_language_detail_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[TrainingL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TrainingLanguageDetailItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[TrainingLang request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TrainingLanguageDetail] = None, request_configuration: Optional[TrainingLanguageDetailItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[TrainingLanguageDetail] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/attack_simulation/trainings/item/language_details/language_details_request_builder.py b/msgraph_beta/generated/security/attack_simulation/trainings/item/language_details/language_details_request_builder.py index 4874c7d8753..dc5c1a28781 100644 --- a/msgraph_beta/generated/security/attack_simulation/trainings/item/language_details/language_details_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/trainings/item/language_details/language_details_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[LanguageDeta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TrainingLanguageDetail] = None, request_configuration: Optional[LanguageDetailsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[TrainingLanguageDetail] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/attack_simulation/trainings/item/training_item_request_builder.py b/msgraph_beta/generated/security/attack_simulation/trainings/item/training_item_request_builder.py index eba39641a27..d70cfa2037c 100644 --- a/msgraph_beta/generated/security/attack_simulation/trainings/item/training_item_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/trainings/item/training_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[TrainingI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TrainingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TrainingItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Training] = None, request_configuration: Optional[TrainingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Training] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/attack_simulation/trainings/trainings_request_builder.py b/msgraph_beta/generated/security/attack_simulation/trainings/trainings_request_builder.py index 22c91b16199..9bf94d14343 100644 --- a/msgraph_beta/generated/security/attack_simulation/trainings/trainings_request_builder.py +++ b/msgraph_beta/generated/security/attack_simulation/trainings/trainings_request_builder.py @@ -45,7 +45,7 @@ def by_training_id(self,training_id: str) -> TrainingItemRequestBuilder: async def get(self,request_configuration: Optional[TrainingsRequestBuilderGetRequestConfiguration] = None) -> Optional[TrainingCollectionResponse]: """ - Get a list of the training objects and their properties. This API is available in the following national cloud deployments. + Get a list of the training objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TrainingCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/attacksimulationroot-list-trainings?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[Training] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[TrainingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the training objects and their properties. This API is available in the following national cloud deployments. + Get a list of the training objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[TrainingsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Training] = None, request_configuration: Optional[TrainingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Training] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TrainingsRequestBuilderGetQueryParameters(): """ - Get a list of the training objects and their properties. This API is available in the following national cloud deployments. + Get a list of the training objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/audit_log/audit_log_request_builder.py b/msgraph_beta/generated/security/audit_log/audit_log_request_builder.py new file mode 100644 index 00000000000..1011e7f3bed --- /dev/null +++ b/msgraph_beta/generated/security/audit_log/audit_log_request_builder.py @@ -0,0 +1,225 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ...models.o_data_errors.o_data_error import ODataError + from ...models.security.audit_core_root import AuditCoreRoot + from .queries.queries_request_builder import QueriesRequestBuilder + +class AuditLogRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the auditLog property of the microsoft.graph.security entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new AuditLogRequestBuilder 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/auditLog{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[AuditLogRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property auditLog for security + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[AuditLogRequestBuilderGetRequestConfiguration] = None) -> Optional[AuditCoreRoot]: + """ + Get auditLog from security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AuditCoreRoot] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...models.security.audit_core_root import AuditCoreRoot + + return await self.request_adapter.send_async(request_info, AuditCoreRoot, error_mapping) + + async def patch(self,body: Optional[AuditCoreRoot] = None, request_configuration: Optional[AuditLogRequestBuilderPatchRequestConfiguration] = None) -> Optional[AuditCoreRoot]: + """ + Update the navigation property auditLog in security + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AuditCoreRoot] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...models.security.audit_core_root import AuditCoreRoot + + return await self.request_adapter.send_async(request_info, AuditCoreRoot, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[AuditLogRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property auditLog for security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[AuditLogRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get auditLog from security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[AuditCoreRoot] = None, request_configuration: Optional[AuditLogRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property auditLog in security + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> AuditLogRequestBuilder: + """ + 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: AuditLogRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return AuditLogRequestBuilder(self.request_adapter, raw_url) + + @property + def queries(self) -> QueriesRequestBuilder: + """ + Provides operations to manage the queries property of the microsoft.graph.security.auditCoreRoot entity. + """ + from .queries.queries_request_builder import QueriesRequestBuilder + + return QueriesRequestBuilder(self.request_adapter, self.path_parameters) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class AuditLogRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class AuditLogRequestBuilderGetQueryParameters(): + """ + Get auditLog from security + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class AuditLogRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[AuditLogRequestBuilder.AuditLogRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class AuditLogRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/security/audit_log/queries/count/count_request_builder.py b/msgraph_beta/generated/security/audit_log/queries/count/count_request_builder.py new file mode 100644 index 00000000000..c5512767084 --- /dev/null +++ b/msgraph_beta/generated/security/audit_log/queries/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/security/auditLog/queries/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/security/audit_log/queries/item/audit_log_query_item_request_builder.py b/msgraph_beta/generated/security/audit_log/queries/item/audit_log_query_item_request_builder.py new file mode 100644 index 00000000000..fa1a656d243 --- /dev/null +++ b/msgraph_beta/generated/security/audit_log/queries/item/audit_log_query_item_request_builder.py @@ -0,0 +1,225 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.security.audit_log_query import AuditLogQuery + from .records.records_request_builder import RecordsRequestBuilder + +class AuditLogQueryItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the queries property of the microsoft.graph.security.auditCoreRoot entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new AuditLogQueryItemRequestBuilder 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/auditLog/queries/{auditLogQuery%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[AuditLogQueryItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property queries for security + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[AuditLogQueryItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AuditLogQuery]: + """ + Get queries from security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AuditLogQuery] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.security.audit_log_query import AuditLogQuery + + return await self.request_adapter.send_async(request_info, AuditLogQuery, error_mapping) + + async def patch(self,body: Optional[AuditLogQuery] = None, request_configuration: Optional[AuditLogQueryItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[AuditLogQuery]: + """ + Update the navigation property queries in security + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AuditLogQuery] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.security.audit_log_query import AuditLogQuery + + return await self.request_adapter.send_async(request_info, AuditLogQuery, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[AuditLogQueryItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property queries for security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[AuditLogQueryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get queries from security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[AuditLogQuery] = None, request_configuration: Optional[AuditLogQueryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property queries in security + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> AuditLogQueryItemRequestBuilder: + """ + 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: AuditLogQueryItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return AuditLogQueryItemRequestBuilder(self.request_adapter, raw_url) + + @property + def records(self) -> RecordsRequestBuilder: + """ + Provides operations to manage the records property of the microsoft.graph.security.auditLogQuery entity. + """ + from .records.records_request_builder import RecordsRequestBuilder + + return RecordsRequestBuilder(self.request_adapter, self.path_parameters) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class AuditLogQueryItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class AuditLogQueryItemRequestBuilderGetQueryParameters(): + """ + Get queries from security + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class AuditLogQueryItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[AuditLogQueryItemRequestBuilder.AuditLogQueryItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class AuditLogQueryItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/security/audit_log/queries/item/records/count/count_request_builder.py b/msgraph_beta/generated/security/audit_log/queries/item/records/count/count_request_builder.py new file mode 100644 index 00000000000..a4e1a84274c --- /dev/null +++ b/msgraph_beta/generated/security/audit_log/queries/item/records/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/security/auditLog/queries/{auditLogQuery%2Did}/records/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/security/audit_log/queries/item/records/item/audit_log_record_item_request_builder.py b/msgraph_beta/generated/security/audit_log/queries/item/records/item/audit_log_record_item_request_builder.py new file mode 100644 index 00000000000..0bc375531ac --- /dev/null +++ b/msgraph_beta/generated/security/audit_log/queries/item/records/item/audit_log_record_item_request_builder.py @@ -0,0 +1,215 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .......models.security.audit_log_record import AuditLogRecord + +class AuditLogRecordItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the records property of the microsoft.graph.security.auditLogQuery entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new AuditLogRecordItemRequestBuilder 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/auditLog/queries/{auditLogQuery%2Did}/records/{auditLogRecord%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[AuditLogRecordItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property records for security + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[AuditLogRecordItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AuditLogRecord]: + """ + Get records from security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AuditLogRecord] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.security.audit_log_record import AuditLogRecord + + return await self.request_adapter.send_async(request_info, AuditLogRecord, error_mapping) + + async def patch(self,body: Optional[AuditLogRecord] = None, request_configuration: Optional[AuditLogRecordItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[AuditLogRecord]: + """ + Update the navigation property records in security + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AuditLogRecord] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.security.audit_log_record import AuditLogRecord + + return await self.request_adapter.send_async(request_info, AuditLogRecord, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[AuditLogRecordItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property records for security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[AuditLogRecordItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get records from security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[AuditLogRecord] = None, request_configuration: Optional[AuditLogRecordItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property records in security + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> AuditLogRecordItemRequestBuilder: + """ + 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: AuditLogRecordItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return AuditLogRecordItemRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class AuditLogRecordItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class AuditLogRecordItemRequestBuilderGetQueryParameters(): + """ + Get records from security + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class AuditLogRecordItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[AuditLogRecordItemRequestBuilder.AuditLogRecordItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class AuditLogRecordItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/security/audit_log/queries/item/records/records_request_builder.py b/msgraph_beta/generated/security/audit_log/queries/item/records/records_request_builder.py new file mode 100644 index 00000000000..b169aca653f --- /dev/null +++ b/msgraph_beta/generated/security/audit_log/queries/item/records/records_request_builder.py @@ -0,0 +1,226 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from ......models.security.audit_log_record import AuditLogRecord + from ......models.security.audit_log_record_collection_response import AuditLogRecordCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.audit_log_record_item_request_builder import AuditLogRecordItemRequestBuilder + +class RecordsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the records property of the microsoft.graph.security.auditLogQuery entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new RecordsRequestBuilder 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/auditLog/queries/{auditLogQuery%2Did}/records{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_audit_log_record_id(self,audit_log_record_id: str) -> AuditLogRecordItemRequestBuilder: + """ + Provides operations to manage the records property of the microsoft.graph.security.auditLogQuery entity. + param audit_log_record_id: The unique identifier of auditLogRecord + Returns: AuditLogRecordItemRequestBuilder + """ + if not audit_log_record_id: + raise TypeError("audit_log_record_id cannot be null.") + from .item.audit_log_record_item_request_builder import AuditLogRecordItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["auditLogRecord%2Did"] = audit_log_record_id + return AuditLogRecordItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RecordsRequestBuilderGetRequestConfiguration] = None) -> Optional[AuditLogRecordCollectionResponse]: + """ + Get records from security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AuditLogRecordCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.security.audit_log_record_collection_response import AuditLogRecordCollectionResponse + + return await self.request_adapter.send_async(request_info, AuditLogRecordCollectionResponse, error_mapping) + + async def post(self,body: Optional[AuditLogRecord] = None, request_configuration: Optional[RecordsRequestBuilderPostRequestConfiguration] = None) -> Optional[AuditLogRecord]: + """ + Create new navigation property to records for security + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AuditLogRecord] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.security.audit_log_record import AuditLogRecord + + return await self.request_adapter.send_async(request_info, AuditLogRecord, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RecordsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get records from security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[AuditLogRecord] = None, request_configuration: Optional[RecordsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to records for security + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> RecordsRequestBuilder: + """ + 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: RecordsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return RecordsRequestBuilder(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 RecordsRequestBuilderGetQueryParameters(): + """ + Get records from security + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class RecordsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[RecordsRequestBuilder.RecordsRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class RecordsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/security/audit_log/queries/queries_request_builder.py b/msgraph_beta/generated/security/audit_log/queries/queries_request_builder.py new file mode 100644 index 00000000000..d4c78e28608 --- /dev/null +++ b/msgraph_beta/generated/security/audit_log/queries/queries_request_builder.py @@ -0,0 +1,226 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.o_data_errors.o_data_error import ODataError + from ....models.security.audit_log_query import AuditLogQuery + from ....models.security.audit_log_query_collection_response import AuditLogQueryCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.audit_log_query_item_request_builder import AuditLogQueryItemRequestBuilder + +class QueriesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the queries property of the microsoft.graph.security.auditCoreRoot entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new QueriesRequestBuilder 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/auditLog/queries{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_audit_log_query_id(self,audit_log_query_id: str) -> AuditLogQueryItemRequestBuilder: + """ + Provides operations to manage the queries property of the microsoft.graph.security.auditCoreRoot entity. + param audit_log_query_id: The unique identifier of auditLogQuery + Returns: AuditLogQueryItemRequestBuilder + """ + if not audit_log_query_id: + raise TypeError("audit_log_query_id cannot be null.") + from .item.audit_log_query_item_request_builder import AuditLogQueryItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["auditLogQuery%2Did"] = audit_log_query_id + return AuditLogQueryItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[QueriesRequestBuilderGetRequestConfiguration] = None) -> Optional[AuditLogQueryCollectionResponse]: + """ + Get queries from security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AuditLogQueryCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.security.audit_log_query_collection_response import AuditLogQueryCollectionResponse + + return await self.request_adapter.send_async(request_info, AuditLogQueryCollectionResponse, error_mapping) + + async def post(self,body: Optional[AuditLogQuery] = None, request_configuration: Optional[QueriesRequestBuilderPostRequestConfiguration] = None) -> Optional[AuditLogQuery]: + """ + Create new navigation property to queries for security + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[AuditLogQuery] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.security.audit_log_query import AuditLogQuery + + return await self.request_adapter.send_async(request_info, AuditLogQuery, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[QueriesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get queries from security + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[AuditLogQuery] = None, request_configuration: Optional[QueriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to queries for security + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> QueriesRequestBuilder: + """ + 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: QueriesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return QueriesRequestBuilder(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 QueriesRequestBuilderGetQueryParameters(): + """ + Get queries from security + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class QueriesRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[QueriesRequestBuilder.QueriesRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class QueriesRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/security/cases/cases_request_builder.py b/msgraph_beta/generated/security/cases/cases_request_builder.py index 02a0683cff2..00afbd76496 100644 --- a/msgraph_beta/generated/security/cases/cases_request_builder.py +++ b/msgraph_beta/generated/security/cases/cases_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[CasesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CasesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CasesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CasesRoot] = None, request_configuration: Optional[CasesRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[CasesRoot] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/ediscovery_cases_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/ediscovery_cases_request_builder.py index 9e5cf8de214..5aa9d509041 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/ediscovery_cases_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/ediscovery_cases_request_builder.py @@ -45,7 +45,7 @@ def by_ediscovery_case_id(self,ediscovery_case_id: str) -> EdiscoveryCaseItemReq async def get(self,request_configuration: Optional[EdiscoveryCasesRequestBuilderGetRequestConfiguration] = None) -> Optional[EdiscoveryCaseCollectionResponse]: """ - Get a list of the ediscoveryCase objects and their properties. This API is available in the following national cloud deployments. + Get a list of the ediscoveryCase objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoveryCaseCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-casesroot-list-ediscoverycases?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[EdiscoveryCasesRequestBuilder async def post(self,body: Optional[EdiscoveryCase] = None, request_configuration: Optional[EdiscoveryCasesRequestBuilderPostRequestConfiguration] = None) -> Optional[EdiscoveryCase]: """ - Create a new ediscoveryCase object. This API is available in the following national cloud deployments. + Create a new ediscoveryCase object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoveryCase] @@ -92,7 +92,7 @@ async def post(self,body: Optional[EdiscoveryCase] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[EdiscoveryCasesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the ediscoveryCase objects and their properties. This API is available in the following national cloud deployments. + Get a list of the ediscoveryCase objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[EdiscoveryCa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EdiscoveryCase] = None, request_configuration: Optional[EdiscoveryCasesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new ediscoveryCase object. This API is available in the following national cloud deployments. + Create a new ediscoveryCase object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[EdiscoveryCase] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class EdiscoveryCasesRequestBuilderGetQueryParameters(): """ - Get a list of the ediscoveryCase objects and their properties. This API is available in the following national cloud deployments. + Get a list of the ediscoveryCase objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/custodians_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/custodians_request_builder.py index d28d7503c38..f9a73f51a57 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/custodians_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/custodians_request_builder.py @@ -48,7 +48,7 @@ def by_ediscovery_custodian_id(self,ediscovery_custodian_id: str) -> EdiscoveryC async def get(self,request_configuration: Optional[CustodiansRequestBuilderGetRequestConfiguration] = None) -> Optional[EdiscoveryCustodianCollectionResponse]: """ - Get a list of the custodian objects and their properties. This API is available in the following national cloud deployments. + Get a list of the custodian objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoveryCustodianCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-ediscoverycase-list-custodians?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[CustodiansRequestBuilderGetRe async def post(self,body: Optional[EdiscoveryCustodian] = None, request_configuration: Optional[CustodiansRequestBuilderPostRequestConfiguration] = None) -> Optional[EdiscoveryCustodian]: """ - Create a new ediscoveryCustodian object.After the custodian object is created, you will need to create the custodian's userSource to reference their mailbox and OneDrive for Business site. This API is available in the following national cloud deployments. + Create a new ediscoveryCustodian object.After the custodian object is created, you will need to create the custodian's userSource to reference their mailbox and OneDrive for Business site. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoveryCustodian] @@ -95,7 +95,7 @@ async def post(self,body: Optional[EdiscoveryCustodian] = None, request_configur def to_get_request_information(self,request_configuration: Optional[CustodiansRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the custodian objects and their properties. This API is available in the following national cloud deployments. + Get a list of the custodian objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_get_request_information(self,request_configuration: Optional[CustodiansRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EdiscoveryCustodian] = None, request_configuration: Optional[CustodiansRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new ediscoveryCustodian object.After the custodian object is created, you will need to create the custodian's userSource to reference their mailbox and OneDrive for Business site. This API is available in the following national cloud deployments. + Create a new ediscoveryCustodian object.After the custodian object is created, you will need to create the custodian's userSource to reference their mailbox and OneDrive for Business site. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -126,7 +126,7 @@ def to_post_request_information(self,body: Optional[EdiscoveryCustodian] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ def microsoft_graph_security_update_index(self) -> MicrosoftGraphSecurityUpdateI @dataclass class CustodiansRequestBuilderGetQueryParameters(): """ - Get a list of the custodian objects and their properties. This API is available in the following national cloud deployments. + Get a list of the custodian objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/ediscovery_custodian_item_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/ediscovery_custodian_item_request_builder.py index b34a4247254..c58a48f7a5d 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/ediscovery_custodian_item_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/ediscovery_custodian_item_request_builder.py @@ -56,7 +56,7 @@ async def delete(self,request_configuration: Optional[EdiscoveryCustodianItemReq async def get(self,request_configuration: Optional[EdiscoveryCustodianItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EdiscoveryCustodian]: """ - Read the properties and relationships of an ediscoveryCustodian object. This API is available in the following national cloud deployments. + Read the properties and relationships of an ediscoveryCustodian object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoveryCustodian] Find more info here: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-get?view=graph-rest-1.0 @@ -113,12 +113,12 @@ def to_delete_request_information(self,request_configuration: Optional[Ediscover request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EdiscoveryCustodianItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an ediscoveryCustodian object. This API is available in the following national cloud deployments. + Read the properties and relationships of an ediscoveryCustodian object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -130,7 +130,7 @@ def to_get_request_information(self,request_configuration: Optional[EdiscoveryCu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EdiscoveryCustodian] = None, request_configuration: Optional[EdiscoveryCustodianItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -149,7 +149,7 @@ def to_patch_request_information(self,body: Optional[EdiscoveryCustodian] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -257,7 +257,7 @@ class EdiscoveryCustodianItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class EdiscoveryCustodianItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an ediscoveryCustodian object. This API is available in the following national cloud deployments. + Read the properties and relationships of an ediscoveryCustodian object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/last_index_operation/last_index_operation_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/last_index_operation/last_index_operation_request_builder.py index fb328e48c91..7d665d95f1d 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/last_index_operation/last_index_operation_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/last_index_operation/last_index_operation_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[LastIndexOperationRequestBuilderGetRequestConfiguration] = None) -> Optional[EdiscoveryIndexOperation]: """ - Get a list of the ediscoveryIndexOperation associated with an ediscoveryCustodian. This API is available in the following national cloud deployments. + Get a list of the ediscoveryIndexOperation associated with an ediscoveryCustodian. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoveryIndexOperation] Find more info here: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-list-lastindexoperation?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[LastIndexOperationRequestBuil def to_get_request_information(self,request_configuration: Optional[LastIndexOperationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the ediscoveryIndexOperation associated with an ediscoveryCustodian. This API is available in the following national cloud deployments. + Get a list of the ediscoveryIndexOperation associated with an ediscoveryCustodian. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[LastIndexOpe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastIndexOperationRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> LastIndexOperationRequestBui @dataclass class LastIndexOperationRequestBuilderGetQueryParameters(): """ - Get a list of the ediscoveryIndexOperation associated with an ediscoveryCustodian. This API is available in the following national cloud deployments. + Get a list of the ediscoveryIndexOperation associated with an ediscoveryCustodian. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_activate/microsoft_graph_security_activate_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_activate/microsoft_graph_security_activate_request_builder.py index 22302fc5533..2e757507b4e 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_activate/microsoft_graph_security_activate_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_activate/microsoft_graph_security_activate_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[MicrosoftGraphSecurityActivateRequestBuilderPostRequestConfiguration] = None) -> None: """ - Activate a custodian that has been released from a case to make them part of the case again. For details, see Manage custodians in an eDiscovery (Premium) case. This API is available in the following national cloud deployments. + Activate a custodian that has been released from a case to make them part of the case again. For details, see Manage custodians in an eDiscovery (Premium) 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-ediscoverycustodian-activate?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[MicrosoftGraphSecurityActiva def to_post_request_information(self,request_configuration: Optional[MicrosoftGraphSecurityActivateRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Activate a custodian that has been released from a case to make them part of the case again. For details, see Manage custodians in an eDiscovery (Premium) case. This API is available in the following national cloud deployments. + Activate a custodian that has been released from a case to make them part of the case again. For details, see Manage custodians in an eDiscovery (Premium) case. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphSecurityActivateRequestBuilder: diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_apply_hold/microsoft_graph_security_apply_hold_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_apply_hold/microsoft_graph_security_apply_hold_request_builder.py index 2cd519dd296..e5c7b198ed1 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_apply_hold/microsoft_graph_security_apply_hold_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_apply_hold/microsoft_graph_security_apply_hold_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[MicrosoftGraphSecurityApplyHoldRequestBuilderPostRequestConfiguration] = None) -> None: """ - Start the process of applying hold on eDiscovery custodians. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that returns an eDiscoveryHoldOperation object. This API is available in the following national cloud deployments. + Start the process of applying hold on eDiscovery custodians. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that returns an eDiscoveryHoldOperation object. 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-ediscoverycustodian-applyhold?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[MicrosoftGraphSecurityApplyH def to_post_request_information(self,request_configuration: Optional[MicrosoftGraphSecurityApplyHoldRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Start the process of applying hold on eDiscovery custodians. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that returns an eDiscoveryHoldOperation object. This API is available in the following national cloud deployments. + Start the process of applying hold on eDiscovery custodians. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that returns an eDiscoveryHoldOperation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphSecurityApplyHoldRequestBuilder: diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_release/microsoft_graph_security_release_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_release/microsoft_graph_security_release_request_builder.py index 52f9743097b..723a7b10094 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_release/microsoft_graph_security_release_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_release/microsoft_graph_security_release_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[MicrosoftGraphSecurityReleaseRequestBuilderPostRequestConfiguration] = None) -> None: """ - Release a custodian from a case. For details, see Release a custodian from a case. This API is available in the following national cloud deployments. + Release a custodian from a case. For details, see Release a custodian 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-ediscoverycustodian-release?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[MicrosoftGraphSecurityReleas def to_post_request_information(self,request_configuration: Optional[MicrosoftGraphSecurityReleaseRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Release a custodian from a case. For details, see Release a custodian from a case. This API is available in the following national cloud deployments. + Release a custodian from a case. For details, see Release a custodian from a case. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphSecurityReleaseRequestBuilder: diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_remove_hold/microsoft_graph_security_remove_hold_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_remove_hold/microsoft_graph_security_remove_hold_request_builder.py index 0575b595e83..d56055e274e 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_remove_hold/microsoft_graph_security_remove_hold_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_remove_hold/microsoft_graph_security_remove_hold_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[MicrosoftGraphSecurityRemoveHoldRequestBuilderPostRequestConfiguration] = None) -> None: """ - Start the process of removing hold from eDiscovery custodians. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. This API is available in the following national cloud deployments. + Start the process of removing hold from eDiscovery custodians. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. 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-ediscoverycustodian-removehold?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[MicrosoftGraphSecurityRemove def to_post_request_information(self,request_configuration: Optional[MicrosoftGraphSecurityRemoveHoldRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Start the process of removing hold from eDiscovery custodians. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. This API is available in the following national cloud deployments. + Start the process of removing hold from eDiscovery custodians. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphSecurityRemoveHoldRequestBuilder: diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_update_index/microsoft_graph_security_update_index_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_update_index/microsoft_graph_security_update_index_request_builder.py index 12543e86e53..1468153c691 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_update_index/microsoft_graph_security_update_index_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_update_index/microsoft_graph_security_update_index_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[MicrosoftGraphSecurityUpdateIndexRequestBuilderPostRequestConfiguration] = None) -> None: """ - Trigger an indexOperation This API is available in the following national cloud deployments. + Trigger an indexOperation 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-ediscoverycustodian-updateindex?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[MicrosoftGraphSecurityUpdate def to_post_request_information(self,request_configuration: Optional[MicrosoftGraphSecurityUpdateIndexRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Trigger an indexOperation This API is available in the following national cloud deployments. + Trigger an indexOperation param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphSecurityUpdateIndexRequestBuilder: diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/item/site/site_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/item/site/site_request_builder.py index c5ed5597408..50d3bfcc948 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/item/site/site_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/item/site/site_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SiteRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SiteRequestBuilder: diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/item/site_source_item_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/item/site_source_item_request_builder.py index 02cac7934b1..011fb3e22df 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/item/site_source_item_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/item/site_source_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[SiteSourc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SiteSourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[SiteSourceIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SiteSource] = None, request_configuration: Optional[SiteSourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[SiteSource] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/site_sources_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/site_sources_request_builder.py index faa6bc803b6..fe62008b7b7 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/site_sources_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/site_sources/site_sources_request_builder.py @@ -45,7 +45,7 @@ def by_site_source_id(self,site_source_id: str) -> SiteSourceItemRequestBuilder: async def get(self,request_configuration: Optional[SiteSourcesRequestBuilderGetRequestConfiguration] = None) -> Optional[SiteSourceCollectionResponse]: """ - Get a list of the siteSource objects associated with an ediscoveryCustodian. This API is available in the following national cloud deployments. + Get a list of the siteSource objects associated with an ediscoveryCustodian. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteSourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-list-sitesources?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SiteSourcesRequestBuilderGetR async def post(self,body: Optional[SiteSource] = None, request_configuration: Optional[SiteSourcesRequestBuilderPostRequestConfiguration] = None) -> Optional[SiteSource]: """ - Create a new siteSource object associated with an eDiscovery custodian. This API is available in the following national cloud deployments. + Create a new siteSource object associated with an eDiscovery custodian. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteSource] @@ -92,7 +92,7 @@ async def post(self,body: Optional[SiteSource] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[SiteSourcesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the siteSource objects associated with an ediscoveryCustodian. This API is available in the following national cloud deployments. + Get a list of the siteSource objects associated with an ediscoveryCustodian. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SiteSourcesR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SiteSource] = None, request_configuration: Optional[SiteSourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new siteSource object associated with an eDiscovery custodian. This API is available in the following national cloud deployments. + Create a new siteSource object associated with an eDiscovery custodian. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[SiteSource] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SiteSourcesRequestBuilderGetQueryParameters(): """ - Get a list of the siteSource objects associated with an ediscoveryCustodian. This API is available in the following national cloud deployments. + Get a list of the siteSource objects associated with an ediscoveryCustodian. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/item/group/group_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/item/group/group_request_builder.py index df1bef30a1a..1a7735c1b4c 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/item/group/group_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/item/group/group_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GroupRequestBuilder: diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py index 9d6362eafce..5ca35e33e84 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/item/unified_group_source_item_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/item/unified_group_source_item_request_builder.py index f3949f64b23..9906a5d0c83 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/item/unified_group_source_item_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/item/unified_group_source_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[UnifiedGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UnifiedGroupSourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UnifiedGroupSource] = None, request_configuration: Optional[UnifiedGroupSourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[UnifiedGroupSource] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/unified_group_sources_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/unified_group_sources_request_builder.py index 6f3ec180b8a..a941ad69263 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/unified_group_sources_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/unified_group_sources_request_builder.py @@ -45,7 +45,7 @@ def by_unified_group_source_id(self,unified_group_source_id: str) -> UnifiedGrou async def get(self,request_configuration: Optional[UnifiedGroupSourcesRequestBuilderGetRequestConfiguration] = None) -> Optional[UnifiedGroupSourceCollectionResponse]: """ - Get a list of the unifiedGroupSource objects associated with an ediscoveryCustodian. This API is available in the following national cloud deployments. + Get a list of the unifiedGroupSource objects associated with an ediscoveryCustodian. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedGroupSourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-list-unifiedgroupsources?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[UnifiedGroupSourcesRequestBui async def post(self,body: Optional[UnifiedGroupSource] = None, request_configuration: Optional[UnifiedGroupSourcesRequestBuilderPostRequestConfiguration] = None) -> Optional[UnifiedGroupSource]: """ - Create a new unifiedGroupSource object associated with an eDiscovery custodian. This API is available in the following national cloud deployments. + Create a new unifiedGroupSource object associated with an eDiscovery custodian. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedGroupSource] @@ -92,7 +92,7 @@ async def post(self,body: Optional[UnifiedGroupSource] = None, request_configura def to_get_request_information(self,request_configuration: Optional[UnifiedGroupSourcesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the unifiedGroupSource objects associated with an ediscoveryCustodian. This API is available in the following national cloud deployments. + Get a list of the unifiedGroupSource objects associated with an ediscoveryCustodian. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[UnifiedGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UnifiedGroupSource] = None, request_configuration: Optional[UnifiedGroupSourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new unifiedGroupSource object associated with an eDiscovery custodian. This API is available in the following national cloud deployments. + Create a new unifiedGroupSource object associated with an eDiscovery custodian. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[UnifiedGroupSource] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class UnifiedGroupSourcesRequestBuilderGetQueryParameters(): """ - Get a list of the unifiedGroupSource objects associated with an ediscoveryCustodian. This API is available in the following national cloud deployments. + Get a list of the unifiedGroupSource objects associated with an ediscoveryCustodian. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/user_sources/item/user_source_item_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/user_sources/item/user_source_item_request_builder.py index adef65498c8..a756ffa257a 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/user_sources/item/user_source_item_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/user_sources/item/user_source_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserSourc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserSourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserSourceIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserSource] = None, request_configuration: Optional[UserSourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserSource] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/user_sources/user_sources_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/user_sources/user_sources_request_builder.py index ba6b8b3bdd2..2cd8ebf63f7 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/user_sources/user_sources_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/item/user_sources/user_sources_request_builder.py @@ -45,7 +45,7 @@ def by_user_source_id(self,user_source_id: str) -> UserSourceItemRequestBuilder: async def get(self,request_configuration: Optional[UserSourcesRequestBuilderGetRequestConfiguration] = None) -> Optional[UserSourceCollectionResponse]: """ - Get a list of the userSource objects associated with an ediscoveryCustodian. This API is available in the following national cloud deployments. + Get a list of the userSource objects associated with an ediscoveryCustodian. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserSourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-ediscoverycustodian-list-usersources?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[UserSourcesRequestBuilderGetR async def post(self,body: Optional[UserSource] = None, request_configuration: Optional[UserSourcesRequestBuilderPostRequestConfiguration] = None) -> Optional[UserSource]: """ - Create a new userSource object associated with an eDiscovery custodian. This API is available in the following national cloud deployments. + Create a new userSource object associated with an eDiscovery custodian. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserSource] @@ -92,7 +92,7 @@ async def post(self,body: Optional[UserSource] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[UserSourcesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the userSource objects associated with an ediscoveryCustodian. This API is available in the following national cloud deployments. + Get a list of the userSource objects associated with an ediscoveryCustodian. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[UserSourcesR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserSource] = None, request_configuration: Optional[UserSourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new userSource object associated with an eDiscovery custodian. This API is available in the following national cloud deployments. + Create a new userSource object associated with an eDiscovery custodian. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[UserSource] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class UserSourcesRequestBuilderGetQueryParameters(): """ - Get a list of the userSource objects associated with an ediscoveryCustodian. This API is available in the following national cloud deployments. + Get a list of the userSource objects associated with an ediscoveryCustodian. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/microsoft_graph_security_apply_hold/microsoft_graph_security_apply_hold_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/microsoft_graph_security_apply_hold/microsoft_graph_security_apply_hold_request_builder.py index a0897b73c28..6a22e8885f2 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/microsoft_graph_security_apply_hold/microsoft_graph_security_apply_hold_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/microsoft_graph_security_apply_hold/microsoft_graph_security_apply_hold_request_builder.py @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ApplyHoldPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/microsoft_graph_security_remove_hold/microsoft_graph_security_remove_hold_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/microsoft_graph_security_remove_hold/microsoft_graph_security_remove_hold_request_builder.py index 9434bbcbbdc..c2e1e039d38 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/microsoft_graph_security_remove_hold/microsoft_graph_security_remove_hold_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/microsoft_graph_security_remove_hold/microsoft_graph_security_remove_hold_request_builder.py @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RemoveHoldPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/microsoft_graph_security_update_index/microsoft_graph_security_update_index_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/microsoft_graph_security_update_index/microsoft_graph_security_update_index_request_builder.py index ee22ba0e2a6..267c25b588f 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/microsoft_graph_security_update_index/microsoft_graph_security_update_index_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/custodians/microsoft_graph_security_update_index/microsoft_graph_security_update_index_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UpdateIndexPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphSecurityUpdateIndexRequestBuilderPostRequestConfiguration] = None) -> None: """ - Trigger an indexOperation This API is available in the following national cloud deployments. + Trigger an indexOperation param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[UpdateIndexPostRequestBody] = None, request_c def to_post_request_information(self,body: Optional[UpdateIndexPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphSecurityUpdateIndexRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Trigger an indexOperation This API is available in the following national cloud deployments. + Trigger an indexOperation param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[UpdateIndexPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/ediscovery_case_item_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/ediscovery_case_item_request_builder.py index 1f3540bc030..639f2453fd4 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/ediscovery_case_item_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/ediscovery_case_item_request_builder.py @@ -38,7 +38,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[EdiscoveryCaseItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an ediscoveryCase object. This API is available in the following national cloud deployments. + Delete an ediscoveryCase object. 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-casesroot-delete-ediscoverycases?view=graph-rest-1.0 @@ -58,7 +58,7 @@ async def delete(self,request_configuration: Optional[EdiscoveryCaseItemRequestB async def get(self,request_configuration: Optional[EdiscoveryCaseItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EdiscoveryCase]: """ - Read the properties and relationships of an ediscoveryCase object. This API is available in the following national cloud deployments. + Read the properties and relationships of an ediscoveryCase object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoveryCase] Find more info here: https://learn.microsoft.com/graph/api/security-ediscoverycase-get?view=graph-rest-1.0 @@ -80,7 +80,7 @@ async def get(self,request_configuration: Optional[EdiscoveryCaseItemRequestBuil async def patch(self,body: Optional[EdiscoveryCase] = None, request_configuration: Optional[EdiscoveryCaseItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[EdiscoveryCase]: """ - Update the properties of an ediscoveryCase object. This API is available in the following national cloud deployments. + Update the properties of an ediscoveryCase object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoveryCase] @@ -105,7 +105,7 @@ async def patch(self,body: Optional[EdiscoveryCase] = None, request_configuratio def to_delete_request_information(self,request_configuration: Optional[EdiscoveryCaseItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an ediscoveryCase object. This API is available in the following national cloud deployments. + Delete an ediscoveryCase object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,12 +116,12 @@ def to_delete_request_information(self,request_configuration: Optional[Ediscover request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EdiscoveryCaseItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an ediscoveryCase object. This API is available in the following national cloud deployments. + Read the properties and relationships of an ediscoveryCase object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -133,12 +133,12 @@ def to_get_request_information(self,request_configuration: Optional[EdiscoveryCa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EdiscoveryCase] = None, request_configuration: Optional[EdiscoveryCaseItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an ediscoveryCase object. This API is available in the following national cloud deployments. + Update the properties of an ediscoveryCase object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -152,7 +152,7 @@ def to_patch_request_information(self,body: Optional[EdiscoveryCase] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -269,7 +269,7 @@ class EdiscoveryCaseItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class EdiscoveryCaseItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an ediscoveryCase object. This API is available in the following national cloud deployments. + Read the properties and relationships of an ediscoveryCase object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/ediscovery_hold_policy_item_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/ediscovery_hold_policy_item_request_builder.py index 050a6a8b60f..a4110f4b95b 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/ediscovery_hold_policy_item_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/ediscovery_hold_policy_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Ediscover request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EdiscoveryHoldPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[EdiscoveryHo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EdiscoveryHoldPolicy] = None, request_configuration: Optional[EdiscoveryHoldPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[EdiscoveryHoldPolicy] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/site_sources/item/site/site_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/site_sources/item/site/site_request_builder.py index 691487af2d8..c99e257600e 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/site_sources/item/site/site_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/site_sources/item/site/site_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SiteRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SiteRequestBuilder: diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/site_sources/item/site_source_item_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/site_sources/item/site_source_item_request_builder.py index 86e5c83e0ca..02de69274f6 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/site_sources/item/site_source_item_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/site_sources/item/site_source_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[SiteSourc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SiteSourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[SiteSourceIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SiteSource] = None, request_configuration: Optional[SiteSourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[SiteSource] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/site_sources/site_sources_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/site_sources/site_sources_request_builder.py index 93829f60901..42984458d53 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/site_sources/site_sources_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/site_sources/site_sources_request_builder.py @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[SiteSourcesRequestBuilderGetR async def post(self,body: Optional[SiteSource] = None, request_configuration: Optional[SiteSourcesRequestBuilderPostRequestConfiguration] = None) -> Optional[SiteSource]: """ - Create a new siteSource object. This API is available in the following national cloud deployments. + Create a new siteSource object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteSource] @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[SiteSourcesR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SiteSource] = None, request_configuration: Optional[SiteSourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new siteSource object. This API is available in the following national cloud deployments. + Create a new siteSource object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SiteSource] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/user_sources/item/user_source_item_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/user_sources/item/user_source_item_request_builder.py index dbd513d98fd..e0ecca961d2 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/user_sources/item/user_source_item_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/user_sources/item/user_source_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserSourc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserSourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserSourceIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserSource] = None, request_configuration: Optional[UserSourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserSource] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/user_sources/user_sources_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/user_sources/user_sources_request_builder.py index 48191a4564c..b76bdc26756 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/user_sources/user_sources_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/item/user_sources/user_sources_request_builder.py @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[UserSourcesRequestBuilderGetR async def post(self,body: Optional[UserSource] = None, request_configuration: Optional[UserSourcesRequestBuilderPostRequestConfiguration] = None) -> Optional[UserSource]: """ - Create a new userSource object. This API is available in the following national cloud deployments. + Create a new userSource object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserSource] @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[UserSourcesR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserSource] = None, request_configuration: Optional[UserSourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new userSource object. This API is available in the following national cloud deployments. + Create a new userSource object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UserSource] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/legal_holds_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/legal_holds_request_builder.py index 6da6bdb6ce1..abae1040422 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/legal_holds_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/legal_holds/legal_holds_request_builder.py @@ -45,7 +45,7 @@ def by_ediscovery_hold_policy_id(self,ediscovery_hold_policy_id: str) -> Ediscov async def get(self,request_configuration: Optional[LegalHoldsRequestBuilderGetRequestConfiguration] = None) -> Optional[EdiscoveryHoldPolicyCollectionResponse]: """ - Get a list of the ediscoveryHoldPolicy objects and their properties. This API is available in the following national cloud deployments. + Get a list of the ediscoveryHoldPolicy objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoveryHoldPolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-ediscoverycase-list-legalholds?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[LegalHoldsRequestBuilderGetRe async def post(self,body: Optional[EdiscoveryHoldPolicy] = None, request_configuration: Optional[LegalHoldsRequestBuilderPostRequestConfiguration] = None) -> Optional[EdiscoveryHoldPolicy]: """ - Create a new ediscoveryHoldPolicy object. This API is available in the following national cloud deployments. + Create a new ediscoveryHoldPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoveryHoldPolicy] @@ -92,7 +92,7 @@ async def post(self,body: Optional[EdiscoveryHoldPolicy] = None, request_configu def to_get_request_information(self,request_configuration: Optional[LegalHoldsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the ediscoveryHoldPolicy objects and their properties. This API is available in the following national cloud deployments. + Get a list of the ediscoveryHoldPolicy objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[LegalHoldsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EdiscoveryHoldPolicy] = None, request_configuration: Optional[LegalHoldsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new ediscoveryHoldPolicy object. This API is available in the following national cloud deployments. + Create a new ediscoveryHoldPolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[EdiscoveryHoldPolicy] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class LegalHoldsRequestBuilderGetQueryParameters(): """ - Get a list of the ediscoveryHoldPolicy objects and their properties. This API is available in the following national cloud deployments. + Get a list of the ediscoveryHoldPolicy objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/microsoft_graph_security_close/microsoft_graph_security_close_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/microsoft_graph_security_close/microsoft_graph_security_close_request_builder.py index 2769da8d3f2..5b83f03b6c3 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/microsoft_graph_security_close/microsoft_graph_security_close_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/microsoft_graph_security_close/microsoft_graph_security_close_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[MicrosoftGraphSecurityCloseRequestBuilderPostRequestConfiguration] = None) -> None: """ - Close an eDiscovery case. For details, see Close a case. This API is available in the following national cloud deployments. + Close an eDiscovery case. For details, see Close 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-ediscoverycase-close?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[MicrosoftGraphSecurityCloseR def to_post_request_information(self,request_configuration: Optional[MicrosoftGraphSecurityCloseRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Close an eDiscovery case. For details, see Close a case. This API is available in the following national cloud deployments. + Close an eDiscovery case. For details, see Close a case. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphSecurityCloseRequestBuilder: diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/microsoft_graph_security_reopen/microsoft_graph_security_reopen_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/microsoft_graph_security_reopen/microsoft_graph_security_reopen_request_builder.py index a841f2122d7..c6227c5f744 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/microsoft_graph_security_reopen/microsoft_graph_security_reopen_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/microsoft_graph_security_reopen/microsoft_graph_security_reopen_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[MicrosoftGraphSecurityReopenRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reopen an eDiscovery case that was closed. For details, see Reopen a closed case. This API is available in the following national cloud deployments. + Reopen an eDiscovery case that was closed. For details, see Reopen a closed 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-ediscoverycase-reopen?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[MicrosoftGraphSecurityReopen def to_post_request_information(self,request_configuration: Optional[MicrosoftGraphSecurityReopenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reopen an eDiscovery case that was closed. For details, see Reopen a closed case. This API is available in the following national cloud deployments. + Reopen an eDiscovery case that was closed. For details, see Reopen a closed case. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphSecurityReopenRequestBuilder: diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/data_source/data_source_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/data_source/data_source_request_builder.py index 92ecc3e71e7..94253c6e23a 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/data_source/data_source_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/data_source/data_source_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DataSourc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DataSourceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DataSourceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DataSource] = None, request_configuration: Optional[DataSourceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DataSource] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/ediscovery_noncustodial_data_source_item_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/ediscovery_noncustodial_data_source_item_request_builder.py index d7a314819af..37bdd6ebdea 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/ediscovery_noncustodial_data_source_item_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/ediscovery_noncustodial_data_source_item_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[Ediscover request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EdiscoveryNoncustodialDataSourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[EdiscoveryNo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EdiscoveryNoncustodialDataSource] = None, request_configuration: Optional[EdiscoveryNoncustodialDataSourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[EdiscoveryNoncustodialDataS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/last_index_operation/last_index_operation_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/last_index_operation/last_index_operation_request_builder.py index 6f8d8442e42..4d651b0399a 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/last_index_operation/last_index_operation_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/last_index_operation/last_index_operation_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[LastIndexOpe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastIndexOperationRequestBuilder: diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/microsoft_graph_security_apply_hold/microsoft_graph_security_apply_hold_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/microsoft_graph_security_apply_hold/microsoft_graph_security_apply_hold_request_builder.py index fe179d9ae9a..e0022454d57 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/microsoft_graph_security_apply_hold/microsoft_graph_security_apply_hold_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/microsoft_graph_security_apply_hold/microsoft_graph_security_apply_hold_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[MicrosoftGraphSecurityApplyHoldRequestBuilderPostRequestConfiguration] = None) -> None: """ - Start the process of applying hold on eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that returns an eDiscoveryHoldOperation object. This API is available in the following national cloud deployments. + Start the process of applying hold on eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that returns an eDiscoveryHoldOperation object. 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-ediscoverynoncustodialdatasource-applyhold?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[MicrosoftGraphSecurityApplyH def to_post_request_information(self,request_configuration: Optional[MicrosoftGraphSecurityApplyHoldRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Start the process of applying hold on eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that returns an eDiscoveryHoldOperation object. This API is available in the following national cloud deployments. + Start the process of applying hold on eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that returns an eDiscoveryHoldOperation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphSecurityApplyHoldRequestBuilder: diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/microsoft_graph_security_release/microsoft_graph_security_release_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/microsoft_graph_security_release/microsoft_graph_security_release_request_builder.py index ae6575251b5..ffda0504e9f 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/microsoft_graph_security_release/microsoft_graph_security_release_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/microsoft_graph_security_release/microsoft_graph_security_release_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[MicrosoftGraphSecurityReleaseRequestBuilderPostRequestConfiguration] = None) -> None: """ - Release the non-custodial data source from the case. This API is available in the following national cloud deployments. + Release the non-custodial data source from the 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-ediscoverynoncustodialdatasource-release?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[MicrosoftGraphSecurityReleas def to_post_request_information(self,request_configuration: Optional[MicrosoftGraphSecurityReleaseRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Release the non-custodial data source from the case. This API is available in the following national cloud deployments. + Release the non-custodial data source from the case. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphSecurityReleaseRequestBuilder: diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/microsoft_graph_security_remove_hold/microsoft_graph_security_remove_hold_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/microsoft_graph_security_remove_hold/microsoft_graph_security_remove_hold_request_builder.py index 4a202d7f060..2a5d28ca698 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/microsoft_graph_security_remove_hold/microsoft_graph_security_remove_hold_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/microsoft_graph_security_remove_hold/microsoft_graph_security_remove_hold_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[MicrosoftGraphSecurityRemoveHoldRequestBuilderPostRequestConfiguration] = None) -> None: """ - Start the process of removing hold from eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that returns an eDiscoveryHoldOperation object. This API is available in the following national cloud deployments. + Start the process of removing hold from eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that returns an eDiscoveryHoldOperation object. 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-ediscoverynoncustodialdatasource-removehold?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[MicrosoftGraphSecurityRemove def to_post_request_information(self,request_configuration: Optional[MicrosoftGraphSecurityRemoveHoldRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Start the process of removing hold from eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that returns an eDiscoveryHoldOperation object. This API is available in the following national cloud deployments. + Start the process of removing hold from eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that returns an eDiscoveryHoldOperation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphSecurityRemoveHoldRequestBuilder: diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/microsoft_graph_security_update_index/microsoft_graph_security_update_index_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/microsoft_graph_security_update_index/microsoft_graph_security_update_index_request_builder.py index 038c91c7122..66c0b4fac80 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/microsoft_graph_security_update_index/microsoft_graph_security_update_index_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/microsoft_graph_security_update_index/microsoft_graph_security_update_index_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[MicrosoftGraphSecurityUpdateIndexRequestBuilderPostRequestConfiguration] = None) -> None: """ - Trigger an indexOperation This API is available in the following national cloud deployments. + Trigger an indexOperation 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-ediscoverynoncustodialdatasource-updateindex?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[MicrosoftGraphSecurityUpdate def to_post_request_information(self,request_configuration: Optional[MicrosoftGraphSecurityUpdateIndexRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Trigger an indexOperation This API is available in the following national cloud deployments. + Trigger an indexOperation param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphSecurityUpdateIndexRequestBuilder: diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/microsoft_graph_security_apply_hold/microsoft_graph_security_apply_hold_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/microsoft_graph_security_apply_hold/microsoft_graph_security_apply_hold_request_builder.py index 6a453596f43..9440dc35e14 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/microsoft_graph_security_apply_hold/microsoft_graph_security_apply_hold_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/microsoft_graph_security_apply_hold/microsoft_graph_security_apply_hold_request_builder.py @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ApplyHoldPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/microsoft_graph_security_remove_hold/microsoft_graph_security_remove_hold_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/microsoft_graph_security_remove_hold/microsoft_graph_security_remove_hold_request_builder.py index 68a13d94aeb..cd360e73b09 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/microsoft_graph_security_remove_hold/microsoft_graph_security_remove_hold_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/microsoft_graph_security_remove_hold/microsoft_graph_security_remove_hold_request_builder.py @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RemoveHoldPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/microsoft_graph_security_update_index/microsoft_graph_security_update_index_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/microsoft_graph_security_update_index/microsoft_graph_security_update_index_request_builder.py index 818afdc92f0..a5444bb309d 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/microsoft_graph_security_update_index/microsoft_graph_security_update_index_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/microsoft_graph_security_update_index/microsoft_graph_security_update_index_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UpdateIndexPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/noncustodial_data_sources_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/noncustodial_data_sources_request_builder.py index d09201c2b6d..8db1bdd4fd7 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/noncustodial_data_sources_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/noncustodial_data_sources/noncustodial_data_sources_request_builder.py @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[NoncustodialDataSourcesReques async def post(self,body: Optional[EdiscoveryNoncustodialDataSource] = None, request_configuration: Optional[NoncustodialDataSourcesRequestBuilderPostRequestConfiguration] = None) -> Optional[EdiscoveryNoncustodialDataSource]: """ - Create a new ediscoveryNoncustodialDataSource object. This API is available in the following national cloud deployments. + Create a new ediscoveryNoncustodialDataSource object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoveryNoncustodialDataSource] @@ -106,12 +106,12 @@ def to_get_request_information(self,request_configuration: Optional[Noncustodial request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EdiscoveryNoncustodialDataSource] = None, request_configuration: Optional[NoncustodialDataSourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new ediscoveryNoncustodialDataSource object. This API is available in the following national cloud deployments. + Create a new ediscoveryNoncustodialDataSource object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -125,7 +125,7 @@ def to_post_request_information(self,body: Optional[EdiscoveryNoncustodialDataSo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/operations/item/case_operation_item_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/operations/item/case_operation_item_request_builder.py index 1ecd4731b4f..01753a56a33 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/operations/item/case_operation_item_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/operations/item/case_operation_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[CaseOperationItemRequestBu async def get(self,request_configuration: Optional[CaseOperationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CaseOperation]: """ - Read the properties and relationships of a caseOperation object. This API is available in the following national cloud deployments. + Read the properties and relationships of a caseOperation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CaseOperation] Find more info here: https://learn.microsoft.com/graph/api/security-caseoperation-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[CaseOpera request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CaseOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a caseOperation object. This API is available in the following national cloud deployments. + Read the properties and relationships of a caseOperation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CaseOperatio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CaseOperation] = None, request_configuration: Optional[CaseOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[CaseOperation] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class CaseOperationItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class CaseOperationItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a caseOperation object. This API is available in the following national cloud deployments. + Read the properties and relationships of a caseOperation object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/operations/operations_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/operations/operations_request_builder.py index 9943ea7e2ab..0b7d21eb560 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/operations/operations_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/operations/operations_request_builder.py @@ -45,7 +45,7 @@ def by_case_operation_id(self,case_operation_id: str) -> CaseOperationItemReques async def get(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> Optional[CaseOperationCollectionResponse]: """ - Get a list of the caseOperation objects and their properties. This API is available in the following national cloud deployments. + Get a list of the caseOperation objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CaseOperationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-ediscoverycase-list-operations?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[CaseOperation] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the caseOperation objects and their properties. This API is available in the following national cloud deployments. + Get a list of the caseOperation objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CaseOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[CaseOperation] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OperationsRequestBuilderGetQueryParameters(): """ - Get a list of the caseOperation objects and their properties. This API is available in the following national cloud deployments. + Get a list of the caseOperation objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/ediscovery_review_set_item_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/ediscovery_review_set_item_request_builder.py index eadcda17637..55b05bd2e44 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/ediscovery_review_set_item_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/ediscovery_review_set_item_request_builder.py @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[EdiscoveryReviewSetItemReq async def get(self,request_configuration: Optional[EdiscoveryReviewSetItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EdiscoveryReviewSet]: """ - Read the properties and relationships of an ediscoveryReviewSet object. This API is available in the following national cloud deployments. + Read the properties and relationships of an ediscoveryReviewSet object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoveryReviewSet] Find more info here: https://learn.microsoft.com/graph/api/security-ediscoveryreviewset-get?view=graph-rest-1.0 @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[Ediscover request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EdiscoveryReviewSetItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an ediscoveryReviewSet object. This API is available in the following national cloud deployments. + Read the properties and relationships of an ediscoveryReviewSet object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[EdiscoveryRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EdiscoveryReviewSet] = None, request_configuration: Optional[EdiscoveryReviewSetItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[EdiscoveryReviewSet] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -207,7 +207,7 @@ class EdiscoveryReviewSetItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class EdiscoveryReviewSetItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an ediscoveryReviewSet object. This API is available in the following national cloud deployments. + Read the properties and relationships of an ediscoveryReviewSet object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/files_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/files_request_builder.py index f0b23e25734..70983b3fb1b 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/files_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/files_request_builder.py @@ -45,7 +45,7 @@ def by_ediscovery_file_id(self,ediscovery_file_id: str) -> EdiscoveryFileItemReq async def get(self,request_configuration: Optional[FilesRequestBuilderGetRequestConfiguration] = None) -> Optional[EdiscoveryFileCollectionResponse]: """ - Get a list of the ediscoveryFile objects and their properties. This API is available in the following national cloud deployments. + Get a list of the ediscoveryFile objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoveryFileCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-ediscoveryreviewset-list-files?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[EdiscoveryFile] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[FilesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the ediscoveryFile objects and their properties. This API is available in the following national cloud deployments. + Get a list of the ediscoveryFile objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[FilesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EdiscoveryFile] = None, request_configuration: Optional[FilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[EdiscoveryFile] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class FilesRequestBuilderGetQueryParameters(): """ - Get a list of the ediscoveryFile objects and their properties. This API is available in the following national cloud deployments. + Get a list of the ediscoveryFile objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/item/content/content_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/item/content/content_request_builder.py index ca2db5e5154..aac0c070148 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/item/content/content_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/item/content/content_request_builder.py @@ -83,7 +83,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -102,7 +102,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/item/custodian/custodian_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/item/custodian/custodian_request_builder.py index 64f4e148899..ab6c6439f5a 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/item/custodian/custodian_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/item/custodian/custodian_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CustodianReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CustodianRequestBuilder: diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/item/ediscovery_file_item_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/item/ediscovery_file_item_request_builder.py index 4f701f9f3fa..20b1b41cda7 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/item/ediscovery_file_item_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/item/ediscovery_file_item_request_builder.py @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[EdiscoveryFileItemRequestB async def get(self,request_configuration: Optional[EdiscoveryFileItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EdiscoveryFile]: """ - Read the properties and relationships of an ediscoveryFile object. This API is available in the following national cloud deployments. + Read the properties and relationships of an ediscoveryFile object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoveryFile] Find more info here: https://learn.microsoft.com/graph/api/security-ediscoveryfile-get?view=graph-rest-1.0 @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[Ediscover request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EdiscoveryFileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an ediscoveryFile object. This API is available in the following national cloud deployments. + Read the properties and relationships of an ediscoveryFile object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[EdiscoveryFi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EdiscoveryFile] = None, request_configuration: Optional[EdiscoveryFileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[EdiscoveryFile] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -207,7 +207,7 @@ class EdiscoveryFileItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class EdiscoveryFileItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an ediscoveryFile object. This API is available in the following national cloud deployments. + Read the properties and relationships of an ediscoveryFile object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/item/extracted_text_content/extracted_text_content_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/item/extracted_text_content/extracted_text_content_request_builder.py index 79a93299ac8..1ca04f5c9ac 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/item/extracted_text_content/extracted_text_content_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/item/extracted_text_content/extracted_text_content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtractedTex request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ExtractedTextContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/item/tags/item/ediscovery_review_tag_item_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/item/tags/item/ediscovery_review_tag_item_request_builder.py index 3dd989f62b8..f95ceb4fc1a 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/item/tags/item/ediscovery_review_tag_item_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/item/tags/item/ediscovery_review_tag_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[EdiscoveryRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EdiscoveryReviewTagItemRequestBuilder: diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/item/tags/tags_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/item/tags/tags_request_builder.py index 6bc457770a2..fb601932428 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/item/tags/tags_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/files/item/tags/tags_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[TagsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TagsRequestBuilder: diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/microsoft_graph_security_add_to_review_set/microsoft_graph_security_add_to_review_set_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/microsoft_graph_security_add_to_review_set/microsoft_graph_security_add_to_review_set_request_builder.py index 42570674cc2..1a718c8fab6 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/microsoft_graph_security_add_to_review_set/microsoft_graph_security_add_to_review_set_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/microsoft_graph_security_add_to_review_set/microsoft_graph_security_add_to_review_set_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddToReviewSetPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphSecurityAddToReviewSetRequestBuilderPostRequestConfiguration] = None) -> None: """ - Start the process of adding a collection from Microsoft 365 services to a review set. After the operation is created, you can get the status of the operation by retrieving the Location parameter from the response headers. The location provides a URL that will return a Add to review set operation. This API is available in the following national cloud deployments. + Start the process of adding a collection from Microsoft 365 services to a review set. After the operation is created, you can get the status of the operation by retrieving the Location parameter from the response headers. The location provides a URL that will return a Add to review set operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AddToReviewSetPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[AddToReviewSetPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphSecurityAddToReviewSetRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Start the process of adding a collection from Microsoft 365 services to a review set. After the operation is created, you can get the status of the operation by retrieving the Location parameter from the response headers. The location provides a URL that will return a Add to review set operation. This API is available in the following national cloud deployments. + Start the process of adding a collection from Microsoft 365 services to a review set. After the operation is created, you can get the status of the operation by retrieving the Location parameter from the response headers. The location provides a URL that will return a Add to review set operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AddToReviewSetPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/microsoft_graph_security_export/microsoft_graph_security_export_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/microsoft_graph_security_export/microsoft_graph_security_export_request_builder.py index 05362babcbe..31cdad09f19 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/microsoft_graph_security_export/microsoft_graph_security_export_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/microsoft_graph_security_export/microsoft_graph_security_export_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ExportPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphSecurityExportRequestBuilderPostRequestConfiguration] = None) -> None: """ - Initiate an export from a reviewSet. For details, see Export documents from a review set in eDiscovery (Premium). This API is available in the following national cloud deployments. + Initiate an export from a reviewSet. For details, see Export documents from a review set in eDiscovery (Premium). param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ExportPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[ExportPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphSecurityExportRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Initiate an export from a reviewSet. For details, see Export documents from a review set in eDiscovery (Premium). This API is available in the following national cloud deployments. + Initiate an export from a reviewSet. For details, see Export documents from a review set in eDiscovery (Premium). param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ExportPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/ediscovery_review_set_query_item_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/ediscovery_review_set_query_item_request_builder.py index 1a27f910854..73eb4490129 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/ediscovery_review_set_query_item_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/ediscovery_review_set_query_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[EdiscoveryReviewSetQueryItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an ediscoveryReviewSetQuery object. This API is available in the following national cloud deployments. + Delete an ediscoveryReviewSetQuery object. 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-ediscoveryreviewset-delete-queries?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[EdiscoveryReviewSetQueryIt async def get(self,request_configuration: Optional[EdiscoveryReviewSetQueryItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EdiscoveryReviewSetQuery]: """ - Read the properties and relationships of an ediscoveryReviewSetQuery object. This API is available in the following national cloud deployments. + Read the properties and relationships of an ediscoveryReviewSetQuery object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoveryReviewSetQuery] Find more info here: https://learn.microsoft.com/graph/api/security-ediscoveryreviewsetquery-get?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[EdiscoveryReviewSetQueryItemR async def patch(self,body: Optional[EdiscoveryReviewSetQuery] = None, request_configuration: Optional[EdiscoveryReviewSetQueryItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[EdiscoveryReviewSetQuery]: """ - Update the properties of an ediscoveryReviewSetQuery object. This API is available in the following national cloud deployments. + Update the properties of an ediscoveryReviewSetQuery object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoveryReviewSetQuery] @@ -98,7 +98,7 @@ async def patch(self,body: Optional[EdiscoveryReviewSetQuery] = None, request_co def to_delete_request_information(self,request_configuration: Optional[EdiscoveryReviewSetQueryItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an ediscoveryReviewSetQuery object. This API is available in the following national cloud deployments. + Delete an ediscoveryReviewSetQuery object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[Ediscover request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EdiscoveryReviewSetQueryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an ediscoveryReviewSetQuery object. This API is available in the following national cloud deployments. + Read the properties and relationships of an ediscoveryReviewSetQuery object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,12 +126,12 @@ def to_get_request_information(self,request_configuration: Optional[EdiscoveryRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EdiscoveryReviewSetQuery] = None, request_configuration: Optional[EdiscoveryReviewSetQueryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an ediscoveryReviewSetQuery object. This API is available in the following national cloud deployments. + Update the properties of an ediscoveryReviewSetQuery object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[EdiscoveryReviewSetQuery] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -199,7 +199,7 @@ class EdiscoveryReviewSetQueryItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class EdiscoveryReviewSetQueryItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an ediscoveryReviewSetQuery object. This API is available in the following national cloud deployments. + Read the properties and relationships of an ediscoveryReviewSetQuery object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_apply_tags/microsoft_graph_security_apply_tags_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_apply_tags/microsoft_graph_security_apply_tags_request_builder.py index af13b70ea5a..d7135c4e555 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_apply_tags/microsoft_graph_security_apply_tags_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_apply_tags/microsoft_graph_security_apply_tags_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ApplyTagsPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphSecurityApplyTagsRequestBuilderPostRequestConfiguration] = None) -> None: """ - Apply tags to files in an eDiscovery review set. For details, see Tag documents in a review set in eDiscovery. This API is available in the following national cloud deployments. + Apply tags to files in an eDiscovery review set. For details, see Tag documents in a review set in eDiscovery. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ApplyTagsPostRequestBody] = None, request_con def to_post_request_information(self,body: Optional[ApplyTagsPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphSecurityApplyTagsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Apply tags to files in an eDiscovery review set. For details, see Tag documents in a review set in eDiscovery. This API is available in the following national cloud deployments. + Apply tags to files in an eDiscovery review set. For details, see Tag documents in a review set in eDiscovery. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ApplyTagsPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_export/microsoft_graph_security_export_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_export/microsoft_graph_security_export_request_builder.py index 28b11f15498..13260c0a490 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_export/microsoft_graph_security_export_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_export/microsoft_graph_security_export_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ExportPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphSecurityExportRequestBuilderPostRequestConfiguration] = None) -> None: """ - Initiate an export from a ediscoveryReviewSetQuery. For details, see Export documents from a review set in eDiscovery (Premium). This API is available in the following national cloud deployments. + Initiate an export from a ediscoveryReviewSetQuery. For details, see Export documents from a review set in eDiscovery (Premium). param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ExportPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[ExportPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphSecurityExportRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Initiate an export from a ediscoveryReviewSetQuery. For details, see Export documents from a review set in eDiscovery (Premium). This API is available in the following national cloud deployments. + Initiate an export from a ediscoveryReviewSetQuery. For details, see Export documents from a review set in eDiscovery (Premium). param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ExportPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_run/microsoft_graph_security_run_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_run/microsoft_graph_security_run_request_builder.py index 8a0da0ac25f..14e16a11dc0 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_run/microsoft_graph_security_run_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/item/microsoft_graph_security_run/microsoft_graph_security_run_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphSecurityRunRequestBuilder: diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/queries_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/queries_request_builder.py index c5c68d81d96..e5f26a964d7 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/queries_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/item/queries/queries_request_builder.py @@ -45,7 +45,7 @@ def by_ediscovery_review_set_query_id(self,ediscovery_review_set_query_id: str) async def get(self,request_configuration: Optional[QueriesRequestBuilderGetRequestConfiguration] = None) -> Optional[EdiscoveryReviewSetQueryCollectionResponse]: """ - Get the list of queries associated with an eDiscovery review set. This API is available in the following national cloud deployments. + Get the list of queries associated with an eDiscovery review set. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoveryReviewSetQueryCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-ediscoveryreviewset-list-queries?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[QueriesRequestBuilderGetReque async def post(self,body: Optional[EdiscoveryReviewSetQuery] = None, request_configuration: Optional[QueriesRequestBuilderPostRequestConfiguration] = None) -> Optional[EdiscoveryReviewSetQuery]: """ - Create a new ediscoveryReviewSetQuery object. This API is available in the following national cloud deployments. + Create a new ediscoveryReviewSetQuery object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoveryReviewSetQuery] @@ -92,7 +92,7 @@ async def post(self,body: Optional[EdiscoveryReviewSetQuery] = None, request_con def to_get_request_information(self,request_configuration: Optional[QueriesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of queries associated with an eDiscovery review set. This API is available in the following national cloud deployments. + Get the list of queries associated with an eDiscovery review set. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[QueriesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EdiscoveryReviewSetQuery] = None, request_configuration: Optional[QueriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new ediscoveryReviewSetQuery object. This API is available in the following national cloud deployments. + Create a new ediscoveryReviewSetQuery object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[EdiscoveryReviewSetQuery] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class QueriesRequestBuilderGetQueryParameters(): """ - Get the list of queries associated with an eDiscovery review set. This API is available in the following national cloud deployments. + Get the list of queries associated with an eDiscovery review set. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/review_sets_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/review_sets_request_builder.py index 6a4089e4e14..c41fd689c2e 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/review_sets_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/review_sets/review_sets_request_builder.py @@ -45,7 +45,7 @@ def by_ediscovery_review_set_id(self,ediscovery_review_set_id: str) -> Ediscover async def get(self,request_configuration: Optional[ReviewSetsRequestBuilderGetRequestConfiguration] = None) -> Optional[EdiscoveryReviewSetCollectionResponse]: """ - Get a list of ediscoveryReviewSet objects associated with an eDiscovery case. This API is available in the following national cloud deployments. + Get a list of ediscoveryReviewSet objects associated with an eDiscovery case. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoveryReviewSetCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-ediscoverycase-list-reviewsets?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ReviewSetsRequestBuilderGetRe async def post(self,body: Optional[EdiscoveryReviewSet] = None, request_configuration: Optional[ReviewSetsRequestBuilderPostRequestConfiguration] = None) -> Optional[EdiscoveryReviewSet]: """ - Create a new ediscoveryReviewSet object. This API is available in the following national cloud deployments. + Create a new ediscoveryReviewSet object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoveryReviewSet] @@ -92,7 +92,7 @@ async def post(self,body: Optional[EdiscoveryReviewSet] = None, request_configur def to_get_request_information(self,request_configuration: Optional[ReviewSetsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of ediscoveryReviewSet objects associated with an eDiscovery case. This API is available in the following national cloud deployments. + Get a list of ediscoveryReviewSet objects associated with an eDiscovery case. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ReviewSetsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EdiscoveryReviewSet] = None, request_configuration: Optional[ReviewSetsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new ediscoveryReviewSet object. This API is available in the following national cloud deployments. + Create a new ediscoveryReviewSet object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[EdiscoveryReviewSet] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ReviewSetsRequestBuilderGetQueryParameters(): """ - Get a list of ediscoveryReviewSet objects associated with an eDiscovery case. This API is available in the following national cloud deployments. + Get a list of ediscoveryReviewSet objects associated with an eDiscovery case. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/add_to_review_set_operation/add_to_review_set_operation_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/add_to_review_set_operation/add_to_review_set_operation_request_builder.py index 9d0126d6952..e71eec77f93 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/add_to_review_set_operation/add_to_review_set_operation_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/add_to_review_set_operation/add_to_review_set_operation_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AddToReviewS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AddToReviewSetOperationRequestBuilder: diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/additional_sources/additional_sources_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/additional_sources/additional_sources_request_builder.py index 3b04b9c28c7..5a047132363 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/additional_sources/additional_sources_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/additional_sources/additional_sources_request_builder.py @@ -45,7 +45,7 @@ def by_data_source_id(self,data_source_id: str) -> DataSourceItemRequestBuilder: async def get(self,request_configuration: Optional[AdditionalSourcesRequestBuilderGetRequestConfiguration] = None) -> Optional[DataSourceCollectionResponse]: """ - Get the list of additional sources associated with an eDiscovery search. This API is available in the following national cloud deployments. + Get the list of additional sources associated with an eDiscovery search. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DataSourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-ediscoverysearch-list-additionalsources?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AdditionalSourcesRequestBuild async def post(self,body: Optional[DataSource] = None, request_configuration: Optional[AdditionalSourcesRequestBuilderPostRequestConfiguration] = None) -> Optional[DataSource]: """ - Create a new additional source associated with an eDiscovery search. This API is available in the following national cloud deployments. + Create a new additional source associated with an eDiscovery search. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DataSource] @@ -92,7 +92,7 @@ async def post(self,body: Optional[DataSource] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AdditionalSourcesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of additional sources associated with an eDiscovery search. This API is available in the following national cloud deployments. + Get the list of additional sources associated with an eDiscovery search. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[AdditionalSo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DataSource] = None, request_configuration: Optional[AdditionalSourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new additional source associated with an eDiscovery search. This API is available in the following national cloud deployments. + Create a new additional source associated with an eDiscovery search. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[DataSource] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AdditionalSourcesRequestBuilderGetQueryParameters(): """ - Get the list of additional sources associated with an eDiscovery search. This API is available in the following national cloud deployments. + Get the list of additional sources associated with an eDiscovery search. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/additional_sources/item/data_source_item_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/additional_sources/item/data_source_item_request_builder.py index f1dd72dbffe..26ad9add443 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/additional_sources/item/data_source_item_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/additional_sources/item/data_source_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DataSourc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DataSourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DataSourceIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DataSource] = None, request_configuration: Optional[DataSourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DataSource] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/custodian_sources/custodian_sources_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/custodian_sources/custodian_sources_request_builder.py index 446143c37a5..e0b91870908 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/custodian_sources/custodian_sources_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/custodian_sources/custodian_sources_request_builder.py @@ -44,7 +44,7 @@ def by_data_source_id(self,data_source_id: str) -> DataSourceItemRequestBuilder: async def get(self,request_configuration: Optional[CustodianSourcesRequestBuilderGetRequestConfiguration] = None) -> Optional[DataSourceCollectionResponse]: """ - Get the list of custodial data sources associated with an eDiscovery search. This API is available in the following national cloud deployments. + Get the list of custodial data sources associated with an eDiscovery search. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DataSourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-ediscoverysearch-list-custodiansources?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[CustodianSourcesRequestBuilde def to_get_request_information(self,request_configuration: Optional[CustodianSourcesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of custodial data sources associated with an eDiscovery search. This API is available in the following national cloud deployments. + Get the list of custodial data sources associated with an eDiscovery search. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[CustodianSou request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CustodianSourcesRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CustodianSourcesRequestBuilderGetQueryParameters(): """ - Get the list of custodial data sources associated with an eDiscovery search. This API is available in the following national cloud deployments. + Get the list of custodial data sources associated with an eDiscovery search. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/custodian_sources/item/data_source_item_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/custodian_sources/item/data_source_item_request_builder.py index ba07206356c..01d47aa0036 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/custodian_sources/item/data_source_item_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/custodian_sources/item/data_source_item_request_builder.py @@ -80,7 +80,7 @@ def to_delete_request_information(self,request_configuration: Optional[DataSourc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DataSourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -97,7 +97,7 @@ def to_get_request_information(self,request_configuration: Optional[DataSourceIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DataSourceItemRequestBuilder: diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/ediscovery_search_item_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/ediscovery_search_item_request_builder.py index c601860addd..a08d9dd7eba 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/ediscovery_search_item_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/ediscovery_search_item_request_builder.py @@ -37,7 +37,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[EdiscoverySearchItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an ediscoverySearch object. This API is available in the following national cloud deployments. + Delete an ediscoverySearch object. 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-ediscoverycase-delete-searches?view=graph-rest-1.0 @@ -57,7 +57,7 @@ async def delete(self,request_configuration: Optional[EdiscoverySearchItemReques async def get(self,request_configuration: Optional[EdiscoverySearchItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EdiscoverySearch]: """ - Read the properties and relationships of an ediscoverySearch object. This API is available in the following national cloud deployments. + Read the properties and relationships of an ediscoverySearch object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoverySearch] Find more info here: https://learn.microsoft.com/graph/api/security-ediscoverysearch-get?view=graph-rest-1.0 @@ -79,7 +79,7 @@ async def get(self,request_configuration: Optional[EdiscoverySearchItemRequestBu async def patch(self,body: Optional[EdiscoverySearch] = None, request_configuration: Optional[EdiscoverySearchItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[EdiscoverySearch]: """ - Update the properties of an ediscoverySearch object. This API is available in the following national cloud deployments. + Update the properties of an ediscoverySearch object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoverySearch] @@ -104,7 +104,7 @@ async def patch(self,body: Optional[EdiscoverySearch] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[EdiscoverySearchItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an ediscoverySearch object. This API is available in the following national cloud deployments. + Delete an ediscoverySearch object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -115,12 +115,12 @@ def to_delete_request_information(self,request_configuration: Optional[Ediscover request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EdiscoverySearchItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an ediscoverySearch object. This API is available in the following national cloud deployments. + Read the properties and relationships of an ediscoverySearch object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -132,12 +132,12 @@ def to_get_request_information(self,request_configuration: Optional[EdiscoverySe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EdiscoverySearch] = None, request_configuration: Optional[EdiscoverySearchItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an ediscoverySearch object. This API is available in the following national cloud deployments. + Update the properties of an ediscoverySearch object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -151,7 +151,7 @@ def to_patch_request_information(self,body: Optional[EdiscoverySearch] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -259,7 +259,7 @@ class EdiscoverySearchItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class EdiscoverySearchItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an ediscoverySearch object. This API is available in the following national cloud deployments. + Read the properties and relationships of an ediscoverySearch object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/last_estimate_statistics_operation/last_estimate_statistics_operation_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/last_estimate_statistics_operation/last_estimate_statistics_operation_request_builder.py index 437c09240c6..ab5cd4d532f 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/last_estimate_statistics_operation/last_estimate_statistics_operation_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/last_estimate_statistics_operation/last_estimate_statistics_operation_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[LastEstimateStatisticsOperationRequestBuilderGetRequestConfiguration] = None) -> Optional[EdiscoveryEstimateOperation]: """ - Get the last ediscoveryEstimateOperation objects and their properties. This API is available in the following national cloud deployments. + Get the last ediscoveryEstimateOperation objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoveryEstimateOperation] Find more info here: https://learn.microsoft.com/graph/api/security-ediscoverysearch-list-lastestimatestatisticsoperation?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[LastEstimateStatisticsOperati def to_get_request_information(self,request_configuration: Optional[LastEstimateStatisticsOperationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the last ediscoveryEstimateOperation objects and their properties. This API is available in the following national cloud deployments. + Get the last ediscoveryEstimateOperation objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[LastEstimate request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastEstimateStatisticsOperationRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> LastEstimateStatisticsOperat @dataclass class LastEstimateStatisticsOperationRequestBuilderGetQueryParameters(): """ - Get the last ediscoveryEstimateOperation objects and their properties. This API is available in the following national cloud deployments. + Get the last ediscoveryEstimateOperation objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_estimate_statistics/microsoft_graph_security_estimate_statistics_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_estimate_statistics/microsoft_graph_security_estimate_statistics_request_builder.py index 36e867066be..35fc31813a1 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_estimate_statistics/microsoft_graph_security_estimate_statistics_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_estimate_statistics/microsoft_graph_security_estimate_statistics_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[MicrosoftGraphSecurityEstimateStatisticsRequestBuilderPostRequestConfiguration] = None) -> None: """ - Run an estimate of the number of emails and documents in the eDiscovery search. To learn more about searches in eDiscovery, see Collect data for a case in eDiscovery (Premium). This API is available in the following national cloud deployments. + Run an estimate of the number of emails and documents in the eDiscovery search. To learn more about searches in eDiscovery, see Collect data for a case in eDiscovery (Premium). 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-ediscoverysearch-estimatestatistics?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[MicrosoftGraphSecurityEstima def to_post_request_information(self,request_configuration: Optional[MicrosoftGraphSecurityEstimateStatisticsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Run an estimate of the number of emails and documents in the eDiscovery search. To learn more about searches in eDiscovery, see Collect data for a case in eDiscovery (Premium). This API is available in the following national cloud deployments. + Run an estimate of the number of emails and documents in the eDiscovery search. To learn more about searches in eDiscovery, see Collect data for a case in eDiscovery (Premium). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphSecurityEstimateStatisticsRequestBuilder: diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_report/microsoft_graph_security_export_report_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_report/microsoft_graph_security_export_report_request_builder.py index 12094a5df5b..8068fa91794 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_report/microsoft_graph_security_export_report_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_report/microsoft_graph_security_export_report_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ExportReportPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_result/microsoft_graph_security_export_result_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_result/microsoft_graph_security_export_result_request_builder.py index 0476be16815..5f6aabf8b61 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_result/microsoft_graph_security_export_result_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_export_result/microsoft_graph_security_export_result_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ExportResultPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_purge_data/microsoft_graph_security_purge_data_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_purge_data/microsoft_graph_security_purge_data_request_builder.py index 14a58c06eed..41262109bbf 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_purge_data/microsoft_graph_security_purge_data_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/microsoft_graph_security_purge_data/microsoft_graph_security_purge_data_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[PurgeDataPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphSecurityPurgeDataRequestBuilderPostRequestConfiguration] = None) -> None: """ - Delete Microsoft Teams messages contained in a eDiscovery search. You can collect and purge the following categories of Teams content:- Teams 1:1 chats - Chat messages, posts, and attachments shared in a Teams conversation between two people. Teams 1:1 chats are also called *conversations*.- Teams group chats - Chat messages, posts, and attachments shared in a Teams conversation between three or more people. Also called *1:N* chats or *group conversations*.- Teams channels - Chat messages, posts, replies, and attachments shared in a standard Teams channel.- Private channels - Message posts, replies, and attachments shared in a private Teams channel.- Shared channels - Message posts, replies, and attachments shared in a shared Teams channel. For more information about purging Teams messages, see:- eDiscovery solution series: Data spillage scenario - Search and purge- eDiscovery (Premium) workflow for content in Microsoft Teams This API is available in the following national cloud deployments. + Delete Microsoft Teams messages contained in a eDiscovery search. You can collect and purge the following categories of Teams content:- Teams 1:1 chats - Chat messages, posts, and attachments shared in a Teams conversation between two people. Teams 1:1 chats are also called *conversations*.- Teams group chats - Chat messages, posts, and attachments shared in a Teams conversation between three or more people. Also called *1:N* chats or *group conversations*.- Teams channels - Chat messages, posts, replies, and attachments shared in a standard Teams channel.- Private channels - Message posts, replies, and attachments shared in a private Teams channel.- Shared channels - Message posts, replies, and attachments shared in a shared Teams channel. For more information about purging Teams messages, see:- eDiscovery solution series: Data spillage scenario - Search and purge- eDiscovery (Premium) workflow for content in Microsoft Teams param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[PurgeDataPostRequestBody] = None, request_con def to_post_request_information(self,body: Optional[PurgeDataPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphSecurityPurgeDataRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Delete Microsoft Teams messages contained in a eDiscovery search. You can collect and purge the following categories of Teams content:- Teams 1:1 chats - Chat messages, posts, and attachments shared in a Teams conversation between two people. Teams 1:1 chats are also called *conversations*.- Teams group chats - Chat messages, posts, and attachments shared in a Teams conversation between three or more people. Also called *1:N* chats or *group conversations*.- Teams channels - Chat messages, posts, replies, and attachments shared in a standard Teams channel.- Private channels - Message posts, replies, and attachments shared in a private Teams channel.- Shared channels - Message posts, replies, and attachments shared in a shared Teams channel. For more information about purging Teams messages, see:- eDiscovery solution series: Data spillage scenario - Search and purge- eDiscovery (Premium) workflow for content in Microsoft Teams This API is available in the following national cloud deployments. + Delete Microsoft Teams messages contained in a eDiscovery search. You can collect and purge the following categories of Teams content:- Teams 1:1 chats - Chat messages, posts, and attachments shared in a Teams conversation between two people. Teams 1:1 chats are also called *conversations*.- Teams group chats - Chat messages, posts, and attachments shared in a Teams conversation between three or more people. Also called *1:N* chats or *group conversations*.- Teams channels - Chat messages, posts, replies, and attachments shared in a standard Teams channel.- Private channels - Message posts, replies, and attachments shared in a private Teams channel.- Shared channels - Message posts, replies, and attachments shared in a shared Teams channel. For more information about purging Teams messages, see:- eDiscovery solution series: Data spillage scenario - Search and purge- eDiscovery (Premium) workflow for content in Microsoft Teams param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[PurgeDataPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/noncustodial_sources/item/ediscovery_noncustodial_data_source_item_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/noncustodial_sources/item/ediscovery_noncustodial_data_source_item_request_builder.py index 518df5f4c9f..2f93b452c34 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/noncustodial_sources/item/ediscovery_noncustodial_data_source_item_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/noncustodial_sources/item/ediscovery_noncustodial_data_source_item_request_builder.py @@ -80,7 +80,7 @@ def to_delete_request_information(self,request_configuration: Optional[Ediscover request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EdiscoveryNoncustodialDataSourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -97,7 +97,7 @@ def to_get_request_information(self,request_configuration: Optional[EdiscoveryNo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EdiscoveryNoncustodialDataSourceItemRequestBuilder: diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/noncustodial_sources/noncustodial_sources_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/noncustodial_sources/noncustodial_sources_request_builder.py index 4dce2f02e93..229a2054480 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/noncustodial_sources/noncustodial_sources_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/item/noncustodial_sources/noncustodial_sources_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[Noncustodial request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> NoncustodialSourcesRequestBuilder: diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/searches_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/searches_request_builder.py index 5d379a009ad..4a8edaf6cc2 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/searches_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/searches/searches_request_builder.py @@ -45,7 +45,7 @@ def by_ediscovery_search_id(self,ediscovery_search_id: str) -> EdiscoverySearchI async def get(self,request_configuration: Optional[SearchesRequestBuilderGetRequestConfiguration] = None) -> Optional[EdiscoverySearchCollectionResponse]: """ - Get the list of ediscoverySearch resources from an eDiscoveryCase object. This API is available in the following national cloud deployments. + Get the list of ediscoverySearch resources from an eDiscoveryCase object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoverySearchCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-ediscoverycase-list-searches?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SearchesRequestBuilderGetRequ async def post(self,body: Optional[EdiscoverySearch] = None, request_configuration: Optional[SearchesRequestBuilderPostRequestConfiguration] = None) -> Optional[EdiscoverySearch]: """ - Create a new ediscoverySearch object. This API is available in the following national cloud deployments. + Create a new ediscoverySearch object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoverySearch] @@ -92,7 +92,7 @@ async def post(self,body: Optional[EdiscoverySearch] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[SearchesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of ediscoverySearch resources from an eDiscoveryCase object. This API is available in the following national cloud deployments. + Get the list of ediscoverySearch resources from an eDiscoveryCase object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SearchesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EdiscoverySearch] = None, request_configuration: Optional[SearchesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new ediscoverySearch object. This API is available in the following national cloud deployments. + Create a new ediscoverySearch object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[EdiscoverySearch] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SearchesRequestBuilderGetQueryParameters(): """ - Get the list of ediscoverySearch resources from an eDiscoveryCase object. This API is available in the following national cloud deployments. + Get the list of ediscoverySearch resources from an eDiscoveryCase object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/settings/microsoft_graph_security_reset_to_default/microsoft_graph_security_reset_to_default_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/settings/microsoft_graph_security_reset_to_default/microsoft_graph_security_reset_to_default_request_builder.py index a7a2f0d5ef4..38f11baaf16 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/settings/microsoft_graph_security_reset_to_default/microsoft_graph_security_reset_to_default_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/settings/microsoft_graph_security_reset_to_default/microsoft_graph_security_reset_to_default_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[MicrosoftGraphSecurityResetToDefaultRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reset a caseSettings object to the default values. This API is available in the following national cloud deployments. + Reset a caseSettings object to the default values. 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-ediscoverycasesettings-resettodefault?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[MicrosoftGraphSecurityResetT def to_post_request_information(self,request_configuration: Optional[MicrosoftGraphSecurityResetToDefaultRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reset a caseSettings object to the default values. This API is available in the following national cloud deployments. + Reset a caseSettings object to the default values. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphSecurityResetToDefaultRequestBuilder: diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/settings/settings_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/settings/settings_request_builder.py index ce12191c126..68213fc7d6c 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/settings/settings_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/settings/settings_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[SettingsRequestBuilderDele async def get(self,request_configuration: Optional[SettingsRequestBuilderGetRequestConfiguration] = None) -> Optional[EdiscoveryCaseSettings]: """ - Read the properties and relationships of an ediscoveryCaseSettings object. This API is available in the following national cloud deployments. + Read the properties and relationships of an ediscoveryCaseSettings object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoveryCaseSettings] Find more info here: https://learn.microsoft.com/graph/api/security-ediscoverycasesettings-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[SettingsRequestBuilderGetRequ async def patch(self,body: Optional[EdiscoveryCaseSettings] = None, request_configuration: Optional[SettingsRequestBuilderPatchRequestConfiguration] = None) -> Optional[EdiscoveryCaseSettings]: """ - Update the properties of an ediscoveryCaseSettings object. This API is available in the following national cloud deployments. + Update the properties of an ediscoveryCaseSettings object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoveryCaseSettings] @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[SettingsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an ediscoveryCaseSettings object. This API is available in the following national cloud deployments. + Read the properties and relationships of an ediscoveryCaseSettings object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[SettingsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EdiscoveryCaseSettings] = None, request_configuration: Optional[SettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an ediscoveryCaseSettings object. This API is available in the following national cloud deployments. + Update the properties of an ediscoveryCaseSettings object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[EdiscoveryCaseSettings] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class SettingsRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class SettingsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an ediscoveryCaseSettings object. This API is available in the following national cloud deployments. + Read the properties and relationships of an ediscoveryCaseSettings object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/item/child_tags/child_tags_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/item/child_tags/child_tags_request_builder.py index c648303ae33..d22ff549821 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/item/child_tags/child_tags_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/item/child_tags/child_tags_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[ChildTagsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ChildTagsRequestBuilder: diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/item/child_tags/item/ediscovery_review_tag_item_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/item/child_tags/item/ediscovery_review_tag_item_request_builder.py index ae7054880b3..0f8d4a90d5e 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/item/child_tags/item/ediscovery_review_tag_item_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/item/child_tags/item/ediscovery_review_tag_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[EdiscoveryRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EdiscoveryReviewTagItemRequestBuilder: diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/item/ediscovery_review_tag_item_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/item/ediscovery_review_tag_item_request_builder.py index e9a7f6cac01..9bf65732f51 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/item/ediscovery_review_tag_item_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/item/ediscovery_review_tag_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[EdiscoveryReviewTagItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove an ediscoveryReviewTag object. This API is available in the following national cloud deployments. + Remove an ediscoveryReviewTag object. 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-ediscoverycase-delete-tags?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[EdiscoveryReviewTagItemReq async def get(self,request_configuration: Optional[EdiscoveryReviewTagItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EdiscoveryReviewTag]: """ - Read the properties and relationships of an ediscoveryReviewTag object. This API is available in the following national cloud deployments. + Read the properties and relationships of an ediscoveryReviewTag object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoveryReviewTag] Find more info here: https://learn.microsoft.com/graph/api/security-ediscoveryreviewtag-get?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[EdiscoveryReviewTagItemReques async def patch(self,body: Optional[EdiscoveryReviewTag] = None, request_configuration: Optional[EdiscoveryReviewTagItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[EdiscoveryReviewTag]: """ - Update the properties of an ediscoveryReviewTag object. This API is available in the following national cloud deployments. + Update the properties of an ediscoveryReviewTag object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoveryReviewTag] @@ -97,7 +97,7 @@ async def patch(self,body: Optional[EdiscoveryReviewTag] = None, request_configu def to_delete_request_information(self,request_configuration: Optional[EdiscoveryReviewTagItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove an ediscoveryReviewTag object. This API is available in the following national cloud deployments. + Remove an ediscoveryReviewTag object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[Ediscover request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EdiscoveryReviewTagItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an ediscoveryReviewTag object. This API is available in the following national cloud deployments. + Read the properties and relationships of an ediscoveryReviewTag object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[EdiscoveryRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EdiscoveryReviewTag] = None, request_configuration: Optional[EdiscoveryReviewTagItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an ediscoveryReviewTag object. This API is available in the following national cloud deployments. + Update the properties of an ediscoveryReviewTag object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[EdiscoveryReviewTag] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class EdiscoveryReviewTagItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class EdiscoveryReviewTagItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an ediscoveryReviewTag object. This API is available in the following national cloud deployments. + Read the properties and relationships of an ediscoveryReviewTag object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/item/parent/parent_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/item/parent/parent_request_builder.py index 7d8241a5b7f..e9e2cb753d1 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/item/parent/parent_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/item/parent/parent_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentRequestBuilder: diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/microsoft_graph_security_as_hierarchy/microsoft_graph_security_as_hierarchy_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/microsoft_graph_security_as_hierarchy/microsoft_graph_security_as_hierarchy_request_builder.py index af107bd5577..4a742bbe310 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/microsoft_graph_security_as_hierarchy/microsoft_graph_security_as_hierarchy_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/microsoft_graph_security_as_hierarchy/microsoft_graph_security_as_hierarchy_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftGra request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphSecurityAsHierarchyRequestBuilder: diff --git a/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/tags_request_builder.py b/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/tags_request_builder.py index 2684eb14f61..d92c009ee12 100644 --- a/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/tags_request_builder.py +++ b/msgraph_beta/generated/security/cases/ediscovery_cases/item/tags/tags_request_builder.py @@ -46,7 +46,7 @@ def by_ediscovery_review_tag_id(self,ediscovery_review_tag_id: str) -> Ediscover async def get(self,request_configuration: Optional[TagsRequestBuilderGetRequestConfiguration] = None) -> Optional[EdiscoveryReviewTagCollectionResponse]: """ - Get a list of eDiscoveryReviewTag objects and their properties. This API is available in the following national cloud deployments. + Get a list of eDiscoveryReviewTag objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoveryReviewTagCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-ediscoverycase-list-tags?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[TagsRequestBuilderGetRequestC async def post(self,body: Optional[EdiscoveryReviewTag] = None, request_configuration: Optional[TagsRequestBuilderPostRequestConfiguration] = None) -> Optional[EdiscoveryReviewTag]: """ - Create a new ediscoveryReviewTag object. This API is available in the following national cloud deployments. + Create a new ediscoveryReviewTag object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EdiscoveryReviewTag] @@ -93,7 +93,7 @@ async def post(self,body: Optional[EdiscoveryReviewTag] = None, request_configur def to_get_request_information(self,request_configuration: Optional[TagsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of eDiscoveryReviewTag objects and their properties. This API is available in the following national cloud deployments. + Get a list of eDiscoveryReviewTag objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[TagsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EdiscoveryReviewTag] = None, request_configuration: Optional[TagsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new ediscoveryReviewTag object. This API is available in the following national cloud deployments. + Create a new ediscoveryReviewTag object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[EdiscoveryReviewTag] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def microsoft_graph_security_as_hierarchy(self) -> MicrosoftGraphSecurityAsHiera @dataclass class TagsRequestBuilderGetQueryParameters(): """ - Get a list of eDiscoveryReviewTag objects and their properties. This API is available in the following national cloud deployments. + Get a list of eDiscoveryReviewTag objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/cloud_app_security_profiles/cloud_app_security_profiles_request_builder.py b/msgraph_beta/generated/security/cloud_app_security_profiles/cloud_app_security_profiles_request_builder.py index 6440497744b..21cdde238c5 100644 --- a/msgraph_beta/generated/security/cloud_app_security_profiles/cloud_app_security_profiles_request_builder.py +++ b/msgraph_beta/generated/security/cloud_app_security_profiles/cloud_app_security_profiles_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[CloudAppSecu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CloudAppSecurityProfile] = None, request_configuration: Optional[CloudAppSecurityProfilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[CloudAppSecurityProfile] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/cloud_app_security_profiles/item/cloud_app_security_profile_item_request_builder.py b/msgraph_beta/generated/security/cloud_app_security_profiles/item/cloud_app_security_profile_item_request_builder.py index 74b2e414f28..1ca2e4ad09a 100644 --- a/msgraph_beta/generated/security/cloud_app_security_profiles/item/cloud_app_security_profile_item_request_builder.py +++ b/msgraph_beta/generated/security/cloud_app_security_profiles/item/cloud_app_security_profile_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[CloudAppS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CloudAppSecurityProfileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[CloudAppSecu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CloudAppSecurityProfile] = None, request_configuration: Optional[CloudAppSecurityProfileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[CloudAppSecurityProfile] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/domain_security_profiles/domain_security_profiles_request_builder.py b/msgraph_beta/generated/security/domain_security_profiles/domain_security_profiles_request_builder.py index 921d4d1b05a..007918170c3 100644 --- a/msgraph_beta/generated/security/domain_security_profiles/domain_security_profiles_request_builder.py +++ b/msgraph_beta/generated/security/domain_security_profiles/domain_security_profiles_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DomainSecuri request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DomainSecurityProfile] = None, request_configuration: Optional[DomainSecurityProfilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DomainSecurityProfile] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/domain_security_profiles/item/domain_security_profile_item_request_builder.py b/msgraph_beta/generated/security/domain_security_profiles/item/domain_security_profile_item_request_builder.py index 73226fc49a3..951a48bfd70 100644 --- a/msgraph_beta/generated/security/domain_security_profiles/item/domain_security_profile_item_request_builder.py +++ b/msgraph_beta/generated/security/domain_security_profiles/item/domain_security_profile_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DomainSec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DomainSecurityProfileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DomainSecuri request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DomainSecurityProfile] = None, request_configuration: Optional[DomainSecurityProfileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DomainSecurityProfile] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/file_security_profiles/file_security_profiles_request_builder.py b/msgraph_beta/generated/security/file_security_profiles/file_security_profiles_request_builder.py index 0cfbf900b86..de7d7316b1b 100644 --- a/msgraph_beta/generated/security/file_security_profiles/file_security_profiles_request_builder.py +++ b/msgraph_beta/generated/security/file_security_profiles/file_security_profiles_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[FileSecurity request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[FileSecurityProfile] = None, request_configuration: Optional[FileSecurityProfilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[FileSecurityProfile] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/file_security_profiles/item/file_security_profile_item_request_builder.py b/msgraph_beta/generated/security/file_security_profiles/item/file_security_profile_item_request_builder.py index 9003176eb76..1aecbe513b8 100644 --- a/msgraph_beta/generated/security/file_security_profiles/item/file_security_profile_item_request_builder.py +++ b/msgraph_beta/generated/security/file_security_profiles/item/file_security_profile_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[FileSecur request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FileSecurityProfileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[FileSecurity request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[FileSecurityProfile] = None, request_configuration: Optional[FileSecurityProfileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[FileSecurityProfile] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/host_security_profiles/host_security_profiles_request_builder.py b/msgraph_beta/generated/security/host_security_profiles/host_security_profiles_request_builder.py index 3437944f076..7476164901c 100644 --- a/msgraph_beta/generated/security/host_security_profiles/host_security_profiles_request_builder.py +++ b/msgraph_beta/generated/security/host_security_profiles/host_security_profiles_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[HostSecurity request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[HostSecurityProfile] = None, request_configuration: Optional[HostSecurityProfilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[HostSecurityProfile] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/host_security_profiles/item/host_security_profile_item_request_builder.py b/msgraph_beta/generated/security/host_security_profiles/item/host_security_profile_item_request_builder.py index f4e127e68e0..1e50fcab294 100644 --- a/msgraph_beta/generated/security/host_security_profiles/item/host_security_profile_item_request_builder.py +++ b/msgraph_beta/generated/security/host_security_profiles/item/host_security_profile_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[HostSecur request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[HostSecurityProfileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[HostSecurity request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[HostSecurityProfile] = None, request_configuration: Optional[HostSecurityProfileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[HostSecurityProfile] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/incidents/incidents_request_builder.py b/msgraph_beta/generated/security/incidents/incidents_request_builder.py index c7793546310..3c9c4d9cb13 100644 --- a/msgraph_beta/generated/security/incidents/incidents_request_builder.py +++ b/msgraph_beta/generated/security/incidents/incidents_request_builder.py @@ -45,7 +45,7 @@ def by_incident_id(self,incident_id: str) -> IncidentItemRequestBuilder: async def get(self,request_configuration: Optional[IncidentsRequestBuilderGetRequestConfiguration] = None) -> Optional[IncidentCollectionResponse]: """ - Get a list of incident objects that Microsoft 365 Defender has created to track attacks in an organization. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. This operation allows you to filter and sort through incidents to create an informed cyber security response. It exposes a collection of incidents that were flagged in your network, within the time range you specified in your environment retention policy. The most recent incidents are displayed at the top of the list. This API is available in the following national cloud deployments. + Get a list of incident objects that Microsoft 365 Defender has created to track attacks in an organization. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. This operation allows you to filter and sort through incidents to create an informed cyber security response. It exposes a collection of incidents that were flagged in your network, within the time range you specified in your environment retention policy. The most recent incidents are displayed at the top of the list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IncidentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-list-incidents?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[Incident] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[IncidentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of incident objects that Microsoft 365 Defender has created to track attacks in an organization. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. This operation allows you to filter and sort through incidents to create an informed cyber security response. It exposes a collection of incidents that were flagged in your network, within the time range you specified in your environment retention policy. The most recent incidents are displayed at the top of the list. This API is available in the following national cloud deployments. + Get a list of incident objects that Microsoft 365 Defender has created to track attacks in an organization. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. This operation allows you to filter and sort through incidents to create an informed cyber security response. It exposes a collection of incidents that were flagged in your network, within the time range you specified in your environment retention policy. The most recent incidents are displayed at the top of the list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[IncidentsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Incident] = None, request_configuration: Optional[IncidentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Incident] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class IncidentsRequestBuilderGetQueryParameters(): """ - Get a list of incident objects that Microsoft 365 Defender has created to track attacks in an organization. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. This operation allows you to filter and sort through incidents to create an informed cyber security response. It exposes a collection of incidents that were flagged in your network, within the time range you specified in your environment retention policy. The most recent incidents are displayed at the top of the list. This API is available in the following national cloud deployments. + Get a list of incident objects that Microsoft 365 Defender has created to track attacks in an organization. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. This operation allows you to filter and sort through incidents to create an informed cyber security response. It exposes a collection of incidents that were flagged in your network, within the time range you specified in your environment retention policy. The most recent incidents are displayed at the top of the list. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/incidents/item/alerts/alerts_request_builder.py b/msgraph_beta/generated/security/incidents/item/alerts/alerts_request_builder.py index 10c20ab83c4..1e8592f74de 100644 --- a/msgraph_beta/generated/security/incidents/item/alerts/alerts_request_builder.py +++ b/msgraph_beta/generated/security/incidents/item/alerts/alerts_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[AlertsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AlertsRequestBuilder: diff --git a/msgraph_beta/generated/security/incidents/item/alerts/item/alert_item_request_builder.py b/msgraph_beta/generated/security/incidents/item/alerts/item/alert_item_request_builder.py index 8a28a736eb5..37e58ef5cda 100644 --- a/msgraph_beta/generated/security/incidents/item/alerts/item/alert_item_request_builder.py +++ b/msgraph_beta/generated/security/incidents/item/alerts/item/alert_item_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[AlertItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AlertItemRequestBuilder: diff --git a/msgraph_beta/generated/security/incidents/item/alerts/item/comments/comments_request_builder.py b/msgraph_beta/generated/security/incidents/item/alerts/item/comments/comments_request_builder.py index 808671e99e3..8962151e8a7 100644 --- a/msgraph_beta/generated/security/incidents/item/alerts/item/comments/comments_request_builder.py +++ b/msgraph_beta/generated/security/incidents/item/alerts/item/comments/comments_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[List[AlertComment]] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/incidents/item/incident_item_request_builder.py b/msgraph_beta/generated/security/incidents/item/incident_item_request_builder.py index 070c7f051fd..55717780722 100644 --- a/msgraph_beta/generated/security/incidents/item/incident_item_request_builder.py +++ b/msgraph_beta/generated/security/incidents/item/incident_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[IncidentItemRequestBuilder async def get(self,request_configuration: Optional[IncidentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Incident]: """ - Retrieve the properties and relationships of an incident object. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an incident object. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Incident] Find more info here: https://learn.microsoft.com/graph/api/security-incident-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[IncidentItemRequestBuilderGet async def patch(self,body: Optional[Incident] = None, request_configuration: Optional[IncidentItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Incident]: """ - Update the properties of an incident object. This API is available in the following national cloud deployments. + Update the properties of an incident object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Incident] @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[IncidentI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[IncidentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an incident object. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an incident object. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[IncidentItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Incident] = None, request_configuration: Optional[IncidentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an incident object. This API is available in the following national cloud deployments. + Update the properties of an incident object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Incident] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class IncidentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class IncidentItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an incident object. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an incident object. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/information_protection/information_protection_request_builder.py b/msgraph_beta/generated/security/information_protection/information_protection_request_builder.py index 5e90441bd76..69c11ccce30 100644 --- a/msgraph_beta/generated/security/information_protection/information_protection_request_builder.py +++ b/msgraph_beta/generated/security/information_protection/information_protection_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Informati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[InformationProtectionRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[InformationP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[InformationProtection] = None, request_configuration: Optional[InformationProtectionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[InformationProtection] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/information_protection/label_policy_settings/label_policy_settings_request_builder.py b/msgraph_beta/generated/security/information_protection/label_policy_settings/label_policy_settings_request_builder.py index 194acba6f5b..a0031da3862 100644 --- a/msgraph_beta/generated/security/information_protection/label_policy_settings/label_policy_settings_request_builder.py +++ b/msgraph_beta/generated/security/information_protection/label_policy_settings/label_policy_settings_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[LabelPolicySettingsRequest async def get(self,request_configuration: Optional[LabelPolicySettingsRequestBuilderGetRequestConfiguration] = None) -> Optional[InformationProtectionPolicySetting]: """ - Read the properties and relationships of an informationProtectionPolicySetting object. The settings exposed by this API should be used in applications to populate the moreInfoUrl property for Microsoft Purview Information Protection help, and indicate whether labeling is mandatory for the user and whether justification must be provided on downgrade. This API is available in the following national cloud deployments. + Read the properties and relationships of an informationProtectionPolicySetting object. The settings exposed by this API should be used in applications to populate the moreInfoUrl property for Microsoft Purview Information Protection help, and indicate whether labeling is mandatory for the user and whether justification must be provided on downgrade. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionPolicySetting] Find more info here: https://learn.microsoft.com/graph/api/security-informationprotectionpolicysetting-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[LabelPoli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LabelPolicySettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an informationProtectionPolicySetting object. The settings exposed by this API should be used in applications to populate the moreInfoUrl property for Microsoft Purview Information Protection help, and indicate whether labeling is mandatory for the user and whether justification must be provided on downgrade. This API is available in the following national cloud deployments. + Read the properties and relationships of an informationProtectionPolicySetting object. The settings exposed by this API should be used in applications to populate the moreInfoUrl property for Microsoft Purview Information Protection help, and indicate whether labeling is mandatory for the user and whether justification must be provided on downgrade. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[LabelPolicyS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[InformationProtectionPolicySetting] = None, request_configuration: Optional[LabelPolicySettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[InformationProtectionPolicy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class LabelPolicySettingsRequestBuilderDeleteRequestConfiguration(BaseRequestCon @dataclass class LabelPolicySettingsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an informationProtectionPolicySetting object. The settings exposed by this API should be used in applications to populate the moreInfoUrl property for Microsoft Purview Information Protection help, and indicate whether labeling is mandatory for the user and whether justification must be provided on downgrade. This API is available in the following national cloud deployments. + Read the properties and relationships of an informationProtectionPolicySetting object. The settings exposed by this API should be used in applications to populate the moreInfoUrl property for Microsoft Purview Information Protection help, and indicate whether labeling is mandatory for the user and whether justification must be provided on downgrade. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/information_protection/sensitivity_labels/item/parent/parent_request_builder.py b/msgraph_beta/generated/security/information_protection/sensitivity_labels/item/parent/parent_request_builder.py index 7f5dad9a1e5..27f75240129 100644 --- a/msgraph_beta/generated/security/information_protection/sensitivity_labels/item/parent/parent_request_builder.py +++ b/msgraph_beta/generated/security/information_protection/sensitivity_labels/item/parent/parent_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ParentReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ParentRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SensitivityLabel] = None, request_configuration: Optional[ParentRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[SensitivityLabel] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/information_protection/sensitivity_labels/item/sensitivity_label_item_request_builder.py b/msgraph_beta/generated/security/information_protection/sensitivity_labels/item/sensitivity_label_item_request_builder.py index 57337f5a432..bab9a9d6193 100644 --- a/msgraph_beta/generated/security/information_protection/sensitivity_labels/item/sensitivity_label_item_request_builder.py +++ b/msgraph_beta/generated/security/information_protection/sensitivity_labels/item/sensitivity_label_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Sensitivi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SensitivityLabelItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[SensitivityL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SensitivityLabel] = None, request_configuration: Optional[SensitivityLabelItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[SensitivityLabel] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_application/microsoft_graph_security_evaluate_application_request_builder.py b/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_application/microsoft_graph_security_evaluate_application_request_builder.py index a5bca450e59..f697cf091d1 100644 --- a/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_application/microsoft_graph_security_evaluate_application_request_builder.py +++ b/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_application/microsoft_graph_security_evaluate_application_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[EvaluateApplicationPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphSecurityEvaluateApplicationRequestBuilderPostRequestConfiguration] = None) -> Optional[EvaluateApplicationPostResponse]: """ - Compute the sensitivity label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set manually or explicitly by a user or service, rather than automatically based on file contents. Given contentInfo, which includes existing content metadata key-value pairs, and labelingOptions as an input, the API returns an informationProtectionAction object that contains one of more of the following: This API is available in the following national cloud deployments. + Compute the sensitivity label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set manually or explicitly by a user or service, rather than automatically based on file contents. Given contentInfo, which includes existing content metadata key-value pairs, and labelingOptions as an input, the API returns an informationProtectionAction object that contains one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EvaluateApplicationPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[EvaluateApplicationPostRequestBody] = None, r def to_post_request_information(self,body: Optional[EvaluateApplicationPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphSecurityEvaluateApplicationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Compute the sensitivity label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set manually or explicitly by a user or service, rather than automatically based on file contents. Given contentInfo, which includes existing content metadata key-value pairs, and labelingOptions as an input, the API returns an informationProtectionAction object that contains one of more of the following: This API is available in the following national cloud deployments. + Compute the sensitivity label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set manually or explicitly by a user or service, rather than automatically based on file contents. Given contentInfo, which includes existing content metadata key-value pairs, and labelingOptions as an input, the API returns an informationProtectionAction object that contains one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[EvaluateApplicationPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_classification_results/microsoft_graph_security_evaluate_classification_results_request_builder.py b/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_classification_results/microsoft_graph_security_evaluate_classification_results_request_builder.py index 6c296981b9b..7e09a1cfaa7 100644 --- a/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_classification_results/microsoft_graph_security_evaluate_classification_results_request_builder.py +++ b/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_classification_results/microsoft_graph_security_evaluate_classification_results_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[EvaluateClassificationResultsPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphSecurityEvaluateClassificationResultsRequestBuilderPostRequestConfiguration] = None) -> Optional[EvaluateClassificationResultsPostResponse]: """ - Use the classification results to compute the sensitivity label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set automatically based on classification of the file contents, rather than labeled directly by a user or service. To evaluate based on classification results, provide the contentInfo, which includes existing content metadata key-value pairs, and classification results. The API returns an informationProtectionAction that contains one of more of the following: This API is available in the following national cloud deployments. + Use the classification results to compute the sensitivity label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set automatically based on classification of the file contents, rather than labeled directly by a user or service. To evaluate based on classification results, provide the contentInfo, which includes existing content metadata key-value pairs, and classification results. The API returns an informationProtectionAction that contains one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EvaluateClassificationResultsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[EvaluateClassificationResultsPostRequestBody] def to_post_request_information(self,body: Optional[EvaluateClassificationResultsPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphSecurityEvaluateClassificationResultsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use the classification results to compute the sensitivity label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set automatically based on classification of the file contents, rather than labeled directly by a user or service. To evaluate based on classification results, provide the contentInfo, which includes existing content metadata key-value pairs, and classification results. The API returns an informationProtectionAction that contains one of more of the following: This API is available in the following national cloud deployments. + Use the classification results to compute the sensitivity label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set automatically based on classification of the file contents, rather than labeled directly by a user or service. To evaluate based on classification results, provide the contentInfo, which includes existing content metadata key-value pairs, and classification results. The API returns an informationProtectionAction that contains one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[EvaluateClassificationResult request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_removal/microsoft_graph_security_evaluate_removal_request_builder.py b/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_removal/microsoft_graph_security_evaluate_removal_request_builder.py index 8248a720dd4..59fe74fe187 100644 --- a/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_removal/microsoft_graph_security_evaluate_removal_request_builder.py +++ b/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_removal/microsoft_graph_security_evaluate_removal_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[EvaluateRemovalPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphSecurityEvaluateRemovalRequestBuilderPostRequestConfiguration] = None) -> Optional[EvaluateRemovalPostResponse]: """ - Indicate to the consuming application what actions it should take to remove the label information. Given contentInfo as an input, which includes existing content metadata key-value pairs, the API returns an informationProtectionAction that contains some combination of one or more of the following: This API is available in the following national cloud deployments. + Indicate to the consuming application what actions it should take to remove the label information. Given contentInfo as an input, which includes existing content metadata key-value pairs, the API returns an informationProtectionAction that contains some combination of one or more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EvaluateRemovalPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[EvaluateRemovalPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[EvaluateRemovalPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphSecurityEvaluateRemovalRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Indicate to the consuming application what actions it should take to remove the label information. Given contentInfo as an input, which includes existing content metadata key-value pairs, the API returns an informationProtectionAction that contains some combination of one or more of the following: This API is available in the following national cloud deployments. + Indicate to the consuming application what actions it should take to remove the label information. Given contentInfo as an input, which includes existing content metadata key-value pairs, the API returns an informationProtectionAction that contains some combination of one or more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[EvaluateRemovalPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_extract_content_label/microsoft_graph_security_extract_content_label_request_builder.py b/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_extract_content_label/microsoft_graph_security_extract_content_label_request_builder.py index 7e092099c5b..870df581445 100644 --- a/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_extract_content_label/microsoft_graph_security_extract_content_label_request_builder.py +++ b/msgraph_beta/generated/security/information_protection/sensitivity_labels/microsoft_graph_security_extract_content_label/microsoft_graph_security_extract_content_label_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ExtractContentLabelPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphSecurityExtractContentLabelRequestBuilderPostRequestConfiguration] = None) -> Optional[ContentLabel]: """ - Use the metadata that exists on an already-labeled piece of information to resolve the metadata to a specific sensitivity label. The contentInfo input is resolved to informationProtectionContentLabel. This API is available in the following national cloud deployments. + Use the metadata that exists on an already-labeled piece of information to resolve the metadata to a specific sensitivity label. The contentInfo input is resolved to informationProtectionContentLabel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentLabel] @@ -54,7 +54,7 @@ async def post(self,body: Optional[ExtractContentLabelPostRequestBody] = None, r def to_post_request_information(self,body: Optional[ExtractContentLabelPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphSecurityExtractContentLabelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use the metadata that exists on an already-labeled piece of information to resolve the metadata to a specific sensitivity label. The contentInfo input is resolved to informationProtectionContentLabel. This API is available in the following national cloud deployments. + Use the metadata that exists on an already-labeled piece of information to resolve the metadata to a specific sensitivity label. The contentInfo input is resolved to informationProtectionContentLabel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[ExtractContentLabelPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/information_protection/sensitivity_labels/sensitivity_labels_request_builder.py b/msgraph_beta/generated/security/information_protection/sensitivity_labels/sensitivity_labels_request_builder.py index 94377e03f75..b75dec0bda0 100644 --- a/msgraph_beta/generated/security/information_protection/sensitivity_labels/sensitivity_labels_request_builder.py +++ b/msgraph_beta/generated/security/information_protection/sensitivity_labels/sensitivity_labels_request_builder.py @@ -49,7 +49,7 @@ def by_sensitivity_label_id(self,sensitivity_label_id: str) -> SensitivityLabelI async def get(self,request_configuration: Optional[SensitivityLabelsRequestBuilderGetRequestConfiguration] = None) -> Optional[SensitivityLabelCollectionResponse]: """ - Get a list of sensitivityLabel objects associated with a user or organization. This API is available in the following national cloud deployments. + Get a list of sensitivityLabel objects associated with a user or organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SensitivityLabelCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-informationprotection-list-sensitivitylabels?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def post(self,body: Optional[SensitivityLabel] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[SensitivityLabelsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of sensitivityLabel objects associated with a user or organization. This API is available in the following national cloud deployments. + Get a list of sensitivityLabel objects associated with a user or organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,7 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[SensitivityL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SensitivityLabel] = None, request_configuration: Optional[SensitivityLabelsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_post_request_information(self,body: Optional[SensitivityLabel] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ def microsoft_graph_security_extract_content_label(self) -> MicrosoftGraphSecuri @dataclass class SensitivityLabelsRequestBuilderGetQueryParameters(): """ - Get a list of sensitivityLabel objects associated with a user or organization. This API is available in the following national cloud deployments. + Get a list of sensitivityLabel objects associated with a user or organization. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/ip_security_profiles/ip_security_profiles_request_builder.py b/msgraph_beta/generated/security/ip_security_profiles/ip_security_profiles_request_builder.py index 03789cde3b5..96a79261742 100644 --- a/msgraph_beta/generated/security/ip_security_profiles/ip_security_profiles_request_builder.py +++ b/msgraph_beta/generated/security/ip_security_profiles/ip_security_profiles_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[IpSecurityPr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[IpSecurityProfile] = None, request_configuration: Optional[IpSecurityProfilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[IpSecurityProfile] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/ip_security_profiles/item/ip_security_profile_item_request_builder.py b/msgraph_beta/generated/security/ip_security_profiles/item/ip_security_profile_item_request_builder.py index 7c1c6fb9d43..f932d0dddc5 100644 --- a/msgraph_beta/generated/security/ip_security_profiles/item/ip_security_profile_item_request_builder.py +++ b/msgraph_beta/generated/security/ip_security_profiles/item/ip_security_profile_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[IpSecurit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[IpSecurityProfileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[IpSecurityPr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[IpSecurityProfile] = None, request_configuration: Optional[IpSecurityProfileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[IpSecurityProfile] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/labels/authorities/authorities_request_builder.py b/msgraph_beta/generated/security/labels/authorities/authorities_request_builder.py index aa73e57b9d5..cbcd5f5565d 100644 --- a/msgraph_beta/generated/security/labels/authorities/authorities_request_builder.py +++ b/msgraph_beta/generated/security/labels/authorities/authorities_request_builder.py @@ -45,7 +45,7 @@ def by_authority_template_id(self,authority_template_id: str) -> AuthorityTempla async def get(self,request_configuration: Optional[AuthoritiesRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthorityTemplateCollectionResponse]: """ - Get a list of the authorityTemplate objects and their properties. This API is available in the following national cloud deployments. + Get a list of the authorityTemplate objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthorityTemplateCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-labelsroot-list-authorities?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AuthoritiesRequestBuilderGetR async def post(self,body: Optional[AuthorityTemplate] = None, request_configuration: Optional[AuthoritiesRequestBuilderPostRequestConfiguration] = None) -> Optional[AuthorityTemplate]: """ - Create a new authorityTemplate object. This API is available in the following national cloud deployments. + Create a new authorityTemplate object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthorityTemplate] @@ -92,7 +92,7 @@ async def post(self,body: Optional[AuthorityTemplate] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[AuthoritiesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the authorityTemplate objects and their properties. This API is available in the following national cloud deployments. + Get a list of the authorityTemplate objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[AuthoritiesR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AuthorityTemplate] = None, request_configuration: Optional[AuthoritiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new authorityTemplate object. This API is available in the following national cloud deployments. + Create a new authorityTemplate object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[AuthorityTemplate] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AuthoritiesRequestBuilderGetQueryParameters(): """ - Get a list of the authorityTemplate objects and their properties. This API is available in the following national cloud deployments. + Get a list of the authorityTemplate objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/labels/authorities/item/authority_template_item_request_builder.py b/msgraph_beta/generated/security/labels/authorities/item/authority_template_item_request_builder.py index f63d90031a7..3bcdd16d291 100644 --- a/msgraph_beta/generated/security/labels/authorities/item/authority_template_item_request_builder.py +++ b/msgraph_beta/generated/security/labels/authorities/item/authority_template_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AuthorityTemplateItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a authorityTemplate object. This API is available in the following national cloud deployments. + Delete a authorityTemplate object. 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-labelsroot-delete-authorities?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AuthorityTemplateItemReque async def get(self,request_configuration: Optional[AuthorityTemplateItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthorityTemplate]: """ - Read the properties and relationships of a authorityTemplate object. This API is available in the following national cloud deployments. + Read the properties and relationships of a authorityTemplate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthorityTemplate] Find more info here: https://learn.microsoft.com/graph/api/security-authoritytemplate-get?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[AuthorityTemplate] = None, request_configura def to_delete_request_information(self,request_configuration: Optional[AuthorityTemplateItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a authorityTemplate object. This API is available in the following national cloud deployments. + Delete a authorityTemplate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Authority request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AuthorityTemplateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a authorityTemplate object. This API is available in the following national cloud deployments. + Read the properties and relationships of a authorityTemplate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AuthorityTem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AuthorityTemplate] = None, request_configuration: Optional[AuthorityTemplateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[AuthorityTemplate] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class AuthorityTemplateItemRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class AuthorityTemplateItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a authorityTemplate object. This API is available in the following national cloud deployments. + Read the properties and relationships of a authorityTemplate object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/labels/categories/categories_request_builder.py b/msgraph_beta/generated/security/labels/categories/categories_request_builder.py index 874c2fdc07c..caadd23103c 100644 --- a/msgraph_beta/generated/security/labels/categories/categories_request_builder.py +++ b/msgraph_beta/generated/security/labels/categories/categories_request_builder.py @@ -45,7 +45,7 @@ def by_category_template_id(self,category_template_id: str) -> CategoryTemplateI async def get(self,request_configuration: Optional[CategoriesRequestBuilderGetRequestConfiguration] = None) -> Optional[CategoryTemplateCollectionResponse]: """ - Get a list of the categoryTemplate objects and their properties. This API is available in the following national cloud deployments. + Get a list of the categoryTemplate objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CategoryTemplateCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-labelsroot-list-categories?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[CategoriesRequestBuilderGetRe async def post(self,body: Optional[CategoryTemplate] = None, request_configuration: Optional[CategoriesRequestBuilderPostRequestConfiguration] = None) -> Optional[CategoryTemplate]: """ - Create a new categoryTemplate object. This API is available in the following national cloud deployments. + Create a new categoryTemplate object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CategoryTemplate] @@ -92,7 +92,7 @@ async def post(self,body: Optional[CategoryTemplate] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[CategoriesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the categoryTemplate objects and their properties. This API is available in the following national cloud deployments. + Get a list of the categoryTemplate objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[CategoriesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CategoryTemplate] = None, request_configuration: Optional[CategoriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new categoryTemplate object. This API is available in the following national cloud deployments. + Create a new categoryTemplate object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[CategoryTemplate] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CategoriesRequestBuilderGetQueryParameters(): """ - Get a list of the categoryTemplate objects and their properties. This API is available in the following national cloud deployments. + Get a list of the categoryTemplate objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/labels/categories/item/category_template_item_request_builder.py b/msgraph_beta/generated/security/labels/categories/item/category_template_item_request_builder.py index ae40159a69f..9d347bffd39 100644 --- a/msgraph_beta/generated/security/labels/categories/item/category_template_item_request_builder.py +++ b/msgraph_beta/generated/security/labels/categories/item/category_template_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[CategoryTemplateItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a categoryTemplate object. This API is available in the following national cloud deployments. + Delete a categoryTemplate object. 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-labelsroot-delete-categories?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[CategoryTemplateItemReques async def get(self,request_configuration: Optional[CategoryTemplateItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CategoryTemplate]: """ - Read the properties and relationships of a categoryTemplate object. This API is available in the following national cloud deployments. + Read the properties and relationships of a categoryTemplate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CategoryTemplate] Find more info here: https://learn.microsoft.com/graph/api/security-categorytemplate-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[CategoryTemplate] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[CategoryTemplateItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a categoryTemplate object. This API is available in the following national cloud deployments. + Delete a categoryTemplate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[CategoryT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CategoryTemplateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a categoryTemplate object. This API is available in the following national cloud deployments. + Read the properties and relationships of a categoryTemplate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoryTemp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CategoryTemplate] = None, request_configuration: Optional[CategoryTemplateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[CategoryTemplate] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class CategoryTemplateItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class CategoryTemplateItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a categoryTemplate object. This API is available in the following national cloud deployments. + Read the properties and relationships of a categoryTemplate object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/labels/categories/item/sub_categories/item/sub_category_template_item_request_builder.py b/msgraph_beta/generated/security/labels/categories/item/sub_categories/item/sub_category_template_item_request_builder.py index e44181809bf..97aa7ba33ec 100644 --- a/msgraph_beta/generated/security/labels/categories/item/sub_categories/item/sub_category_template_item_request_builder.py +++ b/msgraph_beta/generated/security/labels/categories/item/sub_categories/item/sub_category_template_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[SubCatego request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SubCategoryTemplateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[SubCategoryT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SubCategoryTemplate] = None, request_configuration: Optional[SubCategoryTemplateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[SubCategoryTemplate] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/labels/categories/item/sub_categories/sub_categories_request_builder.py b/msgraph_beta/generated/security/labels/categories/item/sub_categories/sub_categories_request_builder.py index acb28a3035c..6a10716aceb 100644 --- a/msgraph_beta/generated/security/labels/categories/item/sub_categories/sub_categories_request_builder.py +++ b/msgraph_beta/generated/security/labels/categories/item/sub_categories/sub_categories_request_builder.py @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[SubCategorie request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SubCategoryTemplate] = None, request_configuration: Optional[SubCategoriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[SubCategoryTemplate] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/labels/citations/citations_request_builder.py b/msgraph_beta/generated/security/labels/citations/citations_request_builder.py index 9f667675fc5..f531af91568 100644 --- a/msgraph_beta/generated/security/labels/citations/citations_request_builder.py +++ b/msgraph_beta/generated/security/labels/citations/citations_request_builder.py @@ -45,7 +45,7 @@ def by_citation_template_id(self,citation_template_id: str) -> CitationTemplateI async def get(self,request_configuration: Optional[CitationsRequestBuilderGetRequestConfiguration] = None) -> Optional[CitationTemplateCollectionResponse]: """ - Get a list of the citationTemplate objects and their properties. This API is available in the following national cloud deployments. + Get a list of the citationTemplate objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CitationTemplateCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-labelsroot-list-citations?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[CitationsRequestBuilderGetReq async def post(self,body: Optional[CitationTemplate] = None, request_configuration: Optional[CitationsRequestBuilderPostRequestConfiguration] = None) -> Optional[CitationTemplate]: """ - Create a new citationTemplate object. This API is available in the following national cloud deployments. + Create a new citationTemplate object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CitationTemplate] @@ -92,7 +92,7 @@ async def post(self,body: Optional[CitationTemplate] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[CitationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the citationTemplate objects and their properties. This API is available in the following national cloud deployments. + Get a list of the citationTemplate objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[CitationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CitationTemplate] = None, request_configuration: Optional[CitationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new citationTemplate object. This API is available in the following national cloud deployments. + Create a new citationTemplate object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[CitationTemplate] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CitationsRequestBuilderGetQueryParameters(): """ - Get a list of the citationTemplate objects and their properties. This API is available in the following national cloud deployments. + Get a list of the citationTemplate objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/labels/citations/item/citation_template_item_request_builder.py b/msgraph_beta/generated/security/labels/citations/item/citation_template_item_request_builder.py index 61dbb5983b6..995c59ce3f5 100644 --- a/msgraph_beta/generated/security/labels/citations/item/citation_template_item_request_builder.py +++ b/msgraph_beta/generated/security/labels/citations/item/citation_template_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[CitationTemplateItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a citationTemplate object. This API is available in the following national cloud deployments. + Delete a citationTemplate object. 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-labelsroot-delete-citations?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[CitationTemplateItemReques async def get(self,request_configuration: Optional[CitationTemplateItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CitationTemplate]: """ - Read the properties and relationships of a citationTemplate object. This API is available in the following national cloud deployments. + Read the properties and relationships of a citationTemplate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CitationTemplate] Find more info here: https://learn.microsoft.com/graph/api/security-citationtemplate-get?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[CitationTemplate] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[CitationTemplateItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a citationTemplate object. This API is available in the following national cloud deployments. + Delete a citationTemplate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[CitationT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CitationTemplateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a citationTemplate object. This API is available in the following national cloud deployments. + Read the properties and relationships of a citationTemplate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[CitationTemp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CitationTemplate] = None, request_configuration: Optional[CitationTemplateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[CitationTemplate] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class CitationTemplateItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class CitationTemplateItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a citationTemplate object. This API is available in the following national cloud deployments. + Read the properties and relationships of a citationTemplate object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/labels/departments/departments_request_builder.py b/msgraph_beta/generated/security/labels/departments/departments_request_builder.py index 3bd4cacd118..d311f7f0ebb 100644 --- a/msgraph_beta/generated/security/labels/departments/departments_request_builder.py +++ b/msgraph_beta/generated/security/labels/departments/departments_request_builder.py @@ -45,7 +45,7 @@ def by_department_template_id(self,department_template_id: str) -> DepartmentTem async def get(self,request_configuration: Optional[DepartmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[DepartmentTemplateCollectionResponse]: """ - Get a list of the departmentTemplate objects and their properties. This API is available in the following national cloud deployments. + Get a list of the departmentTemplate objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DepartmentTemplateCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-labelsroot-list-departments?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[DepartmentsRequestBuilderGetR async def post(self,body: Optional[DepartmentTemplate] = None, request_configuration: Optional[DepartmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[DepartmentTemplate]: """ - Create a new departmentTemplate object. This API is available in the following national cloud deployments. + Create a new departmentTemplate object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DepartmentTemplate] @@ -92,7 +92,7 @@ async def post(self,body: Optional[DepartmentTemplate] = None, request_configura def to_get_request_information(self,request_configuration: Optional[DepartmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the departmentTemplate objects and their properties. This API is available in the following national cloud deployments. + Get a list of the departmentTemplate objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[DepartmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DepartmentTemplate] = None, request_configuration: Optional[DepartmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new departmentTemplate object. This API is available in the following national cloud deployments. + Create a new departmentTemplate object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[DepartmentTemplate] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DepartmentsRequestBuilderGetQueryParameters(): """ - Get a list of the departmentTemplate objects and their properties. This API is available in the following national cloud deployments. + Get a list of the departmentTemplate objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/labels/departments/item/department_template_item_request_builder.py b/msgraph_beta/generated/security/labels/departments/item/department_template_item_request_builder.py index 43a4547c524..7f13763ccca 100644 --- a/msgraph_beta/generated/security/labels/departments/item/department_template_item_request_builder.py +++ b/msgraph_beta/generated/security/labels/departments/item/department_template_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[DepartmentTemplateItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a departmentTemplate object. This API is available in the following national cloud deployments. + Delete a departmentTemplate object. 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-labelsroot-delete-departments?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[DepartmentTemplateItemRequ async def get(self,request_configuration: Optional[DepartmentTemplateItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DepartmentTemplate]: """ - Read the properties and relationships of a departmentTemplate object. This API is available in the following national cloud deployments. + Read the properties and relationships of a departmentTemplate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DepartmentTemplate] Find more info here: https://learn.microsoft.com/graph/api/security-departmenttemplate-get?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[DepartmentTemplate] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[DepartmentTemplateItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a departmentTemplate object. This API is available in the following national cloud deployments. + Delete a departmentTemplate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Departmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DepartmentTemplateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a departmentTemplate object. This API is available in the following national cloud deployments. + Read the properties and relationships of a departmentTemplate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[DepartmentTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DepartmentTemplate] = None, request_configuration: Optional[DepartmentTemplateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[DepartmentTemplate] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class DepartmentTemplateItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class DepartmentTemplateItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a departmentTemplate object. This API is available in the following national cloud deployments. + Read the properties and relationships of a departmentTemplate object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/labels/file_plan_references/file_plan_references_request_builder.py b/msgraph_beta/generated/security/labels/file_plan_references/file_plan_references_request_builder.py index 5d6a34f9033..494d7f52896 100644 --- a/msgraph_beta/generated/security/labels/file_plan_references/file_plan_references_request_builder.py +++ b/msgraph_beta/generated/security/labels/file_plan_references/file_plan_references_request_builder.py @@ -45,7 +45,7 @@ def by_file_plan_reference_template_id(self,file_plan_reference_template_id: str async def get(self,request_configuration: Optional[FilePlanReferencesRequestBuilderGetRequestConfiguration] = None) -> Optional[FilePlanReferenceTemplateCollectionResponse]: """ - Get a list of the filePlanReferenceTemplate objects and their properties. This API is available in the following national cloud deployments. + Get a list of the filePlanReferenceTemplate objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FilePlanReferenceTemplateCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-labelsroot-list-fileplanreferences?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[FilePlanReferencesRequestBuil async def post(self,body: Optional[FilePlanReferenceTemplate] = None, request_configuration: Optional[FilePlanReferencesRequestBuilderPostRequestConfiguration] = None) -> Optional[FilePlanReferenceTemplate]: """ - Create a new filePlanReferenceTemplate object. This API is available in the following national cloud deployments. + Create a new filePlanReferenceTemplate object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FilePlanReferenceTemplate] @@ -92,7 +92,7 @@ async def post(self,body: Optional[FilePlanReferenceTemplate] = None, request_co def to_get_request_information(self,request_configuration: Optional[FilePlanReferencesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the filePlanReferenceTemplate objects and their properties. This API is available in the following national cloud deployments. + Get a list of the filePlanReferenceTemplate objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[FilePlanRefe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[FilePlanReferenceTemplate] = None, request_configuration: Optional[FilePlanReferencesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new filePlanReferenceTemplate object. This API is available in the following national cloud deployments. + Create a new filePlanReferenceTemplate object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[FilePlanReferenceTemplate] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class FilePlanReferencesRequestBuilderGetQueryParameters(): """ - Get a list of the filePlanReferenceTemplate objects and their properties. This API is available in the following national cloud deployments. + Get a list of the filePlanReferenceTemplate objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/labels/file_plan_references/item/file_plan_reference_template_item_request_builder.py b/msgraph_beta/generated/security/labels/file_plan_references/item/file_plan_reference_template_item_request_builder.py index 255f074ef4d..6be3f3dd949 100644 --- a/msgraph_beta/generated/security/labels/file_plan_references/item/file_plan_reference_template_item_request_builder.py +++ b/msgraph_beta/generated/security/labels/file_plan_references/item/file_plan_reference_template_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[FilePlanReferenceTemplateItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a filePlanReferenceTemplate object. This API is available in the following national cloud deployments. + Delete a filePlanReferenceTemplate object. 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-labelsroot-delete-fileplanreferences?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[FilePlanReferenceTemplateI async def get(self,request_configuration: Optional[FilePlanReferenceTemplateItemRequestBuilderGetRequestConfiguration] = None) -> Optional[FilePlanReferenceTemplate]: """ - Read the properties and relationships of a filePlanReferenceTemplate object. This API is available in the following national cloud deployments. + Read the properties and relationships of a filePlanReferenceTemplate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FilePlanReferenceTemplate] Find more info here: https://learn.microsoft.com/graph/api/security-fileplanreferencetemplate-get?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[FilePlanReferenceTemplate] = None, request_c def to_delete_request_information(self,request_configuration: Optional[FilePlanReferenceTemplateItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a filePlanReferenceTemplate object. This API is available in the following national cloud deployments. + Delete a filePlanReferenceTemplate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[FilePlanR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FilePlanReferenceTemplateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a filePlanReferenceTemplate object. This API is available in the following national cloud deployments. + Read the properties and relationships of a filePlanReferenceTemplate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[FilePlanRefe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[FilePlanReferenceTemplate] = None, request_configuration: Optional[FilePlanReferenceTemplateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[FilePlanReferenceTemplate] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class FilePlanReferenceTemplateItemRequestBuilderDeleteRequestConfiguration(Base @dataclass class FilePlanReferenceTemplateItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a filePlanReferenceTemplate object. This API is available in the following national cloud deployments. + Read the properties and relationships of a filePlanReferenceTemplate object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/labels/labels_request_builder.py b/msgraph_beta/generated/security/labels/labels_request_builder.py index 146022b7faa..521d1e16d56 100644 --- a/msgraph_beta/generated/security/labels/labels_request_builder.py +++ b/msgraph_beta/generated/security/labels/labels_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[LabelsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LabelsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[LabelsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[LabelsRoot] = None, request_configuration: Optional[LabelsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[LabelsRoot] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/labels/retention_labels/item/descriptors/authority_template/authority_template_request_builder.py b/msgraph_beta/generated/security/labels/retention_labels/item/descriptors/authority_template/authority_template_request_builder.py index 9b1d23b128e..0514e864b34 100644 --- a/msgraph_beta/generated/security/labels/retention_labels/item/descriptors/authority_template/authority_template_request_builder.py +++ b/msgraph_beta/generated/security/labels/retention_labels/item/descriptors/authority_template/authority_template_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AuthorityTem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AuthorityTemplateRequestBuilder: diff --git a/msgraph_beta/generated/security/labels/retention_labels/item/descriptors/category_template/category_template_request_builder.py b/msgraph_beta/generated/security/labels/retention_labels/item/descriptors/category_template/category_template_request_builder.py index 943c59e1f7f..4991a874265 100644 --- a/msgraph_beta/generated/security/labels/retention_labels/item/descriptors/category_template/category_template_request_builder.py +++ b/msgraph_beta/generated/security/labels/retention_labels/item/descriptors/category_template/category_template_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CategoryTemp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CategoryTemplateRequestBuilder: diff --git a/msgraph_beta/generated/security/labels/retention_labels/item/descriptors/citation_template/citation_template_request_builder.py b/msgraph_beta/generated/security/labels/retention_labels/item/descriptors/citation_template/citation_template_request_builder.py index 564a66766f9..e8fef41866f 100644 --- a/msgraph_beta/generated/security/labels/retention_labels/item/descriptors/citation_template/citation_template_request_builder.py +++ b/msgraph_beta/generated/security/labels/retention_labels/item/descriptors/citation_template/citation_template_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CitationTemp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CitationTemplateRequestBuilder: diff --git a/msgraph_beta/generated/security/labels/retention_labels/item/descriptors/department_template/department_template_request_builder.py b/msgraph_beta/generated/security/labels/retention_labels/item/descriptors/department_template/department_template_request_builder.py index cbac4301c9a..feac320c662 100644 --- a/msgraph_beta/generated/security/labels/retention_labels/item/descriptors/department_template/department_template_request_builder.py +++ b/msgraph_beta/generated/security/labels/retention_labels/item/descriptors/department_template/department_template_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DepartmentTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DepartmentTemplateRequestBuilder: diff --git a/msgraph_beta/generated/security/labels/retention_labels/item/descriptors/descriptors_request_builder.py b/msgraph_beta/generated/security/labels/retention_labels/item/descriptors/descriptors_request_builder.py index 836b028e457..a09eab7666a 100644 --- a/msgraph_beta/generated/security/labels/retention_labels/item/descriptors/descriptors_request_builder.py +++ b/msgraph_beta/generated/security/labels/retention_labels/item/descriptors/descriptors_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[Descripto request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DescriptorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[DescriptorsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[FilePlanDescriptor] = None, request_configuration: Optional[DescriptorsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[FilePlanDescriptor] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/labels/retention_labels/item/descriptors/file_plan_reference_template/file_plan_reference_template_request_builder.py b/msgraph_beta/generated/security/labels/retention_labels/item/descriptors/file_plan_reference_template/file_plan_reference_template_request_builder.py index 7b31b7240ab..d93bcd97c21 100644 --- a/msgraph_beta/generated/security/labels/retention_labels/item/descriptors/file_plan_reference_template/file_plan_reference_template_request_builder.py +++ b/msgraph_beta/generated/security/labels/retention_labels/item/descriptors/file_plan_reference_template/file_plan_reference_template_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FilePlanRefe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilePlanReferenceTemplateRequestBuilder: diff --git a/msgraph_beta/generated/security/labels/retention_labels/item/disposition_review_stages/disposition_review_stages_request_builder.py b/msgraph_beta/generated/security/labels/retention_labels/item/disposition_review_stages/disposition_review_stages_request_builder.py index 685468d588f..2d70984a073 100644 --- a/msgraph_beta/generated/security/labels/retention_labels/item/disposition_review_stages/disposition_review_stages_request_builder.py +++ b/msgraph_beta/generated/security/labels/retention_labels/item/disposition_review_stages/disposition_review_stages_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DispositionR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DispositionReviewStage] = None, request_configuration: Optional[DispositionReviewStagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DispositionReviewStage] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/labels/retention_labels/item/disposition_review_stages/item/disposition_review_stage_item_request_builder.py b/msgraph_beta/generated/security/labels/retention_labels/item/disposition_review_stages/item/disposition_review_stage_item_request_builder.py index dea7d0efc4e..6753f95d356 100644 --- a/msgraph_beta/generated/security/labels/retention_labels/item/disposition_review_stages/item/disposition_review_stage_item_request_builder.py +++ b/msgraph_beta/generated/security/labels/retention_labels/item/disposition_review_stages/item/disposition_review_stage_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Dispositi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DispositionReviewStageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DispositionR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DispositionReviewStage] = None, request_configuration: Optional[DispositionReviewStageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DispositionReviewStage] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/labels/retention_labels/item/retention_event_type/retention_event_type_request_builder.py b/msgraph_beta/generated/security/labels/retention_labels/item/retention_event_type/retention_event_type_request_builder.py index 87859e06bb0..5c5ae1b11e9 100644 --- a/msgraph_beta/generated/security/labels/retention_labels/item/retention_event_type/retention_event_type_request_builder.py +++ b/msgraph_beta/generated/security/labels/retention_labels/item/retention_event_type/retention_event_type_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RetentionEve request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RetentionEventTypeRequestBuilder: diff --git a/msgraph_beta/generated/security/labels/retention_labels/item/retention_label_item_request_builder.py b/msgraph_beta/generated/security/labels/retention_labels/item/retention_label_item_request_builder.py index 2b11bd8b88d..865ab9f749d 100644 --- a/msgraph_beta/generated/security/labels/retention_labels/item/retention_label_item_request_builder.py +++ b/msgraph_beta/generated/security/labels/retention_labels/item/retention_label_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RetentionLabelItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a retentionLabel object. This API is available in the following national cloud deployments. + Delete a retentionLabel object. 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-retentionlabel-delete?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[RetentionLabelItemRequestBuil async def patch(self,body: Optional[RetentionLabel] = None, request_configuration: Optional[RetentionLabelItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[RetentionLabel]: """ - Update the properties of a retentionLabel object. To update a disposition review stage, include the actionAfterRetentionPeriod property in the request body with one of the possible values specified. This API is available in the following national cloud deployments. + Update the properties of a retentionLabel object. To update a disposition review stage, include the actionAfterRetentionPeriod property in the request body with one of the possible values specified. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RetentionLabel] @@ -97,7 +97,7 @@ async def patch(self,body: Optional[RetentionLabel] = None, request_configuratio def to_delete_request_information(self,request_configuration: Optional[RetentionLabelItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a retentionLabel object. This API is available in the following national cloud deployments. + Delete a retentionLabel object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[Retention request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RetentionLabelItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[RetentionLab request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RetentionLabel] = None, request_configuration: Optional[RetentionLabelItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a retentionLabel object. To update a disposition review stage, include the actionAfterRetentionPeriod property in the request body with one of the possible values specified. This API is available in the following national cloud deployments. + Update the properties of a retentionLabel object. To update a disposition review stage, include the actionAfterRetentionPeriod property in the request body with one of the possible values specified. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[RetentionLabel] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/labels/retention_labels/retention_labels_request_builder.py b/msgraph_beta/generated/security/labels/retention_labels/retention_labels_request_builder.py index 0d3a21cbbe0..02d100d0108 100644 --- a/msgraph_beta/generated/security/labels/retention_labels/retention_labels_request_builder.py +++ b/msgraph_beta/generated/security/labels/retention_labels/retention_labels_request_builder.py @@ -45,7 +45,7 @@ def by_retention_label_id(self,retention_label_id: str) -> RetentionLabelItemReq async def get(self,request_configuration: Optional[RetentionLabelsRequestBuilderGetRequestConfiguration] = None) -> Optional[RetentionLabelCollectionResponse]: """ - Get a list of the retentionLabel objects and their properties. This API is available in the following national cloud deployments. + Get a list of the retentionLabel objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RetentionLabelCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-labelsroot-list-retentionlabel?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RetentionLabelsRequestBuilder async def post(self,body: Optional[RetentionLabel] = None, request_configuration: Optional[RetentionLabelsRequestBuilderPostRequestConfiguration] = None) -> Optional[RetentionLabel]: """ - Create a new retentionLabel object. To create a disposition review stage, include the actionAfterRetentionPeriod property in the request body with one of the possible values specified. This API is available in the following national cloud deployments. + Create a new retentionLabel object. To create a disposition review stage, include the actionAfterRetentionPeriod property in the request body with one of the possible values specified. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RetentionLabel] @@ -92,7 +92,7 @@ async def post(self,body: Optional[RetentionLabel] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[RetentionLabelsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the retentionLabel objects and their properties. This API is available in the following national cloud deployments. + Get a list of the retentionLabel objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[RetentionLab request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[RetentionLabel] = None, request_configuration: Optional[RetentionLabelsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new retentionLabel object. To create a disposition review stage, include the actionAfterRetentionPeriod property in the request body with one of the possible values specified. This API is available in the following national cloud deployments. + Create a new retentionLabel object. To create a disposition review stage, include the actionAfterRetentionPeriod property in the request body with one of the possible values specified. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[RetentionLabel] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RetentionLabelsRequestBuilderGetQueryParameters(): """ - Get a list of the retentionLabel objects and their properties. This API is available in the following national cloud deployments. + Get a list of the retentionLabel objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/microsoft_graph_security_run_hunting_query/microsoft_graph_security_run_hunting_query_request_builder.py b/msgraph_beta/generated/security/microsoft_graph_security_run_hunting_query/microsoft_graph_security_run_hunting_query_request_builder.py index 955ff6a2302..262651b4cb6 100644 --- a/msgraph_beta/generated/security/microsoft_graph_security_run_hunting_query/microsoft_graph_security_run_hunting_query_request_builder.py +++ b/msgraph_beta/generated/security/microsoft_graph_security_run_hunting_query/microsoft_graph_security_run_hunting_query_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[RunHuntingQueryPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/provider_tenant_settings/item/provider_tenant_setting_item_request_builder.py b/msgraph_beta/generated/security/provider_tenant_settings/item/provider_tenant_setting_item_request_builder.py index f03674c928a..f501ba1f4a2 100644 --- a/msgraph_beta/generated/security/provider_tenant_settings/item/provider_tenant_setting_item_request_builder.py +++ b/msgraph_beta/generated/security/provider_tenant_settings/item/provider_tenant_setting_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ProviderT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ProviderTenantSettingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ProviderTena request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ProviderTenantSetting] = None, request_configuration: Optional[ProviderTenantSettingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ProviderTenantSetting] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/provider_tenant_settings/provider_tenant_settings_request_builder.py b/msgraph_beta/generated/security/provider_tenant_settings/provider_tenant_settings_request_builder.py index 4b748c9bf8a..d4a5e69f39b 100644 --- a/msgraph_beta/generated/security/provider_tenant_settings/provider_tenant_settings_request_builder.py +++ b/msgraph_beta/generated/security/provider_tenant_settings/provider_tenant_settings_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ProviderTena request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ProviderTenantSetting] = None, request_configuration: Optional[ProviderTenantSettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ProviderTenantSetting] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/secure_score_control_profiles/item/secure_score_control_profile_item_request_builder.py b/msgraph_beta/generated/security/secure_score_control_profiles/item/secure_score_control_profile_item_request_builder.py index 44c6f6b1593..bd8a85f2e99 100644 --- a/msgraph_beta/generated/security/secure_score_control_profiles/item/secure_score_control_profile_item_request_builder.py +++ b/msgraph_beta/generated/security/secure_score_control_profiles/item/secure_score_control_profile_item_request_builder.py @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[SecureScoreControlProfileItem async def patch(self,body: Optional[SecureScoreControlProfile] = None, request_configuration: Optional[SecureScoreControlProfileItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[SecureScoreControlProfile]: """ - Update an editable secureScoreControlProfiles property within any integrated solution to change various properties, such as assignedTo or tenantNote. This API is available in the following national cloud deployments. + Update an editable secureScoreControlProfiles property within any integrated solution to change various properties, such as assignedTo or tenantNote. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecureScoreControlProfile] @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[SecureSco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SecureScoreControlProfileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,12 +121,12 @@ def to_get_request_information(self,request_configuration: Optional[SecureScoreC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SecureScoreControlProfile] = None, request_configuration: Optional[SecureScoreControlProfileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update an editable secureScoreControlProfiles property within any integrated solution to change various properties, such as assignedTo or tenantNote. This API is available in the following national cloud deployments. + Update an editable secureScoreControlProfiles property within any integrated solution to change various properties, such as assignedTo or tenantNote. 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 to_patch_request_information(self,body: Optional[SecureScoreControlProfile] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/secure_score_control_profiles/secure_score_control_profiles_request_builder.py b/msgraph_beta/generated/security/secure_score_control_profiles/secure_score_control_profiles_request_builder.py index 67734bb3443..45d27f73423 100644 --- a/msgraph_beta/generated/security/secure_score_control_profiles/secure_score_control_profiles_request_builder.py +++ b/msgraph_beta/generated/security/secure_score_control_profiles/secure_score_control_profiles_request_builder.py @@ -45,7 +45,7 @@ def by_secure_score_control_profile_id(self,secure_score_control_profile_id: str async def get(self,request_configuration: Optional[SecureScoreControlProfilesRequestBuilderGetRequestConfiguration] = None) -> Optional[SecureScoreControlProfileCollectionResponse]: """ - Retrieves a list of secureScoreControlProfile objects for a tenant. This API is available in the following national cloud deployments. + Retrieves a list of secureScoreControlProfile objects for a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecureScoreControlProfileCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/securescorecontrolprofiles-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[SecureScoreControlProfile] = None, request_co def to_get_request_information(self,request_configuration: Optional[SecureScoreControlProfilesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieves a list of secureScoreControlProfile objects for a tenant. This API is available in the following national cloud deployments. + Retrieves a list of secureScoreControlProfile objects for a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SecureScoreC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SecureScoreControlProfile] = None, request_configuration: Optional[SecureScoreControlProfilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SecureScoreControlProfile] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SecureScoreControlProfilesRequestBuilderGetQueryParameters(): """ - Retrieves a list of secureScoreControlProfile objects for a tenant. This API is available in the following national cloud deployments. + Retrieves a list of secureScoreControlProfile objects for a tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/secure_scores/item/secure_score_item_request_builder.py b/msgraph_beta/generated/security/secure_scores/item/secure_score_item_request_builder.py index 89c87395e58..2f550c7ea98 100644 --- a/msgraph_beta/generated/security/secure_scores/item/secure_score_item_request_builder.py +++ b/msgraph_beta/generated/security/secure_scores/item/secure_score_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[SecureSco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SecureScoreItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SecureScoreI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SecureScore] = None, request_configuration: Optional[SecureScoreItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[SecureScore] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/secure_scores/secure_scores_request_builder.py b/msgraph_beta/generated/security/secure_scores/secure_scores_request_builder.py index 6dd3be34bad..4838813b460 100644 --- a/msgraph_beta/generated/security/secure_scores/secure_scores_request_builder.py +++ b/msgraph_beta/generated/security/secure_scores/secure_scores_request_builder.py @@ -45,7 +45,7 @@ def by_secure_score_id(self,secure_score_id: str) -> SecureScoreItemRequestBuild async def get(self,request_configuration: Optional[SecureScoresRequestBuilderGetRequestConfiguration] = None) -> Optional[SecureScoreCollectionResponse]: """ - Retrieve the properties and relationships of a secureScores object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a secureScores object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecureScoreCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/securescores-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[SecureScore] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[SecureScoresRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a secureScores object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a secureScores object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SecureScores request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SecureScore] = None, request_configuration: Optional[SecureScoresRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SecureScore] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SecureScoresRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a secureScores object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a secureScores object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/security_actions/item/cancel_security_action/cancel_security_action_request_builder.py b/msgraph_beta/generated/security/security_actions/item/cancel_security_action/cancel_security_action_request_builder.py index 6694d68705d..f7b67680a99 100644 --- a/msgraph_beta/generated/security/security_actions/item/cancel_security_action/cancel_security_action_request_builder.py +++ b/msgraph_beta/generated/security/security_actions/item/cancel_security_action/cancel_security_action_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CancelSecurityActionRequestBuilderPostRequestConfiguration] = None) -> None: """ - Cancel a security operation. This API is available in the following national cloud deployments. + Cancel a security operation. 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/securityaction-cancelsecurityaction?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[CancelSecurityActionRequestB def to_post_request_information(self,request_configuration: Optional[CancelSecurityActionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Cancel a security operation. This API is available in the following national cloud deployments. + Cancel a security operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[CancelSecur request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CancelSecurityActionRequestBuilder: diff --git a/msgraph_beta/generated/security/security_actions/item/security_action_item_request_builder.py b/msgraph_beta/generated/security/security_actions/item/security_action_item_request_builder.py index b8c1f84d74a..d44bec755e8 100644 --- a/msgraph_beta/generated/security/security_actions/item/security_action_item_request_builder.py +++ b/msgraph_beta/generated/security/security_actions/item/security_action_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[SecurityActionItemRequestB async def get(self,request_configuration: Optional[SecurityActionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SecurityAction]: """ - Retrieve the properties and relationships of a securityAction object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a securityAction object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecurityAction] Find more info here: https://learn.microsoft.com/graph/api/securityaction-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[SecurityA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SecurityActionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a securityAction object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a securityAction object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[SecurityActi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SecurityAction] = None, request_configuration: Optional[SecurityActionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[SecurityAction] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class SecurityActionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class SecurityActionItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a securityAction object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a securityAction object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/security_actions/security_actions_request_builder.py b/msgraph_beta/generated/security/security_actions/security_actions_request_builder.py index a4d28d7ed31..24203544bfd 100644 --- a/msgraph_beta/generated/security/security_actions/security_actions_request_builder.py +++ b/msgraph_beta/generated/security/security_actions/security_actions_request_builder.py @@ -45,7 +45,7 @@ def by_security_action_id(self,security_action_id: str) -> SecurityActionItemReq async def get(self,request_configuration: Optional[SecurityActionsRequestBuilderGetRequestConfiguration] = None) -> Optional[SecurityActionCollectionResponse]: """ - Retrieve a list of securityAction objects. This API is available in the following national cloud deployments. + Retrieve a list of securityAction objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecurityActionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/securityactions-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SecurityActionsRequestBuilder async def post(self,body: Optional[SecurityAction] = None, request_configuration: Optional[SecurityActionsRequestBuilderPostRequestConfiguration] = None) -> Optional[SecurityAction]: """ - Create a new securityAction object. This API is available in the following national cloud deployments. + Create a new securityAction object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SecurityAction] @@ -92,7 +92,7 @@ async def post(self,body: Optional[SecurityAction] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[SecurityActionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of securityAction objects. This API is available in the following national cloud deployments. + Retrieve a list of securityAction objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SecurityActi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SecurityAction] = None, request_configuration: Optional[SecurityActionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new securityAction object. This API is available in the following national cloud deployments. + Create a new securityAction object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[SecurityAction] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SecurityActionsRequestBuilderGetQueryParameters(): """ - Retrieve a list of securityAction objects. This API is available in the following national cloud deployments. + Retrieve a list of securityAction objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/security_request_builder.py b/msgraph_beta/generated/security/security_request_builder.py index b1676166b1d..d4faaeddea8 100644 --- a/msgraph_beta/generated/security/security_request_builder.py +++ b/msgraph_beta/generated/security/security_request_builder.py @@ -15,6 +15,7 @@ from .alerts.alerts_request_builder import AlertsRequestBuilder from .alerts_v2.alerts_v2_request_builder import Alerts_v2RequestBuilder from .attack_simulation.attack_simulation_request_builder import AttackSimulationRequestBuilder + from .audit_log.audit_log_request_builder import AuditLogRequestBuilder from .cases.cases_request_builder import CasesRequestBuilder from .cloud_app_security_profiles.cloud_app_security_profiles_request_builder import CloudAppSecurityProfilesRequestBuilder from .domain_security_profiles.domain_security_profiles_request_builder import DomainSecurityProfilesRequestBuilder @@ -109,7 +110,7 @@ def to_get_request_information(self,request_configuration: Optional[SecurityRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Security] = None, request_configuration: Optional[SecurityRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -128,7 +129,7 @@ def to_patch_request_information(self,body: Optional[Security] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,6 +170,15 @@ def attack_simulation(self) -> AttackSimulationRequestBuilder: return AttackSimulationRequestBuilder(self.request_adapter, self.path_parameters) + @property + def audit_log(self) -> AuditLogRequestBuilder: + """ + Provides operations to manage the auditLog property of the microsoft.graph.security entity. + """ + from .audit_log.audit_log_request_builder import AuditLogRequestBuilder + + return AuditLogRequestBuilder(self.request_adapter, self.path_parameters) + @property def cases(self) -> CasesRequestBuilder: """ diff --git a/msgraph_beta/generated/security/subject_rights_requests/item/approvers/approvers_request_builder.py b/msgraph_beta/generated/security/subject_rights_requests/item/approvers/approvers_request_builder.py index 98c88d65111..399237ea1a8 100644 --- a/msgraph_beta/generated/security/subject_rights_requests/item/approvers/approvers_request_builder.py +++ b/msgraph_beta/generated/security/subject_rights_requests/item/approvers/approvers_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[ApproversReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ApproversRequestBuilder: diff --git a/msgraph_beta/generated/security/subject_rights_requests/item/approvers/item/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/security/subject_rights_requests/item/approvers/item/mailbox_settings/mailbox_settings_request_builder.py index 861093ee209..69bac90327d 100644 --- a/msgraph_beta/generated/security/subject_rights_requests/item/approvers/item/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/security/subject_rights_requests/item/approvers/item/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/subject_rights_requests/item/approvers/item/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/security/subject_rights_requests/item/approvers/item/service_provisioning_errors/service_provisioning_errors_request_builder.py index 524aeb41f73..0701beb47c5 100644 --- a/msgraph_beta/generated/security/subject_rights_requests/item/approvers/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/security/subject_rights_requests/item/approvers/item/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/subject_rights_requests/item/approvers/item/user_item_request_builder.py b/msgraph_beta/generated/security/subject_rights_requests/item/approvers/item/user_item_request_builder.py index fa6b64edd03..135668663db 100644 --- a/msgraph_beta/generated/security/subject_rights_requests/item/approvers/item/user_item_request_builder.py +++ b/msgraph_beta/generated/security/subject_rights_requests/item/approvers/item/user_item_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[UserItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserItemRequestBuilder: diff --git a/msgraph_beta/generated/security/subject_rights_requests/item/collaborators/collaborators_request_builder.py b/msgraph_beta/generated/security/subject_rights_requests/item/collaborators/collaborators_request_builder.py index 435ea7fa943..89a23a7014a 100644 --- a/msgraph_beta/generated/security/subject_rights_requests/item/collaborators/collaborators_request_builder.py +++ b/msgraph_beta/generated/security/subject_rights_requests/item/collaborators/collaborators_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[Collaborator request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CollaboratorsRequestBuilder: diff --git a/msgraph_beta/generated/security/subject_rights_requests/item/collaborators/item/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/security/subject_rights_requests/item/collaborators/item/mailbox_settings/mailbox_settings_request_builder.py index febc9c94f03..6aa1eedb35a 100644 --- a/msgraph_beta/generated/security/subject_rights_requests/item/collaborators/item/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/security/subject_rights_requests/item/collaborators/item/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/subject_rights_requests/item/collaborators/item/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/security/subject_rights_requests/item/collaborators/item/service_provisioning_errors/service_provisioning_errors_request_builder.py index c6fd7a2574a..a73a4ded953 100644 --- a/msgraph_beta/generated/security/subject_rights_requests/item/collaborators/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/security/subject_rights_requests/item/collaborators/item/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/subject_rights_requests/item/collaborators/item/user_item_request_builder.py b/msgraph_beta/generated/security/subject_rights_requests/item/collaborators/item/user_item_request_builder.py index 637c17f90c5..ec13aafc2e4 100644 --- a/msgraph_beta/generated/security/subject_rights_requests/item/collaborators/item/user_item_request_builder.py +++ b/msgraph_beta/generated/security/subject_rights_requests/item/collaborators/item/user_item_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[UserItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserItemRequestBuilder: diff --git a/msgraph_beta/generated/security/subject_rights_requests/item/get_final_attachment/get_final_attachment_request_builder.py b/msgraph_beta/generated/security/subject_rights_requests/item/get_final_attachment/get_final_attachment_request_builder.py index f50304afbd7..b8610378b9d 100644 --- a/msgraph_beta/generated/security/subject_rights_requests/item/get_final_attachment/get_final_attachment_request_builder.py +++ b/msgraph_beta/generated/security/subject_rights_requests/item/get_final_attachment/get_final_attachment_request_builder.py @@ -57,7 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[GetFinalAtta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetFinalAttachmentRequestBuilder: diff --git a/msgraph_beta/generated/security/subject_rights_requests/item/get_final_report/get_final_report_request_builder.py b/msgraph_beta/generated/security/subject_rights_requests/item/get_final_report/get_final_report_request_builder.py index df35c0961ab..08fad2103b1 100644 --- a/msgraph_beta/generated/security/subject_rights_requests/item/get_final_report/get_final_report_request_builder.py +++ b/msgraph_beta/generated/security/subject_rights_requests/item/get_final_report/get_final_report_request_builder.py @@ -57,7 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[GetFinalRepo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetFinalReportRequestBuilder: diff --git a/msgraph_beta/generated/security/subject_rights_requests/item/notes/item/authored_note_item_request_builder.py b/msgraph_beta/generated/security/subject_rights_requests/item/notes/item/authored_note_item_request_builder.py index 9e5aa10793c..a994355bb5f 100644 --- a/msgraph_beta/generated/security/subject_rights_requests/item/notes/item/authored_note_item_request_builder.py +++ b/msgraph_beta/generated/security/subject_rights_requests/item/notes/item/authored_note_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AuthoredN request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AuthoredNoteItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AuthoredNote request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AuthoredNote] = None, request_configuration: Optional[AuthoredNoteItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AuthoredNote] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/subject_rights_requests/item/notes/notes_request_builder.py b/msgraph_beta/generated/security/subject_rights_requests/item/notes/notes_request_builder.py index 7284b22a54a..0ad4bfff44b 100644 --- a/msgraph_beta/generated/security/subject_rights_requests/item/notes/notes_request_builder.py +++ b/msgraph_beta/generated/security/subject_rights_requests/item/notes/notes_request_builder.py @@ -45,7 +45,7 @@ def by_authored_note_id(self,authored_note_id: str) -> AuthoredNoteItemRequestBu async def get(self,request_configuration: Optional[NotesRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthoredNoteCollectionResponse]: """ - Get the list of authored notes associated with a subject rights request. This API is available in the following national cloud deployments. + Get the list of authored notes associated with a subject rights request. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthoredNoteCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/subjectrightsrequest-list-notes?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[NotesRequestBuilderGetRequest async def post(self,body: Optional[AuthoredNote] = None, request_configuration: Optional[NotesRequestBuilderPostRequestConfiguration] = None) -> Optional[AuthoredNote]: """ - Create a new authoredNote object. This API is available in the following national cloud deployments. + Create a new authoredNote object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthoredNote] @@ -92,7 +92,7 @@ async def post(self,body: Optional[AuthoredNote] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[NotesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of authored notes associated with a subject rights request. This API is available in the following national cloud deployments. + Get the list of authored notes associated with a subject rights request. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[NotesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AuthoredNote] = None, request_configuration: Optional[NotesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new authoredNote object. This API is available in the following national cloud deployments. + Create a new authoredNote object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[AuthoredNote] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class NotesRequestBuilderGetQueryParameters(): """ - Get the list of authored notes associated with a subject rights request. This API is available in the following national cloud deployments. + Get the list of authored notes associated with a subject rights request. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/subject_rights_requests/item/subject_rights_request_item_request_builder.py b/msgraph_beta/generated/security/subject_rights_requests/item/subject_rights_request_item_request_builder.py index dea19387933..45abd118707 100644 --- a/msgraph_beta/generated/security/subject_rights_requests/item/subject_rights_request_item_request_builder.py +++ b/msgraph_beta/generated/security/subject_rights_requests/item/subject_rights_request_item_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[SubjectRi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SubjectRightsRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[SubjectRight request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SubjectRightsRequest] = None, request_configuration: Optional[SubjectRightsRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[SubjectRightsRequest] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/subject_rights_requests/item/team/team_request_builder.py b/msgraph_beta/generated/security/subject_rights_requests/item/team/team_request_builder.py index 46ed12345cb..9caca541ccc 100644 --- a/msgraph_beta/generated/security/subject_rights_requests/item/team/team_request_builder.py +++ b/msgraph_beta/generated/security/subject_rights_requests/item/team/team_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamRequestBuilder: diff --git a/msgraph_beta/generated/security/subject_rights_requests/subject_rights_requests_request_builder.py b/msgraph_beta/generated/security/subject_rights_requests/subject_rights_requests_request_builder.py index bcf11a342ef..6a19e91df60 100644 --- a/msgraph_beta/generated/security/subject_rights_requests/subject_rights_requests_request_builder.py +++ b/msgraph_beta/generated/security/subject_rights_requests/subject_rights_requests_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SubjectRight request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SubjectRightsRequest] = None, request_configuration: Optional[SubjectRightsRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[SubjectRightsRequest] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/threat_intelligence/article_indicators/article_indicators_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/article_indicators/article_indicators_request_builder.py index 03b815df4b7..a23d0345acb 100644 --- a/msgraph_beta/generated/security/threat_intelligence/article_indicators/article_indicators_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/article_indicators/article_indicators_request_builder.py @@ -45,7 +45,7 @@ def by_article_indicator_id(self,article_indicator_id: str) -> ArticleIndicatorI async def get(self,request_configuration: Optional[ArticleIndicatorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ArticleIndicatorCollectionResponse]: """ - Read the properties and relationships of an articleIndicator object. This API is available in the following national cloud deployments. + Read the properties and relationships of an articleIndicator object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ArticleIndicatorCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[ArticleIndicator] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[ArticleIndicatorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an articleIndicator object. This API is available in the following national cloud deployments. + Read the properties and relationships of an articleIndicator object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ArticleIndic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ArticleIndicator] = None, request_configuration: Optional[ArticleIndicatorsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ArticleIndicator] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ArticleIndicatorsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an articleIndicator object. This API is available in the following national cloud deployments. + Read the properties and relationships of an articleIndicator object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/article_indicators/item/article_indicator_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/article_indicators/item/article_indicator_item_request_builder.py index 52467d8db70..2c053c53c28 100644 --- a/msgraph_beta/generated/security/threat_intelligence/article_indicators/item/article_indicator_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/article_indicators/item/article_indicator_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ArticleIndicatorItemReques async def get(self,request_configuration: Optional[ArticleIndicatorItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ArticleIndicator]: """ - Read the properties and relationships of an articleIndicator object. This API is available in the following national cloud deployments. + Read the properties and relationships of an articleIndicator object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ArticleIndicator] Find more info here: https://learn.microsoft.com/graph/api/security-articleindicator-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ArticleIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ArticleIndicatorItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an articleIndicator object. This API is available in the following national cloud deployments. + Read the properties and relationships of an articleIndicator object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ArticleIndic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ArticleIndicator] = None, request_configuration: Optional[ArticleIndicatorItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ArticleIndicator] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ArticleIndicatorItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class ArticleIndicatorItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an articleIndicator object. This API is available in the following national cloud deployments. + Read the properties and relationships of an articleIndicator object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/article_indicators/item/artifact/artifact_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/article_indicators/item/artifact/artifact_request_builder.py index c5721f6c719..af3f81b450d 100644 --- a/msgraph_beta/generated/security/threat_intelligence/article_indicators/item/artifact/artifact_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/article_indicators/item/artifact/artifact_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ArtifactRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ArtifactRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/articles/articles_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/articles/articles_request_builder.py index 728169fb6ef..fa97d5d5228 100644 --- a/msgraph_beta/generated/security/threat_intelligence/articles/articles_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/articles/articles_request_builder.py @@ -45,7 +45,7 @@ def by_article_id(self,article_id: str) -> ArticleItemRequestBuilder: async def get(self,request_configuration: Optional[ArticlesRequestBuilderGetRequestConfiguration] = None) -> Optional[ArticleCollectionResponse]: """ - Get a list of article objects, including their properties and relationships. This API is available in the following national cloud deployments. + Get a list of article objects, including their properties and relationships. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ArticleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-threatintelligence-list-articles?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[Article] = None, request_configuration: Optio def to_get_request_information(self,request_configuration: Optional[ArticlesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of article objects, including their properties and relationships. This API is available in the following national cloud deployments. + Get a list of article objects, including their properties and relationships. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ArticlesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Article] = None, request_configuration: Optional[ArticlesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Article] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ArticlesRequestBuilderGetQueryParameters(): """ - Get a list of article objects, including their properties and relationships. This API is available in the following national cloud deployments. + Get a list of article objects, including their properties and relationships. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/articles/item/article_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/articles/item/article_item_request_builder.py index 91d3dff58c4..b688018f95e 100644 --- a/msgraph_beta/generated/security/threat_intelligence/articles/item/article_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/articles/item/article_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ArticleItemRequestBuilderD async def get(self,request_configuration: Optional[ArticleItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Article]: """ - Read the properties and relationships of an article object. This API is available in the following national cloud deployments. + Read the properties and relationships of an article object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Article] Find more info here: https://learn.microsoft.com/graph/api/security-article-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ArticleIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ArticleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an article object. This API is available in the following national cloud deployments. + Read the properties and relationships of an article object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ArticleItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Article] = None, request_configuration: Optional[ArticleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Article] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ArticleItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurati @dataclass class ArticleItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an article object. This API is available in the following national cloud deployments. + Read the properties and relationships of an article object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/articles/item/indicators/indicators_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/articles/item/indicators/indicators_request_builder.py index 388111a9bf7..703ed137d33 100644 --- a/msgraph_beta/generated/security/threat_intelligence/articles/item/indicators/indicators_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/articles/item/indicators/indicators_request_builder.py @@ -44,7 +44,7 @@ def by_article_indicator_id(self,article_indicator_id: str) -> ArticleIndicatorI async def get(self,request_configuration: Optional[IndicatorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ArticleIndicatorCollectionResponse]: """ - Get a list of articleIndicator objects that represent indicators of threat or compromise related to the contents of an article. This API is available in the following national cloud deployments. + Get a list of articleIndicator objects that represent indicators of threat or compromise related to the contents of an article. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ArticleIndicatorCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-article-list-indicators?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[IndicatorsRequestBuilderGetRe def to_get_request_information(self,request_configuration: Optional[IndicatorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of articleIndicator objects that represent indicators of threat or compromise related to the contents of an article. This API is available in the following national cloud deployments. + Get a list of articleIndicator objects that represent indicators of threat or compromise related to the contents of an article. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[IndicatorsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IndicatorsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class IndicatorsRequestBuilderGetQueryParameters(): """ - Get a list of articleIndicator objects that represent indicators of threat or compromise related to the contents of an article. This API is available in the following national cloud deployments. + Get a list of articleIndicator objects that represent indicators of threat or compromise related to the contents of an article. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/articles/item/indicators/item/article_indicator_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/articles/item/indicators/item/article_indicator_item_request_builder.py index c3dfe250652..762e6bc3cec 100644 --- a/msgraph_beta/generated/security/threat_intelligence/articles/item/indicators/item/article_indicator_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/articles/item/indicators/item/article_indicator_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ArticleIndic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ArticleIndicatorItemRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/host_components/host_components_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/host_components/host_components_request_builder.py index 7b4492aea1a..a03f15c85b7 100644 --- a/msgraph_beta/generated/security/threat_intelligence/host_components/host_components_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/host_components/host_components_request_builder.py @@ -45,7 +45,7 @@ def by_host_component_id(self,host_component_id: str) -> HostComponentItemReques async def get(self,request_configuration: Optional[HostComponentsRequestBuilderGetRequestConfiguration] = None) -> Optional[HostComponentCollectionResponse]: """ - Read the properties and relationships of a hostComponent object. This API is available in the following national cloud deployments. + Read the properties and relationships of a hostComponent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HostComponentCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[HostComponent] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[HostComponentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a hostComponent object. This API is available in the following national cloud deployments. + Read the properties and relationships of a hostComponent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[HostComponen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[HostComponent] = None, request_configuration: Optional[HostComponentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[HostComponent] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HostComponentsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a hostComponent object. This API is available in the following national cloud deployments. + Read the properties and relationships of a hostComponent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/host_components/item/host/host_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/host_components/item/host/host_request_builder.py index bb623512762..98dd150dd1e 100644 --- a/msgraph_beta/generated/security/threat_intelligence/host_components/item/host/host_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/host_components/item/host/host_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[HostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> HostRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/host_components/item/host_component_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/host_components/item/host_component_item_request_builder.py index 832d74221c7..41ed865b707 100644 --- a/msgraph_beta/generated/security/threat_intelligence/host_components/item/host_component_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/host_components/item/host_component_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[HostComponentItemRequestBu async def get(self,request_configuration: Optional[HostComponentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[HostComponent]: """ - Read the properties and relationships of a hostComponent object. This API is available in the following national cloud deployments. + Read the properties and relationships of a hostComponent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HostComponent] Find more info here: https://learn.microsoft.com/graph/api/security-hostcomponent-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[HostCompo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[HostComponentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a hostComponent object. This API is available in the following national cloud deployments. + Read the properties and relationships of a hostComponent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[HostComponen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[HostComponent] = None, request_configuration: Optional[HostComponentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[HostComponent] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class HostComponentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class HostComponentItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a hostComponent object. This API is available in the following national cloud deployments. + Read the properties and relationships of a hostComponent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/host_cookies/host_cookies_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/host_cookies/host_cookies_request_builder.py index 62696d9de87..cb7d078a10c 100644 --- a/msgraph_beta/generated/security/threat_intelligence/host_cookies/host_cookies_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/host_cookies/host_cookies_request_builder.py @@ -45,7 +45,7 @@ def by_host_cookie_id(self,host_cookie_id: str) -> HostCookieItemRequestBuilder: async def get(self,request_configuration: Optional[HostCookiesRequestBuilderGetRequestConfiguration] = None) -> Optional[HostCookieCollectionResponse]: """ - Read the properties and relationships of a hostCookie object. This API is available in the following national cloud deployments. + Read the properties and relationships of a hostCookie object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HostCookieCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[HostCookie] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[HostCookiesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a hostCookie object. This API is available in the following national cloud deployments. + Read the properties and relationships of a hostCookie object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[HostCookiesR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[HostCookie] = None, request_configuration: Optional[HostCookiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[HostCookie] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HostCookiesRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a hostCookie object. This API is available in the following national cloud deployments. + Read the properties and relationships of a hostCookie object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/host_cookies/item/host/host_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/host_cookies/item/host/host_request_builder.py index 7202fe404a8..39378248d97 100644 --- a/msgraph_beta/generated/security/threat_intelligence/host_cookies/item/host/host_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/host_cookies/item/host/host_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[HostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> HostRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/host_cookies/item/host_cookie_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/host_cookies/item/host_cookie_item_request_builder.py index d9dd9e05a7d..ff224a4b3df 100644 --- a/msgraph_beta/generated/security/threat_intelligence/host_cookies/item/host_cookie_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/host_cookies/item/host_cookie_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[HostCookieItemRequestBuild async def get(self,request_configuration: Optional[HostCookieItemRequestBuilderGetRequestConfiguration] = None) -> Optional[HostCookie]: """ - Read the properties and relationships of a hostCookie object. This API is available in the following national cloud deployments. + Read the properties and relationships of a hostCookie object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HostCookie] Find more info here: https://learn.microsoft.com/graph/api/security-hostcookie-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[HostCooki request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[HostCookieItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a hostCookie object. This API is available in the following national cloud deployments. + Read the properties and relationships of a hostCookie object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[HostCookieIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[HostCookie] = None, request_configuration: Optional[HostCookieItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[HostCookie] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class HostCookieItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class HostCookieItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a hostCookie object. This API is available in the following national cloud deployments. + Read the properties and relationships of a hostCookie object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/host_pairs/host_pairs_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/host_pairs/host_pairs_request_builder.py index 9def6f617f1..b88ca3ee5e3 100644 --- a/msgraph_beta/generated/security/threat_intelligence/host_pairs/host_pairs_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/host_pairs/host_pairs_request_builder.py @@ -45,7 +45,7 @@ def by_host_pair_id(self,host_pair_id: str) -> HostPairItemRequestBuilder: async def get(self,request_configuration: Optional[HostPairsRequestBuilderGetRequestConfiguration] = None) -> Optional[HostPairCollectionResponse]: """ - Read the properties and relationships of a hostPair object. This API is available in the following national cloud deployments. + Read the properties and relationships of a hostPair object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HostPairCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[HostPair] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[HostPairsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a hostPair object. This API is available in the following national cloud deployments. + Read the properties and relationships of a hostPair object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[HostPairsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[HostPair] = None, request_configuration: Optional[HostPairsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[HostPair] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HostPairsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a hostPair object. This API is available in the following national cloud deployments. + Read the properties and relationships of a hostPair object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/host_pairs/item/child_host/child_host_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/host_pairs/item/child_host/child_host_request_builder.py index 130d7032548..cef37cd71d4 100644 --- a/msgraph_beta/generated/security/threat_intelligence/host_pairs/item/child_host/child_host_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/host_pairs/item/child_host/child_host_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ChildHostReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ChildHostRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/host_pairs/item/host_pair_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/host_pairs/item/host_pair_item_request_builder.py index 92e9e8fdd9a..50c901396f6 100644 --- a/msgraph_beta/generated/security/threat_intelligence/host_pairs/item/host_pair_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/host_pairs/item/host_pair_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[HostPairItemRequestBuilder async def get(self,request_configuration: Optional[HostPairItemRequestBuilderGetRequestConfiguration] = None) -> Optional[HostPair]: """ - Read the properties and relationships of a hostPair object. This API is available in the following national cloud deployments. + Read the properties and relationships of a hostPair object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HostPair] Find more info here: https://learn.microsoft.com/graph/api/security-hostpair-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[HostPairI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[HostPairItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a hostPair object. This API is available in the following national cloud deployments. + Read the properties and relationships of a hostPair object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[HostPairItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[HostPair] = None, request_configuration: Optional[HostPairItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[HostPair] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class HostPairItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class HostPairItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a hostPair object. This API is available in the following national cloud deployments. + Read the properties and relationships of a hostPair object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/host_pairs/item/parent_host/parent_host_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/host_pairs/item/parent_host/parent_host_request_builder.py index f4d735597d7..0eceb42cad7 100644 --- a/msgraph_beta/generated/security/threat_intelligence/host_pairs/item/parent_host/parent_host_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/host_pairs/item/parent_host/parent_host_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentHostRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentHostRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/host_ports/host_ports_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/host_ports/host_ports_request_builder.py index d50669ebd76..764019f8d44 100644 --- a/msgraph_beta/generated/security/threat_intelligence/host_ports/host_ports_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/host_ports/host_ports_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[HostPortsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[HostPort] = None, request_configuration: Optional[HostPortsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[HostPort] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/threat_intelligence/host_ports/item/host/host_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/host_ports/item/host/host_request_builder.py index d5442e60eee..1badd907b5b 100644 --- a/msgraph_beta/generated/security/threat_intelligence/host_ports/item/host/host_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/host_ports/item/host/host_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[HostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> HostRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/host_ports/item/host_port_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/host_ports/item/host_port_item_request_builder.py index 3fc0f992585..493e418b199 100644 --- a/msgraph_beta/generated/security/threat_intelligence/host_ports/item/host_port_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/host_ports/item/host_port_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[HostPortI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[HostPortItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[HostPortItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[HostPort] = None, request_configuration: Optional[HostPortItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[HostPort] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/threat_intelligence/host_ports/item/most_recent_ssl_certificate/most_recent_ssl_certificate_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/host_ports/item/most_recent_ssl_certificate/most_recent_ssl_certificate_request_builder.py index 4418ae5278c..abe6ccb3c07 100644 --- a/msgraph_beta/generated/security/threat_intelligence/host_ports/item/most_recent_ssl_certificate/most_recent_ssl_certificate_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/host_ports/item/most_recent_ssl_certificate/most_recent_ssl_certificate_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MostRecentSs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MostRecentSslCertificateRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/host_ssl_certificates/host_ssl_certificates_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/host_ssl_certificates/host_ssl_certificates_request_builder.py index 7d4e4180fa9..16eb8a21df0 100644 --- a/msgraph_beta/generated/security/threat_intelligence/host_ssl_certificates/host_ssl_certificates_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/host_ssl_certificates/host_ssl_certificates_request_builder.py @@ -45,7 +45,7 @@ def by_host_ssl_certificate_id(self,host_ssl_certificate_id: str) -> HostSslCert async def get(self,request_configuration: Optional[HostSslCertificatesRequestBuilderGetRequestConfiguration] = None) -> Optional[HostSslCertificateCollectionResponse]: """ - Get the properties and relationships of a hostSslCertificate object. This API is available in the following national cloud deployments. + Get the properties and relationships of a hostSslCertificate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HostSslCertificateCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[HostSslCertificate] = None, request_configura def to_get_request_information(self,request_configuration: Optional[HostSslCertificatesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a hostSslCertificate object. This API is available in the following national cloud deployments. + Get the properties and relationships of a hostSslCertificate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[HostSslCerti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[HostSslCertificate] = None, request_configuration: Optional[HostSslCertificatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[HostSslCertificate] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HostSslCertificatesRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a hostSslCertificate object. This API is available in the following national cloud deployments. + Get the properties and relationships of a hostSslCertificate object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/host_ssl_certificates/item/host/host_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/host_ssl_certificates/item/host/host_request_builder.py index 38e37a6f81a..7fb2d49ef54 100644 --- a/msgraph_beta/generated/security/threat_intelligence/host_ssl_certificates/item/host/host_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/host_ssl_certificates/item/host/host_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[HostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> HostRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/host_ssl_certificates/item/host_ssl_certificate_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/host_ssl_certificates/item/host_ssl_certificate_item_request_builder.py index 51086d8e52c..6d47b467651 100644 --- a/msgraph_beta/generated/security/threat_intelligence/host_ssl_certificates/item/host_ssl_certificate_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/host_ssl_certificates/item/host_ssl_certificate_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[HostSslCertificateItemRequ async def get(self,request_configuration: Optional[HostSslCertificateItemRequestBuilderGetRequestConfiguration] = None) -> Optional[HostSslCertificate]: """ - Get the properties and relationships of a hostSslCertificate object. This API is available in the following national cloud deployments. + Get the properties and relationships of a hostSslCertificate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HostSslCertificate] Find more info here: https://learn.microsoft.com/graph/api/security-hostsslcertificate-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[HostSslCe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[HostSslCertificateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a hostSslCertificate object. This API is available in the following national cloud deployments. + Get the properties and relationships of a hostSslCertificate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[HostSslCerti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[HostSslCertificate] = None, request_configuration: Optional[HostSslCertificateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[HostSslCertificate] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class HostSslCertificateItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class HostSslCertificateItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a hostSslCertificate object. This API is available in the following national cloud deployments. + Get the properties and relationships of a hostSslCertificate object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/host_ssl_certificates/item/ssl_certificate/ssl_certificate_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/host_ssl_certificates/item/ssl_certificate/ssl_certificate_request_builder.py index f2f36f56e29..b7951e4bfe6 100644 --- a/msgraph_beta/generated/security/threat_intelligence/host_ssl_certificates/item/ssl_certificate/ssl_certificate_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/host_ssl_certificates/item/ssl_certificate/ssl_certificate_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SslCertifica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SslCertificateRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/host_trackers/host_trackers_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/host_trackers/host_trackers_request_builder.py index 1105285c6f6..45a57e6f723 100644 --- a/msgraph_beta/generated/security/threat_intelligence/host_trackers/host_trackers_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/host_trackers/host_trackers_request_builder.py @@ -45,7 +45,7 @@ def by_host_tracker_id(self,host_tracker_id: str) -> HostTrackerItemRequestBuild async def get(self,request_configuration: Optional[HostTrackersRequestBuilderGetRequestConfiguration] = None) -> Optional[HostTrackerCollectionResponse]: """ - Read the properties and relationships of a hostTracker object. This API is available in the following national cloud deployments. + Read the properties and relationships of a hostTracker object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HostTrackerCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[HostTracker] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[HostTrackersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a hostTracker object. This API is available in the following national cloud deployments. + Read the properties and relationships of a hostTracker object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[HostTrackers request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[HostTracker] = None, request_configuration: Optional[HostTrackersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[HostTracker] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HostTrackersRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a hostTracker object. This API is available in the following national cloud deployments. + Read the properties and relationships of a hostTracker object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/host_trackers/item/host/host_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/host_trackers/item/host/host_request_builder.py index feb89c4512b..587aef6e8cb 100644 --- a/msgraph_beta/generated/security/threat_intelligence/host_trackers/item/host/host_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/host_trackers/item/host/host_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[HostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> HostRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/host_trackers/item/host_tracker_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/host_trackers/item/host_tracker_item_request_builder.py index 3b262bafc2f..6a582ac4124 100644 --- a/msgraph_beta/generated/security/threat_intelligence/host_trackers/item/host_tracker_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/host_trackers/item/host_tracker_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[HostTrackerItemRequestBuil async def get(self,request_configuration: Optional[HostTrackerItemRequestBuilderGetRequestConfiguration] = None) -> Optional[HostTracker]: """ - Read the properties and relationships of a hostTracker object. This API is available in the following national cloud deployments. + Read the properties and relationships of a hostTracker object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HostTracker] Find more info here: https://learn.microsoft.com/graph/api/security-hosttracker-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[HostTrack request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[HostTrackerItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a hostTracker object. This API is available in the following national cloud deployments. + Read the properties and relationships of a hostTracker object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[HostTrackerI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[HostTracker] = None, request_configuration: Optional[HostTrackerItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[HostTracker] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class HostTrackerItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class HostTrackerItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a hostTracker object. This API is available in the following national cloud deployments. + Read the properties and relationships of a hostTracker object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/hosts_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/hosts_request_builder.py index d9bdb78af80..638ebd43f80 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/hosts_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/hosts_request_builder.py @@ -45,7 +45,7 @@ def by_host_id(self,host_id: str) -> HostItemRequestBuilder: async def get(self,request_configuration: Optional[HostsRequestBuilderGetRequestConfiguration] = None) -> Optional[HostCollectionResponse]: """ - Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: This API is available in the following national cloud deployments. + Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HostCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[Host] = None, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[HostsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: This API is available in the following national cloud deployments. + Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[HostsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Host] = None, request_configuration: Optional[HostsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Host] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HostsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: This API is available in the following national cloud deployments. + Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/child_host_pairs/child_host_pairs_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/child_host_pairs/child_host_pairs_request_builder.py index 5d1678d7f30..34beb0e7fdf 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/child_host_pairs/child_host_pairs_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/child_host_pairs/child_host_pairs_request_builder.py @@ -44,7 +44,7 @@ def by_host_pair_id(self,host_pair_id: str) -> HostPairItemRequestBuilder: async def get(self,request_configuration: Optional[ChildHostPairsRequestBuilderGetRequestConfiguration] = None) -> Optional[HostPairCollectionResponse]: """ - Get the list of hostPair resources associated with a specified host, where that host is the *parent* and has an outgoing pairing to a *child*. This API is available in the following national cloud deployments. + Get the list of hostPair resources associated with a specified host, where that host is the *parent* and has an outgoing pairing to a *child*. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HostPairCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-host-list-childhostpairs?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ChildHostPairsRequestBuilderG def to_get_request_information(self,request_configuration: Optional[ChildHostPairsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of hostPair resources associated with a specified host, where that host is the *parent* and has an outgoing pairing to a *child*. This API is available in the following national cloud deployments. + Get the list of hostPair resources associated with a specified host, where that host is the *parent* and has an outgoing pairing to a *child*. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ChildHostPai request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ChildHostPairsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ChildHostPairsRequestBuilderGetQueryParameters(): """ - Get the list of hostPair resources associated with a specified host, where that host is the *parent* and has an outgoing pairing to a *child*. This API is available in the following national cloud deployments. + Get the list of hostPair resources associated with a specified host, where that host is the *parent* and has an outgoing pairing to a *child*. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/child_host_pairs/item/host_pair_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/child_host_pairs/item/host_pair_item_request_builder.py index 975017daa3d..fcb38c31edb 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/child_host_pairs/item/host_pair_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/child_host_pairs/item/host_pair_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[HostPairItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> HostPairItemRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/components/components_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/components/components_request_builder.py index bc523c73e60..cbb8ad9c8c9 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/components/components_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/components/components_request_builder.py @@ -44,7 +44,7 @@ def by_host_component_id(self,host_component_id: str) -> HostComponentItemReques async def get(self,request_configuration: Optional[ComponentsRequestBuilderGetRequestConfiguration] = None) -> Optional[HostComponentCollectionResponse]: """ - Get a list of hostComponent resources. This API is available in the following national cloud deployments. + Get a list of hostComponent resources. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HostComponentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-host-list-components?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ComponentsRequestBuilderGetRe def to_get_request_information(self,request_configuration: Optional[ComponentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of hostComponent resources. This API is available in the following national cloud deployments. + Get a list of hostComponent resources. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ComponentsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ComponentsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ComponentsRequestBuilderGetQueryParameters(): """ - Get a list of hostComponent resources. This API is available in the following national cloud deployments. + Get a list of hostComponent resources. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/components/item/host_component_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/components/item/host_component_item_request_builder.py index 6e8319c1898..0b7a196e7e2 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/components/item/host_component_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/components/item/host_component_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[HostComponen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> HostComponentItemRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/cookies/cookies_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/cookies/cookies_request_builder.py index 7eb662b5a9c..39d6c4e0cfc 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/cookies/cookies_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/cookies/cookies_request_builder.py @@ -44,7 +44,7 @@ def by_host_cookie_id(self,host_cookie_id: str) -> HostCookieItemRequestBuilder: async def get(self,request_configuration: Optional[CookiesRequestBuilderGetRequestConfiguration] = None) -> Optional[HostCookieCollectionResponse]: """ - Get a list of hostCookie resources. This API is available in the following national cloud deployments. + Get a list of hostCookie resources. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HostCookieCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-host-list-cookies?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[CookiesRequestBuilderGetReque def to_get_request_information(self,request_configuration: Optional[CookiesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of hostCookie resources. This API is available in the following national cloud deployments. + Get a list of hostCookie resources. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[CookiesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CookiesRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CookiesRequestBuilderGetQueryParameters(): """ - Get a list of hostCookie resources. This API is available in the following national cloud deployments. + Get a list of hostCookie resources. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/cookies/item/host_cookie_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/cookies/item/host_cookie_item_request_builder.py index 075b78b57f4..9c4b0ed4926 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/cookies/item/host_cookie_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/cookies/item/host_cookie_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[HostCookieIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> HostCookieItemRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/host_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/host_item_request_builder.py index 546f6748eb8..768a1cd58ad 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/host_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/host_item_request_builder.py @@ -60,7 +60,7 @@ async def delete(self,request_configuration: Optional[HostItemRequestBuilderDele async def get(self,request_configuration: Optional[HostItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Host]: """ - Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: This API is available in the following national cloud deployments. + Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Host] Find more info here: https://learn.microsoft.com/graph/api/security-host-get?view=graph-rest-1.0 @@ -117,12 +117,12 @@ def to_delete_request_information(self,request_configuration: Optional[HostItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[HostItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: This API is available in the following national cloud deployments. + Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -134,7 +134,7 @@ def to_get_request_information(self,request_configuration: Optional[HostItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Host] = None, request_configuration: Optional[HostItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -153,7 +153,7 @@ def to_patch_request_information(self,body: Optional[Host] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -297,7 +297,7 @@ class HostItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class HostItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: This API is available in the following national cloud deployments. + Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/host_pairs/host_pairs_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/host_pairs/host_pairs_request_builder.py index 47c9293eb2f..7cfb86df677 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/host_pairs/host_pairs_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/host_pairs/host_pairs_request_builder.py @@ -44,7 +44,7 @@ def by_host_pair_id(self,host_pair_id: str) -> HostPairItemRequestBuilder: async def get(self,request_configuration: Optional[HostPairsRequestBuilderGetRequestConfiguration] = None) -> Optional[HostPairCollectionResponse]: """ - Get the list of hostPair resources associated with a specified host, where that host is *either* the *parent* or the *child*. This API is available in the following national cloud deployments. + Get the list of hostPair resources associated with a specified host, where that host is *either* the *parent* or the *child*. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HostPairCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-host-list-hostpairs?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[HostPairsRequestBuilderGetReq def to_get_request_information(self,request_configuration: Optional[HostPairsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of hostPair resources associated with a specified host, where that host is *either* the *parent* or the *child*. This API is available in the following national cloud deployments. + Get the list of hostPair resources associated with a specified host, where that host is *either* the *parent* or the *child*. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[HostPairsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> HostPairsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HostPairsRequestBuilderGetQueryParameters(): """ - Get the list of hostPair resources associated with a specified host, where that host is *either* the *parent* or the *child*. This API is available in the following national cloud deployments. + Get the list of hostPair resources associated with a specified host, where that host is *either* the *parent* or the *child*. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/host_pairs/item/host_pair_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/host_pairs/item/host_pair_item_request_builder.py index 40398dc5e38..f880c6ae40b 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/host_pairs/item/host_pair_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/host_pairs/item/host_pair_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[HostPairItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> HostPairItemRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/parent_host_pairs/item/host_pair_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/parent_host_pairs/item/host_pair_item_request_builder.py index 9295ee64dea..9225026277f 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/parent_host_pairs/item/host_pair_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/parent_host_pairs/item/host_pair_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[HostPairItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> HostPairItemRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/parent_host_pairs/parent_host_pairs_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/parent_host_pairs/parent_host_pairs_request_builder.py index 6da0ea376fb..bc2531eec2c 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/parent_host_pairs/parent_host_pairs_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/parent_host_pairs/parent_host_pairs_request_builder.py @@ -44,7 +44,7 @@ def by_host_pair_id(self,host_pair_id: str) -> HostPairItemRequestBuilder: async def get(self,request_configuration: Optional[ParentHostPairsRequestBuilderGetRequestConfiguration] = None) -> Optional[HostPairCollectionResponse]: """ - Get the list of hostPair resources associated with a specified host, where that host is the *child* and has an incoming pairing with a *parent*. This API is available in the following national cloud deployments. + Get the list of hostPair resources associated with a specified host, where that host is the *child* and has an incoming pairing with a *parent*. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HostPairCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-host-list-parenthostpairs?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ParentHostPairsRequestBuilder def to_get_request_information(self,request_configuration: Optional[ParentHostPairsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of hostPair resources associated with a specified host, where that host is the *child* and has an incoming pairing with a *parent*. This API is available in the following national cloud deployments. + Get the list of hostPair resources associated with a specified host, where that host is the *child* and has an incoming pairing with a *parent*. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentHostPa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentHostPairsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ParentHostPairsRequestBuilderGetQueryParameters(): """ - Get the list of hostPair resources associated with a specified host, where that host is the *child* and has an incoming pairing with a *parent*. This API is available in the following national cloud deployments. + Get the list of hostPair resources associated with a specified host, where that host is the *child* and has an incoming pairing with a *parent*. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/passive_dns/item/passive_dns_record_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/passive_dns/item/passive_dns_record_item_request_builder.py index df76e39ccc8..74d63acf05d 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/passive_dns/item/passive_dns_record_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/passive_dns/item/passive_dns_record_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PassiveDnsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PassiveDnsRecordItemRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/passive_dns/passive_dns_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/passive_dns/passive_dns_request_builder.py index 15643b1ac5e..e7e68ddab17 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/passive_dns/passive_dns_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/passive_dns/passive_dns_request_builder.py @@ -44,7 +44,7 @@ def by_passive_dns_record_id(self,passive_dns_record_id: str) -> PassiveDnsRecor async def get(self,request_configuration: Optional[PassiveDnsRequestBuilderGetRequestConfiguration] = None) -> Optional[PassiveDnsRecordCollectionResponse]: """ - Get a list of passiveDnsRecord resources associated with a host. This is a forward DNS lookup which queries the IP address of the specified host using its hostname. This API is available in the following national cloud deployments. + Get a list of passiveDnsRecord resources associated with a host. This is a forward DNS lookup which queries the IP address of the specified host using its hostname. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PassiveDnsRecordCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-host-list-passivedns?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[PassiveDnsRequestBuilderGetRe def to_get_request_information(self,request_configuration: Optional[PassiveDnsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of passiveDnsRecord resources associated with a host. This is a forward DNS lookup which queries the IP address of the specified host using its hostname. This API is available in the following national cloud deployments. + Get a list of passiveDnsRecord resources associated with a host. This is a forward DNS lookup which queries the IP address of the specified host using its hostname. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[PassiveDnsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PassiveDnsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PassiveDnsRequestBuilderGetQueryParameters(): """ - Get a list of passiveDnsRecord resources associated with a host. This is a forward DNS lookup which queries the IP address of the specified host using its hostname. This API is available in the following national cloud deployments. + Get a list of passiveDnsRecord resources associated with a host. This is a forward DNS lookup which queries the IP address of the specified host using its hostname. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/passive_dns_reverse/item/passive_dns_record_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/passive_dns_reverse/item/passive_dns_record_item_request_builder.py index 2221d89780a..1337f8fd795 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/passive_dns_reverse/item/passive_dns_record_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/passive_dns_reverse/item/passive_dns_record_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PassiveDnsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PassiveDnsRecordItemRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/passive_dns_reverse/passive_dns_reverse_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/passive_dns_reverse/passive_dns_reverse_request_builder.py index e6b95cf21bc..9a846e36211 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/passive_dns_reverse/passive_dns_reverse_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/passive_dns_reverse/passive_dns_reverse_request_builder.py @@ -44,7 +44,7 @@ def by_passive_dns_record_id(self,passive_dns_record_id: str) -> PassiveDnsRecor async def get(self,request_configuration: Optional[PassiveDnsReverseRequestBuilderGetRequestConfiguration] = None) -> Optional[PassiveDnsRecordCollectionResponse]: """ - Get a collection of passiveDnsRecord resources from a reverse passive DNS retrieval. A reverse DNS lookup queries the hostname of a host using an IP address. This API is available in the following national cloud deployments. + Get a collection of passiveDnsRecord resources from a reverse passive DNS retrieval. A reverse DNS lookup queries the hostname of a host using an IP address. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PassiveDnsRecordCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-host-list-passivednsreverse?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[PassiveDnsReverseRequestBuild def to_get_request_information(self,request_configuration: Optional[PassiveDnsReverseRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a collection of passiveDnsRecord resources from a reverse passive DNS retrieval. A reverse DNS lookup queries the hostname of a host using an IP address. This API is available in the following national cloud deployments. + Get a collection of passiveDnsRecord resources from a reverse passive DNS retrieval. A reverse DNS lookup queries the hostname of a host using an IP address. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[PassiveDnsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PassiveDnsReverseRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PassiveDnsReverseRequestBuilderGetQueryParameters(): """ - Get a collection of passiveDnsRecord resources from a reverse passive DNS retrieval. A reverse DNS lookup queries the hostname of a host using an IP address. This API is available in the following national cloud deployments. + Get a collection of passiveDnsRecord resources from a reverse passive DNS retrieval. A reverse DNS lookup queries the hostname of a host using an IP address. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/ports/item/host_port_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/ports/item/host_port_item_request_builder.py index ada4554ff44..77e3e62f3aa 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/ports/item/host_port_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/ports/item/host_port_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[HostPortItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> HostPortItemRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/ports/ports_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/ports/ports_request_builder.py index 636f8ccb95a..93e83a37679 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/ports/ports_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/ports/ports_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[PortsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PortsRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/reputation/reputation_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/reputation/reputation_request_builder.py index da77c567d60..11b36c5ee12 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/reputation/reputation_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/reputation/reputation_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ReputationRequestBuilderDe async def get(self,request_configuration: Optional[ReputationRequestBuilderGetRequestConfiguration] = None) -> Optional[HostReputation]: """ - Get the properties and relationships of a hostReputation object. This API is available in the following national cloud deployments. + Get the properties and relationships of a hostReputation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HostReputation] Find more info here: https://learn.microsoft.com/graph/api/security-host-get-reputation?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Reputatio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ReputationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a hostReputation object. This API is available in the following national cloud deployments. + Get the properties and relationships of a hostReputation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ReputationRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[HostReputation] = None, request_configuration: Optional[ReputationRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[HostReputation] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ReputationRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguratio @dataclass class ReputationRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a hostReputation object. This API is available in the following national cloud deployments. + Get the properties and relationships of a hostReputation object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/ssl_certificates/item/host_ssl_certificate_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/ssl_certificates/item/host_ssl_certificate_item_request_builder.py index 3121b26957a..850669b1e90 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/ssl_certificates/item/host_ssl_certificate_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/ssl_certificates/item/host_ssl_certificate_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[HostSslCerti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> HostSslCertificateItemRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/ssl_certificates/ssl_certificates_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/ssl_certificates/ssl_certificates_request_builder.py index efef4f72a79..f10d0319ebf 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/ssl_certificates/ssl_certificates_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/ssl_certificates/ssl_certificates_request_builder.py @@ -44,7 +44,7 @@ def by_host_ssl_certificate_id(self,host_ssl_certificate_id: str) -> HostSslCert async def get(self,request_configuration: Optional[SslCertificatesRequestBuilderGetRequestConfiguration] = None) -> Optional[HostSslCertificateCollectionResponse]: """ - Get a list of hostSslCertificate objects from the host navigation property. This API is available in the following national cloud deployments. + Get a list of hostSslCertificate objects from the host navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HostSslCertificateCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-host-list-sslcertificates?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[SslCertificatesRequestBuilder def to_get_request_information(self,request_configuration: Optional[SslCertificatesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of hostSslCertificate objects from the host navigation property. This API is available in the following national cloud deployments. + Get a list of hostSslCertificate objects from the host navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[SslCertifica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SslCertificatesRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SslCertificatesRequestBuilderGetQueryParameters(): """ - Get a list of hostSslCertificate objects from the host navigation property. This API is available in the following national cloud deployments. + Get a list of hostSslCertificate objects from the host navigation property. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/subdomains/item/subdomain_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/subdomains/item/subdomain_item_request_builder.py index bb9b7f0fb4d..e547c7ed045 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/subdomains/item/subdomain_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/subdomains/item/subdomain_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SubdomainIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SubdomainItemRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/subdomains/subdomains_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/subdomains/subdomains_request_builder.py index 0719a1f2eec..d88edf5caa2 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/subdomains/subdomains_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/subdomains/subdomains_request_builder.py @@ -44,7 +44,7 @@ def by_subdomain_id(self,subdomain_id: str) -> SubdomainItemRequestBuilder: async def get(self,request_configuration: Optional[SubdomainsRequestBuilderGetRequestConfiguration] = None) -> Optional[SubdomainCollectionResponse]: """ - Get the list of subdomain resources associated with a host. This API is available in the following national cloud deployments. + Get the list of subdomain resources associated with a host. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SubdomainCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-host-list-subdomains?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[SubdomainsRequestBuilderGetRe def to_get_request_information(self,request_configuration: Optional[SubdomainsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of subdomain resources associated with a host. This API is available in the following national cloud deployments. + Get the list of subdomain resources associated with a host. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[SubdomainsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SubdomainsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SubdomainsRequestBuilderGetQueryParameters(): """ - Get the list of subdomain resources associated with a host. This API is available in the following national cloud deployments. + Get the list of subdomain resources associated with a host. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/trackers/item/host_tracker_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/trackers/item/host_tracker_item_request_builder.py index 69ac55ff55e..6575a656c87 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/trackers/item/host_tracker_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/trackers/item/host_tracker_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[HostTrackerI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> HostTrackerItemRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/trackers/trackers_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/trackers/trackers_request_builder.py index df2c7ab239f..09a32a70a88 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/trackers/trackers_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/trackers/trackers_request_builder.py @@ -44,7 +44,7 @@ def by_host_tracker_id(self,host_tracker_id: str) -> HostTrackerItemRequestBuild async def get(self,request_configuration: Optional[TrackersRequestBuilderGetRequestConfiguration] = None) -> Optional[HostTrackerCollectionResponse]: """ - Get a list of hostTracker resources. This API is available in the following national cloud deployments. + Get a list of hostTracker resources. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HostTrackerCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-host-list-trackers?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[TrackersRequestBuilderGetRequ def to_get_request_information(self,request_configuration: Optional[TrackersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of hostTracker resources. This API is available in the following national cloud deployments. + Get a list of hostTracker resources. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[TrackersRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TrackersRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TrackersRequestBuilderGetQueryParameters(): """ - Get a list of hostTracker resources. This API is available in the following national cloud deployments. + Get a list of hostTracker resources. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/hosts/item/whois/whois_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/hosts/item/whois/whois_request_builder.py index 39e90577c35..ed59ef2a172 100644 --- a/msgraph_beta/generated/security/threat_intelligence/hosts/item/whois/whois_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/hosts/item/whois/whois_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[WhoisRequestBuilderGetRequestConfiguration] = None) -> Optional[WhoisRecord]: """ - Get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. This API is available in the following national cloud deployments. + Get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WhoisRecord] Find more info here: https://learn.microsoft.com/graph/api/security-whoisrecord-get?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[WhoisRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[WhoisRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. This API is available in the following national cloud deployments. + Get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[WhoisRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> WhoisRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> WhoisRequestBuilder: @dataclass class WhoisRequestBuilderGetQueryParameters(): """ - Get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. This API is available in the following national cloud deployments. + Get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/intel_profiles/intel_profiles_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/intel_profiles/intel_profiles_request_builder.py index c27118413c1..53974eb0a11 100644 --- a/msgraph_beta/generated/security/threat_intelligence/intel_profiles/intel_profiles_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/intel_profiles/intel_profiles_request_builder.py @@ -45,7 +45,7 @@ def by_intelligence_profile_id(self,intelligence_profile_id: str) -> Intelligenc async def get(self,request_configuration: Optional[IntelProfilesRequestBuilderGetRequestConfiguration] = None) -> Optional[IntelligenceProfileCollectionResponse]: """ - Get a list of the intelligenceProfile objects and their properties. This API is available in the following national cloud deployments. + Get a list of the intelligenceProfile objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IntelligenceProfileCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-threatintelligence-list-intelprofiles?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[IntelligenceProfile] = None, request_configur def to_get_request_information(self,request_configuration: Optional[IntelProfilesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the intelligenceProfile objects and their properties. This API is available in the following national cloud deployments. + Get a list of the intelligenceProfile objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[IntelProfile request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[IntelligenceProfile] = None, request_configuration: Optional[IntelProfilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[IntelligenceProfile] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class IntelProfilesRequestBuilderGetQueryParameters(): """ - Get a list of the intelligenceProfile objects and their properties. This API is available in the following national cloud deployments. + Get a list of the intelligenceProfile objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/intel_profiles/item/indicators/indicators_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/intel_profiles/item/indicators/indicators_request_builder.py index 311c8c3a95a..7ba935128ef 100644 --- a/msgraph_beta/generated/security/threat_intelligence/intel_profiles/item/indicators/indicators_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/intel_profiles/item/indicators/indicators_request_builder.py @@ -44,7 +44,7 @@ def by_intelligence_profile_indicator_id(self,intelligence_profile_indicator_id: async def get(self,request_configuration: Optional[IndicatorsRequestBuilderGetRequestConfiguration] = None) -> Optional[IntelligenceProfileIndicatorCollectionResponse]: """ - Get the intelligenceProfileIndicator resources from the indicators navigation property of an intelligenceProfile. This API is available in the following national cloud deployments. + Get the intelligenceProfileIndicator resources from the indicators navigation property of an intelligenceProfile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IntelligenceProfileIndicatorCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-intelligenceprofile-list-indicators?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[IndicatorsRequestBuilderGetRe def to_get_request_information(self,request_configuration: Optional[IndicatorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the intelligenceProfileIndicator resources from the indicators navigation property of an intelligenceProfile. This API is available in the following national cloud deployments. + Get the intelligenceProfileIndicator resources from the indicators navigation property of an intelligenceProfile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[IndicatorsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IndicatorsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class IndicatorsRequestBuilderGetQueryParameters(): """ - Get the intelligenceProfileIndicator resources from the indicators navigation property of an intelligenceProfile. This API is available in the following national cloud deployments. + Get the intelligenceProfileIndicator resources from the indicators navigation property of an intelligenceProfile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/intel_profiles/item/indicators/item/intelligence_profile_indicator_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/intel_profiles/item/indicators/item/intelligence_profile_indicator_item_request_builder.py index 813b5dbd5c0..81cf2de67cb 100644 --- a/msgraph_beta/generated/security/threat_intelligence/intel_profiles/item/indicators/item/intelligence_profile_indicator_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/intel_profiles/item/indicators/item/intelligence_profile_indicator_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[Intelligence request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IntelligenceProfileIndicatorItemRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/intel_profiles/item/intelligence_profile_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/intel_profiles/item/intelligence_profile_item_request_builder.py index 9ff6d01dc96..0675c3586cf 100644 --- a/msgraph_beta/generated/security/threat_intelligence/intel_profiles/item/intelligence_profile_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/intel_profiles/item/intelligence_profile_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[IntelligenceProfileItemReq async def get(self,request_configuration: Optional[IntelligenceProfileItemRequestBuilderGetRequestConfiguration] = None) -> Optional[IntelligenceProfile]: """ - Read the properties and relationships of a intelligenceProfile object. This API is available in the following national cloud deployments. + Read the properties and relationships of a intelligenceProfile object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IntelligenceProfile] Find more info here: https://learn.microsoft.com/graph/api/security-intelligenceprofile-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Intellige request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[IntelligenceProfileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a intelligenceProfile object. This API is available in the following national cloud deployments. + Read the properties and relationships of a intelligenceProfile object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[Intelligence request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[IntelligenceProfile] = None, request_configuration: Optional[IntelligenceProfileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[IntelligenceProfile] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class IntelligenceProfileItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class IntelligenceProfileItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a intelligenceProfile object. This API is available in the following national cloud deployments. + Read the properties and relationships of a intelligenceProfile object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/intelligence_profile_indicators/intelligence_profile_indicators_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/intelligence_profile_indicators/intelligence_profile_indicators_request_builder.py index 14423694dc9..2a8ff96cd16 100644 --- a/msgraph_beta/generated/security/threat_intelligence/intelligence_profile_indicators/intelligence_profile_indicators_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/intelligence_profile_indicators/intelligence_profile_indicators_request_builder.py @@ -45,7 +45,7 @@ def by_intelligence_profile_indicator_id(self,intelligence_profile_indicator_id: async def get(self,request_configuration: Optional[IntelligenceProfileIndicatorsRequestBuilderGetRequestConfiguration] = None) -> Optional[IntelligenceProfileIndicatorCollectionResponse]: """ - Read the properties and relationships of a intelligenceProfileIndicator object. This API is available in the following national cloud deployments. + Read the properties and relationships of a intelligenceProfileIndicator object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IntelligenceProfileIndicatorCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[IntelligenceProfileIndicator] = None, request def to_get_request_information(self,request_configuration: Optional[IntelligenceProfileIndicatorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a intelligenceProfileIndicator object. This API is available in the following national cloud deployments. + Read the properties and relationships of a intelligenceProfileIndicator object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Intelligence request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[IntelligenceProfileIndicator] = None, request_configuration: Optional[IntelligenceProfileIndicatorsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[IntelligenceProfileIndicator request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class IntelligenceProfileIndicatorsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a intelligenceProfileIndicator object. This API is available in the following national cloud deployments. + Read the properties and relationships of a intelligenceProfileIndicator object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/intelligence_profile_indicators/item/artifact/artifact_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/intelligence_profile_indicators/item/artifact/artifact_request_builder.py index 966db755d21..f5f1598de53 100644 --- a/msgraph_beta/generated/security/threat_intelligence/intelligence_profile_indicators/item/artifact/artifact_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/intelligence_profile_indicators/item/artifact/artifact_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ArtifactRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ArtifactRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/intelligence_profile_indicators/item/intelligence_profile_indicator_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/intelligence_profile_indicators/item/intelligence_profile_indicator_item_request_builder.py index 1412d90bf3d..dcf929d6223 100644 --- a/msgraph_beta/generated/security/threat_intelligence/intelligence_profile_indicators/item/intelligence_profile_indicator_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/intelligence_profile_indicators/item/intelligence_profile_indicator_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[IntelligenceProfileIndicat async def get(self,request_configuration: Optional[IntelligenceProfileIndicatorItemRequestBuilderGetRequestConfiguration] = None) -> Optional[IntelligenceProfileIndicator]: """ - Read the properties and relationships of a intelligenceProfileIndicator object. This API is available in the following national cloud deployments. + Read the properties and relationships of a intelligenceProfileIndicator object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IntelligenceProfileIndicator] Find more info here: https://learn.microsoft.com/graph/api/security-intelligenceprofileindicator-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Intellige request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[IntelligenceProfileIndicatorItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a intelligenceProfileIndicator object. This API is available in the following national cloud deployments. + Read the properties and relationships of a intelligenceProfileIndicator object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[Intelligence request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[IntelligenceProfileIndicator] = None, request_configuration: Optional[IntelligenceProfileIndicatorItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[IntelligenceProfileIndicato request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class IntelligenceProfileIndicatorItemRequestBuilderDeleteRequestConfiguration(B @dataclass class IntelligenceProfileIndicatorItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a intelligenceProfileIndicator object. This API is available in the following national cloud deployments. + Read the properties and relationships of a intelligenceProfileIndicator object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/passive_dns_records/item/artifact/artifact_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/passive_dns_records/item/artifact/artifact_request_builder.py index d88672baa9c..8e50d7e9376 100644 --- a/msgraph_beta/generated/security/threat_intelligence/passive_dns_records/item/artifact/artifact_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/passive_dns_records/item/artifact/artifact_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ArtifactRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ArtifactRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/passive_dns_records/item/parent_host/parent_host_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/passive_dns_records/item/parent_host/parent_host_request_builder.py index d6830f0c051..0c41234c301 100644 --- a/msgraph_beta/generated/security/threat_intelligence/passive_dns_records/item/parent_host/parent_host_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/passive_dns_records/item/parent_host/parent_host_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentHostRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentHostRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/passive_dns_records/item/passive_dns_record_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/passive_dns_records/item/passive_dns_record_item_request_builder.py index 5c9b23d4d64..dd037ee9a3a 100644 --- a/msgraph_beta/generated/security/threat_intelligence/passive_dns_records/item/passive_dns_record_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/passive_dns_records/item/passive_dns_record_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[PassiveDnsRecordItemReques async def get(self,request_configuration: Optional[PassiveDnsRecordItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PassiveDnsRecord]: """ - Read the properties and relationships of a passiveDnsRecord object. This API is available in the following national cloud deployments. + Read the properties and relationships of a passiveDnsRecord object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PassiveDnsRecord] Find more info here: https://learn.microsoft.com/graph/api/security-passivednsrecord-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[PassiveDn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PassiveDnsRecordItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a passiveDnsRecord object. This API is available in the following national cloud deployments. + Read the properties and relationships of a passiveDnsRecord object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[PassiveDnsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PassiveDnsRecord] = None, request_configuration: Optional[PassiveDnsRecordItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[PassiveDnsRecord] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class PassiveDnsRecordItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class PassiveDnsRecordItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a passiveDnsRecord object. This API is available in the following national cloud deployments. + Read the properties and relationships of a passiveDnsRecord object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/passive_dns_records/passive_dns_records_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/passive_dns_records/passive_dns_records_request_builder.py index 3b1faf206b4..7362bb582a0 100644 --- a/msgraph_beta/generated/security/threat_intelligence/passive_dns_records/passive_dns_records_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/passive_dns_records/passive_dns_records_request_builder.py @@ -45,7 +45,7 @@ def by_passive_dns_record_id(self,passive_dns_record_id: str) -> PassiveDnsRecor async def get(self,request_configuration: Optional[PassiveDnsRecordsRequestBuilderGetRequestConfiguration] = None) -> Optional[PassiveDnsRecordCollectionResponse]: """ - Read the properties and relationships of a passiveDnsRecord object. This API is available in the following national cloud deployments. + Read the properties and relationships of a passiveDnsRecord object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PassiveDnsRecordCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[PassiveDnsRecord] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[PassiveDnsRecordsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a passiveDnsRecord object. This API is available in the following national cloud deployments. + Read the properties and relationships of a passiveDnsRecord object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PassiveDnsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PassiveDnsRecord] = None, request_configuration: Optional[PassiveDnsRecordsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[PassiveDnsRecord] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PassiveDnsRecordsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a passiveDnsRecord object. This API is available in the following national cloud deployments. + Read the properties and relationships of a passiveDnsRecord object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/ssl_certificates/item/related_hosts/item/host_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/ssl_certificates/item/related_hosts/item/host_item_request_builder.py index 41a1e8286ca..088aa18b14f 100644 --- a/msgraph_beta/generated/security/threat_intelligence/ssl_certificates/item/related_hosts/item/host_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/ssl_certificates/item/related_hosts/item/host_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[HostItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> HostItemRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/ssl_certificates/item/related_hosts/related_hosts_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/ssl_certificates/item/related_hosts/related_hosts_request_builder.py index e34e846f452..768a10cf46d 100644 --- a/msgraph_beta/generated/security/threat_intelligence/ssl_certificates/item/related_hosts/related_hosts_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/ssl_certificates/item/related_hosts/related_hosts_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[RelatedHosts request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RelatedHostsRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/ssl_certificates/item/ssl_certificate_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/ssl_certificates/item/ssl_certificate_item_request_builder.py index d9edc150ed6..e11b20639a9 100644 --- a/msgraph_beta/generated/security/threat_intelligence/ssl_certificates/item/ssl_certificate_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/ssl_certificates/item/ssl_certificate_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[SslCertificateItemRequestB async def get(self,request_configuration: Optional[SslCertificateItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SslCertificate]: """ - Get the properties and relationships of an sslCertificate object. This API is available in the following national cloud deployments. + Get the properties and relationships of an sslCertificate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SslCertificate] Find more info here: https://learn.microsoft.com/graph/api/security-sslcertificate-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[SslCertif request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SslCertificateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of an sslCertificate object. This API is available in the following national cloud deployments. + Get the properties and relationships of an sslCertificate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[SslCertifica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SslCertificate] = None, request_configuration: Optional[SslCertificateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[SslCertificate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class SslCertificateItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class SslCertificateItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of an sslCertificate object. This API is available in the following national cloud deployments. + Get the properties and relationships of an sslCertificate object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/ssl_certificates/ssl_certificates_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/ssl_certificates/ssl_certificates_request_builder.py index 62b86bcd856..2e596ed8ac6 100644 --- a/msgraph_beta/generated/security/threat_intelligence/ssl_certificates/ssl_certificates_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/ssl_certificates/ssl_certificates_request_builder.py @@ -45,7 +45,7 @@ def by_ssl_certificate_id(self,ssl_certificate_id: str) -> SslCertificateItemReq async def get(self,request_configuration: Optional[SslCertificatesRequestBuilderGetRequestConfiguration] = None) -> Optional[SslCertificateCollectionResponse]: """ - Get a list of sslCertificate objects and their properties. This API is available in the following national cloud deployments. + Get a list of sslCertificate objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SslCertificateCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-threatintelligence-list-sslcertificates?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[SslCertificate] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[SslCertificatesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of sslCertificate objects and their properties. This API is available in the following national cloud deployments. + Get a list of sslCertificate objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SslCertifica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SslCertificate] = None, request_configuration: Optional[SslCertificatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SslCertificate] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SslCertificatesRequestBuilderGetQueryParameters(): """ - Get a list of sslCertificate objects and their properties. This API is available in the following national cloud deployments. + Get a list of sslCertificate objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/subdomains/item/host/host_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/subdomains/item/host/host_request_builder.py index 2d677536ed5..49148ed03a0 100644 --- a/msgraph_beta/generated/security/threat_intelligence/subdomains/item/host/host_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/subdomains/item/host/host_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[HostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> HostRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/subdomains/item/subdomain_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/subdomains/item/subdomain_item_request_builder.py index 7c3c1e7c591..516a7684d56 100644 --- a/msgraph_beta/generated/security/threat_intelligence/subdomains/item/subdomain_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/subdomains/item/subdomain_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[SubdomainItemRequestBuilde async def get(self,request_configuration: Optional[SubdomainItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Subdomain]: """ - Read the properties and relationships of a subdomain object. This API is available in the following national cloud deployments. + Read the properties and relationships of a subdomain object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Subdomain] Find more info here: https://learn.microsoft.com/graph/api/security-subdomain-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Subdomain request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SubdomainItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a subdomain object. This API is available in the following national cloud deployments. + Read the properties and relationships of a subdomain object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[SubdomainIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Subdomain] = None, request_configuration: Optional[SubdomainItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Subdomain] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class SubdomainItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class SubdomainItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a subdomain object. This API is available in the following national cloud deployments. + Read the properties and relationships of a subdomain object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/subdomains/subdomains_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/subdomains/subdomains_request_builder.py index 761062ffc7c..39dc208a326 100644 --- a/msgraph_beta/generated/security/threat_intelligence/subdomains/subdomains_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/subdomains/subdomains_request_builder.py @@ -45,7 +45,7 @@ def by_subdomain_id(self,subdomain_id: str) -> SubdomainItemRequestBuilder: async def get(self,request_configuration: Optional[SubdomainsRequestBuilderGetRequestConfiguration] = None) -> Optional[SubdomainCollectionResponse]: """ - Read the properties and relationships of a subdomain object. This API is available in the following national cloud deployments. + Read the properties and relationships of a subdomain object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SubdomainCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[Subdomain] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[SubdomainsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a subdomain object. This API is available in the following national cloud deployments. + Read the properties and relationships of a subdomain object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SubdomainsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Subdomain] = None, request_configuration: Optional[SubdomainsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Subdomain] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SubdomainsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a subdomain object. This API is available in the following national cloud deployments. + Read the properties and relationships of a subdomain object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/threat_intelligence_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/threat_intelligence_request_builder.py index 02212425d96..a2d8652b7f4 100644 --- a/msgraph_beta/generated/security/threat_intelligence/threat_intelligence_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/threat_intelligence_request_builder.py @@ -120,7 +120,7 @@ def to_delete_request_information(self,request_configuration: Optional[ThreatInt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ThreatIntelligenceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -137,7 +137,7 @@ def to_get_request_information(self,request_configuration: Optional[ThreatIntell request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ThreatIntelligence] = None, request_configuration: Optional[ThreatIntelligenceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -156,7 +156,7 @@ def to_patch_request_information(self,body: Optional[ThreatIntelligence] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/item/articles/articles_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/item/articles/articles_request_builder.py index 7b38470c4d0..739a85749c7 100644 --- a/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/item/articles/articles_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/item/articles/articles_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[ArticlesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ArticlesRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/item/articles/item/article_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/item/articles/item/article_item_request_builder.py index a25ef4443a8..66c5c423071 100644 --- a/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/item/articles/item/article_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/item/articles/item/article_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ArticleItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ArticleItemRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/item/components/components_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/item/components/components_request_builder.py index ecea2d439a6..adc0929886d 100644 --- a/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/item/components/components_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/item/components/components_request_builder.py @@ -45,7 +45,7 @@ def by_vulnerability_component_id(self,vulnerability_component_id: str) -> Vulne async def get(self,request_configuration: Optional[ComponentsRequestBuilderGetRequestConfiguration] = None) -> Optional[VulnerabilityComponentCollectionResponse]: """ - Get a list of vulnerabilityComponent objects related to a known vulnerability. This API is available in the following national cloud deployments. + Get a list of vulnerabilityComponent objects related to a known vulnerability. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VulnerabilityComponentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-vulnerability-list-components?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[VulnerabilityComponent] = None, request_confi def to_get_request_information(self,request_configuration: Optional[ComponentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of vulnerabilityComponent objects related to a known vulnerability. This API is available in the following national cloud deployments. + Get a list of vulnerabilityComponent objects related to a known vulnerability. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ComponentsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[VulnerabilityComponent] = None, request_configuration: Optional[ComponentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[VulnerabilityComponent] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ComponentsRequestBuilderGetQueryParameters(): """ - Get a list of vulnerabilityComponent objects related to a known vulnerability. This API is available in the following national cloud deployments. + Get a list of vulnerabilityComponent objects related to a known vulnerability. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/item/components/item/vulnerability_component_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/item/components/item/vulnerability_component_item_request_builder.py index 02f898a2c56..f858736c531 100644 --- a/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/item/components/item/vulnerability_component_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/item/components/item/vulnerability_component_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[VulnerabilityComponentItem async def get(self,request_configuration: Optional[VulnerabilityComponentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[VulnerabilityComponent]: """ - Read the properties and relationships of a vulnerabilityComponent object. This API is available in the following national cloud deployments. + Read the properties and relationships of a vulnerabilityComponent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VulnerabilityComponent] Find more info here: https://learn.microsoft.com/graph/api/security-vulnerabilitycomponent-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Vulnerabi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[VulnerabilityComponentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a vulnerabilityComponent object. This API is available in the following national cloud deployments. + Read the properties and relationships of a vulnerabilityComponent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[Vulnerabilit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[VulnerabilityComponent] = None, request_configuration: Optional[VulnerabilityComponentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[VulnerabilityComponent] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class VulnerabilityComponentItemRequestBuilderDeleteRequestConfiguration(BaseReq @dataclass class VulnerabilityComponentItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a vulnerabilityComponent object. This API is available in the following national cloud deployments. + Read the properties and relationships of a vulnerabilityComponent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/item/vulnerability_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/item/vulnerability_item_request_builder.py index 5cba5cbd07b..9a66feb9ec0 100644 --- a/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/item/vulnerability_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/item/vulnerability_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[VulnerabilityItemRequestBu async def get(self,request_configuration: Optional[VulnerabilityItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Vulnerability]: """ - Read the properties and relationships of a vulnerability object. This API is available in the following national cloud deployments. + Read the properties and relationships of a vulnerability object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Vulnerability] Find more info here: https://learn.microsoft.com/graph/api/security-vulnerability-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Vulnerabi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[VulnerabilityItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a vulnerability object. This API is available in the following national cloud deployments. + Read the properties and relationships of a vulnerability object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[Vulnerabilit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Vulnerability] = None, request_configuration: Optional[VulnerabilityItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Vulnerability] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class VulnerabilityItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class VulnerabilityItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a vulnerability object. This API is available in the following national cloud deployments. + Read the properties and relationships of a vulnerability object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/vulnerabilities_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/vulnerabilities_request_builder.py index 912831f4a17..1ffeb8d1345 100644 --- a/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/vulnerabilities_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/vulnerabilities/vulnerabilities_request_builder.py @@ -45,7 +45,7 @@ def by_vulnerability_id(self,vulnerability_id: str) -> VulnerabilityItemRequestB async def get(self,request_configuration: Optional[VulnerabilitiesRequestBuilderGetRequestConfiguration] = None) -> Optional[VulnerabilityCollectionResponse]: """ - Read the properties and relationships of a vulnerability object. This API is available in the following national cloud deployments. + Read the properties and relationships of a vulnerability object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VulnerabilityCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[Vulnerability] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[VulnerabilitiesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a vulnerability object. This API is available in the following national cloud deployments. + Read the properties and relationships of a vulnerability object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Vulnerabilit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Vulnerability] = None, request_configuration: Optional[VulnerabilitiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Vulnerability] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class VulnerabilitiesRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a vulnerability object. This API is available in the following national cloud deployments. + Read the properties and relationships of a vulnerability object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/whois_history_records/item/host/host_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/whois_history_records/item/host/host_request_builder.py index 6d3ca1c2079..05a7e9e130d 100644 --- a/msgraph_beta/generated/security/threat_intelligence/whois_history_records/item/host/host_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/whois_history_records/item/host/host_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[HostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> HostRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/whois_history_records/item/whois_history_record_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/whois_history_records/item/whois_history_record_item_request_builder.py index e38f6744d46..e9bd331fe4d 100644 --- a/msgraph_beta/generated/security/threat_intelligence/whois_history_records/item/whois_history_record_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/whois_history_records/item/whois_history_record_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[WhoisHist request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WhoisHistoryRecordItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[WhoisHistory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WhoisHistoryRecord] = None, request_configuration: Optional[WhoisHistoryRecordItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WhoisHistoryRecord] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/threat_intelligence/whois_history_records/whois_history_records_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/whois_history_records/whois_history_records_request_builder.py index d30f23c9817..550ca7314ee 100644 --- a/msgraph_beta/generated/security/threat_intelligence/whois_history_records/whois_history_records_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/whois_history_records/whois_history_records_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[WhoisHistory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WhoisHistoryRecord] = None, request_configuration: Optional[WhoisHistoryRecordsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WhoisHistoryRecord] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/threat_intelligence/whois_records/item/history/history_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/whois_records/item/history/history_request_builder.py index 3bb12e9aa17..9efcb17e7d9 100644 --- a/msgraph_beta/generated/security/threat_intelligence/whois_records/item/history/history_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/whois_records/item/history/history_request_builder.py @@ -44,7 +44,7 @@ def by_whois_history_record_id(self,whois_history_record_id: str) -> WhoisHistor async def get(self,request_configuration: Optional[HistoryRequestBuilderGetRequestConfiguration] = None) -> Optional[WhoisHistoryRecordCollectionResponse]: """ - Get the history for a whoisRecord, as represented by a collection of whoisHistoryRecord resources. This API is available in the following national cloud deployments. + Get the history for a whoisRecord, as represented by a collection of whoisHistoryRecord resources. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WhoisHistoryRecordCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-whoisrecord-list-history?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[HistoryRequestBuilderGetReque def to_get_request_information(self,request_configuration: Optional[HistoryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the history for a whoisRecord, as represented by a collection of whoisHistoryRecord resources. This API is available in the following national cloud deployments. + Get the history for a whoisRecord, as represented by a collection of whoisHistoryRecord resources. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[HistoryReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> HistoryRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HistoryRequestBuilderGetQueryParameters(): """ - Get the history for a whoisRecord, as represented by a collection of whoisHistoryRecord resources. This API is available in the following national cloud deployments. + Get the history for a whoisRecord, as represented by a collection of whoisHistoryRecord resources. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/whois_records/item/history/item/whois_history_record_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/whois_records/item/history/item/whois_history_record_item_request_builder.py index f666c9fb364..77ea3268e36 100644 --- a/msgraph_beta/generated/security/threat_intelligence/whois_records/item/history/item/whois_history_record_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/whois_records/item/history/item/whois_history_record_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[WhoisHistory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> WhoisHistoryRecordItemRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/whois_records/item/host/host_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/whois_records/item/host/host_request_builder.py index 66144c94949..c059ba9dbc2 100644 --- a/msgraph_beta/generated/security/threat_intelligence/whois_records/item/host/host_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/whois_records/item/host/host_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[HostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> HostRequestBuilder: diff --git a/msgraph_beta/generated/security/threat_intelligence/whois_records/item/whois_record_item_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/whois_records/item/whois_record_item_request_builder.py index d1f7e353e0f..84c1bce0f55 100644 --- a/msgraph_beta/generated/security/threat_intelligence/whois_records/item/whois_record_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/whois_records/item/whois_record_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[WhoisRecordItemRequestBuil async def get(self,request_configuration: Optional[WhoisRecordItemRequestBuilderGetRequestConfiguration] = None) -> Optional[WhoisRecord]: """ - Get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. This API is available in the following national cloud deployments. + Get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WhoisRecord] Find more info here: https://learn.microsoft.com/graph/api/security-whoisrecord-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[WhoisReco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WhoisRecordItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. This API is available in the following national cloud deployments. + Get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[WhoisRecordI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WhoisRecord] = None, request_configuration: Optional[WhoisRecordItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[WhoisRecord] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class WhoisRecordItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class WhoisRecordItemRequestBuilderGetQueryParameters(): """ - Get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. This API is available in the following national cloud deployments. + Get the specified whoisRecord resource. Specify the desired whoisRecord in one of the following two ways:- Identify a host and get its current whoisRecord. - Specify an id value to get the corresponding whoisRecord. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_intelligence/whois_records/whois_records_request_builder.py b/msgraph_beta/generated/security/threat_intelligence/whois_records/whois_records_request_builder.py index 1dfb65fb81e..a3d3aa7f2c0 100644 --- a/msgraph_beta/generated/security/threat_intelligence/whois_records/whois_records_request_builder.py +++ b/msgraph_beta/generated/security/threat_intelligence/whois_records/whois_records_request_builder.py @@ -45,7 +45,7 @@ def by_whois_record_id(self,whois_record_id: str) -> WhoisRecordItemRequestBuild async def get(self,request_configuration: Optional[WhoisRecordsRequestBuilderGetRequestConfiguration] = None) -> Optional[WhoisRecordCollectionResponse]: """ - Get a list of whoisRecord objects. This API is available in the following national cloud deployments. + Get a list of whoisRecord objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WhoisRecordCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-threatintelligence-list-whoisrecords?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[WhoisRecord] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[WhoisRecordsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of whoisRecord objects. This API is available in the following national cloud deployments. + Get a list of whoisRecord objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[WhoisRecords request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WhoisRecord] = None, request_configuration: Optional[WhoisRecordsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[WhoisRecord] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class WhoisRecordsRequestBuilderGetQueryParameters(): """ - Get a list of whoisRecord objects. This API is available in the following national cloud deployments. + Get a list of whoisRecord objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_submission/email_threat_submission_policies/email_threat_submission_policies_request_builder.py b/msgraph_beta/generated/security/threat_submission/email_threat_submission_policies/email_threat_submission_policies_request_builder.py index 894d6ce705c..7890470a350 100644 --- a/msgraph_beta/generated/security/threat_submission/email_threat_submission_policies/email_threat_submission_policies_request_builder.py +++ b/msgraph_beta/generated/security/threat_submission/email_threat_submission_policies/email_threat_submission_policies_request_builder.py @@ -45,7 +45,7 @@ def by_email_threat_submission_policy_id(self,email_threat_submission_policy_id: async def get(self,request_configuration: Optional[EmailThreatSubmissionPoliciesRequestBuilderGetRequestConfiguration] = None) -> Optional[EmailThreatSubmissionPolicyCollectionResponse]: """ - Get a list of the emailThreatSubmissionPolicy objects and their properties. This API is available in the following national cloud deployments. + Get a list of the emailThreatSubmissionPolicy objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EmailThreatSubmissionPolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-emailthreatsubmissionpolicy-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[EmailThreatSubmissionPolicy] = None, request_ def to_get_request_information(self,request_configuration: Optional[EmailThreatSubmissionPoliciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the emailThreatSubmissionPolicy objects and their properties. This API is available in the following national cloud deployments. + Get a list of the emailThreatSubmissionPolicy objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[EmailThreatS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EmailThreatSubmissionPolicy] = None, request_configuration: Optional[EmailThreatSubmissionPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[EmailThreatSubmissionPolicy] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class EmailThreatSubmissionPoliciesRequestBuilderGetQueryParameters(): """ - Get a list of the emailThreatSubmissionPolicy objects and their properties. This API is available in the following national cloud deployments. + Get a list of the emailThreatSubmissionPolicy objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_submission/email_threat_submission_policies/item/email_threat_submission_policy_item_request_builder.py b/msgraph_beta/generated/security/threat_submission/email_threat_submission_policies/item/email_threat_submission_policy_item_request_builder.py index be163c710a7..9611f71a175 100644 --- a/msgraph_beta/generated/security/threat_submission/email_threat_submission_policies/item/email_threat_submission_policy_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_submission/email_threat_submission_policies/item/email_threat_submission_policy_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[EmailThreatSubmissionPolic async def get(self,request_configuration: Optional[EmailThreatSubmissionPolicyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EmailThreatSubmissionPolicy]: """ - Read the properties and relationships of an emailThreatSubmissionPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of an emailThreatSubmissionPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EmailThreatSubmissionPolicy] Find more info here: https://learn.microsoft.com/graph/api/security-emailthreatsubmissionpolicy-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[EmailThre request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EmailThreatSubmissionPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an emailThreatSubmissionPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of an emailThreatSubmissionPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[EmailThreatS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EmailThreatSubmissionPolicy] = None, request_configuration: Optional[EmailThreatSubmissionPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[EmailThreatSubmissionPolicy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class EmailThreatSubmissionPolicyItemRequestBuilderDeleteRequestConfiguration(Ba @dataclass class EmailThreatSubmissionPolicyItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an emailThreatSubmissionPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of an emailThreatSubmissionPolicy object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_submission/email_threats/email_threats_request_builder.py b/msgraph_beta/generated/security/threat_submission/email_threats/email_threats_request_builder.py index f1d6801a5f5..46fae5e7495 100644 --- a/msgraph_beta/generated/security/threat_submission/email_threats/email_threats_request_builder.py +++ b/msgraph_beta/generated/security/threat_submission/email_threats/email_threats_request_builder.py @@ -45,7 +45,7 @@ def by_email_threat_submission_id(self,email_threat_submission_id: str) -> Email async def get(self,request_configuration: Optional[EmailThreatsRequestBuilderGetRequestConfiguration] = None) -> Optional[EmailThreatSubmissionCollectionResponse]: """ - Get a list of the emailThreatSubmission objects and their properties. This API is available in the following national cloud deployments. + Get a list of the emailThreatSubmission objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EmailThreatSubmissionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-emailthreatsubmission-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[EmailThreatsRequestBuilderGet async def post(self,body: Optional[EmailThreatSubmission] = None, request_configuration: Optional[EmailThreatsRequestBuilderPostRequestConfiguration] = None) -> Optional[EmailThreatSubmission]: """ - Create a new emailThreatSubmission object. This API is available in the following national cloud deployments. + Create a new emailThreatSubmission object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EmailThreatSubmission] @@ -92,7 +92,7 @@ async def post(self,body: Optional[EmailThreatSubmission] = None, request_config def to_get_request_information(self,request_configuration: Optional[EmailThreatsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the emailThreatSubmission objects and their properties. This API is available in the following national cloud deployments. + Get a list of the emailThreatSubmission objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[EmailThreats request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EmailThreatSubmission] = None, request_configuration: Optional[EmailThreatsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new emailThreatSubmission object. This API is available in the following national cloud deployments. + Create a new emailThreatSubmission object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[EmailThreatSubmission] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class EmailThreatsRequestBuilderGetQueryParameters(): """ - Get a list of the emailThreatSubmission objects and their properties. This API is available in the following national cloud deployments. + Get a list of the emailThreatSubmission objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_submission/email_threats/item/email_threat_submission_item_request_builder.py b/msgraph_beta/generated/security/threat_submission/email_threats/item/email_threat_submission_item_request_builder.py index 20eb015042b..0dc61fc7517 100644 --- a/msgraph_beta/generated/security/threat_submission/email_threats/item/email_threat_submission_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_submission/email_threats/item/email_threat_submission_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[EmailThreatSubmissionItemR async def get(self,request_configuration: Optional[EmailThreatSubmissionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EmailThreatSubmission]: """ - Read the properties and relationships of an emailThreatSubmission object. This API is available in the following national cloud deployments. + Read the properties and relationships of an emailThreatSubmission object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EmailThreatSubmission] Find more info here: https://learn.microsoft.com/graph/api/security-emailthreatsubmission-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[EmailThre request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EmailThreatSubmissionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an emailThreatSubmission object. This API is available in the following national cloud deployments. + Read the properties and relationships of an emailThreatSubmission object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[EmailThreatS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EmailThreatSubmission] = None, request_configuration: Optional[EmailThreatSubmissionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[EmailThreatSubmission] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class EmailThreatSubmissionItemRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class EmailThreatSubmissionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an emailThreatSubmission object. This API is available in the following national cloud deployments. + Read the properties and relationships of an emailThreatSubmission object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_submission/file_threats/file_threats_request_builder.py b/msgraph_beta/generated/security/threat_submission/file_threats/file_threats_request_builder.py index 02156df3ad2..2c607bbde02 100644 --- a/msgraph_beta/generated/security/threat_submission/file_threats/file_threats_request_builder.py +++ b/msgraph_beta/generated/security/threat_submission/file_threats/file_threats_request_builder.py @@ -45,7 +45,7 @@ def by_file_threat_submission_id(self,file_threat_submission_id: str) -> FileThr async def get(self,request_configuration: Optional[FileThreatsRequestBuilderGetRequestConfiguration] = None) -> Optional[FileThreatSubmissionCollectionResponse]: """ - Get a list of the fileThreatSubmission objects and their properties. This API is available in the following national cloud deployments. + Get a list of the fileThreatSubmission objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FileThreatSubmissionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-filethreatsubmission-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[FileThreatSubmission] = None, request_configu def to_get_request_information(self,request_configuration: Optional[FileThreatsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the fileThreatSubmission objects and their properties. This API is available in the following national cloud deployments. + Get a list of the fileThreatSubmission objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[FileThreatsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[FileThreatSubmission] = None, request_configuration: Optional[FileThreatsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[FileThreatSubmission] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class FileThreatsRequestBuilderGetQueryParameters(): """ - Get a list of the fileThreatSubmission objects and their properties. This API is available in the following national cloud deployments. + Get a list of the fileThreatSubmission objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_submission/file_threats/item/file_threat_submission_item_request_builder.py b/msgraph_beta/generated/security/threat_submission/file_threats/item/file_threat_submission_item_request_builder.py index 3e947b9707e..aaab82630a6 100644 --- a/msgraph_beta/generated/security/threat_submission/file_threats/item/file_threat_submission_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_submission/file_threats/item/file_threat_submission_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[FileThreatSubmissionItemRe async def get(self,request_configuration: Optional[FileThreatSubmissionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[FileThreatSubmission]: """ - Read the properties and relationships of a fileThreatSubmission object. This API is available in the following national cloud deployments. + Read the properties and relationships of a fileThreatSubmission object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FileThreatSubmission] Find more info here: https://learn.microsoft.com/graph/api/security-filethreatsubmission-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[FileThrea request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FileThreatSubmissionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a fileThreatSubmission object. This API is available in the following national cloud deployments. + Read the properties and relationships of a fileThreatSubmission object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[FileThreatSu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[FileThreatSubmission] = None, request_configuration: Optional[FileThreatSubmissionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[FileThreatSubmission] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class FileThreatSubmissionItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class FileThreatSubmissionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a fileThreatSubmission object. This API is available in the following national cloud deployments. + Read the properties and relationships of a fileThreatSubmission object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_submission/threat_submission_request_builder.py b/msgraph_beta/generated/security/threat_submission/threat_submission_request_builder.py index a0c847b43f5..c181a834ab6 100644 --- a/msgraph_beta/generated/security/threat_submission/threat_submission_request_builder.py +++ b/msgraph_beta/generated/security/threat_submission/threat_submission_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[ThreatSub request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ThreatSubmissionRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[ThreatSubmis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ThreatSubmissionRoot] = None, request_configuration: Optional[ThreatSubmissionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[ThreatSubmissionRoot] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/threat_submission/url_threats/item/url_threat_submission_item_request_builder.py b/msgraph_beta/generated/security/threat_submission/url_threats/item/url_threat_submission_item_request_builder.py index 1c33ece6b10..45d99c5b0c6 100644 --- a/msgraph_beta/generated/security/threat_submission/url_threats/item/url_threat_submission_item_request_builder.py +++ b/msgraph_beta/generated/security/threat_submission/url_threats/item/url_threat_submission_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[UrlThreatSubmissionItemReq async def get(self,request_configuration: Optional[UrlThreatSubmissionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UrlThreatSubmission]: """ - Read the properties and relationships of an urlThreatSubmission object. This API is available in the following national cloud deployments. + Read the properties and relationships of an urlThreatSubmission object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UrlThreatSubmission] Find more info here: https://learn.microsoft.com/graph/api/security-urlthreatsubmission-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[UrlThreat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UrlThreatSubmissionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an urlThreatSubmission object. This API is available in the following national cloud deployments. + Read the properties and relationships of an urlThreatSubmission object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[UrlThreatSub request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UrlThreatSubmission] = None, request_configuration: Optional[UrlThreatSubmissionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[UrlThreatSubmission] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class UrlThreatSubmissionItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class UrlThreatSubmissionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an urlThreatSubmission object. This API is available in the following national cloud deployments. + Read the properties and relationships of an urlThreatSubmission object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/threat_submission/url_threats/url_threats_request_builder.py b/msgraph_beta/generated/security/threat_submission/url_threats/url_threats_request_builder.py index 050607636c3..92165fe54d1 100644 --- a/msgraph_beta/generated/security/threat_submission/url_threats/url_threats_request_builder.py +++ b/msgraph_beta/generated/security/threat_submission/url_threats/url_threats_request_builder.py @@ -45,7 +45,7 @@ def by_url_threat_submission_id(self,url_threat_submission_id: str) -> UrlThreat async def get(self,request_configuration: Optional[UrlThreatsRequestBuilderGetRequestConfiguration] = None) -> Optional[UrlThreatSubmissionCollectionResponse]: """ - Get a list of the urlThreatSubmission objects and their properties. This API is available in the following national cloud deployments. + Get a list of the urlThreatSubmission objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UrlThreatSubmissionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-urlthreatsubmission-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[UrlThreatsRequestBuilderGetRe async def post(self,body: Optional[UrlThreatSubmission] = None, request_configuration: Optional[UrlThreatsRequestBuilderPostRequestConfiguration] = None) -> Optional[UrlThreatSubmission]: """ - Create a new urlThreatSubmission object. This API is available in the following national cloud deployments. + Create a new urlThreatSubmission object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UrlThreatSubmission] @@ -92,7 +92,7 @@ async def post(self,body: Optional[UrlThreatSubmission] = None, request_configur def to_get_request_information(self,request_configuration: Optional[UrlThreatsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the urlThreatSubmission objects and their properties. This API is available in the following national cloud deployments. + Get a list of the urlThreatSubmission objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[UrlThreatsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UrlThreatSubmission] = None, request_configuration: Optional[UrlThreatsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new urlThreatSubmission object. This API is available in the following national cloud deployments. + Create a new urlThreatSubmission object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[UrlThreatSubmission] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class UrlThreatsRequestBuilderGetQueryParameters(): """ - Get a list of the urlThreatSubmission objects and their properties. This API is available in the following national cloud deployments. + Get a list of the urlThreatSubmission objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/ti_indicators/delete_ti_indicators/delete_ti_indicators_request_builder.py b/msgraph_beta/generated/security/ti_indicators/delete_ti_indicators/delete_ti_indicators_request_builder.py index 1c62faaac2e..c66ec73e711 100644 --- a/msgraph_beta/generated/security/ti_indicators/delete_ti_indicators/delete_ti_indicators_request_builder.py +++ b/msgraph_beta/generated/security/ti_indicators/delete_ti_indicators/delete_ti_indicators_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeleteTiIndicatorsPostRequestBody] = None, request_configuration: Optional[DeleteTiIndicatorsRequestBuilderPostRequestConfiguration] = None) -> Optional[DeleteTiIndicatorsPostResponse]: """ - Delete multiple threat intelligence (TI) indicators in one request instead of multiple requests. This API is available in the following national cloud deployments. + Delete multiple threat intelligence (TI) indicators in one request instead of multiple requests. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeleteTiIndicatorsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[DeleteTiIndicatorsPostRequestBody] = None, re def to_post_request_information(self,body: Optional[DeleteTiIndicatorsPostRequestBody] = None, request_configuration: Optional[DeleteTiIndicatorsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Delete multiple threat intelligence (TI) indicators in one request instead of multiple requests. This API is available in the following national cloud deployments. + Delete multiple threat intelligence (TI) indicators in one request instead of multiple requests. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[DeleteTiIndicatorsPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/ti_indicators/delete_ti_indicators_by_external_id/delete_ti_indicators_by_external_id_request_builder.py b/msgraph_beta/generated/security/ti_indicators/delete_ti_indicators_by_external_id/delete_ti_indicators_by_external_id_request_builder.py index bbba0d2d61d..6277683abff 100644 --- a/msgraph_beta/generated/security/ti_indicators/delete_ti_indicators_by_external_id/delete_ti_indicators_by_external_id_request_builder.py +++ b/msgraph_beta/generated/security/ti_indicators/delete_ti_indicators_by_external_id/delete_ti_indicators_by_external_id_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeleteTiIndicatorsByExternalIdPostRequestBody] = None, request_configuration: Optional[DeleteTiIndicatorsByExternalIdRequestBuilderPostRequestConfiguration] = None) -> Optional[DeleteTiIndicatorsByExternalIdPostResponse]: """ - Delete multiple threat intelligence (TI) indicators in one request instead of multiple requests, when the request contains external IDs instead of IDs. This API is available in the following national cloud deployments. + Delete multiple threat intelligence (TI) indicators in one request instead of multiple requests, when the request contains external IDs instead of IDs. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeleteTiIndicatorsByExternalIdPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[DeleteTiIndicatorsByExternalIdPostRequestBody def to_post_request_information(self,body: Optional[DeleteTiIndicatorsByExternalIdPostRequestBody] = None, request_configuration: Optional[DeleteTiIndicatorsByExternalIdRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Delete multiple threat intelligence (TI) indicators in one request instead of multiple requests, when the request contains external IDs instead of IDs. This API is available in the following national cloud deployments. + Delete multiple threat intelligence (TI) indicators in one request instead of multiple requests, when the request contains external IDs instead of IDs. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[DeleteTiIndicatorsByExternal request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/ti_indicators/item/ti_indicator_item_request_builder.py b/msgraph_beta/generated/security/ti_indicators/item/ti_indicator_item_request_builder.py index e57f1d92e09..9573af9d928 100644 --- a/msgraph_beta/generated/security/ti_indicators/item/ti_indicator_item_request_builder.py +++ b/msgraph_beta/generated/security/ti_indicators/item/ti_indicator_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TiIndicatorItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a tiIndicator object. This API is available in the following national cloud deployments. + Delete a tiIndicator object. 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/tiindicator-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[TiIndicatorItemRequestBuil async def get(self,request_configuration: Optional[TiIndicatorItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TiIndicator]: """ - Retrieve the properties and relationships of a tiIndicator object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a tiIndicator object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TiIndicator] Find more info here: https://learn.microsoft.com/graph/api/tiindicator-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[TiIndicatorItemRequestBuilder async def patch(self,body: Optional[TiIndicator] = None, request_configuration: Optional[TiIndicatorItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[TiIndicator]: """ - Update the properties of a tiIndicator object. This API is available in the following national cloud deployments. + Update the properties of a tiIndicator object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TiIndicator] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[TiIndicator] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[TiIndicatorItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a tiIndicator object. This API is available in the following national cloud deployments. + Delete a tiIndicator object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[TiIndicat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TiIndicatorItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a tiIndicator object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a tiIndicator object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[TiIndicatorI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TiIndicator] = None, request_configuration: Optional[TiIndicatorItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a tiIndicator object. This API is available in the following national cloud deployments. + Update the properties of a tiIndicator object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[TiIndicator] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class TiIndicatorItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class TiIndicatorItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a tiIndicator object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a tiIndicator object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/ti_indicators/submit_ti_indicators/submit_ti_indicators_request_builder.py b/msgraph_beta/generated/security/ti_indicators/submit_ti_indicators/submit_ti_indicators_request_builder.py index ea76f63c08e..817bc6b1292 100644 --- a/msgraph_beta/generated/security/ti_indicators/submit_ti_indicators/submit_ti_indicators_request_builder.py +++ b/msgraph_beta/generated/security/ti_indicators/submit_ti_indicators/submit_ti_indicators_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SubmitTiIndicatorsPostRequestBody] = None, request_configuration: Optional[SubmitTiIndicatorsRequestBuilderPostRequestConfiguration] = None) -> Optional[SubmitTiIndicatorsPostResponse]: """ - Upload multiple threat intelligence (TI) indicators in one request instead of multiple requests. This API is available in the following national cloud deployments. + Upload multiple threat intelligence (TI) indicators in one request instead of multiple requests. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SubmitTiIndicatorsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[SubmitTiIndicatorsPostRequestBody] = None, re def to_post_request_information(self,body: Optional[SubmitTiIndicatorsPostRequestBody] = None, request_configuration: Optional[SubmitTiIndicatorsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Upload multiple threat intelligence (TI) indicators in one request instead of multiple requests. This API is available in the following national cloud deployments. + Upload multiple threat intelligence (TI) indicators in one request instead of multiple requests. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[SubmitTiIndicatorsPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/ti_indicators/ti_indicators_request_builder.py b/msgraph_beta/generated/security/ti_indicators/ti_indicators_request_builder.py index b3a247eb6b1..1c5d1f03aa2 100644 --- a/msgraph_beta/generated/security/ti_indicators/ti_indicators_request_builder.py +++ b/msgraph_beta/generated/security/ti_indicators/ti_indicators_request_builder.py @@ -49,7 +49,7 @@ def by_ti_indicator_id(self,ti_indicator_id: str) -> TiIndicatorItemRequestBuild async def get(self,request_configuration: Optional[TiIndicatorsRequestBuilderGetRequestConfiguration] = None) -> Optional[TiIndicatorCollectionResponse]: """ - Retrieve a list of tiIndicator objects. This API is available in the following national cloud deployments. + Retrieve a list of tiIndicator objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TiIndicatorCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/tiindicators-list?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[TiIndicatorsRequestBuilderGet async def post(self,body: Optional[TiIndicator] = None, request_configuration: Optional[TiIndicatorsRequestBuilderPostRequestConfiguration] = None) -> Optional[TiIndicator]: """ - Create a new tiIndicator object. This API is available in the following national cloud deployments. + Create a new tiIndicator object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TiIndicator] @@ -96,7 +96,7 @@ async def post(self,body: Optional[TiIndicator] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[TiIndicatorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of tiIndicator objects. This API is available in the following national cloud deployments. + Retrieve a list of tiIndicator objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_get_request_information(self,request_configuration: Optional[TiIndicators request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TiIndicator] = None, request_configuration: Optional[TiIndicatorsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new tiIndicator object. This API is available in the following national cloud deployments. + Create a new tiIndicator object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -127,7 +127,7 @@ def to_post_request_information(self,body: Optional[TiIndicator] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ def update_ti_indicators(self) -> UpdateTiIndicatorsRequestBuilder: @dataclass class TiIndicatorsRequestBuilderGetQueryParameters(): """ - Retrieve a list of tiIndicator objects. This API is available in the following national cloud deployments. + Retrieve a list of tiIndicator objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/ti_indicators/update_ti_indicators/update_ti_indicators_request_builder.py b/msgraph_beta/generated/security/ti_indicators/update_ti_indicators/update_ti_indicators_request_builder.py index 19add6d01aa..70bb732aac1 100644 --- a/msgraph_beta/generated/security/ti_indicators/update_ti_indicators/update_ti_indicators_request_builder.py +++ b/msgraph_beta/generated/security/ti_indicators/update_ti_indicators/update_ti_indicators_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UpdateTiIndicatorsPostRequestBody] = None, request_configuration: Optional[UpdateTiIndicatorsRequestBuilderPostRequestConfiguration] = None) -> Optional[UpdateTiIndicatorsPostResponse]: """ - Update multiple threat intelligence (TI) indicators in one request instead of multiple requests. This API is available in the following national cloud deployments. + Update multiple threat intelligence (TI) indicators in one request instead of multiple requests. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UpdateTiIndicatorsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[UpdateTiIndicatorsPostRequestBody] = None, re def to_post_request_information(self,body: Optional[UpdateTiIndicatorsPostRequestBody] = None, request_configuration: Optional[UpdateTiIndicatorsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Update multiple threat intelligence (TI) indicators in one request instead of multiple requests. This API is available in the following national cloud deployments. + Update multiple threat intelligence (TI) indicators in one request instead of multiple requests. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[UpdateTiIndicatorsPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/trigger_types/retention_event_types/item/retention_event_type_item_request_builder.py b/msgraph_beta/generated/security/trigger_types/retention_event_types/item/retention_event_type_item_request_builder.py index 16559897b05..b2017889877 100644 --- a/msgraph_beta/generated/security/trigger_types/retention_event_types/item/retention_event_type_item_request_builder.py +++ b/msgraph_beta/generated/security/trigger_types/retention_event_types/item/retention_event_type_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[RetentionEventTypeItemRequ async def get(self,request_configuration: Optional[RetentionEventTypeItemRequestBuilderGetRequestConfiguration] = None) -> Optional[RetentionEventType]: """ - Read the properties and relationships of a retentionEventType object. This API is available in the following national cloud deployments. + Read the properties and relationships of a retentionEventType object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RetentionEventType] Find more info here: https://learn.microsoft.com/graph/api/security-retentioneventtype-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Retention request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RetentionEventTypeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a retentionEventType object. This API is available in the following national cloud deployments. + Read the properties and relationships of a retentionEventType object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[RetentionEve request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RetentionEventType] = None, request_configuration: Optional[RetentionEventTypeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[RetentionEventType] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class RetentionEventTypeItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class RetentionEventTypeItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a retentionEventType object. This API is available in the following national cloud deployments. + Read the properties and relationships of a retentionEventType object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/trigger_types/retention_event_types/retention_event_types_request_builder.py b/msgraph_beta/generated/security/trigger_types/retention_event_types/retention_event_types_request_builder.py index 8b6e75c76cd..8452d315b8c 100644 --- a/msgraph_beta/generated/security/trigger_types/retention_event_types/retention_event_types_request_builder.py +++ b/msgraph_beta/generated/security/trigger_types/retention_event_types/retention_event_types_request_builder.py @@ -45,7 +45,7 @@ def by_retention_event_type_id(self,retention_event_type_id: str) -> RetentionEv async def get(self,request_configuration: Optional[RetentionEventTypesRequestBuilderGetRequestConfiguration] = None) -> Optional[RetentionEventTypeCollectionResponse]: """ - Get a list of the retentionEventType objects and their properties. This API is available in the following national cloud deployments. + Get a list of the retentionEventType objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RetentionEventTypeCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-retentioneventtype-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RetentionEventTypesRequestBui async def post(self,body: Optional[RetentionEventType] = None, request_configuration: Optional[RetentionEventTypesRequestBuilderPostRequestConfiguration] = None) -> Optional[RetentionEventType]: """ - Create a new retentionEventType object. This API is available in the following national cloud deployments. + Create a new retentionEventType object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RetentionEventType] @@ -92,7 +92,7 @@ async def post(self,body: Optional[RetentionEventType] = None, request_configura def to_get_request_information(self,request_configuration: Optional[RetentionEventTypesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the retentionEventType objects and their properties. This API is available in the following national cloud deployments. + Get a list of the retentionEventType objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[RetentionEve request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[RetentionEventType] = None, request_configuration: Optional[RetentionEventTypesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new retentionEventType object. This API is available in the following national cloud deployments. + Create a new retentionEventType object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[RetentionEventType] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RetentionEventTypesRequestBuilderGetQueryParameters(): """ - Get a list of the retentionEventType objects and their properties. This API is available in the following national cloud deployments. + Get a list of the retentionEventType objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/trigger_types/trigger_types_request_builder.py b/msgraph_beta/generated/security/trigger_types/trigger_types_request_builder.py index 372dda45e76..75985bfcd75 100644 --- a/msgraph_beta/generated/security/trigger_types/trigger_types_request_builder.py +++ b/msgraph_beta/generated/security/trigger_types/trigger_types_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[TriggerTy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TriggerTypesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TriggerTypes request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TriggerTypesRoot] = None, request_configuration: Optional[TriggerTypesRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[TriggerTypesRoot] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/triggers/retention_events/item/retention_event_item_request_builder.py b/msgraph_beta/generated/security/triggers/retention_events/item/retention_event_item_request_builder.py index ef3389ae001..fd29de00d64 100644 --- a/msgraph_beta/generated/security/triggers/retention_events/item/retention_event_item_request_builder.py +++ b/msgraph_beta/generated/security/triggers/retention_events/item/retention_event_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RetentionEventItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a retentionEvent object. This API is available in the following national cloud deployments. + Delete a retentionEvent object. 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-retentionevent-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[RetentionEventItemRequestB async def get(self,request_configuration: Optional[RetentionEventItemRequestBuilderGetRequestConfiguration] = None) -> Optional[RetentionEvent]: """ - Read the properties and relationships of a retentionEvent object. This API is available in the following national cloud deployments. + Read the properties and relationships of a retentionEvent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RetentionEvent] Find more info here: https://learn.microsoft.com/graph/api/security-retentionevent-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[RetentionEvent] = None, request_configuratio def to_delete_request_information(self,request_configuration: Optional[RetentionEventItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a retentionEvent object. This API is available in the following national cloud deployments. + Delete a retentionEvent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Retention request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RetentionEventItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a retentionEvent object. This API is available in the following national cloud deployments. + Read the properties and relationships of a retentionEvent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RetentionEve request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RetentionEvent] = None, request_configuration: Optional[RetentionEventItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[RetentionEvent] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class RetentionEventItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class RetentionEventItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a retentionEvent object. This API is available in the following national cloud deployments. + Read the properties and relationships of a retentionEvent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/triggers/retention_events/item/retention_event_type/retention_event_type_request_builder.py b/msgraph_beta/generated/security/triggers/retention_events/item/retention_event_type/retention_event_type_request_builder.py index 3c4f20ecd09..c43ba2118a6 100644 --- a/msgraph_beta/generated/security/triggers/retention_events/item/retention_event_type/retention_event_type_request_builder.py +++ b/msgraph_beta/generated/security/triggers/retention_events/item/retention_event_type/retention_event_type_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RetentionEve request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RetentionEventTypeRequestBuilder: diff --git a/msgraph_beta/generated/security/triggers/retention_events/retention_events_request_builder.py b/msgraph_beta/generated/security/triggers/retention_events/retention_events_request_builder.py index 590f37da217..6421c4d9012 100644 --- a/msgraph_beta/generated/security/triggers/retention_events/retention_events_request_builder.py +++ b/msgraph_beta/generated/security/triggers/retention_events/retention_events_request_builder.py @@ -45,7 +45,7 @@ def by_retention_event_id(self,retention_event_id: str) -> RetentionEventItemReq async def get(self,request_configuration: Optional[RetentionEventsRequestBuilderGetRequestConfiguration] = None) -> Optional[RetentionEventCollectionResponse]: """ - Get a list of the retentionEvent objects and their properties. This API is available in the following national cloud deployments. + Get a list of the retentionEvent objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RetentionEventCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-retentionevent-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RetentionEventsRequestBuilder async def post(self,body: Optional[RetentionEvent] = None, request_configuration: Optional[RetentionEventsRequestBuilderPostRequestConfiguration] = None) -> Optional[RetentionEvent]: """ - Create a new retentionEvent object. This API is available in the following national cloud deployments. + Create a new retentionEvent object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RetentionEvent] @@ -92,7 +92,7 @@ async def post(self,body: Optional[RetentionEvent] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[RetentionEventsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the retentionEvent objects and their properties. This API is available in the following national cloud deployments. + Get a list of the retentionEvent objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[RetentionEve request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[RetentionEvent] = None, request_configuration: Optional[RetentionEventsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new retentionEvent object. This API is available in the following national cloud deployments. + Create a new retentionEvent object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[RetentionEvent] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RetentionEventsRequestBuilderGetQueryParameters(): """ - Get a list of the retentionEvent objects and their properties. This API is available in the following national cloud deployments. + Get a list of the retentionEvent objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/security/triggers/triggers_request_builder.py b/msgraph_beta/generated/security/triggers/triggers_request_builder.py index d61450d32fa..dc6ef162801 100644 --- a/msgraph_beta/generated/security/triggers/triggers_request_builder.py +++ b/msgraph_beta/generated/security/triggers/triggers_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[TriggersR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TriggersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TriggersRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TriggersRoot] = None, request_configuration: Optional[TriggersRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[TriggersRoot] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/user_security_profiles/item/user_security_profile_item_request_builder.py b/msgraph_beta/generated/security/user_security_profiles/item/user_security_profile_item_request_builder.py index ca1cc1aaea3..946cdbcadfd 100644 --- a/msgraph_beta/generated/security/user_security_profiles/item/user_security_profile_item_request_builder.py +++ b/msgraph_beta/generated/security/user_security_profiles/item/user_security_profile_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserSecur request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserSecurityProfileItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UserSecurity request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserSecurityProfile] = None, request_configuration: Optional[UserSecurityProfileItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UserSecurityProfile] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/security/user_security_profiles/user_security_profiles_request_builder.py b/msgraph_beta/generated/security/user_security_profiles/user_security_profiles_request_builder.py index 943d44443fc..7b604301ab4 100644 --- a/msgraph_beta/generated/security/user_security_profiles/user_security_profiles_request_builder.py +++ b/msgraph_beta/generated/security/user_security_profiles/user_security_profiles_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UserSecurity request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserSecurityProfile] = None, request_configuration: Optional[UserSecurityProfilesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UserSecurityProfile] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 5f79908cf57..bddd15c352e 100644 --- a/msgraph_beta/generated/service_principals/delta/delta_request_builder.py +++ b/msgraph_beta/generated/service_principals/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: 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 112a8a46ff6..3252b89f366 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetByIdsPostResponse]: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetByIdsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 2d211d46566..4e5c8c9b512 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, request_configuration: Optional[GetUserOwnedObjectsRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. This API is available in the following national cloud deployments. + Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, r def to_post_request_information(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, request_configuration: Optional[GetUserOwnedObjectsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. This API is available in the following national cloud deployments. + Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetUserOwnedObjectsPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 2d8c2bdeaec..94c6c755fed 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddTokenSigningCertificatePostRequestBody] = None, request_configuration: Optional[AddTokenSigningCertificateRequestBuilderPostRequestConfiguration] = None) -> Optional[SelfSignedCertificate]: """ - Creates a self-signed signing certificate and returns a selfSignedCertificate object, which is the public part of the generated certificate. The self-signed signing certificate is composed of the following objects which are added to the servicePrincipal: + The keyCredentials object with the following objects: + A private key object with usage set to Sign. + A public key object with usage set to Verify.+ The passwordCredentials object. All the objects have the same value of customKeyIdentifier. The passwordCredential is used to open the PFX file (private key). It and the associated private key object have the same value of keyId. Once set during creation through the displayName property, the subject of the certificate cannot be updated. The startDateTime is set to the same time the certificate is created using the action. The endDateTime can be up to three years after the certificate is created. This API is available in the following national cloud deployments. + Creates a self-signed signing certificate and returns a selfSignedCertificate object, which is the public part of the generated certificate. The self-signed signing certificate is composed of the following objects which are added to the servicePrincipal: + The keyCredentials object with the following objects: + A private key object with usage set to Sign. + A public key object with usage set to Verify.+ The passwordCredentials object. All the objects have the same value of customKeyIdentifier. The passwordCredential is used to open the PFX file (private key). It and the associated private key object have the same value of keyId. Once set during creation through the displayName property, the subject of the certificate cannot be updated. The startDateTime is set to the same time the certificate is created using the action. The endDateTime can be up to three years after the certificate is created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SelfSignedCertificate] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddTokenSigningCertificatePostRequestBody] = def to_post_request_information(self,body: Optional[AddTokenSigningCertificatePostRequestBody] = None, request_configuration: Optional[AddTokenSigningCertificateRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Creates a self-signed signing certificate and returns a selfSignedCertificate object, which is the public part of the generated certificate. The self-signed signing certificate is composed of the following objects which are added to the servicePrincipal: + The keyCredentials object with the following objects: + A private key object with usage set to Sign. + A public key object with usage set to Verify.+ The passwordCredentials object. All the objects have the same value of customKeyIdentifier. The passwordCredential is used to open the PFX file (private key). It and the associated private key object have the same value of keyId. Once set during creation through the displayName property, the subject of the certificate cannot be updated. The startDateTime is set to the same time the certificate is created using the action. The endDateTime can be up to three years after the certificate is created. This API is available in the following national cloud deployments. + Creates a self-signed signing certificate and returns a selfSignedCertificate object, which is the public part of the generated certificate. The self-signed signing certificate is composed of the following objects which are added to the servicePrincipal: + The keyCredentials object with the following objects: + A private key object with usage set to Sign. + A public key object with usage set to Verify.+ The passwordCredentials object. All the objects have the same value of customKeyIdentifier. The passwordCredential is used to open the PFX file (private key). It and the associated private key object have the same value of keyId. Once set during creation through the displayName property, the subject of the certificate cannot be updated. The startDateTime is set to the same time the certificate is created using the action. The endDateTime can be up to three years after the certificate is created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddTokenSigningCertificatePo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 afbe647ab9d..e291fa7ec16 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 @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[AppManagemen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppManagementPoliciesRequestBuilder: 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 f29e9e487e0..4de42981177 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AppManagementPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. This API is available in the following national cloud deployments. + Remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. 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/appmanagementpolicy-delete-appliesto?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[AppManagementPolicyItemReques def to_delete_request_information(self,request_configuration: Optional[AppManagementPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. This API is available in the following national cloud deployments. + Remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -80,7 +80,7 @@ def to_delete_request_information(self,request_configuration: Optional[AppManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AppManagementPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -97,7 +97,7 @@ def to_get_request_information(self,request_configuration: Optional[AppManagemen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppManagementPolicyItemRequestBuilder: 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 664089d1d63..5bf38139367 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 @@ -45,7 +45,7 @@ def by_app_role_assignment_id(self,app_role_assignment_id: str) -> AppRoleAssign async def get(self,request_configuration: Optional[AppRoleAssignedToRequestBuilderGetRequestConfiguration] = None) -> Optional[AppRoleAssignmentCollectionResponse]: """ - Retrieve a list of appRoleAssignment that users, groups, or client service principals have been granted for the given resource service principal. For example, if the resource service principal is the service principal for the Microsoft Graph API, this will return all service principals that have been granted any app-only permissions to Microsoft Graph. If the resource service principal is an application that has app roles granted to users and groups, this will return all the users and groups assigned app roles for this application. This API is available in the following national cloud deployments. + Retrieve a list of appRoleAssignment that users, groups, or client service principals have been granted for the given resource service principal. For example, if the resource service principal is the service principal for the Microsoft Graph API, this will return all service principals that have been granted any app-only permissions to Microsoft Graph. If the resource service principal is an application that has app roles granted to users and groups, this will return all the users and groups assigned app roles for this application. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppRoleAssignmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-list-approleassignedto?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AppRoleAssignedToRequestBuild async def post(self,body: Optional[AppRoleAssignment] = None, request_configuration: Optional[AppRoleAssignedToRequestBuilderPostRequestConfiguration] = None) -> Optional[AppRoleAssignment]: """ - Assign an app role for a resource service principal, to a user, group, or client service principal. App roles that are assigned to service principals are also known as application permissions. Application permissions can be granted directly with app role assignments, or through a consent experience. To grant an app role assignment, you need three identifiers: This API is available in the following national cloud deployments. + Assign an app role for a resource service principal, to a user, group, or client service principal. App roles that are assigned to service principals are also known as application permissions. Application permissions can be granted directly with app role assignments, or through a consent experience. To grant an app role assignment, you need three identifiers: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppRoleAssignment] @@ -92,7 +92,7 @@ async def post(self,body: Optional[AppRoleAssignment] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[AppRoleAssignedToRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of appRoleAssignment that users, groups, or client service principals have been granted for the given resource service principal. For example, if the resource service principal is the service principal for the Microsoft Graph API, this will return all service principals that have been granted any app-only permissions to Microsoft Graph. If the resource service principal is an application that has app roles granted to users and groups, this will return all the users and groups assigned app roles for this application. This API is available in the following national cloud deployments. + Retrieve a list of appRoleAssignment that users, groups, or client service principals have been granted for the given resource service principal. For example, if the resource service principal is the service principal for the Microsoft Graph API, this will return all service principals that have been granted any app-only permissions to Microsoft Graph. If the resource service principal is an application that has app roles granted to users and groups, this will return all the users and groups assigned app roles for this application. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[AppRoleAssig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AppRoleAssignment] = None, request_configuration: Optional[AppRoleAssignedToRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Assign an app role for a resource service principal, to a user, group, or client service principal. App roles that are assigned to service principals are also known as application permissions. Application permissions can be granted directly with app role assignments, or through a consent experience. To grant an app role assignment, you need three identifiers: This API is available in the following national cloud deployments. + Assign an app role for a resource service principal, to a user, group, or client service principal. App roles that are assigned to service principals are also known as application permissions. Application permissions can be granted directly with app role assignments, or through a consent experience. To grant an app role assignment, you need three identifiers: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[AppRoleAssignment] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AppRoleAssignedToRequestBuilderGetQueryParameters(): """ - Retrieve a list of appRoleAssignment that users, groups, or client service principals have been granted for the given resource service principal. For example, if the resource service principal is the service principal for the Microsoft Graph API, this will return all service principals that have been granted any app-only permissions to Microsoft Graph. If the resource service principal is an application that has app roles granted to users and groups, this will return all the users and groups assigned app roles for this application. This API is available in the following national cloud deployments. + Retrieve a list of appRoleAssignment that users, groups, or client service principals have been granted for the given resource service principal. For example, if the resource service principal is the service principal for the Microsoft Graph API, this will return all service principals that have been granted any app-only permissions to Microsoft Graph. If the resource service principal is an application that has app roles granted to users and groups, this will return all the users and groups assigned app roles for this application. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 d86b4a40535..cd9dc57e027 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AppRoleAssignmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes an appRoleAssignment that a user, group, or client service principal has been granted for a resource service principal. This API is available in the following national cloud deployments. + Deletes an appRoleAssignment that a user, group, or client service principal has been granted for a resource service principal. 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/serviceprincipal-delete-approleassignedto?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def patch(self,body: Optional[AppRoleAssignment] = None, request_configura def to_delete_request_information(self,request_configuration: Optional[AppRoleAssignmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes an appRoleAssignment that a user, group, or client service principal has been granted for a resource service principal. This API is available in the following national cloud deployments. + Deletes an appRoleAssignment that a user, group, or client service principal has been granted for a resource service principal. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AppRoleAs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AppRoleAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AppRoleAssig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AppRoleAssignment] = None, request_configuration: Optional[AppRoleAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AppRoleAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 8a8c0d27102..7781201fce8 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 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AppRoleAssignmentsRequestBuil async def post(self,body: Optional[AppRoleAssignment] = None, request_configuration: Optional[AppRoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[AppRoleAssignment]: """ - Assign an app role to a client service principal. App roles that are assigned to service principals are also known as application permissions. Application permissions can be granted directly with app role assignments, or through a consent experience. To grant an app role assignment to a client service principal, you need three identifiers: This API is available in the following national cloud deployments. + Assign an app role to a client service principal. App roles that are assigned to service principals are also known as application permissions. Application permissions can be granted directly with app role assignments, or through a consent experience. To grant an app role assignment to a client service principal, you need three identifiers: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppRoleAssignment] @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[AppRoleAssig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AppRoleAssignment] = None, request_configuration: Optional[AppRoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Assign an app role to a client service principal. App roles that are assigned to service principals are also known as application permissions. Application permissions can be granted directly with app role assignments, or through a consent experience. To grant an app role assignment to a client service principal, you need three identifiers: This API is available in the following national cloud deployments. + Assign an app role to a client service principal. App roles that are assigned to service principals are also known as application permissions. Application permissions can be granted directly with app role assignments, or through a consent experience. To grant an app role assignment to a client service principal, you need three identifiers: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[AppRoleAssignment] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 43f8d549e5b..377457e5ed8 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AppRoleAssignmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes an appRoleAssignment that a service principal has been granted. App roles that are assigned to service principals are also known as application permissions. Deleting an app role assignment for a service principal is equivalent to revoking the app-only permission grant. This API is available in the following national cloud deployments. + Deletes an appRoleAssignment that a service principal has been granted. App roles that are assigned to service principals are also known as application permissions. Deleting an app role assignment for a service principal is equivalent to revoking the app-only permission grant. 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/serviceprincipal-delete-approleassignments?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def patch(self,body: Optional[AppRoleAssignment] = None, request_configura def to_delete_request_information(self,request_configuration: Optional[AppRoleAssignmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes an appRoleAssignment that a service principal has been granted. App roles that are assigned to service principals are also known as application permissions. Deleting an app role assignment for a service principal is equivalent to revoking the app-only permission grant. This API is available in the following national cloud deployments. + Deletes an appRoleAssignment that a service principal has been granted. App roles that are assigned to service principals are also known as application permissions. Deleting an app role assignment for a service principal is equivalent to revoking the app-only permission grant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AppRoleAs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AppRoleAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AppRoleAssig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AppRoleAssignment] = None, request_configuration: Optional[AppRoleAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AppRoleAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 0ea380349fc..c85002df450 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[CheckMemberGroupsPostResponse]: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, req def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 3b6f7115faf..9ea9df3b2e9 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 @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CheckMemberObjectsPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 40295077a39..d9335fd1e5e 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 @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_claims_mapping_policy_id(self,claims_mapping_policy_id: str) -> ClaimsMappingPolicyItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.servicePrincipals.item.claimsMappingPolicies.item collection - param claims_mapping_policy_id: Unique identifier of the item + param claims_mapping_policy_id: The unique identifier of claimsMappingPolicy Returns: ClaimsMappingPolicyItemRequestBuilder """ if not claims_mapping_policy_id: @@ -45,7 +45,7 @@ def by_claims_mapping_policy_id(self,claims_mapping_policy_id: str) -> ClaimsMap async def get(self,request_configuration: Optional[ClaimsMappingPoliciesRequestBuilderGetRequestConfiguration] = None) -> Optional[ClaimsMappingPolicyCollectionResponse]: """ - List the claimsMappingPolicy objects that are assigned to a servicePrincipal. This API is available in the following national cloud deployments. + List the claimsMappingPolicy objects that are assigned to a servicePrincipal. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ClaimsMappingPolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-list-claimsmappingpolicies?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ClaimsMappingPoliciesRequestB def to_get_request_information(self,request_configuration: Optional[ClaimsMappingPoliciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the claimsMappingPolicy objects that are assigned to a servicePrincipal. This API is available in the following national cloud deployments. + List the claimsMappingPolicy objects that are assigned to a servicePrincipal. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[ClaimsMappin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ClaimsMappingPoliciesRequestBuilder: @@ -113,7 +113,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class ClaimsMappingPoliciesRequestBuilderGetQueryParameters(): """ - List the claimsMappingPolicy objects that are assigned to a servicePrincipal. This API is available in the following national cloud deployments. + List the claimsMappingPolicy objects that are assigned to a servicePrincipal. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 bfe30b09187..94f33506208 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 @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a claimsMappingPolicy from a servicePrincipal. This API is available in the following national cloud deployments. + Remove a claimsMappingPolicy from a servicePrincipal. 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/serviceprincipal-delete-claimsmappingpolicies?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a claimsMappingPolicy from a servicePrincipal. This API is available in the following national cloud deployments. + Remove a claimsMappingPolicy from a servicePrincipal. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Remove a claimsMappingPolicy from a servicePrincipal. This API is available in the following national cloud deployments. + Remove a claimsMappingPolicy from a servicePrincipal. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 58e6c969448..06845a2a649 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - List the claimsMappingPolicy objects that are assigned to a servicePrincipal. This API is available in the following national cloud deployments. + List the claimsMappingPolicy objects that are assigned to a servicePrincipal. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-list-claimsmappingpolicies?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Assign a claimsMappingPolicy to a servicePrincipal. This API is available in the following national cloud deployments. + Assign a claimsMappingPolicy to a servicePrincipal. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -74,7 +74,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the claimsMappingPolicy objects that are assigned to a servicePrincipal. This API is available in the following national cloud deployments. + List the claimsMappingPolicy objects that are assigned to a servicePrincipal. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Assign a claimsMappingPolicy to a servicePrincipal. This API is available in the following national cloud deployments. + Assign a claimsMappingPolicy to a servicePrincipal. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -122,7 +122,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderGetQueryParameters(): """ - List the claimsMappingPolicy objects that are assigned to a servicePrincipal. This API is available in the following national cloud deployments. + List the claimsMappingPolicy objects that are assigned to a servicePrincipal. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 7106d77cd69..741595674b1 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreatePasswordSingleSignOnCredentialsPostRequestBody] = None, request_configuration: Optional[CreatePasswordSingleSignOnCredentialsRequestBuilderPostRequestConfiguration] = None) -> Optional[PasswordSingleSignOnCredentialSet]: """ - Create single sign-on credentials using a password for a user or group. This API is available in the following national cloud deployments. + Create single sign-on credentials using a password for a user or group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PasswordSingleSignOnCredentialSet] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreatePasswordSingleSignOnCredentialsPostRequ def to_post_request_information(self,body: Optional[CreatePasswordSingleSignOnCredentialsPostRequestBody] = None, request_configuration: Optional[CreatePasswordSingleSignOnCredentialsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create single sign-on credentials using a password for a user or group. This API is available in the following national cloud deployments. + Create single sign-on credentials using a password for a user or group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreatePasswordSingleSignOnCr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 326796ecf33..f19dc0e2e43 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 @@ -45,7 +45,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem async def get(self,request_configuration: Optional[CreatedObjectsRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryObjectCollectionResponse]: """ - Retrieve a list of directoryobject objects. This API is available in the following national cloud deployments. + Retrieve a list of directoryobject objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-list-createdobjects?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[CreatedObjectsRequestBuilderG def to_get_request_information(self,request_configuration: Optional[CreatedObjectsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of directoryobject objects. This API is available in the following national cloud deployments. + Retrieve a list of directoryobject objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[CreatedObjec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreatedObjectsRequestBuilder: @@ -113,7 +113,7 @@ def graph_service_principal(self) -> GraphServicePrincipalRequestBuilder: @dataclass class CreatedObjectsRequestBuilderGetQueryParameters(): """ - Retrieve a list of directoryobject objects. This API is available in the following national cloud deployments. + Retrieve a list of directoryobject objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 9fca35c6b21..3f67112a771 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 @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: 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 16efe6bd947..dbe5b670094 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 @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: 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 171171742ca..01922aa35da 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: 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 2827908b105..fe3dcdef4e9 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 @@ -45,7 +45,7 @@ def by_delegated_permission_classification_id(self,delegated_permission_classifi async def get(self,request_configuration: Optional[DelegatedPermissionClassificationsRequestBuilderGetRequestConfiguration] = None) -> Optional[DelegatedPermissionClassificationCollectionResponse]: """ - Retrieve the list of delegatedPermissionClassification currently configured for the delegated permissions exposed by an API. This API is available in the following national cloud deployments. + Retrieve the list of delegatedPermissionClassification currently configured for the delegated permissions exposed by an API. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DelegatedPermissionClassificationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-list-delegatedpermissionclassifications?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[DelegatedPermissionClassifica async def post(self,body: Optional[DelegatedPermissionClassification] = None, request_configuration: Optional[DelegatedPermissionClassificationsRequestBuilderPostRequestConfiguration] = None) -> Optional[DelegatedPermissionClassification]: """ - Classify a delegated permission by adding a delegatedPermissionClassification to the servicePrincipal representing the API. This API is available in the following national cloud deployments. + Classify a delegated permission by adding a delegatedPermissionClassification to the servicePrincipal representing the API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DelegatedPermissionClassification] @@ -92,7 +92,7 @@ async def post(self,body: Optional[DelegatedPermissionClassification] = None, re def to_get_request_information(self,request_configuration: Optional[DelegatedPermissionClassificationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of delegatedPermissionClassification currently configured for the delegated permissions exposed by an API. This API is available in the following national cloud deployments. + Retrieve the list of delegatedPermissionClassification currently configured for the delegated permissions exposed by an API. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[DelegatedPer request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DelegatedPermissionClassification] = None, request_configuration: Optional[DelegatedPermissionClassificationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Classify a delegated permission by adding a delegatedPermissionClassification to the servicePrincipal representing the API. This API is available in the following national cloud deployments. + Classify a delegated permission by adding a delegatedPermissionClassification to the servicePrincipal representing the API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[DelegatedPermissionClassific request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DelegatedPermissionClassificationsRequestBuilderGetQueryParameters(): """ - Retrieve the list of delegatedPermissionClassification currently configured for the delegated permissions exposed by an API. This API is available in the following national cloud deployments. + Retrieve the list of delegatedPermissionClassification currently configured for the delegated permissions exposed by an API. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 3d90e90fa9c..0a384a2620e 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[DelegatedPermissionClassificationItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes a delegatedPermissionClassification which had previously been set for a delegated permission. This API is available in the following national cloud deployments. + Deletes a delegatedPermissionClassification which had previously been set for a delegated permission. 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/serviceprincipal-delete-delegatedpermissionclassifications?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def patch(self,body: Optional[DelegatedPermissionClassification] = None, r def to_delete_request_information(self,request_configuration: Optional[DelegatedPermissionClassificationItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes a delegatedPermissionClassification which had previously been set for a delegated permission. This API is available in the following national cloud deployments. + Deletes a delegatedPermissionClassification which had previously been set for a delegated permission. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Delegated request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DelegatedPermissionClassificationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DelegatedPer request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DelegatedPermissionClassification] = None, request_configuration: Optional[DelegatedPermissionClassificationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DelegatedPermissionClassifi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 6f5ad0c171d..41496bb9561 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeletePasswordSingleSignOnCredentialsPostRequestBody] = None, request_configuration: Optional[DeletePasswordSingleSignOnCredentialsRequestBuilderPostRequestConfiguration] = None) -> None: """ - Delete single sign-on credentials using a password for a user or group. This API is available in the following national cloud deployments. + Delete single sign-on credentials using a password for a user or group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeletePasswordSingleSignOnCredentialsPostRequ def to_post_request_information(self,body: Optional[DeletePasswordSingleSignOnCredentialsPostRequestBody] = None, request_configuration: Optional[DeletePasswordSingleSignOnCredentialsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Delete single sign-on credentials using a password for a user or group. This API is available in the following national cloud deployments. + Delete single sign-on credentials using a password for a user or group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeletePasswordSingleSignOnCr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 c6ee907a423..84a1c2e9c26 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[EndpointsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Endpoint] = None, request_configuration: Optional[EndpointsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Endpoint] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 00c27450fa6..00c3de5e59c 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[EndpointI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EndpointItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[EndpointItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Endpoint] = None, request_configuration: Optional[EndpointItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Endpoint] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 5fb9bff2b60..483e20b8f24 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[FederatedIde request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[FederatedIdentityCredential] = None, request_configuration: Optional[FederatedIdentityCredentialsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[FederatedIdentityCredential] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 84436ddc1b1..1f35f157762 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Federated request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FederatedIdentityCredentialItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[FederatedIde request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[FederatedIdentityCredential] = None, request_configuration: Optional[FederatedIdentityCredentialItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[FederatedIdentityCredential request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 34013fdcf27..419a3019a44 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetMemberGroupsPostResponse]: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 5f9f91a938b..f7b21571a19 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 @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GetMemberObjectsPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 5f0636004b1..16517cb5555 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetPasswordSingleSignOnCredentialsPostRequestBody] = None, request_configuration: Optional[GetPasswordSingleSignOnCredentialsRequestBuilderPostRequestConfiguration] = None) -> Optional[PasswordSingleSignOnCredentialSet]: """ - Get a list of single sign-on credentials using a password for a user or group. This API is available in the following national cloud deployments. + Get a list of single sign-on credentials using a password for a user or group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PasswordSingleSignOnCredentialSet] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetPasswordSingleSignOnCredentialsPostRequest def to_post_request_information(self,body: Optional[GetPasswordSingleSignOnCredentialsPostRequestBody] = None, request_configuration: Optional[GetPasswordSingleSignOnCredentialsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Get a list of single sign-on credentials using a password for a user or group. This API is available in the following national cloud deployments. + Get a list of single sign-on credentials using a password for a user or group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetPasswordSingleSignOnCrede request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 ceb8f9d47bf..a178225d807 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 @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_home_realm_discovery_policy_id(self,home_realm_discovery_policy_id: str) -> HomeRealmDiscoveryPolicyItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.servicePrincipals.item.homeRealmDiscoveryPolicies.item collection - param home_realm_discovery_policy_id: Unique identifier of the item + param home_realm_discovery_policy_id: The unique identifier of homeRealmDiscoveryPolicy Returns: HomeRealmDiscoveryPolicyItemRequestBuilder """ if not home_realm_discovery_policy_id: @@ -45,7 +45,7 @@ def by_home_realm_discovery_policy_id(self,home_realm_discovery_policy_id: str) async def get(self,request_configuration: Optional[HomeRealmDiscoveryPoliciesRequestBuilderGetRequestConfiguration] = None) -> Optional[HomeRealmDiscoveryPolicyCollectionResponse]: """ - List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. This API is available in the following national cloud deployments. + List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HomeRealmDiscoveryPolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-list-homerealmdiscoverypolicies?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[HomeRealmDiscoveryPoliciesReq def to_get_request_information(self,request_configuration: Optional[HomeRealmDiscoveryPoliciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. This API is available in the following national cloud deployments. + List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[HomeRealmDis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> HomeRealmDiscoveryPoliciesRequestBuilder: @@ -113,7 +113,7 @@ def ref(self) -> RefRequestBuilder: @dataclass class HomeRealmDiscoveryPoliciesRequestBuilderGetQueryParameters(): """ - List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. This API is available in the following national cloud deployments. + List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 b5f4f7eaeb1..cb74d0f6d59 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 @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a homeRealmDiscoveryPolicy from a servicePrincipal. This API is available in the following national cloud deployments. + Remove a homeRealmDiscoveryPolicy from a servicePrincipal. 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/serviceprincipal-delete-homerealmdiscoverypolicies?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a homeRealmDiscoveryPolicy from a servicePrincipal. This API is available in the following national cloud deployments. + Remove a homeRealmDiscoveryPolicy from a servicePrincipal. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Remove a homeRealmDiscoveryPolicy from a servicePrincipal. This API is available in the following national cloud deployments. + Remove a homeRealmDiscoveryPolicy from a servicePrincipal. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 fcf1cfcc917..00320bf1108 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[StringCollectionResponse]: """ - List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. This API is available in the following national cloud deployments. + List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-list-homerealmdiscoverypolicies?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Assign a homeRealmDiscoveryPolicy to a servicePrincipal. This API is available in the following national cloud deployments. + Assign a homeRealmDiscoveryPolicy to a servicePrincipal. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -74,7 +74,7 @@ async def post(self,body: Optional[ReferenceCreate] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. This API is available in the following national cloud deployments. + List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Assign a homeRealmDiscoveryPolicy to a servicePrincipal. This API is available in the following national cloud deployments. + Assign a homeRealmDiscoveryPolicy to a servicePrincipal. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -122,7 +122,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderGetQueryParameters(): """ - List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. This API is available in the following national cloud deployments. + List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 new file mode 100644 index 00000000000..4a21a6ccb98 --- /dev/null +++ b/msgraph_beta/generated/service_principals/item/license_details/get_teams_licensing_details/get_teams_licensing_details_request_builder.py @@ -0,0 +1,86 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.teams_licensing_details import TeamsLicensingDetails + +class GetTeamsLicensingDetailsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getTeamsLicensingDetails method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new GetTeamsLicensingDetailsRequestBuilder 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}/licenseDetails/getTeamsLicensingDetails()", path_parameters) + + async def get(self,request_configuration: Optional[GetTeamsLicensingDetailsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsLicensingDetails]: + """ + Invoke function getTeamsLicensingDetails + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[TeamsLicensingDetails] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.teams_licensing_details import TeamsLicensingDetails + + return await self.request_adapter.send_async(request_info, TeamsLicensingDetails, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[GetTeamsLicensingDetailsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Invoke function getTeamsLicensingDetails + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> GetTeamsLicensingDetailsRequestBuilder: + """ + 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: GetTeamsLicensingDetailsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GetTeamsLicensingDetailsRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GetTeamsLicensingDetailsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + 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 089a513e0e2..32dd4d1b7fd 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[LicenseDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LicenseDetailsItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[LicenseDetai request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[LicenseDetails] = None, request_configuration: Optional[LicenseDetailsItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[LicenseDetails] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 0494841406b..84e1abb3182 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 @@ -14,6 +14,7 @@ from ....models.license_details_collection_response import LicenseDetailsCollectionResponse from ....models.o_data_errors.o_data_error import ODataError from .count.count_request_builder import CountRequestBuilder + from .get_teams_licensing_details.get_teams_licensing_details_request_builder import GetTeamsLicensingDetailsRequestBuilder from .item.license_details_item_request_builder import LicenseDetailsItemRequestBuilder class LicenseDetailsRequestBuilder(BaseRequestBuilder): @@ -102,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[LicenseDetai request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[LicenseDetails] = None, request_configuration: Optional[LicenseDetailsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +122,7 @@ def to_post_request_information(self,body: Optional[LicenseDetails] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -144,6 +145,15 @@ def count(self) -> CountRequestBuilder: return CountRequestBuilder(self.request_adapter, self.path_parameters) + @property + def get_teams_licensing_details(self) -> GetTeamsLicensingDetailsRequestBuilder: + """ + Provides operations to call the getTeamsLicensingDetails method. + """ + from .get_teams_licensing_details.get_teams_licensing_details_request_builder import GetTeamsLicensingDetailsRequestBuilder + + return GetTeamsLicensingDetailsRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class LicenseDetailsRequestBuilderGetQueryParameters(): """ 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 47b160b34de..0b8b8afe3d6 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 @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAdminis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAdministrativeUnitRequestBuilder: 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 52101b4013e..a8bcac9f431 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 @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphDirecto request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphDirectoryRoleRequestBuilder: 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 fa1f49d4f34..fc48feff0db 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 @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: 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 5d816b7c199..74ba5ee8bc3 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: 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 f2dc9f51e3d..dca3c478d14 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAdminis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAdministrativeUnitRequestBuilder: 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 037ed259f0c..bd80a1db475 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphDirecto request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphDirectoryRoleRequestBuilder: 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 62c7aa96c7b..44b5496bd71 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: 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 ddfce572120..2576da97084 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 @@ -81,7 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[MemberOfRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MemberOfRequestBuilder: 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 c0b6dcd016c..94e4272ac06 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[OAuth2Permis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> OAuth2PermissionGrantItemRequestBuilder: 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 365a16f73c7..0d55b912b6f 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 @@ -44,7 +44,7 @@ def by_o_auth2_permission_grant_id(self,o_auth2_permission_grant_id: str) -> OAu async def get(self,request_configuration: Optional[Oauth2PermissionGrantsRequestBuilderGetRequestConfiguration] = None) -> Optional[OAuth2PermissionGrantCollectionResponse]: """ - Retrieve a list of oAuth2PermissionGrant entities, representing delegated permissions granted to the service principal (representing the client application) to access an API on behalf of a user. This API is available in the following national cloud deployments. + Retrieve a list of oAuth2PermissionGrant entities, representing delegated permissions granted to the service principal (representing the client application) to access an API on behalf of a user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OAuth2PermissionGrantCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-list-oauth2permissiongrants?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[Oauth2PermissionGrantsRequest def to_get_request_information(self,request_configuration: Optional[Oauth2PermissionGrantsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of oAuth2PermissionGrant entities, representing delegated permissions granted to the service principal (representing the client application) to access an API on behalf of a user. This API is available in the following national cloud deployments. + Retrieve a list of oAuth2PermissionGrant entities, representing delegated permissions granted to the service principal (representing the client application) to access an API on behalf of a user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[Oauth2Permis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> Oauth2PermissionGrantsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class Oauth2PermissionGrantsRequestBuilderGetQueryParameters(): """ - Retrieve a list of oAuth2PermissionGrant entities, representing delegated permissions granted to the service principal (representing the client application) to access an API on behalf of a user. This API is available in the following national cloud deployments. + Retrieve a list of oAuth2PermissionGrant entities, representing delegated permissions granted to the service principal (representing the client application) to access an API on behalf of a user. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 9dce62cf20d..ab0778cef09 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 @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphApplica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphApplicationRequestBuilder: 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 e96e0545b06..f4a8c19167e 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 @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphEndpoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphEndpointRequestBuilder: 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 753c159f6ff..5b49d45fa97 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 @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: 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 3913f4ec80b..3fa77b3963d 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 @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: 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 dfd4990061e..2d9e5814bb7 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 @@ -65,7 +65,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: 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 0ff152e3f96..55e1376173b 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphApplica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphApplicationRequestBuilder: 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 be8ae9a3794..8c25bde7404 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphEndpoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphEndpointRequestBuilder: 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 49049840814..df9080c5c82 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: 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 9a48d9838b2..30a4dcdb249 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: 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 124b3cb3085..f2f18f52d23 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 @@ -48,7 +48,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem async def get(self,request_configuration: Optional[OwnedObjectsRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryObjectCollectionResponse]: """ - Retrieve a list of objects owned by the servicePrincipal. This could include applications or groups. This API is available in the following national cloud deployments. + Retrieve a list of objects owned by the servicePrincipal. This could include applications or groups. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-list-ownedobjects?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[OwnedObjectsRequestBuilderGet def to_get_request_information(self,request_configuration: Optional[OwnedObjectsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of objects owned by the servicePrincipal. This could include applications or groups. This API is available in the following national cloud deployments. + Retrieve a list of objects owned by the servicePrincipal. This could include applications or groups. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[OwnedObjects request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> OwnedObjectsRequestBuilder: @@ -143,7 +143,7 @@ def graph_service_principal(self) -> GraphServicePrincipalRequestBuilder: @dataclass class OwnedObjectsRequestBuilderGetQueryParameters(): """ - Retrieve a list of objects owned by the servicePrincipal. This could include applications or groups. This API is available in the following national cloud deployments. + Retrieve a list of objects owned by the servicePrincipal. This could include applications or groups. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 8724637f6b0..8a535a0476d 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 @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphEndpoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphEndpointRequestBuilder: 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 8cf3d2ad11e..f39f781bd5b 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 @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: 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 a73803dec5e..a9abea1cd59 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 @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: 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 2e0e7a8ccee..433852ab418 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphEndpoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphEndpointRequestBuilder: 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 db313dfa07f..d0b32e0f15a 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: 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 3eaa89c69d4..8c8963ea9d7 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: 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 8ff6dd8f6a7..ae0c8e7d3b8 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 @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners. This API is available in the following national cloud deployments. + Remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners. 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/serviceprincipal-delete-owners?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners. This API is available in the following national cloud deployments. + Remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners. This API is available in the following national cloud deployments. + Remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 aac66c342a2..9ea6fd24e2f 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 @@ -35,7 +35,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.servicePrincipals.item.owners.item collection - param directory_object_id: Unique identifier of the item + param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ if not directory_object_id: @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[OwnersReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> OwnersRequestBuilder: 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 e0ac54432b5..8e2d31a8c9b 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 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add an owner for the servicePrincipal. Service principal owners can be users, the service principal itself, or other service principals. This API is available in the following national cloud deployments. + Add an owner for the servicePrincipal. Service principal owners can be users, the service principal itself, or other service principals. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add an owner for the servicePrincipal. Service principal owners can be users, the service principal itself, or other service principals. This API is available in the following national cloud deployments. + Add an owner for the servicePrincipal. Service principal owners can be users, the service principal itself, or other service principals. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 cecf8ac5fbb..ab586eddf4d 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 @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RemoteDes request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RemoteDesktopSecurityConfigurationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[RemoteDeskto request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RemoteDesktopSecurityConfiguration] = None, request_configuration: Optional[RemoteDesktopSecurityConfigurationRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[RemoteDesktopSecurityConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 8c19b4270cf..52bfc352cb3 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 @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[TargetDev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TargetDeviceGroupItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[TargetDevice request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TargetDeviceGroup] = None, request_configuration: Optional[TargetDeviceGroupItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[TargetDeviceGroup] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 c9e77d59da1..2d6669786a1 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 @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[TargetDevice request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TargetDeviceGroup] = None, request_configuration: Optional[TargetDeviceGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TargetDeviceGroup] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 d98f5bef7fe..8c534074fe1 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RestoreRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[RestoreRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RestoreRequestBuilder: 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 e3c04677cbd..f5385db2059 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 @@ -57,7 +57,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ServicePrincipalItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a servicePrincipal object. This API is available in the following national cloud deployments. + Delete a servicePrincipal object. 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/serviceprincipal-delete?view=graph-rest-1.0 @@ -77,7 +77,7 @@ async def delete(self,request_configuration: Optional[ServicePrincipalItemReques async def get(self,request_configuration: Optional[ServicePrincipalItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ServicePrincipal]: """ - Retrieve the properties and relationships of a servicePrincipal object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a servicePrincipal object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServicePrincipal] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-get?view=graph-rest-1.0 @@ -99,7 +99,7 @@ async def get(self,request_configuration: Optional[ServicePrincipalItemRequestBu async def patch(self,body: Optional[ServicePrincipal] = None, request_configuration: Optional[ServicePrincipalItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ServicePrincipal]: """ - Update the properties of servicePrincipal object. This API is available in the following national cloud deployments. + Update the properties of servicePrincipal object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServicePrincipal] @@ -124,7 +124,7 @@ async def patch(self,body: Optional[ServicePrincipal] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[ServicePrincipalItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a servicePrincipal object. This API is available in the following national cloud deployments. + Delete a servicePrincipal object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,12 +135,12 @@ def to_delete_request_information(self,request_configuration: Optional[ServicePr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ServicePrincipalItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a servicePrincipal object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a servicePrincipal object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -152,12 +152,12 @@ def to_get_request_information(self,request_configuration: Optional[ServicePrinc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ServicePrincipal] = None, request_configuration: Optional[ServicePrincipalItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of servicePrincipal object. This API is available in the following national cloud deployments. + Update the properties of servicePrincipal object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -171,7 +171,7 @@ def to_patch_request_information(self,body: Optional[ServicePrincipal] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -459,7 +459,7 @@ class ServicePrincipalItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class ServicePrincipalItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a servicePrincipal object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a servicePrincipal object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/service_principals/item/synchronization/acquire_access_token/acquire_access_token_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/acquire_access_token/acquire_access_token_request_builder.py index 9ad9169f0eb..0c77a89d137 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/acquire_access_token/acquire_access_token_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/acquire_access_token/acquire_access_token_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcquireAccessTokenPostRequestBody] = None, request_configuration: Optional[AcquireAccessTokenRequestBuilderPostRequestConfiguration] = None) -> None: """ - Acquire an OAuth Access token to authorize the Microsoft Entra provisioning service to provision users into an application. This API is available in the following national cloud deployments. + Acquire an OAuth Access token to authorize the Microsoft Entra provisioning service to provision users into an application. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcquireAccessTokenPostRequestBody] = None, re def to_post_request_information(self,body: Optional[AcquireAccessTokenPostRequestBody] = None, request_configuration: Optional[AcquireAccessTokenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Acquire an OAuth Access token to authorize the Microsoft Entra provisioning service to provision users into an application. This API is available in the following national cloud deployments. + Acquire an OAuth Access token to authorize the Microsoft Entra provisioning service to provision users into an application. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcquireAccessTokenPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 4d5746d7338..e58a6e9ba66 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[BulkUploa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BulkUploadRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[BulkUploadRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[BulkUpload] = None, request_configuration: Optional[BulkUploadRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[BulkUpload] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 e4c920a9c7f..d2a4b4e3572 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 @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -98,7 +98,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info 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 745346154d2..31d4c9f799b 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 @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[PauseRequestBuilderPostRequestConfiguration] = None) -> None: """ - Temporarily stop a running synchronization job. All the progress, including job state, is persisted, and the job continues from where it left off when a start call is made. This API is available in the following national cloud deployments. + Temporarily stop a running synchronization job. All the progress, including job state, is persisted, and the job continues from where it left off when a start call is made. 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/synchronization-synchronizationjob-pause?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[PauseRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[PauseRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Temporarily stop a running synchronization job. All the progress, including job state, is persisted, and the job continues from where it left off when a start call is made. This API is available in the following national cloud deployments. + Temporarily stop a running synchronization job. All the progress, including job state, is persisted, and the job continues from where it left off when a start call is made. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[PauseReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PauseRequestBuilder: 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 3c07b062c83..52f7b6b57fb 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ProvisionOnDemandPostRequestBody] = None, request_configuration: Optional[ProvisionOnDemandRequestBuilderPostRequestConfiguration] = None) -> Optional[StringKeyStringValuePair]: """ - Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds. No user or group will be provisioned on-demand that would not have been provisioned through the regular provisioning cycles. This API is available in the following national cloud deployments. + Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds. No user or group will be provisioned on-demand that would not have been provisioned through the regular provisioning cycles. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[StringKeyStringValuePair] @@ -54,7 +54,7 @@ async def post(self,body: Optional[ProvisionOnDemandPostRequestBody] = None, req def to_post_request_information(self,body: Optional[ProvisionOnDemandPostRequestBody] = None, request_configuration: Optional[ProvisionOnDemandRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds. No user or group will be provisioned on-demand that would not have been provisioned through the regular provisioning cycles. This API is available in the following national cloud deployments. + Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds. No user or group will be provisioned on-demand that would not have been provisioned through the regular provisioning cycles. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[ProvisionOnDemandPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 79e6f04cabe..1f99ce90d5a 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RestartPostRequestBody] = None, request_configuration: Optional[RestartRequestBuilderPostRequestConfiguration] = None) -> None: """ - Restart a stopped synchronization job, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors. This API is available in the following national cloud deployments. + Restart a stopped synchronization job, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RestartPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[RestartPostRequestBody] = None, request_configuration: Optional[RestartRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restart a stopped synchronization job, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors. This API is available in the following national cloud deployments. + Restart a stopped synchronization job, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RestartPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 7bbea082ae9..746387581ac 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoriesR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DirectoryDefinition] = None, request_configuration: Optional[DirectoriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DirectoryDefinition] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 fe18f08240e..45a74459cfb 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Directory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DirectoryDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryDef request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DirectoryDefinition] = None, request_configuration: Optional[DirectoryDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DirectoryDefinition] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 69d18bc2b59..cd09bda8e38 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DiscoverRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryDefinition]: """ - Discover the latest schema definition for provisioning to an application. This API is available in the following national cloud deployments. + Discover the latest schema definition for provisioning to an application. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryDefinition] Find more info here: https://learn.microsoft.com/graph/api/synchronization-directorydefinition-discover?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[DiscoverRequestBuilderPostRe def to_post_request_information(self,request_configuration: Optional[DiscoverRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Discover the latest schema definition for provisioning to an application. This API is available in the following national cloud deployments. + Discover the latest schema definition for provisioning to an application. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[DiscoverReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DiscoverRequestBuilder: 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 a7d3905a9c5..3e88825bf39 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterOperat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterOperatorsRequestBuilder: 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 5eab673339b..f639a8f9ec5 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FunctionsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FunctionsRequestBuilder: 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 50ab9c3e0fc..62c9ef50e4e 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ParseExpressionPostRequestBody] = None, request_configuration: Optional[ParseExpressionRequestBuilderPostRequestConfiguration] = None) -> Optional[ParseExpressionResponse]: """ - Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. This API is available in the following national cloud deployments. + Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ParseExpressionResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[ParseExpressionPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[ParseExpressionPostRequestBody] = None, request_configuration: Optional[ParseExpressionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. This API is available in the following national cloud deployments. + Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[ParseExpressionPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 3f81ba2b17a..c7a3bf8b75a 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 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[SchemaRequestBuilderDelete async def get(self,request_configuration: Optional[SchemaRequestBuilderGetRequestConfiguration] = None) -> Optional[SynchronizationSchema]: """ - Retrieve the schema for a given synchronization job or template. This API is available in the following national cloud deployments. + Retrieve the schema for a given synchronization job or template. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SynchronizationSchema] Find more info here: https://learn.microsoft.com/graph/api/synchronization-synchronizationschema-get?view=graph-rest-1.0 @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[SchemaReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SchemaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the schema for a given synchronization job or template. This API is available in the following national cloud deployments. + Retrieve the schema for a given synchronization job or template. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[SchemaReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SynchronizationSchema] = None, request_configuration: Optional[SchemaRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[SynchronizationSchema] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -208,7 +208,7 @@ class SchemaRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class SchemaRequestBuilderGetQueryParameters(): """ - Retrieve the schema for a given synchronization job or template. This API is available in the following national cloud deployments. + Retrieve the schema for a given synchronization job or template. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 7db9a213805..3e50f0f0199 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 @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[StartRequestBuilderPostRequestConfiguration] = None) -> None: """ - Start an existing synchronization job. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. This API is available in the following national cloud deployments. + Start an existing synchronization job. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. 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/synchronization-synchronizationjob-start?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[StartRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[StartRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Start an existing synchronization job. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. This API is available in the following national cloud deployments. + Start an existing synchronization job. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[StartReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> StartRequestBuilder: 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 6b7aeb34a39..43e4717b328 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 @@ -35,7 +35,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[SynchronizationJobItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is. This API is available in the following national cloud deployments. + Stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is. 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/synchronization-synchronizationjob-delete?view=graph-rest-1.0 @@ -55,7 +55,7 @@ async def delete(self,request_configuration: Optional[SynchronizationJobItemRequ async def get(self,request_configuration: Optional[SynchronizationJobItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SynchronizationJob]: """ - Retrieve the existing synchronization job and its properties. This API is available in the following national cloud deployments. + Retrieve the existing synchronization job and its properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SynchronizationJob] Find more info here: https://learn.microsoft.com/graph/api/synchronization-synchronizationjob-get?view=graph-rest-1.0 @@ -101,7 +101,7 @@ async def patch(self,body: Optional[SynchronizationJob] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[SynchronizationJobItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is. This API is available in the following national cloud deployments. + Stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -112,12 +112,12 @@ def to_delete_request_information(self,request_configuration: Optional[Synchroni request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SynchronizationJobItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the existing synchronization job and its properties. This API is available in the following national cloud deployments. + Retrieve the existing synchronization job and its properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -129,7 +129,7 @@ def to_get_request_information(self,request_configuration: Optional[Synchronizat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SynchronizationJob] = None, request_configuration: Optional[SynchronizationJobItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -148,7 +148,7 @@ def to_patch_request_information(self,body: Optional[SynchronizationJob] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -238,7 +238,7 @@ class SynchronizationJobItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class SynchronizationJobItemRequestBuilderGetQueryParameters(): """ - Retrieve the existing synchronization job and its properties. This API is available in the following national cloud deployments. + Retrieve the existing synchronization job and its properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/validate_credentials/validate_credentials_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/validate_credentials/validate_credentials_request_builder.py index 6a73eb64966..2f110c14e5d 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/validate_credentials/validate_credentials_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/jobs/item/validate_credentials/validate_credentials_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ValidateCredentialsPostRequestBody] = None, request_configuration: Optional[ValidateCredentialsRequestBuilderPostRequestConfiguration] = None) -> None: """ - Validate that the credentials are valid in the tenant. This API is available in the following national cloud deployments. + Validate that the credentials are valid in the tenant. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ValidateCredentialsPostRequestBody] = None, r def to_post_request_information(self,body: Optional[ValidateCredentialsPostRequestBody] = None, request_configuration: Optional[ValidateCredentialsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Validate that the credentials are valid in the tenant. This API is available in the following national cloud deployments. + Validate that the credentials are valid in the tenant. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ValidateCredentialsPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 64be4b761e1..029b49a8823 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 @@ -46,7 +46,7 @@ def by_synchronization_job_id(self,synchronization_job_id: str) -> Synchronizati async def get(self,request_configuration: Optional[JobsRequestBuilderGetRequestConfiguration] = None) -> Optional[SynchronizationJobCollectionResponse]: """ - List existing jobs for a given application instance (service principal). This API is available in the following national cloud deployments. + List existing jobs for a given application instance (service principal). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SynchronizationJobCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/synchronization-synchronization-list-jobs?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[JobsRequestBuilderGetRequestC async def post(self,body: Optional[SynchronizationJob] = None, request_configuration: Optional[JobsRequestBuilderPostRequestConfiguration] = None) -> Optional[SynchronizationJob]: """ - Create new synchronization job with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization. This API is available in the following national cloud deployments. + Create new synchronization job with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SynchronizationJob] @@ -93,7 +93,7 @@ async def post(self,body: Optional[SynchronizationJob] = None, request_configura def to_get_request_information(self,request_configuration: Optional[JobsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List existing jobs for a given application instance (service principal). This API is available in the following national cloud deployments. + List existing jobs for a given application instance (service principal). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[JobsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SynchronizationJob] = None, request_configuration: Optional[JobsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create new synchronization job with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization. This API is available in the following national cloud deployments. + Create new synchronization job with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[SynchronizationJob] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def validate_credentials(self) -> ValidateCredentialsRequestBuilder: @dataclass class JobsRequestBuilderGetQueryParameters(): """ - List existing jobs for a given application instance (service principal). This API is available in the following national cloud deployments. + List existing jobs for a given application instance (service principal). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/service_principals/item/synchronization/jobs/validate_credentials/validate_credentials_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/jobs/validate_credentials/validate_credentials_request_builder.py index cd4e20fafaf..8bc75fc7237 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/jobs/validate_credentials/validate_credentials_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/jobs/validate_credentials/validate_credentials_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ValidateCredentialsPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 7b85f59c32f..e86e9c04e09 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 @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[PingRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PingRequestBuilder: diff --git a/msgraph_beta/generated/service_principals/item/synchronization/secrets/secrets_request_builder.py b/msgraph_beta/generated/service_principals/item/synchronization/secrets/secrets_request_builder.py index e788f62978f..3c5ce278f17 100644 --- a/msgraph_beta/generated/service_principals/item/synchronization/secrets/secrets_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/synchronization/secrets/secrets_request_builder.py @@ -67,7 +67,7 @@ def to_put_request_information(self,body: Optional[List[SynchronizationSecretKey request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 c3e06adaa25..6e9e9cefb76 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 @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[Synchroni request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SynchronizationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[Synchronizat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_put_request_information(self,body: Optional[Synchronization] = None, request_configuration: Optional[SynchronizationRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_put_request_information(self,body: Optional[Synchronization] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 6b32d44ef77..41a7b6c81a7 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoriesR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DirectoryDefinition] = None, request_configuration: Optional[DirectoriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DirectoryDefinition] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 aa2db8d7444..96638c543d1 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Directory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DirectoryDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryDef request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DirectoryDefinition] = None, request_configuration: Optional[DirectoryDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DirectoryDefinition] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 2a5d9ca67cb..ac586fc8044 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DiscoverRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryDefinition]: """ - Discover the latest schema definition for provisioning to an application. This API is available in the following national cloud deployments. + Discover the latest schema definition for provisioning to an application. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryDefinition] Find more info here: https://learn.microsoft.com/graph/api/synchronization-directorydefinition-discover?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[DiscoverRequestBuilderPostRe def to_post_request_information(self,request_configuration: Optional[DiscoverRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Discover the latest schema definition for provisioning to an application. This API is available in the following national cloud deployments. + Discover the latest schema definition for provisioning to an application. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[DiscoverReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DiscoverRequestBuilder: 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 a4d2dd249e2..6b3f96e75d1 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterOperat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterOperatorsRequestBuilder: 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 e79052fada2..3e8d835cf6f 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FunctionsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FunctionsRequestBuilder: 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 8d046a4ab2e..c8a57b2e278 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ParseExpressionPostRequestBody] = None, request_configuration: Optional[ParseExpressionRequestBuilderPostRequestConfiguration] = None) -> Optional[ParseExpressionResponse]: """ - Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. This API is available in the following national cloud deployments. + Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ParseExpressionResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[ParseExpressionPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[ParseExpressionPostRequestBody] = None, request_configuration: Optional[ParseExpressionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. This API is available in the following national cloud deployments. + Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[ParseExpressionPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 e766b0015f6..edb4a3ed813 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 @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[SchemaReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SchemaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[SchemaReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SynchronizationSchema] = None, request_configuration: Optional[SchemaRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[SynchronizationSchema] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 9d1f18f70ff..a38a076df4f 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 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[SynchronizationTemplateItemRe async def patch(self,body: Optional[SynchronizationTemplate] = None, request_configuration: Optional[SynchronizationTemplateItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[SynchronizationTemplate]: """ - Update (override) the synchronization template associated with a given application. This API is available in the following national cloud deployments. + Update (override) the synchronization template associated with a given application. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SynchronizationTemplate] @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Synchroni request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SynchronizationTemplateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[Synchronizat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SynchronizationTemplate] = None, request_configuration: Optional[SynchronizationTemplateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update (override) the synchronization template associated with a given application. This API is available in the following national cloud deployments. + Update (override) the synchronization template associated with a given application. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[SynchronizationTemplate] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 dbf6881be7e..afd3b023c4f 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 @@ -45,7 +45,7 @@ def by_synchronization_template_id(self,synchronization_template_id: str) -> Syn async def get(self,request_configuration: Optional[TemplatesRequestBuilderGetRequestConfiguration] = None) -> Optional[SynchronizationTemplateCollectionResponse]: """ - List the synchronization templates associated with a given application or service principal. This API is available in the following national cloud deployments. + List the synchronization templates associated with a given application or service principal. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SynchronizationTemplateCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/synchronization-synchronization-list-templates?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[SynchronizationTemplate] = None, request_conf def to_get_request_information(self,request_configuration: Optional[TemplatesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the synchronization templates associated with a given application or service principal. This API is available in the following national cloud deployments. + List the synchronization templates associated with a given application or service principal. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[TemplatesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SynchronizationTemplate] = None, request_configuration: Optional[TemplatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SynchronizationTemplate] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TemplatesRequestBuilderGetQueryParameters(): """ - List the synchronization templates associated with a given application or service principal. This API is available in the following national cloud deployments. + List the synchronization templates associated with a given application or service principal. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/service_principals/item/token_issuance_policies/item/token_issuance_policy_item_request_builder.py b/msgraph_beta/generated/service_principals/item/token_issuance_policies/item/token_issuance_policy_item_request_builder.py index 03a363de8a2..801a7c3e970 100644 --- a/msgraph_beta/generated/service_principals/item/token_issuance_policies/item/token_issuance_policy_item_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/token_issuance_policies/item/token_issuance_policy_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TokenIssuanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TokenIssuancePolicyItemRequestBuilder: 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 e5414859f4b..9a6eed76846 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 @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[TokenIssuanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TokenIssuancePoliciesRequestBuilder: diff --git a/msgraph_beta/generated/service_principals/item/token_lifetime_policies/item/token_lifetime_policy_item_request_builder.py b/msgraph_beta/generated/service_principals/item/token_lifetime_policies/item/token_lifetime_policy_item_request_builder.py index 1ae1cfa0554..a6f58416c36 100644 --- a/msgraph_beta/generated/service_principals/item/token_lifetime_policies/item/token_lifetime_policy_item_request_builder.py +++ b/msgraph_beta/generated/service_principals/item/token_lifetime_policies/item/token_lifetime_policy_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TokenLifetim request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TokenLifetimePolicyItemRequestBuilder: 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 449e0a26ecc..06387e149be 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 @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[TokenLifetim request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TokenLifetimePoliciesRequestBuilder: 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 a81f088f012..83f00876b59 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 @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAdminis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAdministrativeUnitRequestBuilder: 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 8da6f8b3a51..866602da205 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 @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphDirecto request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphDirectoryRoleRequestBuilder: 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 9b9ea829b98..67e73b63fbc 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 @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: 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 1ebe1bbc8c5..e2fbd16e637 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: 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 87339ea19b5..e41147c478f 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAdminis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAdministrativeUnitRequestBuilder: 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 68831131e80..a1f0f2a11dc 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphDirecto request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphDirectoryRoleRequestBuilder: 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 632a767f06f..0e2387c7dc1 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 @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: 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 1254c652f64..ec4f48bb9c0 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 @@ -81,7 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[TransitiveMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TransitiveMemberOfRequestBuilder: 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 f3610723ed2..994e26b1476 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UpdatePasswordSingleSignOnCredentialsPostRequestBody] = None, request_configuration: Optional[UpdatePasswordSingleSignOnCredentialsRequestBuilderPostRequestConfiguration] = None) -> None: """ - Update single sign-on credentials using a password for a user or group. This API is available in the following national cloud deployments. + Update single sign-on credentials using a password for a user or group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[UpdatePasswordSingleSignOnCredentialsPostRequ def to_post_request_information(self,body: Optional[UpdatePasswordSingleSignOnCredentialsPostRequestBody] = None, request_configuration: Optional[UpdatePasswordSingleSignOnCredentialsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Update single sign-on credentials using a password for a user or group. This API is available in the following national cloud deployments. + Update single sign-on credentials using a password for a user or group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[UpdatePasswordSingleSignOnCr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 fb436a52409..e47299e2889 100644 --- a/msgraph_beta/generated/service_principals/service_principals_request_builder.py +++ b/msgraph_beta/generated/service_principals/service_principals_request_builder.py @@ -49,7 +49,7 @@ def by_service_principal_id(self,service_principal_id: str) -> ServicePrincipalI async def get(self,request_configuration: Optional[ServicePrincipalsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServicePrincipalCollectionResponse]: """ - Retrieve a list of servicePrincipal objects. This API is available in the following national cloud deployments. + Retrieve a list of servicePrincipal objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServicePrincipalCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-list?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[ServicePrincipalsRequestBuild async def post(self,body: Optional[ServicePrincipal] = None, request_configuration: Optional[ServicePrincipalsRequestBuilderPostRequestConfiguration] = None) -> Optional[ServicePrincipal]: """ - Create a new servicePrincipal object. This API is available in the following national cloud deployments. + Create a new servicePrincipal object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServicePrincipal] @@ -96,7 +96,7 @@ async def post(self,body: Optional[ServicePrincipal] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[ServicePrincipalsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of servicePrincipal objects. This API is available in the following national cloud deployments. + Retrieve a list of servicePrincipal objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_get_request_information(self,request_configuration: Optional[ServicePrinc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ServicePrincipal] = None, request_configuration: Optional[ServicePrincipalsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new servicePrincipal object. This API is available in the following national cloud deployments. + Create a new servicePrincipal object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -127,7 +127,7 @@ def to_post_request_information(self,body: Optional[ServicePrincipal] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ def validate_properties(self) -> ValidatePropertiesRequestBuilder: @dataclass class ServicePrincipalsRequestBuilderGetQueryParameters(): """ - Retrieve a list of servicePrincipal objects. This API is available in the following national cloud deployments. + Retrieve a list of servicePrincipal objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 1eb8feb51c0..7aab49c9bc9 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> None: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, re def to_post_request_information(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ValidatePropertiesPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 a36d8d69bc1..07243263c9a 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 @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ServicePrincipalsWithAppIdRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a servicePrincipal object. This API is available in the following national cloud deployments. + Delete a servicePrincipal object. 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/serviceprincipal-delete?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[ServicePrincipalsWithAppId async def get(self,request_configuration: Optional[ServicePrincipalsWithAppIdRequestBuilderGetRequestConfiguration] = None) -> Optional[ServicePrincipal]: """ - Retrieve the properties and relationships of a servicePrincipal object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a servicePrincipal object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServicePrincipal] Find more info here: https://learn.microsoft.com/graph/api/serviceprincipal-get?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[ServicePrincipalsWithAppIdReq async def patch(self,body: Optional[ServicePrincipal] = None, request_configuration: Optional[ServicePrincipalsWithAppIdRequestBuilderPatchRequestConfiguration] = None) -> Optional[ServicePrincipal]: """ - Update the properties of servicePrincipal object. This API is available in the following national cloud deployments. + Update the properties of servicePrincipal object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServicePrincipal] @@ -98,7 +98,7 @@ async def patch(self,body: Optional[ServicePrincipal] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[ServicePrincipalsWithAppIdRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a servicePrincipal object. This API is available in the following national cloud deployments. + Delete a servicePrincipal object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[ServicePr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ServicePrincipalsWithAppIdRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a servicePrincipal object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a servicePrincipal object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,12 +126,12 @@ def to_get_request_information(self,request_configuration: Optional[ServicePrinc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ServicePrincipal] = None, request_configuration: Optional[ServicePrincipalsWithAppIdRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of servicePrincipal object. This API is available in the following national cloud deployments. + Update the properties of servicePrincipal object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[ServicePrincipal] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -172,7 +172,7 @@ class ServicePrincipalsWithAppIdRequestBuilderDeleteRequestConfiguration(BaseReq @dataclass class ServicePrincipalsWithAppIdRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a servicePrincipal object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a servicePrincipal object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/settings/item/directory_setting_item_request_builder.py b/msgraph_beta/generated/settings/item/directory_setting_item_request_builder.py index 0fbeda5ea8f..59bb85cfc84 100644 --- a/msgraph_beta/generated/settings/item/directory_setting_item_request_builder.py +++ b/msgraph_beta/generated/settings/item/directory_setting_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[DirectorySettingItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a directory setting. This API is available in the following national cloud deployments. + Delete a directory setting. 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/directorysetting-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[DirectorySettingItemReques async def get(self,request_configuration: Optional[DirectorySettingItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectorySetting]: """ - Retrieve the properties of a specific directory setting object. This API is available in the following national cloud deployments. + Retrieve the properties of a specific directory setting object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectorySetting] Find more info here: https://learn.microsoft.com/graph/api/directorysetting-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[DirectorySettingItemRequestBu async def patch(self,body: Optional[DirectorySetting] = None, request_configuration: Optional[DirectorySettingItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[DirectorySetting]: """ - Update the properties of a specific directory setting object. This API is available in the following national cloud deployments. + Update the properties of a specific directory setting object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectorySetting] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[DirectorySetting] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[DirectorySettingItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a directory setting. This API is available in the following national cloud deployments. + Delete a directory setting. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Directory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DirectorySettingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of a specific directory setting object. This API is available in the following national cloud deployments. + Retrieve the properties of a specific directory setting object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[DirectorySet request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DirectorySetting] = None, request_configuration: Optional[DirectorySettingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a specific directory setting object. This API is available in the following national cloud deployments. + Update the properties of a specific directory setting object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[DirectorySetting] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class DirectorySettingItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class DirectorySettingItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties of a specific directory setting object. This API is available in the following national cloud deployments. + Retrieve the properties of a specific directory setting object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/settings/settings_request_builder.py b/msgraph_beta/generated/settings/settings_request_builder.py index 16b541c1163..1b4a3b623d2 100644 --- a/msgraph_beta/generated/settings/settings_request_builder.py +++ b/msgraph_beta/generated/settings/settings_request_builder.py @@ -45,7 +45,7 @@ def by_directory_setting_id(self,directory_setting_id: str) -> DirectorySettingI async def get(self,request_configuration: Optional[SettingsRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectorySettingCollectionResponse]: """ - Retrieve a list of tenant-level or group-specific group settings objects. This API is available in the following national cloud deployments. + Retrieve a list of tenant-level or group-specific group settings objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectorySettingCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/group-list-settings?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SettingsRequestBuilderGetRequ async def post(self,body: Optional[DirectorySetting] = None, request_configuration: Optional[SettingsRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectorySetting]: """ - Create a new setting based on the templates available in directorySettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. This API is available in the following national cloud deployments. + Create a new setting based on the templates available in directorySettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectorySetting] @@ -92,7 +92,7 @@ async def post(self,body: Optional[DirectorySetting] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[SettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of tenant-level or group-specific group settings objects. This API is available in the following national cloud deployments. + Retrieve a list of tenant-level or group-specific group settings objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SettingsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DirectorySetting] = None, request_configuration: Optional[SettingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new setting based on the templates available in directorySettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. This API is available in the following national cloud deployments. + Create a new setting based on the templates available in directorySettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[DirectorySetting] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SettingsRequestBuilderGetQueryParameters(): """ - Retrieve a list of tenant-level or group-specific group settings objects. This API is available in the following national cloud deployments. + Retrieve a list of tenant-level or group-specific group settings objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/shares/item/created_by_user/created_by_user_request_builder.py b/msgraph_beta/generated/shares/item/created_by_user/created_by_user_request_builder.py index 1515d12ec83..104cf69aa53 100644 --- a/msgraph_beta/generated/shares/item/created_by_user/created_by_user_request_builder.py +++ b/msgraph_beta/generated/shares/item/created_by_user/created_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[CreatedByUse request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreatedByUserRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/shares/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py index f20449e5d7c..6acc40515a1 100644 --- a/msgraph_beta/generated/shares/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/shares/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/shares/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index ae7fb15a635..83de245bf3c 100644 --- a/msgraph_beta/generated/shares/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/shares/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/shares/item/drive_item/content/content_request_builder.py b/msgraph_beta/generated/shares/item/drive_item/content/content_request_builder.py index 2ee3a773e12..6c2a4fc822e 100644 --- a/msgraph_beta/generated/shares/item/drive_item/content/content_request_builder.py +++ b/msgraph_beta/generated/shares/item/drive_item/content/content_request_builder.py @@ -83,7 +83,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -102,7 +102,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/shares/item/drive_item/drive_item_request_builder.py b/msgraph_beta/generated/shares/item/drive_item/drive_item_request_builder.py index 3013ff3de0b..6f5b927bfa2 100644 --- a/msgraph_beta/generated/shares/item/drive_item/drive_item_request_builder.py +++ b/msgraph_beta/generated/shares/item/drive_item/drive_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DriveItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DriveItem]: """ - Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. This API is available in the following national cloud deployments. + Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] Find more info here: https://learn.microsoft.com/graph/api/shares-get?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[DriveItemRequestBuilderGetReq def to_get_request_information(self,request_configuration: Optional[DriveItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. This API is available in the following national cloud deployments. + Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveItemRequestBuilder: @@ -88,7 +88,7 @@ def content(self) -> ContentRequestBuilder: @dataclass class DriveItemRequestBuilderGetQueryParameters(): """ - Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. This API is available in the following national cloud deployments. + Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/shares/item/items/item/content/content_request_builder.py b/msgraph_beta/generated/shares/item/items/item/content/content_request_builder.py index d0d708f4b73..1f7e0a8def6 100644 --- a/msgraph_beta/generated/shares/item/items/item/content/content_request_builder.py +++ b/msgraph_beta/generated/shares/item/items/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/shares/item/items/item/drive_item_item_request_builder.py b/msgraph_beta/generated/shares/item/items/item/drive_item_item_request_builder.py index cebc7d60165..6340224fe15 100644 --- a/msgraph_beta/generated/shares/item/items/item/drive_item_item_request_builder.py +++ b/msgraph_beta/generated/shares/item/items/item/drive_item_item_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveItemIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveItemItemRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/items/items_request_builder.py b/msgraph_beta/generated/shares/item/items/items_request_builder.py index 20073f0118a..a13c57f409b 100644 --- a/msgraph_beta/generated/shares/item/items/items_request_builder.py +++ b/msgraph_beta/generated/shares/item/items/items_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ItemsRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/last_modified_by_user/last_modified_by_user_request_builder.py b/msgraph_beta/generated/shares/item/last_modified_by_user/last_modified_by_user_request_builder.py index 7c03a9e102b..de7be9b914d 100644 --- a/msgraph_beta/generated/shares/item/last_modified_by_user/last_modified_by_user_request_builder.py +++ b/msgraph_beta/generated/shares/item/last_modified_by_user/last_modified_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[LastModified request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastModifiedByUserRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/shares/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py index 8d5c3da2236..b080f8e87c3 100644 --- a/msgraph_beta/generated/shares/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/shares/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/shares/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index aa064f1e431..572bc65e3ca 100644 --- a/msgraph_beta/generated/shares/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/shares/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/shares/item/list_/activities/activities_request_builder.py b/msgraph_beta/generated/shares/item/list_/activities/activities_request_builder.py index 966c4832d08..ab54628f0fe 100644 --- a/msgraph_beta/generated/shares/item/list_/activities/activities_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/activities/activities_request_builder.py @@ -86,7 +86,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivitiesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ItemActivityOLD] = None, request_configuration: Optional[ActivitiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ItemActivityOLD] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/list_/columns/columns_request_builder.py b/msgraph_beta/generated/shares/item/list_/columns/columns_request_builder.py index 36f07ac6ed8..290a4a04108 100644 --- a/msgraph_beta/generated/shares/item/list_/columns/columns_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/columns/columns_request_builder.py @@ -45,7 +45,7 @@ def by_column_definition_id(self,column_definition_id: str) -> ColumnDefinitionI async def get(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> Optional[ColumnDefinitionCollectionResponse]: """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [list][list]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [list][list]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/list-list-columns?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ColumnsRequestBuilderGetReque async def post(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Create a column for a list][list] with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ColumnDefinition] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [list][list]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [list][list]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ColumnsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a column for a list][list] with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ColumnDefinition] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ColumnsRequestBuilderGetQueryParameters(): """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [list][list]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [list][list]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/shares/item/list_/columns/item/column_definition_item_request_builder.py b/msgraph_beta/generated/shares/item/list_/columns/item/column_definition_item_request_builder.py index bff35097d5b..b6fd299aaa8 100644 --- a/msgraph_beta/generated/shares/item/list_/columns/item/column_definition_item_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/columns/item/column_definition_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ColumnDef request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnDefini request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/list_/columns/item/source_column/source_column_request_builder.py b/msgraph_beta/generated/shares/item/list_/columns/item/source_column/source_column_request_builder.py index 096c3316d82..3db17788933 100644 --- a/msgraph_beta/generated/shares/item/list_/columns/item/source_column/source_column_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/columns/item/source_column/source_column_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SourceColumn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SourceColumnRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/list_/content_types/add_copy/add_copy_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/add_copy/add_copy_request_builder.py index 385f07b98e1..004d0145af8 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/add_copy/add_copy_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/add_copy/add_copy_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddCopyPostRequestBody] = None, request_configuration: Optional[AddCopyRequestBuilderPostRequestConfiguration] = None) -> Optional[ContentType]: """ - Add a copy of a content type][contentType] from a [site][site] to a [list][list]. This API is available in the following [national cloud deployments. + Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentType] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddCopyPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[AddCopyPostRequestBody] = None, request_configuration: Optional[AddCopyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a copy of a content type][contentType] from a [site][site] to a [list][list]. This API is available in the following [national cloud deployments. + Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddCopyPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/list_/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.py index eaf210dad41..06f094101d6 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddCopyFromContentTypeHubPostRequestBody] = None, request_configuration: Optional[AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration] = None) -> Optional[ContentType]: """ - Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. This API is available in the following national cloud deployments. + Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentType] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddCopyFromContentTypeHubPostRequestBody] = N def to_post_request_information(self,body: Optional[AddCopyFromContentTypeHubPostRequestBody] = None, request_configuration: Optional[AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. This API is available in the following national cloud deployments. + Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddCopyFromContentTypeHubPos request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/list_/content_types/content_types_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/content_types_request_builder.py index 4908a90fef7..47731fa64d2 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/content_types_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/content_types_request_builder.py @@ -48,7 +48,7 @@ def by_content_type_id(self,content_type_id: str) -> ContentTypeItemRequestBuild async def get(self,request_configuration: Optional[ContentTypesRequestBuilderGetRequestConfiguration] = None) -> Optional[ContentTypeCollectionResponse]: """ - Get the collection of contentType][contentType] resources in a [list][]. This API is available in the following [national cloud deployments. + Get the collection of [contentType][contentType] resources in a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentTypeCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/list-list-contenttypes?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def post(self,body: Optional[ContentType] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[ContentTypesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the collection of contentType][contentType] resources in a [list][]. This API is available in the following [national cloud deployments. + Get the collection of [contentType][contentType] resources in a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,7 +106,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentTypes request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ContentType] = None, request_configuration: Optional[ContentTypesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_post_request_information(self,body: Optional[ContentType] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ def get_compatible_hub_content_types(self) -> GetCompatibleHubContentTypesReques @dataclass class ContentTypesRequestBuilderGetQueryParameters(): """ - Get the collection of contentType][contentType] resources in a [list][]. This API is available in the following [national cloud deployments. + Get the collection of [contentType][contentType] resources in a [list][]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/shares/item/list_/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_request_builder.py index a050cd89853..3cfe77839d5 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetCompatibl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetCompatibleHubContentTypesRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/list_/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py index 3d0467a9c76..bf9e5a04388 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, request_configuration: Optional[AssociateWithHubSitesRequestBuilderPostRequestConfiguration] = None) -> None: """ - Associate a content type][contentType] with a list of hub sites. This API is available in the following [national cloud deployments. + Associate a [content type][contentType] with a list of hub sites. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, def to_post_request_information(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, request_configuration: Optional[AssociateWithHubSitesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Associate a content type][contentType] with a list of hub sites. This API is available in the following [national cloud deployments. + Associate a [content type][contentType] with a list of hub sites. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AssociateWithHubSitesPostReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/list_/content_types/item/base/base_request_builder_.py b/msgraph_beta/generated/shares/item/list_/content_types/item/base/base_request_builder_.py index 5ba465ebac4..0825aa48f4f 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/item/base/base_request_builder_.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/item/base/base_request_builder_.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[BaseRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> BaseRequestBuilder_: diff --git a/msgraph_beta/generated/shares/item/list_/content_types/item/base_types/base_types_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/item/base_types/base_types_request_builder.py index 597ef2a2765..dad2a46ece7 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/item/base_types/base_types_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/item/base_types/base_types_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[BaseTypesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> BaseTypesRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/list_/content_types/item/base_types/item/content_type_item_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/item/base_types/item/content_type_item_request_builder.py index 283b8192302..556c90adf34 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/item/base_types/item/content_type_item_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/item/base_types/item/content_type_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentTypeI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ContentTypeItemRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/list_/content_types/item/column_links/column_links_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/item/column_links/column_links_request_builder.py index 28f0db3380c..cf88aa01001 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/item/column_links/column_links_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/item/column_links/column_links_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnLinksR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ColumnLink] = None, request_configuration: Optional[ColumnLinksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ColumnLink] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/list_/content_types/item/column_links/item/column_link_item_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/item/column_links/item/column_link_item_request_builder.py index cf585737f83..e31bf1a4e85 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/item/column_links/item/column_link_item_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/item/column_links/item/column_link_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ColumnLin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ColumnLinkItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnLinkIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ColumnLink] = None, request_configuration: Optional[ColumnLinkItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ColumnLink] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/list_/content_types/item/column_positions/column_positions_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/item/column_positions/column_positions_request_builder.py index dcc1973cf79..dbf314fde08 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/item/column_positions/column_positions_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/item/column_positions/column_positions_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnPositi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ColumnPositionsRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/list_/content_types/item/column_positions/item/column_definition_item_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/item/column_positions/item/column_definition_item_request_builder.py index e7a07b57fee..7fe33063212 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/item/column_positions/item/column_definition_item_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/item/column_positions/item/column_definition_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnDefini request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ColumnDefinitionItemRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/list_/content_types/item/columns/columns_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/item/columns/columns_request_builder.py index c58f3faa33a..d10b2b0e913 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/item/columns/columns_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/item/columns/columns_request_builder.py @@ -45,7 +45,7 @@ def by_column_definition_id(self,column_definition_id: str) -> ColumnDefinitionI async def get(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> Optional[ColumnDefinitionCollectionResponse]: """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [content type][contentType]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/contenttype-list-columns?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ColumnsRequestBuilderGetReque async def post(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Add a column to a content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + Add a column to a [content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ColumnDefinition] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [content type][contentType]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ColumnsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a column to a content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + Add a column to a [content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ColumnDefinition] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ColumnsRequestBuilderGetQueryParameters(): """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [content type][contentType]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/shares/item/list_/content_types/item/columns/item/column_definition_item_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/item/columns/item/column_definition_item_request_builder.py index 5030a2e519f..f3777d4de63 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/item/columns/item/column_definition_item_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/item/columns/item/column_definition_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a column][columndefinition] from a [site][], [list][] or [content type][contentType]. This API is available in the following [national cloud deployments. + Remove a [column][columndefinition] from a [site][], [list][] or [content type][contentType]. 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/columndefinition-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[ColumnDefinitionItemReques async def get(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Retrieve the metadata for a site][], [list][] or [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] Find more info here: https://learn.microsoft.com/graph/api/columndefinition-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[ColumnDefinitionItemRequestBu async def patch(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Update a site][], [list][] or [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Update a [site][], [list][] or [content type][contentType] [column][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[ColumnDefinition] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a column][columndefinition] from a [site][], [list][] or [content type][contentType]. This API is available in the following [national cloud deployments. + Remove a [column][columndefinition] from a [site][], [list][] or [content type][contentType]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[ColumnDef request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the metadata for a site][], [list][] or [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[ColumnDefini request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update a site][], [list][] or [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Update a [site][], [list][] or [content type][contentType] [column][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class ColumnDefinitionItemRequestBuilderGetQueryParameters(): """ - Retrieve the metadata for a site][], [list][] or [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/shares/item/list_/content_types/item/columns/item/source_column/source_column_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/item/columns/item/source_column/source_column_request_builder.py index 0d903e839e5..c5e9b6b29e8 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/item/columns/item/source_column/source_column_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/item/columns/item/source_column/source_column_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SourceColumn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SourceColumnRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/list_/content_types/item/content_type_item_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/item/content_type_item_request_builder.py index 79d189ab8ae..488a6af0d03 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/item/content_type_item_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/item/content_type_item_request_builder.py @@ -113,7 +113,7 @@ def to_delete_request_information(self,request_configuration: Optional[ContentTy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ContentTypeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -130,7 +130,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentTypeI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ContentType] = None, request_configuration: Optional[ContentTypeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -149,7 +149,7 @@ def to_patch_request_information(self,body: Optional[ContentType] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/list_/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py index ef1735b1771..c4180860253 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] = None, request_configuration: Optional[CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration] = None) -> None: """ - Copy a file to a default content location in a content type][contentType]. The file can then be added as a default file or template via a POST operation. This API is available in the following [national cloud deployments. + Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] def to_post_request_information(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] = None, request_configuration: Optional[CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a file to a default content location in a content type][contentType]. The file can then be added as a default file or template via a POST operation. This API is available in the following [national cloud deployments. + Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CopyToDefaultContentLocation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/list_/content_types/item/is_published/is_published_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/item/is_published/is_published_request_builder.py index ff7635af4a8..58a58769ec8 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/item/is_published/is_published_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/item/is_published/is_published_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[IsPublishedR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IsPublishedRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/list_/content_types/item/publish/publish_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/item/publish/publish_request_builder.py index 243903119a3..7614f14cd6a 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/item/publish/publish_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/item/publish/publish_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[PublishRequestBuilderPostRequestConfiguration] = None) -> None: """ - Publishes a contentType][] present in a content type hub site. This API is available in the following [national cloud deployments. + Publishes a [contentType][] present in a content type hub site. 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/contenttype-publish?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[PublishRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[PublishRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Publishes a contentType][] present in a content type hub site. This API is available in the following [national cloud deployments. + Publishes a [contentType][] present in a content type hub site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[PublishRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PublishRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/list_/content_types/item/unpublish/unpublish_request_builder.py b/msgraph_beta/generated/shares/item/list_/content_types/item/unpublish/unpublish_request_builder.py index 22e4767b272..3dfe528f355 100644 --- a/msgraph_beta/generated/shares/item/list_/content_types/item/unpublish/unpublish_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/content_types/item/unpublish/unpublish_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UnpublishRequestBuilderPostRequestConfiguration] = None) -> None: """ - Unpublish a contentType][] from a content type hub site. This API is available in the following [national cloud deployments. + Unpublish a [contentType][] from a content type hub site. 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/contenttype-unpublish?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UnpublishRequestBuilderPostR def to_post_request_information(self,request_configuration: Optional[UnpublishRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Unpublish a contentType][] from a content type hub site. This API is available in the following [national cloud deployments. + Unpublish a [contentType][] from a content type hub site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UnpublishRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnpublishRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/list_/created_by_user/created_by_user_request_builder.py b/msgraph_beta/generated/shares/item/list_/created_by_user/created_by_user_request_builder.py index 9a4ddeb98d7..8f94200849c 100644 --- a/msgraph_beta/generated/shares/item/list_/created_by_user/created_by_user_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/created_by_user/created_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[CreatedByUse request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreatedByUserRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/list_/created_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/shares/item/list_/created_by_user/mailbox_settings/mailbox_settings_request_builder.py index ee670b99020..71519575162 100644 --- a/msgraph_beta/generated/shares/item/list_/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/created_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/list_/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/shares/item/list_/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index a8d2aa8847f..b02a217d295 100644 --- a/msgraph_beta/generated/shares/item/list_/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/shares/item/list_/drive/drive_request_builder.py b/msgraph_beta/generated/shares/item/list_/drive/drive_request_builder.py index 54d5acca040..d773784ead4 100644 --- a/msgraph_beta/generated/shares/item/list_/drive/drive_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/drive/drive_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/list_/items/delta/delta_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/delta/delta_request_builder.py index c5fb99092fe..6626c0b3c98 100644 --- a/msgraph_beta/generated/shares/item/list_/items/delta/delta_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/list_/items/delta_with_token/delta_with_token_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/delta_with_token/delta_with_token_request_builder.py index e55fdfc7a98..36ab72716a8 100644 --- a/msgraph_beta/generated/shares/item/list_/items/delta_with_token/delta_with_token_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/delta_with_token/delta_with_token_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaWithTok request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaWithTokenRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/list_/items/item/activities/activities_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/activities/activities_request_builder.py index 86ad2c3bea3..c07b900ffdc 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/activities/activities_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/activities/activities_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivitiesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ItemActivityOLD] = None, request_configuration: Optional[ActivitiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ItemActivityOLD] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/list_/items/item/activities/item/drive_item/content/content_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/activities/item/drive_item/content/content_request_builder.py index a7520795d41..32523bc1cd5 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/activities/item/drive_item/content/content_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/activities/item/drive_item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/shares/item/list_/items/item/activities/item/drive_item/drive_item_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/activities/item/drive_item/drive_item_request_builder.py index 01a721ad66c..4a9cc70ead3 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/activities/item/drive_item/drive_item_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/activities/item/drive_item/drive_item_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveItemRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/list_/items/item/activities/item/item_activity_o_l_d_item_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/activities/item/item_activity_o_l_d_item_request_builder.py index 7465f6fed65..d0b15526843 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/activities/item/item_activity_o_l_d_item_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/activities/item/item_activity_o_l_d_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemActiv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemActivityOLDItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemActivity request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemActivityOLD] = None, request_configuration: Optional[ItemActivityOLDItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ItemActivityOLD] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/list_/items/item/activities/item/list_item/list_item_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/activities/item/list_item/list_item_request_builder.py index 90ebd22f723..dd8b059283a 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/activities/item/list_item/list_item_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/activities/item/list_item/list_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ListItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ListItemRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/list_/items/item/analytics/analytics_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/analytics/analytics_request_builder.py index d9a1c516196..4dfc8cc4684 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/analytics/analytics_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/analytics/analytics_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AnalyticsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AnalyticsRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/list_/items/item/create_link/create_link_post_request_body.py b/msgraph_beta/generated/shares/item/list_/items/item/create_link/create_link_post_request_body.py index af36bfbd9d1..da4d09f02fb 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/create_link/create_link_post_request_body.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/create_link/create_link_post_request_body.py @@ -17,6 +17,8 @@ class CreateLinkPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): additional_data: Dict[str, Any] = field(default_factory=dict) # The expirationDateTime property expiration_date_time: Optional[datetime.datetime] = None + # The message property + message: Optional[str] = None # The password property password: Optional[str] = None # The recipients property @@ -52,6 +54,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "expirationDateTime": lambda n : setattr(self, 'expiration_date_time', n.get_datetime_value()), + "message": lambda n : setattr(self, 'message', n.get_str_value()), "password": lambda n : setattr(self, 'password', n.get_str_value()), "recipients": lambda n : setattr(self, 'recipients', n.get_collection_of_object_values(DriveRecipient)), "retainInheritedPermissions": lambda n : setattr(self, 'retain_inherited_permissions', n.get_bool_value()), @@ -70,6 +73,7 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") writer.write_datetime_value("expirationDateTime", self.expiration_date_time) + writer.write_str_value("message", self.message) writer.write_str_value("password", self.password) writer.write_collection_of_object_values("recipients", self.recipients) writer.write_bool_value("retainInheritedPermissions", self.retain_inherited_permissions) diff --git a/msgraph_beta/generated/shares/item/list_/items/item/create_link/create_link_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/create_link/create_link_request_builder.py index 1d719b8865b..4c18eddce93 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/create_link/create_link_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/create_link/create_link_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateLinkPostRequestBody] = None, request_configuration: Optional[CreateLinkRequestBuilderPostRequestConfiguration] = None) -> Optional[Permission]: """ - Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action will return the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. This API is available in the following national cloud deployments. + Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action will return the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Permission] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateLinkPostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[CreateLinkPostRequestBody] = None, request_configuration: Optional[CreateLinkRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action will return the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. This API is available in the following national cloud deployments. + Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action will return the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateLinkPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/list_/items/item/created_by_user/created_by_user_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/created_by_user/created_by_user_request_builder.py index 2f63347de0f..9ffb976f82c 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/created_by_user/created_by_user_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/created_by_user/created_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[CreatedByUse request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreatedByUserRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/list_/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py index 581db8a6d32..88e58e63b2a 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/list_/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index 6ae26ef50fb..79c727a19c6 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/shares/item/list_/items/item/document_set_versions/document_set_versions_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/document_set_versions/document_set_versions_request_builder.py index 0db559d65cc..27e2be43034 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/document_set_versions/document_set_versions_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/document_set_versions/document_set_versions_request_builder.py @@ -45,7 +45,7 @@ def by_document_set_version_id(self,document_set_version_id: str) -> DocumentSet async def get(self,request_configuration: Optional[DocumentSetVersionsRequestBuilderGetRequestConfiguration] = None) -> Optional[DocumentSetVersionCollectionResponse]: """ - Get a list of the versions of a document set item in a list. This API is available in the following national cloud deployments. + Get a list of the versions of a document set item in a list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DocumentSetVersionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/listitem-list-documentsetversions?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[DocumentSetVersionsRequestBui async def post(self,body: Optional[DocumentSetVersion] = None, request_configuration: Optional[DocumentSetVersionsRequestBuilderPostRequestConfiguration] = None) -> Optional[DocumentSetVersion]: """ - Create a new version of a document set item in a list. This API is available in the following national cloud deployments. + Create a new version of a document set item in a list. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DocumentSetVersion] @@ -92,7 +92,7 @@ async def post(self,body: Optional[DocumentSetVersion] = None, request_configura def to_get_request_information(self,request_configuration: Optional[DocumentSetVersionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the versions of a document set item in a list. This API is available in the following national cloud deployments. + Get a list of the versions of a document set item in a list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[DocumentSetV request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DocumentSetVersion] = None, request_configuration: Optional[DocumentSetVersionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new version of a document set item in a list. This API is available in the following national cloud deployments. + Create a new version of a document set item in a list. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[DocumentSetVersion] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DocumentSetVersionsRequestBuilderGetQueryParameters(): """ - Get a list of the versions of a document set item in a list. This API is available in the following national cloud deployments. + Get a list of the versions of a document set item in a list. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/shares/item/list_/items/item/document_set_versions/item/document_set_version_item_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/document_set_versions/item/document_set_version_item_request_builder.py index 82107e5a23c..4e7f96d9114 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/document_set_versions/item/document_set_version_item_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/document_set_versions/item/document_set_version_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a version of a document set in a list. This API is available in the following national cloud deployments. + Delete a version of a document set in a list. 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/documentsetversion-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[DocumentSetVersionItemRequ async def get(self,request_configuration: Optional[DocumentSetVersionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DocumentSetVersion]: """ - Read the properties and relationships of a documentSetVersion object. This API is available in the following national cloud deployments. + Read the properties and relationships of a documentSetVersion object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DocumentSetVersion] Find more info here: https://learn.microsoft.com/graph/api/documentsetversion-get?view=graph-rest-1.0 @@ -96,7 +96,7 @@ async def patch(self,body: Optional[DocumentSetVersion] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a version of a document set in a list. This API is available in the following national cloud deployments. + Delete a version of a document set in a list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[DocumentS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DocumentSetVersionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a documentSetVersion object. This API is available in the following national cloud deployments. + Read the properties and relationships of a documentSetVersion object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[DocumentSetV request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DocumentSetVersion] = None, request_configuration: Optional[DocumentSetVersionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[DocumentSetVersion] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ class DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class DocumentSetVersionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a documentSetVersion object. This API is available in the following national cloud deployments. + Read the properties and relationships of a documentSetVersion object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/shares/item/list_/items/item/document_set_versions/item/fields/fields_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/document_set_versions/item/fields/fields_request_builder.py index d6e530e40fe..54d0e7d84a7 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/document_set_versions/item/fields/fields_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/document_set_versions/item/fields/fields_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[FieldsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FieldsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[FieldsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[FieldValueSet] = None, request_configuration: Optional[FieldsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[FieldValueSet] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/list_/items/item/document_set_versions/item/restore/restore_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/document_set_versions/item/restore/restore_request_builder.py index b26c0311dd9..0e6b1373386 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/document_set_versions/item/restore/restore_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/document_set_versions/item/restore/restore_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> None: """ - Restore a document set version. This API is available in the following national cloud deployments. + Restore a document set version. 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/documentsetversion-restore?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RestoreRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a document set version. This API is available in the following national cloud deployments. + Restore a document set version. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RestoreRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RestoreRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/list_/items/item/drive_item/content/content_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/drive_item/content/content_request_builder.py index c7026c8a469..7de531eb695 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/drive_item/content/content_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/drive_item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/shares/item/list_/items/item/drive_item/drive_item_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/drive_item/drive_item_request_builder.py index ca67b4ec2db..9f900bc3088 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/drive_item/drive_item_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/drive_item/drive_item_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveItemRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/list_/items/item/fields/fields_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/fields/fields_request_builder.py index 6aa83d08a87..ace124b3363 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/fields/fields_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/fields/fields_request_builder.py @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[FieldsRequestBuilderGetReques async def patch(self,body: Optional[FieldValueSet] = None, request_configuration: Optional[FieldsRequestBuilderPatchRequestConfiguration] = None) -> Optional[FieldValueSet]: """ - Update the properties on a listItem][]. This API is available in the following [national cloud deployments. + Update the properties on a [listItem][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FieldValueSet] @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[FieldsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FieldsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,12 +121,12 @@ def to_get_request_information(self,request_configuration: Optional[FieldsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[FieldValueSet] = None, request_configuration: Optional[FieldsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties on a listItem][]. This API is available in the following [national cloud deployments. + Update the properties on a [listItem][]. 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 to_patch_request_information(self,body: Optional[FieldValueSet] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/list_/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.py index 052a6b2f8f4..e8ce745267b 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.py @@ -68,7 +68,7 @@ def to_get_request_information(self,request_configuration: Optional[GetActivitie request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/list_/items/item/last_modified_by_user/last_modified_by_user_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/last_modified_by_user/last_modified_by_user_request_builder.py index 705795f74db..8edc97900a6 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/last_modified_by_user/last_modified_by_user_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/last_modified_by_user/last_modified_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[LastModified request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastModifiedByUserRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/list_/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py index 494dd83e178..0868b4b13d0 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/list_/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index 41b85dda30b..07089b69a8b 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/shares/item/list_/items/item/list_item_item_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/list_item_item_request_builder.py index 91f09413c54..4846e4366f0 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/list_item_item_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/list_item_item_request_builder.py @@ -38,7 +38,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ListItemItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Removes an item from a list][]. This API is available in the following [national cloud deployments. + Removes an item from a [list][]. 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/listitem-delete?view=graph-rest-1.0 @@ -58,7 +58,7 @@ async def delete(self,request_configuration: Optional[ListItemItemRequestBuilder async def get(self,request_configuration: Optional[ListItemItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ListItem]: """ - Returns the metadata for an item][] in a [list][]. This API is available in the following [national cloud deployments. + Returns the metadata for an [item][] in a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ListItem] Find more info here: https://learn.microsoft.com/graph/api/listitem-get?view=graph-rest-1.0 @@ -122,7 +122,7 @@ async def patch(self,body: Optional[ListItem] = None, request_configuration: Opt def to_delete_request_information(self,request_configuration: Optional[ListItemItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Removes an item from a list][]. This API is available in the following [national cloud deployments. + Removes an item from a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -133,12 +133,12 @@ def to_delete_request_information(self,request_configuration: Optional[ListItemI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ListItemItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Returns the metadata for an item][] in a [list][]. This API is available in the following [national cloud deployments. + Returns the metadata for an [item][] in a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -150,7 +150,7 @@ def to_get_request_information(self,request_configuration: Optional[ListItemItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ListItem] = None, request_configuration: Optional[ListItemItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -169,7 +169,7 @@ def to_patch_request_information(self,body: Optional[ListItem] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -277,7 +277,7 @@ class ListItemItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class ListItemItemRequestBuilderGetQueryParameters(): """ - Returns the metadata for an item][] in a [list][]. This API is available in the following [national cloud deployments. + Returns the metadata for an [item][] in a [list][]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/shares/item/list_/items/item/versions/item/fields/fields_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/versions/item/fields/fields_request_builder.py index dc45e2f2e6b..602342cbb74 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/versions/item/fields/fields_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/versions/item/fields/fields_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[FieldsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FieldsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[FieldsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[FieldValueSet] = None, request_configuration: Optional[FieldsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[FieldValueSet] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/list_/items/item/versions/item/list_item_version_item_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/versions/item/list_item_version_item_request_builder.py index 548993d008d..9efeb7c557f 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/versions/item/list_item_version_item_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/versions/item/list_item_version_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ListItemV request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ListItemVersionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ListItemVers request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ListItemVersion] = None, request_configuration: Optional[ListItemVersionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ListItemVersion] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/list_/items/item/versions/item/restore_version/restore_version_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/versions/item/restore_version/restore_version_request_builder.py index d99e52eee23..80b7b5dd1d9 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/versions/item/restore_version/restore_version_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/versions/item/restore_version/restore_version_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RestoreVers request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RestoreVersionRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/list_/items/item/versions/versions_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/item/versions/versions_request_builder.py index 5079ba61ffa..0ff66c35f74 100644 --- a/msgraph_beta/generated/shares/item/list_/items/item/versions/versions_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/item/versions/versions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[VersionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ListItemVersion] = None, request_configuration: Optional[VersionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ListItemVersion] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/list_/items/items_request_builder.py b/msgraph_beta/generated/shares/item/list_/items/items_request_builder.py index 8ec9fefdd12..251efc6d3de 100644 --- a/msgraph_beta/generated/shares/item/list_/items/items_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/items/items_request_builder.py @@ -58,7 +58,7 @@ def delta_with_token(self,token: Optional[str] = None) -> DeltaWithTokenRequestB async def get(self,request_configuration: Optional[ItemsRequestBuilderGetRequestConfiguration] = None) -> Optional[ListItemCollectionResponse]: """ - Get the collection of items][item] in a [list][]. This API is available in the following [national cloud deployments. + Get the collection of [items][item] in a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ListItemCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/listitem-list?view=graph-rest-1.0 @@ -80,7 +80,7 @@ async def get(self,request_configuration: Optional[ItemsRequestBuilderGetRequest async def post(self,body: Optional[ListItem] = None, request_configuration: Optional[ItemsRequestBuilderPostRequestConfiguration] = None) -> Optional[ListItem]: """ - Create a new listItem][] in a [list][]. This API is available in the following [national cloud deployments. + Create a new [listItem][] in a [list][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ListItem] @@ -105,7 +105,7 @@ async def post(self,body: Optional[ListItem] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[ItemsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the collection of items][item] in a [list][]. This API is available in the following [national cloud deployments. + Get the collection of [items][item] in a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,12 +117,12 @@ def to_get_request_information(self,request_configuration: Optional[ItemsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ListItem] = None, request_configuration: Optional[ItemsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new listItem][] in a [list][]. This API is available in the following [national cloud deployments. + Create a new [listItem][] in a [list][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -136,7 +136,7 @@ def to_post_request_information(self,body: Optional[ListItem] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -162,7 +162,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class ItemsRequestBuilderGetQueryParameters(): """ - Get the collection of items][item] in a [list][]. This API is available in the following [national cloud deployments. + Get the collection of [items][item] in a [list][]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/shares/item/list_/last_modified_by_user/last_modified_by_user_request_builder.py b/msgraph_beta/generated/shares/item/list_/last_modified_by_user/last_modified_by_user_request_builder.py index 6c392ccd537..f6ec8a5724f 100644 --- a/msgraph_beta/generated/shares/item/list_/last_modified_by_user/last_modified_by_user_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/last_modified_by_user/last_modified_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[LastModified request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastModifiedByUserRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/list_/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/shares/item/list_/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py index 089344aca52..f2751445102 100644 --- a/msgraph_beta/generated/shares/item/list_/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/list_/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/shares/item/list_/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index cbbe7d3df7c..675cbbeb319 100644 --- a/msgraph_beta/generated/shares/item/list_/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/shares/item/list_/list_request_builder.py b/msgraph_beta/generated/shares/item/list_/list_request_builder.py index 8e15802ff57..b5e012eaf08 100644 --- a/msgraph_beta/generated/shares/item/list_/list_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/list_request_builder.py @@ -112,7 +112,7 @@ def to_delete_request_information(self,request_configuration: Optional[ListReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ListRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -129,7 +129,7 @@ def to_get_request_information(self,request_configuration: Optional[ListRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[List_] = None, request_configuration: Optional[ListRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -148,7 +148,7 @@ def to_patch_request_information(self,body: Optional[List_] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/list_/operations/item/rich_long_running_operation_item_request_builder.py b/msgraph_beta/generated/shares/item/list_/operations/item/rich_long_running_operation_item_request_builder.py index f894fa449bf..1ba0d7b383d 100644 --- a/msgraph_beta/generated/shares/item/list_/operations/item/rich_long_running_operation_item_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/operations/item/rich_long_running_operation_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RichLongR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RichLongRunningOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RichLongRunn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RichLongRunningOperation] = None, request_configuration: Optional[RichLongRunningOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[RichLongRunningOperation] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/list_/operations/operations_request_builder.py b/msgraph_beta/generated/shares/item/list_/operations/operations_request_builder.py index 65aac8ba9ca..6cdab0f8984 100644 --- a/msgraph_beta/generated/shares/item/list_/operations/operations_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/operations/operations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[RichLongRunningOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[RichLongRunningOperation] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/list_/subscriptions/item/reauthorize/reauthorize_request_builder.py b/msgraph_beta/generated/shares/item/list_/subscriptions/item/reauthorize/reauthorize_request_builder.py index 476d569a7d5..c8ec5d4fb09 100644 --- a/msgraph_beta/generated/shares/item/list_/subscriptions/item/reauthorize/reauthorize_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/subscriptions/item/reauthorize/reauthorize_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ReauthorizeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reauthorize a subscription when you receive a reauthorizationRequired challenge. This API is available in the following national cloud deployments. + Reauthorize a subscription when you receive a reauthorizationRequired challenge. 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/subscription-reauthorize?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ReauthorizeRequestBuilderPos def to_post_request_information(self,request_configuration: Optional[ReauthorizeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reauthorize a subscription when you receive a reauthorizationRequired challenge. This API is available in the following national cloud deployments. + Reauthorize a subscription when you receive a reauthorizationRequired challenge. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[Reauthorize request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReauthorizeRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/list_/subscriptions/item/subscription_item_request_builder.py b/msgraph_beta/generated/shares/item/list_/subscriptions/item/subscription_item_request_builder.py index 35c94f60649..41d7271b9a6 100644 --- a/msgraph_beta/generated/shares/item/list_/subscriptions/item/subscription_item_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/subscriptions/item/subscription_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Subscript request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SubscriptionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[Subscription request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Subscription] = None, request_configuration: Optional[SubscriptionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Subscription] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/list_/subscriptions/subscriptions_request_builder.py b/msgraph_beta/generated/shares/item/list_/subscriptions/subscriptions_request_builder.py index d3285db0b0d..1b4a79d16fc 100644 --- a/msgraph_beta/generated/shares/item/list_/subscriptions/subscriptions_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_/subscriptions/subscriptions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Subscription request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Subscription] = None, request_configuration: Optional[SubscriptionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Subscription] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/list_item/list_item_request_builder.py b/msgraph_beta/generated/shares/item/list_item/list_item_request_builder.py index 8640fbefb2d..d1f645e7c6b 100644 --- a/msgraph_beta/generated/shares/item/list_item/list_item_request_builder.py +++ b/msgraph_beta/generated/shares/item/list_item/list_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ListItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ListItemRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/permission/grant/grant_request_builder.py b/msgraph_beta/generated/shares/item/permission/grant/grant_request_builder.py index 55ee4acdb3d..5fe09fb3d00 100644 --- a/msgraph_beta/generated/shares/item/permission/grant/grant_request_builder.py +++ b/msgraph_beta/generated/shares/item/permission/grant/grant_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GrantPostRequestBody] = None, request_configuration: Optional[GrantRequestBuilderPostRequestConfiguration] = None) -> Optional[GrantPostResponse]: """ - Grant users access to a link represented by a permission][]. This API is available in the following [national cloud deployments. + Grant users access to a link represented by a [permission][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GrantPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GrantPostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[GrantPostRequestBody] = None, request_configuration: Optional[GrantRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Grant users access to a link represented by a permission][]. This API is available in the following [national cloud deployments. + Grant users access to a link represented by a [permission][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GrantPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/permission/permission_request_builder.py b/msgraph_beta/generated/shares/item/permission/permission_request_builder.py index 435ced53f86..6aaf109e11f 100644 --- a/msgraph_beta/generated/shares/item/permission/permission_request_builder.py +++ b/msgraph_beta/generated/shares/item/permission/permission_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Permissio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PermissionRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[PermissionRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Permission] = None, request_configuration: Optional[PermissionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Permission] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/permission/revoke_grants/revoke_grants_request_builder.py b/msgraph_beta/generated/shares/item/permission/revoke_grants/revoke_grants_request_builder.py index d797b00d118..a1763c223d4 100644 --- a/msgraph_beta/generated/shares/item/permission/revoke_grants/revoke_grants_request_builder.py +++ b/msgraph_beta/generated/shares/item/permission/revoke_grants/revoke_grants_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RevokeGrantsPostRequestBody] = None, request_configuration: Optional[RevokeGrantsRequestBuilderPostRequestConfiguration] = None) -> Optional[Permission]: """ - Revoke access to a listItem][] or [driveItem][] granted via a sharing link by removing the specified [recipient][] from the link. This API is available in the following [national cloud deployments. + Revoke access to a [listItem][] or [driveItem][] granted via a sharing link by removing the specified [recipient][] from the link. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Permission] @@ -54,7 +54,7 @@ async def post(self,body: Optional[RevokeGrantsPostRequestBody] = None, request_ def to_post_request_information(self,body: Optional[RevokeGrantsPostRequestBody] = None, request_configuration: Optional[RevokeGrantsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Revoke access to a listItem][] or [driveItem][] granted via a sharing link by removing the specified [recipient][] from the link. This API is available in the following [national cloud deployments. + Revoke access to a [listItem][] or [driveItem][] granted via a sharing link by removing the specified [recipient][] from the link. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[RevokeGrantsPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/shares/item/root/content/content_request_builder.py b/msgraph_beta/generated/shares/item/root/content/content_request_builder.py index 70fc8284c0b..34403a5294f 100644 --- a/msgraph_beta/generated/shares/item/root/content/content_request_builder.py +++ b/msgraph_beta/generated/shares/item/root/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/shares/item/root/root_request_builder.py b/msgraph_beta/generated/shares/item/root/root_request_builder.py index 2324a213919..9bf98c2073d 100644 --- a/msgraph_beta/generated/shares/item/root/root_request_builder.py +++ b/msgraph_beta/generated/shares/item/root/root_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[RootRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RootRequestBuilder: diff --git a/msgraph_beta/generated/shares/item/shared_drive_item_item_request_builder.py b/msgraph_beta/generated/shares/item/shared_drive_item_item_request_builder.py index 78c36113c71..b381304f188 100644 --- a/msgraph_beta/generated/shares/item/shared_drive_item_item_request_builder.py +++ b/msgraph_beta/generated/shares/item/shared_drive_item_item_request_builder.py @@ -56,7 +56,7 @@ async def delete(self,request_configuration: Optional[SharedDriveItemItemRequest async def get(self,request_configuration: Optional[SharedDriveItemItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SharedDriveItem]: """ - Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. This API is available in the following national cloud deployments. + Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharedDriveItem] Find more info here: https://learn.microsoft.com/graph/api/shares-get?view=graph-rest-1.0 @@ -113,12 +113,12 @@ def to_delete_request_information(self,request_configuration: Optional[SharedDri request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SharedDriveItemItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. This API is available in the following national cloud deployments. + Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -130,7 +130,7 @@ def to_get_request_information(self,request_configuration: Optional[SharedDriveI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SharedDriveItem] = None, request_configuration: Optional[SharedDriveItemItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -149,7 +149,7 @@ def to_patch_request_information(self,body: Optional[SharedDriveItem] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -257,7 +257,7 @@ class SharedDriveItemItemRequestBuilderDeleteRequestConfiguration(BaseRequestCon @dataclass class SharedDriveItemItemRequestBuilderGetQueryParameters(): """ - Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. This API is available in the following national cloud deployments. + Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/shares/item/site/site_request_builder.py b/msgraph_beta/generated/shares/item/site/site_request_builder.py index 94c5e0a4f0a..52bc7abd029 100644 --- a/msgraph_beta/generated/shares/item/site/site_request_builder.py +++ b/msgraph_beta/generated/shares/item/site/site_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SiteRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SiteRequestBuilder: diff --git a/msgraph_beta/generated/shares/shares_request_builder.py b/msgraph_beta/generated/shares/shares_request_builder.py index 39305eb11d5..cf741e65970 100644 --- a/msgraph_beta/generated/shares/shares_request_builder.py +++ b/msgraph_beta/generated/shares/shares_request_builder.py @@ -45,7 +45,7 @@ def by_shared_drive_item_id(self,shared_drive_item_id: str) -> SharedDriveItemIt async def get(self,request_configuration: Optional[SharesRequestBuilderGetRequestConfiguration] = None) -> Optional[SharedDriveItemCollectionResponse]: """ - Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. This API is available in the following national cloud deployments. + Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharedDriveItemCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[SharedDriveItem] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[SharesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. This API is available in the following national cloud deployments. + Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SharesReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SharedDriveItem] = None, request_configuration: Optional[SharesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[SharedDriveItem] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SharesRequestBuilderGetQueryParameters(): """ - Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. This API is available in the following national cloud deployments. + Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/add/add_request_builder.py b/msgraph_beta/generated/sites/add/add_request_builder.py index 6e4d13e67d9..886ae2e3586 100644 --- a/msgraph_beta/generated/sites/add/add_request_builder.py +++ b/msgraph_beta/generated/sites/add/add_request_builder.py @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/delta/delta_request_builder.py b/msgraph_beta/generated/sites/delta/delta_request_builder.py index 0fe272875d9..c0129e30318 100644 --- a/msgraph_beta/generated/sites/delta/delta_request_builder.py +++ b/msgraph_beta/generated/sites/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/sites/get_all_sites/get_all_sites_request_builder.py b/msgraph_beta/generated/sites/get_all_sites/get_all_sites_request_builder.py index 6366f429790..5ebe101a22e 100644 --- a/msgraph_beta/generated/sites/get_all_sites/get_all_sites_request_builder.py +++ b/msgraph_beta/generated/sites/get_all_sites/get_all_sites_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetAllSitesR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetAllSitesRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/analytics/all_time/all_time_request_builder.py b/msgraph_beta/generated/sites/item/analytics/all_time/all_time_request_builder.py index b705ea037fe..19d884b6603 100644 --- a/msgraph_beta/generated/sites/item/analytics/all_time/all_time_request_builder.py +++ b/msgraph_beta/generated/sites/item/analytics/all_time/all_time_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AllTimeReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllTimeRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/analytics/analytics_request_builder.py b/msgraph_beta/generated/sites/item/analytics/analytics_request_builder.py index b3821e611fe..771a9a53f5d 100644 --- a/msgraph_beta/generated/sites/item/analytics/analytics_request_builder.py +++ b/msgraph_beta/generated/sites/item/analytics/analytics_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[Analytics request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AnalyticsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[AnalyticsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemAnalytics] = None, request_configuration: Optional[AnalyticsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ItemAnalytics] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item/activities/activities_request_builder.py b/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item/activities/activities_request_builder.py index aaf2fa484a7..56dcf2a7eda 100644 --- a/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item/activities/activities_request_builder.py +++ b/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item/activities/activities_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivitiesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ItemActivity] = None, request_configuration: Optional[ActivitiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ItemActivity] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item/activities/item/drive_item/content/content_request_builder.py b/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item/activities/item/drive_item/content/content_request_builder.py index 0477e2dadad..eff1c6ac84d 100644 --- a/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item/activities/item/drive_item/content/content_request_builder.py +++ b/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item/activities/item/drive_item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item/activities/item/drive_item/drive_item_request_builder.py b/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item/activities/item/drive_item/drive_item_request_builder.py index 2fafc26ea2e..ada587ecbff 100644 --- a/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item/activities/item/drive_item/drive_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item/activities/item/drive_item/drive_item_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveItemRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item/activities/item/item_activity_item_request_builder.py b/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item/activities/item/item_activity_item_request_builder.py index d712e59528d..d48daf125cb 100644 --- a/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item/activities/item/item_activity_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item/activities/item/item_activity_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemActiv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemActivityItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemActivity request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemActivity] = None, request_configuration: Optional[ItemActivityItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ItemActivity] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item/item_activity_stat_item_request_builder.py b/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item/item_activity_stat_item_request_builder.py index 8fb101009ab..f2e8a7c7141 100644 --- a/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item/item_activity_stat_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item/item_activity_stat_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemActiv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemActivityStatItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemActivity request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemActivityStat] = None, request_configuration: Optional[ItemActivityStatItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ItemActivityStat] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item_activity_stats_request_builder.py b/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item_activity_stats_request_builder.py index b73c459ab34..f042754f141 100644 --- a/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item_activity_stats_request_builder.py +++ b/msgraph_beta/generated/sites/item/analytics/item_activity_stats/item_activity_stats_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemActivity request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ItemActivityStat] = None, request_configuration: Optional[ItemActivityStatsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ItemActivityStat] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/analytics/last_seven_days/last_seven_days_request_builder.py b/msgraph_beta/generated/sites/item/analytics/last_seven_days/last_seven_days_request_builder.py index c95888d2033..88e4bd43bc4 100644 --- a/msgraph_beta/generated/sites/item/analytics/last_seven_days/last_seven_days_request_builder.py +++ b/msgraph_beta/generated/sites/item/analytics/last_seven_days/last_seven_days_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[LastSevenDay request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastSevenDaysRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/columns/columns_request_builder.py b/msgraph_beta/generated/sites/item/columns/columns_request_builder.py index 9cc11ba6aa4..473f7069be6 100644 --- a/msgraph_beta/generated/sites/item/columns/columns_request_builder.py +++ b/msgraph_beta/generated/sites/item/columns/columns_request_builder.py @@ -45,7 +45,7 @@ def by_column_definition_id(self,column_definition_id: str) -> ColumnDefinitionI async def get(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> Optional[ColumnDefinitionCollectionResponse]: """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [site][site]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [site][site]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/site-list-columns?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ColumnsRequestBuilderGetReque async def post(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Create a column for a site][site] by specifying a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + Create a column for a [site][site] by specifying a [columnDefinition][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ColumnDefinition] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [site][site]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [site][site]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ColumnsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a column for a site][site] by specifying a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + Create a column for a [site][site] by specifying a [columnDefinition][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ColumnDefinition] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ColumnsRequestBuilderGetQueryParameters(): """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [site][site]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [site][site]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/columns/item/column_definition_item_request_builder.py b/msgraph_beta/generated/sites/item/columns/item/column_definition_item_request_builder.py index 4d5a1635148..4c1ca32a8f3 100644 --- a/msgraph_beta/generated/sites/item/columns/item/column_definition_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/columns/item/column_definition_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ColumnDef request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnDefini request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/columns/item/source_column/source_column_request_builder.py b/msgraph_beta/generated/sites/item/columns/item/source_column/source_column_request_builder.py index cc78a412c98..5182fe4d50c 100644 --- a/msgraph_beta/generated/sites/item/columns/item/source_column/source_column_request_builder.py +++ b/msgraph_beta/generated/sites/item/columns/item/source_column/source_column_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SourceColumn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SourceColumnRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/content_types/add_copy/add_copy_request_builder.py b/msgraph_beta/generated/sites/item/content_types/add_copy/add_copy_request_builder.py index 0a337c0ea35..cf738b08ceb 100644 --- a/msgraph_beta/generated/sites/item/content_types/add_copy/add_copy_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/add_copy/add_copy_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddCopyPostRequestBody] = None, request_configuration: Optional[AddCopyRequestBuilderPostRequestConfiguration] = None) -> Optional[ContentType]: """ - Add a copy of a content type][contentType] from a [site][site] to a [list][list]. This API is available in the following [national cloud deployments. + Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentType] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddCopyPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[AddCopyPostRequestBody] = None, request_configuration: Optional[AddCopyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a copy of a content type][contentType] from a [site][site] to a [list][list]. This API is available in the following [national cloud deployments. + Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddCopyPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.py b/msgraph_beta/generated/sites/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.py index 254dfb450dd..d8a4f63f4a3 100644 --- a/msgraph_beta/generated/sites/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddCopyFromContentTypeHubPostRequestBody] = None, request_configuration: Optional[AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration] = None) -> Optional[ContentType]: """ - Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. This API is available in the following national cloud deployments. + Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentType] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddCopyFromContentTypeHubPostRequestBody] = N def to_post_request_information(self,body: Optional[AddCopyFromContentTypeHubPostRequestBody] = None, request_configuration: Optional[AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. This API is available in the following national cloud deployments. + Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddCopyFromContentTypeHubPos request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/content_types/content_types_request_builder.py b/msgraph_beta/generated/sites/item/content_types/content_types_request_builder.py index dc5b83b6534..82aa1838058 100644 --- a/msgraph_beta/generated/sites/item/content_types/content_types_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/content_types_request_builder.py @@ -48,7 +48,7 @@ def by_content_type_id(self,content_type_id: str) -> ContentTypeItemRequestBuild async def get(self,request_configuration: Optional[ContentTypesRequestBuilderGetRequestConfiguration] = None) -> Optional[ContentTypeCollectionResponse]: """ - Get the collection of contentType][contentType] resources in a [site][]. This API is available in the following [national cloud deployments. + Get the collection of [contentType][contentType] resources in a [site][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentTypeCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/site-list-contenttypes?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[ContentTypesRequestBuilderGet async def post(self,body: Optional[ContentType] = None, request_configuration: Optional[ContentTypesRequestBuilderPostRequestConfiguration] = None) -> Optional[ContentType]: """ - Create a new contentType][] for a [site][]. This API is available in the following [national cloud deployments. + Create a new [contentType][] for a [site][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentType] @@ -95,7 +95,7 @@ async def post(self,body: Optional[ContentType] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[ContentTypesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the collection of contentType][contentType] resources in a [site][]. This API is available in the following [national cloud deployments. + Get the collection of [contentType][contentType] resources in a [site][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_get_request_information(self,request_configuration: Optional[ContentTypes request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ContentType] = None, request_configuration: Optional[ContentTypesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new contentType][] for a [site][]. This API is available in the following [national cloud deployments. + Create a new [contentType][] for a [site][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -126,7 +126,7 @@ def to_post_request_information(self,body: Optional[ContentType] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ def get_compatible_hub_content_types(self) -> GetCompatibleHubContentTypesReques @dataclass class ContentTypesRequestBuilderGetQueryParameters(): """ - Get the collection of contentType][contentType] resources in a [site][]. This API is available in the following [national cloud deployments. + Get the collection of [contentType][contentType] resources in a [site][]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_request_builder.py b/msgraph_beta/generated/sites/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_request_builder.py index 7268575485d..95c3e5fe02f 100644 --- a/msgraph_beta/generated/sites/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetCompatibl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetCompatibleHubContentTypesRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py b/msgraph_beta/generated/sites/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py index de8c3f10fd5..bf0339f3b7b 100644 --- a/msgraph_beta/generated/sites/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, request_configuration: Optional[AssociateWithHubSitesRequestBuilderPostRequestConfiguration] = None) -> None: """ - Associate a content type][contentType] with a list of hub sites. This API is available in the following [national cloud deployments. + Associate a [content type][contentType] with a list of hub sites. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, def to_post_request_information(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, request_configuration: Optional[AssociateWithHubSitesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Associate a content type][contentType] with a list of hub sites. This API is available in the following [national cloud deployments. + Associate a [content type][contentType] with a list of hub sites. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AssociateWithHubSitesPostReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/content_types/item/base/base_request_builder_.py b/msgraph_beta/generated/sites/item/content_types/item/base/base_request_builder_.py index f66b4e8b191..a0a249cdd09 100644 --- a/msgraph_beta/generated/sites/item/content_types/item/base/base_request_builder_.py +++ b/msgraph_beta/generated/sites/item/content_types/item/base/base_request_builder_.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[BaseRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> BaseRequestBuilder_: diff --git a/msgraph_beta/generated/sites/item/content_types/item/base_types/base_types_request_builder.py b/msgraph_beta/generated/sites/item/content_types/item/base_types/base_types_request_builder.py index 1973d497fd6..77ff851c74e 100644 --- a/msgraph_beta/generated/sites/item/content_types/item/base_types/base_types_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/item/base_types/base_types_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[BaseTypesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> BaseTypesRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/content_types/item/base_types/item/content_type_item_request_builder.py b/msgraph_beta/generated/sites/item/content_types/item/base_types/item/content_type_item_request_builder.py index ed37d3b17b9..dd27a17eec6 100644 --- a/msgraph_beta/generated/sites/item/content_types/item/base_types/item/content_type_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/item/base_types/item/content_type_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentTypeI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ContentTypeItemRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/content_types/item/column_links/column_links_request_builder.py b/msgraph_beta/generated/sites/item/content_types/item/column_links/column_links_request_builder.py index 9f019e8396e..d68831aa013 100644 --- a/msgraph_beta/generated/sites/item/content_types/item/column_links/column_links_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/item/column_links/column_links_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnLinksR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ColumnLink] = None, request_configuration: Optional[ColumnLinksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ColumnLink] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/content_types/item/column_links/item/column_link_item_request_builder.py b/msgraph_beta/generated/sites/item/content_types/item/column_links/item/column_link_item_request_builder.py index c3faad55d70..d747a59963f 100644 --- a/msgraph_beta/generated/sites/item/content_types/item/column_links/item/column_link_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/item/column_links/item/column_link_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ColumnLin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ColumnLinkItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnLinkIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ColumnLink] = None, request_configuration: Optional[ColumnLinkItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ColumnLink] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/content_types/item/column_positions/column_positions_request_builder.py b/msgraph_beta/generated/sites/item/content_types/item/column_positions/column_positions_request_builder.py index d040a1683d1..d7f237e455a 100644 --- a/msgraph_beta/generated/sites/item/content_types/item/column_positions/column_positions_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/item/column_positions/column_positions_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnPositi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ColumnPositionsRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/content_types/item/column_positions/item/column_definition_item_request_builder.py b/msgraph_beta/generated/sites/item/content_types/item/column_positions/item/column_definition_item_request_builder.py index c1938e7fa28..bed00e888ec 100644 --- a/msgraph_beta/generated/sites/item/content_types/item/column_positions/item/column_definition_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/item/column_positions/item/column_definition_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnDefini request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ColumnDefinitionItemRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/content_types/item/columns/columns_request_builder.py b/msgraph_beta/generated/sites/item/content_types/item/columns/columns_request_builder.py index a0b5af0c87f..e35490760ed 100644 --- a/msgraph_beta/generated/sites/item/content_types/item/columns/columns_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/item/columns/columns_request_builder.py @@ -45,7 +45,7 @@ def by_column_definition_id(self,column_definition_id: str) -> ColumnDefinitionI async def get(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> Optional[ColumnDefinitionCollectionResponse]: """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [content type][contentType]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/contenttype-list-columns?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ColumnsRequestBuilderGetReque async def post(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Add a column to a content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + Add a column to a [content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ColumnDefinition] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [content type][contentType]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ColumnsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a column to a content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + Add a column to a [content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ColumnDefinition] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ColumnsRequestBuilderGetQueryParameters(): """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [content type][contentType]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/content_types/item/columns/item/column_definition_item_request_builder.py b/msgraph_beta/generated/sites/item/content_types/item/columns/item/column_definition_item_request_builder.py index 6df6286adcb..b57dc7695e8 100644 --- a/msgraph_beta/generated/sites/item/content_types/item/columns/item/column_definition_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/item/columns/item/column_definition_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a column][columndefinition] from a [site][], [list][] or [content type][contentType]. This API is available in the following [national cloud deployments. + Remove a [column][columndefinition] from a [site][], [list][] or [content type][contentType]. 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/columndefinition-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[ColumnDefinitionItemReques async def get(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Retrieve the metadata for a site][], [list][] or [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] Find more info here: https://learn.microsoft.com/graph/api/columndefinition-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[ColumnDefinitionItemRequestBu async def patch(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Update a site][], [list][] or [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Update a [site][], [list][] or [content type][contentType] [column][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[ColumnDefinition] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a column][columndefinition] from a [site][], [list][] or [content type][contentType]. This API is available in the following [national cloud deployments. + Remove a [column][columndefinition] from a [site][], [list][] or [content type][contentType]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[ColumnDef request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the metadata for a site][], [list][] or [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[ColumnDefini request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update a site][], [list][] or [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Update a [site][], [list][] or [content type][contentType] [column][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class ColumnDefinitionItemRequestBuilderGetQueryParameters(): """ - Retrieve the metadata for a site][], [list][] or [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/content_types/item/columns/item/source_column/source_column_request_builder.py b/msgraph_beta/generated/sites/item/content_types/item/columns/item/source_column/source_column_request_builder.py index 2445e82004f..519d2602cfb 100644 --- a/msgraph_beta/generated/sites/item/content_types/item/columns/item/source_column/source_column_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/item/columns/item/source_column/source_column_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SourceColumn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SourceColumnRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/content_types/item/content_type_item_request_builder.py b/msgraph_beta/generated/sites/item/content_types/item/content_type_item_request_builder.py index e2746d85388..ddebb57810f 100644 --- a/msgraph_beta/generated/sites/item/content_types/item/content_type_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/item/content_type_item_request_builder.py @@ -38,7 +38,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ContentTypeItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a content type][contentType] from a [list][] or a [site][]. This API is available in the following [national cloud deployments. + Remove a [content type][contentType] from a [list][] or a [site][]. 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/contenttype-delete?view=graph-rest-1.0 @@ -58,7 +58,7 @@ async def delete(self,request_configuration: Optional[ContentTypeItemRequestBuil async def get(self,request_configuration: Optional[ContentTypeItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ContentType]: """ - Retrieve the metadata for a content type][contentType] in a [site][] or a [list][]. This API is available in the following [national cloud deployments. + Retrieve the metadata for a [content type][contentType] in a [site][] or a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentType] Find more info here: https://learn.microsoft.com/graph/api/contenttype-get?view=graph-rest-1.0 @@ -80,7 +80,7 @@ async def get(self,request_configuration: Optional[ContentTypeItemRequestBuilder async def patch(self,body: Optional[ContentType] = None, request_configuration: Optional[ContentTypeItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ContentType]: """ - Update a content type][contentType]. This API is available in the following [national cloud deployments. + Update a [content type][contentType]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentType] @@ -105,7 +105,7 @@ async def patch(self,body: Optional[ContentType] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[ContentTypeItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a content type][contentType] from a [list][] or a [site][]. This API is available in the following [national cloud deployments. + Remove a [content type][contentType] from a [list][] or a [site][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,12 +116,12 @@ def to_delete_request_information(self,request_configuration: Optional[ContentTy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ContentTypeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the metadata for a content type][contentType] in a [site][] or a [list][]. This API is available in the following [national cloud deployments. + Retrieve the metadata for a [content type][contentType] in a [site][] or a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -133,12 +133,12 @@ def to_get_request_information(self,request_configuration: Optional[ContentTypeI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ContentType] = None, request_configuration: Optional[ContentTypeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update a content type][contentType]. This API is available in the following [national cloud deployments. + Update a [content type][contentType]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -152,7 +152,7 @@ def to_patch_request_information(self,body: Optional[ContentType] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -269,7 +269,7 @@ class ContentTypeItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class ContentTypeItemRequestBuilderGetQueryParameters(): """ - Retrieve the metadata for a content type][contentType] in a [site][] or a [list][]. This API is available in the following [national cloud deployments. + Retrieve the metadata for a [content type][contentType] in a [site][] or a [list][]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py b/msgraph_beta/generated/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py index 4a4df5a7399..855201d8a19 100644 --- a/msgraph_beta/generated/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] = None, request_configuration: Optional[CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration] = None) -> None: """ - Copy a file to a default content location in a content type][contentType]. The file can then be added as a default file or template via a POST operation. This API is available in the following [national cloud deployments. + Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] def to_post_request_information(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] = None, request_configuration: Optional[CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a file to a default content location in a content type][contentType]. The file can then be added as a default file or template via a POST operation. This API is available in the following [national cloud deployments. + Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CopyToDefaultContentLocation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/content_types/item/is_published/is_published_request_builder.py b/msgraph_beta/generated/sites/item/content_types/item/is_published/is_published_request_builder.py index feb7f7b7c9e..5194ac35cb2 100644 --- a/msgraph_beta/generated/sites/item/content_types/item/is_published/is_published_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/item/is_published/is_published_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[IsPublishedR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IsPublishedRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/content_types/item/publish/publish_request_builder.py b/msgraph_beta/generated/sites/item/content_types/item/publish/publish_request_builder.py index d73fb159130..a3410c698f3 100644 --- a/msgraph_beta/generated/sites/item/content_types/item/publish/publish_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/item/publish/publish_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[PublishRequestBuilderPostRequestConfiguration] = None) -> None: """ - Publishes a contentType][] present in a content type hub site. This API is available in the following [national cloud deployments. + Publishes a [contentType][] present in a content type hub site. 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/contenttype-publish?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[PublishRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[PublishRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Publishes a contentType][] present in a content type hub site. This API is available in the following [national cloud deployments. + Publishes a [contentType][] present in a content type hub site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[PublishRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PublishRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/content_types/item/unpublish/unpublish_request_builder.py b/msgraph_beta/generated/sites/item/content_types/item/unpublish/unpublish_request_builder.py index de373f740c5..a90f12dfa00 100644 --- a/msgraph_beta/generated/sites/item/content_types/item/unpublish/unpublish_request_builder.py +++ b/msgraph_beta/generated/sites/item/content_types/item/unpublish/unpublish_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UnpublishRequestBuilderPostRequestConfiguration] = None) -> None: """ - Unpublish a contentType][] from a content type hub site. This API is available in the following [national cloud deployments. + Unpublish a [contentType][] from a content type hub site. 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/contenttype-unpublish?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UnpublishRequestBuilderPostR def to_post_request_information(self,request_configuration: Optional[UnpublishRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Unpublish a contentType][] from a content type hub site. This API is available in the following [national cloud deployments. + Unpublish a [contentType][] from a content type hub site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UnpublishRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnpublishRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/created_by_user/created_by_user_request_builder.py b/msgraph_beta/generated/sites/item/created_by_user/created_by_user_request_builder.py index 8752b9bbcb4..42a8ba59c49 100644 --- a/msgraph_beta/generated/sites/item/created_by_user/created_by_user_request_builder.py +++ b/msgraph_beta/generated/sites/item/created_by_user/created_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[CreatedByUse request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreatedByUserRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/sites/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py index c4d118500b4..3d40dd218cf 100644 --- a/msgraph_beta/generated/sites/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/sites/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/sites/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index b0ee0d53826..e2c97588a4b 100644 --- a/msgraph_beta/generated/sites/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/sites/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/drive/drive_request_builder.py b/msgraph_beta/generated/sites/item/drive/drive_request_builder.py index 61307732a89..9cfaa43d1eb 100644 --- a/msgraph_beta/generated/sites/item/drive/drive_request_builder.py +++ b/msgraph_beta/generated/sites/item/drive/drive_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/drives/drives_request_builder.py b/msgraph_beta/generated/sites/item/drives/drives_request_builder.py index b3221c3ca10..f0ded6594cf 100644 --- a/msgraph_beta/generated/sites/item/drives/drives_request_builder.py +++ b/msgraph_beta/generated/sites/item/drives/drives_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[DrivesReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DrivesRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/drives/item/drive_item_request_builder.py b/msgraph_beta/generated/sites/item/drives/item/drive_item_request_builder.py index a1c429ca26e..8bf92734eca 100644 --- a/msgraph_beta/generated/sites/item/drives/item/drive_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/drives/item/drive_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveItemRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/external_columns/external_columns_request_builder.py b/msgraph_beta/generated/sites/item/external_columns/external_columns_request_builder.py index 7be8889f701..4c781db812b 100644 --- a/msgraph_beta/generated/sites/item/external_columns/external_columns_request_builder.py +++ b/msgraph_beta/generated/sites/item/external_columns/external_columns_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[ExternalColu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExternalColumnsRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/external_columns/item/column_definition_item_request_builder.py b/msgraph_beta/generated/sites/item/external_columns/item/column_definition_item_request_builder.py index 9c893fc1202..e9663fdc4ce 100644 --- a/msgraph_beta/generated/sites/item/external_columns/item/column_definition_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/external_columns/item/column_definition_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnDefini request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ColumnDefinitionItemRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.py b/msgraph_beta/generated/sites/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.py index 484754df34b..8102feedf9c 100644 --- a/msgraph_beta/generated/sites/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.py +++ b/msgraph_beta/generated/sites/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.py @@ -68,7 +68,7 @@ def to_get_request_information(self,request_configuration: Optional[GetActivitie request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/get_applicable_content_types_for_list_with_list_id/get_applicable_content_types_for_list_with_list_id_request_builder.py b/msgraph_beta/generated/sites/item/get_applicable_content_types_for_list_with_list_id/get_applicable_content_types_for_list_with_list_id_request_builder.py index cddac7dca7f..8156027ab9e 100644 --- a/msgraph_beta/generated/sites/item/get_applicable_content_types_for_list_with_list_id/get_applicable_content_types_for_list_with_list_id_request_builder.py +++ b/msgraph_beta/generated/sites/item/get_applicable_content_types_for_list_with_list_id/get_applicable_content_types_for_list_with_list_id_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GetApplicabl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetApplicableContentTypesForListWithListIdRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/get_by_path_with_path/get_by_path_with_path_request_builder.py b/msgraph_beta/generated/sites/item/get_by_path_with_path/get_by_path_with_path_request_builder.py index 3e6c961d9d4..3372ea0bbc9 100644 --- a/msgraph_beta/generated/sites/item/get_by_path_with_path/get_by_path_with_path_request_builder.py +++ b/msgraph_beta/generated/sites/item/get_by_path_with_path/get_by_path_with_path_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[GetByPathWit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetByPathWithPathRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/information_protection/bitlocker/bitlocker_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/bitlocker/bitlocker_request_builder.py index e8f2fae1b4a..f230601d87d 100644 --- a/msgraph_beta/generated/sites/item/information_protection/bitlocker/bitlocker_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/bitlocker/bitlocker_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[BitlockerReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> BitlockerRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/information_protection/bitlocker/recovery_keys/item/bitlocker_recovery_key_item_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/bitlocker/recovery_keys/item/bitlocker_recovery_key_item_request_builder.py index e9e8fdc0ab2..a884761961f 100644 --- a/msgraph_beta/generated/sites/item/information_protection/bitlocker/recovery_keys/item/bitlocker_recovery_key_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/bitlocker/recovery_keys/item/bitlocker_recovery_key_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[BitlockerRecoveryKeyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[BitlockerRecoveryKey]: """ - Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BitlockerRecoveryKey] Find more info here: https://learn.microsoft.com/graph/api/bitlockerrecoverykey-get?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[BitlockerRecoveryKeyItemReque def to_get_request_information(self,request_configuration: Optional[BitlockerRecoveryKeyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[BitlockerRec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> BitlockerRecoveryKeyItemRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> BitlockerRecoveryKeyItemRequ @dataclass class BitlockerRecoveryKeyItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/information_protection/bitlocker/recovery_keys/recovery_keys_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/bitlocker/recovery_keys/recovery_keys_request_builder.py index 8a4bce335cd..8d3e0f9f016 100644 --- a/msgraph_beta/generated/sites/item/information_protection/bitlocker/recovery_keys/recovery_keys_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/bitlocker/recovery_keys/recovery_keys_request_builder.py @@ -44,7 +44,7 @@ def by_bitlocker_recovery_key_id(self,bitlocker_recovery_key_id: str) -> Bitlock async def get(self,request_configuration: Optional[RecoveryKeysRequestBuilderGetRequestConfiguration] = None) -> Optional[BitlockerRecoveryKeyCollectionResponse]: """ - Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. This API is available in the following national cloud deployments. + Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BitlockerRecoveryKeyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/bitlocker-list-recoverykeys?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[RecoveryKeysRequestBuilderGet def to_get_request_information(self,request_configuration: Optional[RecoveryKeysRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. This API is available in the following national cloud deployments. + Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[RecoveryKeys request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RecoveryKeysRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RecoveryKeysRequestBuilderGetQueryParameters(): """ - Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. This API is available in the following national cloud deployments. + Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/information_protection/data_loss_prevention_policies/data_loss_prevention_policies_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/data_loss_prevention_policies/data_loss_prevention_policies_request_builder.py index e9310338e69..9b2cb8b0965 100644 --- a/msgraph_beta/generated/sites/item/information_protection/data_loss_prevention_policies/data_loss_prevention_policies_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/data_loss_prevention_policies/data_loss_prevention_policies_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[DataLossPrev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DataLossPreventionPolicy] = None, request_configuration: Optional[DataLossPreventionPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[DataLossPreventionPolicy] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/information_protection/data_loss_prevention_policies/evaluate/evaluate_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/data_loss_prevention_policies/evaluate/evaluate_request_builder.py index 251ee7fe43e..06303605ae8 100644 --- a/msgraph_beta/generated/sites/item/information_protection/data_loss_prevention_policies/evaluate/evaluate_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/data_loss_prevention_policies/evaluate/evaluate_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[EvaluatePostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/information_protection/data_loss_prevention_policies/item/data_loss_prevention_policy_item_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/data_loss_prevention_policies/item/data_loss_prevention_policy_item_request_builder.py index 552ddc2af7d..7287132cc14 100644 --- a/msgraph_beta/generated/sites/item/information_protection/data_loss_prevention_policies/item/data_loss_prevention_policy_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/data_loss_prevention_policies/item/data_loss_prevention_policy_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DataLossP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DataLossPreventionPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DataLossPrev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DataLossPreventionPolicy] = None, request_configuration: Optional[DataLossPreventionPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DataLossPreventionPolicy] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py index 6b2f83e098c..9094096a72a 100644 --- a/msgraph_beta/generated/sites/item/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DecryptBufferPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py index bb018c1f831..948317f0746 100644 --- a/msgraph_beta/generated/sites/item/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[EncryptBufferPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/information_protection/information_protection_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/information_protection_request_builder.py index 698accea324..ad8a2e341a6 100644 --- a/msgraph_beta/generated/sites/item/information_protection/information_protection_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/information_protection_request_builder.py @@ -113,7 +113,7 @@ def to_delete_request_information(self,request_configuration: Optional[Informati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[InformationProtectionRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -130,7 +130,7 @@ def to_get_request_information(self,request_configuration: Optional[InformationP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[InformationProtection] = None, request_configuration: Optional[InformationProtectionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -149,7 +149,7 @@ def to_patch_request_information(self,body: Optional[InformationProtection] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py index 1f56f17adaf..c148d686b52 100644 --- a/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[EvaluateApplicationPostRequestBody] = None, request_configuration: Optional[EvaluateApplicationRequestBuilderPostRequestConfiguration] = None) -> Optional[EvaluateApplicationPostResponse]: """ - Compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set manually or explicitly by a user or service, rather than automatically based on file contents. Given contentInfo, which includes existing content metadata key/value pairs, and labelingOptions as an input, the API returns an informationProtectionAction object that contains one of more of the following: This API is available in the following national cloud deployments. + Compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set manually or explicitly by a user or service, rather than automatically based on file contents. Given contentInfo, which includes existing content metadata key/value pairs, and labelingOptions as an input, the API returns an informationProtectionAction object that contains one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EvaluateApplicationPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[EvaluateApplicationPostRequestBody] = None, r def to_post_request_information(self,body: Optional[EvaluateApplicationPostRequestBody] = None, request_configuration: Optional[EvaluateApplicationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set manually or explicitly by a user or service, rather than automatically based on file contents. Given contentInfo, which includes existing content metadata key/value pairs, and labelingOptions as an input, the API returns an informationProtectionAction object that contains one of more of the following: This API is available in the following national cloud deployments. + Compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set manually or explicitly by a user or service, rather than automatically based on file contents. Given contentInfo, which includes existing content metadata key/value pairs, and labelingOptions as an input, the API returns an informationProtectionAction object that contains one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[EvaluateApplicationPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py index 8a5e90fc357..bc96479923a 100644 --- a/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[EvaluateClassificationResultsPostRequestBody] = None, request_configuration: Optional[EvaluateClassificationResultsRequestBuilderPostRequestConfiguration] = None) -> Optional[EvaluateClassificationResultsPostResponse]: """ - Using classification results, compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set automatically based on classification of the file contents, rather than labeled directly by a user or service. To evaluate based on classification results, provide contentInfo, which includes existing content metadata key/value pairs, and classification results. The API returns an informationProtectionAction that contains one of more of the following: This API is available in the following national cloud deployments. + Using classification results, compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set automatically based on classification of the file contents, rather than labeled directly by a user or service. To evaluate based on classification results, provide contentInfo, which includes existing content metadata key/value pairs, and classification results. The API returns an informationProtectionAction that contains one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EvaluateClassificationResultsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[EvaluateClassificationResultsPostRequestBody] def to_post_request_information(self,body: Optional[EvaluateClassificationResultsPostRequestBody] = None, request_configuration: Optional[EvaluateClassificationResultsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Using classification results, compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set automatically based on classification of the file contents, rather than labeled directly by a user or service. To evaluate based on classification results, provide contentInfo, which includes existing content metadata key/value pairs, and classification results. The API returns an informationProtectionAction that contains one of more of the following: This API is available in the following national cloud deployments. + Using classification results, compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set automatically based on classification of the file contents, rather than labeled directly by a user or service. To evaluate based on classification results, provide contentInfo, which includes existing content metadata key/value pairs, and classification results. The API returns an informationProtectionAction that contains one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[EvaluateClassificationResult request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py index 176a5c91e68..dc110086f5c 100644 --- a/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[EvaluateRemovalPostRequestBody] = None, request_configuration: Optional[EvaluateRemovalRequestBuilderPostRequestConfiguration] = None) -> Optional[EvaluateRemovalPostResponse]: """ - Indicate to the consuming application what actions it should take to remove the label information. Given contentInfo as an input, which includes existing content metadata key/value pairs, the API returns an informationProtectionAction that contains some combination of one of more of the following: This API is available in the following national cloud deployments. + Indicate to the consuming application what actions it should take to remove the label information. Given contentInfo as an input, which includes existing content metadata key/value pairs, the API returns an informationProtectionAction that contains some combination of one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EvaluateRemovalPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[EvaluateRemovalPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[EvaluateRemovalPostRequestBody] = None, request_configuration: Optional[EvaluateRemovalRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Indicate to the consuming application what actions it should take to remove the label information. Given contentInfo as an input, which includes existing content metadata key/value pairs, the API returns an informationProtectionAction that contains some combination of one of more of the following: This API is available in the following national cloud deployments. + Indicate to the consuming application what actions it should take to remove the label information. Given contentInfo as an input, which includes existing content metadata key/value pairs, the API returns an informationProtectionAction that contains some combination of one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[EvaluateRemovalPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/information_protection/policy/labels/extract_label/extract_label_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/policy/labels/extract_label/extract_label_request_builder.py index 464bdfa1cb2..18114608d4f 100644 --- a/msgraph_beta/generated/sites/item/information_protection/policy/labels/extract_label/extract_label_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/policy/labels/extract_label/extract_label_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ExtractLabelPostRequestBody] = None, request_configuration: Optional[ExtractLabelRequestBuilderPostRequestConfiguration] = None) -> Optional[InformationProtectionContentLabel]: """ - Using the metadata that exists on an already-labeled piece of information, resolve the metadata to a specific sensitivity label. The contentInfo input is resolved to informationProtectionContentLabel. This API is available in the following national cloud deployments. + Using the metadata that exists on an already-labeled piece of information, resolve the metadata to a specific sensitivity label. The contentInfo input is resolved to informationProtectionContentLabel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionContentLabel] @@ -54,7 +54,7 @@ async def post(self,body: Optional[ExtractLabelPostRequestBody] = None, request_ def to_post_request_information(self,body: Optional[ExtractLabelPostRequestBody] = None, request_configuration: Optional[ExtractLabelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Using the metadata that exists on an already-labeled piece of information, resolve the metadata to a specific sensitivity label. The contentInfo input is resolved to informationProtectionContentLabel. This API is available in the following national cloud deployments. + Using the metadata that exists on an already-labeled piece of information, resolve the metadata to a specific sensitivity label. The contentInfo input is resolved to informationProtectionContentLabel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[ExtractLabelPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/information_protection/policy/labels/item/information_protection_label_item_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/policy/labels/item/information_protection_label_item_request_builder.py index e54580a17a8..6c8e534f400 100644 --- a/msgraph_beta/generated/sites/item/information_protection/policy/labels/item/information_protection_label_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/policy/labels/item/information_protection_label_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[InformationProtectionLabel async def get(self,request_configuration: Optional[InformationProtectionLabelItemRequestBuilderGetRequestConfiguration] = None) -> Optional[InformationProtectionLabel]: """ - Retrieve the properties and relationships of an informationProtectionLabel object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an informationProtectionLabel object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionLabel] Find more info here: https://learn.microsoft.com/graph/api/informationprotectionlabel-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Informati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[InformationProtectionLabelItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an informationProtectionLabel object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an informationProtectionLabel object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[InformationP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[InformationProtectionLabel] = None, request_configuration: Optional[InformationProtectionLabelItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[InformationProtectionLabel] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class InformationProtectionLabelItemRequestBuilderDeleteRequestConfiguration(Bas @dataclass class InformationProtectionLabelItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an informationProtectionLabel object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an informationProtectionLabel object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/information_protection/policy/labels/labels_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/policy/labels/labels_request_builder.py index 4f7231fe6e8..49fd3891da3 100644 --- a/msgraph_beta/generated/sites/item/information_protection/policy/labels/labels_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/policy/labels/labels_request_builder.py @@ -49,7 +49,7 @@ def by_information_protection_label_id(self,information_protection_label_id: str async def get(self,request_configuration: Optional[LabelsRequestBuilderGetRequestConfiguration] = None) -> Optional[InformationProtectionLabelCollectionResponse]: """ - Get a collection of information protection labels available to the user or to the organization. This API is available in the following national cloud deployments. + Get a collection of information protection labels available to the user or to the organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionLabelCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/informationprotectionpolicy-list-labels?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def post(self,body: Optional[InformationProtectionLabel] = None, request_c def to_get_request_information(self,request_configuration: Optional[LabelsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a collection of information protection labels available to the user or to the organization. This API is available in the following national cloud deployments. + Get a collection of information protection labels available to the user or to the organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,7 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[LabelsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[InformationProtectionLabel] = None, request_configuration: Optional[LabelsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_post_request_information(self,body: Optional[InformationProtectionLabel] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ def extract_label(self) -> ExtractLabelRequestBuilder: @dataclass class LabelsRequestBuilderGetQueryParameters(): """ - Get a collection of information protection labels available to the user or to the organization. This API is available in the following national cloud deployments. + Get a collection of information protection labels available to the user or to the organization. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/information_protection/policy/policy_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/policy/policy_request_builder.py index c47fc1678b9..c09b4efedee 100644 --- a/msgraph_beta/generated/sites/item/information_protection/policy/policy_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/policy/policy_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PolicyReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PolicyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PolicyReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[InformationProtectionPolicy] = None, request_configuration: Optional[PolicyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[InformationProtectionPolicy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/evaluate/evaluate_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/evaluate/evaluate_request_builder.py index c5d6dc2d1cb..26193e4e245 100644 --- a/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/evaluate/evaluate_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/evaluate/evaluate_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[EvaluatePostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/item/sensitivity_label_item_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/item/sensitivity_label_item_request_builder.py index bf1d2c49356..3a8efb6dd99 100644 --- a/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/item/sensitivity_label_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/item/sensitivity_label_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Sensitivi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SensitivityLabelItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[SensitivityL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SensitivityLabel] = None, request_configuration: Optional[SensitivityLabelItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[SensitivityLabel] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_request_builder.py index 5b1e175a909..e45534f02ba 100644 --- a/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[EvaluatePostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/item/sublabels/item/sensitivity_label_item_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/item/sublabels/item/sensitivity_label_item_request_builder.py index 553a476d233..56c47576287 100644 --- a/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/item/sublabels/item/sensitivity_label_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/item/sublabels/item/sensitivity_label_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Sensitivi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SensitivityLabelItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SensitivityL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SensitivityLabel] = None, request_configuration: Optional[SensitivityLabelItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[SensitivityLabel] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/item/sublabels/sublabels_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/item/sublabels/sublabels_request_builder.py index cab084a16a4..77d4b7c71d0 100644 --- a/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/item/sublabels/sublabels_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/item/sublabels/sublabels_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SublabelsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SensitivityLabel] = None, request_configuration: Optional[SublabelsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SensitivityLabel] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/sensitivity_labels_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/sensitivity_labels_request_builder.py index a25f03205ea..337e0df8d84 100644 --- a/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/sensitivity_labels_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/sensitivity_labels/sensitivity_labels_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SensitivityL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SensitivityLabel] = None, request_configuration: Optional[SensitivityLabelsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SensitivityLabel] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/information_protection/sensitivity_policy_settings/sensitivity_policy_settings_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/sensitivity_policy_settings/sensitivity_policy_settings_request_builder.py index 2caa4a932b3..25ccdd48941 100644 --- a/msgraph_beta/generated/sites/item/information_protection/sensitivity_policy_settings/sensitivity_policy_settings_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/sensitivity_policy_settings/sensitivity_policy_settings_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Sensitivi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SensitivityPolicySettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SensitivityP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SensitivityPolicySettings] = None, request_configuration: Optional[SensitivityPolicySettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[SensitivityPolicySettings] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/information_protection/sign_digest/sign_digest_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/sign_digest/sign_digest_request_builder.py index 8041da15008..ca938061f9c 100644 --- a/msgraph_beta/generated/sites/item/information_protection/sign_digest/sign_digest_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/sign_digest/sign_digest_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SignDigestPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/information_protection/threat_assessment_requests/item/results/item/threat_assessment_result_item_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/threat_assessment_requests/item/results/item/threat_assessment_result_item_request_builder.py index 3c5d13d9725..67489e4ecde 100644 --- a/msgraph_beta/generated/sites/item/information_protection/threat_assessment_requests/item/results/item/threat_assessment_result_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/threat_assessment_requests/item/results/item/threat_assessment_result_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ThreatAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ThreatAssessmentResultItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ThreatAssess request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ThreatAssessmentResult] = None, request_configuration: Optional[ThreatAssessmentResultItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ThreatAssessmentResult] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/information_protection/threat_assessment_requests/item/results/results_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/threat_assessment_requests/item/results/results_request_builder.py index 320ae1a616b..08e12b211e6 100644 --- a/msgraph_beta/generated/sites/item/information_protection/threat_assessment_requests/item/results/results_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/threat_assessment_requests/item/results/results_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ResultsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ThreatAssessmentResult] = None, request_configuration: Optional[ResultsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ThreatAssessmentResult] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/information_protection/threat_assessment_requests/item/threat_assessment_request_item_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/threat_assessment_requests/item/threat_assessment_request_item_request_builder.py index f1aa6013090..4477e6b0b9e 100644 --- a/msgraph_beta/generated/sites/item/information_protection/threat_assessment_requests/item/threat_assessment_request_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/threat_assessment_requests/item/threat_assessment_request_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ThreatAssessmentRequestIte async def get(self,request_configuration: Optional[ThreatAssessmentRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ThreatAssessmentRequest]: """ - Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ThreatAssessmentRequest] Find more info here: https://learn.microsoft.com/graph/api/threatassessmentrequest-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ThreatAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ThreatAssessmentRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ThreatAssess request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ThreatAssessmentRequest] = None, request_configuration: Optional[ThreatAssessmentRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ThreatAssessmentRequest] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ThreatAssessmentRequestItemRequestBuilderDeleteRequestConfiguration(BaseRe @dataclass class ThreatAssessmentRequestItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/information_protection/threat_assessment_requests/threat_assessment_requests_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/threat_assessment_requests/threat_assessment_requests_request_builder.py index 744fbcd2961..0a6524254a3 100644 --- a/msgraph_beta/generated/sites/item/information_protection/threat_assessment_requests/threat_assessment_requests_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/threat_assessment_requests/threat_assessment_requests_request_builder.py @@ -45,7 +45,7 @@ def by_threat_assessment_request_id(self,threat_assessment_request_id: str) -> T async def get(self,request_configuration: Optional[ThreatAssessmentRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[ThreatAssessmentRequestCollectionResponse]: """ - Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ThreatAssessmentRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/informationprotection-list-threatassessmentrequests?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ThreatAssessmentRequestsReque async def post(self,body: Optional[ThreatAssessmentRequest] = None, request_configuration: Optional[ThreatAssessmentRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[ThreatAssessmentRequest]: """ - Create a new threat assessment request. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Create a new threat assessment request. A threat assessment request can be one of the following types: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ThreatAssessmentRequest] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ThreatAssessmentRequest] = None, request_conf def to_get_request_information(self,request_configuration: Optional[ThreatAssessmentRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ThreatAssess request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ThreatAssessmentRequest] = None, request_configuration: Optional[ThreatAssessmentRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new threat assessment request. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Create a new threat assessment request. A threat assessment request can be one of the following types: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ThreatAssessmentRequest] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ThreatAssessmentRequestsRequestBuilderGetQueryParameters(): """ - Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/information_protection/verify_signature/verify_signature_request_builder.py b/msgraph_beta/generated/sites/item/information_protection/verify_signature/verify_signature_request_builder.py index f26f8af5481..2f7dddb9ada 100644 --- a/msgraph_beta/generated/sites/item/information_protection/verify_signature/verify_signature_request_builder.py +++ b/msgraph_beta/generated/sites/item/information_protection/verify_signature/verify_signature_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[VerifySignaturePostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/items/item/base_item_item_request_builder.py b/msgraph_beta/generated/sites/item/items/item/base_item_item_request_builder.py index a5ed8b5e01c..c27326c0201 100644 --- a/msgraph_beta/generated/sites/item/items/item/base_item_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/items/item/base_item_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[BaseItemItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> BaseItemItemRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/items/items_request_builder.py b/msgraph_beta/generated/sites/item/items/items_request_builder.py index 630441a48d9..19c5a7c2417 100644 --- a/msgraph_beta/generated/sites/item/items/items_request_builder.py +++ b/msgraph_beta/generated/sites/item/items/items_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ItemsRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/last_modified_by_user/last_modified_by_user_request_builder.py b/msgraph_beta/generated/sites/item/last_modified_by_user/last_modified_by_user_request_builder.py index 017354b7eb4..938ffac88c2 100644 --- a/msgraph_beta/generated/sites/item/last_modified_by_user/last_modified_by_user_request_builder.py +++ b/msgraph_beta/generated/sites/item/last_modified_by_user/last_modified_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[LastModified request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastModifiedByUserRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/sites/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py index eb1e9700bfd..5935d5d0dbc 100644 --- a/msgraph_beta/generated/sites/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/sites/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/sites/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index b7064b3fe4e..fd5ba281362 100644 --- a/msgraph_beta/generated/sites/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/sites/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/activities/activities_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/activities/activities_request_builder.py index d9fe9cae42d..dbb61723e0d 100644 --- a/msgraph_beta/generated/sites/item/lists/item/activities/activities_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/activities/activities_request_builder.py @@ -86,7 +86,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivitiesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ItemActivityOLD] = None, request_configuration: Optional[ActivitiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ItemActivityOLD] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/lists/item/columns/columns_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/columns/columns_request_builder.py index cd93414aa0b..cfc5c56e8b2 100644 --- a/msgraph_beta/generated/sites/item/lists/item/columns/columns_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/columns/columns_request_builder.py @@ -45,7 +45,7 @@ def by_column_definition_id(self,column_definition_id: str) -> ColumnDefinitionI async def get(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> Optional[ColumnDefinitionCollectionResponse]: """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [list][list]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [list][list]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/list-list-columns?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ColumnsRequestBuilderGetReque async def post(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Create a column for a list][list] with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ColumnDefinition] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [list][list]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [list][list]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ColumnsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a column for a list][list] with a request that specifies a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ColumnDefinition] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ColumnsRequestBuilderGetQueryParameters(): """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [list][list]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [list][list]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/columns/item/column_definition_item_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/columns/item/column_definition_item_request_builder.py index 482def8d692..7725aed4729 100644 --- a/msgraph_beta/generated/sites/item/lists/item/columns/item/column_definition_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/columns/item/column_definition_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ColumnDef request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnDefini request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/lists/item/columns/item/source_column/source_column_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/columns/item/source_column/source_column_request_builder.py index 223409a013c..51cc7bb0295 100644 --- a/msgraph_beta/generated/sites/item/lists/item/columns/item/source_column/source_column_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/columns/item/source_column/source_column_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SourceColumn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SourceColumnRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/add_copy/add_copy_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/add_copy/add_copy_request_builder.py index 78c689a4ef3..6e34ee3fb35 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/add_copy/add_copy_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/add_copy/add_copy_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddCopyPostRequestBody] = None, request_configuration: Optional[AddCopyRequestBuilderPostRequestConfiguration] = None) -> Optional[ContentType]: """ - Add a copy of a content type][contentType] from a [site][site] to a [list][list]. This API is available in the following [national cloud deployments. + Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentType] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddCopyPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[AddCopyPostRequestBody] = None, request_configuration: Optional[AddCopyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a copy of a content type][contentType] from a [site][site] to a [list][list]. This API is available in the following [national cloud deployments. + Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddCopyPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.py index 31d90edabba..58ac034afd5 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddCopyFromContentTypeHubPostRequestBody] = None, request_configuration: Optional[AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration] = None) -> Optional[ContentType]: """ - Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. This API is available in the following national cloud deployments. + Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentType] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddCopyFromContentTypeHubPostRequestBody] = N def to_post_request_information(self,body: Optional[AddCopyFromContentTypeHubPostRequestBody] = None, request_configuration: Optional[AddCopyFromContentTypeHubRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. This API is available in the following national cloud deployments. + Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddCopyFromContentTypeHubPos request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/content_types_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/content_types_request_builder.py index d818c1cefa8..5e0c8d8dffd 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/content_types_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/content_types_request_builder.py @@ -48,7 +48,7 @@ def by_content_type_id(self,content_type_id: str) -> ContentTypeItemRequestBuild async def get(self,request_configuration: Optional[ContentTypesRequestBuilderGetRequestConfiguration] = None) -> Optional[ContentTypeCollectionResponse]: """ - Get the collection of contentType][contentType] resources in a [list][]. This API is available in the following [national cloud deployments. + Get the collection of [contentType][contentType] resources in a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentTypeCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/list-list-contenttypes?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def post(self,body: Optional[ContentType] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[ContentTypesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the collection of contentType][contentType] resources in a [list][]. This API is available in the following [national cloud deployments. + Get the collection of [contentType][contentType] resources in a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,7 +106,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentTypes request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ContentType] = None, request_configuration: Optional[ContentTypesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_post_request_information(self,body: Optional[ContentType] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ def get_compatible_hub_content_types(self) -> GetCompatibleHubContentTypesReques @dataclass class ContentTypesRequestBuilderGetQueryParameters(): """ - Get the collection of contentType][contentType] resources in a [list][]. This API is available in the following [national cloud deployments. + Get the collection of [contentType][contentType] resources in a [list][]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_request_builder.py index 5257e520348..970ffd8f13e 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/get_compatible_hub_content_types/get_compatible_hub_content_types_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetCompatibl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetCompatibleHubContentTypesRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py index 08ae8047d90..8ed2b8b9a75 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, request_configuration: Optional[AssociateWithHubSitesRequestBuilderPostRequestConfiguration] = None) -> None: """ - Associate a content type][contentType] with a list of hub sites. This API is available in the following [national cloud deployments. + Associate a [content type][contentType] with a list of hub sites. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, def to_post_request_information(self,body: Optional[AssociateWithHubSitesPostRequestBody] = None, request_configuration: Optional[AssociateWithHubSitesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Associate a content type][contentType] with a list of hub sites. This API is available in the following [national cloud deployments. + Associate a [content type][contentType] with a list of hub sites. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AssociateWithHubSitesPostReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/item/base/base_request_builder_.py b/msgraph_beta/generated/sites/item/lists/item/content_types/item/base/base_request_builder_.py index eca8f4bf03a..ed2369b8883 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/item/base/base_request_builder_.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/item/base/base_request_builder_.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[BaseRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> BaseRequestBuilder_: diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/item/base_types/base_types_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/item/base_types/base_types_request_builder.py index 5310fe9e917..83c5db21b9e 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/item/base_types/base_types_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/item/base_types/base_types_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[BaseTypesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> BaseTypesRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/item/base_types/item/content_type_item_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/item/base_types/item/content_type_item_request_builder.py index f2121991851..dd2aee95c79 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/item/base_types/item/content_type_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/item/base_types/item/content_type_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentTypeI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ContentTypeItemRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/item/column_links/column_links_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/item/column_links/column_links_request_builder.py index 0c3ec28ab4f..cc37008489c 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/item/column_links/column_links_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/item/column_links/column_links_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnLinksR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ColumnLink] = None, request_configuration: Optional[ColumnLinksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ColumnLink] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/item/column_links/item/column_link_item_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/item/column_links/item/column_link_item_request_builder.py index 244f5dbbb66..c3b9d4a7a20 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/item/column_links/item/column_link_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/item/column_links/item/column_link_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ColumnLin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ColumnLinkItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnLinkIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ColumnLink] = None, request_configuration: Optional[ColumnLinkItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ColumnLink] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/item/column_positions/column_positions_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/item/column_positions/column_positions_request_builder.py index a6e86ed3ebb..e72eb67b570 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/item/column_positions/column_positions_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/item/column_positions/column_positions_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnPositi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ColumnPositionsRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/item/column_positions/item/column_definition_item_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/item/column_positions/item/column_definition_item_request_builder.py index f019c43233f..4f22f93954a 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/item/column_positions/item/column_definition_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/item/column_positions/item/column_definition_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ColumnDefini request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ColumnDefinitionItemRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/item/columns/columns_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/item/columns/columns_request_builder.py index 11a66aac6bb..8e78bf5880a 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/item/columns/columns_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/item/columns/columns_request_builder.py @@ -45,7 +45,7 @@ def by_column_definition_id(self,column_definition_id: str) -> ColumnDefinitionI async def get(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> Optional[ColumnDefinitionCollectionResponse]: """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [content type][contentType]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/contenttype-list-columns?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ColumnsRequestBuilderGetReque async def post(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Add a column to a content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + Add a column to a [content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ColumnDefinition] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [content type][contentType]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ColumnsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a column to a content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. This API is available in the following [national cloud deployments. + Add a column to a [content type][contentType] in a site or list by specifying a [columnDefinition][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ColumnDefinition] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ColumnsRequestBuilderGetQueryParameters(): """ - Get the collection of columns, represented as columnDefinition][columnDefinition] resources, in a [content type][contentType]. This API is available in the following [national cloud deployments. + Get the collection of columns, represented as [columnDefinition][columnDefinition] resources, in a [content type][contentType]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/item/columns/item/column_definition_item_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/item/columns/item/column_definition_item_request_builder.py index 210e5ab747c..8dd9a2c1937 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/item/columns/item/column_definition_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/item/columns/item/column_definition_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a column][columndefinition] from a [site][], [list][] or [content type][contentType]. This API is available in the following [national cloud deployments. + Remove a [column][columndefinition] from a [site][], [list][] or [content type][contentType]. 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/columndefinition-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[ColumnDefinitionItemReques async def get(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Retrieve the metadata for a site][], [list][] or [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] Find more info here: https://learn.microsoft.com/graph/api/columndefinition-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[ColumnDefinitionItemRequestBu async def patch(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ColumnDefinition]: """ - Update a site][], [list][] or [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Update a [site][], [list][] or [content type][contentType] [column][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ColumnDefinition] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[ColumnDefinition] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a column][columndefinition] from a [site][], [list][] or [content type][contentType]. This API is available in the following [national cloud deployments. + Remove a [column][columndefinition] from a [site][], [list][] or [content type][contentType]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[ColumnDef request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ColumnDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the metadata for a site][], [list][] or [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[ColumnDefini request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, request_configuration: Optional[ColumnDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update a site][], [list][] or [content type][contentType] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Update a [site][], [list][] or [content type][contentType] [column][columnDefinition]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[ColumnDefinition] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class ColumnDefinitionItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class ColumnDefinitionItemRequestBuilderGetQueryParameters(): """ - Retrieve the metadata for a site][], [list][] or [contentType][] [column][columnDefinition]. This API is available in the following [national cloud deployments. + Retrieve the metadata for a [site][], [list][] or [contentType][] [column][columnDefinition]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/item/columns/item/source_column/source_column_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/item/columns/item/source_column/source_column_request_builder.py index fb08c61f1fc..2053b2b4493 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/item/columns/item/source_column/source_column_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/item/columns/item/source_column/source_column_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SourceColumn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SourceColumnRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/item/content_type_item_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/item/content_type_item_request_builder.py index db6e860bdae..543f4cb842c 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/item/content_type_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/item/content_type_item_request_builder.py @@ -113,7 +113,7 @@ def to_delete_request_information(self,request_configuration: Optional[ContentTy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ContentTypeItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -130,7 +130,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentTypeI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ContentType] = None, request_configuration: Optional[ContentTypeItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -149,7 +149,7 @@ def to_patch_request_information(self,body: Optional[ContentType] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py index 190c68a490e..25395c039ad 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] = None, request_configuration: Optional[CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration] = None) -> None: """ - Copy a file to a default content location in a content type][contentType]. The file can then be added as a default file or template via a POST operation. This API is available in the following [national cloud deployments. + Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] def to_post_request_information(self,body: Optional[CopyToDefaultContentLocationPostRequestBody] = None, request_configuration: Optional[CopyToDefaultContentLocationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a file to a default content location in a content type][contentType]. The file can then be added as a default file or template via a POST operation. This API is available in the following [national cloud deployments. + Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CopyToDefaultContentLocation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/item/is_published/is_published_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/item/is_published/is_published_request_builder.py index 28b0906460e..d286d88bd7e 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/item/is_published/is_published_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/item/is_published/is_published_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[IsPublishedR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IsPublishedRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/item/publish/publish_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/item/publish/publish_request_builder.py index 70fc515edfd..a422fae93de 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/item/publish/publish_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/item/publish/publish_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[PublishRequestBuilderPostRequestConfiguration] = None) -> None: """ - Publishes a contentType][] present in a content type hub site. This API is available in the following [national cloud deployments. + Publishes a [contentType][] present in a content type hub site. 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/contenttype-publish?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[PublishRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[PublishRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Publishes a contentType][] present in a content type hub site. This API is available in the following [national cloud deployments. + Publishes a [contentType][] present in a content type hub site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[PublishRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PublishRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/lists/item/content_types/item/unpublish/unpublish_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/content_types/item/unpublish/unpublish_request_builder.py index 4fa58a1cfa6..fe9f5fc10ac 100644 --- a/msgraph_beta/generated/sites/item/lists/item/content_types/item/unpublish/unpublish_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/content_types/item/unpublish/unpublish_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UnpublishRequestBuilderPostRequestConfiguration] = None) -> None: """ - Unpublish a contentType][] from a content type hub site. This API is available in the following [national cloud deployments. + Unpublish a [contentType][] from a content type hub site. 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/contenttype-unpublish?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UnpublishRequestBuilderPostR def to_post_request_information(self,request_configuration: Optional[UnpublishRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Unpublish a contentType][] from a content type hub site. This API is available in the following [national cloud deployments. + Unpublish a [contentType][] from a content type hub site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UnpublishRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnpublishRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/lists/item/created_by_user/created_by_user_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/created_by_user/created_by_user_request_builder.py index 889bc589182..ee54880db9f 100644 --- a/msgraph_beta/generated/sites/item/lists/item/created_by_user/created_by_user_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/created_by_user/created_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[CreatedByUse request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreatedByUserRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/lists/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py index ec8566437ba..b4ae019810f 100644 --- a/msgraph_beta/generated/sites/item/lists/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/lists/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index 7f58040c513..7cc500f45f9 100644 --- a/msgraph_beta/generated/sites/item/lists/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/drive/drive_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/drive/drive_request_builder.py index dafe6efb811..ecbfcb7c3eb 100644 --- a/msgraph_beta/generated/sites/item/lists/item/drive/drive_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/drive/drive_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/lists/item/items/delta/delta_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/delta/delta_request_builder.py index 92c17e92c9c..1e0f2957e14 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/delta/delta_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/lists/item/items/delta_with_token/delta_with_token_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/delta_with_token/delta_with_token_request_builder.py index 3a4cac4c247..436ac3930d0 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/delta_with_token/delta_with_token_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/delta_with_token/delta_with_token_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaWithTok request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaWithTokenRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/activities/activities_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/activities/activities_request_builder.py index 8386f468d01..0013f7af16b 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/activities/activities_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/activities/activities_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivitiesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ItemActivityOLD] = None, request_configuration: Optional[ActivitiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ItemActivityOLD] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/activities/item/drive_item/content/content_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/activities/item/drive_item/content/content_request_builder.py index 44be4fd1af1..ae6f9062af1 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/activities/item/drive_item/content/content_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/activities/item/drive_item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/activities/item/drive_item/drive_item_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/activities/item/drive_item/drive_item_request_builder.py index 5d1b9cf9bdc..8316199f518 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/activities/item/drive_item/drive_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/activities/item/drive_item/drive_item_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveItemRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/activities/item/item_activity_o_l_d_item_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/activities/item/item_activity_o_l_d_item_request_builder.py index 58dbb90f530..12a3b0563bf 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/activities/item/item_activity_o_l_d_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/activities/item/item_activity_o_l_d_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ItemActiv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemActivityOLDItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemActivity request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemActivityOLD] = None, request_configuration: Optional[ItemActivityOLDItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ItemActivityOLD] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/activities/item/list_item/list_item_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/activities/item/list_item/list_item_request_builder.py index a9dd7097f9e..587bd87fb6e 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/activities/item/list_item/list_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/activities/item/list_item/list_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ListItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ListItemRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/analytics/analytics_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/analytics/analytics_request_builder.py index c342394c36e..9222e885fcc 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/analytics/analytics_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/analytics/analytics_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AnalyticsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AnalyticsRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/create_link/create_link_post_request_body.py b/msgraph_beta/generated/sites/item/lists/item/items/item/create_link/create_link_post_request_body.py index b4efc3e01d7..a235b4202ac 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/create_link/create_link_post_request_body.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/create_link/create_link_post_request_body.py @@ -17,6 +17,8 @@ class CreateLinkPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): additional_data: Dict[str, Any] = field(default_factory=dict) # The expirationDateTime property expiration_date_time: Optional[datetime.datetime] = None + # The message property + message: Optional[str] = None # The password property password: Optional[str] = None # The recipients property @@ -52,6 +54,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "expirationDateTime": lambda n : setattr(self, 'expiration_date_time', n.get_datetime_value()), + "message": lambda n : setattr(self, 'message', n.get_str_value()), "password": lambda n : setattr(self, 'password', n.get_str_value()), "recipients": lambda n : setattr(self, 'recipients', n.get_collection_of_object_values(DriveRecipient)), "retainInheritedPermissions": lambda n : setattr(self, 'retain_inherited_permissions', n.get_bool_value()), @@ -70,6 +73,7 @@ def serialize(self,writer: SerializationWriter) -> None: if not writer: raise TypeError("writer cannot be null.") writer.write_datetime_value("expirationDateTime", self.expiration_date_time) + writer.write_str_value("message", self.message) writer.write_str_value("password", self.password) writer.write_collection_of_object_values("recipients", self.recipients) writer.write_bool_value("retainInheritedPermissions", self.retain_inherited_permissions) diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/create_link/create_link_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/create_link/create_link_request_builder.py index ec3e39afca9..e49e2e66b76 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/create_link/create_link_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/create_link/create_link_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateLinkPostRequestBody] = None, request_configuration: Optional[CreateLinkRequestBuilderPostRequestConfiguration] = None) -> Optional[Permission]: """ - Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action will return the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. This API is available in the following national cloud deployments. + Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action will return the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Permission] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateLinkPostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[CreateLinkPostRequestBody] = None, request_configuration: Optional[CreateLinkRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action will return the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. This API is available in the following national cloud deployments. + Create a sharing link for a listItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, this action will return the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateLinkPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/created_by_user/created_by_user_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/created_by_user/created_by_user_request_builder.py index a8ecd4fc3ea..45321c91794 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/created_by_user/created_by_user_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/created_by_user/created_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[CreatedByUse request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreatedByUserRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py index f7f03914eee..b52d20c5671 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index 530bf9724c6..e5cb80c5322 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/document_set_versions/document_set_versions_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/document_set_versions/document_set_versions_request_builder.py index 2f3b15f2bad..537d7aef1ed 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/document_set_versions/document_set_versions_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/document_set_versions/document_set_versions_request_builder.py @@ -45,7 +45,7 @@ def by_document_set_version_id(self,document_set_version_id: str) -> DocumentSet async def get(self,request_configuration: Optional[DocumentSetVersionsRequestBuilderGetRequestConfiguration] = None) -> Optional[DocumentSetVersionCollectionResponse]: """ - Get a list of the versions of a document set item in a list. This API is available in the following national cloud deployments. + Get a list of the versions of a document set item in a list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DocumentSetVersionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/listitem-list-documentsetversions?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[DocumentSetVersionsRequestBui async def post(self,body: Optional[DocumentSetVersion] = None, request_configuration: Optional[DocumentSetVersionsRequestBuilderPostRequestConfiguration] = None) -> Optional[DocumentSetVersion]: """ - Create a new version of a document set item in a list. This API is available in the following national cloud deployments. + Create a new version of a document set item in a list. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DocumentSetVersion] @@ -92,7 +92,7 @@ async def post(self,body: Optional[DocumentSetVersion] = None, request_configura def to_get_request_information(self,request_configuration: Optional[DocumentSetVersionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the versions of a document set item in a list. This API is available in the following national cloud deployments. + Get a list of the versions of a document set item in a list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[DocumentSetV request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DocumentSetVersion] = None, request_configuration: Optional[DocumentSetVersionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new version of a document set item in a list. This API is available in the following national cloud deployments. + Create a new version of a document set item in a list. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[DocumentSetVersion] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DocumentSetVersionsRequestBuilderGetQueryParameters(): """ - Get a list of the versions of a document set item in a list. This API is available in the following national cloud deployments. + Get a list of the versions of a document set item in a list. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/document_set_versions/item/document_set_version_item_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/document_set_versions/item/document_set_version_item_request_builder.py index efcc8d97da5..d870270dae4 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/document_set_versions/item/document_set_version_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/document_set_versions/item/document_set_version_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a version of a document set in a list. This API is available in the following national cloud deployments. + Delete a version of a document set in a list. 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/documentsetversion-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[DocumentSetVersionItemRequ async def get(self,request_configuration: Optional[DocumentSetVersionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DocumentSetVersion]: """ - Read the properties and relationships of a documentSetVersion object. This API is available in the following national cloud deployments. + Read the properties and relationships of a documentSetVersion object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DocumentSetVersion] Find more info here: https://learn.microsoft.com/graph/api/documentsetversion-get?view=graph-rest-1.0 @@ -96,7 +96,7 @@ async def patch(self,body: Optional[DocumentSetVersion] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a version of a document set in a list. This API is available in the following national cloud deployments. + Delete a version of a document set in a list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[DocumentS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DocumentSetVersionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a documentSetVersion object. This API is available in the following national cloud deployments. + Read the properties and relationships of a documentSetVersion object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[DocumentSetV request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DocumentSetVersion] = None, request_configuration: Optional[DocumentSetVersionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[DocumentSetVersion] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ class DocumentSetVersionItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class DocumentSetVersionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a documentSetVersion object. This API is available in the following national cloud deployments. + Read the properties and relationships of a documentSetVersion object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/document_set_versions/item/fields/fields_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/document_set_versions/item/fields/fields_request_builder.py index 44eb26fcd6a..d1bdaa2bbc6 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/document_set_versions/item/fields/fields_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/document_set_versions/item/fields/fields_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[FieldsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FieldsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[FieldsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[FieldValueSet] = None, request_configuration: Optional[FieldsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[FieldValueSet] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/document_set_versions/item/restore/restore_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/document_set_versions/item/restore/restore_request_builder.py index b6d52ba8fc3..f0df6f7bbcd 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/document_set_versions/item/restore/restore_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/document_set_versions/item/restore/restore_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> None: """ - Restore a document set version. This API is available in the following national cloud deployments. + Restore a document set version. 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/documentsetversion-restore?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RestoreRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a document set version. This API is available in the following national cloud deployments. + Restore a document set version. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RestoreRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RestoreRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/drive_item/content/content_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/drive_item/content/content_request_builder.py index 2e854af4676..fb543e7de9f 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/drive_item/content/content_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/drive_item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/drive_item/drive_item_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/drive_item/drive_item_request_builder.py index 97fb7ea6a28..7fa13c15b81 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/drive_item/drive_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/drive_item/drive_item_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveItemRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/fields/fields_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/fields/fields_request_builder.py index 624a153fde0..837826c53ff 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/fields/fields_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/fields/fields_request_builder.py @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[FieldsRequestBuilderGetReques async def patch(self,body: Optional[FieldValueSet] = None, request_configuration: Optional[FieldsRequestBuilderPatchRequestConfiguration] = None) -> Optional[FieldValueSet]: """ - Update the properties on a listItem][]. This API is available in the following [national cloud deployments. + Update the properties on a [listItem][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FieldValueSet] @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[FieldsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FieldsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,12 +121,12 @@ def to_get_request_information(self,request_configuration: Optional[FieldsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[FieldValueSet] = None, request_configuration: Optional[FieldsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties on a listItem][]. This API is available in the following [national cloud deployments. + Update the properties on a [listItem][]. 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 to_patch_request_information(self,body: Optional[FieldValueSet] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.py index 26f0684936a..13917469b33 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval/get_activities_by_interval_with_start_date_time_with_end_date_time_with_interval_request_builder.py @@ -68,7 +68,7 @@ def to_get_request_information(self,request_configuration: Optional[GetActivitie request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/last_modified_by_user/last_modified_by_user_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/last_modified_by_user/last_modified_by_user_request_builder.py index ba0d8c0d7ac..a99daed2d65 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/last_modified_by_user/last_modified_by_user_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/last_modified_by_user/last_modified_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[LastModified request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastModifiedByUserRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py index 8c864b4b4cc..5ad371a1122 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index c21377bf8b9..6169ac67836 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/list_item_item_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/list_item_item_request_builder.py index aafc609c35c..3987f923d3d 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/list_item_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/list_item_item_request_builder.py @@ -38,7 +38,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ListItemItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Removes an item from a list][]. This API is available in the following [national cloud deployments. + Removes an item from a [list][]. 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/listitem-delete?view=graph-rest-1.0 @@ -58,7 +58,7 @@ async def delete(self,request_configuration: Optional[ListItemItemRequestBuilder async def get(self,request_configuration: Optional[ListItemItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ListItem]: """ - Returns the metadata for an item][] in a [list][]. This API is available in the following [national cloud deployments. + Returns the metadata for an [item][] in a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ListItem] Find more info here: https://learn.microsoft.com/graph/api/listitem-get?view=graph-rest-1.0 @@ -122,7 +122,7 @@ async def patch(self,body: Optional[ListItem] = None, request_configuration: Opt def to_delete_request_information(self,request_configuration: Optional[ListItemItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Removes an item from a list][]. This API is available in the following [national cloud deployments. + Removes an item from a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -133,12 +133,12 @@ def to_delete_request_information(self,request_configuration: Optional[ListItemI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ListItemItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Returns the metadata for an item][] in a [list][]. This API is available in the following [national cloud deployments. + Returns the metadata for an [item][] in a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -150,7 +150,7 @@ def to_get_request_information(self,request_configuration: Optional[ListItemItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ListItem] = None, request_configuration: Optional[ListItemItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -169,7 +169,7 @@ def to_patch_request_information(self,body: Optional[ListItem] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -277,7 +277,7 @@ class ListItemItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class ListItemItemRequestBuilderGetQueryParameters(): """ - Returns the metadata for an item][] in a [list][]. This API is available in the following [national cloud deployments. + Returns the metadata for an [item][] in a [list][]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/versions/item/fields/fields_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/versions/item/fields/fields_request_builder.py index 0efc60f742d..52821a8e898 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/versions/item/fields/fields_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/versions/item/fields/fields_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[FieldsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FieldsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[FieldsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[FieldValueSet] = None, request_configuration: Optional[FieldsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[FieldValueSet] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/versions/item/list_item_version_item_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/versions/item/list_item_version_item_request_builder.py index e3eff213d49..e4df92dcadf 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/versions/item/list_item_version_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/versions/item/list_item_version_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ListItemV request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ListItemVersionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ListItemVers request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ListItemVersion] = None, request_configuration: Optional[ListItemVersionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ListItemVersion] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/versions/item/restore_version/restore_version_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/versions/item/restore_version/restore_version_request_builder.py index 1efc8d86ac6..7f2f7fba298 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/versions/item/restore_version/restore_version_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/versions/item/restore_version/restore_version_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RestoreVers request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RestoreVersionRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/lists/item/items/item/versions/versions_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/item/versions/versions_request_builder.py index d21ae03ea92..2d484f03410 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/item/versions/versions_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/item/versions/versions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[VersionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ListItemVersion] = None, request_configuration: Optional[VersionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ListItemVersion] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/lists/item/items/items_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/items/items_request_builder.py index c69dfbfa7f0..9d4f1636e76 100644 --- a/msgraph_beta/generated/sites/item/lists/item/items/items_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/items/items_request_builder.py @@ -58,7 +58,7 @@ def delta_with_token(self,token: Optional[str] = None) -> DeltaWithTokenRequestB async def get(self,request_configuration: Optional[ItemsRequestBuilderGetRequestConfiguration] = None) -> Optional[ListItemCollectionResponse]: """ - Get the collection of items][item] in a [list][]. This API is available in the following [national cloud deployments. + Get the collection of [items][item] in a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ListItemCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/listitem-list?view=graph-rest-1.0 @@ -80,7 +80,7 @@ async def get(self,request_configuration: Optional[ItemsRequestBuilderGetRequest async def post(self,body: Optional[ListItem] = None, request_configuration: Optional[ItemsRequestBuilderPostRequestConfiguration] = None) -> Optional[ListItem]: """ - Create a new listItem][] in a [list][]. This API is available in the following [national cloud deployments. + Create a new [listItem][] in a [list][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ListItem] @@ -105,7 +105,7 @@ async def post(self,body: Optional[ListItem] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[ItemsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the collection of items][item] in a [list][]. This API is available in the following [national cloud deployments. + Get the collection of [items][item] in a [list][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,12 +117,12 @@ def to_get_request_information(self,request_configuration: Optional[ItemsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ListItem] = None, request_configuration: Optional[ItemsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new listItem][] in a [list][]. This API is available in the following [national cloud deployments. + Create a new [listItem][] in a [list][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -136,7 +136,7 @@ def to_post_request_information(self,body: Optional[ListItem] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -162,7 +162,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class ItemsRequestBuilderGetQueryParameters(): """ - Get the collection of items][item] in a [list][]. This API is available in the following [national cloud deployments. + Get the collection of [items][item] in a [list][]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/last_modified_by_user/last_modified_by_user_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/last_modified_by_user/last_modified_by_user_request_builder.py index 789790cd3a9..12ba9762be0 100644 --- a/msgraph_beta/generated/sites/item/lists/item/last_modified_by_user/last_modified_by_user_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/last_modified_by_user/last_modified_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[LastModified request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastModifiedByUserRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/lists/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py index 7a4a6dc0dd1..0b4aac48199 100644 --- a/msgraph_beta/generated/sites/item/lists/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/lists/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index b981a6f8d57..b284ca401b0 100644 --- a/msgraph_beta/generated/sites/item/lists/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/list_item_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/list_item_request_builder.py index 883c5b5d7fe..9a8e13993d4 100644 --- a/msgraph_beta/generated/sites/item/lists/item/list_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/list_item_request_builder.py @@ -56,7 +56,7 @@ async def delete(self,request_configuration: Optional[ListItemRequestBuilderDele async def get(self,request_configuration: Optional[ListItemRequestBuilderGetRequestConfiguration] = None) -> Optional[List_]: """ - Get the list of richLongRunningOperations associated with a list. This API is available in the following national cloud deployments. + Get the list of richLongRunningOperations associated with a list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[List_] Find more info here: https://learn.microsoft.com/graph/api/list-list-operations?view=graph-rest-1.0 @@ -113,12 +113,12 @@ def to_delete_request_information(self,request_configuration: Optional[ListItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ListItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of richLongRunningOperations associated with a list. This API is available in the following national cloud deployments. + Get the list of richLongRunningOperations associated with a list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -130,7 +130,7 @@ def to_get_request_information(self,request_configuration: Optional[ListItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[List_] = None, request_configuration: Optional[ListItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -149,7 +149,7 @@ def to_patch_request_information(self,body: Optional[List_] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -257,7 +257,7 @@ class ListItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class ListItemRequestBuilderGetQueryParameters(): """ - Get the list of richLongRunningOperations associated with a list. This API is available in the following national cloud deployments. + Get the list of richLongRunningOperations associated with a list. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/lists/item/operations/item/rich_long_running_operation_item_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/operations/item/rich_long_running_operation_item_request_builder.py index 896b6563130..ed8b990f7ae 100644 --- a/msgraph_beta/generated/sites/item/lists/item/operations/item/rich_long_running_operation_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/operations/item/rich_long_running_operation_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RichLongR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RichLongRunningOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RichLongRunn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RichLongRunningOperation] = None, request_configuration: Optional[RichLongRunningOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[RichLongRunningOperation] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/lists/item/operations/operations_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/operations/operations_request_builder.py index 9248fbb9b99..9d26a41d5bc 100644 --- a/msgraph_beta/generated/sites/item/lists/item/operations/operations_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/operations/operations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[RichLongRunningOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[RichLongRunningOperation] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/lists/item/subscriptions/item/reauthorize/reauthorize_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/subscriptions/item/reauthorize/reauthorize_request_builder.py index 74aa26b0832..552328da0dc 100644 --- a/msgraph_beta/generated/sites/item/lists/item/subscriptions/item/reauthorize/reauthorize_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/subscriptions/item/reauthorize/reauthorize_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ReauthorizeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reauthorize a subscription when you receive a reauthorizationRequired challenge. This API is available in the following national cloud deployments. + Reauthorize a subscription when you receive a reauthorizationRequired challenge. 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/subscription-reauthorize?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ReauthorizeRequestBuilderPos def to_post_request_information(self,request_configuration: Optional[ReauthorizeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reauthorize a subscription when you receive a reauthorizationRequired challenge. This API is available in the following national cloud deployments. + Reauthorize a subscription when you receive a reauthorizationRequired challenge. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[Reauthorize request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReauthorizeRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/lists/item/subscriptions/item/subscription_item_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/subscriptions/item/subscription_item_request_builder.py index 7bc0c53bd36..dd34bb17fba 100644 --- a/msgraph_beta/generated/sites/item/lists/item/subscriptions/item/subscription_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/subscriptions/item/subscription_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Subscript request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SubscriptionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[Subscription request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Subscription] = None, request_configuration: Optional[SubscriptionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Subscription] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/lists/item/subscriptions/subscriptions_request_builder.py b/msgraph_beta/generated/sites/item/lists/item/subscriptions/subscriptions_request_builder.py index 2fbeae2395e..2589f277ae1 100644 --- a/msgraph_beta/generated/sites/item/lists/item/subscriptions/subscriptions_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/item/subscriptions/subscriptions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Subscription request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Subscription] = None, request_configuration: Optional[SubscriptionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Subscription] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/lists/lists_request_builder.py b/msgraph_beta/generated/sites/item/lists/lists_request_builder.py index 892ddab06a6..ae11f887f09 100644 --- a/msgraph_beta/generated/sites/item/lists/lists_request_builder.py +++ b/msgraph_beta/generated/sites/item/lists/lists_request_builder.py @@ -45,7 +45,7 @@ def by_list_id(self,list_id: str) -> ListItemRequestBuilder: async def get(self,request_configuration: Optional[ListsRequestBuilderGetRequestConfiguration] = None) -> Optional[ListCollectionResponse]: """ - Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. This API is available in the following national cloud deployments. + Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ListCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/list-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ListsRequestBuilderGetRequest async def post(self,body: Optional[List_] = None, request_configuration: Optional[ListsRequestBuilderPostRequestConfiguration] = None) -> Optional[List_]: """ - Create a new list][] in a [site][]. This API is available in the following [national cloud deployments. + Create a new [list][] in a [site][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[List_] @@ -92,7 +92,7 @@ async def post(self,body: Optional[List_] = None, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[ListsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. This API is available in the following national cloud deployments. + Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ListsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[List_] = None, request_configuration: Optional[ListsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new list][] in a [site][]. This API is available in the following [national cloud deployments. + Create a new [list][] in a [site][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[List_] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ListsRequestBuilderGetQueryParameters(): """ - Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. This API is available in the following national cloud deployments. + Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.py index ab3954ae31c..444c743ee7a 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetNotebookFromWebUrlPostRequestBody] = None, request_configuration: Optional[GetNotebookFromWebUrlRequestBuilderPostRequestConfiguration] = None) -> Optional[CopyNotebookModel]: """ - Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CopyNotebookModel] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetNotebookFromWebUrlPostRequestBody] = None, def to_post_request_information(self,body: Optional[GetNotebookFromWebUrlPostRequestBody] = None, request_configuration: Optional[GetNotebookFromWebUrlRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetNotebookFromWebUrlPostReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_request_builder.py index ccd9d65ac1f..59a658956f0 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GetRecentNot request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.py index 7f06f5ccdc6..051b69d932a 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyNotebookPostRequestBody] = None, request_configuration: Optional[CopyNotebookRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a notebook to the Notebooks folder in the destination Documents library. The folder is created if it doesn't exist. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a notebook to the Notebooks folder in the destination Documents library. The folder is created if it doesn't exist. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyNotebookPostRequestBody] = None, request_ def to_post_request_information(self,body: Optional[CopyNotebookPostRequestBody] = None, request_configuration: Optional[CopyNotebookRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a notebook to the Notebooks folder in the destination Documents library. The folder is created if it doesn't exist. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a notebook to the Notebooks folder in the destination Documents library. The folder is created if it doesn't exist. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyNotebookPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/notebook_item_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/notebook_item_request_builder.py index aa3151908e5..a128d19fa60 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/notebook_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/notebook_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[NotebookItemRequestBuilder async def get(self,request_configuration: Optional[NotebookItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Notebook]: """ - Retrieve the properties and relationships of a notebook object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a notebook object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Notebook] Find more info here: https://learn.microsoft.com/graph/api/notebook-get?view=graph-rest-1.0 @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[NotebookI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[NotebookItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a notebook object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a notebook object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[NotebookItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Notebook] = None, request_configuration: Optional[NotebookItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[Notebook] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -197,7 +197,7 @@ class NotebookItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class NotebookItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a notebook object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a notebook object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/parent_notebook/parent_notebook_request_builder.py index 26d457dc594..54257b0acd0 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/parent_section_group/parent_section_group_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/parent_section_group/parent_section_group_request_builder.py index 2039c4ca21a..484bbafc089 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/parent_section_group/parent_section_group_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/parent_section_group/parent_section_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionGroupRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.py index b5b81c52376..9eb30b2448d 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[SectionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SectionGroupItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SectionGroup] = None, request_configuration: Optional[SectionGroupItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[SectionGroup] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/section_groups/item/section_group_item_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/section_groups/item/section_group_item_request_builder.py index 056f52cf914..d944aa69cb9 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/section_groups/item/section_group_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/section_groups/item/section_group_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SectionGroupItemRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/section_groups/section_groups_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/section_groups/section_groups_request_builder.py index 60f05b7c231..236989af451 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/section_groups/section_groups_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/section_groups/section_groups_request_builder.py @@ -44,7 +44,7 @@ def by_section_group_id1(self,section_group_id1: str) -> SectionGroupItemRequest async def get(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[SectionGroupCollectionResponse]: """ - Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SectionGroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sectiongroup-list-sectiongroups?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[SectionGroupsRequestBuilderGe def to_get_request_information(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SectionGroupsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionGroupsRequestBuilderGetQueryParameters(): """ - Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified section group. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py index 9b9ee97bb69..5ab4b219f8e 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py index 7029fb8a5fd..ef476eced55 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, re def to_post_request_information(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionGroupPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.py index 3c78e40f9eb..73e910ac243 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenoteSe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenoteSectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenoteSecti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[OnenoteSectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[OnenoteSection] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.py index 31c10259a27..4ce38a85491 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py index 3653049d780..b5ae38e4c5a 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py index c23efd5d726..f60000da72b 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenotePa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenotePageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenotePageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[OnenotePageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[OnenotePage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py index ea640eee3b3..2e7152dc3f3 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[OnenotePatchContentPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py index 2b9361bd495..cf1ba8cf4f1 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py index c13bf5f410d..003089ce174 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py index 2c57cb9945d..bd5adb22e1a 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[PreviewReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PreviewRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.py index 7c9cd7f7b3d..091e6908b86 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PagesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[PagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnenotePage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py index ebb0f765e0e..4e7d69f8a8f 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py index 7ce2f9b1af0..81099aedc30 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionGroupRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.py index 589cff2e96d..a089feebeca 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.py @@ -45,7 +45,7 @@ def by_onenote_section_id(self,onenote_section_id: str) -> OnenoteSectionItemReq async def get(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> Optional[OnenoteSectionCollectionResponse]: """ - Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of onenoteSection objects from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSectionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sectiongroup-list-sections?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SectionsRequestBuilderGetRequ async def post(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[SectionsRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteSection]: """ - Create a new section in the specified section group. This API is available in the following national cloud deployments. + Create a new section in the specified section group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSection] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OnenoteSection] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of onenoteSection objects from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SectionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[SectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new section in the specified section group. This API is available in the following national cloud deployments. + Create a new section in the specified section group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OnenoteSection] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionsRequestBuilderGetQueryParameters(): """ - Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of onenoteSection objects from the specified section group. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/section_groups_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/section_groups_request_builder.py index 9426047d2a0..ee1453ab55a 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/section_groups_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/section_groups/section_groups_request_builder.py @@ -45,7 +45,7 @@ def by_section_group_id(self,section_group_id: str) -> SectionGroupItemRequestBu async def get(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[SectionGroupCollectionResponse]: """ - Retrieve a list of section groups from the specified notebook. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified notebook. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SectionGroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/notebook-list-sectiongroups?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SectionGroupsRequestBuilderGe async def post(self,body: Optional[SectionGroup] = None, request_configuration: Optional[SectionGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[SectionGroup]: """ - Create a new section group in the specified notebook. This API is available in the following national cloud deployments. + Create a new section group in the specified notebook. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SectionGroup] @@ -92,7 +92,7 @@ async def post(self,body: Optional[SectionGroup] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of section groups from the specified notebook. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified notebook. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SectionGroup] = None, request_configuration: Optional[SectionGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new section group in the specified notebook. This API is available in the following national cloud deployments. + Create a new section group in the specified notebook. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[SectionGroup] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionGroupsRequestBuilderGetQueryParameters(): """ - Retrieve a list of section groups from the specified notebook. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified notebook. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py index ca1142866ed..5477db88b66 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py index ff8afa96218..197e1afbd7c 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, re def to_post_request_information(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionGroupPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.py index b31b5823529..1938a32ff99 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenoteSe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenoteSectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenoteSecti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[OnenoteSectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[OnenoteSection] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.py index 72999e26be8..93b066f7517 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py index 2c8c1e648f1..dc6ba5fef73 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.py index 6e31a5ea1d4..ed56f3834e9 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenotePa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenotePageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenotePageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[OnenotePageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[OnenotePage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py index a976c96dafb..0e3ed66530c 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[OnenotePatchContentPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py index 1f96c8db771..6a73777fb63 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/parent_section/parent_section_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/parent_section/parent_section_request_builder.py index 86618802b17..332f1004cd9 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/parent_section/parent_section_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/parent_section/parent_section_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/preview/preview_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/preview/preview_request_builder.py index ad8afcee04b..71659534acd 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/preview/preview_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/item/preview/preview_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[PreviewReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PreviewRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.py index 4d323ce9a06..9b13470fa73 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PagesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[PagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnenotePage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/parent_notebook/parent_notebook_request_builder.py index bba45ff0476..41761626aa0 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/parent_section_group/parent_section_group_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/parent_section_group/parent_section_group_request_builder.py index 45ef19289a2..a53d782ef92 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/parent_section_group/parent_section_group_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/item/parent_section_group/parent_section_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionGroupRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/sections_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/sections_request_builder.py index 702e12adfe7..c91e87349c4 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/sections_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/item/sections/sections_request_builder.py @@ -45,7 +45,7 @@ def by_onenote_section_id(self,onenote_section_id: str) -> OnenoteSectionItemReq async def get(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> Optional[OnenoteSectionCollectionResponse]: """ - Retrieve a list of section objects from the specified notebook. This API is available in the following national cloud deployments. + Retrieve a list of section objects from the specified notebook. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSectionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/notebook-list-sections?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SectionsRequestBuilderGetRequ async def post(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[SectionsRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteSection]: """ - Create a new section in the specified notebook. This API is available in the following national cloud deployments. + Create a new section in the specified notebook. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSection] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OnenoteSection] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of section objects from the specified notebook. This API is available in the following national cloud deployments. + Retrieve a list of section objects from the specified notebook. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SectionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[SectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new section in the specified notebook. This API is available in the following national cloud deployments. + Create a new section in the specified notebook. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OnenoteSection] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionsRequestBuilderGetQueryParameters(): """ - Retrieve a list of section objects from the specified notebook. This API is available in the following national cloud deployments. + Retrieve a list of section objects from the specified notebook. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/onenote/notebooks/notebooks_request_builder.py b/msgraph_beta/generated/sites/item/onenote/notebooks/notebooks_request_builder.py index 489eed03030..30dd06c242f 100644 --- a/msgraph_beta/generated/sites/item/onenote/notebooks/notebooks_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/notebooks/notebooks_request_builder.py @@ -47,7 +47,7 @@ def by_notebook_id(self,notebook_id: str) -> NotebookItemRequestBuilder: async def get(self,request_configuration: Optional[NotebooksRequestBuilderGetRequestConfiguration] = None) -> Optional[NotebookCollectionResponse]: """ - Retrieve a list of notebook objects. This API is available in the following national cloud deployments. + Retrieve a list of notebook objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[NotebookCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/onenote-list-notebooks?view=graph-rest-1.0 @@ -81,7 +81,7 @@ def get_recent_notebooks_with_include_personal_notebooks(self,include_personal_n async def post(self,body: Optional[Notebook] = None, request_configuration: Optional[NotebooksRequestBuilderPostRequestConfiguration] = None) -> Optional[Notebook]: """ - Create a new OneNote notebook. This API is available in the following national cloud deployments. + Create a new OneNote notebook. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Notebook] @@ -106,7 +106,7 @@ async def post(self,body: Optional[Notebook] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[NotebooksRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of notebook objects. This API is available in the following national cloud deployments. + Retrieve a list of notebook objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -118,12 +118,12 @@ def to_get_request_information(self,request_configuration: Optional[NotebooksReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Notebook] = None, request_configuration: Optional[NotebooksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new OneNote notebook. This API is available in the following national cloud deployments. + Create a new OneNote notebook. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -137,7 +137,7 @@ def to_post_request_information(self,body: Optional[Notebook] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -172,7 +172,7 @@ def get_notebook_from_web_url(self) -> GetNotebookFromWebUrlRequestBuilder: @dataclass class NotebooksRequestBuilderGetQueryParameters(): """ - Retrieve a list of notebook objects. This API is available in the following national cloud deployments. + Retrieve a list of notebook objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/onenote/onenote_request_builder.py b/msgraph_beta/generated/sites/item/onenote/onenote_request_builder.py index 746d010c07d..80dd8d3cf4f 100644 --- a/msgraph_beta/generated/sites/item/onenote/onenote_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/onenote_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenoteRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenoteRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenoteReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Onenote] = None, request_configuration: Optional[OnenoteRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[Onenote] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/operations/item/onenote_operation_item_request_builder.py b/msgraph_beta/generated/sites/item/onenote/operations/item/onenote_operation_item_request_builder.py index c19546d86e4..62109f5b0cb 100644 --- a/msgraph_beta/generated/sites/item/onenote/operations/item/onenote_operation_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/operations/item/onenote_operation_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[OnenoteOperationItemReques async def get(self,request_configuration: Optional[OnenoteOperationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] Find more info here: https://learn.microsoft.com/graph/api/onenoteoperation-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[OnenoteOp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenoteOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenoteOpera request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenoteOperation] = None, request_configuration: Optional[OnenoteOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[OnenoteOperation] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class OnenoteOperationItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class OnenoteOperationItemRequestBuilderGetQueryParameters(): """ - Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/onenote/operations/operations_request_builder.py b/msgraph_beta/generated/sites/item/onenote/operations/operations_request_builder.py index 933e93b4522..e4cafadb664 100644 --- a/msgraph_beta/generated/sites/item/onenote/operations/operations_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/operations/operations_request_builder.py @@ -45,7 +45,7 @@ def by_onenote_operation_id(self,onenote_operation_id: str) -> OnenoteOperationI async def get(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> Optional[OnenoteOperationCollectionResponse]: """ - Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperationCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[OnenoteOperation] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenoteOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnenoteOperation] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OperationsRequestBuilderGetQueryParameters(): """ - Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/onenote/pages/item/content/content_request_builder.py b/msgraph_beta/generated/sites/item/onenote/pages/item/content/content_request_builder.py index c7e0f491f0f..356913e6d1c 100644 --- a/msgraph_beta/generated/sites/item/onenote/pages/item/content/content_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/pages/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.py b/msgraph_beta/generated/sites/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.py index 06be24f56d7..2ed28c95f36 100644 --- a/msgraph_beta/generated/sites/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/pages/item/onenote_page_item_request_builder.py b/msgraph_beta/generated/sites/item/onenote/pages/item/onenote_page_item_request_builder.py index 8e01b5be338..ca53145ae0c 100644 --- a/msgraph_beta/generated/sites/item/onenote/pages/item/onenote_page_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/pages/item/onenote_page_item_request_builder.py @@ -34,7 +34,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[OnenotePageItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a OneNote page. This API is available in the following national cloud deployments. + Delete a OneNote page. 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/page-delete?view=graph-rest-1.0 @@ -99,7 +99,7 @@ async def patch(self,body: Optional[OnenotePage] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[OnenotePageItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a OneNote page. This API is available in the following national cloud deployments. + Delete a OneNote page. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -110,7 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenotePa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenotePageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenotePageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[OnenotePageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[OnenotePage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py b/msgraph_beta/generated/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py index 50b7f022eab..b1e94e3834c 100644 --- a/msgraph_beta/generated/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[OnenotePatchContentPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/pages/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/sites/item/onenote/pages/item/parent_notebook/parent_notebook_request_builder.py index 4f8f5d6de6d..8c786f0c523 100644 --- a/msgraph_beta/generated/sites/item/onenote/pages/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/pages/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/pages/item/parent_section/parent_section_request_builder.py b/msgraph_beta/generated/sites/item/onenote/pages/item/parent_section/parent_section_request_builder.py index 9cac2a1c11e..66878244b6b 100644 --- a/msgraph_beta/generated/sites/item/onenote/pages/item/parent_section/parent_section_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/pages/item/parent_section/parent_section_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/pages/item/preview/preview_request_builder.py b/msgraph_beta/generated/sites/item/onenote/pages/item/preview/preview_request_builder.py index 9962021e0db..5e229ebe4dc 100644 --- a/msgraph_beta/generated/sites/item/onenote/pages/item/preview/preview_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/pages/item/preview/preview_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[PreviewReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PreviewRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/pages/pages_request_builder.py b/msgraph_beta/generated/sites/item/onenote/pages/pages_request_builder.py index 2718f9ce91a..f80a954ac04 100644 --- a/msgraph_beta/generated/sites/item/onenote/pages/pages_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/pages/pages_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PagesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[PagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnenotePage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/resources/item/content/content_request_builder.py b/msgraph_beta/generated/sites/item/onenote/resources/item/content/content_request_builder.py index 3585e6a35e6..65391df6ac2 100644 --- a/msgraph_beta/generated/sites/item/onenote/resources/item/content/content_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/resources/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/resources/item/onenote_resource_item_request_builder.py b/msgraph_beta/generated/sites/item/onenote/resources/item/onenote_resource_item_request_builder.py index fe5e52c56b6..76a441f3266 100644 --- a/msgraph_beta/generated/sites/item/onenote/resources/item/onenote_resource_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/resources/item/onenote_resource_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenoteRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenoteResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenoteResou request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenoteResource] = None, request_configuration: Optional[OnenoteResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[OnenoteResource] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/resources/resources_request_builder.py b/msgraph_beta/generated/sites/item/onenote/resources/resources_request_builder.py index fc263328805..cf0fc28944b 100644 --- a/msgraph_beta/generated/sites/item/onenote/resources/resources_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/resources/resources_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourcesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenoteResource] = None, request_configuration: Optional[ResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnenoteResource] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/section_groups/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/sites/item/onenote/section_groups/item/parent_notebook/parent_notebook_request_builder.py index 735ac80294d..bd29b774893 100644 --- a/msgraph_beta/generated/sites/item/onenote/section_groups/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/section_groups/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/section_groups/item/parent_section_group/parent_section_group_request_builder.py b/msgraph_beta/generated/sites/item/onenote/section_groups/item/parent_section_group/parent_section_group_request_builder.py index f73d34076f3..dc4a94dddd5 100644 --- a/msgraph_beta/generated/sites/item/onenote/section_groups/item/parent_section_group/parent_section_group_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/section_groups/item/parent_section_group/parent_section_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionGroupRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/section_groups/item/section_group_item_request_builder.py b/msgraph_beta/generated/sites/item/onenote/section_groups/item/section_group_item_request_builder.py index 8078c8b1f1e..c117dc277f7 100644 --- a/msgraph_beta/generated/sites/item/onenote/section_groups/item/section_group_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/section_groups/item/section_group_item_request_builder.py @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[SectionGroupItemRequestBui async def get(self,request_configuration: Optional[SectionGroupItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SectionGroup]: """ - Retrieve the properties and relationships of a sectionGroup object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a sectionGroup object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SectionGroup] Find more info here: https://learn.microsoft.com/graph/api/sectiongroup-get?view=graph-rest-1.0 @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[SectionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SectionGroupItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a sectionGroup object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a sectionGroup object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SectionGroup] = None, request_configuration: Optional[SectionGroupItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[SectionGroup] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -207,7 +207,7 @@ class SectionGroupItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class SectionGroupItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a sectionGroup object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a sectionGroup object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/onenote/section_groups/item/section_groups/item/section_group_item_request_builder.py b/msgraph_beta/generated/sites/item/onenote/section_groups/item/section_groups/item/section_group_item_request_builder.py index 435aca9059d..202ddcd9694 100644 --- a/msgraph_beta/generated/sites/item/onenote/section_groups/item/section_groups/item/section_group_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/section_groups/item/section_groups/item/section_group_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SectionGroupItemRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/section_groups/item/section_groups/section_groups_request_builder.py b/msgraph_beta/generated/sites/item/onenote/section_groups/item/section_groups/section_groups_request_builder.py index 374d769774e..7365a7725c5 100644 --- a/msgraph_beta/generated/sites/item/onenote/section_groups/item/section_groups/section_groups_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/section_groups/item/section_groups/section_groups_request_builder.py @@ -44,7 +44,7 @@ def by_section_group_id1(self,section_group_id1: str) -> SectionGroupItemRequest async def get(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[SectionGroupCollectionResponse]: """ - Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SectionGroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sectiongroup-list-sectiongroups?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[SectionGroupsRequestBuilderGe def to_get_request_information(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SectionGroupsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionGroupsRequestBuilderGetQueryParameters(): """ - Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified section group. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py index 907d2d276cc..3ccd265036b 100644 --- a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py index 6ca76927289..ff897688bcd 100644 --- a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, re def to_post_request_information(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionGroupPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.py b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.py index 3b2b6e9acf7..75c6faf1b09 100644 --- a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenoteSe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenoteSectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenoteSecti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[OnenoteSectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[OnenoteSection] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.py b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.py index 2d03be8ef40..68298b3b3b6 100644 --- a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py index d9101a1b8eb..abf7a9de382 100644 --- a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py index 726c0230e44..95e397b84a2 100644 --- a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenotePa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenotePageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenotePageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[OnenotePageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[OnenotePage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py index bab4f728a10..a439b8927d8 100644 --- a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[OnenotePatchContentPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py index a06d8033666..b45dde72035 100644 --- a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py index b5f2a0bb59c..6e4062dd5b2 100644 --- a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py index 3352a996260..88709add9e1 100644 --- a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[PreviewReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PreviewRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.py b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.py index 8818a36aa94..e804f629cdf 100644 --- a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PagesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[PagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnenotePage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py index 368090edfa5..499d9b28fb7 100644 --- a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py index 8ee5d0c39c1..1bfd276f6cc 100644 --- a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionGroupRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/sections_request_builder.py b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/sections_request_builder.py index 8598b59db5f..2dbde2ecb77 100644 --- a/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/sections_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/section_groups/item/sections/sections_request_builder.py @@ -45,7 +45,7 @@ def by_onenote_section_id(self,onenote_section_id: str) -> OnenoteSectionItemReq async def get(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> Optional[OnenoteSectionCollectionResponse]: """ - Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of onenoteSection objects from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSectionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sectiongroup-list-sections?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SectionsRequestBuilderGetRequ async def post(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[SectionsRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteSection]: """ - Create a new section in the specified section group. This API is available in the following national cloud deployments. + Create a new section in the specified section group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSection] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OnenoteSection] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of onenoteSection objects from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SectionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[SectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new section in the specified section group. This API is available in the following national cloud deployments. + Create a new section in the specified section group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OnenoteSection] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionsRequestBuilderGetQueryParameters(): """ - Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of onenoteSection objects from the specified section group. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/onenote/section_groups/section_groups_request_builder.py b/msgraph_beta/generated/sites/item/onenote/section_groups/section_groups_request_builder.py index fd527df8983..3b74b391cbe 100644 --- a/msgraph_beta/generated/sites/item/onenote/section_groups/section_groups_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/section_groups/section_groups_request_builder.py @@ -45,7 +45,7 @@ def by_section_group_id(self,section_group_id: str) -> SectionGroupItemRequestBu async def get(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[SectionGroupCollectionResponse]: """ - Retrieve a list of sectionGroup objects. This API is available in the following national cloud deployments. + Retrieve a list of sectionGroup objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SectionGroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/onenote-list-sectiongroups?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[SectionGroup] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of sectionGroup objects. This API is available in the following national cloud deployments. + Retrieve a list of sectionGroup objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SectionGroup] = None, request_configuration: Optional[SectionGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SectionGroup] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionGroupsRequestBuilderGetQueryParameters(): """ - Retrieve a list of sectionGroup objects. This API is available in the following national cloud deployments. + Retrieve a list of sectionGroup objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py b/msgraph_beta/generated/sites/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py index 6e869783918..682164dabc6 100644 --- a/msgraph_beta/generated/sites/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py b/msgraph_beta/generated/sites/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py index 0834fa7e68e..772ec12234d 100644 --- a/msgraph_beta/generated/sites/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, re def to_post_request_information(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionGroupPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/sections/item/onenote_section_item_request_builder.py b/msgraph_beta/generated/sites/item/onenote/sections/item/onenote_section_item_request_builder.py index 8de299085d6..4756bce549a 100644 --- a/msgraph_beta/generated/sites/item/onenote/sections/item/onenote_section_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/sections/item/onenote_section_item_request_builder.py @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[OnenoteSectionItemRequestB async def get(self,request_configuration: Optional[OnenoteSectionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OnenoteSection]: """ - Retrieve the properties and relationships of a section object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a section object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSection] Find more info here: https://learn.microsoft.com/graph/api/section-get?view=graph-rest-1.0 @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[OnenoteSe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenoteSectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a section object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a section object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenoteSecti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[OnenoteSectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[OnenoteSection] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -217,7 +217,7 @@ class OnenoteSectionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class OnenoteSectionItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a section object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a section object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/content/content_request_builder.py b/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/content/content_request_builder.py index 1902858a869..1bc4a343b19 100644 --- a/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/content/content_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py b/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py index 1a5edbedb4c..6a2a8f762b4 100644 --- a/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.py b/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.py index c206bd9f3b4..a182bfbdce7 100644 --- a/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenotePa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenotePageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenotePageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[OnenotePageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[OnenotePage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py b/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py index b18316b35f2..57408739819 100644 --- a/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[OnenotePatchContentPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py index 0485dbba425..6f8614adca4 100644 --- a/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/parent_section/parent_section_request_builder.py b/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/parent_section/parent_section_request_builder.py index 8022f15185b..b8863c88069 100644 --- a/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/parent_section/parent_section_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/parent_section/parent_section_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/preview/preview_request_builder.py b/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/preview/preview_request_builder.py index ca8d92d0372..a764a4aa74f 100644 --- a/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/preview/preview_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/sections/item/pages/item/preview/preview_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[PreviewReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PreviewRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/sections/item/pages/pages_request_builder.py b/msgraph_beta/generated/sites/item/onenote/sections/item/pages/pages_request_builder.py index 2be3812a662..5281bf65fb3 100644 --- a/msgraph_beta/generated/sites/item/onenote/sections/item/pages/pages_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/sections/item/pages/pages_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PagesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[PagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnenotePage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/onenote/sections/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/sites/item/onenote/sections/item/parent_notebook/parent_notebook_request_builder.py index 86759314e2a..b9169047240 100644 --- a/msgraph_beta/generated/sites/item/onenote/sections/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/sections/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/sections/item/parent_section_group/parent_section_group_request_builder.py b/msgraph_beta/generated/sites/item/onenote/sections/item/parent_section_group/parent_section_group_request_builder.py index dbbb05a4fba..a0678c235b8 100644 --- a/msgraph_beta/generated/sites/item/onenote/sections/item/parent_section_group/parent_section_group_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/sections/item/parent_section_group/parent_section_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionGroupRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/onenote/sections/sections_request_builder.py b/msgraph_beta/generated/sites/item/onenote/sections/sections_request_builder.py index 7b3c8489cbc..6ce49a53095 100644 --- a/msgraph_beta/generated/sites/item/onenote/sections/sections_request_builder.py +++ b/msgraph_beta/generated/sites/item/onenote/sections/sections_request_builder.py @@ -45,7 +45,7 @@ def by_onenote_section_id(self,onenote_section_id: str) -> OnenoteSectionItemReq async def get(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> Optional[OnenoteSectionCollectionResponse]: """ - Retrieve a list of section objects. This API is available in the following national cloud deployments. + Retrieve a list of section objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSectionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/onenote-list-sections?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[OnenoteSection] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of section objects. This API is available in the following national cloud deployments. + Retrieve a list of section objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[SectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[OnenoteSection] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionsRequestBuilderGetQueryParameters(): """ - Retrieve a list of section objects. This API is available in the following national cloud deployments. + Retrieve a list of section objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/operations/item/rich_long_running_operation_item_request_builder.py b/msgraph_beta/generated/sites/item/operations/item/rich_long_running_operation_item_request_builder.py index 82dcdd2b997..79b22f7412e 100644 --- a/msgraph_beta/generated/sites/item/operations/item/rich_long_running_operation_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/operations/item/rich_long_running_operation_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RichLongRunningOperationIt async def get(self,request_configuration: Optional[RichLongRunningOperationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[RichLongRunningOperation]: """ - Read the properties of a richLongRunningOperation object. This API is available in the following national cloud deployments. + Read the properties of a richLongRunningOperation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RichLongRunningOperation] Find more info here: https://learn.microsoft.com/graph/api/richlongrunningoperation-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[RichLongR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RichLongRunningOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties of a richLongRunningOperation object. This API is available in the following national cloud deployments. + Read the properties of a richLongRunningOperation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[RichLongRunn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RichLongRunningOperation] = None, request_configuration: Optional[RichLongRunningOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[RichLongRunningOperation] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class RichLongRunningOperationItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class RichLongRunningOperationItemRequestBuilderGetQueryParameters(): """ - Read the properties of a richLongRunningOperation object. This API is available in the following national cloud deployments. + Read the properties of a richLongRunningOperation object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/operations/operations_request_builder.py b/msgraph_beta/generated/sites/item/operations/operations_request_builder.py index 4701bfee067..49b60cdb2f4 100644 --- a/msgraph_beta/generated/sites/item/operations/operations_request_builder.py +++ b/msgraph_beta/generated/sites/item/operations/operations_request_builder.py @@ -45,7 +45,7 @@ def by_rich_long_running_operation_id(self,rich_long_running_operation_id: str) async def get(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> Optional[RichLongRunningOperationCollectionResponse]: """ - Get the list of richLongRunningOperations associated with a site. This API is available in the following national cloud deployments. + Get the list of richLongRunningOperations associated with a site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RichLongRunningOperationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/site-list-operations?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[RichLongRunningOperation] = None, request_con def to_get_request_information(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of richLongRunningOperations associated with a site. This API is available in the following national cloud deployments. + Get the list of richLongRunningOperations associated with a site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[RichLongRunningOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[RichLongRunningOperation] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OperationsRequestBuilderGetQueryParameters(): """ - Get the list of richLongRunningOperations associated with a site. This API is available in the following national cloud deployments. + Get the list of richLongRunningOperations associated with a site. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/pages/graph_site_page/count/count_request_builder.py b/msgraph_beta/generated/sites/item/pages/graph_site_page/count/count_request_builder.py new file mode 100644 index 00000000000..4fe61ccd299 --- /dev/null +++ b/msgraph_beta/generated/sites/item/pages/graph_site_page/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/sites/{site%2Did}/pages/graph.sitePage/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/sites/item/pages/graph_site_page/graph_site_page_request_builder.py b/msgraph_beta/generated/sites/item/pages/graph_site_page/graph_site_page_request_builder.py new file mode 100644 index 00000000000..bde114d6283 --- /dev/null +++ b/msgraph_beta/generated/sites/item/pages/graph_site_page/graph_site_page_request_builder.py @@ -0,0 +1,156 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.site_page_collection_response import SitePageCollectionResponse + from .count.count_request_builder import CountRequestBuilder + +class GraphSitePageRequestBuilder(BaseRequestBuilder): + """ + Casts the previous resource to sitePage. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new GraphSitePageRequestBuilder 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}/sites/{site%2Did}/pages/graph.sitePage{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[GraphSitePageRequestBuilderGetRequestConfiguration] = None) -> Optional[SitePageCollectionResponse]: + """ + Get the items of type microsoft.graph.sitePage in the microsoft.graph.baseSitePage collection + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[SitePageCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.site_page_collection_response import SitePageCollectionResponse + + return await self.request_adapter.send_async(request_info, SitePageCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[GraphSitePageRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get the items of type microsoft.graph.sitePage in the microsoft.graph.baseSitePage collection + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> GraphSitePageRequestBuilder: + """ + 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: GraphSitePageRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GraphSitePageRequestBuilder(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 GraphSitePageRequestBuilderGetQueryParameters(): + """ + Get the items of type microsoft.graph.sitePage in the microsoft.graph.baseSitePage collection + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GraphSitePageRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[GraphSitePageRequestBuilder.GraphSitePageRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/sites/item/pages/item/base_site_page_item_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/base_site_page_item_request_builder.py index 2b6ae0ff65f..57ea8b391dc 100644 --- a/msgraph_beta/generated/sites/item/pages/item/base_site_page_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/pages/item/base_site_page_item_request_builder.py @@ -13,6 +13,7 @@ from .....models.base_site_page import BaseSitePage from .....models.o_data_errors.o_data_error import ODataError from .created_by_user.created_by_user_request_builder import CreatedByUserRequestBuilder + from .graph_site_page.graph_site_page_request_builder import GraphSitePageRequestBuilder from .last_modified_by_user.last_modified_by_user_request_builder import LastModifiedByUserRequestBuilder class BaseSitePageItemRequestBuilder(BaseRequestBuilder): @@ -49,7 +50,7 @@ async def delete(self,request_configuration: Optional[BaseSitePageItemRequestBui async def get(self,request_configuration: Optional[BaseSitePageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[BaseSitePage]: """ - Get the metadata for a baseSitePage][] in the site pages [list][] in a [site][]. This API is available in the following [national cloud deployments. + Get the metadata for a [baseSitePage][] in the site pages [list][] in a [site][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BaseSitePage] Find more info here: https://learn.microsoft.com/graph/api/basesitepage-get?view=graph-rest-1.0 @@ -106,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[BaseSiteP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BaseSitePageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the metadata for a baseSitePage][] in the site pages [list][] in a [site][]. This API is available in the following [national cloud deployments. + Get the metadata for a [baseSitePage][] in the site pages [list][] in a [site][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[BaseSitePage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[BaseSitePage] = None, request_configuration: Optional[BaseSitePageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +143,7 @@ def to_patch_request_information(self,body: Optional[BaseSitePage] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -165,6 +166,15 @@ def created_by_user(self) -> CreatedByUserRequestBuilder: return CreatedByUserRequestBuilder(self.request_adapter, self.path_parameters) + @property + def graph_site_page(self) -> GraphSitePageRequestBuilder: + """ + Casts the previous resource to sitePage. + """ + from .graph_site_page.graph_site_page_request_builder import GraphSitePageRequestBuilder + + return GraphSitePageRequestBuilder(self.request_adapter, self.path_parameters) + @property def last_modified_by_user(self) -> LastModifiedByUserRequestBuilder: """ @@ -187,7 +197,7 @@ class BaseSitePageItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class BaseSitePageItemRequestBuilderGetQueryParameters(): """ - Get the metadata for a baseSitePage][] in the site pages [list][] in a [site][]. This API is available in the following [national cloud deployments. + Get the metadata for a [baseSitePage][] in the site pages [list][] in a [site][]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/pages/item/created_by_user/created_by_user_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/created_by_user/created_by_user_request_builder.py index 28d7a805c83..88b82e67f77 100644 --- a/msgraph_beta/generated/sites/item/pages/item/created_by_user/created_by_user_request_builder.py +++ b/msgraph_beta/generated/sites/item/pages/item/created_by_user/created_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[CreatedByUse request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreatedByUserRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/pages/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py index e16f6cc9b8c..13df8d4f30f 100644 --- a/msgraph_beta/generated/sites/item/pages/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/sites/item/pages/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/pages/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index 45e6e3677c6..9df1b0f00c0 100644 --- a/msgraph_beta/generated/sites/item/pages/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/sites/item/pages/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/canvas_layout_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/canvas_layout_request_builder.py new file mode 100644 index 00000000000..3778ad7f3ef --- /dev/null +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/canvas_layout_request_builder.py @@ -0,0 +1,235 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.canvas_layout import CanvasLayout + from .......models.o_data_errors.o_data_error import ODataError + from .horizontal_sections.horizontal_sections_request_builder import HorizontalSectionsRequestBuilder + from .vertical_section.vertical_section_request_builder import VerticalSectionRequestBuilder + +class CanvasLayoutRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the canvasLayout property of the microsoft.graph.sitePage entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new CanvasLayoutRequestBuilder 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}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[CanvasLayoutRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property canvasLayout for sites + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CanvasLayoutRequestBuilderGetRequestConfiguration] = None) -> Optional[CanvasLayout]: + """ + Indicates the layout of the content in a given SharePoint page, including horizontal sections and vertical sections. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[CanvasLayout] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.canvas_layout import CanvasLayout + + return await self.request_adapter.send_async(request_info, CanvasLayout, error_mapping) + + async def patch(self,body: Optional[CanvasLayout] = None, request_configuration: Optional[CanvasLayoutRequestBuilderPatchRequestConfiguration] = None) -> Optional[CanvasLayout]: + """ + Update the navigation property canvasLayout in sites + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[CanvasLayout] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.canvas_layout import CanvasLayout + + return await self.request_adapter.send_async(request_info, CanvasLayout, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[CanvasLayoutRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property canvasLayout for sites + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[CanvasLayoutRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Indicates the layout of the content in a given SharePoint page, including horizontal sections and vertical sections. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[CanvasLayout] = None, request_configuration: Optional[CanvasLayoutRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property canvasLayout in sites + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> CanvasLayoutRequestBuilder: + """ + 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: CanvasLayoutRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return CanvasLayoutRequestBuilder(self.request_adapter, raw_url) + + @property + def horizontal_sections(self) -> HorizontalSectionsRequestBuilder: + """ + Provides operations to manage the horizontalSections property of the microsoft.graph.canvasLayout entity. + """ + from .horizontal_sections.horizontal_sections_request_builder import HorizontalSectionsRequestBuilder + + return HorizontalSectionsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def vertical_section(self) -> VerticalSectionRequestBuilder: + """ + Provides operations to manage the verticalSection property of the microsoft.graph.canvasLayout entity. + """ + from .vertical_section.vertical_section_request_builder import VerticalSectionRequestBuilder + + return VerticalSectionRequestBuilder(self.request_adapter, self.path_parameters) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CanvasLayoutRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class CanvasLayoutRequestBuilderGetQueryParameters(): + """ + Indicates the layout of the content in a given SharePoint page, including horizontal sections and vertical sections. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CanvasLayoutRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CanvasLayoutRequestBuilder.CanvasLayoutRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CanvasLayoutRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/count/count_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/count/count_request_builder.py new file mode 100644 index 00000000000..6743370c3ca --- /dev/null +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/horizontal_sections_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/horizontal_sections_request_builder.py new file mode 100644 index 00000000000..2c0f596ab23 --- /dev/null +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/horizontal_sections_request_builder.py @@ -0,0 +1,226 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.horizontal_section import HorizontalSection + from ........models.horizontal_section_collection_response import HorizontalSectionCollectionResponse + from ........models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.horizontal_section_item_request_builder import HorizontalSectionItemRequestBuilder + +class HorizontalSectionsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the horizontalSections property of the microsoft.graph.canvasLayout entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new HorizontalSectionsRequestBuilder 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}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_horizontal_section_id(self,horizontal_section_id: str) -> HorizontalSectionItemRequestBuilder: + """ + Provides operations to manage the horizontalSections property of the microsoft.graph.canvasLayout entity. + param horizontal_section_id: The unique identifier of horizontalSection + Returns: HorizontalSectionItemRequestBuilder + """ + if not horizontal_section_id: + raise TypeError("horizontal_section_id cannot be null.") + from .item.horizontal_section_item_request_builder import HorizontalSectionItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["horizontalSection%2Did"] = horizontal_section_id + return HorizontalSectionItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[HorizontalSectionsRequestBuilderGetRequestConfiguration] = None) -> Optional[HorizontalSectionCollectionResponse]: + """ + Collection of horizontal sections on the SharePoint page. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HorizontalSectionCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.horizontal_section_collection_response import HorizontalSectionCollectionResponse + + return await self.request_adapter.send_async(request_info, HorizontalSectionCollectionResponse, error_mapping) + + async def post(self,body: Optional[HorizontalSection] = None, request_configuration: Optional[HorizontalSectionsRequestBuilderPostRequestConfiguration] = None) -> Optional[HorizontalSection]: + """ + Create new navigation property to horizontalSections for sites + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HorizontalSection] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.horizontal_section import HorizontalSection + + return await self.request_adapter.send_async(request_info, HorizontalSection, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[HorizontalSectionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Collection of horizontal sections on the SharePoint page. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[HorizontalSection] = None, request_configuration: Optional[HorizontalSectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to horizontalSections for sites + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> HorizontalSectionsRequestBuilder: + """ + 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: HorizontalSectionsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return HorizontalSectionsRequestBuilder(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 HorizontalSectionsRequestBuilderGetQueryParameters(): + """ + Collection of horizontal sections on the SharePoint page. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class HorizontalSectionsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[HorizontalSectionsRequestBuilder.HorizontalSectionsRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class HorizontalSectionsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/columns_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/columns_request_builder.py new file mode 100644 index 00000000000..b72152e6057 --- /dev/null +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/columns_request_builder.py @@ -0,0 +1,226 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..........models.horizontal_section_column import HorizontalSectionColumn + from ..........models.horizontal_section_column_collection_response import HorizontalSectionColumnCollectionResponse + from ..........models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.horizontal_section_column_item_request_builder import HorizontalSectionColumnItemRequestBuilder + +class ColumnsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the columns property of the microsoft.graph.horizontalSection entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ColumnsRequestBuilder 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}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/{horizontalSection%2Did}/columns{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_horizontal_section_column_id(self,horizontal_section_column_id: str) -> HorizontalSectionColumnItemRequestBuilder: + """ + Provides operations to manage the columns property of the microsoft.graph.horizontalSection entity. + param horizontal_section_column_id: The unique identifier of horizontalSectionColumn + Returns: HorizontalSectionColumnItemRequestBuilder + """ + if not horizontal_section_column_id: + raise TypeError("horizontal_section_column_id cannot be null.") + from .item.horizontal_section_column_item_request_builder import HorizontalSectionColumnItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["horizontalSectionColumn%2Did"] = horizontal_section_column_id + return HorizontalSectionColumnItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> Optional[HorizontalSectionColumnCollectionResponse]: + """ + The set of vertical columns in this section. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HorizontalSectionColumnCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ..........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.horizontal_section_column_collection_response import HorizontalSectionColumnCollectionResponse + + return await self.request_adapter.send_async(request_info, HorizontalSectionColumnCollectionResponse, error_mapping) + + async def post(self,body: Optional[HorizontalSectionColumn] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> Optional[HorizontalSectionColumn]: + """ + Create new navigation property to columns for sites + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HorizontalSectionColumn] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..........models.horizontal_section_column import HorizontalSectionColumn + + return await self.request_adapter.send_async(request_info, HorizontalSectionColumn, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[ColumnsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + The set of vertical columns in this section. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[HorizontalSectionColumn] = None, request_configuration: Optional[ColumnsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to columns for sites + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> ColumnsRequestBuilder: + """ + 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: ColumnsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ColumnsRequestBuilder(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 ColumnsRequestBuilderGetQueryParameters(): + """ + The set of vertical columns in this section. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ColumnsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[ColumnsRequestBuilder.ColumnsRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ColumnsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/count/count_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/count/count_request_builder.py new file mode 100644 index 00000000000..0059ef659a0 --- /dev/null +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/{horizontalSection%2Did}/columns/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/horizontal_section_column_item_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/horizontal_section_column_item_request_builder.py new file mode 100644 index 00000000000..8cf7f02b4b0 --- /dev/null +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/horizontal_section_column_item_request_builder.py @@ -0,0 +1,225 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ...........models.horizontal_section_column import HorizontalSectionColumn + from ...........models.o_data_errors.o_data_error import ODataError + from .webparts.webparts_request_builder import WebpartsRequestBuilder + +class HorizontalSectionColumnItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the columns property of the microsoft.graph.horizontalSection entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new HorizontalSectionColumnItemRequestBuilder 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}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/{horizontalSection%2Did}/columns/{horizontalSectionColumn%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[HorizontalSectionColumnItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property columns for sites + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[HorizontalSectionColumnItemRequestBuilderGetRequestConfiguration] = None) -> Optional[HorizontalSectionColumn]: + """ + The set of vertical columns in this section. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HorizontalSectionColumn] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...........models.horizontal_section_column import HorizontalSectionColumn + + return await self.request_adapter.send_async(request_info, HorizontalSectionColumn, error_mapping) + + async def patch(self,body: Optional[HorizontalSectionColumn] = None, request_configuration: Optional[HorizontalSectionColumnItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[HorizontalSectionColumn]: + """ + Update the navigation property columns in sites + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HorizontalSectionColumn] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...........models.horizontal_section_column import HorizontalSectionColumn + + return await self.request_adapter.send_async(request_info, HorizontalSectionColumn, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[HorizontalSectionColumnItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property columns for sites + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[HorizontalSectionColumnItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + The set of vertical columns in this section. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[HorizontalSectionColumn] = None, request_configuration: Optional[HorizontalSectionColumnItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property columns in sites + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> HorizontalSectionColumnItemRequestBuilder: + """ + 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: HorizontalSectionColumnItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return HorizontalSectionColumnItemRequestBuilder(self.request_adapter, raw_url) + + @property + def webparts(self) -> WebpartsRequestBuilder: + """ + Provides operations to manage the webparts property of the microsoft.graph.horizontalSectionColumn entity. + """ + from .webparts.webparts_request_builder import WebpartsRequestBuilder + + return WebpartsRequestBuilder(self.request_adapter, self.path_parameters) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class HorizontalSectionColumnItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class HorizontalSectionColumnItemRequestBuilderGetQueryParameters(): + """ + The set of vertical columns in this section. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class HorizontalSectionColumnItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[HorizontalSectionColumnItemRequestBuilder.HorizontalSectionColumnItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class HorizontalSectionColumnItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/count/count_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/count/count_request_builder.py new file mode 100644 index 00000000000..3109fd03747 --- /dev/null +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/{horizontalSection%2Did}/columns/{horizontalSectionColumn%2Did}/webparts/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .............models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/item/get_position_of_web_part/get_position_of_web_part_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/item/get_position_of_web_part/get_position_of_web_part_request_builder.py new file mode 100644 index 00000000000..64cf52696bd --- /dev/null +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/item/get_position_of_web_part/get_position_of_web_part_request_builder.py @@ -0,0 +1,86 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..............models.o_data_errors.o_data_error import ODataError + from ..............models.web_part_position import WebPartPosition + +class GetPositionOfWebPartRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getPositionOfWebPart method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new GetPositionOfWebPartRequestBuilder 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}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/{horizontalSection%2Did}/columns/{horizontalSectionColumn%2Did}/webparts/{webPart%2Did}/getPositionOfWebPart", path_parameters) + + async def post(self,request_configuration: Optional[GetPositionOfWebPartRequestBuilderPostRequestConfiguration] = None) -> Optional[WebPartPosition]: + """ + Invoke action getPositionOfWebPart + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[WebPartPosition] + """ + request_info = self.to_post_request_information( + request_configuration + ) + from ..............models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ..............models.web_part_position import WebPartPosition + + return await self.request_adapter.send_async(request_info, WebPartPosition, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[GetPositionOfWebPartRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action getPositionOfWebPart + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> GetPositionOfWebPartRequestBuilder: + """ + 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: GetPositionOfWebPartRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GetPositionOfWebPartRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GetPositionOfWebPartRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/item/web_part_item_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/item/web_part_item_request_builder.py new file mode 100644 index 00000000000..e4696b250e1 --- /dev/null +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/item/web_part_item_request_builder.py @@ -0,0 +1,225 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .............models.o_data_errors.o_data_error import ODataError + from .............models.web_part import WebPart + from .get_position_of_web_part.get_position_of_web_part_request_builder import GetPositionOfWebPartRequestBuilder + +class WebPartItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the webparts property of the microsoft.graph.horizontalSectionColumn entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new WebPartItemRequestBuilder 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}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/{horizontalSection%2Did}/columns/{horizontalSectionColumn%2Did}/webparts/{webPart%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[WebPartItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property webparts for sites + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[WebPartItemRequestBuilderGetRequestConfiguration] = None) -> Optional[WebPart]: + """ + The collection of WebParts in this column. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[WebPart] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .............models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .............models.web_part import WebPart + + return await self.request_adapter.send_async(request_info, WebPart, error_mapping) + + async def patch(self,body: Optional[WebPart] = None, request_configuration: Optional[WebPartItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[WebPart]: + """ + Update the navigation property webparts in sites + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[WebPart] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .............models.web_part import WebPart + + return await self.request_adapter.send_async(request_info, WebPart, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[WebPartItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property webparts for sites + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[WebPartItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + The collection of WebParts in this column. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[WebPart] = None, request_configuration: Optional[WebPartItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property webparts in sites + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> WebPartItemRequestBuilder: + """ + 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: WebPartItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return WebPartItemRequestBuilder(self.request_adapter, raw_url) + + @property + def get_position_of_web_part(self) -> GetPositionOfWebPartRequestBuilder: + """ + Provides operations to call the getPositionOfWebPart method. + """ + from .get_position_of_web_part.get_position_of_web_part_request_builder import GetPositionOfWebPartRequestBuilder + + return GetPositionOfWebPartRequestBuilder(self.request_adapter, self.path_parameters) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class WebPartItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class WebPartItemRequestBuilderGetQueryParameters(): + """ + The collection of WebParts in this column. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class WebPartItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[WebPartItemRequestBuilder.WebPartItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class WebPartItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/webparts_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/webparts_request_builder.py new file mode 100644 index 00000000000..bfde87d9fd2 --- /dev/null +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/columns/item/webparts/webparts_request_builder.py @@ -0,0 +1,226 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ............models.o_data_errors.o_data_error import ODataError + from ............models.web_part import WebPart + from ............models.web_part_collection_response import WebPartCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.web_part_item_request_builder import WebPartItemRequestBuilder + +class WebpartsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the webparts property of the microsoft.graph.horizontalSectionColumn entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new WebpartsRequestBuilder 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}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/{horizontalSection%2Did}/columns/{horizontalSectionColumn%2Did}/webparts{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_web_part_id(self,web_part_id: str) -> WebPartItemRequestBuilder: + """ + Provides operations to manage the webparts property of the microsoft.graph.horizontalSectionColumn entity. + param web_part_id: The unique identifier of webPart + Returns: WebPartItemRequestBuilder + """ + if not web_part_id: + raise TypeError("web_part_id cannot be null.") + from .item.web_part_item_request_builder import WebPartItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["webPart%2Did"] = web_part_id + return WebPartItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[WebpartsRequestBuilderGetRequestConfiguration] = None) -> Optional[WebPartCollectionResponse]: + """ + The collection of WebParts in this column. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[WebPartCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ............models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ............models.web_part_collection_response import WebPartCollectionResponse + + return await self.request_adapter.send_async(request_info, WebPartCollectionResponse, error_mapping) + + async def post(self,body: Optional[WebPart] = None, request_configuration: Optional[WebpartsRequestBuilderPostRequestConfiguration] = None) -> Optional[WebPart]: + """ + Create new navigation property to webparts for sites + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[WebPart] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ............models.web_part import WebPart + + return await self.request_adapter.send_async(request_info, WebPart, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[WebpartsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + The collection of WebParts in this column. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[WebPart] = None, request_configuration: Optional[WebpartsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to webparts for sites + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> WebpartsRequestBuilder: + """ + 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: WebpartsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return WebpartsRequestBuilder(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 WebpartsRequestBuilderGetQueryParameters(): + """ + The collection of WebParts in this column. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class WebpartsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[WebpartsRequestBuilder.WebpartsRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class WebpartsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/horizontal_section_item_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/horizontal_section_item_request_builder.py new file mode 100644 index 00000000000..ca856afd228 --- /dev/null +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/horizontal_sections/item/horizontal_section_item_request_builder.py @@ -0,0 +1,225 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .........models.horizontal_section import HorizontalSection + from .........models.o_data_errors.o_data_error import ODataError + from .columns.columns_request_builder import ColumnsRequestBuilder + +class HorizontalSectionItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the horizontalSections property of the microsoft.graph.canvasLayout entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new HorizontalSectionItemRequestBuilder 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}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/{horizontalSection%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[HorizontalSectionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property horizontalSections for sites + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[HorizontalSectionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[HorizontalSection]: + """ + Collection of horizontal sections on the SharePoint page. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HorizontalSection] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.horizontal_section import HorizontalSection + + return await self.request_adapter.send_async(request_info, HorizontalSection, error_mapping) + + async def patch(self,body: Optional[HorizontalSection] = None, request_configuration: Optional[HorizontalSectionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[HorizontalSection]: + """ + Update the navigation property horizontalSections in sites + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HorizontalSection] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.horizontal_section import HorizontalSection + + return await self.request_adapter.send_async(request_info, HorizontalSection, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[HorizontalSectionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property horizontalSections for sites + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[HorizontalSectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Collection of horizontal sections on the SharePoint page. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[HorizontalSection] = None, request_configuration: Optional[HorizontalSectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property horizontalSections in sites + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> HorizontalSectionItemRequestBuilder: + """ + 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: HorizontalSectionItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return HorizontalSectionItemRequestBuilder(self.request_adapter, raw_url) + + @property + def columns(self) -> ColumnsRequestBuilder: + """ + Provides operations to manage the columns property of the microsoft.graph.horizontalSection entity. + """ + from .columns.columns_request_builder import ColumnsRequestBuilder + + return ColumnsRequestBuilder(self.request_adapter, self.path_parameters) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class HorizontalSectionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class HorizontalSectionItemRequestBuilderGetQueryParameters(): + """ + Collection of horizontal sections on the SharePoint page. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class HorizontalSectionItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[HorizontalSectionItemRequestBuilder.HorizontalSectionItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class HorizontalSectionItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/vertical_section_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/vertical_section_request_builder.py new file mode 100644 index 00000000000..3b76323ecb1 --- /dev/null +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/vertical_section_request_builder.py @@ -0,0 +1,225 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.vertical_section import VerticalSection + from .webparts.webparts_request_builder import WebpartsRequestBuilder + +class VerticalSectionRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the verticalSection property of the microsoft.graph.canvasLayout entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new VerticalSectionRequestBuilder 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}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/verticalSection{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[VerticalSectionRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property verticalSection for sites + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[VerticalSectionRequestBuilderGetRequestConfiguration] = None) -> Optional[VerticalSection]: + """ + Vertical section on the SharePoint page. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VerticalSection] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.vertical_section import VerticalSection + + return await self.request_adapter.send_async(request_info, VerticalSection, error_mapping) + + async def patch(self,body: Optional[VerticalSection] = None, request_configuration: Optional[VerticalSectionRequestBuilderPatchRequestConfiguration] = None) -> Optional[VerticalSection]: + """ + Update the navigation property verticalSection in sites + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VerticalSection] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.vertical_section import VerticalSection + + return await self.request_adapter.send_async(request_info, VerticalSection, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[VerticalSectionRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property verticalSection for sites + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[VerticalSectionRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Vertical section on the SharePoint page. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[VerticalSection] = None, request_configuration: Optional[VerticalSectionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property verticalSection in sites + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> VerticalSectionRequestBuilder: + """ + 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: VerticalSectionRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return VerticalSectionRequestBuilder(self.request_adapter, raw_url) + + @property + def webparts(self) -> WebpartsRequestBuilder: + """ + Provides operations to manage the webparts property of the microsoft.graph.verticalSection entity. + """ + from .webparts.webparts_request_builder import WebpartsRequestBuilder + + return WebpartsRequestBuilder(self.request_adapter, self.path_parameters) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class VerticalSectionRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class VerticalSectionRequestBuilderGetQueryParameters(): + """ + Vertical section on the SharePoint page. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class VerticalSectionRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[VerticalSectionRequestBuilder.VerticalSectionRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class VerticalSectionRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registration/custom_questions/count/count_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/count/count_request_builder.py similarity index 95% rename from msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registration/custom_questions/count/count_request_builder.py rename to msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/count/count_request_builder.py index baae2607b6a..4ba0db677c2 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registration/custom_questions/count/count_request_builder.py +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/count/count_request_builder.py @@ -23,7 +23,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/registration/customQuestions/$count{?%24search,%24filter}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/verticalSection/webparts/$count{?%24search,%24filter}", path_parameters) async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = None) -> Optional[int]: """ diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/item/get_position_of_web_part/get_position_of_web_part_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/item/get_position_of_web_part/get_position_of_web_part_request_builder.py new file mode 100644 index 00000000000..7840272ff12 --- /dev/null +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/item/get_position_of_web_part/get_position_of_web_part_request_builder.py @@ -0,0 +1,86 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ...........models.o_data_errors.o_data_error import ODataError + from ...........models.web_part_position import WebPartPosition + +class GetPositionOfWebPartRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getPositionOfWebPart method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new GetPositionOfWebPartRequestBuilder 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}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/verticalSection/webparts/{webPart%2Did}/getPositionOfWebPart", path_parameters) + + async def post(self,request_configuration: Optional[GetPositionOfWebPartRequestBuilderPostRequestConfiguration] = None) -> Optional[WebPartPosition]: + """ + Invoke action getPositionOfWebPart + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[WebPartPosition] + """ + request_info = self.to_post_request_information( + request_configuration + ) + from ...........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...........models.web_part_position import WebPartPosition + + return await self.request_adapter.send_async(request_info, WebPartPosition, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[GetPositionOfWebPartRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action getPositionOfWebPart + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> GetPositionOfWebPartRequestBuilder: + """ + 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: GetPositionOfWebPartRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GetPositionOfWebPartRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GetPositionOfWebPartRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/item/web_part_item_request_builder.py similarity index 71% rename from msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py rename to msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/item/web_part_item_request_builder.py index 9898e008600..2208fd88d25 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/item/web_part_item_request_builder.py @@ -10,25 +10,26 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ..........models.meeting_registrant_base import MeetingRegistrantBase from ..........models.o_data_errors.o_data_error import ODataError + from ..........models.web_part import WebPart + from .get_position_of_web_part.get_position_of_web_part_request_builder import GetPositionOfWebPartRequestBuilder -class MeetingRegistrantBaseItemRequestBuilder(BaseRequestBuilder): +class WebPartItemRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the registrants property of the microsoft.graph.meetingRegistrationBase entity. + Provides operations to manage the webparts property of the microsoft.graph.verticalSection entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ - Instantiates a new MeetingRegistrantBaseItemRequestBuilder and sets the default values. + Instantiates a new WebPartItemRequestBuilder 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/registration/registrants/{meetingRegistrantBase%2Did}{?%24select,%24expand}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/verticalSection/webparts/{webPart%2Did}{?%24select,%24expand}", path_parameters) - async def delete(self,request_configuration: Optional[MeetingRegistrantBaseItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + async def delete(self,request_configuration: Optional[WebPartItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete navigation property registrants for solutions + Delete navigation property webparts for sites param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ @@ -45,11 +46,11 @@ async def delete(self,request_configuration: Optional[MeetingRegistrantBaseItemR 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[MeetingRegistrantBaseItemRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingRegistrantBase]: + async def get(self,request_configuration: Optional[WebPartItemRequestBuilderGetRequestConfiguration] = None) -> Optional[WebPart]: """ - Registrants of the online meeting. + The set of web parts in this section. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[MeetingRegistrantBase] + Returns: Optional[WebPart] """ request_info = self.to_get_request_information( request_configuration @@ -62,16 +63,16 @@ async def get(self,request_configuration: Optional[MeetingRegistrantBaseItemRequ } if not self.request_adapter: raise Exception("Http core is null") - from ..........models.meeting_registrant_base import MeetingRegistrantBase + from ..........models.web_part import WebPart - return await self.request_adapter.send_async(request_info, MeetingRegistrantBase, error_mapping) + return await self.request_adapter.send_async(request_info, WebPart, error_mapping) - async def patch(self,body: Optional[MeetingRegistrantBase] = None, request_configuration: Optional[MeetingRegistrantBaseItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[MeetingRegistrantBase]: + async def patch(self,body: Optional[WebPart] = None, request_configuration: Optional[WebPartItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[WebPart]: """ - Update the navigation property registrants in solutions + Update the navigation property webparts in sites param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[MeetingRegistrantBase] + Returns: Optional[WebPart] """ if not body: raise TypeError("body cannot be null.") @@ -86,13 +87,13 @@ async def patch(self,body: Optional[MeetingRegistrantBase] = None, request_confi } if not self.request_adapter: raise Exception("Http core is null") - from ..........models.meeting_registrant_base import MeetingRegistrantBase + from ..........models.web_part import WebPart - return await self.request_adapter.send_async(request_info, MeetingRegistrantBase, error_mapping) + return await self.request_adapter.send_async(request_info, WebPart, error_mapping) - def to_delete_request_information(self,request_configuration: Optional[MeetingRegistrantBaseItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + def to_delete_request_information(self,request_configuration: Optional[WebPartItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete navigation property registrants for solutions + Delete navigation property webparts for sites param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[MeetingRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info - def to_get_request_information(self,request_configuration: Optional[MeetingRegistrantBaseItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + def to_get_request_information(self,request_configuration: Optional[WebPartItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Registrants of the online meeting. + The set of web parts in this section. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -120,12 +121,12 @@ def to_get_request_information(self,request_configuration: Optional[MeetingRegis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info - def to_patch_request_information(self,body: Optional[MeetingRegistrantBase] = None, request_configuration: Optional[MeetingRegistrantBaseItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + def to_patch_request_information(self,body: Optional[WebPart] = None, request_configuration: Optional[WebPartItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the navigation property registrants in solutions + Update the navigation property webparts in sites param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -139,24 +140,33 @@ def to_patch_request_information(self,body: Optional[MeetingRegistrantBase] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + 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: Optional[str] = None) -> MeetingRegistrantBaseItemRequestBuilder: + def with_url(self,raw_url: Optional[str] = None) -> WebPartItemRequestBuilder: """ 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: MeetingRegistrantBaseItemRequestBuilder + Returns: WebPartItemRequestBuilder """ if not raw_url: raise TypeError("raw_url cannot be null.") - return MeetingRegistrantBaseItemRequestBuilder(self.request_adapter, raw_url) + return WebPartItemRequestBuilder(self.request_adapter, raw_url) + + @property + def get_position_of_web_part(self) -> GetPositionOfWebPartRequestBuilder: + """ + Provides operations to call the getPositionOfWebPart method. + """ + from .get_position_of_web_part.get_position_of_web_part_request_builder import GetPositionOfWebPartRequestBuilder + + return GetPositionOfWebPartRequestBuilder(self.request_adapter, self.path_parameters) from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class MeetingRegistrantBaseItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + class WebPartItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ @@ -164,9 +174,9 @@ class MeetingRegistrantBaseItemRequestBuilderDeleteRequestConfiguration(BaseRequ """ @dataclass - class MeetingRegistrantBaseItemRequestBuilderGetQueryParameters(): + class WebPartItemRequestBuilderGetQueryParameters(): """ - Registrants of the online meeting. + The set of web parts in this section. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ @@ -192,20 +202,20 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class MeetingRegistrantBaseItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + class WebPartItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ Configuration for the request such as headers, query parameters, and middleware options. """ # Request query parameters - query_parameters: Optional[MeetingRegistrantBaseItemRequestBuilder.MeetingRegistrantBaseItemRequestBuilderGetQueryParameters] = None + query_parameters: Optional[WebPartItemRequestBuilder.WebPartItemRequestBuilderGetQueryParameters] = None from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class MeetingRegistrantBaseItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + class WebPartItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registration/registrants/registrants_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/webparts_request_builder.py similarity index 67% rename from msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registration/registrants/registrants_request_builder.py rename to msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/webparts_request_builder.py index b759a29b7e5..6b451d3d2a9 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registration/registrants/registrants_request_builder.py +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/canvas_layout/vertical_section/webparts/webparts_request_builder.py @@ -10,44 +10,44 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .........models.meeting_registrant_base import MeetingRegistrantBase - from .........models.meeting_registrant_base_collection_response import MeetingRegistrantBaseCollectionResponse from .........models.o_data_errors.o_data_error import ODataError + from .........models.web_part import WebPart + from .........models.web_part_collection_response import WebPartCollectionResponse from .count.count_request_builder import CountRequestBuilder - from .item.meeting_registrant_base_item_request_builder import MeetingRegistrantBaseItemRequestBuilder + from .item.web_part_item_request_builder import WebPartItemRequestBuilder -class RegistrantsRequestBuilder(BaseRequestBuilder): +class WebpartsRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the registrants property of the microsoft.graph.meetingRegistrationBase entity. + Provides operations to manage the webparts property of the microsoft.graph.verticalSection entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ - Instantiates a new RegistrantsRequestBuilder and sets the default values. + Instantiates a new WebpartsRequestBuilder 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/registration/registrants{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/verticalSection/webparts{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) - def by_meeting_registrant_base_id(self,meeting_registrant_base_id: str) -> MeetingRegistrantBaseItemRequestBuilder: + def by_web_part_id(self,web_part_id: str) -> WebPartItemRequestBuilder: """ - Provides operations to manage the registrants property of the microsoft.graph.meetingRegistrationBase entity. - param meeting_registrant_base_id: The unique identifier of meetingRegistrantBase - Returns: MeetingRegistrantBaseItemRequestBuilder + Provides operations to manage the webparts property of the microsoft.graph.verticalSection entity. + param web_part_id: The unique identifier of webPart + Returns: WebPartItemRequestBuilder """ - if not meeting_registrant_base_id: - raise TypeError("meeting_registrant_base_id cannot be null.") - from .item.meeting_registrant_base_item_request_builder import MeetingRegistrantBaseItemRequestBuilder + if not web_part_id: + raise TypeError("web_part_id cannot be null.") + from .item.web_part_item_request_builder import WebPartItemRequestBuilder url_tpl_params = get_path_parameters(self.path_parameters) - url_tpl_params["meetingRegistrantBase%2Did"] = meeting_registrant_base_id - return MeetingRegistrantBaseItemRequestBuilder(self.request_adapter, url_tpl_params) + url_tpl_params["webPart%2Did"] = web_part_id + return WebPartItemRequestBuilder(self.request_adapter, url_tpl_params) - async def get(self,request_configuration: Optional[RegistrantsRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingRegistrantBaseCollectionResponse]: + async def get(self,request_configuration: Optional[WebpartsRequestBuilderGetRequestConfiguration] = None) -> Optional[WebPartCollectionResponse]: """ - Registrants of the online meeting. + The set of web parts in this section. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[MeetingRegistrantBaseCollectionResponse] + Returns: Optional[WebPartCollectionResponse] """ request_info = self.to_get_request_information( request_configuration @@ -60,16 +60,16 @@ async def get(self,request_configuration: Optional[RegistrantsRequestBuilderGetR } if not self.request_adapter: raise Exception("Http core is null") - from .........models.meeting_registrant_base_collection_response import MeetingRegistrantBaseCollectionResponse + from .........models.web_part_collection_response import WebPartCollectionResponse - return await self.request_adapter.send_async(request_info, MeetingRegistrantBaseCollectionResponse, error_mapping) + return await self.request_adapter.send_async(request_info, WebPartCollectionResponse, error_mapping) - async def post(self,body: Optional[MeetingRegistrantBase] = None, request_configuration: Optional[RegistrantsRequestBuilderPostRequestConfiguration] = None) -> Optional[MeetingRegistrantBase]: + async def post(self,body: Optional[WebPart] = None, request_configuration: Optional[WebpartsRequestBuilderPostRequestConfiguration] = None) -> Optional[WebPart]: """ - Create new navigation property to registrants for solutions + Create new navigation property to webparts for sites param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[MeetingRegistrantBase] + Returns: Optional[WebPart] """ if not body: raise TypeError("body cannot be null.") @@ -84,13 +84,13 @@ async def post(self,body: Optional[MeetingRegistrantBase] = None, request_config } if not self.request_adapter: raise Exception("Http core is null") - from .........models.meeting_registrant_base import MeetingRegistrantBase + from .........models.web_part import WebPart - return await self.request_adapter.send_async(request_info, MeetingRegistrantBase, error_mapping) + return await self.request_adapter.send_async(request_info, WebPart, error_mapping) - def to_get_request_information(self,request_configuration: Optional[RegistrantsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + def to_get_request_information(self,request_configuration: Optional[WebpartsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Registrants of the online meeting. + The set of web parts in this section. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,12 +102,12 @@ def to_get_request_information(self,request_configuration: Optional[RegistrantsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info - def to_post_request_information(self,body: Optional[MeetingRegistrantBase] = None, request_configuration: Optional[RegistrantsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + def to_post_request_information(self,body: Optional[WebPart] = None, request_configuration: Optional[WebpartsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create new navigation property to registrants for solutions + Create new navigation property to webparts for sites param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -121,19 +121,19 @@ def to_post_request_information(self,body: Optional[MeetingRegistrantBase] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + 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: Optional[str] = None) -> RegistrantsRequestBuilder: + def with_url(self,raw_url: Optional[str] = None) -> WebpartsRequestBuilder: """ 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: RegistrantsRequestBuilder + Returns: WebpartsRequestBuilder """ if not raw_url: raise TypeError("raw_url cannot be null.") - return RegistrantsRequestBuilder(self.request_adapter, raw_url) + return WebpartsRequestBuilder(self.request_adapter, raw_url) @property def count(self) -> CountRequestBuilder: @@ -145,9 +145,9 @@ def count(self) -> CountRequestBuilder: return CountRequestBuilder(self.request_adapter, self.path_parameters) @dataclass - class RegistrantsRequestBuilderGetQueryParameters(): + class WebpartsRequestBuilderGetQueryParameters(): """ - Registrants of the online meeting. + The set of web parts in this section. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ @@ -203,20 +203,20 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class RegistrantsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + class WebpartsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ Configuration for the request such as headers, query parameters, and middleware options. """ # Request query parameters - query_parameters: Optional[RegistrantsRequestBuilder.RegistrantsRequestBuilderGetQueryParameters] = None + query_parameters: Optional[WebpartsRequestBuilder.WebpartsRequestBuilderGetQueryParameters] = None from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class RegistrantsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + class WebpartsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/created_by_user/created_by_user_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/created_by_user/created_by_user_request_builder.py new file mode 100644 index 00000000000..44ee7cb252a --- /dev/null +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/created_by_user/created_by_user_request_builder.py @@ -0,0 +1,136 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .......models.user import User + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + +class CreatedByUserRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new CreatedByUserRequestBuilder 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}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/createdByUser{?%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[CreatedByUserRequestBuilderGetRequestConfiguration] = None) -> Optional[User]: + """ + Get createdByUser from sites + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[User] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.user import User + + return await self.request_adapter.send_async(request_info, User, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[CreatedByUserRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get createdByUser from sites + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> CreatedByUserRequestBuilder: + """ + 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: CreatedByUserRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return CreatedByUserRequestBuilder(self.request_adapter, raw_url) + + @property + def mailbox_settings(self) -> MailboxSettingsRequestBuilder: + """ + The mailboxSettings property + """ + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + + return MailboxSettingsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def service_provisioning_errors(self) -> ServiceProvisioningErrorsRequestBuilder: + """ + The serviceProvisioningErrors property + """ + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class CreatedByUserRequestBuilderGetQueryParameters(): + """ + Get createdByUser from sites + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CreatedByUserRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CreatedByUserRequestBuilder.CreatedByUserRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/created_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/created_by_user/mailbox_settings/mailbox_settings_request_builder.py new file mode 100644 index 00000000000..b2792500d16 --- /dev/null +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/created_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -0,0 +1,170 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.mailbox_settings import MailboxSettings + from ........models.o_data_errors.o_data_error import ODataError + +class MailboxSettingsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /sites/{site-id}/pages/{baseSitePage-id}/graph.sitePage/createdByUser/mailboxSettings + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new MailboxSettingsRequestBuilder 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}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/createdByUser/mailboxSettings{?%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[MailboxSettingsRequestBuilderGetRequestConfiguration] = None) -> Optional[MailboxSettings]: + """ + Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + async def patch(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> Optional[MailboxSettings]: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[MailboxSettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> MailboxSettingsRequestBuilder: + """ + 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: MailboxSettingsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MailboxSettingsRequestBuilderGetQueryParameters(): + """ + Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class MailboxSettingsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class MailboxSettingsRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/created_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/created_by_user/service_provisioning_errors/count/count_request_builder.py new file mode 100644 index 00000000000..f18829f8ba1 --- /dev/null +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/created_by_user/service_provisioning_errors/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/createdByUser/serviceProvisioningErrors/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py new file mode 100644 index 00000000000..6ba126ba739 --- /dev/null +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -0,0 +1,156 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + from .count.count_request_builder import CountRequestBuilder + +class ServiceProvisioningErrorsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /sites/{site-id}/pages/{baseSitePage-id}/graph.sitePage/createdByUser/serviceProvisioningErrors + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ServiceProvisioningErrorsRequestBuilder 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}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/createdByUser/serviceProvisioningErrors{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: + """ + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ServiceProvisioningErrorCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + + return await self.request_adapter.send_async(request_info, ServiceProvisioningErrorCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: + """ + 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: ServiceProvisioningErrorsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ServiceProvisioningErrorsRequestBuilder(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 ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): + """ + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/graph_site_page_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/graph_site_page_request_builder.py new file mode 100644 index 00000000000..1c97e6d43e9 --- /dev/null +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/graph_site_page_request_builder.py @@ -0,0 +1,156 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from ......models.site_page import SitePage + from .canvas_layout.canvas_layout_request_builder import CanvasLayoutRequestBuilder + from .created_by_user.created_by_user_request_builder import CreatedByUserRequestBuilder + from .last_modified_by_user.last_modified_by_user_request_builder import LastModifiedByUserRequestBuilder + from .web_parts.web_parts_request_builder import WebPartsRequestBuilder + +class GraphSitePageRequestBuilder(BaseRequestBuilder): + """ + Casts the previous resource to sitePage. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new GraphSitePageRequestBuilder 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}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage{?%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[GraphSitePageRequestBuilderGetRequestConfiguration] = None) -> Optional[SitePage]: + """ + Get the item of type microsoft.graph.baseSitePage as microsoft.graph.sitePage + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[SitePage] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.site_page import SitePage + + return await self.request_adapter.send_async(request_info, SitePage, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[GraphSitePageRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get the item of type microsoft.graph.baseSitePage as microsoft.graph.sitePage + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> GraphSitePageRequestBuilder: + """ + 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: GraphSitePageRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GraphSitePageRequestBuilder(self.request_adapter, raw_url) + + @property + def canvas_layout(self) -> CanvasLayoutRequestBuilder: + """ + Provides operations to manage the canvasLayout property of the microsoft.graph.sitePage entity. + """ + from .canvas_layout.canvas_layout_request_builder import CanvasLayoutRequestBuilder + + return CanvasLayoutRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def created_by_user(self) -> CreatedByUserRequestBuilder: + """ + Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. + """ + from .created_by_user.created_by_user_request_builder import CreatedByUserRequestBuilder + + return CreatedByUserRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def last_modified_by_user(self) -> LastModifiedByUserRequestBuilder: + """ + Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. + """ + from .last_modified_by_user.last_modified_by_user_request_builder import LastModifiedByUserRequestBuilder + + return LastModifiedByUserRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def web_parts(self) -> WebPartsRequestBuilder: + """ + Provides operations to manage the webParts property of the microsoft.graph.sitePage entity. + """ + from .web_parts.web_parts_request_builder import WebPartsRequestBuilder + + return WebPartsRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class GraphSitePageRequestBuilderGetQueryParameters(): + """ + Get the item of type microsoft.graph.baseSitePage as microsoft.graph.sitePage + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GraphSitePageRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[GraphSitePageRequestBuilder.GraphSitePageRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/last_modified_by_user/last_modified_by_user_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/last_modified_by_user/last_modified_by_user_request_builder.py new file mode 100644 index 00000000000..70eacd3bd83 --- /dev/null +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/last_modified_by_user/last_modified_by_user_request_builder.py @@ -0,0 +1,136 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .......models.user import User + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + +class LastModifiedByUserRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the lastModifiedByUser property of the microsoft.graph.baseItem entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new LastModifiedByUserRequestBuilder 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}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/lastModifiedByUser{?%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[LastModifiedByUserRequestBuilderGetRequestConfiguration] = None) -> Optional[User]: + """ + Get lastModifiedByUser from sites + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[User] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.user import User + + return await self.request_adapter.send_async(request_info, User, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[LastModifiedByUserRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get lastModifiedByUser from sites + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> LastModifiedByUserRequestBuilder: + """ + 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: LastModifiedByUserRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return LastModifiedByUserRequestBuilder(self.request_adapter, raw_url) + + @property + def mailbox_settings(self) -> MailboxSettingsRequestBuilder: + """ + The mailboxSettings property + """ + from .mailbox_settings.mailbox_settings_request_builder import MailboxSettingsRequestBuilder + + return MailboxSettingsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def service_provisioning_errors(self) -> ServiceProvisioningErrorsRequestBuilder: + """ + The serviceProvisioningErrors property + """ + from .service_provisioning_errors.service_provisioning_errors_request_builder import ServiceProvisioningErrorsRequestBuilder + + return ServiceProvisioningErrorsRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class LastModifiedByUserRequestBuilderGetQueryParameters(): + """ + Get lastModifiedByUser from sites + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class LastModifiedByUserRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[LastModifiedByUserRequestBuilder.LastModifiedByUserRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py new file mode 100644 index 00000000000..7a0f31c38c4 --- /dev/null +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -0,0 +1,170 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.mailbox_settings import MailboxSettings + from ........models.o_data_errors.o_data_error import ODataError + +class MailboxSettingsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /sites/{site-id}/pages/{baseSitePage-id}/graph.sitePage/lastModifiedByUser/mailboxSettings + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new MailboxSettingsRequestBuilder 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}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/lastModifiedByUser/mailboxSettings{?%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[MailboxSettingsRequestBuilderGetRequestConfiguration] = None) -> Optional[MailboxSettings]: + """ + Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + async def patch(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> Optional[MailboxSettings]: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[MailboxSettings] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.mailbox_settings import MailboxSettings + + return await self.request_adapter.send_async(request_info, MailboxSettings, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[MailboxSettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update property mailboxSettings value. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> MailboxSettingsRequestBuilder: + """ + 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: MailboxSettingsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return MailboxSettingsRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MailboxSettingsRequestBuilderGetQueryParameters(): + """ + Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class MailboxSettingsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[MailboxSettingsRequestBuilder.MailboxSettingsRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class MailboxSettingsRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py new file mode 100644 index 00000000000..cdc27f816e4 --- /dev/null +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/last_modified_by_user/service_provisioning_errors/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/lastModifiedByUser/serviceProvisioningErrors/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py new file mode 100644 index 00000000000..9930a9ac2a1 --- /dev/null +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -0,0 +1,156 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + from .count.count_request_builder import CountRequestBuilder + +class ServiceProvisioningErrorsRequestBuilder(BaseRequestBuilder): + """ + Builds and executes requests for operations under /sites/{site-id}/pages/{baseSitePage-id}/graph.sitePage/lastModifiedByUser/serviceProvisioningErrors + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ServiceProvisioningErrorsRequestBuilder 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}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/lastModifiedByUser/serviceProvisioningErrors{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: + """ + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[ServiceProvisioningErrorCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.service_provisioning_error_collection_response import ServiceProvisioningErrorCollectionResponse + + return await self.request_adapter.send_async(request_info, ServiceProvisioningErrorCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: + """ + 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: ServiceProvisioningErrorsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ServiceProvisioningErrorsRequestBuilder(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 ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): + """ + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[ServiceProvisioningErrorsRequestBuilder.ServiceProvisioningErrorsRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/web_parts/count/count_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/web_parts/count/count_request_builder.py new file mode 100644 index 00000000000..7ca539ad52e --- /dev/null +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/web_parts/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/webParts/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/web_parts/item/get_position_of_web_part/get_position_of_web_part_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/web_parts/item/get_position_of_web_part/get_position_of_web_part_request_builder.py new file mode 100644 index 00000000000..720433cf5c1 --- /dev/null +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/web_parts/item/get_position_of_web_part/get_position_of_web_part_request_builder.py @@ -0,0 +1,86 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .........models.o_data_errors.o_data_error import ODataError + from .........models.web_part_position import WebPartPosition + +class GetPositionOfWebPartRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getPositionOfWebPart method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new GetPositionOfWebPartRequestBuilder 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}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/webParts/{webPart%2Did}/getPositionOfWebPart", path_parameters) + + async def post(self,request_configuration: Optional[GetPositionOfWebPartRequestBuilderPostRequestConfiguration] = None) -> Optional[WebPartPosition]: + """ + Invoke action getPositionOfWebPart + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[WebPartPosition] + """ + request_info = self.to_post_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.web_part_position import WebPartPosition + + return await self.request_adapter.send_async(request_info, WebPartPosition, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[GetPositionOfWebPartRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action getPositionOfWebPart + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> GetPositionOfWebPartRequestBuilder: + """ + 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: GetPositionOfWebPartRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GetPositionOfWebPartRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GetPositionOfWebPartRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/web_parts/item/web_part_item_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/web_parts/item/web_part_item_request_builder.py new file mode 100644 index 00000000000..6d9e95f2e55 --- /dev/null +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/web_parts/item/web_part_item_request_builder.py @@ -0,0 +1,225 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.web_part import WebPart + from .get_position_of_web_part.get_position_of_web_part_request_builder import GetPositionOfWebPartRequestBuilder + +class WebPartItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the webParts property of the microsoft.graph.sitePage entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new WebPartItemRequestBuilder 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}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/webParts/{webPart%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[WebPartItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property webParts for sites + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[WebPartItemRequestBuilderGetRequestConfiguration] = None) -> Optional[WebPart]: + """ + Collection of webparts on the SharePoint page. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[WebPart] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.web_part import WebPart + + return await self.request_adapter.send_async(request_info, WebPart, error_mapping) + + async def patch(self,body: Optional[WebPart] = None, request_configuration: Optional[WebPartItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[WebPart]: + """ + Update the navigation property webParts in sites + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[WebPart] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.web_part import WebPart + + return await self.request_adapter.send_async(request_info, WebPart, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[WebPartItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property webParts for sites + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[WebPartItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Collection of webparts on the SharePoint page. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[WebPart] = None, request_configuration: Optional[WebPartItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property webParts in sites + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> WebPartItemRequestBuilder: + """ + 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: WebPartItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return WebPartItemRequestBuilder(self.request_adapter, raw_url) + + @property + def get_position_of_web_part(self) -> GetPositionOfWebPartRequestBuilder: + """ + Provides operations to call the getPositionOfWebPart method. + """ + from .get_position_of_web_part.get_position_of_web_part_request_builder import GetPositionOfWebPartRequestBuilder + + return GetPositionOfWebPartRequestBuilder(self.request_adapter, self.path_parameters) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class WebPartItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class WebPartItemRequestBuilderGetQueryParameters(): + """ + Collection of webparts on the SharePoint page. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class WebPartItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[WebPartItemRequestBuilder.WebPartItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class WebPartItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/sites/item/pages/item/graph_site_page/web_parts/web_parts_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/web_parts/web_parts_request_builder.py new file mode 100644 index 00000000000..8fbe8f71cff --- /dev/null +++ b/msgraph_beta/generated/sites/item/pages/item/graph_site_page/web_parts/web_parts_request_builder.py @@ -0,0 +1,226 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .......models.web_part import WebPart + from .......models.web_part_collection_response import WebPartCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.web_part_item_request_builder import WebPartItemRequestBuilder + +class WebPartsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the webParts property of the microsoft.graph.sitePage entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new WebPartsRequestBuilder 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}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/webParts{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_web_part_id(self,web_part_id: str) -> WebPartItemRequestBuilder: + """ + Provides operations to manage the webParts property of the microsoft.graph.sitePage entity. + param web_part_id: The unique identifier of webPart + Returns: WebPartItemRequestBuilder + """ + if not web_part_id: + raise TypeError("web_part_id cannot be null.") + from .item.web_part_item_request_builder import WebPartItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["webPart%2Did"] = web_part_id + return WebPartItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[WebPartsRequestBuilderGetRequestConfiguration] = None) -> Optional[WebPartCollectionResponse]: + """ + Collection of webparts on the SharePoint page. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[WebPartCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.web_part_collection_response import WebPartCollectionResponse + + return await self.request_adapter.send_async(request_info, WebPartCollectionResponse, error_mapping) + + async def post(self,body: Optional[WebPart] = None, request_configuration: Optional[WebPartsRequestBuilderPostRequestConfiguration] = None) -> Optional[WebPart]: + """ + Create new navigation property to webParts for sites + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[WebPart] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.web_part import WebPart + + return await self.request_adapter.send_async(request_info, WebPart, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[WebPartsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Collection of webparts on the SharePoint page. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[WebPart] = None, request_configuration: Optional[WebPartsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to webParts for sites + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> WebPartsRequestBuilder: + """ + 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: WebPartsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return WebPartsRequestBuilder(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 WebPartsRequestBuilderGetQueryParameters(): + """ + Collection of webparts on the SharePoint page. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class WebPartsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[WebPartsRequestBuilder.WebPartsRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class WebPartsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/sites/item/pages/item/last_modified_by_user/last_modified_by_user_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/last_modified_by_user/last_modified_by_user_request_builder.py index 750304380b7..015cb1dcc1b 100644 --- a/msgraph_beta/generated/sites/item/pages/item/last_modified_by_user/last_modified_by_user_request_builder.py +++ b/msgraph_beta/generated/sites/item/pages/item/last_modified_by_user/last_modified_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[LastModified request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastModifiedByUserRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/pages/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py index cb149c2860e..dae7e41fb07 100644 --- a/msgraph_beta/generated/sites/item/pages/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/sites/item/pages/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/pages/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/sites/item/pages/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index 4d5c827a5f1..58d78df68fd 100644 --- a/msgraph_beta/generated/sites/item/pages/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/sites/item/pages/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/pages/pages_request_builder.py b/msgraph_beta/generated/sites/item/pages/pages_request_builder.py index 1a254cf088b..b672de6c2b8 100644 --- a/msgraph_beta/generated/sites/item/pages/pages_request_builder.py +++ b/msgraph_beta/generated/sites/item/pages/pages_request_builder.py @@ -14,6 +14,7 @@ from ....models.base_site_page_collection_response import BaseSitePageCollectionResponse from ....models.o_data_errors.o_data_error import ODataError from .count.count_request_builder import CountRequestBuilder + from .graph_site_page.graph_site_page_request_builder import GraphSitePageRequestBuilder from .item.base_site_page_item_request_builder import BaseSitePageItemRequestBuilder class PagesRequestBuilder(BaseRequestBuilder): @@ -45,7 +46,7 @@ def by_base_site_page_id(self,base_site_page_id: str) -> BaseSitePageItemRequest async def get(self,request_configuration: Optional[PagesRequestBuilderGetRequestConfiguration] = None) -> Optional[BaseSitePageCollectionResponse]: """ - Get the collection of baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. This API is available in the following [national cloud deployments. + Get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BaseSitePageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/basesitepage-list?view=graph-rest-1.0 @@ -67,7 +68,7 @@ async def get(self,request_configuration: Optional[PagesRequestBuilderGetRequest async def post(self,body: Optional[BaseSitePage] = None, request_configuration: Optional[PagesRequestBuilderPostRequestConfiguration] = None) -> Optional[BaseSitePage]: """ - Create a new sitePage][] in the site pages [list][] in a [site][]. This API is available in the following [national cloud deployments. + Create a new [sitePage][] in the site pages [list][] in a [site][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BaseSitePage] @@ -92,7 +93,7 @@ async def post(self,body: Optional[BaseSitePage] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[PagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the collection of baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. This API is available in the following [national cloud deployments. + Get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[PagesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[BaseSitePage] = None, request_configuration: Optional[PagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new sitePage][] in the site pages [list][] in a [site][]. This API is available in the following [national cloud deployments. + Create a new [sitePage][] in the site pages [list][] in a [site][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +124,7 @@ def to_post_request_information(self,body: Optional[BaseSitePage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -146,10 +147,19 @@ def count(self) -> CountRequestBuilder: return CountRequestBuilder(self.request_adapter, self.path_parameters) + @property + def graph_site_page(self) -> GraphSitePageRequestBuilder: + """ + Casts the previous resource to sitePage. + """ + from .graph_site_page.graph_site_page_request_builder import GraphSitePageRequestBuilder + + return GraphSitePageRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class PagesRequestBuilderGetQueryParameters(): """ - Get the collection of baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. This API is available in the following [national cloud deployments. + Get the collection of [baseSitePage][] objects from the site pages [list][] in a [site][]. All pages in the site are returned (with pagination). Sort alphabetically by name in ascending order. The following table lists the available subtypes. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/permissions/item/grant/grant_request_builder.py b/msgraph_beta/generated/sites/item/permissions/item/grant/grant_request_builder.py index 5410c584d0f..7fd93b88d90 100644 --- a/msgraph_beta/generated/sites/item/permissions/item/grant/grant_request_builder.py +++ b/msgraph_beta/generated/sites/item/permissions/item/grant/grant_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GrantPostRequestBody] = None, request_configuration: Optional[GrantRequestBuilderPostRequestConfiguration] = None) -> Optional[GrantPostResponse]: """ - Grant users access to a link represented by a permission][]. This API is available in the following [national cloud deployments. + Grant users access to a link represented by a [permission][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GrantPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GrantPostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[GrantPostRequestBody] = None, request_configuration: Optional[GrantRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Grant users access to a link represented by a permission][]. This API is available in the following [national cloud deployments. + Grant users access to a link represented by a [permission][]. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GrantPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/permissions/item/permission_item_request_builder.py b/msgraph_beta/generated/sites/item/permissions/item/permission_item_request_builder.py index 85fe0c154e6..8a029d07133 100644 --- a/msgraph_beta/generated/sites/item/permissions/item/permission_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/permissions/item/permission_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[PermissionItemRequestBuild async def get(self,request_configuration: Optional[PermissionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Permission]: """ - Retrieve the properties and relationships of a permission object on a site. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a permission object on a site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Permission] Find more info here: https://learn.microsoft.com/graph/api/site-get-permission?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[PermissionItemRequestBuilderG async def patch(self,body: Optional[Permission] = None, request_configuration: Optional[PermissionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Permission]: """ - Update the permission object on a site. This API is available in the following national cloud deployments. + Update the permission object on a site. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Permission] @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[Permissio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PermissionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a permission object on a site. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a permission object on a site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[PermissionIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Permission] = None, request_configuration: Optional[PermissionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the permission object on a site. This API is available in the following national cloud deployments. + Update the permission object on a site. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[Permission] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ class PermissionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class PermissionItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a permission object on a site. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a permission object on a site. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/permissions/item/revoke_grants/revoke_grants_request_builder.py b/msgraph_beta/generated/sites/item/permissions/item/revoke_grants/revoke_grants_request_builder.py index 71e80498342..336c0d05a62 100644 --- a/msgraph_beta/generated/sites/item/permissions/item/revoke_grants/revoke_grants_request_builder.py +++ b/msgraph_beta/generated/sites/item/permissions/item/revoke_grants/revoke_grants_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RevokeGrantsPostRequestBody] = None, request_configuration: Optional[RevokeGrantsRequestBuilderPostRequestConfiguration] = None) -> Optional[Permission]: """ - Revoke access to a listItem][] or [driveItem][] granted via a sharing link by removing the specified [recipient][] from the link. This API is available in the following [national cloud deployments. + Revoke access to a [listItem][] or [driveItem][] granted via a sharing link by removing the specified [recipient][] from the link. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Permission] @@ -54,7 +54,7 @@ async def post(self,body: Optional[RevokeGrantsPostRequestBody] = None, request_ def to_post_request_information(self,body: Optional[RevokeGrantsPostRequestBody] = None, request_configuration: Optional[RevokeGrantsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Revoke access to a listItem][] or [driveItem][] granted via a sharing link by removing the specified [recipient][] from the link. This API is available in the following [national cloud deployments. + Revoke access to a [listItem][] or [driveItem][] granted via a sharing link by removing the specified [recipient][] from the link. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[RevokeGrantsPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/permissions/permissions_request_builder.py b/msgraph_beta/generated/sites/item/permissions/permissions_request_builder.py index 550516e6317..ec547d15cae 100644 --- a/msgraph_beta/generated/sites/item/permissions/permissions_request_builder.py +++ b/msgraph_beta/generated/sites/item/permissions/permissions_request_builder.py @@ -45,7 +45,7 @@ def by_permission_id(self,permission_id: str) -> PermissionItemRequestBuilder: async def get(self,request_configuration: Optional[PermissionsRequestBuilderGetRequestConfiguration] = None) -> Optional[PermissionCollectionResponse]: """ - Get the permission resources from the permissions navigation property on a site. This API is available in the following national cloud deployments. + Get the permission resources from the permissions navigation property on a site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PermissionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/site-list-permissions?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[PermissionsRequestBuilderGetR async def post(self,body: Optional[Permission] = None, request_configuration: Optional[PermissionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Permission]: """ - Create a new permission object on a site. This API is available in the following national cloud deployments. + Create a new permission object on a site. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Permission] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Permission] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[PermissionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the permission resources from the permissions navigation property on a site. This API is available in the following national cloud deployments. + Get the permission resources from the permissions navigation property on a site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[PermissionsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Permission] = None, request_configuration: Optional[PermissionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new permission object on a site. This API is available in the following national cloud deployments. + Create a new permission object on a site. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Permission] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PermissionsRequestBuilderGetQueryParameters(): """ - Get the permission resources from the permissions navigation property on a site. This API is available in the following national cloud deployments. + Get the permission resources from the permissions navigation property on a site. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/recycle_bin/created_by_user/created_by_user_request_builder.py b/msgraph_beta/generated/sites/item/recycle_bin/created_by_user/created_by_user_request_builder.py index 33455183f25..936f56ab1f2 100644 --- a/msgraph_beta/generated/sites/item/recycle_bin/created_by_user/created_by_user_request_builder.py +++ b/msgraph_beta/generated/sites/item/recycle_bin/created_by_user/created_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[CreatedByUse request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreatedByUserRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/recycle_bin/created_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/sites/item/recycle_bin/created_by_user/mailbox_settings/mailbox_settings_request_builder.py index d1ad430444b..060e9eb05e9 100644 --- a/msgraph_beta/generated/sites/item/recycle_bin/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/sites/item/recycle_bin/created_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/recycle_bin/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/sites/item/recycle_bin/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index cfd355af192..83fd7a8980a 100644 --- a/msgraph_beta/generated/sites/item/recycle_bin/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/sites/item/recycle_bin/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/recycle_bin/items/item/created_by_user/created_by_user_request_builder.py b/msgraph_beta/generated/sites/item/recycle_bin/items/item/created_by_user/created_by_user_request_builder.py index 3ce8b7818ed..61240e0d284 100644 --- a/msgraph_beta/generated/sites/item/recycle_bin/items/item/created_by_user/created_by_user_request_builder.py +++ b/msgraph_beta/generated/sites/item/recycle_bin/items/item/created_by_user/created_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[CreatedByUse request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreatedByUserRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/recycle_bin/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/sites/item/recycle_bin/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py index 239a2aee8a4..219baabd5b3 100644 --- a/msgraph_beta/generated/sites/item/recycle_bin/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/sites/item/recycle_bin/items/item/created_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/sites/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index 186ec61de02..33dddb75c84 100644 --- a/msgraph_beta/generated/sites/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/sites/item/recycle_bin/items/item/created_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/recycle_bin/items/item/last_modified_by_user/last_modified_by_user_request_builder.py b/msgraph_beta/generated/sites/item/recycle_bin/items/item/last_modified_by_user/last_modified_by_user_request_builder.py index bdaecc3b0bf..872f13a8d15 100644 --- a/msgraph_beta/generated/sites/item/recycle_bin/items/item/last_modified_by_user/last_modified_by_user_request_builder.py +++ b/msgraph_beta/generated/sites/item/recycle_bin/items/item/last_modified_by_user/last_modified_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[LastModified request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastModifiedByUserRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/recycle_bin/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/sites/item/recycle_bin/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py index 3803a70d0f2..bcbb478dadc 100644 --- a/msgraph_beta/generated/sites/item/recycle_bin/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/sites/item/recycle_bin/items/item/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/sites/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index 0b34ffdd63d..c5f35a866e9 100644 --- a/msgraph_beta/generated/sites/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/sites/item/recycle_bin/items/item/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/recycle_bin/items/item/recycle_bin_item_item_request_builder.py b/msgraph_beta/generated/sites/item/recycle_bin/items/item/recycle_bin_item_item_request_builder.py index 93aeecd95ce..59247afd225 100644 --- a/msgraph_beta/generated/sites/item/recycle_bin/items/item/recycle_bin_item_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/recycle_bin/items/item/recycle_bin_item_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RecycleBi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RecycleBinItemItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[RecycleBinIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RecycleBinItem] = None, request_configuration: Optional[RecycleBinItemItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[RecycleBinItem] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/recycle_bin/items/items_request_builder.py b/msgraph_beta/generated/sites/item/recycle_bin/items/items_request_builder.py index b930865b871..8250d0e1056 100644 --- a/msgraph_beta/generated/sites/item/recycle_bin/items/items_request_builder.py +++ b/msgraph_beta/generated/sites/item/recycle_bin/items/items_request_builder.py @@ -45,7 +45,7 @@ def by_recycle_bin_item_id(self,recycle_bin_item_id: str) -> RecycleBinItemItemR async def get(self,request_configuration: Optional[ItemsRequestBuilderGetRequestConfiguration] = None) -> Optional[RecycleBinItemCollectionResponse]: """ - Get a collection of recycleBinItem resources in the recyleBin of the specified SharePoint site. This API is available in the following national cloud deployments. + Get a collection of recycleBinItem resources in the recyleBin of the specified SharePoint site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RecycleBinItemCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/recyclebin-list-items?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[RecycleBinItem] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[ItemsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a collection of recycleBinItem resources in the recyleBin of the specified SharePoint site. This API is available in the following national cloud deployments. + Get a collection of recycleBinItem resources in the recyleBin of the specified SharePoint site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ItemsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[RecycleBinItem] = None, request_configuration: Optional[ItemsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[RecycleBinItem] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ItemsRequestBuilderGetQueryParameters(): """ - Get a collection of recycleBinItem resources in the recyleBin of the specified SharePoint site. This API is available in the following national cloud deployments. + Get a collection of recycleBinItem resources in the recyleBin of the specified SharePoint site. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/recycle_bin/last_modified_by_user/last_modified_by_user_request_builder.py b/msgraph_beta/generated/sites/item/recycle_bin/last_modified_by_user/last_modified_by_user_request_builder.py index c95e6bf5266..1ae4a955e83 100644 --- a/msgraph_beta/generated/sites/item/recycle_bin/last_modified_by_user/last_modified_by_user_request_builder.py +++ b/msgraph_beta/generated/sites/item/recycle_bin/last_modified_by_user/last_modified_by_user_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[LastModified request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastModifiedByUserRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/recycle_bin/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/sites/item/recycle_bin/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py index 2ada2ed91d5..ece7c0a2dfc 100644 --- a/msgraph_beta/generated/sites/item/recycle_bin/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/sites/item/recycle_bin/last_modified_by_user/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/recycle_bin/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/sites/item/recycle_bin/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py index cd1f0f5ba8f..143c525efe9 100644 --- a/msgraph_beta/generated/sites/item/recycle_bin/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/sites/item/recycle_bin/last_modified_by_user/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/recycle_bin/recycle_bin_request_builder.py b/msgraph_beta/generated/sites/item/recycle_bin/recycle_bin_request_builder.py index b741ae1b22a..8a1934d2c16 100644 --- a/msgraph_beta/generated/sites/item/recycle_bin/recycle_bin_request_builder.py +++ b/msgraph_beta/generated/sites/item/recycle_bin/recycle_bin_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RecycleBi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RecycleBinRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RecycleBinRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RecycleBin] = None, request_configuration: Optional[RecycleBinRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[RecycleBin] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/site_item_request_builder.py b/msgraph_beta/generated/sites/item/site_item_request_builder.py index 527c1245164..76502d7b482 100644 --- a/msgraph_beta/generated/sites/item/site_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/site_item_request_builder.py @@ -149,7 +149,7 @@ def to_get_request_information(self,request_configuration: Optional[SiteItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Site] = None, request_configuration: Optional[SiteItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -168,7 +168,7 @@ def to_patch_request_information(self,body: Optional[Site] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/sites/item/site_item_request_builder.py b/msgraph_beta/generated/sites/item/sites/item/site_item_request_builder.py index 59b501b402f..55423a92e1e 100644 --- a/msgraph_beta/generated/sites/item/sites/item/site_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/sites/item/site_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SiteItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SiteItemRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/sites/sites_request_builder.py b/msgraph_beta/generated/sites/item/sites/sites_request_builder.py index d6a9617fe96..bc610fcce24 100644 --- a/msgraph_beta/generated/sites/item/sites/sites_request_builder.py +++ b/msgraph_beta/generated/sites/item/sites/sites_request_builder.py @@ -44,7 +44,7 @@ def by_site_id1(self,site_id1: str) -> SiteItemRequestBuilder: async def get(self,request_configuration: Optional[SitesRequestBuilderGetRequestConfiguration] = None) -> Optional[SiteCollectionResponse]: """ - Get a collection of subsites defined for a site][]. This API is available in the following [national cloud deployments. + Get a collection of subsites defined for a [site][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/site-list-subsites?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[SitesRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[SitesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a collection of subsites defined for a site][]. This API is available in the following [national cloud deployments. + Get a collection of subsites defined for a [site][]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[SitesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SitesRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SitesRequestBuilderGetQueryParameters(): """ - Get a collection of subsites defined for a site][]. This API is available in the following [national cloud deployments. + Get a collection of subsites defined for a [site][]. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/term_store/groups/groups_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/groups_request_builder.py index 86a939d3f49..3ee59847676 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/groups_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/groups_request_builder.py @@ -45,7 +45,7 @@ def by_group_id(self,group_id: str) -> GroupItemRequestBuilder: async def get(self,request_configuration: Optional[GroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[GroupCollectionResponse]: """ - Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term store group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/termstore-list-groups?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[GroupsRequestBuilderGetReques async def post(self,body: Optional[Group] = None, request_configuration: Optional[GroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[Group]: """ - Create a new group object. This API is available in the following national cloud deployments. + Create a new group object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Group] = None, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[GroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term store group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[GroupsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Group] = None, request_configuration: Optional[GroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new group object. This API is available in the following national cloud deployments. + Create a new group object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Group] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class GroupsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term store group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/group_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/group_item_request_builder.py index 3e3e3a438c8..fd91aaf921b 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/group_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/group_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[GroupItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a group object in a term store]. This API is available in the following [national cloud deployments. + Delete a group object in a term [store]. 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/termstore-group-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[GroupItemRequestBuilderDel async def get(self,request_configuration: Optional[GroupItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Group]: """ - Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term store group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] Find more info here: https://learn.microsoft.com/graph/api/termstore-group-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[Group] = None, request_configuration: Option def to_delete_request_information(self,request_configuration: Optional[GroupItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a group object in a term store]. This API is available in the following [national cloud deployments. + Delete a group object in a term [store]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[GroupItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GroupItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term store group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Group] = None, request_configuration: Optional[GroupItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Group] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class GroupItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration @dataclass class GroupItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term store group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/children_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/children_request_builder.py index 100a69a7fed..a28e39d3045 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/children_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/children_request_builder.py @@ -45,7 +45,7 @@ def by_term_id(self,term_id: str) -> TermItemRequestBuilder: async def get(self,request_configuration: Optional[ChildrenRequestBuilderGetRequestConfiguration] = None) -> Optional[TermCollectionResponse]: """ - Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + Get the first level children of a [set] or [term] resource using the children navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TermCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/termstore-term-list-children?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ChildrenRequestBuilderGetRequ async def post(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> Optional[Term]: """ - Create a new term object. This API is available in the following national cloud deployments. + Create a new term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Term] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Term] = None, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[ChildrenRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + Get the first level children of a [set] or [term] resource using the children navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ChildrenRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new term object. This API is available in the following national cloud deployments. + Create a new term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ChildrenRequestBuilderGetQueryParameters(): """ - Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + Get the first level children of a [set] or [term] resource using the children navigation property. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/children_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/children_request_builder.py index 3dc365d5613..846c4611aa4 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/children_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/children_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ChildrenRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py index 5c621a4887f..785e2155223 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py index a403a6cf759..2902896a5cc 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/set/set_request_builder.py index 9f6756c50dc..99928813422 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py index e3ca1ccb1a7..6fdf3f1bcb3 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/relations_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/relations_request_builder.py index 72fd831f6ea..cf7265d102a 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/set/set_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/set/set_request_builder.py index 7c902fd1922..213b5f5ef90 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/set/set_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/term_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/term_item_request_builder.py index 6e0a8890fb3..984d1631d6f 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/term_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/children/item/term_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/relations/item/from_term/from_term_request_builder.py index 913c7c827c5..185b77f08c4 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/relations/item/relation_item_request_builder.py index edc4f01cb71..55d75ace2e4 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/relations/item/set/set_request_builder.py index 4045f664361..3ca524604d8 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/relations/item/to_term/to_term_request_builder.py index e334ab8c9db..3bff13000c5 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/relations/relations_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/relations/relations_request_builder.py index f6082b4c3f7..813849d91c8 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/set/set_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/set/set_request_builder.py index d005b1b7ab9..f04efe8570c 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/set/set_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/term_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/term_item_request_builder.py index 83efa56097e..7e2cbc2432f 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/term_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/children/item/term_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/parent_group/parent_group_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/parent_group/parent_group_request_builder.py index 0b9256b9344..afa9a228aa8 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/parent_group/parent_group_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/parent_group/parent_group_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ParentGro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ParentGroupRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentGroupR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Group] = None, request_configuration: Optional[ParentGroupRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Group] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/relations/item/from_term/from_term_request_builder.py index a3a2d3abd2b..cc78f3458d3 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/relations/item/relation_item_request_builder.py index e75592e7139..b3f66ea4012 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/relations/item/set/set_request_builder.py index 8e6270cbe42..992293f8493 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/relations/item/to_term/to_term_request_builder.py index a10d3dee1bb..f63c2dddd6d 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/relations/relations_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/relations/relations_request_builder.py index 693647ab1ca..a71e912e1ef 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/relations/relations_request_builder.py @@ -45,7 +45,7 @@ def by_relation_id(self,relation_id: str) -> RelationItemRequestBuilder: async def get(self,request_configuration: Optional[RelationsRequestBuilderGetRequestConfiguration] = None) -> Optional[RelationCollectionResponse]: """ - Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + Get the different relation of a [term] or [set] from the relations navigation property. 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/termstore-term-list-relations?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[Relation] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[RelationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + Get the different relation of a [term] or [set] from the relations navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationsRequestBuilderGetQueryParameters(): """ - Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + Get the different relation of a [term] or [set] from the relations navigation property. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/set_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/set_item_request_builder.py index db879aa2f8b..899e16ddd63 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/set_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/set_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[SetItemRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SetItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[SetItemReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Set] = None, request_configuration: Optional[SetItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[Set] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/children_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/children_request_builder.py index c02f32359b2..292ad1fa8ee 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/children_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/children_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ChildrenRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py index 11aaa73e08f..7e360745d53 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py index 2ca160e17ca..4e1f630e4da 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py index b9cbf233429..d56405f76aa 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py index 9011e0fdfe1..9cc1369ba79 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/relations_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/relations_request_builder.py index c38715d7920..810acabc8f8 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/set/set_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/set/set_request_builder.py index ba0a8854a59..6fc0b9eaa15 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/set/set_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/term_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/term_item_request_builder.py index 402ea5998aa..a6240371cd2 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/term_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/children/item/term_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py index fd1539caf7f..d528a82f017 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/relation_item_request_builder.py index e6e9db40207..4b3aafeea17 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/set/set_request_builder.py index 43c9d7389aa..a58cd710418 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py index d066219aa23..acb9ff5e3af 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/relations/relations_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/relations/relations_request_builder.py index 82dce139fff..c4d5296cc06 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/set/set_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/set/set_request_builder.py index d292cfcabfc..10131dbf589 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/set/set_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/term_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/term_item_request_builder.py index 44a4ef0dd87..a15f46b6dfa 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/term_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/item/term_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TermItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a term object. This API is available in the following national cloud deployments. + Delete a term object. 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/termstore-term-delete?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[TermItemRequestBuilderDele async def get(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Term]: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Term] Find more info here: https://learn.microsoft.com/graph/api/termstore-term-get?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[TermItemRequestBuilderGetRequ async def patch(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Term]: """ - Update the properties of a term object. This API is available in the following national cloud deployments. + Update the properties of a term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Term] @@ -98,7 +98,7 @@ async def patch(self,body: Optional[Term] = None, request_configuration: Optiona def to_delete_request_information(self,request_configuration: Optional[TermItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a term object. This API is available in the following national cloud deployments. + Delete a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,12 +126,12 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a term object. This API is available in the following national cloud deployments. + Update the properties of a term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -199,7 +199,7 @@ class TermItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class TermItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/terms_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/terms_request_builder.py index e1d0d21003e..0c371802f21 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/terms_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/item/terms/terms_request_builder.py @@ -45,7 +45,7 @@ def by_term_id(self,term_id: str) -> TermItemRequestBuilder: async def get(self,request_configuration: Optional[TermsRequestBuilderGetRequestConfiguration] = None) -> Optional[TermCollectionResponse]: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TermCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[Term] = None, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[TermsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[TermsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TermsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/sets_request_builder.py b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/sets_request_builder.py index bf0f06fa42e..2abcdf9a8c5 100644 --- a/msgraph_beta/generated/sites/item/term_store/groups/item/sets/sets_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/groups/item/sets/sets_request_builder.py @@ -45,7 +45,7 @@ def by_set_id(self,set_id: str) -> SetItemRequestBuilder: async def get(self,request_configuration: Optional[SetsRequestBuilderGetRequestConfiguration] = None) -> Optional[SetCollectionResponse]: """ - Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + Get a list of the set objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SetCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/termstore-group-list-sets?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[Set] = None, request_configuration: Optional[ def to_get_request_information(self,request_configuration: Optional[SetsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + Get a list of the set objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SetsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Set] = None, request_configuration: Optional[SetsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Set] = None, request_configu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SetsRequestBuilderGetQueryParameters(): """ - Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + Get a list of the set objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/children/children_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/children/children_request_builder.py index c3c28fd3f5a..43be6a10158 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/children/children_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/children/children_request_builder.py @@ -45,7 +45,7 @@ def by_term_id(self,term_id: str) -> TermItemRequestBuilder: async def get(self,request_configuration: Optional[ChildrenRequestBuilderGetRequestConfiguration] = None) -> Optional[TermCollectionResponse]: """ - Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + Get the first level children of a [set] or [term] resource using the children navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TermCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/termstore-term-list-children?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ChildrenRequestBuilderGetRequ async def post(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> Optional[Term]: """ - Create a new term object. This API is available in the following national cloud deployments. + Create a new term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Term] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Term] = None, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[ChildrenRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + Get the first level children of a [set] or [term] resource using the children navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ChildrenRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new term object. This API is available in the following national cloud deployments. + Create a new term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ChildrenRequestBuilderGetQueryParameters(): """ - Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + Get the first level children of a [set] or [term] resource using the children navigation property. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/children_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/children_request_builder.py index 05bb60bc898..ba440ba57cc 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/children_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/children_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ChildrenRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py index 3be73fbd573..01530054b6c 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py index a8e65713e7a..aa684eeac93 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/relations/item/set/set_request_builder.py index 99791321733..a6b69870bc8 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py index 916201eda40..3661e7ef0b0 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/relations/relations_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/relations/relations_request_builder.py index fc70ae3b85e..b7ca05b5c7d 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/set/set_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/set/set_request_builder.py index 9a07badfc72..55acce63ecf 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/set/set_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/term_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/term_item_request_builder.py index eb12c965f01..ea4ecffe647 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/term_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/children/item/term_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/relations/item/from_term/from_term_request_builder.py index 54d3dafcda9..7bc3b2ae213 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/relations/item/relation_item_request_builder.py index 393ef08d936..072a56c16bc 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/relations/item/set/set_request_builder.py index 3ff984d0450..213b9239c96 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/relations/item/to_term/to_term_request_builder.py index 3438d2c5d69..b24715fc2a9 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/relations/relations_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/relations/relations_request_builder.py index 969837f854f..bd8a74c1240 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/set/set_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/set/set_request_builder.py index b375d537004..3aa0f375d10 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/set/set_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/term_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/term_item_request_builder.py index b4f28ba1de6..6f9622f39b1 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/term_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/children/item/term_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/parent_group_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/parent_group_request_builder.py index 901a4717355..f4fe786da23 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/parent_group_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/parent_group_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ParentGro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ParentGroupRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentGroupR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Group] = None, request_configuration: Optional[ParentGroupRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Group] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/children_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/children_request_builder.py index 48da348e046..b2a9409444b 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/children_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/children_request_builder.py @@ -45,7 +45,7 @@ def by_term_id(self,term_id: str) -> TermItemRequestBuilder: async def get(self,request_configuration: Optional[ChildrenRequestBuilderGetRequestConfiguration] = None) -> Optional[TermCollectionResponse]: """ - Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + Get the first level children of a [set] or [term] resource using the children navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TermCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/termstore-term-list-children?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ChildrenRequestBuilderGetRequ async def post(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> Optional[Term]: """ - Create a new term object. This API is available in the following national cloud deployments. + Create a new term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Term] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Term] = None, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[ChildrenRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + Get the first level children of a [set] or [term] resource using the children navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ChildrenRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new term object. This API is available in the following national cloud deployments. + Create a new term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ChildrenRequestBuilderGetQueryParameters(): """ - Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + Get the first level children of a [set] or [term] resource using the children navigation property. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/children_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/children_request_builder.py index 8ebc3f61d64..a2f0cd7f3d7 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/children_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/children_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ChildrenRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py index 48b4e6c22ab..0db56f1b61a 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py index c37558f8b6b..296242b1faa 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/set/set_request_builder.py index 2802390621b..976b23347b0 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py index a0873faae82..deff7885d70 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/relations_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/relations_request_builder.py index 179083fd2d8..22112d5b024 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/set/set_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/set/set_request_builder.py index 3a181e19db5..22a8e1fef76 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/set/set_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/term_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/term_item_request_builder.py index a66830e5f59..d4e915364c7 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/term_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/term_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/from_term/from_term_request_builder.py index d3e8efe54fc..456f0e8540d 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/relation_item_request_builder.py index 41c63b0f631..7019cae9142 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/set/set_request_builder.py index 1d648f84a66..be38962cfdd 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/to_term/to_term_request_builder.py index 6baffb37e9a..9fb8a971572 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/relations_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/relations_request_builder.py index 922996c2da5..079736d1dac 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/set/set_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/set/set_request_builder.py index 9bde34f9676..ed0d336cdbc 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/set/set_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/term_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/term_item_request_builder.py index f42e06bce48..74c1794d97d 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/term_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/children/item/term_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/from_term/from_term_request_builder.py index ad0877cd928..b93dbd0c0a4 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/relation_item_request_builder.py index 3d9d6e0bc42..6b4d6fdd974 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/set/set_request_builder.py index cb2051b3d60..bf623fecc44 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/to_term/to_term_request_builder.py index cce5893a9bb..045a3fc5213 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/relations/relations_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/relations/relations_request_builder.py index c44722bd846..2bedbd8acd6 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/relations/relations_request_builder.py @@ -45,7 +45,7 @@ def by_relation_id(self,relation_id: str) -> RelationItemRequestBuilder: async def get(self,request_configuration: Optional[RelationsRequestBuilderGetRequestConfiguration] = None) -> Optional[RelationCollectionResponse]: """ - Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + Get the different relation of a [term] or [set] from the relations navigation property. 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/termstore-term-list-relations?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[Relation] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[RelationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + Get the different relation of a [term] or [set] from the relations navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationsRequestBuilderGetQueryParameters(): """ - Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + Get the different relation of a [term] or [set] from the relations navigation property. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/set_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/set_item_request_builder.py index 4353292a6a8..76e41ee7929 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/set_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/set_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[SetItemRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SetItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[SetItemReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Set] = None, request_configuration: Optional[SetItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Set] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/children_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/children_request_builder.py index 14b1dc19ddd..8720b33fb97 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/children_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/children_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ChildrenRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py index a5acc51c3a2..fdd34b1ec91 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py index 34a8ce36ed2..79ce6df5cba 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py index df030ebdc7b..ec0c664f9ab 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py index 8ddb41f3911..90613769441 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/relations_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/relations_request_builder.py index eee6a85b0d6..1bcb74a26bb 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/set/set_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/set/set_request_builder.py index b6eaf7aba95..57bd2f44628 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/set/set_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/term_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/term_item_request_builder.py index 2b334a89493..391326cf690 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/term_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/term_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py index a88d5318b13..397f024fb15 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/relation_item_request_builder.py index 3d67d2dce59..2b51099b7d9 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/set/set_request_builder.py index 97c58520315..28ed52f763c 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py index 4a84b302ff0..b58a8add88b 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/relations_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/relations_request_builder.py index e4ce752ef65..db33c5005c7 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/set/set_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/set/set_request_builder.py index f4932c49655..3083b373ea9 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/set/set_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/term_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/term_item_request_builder.py index 2823d064253..033db1ddfae 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/term_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/term_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TermItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a term object. This API is available in the following national cloud deployments. + Delete a term object. 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/termstore-term-delete?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[TermItemRequestBuilderDele async def get(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Term]: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Term] Find more info here: https://learn.microsoft.com/graph/api/termstore-term-get?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[TermItemRequestBuilderGetRequ async def patch(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Term]: """ - Update the properties of a term object. This API is available in the following national cloud deployments. + Update the properties of a term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Term] @@ -98,7 +98,7 @@ async def patch(self,body: Optional[Term] = None, request_configuration: Optiona def to_delete_request_information(self,request_configuration: Optional[TermItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a term object. This API is available in the following national cloud deployments. + Delete a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,12 +126,12 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a term object. This API is available in the following national cloud deployments. + Update the properties of a term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -199,7 +199,7 @@ class TermItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class TermItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/terms_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/terms_request_builder.py index b2e3b8a4b75..85b3836322e 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/terms_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/item/terms/terms_request_builder.py @@ -45,7 +45,7 @@ def by_term_id(self,term_id: str) -> TermItemRequestBuilder: async def get(self,request_configuration: Optional[TermsRequestBuilderGetRequestConfiguration] = None) -> Optional[TermCollectionResponse]: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TermCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[Term] = None, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[TermsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[TermsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TermsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/sets_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/sets_request_builder.py index e300bbe3844..42a7d592da3 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/sets_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/parent_group/sets/sets_request_builder.py @@ -45,7 +45,7 @@ def by_set_id1(self,set_id1: str) -> SetItemRequestBuilder: async def get(self,request_configuration: Optional[SetsRequestBuilderGetRequestConfiguration] = None) -> Optional[SetCollectionResponse]: """ - Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + Get a list of the set objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SetCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/termstore-group-list-sets?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[Set] = None, request_configuration: Optional[ def to_get_request_information(self,request_configuration: Optional[SetsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + Get a list of the set objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SetsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Set] = None, request_configuration: Optional[SetsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Set] = None, request_configu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SetsRequestBuilderGetQueryParameters(): """ - Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + Get a list of the set objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/relations/item/from_term/from_term_request_builder.py index dd2df9d58c6..5cd81bc89a6 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/relations/item/relation_item_request_builder.py index 4cbafbb30bd..6c307a51db3 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/relations/item/set/set_request_builder.py index f2e142801ce..8c517b497a8 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/relations/item/to_term/to_term_request_builder.py index 196e25c2b7a..c92940f540f 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/relations/relations_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/relations/relations_request_builder.py index 456018abcdd..c3e29fcb3a9 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/relations/relations_request_builder.py @@ -45,7 +45,7 @@ def by_relation_id(self,relation_id: str) -> RelationItemRequestBuilder: async def get(self,request_configuration: Optional[RelationsRequestBuilderGetRequestConfiguration] = None) -> Optional[RelationCollectionResponse]: """ - Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + Get the different relation of a [term] or [set] from the relations navigation property. 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/termstore-term-list-relations?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[Relation] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[RelationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + Get the different relation of a [term] or [set] from the relations navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationsRequestBuilderGetQueryParameters(): """ - Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + Get the different relation of a [term] or [set] from the relations navigation property. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/set_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/set_item_request_builder.py index b052be83a14..7e45d7efab8 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/set_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/set_item_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[SetItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a set object. This API is available in the following national cloud deployments. + Delete a set object. 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/termstore-set-delete?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[SetItemRequestBuilderDelet async def get(self,request_configuration: Optional[SetItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Set]: """ - Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + Read the properties and relationships of a set object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Set] Find more info here: https://learn.microsoft.com/graph/api/termstore-set-get?view=graph-rest-1.0 @@ -74,7 +74,7 @@ async def get(self,request_configuration: Optional[SetItemRequestBuilderGetReque async def patch(self,body: Optional[Set] = None, request_configuration: Optional[SetItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Set]: """ - Update the properties of a set object. This API is available in the following national cloud deployments. + Update the properties of a set object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Set] @@ -99,7 +99,7 @@ async def patch(self,body: Optional[Set] = None, request_configuration: Optional def to_delete_request_information(self,request_configuration: Optional[SetItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a set object. This API is available in the following national cloud deployments. + Delete a set object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -110,12 +110,12 @@ def to_delete_request_information(self,request_configuration: Optional[SetItemRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SetItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + Read the properties and relationships of a set object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -127,12 +127,12 @@ def to_get_request_information(self,request_configuration: Optional[SetItemReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Set] = None, request_configuration: Optional[SetItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a set object. This API is available in the following national cloud deployments. + Update the properties of a set object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[Set] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -209,7 +209,7 @@ class SetItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class SetItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + Read the properties and relationships of a set object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/children_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/children_request_builder.py index f5b96651522..c6436489a5d 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/children_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/children_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ChildrenRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py index 82a0b6d4710..8144c40e9a6 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py index 71695ab9025..eb808a5a50e 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py index de0fbde255f..9bf9de2f0ac 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py index cbd28b5f4a9..3ea903f0f85 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/relations/relations_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/relations/relations_request_builder.py index 873c5e81f26..33cb997defa 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/set/set_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/set/set_request_builder.py index 7e996d98c07..f33e93d209e 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/set/set_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/term_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/term_item_request_builder.py index 587886e3015..016dc717452 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/term_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/children/item/term_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py index a3f92dae9c1..280509f44dd 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/relations/item/relation_item_request_builder.py index 63b4ffc0d34..ffc3297fdd1 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/relations/item/set/set_request_builder.py index dbc7ce2f7d8..75a19c2fdfd 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py index 5b5084fe8b7..1cfccd94965 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/relations/relations_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/relations/relations_request_builder.py index f35a14ed2ea..ef3a8875902 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/set/set_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/set/set_request_builder.py index 51e2acde04f..bba1f923206 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/set/set_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/term_item_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/term_item_request_builder.py index 3d2de5318c1..cf98deea0cf 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/term_item_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/item/term_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TermItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a term object. This API is available in the following national cloud deployments. + Delete a term object. 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/termstore-term-delete?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[TermItemRequestBuilderDele async def get(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Term]: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Term] Find more info here: https://learn.microsoft.com/graph/api/termstore-term-get?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[TermItemRequestBuilderGetRequ async def patch(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Term]: """ - Update the properties of a term object. This API is available in the following national cloud deployments. + Update the properties of a term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Term] @@ -98,7 +98,7 @@ async def patch(self,body: Optional[Term] = None, request_configuration: Optiona def to_delete_request_information(self,request_configuration: Optional[TermItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a term object. This API is available in the following national cloud deployments. + Delete a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,12 +126,12 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a term object. This API is available in the following national cloud deployments. + Update the properties of a term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -199,7 +199,7 @@ class TermItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class TermItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/terms_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/terms_request_builder.py index 1ccd3fcd61c..87ab200ce2c 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/item/terms/terms_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/item/terms/terms_request_builder.py @@ -45,7 +45,7 @@ def by_term_id(self,term_id: str) -> TermItemRequestBuilder: async def get(self,request_configuration: Optional[TermsRequestBuilderGetRequestConfiguration] = None) -> Optional[TermCollectionResponse]: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TermCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[Term] = None, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[TermsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[TermsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TermsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/term_store/sets/sets_request_builder.py b/msgraph_beta/generated/sites/item/term_store/sets/sets_request_builder.py index 77f56234fec..b1ca45647d1 100644 --- a/msgraph_beta/generated/sites/item/term_store/sets/sets_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/sets/sets_request_builder.py @@ -45,7 +45,7 @@ def by_set_id(self,set_id: str) -> SetItemRequestBuilder: async def get(self,request_configuration: Optional[SetsRequestBuilderGetRequestConfiguration] = None) -> Optional[SetCollectionResponse]: """ - Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + Read the properties and relationships of a set object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SetCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[Set] = None, request_configuration: Optional[ def to_get_request_information(self,request_configuration: Optional[SetsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + Read the properties and relationships of a set object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SetsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Set] = None, request_configuration: Optional[SetsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Set] = None, request_configu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SetsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + Read the properties and relationships of a set object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/item/term_store/term_store_request_builder.py b/msgraph_beta/generated/sites/item/term_store/term_store_request_builder.py index 078b68abcc5..2d0a2b4eb73 100644 --- a/msgraph_beta/generated/sites/item/term_store/term_store_request_builder.py +++ b/msgraph_beta/generated/sites/item/term_store/term_store_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[TermStoreRequestBuilderDel async def get(self,request_configuration: Optional[TermStoreRequestBuilderGetRequestConfiguration] = None) -> Optional[Store]: """ - Read the properties and relationships of a store object. This API is available in the following national cloud deployments. + Read the properties and relationships of a store object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Store] Find more info here: https://learn.microsoft.com/graph/api/termstore-store-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[TermStore request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermStoreRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a store object. This API is available in the following national cloud deployments. + Read the properties and relationships of a store object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[TermStoreReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Store] = None, request_configuration: Optional[TermStoreRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Store] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class TermStoreRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration @dataclass class TermStoreRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a store object. This API is available in the following national cloud deployments. + Read the properties and relationships of a store object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/sites/remove/remove_request_builder.py b/msgraph_beta/generated/sites/remove/remove_request_builder.py index 899a58d1e9d..09c18d99907 100644 --- a/msgraph_beta/generated/sites/remove/remove_request_builder.py +++ b/msgraph_beta/generated/sites/remove/remove_request_builder.py @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[RemovePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/sites/sites_request_builder.py b/msgraph_beta/generated/sites/sites_request_builder.py index 241fc3ae1af..504d2406c38 100644 --- a/msgraph_beta/generated/sites/sites_request_builder.py +++ b/msgraph_beta/generated/sites/sites_request_builder.py @@ -48,7 +48,7 @@ def by_site_id(self,site_id: str) -> SiteItemRequestBuilder: async def get(self,request_configuration: Optional[SitesRequestBuilderGetRequestConfiguration] = None) -> Optional[SiteCollectionResponse]: """ - Search across a SharePoint tenant for sites][] that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. This API is available in the following [national cloud deployments. + Search across a SharePoint tenant for [sites][] that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/site-search?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[SitesRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[SitesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Search across a SharePoint tenant for sites][] that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. This API is available in the following [national cloud deployments. + Search across a SharePoint tenant for [sites][] that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[SitesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SitesRequestBuilder: @@ -143,7 +143,7 @@ def remove(self) -> RemoveRequestBuilder: @dataclass class SitesRequestBuilderGetQueryParameters(): """ - Search across a SharePoint tenant for sites][] that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. This API is available in the following [national cloud deployments. + Search across a SharePoint tenant for [sites][] that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 new file mode 100644 index 00000000000..49a32bcdf7b --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_businesses/booking_businesses_request_builder.py @@ -0,0 +1,226 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ...models.booking_business import BookingBusiness + from ...models.booking_business_collection_response import BookingBusinessCollectionResponse + from ...models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.booking_business_item_request_builder import BookingBusinessItemRequestBuilder + +class BookingBusinessesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the bookingBusinesses property of the microsoft.graph.solutionsRoot entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new BookingBusinessesRequestBuilder 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}/solutions/bookingBusinesses{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_booking_business_id(self,booking_business_id: str) -> BookingBusinessItemRequestBuilder: + """ + Provides operations to manage the bookingBusinesses property of the microsoft.graph.solutionsRoot entity. + param booking_business_id: The unique identifier of bookingBusiness + Returns: BookingBusinessItemRequestBuilder + """ + if not booking_business_id: + raise TypeError("booking_business_id cannot be null.") + from .item.booking_business_item_request_builder import BookingBusinessItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["bookingBusiness%2Did"] = booking_business_id + return BookingBusinessItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[BookingBusinessesRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingBusinessCollectionResponse]: + """ + Get bookingBusinesses from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[BookingBusinessCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...models.booking_business_collection_response import BookingBusinessCollectionResponse + + return await self.request_adapter.send_async(request_info, BookingBusinessCollectionResponse, error_mapping) + + async def post(self,body: Optional[BookingBusiness] = None, request_configuration: Optional[BookingBusinessesRequestBuilderPostRequestConfiguration] = None) -> Optional[BookingBusiness]: + """ + Create new navigation property to bookingBusinesses for solutions + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[BookingBusiness] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...models.booking_business import BookingBusiness + + return await self.request_adapter.send_async(request_info, BookingBusiness, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[BookingBusinessesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get bookingBusinesses from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[BookingBusiness] = None, request_configuration: Optional[BookingBusinessesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to bookingBusinesses for solutions + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> BookingBusinessesRequestBuilder: + """ + 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: BookingBusinessesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return BookingBusinessesRequestBuilder(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 BookingBusinessesRequestBuilderGetQueryParameters(): + """ + Get bookingBusinesses from solutions + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class BookingBusinessesRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[BookingBusinessesRequestBuilder.BookingBusinessesRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class BookingBusinessesRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + 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 new file mode 100644 index 00000000000..0562ee8820c --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_businesses/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/solutions/bookingBusinesses/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + 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 new file mode 100644 index 00000000000..c156170fa40 --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_businesses/item/appointments/appointments_request_builder.py @@ -0,0 +1,228 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.booking_appointment import BookingAppointment + from .....models.booking_appointment_collection_response import BookingAppointmentCollectionResponse + from .....models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.booking_appointment_item_request_builder import BookingAppointmentItemRequestBuilder + +class AppointmentsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the appointments property of the microsoft.graph.bookingBusiness entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new AppointmentsRequestBuilder 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}/solutions/bookingBusinesses/{bookingBusiness%2Did}/appointments{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_booking_appointment_id(self,booking_appointment_id: str) -> BookingAppointmentItemRequestBuilder: + """ + Provides operations to manage the appointments property of the microsoft.graph.bookingBusiness entity. + param booking_appointment_id: The unique identifier of bookingAppointment + Returns: BookingAppointmentItemRequestBuilder + """ + if not booking_appointment_id: + raise TypeError("booking_appointment_id cannot be null.") + from .item.booking_appointment_item_request_builder import BookingAppointmentItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["bookingAppointment%2Did"] = booking_appointment_id + return BookingAppointmentItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[AppointmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingAppointmentCollectionResponse]: + """ + Get a list of bookingAppointment objects for the specified bookingBusiness. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[BookingAppointmentCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/bookingbusiness-list-appointments?view=graph-rest-1.0 + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.booking_appointment_collection_response import BookingAppointmentCollectionResponse + + return await self.request_adapter.send_async(request_info, BookingAppointmentCollectionResponse, error_mapping) + + async def post(self,body: Optional[BookingAppointment] = None, request_configuration: Optional[AppointmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[BookingAppointment]: + """ + Create a new bookingAppointment for the specified bookingBusiness. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[BookingAppointment] + Find more info here: https://learn.microsoft.com/graph/api/bookingbusiness-post-appointments?view=graph-rest-1.0 + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.booking_appointment import BookingAppointment + + return await self.request_adapter.send_async(request_info, BookingAppointment, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[AppointmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get a list of bookingAppointment objects for the specified bookingBusiness. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[BookingAppointment] = None, request_configuration: Optional[AppointmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create a new bookingAppointment for the specified bookingBusiness. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> AppointmentsRequestBuilder: + """ + 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: AppointmentsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return AppointmentsRequestBuilder(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 AppointmentsRequestBuilderGetQueryParameters(): + """ + Get a list of bookingAppointment objects for the specified bookingBusiness. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class AppointmentsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[AppointmentsRequestBuilder.AppointmentsRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class AppointmentsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + 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 new file mode 100644 index 00000000000..f94922db532 --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_businesses/item/appointments/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/solutions/bookingBusinesses/{bookingBusiness%2Did}/appointments/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + 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 new file mode 100644 index 00000000000..32e56ade958 --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_businesses/item/appointments/item/booking_appointment_item_request_builder.py @@ -0,0 +1,228 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.booking_appointment import BookingAppointment + from ......models.o_data_errors.o_data_error import ODataError + from .cancel.cancel_request_builder import CancelRequestBuilder + +class BookingAppointmentItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the appointments property of the microsoft.graph.bookingBusiness entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new BookingAppointmentItemRequestBuilder 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}/solutions/bookingBusinesses/{bookingBusiness%2Did}/appointments/{bookingAppointment%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[BookingAppointmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete a bookingAppointment in the specified bookingBusiness. + 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/bookingappointment-delete?view=graph-rest-1.0 + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[BookingAppointmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingAppointment]: + """ + Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The start and end properties are always returned in UTC. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[BookingAppointment] + Find more info here: https://learn.microsoft.com/graph/api/bookingappointment-get?view=graph-rest-1.0 + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.booking_appointment import BookingAppointment + + return await self.request_adapter.send_async(request_info, BookingAppointment, error_mapping) + + async def patch(self,body: Optional[BookingAppointment] = None, request_configuration: Optional[BookingAppointmentItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[BookingAppointment]: + """ + Update the properties of a bookingAppointment object in the specified bookingBusiness. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[BookingAppointment] + Find more info here: https://learn.microsoft.com/graph/api/bookingappointment-update?view=graph-rest-1.0 + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.booking_appointment import BookingAppointment + + return await self.request_adapter.send_async(request_info, BookingAppointment, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[BookingAppointmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete a bookingAppointment in the specified bookingBusiness. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[BookingAppointmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The start and end properties are always returned in UTC. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[BookingAppointment] = None, request_configuration: Optional[BookingAppointmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the properties of a bookingAppointment object in the specified bookingBusiness. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> BookingAppointmentItemRequestBuilder: + """ + 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: BookingAppointmentItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return BookingAppointmentItemRequestBuilder(self.request_adapter, raw_url) + + @property + def cancel(self) -> CancelRequestBuilder: + """ + Provides operations to call the cancel method. + """ + from .cancel.cancel_request_builder import CancelRequestBuilder + + return CancelRequestBuilder(self.request_adapter, self.path_parameters) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class BookingAppointmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class BookingAppointmentItemRequestBuilderGetQueryParameters(): + """ + Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The start and end properties are always returned in UTC. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class BookingAppointmentItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[BookingAppointmentItemRequestBuilder.BookingAppointmentItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class BookingAppointmentItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/appointments/item/cancel/cancel_post_request_body.py b/msgraph_beta/generated/solutions/booking_businesses/item/appointments/item/cancel/cancel_post_request_body.py new file mode 100644 index 00000000000..02a2e661901 --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_businesses/item/appointments/item/cancel/cancel_post_request_body.py @@ -0,0 +1,49 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class CancelPostRequestBody(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 cancellationMessage property + cancellation_message: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> CancelPostRequestBody: + """ + 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: CancelPostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return CancelPostRequestBody() + + 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]] = { + "cancellationMessage": lambda n : setattr(self, 'cancellation_message', 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("cancellationMessage", self.cancellation_message) + writer.write_additional_data_value(self.additional_data) + + 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 new file mode 100644 index 00000000000..46f189da942 --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_businesses/item/appointments/item/cancel/cancel_request_builder.py @@ -0,0 +1,92 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .cancel_post_request_body import CancelPostRequestBody + +class CancelRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the cancel method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new CancelRequestBuilder 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}/solutions/bookingBusinesses/{bookingBusiness%2Did}/appointments/{bookingAppointment%2Did}/cancel", path_parameters) + + async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Cancel the specified bookingAppointment in the specified bookingBusiness, and send a message to the involved customer and staff members. + param body: The request body + 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/bookingappointment-cancel?view=graph-rest-1.0 + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Cancel the specified bookingAppointment in the specified bookingBusiness, and send a message to the involved customer and staff members. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> CancelRequestBuilder: + """ + 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: CancelRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return CancelRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CancelRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registration/registration_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/booking_business_item_request_builder.py similarity index 54% rename from msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registration/registration_request_builder.py rename to msgraph_beta/generated/solutions/booking_businesses/item/booking_business_item_request_builder.py index 75a9e767889..6a27d545635 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registration/registration_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/booking_business_item_request_builder.py @@ -10,35 +10,41 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ........models.meeting_registration import MeetingRegistration - from ........models.o_data_errors.o_data_error import ODataError + from ....models.booking_business import BookingBusiness + from ....models.o_data_errors.o_data_error import ODataError + from .appointments.appointments_request_builder import AppointmentsRequestBuilder + from .calendar_view.calendar_view_request_builder import CalendarViewRequestBuilder + from .customers.customers_request_builder import CustomersRequestBuilder from .custom_questions.custom_questions_request_builder import CustomQuestionsRequestBuilder - from .registrants.registrants_request_builder import RegistrantsRequestBuilder + from .get_staff_availability.get_staff_availability_request_builder import GetStaffAvailabilityRequestBuilder + from .publish.publish_request_builder import PublishRequestBuilder + from .services.services_request_builder import ServicesRequestBuilder + from .staff_members.staff_members_request_builder import StaffMembersRequestBuilder + from .unpublish.unpublish_request_builder import UnpublishRequestBuilder -class RegistrationRequestBuilder(BaseRequestBuilder): +class BookingBusinessItemRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the registration property of the microsoft.graph.onlineMeeting entity. + Provides operations to manage the bookingBusinesses property of the microsoft.graph.solutionsRoot entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ - Instantiates a new RegistrationRequestBuilder and sets the default values. + Instantiates a new BookingBusinessItemRequestBuilder 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}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/registration{?%24select,%24expand}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}{?%24select,%24expand}", path_parameters) - async def delete(self,request_configuration: Optional[RegistrationRequestBuilderDeleteRequestConfiguration] = None) -> None: + async def delete(self,request_configuration: Optional[BookingBusinessItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Disable and delete the externalMeetingRegistration of an onlineMeeting. This API is available in the following national cloud deployments. + Delete navigation property bookingBusinesses for solutions 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/externalmeetingregistration-delete?view=graph-rest-1.0 """ request_info = self.to_delete_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, ParsableFactory] = { "4XX": ODataError, @@ -48,17 +54,16 @@ async def delete(self,request_configuration: Optional[RegistrationRequestBuilder 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[RegistrationRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingRegistration]: + async def get(self,request_configuration: Optional[BookingBusinessItemRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingBusiness]: """ - Get the externalMeetingRegistration details associated with an onlineMeeting. This API is available in the following national cloud deployments. + Get bookingBusinesses from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[MeetingRegistration] - Find more info here: https://learn.microsoft.com/graph/api/externalmeetingregistration-get?view=graph-rest-1.0 + Returns: Optional[BookingBusiness] """ 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, ParsableFactory] = { "4XX": ODataError, @@ -66,24 +71,23 @@ async def get(self,request_configuration: Optional[RegistrationRequestBuilderGet } if not self.request_adapter: raise Exception("Http core is null") - from ........models.meeting_registration import MeetingRegistration + from ....models.booking_business import BookingBusiness - return await self.request_adapter.send_async(request_info, MeetingRegistration, error_mapping) + return await self.request_adapter.send_async(request_info, BookingBusiness, error_mapping) - async def patch(self,body: Optional[MeetingRegistration] = None, request_configuration: Optional[RegistrationRequestBuilderPatchRequestConfiguration] = None) -> Optional[MeetingRegistration]: + async def patch(self,body: Optional[BookingBusiness] = None, request_configuration: Optional[BookingBusinessItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[BookingBusiness]: """ - Update the details of a meetingRegistration object assciated with an onlineMeeting on behalf of the organizer. This API is available in the following national cloud deployments. + Update the navigation property bookingBusinesses in solutions param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[MeetingRegistration] - Find more info here: https://learn.microsoft.com/graph/api/meetingregistration-update?view=graph-rest-1.0 + Returns: Optional[BookingBusiness] """ if not body: 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 + from ....models.o_data_errors.o_data_error import ODataError error_mapping: Dict[str, ParsableFactory] = { "4XX": ODataError, @@ -91,13 +95,13 @@ async def patch(self,body: Optional[MeetingRegistration] = None, request_configu } if not self.request_adapter: raise Exception("Http core is null") - from ........models.meeting_registration import MeetingRegistration + from ....models.booking_business import BookingBusiness - return await self.request_adapter.send_async(request_info, MeetingRegistration, error_mapping) + return await self.request_adapter.send_async(request_info, BookingBusiness, error_mapping) - def to_delete_request_information(self,request_configuration: Optional[RegistrationRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + def to_delete_request_information(self,request_configuration: Optional[BookingBusinessItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Disable and delete the externalMeetingRegistration of an onlineMeeting. This API is available in the following national cloud deployments. + Delete navigation property bookingBusinesses for solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +112,12 @@ def to_delete_request_information(self,request_configuration: Optional[Registrat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info - def to_get_request_information(self,request_configuration: Optional[RegistrationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + def to_get_request_information(self,request_configuration: Optional[BookingBusinessItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the externalMeetingRegistration details associated with an onlineMeeting. This API is available in the following national cloud deployments. + Get bookingBusinesses from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +129,12 @@ def to_get_request_information(self,request_configuration: Optional[Registration request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info - def to_patch_request_information(self,body: Optional[MeetingRegistration] = None, request_configuration: Optional[RegistrationRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + def to_patch_request_information(self,body: Optional[BookingBusiness] = None, request_configuration: Optional[BookingBusinessItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the details of a meetingRegistration object assciated with an onlineMeeting on behalf of the organizer. This API is available in the following national cloud deployments. + Update the navigation property bookingBusinesses in solutions param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,42 +148,105 @@ def to_patch_request_information(self,body: Optional[MeetingRegistration] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + 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: Optional[str] = None) -> RegistrationRequestBuilder: + def with_url(self,raw_url: Optional[str] = None) -> BookingBusinessItemRequestBuilder: """ 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: RegistrationRequestBuilder + Returns: BookingBusinessItemRequestBuilder """ if not raw_url: raise TypeError("raw_url cannot be null.") - return RegistrationRequestBuilder(self.request_adapter, raw_url) + return BookingBusinessItemRequestBuilder(self.request_adapter, raw_url) + + @property + def appointments(self) -> AppointmentsRequestBuilder: + """ + Provides operations to manage the appointments property of the microsoft.graph.bookingBusiness entity. + """ + from .appointments.appointments_request_builder import AppointmentsRequestBuilder + + return AppointmentsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def calendar_view(self) -> CalendarViewRequestBuilder: + """ + Provides operations to manage the calendarView property of the microsoft.graph.bookingBusiness entity. + """ + from .calendar_view.calendar_view_request_builder import CalendarViewRequestBuilder + + return CalendarViewRequestBuilder(self.request_adapter, self.path_parameters) @property def custom_questions(self) -> CustomQuestionsRequestBuilder: """ - Provides operations to manage the customQuestions property of the microsoft.graph.meetingRegistration entity. + Provides operations to manage the customQuestions property of the microsoft.graph.bookingBusiness entity. """ from .custom_questions.custom_questions_request_builder import CustomQuestionsRequestBuilder return CustomQuestionsRequestBuilder(self.request_adapter, self.path_parameters) @property - def registrants(self) -> RegistrantsRequestBuilder: + def customers(self) -> CustomersRequestBuilder: + """ + Provides operations to manage the customers property of the microsoft.graph.bookingBusiness entity. + """ + from .customers.customers_request_builder import CustomersRequestBuilder + + return CustomersRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def get_staff_availability(self) -> GetStaffAvailabilityRequestBuilder: + """ + Provides operations to call the getStaffAvailability method. + """ + from .get_staff_availability.get_staff_availability_request_builder import GetStaffAvailabilityRequestBuilder + + return GetStaffAvailabilityRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def publish(self) -> PublishRequestBuilder: + """ + Provides operations to call the publish method. + """ + from .publish.publish_request_builder import PublishRequestBuilder + + return PublishRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def services(self) -> ServicesRequestBuilder: + """ + Provides operations to manage the services property of the microsoft.graph.bookingBusiness entity. + """ + from .services.services_request_builder import ServicesRequestBuilder + + return ServicesRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def staff_members(self) -> StaffMembersRequestBuilder: + """ + Provides operations to manage the staffMembers property of the microsoft.graph.bookingBusiness entity. + """ + from .staff_members.staff_members_request_builder import StaffMembersRequestBuilder + + return StaffMembersRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def unpublish(self) -> UnpublishRequestBuilder: """ - Provides operations to manage the registrants property of the microsoft.graph.meetingRegistrationBase entity. + Provides operations to call the unpublish method. """ - from .registrants.registrants_request_builder import RegistrantsRequestBuilder + from .unpublish.unpublish_request_builder import UnpublishRequestBuilder - return RegistrantsRequestBuilder(self.request_adapter, self.path_parameters) + return UnpublishRequestBuilder(self.request_adapter, self.path_parameters) from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class RegistrationRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + class BookingBusinessItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ @@ -187,9 +254,9 @@ class RegistrationRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat """ @dataclass - class RegistrationRequestBuilderGetQueryParameters(): + class BookingBusinessItemRequestBuilderGetQueryParameters(): """ - Get the externalMeetingRegistration details associated with an onlineMeeting. This API is available in the following national cloud deployments. + Get bookingBusinesses from solutions """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ @@ -215,20 +282,20 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class RegistrationRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + class BookingBusinessItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ Configuration for the request such as headers, query parameters, and middleware options. """ # Request query parameters - query_parameters: Optional[RegistrationRequestBuilder.RegistrationRequestBuilderGetQueryParameters] = None + query_parameters: Optional[BookingBusinessItemRequestBuilder.BookingBusinessItemRequestBuilderGetQueryParameters] = None from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class RegistrationRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + class BookingBusinessItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ 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 new file mode 100644 index 00000000000..bc19b72843a --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/calendar_view_request_builder.py @@ -0,0 +1,237 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.booking_appointment import BookingAppointment + from .....models.booking_appointment_collection_response import BookingAppointmentCollectionResponse + from .....models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.booking_appointment_item_request_builder import BookingAppointmentItemRequestBuilder + +class CalendarViewRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the calendarView property of the microsoft.graph.bookingBusiness entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new CalendarViewRequestBuilder 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}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView{?start*,end*,%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_booking_appointment_id(self,booking_appointment_id: str) -> BookingAppointmentItemRequestBuilder: + """ + Provides operations to manage the calendarView property of the microsoft.graph.bookingBusiness entity. + param booking_appointment_id: The unique identifier of bookingAppointment + Returns: BookingAppointmentItemRequestBuilder + """ + if not booking_appointment_id: + raise TypeError("booking_appointment_id cannot be null.") + from .item.booking_appointment_item_request_builder import BookingAppointmentItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["bookingAppointment%2Did"] = booking_appointment_id + return BookingAppointmentItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[CalendarViewRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingAppointmentCollectionResponse]: + """ + The set of appointments of this business in a specified date range. Read-only. Nullable. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[BookingAppointmentCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/bookingbusiness-list-calendarview?view=graph-rest-1.0 + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.booking_appointment_collection_response import BookingAppointmentCollectionResponse + + return await self.request_adapter.send_async(request_info, BookingAppointmentCollectionResponse, error_mapping) + + async def post(self,body: Optional[BookingAppointment] = None, request_configuration: Optional[CalendarViewRequestBuilderPostRequestConfiguration] = None) -> Optional[BookingAppointment]: + """ + Create new navigation property to calendarView for solutions + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[BookingAppointment] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.booking_appointment import BookingAppointment + + return await self.request_adapter.send_async(request_info, BookingAppointment, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[CalendarViewRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + The set of appointments of this business in a specified date range. Read-only. Nullable. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[BookingAppointment] = None, request_configuration: Optional[CalendarViewRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to calendarView for solutions + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> CalendarViewRequestBuilder: + """ + 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: CalendarViewRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return CalendarViewRequestBuilder(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 CalendarViewRequestBuilderGetQueryParameters(): + """ + The set of appointments of this business in a specified date range. Read-only. Nullable. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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" + if original_name == "end": + return "end" + if original_name == "start": + return "start" + return original_name + + # Include count of items + count: Optional[bool] = None + + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + end: Optional[str] = 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 + + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + start: Optional[str] = None + + # Show only the first n items + top: Optional[int] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CalendarViewRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CalendarViewRequestBuilder.CalendarViewRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CalendarViewRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + 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 new file mode 100644 index 00000000000..dcc00be0ff3 --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + 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 new file mode 100644 index 00000000000..a52a53c7b36 --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/item/booking_appointment_item_request_builder.py @@ -0,0 +1,235 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.booking_appointment import BookingAppointment + from ......models.o_data_errors.o_data_error import ODataError + from .cancel.cancel_request_builder import CancelRequestBuilder + +class BookingAppointmentItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the calendarView property of the microsoft.graph.bookingBusiness entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new BookingAppointmentItemRequestBuilder 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}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/{bookingAppointment%2Did}{?start*,end*,%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[BookingAppointmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property calendarView for solutions + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[BookingAppointmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingAppointment]: + """ + The set of appointments of this business in a specified date range. Read-only. Nullable. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[BookingAppointment] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.booking_appointment import BookingAppointment + + return await self.request_adapter.send_async(request_info, BookingAppointment, error_mapping) + + async def patch(self,body: Optional[BookingAppointment] = None, request_configuration: Optional[BookingAppointmentItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[BookingAppointment]: + """ + Update the navigation property calendarView in solutions + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[BookingAppointment] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.booking_appointment import BookingAppointment + + return await self.request_adapter.send_async(request_info, BookingAppointment, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[BookingAppointmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property calendarView for solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[BookingAppointmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + The set of appointments of this business in a specified date range. Read-only. Nullable. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[BookingAppointment] = None, request_configuration: Optional[BookingAppointmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property calendarView in solutions + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> BookingAppointmentItemRequestBuilder: + """ + 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: BookingAppointmentItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return BookingAppointmentItemRequestBuilder(self.request_adapter, raw_url) + + @property + def cancel(self) -> CancelRequestBuilder: + """ + Provides operations to call the cancel method. + """ + from .cancel.cancel_request_builder import CancelRequestBuilder + + return CancelRequestBuilder(self.request_adapter, self.path_parameters) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class BookingAppointmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class BookingAppointmentItemRequestBuilderGetQueryParameters(): + """ + The set of appointments of this business in a specified date range. Read-only. Nullable. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + if original_name == "end": + return "end" + if original_name == "start": + return "start" + return original_name + + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + end: Optional[str] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + start: Optional[str] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class BookingAppointmentItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[BookingAppointmentItemRequestBuilder.BookingAppointmentItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class BookingAppointmentItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/item/cancel/cancel_post_request_body.py b/msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/item/cancel/cancel_post_request_body.py new file mode 100644 index 00000000000..02a2e661901 --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/item/cancel/cancel_post_request_body.py @@ -0,0 +1,49 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class CancelPostRequestBody(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 cancellationMessage property + cancellation_message: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> CancelPostRequestBody: + """ + 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: CancelPostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return CancelPostRequestBody() + + 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]] = { + "cancellationMessage": lambda n : setattr(self, 'cancellation_message', 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("cancellationMessage", self.cancellation_message) + writer.write_additional_data_value(self.additional_data) + + 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 new file mode 100644 index 00000000000..4f032eede47 --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_businesses/item/calendar_view/item/cancel/cancel_request_builder.py @@ -0,0 +1,92 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .cancel_post_request_body import CancelPostRequestBody + +class CancelRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the cancel method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new CancelRequestBuilder 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}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/{bookingAppointment%2Did}/cancel", path_parameters) + + async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Cancel the specified bookingAppointment in the specified bookingBusiness, and send a message to the involved customer and staff members. + param body: The request body + 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/bookingappointment-cancel?view=graph-rest-1.0 + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Cancel the specified bookingAppointment in the specified bookingBusiness, and send a message to the involved customer and staff members. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> CancelRequestBuilder: + """ + 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: CancelRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return CancelRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CancelRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + 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 new file mode 100644 index 00000000000..e3412fca9ac --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_businesses/item/custom_questions/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/solutions/bookingBusinesses/{bookingBusiness%2Did}/customQuestions/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registration/custom_questions/custom_questions_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/custom_questions/custom_questions_request_builder.py similarity index 69% rename from msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registration/custom_questions/custom_questions_request_builder.py rename to msgraph_beta/generated/solutions/booking_businesses/item/custom_questions/custom_questions_request_builder.py index d21f7ca8931..1b0c77106aa 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registration/custom_questions/custom_questions_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/custom_questions/custom_questions_request_builder.py @@ -10,15 +10,15 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .........models.meeting_registration_question import MeetingRegistrationQuestion - from .........models.meeting_registration_question_collection_response import MeetingRegistrationQuestionCollectionResponse - from .........models.o_data_errors.o_data_error import ODataError + from .....models.booking_custom_question import BookingCustomQuestion + from .....models.booking_custom_question_collection_response import BookingCustomQuestionCollectionResponse + from .....models.o_data_errors.o_data_error import ODataError from .count.count_request_builder import CountRequestBuilder - from .item.meeting_registration_question_item_request_builder import MeetingRegistrationQuestionItemRequestBuilder + from .item.booking_custom_question_item_request_builder import BookingCustomQuestionItemRequestBuilder class CustomQuestionsRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the customQuestions property of the microsoft.graph.meetingRegistration entity. + Provides operations to manage the customQuestions property of the microsoft.graph.bookingBusiness entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ @@ -27,33 +27,33 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/registration/customQuestions{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/customQuestions{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) - def by_meeting_registration_question_id(self,meeting_registration_question_id: str) -> MeetingRegistrationQuestionItemRequestBuilder: + def by_booking_custom_question_id(self,booking_custom_question_id: str) -> BookingCustomQuestionItemRequestBuilder: """ - Provides operations to manage the customQuestions property of the microsoft.graph.meetingRegistration entity. - param meeting_registration_question_id: The unique identifier of meetingRegistrationQuestion - Returns: MeetingRegistrationQuestionItemRequestBuilder + Provides operations to manage the customQuestions property of the microsoft.graph.bookingBusiness entity. + param booking_custom_question_id: The unique identifier of bookingCustomQuestion + Returns: BookingCustomQuestionItemRequestBuilder """ - if not meeting_registration_question_id: - raise TypeError("meeting_registration_question_id cannot be null.") - from .item.meeting_registration_question_item_request_builder import MeetingRegistrationQuestionItemRequestBuilder + if not booking_custom_question_id: + raise TypeError("booking_custom_question_id cannot be null.") + from .item.booking_custom_question_item_request_builder import BookingCustomQuestionItemRequestBuilder url_tpl_params = get_path_parameters(self.path_parameters) - url_tpl_params["meetingRegistrationQuestion%2Did"] = meeting_registration_question_id - return MeetingRegistrationQuestionItemRequestBuilder(self.request_adapter, url_tpl_params) + url_tpl_params["bookingCustomQuestion%2Did"] = booking_custom_question_id + return BookingCustomQuestionItemRequestBuilder(self.request_adapter, url_tpl_params) - async def get(self,request_configuration: Optional[CustomQuestionsRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingRegistrationQuestionCollectionResponse]: + async def get(self,request_configuration: Optional[CustomQuestionsRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingCustomQuestionCollectionResponse]: """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Get the bookingCustomQuestion resources associated with a bookingBusiness. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[MeetingRegistrationQuestionCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/meetingregistration-list-customquestions?view=graph-rest-1.0 + Returns: Optional[BookingCustomQuestionCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/bookingbusiness-list-customquestions?view=graph-rest-1.0 """ 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, ParsableFactory] = { "4XX": ODataError, @@ -61,24 +61,24 @@ async def get(self,request_configuration: Optional[CustomQuestionsRequestBuilder } if not self.request_adapter: raise Exception("Http core is null") - from .........models.meeting_registration_question_collection_response import MeetingRegistrationQuestionCollectionResponse + from .....models.booking_custom_question_collection_response import BookingCustomQuestionCollectionResponse - return await self.request_adapter.send_async(request_info, MeetingRegistrationQuestionCollectionResponse, error_mapping) + return await self.request_adapter.send_async(request_info, BookingCustomQuestionCollectionResponse, error_mapping) - async def post(self,body: Optional[MeetingRegistrationQuestion] = None, request_configuration: Optional[CustomQuestionsRequestBuilderPostRequestConfiguration] = None) -> Optional[MeetingRegistrationQuestion]: + async def post(self,body: Optional[BookingCustomQuestion] = None, request_configuration: Optional[CustomQuestionsRequestBuilderPostRequestConfiguration] = None) -> Optional[BookingCustomQuestion]: """ - Create a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Create a new bookingCustomQuestion object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[MeetingRegistrationQuestion] - Find more info here: https://learn.microsoft.com/graph/api/meetingregistration-post-customquestions?view=graph-rest-1.0 + Returns: Optional[BookingCustomQuestion] + Find more info here: https://learn.microsoft.com/graph/api/bookingbusiness-post-customquestions?view=graph-rest-1.0 """ if not body: 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 + from .....models.o_data_errors.o_data_error import ODataError error_mapping: Dict[str, ParsableFactory] = { "4XX": ODataError, @@ -86,13 +86,13 @@ async def post(self,body: Optional[MeetingRegistrationQuestion] = None, request_ } if not self.request_adapter: raise Exception("Http core is null") - from .........models.meeting_registration_question import MeetingRegistrationQuestion + from .....models.booking_custom_question import BookingCustomQuestion - return await self.request_adapter.send_async(request_info, MeetingRegistrationQuestion, error_mapping) + return await self.request_adapter.send_async(request_info, BookingCustomQuestion, error_mapping) def to_get_request_information(self,request_configuration: Optional[CustomQuestionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Get the bookingCustomQuestion resources associated with a bookingBusiness. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[CustomQuesti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info - def to_post_request_information(self,body: Optional[MeetingRegistrationQuestion] = None, request_configuration: Optional[CustomQuestionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + def to_post_request_information(self,body: Optional[BookingCustomQuestion] = None, request_configuration: Optional[CustomQuestionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Create a new bookingCustomQuestion object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[MeetingRegistrationQuestion] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CustomQuestionsRequestBuilderGetQueryParameters(): """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Get the bookingCustomQuestion resources associated with a bookingBusiness. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 new file mode 100644 index 00000000000..84c1692adfd --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_businesses/item/custom_questions/item/booking_custom_question_item_request_builder.py @@ -0,0 +1,218 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.booking_custom_question import BookingCustomQuestion + from ......models.o_data_errors.o_data_error import ODataError + +class BookingCustomQuestionItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the customQuestions property of the microsoft.graph.bookingBusiness entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new BookingCustomQuestionItemRequestBuilder 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}/solutions/bookingBusinesses/{bookingBusiness%2Did}/customQuestions/{bookingCustomQuestion%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[BookingCustomQuestionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete the specified bookingCustomQuestion object. + 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/bookingcustomquestion-delete?view=graph-rest-1.0 + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[BookingCustomQuestionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingCustomQuestion]: + """ + Read the properties and relationships of a bookingCustomQuestion object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[BookingCustomQuestion] + Find more info here: https://learn.microsoft.com/graph/api/bookingcustomquestion-get?view=graph-rest-1.0 + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.booking_custom_question import BookingCustomQuestion + + return await self.request_adapter.send_async(request_info, BookingCustomQuestion, error_mapping) + + async def patch(self,body: Optional[BookingCustomQuestion] = None, request_configuration: Optional[BookingCustomQuestionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[BookingCustomQuestion]: + """ + Update the properties of a bookingCustomQuestion object. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[BookingCustomQuestion] + Find more info here: https://learn.microsoft.com/graph/api/bookingcustomquestion-update?view=graph-rest-1.0 + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.booking_custom_question import BookingCustomQuestion + + return await self.request_adapter.send_async(request_info, BookingCustomQuestion, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[BookingCustomQuestionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete the specified bookingCustomQuestion object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[BookingCustomQuestionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Read the properties and relationships of a bookingCustomQuestion object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[BookingCustomQuestion] = None, request_configuration: Optional[BookingCustomQuestionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the properties of a bookingCustomQuestion object. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> BookingCustomQuestionItemRequestBuilder: + """ + 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: BookingCustomQuestionItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return BookingCustomQuestionItemRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class BookingCustomQuestionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class BookingCustomQuestionItemRequestBuilderGetQueryParameters(): + """ + Read the properties and relationships of a bookingCustomQuestion object. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class BookingCustomQuestionItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[BookingCustomQuestionItemRequestBuilder.BookingCustomQuestionItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class BookingCustomQuestionItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registration/custom_questions/count/count_request_builder.py b/msgraph_beta/generated/solutions/booking_businesses/item/customers/count/count_request_builder.py similarity index 94% rename from msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registration/custom_questions/count/count_request_builder.py rename to msgraph_beta/generated/solutions/booking_businesses/item/customers/count/count_request_builder.py index ab5fc5ab2aa..713ff1098db 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registration/custom_questions/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/booking_businesses/item/customers/count/count_request_builder.py @@ -10,7 +10,7 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union 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): """ @@ -23,7 +23,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/registration/customQuestions/$count{?%24search,%24filter}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/customers/$count{?%24search,%24filter}", path_parameters) async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = None) -> Optional[int]: """ @@ -34,7 +34,7 @@ async def get(self,request_configuration: Optional[CountRequestBuilderGetRequest 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, ParsableFactory] = { "4XX": ODataError, 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 new file mode 100644 index 00000000000..38a26c02335 --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_businesses/item/customers/customers_request_builder.py @@ -0,0 +1,228 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.booking_customer import BookingCustomer + from .....models.booking_customer_collection_response import BookingCustomerCollectionResponse + from .....models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.booking_customer_item_request_builder import BookingCustomerItemRequestBuilder + +class CustomersRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the customers property of the microsoft.graph.bookingBusiness entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new CustomersRequestBuilder 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}/solutions/bookingBusinesses/{bookingBusiness%2Did}/customers{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_booking_customer_id(self,booking_customer_id: str) -> BookingCustomerItemRequestBuilder: + """ + Provides operations to manage the customers property of the microsoft.graph.bookingBusiness entity. + param booking_customer_id: The unique identifier of bookingCustomer + Returns: BookingCustomerItemRequestBuilder + """ + if not booking_customer_id: + raise TypeError("booking_customer_id cannot be null.") + from .item.booking_customer_item_request_builder import BookingCustomerItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["bookingCustomer%2Did"] = booking_customer_id + return BookingCustomerItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[CustomersRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingCustomerCollectionResponse]: + """ + Get a list of bookingCustomer objects. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[BookingCustomerCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/bookingbusiness-list-customers?view=graph-rest-1.0 + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.booking_customer_collection_response import BookingCustomerCollectionResponse + + return await self.request_adapter.send_async(request_info, BookingCustomerCollectionResponse, error_mapping) + + async def post(self,body: Optional[BookingCustomer] = None, request_configuration: Optional[CustomersRequestBuilderPostRequestConfiguration] = None) -> Optional[BookingCustomer]: + """ + Create a new bookingCustomer object. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[BookingCustomer] + Find more info here: https://learn.microsoft.com/graph/api/bookingbusiness-post-customers?view=graph-rest-1.0 + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.booking_customer import BookingCustomer + + return await self.request_adapter.send_async(request_info, BookingCustomer, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[CustomersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get a list of bookingCustomer objects. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[BookingCustomer] = None, request_configuration: Optional[CustomersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create a new bookingCustomer object. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> CustomersRequestBuilder: + """ + 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: CustomersRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return CustomersRequestBuilder(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 CustomersRequestBuilderGetQueryParameters(): + """ + Get a list of bookingCustomer objects. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CustomersRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CustomersRequestBuilder.CustomersRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CustomersRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + 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 new file mode 100644 index 00000000000..faf47bce217 --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_businesses/item/customers/item/booking_customer_item_request_builder.py @@ -0,0 +1,218 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.booking_customer import BookingCustomer + from ......models.o_data_errors.o_data_error import ODataError + +class BookingCustomerItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the customers property of the microsoft.graph.bookingBusiness entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new BookingCustomerItemRequestBuilder 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}/solutions/bookingBusinesses/{bookingBusiness%2Did}/customers/{bookingCustomer%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[BookingCustomerItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete the specified bookingCustomer object. + 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/bookingcustomer-delete?view=graph-rest-1.0 + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[BookingCustomerItemRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingCustomer]: + """ + Get the properties and relationships of a bookingCustomer object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[BookingCustomer] + Find more info here: https://learn.microsoft.com/graph/api/bookingcustomer-get?view=graph-rest-1.0 + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.booking_customer import BookingCustomer + + return await self.request_adapter.send_async(request_info, BookingCustomer, error_mapping) + + async def patch(self,body: Optional[BookingCustomer] = None, request_configuration: Optional[BookingCustomerItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[BookingCustomer]: + """ + Update the properties of a bookingCustomer object. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[BookingCustomer] + Find more info here: https://learn.microsoft.com/graph/api/bookingcustomer-update?view=graph-rest-1.0 + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.booking_customer import BookingCustomer + + return await self.request_adapter.send_async(request_info, BookingCustomer, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[BookingCustomerItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete the specified bookingCustomer object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[BookingCustomerItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get the properties and relationships of a bookingCustomer object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[BookingCustomer] = None, request_configuration: Optional[BookingCustomerItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the properties of a bookingCustomer object. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> BookingCustomerItemRequestBuilder: + """ + 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: BookingCustomerItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return BookingCustomerItemRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class BookingCustomerItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class BookingCustomerItemRequestBuilderGetQueryParameters(): + """ + Get the properties and relationships of a bookingCustomer object. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class BookingCustomerItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[BookingCustomerItemRequestBuilder.BookingCustomerItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class BookingCustomerItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_post_request_body.py b/msgraph_beta/generated/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_post_request_body.py new file mode 100644 index 00000000000..2c402e5d8e0 --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_post_request_body.py @@ -0,0 +1,64 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.date_time_time_zone import DateTimeTimeZone + +@dataclass +class GetStaffAvailabilityPostRequestBody(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 endDateTime property + end_date_time: Optional[DateTimeTimeZone] = None + # The staffIds property + staff_ids: Optional[List[str]] = None + # The startDateTime property + start_date_time: Optional[DateTimeTimeZone] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> GetStaffAvailabilityPostRequestBody: + """ + 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: GetStaffAvailabilityPostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return GetStaffAvailabilityPostRequestBody() + + 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.date_time_time_zone import DateTimeTimeZone + + from .....models.date_time_time_zone import DateTimeTimeZone + + fields: Dict[str, Callable[[Any], None]] = { + "endDateTime": lambda n : setattr(self, 'end_date_time', n.get_object_value(DateTimeTimeZone)), + "staffIds": lambda n : setattr(self, 'staff_ids', n.get_collection_of_primitive_values(str)), + "startDateTime": lambda n : setattr(self, 'start_date_time', n.get_object_value(DateTimeTimeZone)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_object_value("endDateTime", self.end_date_time) + writer.write_collection_of_primitive_values("staffIds", self.staff_ids) + writer.write_object_value("startDateTime", self.start_date_time) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_post_response.py b/msgraph_beta/generated/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_post_response.py new file mode 100644 index 00000000000..ef9099a0297 --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_post_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.staff_availability_item import StaffAvailabilityItem + +from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class GetStaffAvailabilityPostResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[StaffAvailabilityItem]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> GetStaffAvailabilityPostResponse: + """ + 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: GetStaffAvailabilityPostResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return GetStaffAvailabilityPostResponse() + + 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.staff_availability_item import StaffAvailabilityItem + + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.staff_availability_item import StaffAvailabilityItem + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(StaffAvailabilityItem)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + 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 new file mode 100644 index 00000000000..3a67ebd163d --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_request_builder.py @@ -0,0 +1,95 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .get_staff_availability_post_request_body import GetStaffAvailabilityPostRequestBody + from .get_staff_availability_post_response import GetStaffAvailabilityPostResponse + +class GetStaffAvailabilityRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getStaffAvailability method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new GetStaffAvailabilityRequestBuilder 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}/solutions/bookingBusinesses/{bookingBusiness%2Did}/getStaffAvailability", path_parameters) + + async def post(self,body: Optional[GetStaffAvailabilityPostRequestBody] = None, request_configuration: Optional[GetStaffAvailabilityRequestBuilderPostRequestConfiguration] = None) -> Optional[GetStaffAvailabilityPostResponse]: + """ + Get the availability information of staff members of a Microsoft Bookings calendar. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[GetStaffAvailabilityPostResponse] + Find more info here: https://learn.microsoft.com/graph/api/bookingbusiness-getstaffavailability?view=graph-rest-1.0 + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .get_staff_availability_post_response import GetStaffAvailabilityPostResponse + + return await self.request_adapter.send_async(request_info, GetStaffAvailabilityPostResponse, error_mapping) + + def to_post_request_information(self,body: Optional[GetStaffAvailabilityPostRequestBody] = None, request_configuration: Optional[GetStaffAvailabilityRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Get the availability information of staff members of a Microsoft Bookings calendar. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> GetStaffAvailabilityRequestBuilder: + """ + 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: GetStaffAvailabilityRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GetStaffAvailabilityRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GetStaffAvailabilityRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + 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 new file mode 100644 index 00000000000..88d27cba7a5 --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_businesses/item/publish/publish_request_builder.py @@ -0,0 +1,84 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + +class PublishRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the publish method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new PublishRequestBuilder 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}/solutions/bookingBusinesses/{bookingBusiness%2Did}/publish", path_parameters) + + async def post(self,request_configuration: Optional[PublishRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Make the scheduling page of this business available to external customers. Set the isPublished property to true, and publicUrl property to the URL of the scheduling page. + 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/bookingbusiness-publish?view=graph-rest-1.0 + """ + request_info = self.to_post_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[PublishRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Make the scheduling page of this business available to external customers. Set the isPublished property to true, and publicUrl property to the URL of the scheduling page. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> PublishRequestBuilder: + """ + 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: PublishRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return PublishRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class PublishRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + 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 new file mode 100644 index 00000000000..3b5a871c5f8 --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_businesses/item/services/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/solutions/bookingBusinesses/{bookingBusiness%2Did}/services/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + 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 new file mode 100644 index 00000000000..4f23fe1d2d0 --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_businesses/item/services/item/booking_service_item_request_builder.py @@ -0,0 +1,218 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.booking_service import BookingService + from ......models.o_data_errors.o_data_error import ODataError + +class BookingServiceItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the services property of the microsoft.graph.bookingBusiness entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new BookingServiceItemRequestBuilder 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}/solutions/bookingBusinesses/{bookingBusiness%2Did}/services/{bookingService%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[BookingServiceItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete a bookingService object in the specified bookingBusiness. + 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/bookingservice-delete?view=graph-rest-1.0 + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[BookingServiceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingService]: + """ + Get the properties and relationships of a bookingService object in the specified bookingBusiness. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[BookingService] + Find more info here: https://learn.microsoft.com/graph/api/bookingservice-get?view=graph-rest-1.0 + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.booking_service import BookingService + + return await self.request_adapter.send_async(request_info, BookingService, error_mapping) + + async def patch(self,body: Optional[BookingService] = None, request_configuration: Optional[BookingServiceItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[BookingService]: + """ + Update the properties of a bookingService object in the specified bookingBusiness. The following are some examples you can customize for a service:- Price- Typical length of an appointment- Reminders- Any, time buffer to set up before or finish up after the service- Scheduling policy parameters such as minimum notice to book or cancel, and whether customers can select specific staff members for an appointment. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[BookingService] + Find more info here: https://learn.microsoft.com/graph/api/bookingservice-update?view=graph-rest-1.0 + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.booking_service import BookingService + + return await self.request_adapter.send_async(request_info, BookingService, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[BookingServiceItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete a bookingService object in the specified bookingBusiness. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[BookingServiceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get the properties and relationships of a bookingService object in the specified bookingBusiness. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[BookingService] = None, request_configuration: Optional[BookingServiceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the properties of a bookingService object in the specified bookingBusiness. The following are some examples you can customize for a service:- Price- Typical length of an appointment- Reminders- Any, time buffer to set up before or finish up after the service- Scheduling policy parameters such as minimum notice to book or cancel, and whether customers can select specific staff members for an appointment. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> BookingServiceItemRequestBuilder: + """ + 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: BookingServiceItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return BookingServiceItemRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class BookingServiceItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class BookingServiceItemRequestBuilderGetQueryParameters(): + """ + Get the properties and relationships of a bookingService object in the specified bookingBusiness. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class BookingServiceItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[BookingServiceItemRequestBuilder.BookingServiceItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class BookingServiceItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + 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 new file mode 100644 index 00000000000..f96f5cbaa40 --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_businesses/item/services/services_request_builder.py @@ -0,0 +1,228 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.booking_service import BookingService + from .....models.booking_service_collection_response import BookingServiceCollectionResponse + from .....models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.booking_service_item_request_builder import BookingServiceItemRequestBuilder + +class ServicesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the services property of the microsoft.graph.bookingBusiness entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ServicesRequestBuilder 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}/solutions/bookingBusinesses/{bookingBusiness%2Did}/services{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_booking_service_id(self,booking_service_id: str) -> BookingServiceItemRequestBuilder: + """ + Provides operations to manage the services property of the microsoft.graph.bookingBusiness entity. + param booking_service_id: The unique identifier of bookingService + Returns: BookingServiceItemRequestBuilder + """ + if not booking_service_id: + raise TypeError("booking_service_id cannot be null.") + from .item.booking_service_item_request_builder import BookingServiceItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["bookingService%2Did"] = booking_service_id + return BookingServiceItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[ServicesRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingServiceCollectionResponse]: + """ + Get a list of bookingService objects in the specified bookingBusiness. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[BookingServiceCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/bookingbusiness-list-services?view=graph-rest-1.0 + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.booking_service_collection_response import BookingServiceCollectionResponse + + return await self.request_adapter.send_async(request_info, BookingServiceCollectionResponse, error_mapping) + + async def post(self,body: Optional[BookingService] = None, request_configuration: Optional[ServicesRequestBuilderPostRequestConfiguration] = None) -> Optional[BookingService]: + """ + Create a new bookingService for the specified bookingBusiness. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[BookingService] + Find more info here: https://learn.microsoft.com/graph/api/bookingbusiness-post-services?view=graph-rest-1.0 + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.booking_service import BookingService + + return await self.request_adapter.send_async(request_info, BookingService, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[ServicesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get a list of bookingService objects in the specified bookingBusiness. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[BookingService] = None, request_configuration: Optional[ServicesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create a new bookingService for the specified bookingBusiness. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> ServicesRequestBuilder: + """ + 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: ServicesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ServicesRequestBuilder(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 ServicesRequestBuilderGetQueryParameters(): + """ + Get a list of bookingService objects in the specified bookingBusiness. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ServicesRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[ServicesRequestBuilder.ServicesRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ServicesRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + 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 new file mode 100644 index 00000000000..f1049c1b59c --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_businesses/item/staff_members/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/solutions/bookingBusinesses/{bookingBusiness%2Did}/staffMembers/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + 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 new file mode 100644 index 00000000000..cc62139d31f --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_businesses/item/staff_members/item/booking_staff_member_item_request_builder.py @@ -0,0 +1,218 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.booking_staff_member import BookingStaffMember + from ......models.o_data_errors.o_data_error import ODataError + +class BookingStaffMemberItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the staffMembers property of the microsoft.graph.bookingBusiness entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new BookingStaffMemberItemRequestBuilder 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}/solutions/bookingBusinesses/{bookingBusiness%2Did}/staffMembers/{bookingStaffMember%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[BookingStaffMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete a staff member in the specified bookingbusiness. + 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/bookingstaffmember-delete?view=graph-rest-1.0 + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[BookingStaffMemberItemRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingStaffMember]: + """ + Get the properties and relationships of a bookingStaffMember in the specified bookingBusiness. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[BookingStaffMember] + Find more info here: https://learn.microsoft.com/graph/api/bookingstaffmember-get?view=graph-rest-1.0 + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.booking_staff_member import BookingStaffMember + + return await self.request_adapter.send_async(request_info, BookingStaffMember, error_mapping) + + async def patch(self,body: Optional[BookingStaffMember] = None, request_configuration: Optional[BookingStaffMemberItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[BookingStaffMember]: + """ + Update the properties of a bookingStaffMember in the specified bookingBusiness. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[BookingStaffMember] + Find more info here: https://learn.microsoft.com/graph/api/bookingstaffmember-update?view=graph-rest-1.0 + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.booking_staff_member import BookingStaffMember + + return await self.request_adapter.send_async(request_info, BookingStaffMember, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[BookingStaffMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete a staff member in the specified bookingbusiness. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[BookingStaffMemberItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get the properties and relationships of a bookingStaffMember in the specified bookingBusiness. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[BookingStaffMember] = None, request_configuration: Optional[BookingStaffMemberItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the properties of a bookingStaffMember in the specified bookingBusiness. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> BookingStaffMemberItemRequestBuilder: + """ + 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: BookingStaffMemberItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return BookingStaffMemberItemRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class BookingStaffMemberItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class BookingStaffMemberItemRequestBuilderGetQueryParameters(): + """ + Get the properties and relationships of a bookingStaffMember in the specified bookingBusiness. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class BookingStaffMemberItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[BookingStaffMemberItemRequestBuilder.BookingStaffMemberItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class BookingStaffMemberItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + 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 new file mode 100644 index 00000000000..4723203d440 --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_businesses/item/staff_members/staff_members_request_builder.py @@ -0,0 +1,228 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.booking_staff_member import BookingStaffMember + from .....models.booking_staff_member_collection_response import BookingStaffMemberCollectionResponse + from .....models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.booking_staff_member_item_request_builder import BookingStaffMemberItemRequestBuilder + +class StaffMembersRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the staffMembers property of the microsoft.graph.bookingBusiness entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new StaffMembersRequestBuilder 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}/solutions/bookingBusinesses/{bookingBusiness%2Did}/staffMembers{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_booking_staff_member_id(self,booking_staff_member_id: str) -> BookingStaffMemberItemRequestBuilder: + """ + Provides operations to manage the staffMembers property of the microsoft.graph.bookingBusiness entity. + param booking_staff_member_id: The unique identifier of bookingStaffMember + Returns: BookingStaffMemberItemRequestBuilder + """ + if not booking_staff_member_id: + raise TypeError("booking_staff_member_id cannot be null.") + from .item.booking_staff_member_item_request_builder import BookingStaffMemberItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["bookingStaffMember%2Did"] = booking_staff_member_id + return BookingStaffMemberItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[StaffMembersRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingStaffMemberCollectionResponse]: + """ + Get a list of bookingStaffMember objects in the specified bookingBusiness. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[BookingStaffMemberCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/bookingbusiness-list-staffmembers?view=graph-rest-1.0 + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.booking_staff_member_collection_response import BookingStaffMemberCollectionResponse + + return await self.request_adapter.send_async(request_info, BookingStaffMemberCollectionResponse, error_mapping) + + async def post(self,body: Optional[BookingStaffMember] = None, request_configuration: Optional[StaffMembersRequestBuilderPostRequestConfiguration] = None) -> Optional[BookingStaffMember]: + """ + Create a new staff member in the specified bookingBusiness. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[BookingStaffMember] + Find more info here: https://learn.microsoft.com/graph/api/bookingbusiness-post-staffmembers?view=graph-rest-1.0 + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.booking_staff_member import BookingStaffMember + + return await self.request_adapter.send_async(request_info, BookingStaffMember, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[StaffMembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get a list of bookingStaffMember objects in the specified bookingBusiness. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[BookingStaffMember] = None, request_configuration: Optional[StaffMembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create a new staff member in the specified bookingBusiness. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> StaffMembersRequestBuilder: + """ + 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: StaffMembersRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return StaffMembersRequestBuilder(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 StaffMembersRequestBuilderGetQueryParameters(): + """ + Get a list of bookingStaffMember objects in the specified bookingBusiness. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class StaffMembersRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[StaffMembersRequestBuilder.StaffMembersRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class StaffMembersRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + 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 new file mode 100644 index 00000000000..ff2601d157e --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_businesses/item/unpublish/unpublish_request_builder.py @@ -0,0 +1,84 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + +class UnpublishRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the unpublish method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new UnpublishRequestBuilder 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}/solutions/bookingBusinesses/{bookingBusiness%2Did}/unpublish", path_parameters) + + async def post(self,request_configuration: Optional[UnpublishRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Make the scheduling page of this business not available to external customers. Set the isPublished property to false, and publicUrl property to null. + 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/bookingbusiness-unpublish?view=graph-rest-1.0 + """ + request_info = self.to_post_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[UnpublishRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Make the scheduling page of this business not available to external customers. Set the isPublished property to false, and publicUrl property to null. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> UnpublishRequestBuilder: + """ + 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: UnpublishRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return UnpublishRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class UnpublishRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + 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 new file mode 100644 index 00000000000..ec129aa1f0b --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_currencies/booking_currencies_request_builder.py @@ -0,0 +1,226 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ...models.booking_currency import BookingCurrency + from ...models.booking_currency_collection_response import BookingCurrencyCollectionResponse + from ...models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.booking_currency_item_request_builder import BookingCurrencyItemRequestBuilder + +class BookingCurrenciesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the bookingCurrencies property of the microsoft.graph.solutionsRoot entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new BookingCurrenciesRequestBuilder 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}/solutions/bookingCurrencies{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_booking_currency_id(self,booking_currency_id: str) -> BookingCurrencyItemRequestBuilder: + """ + Provides operations to manage the bookingCurrencies property of the microsoft.graph.solutionsRoot entity. + param booking_currency_id: The unique identifier of bookingCurrency + Returns: BookingCurrencyItemRequestBuilder + """ + if not booking_currency_id: + raise TypeError("booking_currency_id cannot be null.") + from .item.booking_currency_item_request_builder import BookingCurrencyItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["bookingCurrency%2Did"] = booking_currency_id + return BookingCurrencyItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[BookingCurrenciesRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingCurrencyCollectionResponse]: + """ + Get bookingCurrencies from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[BookingCurrencyCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...models.booking_currency_collection_response import BookingCurrencyCollectionResponse + + return await self.request_adapter.send_async(request_info, BookingCurrencyCollectionResponse, error_mapping) + + async def post(self,body: Optional[BookingCurrency] = None, request_configuration: Optional[BookingCurrenciesRequestBuilderPostRequestConfiguration] = None) -> Optional[BookingCurrency]: + """ + Create new navigation property to bookingCurrencies for solutions + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[BookingCurrency] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ...models.booking_currency import BookingCurrency + + return await self.request_adapter.send_async(request_info, BookingCurrency, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[BookingCurrenciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get bookingCurrencies from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[BookingCurrency] = None, request_configuration: Optional[BookingCurrenciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to bookingCurrencies for solutions + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> BookingCurrenciesRequestBuilder: + """ + 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: BookingCurrenciesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return BookingCurrenciesRequestBuilder(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 BookingCurrenciesRequestBuilderGetQueryParameters(): + """ + Get bookingCurrencies from solutions + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class BookingCurrenciesRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[BookingCurrenciesRequestBuilder.BookingCurrenciesRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class BookingCurrenciesRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + 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 new file mode 100644 index 00000000000..0b210133c0e --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_currencies/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/solutions/bookingCurrencies/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + 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 new file mode 100644 index 00000000000..516ce2f37f8 --- /dev/null +++ b/msgraph_beta/generated/solutions/booking_currencies/item/booking_currency_item_request_builder.py @@ -0,0 +1,215 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.booking_currency import BookingCurrency + from ....models.o_data_errors.o_data_error import ODataError + +class BookingCurrencyItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the bookingCurrencies property of the microsoft.graph.solutionsRoot entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new BookingCurrencyItemRequestBuilder 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}/solutions/bookingCurrencies/{bookingCurrency%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[BookingCurrencyItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property bookingCurrencies for solutions + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[BookingCurrencyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[BookingCurrency]: + """ + Get bookingCurrencies from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[BookingCurrency] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.booking_currency import BookingCurrency + + return await self.request_adapter.send_async(request_info, BookingCurrency, error_mapping) + + async def patch(self,body: Optional[BookingCurrency] = None, request_configuration: Optional[BookingCurrencyItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[BookingCurrency]: + """ + Update the navigation property bookingCurrencies in solutions + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[BookingCurrency] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ....models.booking_currency import BookingCurrency + + return await self.request_adapter.send_async(request_info, BookingCurrency, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[BookingCurrencyItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property bookingCurrencies for solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[BookingCurrencyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get bookingCurrencies from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[BookingCurrency] = None, request_configuration: Optional[BookingCurrencyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property bookingCurrencies in solutions + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> BookingCurrencyItemRequestBuilder: + """ + 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: BookingCurrencyItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return BookingCurrencyItemRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class BookingCurrencyItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class BookingCurrencyItemRequestBuilderGetQueryParameters(): + """ + Get bookingCurrencies from solutions + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class BookingCurrencyItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[BookingCurrencyItemRequestBuilder.BookingCurrencyItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class BookingCurrencyItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + 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 082d9774d38..37e473ec53a 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 @@ -45,7 +45,7 @@ def by_business_scenario_id(self,business_scenario_id: str) -> BusinessScenarioI async def get(self,request_configuration: Optional[BusinessScenariosRequestBuilderGetRequestConfiguration] = None) -> Optional[BusinessScenarioCollectionResponse]: """ - Get a list of all businessScenario objects in an organization. This API is available in the following national cloud deployments. + Get a list of all businessScenario objects in an organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BusinessScenarioCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/solutionsroot-list-businessscenarios?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[BusinessScenariosRequestBuild async def post(self,body: Optional[BusinessScenario] = None, request_configuration: Optional[BusinessScenariosRequestBuilderPostRequestConfiguration] = None) -> Optional[BusinessScenario]: """ - Create a new businessScenario object. This API is available in the following national cloud deployments. + Create a new businessScenario object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BusinessScenario] @@ -92,7 +92,7 @@ async def post(self,body: Optional[BusinessScenario] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[BusinessScenariosRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of all businessScenario objects in an organization. This API is available in the following national cloud deployments. + Get a list of all businessScenario objects in an organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[BusinessScen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[BusinessScenario] = None, request_configuration: Optional[BusinessScenariosRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new businessScenario object. This API is available in the following national cloud deployments. + Create a new businessScenario object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[BusinessScenario] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class BusinessScenariosRequestBuilderGetQueryParameters(): """ - Get a list of all businessScenario objects in an organization. This API is available in the following national cloud deployments. + Get a list of all businessScenario objects in an organization. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 2c57b6f4b9a..53c1c03b3cd 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[BusinessScenarioItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a businessScenario object. The deletion of a scenario causes all data associated with the scenario to be deleted. This API is available in the following national cloud deployments. + Delete a businessScenario object. The deletion of a scenario causes all data associated with the scenario to be deleted. 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/businessscenario-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[BusinessScenarioItemReques async def get(self,request_configuration: Optional[BusinessScenarioItemRequestBuilderGetRequestConfiguration] = None) -> Optional[BusinessScenario]: """ - Read the properties and relationships of a businessScenario object. This API is available in the following national cloud deployments. + Read the properties and relationships of a businessScenario object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BusinessScenario] Find more info here: https://learn.microsoft.com/graph/api/businessscenario-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[BusinessScenarioItemRequestBu async def patch(self,body: Optional[BusinessScenario] = None, request_configuration: Optional[BusinessScenarioItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[BusinessScenario]: """ - Update the properties of a businessScenario object. This API is available in the following national cloud deployments. + Update the properties of a businessScenario object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BusinessScenario] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[BusinessScenario] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[BusinessScenarioItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a businessScenario object. The deletion of a scenario causes all data associated with the scenario to be deleted. This API is available in the following national cloud deployments. + Delete a businessScenario object. The deletion of a scenario causes all data associated with the scenario to be deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[BusinessS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BusinessScenarioItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a businessScenario object. This API is available in the following national cloud deployments. + Read the properties and relationships of a businessScenario object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[BusinessScen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[BusinessScenario] = None, request_configuration: Optional[BusinessScenarioItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a businessScenario object. This API is available in the following national cloud deployments. + Update the properties of a businessScenario object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[BusinessScenario] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class BusinessScenarioItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class BusinessScenarioItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a businessScenario object. This API is available in the following national cloud deployments. + Read the properties and relationships of a businessScenario object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 7e6dcf5d0ba..1e142f2f036 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 @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetPlanPostRequestBody] = None, request_configuration: Optional[GetPlanRequestBuilderPostRequestConfiguration] = None) -> Optional[BusinessScenarioPlanReference]: """ - Get information about the plannerPlan mapped to a given target. If a plannerPlan doesn't exist for the specified target at the time of the request, a new plan will be created for the businessScenario. This API is available in the following national cloud deployments. + Get information about the plannerPlan mapped to a given target. If a plannerPlan doesn't exist for the specified target at the time of the request, a new plan will be created for the businessScenario. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BusinessScenarioPlanReference] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetPlanPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[GetPlanPostRequestBody] = None, request_configuration: Optional[GetPlanRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Get information about the plannerPlan mapped to a given target. If a plannerPlan doesn't exist for the specified target at the time of the request, a new plan will be created for the businessScenario. This API is available in the following national cloud deployments. + Get information about the plannerPlan mapped to a given target. If a plannerPlan doesn't exist for the specified target at the time of the request, a new plan will be created for the businessScenario. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetPlanPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 0072fc19af7..df3d5ec8717 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[PlannerPlanConfigurationLocalizationItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a plannerPlanConfigurationLocalization object. This API is available in the following national cloud deployments. + Delete a plannerPlanConfigurationLocalization object. 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/plannerplanconfiguration-delete-localizations?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[PlannerPlanConfigurationLo async def get(self,request_configuration: Optional[PlannerPlanConfigurationLocalizationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerPlanConfigurationLocalization]: """ - Read the properties and relationships of a plannerPlanConfigurationLocalization object. This API is available in the following national cloud deployments. + Read the properties and relationships of a plannerPlanConfigurationLocalization object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerPlanConfigurationLocalization] Find more info here: https://learn.microsoft.com/graph/api/plannerplanconfigurationlocalization-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[PlannerPlanConfigurationLocal async def patch(self,body: Optional[PlannerPlanConfigurationLocalization] = None, request_configuration: Optional[PlannerPlanConfigurationLocalizationItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[PlannerPlanConfigurationLocalization]: """ - Update the properties of a plannerPlanConfigurationLocalization object. This API is available in the following national cloud deployments. + Update the properties of a plannerPlanConfigurationLocalization object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerPlanConfigurationLocalization] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[PlannerPlanConfigurationLocalization] = None def to_delete_request_information(self,request_configuration: Optional[PlannerPlanConfigurationLocalizationItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a plannerPlanConfigurationLocalization object. This API is available in the following national cloud deployments. + Delete a plannerPlanConfigurationLocalization object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[PlannerPl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PlannerPlanConfigurationLocalizationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a plannerPlanConfigurationLocalization object. This API is available in the following national cloud deployments. + Read the properties and relationships of a plannerPlanConfigurationLocalization object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[PlannerPlanC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerPlanConfigurationLocalization] = None, request_configuration: Optional[PlannerPlanConfigurationLocalizationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a plannerPlanConfigurationLocalization object. This API is available in the following national cloud deployments. + Update the properties of a plannerPlanConfigurationLocalization object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[PlannerPlanConfigurationLoc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class PlannerPlanConfigurationLocalizationItemRequestBuilderDeleteRequestConfigu @dataclass class PlannerPlanConfigurationLocalizationItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a plannerPlanConfigurationLocalization object. This API is available in the following national cloud deployments. + Read the properties and relationships of a plannerPlanConfigurationLocalization object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 17c44ad0fbf..58ecc1a98c0 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 @@ -45,7 +45,7 @@ def by_planner_plan_configuration_localization_id(self,planner_plan_configuratio async def get(self,request_configuration: Optional[LocalizationsRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerPlanConfigurationLocalizationCollectionResponse]: """ - Get a list of the plannerPlanConfigurationLocalization objects and their properties. This API is available in the following national cloud deployments. + Get a list of the plannerPlanConfigurationLocalization objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerPlanConfigurationLocalizationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/plannerplanconfiguration-list-localizations?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[LocalizationsRequestBuilderGe async def post(self,body: Optional[PlannerPlanConfigurationLocalization] = None, request_configuration: Optional[LocalizationsRequestBuilderPostRequestConfiguration] = None) -> Optional[PlannerPlanConfigurationLocalization]: """ - Create a new plannerPlanConfigurationLocalization object. This API is available in the following national cloud deployments. + Create a new plannerPlanConfigurationLocalization object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerPlanConfigurationLocalization] @@ -92,7 +92,7 @@ async def post(self,body: Optional[PlannerPlanConfigurationLocalization] = None, def to_get_request_information(self,request_configuration: Optional[LocalizationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the plannerPlanConfigurationLocalization objects and their properties. This API is available in the following national cloud deployments. + Get a list of the plannerPlanConfigurationLocalization objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[Localization request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PlannerPlanConfigurationLocalization] = None, request_configuration: Optional[LocalizationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new plannerPlanConfigurationLocalization object. This API is available in the following national cloud deployments. + Create a new plannerPlanConfigurationLocalization object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PlannerPlanConfigurationLoca request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class LocalizationsRequestBuilderGetQueryParameters(): """ - Get a list of the plannerPlanConfigurationLocalization objects and their properties. This API is available in the following national cloud deployments. + Get a list of the plannerPlanConfigurationLocalization objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 9d6c4d9bb72..1f1f0d3380d 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 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[PlanConfigurationRequestBu async def get(self,request_configuration: Optional[PlanConfigurationRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerPlanConfiguration]: """ - Read the properties and relationships of a plannerPlanConfiguration object. This API is available in the following national cloud deployments. + Read the properties and relationships of a plannerPlanConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerPlanConfiguration] Find more info here: https://learn.microsoft.com/graph/api/plannerplanconfiguration-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[PlanConfigurationRequestBuild async def patch(self,body: Optional[PlannerPlanConfiguration] = None, request_configuration: Optional[PlanConfigurationRequestBuilderPatchRequestConfiguration] = None) -> Optional[PlannerPlanConfiguration]: """ - Update the properties of a plannerPlanConfiguration object for a businessScenario. This API is available in the following national cloud deployments. + Update the properties of a plannerPlanConfiguration object for a businessScenario. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerPlanConfiguration] @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[PlanConfi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PlanConfigurationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a plannerPlanConfiguration object. This API is available in the following national cloud deployments. + Read the properties and relationships of a plannerPlanConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[PlanConfigur request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerPlanConfiguration] = None, request_configuration: Optional[PlanConfigurationRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a plannerPlanConfiguration object for a businessScenario. This API is available in the following national cloud deployments. + Update the properties of a plannerPlanConfiguration object for a businessScenario. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[PlannerPlanConfiguration] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class PlanConfigurationRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class PlanConfigurationRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a plannerPlanConfiguration object. This API is available in the following national cloud deployments. + Read the properties and relationships of a plannerPlanConfiguration object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 732a3d87a44..17306e5f253 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 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[PlannerRequestBuilderDelet async def get(self,request_configuration: Optional[PlannerRequestBuilderGetRequestConfiguration] = None) -> Optional[BusinessScenarioPlanner]: """ - Read the properties and relationships of a businessScenarioPlanner object. This API is available in the following national cloud deployments. + Read the properties and relationships of a businessScenarioPlanner object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BusinessScenarioPlanner] Find more info here: https://learn.microsoft.com/graph/api/businessscenarioplanner-get?view=graph-rest-1.0 @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[PlannerRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PlannerRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a businessScenarioPlanner object. This API is available in the following national cloud deployments. + Read the properties and relationships of a businessScenarioPlanner object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[PlannerReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[BusinessScenarioPlanner] = None, request_configuration: Optional[PlannerRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[BusinessScenarioPlanner] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -207,7 +207,7 @@ class PlannerRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class PlannerRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a businessScenarioPlanner object. This API is available in the following national cloud deployments. + Read the properties and relationships of a businessScenarioPlanner object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 ac3f620973a..bbdab1b2614 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[TaskConfigurationRequestBu async def get(self,request_configuration: Optional[TaskConfigurationRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerTaskConfiguration]: """ - Read the properties and relationships of a plannerTaskConfiguration object. This API is available in the following national cloud deployments. + Read the properties and relationships of a plannerTaskConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerTaskConfiguration] Find more info here: https://learn.microsoft.com/graph/api/plannertaskconfiguration-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[TaskConfigurationRequestBuild async def patch(self,body: Optional[PlannerTaskConfiguration] = None, request_configuration: Optional[TaskConfigurationRequestBuilderPatchRequestConfiguration] = None) -> Optional[PlannerTaskConfiguration]: """ - Update the properties of a plannerTaskConfiguration object. This API is available in the following national cloud deployments. + Update the properties of a plannerTaskConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerTaskConfiguration] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[TaskConfi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TaskConfigurationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a plannerTaskConfiguration object. This API is available in the following national cloud deployments. + Read the properties and relationships of a plannerTaskConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[TaskConfigur request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerTaskConfiguration] = None, request_configuration: Optional[TaskConfigurationRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a plannerTaskConfiguration object. This API is available in the following national cloud deployments. + Update the properties of a plannerTaskConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerTaskConfiguration] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class TaskConfigurationRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class TaskConfigurationRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a plannerTaskConfiguration object. This API is available in the following national cloud deployments. + Read the properties and relationships of a plannerTaskConfiguration object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 877fda30bf6..462b3033106 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[AssignedToTaskBoardFormatR async def get(self,request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerAssignedToTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerAssignedToTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[AssignedT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignedToTa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerAssignedToTaskBoardTaskFormat] = None, request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerAssignedToTaskBoardT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class AssignedToTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class AssignedToTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 5b3ed0418d2..5befb5f41d2 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[BucketTaskBoardFormatReque async def get(self,request_configuration: Optional[BucketTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerBucketTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerBucketTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[BucketTas request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BucketTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[BucketTaskBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerBucketTaskBoardTaskFormat] = None, request_configuration: Optional[BucketTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerBucketTaskBoardTaskF request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class BucketTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class BucketTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 103110db26e..95e146fee70 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 @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[BusinessScenarioTaskItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a businessScenarioTask object. This API is available in the following national cloud deployments. + Delete a businessScenarioTask object. 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/businessscenarioplanner-delete-tasks?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[BusinessScenarioTaskItemRe async def get(self,request_configuration: Optional[BusinessScenarioTaskItemRequestBuilderGetRequestConfiguration] = None) -> Optional[BusinessScenarioTask]: """ - Read the properties and relationships of a businessScenarioTask object. This API is available in the following national cloud deployments. + Read the properties and relationships of a businessScenarioTask object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BusinessScenarioTask] Find more info here: https://learn.microsoft.com/graph/api/businessscenariotask-get?view=graph-rest-1.0 @@ -74,7 +74,7 @@ async def get(self,request_configuration: Optional[BusinessScenarioTaskItemReque async def patch(self,body: Optional[BusinessScenarioTask] = None, request_configuration: Optional[BusinessScenarioTaskItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[BusinessScenarioTask]: """ - Update the properties of a businessScenarioTask object. This API is available in the following national cloud deployments. + Update the properties of a businessScenarioTask object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BusinessScenarioTask] @@ -99,7 +99,7 @@ async def patch(self,body: Optional[BusinessScenarioTask] = None, request_config def to_delete_request_information(self,request_configuration: Optional[BusinessScenarioTaskItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a businessScenarioTask object. This API is available in the following national cloud deployments. + Delete a businessScenarioTask object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -110,12 +110,12 @@ def to_delete_request_information(self,request_configuration: Optional[BusinessS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BusinessScenarioTaskItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a businessScenarioTask object. This API is available in the following national cloud deployments. + Read the properties and relationships of a businessScenarioTask object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -127,12 +127,12 @@ def to_get_request_information(self,request_configuration: Optional[BusinessScen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[BusinessScenarioTask] = None, request_configuration: Optional[BusinessScenarioTaskItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a businessScenarioTask object. This API is available in the following national cloud deployments. + Update the properties of a businessScenarioTask object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[BusinessScenarioTask] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -209,7 +209,7 @@ class BusinessScenarioTaskItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class BusinessScenarioTaskItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a businessScenarioTask object. This API is available in the following national cloud deployments. + Read the properties and relationships of a businessScenarioTask object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 25b16fc3e4a..db5452af8a4 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[DetailsRequestBuilderDelet async def get(self,request_configuration: Optional[DetailsRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerTaskDetails]: """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerTaskDetails] Find more info here: https://learn.microsoft.com/graph/api/plannertaskdetails-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[DetailsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DetailsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[DetailsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerTaskDetails] = None, request_configuration: Optional[DetailsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerTaskDetails] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class DetailsRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class DetailsRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 e5b1c4bf683..fd092f1e0a5 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 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ProgressTaskBoardFormatReq async def get(self,request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerProgressTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerProgressTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ProgressT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ProgressTask request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerProgressTaskBoardTaskFormat] = None, request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerProgressTaskBoardTas request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ProgressTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class ProgressTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 14e962c7c4d..08c600fabf8 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 @@ -45,7 +45,7 @@ def by_business_scenario_task_id(self,business_scenario_task_id: str) -> Busines async def get(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> Optional[BusinessScenarioTaskCollectionResponse]: """ - Get a list of the businessScenarioTask objects and their properties. This API is available in the following national cloud deployments. + Get a list of the businessScenarioTask objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BusinessScenarioTaskCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/businessscenarioplanner-list-tasks?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TasksRequestBuilderGetRequest async def post(self,body: Optional[BusinessScenarioTask] = None, request_configuration: Optional[TasksRequestBuilderPostRequestConfiguration] = None) -> Optional[BusinessScenarioTask]: """ - Create a new businessScenarioTask object. This API is available in the following national cloud deployments. + Create a new businessScenarioTask object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BusinessScenarioTask] @@ -92,7 +92,7 @@ async def post(self,body: Optional[BusinessScenarioTask] = None, request_configu def to_get_request_information(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the businessScenarioTask objects and their properties. This API is available in the following national cloud deployments. + Get a list of the businessScenarioTask objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[TasksRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[BusinessScenarioTask] = None, request_configuration: Optional[TasksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new businessScenarioTask object. This API is available in the following national cloud deployments. + Create a new businessScenarioTask object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[BusinessScenarioTask] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TasksRequestBuilderGetQueryParameters(): """ - Get a list of the businessScenarioTask objects and their properties. This API is available in the following national cloud deployments. + Get a list of the businessScenarioTask objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/solutions/solutions_request_builder.py b/msgraph_beta/generated/solutions/solutions_request_builder.py index c7202d02299..428e6d0bedd 100644 --- a/msgraph_beta/generated/solutions/solutions_request_builder.py +++ b/msgraph_beta/generated/solutions/solutions_request_builder.py @@ -12,6 +12,8 @@ if TYPE_CHECKING: from ..models.o_data_errors.o_data_error import ODataError from ..models.solutions_root import SolutionsRoot + from .booking_businesses.booking_businesses_request_builder import BookingBusinessesRequestBuilder + from .booking_currencies.booking_currencies_request_builder import BookingCurrenciesRequestBuilder from .business_scenarios.business_scenarios_request_builder import BusinessScenariosRequestBuilder from .virtual_events.virtual_events_request_builder import VirtualEventsRequestBuilder @@ -87,7 +89,7 @@ def to_get_request_information(self,request_configuration: Optional[SolutionsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SolutionsRoot] = None, request_configuration: Optional[SolutionsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -106,7 +108,7 @@ def to_patch_request_information(self,body: Optional[SolutionsRoot] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -120,6 +122,24 @@ def with_url(self,raw_url: Optional[str] = None) -> SolutionsRequestBuilder: raise TypeError("raw_url cannot be null.") return SolutionsRequestBuilder(self.request_adapter, raw_url) + @property + def booking_businesses(self) -> BookingBusinessesRequestBuilder: + """ + Provides operations to manage the bookingBusinesses property of the microsoft.graph.solutionsRoot entity. + """ + from .booking_businesses.booking_businesses_request_builder import BookingBusinessesRequestBuilder + + return BookingBusinessesRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def booking_currencies(self) -> BookingCurrenciesRequestBuilder: + """ + Provides operations to manage the bookingCurrencies property of the microsoft.graph.solutionsRoot entity. + """ + from .booking_currencies.booking_currencies_request_builder import BookingCurrenciesRequestBuilder + + return BookingCurrenciesRequestBuilder(self.request_adapter, self.path_parameters) + @property def business_scenarios(self) -> BusinessScenariosRequestBuilder: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/events/cancel/cancel_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/cancel/cancel_request_builder.py new file mode 100644 index 00000000000..a2477c30998 --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/events/cancel/cancel_request_builder.py @@ -0,0 +1,83 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + +class CancelRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the cancel method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new CancelRequestBuilder 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}/solutions/virtualEvents/events/cancel", path_parameters) + + async def post(self,request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Invoke action cancel + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action cancel + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> CancelRequestBuilder: + """ + 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: CancelRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return CancelRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CancelRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + 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 e9d66e2cd65..bd580ef2d20 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 @@ -13,8 +13,10 @@ from ....models.o_data_errors.o_data_error import ODataError from ....models.virtual_event import VirtualEvent from ....models.virtual_event_collection_response import VirtualEventCollectionResponse + from .cancel.cancel_request_builder import CancelRequestBuilder from .count.count_request_builder import CountRequestBuilder from .item.virtual_event_item_request_builder import VirtualEventItemRequestBuilder + from .publish.publish_request_builder import PublishRequestBuilder class EventsRequestBuilder(BaseRequestBuilder): """ @@ -102,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[EventsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[VirtualEvent] = None, request_configuration: Optional[EventsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +123,7 @@ def to_post_request_information(self,body: Optional[VirtualEvent] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -135,6 +137,15 @@ def with_url(self,raw_url: Optional[str] = None) -> EventsRequestBuilder: raise TypeError("raw_url cannot be null.") return EventsRequestBuilder(self.request_adapter, raw_url) + @property + def cancel(self) -> CancelRequestBuilder: + """ + Provides operations to call the cancel method. + """ + from .cancel.cancel_request_builder import CancelRequestBuilder + + return CancelRequestBuilder(self.request_adapter, self.path_parameters) + @property def count(self) -> CountRequestBuilder: """ @@ -144,6 +155,15 @@ def count(self) -> CountRequestBuilder: return CountRequestBuilder(self.request_adapter, self.path_parameters) + @property + def publish(self) -> PublishRequestBuilder: + """ + Provides operations to call the publish method. + """ + from .publish.publish_request_builder import PublishRequestBuilder + + return PublishRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class EventsRequestBuilderGetQueryParameters(): """ diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/recording/recording_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/profile_photo/profile_photo_request_builder.py similarity index 79% rename from msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/recording/recording_request_builder.py rename to msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/profile_photo/profile_photo_request_builder.py index 773e6144a64..db972662bc1 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/recording/recording_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/profile_photo/profile_photo_request_builder.py @@ -12,22 +12,22 @@ if TYPE_CHECKING: from ........models.o_data_errors.o_data_error import ODataError -class RecordingRequestBuilder(BaseRequestBuilder): +class ProfilePhotoRequestBuilder(BaseRequestBuilder): """ Provides operations to manage the media for the solutionsRoot entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ - Instantiates a new RecordingRequestBuilder and sets the default values. + Instantiates a new ProfilePhotoRequestBuilder 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/recording", path_parameters) + super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/presenters/{virtualEventPresenter%2Did}/profilePhoto", path_parameters) - async def get(self,request_configuration: Optional[RecordingRequestBuilderGetRequestConfiguration] = None) -> bytes: + async def get(self,request_configuration: Optional[ProfilePhotoRequestBuilderGetRequestConfiguration] = None) -> bytes: """ - Get recording for the navigation property sessions from solutions + Get profilePhoto for the navigation property presenters from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -44,9 +44,9 @@ async def get(self,request_configuration: Optional[RecordingRequestBuilderGetReq raise Exception("Http core is null") return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - async def put(self,body: bytes, request_configuration: Optional[RecordingRequestBuilderPutRequestConfiguration] = None) -> bytes: + async def put(self,body: bytes, request_configuration: Optional[ProfilePhotoRequestBuilderPutRequestConfiguration] = None) -> bytes: """ - Update recording for the navigation property sessions in solutions + Update profilePhoto for the navigation property presenters in solutions param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes @@ -66,9 +66,9 @@ async def put(self,body: bytes, request_configuration: Optional[RecordingRequest raise Exception("Http core is null") return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - def to_get_request_information(self,request_configuration: Optional[RecordingRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + def to_get_request_information(self,request_configuration: Optional[ProfilePhotoRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get recording for the navigation property sessions from solutions + Get profilePhoto for the navigation property presenters from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,12 +79,12 @@ def to_get_request_information(self,request_configuration: Optional[RecordingReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info - def to_put_request_information(self,body: bytes, request_configuration: Optional[RecordingRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: + def to_put_request_information(self,body: bytes, request_configuration: Optional[ProfilePhotoRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: """ - Update recording for the navigation property sessions in solutions + Update profilePhoto for the navigation property presenters in solutions param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -98,24 +98,24 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info - def with_url(self,raw_url: Optional[str] = None) -> RecordingRequestBuilder: + def with_url(self,raw_url: Optional[str] = None) -> ProfilePhotoRequestBuilder: """ 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: RecordingRequestBuilder + Returns: ProfilePhotoRequestBuilder """ if not raw_url: raise TypeError("raw_url cannot be null.") - return RecordingRequestBuilder(self.request_adapter, raw_url) + return ProfilePhotoRequestBuilder(self.request_adapter, raw_url) from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class RecordingRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + class ProfilePhotoRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ @@ -125,7 +125,7 @@ class RecordingRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class RecordingRequestBuilderPutRequestConfiguration(BaseRequestConfiguration): + class ProfilePhotoRequestBuilderPutRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/transcripts/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/sessions/count/count_request_builder.py similarity index 97% rename from msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/transcripts/count/count_request_builder.py rename to msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/sessions/count/count_request_builder.py index dc0c5d4615e..5a31f7588e7 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/transcripts/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/sessions/count/count_request_builder.py @@ -23,7 +23,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/transcripts/$count{?%24search,%24filter}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/presenters/{virtualEventPresenter%2Did}/sessions/$count{?%24search,%24filter}", path_parameters) async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = None) -> Optional[int]: """ 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 new file mode 100644 index 00000000000..b69efe2445c --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/sessions/item/virtual_event_session_item_request_builder.py @@ -0,0 +1,116 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .........models.o_data_errors.o_data_error import ODataError + from .........models.virtual_event_session import VirtualEventSession + +class VirtualEventSessionItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the sessions property of the microsoft.graph.virtualEventPresenter entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new VirtualEventSessionItemRequestBuilder 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}/solutions/virtualEvents/events/{virtualEvent%2Did}/presenters/{virtualEventPresenter%2Did}/sessions/{virtualEventSession%2Did}{?%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[VirtualEventSessionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventSession]: + """ + Get sessions from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventSession] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.virtual_event_session import VirtualEventSession + + return await self.request_adapter.send_async(request_info, VirtualEventSession, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[VirtualEventSessionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get sessions from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> VirtualEventSessionItemRequestBuilder: + """ + 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: VirtualEventSessionItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return VirtualEventSessionItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class VirtualEventSessionItemRequestBuilderGetQueryParameters(): + """ + Get sessions from solutions + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class VirtualEventSessionItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[VirtualEventSessionItemRequestBuilder.VirtualEventSessionItemRequestBuilderGetQueryParameters] = None + + + 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 new file mode 100644 index 00000000000..f79500beaa0 --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/presenters/item/sessions/sessions_request_builder.py @@ -0,0 +1,171 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.virtual_event_session_collection_response import VirtualEventSessionCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.virtual_event_session_item_request_builder import VirtualEventSessionItemRequestBuilder + +class SessionsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the sessions property of the microsoft.graph.virtualEventPresenter entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new SessionsRequestBuilder 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}/solutions/virtualEvents/events/{virtualEvent%2Did}/presenters/{virtualEventPresenter%2Did}/sessions{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_virtual_event_session_id(self,virtual_event_session_id: str) -> VirtualEventSessionItemRequestBuilder: + """ + Provides operations to manage the sessions property of the microsoft.graph.virtualEventPresenter entity. + param virtual_event_session_id: The unique identifier of virtualEventSession + Returns: VirtualEventSessionItemRequestBuilder + """ + if not virtual_event_session_id: + raise TypeError("virtual_event_session_id cannot be null.") + from .item.virtual_event_session_item_request_builder import VirtualEventSessionItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["virtualEventSession%2Did"] = virtual_event_session_id + return VirtualEventSessionItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[SessionsRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventSessionCollectionResponse]: + """ + Get sessions from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventSessionCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.virtual_event_session_collection_response import VirtualEventSessionCollectionResponse + + return await self.request_adapter.send_async(request_info, VirtualEventSessionCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[SessionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get sessions from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> SessionsRequestBuilder: + """ + 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: SessionsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return SessionsRequestBuilder(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 SessionsRequestBuilderGetQueryParameters(): + """ + Get sessions from solutions + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class SessionsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[SessionsRequestBuilder.SessionsRequestBuilderGetQueryParameters] = None + + + 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 0314aa142fa..5a7e01dab85 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 @@ -12,6 +12,8 @@ if TYPE_CHECKING: from .......models.o_data_errors.o_data_error import ODataError from .......models.virtual_event_presenter import VirtualEventPresenter + from .profile_photo.profile_photo_request_builder import ProfilePhotoRequestBuilder + from .sessions.sessions_request_builder import SessionsRequestBuilder class VirtualEventPresenterItemRequestBuilder(BaseRequestBuilder): """ @@ -47,7 +49,7 @@ async def delete(self,request_configuration: Optional[VirtualEventPresenterItemR async def get(self,request_configuration: Optional[VirtualEventPresenterItemRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventPresenter]: """ - Presenters' information of the virtual event. + The virtual event presenters. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventPresenter] """ @@ -103,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[VirtualEv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[VirtualEventPresenterItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Presenters' information of the virtual event. + The virtual event presenters. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -120,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[VirtualEvent request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[VirtualEventPresenter] = None, request_configuration: Optional[VirtualEventPresenterItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +141,7 @@ def to_patch_request_information(self,body: Optional[VirtualEventPresenter] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -153,6 +155,24 @@ def with_url(self,raw_url: Optional[str] = None) -> VirtualEventPresenterItemReq raise TypeError("raw_url cannot be null.") return VirtualEventPresenterItemRequestBuilder(self.request_adapter, raw_url) + @property + def profile_photo(self) -> ProfilePhotoRequestBuilder: + """ + Provides operations to manage the media for the solutionsRoot entity. + """ + from .profile_photo.profile_photo_request_builder import ProfilePhotoRequestBuilder + + return ProfilePhotoRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def sessions(self) -> SessionsRequestBuilder: + """ + Provides operations to manage the sessions property of the microsoft.graph.virtualEventPresenter entity. + """ + from .sessions.sessions_request_builder import SessionsRequestBuilder + + return SessionsRequestBuilder(self.request_adapter, self.path_parameters) + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass @@ -166,7 +186,7 @@ class VirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class VirtualEventPresenterItemRequestBuilderGetQueryParameters(): """ - Presenters' information of the virtual event. + The virtual event presenters. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 c1da2f7af4e..ce276b02d60 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 @@ -45,7 +45,7 @@ def by_virtual_event_presenter_id(self,virtual_event_presenter_id: str) -> Virtu async def get(self,request_configuration: Optional[PresentersRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventPresenterCollectionResponse]: """ - Presenters' information of the virtual event. + The virtual event presenters. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventPresenterCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[VirtualEventPresenter] = None, request_config def to_get_request_information(self,request_configuration: Optional[PresentersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Presenters' information of the virtual event. + The virtual event presenters. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PresentersRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[VirtualEventPresenter] = None, request_configuration: Optional[PresentersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[VirtualEventPresenter] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PresentersRequestBuilderGetQueryParameters(): """ - Presenters' information of the virtual event. + The virtual event presenters. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/alternative_recording/alternative_recording_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/alternative_recording/alternative_recording_request_builder.py deleted file mode 100644 index 29cfb2ad960..00000000000 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/alternative_recording/alternative_recording_request_builder.py +++ /dev/null @@ -1,135 +0,0 @@ -from __future__ import annotations -from dataclasses import dataclass, field -from kiota_abstractions.base_request_builder import BaseRequestBuilder -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, Callable, Dict, List, Optional, TYPE_CHECKING, Union - -if TYPE_CHECKING: - from ........models.o_data_errors.o_data_error import ODataError - -class AlternativeRecordingRequestBuilder(BaseRequestBuilder): - """ - Provides operations to manage the media for the solutionsRoot entity. - """ - def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: - """ - Instantiates a new AlternativeRecordingRequestBuilder 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}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/alternativeRecording", path_parameters) - - async def get(self,request_configuration: Optional[AlternativeRecordingRequestBuilderGetRequestConfiguration] = None) -> bytes: - """ - Get alternativeRecording for the navigation property sessions from solutions - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: bytes - """ - request_info = self.to_get_request_information( - request_configuration - ) - from ........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - - async def put(self,body: bytes, request_configuration: Optional[AlternativeRecordingRequestBuilderPutRequestConfiguration] = None) -> bytes: - """ - Update alternativeRecording for the navigation property sessions in solutions - param body: Binary request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: bytes - """ - if not body: - raise TypeError("body cannot be null.") - request_info = self.to_put_request_information( - body, request_configuration - ) - from ........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - - def to_get_request_information(self,request_configuration: Optional[AlternativeRecordingRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: - """ - Get alternativeRecording for the navigation property sessions from solutions - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") - return request_info - - def to_put_request_information(self,body: bytes, request_configuration: Optional[AlternativeRecordingRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: - """ - Update alternativeRecording for the navigation property sessions in solutions - param body: Binary request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if not body: - raise TypeError("body cannot be null.") - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") - request_info.set_stream_content(body, "application/octet-stream") - return request_info - - def with_url(self,raw_url: Optional[str] = None) -> AlternativeRecordingRequestBuilder: - """ - 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: AlternativeRecordingRequestBuilder - """ - if not raw_url: - raise TypeError("raw_url cannot be null.") - return AlternativeRecordingRequestBuilder(self.request_adapter, raw_url) - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class AlternativeRecordingRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class AlternativeRecordingRequestBuilderPutRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - 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 15d6ea52ede..25e7d5c1130 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 @@ -18,7 +18,7 @@ class AttendanceReportsRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_meeting_attendance_report_id(self,meeting_attendance_report_id: str) -> MeetingAttendanceReportItemRequestBuilder: """ - Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. param meeting_attendance_report_id: The unique identifier of meetingAttendanceReport Returns: MeetingAttendanceReportItemRequestBuilder """ @@ -45,10 +45,9 @@ def by_meeting_attendance_report_id(self,meeting_attendance_report_id: str) -> M async def get(self,request_configuration: Optional[AttendanceReportsRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingAttendanceReportCollectionResponse]: """ - Get a list of meetingAttendanceReport objects for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingAttendanceReportCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/meetingattendancereport-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -91,7 +90,7 @@ async def post(self,body: Optional[MeetingAttendanceReport] = None, request_conf def to_get_request_information(self,request_configuration: Optional[AttendanceReportsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of meetingAttendanceReport objects for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AttendanceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MeetingAttendanceReport] = None, request_configuration: Optional[AttendanceReportsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +121,7 @@ def to_post_request_information(self,body: Optional[MeetingAttendanceReport] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AttendanceReportsRequestBuilderGetQueryParameters(): """ - Get a list of meetingAttendanceReport objects for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 f474c56d056..4afe7ada3f5 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 @@ -45,7 +45,7 @@ def by_attendance_record_id(self,attendance_record_id: str) -> AttendanceRecordI async def get(self,request_configuration: Optional[AttendanceRecordsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttendanceRecordCollectionResponse]: """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of attendanceRecord objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttendanceRecordCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/attendancerecord-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AttendanceRecord] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[AttendanceRecordsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of attendanceRecord objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AttendanceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AttendanceRecord] = None, request_configuration: Optional[AttendanceRecordsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AttendanceRecord] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AttendanceRecordsRequestBuilderGetQueryParameters(): """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of attendanceRecord objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 0883e61863a..5f7512bfcf9 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Attendanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttendanceRecordItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AttendanceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AttendanceRecord] = None, request_configuration: Optional[AttendanceRecordItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AttendanceRecord] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 339afe0ad77..d4b953b6c48 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 @@ -16,7 +16,7 @@ class MeetingAttendanceReportItemRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ @@ -48,10 +48,9 @@ async def delete(self,request_configuration: Optional[MeetingAttendanceReportIte async def get(self,request_configuration: Optional[MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingAttendanceReport]: """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingAttendanceReport] - Find more info here: https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -105,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[MeetingAt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[MeetingAtten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MeetingAttendanceReport] = None, request_configuration: Optional[MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +140,7 @@ def to_patch_request_information(self,body: Optional[MeetingAttendanceReport] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +176,7 @@ class MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration(BaseRe @dataclass class MeetingAttendanceReportItemRequestBuilderGetQueryParameters(): """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/broadcast_recording/broadcast_recording_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/broadcast_recording/broadcast_recording_request_builder.py deleted file mode 100644 index 981b9dbbe60..00000000000 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/broadcast_recording/broadcast_recording_request_builder.py +++ /dev/null @@ -1,135 +0,0 @@ -from __future__ import annotations -from dataclasses import dataclass, field -from kiota_abstractions.base_request_builder import BaseRequestBuilder -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, Callable, Dict, List, Optional, TYPE_CHECKING, Union - -if TYPE_CHECKING: - from ........models.o_data_errors.o_data_error import ODataError - -class BroadcastRecordingRequestBuilder(BaseRequestBuilder): - """ - Provides operations to manage the media for the solutionsRoot entity. - """ - def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: - """ - Instantiates a new BroadcastRecordingRequestBuilder 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}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/broadcastRecording", path_parameters) - - async def get(self,request_configuration: Optional[BroadcastRecordingRequestBuilderGetRequestConfiguration] = None) -> bytes: - """ - Get broadcastRecording for the navigation property sessions from solutions - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: bytes - """ - request_info = self.to_get_request_information( - request_configuration - ) - from ........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - - async def put(self,body: bytes, request_configuration: Optional[BroadcastRecordingRequestBuilderPutRequestConfiguration] = None) -> bytes: - """ - Update broadcastRecording for the navigation property sessions in solutions - param body: Binary request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: bytes - """ - if not body: - raise TypeError("body cannot be null.") - request_info = self.to_put_request_information( - body, request_configuration - ) - from ........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - - def to_get_request_information(self,request_configuration: Optional[BroadcastRecordingRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: - """ - Get broadcastRecording for the navigation property sessions from solutions - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") - return request_info - - def to_put_request_information(self,body: bytes, request_configuration: Optional[BroadcastRecordingRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: - """ - Update broadcastRecording for the navigation property sessions in solutions - param body: Binary request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if not body: - raise TypeError("body cannot be null.") - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") - request_info.set_stream_content(body, "application/octet-stream") - return request_info - - def with_url(self,raw_url: Optional[str] = None) -> BroadcastRecordingRequestBuilder: - """ - 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: BroadcastRecordingRequestBuilder - """ - if not raw_url: - raise TypeError("raw_url cannot be null.") - return BroadcastRecordingRequestBuilder(self.request_adapter, raw_url) - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class BroadcastRecordingRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class BroadcastRecordingRequestBuilderPutRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/recordings/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/presenters/count/count_request_builder.py similarity index 98% rename from msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/recordings/count/count_request_builder.py rename to msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/presenters/count/count_request_builder.py index 1531481e326..96757e26544 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/recordings/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/presenters/count/count_request_builder.py @@ -23,7 +23,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/recordings/$count{?%24search,%24filter}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/presenters/$count{?%24search,%24filter}", path_parameters) async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = None) -> Optional[int]: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/item/recording/recording_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/presenters/item/profile_photo/profile_photo_request_builder.py similarity index 79% rename from msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/item/recording/recording_request_builder.py rename to msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/presenters/item/profile_photo/profile_photo_request_builder.py index 2ff7df4aef0..9be4ca24e77 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/item/recording/recording_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/presenters/item/profile_photo/profile_photo_request_builder.py @@ -12,22 +12,22 @@ if TYPE_CHECKING: from ..........models.o_data_errors.o_data_error import ODataError -class RecordingRequestBuilder(BaseRequestBuilder): +class ProfilePhotoRequestBuilder(BaseRequestBuilder): """ Provides operations to manage the media for the solutionsRoot entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ - Instantiates a new RecordingRequestBuilder and sets the default values. + Instantiates a new ProfilePhotoRequestBuilder 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrations/{virtualEventRegistration%2Did}/sessions/{virtualEventSession%2Did}/recording", path_parameters) + super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/presenters/{virtualEventPresenter%2Did}/profilePhoto", path_parameters) - async def get(self,request_configuration: Optional[RecordingRequestBuilderGetRequestConfiguration] = None) -> bytes: + async def get(self,request_configuration: Optional[ProfilePhotoRequestBuilderGetRequestConfiguration] = None) -> bytes: """ - Get recording for the navigation property sessions from solutions + Get profilePhoto for the navigation property presenters from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -44,9 +44,9 @@ async def get(self,request_configuration: Optional[RecordingRequestBuilderGetReq raise Exception("Http core is null") return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - async def put(self,body: bytes, request_configuration: Optional[RecordingRequestBuilderPutRequestConfiguration] = None) -> bytes: + async def put(self,body: bytes, request_configuration: Optional[ProfilePhotoRequestBuilderPutRequestConfiguration] = None) -> bytes: """ - Update recording for the navigation property sessions in solutions + Update profilePhoto for the navigation property presenters in solutions param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes @@ -66,9 +66,9 @@ async def put(self,body: bytes, request_configuration: Optional[RecordingRequest raise Exception("Http core is null") return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - def to_get_request_information(self,request_configuration: Optional[RecordingRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + def to_get_request_information(self,request_configuration: Optional[ProfilePhotoRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get recording for the navigation property sessions from solutions + Get profilePhoto for the navigation property presenters from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,12 +79,12 @@ def to_get_request_information(self,request_configuration: Optional[RecordingReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info - def to_put_request_information(self,body: bytes, request_configuration: Optional[RecordingRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: + def to_put_request_information(self,body: bytes, request_configuration: Optional[ProfilePhotoRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: """ - Update recording for the navigation property sessions in solutions + Update profilePhoto for the navigation property presenters in solutions param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -98,24 +98,24 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info - def with_url(self,raw_url: Optional[str] = None) -> RecordingRequestBuilder: + def with_url(self,raw_url: Optional[str] = None) -> ProfilePhotoRequestBuilder: """ 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: RecordingRequestBuilder + Returns: ProfilePhotoRequestBuilder """ if not raw_url: raise TypeError("raw_url cannot be null.") - return RecordingRequestBuilder(self.request_adapter, raw_url) + return ProfilePhotoRequestBuilder(self.request_adapter, raw_url) from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class RecordingRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + class ProfilePhotoRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ @@ -125,7 +125,7 @@ class RecordingRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class RecordingRequestBuilderPutRequestConfiguration(BaseRequestConfiguration): + class ProfilePhotoRequestBuilderPutRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ 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 new file mode 100644 index 00000000000..5dd47d0a6d5 --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/presenters/item/virtual_event_presenter_item_request_builder.py @@ -0,0 +1,126 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .........models.o_data_errors.o_data_error import ODataError + from .........models.virtual_event_presenter import VirtualEventPresenter + from .profile_photo.profile_photo_request_builder import ProfilePhotoRequestBuilder + +class VirtualEventPresenterItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the presenters property of the microsoft.graph.virtualEventSession entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new VirtualEventPresenterItemRequestBuilder 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}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/presenters/{virtualEventPresenter%2Did}{?%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[VirtualEventPresenterItemRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventPresenter]: + """ + Get presenters from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventPresenter] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.virtual_event_presenter import VirtualEventPresenter + + return await self.request_adapter.send_async(request_info, VirtualEventPresenter, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[VirtualEventPresenterItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get presenters from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> VirtualEventPresenterItemRequestBuilder: + """ + 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: VirtualEventPresenterItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return VirtualEventPresenterItemRequestBuilder(self.request_adapter, raw_url) + + @property + def profile_photo(self) -> ProfilePhotoRequestBuilder: + """ + Provides operations to manage the media for the solutionsRoot entity. + """ + from .profile_photo.profile_photo_request_builder import ProfilePhotoRequestBuilder + + return ProfilePhotoRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class VirtualEventPresenterItemRequestBuilderGetQueryParameters(): + """ + Get presenters from solutions + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class VirtualEventPresenterItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[VirtualEventPresenterItemRequestBuilder.VirtualEventPresenterItemRequestBuilderGetQueryParameters] = None + + + 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 new file mode 100644 index 00000000000..d401c4ae4d3 --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/presenters/presenters_request_builder.py @@ -0,0 +1,171 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.virtual_event_presenter_collection_response import VirtualEventPresenterCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.virtual_event_presenter_item_request_builder import VirtualEventPresenterItemRequestBuilder + +class PresentersRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the presenters property of the microsoft.graph.virtualEventSession entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new PresentersRequestBuilder 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}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/presenters{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_virtual_event_presenter_id(self,virtual_event_presenter_id: str) -> VirtualEventPresenterItemRequestBuilder: + """ + Provides operations to manage the presenters property of the microsoft.graph.virtualEventSession entity. + param virtual_event_presenter_id: The unique identifier of virtualEventPresenter + Returns: VirtualEventPresenterItemRequestBuilder + """ + if not virtual_event_presenter_id: + raise TypeError("virtual_event_presenter_id cannot be null.") + from .item.virtual_event_presenter_item_request_builder import VirtualEventPresenterItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["virtualEventPresenter%2Did"] = virtual_event_presenter_id + return VirtualEventPresenterItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[PresentersRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventPresenterCollectionResponse]: + """ + Get presenters from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventPresenterCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.virtual_event_presenter_collection_response import VirtualEventPresenterCollectionResponse + + return await self.request_adapter.send_async(request_info, VirtualEventPresenterCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[PresentersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get presenters from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> PresentersRequestBuilder: + """ + 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: PresentersRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return PresentersRequestBuilder(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 PresentersRequestBuilderGetQueryParameters(): + """ + Get presenters from solutions + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class PresentersRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[PresentersRequestBuilder.PresentersRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py deleted file mode 100644 index 64fe5c92ca5..00000000000 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py +++ /dev/null @@ -1,218 +0,0 @@ -from __future__ import annotations -from dataclasses import dataclass, field -from kiota_abstractions.base_request_builder import BaseRequestBuilder -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, Callable, Dict, List, Optional, TYPE_CHECKING, Union - -if TYPE_CHECKING: - from ..........models.meeting_registration_question import MeetingRegistrationQuestion - from ..........models.o_data_errors.o_data_error import ODataError - -class MeetingRegistrationQuestionItemRequestBuilder(BaseRequestBuilder): - """ - Provides operations to manage the customQuestions property of the microsoft.graph.meetingRegistration entity. - """ - def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: - """ - Instantiates a new MeetingRegistrationQuestionItemRequestBuilder 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}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/registration/customQuestions/{meetingRegistrationQuestion%2Did}{?%24select,%24expand}", path_parameters) - - async def delete(self,request_configuration: Optional[MeetingRegistrationQuestionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: - """ - Delete a custom registration question from a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. - 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/meetingregistrationquestion-delete?view=graph-rest-1.0 - """ - request_info = self.to_delete_request_information( - request_configuration - ) - from ..........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": 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[MeetingRegistrationQuestionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingRegistrationQuestion]: - """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[MeetingRegistrationQuestion] - Find more info here: https://learn.microsoft.com/graph/api/meetingregistrationquestion-get?view=graph-rest-1.0 - """ - request_info = self.to_get_request_information( - request_configuration - ) - from ..........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from ..........models.meeting_registration_question import MeetingRegistrationQuestion - - return await self.request_adapter.send_async(request_info, MeetingRegistrationQuestion, error_mapping) - - async def patch(self,body: Optional[MeetingRegistrationQuestion] = None, request_configuration: Optional[MeetingRegistrationQuestionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[MeetingRegistrationQuestion]: - """ - Update a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[MeetingRegistrationQuestion] - Find more info here: https://learn.microsoft.com/graph/api/meetingregistrationquestion-update?view=graph-rest-1.0 - """ - if not body: - 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, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from ..........models.meeting_registration_question import MeetingRegistrationQuestion - - return await self.request_adapter.send_async(request_info, MeetingRegistrationQuestion, error_mapping) - - def to_delete_request_information(self,request_configuration: Optional[MeetingRegistrationQuestionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: - """ - Delete a custom registration question from a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") - return request_info - - def to_get_request_information(self,request_configuration: Optional[MeetingRegistrationQuestionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: - """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") - return request_info - - def to_patch_request_information(self,body: Optional[MeetingRegistrationQuestion] = None, request_configuration: Optional[MeetingRegistrationQuestionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: - """ - Update a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if not body: - raise TypeError("body cannot be null.") - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) - return request_info - - def with_url(self,raw_url: Optional[str] = None) -> MeetingRegistrationQuestionItemRequestBuilder: - """ - 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: MeetingRegistrationQuestionItemRequestBuilder - """ - if not raw_url: - raise TypeError("raw_url cannot be null.") - return MeetingRegistrationQuestionItemRequestBuilder(self.request_adapter, raw_url) - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class MeetingRegistrationQuestionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - @dataclass - class MeetingRegistrationQuestionItemRequestBuilderGetQueryParameters(): - """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. - """ - def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: - 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 - - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class MeetingRegistrationQuestionItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - # Request query parameters - query_parameters: Optional[MeetingRegistrationQuestionItemRequestBuilder.MeetingRegistrationQuestionItemRequestBuilderGetQueryParameters] = None - - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class MeetingRegistrationQuestionItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - 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 775dc686c9b..f5a398ba2ce 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[VirtualEventRegistrationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventRegistration]: """ - Registration records of this virtual event session. + Get registrations from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistration] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[VirtualEventRegistrationItemR def to_get_request_information(self,request_configuration: Optional[VirtualEventRegistrationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Registration records of this virtual event session. + Get registrations from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[VirtualEvent request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> VirtualEventRegistrationItemRequestBuilder: @@ -77,7 +77,7 @@ def with_url(self,raw_url: Optional[str] = None) -> VirtualEventRegistrationItem @dataclass class VirtualEventRegistrationItemRequestBuilderGetQueryParameters(): """ - Registration records of this virtual event session. + Get registrations from solutions """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 c4eea1eedba..a35b97e213a 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 @@ -44,7 +44,7 @@ def by_virtual_event_registration_id(self,virtual_event_registration_id: str) -> async def get(self,request_configuration: Optional[RegistrationsRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventRegistrationCollectionResponse]: """ - Registration records of this virtual event session. + Get registrations from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistrationCollectionResponse] """ @@ -65,7 +65,7 @@ async def get(self,request_configuration: Optional[RegistrationsRequestBuilderGe def to_get_request_information(self,request_configuration: Optional[RegistrationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Registration records of this virtual event session. + Get registrations from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[Registration request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RegistrationsRequestBuilder: @@ -102,7 +102,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RegistrationsRequestBuilderGetQueryParameters(): """ - Registration records of this virtual event session. + Get registrations from solutions """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/transcripts/item/call_transcript_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/transcripts/item/call_transcript_item_request_builder.py deleted file mode 100644 index cd7de2f16b5..00000000000 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/transcripts/item/call_transcript_item_request_builder.py +++ /dev/null @@ -1,236 +0,0 @@ -from __future__ import annotations -from dataclasses import dataclass, field -from kiota_abstractions.base_request_builder import BaseRequestBuilder -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, Callable, Dict, List, Optional, TYPE_CHECKING, Union - -if TYPE_CHECKING: - from .........models.call_transcript import CallTranscript - from .........models.o_data_errors.o_data_error import ODataError - from .content.content_request_builder import ContentRequestBuilder - from .metadata_content.metadata_content_request_builder import MetadataContentRequestBuilder - -class CallTranscriptItemRequestBuilder(BaseRequestBuilder): - """ - Provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. - """ - def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: - """ - Instantiates a new CallTranscriptItemRequestBuilder 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}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/transcripts/{callTranscript%2Did}{?%24select,%24expand}", path_parameters) - - async def delete(self,request_configuration: Optional[CallTranscriptItemRequestBuilderDeleteRequestConfiguration] = None) -> None: - """ - Delete navigation property transcripts for solutions - 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, ParsableFactory] = { - "4XX": ODataError, - "5XX": 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[CallTranscriptItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CallTranscript]: - """ - Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. This API is available in the following national cloud deployments. - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[CallTranscript] - Find more info here: https://learn.microsoft.com/graph/api/calltranscript-get?view=graph-rest-1.0 - """ - request_info = self.to_get_request_information( - request_configuration - ) - from .........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from .........models.call_transcript import CallTranscript - - return await self.request_adapter.send_async(request_info, CallTranscript, error_mapping) - - async def patch(self,body: Optional[CallTranscript] = None, request_configuration: Optional[CallTranscriptItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[CallTranscript]: - """ - Update the navigation property transcripts in solutions - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[CallTranscript] - """ - if not body: - 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, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from .........models.call_transcript import CallTranscript - - return await self.request_adapter.send_async(request_info, CallTranscript, error_mapping) - - def to_delete_request_information(self,request_configuration: Optional[CallTranscriptItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: - """ - Delete navigation property transcripts for solutions - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") - return request_info - - def to_get_request_information(self,request_configuration: Optional[CallTranscriptItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: - """ - Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. This API is available in the following national cloud deployments. - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") - return request_info - - def to_patch_request_information(self,body: Optional[CallTranscript] = None, request_configuration: Optional[CallTranscriptItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: - """ - Update the navigation property transcripts in solutions - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if not body: - raise TypeError("body cannot be null.") - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) - return request_info - - def with_url(self,raw_url: Optional[str] = None) -> CallTranscriptItemRequestBuilder: - """ - 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: CallTranscriptItemRequestBuilder - """ - if not raw_url: - raise TypeError("raw_url cannot be null.") - return CallTranscriptItemRequestBuilder(self.request_adapter, raw_url) - - @property - def content(self) -> ContentRequestBuilder: - """ - Provides operations to manage the media for the solutionsRoot entity. - """ - from .content.content_request_builder import ContentRequestBuilder - - return ContentRequestBuilder(self.request_adapter, self.path_parameters) - - @property - def metadata_content(self) -> MetadataContentRequestBuilder: - """ - Provides operations to manage the media for the solutionsRoot entity. - """ - from .metadata_content.metadata_content_request_builder import MetadataContentRequestBuilder - - return MetadataContentRequestBuilder(self.request_adapter, self.path_parameters) - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class CallTranscriptItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - @dataclass - class CallTranscriptItemRequestBuilderGetQueryParameters(): - """ - Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. This API is available in the following national cloud deployments. - """ - def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: - 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 - - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class CallTranscriptItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - # Request query parameters - query_parameters: Optional[CallTranscriptItemRequestBuilder.CallTranscriptItemRequestBuilderGetQueryParameters] = None - - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class CallTranscriptItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/transcripts/item/content/content_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/transcripts/item/content/content_request_builder.py deleted file mode 100644 index 7cada07d160..00000000000 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/transcripts/item/content/content_request_builder.py +++ /dev/null @@ -1,139 +0,0 @@ -from __future__ import annotations -from dataclasses import dataclass, field -from kiota_abstractions.base_request_builder import BaseRequestBuilder -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, Callable, Dict, List, Optional, TYPE_CHECKING, Union - -if TYPE_CHECKING: - from ..........models.call_transcript import CallTranscript - from ..........models.o_data_errors.o_data_error import ODataError - -class ContentRequestBuilder(BaseRequestBuilder): - """ - Provides operations to manage the media for the solutionsRoot entity. - """ - def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: - """ - Instantiates a new ContentRequestBuilder 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}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/transcripts/{callTranscript%2Did}/content", path_parameters) - - async def get(self,request_configuration: Optional[ContentRequestBuilderGetRequestConfiguration] = None) -> bytes: - """ - The content of the transcript. Read-only. - 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/onlinemeeting-list-transcripts?view=graph-rest-1.0 - """ - request_info = self.to_get_request_information( - request_configuration - ) - from ..........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - - async def put(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> Optional[CallTranscript]: - """ - The content of the transcript. Read-only. - param body: Binary request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[CallTranscript] - """ - if not body: - raise TypeError("body cannot be null.") - request_info = self.to_put_request_information( - body, request_configuration - ) - from ..........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from ..........models.call_transcript import CallTranscript - - return await self.request_adapter.send_async(request_info, CallTranscript, error_mapping) - - def to_get_request_information(self,request_configuration: Optional[ContentRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: - """ - The content of the transcript. Read-only. - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") - return request_info - - def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: - """ - The content of the transcript. Read-only. - param body: Binary request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if not body: - raise TypeError("body cannot be null.") - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") - request_info.set_stream_content(body, "application/octet-stream") - return request_info - - def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: - """ - 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: ContentRequestBuilder - """ - if not raw_url: - raise TypeError("raw_url cannot be null.") - return ContentRequestBuilder(self.request_adapter, raw_url) - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class ContentRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class ContentRequestBuilderPutRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/transcripts/item/metadata_content/metadata_content_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/transcripts/item/metadata_content/metadata_content_request_builder.py deleted file mode 100644 index 3d02da362c2..00000000000 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/transcripts/item/metadata_content/metadata_content_request_builder.py +++ /dev/null @@ -1,136 +0,0 @@ -from __future__ import annotations -from dataclasses import dataclass, field -from kiota_abstractions.base_request_builder import BaseRequestBuilder -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, Callable, Dict, List, Optional, TYPE_CHECKING, Union - -if TYPE_CHECKING: - from ..........models.o_data_errors.o_data_error import ODataError - -class MetadataContentRequestBuilder(BaseRequestBuilder): - """ - Provides operations to manage the media for the solutionsRoot entity. - """ - def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: - """ - Instantiates a new MetadataContentRequestBuilder 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}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/transcripts/{callTranscript%2Did}/metadataContent", path_parameters) - - async def get(self,request_configuration: Optional[MetadataContentRequestBuilderGetRequestConfiguration] = None) -> bytes: - """ - The time-aligned metadata of the utterances in the transcript. Read-only. - 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/onlinemeeting-list-transcripts?view=graph-rest-1.0 - """ - request_info = self.to_get_request_information( - request_configuration - ) - from ..........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - - async def put(self,body: bytes, request_configuration: Optional[MetadataContentRequestBuilderPutRequestConfiguration] = None) -> bytes: - """ - The time-aligned metadata of the utterances in the transcript. Read-only. - param body: Binary request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: bytes - """ - if not body: - raise TypeError("body cannot be null.") - request_info = self.to_put_request_information( - body, request_configuration - ) - from ..........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - - def to_get_request_information(self,request_configuration: Optional[MetadataContentRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: - """ - The time-aligned metadata of the utterances in the transcript. Read-only. - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") - return request_info - - def to_put_request_information(self,body: bytes, request_configuration: Optional[MetadataContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: - """ - The time-aligned metadata of the utterances in the transcript. Read-only. - param body: Binary request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if not body: - raise TypeError("body cannot be null.") - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") - request_info.set_stream_content(body, "application/octet-stream") - return request_info - - def with_url(self,raw_url: Optional[str] = None) -> MetadataContentRequestBuilder: - """ - 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: MetadataContentRequestBuilder - """ - if not raw_url: - raise TypeError("raw_url cannot be null.") - return MetadataContentRequestBuilder(self.request_adapter, raw_url) - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class MetadataContentRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class MetadataContentRequestBuilderPutRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - 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 31911868649..858faaa688d 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 @@ -12,16 +12,9 @@ if TYPE_CHECKING: from .......models.o_data_errors.o_data_error import ODataError from .......models.virtual_event_session import VirtualEventSession - from .alternative_recording.alternative_recording_request_builder import AlternativeRecordingRequestBuilder from .attendance_reports.attendance_reports_request_builder import AttendanceReportsRequestBuilder - from .attendee_report.attendee_report_request_builder import AttendeeReportRequestBuilder - from .broadcast_recording.broadcast_recording_request_builder import BroadcastRecordingRequestBuilder - from .meeting_attendance_report.meeting_attendance_report_request_builder import MeetingAttendanceReportRequestBuilder - from .recording.recording_request_builder import RecordingRequestBuilder - from .recordings.recordings_request_builder import RecordingsRequestBuilder - from .registration.registration_request_builder import RegistrationRequestBuilder + from .presenters.presenters_request_builder import PresentersRequestBuilder from .registrations.registrations_request_builder import RegistrationsRequestBuilder - from .transcripts.transcripts_request_builder import TranscriptsRequestBuilder class VirtualEventSessionItemRequestBuilder(BaseRequestBuilder): """ @@ -57,7 +50,7 @@ async def delete(self,request_configuration: Optional[VirtualEventSessionItemReq async def get(self,request_configuration: Optional[VirtualEventSessionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventSession]: """ - Sessions of the virtual event. + Sessions for the virtual event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSession] """ @@ -113,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[VirtualEv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[VirtualEventSessionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Sessions of the virtual event. + Sessions for the virtual event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -130,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[VirtualEvent request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[VirtualEventSession] = None, request_configuration: Optional[VirtualEventSessionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -149,7 +142,7 @@ def to_patch_request_information(self,body: Optional[VirtualEventSession] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -163,77 +156,23 @@ def with_url(self,raw_url: Optional[str] = None) -> VirtualEventSessionItemReque raise TypeError("raw_url cannot be null.") return VirtualEventSessionItemRequestBuilder(self.request_adapter, raw_url) - @property - def alternative_recording(self) -> AlternativeRecordingRequestBuilder: - """ - Provides operations to manage the media for the solutionsRoot entity. - """ - from .alternative_recording.alternative_recording_request_builder import AlternativeRecordingRequestBuilder - - return AlternativeRecordingRequestBuilder(self.request_adapter, self.path_parameters) - @property def attendance_reports(self) -> AttendanceReportsRequestBuilder: """ - Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. """ from .attendance_reports.attendance_reports_request_builder import AttendanceReportsRequestBuilder return AttendanceReportsRequestBuilder(self.request_adapter, self.path_parameters) @property - def attendee_report(self) -> AttendeeReportRequestBuilder: - """ - Provides operations to manage the media for the solutionsRoot entity. - """ - from .attendee_report.attendee_report_request_builder import AttendeeReportRequestBuilder - - return AttendeeReportRequestBuilder(self.request_adapter, self.path_parameters) - - @property - def broadcast_recording(self) -> BroadcastRecordingRequestBuilder: + def presenters(self) -> PresentersRequestBuilder: """ - Provides operations to manage the media for the solutionsRoot entity. + Provides operations to manage the presenters property of the microsoft.graph.virtualEventSession entity. """ - from .broadcast_recording.broadcast_recording_request_builder import BroadcastRecordingRequestBuilder + from .presenters.presenters_request_builder import PresentersRequestBuilder - return BroadcastRecordingRequestBuilder(self.request_adapter, self.path_parameters) - - @property - def meeting_attendance_report(self) -> MeetingAttendanceReportRequestBuilder: - """ - Provides operations to manage the meetingAttendanceReport property of the microsoft.graph.onlineMeeting entity. - """ - from .meeting_attendance_report.meeting_attendance_report_request_builder import MeetingAttendanceReportRequestBuilder - - return MeetingAttendanceReportRequestBuilder(self.request_adapter, self.path_parameters) - - @property - def recording(self) -> RecordingRequestBuilder: - """ - Provides operations to manage the media for the solutionsRoot entity. - """ - from .recording.recording_request_builder import RecordingRequestBuilder - - return RecordingRequestBuilder(self.request_adapter, self.path_parameters) - - @property - def recordings(self) -> RecordingsRequestBuilder: - """ - Provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. - """ - from .recordings.recordings_request_builder import RecordingsRequestBuilder - - return RecordingsRequestBuilder(self.request_adapter, self.path_parameters) - - @property - def registration(self) -> RegistrationRequestBuilder: - """ - Provides operations to manage the registration property of the microsoft.graph.onlineMeeting entity. - """ - from .registration.registration_request_builder import RegistrationRequestBuilder - - return RegistrationRequestBuilder(self.request_adapter, self.path_parameters) + return PresentersRequestBuilder(self.request_adapter, self.path_parameters) @property def registrations(self) -> RegistrationsRequestBuilder: @@ -244,15 +183,6 @@ def registrations(self) -> RegistrationsRequestBuilder: return RegistrationsRequestBuilder(self.request_adapter, self.path_parameters) - @property - def transcripts(self) -> TranscriptsRequestBuilder: - """ - Provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. - """ - from .transcripts.transcripts_request_builder import TranscriptsRequestBuilder - - return TranscriptsRequestBuilder(self.request_adapter, self.path_parameters) - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass @@ -266,7 +196,7 @@ class VirtualEventSessionItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class VirtualEventSessionItemRequestBuilderGetQueryParameters(): """ - Sessions of the virtual event. + Sessions for the virtual event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 ba30a951ffb..e6a9baff72f 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 @@ -45,7 +45,7 @@ def by_virtual_event_session_id(self,virtual_event_session_id: str) -> VirtualEv async def get(self,request_configuration: Optional[SessionsRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventSessionCollectionResponse]: """ - Sessions of the virtual event. + Sessions for the virtual event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSessionCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[VirtualEventSession] = None, request_configur def to_get_request_information(self,request_configuration: Optional[SessionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Sessions of the virtual event. + Sessions for the virtual event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SessionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[VirtualEventSession] = None, request_configuration: Optional[SessionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[VirtualEventSession] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SessionsRequestBuilderGetQueryParameters(): """ - Sessions of the virtual event. + Sessions for the virtual event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 3876b097bed..dfa219b2f2a 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 @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[VirtualEv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[VirtualEventItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[VirtualEvent request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[VirtualEvent] = None, request_configuration: Optional[VirtualEventItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[VirtualEvent] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/solutions/virtual_events/events/publish/publish_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/events/publish/publish_request_builder.py new file mode 100644 index 00000000000..51e7a4370c9 --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/events/publish/publish_request_builder.py @@ -0,0 +1,83 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + +class PublishRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the publish method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new PublishRequestBuilder 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}/solutions/virtualEvents/events/publish", path_parameters) + + async def post(self,request_configuration: Optional[PublishRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Invoke action publish + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[PublishRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action publish + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> PublishRequestBuilder: + """ + 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: PublishRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return PublishRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class PublishRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + 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 new file mode 100644 index 00000000000..598418075d4 --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/solutions/virtualEvents/townhalls/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + 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_get_response.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_get_response.py new file mode 100644 index 00000000000..9d4c1466719 --- /dev/null +++ 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_get_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.virtual_event_townhall import VirtualEventTownhall + +from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class GetByUserIdAndRoleWithUserIdWithRoleGetResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[VirtualEventTownhall]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> GetByUserIdAndRoleWithUserIdWithRoleGetResponse: + """ + 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: GetByUserIdAndRoleWithUserIdWithRoleGetResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return GetByUserIdAndRoleWithUserIdWithRoleGetResponse() + + 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.virtual_event_townhall import VirtualEventTownhall + + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.virtual_event_townhall import VirtualEventTownhall + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(VirtualEventTownhall)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + 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 new file mode 100644 index 00000000000..d0084df3239 --- /dev/null +++ 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 @@ -0,0 +1,146 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .get_by_user_id_and_role_with_user_id_with_role_get_response import GetByUserIdAndRoleWithUserIdWithRoleGetResponse + +class GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getByUserIdAndRole method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None, role: Optional[str] = None, user_id: Optional[str] = None) -> None: + """ + Instantiates a new GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder 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. + param role: Usage: role='{role}' + param user_id: Usage: userId='{userId}' + Returns: None + """ + if isinstance(path_parameters, dict): + path_parameters['role'] = str(role) + path_parameters['userId'] = str(user_id) + super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/townhalls/getByUserIdAndRole(userId='{userId}',role='{role}'){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}", path_parameters) + + async def get(self,request_configuration: Optional[GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetRequestConfiguration] = None) -> Optional[GetByUserIdAndRoleWithUserIdWithRoleGetResponse]: + """ + Invoke function getByUserIdAndRole + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[GetByUserIdAndRoleWithUserIdWithRoleGetResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .get_by_user_id_and_role_with_user_id_with_role_get_response import GetByUserIdAndRoleWithUserIdWithRoleGetResponse + + return await self.request_adapter.send_async(request_info, GetByUserIdAndRoleWithUserIdWithRoleGetResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Invoke function getByUserIdAndRole + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder: + """ + 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: GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters(): + """ + Invoke function getByUserIdAndRole + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + 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 + + # 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder.GetByUserIdAndRoleWithUserIdWithRoleRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/get_by_user_role_with_role/get_by_user_role_with_role_get_response.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/get_by_user_role_with_role/get_by_user_role_with_role_get_response.py new file mode 100644 index 00000000000..37d62d7a3e0 --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/get_by_user_role_with_role/get_by_user_role_with_role_get_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.virtual_event_townhall import VirtualEventTownhall + +from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class GetByUserRoleWithRoleGetResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[VirtualEventTownhall]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> GetByUserRoleWithRoleGetResponse: + """ + 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: GetByUserRoleWithRoleGetResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return GetByUserRoleWithRoleGetResponse() + + 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.virtual_event_townhall import VirtualEventTownhall + + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.virtual_event_townhall import VirtualEventTownhall + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(VirtualEventTownhall)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + 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 new file mode 100644 index 00000000000..6ee5fab892c --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/get_by_user_role_with_role/get_by_user_role_with_role_request_builder.py @@ -0,0 +1,144 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .get_by_user_role_with_role_get_response import GetByUserRoleWithRoleGetResponse + +class GetByUserRoleWithRoleRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getByUserRole method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None, role: Optional[str] = None) -> None: + """ + Instantiates a new GetByUserRoleWithRoleRequestBuilder 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. + param role: Usage: role='{role}' + Returns: None + """ + if isinstance(path_parameters, dict): + path_parameters['role'] = str(role) + super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/townhalls/getByUserRole(role='{role}'){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}", path_parameters) + + async def get(self,request_configuration: Optional[GetByUserRoleWithRoleRequestBuilderGetRequestConfiguration] = None) -> Optional[GetByUserRoleWithRoleGetResponse]: + """ + Invoke function getByUserRole + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[GetByUserRoleWithRoleGetResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .get_by_user_role_with_role_get_response import GetByUserRoleWithRoleGetResponse + + return await self.request_adapter.send_async(request_info, GetByUserRoleWithRoleGetResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[GetByUserRoleWithRoleRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Invoke function getByUserRole + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> GetByUserRoleWithRoleRequestBuilder: + """ + 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: GetByUserRoleWithRoleRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GetByUserRoleWithRoleRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class GetByUserRoleWithRoleRequestBuilderGetQueryParameters(): + """ + Invoke function getByUserRole + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + 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 + + # 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GetByUserRoleWithRoleRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[GetByUserRoleWithRoleRequestBuilder.GetByUserRoleWithRoleRequestBuilderGetQueryParameters] = None + + + 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 new file mode 100644 index 00000000000..c1a06d197b8 --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/presenters/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendee_report/attendee_report_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/profile_photo/profile_photo_request_builder.py similarity index 79% rename from msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendee_report/attendee_report_request_builder.py rename to msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/profile_photo/profile_photo_request_builder.py index b20195ca9c7..3df179a3156 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/attendee_report/attendee_report_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/profile_photo/profile_photo_request_builder.py @@ -12,22 +12,22 @@ if TYPE_CHECKING: from ........models.o_data_errors.o_data_error import ODataError -class AttendeeReportRequestBuilder(BaseRequestBuilder): +class ProfilePhotoRequestBuilder(BaseRequestBuilder): """ Provides operations to manage the media for the solutionsRoot entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ - Instantiates a new AttendeeReportRequestBuilder and sets the default values. + Instantiates a new ProfilePhotoRequestBuilder 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}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/attendeeReport", path_parameters) + super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/presenters/{virtualEventPresenter%2Did}/profilePhoto", path_parameters) - async def get(self,request_configuration: Optional[AttendeeReportRequestBuilderGetRequestConfiguration] = None) -> bytes: + async def get(self,request_configuration: Optional[ProfilePhotoRequestBuilderGetRequestConfiguration] = None) -> bytes: """ - Get attendeeReport for the navigation property sessions from solutions + Get profilePhoto for the navigation property presenters from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -44,9 +44,9 @@ async def get(self,request_configuration: Optional[AttendeeReportRequestBuilderG raise Exception("Http core is null") return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - async def put(self,body: bytes, request_configuration: Optional[AttendeeReportRequestBuilderPutRequestConfiguration] = None) -> bytes: + async def put(self,body: bytes, request_configuration: Optional[ProfilePhotoRequestBuilderPutRequestConfiguration] = None) -> bytes: """ - Update attendeeReport for the navigation property sessions in solutions + Update profilePhoto for the navigation property presenters in solutions param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes @@ -66,9 +66,9 @@ async def put(self,body: bytes, request_configuration: Optional[AttendeeReportRe raise Exception("Http core is null") return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - def to_get_request_information(self,request_configuration: Optional[AttendeeReportRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + def to_get_request_information(self,request_configuration: Optional[ProfilePhotoRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get attendeeReport for the navigation property sessions from solutions + Get profilePhoto for the navigation property presenters from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,12 +79,12 @@ def to_get_request_information(self,request_configuration: Optional[AttendeeRepo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info - def to_put_request_information(self,body: bytes, request_configuration: Optional[AttendeeReportRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: + def to_put_request_information(self,body: bytes, request_configuration: Optional[ProfilePhotoRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: """ - Update attendeeReport for the navigation property sessions in solutions + Update profilePhoto for the navigation property presenters in solutions param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -98,24 +98,24 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info - def with_url(self,raw_url: Optional[str] = None) -> AttendeeReportRequestBuilder: + def with_url(self,raw_url: Optional[str] = None) -> ProfilePhotoRequestBuilder: """ 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: AttendeeReportRequestBuilder + Returns: ProfilePhotoRequestBuilder """ if not raw_url: raise TypeError("raw_url cannot be null.") - return AttendeeReportRequestBuilder(self.request_adapter, raw_url) + return ProfilePhotoRequestBuilder(self.request_adapter, raw_url) from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class AttendeeReportRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + class ProfilePhotoRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ @@ -125,7 +125,7 @@ class AttendeeReportRequestBuilderGetRequestConfiguration(BaseRequestConfigurati from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class AttendeeReportRequestBuilderPutRequestConfiguration(BaseRequestConfiguration): + class ProfilePhotoRequestBuilderPutRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ 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 new file mode 100644 index 00000000000..443905074fd --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/sessions/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/presenters/{virtualEventPresenter%2Did}/sessions/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + 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 new file mode 100644 index 00000000000..78ebfb3dab3 --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/sessions/item/virtual_event_session_item_request_builder.py @@ -0,0 +1,116 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .........models.o_data_errors.o_data_error import ODataError + from .........models.virtual_event_session import VirtualEventSession + +class VirtualEventSessionItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the sessions property of the microsoft.graph.virtualEventPresenter entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new VirtualEventSessionItemRequestBuilder 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}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/presenters/{virtualEventPresenter%2Did}/sessions/{virtualEventSession%2Did}{?%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[VirtualEventSessionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventSession]: + """ + Get sessions from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventSession] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.virtual_event_session import VirtualEventSession + + return await self.request_adapter.send_async(request_info, VirtualEventSession, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[VirtualEventSessionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get sessions from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> VirtualEventSessionItemRequestBuilder: + """ + 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: VirtualEventSessionItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return VirtualEventSessionItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class VirtualEventSessionItemRequestBuilderGetQueryParameters(): + """ + Get sessions from solutions + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class VirtualEventSessionItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[VirtualEventSessionItemRequestBuilder.VirtualEventSessionItemRequestBuilderGetQueryParameters] = None + + + 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 new file mode 100644 index 00000000000..6cac2cef9a1 --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/sessions/sessions_request_builder.py @@ -0,0 +1,171 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.virtual_event_session_collection_response import VirtualEventSessionCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.virtual_event_session_item_request_builder import VirtualEventSessionItemRequestBuilder + +class SessionsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the sessions property of the microsoft.graph.virtualEventPresenter entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new SessionsRequestBuilder 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}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/presenters/{virtualEventPresenter%2Did}/sessions{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_virtual_event_session_id(self,virtual_event_session_id: str) -> VirtualEventSessionItemRequestBuilder: + """ + Provides operations to manage the sessions property of the microsoft.graph.virtualEventPresenter entity. + param virtual_event_session_id: The unique identifier of virtualEventSession + Returns: VirtualEventSessionItemRequestBuilder + """ + if not virtual_event_session_id: + raise TypeError("virtual_event_session_id cannot be null.") + from .item.virtual_event_session_item_request_builder import VirtualEventSessionItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["virtualEventSession%2Did"] = virtual_event_session_id + return VirtualEventSessionItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[SessionsRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventSessionCollectionResponse]: + """ + Get sessions from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventSessionCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.virtual_event_session_collection_response import VirtualEventSessionCollectionResponse + + return await self.request_adapter.send_async(request_info, VirtualEventSessionCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[SessionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get sessions from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> SessionsRequestBuilder: + """ + 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: SessionsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return SessionsRequestBuilder(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 SessionsRequestBuilderGetQueryParameters(): + """ + Get sessions from solutions + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class SessionsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[SessionsRequestBuilder.SessionsRequestBuilderGetQueryParameters] = None + + + 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 new file mode 100644 index 00000000000..73dbfe75934 --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/item/virtual_event_presenter_item_request_builder.py @@ -0,0 +1,235 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .......models.virtual_event_presenter import VirtualEventPresenter + from .profile_photo.profile_photo_request_builder import ProfilePhotoRequestBuilder + from .sessions.sessions_request_builder import SessionsRequestBuilder + +class VirtualEventPresenterItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the presenters property of the microsoft.graph.virtualEvent entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new VirtualEventPresenterItemRequestBuilder 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}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/presenters/{virtualEventPresenter%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[VirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property presenters for solutions + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[VirtualEventPresenterItemRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventPresenter]: + """ + The virtual event presenters. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventPresenter] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.virtual_event_presenter import VirtualEventPresenter + + return await self.request_adapter.send_async(request_info, VirtualEventPresenter, error_mapping) + + async def patch(self,body: Optional[VirtualEventPresenter] = None, request_configuration: Optional[VirtualEventPresenterItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[VirtualEventPresenter]: + """ + Update the navigation property presenters in solutions + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventPresenter] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.virtual_event_presenter import VirtualEventPresenter + + return await self.request_adapter.send_async(request_info, VirtualEventPresenter, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[VirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property presenters for solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[VirtualEventPresenterItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + The virtual event presenters. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[VirtualEventPresenter] = None, request_configuration: Optional[VirtualEventPresenterItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property presenters in solutions + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> VirtualEventPresenterItemRequestBuilder: + """ + 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: VirtualEventPresenterItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return VirtualEventPresenterItemRequestBuilder(self.request_adapter, raw_url) + + @property + def profile_photo(self) -> ProfilePhotoRequestBuilder: + """ + Provides operations to manage the media for the solutionsRoot entity. + """ + from .profile_photo.profile_photo_request_builder import ProfilePhotoRequestBuilder + + return ProfilePhotoRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def sessions(self) -> SessionsRequestBuilder: + """ + Provides operations to manage the sessions property of the microsoft.graph.virtualEventPresenter entity. + """ + from .sessions.sessions_request_builder import SessionsRequestBuilder + + return SessionsRequestBuilder(self.request_adapter, self.path_parameters) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class VirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class VirtualEventPresenterItemRequestBuilderGetQueryParameters(): + """ + The virtual event presenters. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class VirtualEventPresenterItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[VirtualEventPresenterItemRequestBuilder.VirtualEventPresenterItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class VirtualEventPresenterItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + 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 new file mode 100644 index 00000000000..ca51a187cc1 --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/presenters/presenters_request_builder.py @@ -0,0 +1,226 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from ......models.virtual_event_presenter import VirtualEventPresenter + from ......models.virtual_event_presenter_collection_response import VirtualEventPresenterCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.virtual_event_presenter_item_request_builder import VirtualEventPresenterItemRequestBuilder + +class PresentersRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the presenters property of the microsoft.graph.virtualEvent entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new PresentersRequestBuilder 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}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/presenters{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_virtual_event_presenter_id(self,virtual_event_presenter_id: str) -> VirtualEventPresenterItemRequestBuilder: + """ + Provides operations to manage the presenters property of the microsoft.graph.virtualEvent entity. + param virtual_event_presenter_id: The unique identifier of virtualEventPresenter + Returns: VirtualEventPresenterItemRequestBuilder + """ + if not virtual_event_presenter_id: + raise TypeError("virtual_event_presenter_id cannot be null.") + from .item.virtual_event_presenter_item_request_builder import VirtualEventPresenterItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["virtualEventPresenter%2Did"] = virtual_event_presenter_id + return VirtualEventPresenterItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[PresentersRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventPresenterCollectionResponse]: + """ + The virtual event presenters. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventPresenterCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.virtual_event_presenter_collection_response import VirtualEventPresenterCollectionResponse + + return await self.request_adapter.send_async(request_info, VirtualEventPresenterCollectionResponse, error_mapping) + + async def post(self,body: Optional[VirtualEventPresenter] = None, request_configuration: Optional[PresentersRequestBuilderPostRequestConfiguration] = None) -> Optional[VirtualEventPresenter]: + """ + Create new navigation property to presenters for solutions + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventPresenter] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.virtual_event_presenter import VirtualEventPresenter + + return await self.request_adapter.send_async(request_info, VirtualEventPresenter, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[PresentersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + The virtual event presenters. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[VirtualEventPresenter] = None, request_configuration: Optional[PresentersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to presenters for solutions + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> PresentersRequestBuilder: + """ + 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: PresentersRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return PresentersRequestBuilder(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 PresentersRequestBuilderGetQueryParameters(): + """ + The virtual event presenters. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class PresentersRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[PresentersRequestBuilder.PresentersRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class PresentersRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + 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 new file mode 100644 index 00000000000..7e27148b63b --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/sessions/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/meeting_attendance_report/attendance_records/attendance_records_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/attendance_reports_request_builder.py similarity index 66% rename from msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/meeting_attendance_report/attendance_records/attendance_records_request_builder.py rename to msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/attendance_reports_request_builder.py index 3f19c1e3e8b..b23f0412adc 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/meeting_attendance_report/attendance_records/attendance_records_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/attendance_reports_request_builder.py @@ -10,50 +10,49 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .........models.attendance_record import AttendanceRecord - from .........models.attendance_record_collection_response import AttendanceRecordCollectionResponse - from .........models.o_data_errors.o_data_error import ODataError + from ........models.meeting_attendance_report import MeetingAttendanceReport + from ........models.meeting_attendance_report_collection_response import MeetingAttendanceReportCollectionResponse + from ........models.o_data_errors.o_data_error import ODataError from .count.count_request_builder import CountRequestBuilder - from .item.attendance_record_item_request_builder import AttendanceRecordItemRequestBuilder + from .item.meeting_attendance_report_item_request_builder import MeetingAttendanceReportItemRequestBuilder -class AttendanceRecordsRequestBuilder(BaseRequestBuilder): +class AttendanceReportsRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. + Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ - Instantiates a new AttendanceRecordsRequestBuilder and sets the default values. + Instantiates a new AttendanceReportsRequestBuilder 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/meetingAttendanceReport/attendanceRecords{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/sessions/{virtualEventSession%2Did}/attendanceReports{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) - def by_attendance_record_id(self,attendance_record_id: str) -> AttendanceRecordItemRequestBuilder: + def by_meeting_attendance_report_id(self,meeting_attendance_report_id: str) -> MeetingAttendanceReportItemRequestBuilder: """ - Provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. - param attendance_record_id: The unique identifier of attendanceRecord - Returns: AttendanceRecordItemRequestBuilder + Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. + param meeting_attendance_report_id: The unique identifier of meetingAttendanceReport + Returns: MeetingAttendanceReportItemRequestBuilder """ - if not attendance_record_id: - raise TypeError("attendance_record_id cannot be null.") - from .item.attendance_record_item_request_builder import AttendanceRecordItemRequestBuilder + if not meeting_attendance_report_id: + raise TypeError("meeting_attendance_report_id cannot be null.") + from .item.meeting_attendance_report_item_request_builder import MeetingAttendanceReportItemRequestBuilder url_tpl_params = get_path_parameters(self.path_parameters) - url_tpl_params["attendanceRecord%2Did"] = attendance_record_id - return AttendanceRecordItemRequestBuilder(self.request_adapter, url_tpl_params) + url_tpl_params["meetingAttendanceReport%2Did"] = meeting_attendance_report_id + return MeetingAttendanceReportItemRequestBuilder(self.request_adapter, url_tpl_params) - async def get(self,request_configuration: Optional[AttendanceRecordsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttendanceRecordCollectionResponse]: + async def get(self,request_configuration: Optional[AttendanceReportsRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingAttendanceReportCollectionResponse]: """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[AttendanceRecordCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/attendancerecord-list?view=graph-rest-1.0 + Returns: Optional[MeetingAttendanceReportCollectionResponse] """ 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, ParsableFactory] = { "4XX": ODataError, @@ -61,23 +60,23 @@ async def get(self,request_configuration: Optional[AttendanceRecordsRequestBuild } if not self.request_adapter: raise Exception("Http core is null") - from .........models.attendance_record_collection_response import AttendanceRecordCollectionResponse + from ........models.meeting_attendance_report_collection_response import MeetingAttendanceReportCollectionResponse - return await self.request_adapter.send_async(request_info, AttendanceRecordCollectionResponse, error_mapping) + return await self.request_adapter.send_async(request_info, MeetingAttendanceReportCollectionResponse, error_mapping) - async def post(self,body: Optional[AttendanceRecord] = None, request_configuration: Optional[AttendanceRecordsRequestBuilderPostRequestConfiguration] = None) -> Optional[AttendanceRecord]: + async def post(self,body: Optional[MeetingAttendanceReport] = None, request_configuration: Optional[AttendanceReportsRequestBuilderPostRequestConfiguration] = None) -> Optional[MeetingAttendanceReport]: """ - Create new navigation property to attendanceRecords for solutions + Create new navigation property to attendanceReports for solutions param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[AttendanceRecord] + Returns: Optional[MeetingAttendanceReport] """ if not body: 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 + from ........models.o_data_errors.o_data_error import ODataError error_mapping: Dict[str, ParsableFactory] = { "4XX": ODataError, @@ -85,13 +84,13 @@ async def post(self,body: Optional[AttendanceRecord] = None, request_configurati } if not self.request_adapter: raise Exception("Http core is null") - from .........models.attendance_record import AttendanceRecord + from ........models.meeting_attendance_report import MeetingAttendanceReport - return await self.request_adapter.send_async(request_info, AttendanceRecord, error_mapping) + return await self.request_adapter.send_async(request_info, MeetingAttendanceReport, error_mapping) - def to_get_request_information(self,request_configuration: Optional[AttendanceRecordsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + def to_get_request_information(self,request_configuration: Optional[AttendanceReportsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +102,12 @@ def to_get_request_information(self,request_configuration: Optional[AttendanceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info - def to_post_request_information(self,body: Optional[AttendanceRecord] = None, request_configuration: Optional[AttendanceRecordsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + def to_post_request_information(self,body: Optional[MeetingAttendanceReport] = None, request_configuration: Optional[AttendanceReportsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create new navigation property to attendanceRecords for solutions + Create new navigation property to attendanceReports for solutions param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,19 +121,19 @@ def to_post_request_information(self,body: Optional[AttendanceRecord] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + 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: Optional[str] = None) -> AttendanceRecordsRequestBuilder: + def with_url(self,raw_url: Optional[str] = None) -> AttendanceReportsRequestBuilder: """ 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: AttendanceRecordsRequestBuilder + Returns: AttendanceReportsRequestBuilder """ if not raw_url: raise TypeError("raw_url cannot be null.") - return AttendanceRecordsRequestBuilder(self.request_adapter, raw_url) + return AttendanceReportsRequestBuilder(self.request_adapter, raw_url) @property def count(self) -> CountRequestBuilder: @@ -146,9 +145,9 @@ def count(self) -> CountRequestBuilder: return CountRequestBuilder(self.request_adapter, self.path_parameters) @dataclass - class AttendanceRecordsRequestBuilderGetQueryParameters(): + class AttendanceReportsRequestBuilderGetQueryParameters(): """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ @@ -204,20 +203,20 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class AttendanceRecordsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + class AttendanceReportsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ Configuration for the request such as headers, query parameters, and middleware options. """ # Request query parameters - query_parameters: Optional[AttendanceRecordsRequestBuilder.AttendanceRecordsRequestBuilderGetQueryParameters] = None + query_parameters: Optional[AttendanceReportsRequestBuilder.AttendanceReportsRequestBuilderGetQueryParameters] = None from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class AttendanceRecordsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + class AttendanceReportsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ 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 new file mode 100644 index 00000000000..5ec9105f6b9 --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/sessions/{virtualEventSession%2Did}/attendanceReports/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/meeting_attendance_report/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 similarity index 90% rename from msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/meeting_attendance_report/attendance_records/attendance_records_request_builder.py rename to msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/attendance_records/attendance_records_request_builder.py index 7a126ddbe9a..3e5f4a2ea49 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/meeting_attendance_report/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 @@ -10,9 +10,9 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .........models.attendance_record import AttendanceRecord - from .........models.attendance_record_collection_response import AttendanceRecordCollectionResponse - from .........models.o_data_errors.o_data_error import ODataError + from ..........models.attendance_record import AttendanceRecord + from ..........models.attendance_record_collection_response import AttendanceRecordCollectionResponse + from ..........models.o_data_errors.o_data_error import ODataError from .count.count_request_builder import CountRequestBuilder from .item.attendance_record_item_request_builder import AttendanceRecordItemRequestBuilder @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/meetingAttendanceReport/attendanceRecords{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/sessions/{virtualEventSession%2Did}/attendanceReports/{meetingAttendanceReport%2Did}/attendanceRecords{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) def by_attendance_record_id(self,attendance_record_id: str) -> AttendanceRecordItemRequestBuilder: """ @@ -45,7 +45,7 @@ def by_attendance_record_id(self,attendance_record_id: str) -> AttendanceRecordI async def get(self,request_configuration: Optional[AttendanceRecordsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttendanceRecordCollectionResponse]: """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of attendanceRecord objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttendanceRecordCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/attendancerecord-list?view=graph-rest-1.0 @@ -53,7 +53,7 @@ async def get(self,request_configuration: Optional[AttendanceRecordsRequestBuild 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, ParsableFactory] = { "4XX": ODataError, @@ -61,7 +61,7 @@ async def get(self,request_configuration: Optional[AttendanceRecordsRequestBuild } if not self.request_adapter: raise Exception("Http core is null") - from .........models.attendance_record_collection_response import AttendanceRecordCollectionResponse + from ..........models.attendance_record_collection_response import AttendanceRecordCollectionResponse return await self.request_adapter.send_async(request_info, AttendanceRecordCollectionResponse, error_mapping) @@ -77,7 +77,7 @@ async def post(self,body: Optional[AttendanceRecord] = None, request_configurati request_info = self.to_post_request_information( body, 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, ParsableFactory] = { "4XX": ODataError, @@ -85,13 +85,13 @@ async def post(self,body: Optional[AttendanceRecord] = None, request_configurati } if not self.request_adapter: raise Exception("Http core is null") - from .........models.attendance_record import AttendanceRecord + from ..........models.attendance_record import AttendanceRecord return await self.request_adapter.send_async(request_info, AttendanceRecord, error_mapping) def to_get_request_information(self,request_configuration: Optional[AttendanceRecordsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of attendanceRecord objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AttendanceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AttendanceRecord] = None, request_configuration: Optional[AttendanceRecordsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AttendanceRecord] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AttendanceRecordsRequestBuilderGetQueryParameters(): """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of attendanceRecord objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 new file mode 100644 index 00000000000..e9d0acf9e79 --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/attendance_records/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/sessions/{virtualEventSession%2Did}/attendanceReports/{meetingAttendanceReport%2Did}/attendanceRecords/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ...........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/meeting_attendance_report/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 similarity index 93% rename from msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/meeting_attendance_report/attendance_records/item/attendance_record_item_request_builder.py rename to msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.py index 3de3c5975e0..2afffc344d7 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/meeting_attendance_report/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 @@ -10,8 +10,8 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ..........models.attendance_record import AttendanceRecord - from ..........models.o_data_errors.o_data_error import ODataError + from ...........models.attendance_record import AttendanceRecord + from ...........models.o_data_errors.o_data_error import ODataError class AttendanceRecordItemRequestBuilder(BaseRequestBuilder): """ @@ -24,7 +24,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/meetingAttendanceReport/attendanceRecords/{attendanceRecord%2Did}{?%24select,%24expand}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/sessions/{virtualEventSession%2Did}/attendanceReports/{meetingAttendanceReport%2Did}/attendanceRecords/{attendanceRecord%2Did}{?%24select,%24expand}", path_parameters) async def delete(self,request_configuration: Optional[AttendanceRecordItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ @@ -35,7 +35,7 @@ async def delete(self,request_configuration: Optional[AttendanceRecordItemReques request_info = self.to_delete_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, ParsableFactory] = { "4XX": ODataError, @@ -54,7 +54,7 @@ async def get(self,request_configuration: Optional[AttendanceRecordItemRequestBu 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, ParsableFactory] = { "4XX": ODataError, @@ -62,7 +62,7 @@ async def get(self,request_configuration: Optional[AttendanceRecordItemRequestBu } if not self.request_adapter: raise Exception("Http core is null") - from ..........models.attendance_record import AttendanceRecord + from ...........models.attendance_record import AttendanceRecord return await self.request_adapter.send_async(request_info, AttendanceRecord, error_mapping) @@ -78,7 +78,7 @@ async def patch(self,body: Optional[AttendanceRecord] = None, request_configurat request_info = self.to_patch_request_information( body, 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, ParsableFactory] = { "4XX": ODataError, @@ -86,7 +86,7 @@ async def patch(self,body: Optional[AttendanceRecord] = None, request_configurat } if not self.request_adapter: raise Exception("Http core is null") - from ..........models.attendance_record import AttendanceRecord + from ...........models.attendance_record import AttendanceRecord return await self.request_adapter.send_async(request_info, AttendanceRecord, error_mapping) @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Attendanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttendanceRecordItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AttendanceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AttendanceRecord] = None, request_configuration: Optional[AttendanceRecordItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AttendanceRecord] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/meeting_attendance_report/meeting_attendance_report_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py similarity index 72% rename from msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/meeting_attendance_report/meeting_attendance_report_request_builder.py rename to msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py index dcedecfe4e8..060f722c8bf 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/meeting_attendance_report/meeting_attendance_report_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py @@ -10,33 +10,33 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ........models.meeting_attendance_report import MeetingAttendanceReport - from ........models.o_data_errors.o_data_error import ODataError + from .........models.meeting_attendance_report import MeetingAttendanceReport + from .........models.o_data_errors.o_data_error import ODataError from .attendance_records.attendance_records_request_builder import AttendanceRecordsRequestBuilder -class MeetingAttendanceReportRequestBuilder(BaseRequestBuilder): +class MeetingAttendanceReportItemRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the meetingAttendanceReport property of the microsoft.graph.onlineMeeting entity. + Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ - Instantiates a new MeetingAttendanceReportRequestBuilder and sets the default values. + Instantiates a new MeetingAttendanceReportItemRequestBuilder 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}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/meetingAttendanceReport{?%24select,%24expand}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/sessions/{virtualEventSession%2Did}/attendanceReports/{meetingAttendanceReport%2Did}{?%24select,%24expand}", path_parameters) - async def delete(self,request_configuration: Optional[MeetingAttendanceReportRequestBuilderDeleteRequestConfiguration] = None) -> None: + async def delete(self,request_configuration: Optional[MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete navigation property meetingAttendanceReport for solutions + Delete navigation property attendanceReports for solutions 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 + from .........models.o_data_errors.o_data_error import ODataError error_mapping: Dict[str, ParsableFactory] = { "4XX": ODataError, @@ -46,17 +46,16 @@ async def delete(self,request_configuration: Optional[MeetingAttendanceReportReq 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[MeetingAttendanceReportRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingAttendanceReport]: + async def get(self,request_configuration: Optional[MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingAttendanceReport]: """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingAttendanceReport] - Find more info here: https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-1.0 """ 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, ParsableFactory] = { "4XX": ODataError, @@ -64,13 +63,13 @@ async def get(self,request_configuration: Optional[MeetingAttendanceReportReques } if not self.request_adapter: raise Exception("Http core is null") - from ........models.meeting_attendance_report import MeetingAttendanceReport + from .........models.meeting_attendance_report import MeetingAttendanceReport return await self.request_adapter.send_async(request_info, MeetingAttendanceReport, error_mapping) - async def patch(self,body: Optional[MeetingAttendanceReport] = None, request_configuration: Optional[MeetingAttendanceReportRequestBuilderPatchRequestConfiguration] = None) -> Optional[MeetingAttendanceReport]: + async def patch(self,body: Optional[MeetingAttendanceReport] = None, request_configuration: Optional[MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[MeetingAttendanceReport]: """ - Update the navigation property meetingAttendanceReport in solutions + Update the navigation property attendanceReports in solutions param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingAttendanceReport] @@ -80,7 +79,7 @@ async def patch(self,body: Optional[MeetingAttendanceReport] = None, request_con request_info = self.to_patch_request_information( body, 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, ParsableFactory] = { "4XX": ODataError, @@ -88,13 +87,13 @@ async def patch(self,body: Optional[MeetingAttendanceReport] = None, request_con } if not self.request_adapter: raise Exception("Http core is null") - from ........models.meeting_attendance_report import MeetingAttendanceReport + from .........models.meeting_attendance_report import MeetingAttendanceReport return await self.request_adapter.send_async(request_info, MeetingAttendanceReport, error_mapping) - def to_delete_request_information(self,request_configuration: Optional[MeetingAttendanceReportRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + def to_delete_request_information(self,request_configuration: Optional[MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete navigation property meetingAttendanceReport for solutions + Delete navigation property attendanceReports for solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[MeetingAt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info - def to_get_request_information(self,request_configuration: Optional[MeetingAttendanceReportRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + def to_get_request_information(self,request_configuration: Optional[MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +121,12 @@ def to_get_request_information(self,request_configuration: Optional[MeetingAtten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info - def to_patch_request_information(self,body: Optional[MeetingAttendanceReport] = None, request_configuration: Optional[MeetingAttendanceReportRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + def to_patch_request_information(self,body: Optional[MeetingAttendanceReport] = None, request_configuration: Optional[MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the navigation property meetingAttendanceReport in solutions + Update the navigation property attendanceReports in solutions param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,19 +140,19 @@ def to_patch_request_information(self,body: Optional[MeetingAttendanceReport] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + 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: Optional[str] = None) -> MeetingAttendanceReportRequestBuilder: + def with_url(self,raw_url: Optional[str] = None) -> MeetingAttendanceReportItemRequestBuilder: """ 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: MeetingAttendanceReportRequestBuilder + Returns: MeetingAttendanceReportItemRequestBuilder """ if not raw_url: raise TypeError("raw_url cannot be null.") - return MeetingAttendanceReportRequestBuilder(self.request_adapter, raw_url) + return MeetingAttendanceReportItemRequestBuilder(self.request_adapter, raw_url) @property def attendance_records(self) -> AttendanceRecordsRequestBuilder: @@ -167,7 +166,7 @@ def attendance_records(self) -> AttendanceRecordsRequestBuilder: from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class MeetingAttendanceReportRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + class MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ @@ -175,9 +174,9 @@ class MeetingAttendanceReportRequestBuilderDeleteRequestConfiguration(BaseReques """ @dataclass - class MeetingAttendanceReportRequestBuilderGetQueryParameters(): + class MeetingAttendanceReportItemRequestBuilderGetQueryParameters(): """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ @@ -203,20 +202,20 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class MeetingAttendanceReportRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + class MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ Configuration for the request such as headers, query parameters, and middleware options. """ # Request query parameters - query_parameters: Optional[MeetingAttendanceReportRequestBuilder.MeetingAttendanceReportRequestBuilderGetQueryParameters] = None + query_parameters: Optional[MeetingAttendanceReportItemRequestBuilder.MeetingAttendanceReportItemRequestBuilderGetQueryParameters] = None from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class MeetingAttendanceReportRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + class MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/transcripts/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/presenters/count/count_request_builder.py similarity index 97% rename from msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/transcripts/count/count_request_builder.py rename to msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/presenters/count/count_request_builder.py index feca92b8570..cd182a8b456 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/transcripts/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/presenters/count/count_request_builder.py @@ -23,7 +23,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/transcripts/$count{?%24search,%24filter}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/sessions/{virtualEventSession%2Did}/presenters/$count{?%24search,%24filter}", path_parameters) async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = None) -> Optional[int]: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/item/attendee_report/attendee_report_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/presenters/item/profile_photo/profile_photo_request_builder.py similarity index 78% rename from msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/item/attendee_report/attendee_report_request_builder.py rename to msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/presenters/item/profile_photo/profile_photo_request_builder.py index e523630e023..04d28fa1b25 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/item/attendee_report/attendee_report_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/presenters/item/profile_photo/profile_photo_request_builder.py @@ -12,22 +12,22 @@ if TYPE_CHECKING: from ..........models.o_data_errors.o_data_error import ODataError -class AttendeeReportRequestBuilder(BaseRequestBuilder): +class ProfilePhotoRequestBuilder(BaseRequestBuilder): """ Provides operations to manage the media for the solutionsRoot entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ - Instantiates a new AttendeeReportRequestBuilder and sets the default values. + Instantiates a new ProfilePhotoRequestBuilder 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrations/{virtualEventRegistration%2Did}/sessions/{virtualEventSession%2Did}/attendeeReport", path_parameters) + super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/sessions/{virtualEventSession%2Did}/presenters/{virtualEventPresenter%2Did}/profilePhoto", path_parameters) - async def get(self,request_configuration: Optional[AttendeeReportRequestBuilderGetRequestConfiguration] = None) -> bytes: + async def get(self,request_configuration: Optional[ProfilePhotoRequestBuilderGetRequestConfiguration] = None) -> bytes: """ - Get attendeeReport for the navigation property sessions from solutions + Get profilePhoto for the navigation property presenters from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -44,9 +44,9 @@ async def get(self,request_configuration: Optional[AttendeeReportRequestBuilderG raise Exception("Http core is null") return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - async def put(self,body: bytes, request_configuration: Optional[AttendeeReportRequestBuilderPutRequestConfiguration] = None) -> bytes: + async def put(self,body: bytes, request_configuration: Optional[ProfilePhotoRequestBuilderPutRequestConfiguration] = None) -> bytes: """ - Update attendeeReport for the navigation property sessions in solutions + Update profilePhoto for the navigation property presenters in solutions param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes @@ -66,9 +66,9 @@ async def put(self,body: bytes, request_configuration: Optional[AttendeeReportRe raise Exception("Http core is null") return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - def to_get_request_information(self,request_configuration: Optional[AttendeeReportRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + def to_get_request_information(self,request_configuration: Optional[ProfilePhotoRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get attendeeReport for the navigation property sessions from solutions + Get profilePhoto for the navigation property presenters from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,12 +79,12 @@ def to_get_request_information(self,request_configuration: Optional[AttendeeRepo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info - def to_put_request_information(self,body: bytes, request_configuration: Optional[AttendeeReportRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: + def to_put_request_information(self,body: bytes, request_configuration: Optional[ProfilePhotoRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: """ - Update attendeeReport for the navigation property sessions in solutions + Update profilePhoto for the navigation property presenters in solutions param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -98,24 +98,24 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info - def with_url(self,raw_url: Optional[str] = None) -> AttendeeReportRequestBuilder: + def with_url(self,raw_url: Optional[str] = None) -> ProfilePhotoRequestBuilder: """ 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: AttendeeReportRequestBuilder + Returns: ProfilePhotoRequestBuilder """ if not raw_url: raise TypeError("raw_url cannot be null.") - return AttendeeReportRequestBuilder(self.request_adapter, raw_url) + return ProfilePhotoRequestBuilder(self.request_adapter, raw_url) from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class AttendeeReportRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + class ProfilePhotoRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ @@ -125,7 +125,7 @@ class AttendeeReportRequestBuilderGetRequestConfiguration(BaseRequestConfigurati from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class AttendeeReportRequestBuilderPutRequestConfiguration(BaseRequestConfiguration): + class ProfilePhotoRequestBuilderPutRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ 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 new file mode 100644 index 00000000000..76b57d7f786 --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/presenters/item/virtual_event_presenter_item_request_builder.py @@ -0,0 +1,126 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .........models.o_data_errors.o_data_error import ODataError + from .........models.virtual_event_presenter import VirtualEventPresenter + from .profile_photo.profile_photo_request_builder import ProfilePhotoRequestBuilder + +class VirtualEventPresenterItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the presenters property of the microsoft.graph.virtualEventSession entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new VirtualEventPresenterItemRequestBuilder 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}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/sessions/{virtualEventSession%2Did}/presenters/{virtualEventPresenter%2Did}{?%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[VirtualEventPresenterItemRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventPresenter]: + """ + Get presenters from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventPresenter] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.virtual_event_presenter import VirtualEventPresenter + + return await self.request_adapter.send_async(request_info, VirtualEventPresenter, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[VirtualEventPresenterItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get presenters from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> VirtualEventPresenterItemRequestBuilder: + """ + 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: VirtualEventPresenterItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return VirtualEventPresenterItemRequestBuilder(self.request_adapter, raw_url) + + @property + def profile_photo(self) -> ProfilePhotoRequestBuilder: + """ + Provides operations to manage the media for the solutionsRoot entity. + """ + from .profile_photo.profile_photo_request_builder import ProfilePhotoRequestBuilder + + return ProfilePhotoRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class VirtualEventPresenterItemRequestBuilderGetQueryParameters(): + """ + Get presenters from solutions + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class VirtualEventPresenterItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[VirtualEventPresenterItemRequestBuilder.VirtualEventPresenterItemRequestBuilderGetQueryParameters] = None + + + 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 new file mode 100644 index 00000000000..8731cd8256d --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/presenters/presenters_request_builder.py @@ -0,0 +1,171 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.virtual_event_presenter_collection_response import VirtualEventPresenterCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.virtual_event_presenter_item_request_builder import VirtualEventPresenterItemRequestBuilder + +class PresentersRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the presenters property of the microsoft.graph.virtualEventSession entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new PresentersRequestBuilder 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}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/sessions/{virtualEventSession%2Did}/presenters{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_virtual_event_presenter_id(self,virtual_event_presenter_id: str) -> VirtualEventPresenterItemRequestBuilder: + """ + Provides operations to manage the presenters property of the microsoft.graph.virtualEventSession entity. + param virtual_event_presenter_id: The unique identifier of virtualEventPresenter + Returns: VirtualEventPresenterItemRequestBuilder + """ + if not virtual_event_presenter_id: + raise TypeError("virtual_event_presenter_id cannot be null.") + from .item.virtual_event_presenter_item_request_builder import VirtualEventPresenterItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["virtualEventPresenter%2Did"] = virtual_event_presenter_id + return VirtualEventPresenterItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[PresentersRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventPresenterCollectionResponse]: + """ + Get presenters from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventPresenterCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.virtual_event_presenter_collection_response import VirtualEventPresenterCollectionResponse + + return await self.request_adapter.send_async(request_info, VirtualEventPresenterCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[PresentersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get presenters from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> PresentersRequestBuilder: + """ + 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: PresentersRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return PresentersRequestBuilder(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 PresentersRequestBuilderGetQueryParameters(): + """ + Get presenters from solutions + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class PresentersRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[PresentersRequestBuilder.PresentersRequestBuilderGetQueryParameters] = None + + + 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 new file mode 100644 index 00000000000..23acf3f9a55 --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/sessions/{virtualEventSession%2Did}/registrations/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + 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 new file mode 100644 index 00000000000..70cd3c7904b --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations/item/virtual_event_registration_item_request_builder.py @@ -0,0 +1,116 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .........models.o_data_errors.o_data_error import ODataError + from .........models.virtual_event_registration import VirtualEventRegistration + +class VirtualEventRegistrationItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new VirtualEventRegistrationItemRequestBuilder 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}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/sessions/{virtualEventSession%2Did}/registrations/{virtualEventRegistration%2Did}{?%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[VirtualEventRegistrationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventRegistration]: + """ + Get registrations from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventRegistration] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.virtual_event_registration import VirtualEventRegistration + + return await self.request_adapter.send_async(request_info, VirtualEventRegistration, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[VirtualEventRegistrationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get registrations from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> VirtualEventRegistrationItemRequestBuilder: + """ + 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: VirtualEventRegistrationItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return VirtualEventRegistrationItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class VirtualEventRegistrationItemRequestBuilderGetQueryParameters(): + """ + Get registrations from solutions + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class VirtualEventRegistrationItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[VirtualEventRegistrationItemRequestBuilder.VirtualEventRegistrationItemRequestBuilderGetQueryParameters] = None + + + 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 new file mode 100644 index 00000000000..87689c6d83b --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/registrations/registrations_request_builder.py @@ -0,0 +1,171 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.virtual_event_registration_collection_response import VirtualEventRegistrationCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.virtual_event_registration_item_request_builder import VirtualEventRegistrationItemRequestBuilder + +class RegistrationsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new RegistrationsRequestBuilder 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}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/sessions/{virtualEventSession%2Did}/registrations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_virtual_event_registration_id(self,virtual_event_registration_id: str) -> VirtualEventRegistrationItemRequestBuilder: + """ + Provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. + param virtual_event_registration_id: The unique identifier of virtualEventRegistration + Returns: VirtualEventRegistrationItemRequestBuilder + """ + if not virtual_event_registration_id: + raise TypeError("virtual_event_registration_id cannot be null.") + from .item.virtual_event_registration_item_request_builder import VirtualEventRegistrationItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["virtualEventRegistration%2Did"] = virtual_event_registration_id + return VirtualEventRegistrationItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RegistrationsRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventRegistrationCollectionResponse]: + """ + Get registrations from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventRegistrationCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.virtual_event_registration_collection_response import VirtualEventRegistrationCollectionResponse + + return await self.request_adapter.send_async(request_info, VirtualEventRegistrationCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RegistrationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get registrations from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> RegistrationsRequestBuilder: + """ + 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: RegistrationsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return RegistrationsRequestBuilder(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 RegistrationsRequestBuilderGetQueryParameters(): + """ + Get registrations from solutions + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class RegistrationsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[RegistrationsRequestBuilder.RegistrationsRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/meeting_attendance_report/meeting_attendance_report_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/virtual_event_session_item_request_builder.py similarity index 64% rename from msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/meeting_attendance_report/meeting_attendance_report_request_builder.py rename to msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/virtual_event_session_item_request_builder.py index 00fad50627e..ecd4f7e83a1 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/meeting_attendance_report/meeting_attendance_report_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/virtual_event_session_item_request_builder.py @@ -10,33 +10,35 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ........models.meeting_attendance_report import MeetingAttendanceReport - from ........models.o_data_errors.o_data_error import ODataError - from .attendance_records.attendance_records_request_builder import AttendanceRecordsRequestBuilder + from .......models.o_data_errors.o_data_error import ODataError + from .......models.virtual_event_session import VirtualEventSession + from .attendance_reports.attendance_reports_request_builder import AttendanceReportsRequestBuilder + from .presenters.presenters_request_builder import PresentersRequestBuilder + from .registrations.registrations_request_builder import RegistrationsRequestBuilder -class MeetingAttendanceReportRequestBuilder(BaseRequestBuilder): +class VirtualEventSessionItemRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the meetingAttendanceReport property of the microsoft.graph.onlineMeeting entity. + Provides operations to manage the sessions property of the microsoft.graph.virtualEvent entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ - Instantiates a new MeetingAttendanceReportRequestBuilder and sets the default values. + Instantiates a new VirtualEventSessionItemRequestBuilder 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/meetingAttendanceReport{?%24select,%24expand}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/sessions/{virtualEventSession%2Did}{?%24select,%24expand}", path_parameters) - async def delete(self,request_configuration: Optional[MeetingAttendanceReportRequestBuilderDeleteRequestConfiguration] = None) -> None: + async def delete(self,request_configuration: Optional[VirtualEventSessionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete navigation property meetingAttendanceReport for solutions + Delete navigation property sessions for solutions 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 + from .......models.o_data_errors.o_data_error import ODataError error_mapping: Dict[str, ParsableFactory] = { "4XX": ODataError, @@ -46,17 +48,16 @@ async def delete(self,request_configuration: Optional[MeetingAttendanceReportReq 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[MeetingAttendanceReportRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingAttendanceReport]: + async def get(self,request_configuration: Optional[VirtualEventSessionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventSession]: """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + Sessions for the virtual event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[MeetingAttendanceReport] - Find more info here: https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-1.0 + Returns: Optional[VirtualEventSession] """ 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, ParsableFactory] = { "4XX": ODataError, @@ -64,23 +65,23 @@ async def get(self,request_configuration: Optional[MeetingAttendanceReportReques } if not self.request_adapter: raise Exception("Http core is null") - from ........models.meeting_attendance_report import MeetingAttendanceReport + from .......models.virtual_event_session import VirtualEventSession - return await self.request_adapter.send_async(request_info, MeetingAttendanceReport, error_mapping) + return await self.request_adapter.send_async(request_info, VirtualEventSession, error_mapping) - async def patch(self,body: Optional[MeetingAttendanceReport] = None, request_configuration: Optional[MeetingAttendanceReportRequestBuilderPatchRequestConfiguration] = None) -> Optional[MeetingAttendanceReport]: + async def patch(self,body: Optional[VirtualEventSession] = None, request_configuration: Optional[VirtualEventSessionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[VirtualEventSession]: """ - Update the navigation property meetingAttendanceReport in solutions + Update the navigation property sessions in solutions param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[MeetingAttendanceReport] + Returns: Optional[VirtualEventSession] """ if not body: 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 + from .......models.o_data_errors.o_data_error import ODataError error_mapping: Dict[str, ParsableFactory] = { "4XX": ODataError, @@ -88,13 +89,13 @@ async def patch(self,body: Optional[MeetingAttendanceReport] = None, request_con } if not self.request_adapter: raise Exception("Http core is null") - from ........models.meeting_attendance_report import MeetingAttendanceReport + from .......models.virtual_event_session import VirtualEventSession - return await self.request_adapter.send_async(request_info, MeetingAttendanceReport, error_mapping) + return await self.request_adapter.send_async(request_info, VirtualEventSession, error_mapping) - def to_delete_request_information(self,request_configuration: Optional[MeetingAttendanceReportRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + def to_delete_request_information(self,request_configuration: Optional[VirtualEventSessionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete navigation property meetingAttendanceReport for solutions + Delete navigation property sessions for solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[MeetingAt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info - def to_get_request_information(self,request_configuration: Optional[MeetingAttendanceReportRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + def to_get_request_information(self,request_configuration: Optional[VirtualEventSessionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + Sessions for the virtual event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[MeetingAtten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info - def to_patch_request_information(self,body: Optional[MeetingAttendanceReport] = None, request_configuration: Optional[MeetingAttendanceReportRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + def to_patch_request_information(self,body: Optional[VirtualEventSession] = None, request_configuration: Optional[VirtualEventSessionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the navigation property meetingAttendanceReport in solutions + Update the navigation property sessions in solutions param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,33 +142,51 @@ def to_patch_request_information(self,body: Optional[MeetingAttendanceReport] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + 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: Optional[str] = None) -> MeetingAttendanceReportRequestBuilder: + def with_url(self,raw_url: Optional[str] = None) -> VirtualEventSessionItemRequestBuilder: """ 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: MeetingAttendanceReportRequestBuilder + Returns: VirtualEventSessionItemRequestBuilder """ if not raw_url: raise TypeError("raw_url cannot be null.") - return MeetingAttendanceReportRequestBuilder(self.request_adapter, raw_url) + return VirtualEventSessionItemRequestBuilder(self.request_adapter, raw_url) @property - def attendance_records(self) -> AttendanceRecordsRequestBuilder: + def attendance_reports(self) -> AttendanceReportsRequestBuilder: """ - Provides operations to manage the attendanceRecords property of the microsoft.graph.meetingAttendanceReport entity. + Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. """ - from .attendance_records.attendance_records_request_builder import AttendanceRecordsRequestBuilder + from .attendance_reports.attendance_reports_request_builder import AttendanceReportsRequestBuilder - return AttendanceRecordsRequestBuilder(self.request_adapter, self.path_parameters) + return AttendanceReportsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def presenters(self) -> PresentersRequestBuilder: + """ + Provides operations to manage the presenters property of the microsoft.graph.virtualEventSession entity. + """ + from .presenters.presenters_request_builder import PresentersRequestBuilder + + return PresentersRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def registrations(self) -> RegistrationsRequestBuilder: + """ + Provides operations to manage the registrations property of the microsoft.graph.virtualEventSession entity. + """ + from .registrations.registrations_request_builder import RegistrationsRequestBuilder + + return RegistrationsRequestBuilder(self.request_adapter, self.path_parameters) from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class MeetingAttendanceReportRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + class VirtualEventSessionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ @@ -175,9 +194,9 @@ class MeetingAttendanceReportRequestBuilderDeleteRequestConfiguration(BaseReques """ @dataclass - class MeetingAttendanceReportRequestBuilderGetQueryParameters(): + class VirtualEventSessionItemRequestBuilderGetQueryParameters(): """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + Sessions for the virtual event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ @@ -203,20 +222,20 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class MeetingAttendanceReportRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + class VirtualEventSessionItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ Configuration for the request such as headers, query parameters, and middleware options. """ # Request query parameters - query_parameters: Optional[MeetingAttendanceReportRequestBuilder.MeetingAttendanceReportRequestBuilderGetQueryParameters] = None + query_parameters: Optional[VirtualEventSessionItemRequestBuilder.VirtualEventSessionItemRequestBuilderGetQueryParameters] = None from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class MeetingAttendanceReportRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + class VirtualEventSessionItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ 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 new file mode 100644 index 00000000000..f2fd462b561 --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/sessions_request_builder.py @@ -0,0 +1,226 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from ......models.virtual_event_session import VirtualEventSession + from ......models.virtual_event_session_collection_response import VirtualEventSessionCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.virtual_event_session_item_request_builder import VirtualEventSessionItemRequestBuilder + +class SessionsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the sessions property of the microsoft.graph.virtualEvent entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new SessionsRequestBuilder 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}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}/sessions{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_virtual_event_session_id(self,virtual_event_session_id: str) -> VirtualEventSessionItemRequestBuilder: + """ + Provides operations to manage the sessions property of the microsoft.graph.virtualEvent entity. + param virtual_event_session_id: The unique identifier of virtualEventSession + Returns: VirtualEventSessionItemRequestBuilder + """ + if not virtual_event_session_id: + raise TypeError("virtual_event_session_id cannot be null.") + from .item.virtual_event_session_item_request_builder import VirtualEventSessionItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["virtualEventSession%2Did"] = virtual_event_session_id + return VirtualEventSessionItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[SessionsRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventSessionCollectionResponse]: + """ + Sessions for the virtual event. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventSessionCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.virtual_event_session_collection_response import VirtualEventSessionCollectionResponse + + return await self.request_adapter.send_async(request_info, VirtualEventSessionCollectionResponse, error_mapping) + + async def post(self,body: Optional[VirtualEventSession] = None, request_configuration: Optional[SessionsRequestBuilderPostRequestConfiguration] = None) -> Optional[VirtualEventSession]: + """ + Create new navigation property to sessions for solutions + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventSession] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.virtual_event_session import VirtualEventSession + + return await self.request_adapter.send_async(request_info, VirtualEventSession, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[SessionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Sessions for the virtual event. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[VirtualEventSession] = None, request_configuration: Optional[SessionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to sessions for solutions + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> SessionsRequestBuilder: + """ + 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: SessionsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return SessionsRequestBuilder(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 SessionsRequestBuilderGetQueryParameters(): + """ + Sessions for the virtual event. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class SessionsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[SessionsRequestBuilder.SessionsRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class SessionsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + 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 new file mode 100644 index 00000000000..ba25de67d68 --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/virtual_event_townhall_item_request_builder.py @@ -0,0 +1,235 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.virtual_event_townhall import VirtualEventTownhall + from .presenters.presenters_request_builder import PresentersRequestBuilder + from .sessions.sessions_request_builder import SessionsRequestBuilder + +class VirtualEventTownhallItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the townhalls property of the microsoft.graph.virtualEventsRoot entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new VirtualEventTownhallItemRequestBuilder 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}/solutions/virtualEvents/townhalls/{virtualEventTownhall%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[VirtualEventTownhallItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property townhalls for solutions + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[VirtualEventTownhallItemRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventTownhall]: + """ + Get townhalls from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventTownhall] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.virtual_event_townhall import VirtualEventTownhall + + return await self.request_adapter.send_async(request_info, VirtualEventTownhall, error_mapping) + + async def patch(self,body: Optional[VirtualEventTownhall] = None, request_configuration: Optional[VirtualEventTownhallItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[VirtualEventTownhall]: + """ + Update the navigation property townhalls in solutions + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventTownhall] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.virtual_event_townhall import VirtualEventTownhall + + return await self.request_adapter.send_async(request_info, VirtualEventTownhall, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[VirtualEventTownhallItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property townhalls for solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[VirtualEventTownhallItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get townhalls from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[VirtualEventTownhall] = None, request_configuration: Optional[VirtualEventTownhallItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the navigation property townhalls in solutions + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> VirtualEventTownhallItemRequestBuilder: + """ + 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: VirtualEventTownhallItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return VirtualEventTownhallItemRequestBuilder(self.request_adapter, raw_url) + + @property + def presenters(self) -> PresentersRequestBuilder: + """ + Provides operations to manage the presenters property of the microsoft.graph.virtualEvent entity. + """ + from .presenters.presenters_request_builder import PresentersRequestBuilder + + return PresentersRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def sessions(self) -> SessionsRequestBuilder: + """ + Provides operations to manage the sessions property of the microsoft.graph.virtualEvent entity. + """ + from .sessions.sessions_request_builder import SessionsRequestBuilder + + return SessionsRequestBuilder(self.request_adapter, self.path_parameters) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class VirtualEventTownhallItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class VirtualEventTownhallItemRequestBuilderGetQueryParameters(): + """ + Get townhalls from solutions + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class VirtualEventTownhallItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[VirtualEventTownhallItemRequestBuilder.VirtualEventTownhallItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class VirtualEventTownhallItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/recordings/recordings_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/townhalls_request_builder.py similarity index 58% rename from msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/recordings/recordings_request_builder.py rename to msgraph_beta/generated/solutions/virtual_events/townhalls/townhalls_request_builder.py index 41f1f2eed0e..f237736c287 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/recordings/recordings_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/townhalls_request_builder.py @@ -10,50 +10,51 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ........models.call_recording import CallRecording - from ........models.call_recording_collection_response import CallRecordingCollectionResponse - from ........models.o_data_errors.o_data_error import ODataError + from ....models.o_data_errors.o_data_error import ODataError + from ....models.virtual_event_townhall import VirtualEventTownhall + from ....models.virtual_event_townhall_collection_response import VirtualEventTownhallCollectionResponse from .count.count_request_builder import CountRequestBuilder - from .delta.delta_request_builder import DeltaRequestBuilder - from .item.call_recording_item_request_builder import CallRecordingItemRequestBuilder + from .get_by_user_id_and_role_with_user_id_with_role.get_by_user_id_and_role_with_user_id_with_role_request_builder import GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder + from .get_by_user_role_with_role.get_by_user_role_with_role_request_builder import GetByUserRoleWithRoleRequestBuilder + from .item.virtual_event_townhall_item_request_builder import VirtualEventTownhallItemRequestBuilder -class RecordingsRequestBuilder(BaseRequestBuilder): +class TownhallsRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. + Provides operations to manage the townhalls property of the microsoft.graph.virtualEventsRoot entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ - Instantiates a new RecordingsRequestBuilder and sets the default values. + Instantiates a new TownhallsRequestBuilder 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}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/recordings{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/townhalls{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) - def by_call_recording_id(self,call_recording_id: str) -> CallRecordingItemRequestBuilder: + def by_virtual_event_townhall_id(self,virtual_event_townhall_id: str) -> VirtualEventTownhallItemRequestBuilder: """ - Provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. - param call_recording_id: The unique identifier of callRecording - Returns: CallRecordingItemRequestBuilder + Provides operations to manage the townhalls property of the microsoft.graph.virtualEventsRoot entity. + param virtual_event_townhall_id: The unique identifier of virtualEventTownhall + Returns: VirtualEventTownhallItemRequestBuilder """ - if not call_recording_id: - raise TypeError("call_recording_id cannot be null.") - from .item.call_recording_item_request_builder import CallRecordingItemRequestBuilder + if not virtual_event_townhall_id: + raise TypeError("virtual_event_townhall_id cannot be null.") + from .item.virtual_event_townhall_item_request_builder import VirtualEventTownhallItemRequestBuilder url_tpl_params = get_path_parameters(self.path_parameters) - url_tpl_params["callRecording%2Did"] = call_recording_id - return CallRecordingItemRequestBuilder(self.request_adapter, url_tpl_params) + url_tpl_params["virtualEventTownhall%2Did"] = virtual_event_townhall_id + return VirtualEventTownhallItemRequestBuilder(self.request_adapter, url_tpl_params) - async def get(self,request_configuration: Optional[RecordingsRequestBuilderGetRequestConfiguration] = None) -> Optional[CallRecordingCollectionResponse]: + async def get(self,request_configuration: Optional[TownhallsRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventTownhallCollectionResponse]: """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. + Get townhalls from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[CallRecordingCollectionResponse] + Returns: Optional[VirtualEventTownhallCollectionResponse] """ 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, ParsableFactory] = { "4XX": ODataError, @@ -61,23 +62,50 @@ async def get(self,request_configuration: Optional[RecordingsRequestBuilderGetRe } if not self.request_adapter: raise Exception("Http core is null") - from ........models.call_recording_collection_response import CallRecordingCollectionResponse + from ....models.virtual_event_townhall_collection_response import VirtualEventTownhallCollectionResponse - return await self.request_adapter.send_async(request_info, CallRecordingCollectionResponse, error_mapping) + return await self.request_adapter.send_async(request_info, VirtualEventTownhallCollectionResponse, error_mapping) - async def post(self,body: Optional[CallRecording] = None, request_configuration: Optional[RecordingsRequestBuilderPostRequestConfiguration] = None) -> Optional[CallRecording]: + def get_by_user_id_and_role_with_user_id_with_role(self,role: Optional[str] = None, user_id: Optional[str] = None) -> GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder: """ - Create new navigation property to recordings for solutions + Provides operations to call the getByUserIdAndRole method. + param role: Usage: role='{role}' + param user_id: Usage: userId='{userId}' + Returns: GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder + """ + if not role: + raise TypeError("role cannot be null.") + if not user_id: + raise TypeError("user_id cannot be null.") + from .get_by_user_id_and_role_with_user_id_with_role.get_by_user_id_and_role_with_user_id_with_role_request_builder import GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder + + return GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder(self.request_adapter, self.path_parameters, role, user_id) + + def get_by_user_role_with_role(self,role: Optional[str] = None) -> GetByUserRoleWithRoleRequestBuilder: + """ + Provides operations to call the getByUserRole method. + param role: Usage: role='{role}' + Returns: GetByUserRoleWithRoleRequestBuilder + """ + if not role: + raise TypeError("role cannot be null.") + from .get_by_user_role_with_role.get_by_user_role_with_role_request_builder import GetByUserRoleWithRoleRequestBuilder + + return GetByUserRoleWithRoleRequestBuilder(self.request_adapter, self.path_parameters, role) + + async def post(self,body: Optional[VirtualEventTownhall] = None, request_configuration: Optional[TownhallsRequestBuilderPostRequestConfiguration] = None) -> Optional[VirtualEventTownhall]: + """ + Create new navigation property to townhalls for solutions param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[CallRecording] + Returns: Optional[VirtualEventTownhall] """ if not body: 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 + from ....models.o_data_errors.o_data_error import ODataError error_mapping: Dict[str, ParsableFactory] = { "4XX": ODataError, @@ -85,13 +113,13 @@ async def post(self,body: Optional[CallRecording] = None, request_configuration: } if not self.request_adapter: raise Exception("Http core is null") - from ........models.call_recording import CallRecording + from ....models.virtual_event_townhall import VirtualEventTownhall - return await self.request_adapter.send_async(request_info, CallRecording, error_mapping) + return await self.request_adapter.send_async(request_info, VirtualEventTownhall, error_mapping) - def to_get_request_information(self,request_configuration: Optional[RecordingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + def to_get_request_information(self,request_configuration: Optional[TownhallsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. + Get townhalls from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +131,12 @@ def to_get_request_information(self,request_configuration: Optional[RecordingsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info - def to_post_request_information(self,body: Optional[CallRecording] = None, request_configuration: Optional[RecordingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + def to_post_request_information(self,body: Optional[VirtualEventTownhall] = None, request_configuration: Optional[TownhallsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create new navigation property to recordings for solutions + Create new navigation property to townhalls for solutions param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,19 +150,19 @@ def to_post_request_information(self,body: Optional[CallRecording] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + 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: Optional[str] = None) -> RecordingsRequestBuilder: + def with_url(self,raw_url: Optional[str] = None) -> TownhallsRequestBuilder: """ 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: RecordingsRequestBuilder + Returns: TownhallsRequestBuilder """ if not raw_url: raise TypeError("raw_url cannot be null.") - return RecordingsRequestBuilder(self.request_adapter, raw_url) + return TownhallsRequestBuilder(self.request_adapter, raw_url) @property def count(self) -> CountRequestBuilder: @@ -145,19 +173,10 @@ def count(self) -> CountRequestBuilder: return CountRequestBuilder(self.request_adapter, self.path_parameters) - @property - def delta(self) -> DeltaRequestBuilder: - """ - Provides operations to call the delta method. - """ - from .delta.delta_request_builder import DeltaRequestBuilder - - return DeltaRequestBuilder(self.request_adapter, self.path_parameters) - @dataclass - class RecordingsRequestBuilderGetQueryParameters(): + class TownhallsRequestBuilderGetQueryParameters(): """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. + Get townhalls from solutions """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ @@ -213,20 +232,20 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class RecordingsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + class TownhallsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ Configuration for the request such as headers, query parameters, and middleware options. """ # Request query parameters - query_parameters: Optional[RecordingsRequestBuilder.RecordingsRequestBuilderGetQueryParameters] = None + query_parameters: Optional[TownhallsRequestBuilder.TownhallsRequestBuilderGetQueryParameters] = None from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class RecordingsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + class TownhallsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ 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 37c3cab3799..eb382c825d3 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 @@ -13,6 +13,7 @@ from ...models.o_data_errors.o_data_error import ODataError from ...models.virtual_events_root import VirtualEventsRoot from .events.events_request_builder import EventsRequestBuilder + from .townhalls.townhalls_request_builder import TownhallsRequestBuilder from .webinars.webinars_request_builder import WebinarsRequestBuilder class VirtualEventsRequestBuilder(BaseRequestBuilder): @@ -105,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[VirtualEv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[VirtualEventsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[VirtualEvent request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[VirtualEventsRoot] = None, request_configuration: Optional[VirtualEventsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +142,7 @@ def to_patch_request_information(self,body: Optional[VirtualEventsRoot] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -164,6 +165,15 @@ def events(self) -> EventsRequestBuilder: return EventsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def townhalls(self) -> TownhallsRequestBuilder: + """ + Provides operations to manage the townhalls property of the microsoft.graph.virtualEventsRoot entity. + """ + from .townhalls.townhalls_request_builder import TownhallsRequestBuilder + + return TownhallsRequestBuilder(self.request_adapter, self.path_parameters) + @property def webinars(self) -> WebinarsRequestBuilder: """ 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 b3a32a7fd16..d23726335fa 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 @@ -66,7 +66,7 @@ def to_get_request_information(self,request_configuration: Optional[GetByUserIdA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetByUserIdAndRoleWithUserIdWithRoleRequestBuilder: 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 e7e5a25a709..73c47c2f5b5 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 @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GetByUserRol request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetByUserRoleWithRoleRequestBuilder: diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/recording/recording_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/profile_photo/profile_photo_request_builder.py similarity index 79% rename from msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/recording/recording_request_builder.py rename to msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/profile_photo/profile_photo_request_builder.py index a20ac19720e..d1f34b52923 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/recording/recording_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/profile_photo/profile_photo_request_builder.py @@ -12,22 +12,22 @@ if TYPE_CHECKING: from ........models.o_data_errors.o_data_error import ODataError -class RecordingRequestBuilder(BaseRequestBuilder): +class ProfilePhotoRequestBuilder(BaseRequestBuilder): """ Provides operations to manage the media for the solutionsRoot entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ - Instantiates a new RecordingRequestBuilder and sets the default values. + Instantiates a new ProfilePhotoRequestBuilder 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}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/recording", path_parameters) + super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/presenters/{virtualEventPresenter%2Did}/profilePhoto", path_parameters) - async def get(self,request_configuration: Optional[RecordingRequestBuilderGetRequestConfiguration] = None) -> bytes: + async def get(self,request_configuration: Optional[ProfilePhotoRequestBuilderGetRequestConfiguration] = None) -> bytes: """ - Get recording for the navigation property sessions from solutions + Get profilePhoto for the navigation property presenters from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -44,9 +44,9 @@ async def get(self,request_configuration: Optional[RecordingRequestBuilderGetReq raise Exception("Http core is null") return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - async def put(self,body: bytes, request_configuration: Optional[RecordingRequestBuilderPutRequestConfiguration] = None) -> bytes: + async def put(self,body: bytes, request_configuration: Optional[ProfilePhotoRequestBuilderPutRequestConfiguration] = None) -> bytes: """ - Update recording for the navigation property sessions in solutions + Update profilePhoto for the navigation property presenters in solutions param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes @@ -66,9 +66,9 @@ async def put(self,body: bytes, request_configuration: Optional[RecordingRequest raise Exception("Http core is null") return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - def to_get_request_information(self,request_configuration: Optional[RecordingRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + def to_get_request_information(self,request_configuration: Optional[ProfilePhotoRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get recording for the navigation property sessions from solutions + Get profilePhoto for the navigation property presenters from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,12 +79,12 @@ def to_get_request_information(self,request_configuration: Optional[RecordingReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info - def to_put_request_information(self,body: bytes, request_configuration: Optional[RecordingRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: + def to_put_request_information(self,body: bytes, request_configuration: Optional[ProfilePhotoRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: """ - Update recording for the navigation property sessions in solutions + Update profilePhoto for the navigation property presenters in solutions param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -98,24 +98,24 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info - def with_url(self,raw_url: Optional[str] = None) -> RecordingRequestBuilder: + def with_url(self,raw_url: Optional[str] = None) -> ProfilePhotoRequestBuilder: """ 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: RecordingRequestBuilder + Returns: ProfilePhotoRequestBuilder """ if not raw_url: raise TypeError("raw_url cannot be null.") - return RecordingRequestBuilder(self.request_adapter, raw_url) + return ProfilePhotoRequestBuilder(self.request_adapter, raw_url) from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class RecordingRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + class ProfilePhotoRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ @@ -125,7 +125,7 @@ class RecordingRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class RecordingRequestBuilderPutRequestConfiguration(BaseRequestConfiguration): + class ProfilePhotoRequestBuilderPutRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ 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 new file mode 100644 index 00000000000..cfa33cc75e0 --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/sessions/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/presenters/{virtualEventPresenter%2Did}/sessions/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + 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 new file mode 100644 index 00000000000..9a646ccda69 --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/sessions/item/virtual_event_session_item_request_builder.py @@ -0,0 +1,116 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .........models.o_data_errors.o_data_error import ODataError + from .........models.virtual_event_session import VirtualEventSession + +class VirtualEventSessionItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the sessions property of the microsoft.graph.virtualEventPresenter entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new VirtualEventSessionItemRequestBuilder 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/presenters/{virtualEventPresenter%2Did}/sessions/{virtualEventSession%2Did}{?%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[VirtualEventSessionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventSession]: + """ + Get sessions from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventSession] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.virtual_event_session import VirtualEventSession + + return await self.request_adapter.send_async(request_info, VirtualEventSession, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[VirtualEventSessionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get sessions from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> VirtualEventSessionItemRequestBuilder: + """ + 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: VirtualEventSessionItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return VirtualEventSessionItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class VirtualEventSessionItemRequestBuilderGetQueryParameters(): + """ + Get sessions from solutions + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class VirtualEventSessionItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[VirtualEventSessionItemRequestBuilder.VirtualEventSessionItemRequestBuilderGetQueryParameters] = None + + + 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 new file mode 100644 index 00000000000..b1c75f4392d --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/presenters/item/sessions/sessions_request_builder.py @@ -0,0 +1,171 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.virtual_event_session_collection_response import VirtualEventSessionCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.virtual_event_session_item_request_builder import VirtualEventSessionItemRequestBuilder + +class SessionsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the sessions property of the microsoft.graph.virtualEventPresenter entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new SessionsRequestBuilder 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/presenters/{virtualEventPresenter%2Did}/sessions{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_virtual_event_session_id(self,virtual_event_session_id: str) -> VirtualEventSessionItemRequestBuilder: + """ + Provides operations to manage the sessions property of the microsoft.graph.virtualEventPresenter entity. + param virtual_event_session_id: The unique identifier of virtualEventSession + Returns: VirtualEventSessionItemRequestBuilder + """ + if not virtual_event_session_id: + raise TypeError("virtual_event_session_id cannot be null.") + from .item.virtual_event_session_item_request_builder import VirtualEventSessionItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["virtualEventSession%2Did"] = virtual_event_session_id + return VirtualEventSessionItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[SessionsRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventSessionCollectionResponse]: + """ + Get sessions from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventSessionCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.virtual_event_session_collection_response import VirtualEventSessionCollectionResponse + + return await self.request_adapter.send_async(request_info, VirtualEventSessionCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[SessionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get sessions from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> SessionsRequestBuilder: + """ + 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: SessionsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return SessionsRequestBuilder(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 SessionsRequestBuilderGetQueryParameters(): + """ + Get sessions from solutions + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class SessionsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[SessionsRequestBuilder.SessionsRequestBuilderGetQueryParameters] = None + + + 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 8ce87de8812..16cfae80815 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 @@ -12,6 +12,8 @@ if TYPE_CHECKING: from .......models.o_data_errors.o_data_error import ODataError from .......models.virtual_event_presenter import VirtualEventPresenter + from .profile_photo.profile_photo_request_builder import ProfilePhotoRequestBuilder + from .sessions.sessions_request_builder import SessionsRequestBuilder class VirtualEventPresenterItemRequestBuilder(BaseRequestBuilder): """ @@ -47,7 +49,7 @@ async def delete(self,request_configuration: Optional[VirtualEventPresenterItemR async def get(self,request_configuration: Optional[VirtualEventPresenterItemRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventPresenter]: """ - Presenters' information of the virtual event. + The virtual event presenters. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventPresenter] """ @@ -103,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[VirtualEv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[VirtualEventPresenterItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Presenters' information of the virtual event. + The virtual event presenters. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -120,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[VirtualEvent request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[VirtualEventPresenter] = None, request_configuration: Optional[VirtualEventPresenterItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +141,7 @@ def to_patch_request_information(self,body: Optional[VirtualEventPresenter] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -153,6 +155,24 @@ def with_url(self,raw_url: Optional[str] = None) -> VirtualEventPresenterItemReq raise TypeError("raw_url cannot be null.") return VirtualEventPresenterItemRequestBuilder(self.request_adapter, raw_url) + @property + def profile_photo(self) -> ProfilePhotoRequestBuilder: + """ + Provides operations to manage the media for the solutionsRoot entity. + """ + from .profile_photo.profile_photo_request_builder import ProfilePhotoRequestBuilder + + return ProfilePhotoRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def sessions(self) -> SessionsRequestBuilder: + """ + Provides operations to manage the sessions property of the microsoft.graph.virtualEventPresenter entity. + """ + from .sessions.sessions_request_builder import SessionsRequestBuilder + + return SessionsRequestBuilder(self.request_adapter, self.path_parameters) + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass @@ -166,7 +186,7 @@ class VirtualEventPresenterItemRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class VirtualEventPresenterItemRequestBuilderGetQueryParameters(): """ - Presenters' information of the virtual event. + The virtual event presenters. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 b4780c2909d..c497e023fae 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 @@ -45,7 +45,7 @@ def by_virtual_event_presenter_id(self,virtual_event_presenter_id: str) -> Virtu async def get(self,request_configuration: Optional[PresentersRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventPresenterCollectionResponse]: """ - Presenters' information of the virtual event. + The virtual event presenters. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventPresenterCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[VirtualEventPresenter] = None, request_config def to_get_request_information(self,request_configuration: Optional[PresentersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Presenters' information of the virtual event. + The virtual event presenters. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PresentersRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[VirtualEventPresenter] = None, request_configuration: Optional[PresentersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[VirtualEventPresenter] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PresentersRequestBuilderGetQueryParameters(): """ - Presenters' information of the virtual event. + The virtual event presenters. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 d017d116f6d..2eb28c5c793 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 @@ -11,7 +11,7 @@ if TYPE_CHECKING: from ......models.o_data_errors.o_data_error import ODataError - from ......models.virtual_event_registration_configuration import VirtualEventRegistrationConfiguration + from ......models.virtual_event_webinar_registration_configuration import VirtualEventWebinarRegistrationConfiguration class RegistrationConfigurationRequestBuilder(BaseRequestBuilder): """ @@ -26,11 +26,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni """ super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrationConfiguration{?%24select,%24expand}", path_parameters) - async def get(self,request_configuration: Optional[RegistrationConfigurationRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventRegistrationConfiguration]: + async def get(self,request_configuration: Optional[RegistrationConfigurationRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventWebinarRegistrationConfiguration]: """ - Registration configuration of the webinar. + Get registrationConfiguration from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[VirtualEventRegistrationConfiguration] + Returns: Optional[VirtualEventWebinarRegistrationConfiguration] """ request_info = self.to_get_request_information( request_configuration @@ -43,13 +43,13 @@ async def get(self,request_configuration: Optional[RegistrationConfigurationRequ } if not self.request_adapter: raise Exception("Http core is null") - from ......models.virtual_event_registration_configuration import VirtualEventRegistrationConfiguration + from ......models.virtual_event_webinar_registration_configuration import VirtualEventWebinarRegistrationConfiguration - return await self.request_adapter.send_async(request_info, VirtualEventRegistrationConfiguration, error_mapping) + return await self.request_adapter.send_async(request_info, VirtualEventWebinarRegistrationConfiguration, error_mapping) def to_get_request_information(self,request_configuration: Optional[RegistrationConfigurationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Registration configuration of the webinar. + Get registrationConfiguration from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[Registration request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RegistrationConfigurationRequestBuilder: @@ -77,7 +77,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RegistrationConfigurationReq @dataclass class RegistrationConfigurationRequestBuilderGetQueryParameters(): """ - Registration configuration of the webinar. + Get registrationConfiguration from solutions """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/item/alternative_recording/alternative_recording_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/item/alternative_recording/alternative_recording_request_builder.py deleted file mode 100644 index 71644454f44..00000000000 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/item/alternative_recording/alternative_recording_request_builder.py +++ /dev/null @@ -1,135 +0,0 @@ -from __future__ import annotations -from dataclasses import dataclass, field -from kiota_abstractions.base_request_builder import BaseRequestBuilder -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, Callable, Dict, List, Optional, TYPE_CHECKING, Union - -if TYPE_CHECKING: - from ..........models.o_data_errors.o_data_error import ODataError - -class AlternativeRecordingRequestBuilder(BaseRequestBuilder): - """ - Provides operations to manage the media for the solutionsRoot entity. - """ - def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: - """ - Instantiates a new AlternativeRecordingRequestBuilder 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrations/{virtualEventRegistration%2Did}/sessions/{virtualEventSession%2Did}/alternativeRecording", path_parameters) - - async def get(self,request_configuration: Optional[AlternativeRecordingRequestBuilderGetRequestConfiguration] = None) -> bytes: - """ - Get alternativeRecording for the navigation property sessions from solutions - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: bytes - """ - request_info = self.to_get_request_information( - request_configuration - ) - from ..........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - - async def put(self,body: bytes, request_configuration: Optional[AlternativeRecordingRequestBuilderPutRequestConfiguration] = None) -> bytes: - """ - Update alternativeRecording for the navigation property sessions in solutions - param body: Binary request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: bytes - """ - if not body: - raise TypeError("body cannot be null.") - request_info = self.to_put_request_information( - body, request_configuration - ) - from ..........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - - def to_get_request_information(self,request_configuration: Optional[AlternativeRecordingRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: - """ - Get alternativeRecording for the navigation property sessions from solutions - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") - return request_info - - def to_put_request_information(self,body: bytes, request_configuration: Optional[AlternativeRecordingRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: - """ - Update alternativeRecording for the navigation property sessions in solutions - param body: Binary request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if not body: - raise TypeError("body cannot be null.") - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") - request_info.set_stream_content(body, "application/octet-stream") - return request_info - - def with_url(self,raw_url: Optional[str] = None) -> AlternativeRecordingRequestBuilder: - """ - 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: AlternativeRecordingRequestBuilder - """ - if not raw_url: - raise TypeError("raw_url cannot be null.") - return AlternativeRecordingRequestBuilder(self.request_adapter, raw_url) - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class AlternativeRecordingRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class AlternativeRecordingRequestBuilderPutRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/item/broadcast_recording/broadcast_recording_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/item/broadcast_recording/broadcast_recording_request_builder.py deleted file mode 100644 index 06a82a66535..00000000000 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/registrations/item/sessions/item/broadcast_recording/broadcast_recording_request_builder.py +++ /dev/null @@ -1,135 +0,0 @@ -from __future__ import annotations -from dataclasses import dataclass, field -from kiota_abstractions.base_request_builder import BaseRequestBuilder -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, Callable, Dict, List, Optional, TYPE_CHECKING, Union - -if TYPE_CHECKING: - from ..........models.o_data_errors.o_data_error import ODataError - -class BroadcastRecordingRequestBuilder(BaseRequestBuilder): - """ - Provides operations to manage the media for the solutionsRoot entity. - """ - def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: - """ - Instantiates a new BroadcastRecordingRequestBuilder 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/registrations/{virtualEventRegistration%2Did}/sessions/{virtualEventSession%2Did}/broadcastRecording", path_parameters) - - async def get(self,request_configuration: Optional[BroadcastRecordingRequestBuilderGetRequestConfiguration] = None) -> bytes: - """ - Get broadcastRecording for the navigation property sessions from solutions - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: bytes - """ - request_info = self.to_get_request_information( - request_configuration - ) - from ..........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - - async def put(self,body: bytes, request_configuration: Optional[BroadcastRecordingRequestBuilderPutRequestConfiguration] = None) -> bytes: - """ - Update broadcastRecording for the navigation property sessions in solutions - param body: Binary request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: bytes - """ - if not body: - raise TypeError("body cannot be null.") - request_info = self.to_put_request_information( - body, request_configuration - ) - from ..........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - - def to_get_request_information(self,request_configuration: Optional[BroadcastRecordingRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: - """ - Get broadcastRecording for the navigation property sessions from solutions - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") - return request_info - - def to_put_request_information(self,body: bytes, request_configuration: Optional[BroadcastRecordingRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: - """ - Update broadcastRecording for the navigation property sessions in solutions - param body: Binary request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if not body: - raise TypeError("body cannot be null.") - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") - request_info.set_stream_content(body, "application/octet-stream") - return request_info - - def with_url(self,raw_url: Optional[str] = None) -> BroadcastRecordingRequestBuilder: - """ - 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: BroadcastRecordingRequestBuilder - """ - if not raw_url: - raise TypeError("raw_url cannot be null.") - return BroadcastRecordingRequestBuilder(self.request_adapter, raw_url) - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class BroadcastRecordingRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class BroadcastRecordingRequestBuilderPutRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - 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 5b080b5b8df..a7aa2c5ceec 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 @@ -12,10 +12,6 @@ if TYPE_CHECKING: from .........models.o_data_errors.o_data_error import ODataError from .........models.virtual_event_session import VirtualEventSession - from .alternative_recording.alternative_recording_request_builder import AlternativeRecordingRequestBuilder - from .attendee_report.attendee_report_request_builder import AttendeeReportRequestBuilder - from .broadcast_recording.broadcast_recording_request_builder import BroadcastRecordingRequestBuilder - from .recording.recording_request_builder import RecordingRequestBuilder class VirtualEventSessionItemRequestBuilder(BaseRequestBuilder): """ @@ -32,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[VirtualEventSessionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventSession]: """ - Sessions of the webinar. + Get sessions from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSession] """ @@ -53,7 +49,7 @@ async def get(self,request_configuration: Optional[VirtualEventSessionItemReques def to_get_request_information(self,request_configuration: Optional[VirtualEventSessionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Sessions of the webinar. + Get sessions from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -65,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[VirtualEvent request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> VirtualEventSessionItemRequestBuilder: @@ -78,46 +74,10 @@ def with_url(self,raw_url: Optional[str] = None) -> VirtualEventSessionItemReque raise TypeError("raw_url cannot be null.") return VirtualEventSessionItemRequestBuilder(self.request_adapter, raw_url) - @property - def alternative_recording(self) -> AlternativeRecordingRequestBuilder: - """ - Provides operations to manage the media for the solutionsRoot entity. - """ - from .alternative_recording.alternative_recording_request_builder import AlternativeRecordingRequestBuilder - - return AlternativeRecordingRequestBuilder(self.request_adapter, self.path_parameters) - - @property - def attendee_report(self) -> AttendeeReportRequestBuilder: - """ - Provides operations to manage the media for the solutionsRoot entity. - """ - from .attendee_report.attendee_report_request_builder import AttendeeReportRequestBuilder - - return AttendeeReportRequestBuilder(self.request_adapter, self.path_parameters) - - @property - def broadcast_recording(self) -> BroadcastRecordingRequestBuilder: - """ - Provides operations to manage the media for the solutionsRoot entity. - """ - from .broadcast_recording.broadcast_recording_request_builder import BroadcastRecordingRequestBuilder - - return BroadcastRecordingRequestBuilder(self.request_adapter, self.path_parameters) - - @property - def recording(self) -> RecordingRequestBuilder: - """ - Provides operations to manage the media for the solutionsRoot entity. - """ - from .recording.recording_request_builder import RecordingRequestBuilder - - return RecordingRequestBuilder(self.request_adapter, self.path_parameters) - @dataclass class VirtualEventSessionItemRequestBuilderGetQueryParameters(): """ - Sessions of the webinar. + Get sessions from solutions """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 328879d52ae..5aa2a00f3d9 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 @@ -44,7 +44,7 @@ def by_virtual_event_session_id(self,virtual_event_session_id: str) -> VirtualEv async def get(self,request_configuration: Optional[SessionsRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventSessionCollectionResponse]: """ - Sessions of the webinar. + Get sessions from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSessionCollectionResponse] """ @@ -65,7 +65,7 @@ async def get(self,request_configuration: Optional[SessionsRequestBuilderGetRequ def to_get_request_information(self,request_configuration: Optional[SessionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Sessions of the webinar. + Get sessions from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[SessionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SessionsRequestBuilder: @@ -102,7 +102,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SessionsRequestBuilderGetQueryParameters(): """ - Sessions of the webinar. + Get sessions from solutions """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 28c3802b6f8..f909cc48cc7 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 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[VirtualEventRegistrationIt async def get(self,request_configuration: Optional[VirtualEventRegistrationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventRegistration]: """ - Get the properties and relationships of a virtualEventRegistration object. This API is available in the following national cloud deployments. + Get the properties and relationships of a virtualEventRegistration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistration] Find more info here: https://learn.microsoft.com/graph/api/virtualeventregistration-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[VirtualEv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[VirtualEventRegistrationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a virtualEventRegistration object. This API is available in the following national cloud deployments. + Get the properties and relationships of a virtualEventRegistration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[VirtualEvent request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[VirtualEventRegistration] = None, request_configuration: Optional[VirtualEventRegistrationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[VirtualEventRegistration] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class VirtualEventRegistrationItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class VirtualEventRegistrationItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a virtualEventRegistration object. This API is available in the following national cloud deployments. + Get the properties and relationships of a virtualEventRegistration object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 d6cf68e99d5..9d7697a75b4 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 @@ -45,7 +45,7 @@ def by_virtual_event_registration_id(self,virtual_event_registration_id: str) -> async def get(self,request_configuration: Optional[RegistrationsRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventRegistrationCollectionResponse]: """ - Get a list of all registration records of a webinar. This API is available in the following national cloud deployments. + Get a list of all registration records of a webinar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistrationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/virtualeventregistration-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[VirtualEventRegistration] = None, request_con def to_get_request_information(self,request_configuration: Optional[RegistrationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of all registration records of a webinar. This API is available in the following national cloud deployments. + Get a list of all registration records of a webinar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[Registration request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[VirtualEventRegistration] = None, request_configuration: Optional[RegistrationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[VirtualEventRegistration] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RegistrationsRequestBuilderGetQueryParameters(): """ - Get a list of all registration records of a webinar. This API is available in the following national cloud deployments. + Get a list of all registration records of a webinar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/alternative_recording/alternative_recording_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/alternative_recording/alternative_recording_request_builder.py deleted file mode 100644 index 510b6b6b2cb..00000000000 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/alternative_recording/alternative_recording_request_builder.py +++ /dev/null @@ -1,135 +0,0 @@ -from __future__ import annotations -from dataclasses import dataclass, field -from kiota_abstractions.base_request_builder import BaseRequestBuilder -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, Callable, Dict, List, Optional, TYPE_CHECKING, Union - -if TYPE_CHECKING: - from ........models.o_data_errors.o_data_error import ODataError - -class AlternativeRecordingRequestBuilder(BaseRequestBuilder): - """ - Provides operations to manage the media for the solutionsRoot entity. - """ - def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: - """ - Instantiates a new AlternativeRecordingRequestBuilder 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/alternativeRecording", path_parameters) - - async def get(self,request_configuration: Optional[AlternativeRecordingRequestBuilderGetRequestConfiguration] = None) -> bytes: - """ - Get alternativeRecording for the navigation property sessions from solutions - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: bytes - """ - request_info = self.to_get_request_information( - request_configuration - ) - from ........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - - async def put(self,body: bytes, request_configuration: Optional[AlternativeRecordingRequestBuilderPutRequestConfiguration] = None) -> bytes: - """ - Update alternativeRecording for the navigation property sessions in solutions - param body: Binary request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: bytes - """ - if not body: - raise TypeError("body cannot be null.") - request_info = self.to_put_request_information( - body, request_configuration - ) - from ........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - - def to_get_request_information(self,request_configuration: Optional[AlternativeRecordingRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: - """ - Get alternativeRecording for the navigation property sessions from solutions - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") - return request_info - - def to_put_request_information(self,body: bytes, request_configuration: Optional[AlternativeRecordingRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: - """ - Update alternativeRecording for the navigation property sessions in solutions - param body: Binary request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if not body: - raise TypeError("body cannot be null.") - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") - request_info.set_stream_content(body, "application/octet-stream") - return request_info - - def with_url(self,raw_url: Optional[str] = None) -> AlternativeRecordingRequestBuilder: - """ - 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: AlternativeRecordingRequestBuilder - """ - if not raw_url: - raise TypeError("raw_url cannot be null.") - return AlternativeRecordingRequestBuilder(self.request_adapter, raw_url) - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class AlternativeRecordingRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class AlternativeRecordingRequestBuilderPutRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - 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 3dbc98034ec..4fdcd4cf18b 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 @@ -18,7 +18,7 @@ class AttendanceReportsRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_meeting_attendance_report_id(self,meeting_attendance_report_id: str) -> MeetingAttendanceReportItemRequestBuilder: """ - Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. param meeting_attendance_report_id: The unique identifier of meetingAttendanceReport Returns: MeetingAttendanceReportItemRequestBuilder """ @@ -45,10 +45,9 @@ def by_meeting_attendance_report_id(self,meeting_attendance_report_id: str) -> M async def get(self,request_configuration: Optional[AttendanceReportsRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingAttendanceReportCollectionResponse]: """ - Get a list of meetingAttendanceReport objects for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingAttendanceReportCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/meetingattendancereport-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -91,7 +90,7 @@ async def post(self,body: Optional[MeetingAttendanceReport] = None, request_conf def to_get_request_information(self,request_configuration: Optional[AttendanceReportsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of meetingAttendanceReport objects for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AttendanceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MeetingAttendanceReport] = None, request_configuration: Optional[AttendanceReportsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +121,7 @@ def to_post_request_information(self,body: Optional[MeetingAttendanceReport] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AttendanceReportsRequestBuilderGetQueryParameters(): """ - Get a list of meetingAttendanceReport objects for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 89a23128f7e..77dd7be2117 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 @@ -45,7 +45,7 @@ def by_attendance_record_id(self,attendance_record_id: str) -> AttendanceRecordI async def get(self,request_configuration: Optional[AttendanceRecordsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttendanceRecordCollectionResponse]: """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of attendanceRecord objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttendanceRecordCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/attendancerecord-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AttendanceRecord] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[AttendanceRecordsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of attendanceRecord objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AttendanceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AttendanceRecord] = None, request_configuration: Optional[AttendanceRecordsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AttendanceRecord] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AttendanceRecordsRequestBuilderGetQueryParameters(): """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of attendanceRecord objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 6fd28a0ebf1..e7a91683813 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Attendanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttendanceRecordItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AttendanceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AttendanceRecord] = None, request_configuration: Optional[AttendanceRecordItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AttendanceRecord] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 a6bd9b75cf0..cddf8c8bea8 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 @@ -16,7 +16,7 @@ class MeetingAttendanceReportItemRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ @@ -48,10 +48,9 @@ async def delete(self,request_configuration: Optional[MeetingAttendanceReportIte async def get(self,request_configuration: Optional[MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingAttendanceReport]: """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingAttendanceReport] - Find more info here: https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -105,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[MeetingAt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[MeetingAtten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MeetingAttendanceReport] = None, request_configuration: Optional[MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +140,7 @@ def to_patch_request_information(self,body: Optional[MeetingAttendanceReport] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +176,7 @@ class MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration(BaseRe @dataclass class MeetingAttendanceReportItemRequestBuilderGetQueryParameters(): """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendee_report/attendee_report_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendee_report/attendee_report_request_builder.py deleted file mode 100644 index 8dc571e15c1..00000000000 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/attendee_report/attendee_report_request_builder.py +++ /dev/null @@ -1,135 +0,0 @@ -from __future__ import annotations -from dataclasses import dataclass, field -from kiota_abstractions.base_request_builder import BaseRequestBuilder -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, Callable, Dict, List, Optional, TYPE_CHECKING, Union - -if TYPE_CHECKING: - from ........models.o_data_errors.o_data_error import ODataError - -class AttendeeReportRequestBuilder(BaseRequestBuilder): - """ - Provides operations to manage the media for the solutionsRoot entity. - """ - def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: - """ - Instantiates a new AttendeeReportRequestBuilder 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/attendeeReport", path_parameters) - - async def get(self,request_configuration: Optional[AttendeeReportRequestBuilderGetRequestConfiguration] = None) -> bytes: - """ - Get attendeeReport for the navigation property sessions from solutions - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: bytes - """ - request_info = self.to_get_request_information( - request_configuration - ) - from ........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - - async def put(self,body: bytes, request_configuration: Optional[AttendeeReportRequestBuilderPutRequestConfiguration] = None) -> bytes: - """ - Update attendeeReport for the navigation property sessions in solutions - param body: Binary request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: bytes - """ - if not body: - raise TypeError("body cannot be null.") - request_info = self.to_put_request_information( - body, request_configuration - ) - from ........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - - def to_get_request_information(self,request_configuration: Optional[AttendeeReportRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: - """ - Get attendeeReport for the navigation property sessions from solutions - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") - return request_info - - def to_put_request_information(self,body: bytes, request_configuration: Optional[AttendeeReportRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: - """ - Update attendeeReport for the navigation property sessions in solutions - param body: Binary request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if not body: - raise TypeError("body cannot be null.") - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") - request_info.set_stream_content(body, "application/octet-stream") - return request_info - - def with_url(self,raw_url: Optional[str] = None) -> AttendeeReportRequestBuilder: - """ - 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: AttendeeReportRequestBuilder - """ - if not raw_url: - raise TypeError("raw_url cannot be null.") - return AttendeeReportRequestBuilder(self.request_adapter, raw_url) - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class AttendeeReportRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class AttendeeReportRequestBuilderPutRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/broadcast_recording/broadcast_recording_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/broadcast_recording/broadcast_recording_request_builder.py deleted file mode 100644 index 07bc1321440..00000000000 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/broadcast_recording/broadcast_recording_request_builder.py +++ /dev/null @@ -1,135 +0,0 @@ -from __future__ import annotations -from dataclasses import dataclass, field -from kiota_abstractions.base_request_builder import BaseRequestBuilder -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, Callable, Dict, List, Optional, TYPE_CHECKING, Union - -if TYPE_CHECKING: - from ........models.o_data_errors.o_data_error import ODataError - -class BroadcastRecordingRequestBuilder(BaseRequestBuilder): - """ - Provides operations to manage the media for the solutionsRoot entity. - """ - def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: - """ - Instantiates a new BroadcastRecordingRequestBuilder 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/broadcastRecording", path_parameters) - - async def get(self,request_configuration: Optional[BroadcastRecordingRequestBuilderGetRequestConfiguration] = None) -> bytes: - """ - Get broadcastRecording for the navigation property sessions from solutions - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: bytes - """ - request_info = self.to_get_request_information( - request_configuration - ) - from ........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - - async def put(self,body: bytes, request_configuration: Optional[BroadcastRecordingRequestBuilderPutRequestConfiguration] = None) -> bytes: - """ - Update broadcastRecording for the navigation property sessions in solutions - param body: Binary request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: bytes - """ - if not body: - raise TypeError("body cannot be null.") - request_info = self.to_put_request_information( - body, request_configuration - ) - from ........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - - def to_get_request_information(self,request_configuration: Optional[BroadcastRecordingRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: - """ - Get broadcastRecording for the navigation property sessions from solutions - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") - return request_info - - def to_put_request_information(self,body: bytes, request_configuration: Optional[BroadcastRecordingRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: - """ - Update broadcastRecording for the navigation property sessions in solutions - param body: Binary request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if not body: - raise TypeError("body cannot be null.") - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") - request_info.set_stream_content(body, "application/octet-stream") - return request_info - - def with_url(self,raw_url: Optional[str] = None) -> BroadcastRecordingRequestBuilder: - """ - 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: BroadcastRecordingRequestBuilder - """ - if not raw_url: - raise TypeError("raw_url cannot be null.") - return BroadcastRecordingRequestBuilder(self.request_adapter, raw_url) - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class BroadcastRecordingRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class BroadcastRecordingRequestBuilderPutRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/meeting_attendance_report/attendance_records/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/meeting_attendance_report/attendance_records/count/count_request_builder.py deleted file mode 100644 index 91b68e4d7ca..00000000000 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/meeting_attendance_report/attendance_records/count/count_request_builder.py +++ /dev/null @@ -1,113 +0,0 @@ -from __future__ import annotations -from dataclasses import dataclass, field -from kiota_abstractions.base_request_builder import BaseRequestBuilder -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, Callable, Dict, List, Optional, TYPE_CHECKING, Union - -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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/meetingAttendanceReport/attendanceRecords/$count{?%24search,%24filter}", path_parameters) - - async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] - """ - request_info = self.to_get_request_information( - request_configuration - ) - from ..........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 - """ - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "text/plain;q=0.9") - return request_info - - def with_url(self,raw_url: Optional[str] = None) -> 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 - """ - if not raw_url: - 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: Optional[str] = None) -> 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 not original_name: - 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 - - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - # Request query parameters - query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None - - - diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/recordings/count/count_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/presenters/count/count_request_builder.py similarity index 98% rename from msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/recordings/count/count_request_builder.py rename to msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/presenters/count/count_request_builder.py index 6e26f5ec693..4b010fd6748 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/recordings/count/count_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/presenters/count/count_request_builder.py @@ -23,7 +23,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/recordings/$count{?%24search,%24filter}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/presenters/$count{?%24search,%24filter}", path_parameters) async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = None) -> Optional[int]: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/recordings/item/content/content_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/presenters/item/profile_photo/profile_photo_request_builder.py similarity index 78% rename from msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/recordings/item/content/content_request_builder.py rename to msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/presenters/item/profile_photo/profile_photo_request_builder.py index a16ae26c663..25e586962f8 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/recordings/item/content/content_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/presenters/item/profile_photo/profile_photo_request_builder.py @@ -10,25 +10,24 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ..........models.call_recording import CallRecording from ..........models.o_data_errors.o_data_error import ODataError -class ContentRequestBuilder(BaseRequestBuilder): +class ProfilePhotoRequestBuilder(BaseRequestBuilder): """ Provides operations to manage the media for the solutionsRoot entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ - Instantiates a new ContentRequestBuilder and sets the default values. + Instantiates a new ProfilePhotoRequestBuilder 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/recordings/{callRecording%2Did}/content", path_parameters) + super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/presenters/{virtualEventPresenter%2Did}/profilePhoto", path_parameters) - async def get(self,request_configuration: Optional[ContentRequestBuilderGetRequestConfiguration] = None) -> bytes: + async def get(self,request_configuration: Optional[ProfilePhotoRequestBuilderGetRequestConfiguration] = None) -> bytes: """ - The content of the recording. Read-only. + Get profilePhoto for the navigation property presenters from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: bytes """ @@ -45,12 +44,12 @@ async def get(self,request_configuration: Optional[ContentRequestBuilderGetReque raise Exception("Http core is null") return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - async def put(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> Optional[CallRecording]: + async def put(self,body: bytes, request_configuration: Optional[ProfilePhotoRequestBuilderPutRequestConfiguration] = None) -> bytes: """ - The content of the recording. Read-only. + Update profilePhoto for the navigation property presenters in solutions param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[CallRecording] + Returns: bytes """ if not body: raise TypeError("body cannot be null.") @@ -65,13 +64,11 @@ async def put(self,body: bytes, request_configuration: Optional[ContentRequestBu } if not self.request_adapter: raise Exception("Http core is null") - from ..........models.call_recording import CallRecording - - return await self.request_adapter.send_async(request_info, CallRecording, error_mapping) + return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - def to_get_request_information(self,request_configuration: Optional[ContentRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + def to_get_request_information(self,request_configuration: Optional[ProfilePhotoRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - The content of the recording. Read-only. + Get profilePhoto for the navigation property presenters from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -82,12 +79,12 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info - def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: + def to_put_request_information(self,body: bytes, request_configuration: Optional[ProfilePhotoRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: """ - The content of the recording. Read-only. + Update profilePhoto for the navigation property presenters in solutions param body: Binary request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -101,24 +98,24 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info - def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: + def with_url(self,raw_url: Optional[str] = None) -> ProfilePhotoRequestBuilder: """ 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: ContentRequestBuilder + Returns: ProfilePhotoRequestBuilder """ if not raw_url: raise TypeError("raw_url cannot be null.") - return ContentRequestBuilder(self.request_adapter, raw_url) + return ProfilePhotoRequestBuilder(self.request_adapter, raw_url) from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class ContentRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + class ProfilePhotoRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ @@ -128,7 +125,7 @@ class ContentRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class ContentRequestBuilderPutRequestConfiguration(BaseRequestConfiguration): + class ProfilePhotoRequestBuilderPutRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ 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 new file mode 100644 index 00000000000..4f99f61b633 --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/presenters/item/virtual_event_presenter_item_request_builder.py @@ -0,0 +1,126 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .........models.o_data_errors.o_data_error import ODataError + from .........models.virtual_event_presenter import VirtualEventPresenter + from .profile_photo.profile_photo_request_builder import ProfilePhotoRequestBuilder + +class VirtualEventPresenterItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the presenters property of the microsoft.graph.virtualEventSession entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new VirtualEventPresenterItemRequestBuilder 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/presenters/{virtualEventPresenter%2Did}{?%24select,%24expand}", path_parameters) + + async def get(self,request_configuration: Optional[VirtualEventPresenterItemRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventPresenter]: + """ + Get presenters from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventPresenter] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.virtual_event_presenter import VirtualEventPresenter + + return await self.request_adapter.send_async(request_info, VirtualEventPresenter, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[VirtualEventPresenterItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get presenters from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> VirtualEventPresenterItemRequestBuilder: + """ + 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: VirtualEventPresenterItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return VirtualEventPresenterItemRequestBuilder(self.request_adapter, raw_url) + + @property + def profile_photo(self) -> ProfilePhotoRequestBuilder: + """ + Provides operations to manage the media for the solutionsRoot entity. + """ + from .profile_photo.profile_photo_request_builder import ProfilePhotoRequestBuilder + + return ProfilePhotoRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class VirtualEventPresenterItemRequestBuilderGetQueryParameters(): + """ + Get presenters from solutions + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class VirtualEventPresenterItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[VirtualEventPresenterItemRequestBuilder.VirtualEventPresenterItemRequestBuilderGetQueryParameters] = None + + + 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 new file mode 100644 index 00000000000..b7d5480927d --- /dev/null +++ b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/presenters/presenters_request_builder.py @@ -0,0 +1,171 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ........models.o_data_errors.o_data_error import ODataError + from ........models.virtual_event_presenter_collection_response import VirtualEventPresenterCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.virtual_event_presenter_item_request_builder import VirtualEventPresenterItemRequestBuilder + +class PresentersRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the presenters property of the microsoft.graph.virtualEventSession entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new PresentersRequestBuilder 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/presenters{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_virtual_event_presenter_id(self,virtual_event_presenter_id: str) -> VirtualEventPresenterItemRequestBuilder: + """ + Provides operations to manage the presenters property of the microsoft.graph.virtualEventSession entity. + param virtual_event_presenter_id: The unique identifier of virtualEventPresenter + Returns: VirtualEventPresenterItemRequestBuilder + """ + if not virtual_event_presenter_id: + raise TypeError("virtual_event_presenter_id cannot be null.") + from .item.virtual_event_presenter_item_request_builder import VirtualEventPresenterItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["virtualEventPresenter%2Did"] = virtual_event_presenter_id + return VirtualEventPresenterItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[PresentersRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventPresenterCollectionResponse]: + """ + Get presenters from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[VirtualEventPresenterCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ........models.virtual_event_presenter_collection_response import VirtualEventPresenterCollectionResponse + + return await self.request_adapter.send_async(request_info, VirtualEventPresenterCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[PresentersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Get presenters from solutions + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> PresentersRequestBuilder: + """ + 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: PresentersRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return PresentersRequestBuilder(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 PresentersRequestBuilderGetQueryParameters(): + """ + Get presenters from solutions + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class PresentersRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[PresentersRequestBuilder.PresentersRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/recordings/recordings_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/recordings/recordings_request_builder.py deleted file mode 100644 index 9856568eaeb..00000000000 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/recordings/recordings_request_builder.py +++ /dev/null @@ -1,236 +0,0 @@ -from __future__ import annotations -from dataclasses import dataclass, field -from kiota_abstractions.base_request_builder import BaseRequestBuilder -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, Callable, Dict, List, Optional, TYPE_CHECKING, Union - -if TYPE_CHECKING: - from ........models.call_recording import CallRecording - from ........models.call_recording_collection_response import CallRecordingCollectionResponse - from ........models.o_data_errors.o_data_error import ODataError - from .count.count_request_builder import CountRequestBuilder - from .delta.delta_request_builder import DeltaRequestBuilder - from .item.call_recording_item_request_builder import CallRecordingItemRequestBuilder - -class RecordingsRequestBuilder(BaseRequestBuilder): - """ - Provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. - """ - def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: - """ - Instantiates a new RecordingsRequestBuilder 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/recordings{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) - - def by_call_recording_id(self,call_recording_id: str) -> CallRecordingItemRequestBuilder: - """ - Provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. - param call_recording_id: The unique identifier of callRecording - Returns: CallRecordingItemRequestBuilder - """ - if not call_recording_id: - raise TypeError("call_recording_id cannot be null.") - from .item.call_recording_item_request_builder import CallRecordingItemRequestBuilder - - url_tpl_params = get_path_parameters(self.path_parameters) - url_tpl_params["callRecording%2Did"] = call_recording_id - return CallRecordingItemRequestBuilder(self.request_adapter, url_tpl_params) - - async def get(self,request_configuration: Optional[RecordingsRequestBuilderGetRequestConfiguration] = None) -> Optional[CallRecordingCollectionResponse]: - """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[CallRecordingCollectionResponse] - """ - request_info = self.to_get_request_information( - request_configuration - ) - from ........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from ........models.call_recording_collection_response import CallRecordingCollectionResponse - - return await self.request_adapter.send_async(request_info, CallRecordingCollectionResponse, error_mapping) - - async def post(self,body: Optional[CallRecording] = None, request_configuration: Optional[RecordingsRequestBuilderPostRequestConfiguration] = None) -> Optional[CallRecording]: - """ - Create new navigation property to recordings for solutions - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[CallRecording] - """ - if not body: - 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, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from ........models.call_recording import CallRecording - - return await self.request_adapter.send_async(request_info, CallRecording, error_mapping) - - def to_get_request_information(self,request_configuration: Optional[RecordingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: - """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") - return request_info - - def to_post_request_information(self,body: Optional[CallRecording] = None, request_configuration: Optional[RecordingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: - """ - Create new navigation property to recordings for solutions - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if not body: - raise TypeError("body cannot be null.") - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) - return request_info - - def with_url(self,raw_url: Optional[str] = None) -> RecordingsRequestBuilder: - """ - 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: RecordingsRequestBuilder - """ - if not raw_url: - raise TypeError("raw_url cannot be null.") - return RecordingsRequestBuilder(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) - - @property - def delta(self) -> DeltaRequestBuilder: - """ - Provides operations to call the delta method. - """ - from .delta.delta_request_builder import DeltaRequestBuilder - - return DeltaRequestBuilder(self.request_adapter, self.path_parameters) - - @dataclass - class RecordingsRequestBuilderGetQueryParameters(): - """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. - """ - def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: - 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 - - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class RecordingsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - # Request query parameters - query_parameters: Optional[RecordingsRequestBuilder.RecordingsRequestBuilderGetQueryParameters] = None - - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class RecordingsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registration/custom_questions/custom_questions_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registration/custom_questions/custom_questions_request_builder.py deleted file mode 100644 index 89dedb9c763..00000000000 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registration/custom_questions/custom_questions_request_builder.py +++ /dev/null @@ -1,228 +0,0 @@ -from __future__ import annotations -from dataclasses import dataclass, field -from kiota_abstractions.base_request_builder import BaseRequestBuilder -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, Callable, Dict, List, Optional, TYPE_CHECKING, Union - -if TYPE_CHECKING: - from .........models.meeting_registration_question import MeetingRegistrationQuestion - from .........models.meeting_registration_question_collection_response import MeetingRegistrationQuestionCollectionResponse - from .........models.o_data_errors.o_data_error import ODataError - from .count.count_request_builder import CountRequestBuilder - from .item.meeting_registration_question_item_request_builder import MeetingRegistrationQuestionItemRequestBuilder - -class CustomQuestionsRequestBuilder(BaseRequestBuilder): - """ - Provides operations to manage the customQuestions property of the microsoft.graph.meetingRegistration entity. - """ - def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: - """ - Instantiates a new CustomQuestionsRequestBuilder 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/registration/customQuestions{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) - - def by_meeting_registration_question_id(self,meeting_registration_question_id: str) -> MeetingRegistrationQuestionItemRequestBuilder: - """ - Provides operations to manage the customQuestions property of the microsoft.graph.meetingRegistration entity. - param meeting_registration_question_id: The unique identifier of meetingRegistrationQuestion - Returns: MeetingRegistrationQuestionItemRequestBuilder - """ - if not meeting_registration_question_id: - raise TypeError("meeting_registration_question_id cannot be null.") - from .item.meeting_registration_question_item_request_builder import MeetingRegistrationQuestionItemRequestBuilder - - url_tpl_params = get_path_parameters(self.path_parameters) - url_tpl_params["meetingRegistrationQuestion%2Did"] = meeting_registration_question_id - return MeetingRegistrationQuestionItemRequestBuilder(self.request_adapter, url_tpl_params) - - async def get(self,request_configuration: Optional[CustomQuestionsRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingRegistrationQuestionCollectionResponse]: - """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[MeetingRegistrationQuestionCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/meetingregistration-list-customquestions?view=graph-rest-1.0 - """ - request_info = self.to_get_request_information( - request_configuration - ) - from .........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from .........models.meeting_registration_question_collection_response import MeetingRegistrationQuestionCollectionResponse - - return await self.request_adapter.send_async(request_info, MeetingRegistrationQuestionCollectionResponse, error_mapping) - - async def post(self,body: Optional[MeetingRegistrationQuestion] = None, request_configuration: Optional[CustomQuestionsRequestBuilderPostRequestConfiguration] = None) -> Optional[MeetingRegistrationQuestion]: - """ - Create a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[MeetingRegistrationQuestion] - Find more info here: https://learn.microsoft.com/graph/api/meetingregistration-post-customquestions?view=graph-rest-1.0 - """ - if not body: - 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, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from .........models.meeting_registration_question import MeetingRegistrationQuestion - - return await self.request_adapter.send_async(request_info, MeetingRegistrationQuestion, error_mapping) - - def to_get_request_information(self,request_configuration: Optional[CustomQuestionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: - """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") - return request_info - - def to_post_request_information(self,body: Optional[MeetingRegistrationQuestion] = None, request_configuration: Optional[CustomQuestionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: - """ - Create a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if not body: - raise TypeError("body cannot be null.") - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) - return request_info - - def with_url(self,raw_url: Optional[str] = None) -> CustomQuestionsRequestBuilder: - """ - 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: CustomQuestionsRequestBuilder - """ - if not raw_url: - raise TypeError("raw_url cannot be null.") - return CustomQuestionsRequestBuilder(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 CustomQuestionsRequestBuilderGetQueryParameters(): - """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. - """ - def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: - 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 - - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class CustomQuestionsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - # Request query parameters - query_parameters: Optional[CustomQuestionsRequestBuilder.CustomQuestionsRequestBuilderGetQueryParameters] = None - - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class CustomQuestionsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py deleted file mode 100644 index 76c9989bbba..00000000000 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py +++ /dev/null @@ -1,218 +0,0 @@ -from __future__ import annotations -from dataclasses import dataclass, field -from kiota_abstractions.base_request_builder import BaseRequestBuilder -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, Callable, Dict, List, Optional, TYPE_CHECKING, Union - -if TYPE_CHECKING: - from ..........models.meeting_registration_question import MeetingRegistrationQuestion - from ..........models.o_data_errors.o_data_error import ODataError - -class MeetingRegistrationQuestionItemRequestBuilder(BaseRequestBuilder): - """ - Provides operations to manage the customQuestions property of the microsoft.graph.meetingRegistration entity. - """ - def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: - """ - Instantiates a new MeetingRegistrationQuestionItemRequestBuilder 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/registration/customQuestions/{meetingRegistrationQuestion%2Did}{?%24select,%24expand}", path_parameters) - - async def delete(self,request_configuration: Optional[MeetingRegistrationQuestionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: - """ - Delete a custom registration question from a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. - 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/meetingregistrationquestion-delete?view=graph-rest-1.0 - """ - request_info = self.to_delete_request_information( - request_configuration - ) - from ..........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": 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[MeetingRegistrationQuestionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingRegistrationQuestion]: - """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[MeetingRegistrationQuestion] - Find more info here: https://learn.microsoft.com/graph/api/meetingregistrationquestion-get?view=graph-rest-1.0 - """ - request_info = self.to_get_request_information( - request_configuration - ) - from ..........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from ..........models.meeting_registration_question import MeetingRegistrationQuestion - - return await self.request_adapter.send_async(request_info, MeetingRegistrationQuestion, error_mapping) - - async def patch(self,body: Optional[MeetingRegistrationQuestion] = None, request_configuration: Optional[MeetingRegistrationQuestionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[MeetingRegistrationQuestion]: - """ - Update a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[MeetingRegistrationQuestion] - Find more info here: https://learn.microsoft.com/graph/api/meetingregistrationquestion-update?view=graph-rest-1.0 - """ - if not body: - 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, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from ..........models.meeting_registration_question import MeetingRegistrationQuestion - - return await self.request_adapter.send_async(request_info, MeetingRegistrationQuestion, error_mapping) - - def to_delete_request_information(self,request_configuration: Optional[MeetingRegistrationQuestionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: - """ - Delete a custom registration question from a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") - return request_info - - def to_get_request_information(self,request_configuration: Optional[MeetingRegistrationQuestionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: - """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") - return request_info - - def to_patch_request_information(self,body: Optional[MeetingRegistrationQuestion] = None, request_configuration: Optional[MeetingRegistrationQuestionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: - """ - Update a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if not body: - raise TypeError("body cannot be null.") - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) - return request_info - - def with_url(self,raw_url: Optional[str] = None) -> MeetingRegistrationQuestionItemRequestBuilder: - """ - 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: MeetingRegistrationQuestionItemRequestBuilder - """ - if not raw_url: - raise TypeError("raw_url cannot be null.") - return MeetingRegistrationQuestionItemRequestBuilder(self.request_adapter, raw_url) - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class MeetingRegistrationQuestionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - @dataclass - class MeetingRegistrationQuestionItemRequestBuilderGetQueryParameters(): - """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. - """ - def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: - 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 - - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class MeetingRegistrationQuestionItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - # Request query parameters - query_parameters: Optional[MeetingRegistrationQuestionItemRequestBuilder.MeetingRegistrationQuestionItemRequestBuilderGetQueryParameters] = None - - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class MeetingRegistrationQuestionItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registration/registration_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registration/registration_request_builder.py deleted file mode 100644 index f1763467fd9..00000000000 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registration/registration_request_builder.py +++ /dev/null @@ -1,238 +0,0 @@ -from __future__ import annotations -from dataclasses import dataclass, field -from kiota_abstractions.base_request_builder import BaseRequestBuilder -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, Callable, Dict, List, Optional, TYPE_CHECKING, Union - -if TYPE_CHECKING: - from ........models.meeting_registration import MeetingRegistration - from ........models.o_data_errors.o_data_error import ODataError - from .custom_questions.custom_questions_request_builder import CustomQuestionsRequestBuilder - from .registrants.registrants_request_builder import RegistrantsRequestBuilder - -class RegistrationRequestBuilder(BaseRequestBuilder): - """ - Provides operations to manage the registration property of the microsoft.graph.onlineMeeting entity. - """ - def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: - """ - Instantiates a new RegistrationRequestBuilder 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/registration{?%24select,%24expand}", path_parameters) - - async def delete(self,request_configuration: Optional[RegistrationRequestBuilderDeleteRequestConfiguration] = None) -> None: - """ - Disable and delete the externalMeetingRegistration of an onlineMeeting. This API is available in the following national cloud deployments. - 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/externalmeetingregistration-delete?view=graph-rest-1.0 - """ - request_info = self.to_delete_request_information( - request_configuration - ) - from ........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": 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[RegistrationRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingRegistration]: - """ - Get the externalMeetingRegistration details associated with an onlineMeeting. This API is available in the following national cloud deployments. - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[MeetingRegistration] - Find more info here: https://learn.microsoft.com/graph/api/externalmeetingregistration-get?view=graph-rest-1.0 - """ - request_info = self.to_get_request_information( - request_configuration - ) - from ........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from ........models.meeting_registration import MeetingRegistration - - return await self.request_adapter.send_async(request_info, MeetingRegistration, error_mapping) - - async def patch(self,body: Optional[MeetingRegistration] = None, request_configuration: Optional[RegistrationRequestBuilderPatchRequestConfiguration] = None) -> Optional[MeetingRegistration]: - """ - Update the details of a meetingRegistration object assciated with an onlineMeeting on behalf of the organizer. This API is available in the following national cloud deployments. - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[MeetingRegistration] - Find more info here: https://learn.microsoft.com/graph/api/meetingregistration-update?view=graph-rest-1.0 - """ - if not body: - 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, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from ........models.meeting_registration import MeetingRegistration - - return await self.request_adapter.send_async(request_info, MeetingRegistration, error_mapping) - - def to_delete_request_information(self,request_configuration: Optional[RegistrationRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: - """ - Disable and delete the externalMeetingRegistration of an onlineMeeting. This API is available in the following national cloud deployments. - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") - return request_info - - def to_get_request_information(self,request_configuration: Optional[RegistrationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: - """ - Get the externalMeetingRegistration details associated with an onlineMeeting. This API is available in the following national cloud deployments. - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") - return request_info - - def to_patch_request_information(self,body: Optional[MeetingRegistration] = None, request_configuration: Optional[RegistrationRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: - """ - Update the details of a meetingRegistration object assciated with an onlineMeeting on behalf of the organizer. This API is available in the following national cloud deployments. - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if not body: - raise TypeError("body cannot be null.") - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) - return request_info - - def with_url(self,raw_url: Optional[str] = None) -> RegistrationRequestBuilder: - """ - 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: RegistrationRequestBuilder - """ - if not raw_url: - raise TypeError("raw_url cannot be null.") - return RegistrationRequestBuilder(self.request_adapter, raw_url) - - @property - def custom_questions(self) -> CustomQuestionsRequestBuilder: - """ - Provides operations to manage the customQuestions property of the microsoft.graph.meetingRegistration entity. - """ - from .custom_questions.custom_questions_request_builder import CustomQuestionsRequestBuilder - - return CustomQuestionsRequestBuilder(self.request_adapter, self.path_parameters) - - @property - def registrants(self) -> RegistrantsRequestBuilder: - """ - Provides operations to manage the registrants property of the microsoft.graph.meetingRegistrationBase entity. - """ - from .registrants.registrants_request_builder import RegistrantsRequestBuilder - - return RegistrantsRequestBuilder(self.request_adapter, self.path_parameters) - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class RegistrationRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - @dataclass - class RegistrationRequestBuilderGetQueryParameters(): - """ - Get the externalMeetingRegistration details associated with an onlineMeeting. This API is available in the following national cloud deployments. - """ - def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: - 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 - - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class RegistrationRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - # Request query parameters - query_parameters: Optional[RegistrationRequestBuilder.RegistrationRequestBuilderGetQueryParameters] = None - - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class RegistrationRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - 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 ea5cdccd7ac..88c51b853d7 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 @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[VirtualEventRegistrationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventRegistration]: """ - Registration records of this virtual event session. + Get registrations from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistration] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[VirtualEventRegistrationItemR def to_get_request_information(self,request_configuration: Optional[VirtualEventRegistrationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Registration records of this virtual event session. + Get registrations from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[VirtualEvent request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> VirtualEventRegistrationItemRequestBuilder: @@ -77,7 +77,7 @@ def with_url(self,raw_url: Optional[str] = None) -> VirtualEventRegistrationItem @dataclass class VirtualEventRegistrationItemRequestBuilderGetQueryParameters(): """ - Registration records of this virtual event session. + Get registrations from solutions """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 7fdcded2c31..0dc7b8a3774 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 @@ -44,7 +44,7 @@ def by_virtual_event_registration_id(self,virtual_event_registration_id: str) -> async def get(self,request_configuration: Optional[RegistrationsRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventRegistrationCollectionResponse]: """ - Registration records of this virtual event session. + Get registrations from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventRegistrationCollectionResponse] """ @@ -65,7 +65,7 @@ async def get(self,request_configuration: Optional[RegistrationsRequestBuilderGe def to_get_request_information(self,request_configuration: Optional[RegistrationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Registration records of this virtual event session. + Get registrations from solutions param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[Registration request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RegistrationsRequestBuilder: @@ -102,7 +102,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RegistrationsRequestBuilderGetQueryParameters(): """ - Registration records of this virtual event session. + Get registrations from solutions """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/transcripts/item/call_transcript_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/transcripts/item/call_transcript_item_request_builder.py deleted file mode 100644 index 1678966bd72..00000000000 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/transcripts/item/call_transcript_item_request_builder.py +++ /dev/null @@ -1,236 +0,0 @@ -from __future__ import annotations -from dataclasses import dataclass, field -from kiota_abstractions.base_request_builder import BaseRequestBuilder -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, Callable, Dict, List, Optional, TYPE_CHECKING, Union - -if TYPE_CHECKING: - from .........models.call_transcript import CallTranscript - from .........models.o_data_errors.o_data_error import ODataError - from .content.content_request_builder import ContentRequestBuilder - from .metadata_content.metadata_content_request_builder import MetadataContentRequestBuilder - -class CallTranscriptItemRequestBuilder(BaseRequestBuilder): - """ - Provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. - """ - def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: - """ - Instantiates a new CallTranscriptItemRequestBuilder 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/transcripts/{callTranscript%2Did}{?%24select,%24expand}", path_parameters) - - async def delete(self,request_configuration: Optional[CallTranscriptItemRequestBuilderDeleteRequestConfiguration] = None) -> None: - """ - Delete navigation property transcripts for solutions - 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, ParsableFactory] = { - "4XX": ODataError, - "5XX": 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[CallTranscriptItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CallTranscript]: - """ - Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. This API is available in the following national cloud deployments. - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[CallTranscript] - Find more info here: https://learn.microsoft.com/graph/api/calltranscript-get?view=graph-rest-1.0 - """ - request_info = self.to_get_request_information( - request_configuration - ) - from .........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from .........models.call_transcript import CallTranscript - - return await self.request_adapter.send_async(request_info, CallTranscript, error_mapping) - - async def patch(self,body: Optional[CallTranscript] = None, request_configuration: Optional[CallTranscriptItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[CallTranscript]: - """ - Update the navigation property transcripts in solutions - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[CallTranscript] - """ - if not body: - 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, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from .........models.call_transcript import CallTranscript - - return await self.request_adapter.send_async(request_info, CallTranscript, error_mapping) - - def to_delete_request_information(self,request_configuration: Optional[CallTranscriptItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: - """ - Delete navigation property transcripts for solutions - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") - return request_info - - def to_get_request_information(self,request_configuration: Optional[CallTranscriptItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: - """ - Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. This API is available in the following national cloud deployments. - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") - return request_info - - def to_patch_request_information(self,body: Optional[CallTranscript] = None, request_configuration: Optional[CallTranscriptItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: - """ - Update the navigation property transcripts in solutions - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if not body: - raise TypeError("body cannot be null.") - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) - return request_info - - def with_url(self,raw_url: Optional[str] = None) -> CallTranscriptItemRequestBuilder: - """ - 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: CallTranscriptItemRequestBuilder - """ - if not raw_url: - raise TypeError("raw_url cannot be null.") - return CallTranscriptItemRequestBuilder(self.request_adapter, raw_url) - - @property - def content(self) -> ContentRequestBuilder: - """ - Provides operations to manage the media for the solutionsRoot entity. - """ - from .content.content_request_builder import ContentRequestBuilder - - return ContentRequestBuilder(self.request_adapter, self.path_parameters) - - @property - def metadata_content(self) -> MetadataContentRequestBuilder: - """ - Provides operations to manage the media for the solutionsRoot entity. - """ - from .metadata_content.metadata_content_request_builder import MetadataContentRequestBuilder - - return MetadataContentRequestBuilder(self.request_adapter, self.path_parameters) - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class CallTranscriptItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - @dataclass - class CallTranscriptItemRequestBuilderGetQueryParameters(): - """ - Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. This API is available in the following national cloud deployments. - """ - def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: - 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 - - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class CallTranscriptItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - # Request query parameters - query_parameters: Optional[CallTranscriptItemRequestBuilder.CallTranscriptItemRequestBuilderGetQueryParameters] = None - - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class CallTranscriptItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/transcripts/item/content/content_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/transcripts/item/content/content_request_builder.py deleted file mode 100644 index 9d4c9564283..00000000000 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/transcripts/item/content/content_request_builder.py +++ /dev/null @@ -1,139 +0,0 @@ -from __future__ import annotations -from dataclasses import dataclass, field -from kiota_abstractions.base_request_builder import BaseRequestBuilder -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, Callable, Dict, List, Optional, TYPE_CHECKING, Union - -if TYPE_CHECKING: - from ..........models.call_transcript import CallTranscript - from ..........models.o_data_errors.o_data_error import ODataError - -class ContentRequestBuilder(BaseRequestBuilder): - """ - Provides operations to manage the media for the solutionsRoot entity. - """ - def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: - """ - Instantiates a new ContentRequestBuilder 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/transcripts/{callTranscript%2Did}/content", path_parameters) - - async def get(self,request_configuration: Optional[ContentRequestBuilderGetRequestConfiguration] = None) -> bytes: - """ - The content of the transcript. Read-only. - 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/onlinemeeting-list-transcripts?view=graph-rest-1.0 - """ - request_info = self.to_get_request_information( - request_configuration - ) - from ..........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - - async def put(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> Optional[CallTranscript]: - """ - The content of the transcript. Read-only. - param body: Binary request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[CallTranscript] - """ - if not body: - raise TypeError("body cannot be null.") - request_info = self.to_put_request_information( - body, request_configuration - ) - from ..........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from ..........models.call_transcript import CallTranscript - - return await self.request_adapter.send_async(request_info, CallTranscript, error_mapping) - - def to_get_request_information(self,request_configuration: Optional[ContentRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: - """ - The content of the transcript. Read-only. - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") - return request_info - - def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: - """ - The content of the transcript. Read-only. - param body: Binary request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if not body: - raise TypeError("body cannot be null.") - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") - request_info.set_stream_content(body, "application/octet-stream") - return request_info - - def with_url(self,raw_url: Optional[str] = None) -> ContentRequestBuilder: - """ - 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: ContentRequestBuilder - """ - if not raw_url: - raise TypeError("raw_url cannot be null.") - return ContentRequestBuilder(self.request_adapter, raw_url) - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class ContentRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class ContentRequestBuilderPutRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/transcripts/item/metadata_content/metadata_content_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/transcripts/item/metadata_content/metadata_content_request_builder.py deleted file mode 100644 index 748824b4987..00000000000 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/transcripts/item/metadata_content/metadata_content_request_builder.py +++ /dev/null @@ -1,136 +0,0 @@ -from __future__ import annotations -from dataclasses import dataclass, field -from kiota_abstractions.base_request_builder import BaseRequestBuilder -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, Callable, Dict, List, Optional, TYPE_CHECKING, Union - -if TYPE_CHECKING: - from ..........models.o_data_errors.o_data_error import ODataError - -class MetadataContentRequestBuilder(BaseRequestBuilder): - """ - Provides operations to manage the media for the solutionsRoot entity. - """ - def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: - """ - Instantiates a new MetadataContentRequestBuilder 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/transcripts/{callTranscript%2Did}/metadataContent", path_parameters) - - async def get(self,request_configuration: Optional[MetadataContentRequestBuilderGetRequestConfiguration] = None) -> bytes: - """ - The time-aligned metadata of the utterances in the transcript. Read-only. - 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/onlinemeeting-list-transcripts?view=graph-rest-1.0 - """ - request_info = self.to_get_request_information( - request_configuration - ) - from ..........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - - async def put(self,body: bytes, request_configuration: Optional[MetadataContentRequestBuilderPutRequestConfiguration] = None) -> bytes: - """ - The time-aligned metadata of the utterances in the transcript. Read-only. - param body: Binary request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: bytes - """ - if not body: - raise TypeError("body cannot be null.") - request_info = self.to_put_request_information( - body, request_configuration - ) - from ..........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) - - def to_get_request_information(self,request_configuration: Optional[MetadataContentRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: - """ - The time-aligned metadata of the utterances in the transcript. Read-only. - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") - return request_info - - def to_put_request_information(self,body: bytes, request_configuration: Optional[MetadataContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: - """ - The time-aligned metadata of the utterances in the transcript. Read-only. - param body: Binary request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if not body: - raise TypeError("body cannot be null.") - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") - request_info.set_stream_content(body, "application/octet-stream") - return request_info - - def with_url(self,raw_url: Optional[str] = None) -> MetadataContentRequestBuilder: - """ - 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: MetadataContentRequestBuilder - """ - if not raw_url: - raise TypeError("raw_url cannot be null.") - return MetadataContentRequestBuilder(self.request_adapter, raw_url) - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class MetadataContentRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class MetadataContentRequestBuilderPutRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/transcripts/transcripts_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/transcripts/transcripts_request_builder.py deleted file mode 100644 index 0272424a914..00000000000 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/transcripts/transcripts_request_builder.py +++ /dev/null @@ -1,237 +0,0 @@ -from __future__ import annotations -from dataclasses import dataclass, field -from kiota_abstractions.base_request_builder import BaseRequestBuilder -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, Callable, Dict, List, Optional, TYPE_CHECKING, Union - -if TYPE_CHECKING: - from ........models.call_transcript import CallTranscript - from ........models.call_transcript_collection_response import CallTranscriptCollectionResponse - from ........models.o_data_errors.o_data_error import ODataError - from .count.count_request_builder import CountRequestBuilder - from .delta.delta_request_builder import DeltaRequestBuilder - from .item.call_transcript_item_request_builder import CallTranscriptItemRequestBuilder - -class TranscriptsRequestBuilder(BaseRequestBuilder): - """ - Provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. - """ - def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: - """ - Instantiates a new TranscriptsRequestBuilder 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/transcripts{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) - - def by_call_transcript_id(self,call_transcript_id: str) -> CallTranscriptItemRequestBuilder: - """ - Provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. - param call_transcript_id: The unique identifier of callTranscript - Returns: CallTranscriptItemRequestBuilder - """ - if not call_transcript_id: - raise TypeError("call_transcript_id cannot be null.") - from .item.call_transcript_item_request_builder import CallTranscriptItemRequestBuilder - - url_tpl_params = get_path_parameters(self.path_parameters) - url_tpl_params["callTranscript%2Did"] = call_transcript_id - return CallTranscriptItemRequestBuilder(self.request_adapter, url_tpl_params) - - async def get(self,request_configuration: Optional[TranscriptsRequestBuilderGetRequestConfiguration] = None) -> Optional[CallTranscriptCollectionResponse]: - """ - Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. This API is available in the following national cloud deployments. - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[CallTranscriptCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/onlinemeeting-list-transcripts?view=graph-rest-1.0 - """ - request_info = self.to_get_request_information( - request_configuration - ) - from ........models.o_data_errors.o_data_error import ODataError - - error_mapping: Dict[str, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from ........models.call_transcript_collection_response import CallTranscriptCollectionResponse - - return await self.request_adapter.send_async(request_info, CallTranscriptCollectionResponse, error_mapping) - - async def post(self,body: Optional[CallTranscript] = None, request_configuration: Optional[TranscriptsRequestBuilderPostRequestConfiguration] = None) -> Optional[CallTranscript]: - """ - Create new navigation property to transcripts for solutions - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[CallTranscript] - """ - if not body: - 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, ParsableFactory] = { - "4XX": ODataError, - "5XX": ODataError, - } - if not self.request_adapter: - raise Exception("Http core is null") - from ........models.call_transcript import CallTranscript - - return await self.request_adapter.send_async(request_info, CallTranscript, error_mapping) - - def to_get_request_information(self,request_configuration: Optional[TranscriptsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: - """ - Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. This API is available in the following national cloud deployments. - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") - return request_info - - def to_post_request_information(self,body: Optional[CallTranscript] = None, request_configuration: Optional[TranscriptsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: - """ - Create new navigation property to transcripts for solutions - param body: The request body - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - if not body: - raise TypeError("body cannot be null.") - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) - return request_info - - def with_url(self,raw_url: Optional[str] = None) -> TranscriptsRequestBuilder: - """ - 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: TranscriptsRequestBuilder - """ - if not raw_url: - raise TypeError("raw_url cannot be null.") - return TranscriptsRequestBuilder(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) - - @property - def delta(self) -> DeltaRequestBuilder: - """ - Provides operations to call the delta method. - """ - from .delta.delta_request_builder import DeltaRequestBuilder - - return DeltaRequestBuilder(self.request_adapter, self.path_parameters) - - @dataclass - class TranscriptsRequestBuilderGetQueryParameters(): - """ - Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. This API is available in the following national cloud deployments. - """ - def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: - 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 - - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class TranscriptsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - # Request query parameters - query_parameters: Optional[TranscriptsRequestBuilder.TranscriptsRequestBuilderGetQueryParameters] = None - - - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class TranscriptsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - - 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 0649180ffd2..7d5f07f1e49 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 @@ -12,16 +12,9 @@ if TYPE_CHECKING: from .......models.o_data_errors.o_data_error import ODataError from .......models.virtual_event_session import VirtualEventSession - from .alternative_recording.alternative_recording_request_builder import AlternativeRecordingRequestBuilder from .attendance_reports.attendance_reports_request_builder import AttendanceReportsRequestBuilder - from .attendee_report.attendee_report_request_builder import AttendeeReportRequestBuilder - from .broadcast_recording.broadcast_recording_request_builder import BroadcastRecordingRequestBuilder - from .meeting_attendance_report.meeting_attendance_report_request_builder import MeetingAttendanceReportRequestBuilder - from .recording.recording_request_builder import RecordingRequestBuilder - from .recordings.recordings_request_builder import RecordingsRequestBuilder - from .registration.registration_request_builder import RegistrationRequestBuilder + from .presenters.presenters_request_builder import PresentersRequestBuilder from .registrations.registrations_request_builder import RegistrationsRequestBuilder - from .transcripts.transcripts_request_builder import TranscriptsRequestBuilder class VirtualEventSessionItemRequestBuilder(BaseRequestBuilder): """ @@ -57,7 +50,7 @@ async def delete(self,request_configuration: Optional[VirtualEventSessionItemReq async def get(self,request_configuration: Optional[VirtualEventSessionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventSession]: """ - Sessions of the virtual event. + Sessions for the virtual event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSession] """ @@ -113,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[VirtualEv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[VirtualEventSessionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Sessions of the virtual event. + Sessions for the virtual event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -130,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[VirtualEvent request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[VirtualEventSession] = None, request_configuration: Optional[VirtualEventSessionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -149,7 +142,7 @@ def to_patch_request_information(self,body: Optional[VirtualEventSession] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -163,77 +156,23 @@ def with_url(self,raw_url: Optional[str] = None) -> VirtualEventSessionItemReque raise TypeError("raw_url cannot be null.") return VirtualEventSessionItemRequestBuilder(self.request_adapter, raw_url) - @property - def alternative_recording(self) -> AlternativeRecordingRequestBuilder: - """ - Provides operations to manage the media for the solutionsRoot entity. - """ - from .alternative_recording.alternative_recording_request_builder import AlternativeRecordingRequestBuilder - - return AlternativeRecordingRequestBuilder(self.request_adapter, self.path_parameters) - @property def attendance_reports(self) -> AttendanceReportsRequestBuilder: """ - Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. """ from .attendance_reports.attendance_reports_request_builder import AttendanceReportsRequestBuilder return AttendanceReportsRequestBuilder(self.request_adapter, self.path_parameters) @property - def attendee_report(self) -> AttendeeReportRequestBuilder: - """ - Provides operations to manage the media for the solutionsRoot entity. - """ - from .attendee_report.attendee_report_request_builder import AttendeeReportRequestBuilder - - return AttendeeReportRequestBuilder(self.request_adapter, self.path_parameters) - - @property - def broadcast_recording(self) -> BroadcastRecordingRequestBuilder: + def presenters(self) -> PresentersRequestBuilder: """ - Provides operations to manage the media for the solutionsRoot entity. + Provides operations to manage the presenters property of the microsoft.graph.virtualEventSession entity. """ - from .broadcast_recording.broadcast_recording_request_builder import BroadcastRecordingRequestBuilder + from .presenters.presenters_request_builder import PresentersRequestBuilder - return BroadcastRecordingRequestBuilder(self.request_adapter, self.path_parameters) - - @property - def meeting_attendance_report(self) -> MeetingAttendanceReportRequestBuilder: - """ - Provides operations to manage the meetingAttendanceReport property of the microsoft.graph.onlineMeeting entity. - """ - from .meeting_attendance_report.meeting_attendance_report_request_builder import MeetingAttendanceReportRequestBuilder - - return MeetingAttendanceReportRequestBuilder(self.request_adapter, self.path_parameters) - - @property - def recording(self) -> RecordingRequestBuilder: - """ - Provides operations to manage the media for the solutionsRoot entity. - """ - from .recording.recording_request_builder import RecordingRequestBuilder - - return RecordingRequestBuilder(self.request_adapter, self.path_parameters) - - @property - def recordings(self) -> RecordingsRequestBuilder: - """ - Provides operations to manage the recordings property of the microsoft.graph.onlineMeeting entity. - """ - from .recordings.recordings_request_builder import RecordingsRequestBuilder - - return RecordingsRequestBuilder(self.request_adapter, self.path_parameters) - - @property - def registration(self) -> RegistrationRequestBuilder: - """ - Provides operations to manage the registration property of the microsoft.graph.onlineMeeting entity. - """ - from .registration.registration_request_builder import RegistrationRequestBuilder - - return RegistrationRequestBuilder(self.request_adapter, self.path_parameters) + return PresentersRequestBuilder(self.request_adapter, self.path_parameters) @property def registrations(self) -> RegistrationsRequestBuilder: @@ -244,15 +183,6 @@ def registrations(self) -> RegistrationsRequestBuilder: return RegistrationsRequestBuilder(self.request_adapter, self.path_parameters) - @property - def transcripts(self) -> TranscriptsRequestBuilder: - """ - Provides operations to manage the transcripts property of the microsoft.graph.onlineMeeting entity. - """ - from .transcripts.transcripts_request_builder import TranscriptsRequestBuilder - - return TranscriptsRequestBuilder(self.request_adapter, self.path_parameters) - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass @@ -266,7 +196,7 @@ class VirtualEventSessionItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class VirtualEventSessionItemRequestBuilderGetQueryParameters(): """ - Sessions of the virtual event. + Sessions for the virtual event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 df0b50b9f1e..b5ba3a28ab2 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 @@ -45,7 +45,7 @@ def by_virtual_event_session_id(self,virtual_event_session_id: str) -> VirtualEv async def get(self,request_configuration: Optional[SessionsRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventSessionCollectionResponse]: """ - Sessions of the virtual event. + Sessions for the virtual event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventSessionCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[VirtualEventSession] = None, request_configur def to_get_request_information(self,request_configuration: Optional[SessionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Sessions of the virtual event. + Sessions for the virtual event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SessionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[VirtualEventSession] = None, request_configuration: Optional[SessionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[VirtualEventSession] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SessionsRequestBuilderGetQueryParameters(): """ - Sessions of the virtual event. + Sessions for the virtual event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 3d6a863da57..788ad389ce2 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 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[VirtualEventWebinarItemReq async def get(self,request_configuration: Optional[VirtualEventWebinarItemRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventWebinar]: """ - Read the properties and relationships of a virtualEventWebinar object. This API is available in the following national cloud deployments. + Read the properties and relationships of a virtualEventWebinar object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventWebinar] Find more info here: https://learn.microsoft.com/graph/api/virtualeventwebinar-get?view=graph-rest-1.0 @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[VirtualEv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[VirtualEventWebinarItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a virtualEventWebinar object. This API is available in the following national cloud deployments. + Read the properties and relationships of a virtualEventWebinar object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[VirtualEvent request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[VirtualEventWebinar] = None, request_configuration: Optional[VirtualEventWebinarItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[VirtualEventWebinar] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -207,7 +207,7 @@ class VirtualEventWebinarItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class VirtualEventWebinarItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a virtualEventWebinar object. This API is available in the following national cloud deployments. + Read the properties and relationships of a virtualEventWebinar object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ 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 7f83c2e5c9d..09a7e41aae1 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 @@ -47,9 +47,10 @@ def by_virtual_event_webinar_id(self,virtual_event_webinar_id: str) -> VirtualEv async def get(self,request_configuration: Optional[WebinarsRequestBuilderGetRequestConfiguration] = None) -> Optional[VirtualEventWebinarCollectionResponse]: """ - Read the properties and relationships of a virtualEventWebinar object. This API is available in the following national cloud deployments. + Get the list of all virtualEventWebinar objects created in the tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventWebinarCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/virtualeventsroot-list-webinars?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -119,7 +120,7 @@ async def post(self,body: Optional[VirtualEventWebinar] = None, request_configur def to_get_request_information(self,request_configuration: Optional[WebinarsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a virtualEventWebinar object. This API is available in the following national cloud deployments. + Get the list of all virtualEventWebinar objects created in the tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -131,7 +132,7 @@ def to_get_request_information(self,request_configuration: Optional[WebinarsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[VirtualEventWebinar] = None, request_configuration: Optional[WebinarsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -150,7 +151,7 @@ def to_post_request_information(self,body: Optional[VirtualEventWebinar] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -176,7 +177,7 @@ def count(self) -> CountRequestBuilder: @dataclass class WebinarsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a virtualEventWebinar object. This API is available in the following national cloud deployments. + Get the list of all virtualEventWebinar objects created in the tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/subscribed_skus/item/subscribed_sku_item_request_builder.py b/msgraph_beta/generated/subscribed_skus/item/subscribed_sku_item_request_builder.py index 0df0b2983c5..19c64770cae 100644 --- a/msgraph_beta/generated/subscribed_skus/item/subscribed_sku_item_request_builder.py +++ b/msgraph_beta/generated/subscribed_skus/item/subscribed_sku_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[SubscribedSkuItemRequestBu async def get(self,request_configuration: Optional[SubscribedSkuItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SubscribedSku]: """ - Get a specific commercial subscription that an organization has acquired. This API is available in the following national cloud deployments. + Get a specific commercial subscription that an organization has acquired. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SubscribedSku] Find more info here: https://learn.microsoft.com/graph/api/subscribedsku-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Subscribe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SubscribedSkuItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a specific commercial subscription that an organization has acquired. This API is available in the following national cloud deployments. + Get a specific commercial subscription that an organization has acquired. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[SubscribedSk request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SubscribedSku] = None, request_configuration: Optional[SubscribedSkuItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[SubscribedSku] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class SubscribedSkuItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class SubscribedSkuItemRequestBuilderGetQueryParameters(): """ - Get a specific commercial subscription that an organization has acquired. This API is available in the following national cloud deployments. + Get a specific commercial subscription that an organization has acquired. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/subscribed_skus/subscribed_skus_request_builder.py b/msgraph_beta/generated/subscribed_skus/subscribed_skus_request_builder.py index b2cd997b879..b27ef6bcf17 100644 --- a/msgraph_beta/generated/subscribed_skus/subscribed_skus_request_builder.py +++ b/msgraph_beta/generated/subscribed_skus/subscribed_skus_request_builder.py @@ -44,7 +44,7 @@ def by_subscribed_sku_id(self,subscribed_sku_id: str) -> SubscribedSkuItemReques async def get(self,request_configuration: Optional[SubscribedSkusRequestBuilderGetRequestConfiguration] = None) -> Optional[SubscribedSkuCollectionResponse]: """ - Get the list of commercial subscriptions that an organization has acquired. For the mapping of license names as displayed on the Microsoft Entra admin center or the Microsoft 365 admin center against their Microsoft Graph skuId and skuPartNumber properties, see Product names and service plan identifiers for licensing. This API is available in the following national cloud deployments. + Get the list of commercial subscriptions that an organization has acquired. For the mapping of license names as displayed on the Microsoft Entra admin center or the Microsoft 365 admin center against their Microsoft Graph skuId and skuPartNumber properties, see Product names and service plan identifiers for licensing. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SubscribedSkuCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/subscribedsku-list?view=graph-rest-1.0 @@ -90,7 +90,7 @@ async def post(self,body: Optional[SubscribedSku] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[SubscribedSkusRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of commercial subscriptions that an organization has acquired. For the mapping of license names as displayed on the Microsoft Entra admin center or the Microsoft 365 admin center against their Microsoft Graph skuId and skuPartNumber properties, see Product names and service plan identifiers for licensing. This API is available in the following national cloud deployments. + Get the list of commercial subscriptions that an organization has acquired. For the mapping of license names as displayed on the Microsoft Entra admin center or the Microsoft 365 admin center against their Microsoft Graph skuId and skuPartNumber properties, see Product names and service plan identifiers for licensing. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SubscribedSk request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SubscribedSku] = None, request_configuration: Optional[SubscribedSkusRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[SubscribedSku] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -138,7 +138,7 @@ def with_url(self,raw_url: Optional[str] = None) -> SubscribedSkusRequestBuilder @dataclass class SubscribedSkusRequestBuilderGetQueryParameters(): """ - Get the list of commercial subscriptions that an organization has acquired. For the mapping of license names as displayed on the Microsoft Entra admin center or the Microsoft 365 admin center against their Microsoft Graph skuId and skuPartNumber properties, see Product names and service plan identifiers for licensing. This API is available in the following national cloud deployments. + Get the list of commercial subscriptions that an organization has acquired. For the mapping of license names as displayed on the Microsoft Entra admin center or the Microsoft 365 admin center against their Microsoft Graph skuId and skuPartNumber properties, see Product names and service plan identifiers for licensing. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/subscriptions/item/reauthorize/reauthorize_request_builder.py b/msgraph_beta/generated/subscriptions/item/reauthorize/reauthorize_request_builder.py index e58b4b96757..8137f65fd8b 100644 --- a/msgraph_beta/generated/subscriptions/item/reauthorize/reauthorize_request_builder.py +++ b/msgraph_beta/generated/subscriptions/item/reauthorize/reauthorize_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ReauthorizeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reauthorize a subscription when you receive a reauthorizationRequired challenge. This API is available in the following national cloud deployments. + Reauthorize a subscription when you receive a reauthorizationRequired challenge. 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/subscription-reauthorize?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ReauthorizeRequestBuilderPos def to_post_request_information(self,request_configuration: Optional[ReauthorizeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reauthorize a subscription when you receive a reauthorizationRequired challenge. This API is available in the following national cloud deployments. + Reauthorize a subscription when you receive a reauthorizationRequired challenge. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[Reauthorize request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReauthorizeRequestBuilder: diff --git a/msgraph_beta/generated/subscriptions/item/subscription_item_request_builder.py b/msgraph_beta/generated/subscriptions/item/subscription_item_request_builder.py index 1b467ee92b6..9ea08af88c0 100644 --- a/msgraph_beta/generated/subscriptions/item/subscription_item_request_builder.py +++ b/msgraph_beta/generated/subscriptions/item/subscription_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[SubscriptionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a subscription. For the list of resources that support subscribing to change notifications, see the table in the Permissions section. This API is available in the following national cloud deployments. + Delete a subscription. For the list of resources that support subscribing to change notifications, see the table in the Permissions section. 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/subscription-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[SubscriptionItemRequestBui async def get(self,request_configuration: Optional[SubscriptionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Subscription]: """ - Retrieve the properties and relationships of a subscription. See the table in the Permissions section for the list of resources that support subscribing to change notifications. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a subscription. See the table in the Permissions section for the list of resources that support subscribing to change notifications. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Subscription] Find more info here: https://learn.microsoft.com/graph/api/subscription-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[SubscriptionItemRequestBuilde async def patch(self,body: Optional[Subscription] = None, request_configuration: Optional[SubscriptionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Subscription]: """ - Renew a subscription by extending its expiry time. The table in the Permissions section lists the resources that support subscribing to change notifications. Subscriptions expire after a length of time that varies by resource type. In order to avoid missing change notifications, an app should renew its subscriptions well in advance of their expiry date. See subscription for maximum length of a subscription for each resource type. This API is available in the following national cloud deployments. + Renew a subscription by extending its expiry time. The table in the Permissions section lists the resources that support subscribing to change notifications. Subscriptions expire after a length of time that varies by resource type. In order to avoid missing change notifications, an app should renew its subscriptions well in advance of their expiry date. See subscription for maximum length of a subscription for each resource type. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Subscription] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[Subscription] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[SubscriptionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a subscription. For the list of resources that support subscribing to change notifications, see the table in the Permissions section. This API is available in the following national cloud deployments. + Delete a subscription. For the list of resources that support subscribing to change notifications, see the table in the Permissions section. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[Subscript request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SubscriptionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a subscription. See the table in the Permissions section for the list of resources that support subscribing to change notifications. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a subscription. See the table in the Permissions section for the list of resources that support subscribing to change notifications. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[Subscription request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Subscription] = None, request_configuration: Optional[SubscriptionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Renew a subscription by extending its expiry time. The table in the Permissions section lists the resources that support subscribing to change notifications. Subscriptions expire after a length of time that varies by resource type. In order to avoid missing change notifications, an app should renew its subscriptions well in advance of their expiry date. See subscription for maximum length of a subscription for each resource type. This API is available in the following national cloud deployments. + Renew a subscription by extending its expiry time. The table in the Permissions section lists the resources that support subscribing to change notifications. Subscriptions expire after a length of time that varies by resource type. In order to avoid missing change notifications, an app should renew its subscriptions well in advance of their expiry date. See subscription for maximum length of a subscription for each resource type. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[Subscription] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class SubscriptionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class SubscriptionItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a subscription. See the table in the Permissions section for the list of resources that support subscribing to change notifications. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a subscription. See the table in the Permissions section for the list of resources that support subscribing to change notifications. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/subscriptions/subscriptions_request_builder.py b/msgraph_beta/generated/subscriptions/subscriptions_request_builder.py index 5596a955e9d..76f1051e5ce 100644 --- a/msgraph_beta/generated/subscriptions/subscriptions_request_builder.py +++ b/msgraph_beta/generated/subscriptions/subscriptions_request_builder.py @@ -44,7 +44,7 @@ def by_subscription_id(self,subscription_id: str) -> SubscriptionItemRequestBuil async def get(self,request_configuration: Optional[SubscriptionsRequestBuilderGetRequestConfiguration] = None) -> Optional[SubscriptionCollectionResponse]: """ - Retrieve a list of webhook subscriptions. The content of the response depends on the context in which the app is calling; for details, see the scenarios in the Permissions section. This API is available in the following national cloud deployments. + Retrieve a list of webhook subscriptions. The content of the response depends on the context in which the app is calling; for details, see the scenarios in the Permissions section. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SubscriptionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/subscription-list?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[SubscriptionsRequestBuilderGe async def post(self,body: Optional[Subscription] = None, request_configuration: Optional[SubscriptionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Subscription]: """ - Subscribes a listener application to receive change notifications when the requested type of changes occur to the specified resource in Microsoft Graph. To identify the resources for which you can create subscriptions and the limitations on subscriptions, see Set up notifications for changes in resource data: Supported resources. Some resources support rich notifications, that is, notifications that include resource data. For more information about these resources, see Set up change notifications that include resource data: Supported resources. This API is available in the following national cloud deployments. + Subscribes a listener application to receive change notifications when the requested type of changes occur to the specified resource in Microsoft Graph. To identify the resources for which you can create subscriptions and the limitations on subscriptions, see Set up notifications for changes in resource data: Supported resources. Some resources support rich notifications, that is, notifications that include resource data. For more information about these resources, see Set up change notifications that include resource data: Supported resources. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Subscription] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Subscription] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[SubscriptionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of webhook subscriptions. The content of the response depends on the context in which the app is calling; for details, see the scenarios in the Permissions section. This API is available in the following national cloud deployments. + Retrieve a list of webhook subscriptions. The content of the response depends on the context in which the app is calling; for details, see the scenarios in the Permissions section. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[Subscription request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Subscription] = None, request_configuration: Optional[SubscriptionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Subscribes a listener application to receive change notifications when the requested type of changes occur to the specified resource in Microsoft Graph. To identify the resources for which you can create subscriptions and the limitations on subscriptions, see Set up notifications for changes in resource data: Supported resources. Some resources support rich notifications, that is, notifications that include resource data. For more information about these resources, see Set up change notifications that include resource data: Supported resources. This API is available in the following national cloud deployments. + Subscribes a listener application to receive change notifications when the requested type of changes occur to the specified resource in Microsoft Graph. To identify the resources for which you can create subscriptions and the limitations on subscriptions, see Set up notifications for changes in resource data: Supported resources. Some resources support rich notifications, that is, notifications that include resource data. For more information about these resources, see Set up change notifications that include resource data: Supported resources. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Subscription] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -139,7 +139,7 @@ def with_url(self,raw_url: Optional[str] = None) -> SubscriptionsRequestBuilder: @dataclass class SubscriptionsRequestBuilderGetQueryParameters(): """ - Retrieve a list of webhook subscriptions. The content of the response depends on the context in which the app is calling; for details, see the scenarios in the Permissions section. This API is available in the following national cloud deployments. + Retrieve a list of webhook subscriptions. The content of the response depends on the context in which the app is calling; for details, see the scenarios in the Permissions section. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/all_channels/all_channels_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/all_channels/all_channels_request_builder.py index f07da4ad30f..f5cfc4f1c2e 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/all_channels/all_channels_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/all_channels/all_channels_request_builder.py @@ -44,7 +44,7 @@ def by_channel_id(self,channel_id: str) -> ChannelItemRequestBuilder: async def get(self,request_configuration: Optional[AllChannelsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChannelCollectionResponse]: """ - Get the list of channels either in this team or shared with this team (incoming channels). This API is available in the following national cloud deployments. + Get the list of channels either in this team or shared with this team (incoming channels). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChannelCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/team-list-allchannels?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[AllChannelsRequestBuilderGetR def to_get_request_information(self,request_configuration: Optional[AllChannelsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of channels either in this team or shared with this team (incoming channels). This API is available in the following national cloud deployments. + Get the list of channels either in this team or shared with this team (incoming channels). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[AllChannelsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllChannelsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AllChannelsRequestBuilderGetQueryParameters(): """ - Get the list of channels either in this team or shared with this team (incoming channels). This API is available in the following national cloud deployments. + Get the list of channels either in this team or shared with this team (incoming channels). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/all_channels/item/channel_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/all_channels/item/channel_item_request_builder.py index e47e4d477ed..909d12c9cd9 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/all_channels/item/channel_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/all_channels/item/channel_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ChannelItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ChannelItemRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/archive/archive_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/archive/archive_request_builder.py index 4633443faaf..ea8ce6b526c 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/archive/archive_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/archive/archive_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> None: """ - Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. This API is available in the following national cloud deployments. + Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ArchivePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. This API is available in the following national cloud deployments. + Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ArchivePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/all_messages/all_messages_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/all_messages/all_messages_request_builder.py index 24c2f6b0811..ddacfd95ec9 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/all_messages/all_messages_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/all_messages/all_messages_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AllMessagesR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllMessagesRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/channels_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/channels_request_builder.py index d1fb3697c20..98ad5581136 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/channels_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/channels_request_builder.py @@ -16,6 +16,7 @@ from .all_messages.all_messages_request_builder import AllMessagesRequestBuilder from .count.count_request_builder import CountRequestBuilder from .get_all_messages.get_all_messages_request_builder import GetAllMessagesRequestBuilder + from .get_all_retained_messages.get_all_retained_messages_request_builder import GetAllRetainedMessagesRequestBuilder from .item.channel_item_request_builder import ChannelItemRequestBuilder class ChannelsRequestBuilder(BaseRequestBuilder): @@ -47,7 +48,7 @@ def by_channel_id(self,channel_id: str) -> ChannelItemRequestBuilder: async def get(self,request_configuration: Optional[ChannelsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChannelCollectionResponse]: """ - Retrieve the list of channels in this team. This API is available in the following national cloud deployments. + Retrieve the list of channels in this team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChannelCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list?view=graph-rest-1.0 @@ -69,7 +70,7 @@ async def get(self,request_configuration: Optional[ChannelsRequestBuilderGetRequ async def post(self,body: Optional[Channel] = None, request_configuration: Optional[ChannelsRequestBuilderPostRequestConfiguration] = None) -> Optional[Channel]: """ - Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. This API is available in the following national cloud deployments. + Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Channel] @@ -94,7 +95,7 @@ async def post(self,body: Optional[Channel] = None, request_configuration: Optio def to_get_request_information(self,request_configuration: Optional[ChannelsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of channels in this team. This API is available in the following national cloud deployments. + Retrieve the list of channels in this team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +107,12 @@ def to_get_request_information(self,request_configuration: Optional[ChannelsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Channel] = None, request_configuration: Optional[ChannelsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. This API is available in the following national cloud deployments. + Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -125,7 +126,7 @@ def to_post_request_information(self,body: Optional[Channel] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -166,10 +167,19 @@ def get_all_messages(self) -> GetAllMessagesRequestBuilder: return GetAllMessagesRequestBuilder(self.request_adapter, self.path_parameters) + @property + def get_all_retained_messages(self) -> GetAllRetainedMessagesRequestBuilder: + """ + Provides operations to call the getAllRetainedMessages method. + """ + from .get_all_retained_messages.get_all_retained_messages_request_builder import GetAllRetainedMessagesRequestBuilder + + return GetAllRetainedMessagesRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class ChannelsRequestBuilderGetQueryParameters(): """ - Retrieve the list of channels in this team. This API is available in the following national cloud deployments. + Retrieve the list of channels in this team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/get_all_messages/get_all_messages_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/get_all_messages/get_all_messages_request_builder.py index 068323a61e8..f32d2c48f7a 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/get_all_messages/get_all_messages_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/get_all_messages/get_all_messages_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetAllMessag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetAllMessagesRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/get_all_retained_messages/get_all_retained_messages_get_response.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/get_all_retained_messages/get_all_retained_messages_get_response.py new file mode 100644 index 00000000000..23a92f81e65 --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/get_all_retained_messages/get_all_retained_messages_get_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.chat_message import ChatMessage + +from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class GetAllRetainedMessagesGetResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[ChatMessage]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> GetAllRetainedMessagesGetResponse: + """ + 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: GetAllRetainedMessagesGetResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return GetAllRetainedMessagesGetResponse() + + 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.chat_message import ChatMessage + + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.chat_message import ChatMessage + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ChatMessage)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/get_all_retained_messages/get_all_retained_messages_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/get_all_retained_messages/get_all_retained_messages_request_builder.py new file mode 100644 index 00000000000..d4b0e556b86 --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/get_all_retained_messages/get_all_retained_messages_request_builder.py @@ -0,0 +1,141 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from .get_all_retained_messages_get_response import GetAllRetainedMessagesGetResponse + +class GetAllRetainedMessagesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getAllRetainedMessages method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new GetAllRetainedMessagesRequestBuilder 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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/getAllRetainedMessages(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}", path_parameters) + + async def get(self,request_configuration: Optional[GetAllRetainedMessagesRequestBuilderGetRequestConfiguration] = None) -> Optional[GetAllRetainedMessagesGetResponse]: + """ + Invoke function getAllRetainedMessages + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[GetAllRetainedMessagesGetResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .get_all_retained_messages_get_response import GetAllRetainedMessagesGetResponse + + return await self.request_adapter.send_async(request_info, GetAllRetainedMessagesGetResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[GetAllRetainedMessagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Invoke function getAllRetainedMessages + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> GetAllRetainedMessagesRequestBuilder: + """ + 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: GetAllRetainedMessagesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GetAllRetainedMessagesRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class GetAllRetainedMessagesRequestBuilderGetQueryParameters(): + """ + Invoke function getAllRetainedMessages + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + 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 + + # 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GetAllRetainedMessagesRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[GetAllRetainedMessagesRequestBuilder.GetAllRetainedMessagesRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/archive/archive_post_request_body.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/archive/archive_post_request_body.py new file mode 100644 index 00000000000..f39cce9ef54 --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/archive/archive_post_request_body.py @@ -0,0 +1,49 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class ArchivePostRequestBody(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 shouldSetSpoSiteReadOnlyForMembers property + should_set_spo_site_read_only_for_members: Optional[bool] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> ArchivePostRequestBody: + """ + 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: ArchivePostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return ArchivePostRequestBody() + + 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]] = { + "shouldSetSpoSiteReadOnlyForMembers": lambda n : setattr(self, 'should_set_spo_site_read_only_for_members', n.get_bool_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 not writer: + raise TypeError("writer cannot be null.") + writer.write_bool_value("shouldSetSpoSiteReadOnlyForMembers", self.should_set_spo_site_read_only_for_members) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/archive/archive_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/archive/archive_request_builder.py new file mode 100644 index 00000000000..8fc0e619528 --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/archive/archive_request_builder.py @@ -0,0 +1,91 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .archive_post_request_body import ArchivePostRequestBody + +class ArchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the archive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ArchiveRequestBuilder 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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/archive", path_parameters) + + async def post(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Invoke action archive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action archive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> ArchiveRequestBuilder: + """ + 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: ArchiveRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ArchiveRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ArchiveRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/channel_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/channel_item_request_builder.py index 9e9af16819b..f74c395bfd1 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/channel_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/channel_item_request_builder.py @@ -12,6 +12,7 @@ if TYPE_CHECKING: from ......models.channel import Channel from ......models.o_data_errors.o_data_error import ODataError + from .archive.archive_request_builder import ArchiveRequestBuilder from .complete_migration.complete_migration_request_builder import CompleteMigrationRequestBuilder from .does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name.does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder import DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder from .files_folder.files_folder_request_builder import FilesFolderRequestBuilder @@ -21,6 +22,7 @@ from .remove_email.remove_email_request_builder import RemoveEmailRequestBuilder from .shared_with_teams.shared_with_teams_request_builder import SharedWithTeamsRequestBuilder from .tabs.tabs_request_builder import TabsRequestBuilder + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder class ChannelItemRequestBuilder(BaseRequestBuilder): """ @@ -37,7 +39,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ChannelItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete the channel. This API is available in the following national cloud deployments. + Delete the channel. 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/channel-delete?view=graph-rest-1.0 @@ -57,7 +59,7 @@ async def delete(self,request_configuration: Optional[ChannelItemRequestBuilderD async def get(self,request_configuration: Optional[ChannelItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Channel]: """ - Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Channel] Find more info here: https://learn.microsoft.com/graph/api/channel-get?view=graph-rest-1.0 @@ -79,7 +81,7 @@ async def get(self,request_configuration: Optional[ChannelItemRequestBuilderGetR async def patch(self,body: Optional[Channel] = None, request_configuration: Optional[ChannelItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Channel]: """ - Update the properties of the specified channel. This API is available in the following national cloud deployments. + Update the properties of the specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Channel] @@ -104,7 +106,7 @@ async def patch(self,body: Optional[Channel] = None, request_configuration: Opti def to_delete_request_information(self,request_configuration: Optional[ChannelItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete the channel. This API is available in the following national cloud deployments. + Delete the channel. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -115,12 +117,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChannelIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChannelItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -132,12 +134,12 @@ def to_get_request_information(self,request_configuration: Optional[ChannelItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Channel] = None, request_configuration: Optional[ChannelItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of the specified channel. This API is available in the following national cloud deployments. + Update the properties of the specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -151,7 +153,7 @@ def to_patch_request_information(self,body: Optional[Channel] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -165,6 +167,15 @@ def with_url(self,raw_url: Optional[str] = None) -> ChannelItemRequestBuilder: raise TypeError("raw_url cannot be null.") return ChannelItemRequestBuilder(self.request_adapter, raw_url) + @property + def archive(self) -> ArchiveRequestBuilder: + """ + Provides operations to call the archive method. + """ + from .archive.archive_request_builder import ArchiveRequestBuilder + + return ArchiveRequestBuilder(self.request_adapter, self.path_parameters) + @property def complete_migration(self) -> CompleteMigrationRequestBuilder: """ @@ -246,6 +257,15 @@ def tabs(self) -> TabsRequestBuilder: return TabsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def unarchive(self) -> UnarchiveRequestBuilder: + """ + Provides operations to call the unarchive method. + """ + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder + + return UnarchiveRequestBuilder(self.request_adapter, self.path_parameters) + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass @@ -259,7 +279,7 @@ class ChannelItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurati @dataclass class ChannelItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/complete_migration/complete_migration_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/complete_migration/complete_migration_request_builder.py index 8a873f8912c..7a6ecd1bf92 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/complete_migration/complete_migration_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/complete_migration/complete_migration_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CompleteMigrationRequestBuilderPostRequestConfiguration] = None) -> None: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. 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/channel-completemigration?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[CompleteMigrationRequestBuil def to_post_request_information(self,request_configuration: Optional[CompleteMigrationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[CompleteMig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CompleteMigrationRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py index 75d8b88b8b4..97c1b008ab6 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DoesUserHave request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/files_folder/content/content_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/files_folder/content/content_request_builder.py index 50e7cf0ab7b..7d5a35a566b 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/files_folder/content/content_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/files_folder/content/content_request_builder.py @@ -83,7 +83,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -102,7 +102,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/files_folder/files_folder_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/files_folder/files_folder_request_builder.py index 54d89570bd0..ad5761fd30f 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/files_folder/files_folder_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/files_folder/files_folder_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[FilesFolderRequestBuilderGetRequestConfiguration] = None) -> Optional[DriveItem]: """ - Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + Get the metadata for the location where the files of a channel are stored. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] Find more info here: https://learn.microsoft.com/graph/api/channel-get-filesfolder?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[FilesFolderRequestBuilderGetR def to_get_request_information(self,request_configuration: Optional[FilesFolderRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + Get the metadata for the location where the files of a channel are stored. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[FilesFolderR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilesFolderRequestBuilder: @@ -88,7 +88,7 @@ def content(self) -> ContentRequestBuilder: @dataclass class FilesFolderRequestBuilderGetQueryParameters(): """ - Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + Get the metadata for the location where the files of a channel are stored. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/add/add_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/add/add_request_builder.py index e5aee687408..ff6be354b4b 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/add/add_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/add/add_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> Optional[AddPostResponse]: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AddPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddPostRequestBody] = None, request_configura def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/item/conversation_member_item_request_builder.py index 753b48c466c..3415ae37f1d 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/item/conversation_member_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. 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/channel-delete-members?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ConversationMemberItemRequ async def get(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Get a conversationMember from a channel. This API is available in the following national cloud deployments. + Get a conversationMember from a channel. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] Find more info here: https://learn.microsoft.com/graph/api/channel-get-members?view=graph-rest-1.0 @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[ConversationMemberItemRequest async def patch(self,body: Optional[ConversationMember] = None, request_configuration: Optional[ConversationMemberItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Update the role of a conversationMember in a team.or channel. This API is available in the following national cloud deployments. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] - Find more info here: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -95,7 +95,7 @@ async def patch(self,body: Optional[ConversationMember] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Conversat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a conversationMember from a channel. This API is available in the following national cloud deployments. + Get a conversationMember from a channel. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[Conversation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[ConversationMemberItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the role of a conversationMember in a team.or channel. This API is available in the following national cloud deployments. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class ConversationMemberItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class ConversationMemberItemRequestBuilderGetQueryParameters(): """ - Get a conversationMember from a channel. This API is available in the following national cloud deployments. + Get a conversationMember from a channel. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/members_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/members_request_builder.py index ddf7bfee74b..7a74c62a31f 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/members_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/members/members_request_builder.py @@ -46,7 +46,7 @@ def by_conversation_member_id(self,conversation_member_id: str) -> ConversationM async def get(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMemberCollectionResponse]: """ - Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list-members?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MembersRequestBuilderGetReque async def post(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ConversationMember] = None, request_configura def to_get_request_information(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MembersRequestBuilderGetQueryParameters(): """ - Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/delta/delta_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/delta/delta_request_builder.py index ca9c33c6ca2..67e11babbe3 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/delta/delta_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/chat_message_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/chat_message_item_request_builder.py index 1ef11cec0cb..5037d88bfa9 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/chat_message_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/chat_message_item_request_builder.py @@ -53,7 +53,7 @@ async def delete(self,request_configuration: Optional[ChatMessageItemRequestBuil async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 @@ -75,7 +75,7 @@ async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilder async def patch(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -111,12 +111,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -128,12 +128,12 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[ChatMessage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -228,7 +228,7 @@ class ChatMessageItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class ChatMessageItemRequestBuilderGetQueryParameters(): """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.py index 5e056fe0c7f..240ee00dfa2 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.py @@ -45,7 +45,7 @@ def by_chat_message_hosted_content_id(self,chat_message_hosted_content_id: str) async def get(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContentCollectionResponse]: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ChatMessageHostedContent] = None, request_con def to_get_request_information(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[HostedConten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[HostedContentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HostedContentsRequestBuilderGetQueryParameters(): """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py index f7d0b26c087..7511d4cebf1 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ChatMessageHostedContentIt async def get(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContent]: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContent] Find more info here: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class ChatMessageHostedContentItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/hosted_contents/item/value/content_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/hosted_contents/item/value/content_request_builder.py index b0b4c50879b..7be89ad97ad 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/hosted_contents/item/value/content_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/hosted_contents/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/delta/delta_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/delta/delta_request_builder.py index 6b7b865fd69..5fa1070eeac 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/delta/delta_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/chat_message_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/chat_message_item_request_builder.py index 09531bb2a1e..fef9414d524 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/chat_message_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/chat_message_item_request_builder.py @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[ChatMessageItemRequestBuil async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[ChatMessage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -217,7 +217,7 @@ class ChatMessageItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class ChatMessageItemRequestBuilderGetQueryParameters(): """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py index f60f69bd043..ca00850cc4b 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py @@ -45,7 +45,7 @@ def by_chat_message_hosted_content_id(self,chat_message_hosted_content_id: str) async def get(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContentCollectionResponse]: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ChatMessageHostedContent] = None, request_con def to_get_request_information(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[HostedConten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[HostedContentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HostedContentsRequestBuilderGetQueryParameters(): """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py index edf1b0e0215..8aa0788ef91 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ChatMessageHostedContentIt async def get(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContent]: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContent] Find more info here: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class ChatMessageHostedContentItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py index cf88e2835cf..b7cc83910c3 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/set_reaction/set_reaction_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/set_reaction/set_reaction_request_builder.py index 384cef38dc5..7d6837379e1 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/set_reaction/set_reaction_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/set_reaction/set_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetReactionPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/soft_delete/soft_delete_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/soft_delete/soft_delete_request_builder.py index b552009fa2d..c4cf88b43fe 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/soft_delete/soft_delete_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/soft_delete/soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-softdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPost def to_post_request_information(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SoftDeleteR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py index 8061945a9a4..21cedff4b08 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-undosoftdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilder def to_post_request_information(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UndoSoftDel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UndoSoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py index b3db3c70b04..01fdcbf21d3 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnsetReactionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/replies_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/replies_request_builder.py index cbea7b8f745..f5f1cde7242 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/replies_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/replies/replies_request_builder.py @@ -46,7 +46,7 @@ def by_chat_message_id1(self,chat_message_id1: str) -> ChatMessageItemRequestBui async def get(self,request_configuration: Optional[RepliesRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageCollectionResponse]: """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-replies?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[RepliesRequestBuilderGetReque async def post(self,body: Optional[ChatMessage] = None, request_configuration: Optional[RepliesRequestBuilderPostRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + Send a new reply to a chatMessage in a specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ChatMessage] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[RepliesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[RepliesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[RepliesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + Send a new reply to a chatMessage in a specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ChatMessage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class RepliesRequestBuilderGetQueryParameters(): """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/set_reaction/set_reaction_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/set_reaction/set_reaction_request_builder.py index 3e62b903a3a..b93ddc456b2 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/set_reaction/set_reaction_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/set_reaction/set_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetReactionPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/soft_delete/soft_delete_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/soft_delete/soft_delete_request_builder.py index 9b1eb19a401..f51f7670b9f 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/soft_delete/soft_delete_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/soft_delete/soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-softdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPost def to_post_request_information(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SoftDeleteR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py index c9f18d83924..dcb1859c9e0 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-undosoftdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilder def to_post_request_information(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UndoSoftDel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UndoSoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/unset_reaction/unset_reaction_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/unset_reaction/unset_reaction_request_builder.py index 7faa5dd2190..10edc36f2ca 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/unset_reaction/unset_reaction_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/item/unset_reaction/unset_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnsetReactionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/messages_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/messages_request_builder.py index 3847035c19f..b5d3884805b 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/messages_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/messages/messages_request_builder.py @@ -46,7 +46,7 @@ def by_chat_message_id(self,chat_message_id: str) -> ChatMessageItemRequestBuild async def get(self,request_configuration: Optional[MessagesRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageCollectionResponse]: """ - Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list-messages?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MessagesRequestBuilderGetRequ async def post(self,body: Optional[ChatMessage] = None, request_configuration: Optional[MessagesRequestBuilderPostRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ChatMessage] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[MessagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MessagesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[MessagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ChatMessage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class MessagesRequestBuilderGetQueryParameters(): """ - Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/provision_email/provision_email_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/provision_email/provision_email_request_builder.py index c62d36113b7..b87ed7ad53c 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/provision_email/provision_email_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/provision_email/provision_email_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ProvisionEmailRequestBuilderPostRequestConfiguration] = None) -> Optional[ProvisionChannelEmailResult]: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProvisionChannelEmailResult] Find more info here: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[ProvisionEmailRequestBuilder def to_post_request_information(self,request_configuration: Optional[ProvisionEmailRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[ProvisionEm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ProvisionEmailRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/remove_email/remove_email_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/remove_email/remove_email_request_builder.py index 134fa7dc6a1..2435d3c8c83 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/remove_email/remove_email_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/remove_email/remove_email_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RemoveEmailRequestBuilderPostRequestConfiguration] = None) -> None: """ - Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. 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/channel-removeemail?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RemoveEmailRequestBuilderPos def to_post_request_information(self,request_configuration: Optional[RemoveEmailRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RemoveEmail request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RemoveEmailRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/shared_with_teams/item/allowed_members/allowed_members_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/shared_with_teams/item/allowed_members/allowed_members_request_builder.py index cf2dc2cbdf8..50b3b1b462d 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/shared_with_teams/item/allowed_members/allowed_members_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/shared_with_teams/item/allowed_members/allowed_members_request_builder.py @@ -44,7 +44,7 @@ def by_conversation_member_id(self,conversation_member_id: str) -> ConversationM async def get(self,request_configuration: Optional[AllowedMembersRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMemberCollectionResponse]: """ - Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list-allowedmembers?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[AllowedMembersRequestBuilderG def to_get_request_information(self,request_configuration: Optional[AllowedMembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[AllowedMembe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllowedMembersRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AllowedMembersRequestBuilderGetQueryParameters(): """ - Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py index 876fc30b7e3..6171205e6b9 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[Conversation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ConversationMemberItemRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py index 751736e1aa1..56fa6688e6a 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. 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/sharedwithchannelteaminfo-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[SharedWithChannelTeamInfoI async def get(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SharedWithChannelTeamInfo]: """ - Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharedWithChannelTeamInfo] Find more info here: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-get?view=graph-rest-1.0 @@ -96,7 +96,7 @@ async def patch(self,body: Optional[SharedWithChannelTeamInfo] = None, request_c def to_delete_request_information(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[SharedWit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[SharedWithCh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SharedWithChannelTeamInfo] = None, request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[SharedWithChannelTeamInfo] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ class SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration(Base @dataclass class SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters(): """ - Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/shared_with_teams/item/team/team_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/shared_with_teams/item/team/team_request_builder.py index cd2eb3a72c3..f7efc8195f9 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/shared_with_teams/item/team/team_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/shared_with_teams/item/team/team_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/shared_with_teams/shared_with_teams_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/shared_with_teams/shared_with_teams_request_builder.py index 505fe0fa4fa..712fd506196 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/shared_with_teams/shared_with_teams_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/shared_with_teams/shared_with_teams_request_builder.py @@ -45,7 +45,7 @@ def by_shared_with_channel_team_info_id(self,shared_with_channel_team_info_id: s async def get(self,request_configuration: Optional[SharedWithTeamsRequestBuilderGetRequestConfiguration] = None) -> Optional[SharedWithChannelTeamInfoCollectionResponse]: """ - Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharedWithChannelTeamInfoCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[SharedWithChannelTeamInfo] = None, request_co def to_get_request_information(self,request_configuration: Optional[SharedWithTeamsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SharedWithTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SharedWithChannelTeamInfo] = None, request_configuration: Optional[SharedWithTeamsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SharedWithChannelTeamInfo] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SharedWithTeamsRequestBuilderGetQueryParameters(): """ - Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/tabs/item/teams_app/teams_app_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/tabs/item/teams_app/teams_app_request_builder.py index fafe31d57b5..efe7e029c97 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/tabs/item/teams_app/teams_app_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/tabs/item/teams_app/teams_app_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamsAppRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/tabs/item/teams_tab_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/tabs/item/teams_tab_item_request_builder.py index 075bb603bac..7f40a57137a 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/tabs/item/teams_tab_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/tabs/item/teams_tab_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[TeamsTabI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamsTabItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsTabItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamsTab] = None, request_configuration: Optional[TeamsTabItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[TeamsTab] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/tabs/tabs_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/tabs/tabs_request_builder.py index 0a4ce5239f3..9d89ac2954e 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/tabs/tabs_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/tabs/tabs_request_builder.py @@ -45,7 +45,7 @@ def by_teams_tab_id(self,teams_tab_id: str) -> TeamsTabItemRequestBuilder: async def get(self,request_configuration: Optional[TabsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsTabCollectionResponse]: """ - Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified channel within a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsTabCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list-tabs?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[TeamsTab] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[TabsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified channel within a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[TabsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamsTab] = None, request_configuration: Optional[TabsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[TeamsTab] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TabsRequestBuilderGetQueryParameters(): """ - Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified channel within a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/unarchive/unarchive_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/unarchive/unarchive_request_builder.py new file mode 100644 index 00000000000..5b1953492a0 --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/channels/item/unarchive/unarchive_request_builder.py @@ -0,0 +1,83 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + +class UnarchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the unarchive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new UnarchiveRequestBuilder 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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/unarchive", path_parameters) + + async def post(self,request_configuration: Optional[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Invoke action unarchive + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action unarchive + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> UnarchiveRequestBuilder: + """ + 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: UnarchiveRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return UnarchiveRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class UnarchiveRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/clone/clone_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/clone/clone_request_builder.py index 37be7c9eb7a..6c9f151a6b1 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/clone/clone_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/clone/clone_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ClonePostRequestBody] = None, request_configuration: Optional[CloneRequestBuilderPostRequestConfiguration] = None) -> None: """ - Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. This API is available in the following national cloud deployments. + Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ClonePostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[ClonePostRequestBody] = None, request_configuration: Optional[CloneRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. This API is available in the following national cloud deployments. + Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ClonePostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/complete_migration/complete_migration_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/complete_migration/complete_migration_request_builder.py index 4f7bd666840..377bcaa2921 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/complete_migration/complete_migration_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/complete_migration/complete_migration_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CompleteMigrationRequestBuilderPostRequestConfiguration] = None) -> None: """ - Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. 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/team-completemigration?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[CompleteMigrationRequestBuil def to_post_request_information(self,request_configuration: Optional[CompleteMigrationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[CompleteMig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CompleteMigrationRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/group/group_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/group/group_request_builder.py index 616ce03ccc8..2f13d85b46b 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/group/group_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/group/group_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GroupRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/group/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/group/service_provisioning_errors/service_provisioning_errors_request_builder.py index f57105a550a..ed54a5b8acb 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/group/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/group/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/incoming_channels/incoming_channels_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/incoming_channels/incoming_channels_request_builder.py index cf0c966058f..ec3aa12aea0 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/incoming_channels/incoming_channels_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/incoming_channels/incoming_channels_request_builder.py @@ -44,7 +44,7 @@ def by_channel_id(self,channel_id: str) -> ChannelItemRequestBuilder: async def get(self,request_configuration: Optional[IncomingChannelsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChannelCollectionResponse]: """ - Get the list of incoming channels (channels shared with a team). This API is available in the following national cloud deployments. + Get the list of incoming channels (channels shared with a team). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChannelCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/team-list-incomingchannels?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[IncomingChannelsRequestBuilde def to_get_request_information(self,request_configuration: Optional[IncomingChannelsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of incoming channels (channels shared with a team). This API is available in the following national cloud deployments. + Get the list of incoming channels (channels shared with a team). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[IncomingChan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IncomingChannelsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class IncomingChannelsRequestBuilderGetQueryParameters(): """ - Get the list of incoming channels (channels shared with a team). This API is available in the following national cloud deployments. + Get the list of incoming channels (channels shared with a team). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/incoming_channels/item/channel_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/incoming_channels/item/channel_item_request_builder.py index 1923cee1342..2d980fe254b 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/incoming_channels/item/channel_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/incoming_channels/item/channel_item_request_builder.py @@ -80,7 +80,7 @@ def to_delete_request_information(self,request_configuration: Optional[ChannelIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChannelItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -97,7 +97,7 @@ def to_get_request_information(self,request_configuration: Optional[ChannelItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ChannelItemRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/installed_apps/installed_apps_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/installed_apps/installed_apps_request_builder.py index 24674dcd20f..ac74d97b194 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/installed_apps/installed_apps_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/installed_apps/installed_apps_request_builder.py @@ -45,7 +45,7 @@ def by_teams_app_installation_id(self,teams_app_installation_id: str) -> TeamsAp async def get(self,request_configuration: Optional[InstalledAppsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsAppInstallationCollectionResponse]: """ - Retrieve the list of apps installed in the specified team. This API is available in the following national cloud deployments. + Retrieve the list of apps installed in the specified team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAppInstallationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/team-list-installedapps?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[InstalledAppsRequestBuilderGe async def post(self,body: Optional[TeamsAppInstallation] = None, request_configuration: Optional[InstalledAppsRequestBuilderPostRequestConfiguration] = None) -> Optional[TeamsAppInstallation]: """ - Install an app to the specified team. This API is available in the following national cloud deployments. + Install an app to the specified team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAppInstallation] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TeamsAppInstallation] = None, request_configu def to_get_request_information(self,request_configuration: Optional[InstalledAppsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of apps installed in the specified team. This API is available in the following national cloud deployments. + Retrieve the list of apps installed in the specified team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[InstalledApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamsAppInstallation] = None, request_configuration: Optional[InstalledAppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Install an app to the specified team. This API is available in the following national cloud deployments. + Install an app to the specified team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TeamsAppInstallation] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class InstalledAppsRequestBuilderGetQueryParameters(): """ - Retrieve the list of apps installed in the specified team. This API is available in the following national cloud deployments. + Retrieve the list of apps installed in the specified team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/installed_apps/item/teams_app/teams_app_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/installed_apps/item/teams_app/teams_app_request_builder.py index de258b086c3..c548ffe69ba 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/installed_apps/item/teams_app/teams_app_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/installed_apps/item/teams_app/teams_app_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamsAppRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/installed_apps/item/teams_app_definition/teams_app_definition_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/installed_apps/item/teams_app_definition/teams_app_definition_request_builder.py index 6412fa07b4f..f682273378a 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/installed_apps/item/teams_app_definition/teams_app_definition_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/installed_apps/item/teams_app_definition/teams_app_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppDefi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamsAppDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/installed_apps/item/teams_app_installation_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/installed_apps/item/teams_app_installation_item_request_builder.py index c674210afa7..6f410117ffb 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/installed_apps/item/teams_app_installation_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/installed_apps/item/teams_app_installation_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Uninstalls an app from the specified team. This API is available in the following national cloud deployments. + Uninstalls an app from the specified team. 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/team-delete-installedapps?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[TeamsAppInstallationItemRe async def get(self,request_configuration: Optional[TeamsAppInstallationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsAppInstallation]: """ - Retrieve the app installed in the specified team. This API is available in the following national cloud deployments. + Retrieve the app installed in the specified team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAppInstallation] Find more info here: https://learn.microsoft.com/graph/api/team-get-installedapps?view=graph-rest-1.0 @@ -97,7 +97,7 @@ async def patch(self,body: Optional[TeamsAppInstallation] = None, request_config def to_delete_request_information(self,request_configuration: Optional[TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Uninstalls an app from the specified team. This API is available in the following national cloud deployments. + Uninstalls an app from the specified team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[TeamsAppI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamsAppInstallationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the app installed in the specified team. This API is available in the following national cloud deployments. + Retrieve the app installed in the specified team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppInst request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamsAppInstallation] = None, request_configuration: Optional[TeamsAppInstallationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[TeamsAppInstallation] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -198,7 +198,7 @@ class TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class TeamsAppInstallationItemRequestBuilderGetQueryParameters(): """ - Retrieve the app installed in the specified team. This API is available in the following national cloud deployments. + Retrieve the app installed in the specified team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/installed_apps/item/upgrade/upgrade_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/installed_apps/item/upgrade/upgrade_request_builder.py index a8cb1c9a507..f1b301f86fe 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/installed_apps/item/upgrade/upgrade_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/installed_apps/item/upgrade/upgrade_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UpgradePostRequestBody] = None, request_configuration: Optional[UpgradeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Upgrade an app installation within a chat. This API is available in the following national cloud deployments. + Upgrade an app installation within a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[UpgradePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[UpgradePostRequestBody] = None, request_configuration: Optional[UpgradeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Upgrade an app installation within a chat. This API is available in the following national cloud deployments. + Upgrade an app installation within a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[UpgradePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/members/add/add_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/members/add/add_request_builder.py index 4e208202ef1..8e0334405b9 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/members/add/add_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/members/add/add_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> Optional[AddPostResponse]: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AddPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddPostRequestBody] = None, request_configura def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/members/item/conversation_member_item_request_builder.py index 69ce22c43ba..18d751300cc 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/members/item/conversation_member_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a conversationMember from a team. This API is available in the following national cloud deployments. + Remove a conversationMember from a team. 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/team-delete-members?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ConversationMemberItemRequ async def get(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Get a conversationMember from a team. This API is available in the following national cloud deployments. + Get a conversationMember from a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] Find more info here: https://learn.microsoft.com/graph/api/team-get-members?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[ConversationMemberItemRequest async def patch(self,body: Optional[ConversationMember] = None, request_configuration: Optional[ConversationMemberItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Update the role of a conversationMember in a team. This API is available in the following national cloud deployments. + Update the role of a conversationMember in a team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[ConversationMember] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a conversationMember from a team. This API is available in the following national cloud deployments. + Remove a conversationMember from a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Conversat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a conversationMember from a team. This API is available in the following national cloud deployments. + Get a conversationMember from a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[Conversation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[ConversationMemberItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the role of a conversationMember in a team. This API is available in the following national cloud deployments. + Update the role of a conversationMember in a team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class ConversationMemberItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class ConversationMemberItemRequestBuilderGetQueryParameters(): """ - Get a conversationMember from a team. This API is available in the following national cloud deployments. + Get a conversationMember from a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/members/members_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/members/members_request_builder.py index 1dd07284a94..2d8b33cfc0d 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/members/members_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/members/members_request_builder.py @@ -46,7 +46,7 @@ def by_conversation_member_id(self,conversation_member_id: str) -> ConversationM async def get(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMemberCollectionResponse]: """ - Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. This API is available in the following national cloud deployments. + Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/team-list-members?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MembersRequestBuilderGetReque async def post(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Add a new conversation member to a team. This API is available in the following national cloud deployments. + Add a new conversation member to a team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ConversationMember] = None, request_configura def to_get_request_information(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. This API is available in the following national cloud deployments. + Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a new conversation member to a team. This API is available in the following national cloud deployments. + Add a new conversation member to a team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MembersRequestBuilderGetQueryParameters(): """ - Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. This API is available in the following national cloud deployments. + Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/operations/item/teams_async_operation_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/operations/item/teams_async_operation_item_request_builder.py index 023b504795c..68adb6dc759 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/operations/item/teams_async_operation_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/operations/item/teams_async_operation_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[TeamsAsyn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamsAsyncOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAsyncOp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamsAsyncOperation] = None, request_configuration: Optional[TeamsAsyncOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[TeamsAsyncOperation] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/operations/operations_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/operations/operations_request_builder.py index a540998ddc3..8ce69f94cf5 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/operations/operations_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/operations/operations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamsAsyncOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[TeamsAsyncOperation] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/owners/item/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/owners/item/mailbox_settings/mailbox_settings_request_builder.py index 60146528033..65eb45277b7 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/owners/item/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/owners/item/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/owners/item/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/owners/item/service_provisioning_errors/service_provisioning_errors_request_builder.py index 668236df3ec..23f5240fcd1 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/owners/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/owners/item/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/owners/item/user_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/owners/item/user_item_request_builder.py index 1f96da95741..6dc44969421 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/owners/item/user_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/owners/item/user_item_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[UserItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserItemRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/owners/owners_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/owners/owners_request_builder.py index 46441ebe6d0..e452b03111d 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/owners/owners_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/owners/owners_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[OwnersReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> OwnersRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/permission_grants/item/resource_specific_permission_grant_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/permission_grants/item/resource_specific_permission_grant_item_request_builder.py index 6922ca950d1..2b0ba6dcd9b 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/permission_grants/item/resource_specific_permission_grant_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/permission_grants/item/resource_specific_permission_grant_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ResourceS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ResourceSpecificPermissionGrantItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceSpec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ResourceSpecificPermissionGrant] = None, request_configuration: Optional[ResourceSpecificPermissionGrantItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ResourceSpecificPermissionG request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/permission_grants/permission_grants_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/permission_grants/permission_grants_request_builder.py index 48a8b612e82..43512f43438 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/permission_grants/permission_grants_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/permission_grants/permission_grants_request_builder.py @@ -45,7 +45,7 @@ def by_resource_specific_permission_grant_id(self,resource_specific_permission_g async def get(self,request_configuration: Optional[PermissionGrantsRequestBuilderGetRequestConfiguration] = None) -> Optional[ResourceSpecificPermissionGrantCollectionResponse]: """ - List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ResourceSpecificPermissionGrantCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/team-list-permissiongrants?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ResourceSpecificPermissionGrant] = None, requ def to_get_request_information(self,request_configuration: Optional[PermissionGrantsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PermissionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ResourceSpecificPermissionGrant] = None, request_configuration: Optional[PermissionGrantsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ResourceSpecificPermissionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PermissionGrantsRequestBuilderGetQueryParameters(): """ - List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/photo/photo_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/photo/photo_request_builder.py index aa3d835c6d4..801fbb7172c 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/photo/photo_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/photo/photo_request_builder.py @@ -86,7 +86,7 @@ def to_get_request_information(self,request_configuration: Optional[PhotoRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ProfilePhoto] = None, request_configuration: Optional[PhotoRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -105,7 +105,7 @@ def to_patch_request_information(self,body: Optional[ProfilePhoto] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/photo/value/content_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/photo/value/content_request_builder.py index 9d1931e462d..5dad27202b5 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/photo/value/content_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/photo/value/content_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -98,7 +98,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/archive/archive_post_request_body.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/archive/archive_post_request_body.py new file mode 100644 index 00000000000..f39cce9ef54 --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/archive/archive_post_request_body.py @@ -0,0 +1,49 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class ArchivePostRequestBody(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 shouldSetSpoSiteReadOnlyForMembers property + should_set_spo_site_read_only_for_members: Optional[bool] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> ArchivePostRequestBody: + """ + 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: ArchivePostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return ArchivePostRequestBody() + + 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]] = { + "shouldSetSpoSiteReadOnlyForMembers": lambda n : setattr(self, 'should_set_spo_site_read_only_for_members', n.get_bool_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 not writer: + raise TypeError("writer cannot be null.") + writer.write_bool_value("shouldSetSpoSiteReadOnlyForMembers", self.should_set_spo_site_read_only_for_members) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/archive/archive_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/archive/archive_request_builder.py new file mode 100644 index 00000000000..fc0fc55d1f4 --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/archive/archive_request_builder.py @@ -0,0 +1,91 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from .archive_post_request_body import ArchivePostRequestBody + +class ArchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the archive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ArchiveRequestBuilder 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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/archive", path_parameters) + + async def post(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Invoke action archive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action archive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> ArchiveRequestBuilder: + """ + 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: ArchiveRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ArchiveRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ArchiveRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/complete_migration/complete_migration_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/complete_migration/complete_migration_request_builder.py index 306a8f3d374..1564cdc9ddf 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/complete_migration/complete_migration_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/complete_migration/complete_migration_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CompleteMigrationRequestBuilderPostRequestConfiguration] = None) -> None: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. 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/channel-completemigration?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[CompleteMigrationRequestBuil def to_post_request_information(self,request_configuration: Optional[CompleteMigrationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[CompleteMig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CompleteMigrationRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py index d66329072a3..19c26235928 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DoesUserHave request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/files_folder/content/content_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/files_folder/content/content_request_builder.py index 812003f1118..47a0eb12486 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/files_folder/content/content_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/files_folder/content/content_request_builder.py @@ -83,7 +83,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -102,7 +102,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/files_folder/files_folder_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/files_folder/files_folder_request_builder.py index 7d32aafb735..c62b497ad5b 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/files_folder/files_folder_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/files_folder/files_folder_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[FilesFolderRequestBuilderGetRequestConfiguration] = None) -> Optional[DriveItem]: """ - Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + Get the metadata for the location where the files of a channel are stored. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] Find more info here: https://learn.microsoft.com/graph/api/channel-get-filesfolder?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[FilesFolderRequestBuilderGetR def to_get_request_information(self,request_configuration: Optional[FilesFolderRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + Get the metadata for the location where the files of a channel are stored. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[FilesFolderR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilesFolderRequestBuilder: @@ -88,7 +88,7 @@ def content(self) -> ContentRequestBuilder: @dataclass class FilesFolderRequestBuilderGetQueryParameters(): """ - Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + Get the metadata for the location where the files of a channel are stored. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/add/add_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/add/add_request_builder.py index d61c9863246..a5e64a061d3 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/add/add_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/add/add_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> Optional[AddPostResponse]: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AddPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddPostRequestBody] = None, request_configura def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/item/conversation_member_item_request_builder.py index 89011e3a95b..bdaa9c8da00 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/item/conversation_member_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. 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/channel-delete-members?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ConversationMemberItemRequ async def get(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Get a conversationMember from a channel. This API is available in the following national cloud deployments. + Get a conversationMember from a channel. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] Find more info here: https://learn.microsoft.com/graph/api/channel-get-members?view=graph-rest-1.0 @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[ConversationMemberItemRequest async def patch(self,body: Optional[ConversationMember] = None, request_configuration: Optional[ConversationMemberItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Update the role of a conversationMember in a team.or channel. This API is available in the following national cloud deployments. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] - Find more info here: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -95,7 +95,7 @@ async def patch(self,body: Optional[ConversationMember] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Conversat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a conversationMember from a channel. This API is available in the following national cloud deployments. + Get a conversationMember from a channel. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[Conversation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[ConversationMemberItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the role of a conversationMember in a team.or channel. This API is available in the following national cloud deployments. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class ConversationMemberItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class ConversationMemberItemRequestBuilderGetQueryParameters(): """ - Get a conversationMember from a channel. This API is available in the following national cloud deployments. + Get a conversationMember from a channel. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/members_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/members_request_builder.py index 0a1de251fb2..3b6295d121c 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/members_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/members/members_request_builder.py @@ -46,7 +46,7 @@ def by_conversation_member_id(self,conversation_member_id: str) -> ConversationM async def get(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMemberCollectionResponse]: """ - Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list-members?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MembersRequestBuilderGetReque async def post(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ConversationMember] = None, request_configura def to_get_request_information(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MembersRequestBuilderGetQueryParameters(): """ - Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/delta/delta_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/delta/delta_request_builder.py index a9b1173627b..0c0028d1c74 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/delta/delta_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/chat_message_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/chat_message_item_request_builder.py index 02ceaf32adc..048c00be130 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/chat_message_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/chat_message_item_request_builder.py @@ -53,7 +53,7 @@ async def delete(self,request_configuration: Optional[ChatMessageItemRequestBuil async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 @@ -75,7 +75,7 @@ async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilder async def patch(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -111,12 +111,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -128,12 +128,12 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[ChatMessage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -228,7 +228,7 @@ class ChatMessageItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class ChatMessageItemRequestBuilderGetQueryParameters(): """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.py index 20c32e363fa..70a154f646e 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.py @@ -45,7 +45,7 @@ def by_chat_message_hosted_content_id(self,chat_message_hosted_content_id: str) async def get(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContentCollectionResponse]: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ChatMessageHostedContent] = None, request_con def to_get_request_information(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[HostedConten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[HostedContentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HostedContentsRequestBuilderGetQueryParameters(): """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py index 31062bd5ca0..e8b2bb9fd4a 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ChatMessageHostedContentIt async def get(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContent]: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContent] Find more info here: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class ChatMessageHostedContentItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.py index b9e454d20d4..207811f757d 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/delta/delta_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/delta/delta_request_builder.py index 686b0d60d15..6a5bcc76820 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/delta/delta_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/chat_message_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/chat_message_item_request_builder.py index bf8679e7d2d..e72ecdeff2b 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/chat_message_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/chat_message_item_request_builder.py @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[ChatMessageItemRequestBuil async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[ChatMessage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -217,7 +217,7 @@ class ChatMessageItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class ChatMessageItemRequestBuilderGetQueryParameters(): """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py index bff86176671..d82e37e608e 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py @@ -45,7 +45,7 @@ def by_chat_message_hosted_content_id(self,chat_message_hosted_content_id: str) async def get(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContentCollectionResponse]: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ChatMessageHostedContent] = None, request_con def to_get_request_information(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[HostedConten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[HostedContentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HostedContentsRequestBuilderGetQueryParameters(): """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py index bcafee178d2..f6d5170c169 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ChatMessageHostedContentIt async def get(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContent]: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContent] Find more info here: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class ChatMessageHostedContentItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py index 49564bd876a..12f6c2aa582 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/set_reaction/set_reaction_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/set_reaction/set_reaction_request_builder.py index 805abb5f65a..8249c9a1c54 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/set_reaction/set_reaction_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/set_reaction/set_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetReactionPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/soft_delete/soft_delete_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/soft_delete/soft_delete_request_builder.py index 21e1fc0d8ed..c66a4833c14 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/soft_delete/soft_delete_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/soft_delete/soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-softdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPost def to_post_request_information(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SoftDeleteR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py index ec78cc88143..e3adb8a0a2a 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-undosoftdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilder def to_post_request_information(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UndoSoftDel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UndoSoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py index d968c49f75d..1f300d10951 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnsetReactionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/replies_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/replies_request_builder.py index 422c3cf0ab8..0b55fe79c02 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/replies_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/replies/replies_request_builder.py @@ -46,7 +46,7 @@ def by_chat_message_id1(self,chat_message_id1: str) -> ChatMessageItemRequestBui async def get(self,request_configuration: Optional[RepliesRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageCollectionResponse]: """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-replies?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[RepliesRequestBuilderGetReque async def post(self,body: Optional[ChatMessage] = None, request_configuration: Optional[RepliesRequestBuilderPostRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + Send a new reply to a chatMessage in a specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ChatMessage] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[RepliesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[RepliesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[RepliesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + Send a new reply to a chatMessage in a specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ChatMessage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class RepliesRequestBuilderGetQueryParameters(): """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/set_reaction/set_reaction_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/set_reaction/set_reaction_request_builder.py index e5d4d4bd0ef..00b32bcc67f 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/set_reaction/set_reaction_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/set_reaction/set_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetReactionPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/soft_delete/soft_delete_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/soft_delete/soft_delete_request_builder.py index 9ea64aaa805..6b244dc202f 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/soft_delete/soft_delete_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/soft_delete/soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-softdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPost def to_post_request_information(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SoftDeleteR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py index d03317e19be..efee43aeaad 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-undosoftdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilder def to_post_request_information(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UndoSoftDel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UndoSoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/unset_reaction/unset_reaction_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/unset_reaction/unset_reaction_request_builder.py index 339efa5d82d..2821b89bd25 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/unset_reaction/unset_reaction_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/item/unset_reaction/unset_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnsetReactionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/messages_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/messages_request_builder.py index 0c3f874fc82..cf29a66d0f6 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/messages_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/messages/messages_request_builder.py @@ -46,7 +46,7 @@ def by_chat_message_id(self,chat_message_id: str) -> ChatMessageItemRequestBuild async def get(self,request_configuration: Optional[MessagesRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageCollectionResponse]: """ - Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list-messages?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MessagesRequestBuilderGetRequ async def post(self,body: Optional[ChatMessage] = None, request_configuration: Optional[MessagesRequestBuilderPostRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ChatMessage] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[MessagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MessagesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[MessagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ChatMessage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class MessagesRequestBuilderGetQueryParameters(): """ - Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/primary_channel_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/primary_channel_request_builder.py index 6e8e40aaa26..b8a9dcbade6 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/primary_channel_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/primary_channel_request_builder.py @@ -12,6 +12,7 @@ if TYPE_CHECKING: from .....models.channel import Channel from .....models.o_data_errors.o_data_error import ODataError + from .archive.archive_request_builder import ArchiveRequestBuilder from .complete_migration.complete_migration_request_builder import CompleteMigrationRequestBuilder from .does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name.does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder import DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder from .files_folder.files_folder_request_builder import FilesFolderRequestBuilder @@ -21,6 +22,7 @@ from .remove_email.remove_email_request_builder import RemoveEmailRequestBuilder from .shared_with_teams.shared_with_teams_request_builder import SharedWithTeamsRequestBuilder from .tabs.tabs_request_builder import TabsRequestBuilder + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder class PrimaryChannelRequestBuilder(BaseRequestBuilder): """ @@ -56,7 +58,7 @@ async def delete(self,request_configuration: Optional[PrimaryChannelRequestBuild async def get(self,request_configuration: Optional[PrimaryChannelRequestBuilderGetRequestConfiguration] = None) -> Optional[Channel]: """ - Get the default channel, General, of a team. This API is available in the following national cloud deployments. + Get the default channel, General, of a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Channel] Find more info here: https://learn.microsoft.com/graph/api/team-get-primarychannel?view=graph-rest-1.0 @@ -113,12 +115,12 @@ def to_delete_request_information(self,request_configuration: Optional[PrimaryCh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrimaryChannelRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the default channel, General, of a team. This API is available in the following national cloud deployments. + Get the default channel, General, of a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -130,7 +132,7 @@ def to_get_request_information(self,request_configuration: Optional[PrimaryChann request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Channel] = None, request_configuration: Optional[PrimaryChannelRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -149,7 +151,7 @@ def to_patch_request_information(self,body: Optional[Channel] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -163,6 +165,15 @@ def with_url(self,raw_url: Optional[str] = None) -> PrimaryChannelRequestBuilder raise TypeError("raw_url cannot be null.") return PrimaryChannelRequestBuilder(self.request_adapter, raw_url) + @property + def archive(self) -> ArchiveRequestBuilder: + """ + Provides operations to call the archive method. + """ + from .archive.archive_request_builder import ArchiveRequestBuilder + + return ArchiveRequestBuilder(self.request_adapter, self.path_parameters) + @property def complete_migration(self) -> CompleteMigrationRequestBuilder: """ @@ -244,6 +255,15 @@ def tabs(self) -> TabsRequestBuilder: return TabsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def unarchive(self) -> UnarchiveRequestBuilder: + """ + Provides operations to call the unarchive method. + """ + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder + + return UnarchiveRequestBuilder(self.request_adapter, self.path_parameters) + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass @@ -257,7 +277,7 @@ class PrimaryChannelRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class PrimaryChannelRequestBuilderGetQueryParameters(): """ - Get the default channel, General, of a team. This API is available in the following national cloud deployments. + Get the default channel, General, of a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/provision_email/provision_email_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/provision_email/provision_email_request_builder.py index d5d9d4a60b9..f882bae8f2d 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/provision_email/provision_email_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/provision_email/provision_email_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ProvisionEmailRequestBuilderPostRequestConfiguration] = None) -> Optional[ProvisionChannelEmailResult]: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProvisionChannelEmailResult] Find more info here: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[ProvisionEmailRequestBuilder def to_post_request_information(self,request_configuration: Optional[ProvisionEmailRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[ProvisionEm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ProvisionEmailRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/remove_email/remove_email_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/remove_email/remove_email_request_builder.py index b553c816c9d..8910c144d9d 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/remove_email/remove_email_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/remove_email/remove_email_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RemoveEmailRequestBuilderPostRequestConfiguration] = None) -> None: """ - Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. 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/channel-removeemail?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RemoveEmailRequestBuilderPos def to_post_request_information(self,request_configuration: Optional[RemoveEmailRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RemoveEmail request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RemoveEmailRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/shared_with_teams/item/allowed_members/allowed_members_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/shared_with_teams/item/allowed_members/allowed_members_request_builder.py index 756b33fb3a2..5174bf45340 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/shared_with_teams/item/allowed_members/allowed_members_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/shared_with_teams/item/allowed_members/allowed_members_request_builder.py @@ -44,7 +44,7 @@ def by_conversation_member_id(self,conversation_member_id: str) -> ConversationM async def get(self,request_configuration: Optional[AllowedMembersRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMemberCollectionResponse]: """ - Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list-allowedmembers?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[AllowedMembersRequestBuilderG def to_get_request_information(self,request_configuration: Optional[AllowedMembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[AllowedMembe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllowedMembersRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AllowedMembersRequestBuilderGetQueryParameters(): """ - Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py index e523a5854a1..2661c4f4b30 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[Conversation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ConversationMemberItemRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py index 6605deb2105..26d8e37ea3d 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. 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/sharedwithchannelteaminfo-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[SharedWithChannelTeamInfoI async def get(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SharedWithChannelTeamInfo]: """ - Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharedWithChannelTeamInfo] Find more info here: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-get?view=graph-rest-1.0 @@ -96,7 +96,7 @@ async def patch(self,body: Optional[SharedWithChannelTeamInfo] = None, request_c def to_delete_request_information(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[SharedWit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[SharedWithCh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SharedWithChannelTeamInfo] = None, request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[SharedWithChannelTeamInfo] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ class SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration(Base @dataclass class SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters(): """ - Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/shared_with_teams/item/team/team_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/shared_with_teams/item/team/team_request_builder.py index b21be1ddfb1..25ad5c59819 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/shared_with_teams/item/team/team_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/shared_with_teams/item/team/team_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/shared_with_teams/shared_with_teams_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/shared_with_teams/shared_with_teams_request_builder.py index 526467047a9..318c7e38c50 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/shared_with_teams/shared_with_teams_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/shared_with_teams/shared_with_teams_request_builder.py @@ -45,7 +45,7 @@ def by_shared_with_channel_team_info_id(self,shared_with_channel_team_info_id: s async def get(self,request_configuration: Optional[SharedWithTeamsRequestBuilderGetRequestConfiguration] = None) -> Optional[SharedWithChannelTeamInfoCollectionResponse]: """ - Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharedWithChannelTeamInfoCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[SharedWithChannelTeamInfo] = None, request_co def to_get_request_information(self,request_configuration: Optional[SharedWithTeamsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SharedWithTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SharedWithChannelTeamInfo] = None, request_configuration: Optional[SharedWithTeamsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SharedWithChannelTeamInfo] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SharedWithTeamsRequestBuilderGetQueryParameters(): """ - Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/tabs/item/teams_app/teams_app_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/tabs/item/teams_app/teams_app_request_builder.py index 048d97967b5..48e0471bd1d 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/tabs/item/teams_app/teams_app_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/tabs/item/teams_app/teams_app_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamsAppRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/tabs/item/teams_tab_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/tabs/item/teams_tab_item_request_builder.py index 3a32bb06552..ffefeabe6bc 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/tabs/item/teams_tab_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/tabs/item/teams_tab_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[TeamsTabI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamsTabItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsTabItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamsTab] = None, request_configuration: Optional[TeamsTabItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[TeamsTab] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/tabs/tabs_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/tabs/tabs_request_builder.py index 99cbf95718c..6b004a56e67 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/tabs/tabs_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/tabs/tabs_request_builder.py @@ -45,7 +45,7 @@ def by_teams_tab_id(self,teams_tab_id: str) -> TeamsTabItemRequestBuilder: async def get(self,request_configuration: Optional[TabsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsTabCollectionResponse]: """ - Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified channel within a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsTabCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list-tabs?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[TeamsTab] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[TabsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified channel within a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[TabsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamsTab] = None, request_configuration: Optional[TabsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[TeamsTab] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TabsRequestBuilderGetQueryParameters(): """ - Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified channel within a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/unarchive/unarchive_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/unarchive/unarchive_request_builder.py new file mode 100644 index 00000000000..6f77de07412 --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/primary_channel/unarchive/unarchive_request_builder.py @@ -0,0 +1,83 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + +class UnarchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the unarchive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new UnarchiveRequestBuilder 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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/unarchive", path_parameters) + + async def post(self,request_configuration: Optional[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Invoke action unarchive + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action unarchive + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> UnarchiveRequestBuilder: + """ + 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: UnarchiveRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return UnarchiveRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class UnarchiveRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/day_notes/count/count_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/day_notes/count/count_request_builder.py new file mode 100644 index 00000000000..aced307183e --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/day_notes/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/schedule/dayNotes/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/day_notes/day_notes_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/day_notes/day_notes_request_builder.py new file mode 100644 index 00000000000..c63f85a7db6 --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/day_notes/day_notes_request_builder.py @@ -0,0 +1,226 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.day_note import DayNote + from ......models.day_note_collection_response import DayNoteCollectionResponse + from ......models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.day_note_item_request_builder import DayNoteItemRequestBuilder + +class DayNotesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new DayNotesRequestBuilder 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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/schedule/dayNotes{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_day_note_id(self,day_note_id: str) -> DayNoteItemRequestBuilder: + """ + Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + param day_note_id: The unique identifier of dayNote + Returns: DayNoteItemRequestBuilder + """ + if not day_note_id: + raise TypeError("day_note_id cannot be null.") + from .item.day_note_item_request_builder import DayNoteItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["dayNote%2Did"] = day_note_id + return DayNoteItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[DayNotesRequestBuilderGetRequestConfiguration] = None) -> Optional[DayNoteCollectionResponse]: + """ + The day notes in the schedule. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DayNoteCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.day_note_collection_response import DayNoteCollectionResponse + + return await self.request_adapter.send_async(request_info, DayNoteCollectionResponse, error_mapping) + + async def post(self,body: Optional[DayNote] = None, request_configuration: Optional[DayNotesRequestBuilderPostRequestConfiguration] = None) -> Optional[DayNote]: + """ + Create new navigation property to dayNotes for teamTemplateDefinition + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DayNote] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.day_note import DayNote + + return await self.request_adapter.send_async(request_info, DayNote, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[DayNotesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + The day notes in the schedule. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[DayNote] = None, request_configuration: Optional[DayNotesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to dayNotes for teamTemplateDefinition + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> DayNotesRequestBuilder: + """ + 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: DayNotesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return DayNotesRequestBuilder(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 DayNotesRequestBuilderGetQueryParameters(): + """ + The day notes in the schedule. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class DayNotesRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[DayNotesRequestBuilder.DayNotesRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class DayNotesRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/day_notes/item/day_note_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/day_notes/item/day_note_item_request_builder.py new file mode 100644 index 00000000000..6379b65fc27 --- /dev/null +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/day_notes/item/day_note_item_request_builder.py @@ -0,0 +1,216 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.day_note import DayNote + from .......models.o_data_errors.o_data_error import ODataError + +class DayNoteItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new DayNoteItemRequestBuilder 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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/schedule/dayNotes/{dayNote%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[DayNoteItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property dayNotes for teamTemplateDefinition + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[DayNoteItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DayNote]: + """ + The day notes in the schedule. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DayNote] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.day_note import DayNote + + return await self.request_adapter.send_async(request_info, DayNote, error_mapping) + + async def patch(self,body: Optional[DayNote] = None, request_configuration: Optional[DayNoteItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[DayNote]: + """ + Update the properties of a day note. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DayNote] + Find more info here: https://learn.microsoft.com/graph/api/daynote-update?view=graph-rest-1.0 + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .......models.day_note import DayNote + + return await self.request_adapter.send_async(request_info, DayNote, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[DayNoteItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property dayNotes for teamTemplateDefinition + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[DayNoteItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + The day notes in the schedule. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[DayNote] = None, request_configuration: Optional[DayNoteItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the properties of a day note. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> DayNoteItemRequestBuilder: + """ + 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: DayNoteItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return DayNoteItemRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class DayNoteItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class DayNoteItemRequestBuilderGetQueryParameters(): + """ + The day notes in the schedule. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class DayNoteItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class DayNoteItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.py index f20982cc0a6..ac8b72dbd41 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[OfferShiftRequestItemReque async def get(self,request_configuration: Optional[OfferShiftRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OfferShiftRequest]: """ - Retrieve the properties and relationships of an offerShiftRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an offerShiftRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OfferShiftRequest] Find more info here: https://learn.microsoft.com/graph/api/offershiftrequest-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[OfferShif request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OfferShiftRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an offerShiftRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an offerShiftRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[OfferShiftRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OfferShiftRequest] = None, request_configuration: Optional[OfferShiftRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[OfferShiftRequest] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class OfferShiftRequestItemRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class OfferShiftRequestItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an offerShiftRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an offerShiftRequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/offer_shift_requests/offer_shift_requests_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/offer_shift_requests/offer_shift_requests_request_builder.py index 31d806af61a..c2e30d9e7ef 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/offer_shift_requests/offer_shift_requests_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/offer_shift_requests/offer_shift_requests_request_builder.py @@ -45,7 +45,7 @@ def by_offer_shift_request_id(self,offer_shift_request_id: str) -> OfferShiftReq async def get(self,request_configuration: Optional[OfferShiftRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[OfferShiftRequestCollectionResponse]: """ - Retrieve the properties and relationships of all offerShiftRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of all offerShiftRequest objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OfferShiftRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/offershiftrequest-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[OfferShiftRequestsRequestBuil async def post(self,body: Optional[OfferShiftRequest] = None, request_configuration: Optional[OfferShiftRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[OfferShiftRequest]: """ - Create an instance of an offerShiftRequest. This API is available in the following national cloud deployments. + Create an instance of an offerShiftRequest. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OfferShiftRequest] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OfferShiftRequest] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[OfferShiftRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of all offerShiftRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of all offerShiftRequest objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[OfferShiftRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OfferShiftRequest] = None, request_configuration: Optional[OfferShiftRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an instance of an offerShiftRequest. This API is available in the following national cloud deployments. + Create an instance of an offerShiftRequest. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OfferShiftRequest] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OfferShiftRequestsRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of all offerShiftRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of all offerShiftRequest objects in a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.py index 2693358ecf5..9f588bb560c 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[OpenShiftChangeRequestItem async def get(self,request_configuration: Optional[OpenShiftChangeRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OpenShiftChangeRequest]: """ - Retrieve the properties and relationships of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an openShiftChangeRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OpenShiftChangeRequest] Find more info here: https://learn.microsoft.com/graph/api/openshiftchangerequest-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[OpenShift request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OpenShiftChangeRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an openShiftChangeRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[OpenShiftCha request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OpenShiftChangeRequest] = None, request_configuration: Optional[OpenShiftChangeRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[OpenShiftChangeRequest] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class OpenShiftChangeRequestItemRequestBuilderDeleteRequestConfiguration(BaseReq @dataclass class OpenShiftChangeRequestItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an openShiftChangeRequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.py index f454d563ea2..55b978fe153 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.py @@ -45,7 +45,7 @@ def by_open_shift_change_request_id(self,open_shift_change_request_id: str) -> O async def get(self,request_configuration: Optional[OpenShiftChangeRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[OpenShiftChangeRequestCollectionResponse]: """ - Retrieve a list of openShiftChangeRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve a list of openShiftChangeRequest objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OpenShiftChangeRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/openshiftchangerequest-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[OpenShiftChangeRequestsReques async def post(self,body: Optional[OpenShiftChangeRequest] = None, request_configuration: Optional[OpenShiftChangeRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[OpenShiftChangeRequest]: """ - Create instance of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + Create instance of an openShiftChangeRequest object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OpenShiftChangeRequest] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OpenShiftChangeRequest] = None, request_confi def to_get_request_information(self,request_configuration: Optional[OpenShiftChangeRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of openShiftChangeRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve a list of openShiftChangeRequest objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[OpenShiftCha request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OpenShiftChangeRequest] = None, request_configuration: Optional[OpenShiftChangeRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create instance of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + Create instance of an openShiftChangeRequest object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OpenShiftChangeRequest] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OpenShiftChangeRequestsRequestBuilderGetQueryParameters(): """ - Retrieve a list of openShiftChangeRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve a list of openShiftChangeRequest objects in a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/open_shifts/item/open_shift_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/open_shifts/item/open_shift_item_request_builder.py index 2aefd7e981c..50fe1a8f03e 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/open_shifts/item/open_shift_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/open_shifts/item/open_shift_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[OpenShiftItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an openShift object. This API is available in the following national cloud deployments. + Delete an openShift object. 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/openshift-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[OpenShiftItemRequestBuilde async def get(self,request_configuration: Optional[OpenShiftItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OpenShift]: """ - Retrieve the properties and relationships of an openshift object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an openshift object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OpenShift] Find more info here: https://learn.microsoft.com/graph/api/openshift-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[OpenShift] = None, request_configuration: Op def to_delete_request_information(self,request_configuration: Optional[OpenShiftItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an openShift object. This API is available in the following national cloud deployments. + Delete an openShift object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[OpenShift request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OpenShiftItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an openshift object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an openshift object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[OpenShiftIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OpenShift] = None, request_configuration: Optional[OpenShiftItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[OpenShift] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class OpenShiftItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class OpenShiftItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an openshift object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an openshift object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/open_shifts/open_shifts_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/open_shifts/open_shifts_request_builder.py index 2acc7759288..41c1ba140f8 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/open_shifts/open_shifts_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/open_shifts/open_shifts_request_builder.py @@ -45,7 +45,7 @@ def by_open_shift_id(self,open_shift_id: str) -> OpenShiftItemRequestBuilder: async def get(self,request_configuration: Optional[OpenShiftsRequestBuilderGetRequestConfiguration] = None) -> Optional[OpenShiftCollectionResponse]: """ - List openshift objects in a team. This API is available in the following national cloud deployments. + List openshift objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OpenShiftCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/openshift-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[OpenShiftsRequestBuilderGetRe async def post(self,body: Optional[OpenShift] = None, request_configuration: Optional[OpenShiftsRequestBuilderPostRequestConfiguration] = None) -> Optional[OpenShift]: """ - Create an instance of an openshift object. This API is available in the following national cloud deployments. + Create an instance of an openshift object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OpenShift] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OpenShift] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[OpenShiftsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List openshift objects in a team. This API is available in the following national cloud deployments. + List openshift objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[OpenShiftsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OpenShift] = None, request_configuration: Optional[OpenShiftsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an instance of an openshift object. This API is available in the following national cloud deployments. + Create an instance of an openshift object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OpenShift] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OpenShiftsRequestBuilderGetQueryParameters(): """ - List openshift objects in a team. This API is available in the following national cloud deployments. + List openshift objects in a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/schedule_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/schedule_request_builder.py index 732320c4719..517825f3f72 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/schedule_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/schedule_request_builder.py @@ -12,6 +12,7 @@ if TYPE_CHECKING: from .....models.o_data_errors.o_data_error import ODataError from .....models.schedule import Schedule + from .day_notes.day_notes_request_builder import DayNotesRequestBuilder from .offer_shift_requests.offer_shift_requests_request_builder import OfferShiftRequestsRequestBuilder from .open_shifts.open_shifts_request_builder import OpenShiftsRequestBuilder from .open_shift_change_requests.open_shift_change_requests_request_builder import OpenShiftChangeRequestsRequestBuilder @@ -58,7 +59,7 @@ async def delete(self,request_configuration: Optional[ScheduleRequestBuilderDele async def get(self,request_configuration: Optional[ScheduleRequestBuilderGetRequestConfiguration] = None) -> Optional[Schedule]: """ - Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Schedule] Find more info here: https://learn.microsoft.com/graph/api/schedule-get?view=graph-rest-1.0 @@ -115,12 +116,12 @@ def to_delete_request_information(self,request_configuration: Optional[ScheduleR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ScheduleRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -132,7 +133,7 @@ def to_get_request_information(self,request_configuration: Optional[ScheduleRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_put_request_information(self,body: Optional[Schedule] = None, request_configuration: Optional[ScheduleRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -151,7 +152,7 @@ def to_put_request_information(self,body: Optional[Schedule] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -165,6 +166,15 @@ def with_url(self,raw_url: Optional[str] = None) -> ScheduleRequestBuilder: raise TypeError("raw_url cannot be null.") return ScheduleRequestBuilder(self.request_adapter, raw_url) + @property + def day_notes(self) -> DayNotesRequestBuilder: + """ + Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + """ + from .day_notes.day_notes_request_builder import DayNotesRequestBuilder + + return DayNotesRequestBuilder(self.request_adapter, self.path_parameters) + @property def offer_shift_requests(self) -> OfferShiftRequestsRequestBuilder: """ @@ -277,7 +287,7 @@ class ScheduleRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class ScheduleRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/scheduling_groups/item/scheduling_group_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/scheduling_groups/item/scheduling_group_item_request_builder.py index 81cf5e2b1bd..a6300583255 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/scheduling_groups/item/scheduling_group_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/scheduling_groups/item/scheduling_group_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[SchedulingGroupItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. This API is available in the following national cloud deployments. + Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. 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/schedulinggroup-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[SchedulingGroupItemRequest async def get(self,request_configuration: Optional[SchedulingGroupItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SchedulingGroup]: """ - Retrieve the properties and relationships of a schedulingGroup by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a schedulingGroup by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SchedulingGroup] Find more info here: https://learn.microsoft.com/graph/api/schedulinggroup-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[SchedulingGroup] = None, request_configurati def to_delete_request_information(self,request_configuration: Optional[SchedulingGroupItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. This API is available in the following national cloud deployments. + Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Schedulin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SchedulingGroupItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a schedulingGroup by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a schedulingGroup by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[SchedulingGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SchedulingGroup] = None, request_configuration: Optional[SchedulingGroupItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[SchedulingGroup] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class SchedulingGroupItemRequestBuilderDeleteRequestConfiguration(BaseRequestCon @dataclass class SchedulingGroupItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a schedulingGroup by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a schedulingGroup by ID. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/scheduling_groups/scheduling_groups_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/scheduling_groups/scheduling_groups_request_builder.py index b3631033cc8..5517d117e67 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/scheduling_groups/scheduling_groups_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/scheduling_groups/scheduling_groups_request_builder.py @@ -45,7 +45,7 @@ def by_scheduling_group_id(self,scheduling_group_id: str) -> SchedulingGroupItem async def get(self,request_configuration: Optional[SchedulingGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[SchedulingGroupCollectionResponse]: """ - Get the list of schedulingGroups in this schedule. This API is available in the following national cloud deployments. + Get the list of schedulingGroups in this schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SchedulingGroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/schedule-list-schedulinggroups?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SchedulingGroupsRequestBuilde async def post(self,body: Optional[SchedulingGroup] = None, request_configuration: Optional[SchedulingGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[SchedulingGroup]: """ - Create a new schedulingGroup. This API is available in the following national cloud deployments. + Create a new schedulingGroup. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SchedulingGroup] @@ -92,7 +92,7 @@ async def post(self,body: Optional[SchedulingGroup] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[SchedulingGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of schedulingGroups in this schedule. This API is available in the following national cloud deployments. + Get the list of schedulingGroups in this schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SchedulingGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SchedulingGroup] = None, request_configuration: Optional[SchedulingGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new schedulingGroup. This API is available in the following national cloud deployments. + Create a new schedulingGroup. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[SchedulingGroup] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SchedulingGroupsRequestBuilderGetQueryParameters(): """ - Get the list of schedulingGroups in this schedule. This API is available in the following national cloud deployments. + Get the list of schedulingGroups in this schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/share/share_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/share/share_request_builder.py index 3b7e04bd124..a9e9f1c9f30 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/share/share_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/share/share_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SharePostRequestBody] = None, request_configuration: Optional[ShareRequestBuilderPostRequestConfiguration] = None) -> None: """ - Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. This API is available in the following national cloud deployments. + Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SharePostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[SharePostRequestBody] = None, request_configuration: Optional[ShareRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. This API is available in the following national cloud deployments. + Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SharePostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/shifts/item/shift_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/shifts/item/shift_item_request_builder.py index cadf0517e0a..0aed0576502 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/shifts/item/shift_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/shifts/item/shift_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ShiftItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a shift from the schedule. This API is available in the following national cloud deployments. + Delete a shift from the schedule. 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/shift-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ShiftItemRequestBuilderDel async def get(self,request_configuration: Optional[ShiftItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Shift]: """ - Retrieve the properties and relationships of a shift object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a shift object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Shift] Find more info here: https://learn.microsoft.com/graph/api/shift-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[Shift] = None, request_configuration: Option def to_delete_request_information(self,request_configuration: Optional[ShiftItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a shift from the schedule. This API is available in the following national cloud deployments. + Delete a shift from the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[ShiftItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ShiftItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a shift object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a shift object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[ShiftItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Shift] = None, request_configuration: Optional[ShiftItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Shift] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class ShiftItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration @dataclass class ShiftItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a shift object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a shift object by ID. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/shifts/shifts_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/shifts/shifts_request_builder.py index 73b3e555108..cb78256c164 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/shifts/shifts_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/shifts/shifts_request_builder.py @@ -45,7 +45,7 @@ def by_shift_id(self,shift_id: str) -> ShiftItemRequestBuilder: async def get(self,request_configuration: Optional[ShiftsRequestBuilderGetRequestConfiguration] = None) -> Optional[ShiftCollectionResponse]: """ - Get the list of shift instances in a schedule. This API is available in the following national cloud deployments. + Get the list of shift instances in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ShiftCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/schedule-list-shifts?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ShiftsRequestBuilderGetReques async def post(self,body: Optional[Shift] = None, request_configuration: Optional[ShiftsRequestBuilderPostRequestConfiguration] = None) -> Optional[Shift]: """ - Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. This API is available in the following national cloud deployments. + Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Shift] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Shift] = None, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[ShiftsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of shift instances in a schedule. This API is available in the following national cloud deployments. + Get the list of shift instances in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ShiftsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Shift] = None, request_configuration: Optional[ShiftsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. This API is available in the following national cloud deployments. + Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Shift] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ShiftsRequestBuilderGetQueryParameters(): """ - Get the list of shift instances in a schedule. This API is available in the following national cloud deployments. + Get the list of shift instances in a schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.py index da211ec5037..7c36ddf7baf 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[SwapShiftsChangeRequestIte async def get(self,request_configuration: Optional[SwapShiftsChangeRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SwapShiftsChangeRequest]: """ - Retrieve the properties and relationships of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a swapShiftsChangeRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SwapShiftsChangeRequest] Find more info here: https://learn.microsoft.com/graph/api/swapshiftschangerequest-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[SwapShift request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SwapShiftsChangeRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a swapShiftsChangeRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[SwapShiftsCh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SwapShiftsChangeRequest] = None, request_configuration: Optional[SwapShiftsChangeRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[SwapShiftsChangeRequest] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class SwapShiftsChangeRequestItemRequestBuilderDeleteRequestConfiguration(BaseRe @dataclass class SwapShiftsChangeRequestItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a swapShiftsChangeRequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.py index 51d2a777738..05436274907 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.py @@ -45,7 +45,7 @@ def by_swap_shifts_change_request_id(self,swap_shifts_change_request_id: str) -> async def get(self,request_configuration: Optional[SwapShiftsChangeRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[SwapShiftsChangeRequestCollectionResponse]: """ - Retrieve a list of swapShiftsChangeRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve a list of swapShiftsChangeRequest objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SwapShiftsChangeRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/swapshiftschangerequest-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SwapShiftsChangeRequestsReque async def post(self,body: Optional[SwapShiftsChangeRequest] = None, request_configuration: Optional[SwapShiftsChangeRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[SwapShiftsChangeRequest]: """ - Create an instance of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + Create an instance of a swapShiftsChangeRequest object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SwapShiftsChangeRequest] @@ -92,7 +92,7 @@ async def post(self,body: Optional[SwapShiftsChangeRequest] = None, request_conf def to_get_request_information(self,request_configuration: Optional[SwapShiftsChangeRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of swapShiftsChangeRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve a list of swapShiftsChangeRequest objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SwapShiftsCh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SwapShiftsChangeRequest] = None, request_configuration: Optional[SwapShiftsChangeRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an instance of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + Create an instance of a swapShiftsChangeRequest object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[SwapShiftsChangeRequest] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SwapShiftsChangeRequestsRequestBuilderGetQueryParameters(): """ - Retrieve a list of swapShiftsChangeRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve a list of swapShiftsChangeRequest objects in a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/clock_in/clock_in_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/clock_in/clock_in_request_builder.py index 9b6eac63bac..67a85a2b1f7 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/clock_in/clock_in_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/clock_in/clock_in_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ClockInPostRequestBody] = None, request_configuration: Optional[ClockInRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeCard]: """ - Clock in to start a timeCard. This API is available in the following national cloud deployments. + Clock in to start a timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCard] @@ -54,7 +54,7 @@ async def post(self,body: Optional[ClockInPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ClockInPostRequestBody] = None, request_configuration: Optional[ClockInRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clock in to start a timeCard. This API is available in the following national cloud deployments. + Clock in to start a timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[ClockInPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/clock_out/clock_out_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/clock_out/clock_out_request_builder.py index ddb3dadf9d5..82452da2ddc 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/clock_out/clock_out_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/clock_out/clock_out_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ClockOutPostRequestBody] = None, request_configuration: Optional[ClockOutRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeCard]: """ - Clock out to end an open timeCard. This API is available in the following national cloud deployments. + Clock out to end an open timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCard] @@ -54,7 +54,7 @@ async def post(self,body: Optional[ClockOutPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[ClockOutPostRequestBody] = None, request_configuration: Optional[ClockOutRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clock out to end an open timeCard. This API is available in the following national cloud deployments. + Clock out to end an open timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[ClockOutPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/confirm/confirm_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/confirm/confirm_request_builder.py index 22b63c09ac6..7776c6c5093 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/confirm/confirm_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/confirm/confirm_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ConfirmRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeCard]: """ - Confirm a specific timeCard. This API is available in the following national cloud deployments. + Confirm a specific timeCard. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCard] Find more info here: https://learn.microsoft.com/graph/api/timecard-confirm?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[ConfirmRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[ConfirmRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Confirm a specific timeCard. This API is available in the following national cloud deployments. + Confirm a specific timeCard. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[ConfirmRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ConfirmRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/end_break/end_break_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/end_break/end_break_request_builder.py index e61f417170c..68d513d483b 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/end_break/end_break_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/end_break/end_break_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[EndBreakPostRequestBody] = None, request_configuration: Optional[EndBreakRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeCard]: """ - End the open break in a specific timeCard. This API is available in the following national cloud deployments. + End the open break in a specific timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCard] @@ -54,7 +54,7 @@ async def post(self,body: Optional[EndBreakPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[EndBreakPostRequestBody] = None, request_configuration: Optional[EndBreakRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - End the open break in a specific timeCard. This API is available in the following national cloud deployments. + End the open break in a specific timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[EndBreakPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/start_break/start_break_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/start_break/start_break_request_builder.py index 924e50dce45..86881572aee 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/start_break/start_break_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/start_break/start_break_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[StartBreakPostRequestBody] = None, request_configuration: Optional[StartBreakRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeCard]: """ - Start a break in a specific timeCard. This API is available in the following national cloud deployments. + Start a break in a specific timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCard] @@ -54,7 +54,7 @@ async def post(self,body: Optional[StartBreakPostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[StartBreakPostRequestBody] = None, request_configuration: Optional[StartBreakRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Start a break in a specific timeCard. This API is available in the following national cloud deployments. + Start a break in a specific timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[StartBreakPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/time_card_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/time_card_item_request_builder.py index 7cea289c55d..653476c30fa 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/time_card_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/item/time_card_item_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TimeCardItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a timeCard instance in a schedule. This API is available in the following national cloud deployments. + Delete a timeCard instance in a schedule. 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/timecard-delete?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[TimeCardItemRequestBuilder async def get(self,request_configuration: Optional[TimeCardItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeCard]: """ - Get the properties and relationships of a timeCard object by ID. This API is available in the following national cloud deployments. + Get the properties and relationships of a timeCard object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCard] Find more info here: https://learn.microsoft.com/graph/api/timecard-get?view=graph-rest-1.0 @@ -99,7 +99,7 @@ async def patch(self,body: Optional[TimeCard] = None, request_configuration: Opt def to_delete_request_information(self,request_configuration: Optional[TimeCardItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a timeCard instance in a schedule. This API is available in the following national cloud deployments. + Delete a timeCard instance in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -110,12 +110,12 @@ def to_delete_request_information(self,request_configuration: Optional[TimeCardI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TimeCardItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a timeCard object by ID. This API is available in the following national cloud deployments. + Get the properties and relationships of a timeCard object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[TimeCardItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TimeCard] = None, request_configuration: Optional[TimeCardItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[TimeCard] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -209,7 +209,7 @@ class TimeCardItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class TimeCardItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a timeCard object by ID. This API is available in the following national cloud deployments. + Get the properties and relationships of a timeCard object by ID. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/time_cards_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/time_cards_request_builder.py index 24b344b57ef..c0366e62d31 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/time_cards_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_cards/time_cards_request_builder.py @@ -46,7 +46,7 @@ def by_time_card_id(self,time_card_id: str) -> TimeCardItemRequestBuilder: async def get(self,request_configuration: Optional[TimeCardsRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeCardCollectionResponse]: """ - Retrieve a list of timeCard entries in a schedule. This API is available in the following national cloud deployments. + Retrieve a list of timeCard entries in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCardCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/timecard-list?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[TimeCardsRequestBuilderGetReq async def post(self,body: Optional[TimeCard] = None, request_configuration: Optional[TimeCardsRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeCard]: """ - Create a timeCard instance in a schedule. This API is available in the following national cloud deployments. + Create a timeCard instance in a schedule. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCard] @@ -93,7 +93,7 @@ async def post(self,body: Optional[TimeCard] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[TimeCardsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of timeCard entries in a schedule. This API is available in the following national cloud deployments. + Retrieve a list of timeCard entries in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[TimeCardsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TimeCard] = None, request_configuration: Optional[TimeCardsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a timeCard instance in a schedule. This API is available in the following national cloud deployments. + Create a timeCard instance in a schedule. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[TimeCard] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TimeCardsRequestBuilderGetQueryParameters(): """ - Retrieve a list of timeCard entries in a schedule. This API is available in the following national cloud deployments. + Retrieve a list of timeCard entries in a schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_off_reasons/item/time_off_reason_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_off_reasons/item/time_off_reason_item_request_builder.py index a40ce3fd1cd..e65045d3789 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_off_reasons/item/time_off_reason_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_off_reasons/item/time_off_reason_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TimeOffReasonItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method does not remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. This API is available in the following national cloud deployments. + Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method does not remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. 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/timeoffreason-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[TimeOffReasonItemRequestBu async def get(self,request_configuration: Optional[TimeOffReasonItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeOffReason]: """ - Retrieve the properties and relationships of a timeOffReason object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeOffReason object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOffReason] Find more info here: https://learn.microsoft.com/graph/api/timeoffreason-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[TimeOffReason] = None, request_configuration def to_delete_request_information(self,request_configuration: Optional[TimeOffReasonItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method does not remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. This API is available in the following national cloud deployments. + Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method does not remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[TimeOffRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TimeOffReasonItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a timeOffReason object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeOffReason object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[TimeOffReaso request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TimeOffReason] = None, request_configuration: Optional[TimeOffReasonItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[TimeOffReason] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class TimeOffReasonItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class TimeOffReasonItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a timeOffReason object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeOffReason object by ID. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_off_reasons/time_off_reasons_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_off_reasons/time_off_reasons_request_builder.py index ed32090d373..8bb91cff740 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_off_reasons/time_off_reasons_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_off_reasons/time_off_reasons_request_builder.py @@ -45,7 +45,7 @@ def by_time_off_reason_id(self,time_off_reason_id: str) -> TimeOffReasonItemRequ async def get(self,request_configuration: Optional[TimeOffReasonsRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeOffReasonCollectionResponse]: """ - Get the list of timeOffReasons in a schedule. This API is available in the following national cloud deployments. + Get the list of timeOffReasons in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOffReasonCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/schedule-list-timeoffreasons?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TimeOffReasonsRequestBuilderG async def post(self,body: Optional[TimeOffReason] = None, request_configuration: Optional[TimeOffReasonsRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeOffReason]: """ - Create a new timeOffReason. This API is available in the following national cloud deployments. + Create a new timeOffReason. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOffReason] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TimeOffReason] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[TimeOffReasonsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of timeOffReasons in a schedule. This API is available in the following national cloud deployments. + Get the list of timeOffReasons in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[TimeOffReaso request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TimeOffReason] = None, request_configuration: Optional[TimeOffReasonsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new timeOffReason. This API is available in the following national cloud deployments. + Create a new timeOffReason. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TimeOffReason] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TimeOffReasonsRequestBuilderGetQueryParameters(): """ - Get the list of timeOffReasons in a schedule. This API is available in the following national cloud deployments. + Get the list of timeOffReasons in a schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_off_requests/item/time_off_request_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_off_requests/item/time_off_request_item_request_builder.py index 233bbd2131c..b440ae45b4e 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_off_requests/item/time_off_request_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_off_requests/item/time_off_request_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TimeOffRequestItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a timeOffRequest object. This API is available in the following national cloud deployments. + Delete a timeOffRequest object. 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/timeoffrequest-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[TimeOffRequestItemRequestB async def get(self,request_configuration: Optional[TimeOffRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeOffRequest]: """ - Retrieve the properties and relationships of a timeoffrequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeoffrequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOffRequest] Find more info here: https://learn.microsoft.com/graph/api/timeoffrequest-get?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[TimeOffRequest] = None, request_configuratio def to_delete_request_information(self,request_configuration: Optional[TimeOffRequestItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a timeOffRequest object. This API is available in the following national cloud deployments. + Delete a timeOffRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[TimeOffRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TimeOffRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a timeoffrequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeoffrequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TimeOffReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TimeOffRequest] = None, request_configuration: Optional[TimeOffRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[TimeOffRequest] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class TimeOffRequestItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class TimeOffRequestItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a timeoffrequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeoffrequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_off_requests/time_off_requests_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_off_requests/time_off_requests_request_builder.py index 2750a7ecc0c..1bc7c330795 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_off_requests/time_off_requests_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/time_off_requests/time_off_requests_request_builder.py @@ -45,7 +45,7 @@ def by_time_off_request_id(self,time_off_request_id: str) -> TimeOffRequestItemR async def get(self,request_configuration: Optional[TimeOffRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeOffRequestCollectionResponse]: """ - Retrieve a list of timeoffrequest objects in the team. This API is available in the following national cloud deployments. + Retrieve a list of timeoffrequest objects in the team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOffRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/timeoffrequest-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[TimeOffRequest] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[TimeOffRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of timeoffrequest objects in the team. This API is available in the following national cloud deployments. + Retrieve a list of timeoffrequest objects in the team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[TimeOffReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TimeOffRequest] = None, request_configuration: Optional[TimeOffRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[TimeOffRequest] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TimeOffRequestsRequestBuilderGetQueryParameters(): """ - Retrieve a list of timeoffrequest objects in the team. This API is available in the following national cloud deployments. + Retrieve a list of timeoffrequest objects in the team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/times_off/item/time_off_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/times_off/item/time_off_item_request_builder.py index 2a6fd86c235..15a5413fdc2 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/times_off/item/time_off_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/times_off/item/time_off_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TimeOffItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a timeOff instance from a schedule. This API is available in the following national cloud deployments. + Delete a timeOff instance from a schedule. 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/timeoff-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[TimeOffItemRequestBuilderD async def get(self,request_configuration: Optional[TimeOffItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeOff]: """ - Retrieve the properties and relationships of a timeOff object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeOff object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOff] Find more info here: https://learn.microsoft.com/graph/api/timeoff-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[TimeOff] = None, request_configuration: Opti def to_delete_request_information(self,request_configuration: Optional[TimeOffItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a timeOff instance from a schedule. This API is available in the following national cloud deployments. + Delete a timeOff instance from a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[TimeOffIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TimeOffItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a timeOff object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeOff object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[TimeOffItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TimeOff] = None, request_configuration: Optional[TimeOffItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[TimeOff] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class TimeOffItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurati @dataclass class TimeOffItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a timeOff object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeOff object by ID. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/times_off/times_off_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/times_off/times_off_request_builder.py index b3b6b9a95a9..fadfd1acdab 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/times_off/times_off_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/schedule/times_off/times_off_request_builder.py @@ -45,7 +45,7 @@ def by_time_off_id(self,time_off_id: str) -> TimeOffItemRequestBuilder: async def get(self,request_configuration: Optional[TimesOffRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeOffCollectionResponse]: """ - Get the list of timeOff instances in a schedule. This API is available in the following national cloud deployments. + Get the list of timeOff instances in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOffCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/schedule-list-timesoff?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TimesOffRequestBuilderGetRequ async def post(self,body: Optional[TimeOff] = None, request_configuration: Optional[TimesOffRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeOff]: """ - Create a new timeOff instance in a schedule. This API is available in the following national cloud deployments. + Create a new timeOff instance in a schedule. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOff] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TimeOff] = None, request_configuration: Optio def to_get_request_information(self,request_configuration: Optional[TimesOffRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of timeOff instances in a schedule. This API is available in the following national cloud deployments. + Get the list of timeOff instances in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[TimesOffRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TimeOff] = None, request_configuration: Optional[TimesOffRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new timeOff instance in a schedule. This API is available in the following national cloud deployments. + Create a new timeOff instance in a schedule. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TimeOff] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TimesOffRequestBuilderGetQueryParameters(): """ - Get the list of timeOff instances in a schedule. This API is available in the following national cloud deployments. + Get the list of timeOff instances in a schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/send_activity_notification/send_activity_notification_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/send_activity_notification/send_activity_notification_request_builder.py index 8c6dc279d6f..eb922e4eaca 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/send_activity_notification/send_activity_notification_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/send_activity_notification/send_activity_notification_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SendActivityNotificationPostRequestBody] = None, request_configuration: Optional[SendActivityNotificationRequestBuilderPostRequestConfiguration] = None) -> None: """ - Send an activity feed notification in the scope of a team. For more information, see sending Teams activity notifications. This API is available in the following national cloud deployments. + Send an activity feed notification in the scope of a team. For more information, see sending Teams activity notifications. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SendActivityNotificationPostRequestBody] = No def to_post_request_information(self,body: Optional[SendActivityNotificationPostRequestBody] = None, request_configuration: Optional[SendActivityNotificationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send an activity feed notification in the scope of a team. For more information, see sending Teams activity notifications. This API is available in the following national cloud deployments. + Send an activity feed notification in the scope of a team. For more information, see sending Teams activity notifications. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SendActivityNotificationPost request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/tags/item/members/item/teamwork_tag_member_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/tags/item/members/item/teamwork_tag_member_item_request_builder.py index 4c764baf4b0..afbf9810241 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/tags/item/members/item/teamwork_tag_member_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/tags/item/members/item/teamwork_tag_member_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TeamworkTagMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a member from a standard tag in a team. This API is available in the following national cloud deployments. + Delete a member from a standard tag in a team. 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/teamworktagmember-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[TeamworkTagMemberItemReque async def get(self,request_configuration: Optional[TeamworkTagMemberItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamworkTagMember]: """ - Get the properties and relationships of a member of a standard tag in a team. This API is available in the following national cloud deployments. + Get the properties and relationships of a member of a standard tag in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkTagMember] Find more info here: https://learn.microsoft.com/graph/api/teamworktagmember-get?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[TeamworkTagMember] = None, request_configura def to_delete_request_information(self,request_configuration: Optional[TeamworkTagMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a member from a standard tag in a team. This API is available in the following national cloud deployments. + Delete a member from a standard tag in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[TeamworkT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamworkTagMemberItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a member of a standard tag in a team. This API is available in the following national cloud deployments. + Get the properties and relationships of a member of a standard tag in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamworkTagM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamworkTagMember] = None, request_configuration: Optional[TeamworkTagMemberItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[TeamworkTagMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class TeamworkTagMemberItemRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class TeamworkTagMemberItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a member of a standard tag in a team. This API is available in the following national cloud deployments. + Get the properties and relationships of a member of a standard tag in a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/tags/item/members/members_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/tags/item/members/members_request_builder.py index 481f297fa7c..640f33379a6 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/tags/item/members/members_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/tags/item/members/members_request_builder.py @@ -45,7 +45,7 @@ def by_teamwork_tag_member_id(self,teamwork_tag_member_id: str) -> TeamworkTagMe async def get(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamworkTagMemberCollectionResponse]: """ - Get a list of the members of a standard tag in a team and their properties. This API is available in the following national cloud deployments. + Get a list of the members of a standard tag in a team and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkTagMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/teamworktagmember-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[MembersRequestBuilderGetReque async def post(self,body: Optional[TeamworkTagMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> Optional[TeamworkTagMember]: """ - Create a new teamworkTagMember object in a team. This API is available in the following national cloud deployments. + Create a new teamworkTagMember object in a team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkTagMember] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TeamworkTagMember] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the members of a standard tag in a team and their properties. This API is available in the following national cloud deployments. + Get a list of the members of a standard tag in a team and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamworkTagMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new teamworkTagMember object in a team. This API is available in the following national cloud deployments. + Create a new teamworkTagMember object in a team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TeamworkTagMember] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MembersRequestBuilderGetQueryParameters(): """ - Get a list of the members of a standard tag in a team and their properties. This API is available in the following national cloud deployments. + Get a list of the members of a standard tag in a team and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/tags/item/teamwork_tag_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/tags/item/teamwork_tag_item_request_builder.py index 784c7bc63b0..ff9f6746d6a 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/tags/item/teamwork_tag_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/tags/item/teamwork_tag_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TeamworkTagItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a tag object permanently. This API is available in the following national cloud deployments. + Delete a tag object permanently. 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/teamworktag-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[TeamworkTagItemRequestBuil async def get(self,request_configuration: Optional[TeamworkTagItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamworkTag]: """ - Read the properties and relationships of a tag object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tag object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkTag] Find more info here: https://learn.microsoft.com/graph/api/teamworktag-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[TeamworkTagItemRequestBuilder async def patch(self,body: Optional[TeamworkTag] = None, request_configuration: Optional[TeamworkTagItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[TeamworkTag]: """ - Update the properties of a teamworkTag object. This API is available in the following national cloud deployments. + Update the properties of a teamworkTag object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkTag] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[TeamworkTag] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[TeamworkTagItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a tag object permanently. This API is available in the following national cloud deployments. + Delete a tag object permanently. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[TeamworkT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamworkTagItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a tag object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tag object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[TeamworkTagI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamworkTag] = None, request_configuration: Optional[TeamworkTagItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a teamworkTag object. This API is available in the following national cloud deployments. + Update the properties of a teamworkTag object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[TeamworkTag] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class TeamworkTagItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class TeamworkTagItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a tag object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tag object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/tags/tags_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/tags/tags_request_builder.py index fb6ec8a925d..f0eb455eced 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/tags/tags_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/tags/tags_request_builder.py @@ -45,7 +45,7 @@ def by_teamwork_tag_id(self,teamwork_tag_id: str) -> TeamworkTagItemRequestBuild async def get(self,request_configuration: Optional[TagsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamworkTagCollectionResponse]: """ - Get a list of the tag objects and their properties. This API is available in the following national cloud deployments. + Get a list of the tag objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkTagCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/teamworktag-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TagsRequestBuilderGetRequestC async def post(self,body: Optional[TeamworkTag] = None, request_configuration: Optional[TagsRequestBuilderPostRequestConfiguration] = None) -> Optional[TeamworkTag]: """ - Create a standard tag for members in the team. This API is available in the following national cloud deployments. + Create a standard tag for members in the team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkTag] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TeamworkTag] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[TagsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the tag objects and their properties. This API is available in the following national cloud deployments. + Get a list of the tag objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[TagsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamworkTag] = None, request_configuration: Optional[TagsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a standard tag for members in the team. This API is available in the following national cloud deployments. + Create a standard tag for members in the team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TeamworkTag] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TagsRequestBuilderGetQueryParameters(): """ - Get a list of the tag objects and their properties. This API is available in the following national cloud deployments. + Get a list of the tag objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/team_definition_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/team_definition_request_builder.py index 2c3f979f53f..e5ef7faf297 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/team_definition_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/team_definition_request_builder.py @@ -67,7 +67,7 @@ async def delete(self,request_configuration: Optional[TeamDefinitionRequestBuild async def get(self,request_configuration: Optional[TeamDefinitionRequestBuilderGetRequestConfiguration] = None) -> Optional[Team]: """ - Get the properties of the team associated with a teamTemplateDefinition object. This API is available in the following national cloud deployments. + Get the properties of the team associated with a teamTemplateDefinition object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Team] Find more info here: https://learn.microsoft.com/graph/api/teamtemplatedefinition-get-teamdefinition?view=graph-rest-1.0 @@ -124,12 +124,12 @@ def to_delete_request_information(self,request_configuration: Optional[TeamDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamDefinitionRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties of the team associated with a teamTemplateDefinition object. This API is available in the following national cloud deployments. + Get the properties of the team associated with a teamTemplateDefinition object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -141,7 +141,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Team] = None, request_configuration: Optional[TeamDefinitionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -160,7 +160,7 @@ def to_patch_request_information(self,body: Optional[Team] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -367,7 +367,7 @@ class TeamDefinitionRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class TeamDefinitionRequestBuilderGetQueryParameters(): """ - Get the properties of the team associated with a teamTemplateDefinition object. This API is available in the following national cloud deployments. + Get the properties of the team associated with a teamTemplateDefinition object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/template/template_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/template/template_request_builder.py index 7a974518868..cc406f3770f 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/template/template_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/template/template_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TemplateRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TemplateRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/template_definition/template_definition_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/template_definition/template_definition_request_builder.py index a5d3f880d83..a105c864c87 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/template_definition/template_definition_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/template_definition/template_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TemplateDefi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TemplateDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_definition/unarchive/unarchive_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_definition/unarchive/unarchive_request_builder.py index 9c56ab9f3f1..3fe765e53a5 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_definition/unarchive/unarchive_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_definition/unarchive/unarchive_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> None: """ - Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. This API is available in the following national cloud deployments. + Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. 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/team-unarchive?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UnarchiveRequestBuilderPostR def to_post_request_information(self,request_configuration: Optional[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. This API is available in the following national cloud deployments. + Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UnarchiveRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnarchiveRequestBuilder: diff --git a/msgraph_beta/generated/team_template_definition/item/team_template_definition_item_request_builder.py b/msgraph_beta/generated/team_template_definition/item/team_template_definition_item_request_builder.py index fb0be528df3..354c01fd7b6 100644 --- a/msgraph_beta/generated/team_template_definition/item/team_template_definition_item_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/item/team_template_definition_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[TeamTempl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamTemplateDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamTemplate request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamTemplateDefinition] = None, request_configuration: Optional[TeamTemplateDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[TeamTemplateDefinition] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/team_template_definition/team_template_definition_request_builder.py b/msgraph_beta/generated/team_template_definition/team_template_definition_request_builder.py index b0cf5fcde8c..1e63ac35025 100644 --- a/msgraph_beta/generated/team_template_definition/team_template_definition_request_builder.py +++ b/msgraph_beta/generated/team_template_definition/team_template_definition_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamTemplate request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamTemplateDefinition] = None, request_configuration: Optional[TeamTemplateDefinitionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[TeamTemplateDefinition] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teams/all_messages/all_messages_request_builder.py b/msgraph_beta/generated/teams/all_messages/all_messages_request_builder.py index cda3b542c6e..df049daba97 100644 --- a/msgraph_beta/generated/teams/all_messages/all_messages_request_builder.py +++ b/msgraph_beta/generated/teams/all_messages/all_messages_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AllMessagesR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllMessagesRequestBuilder: diff --git a/msgraph_beta/generated/teams/get_all_messages/get_all_messages_request_builder.py b/msgraph_beta/generated/teams/get_all_messages/get_all_messages_request_builder.py index c4f73b754b5..de193de7468 100644 --- a/msgraph_beta/generated/teams/get_all_messages/get_all_messages_request_builder.py +++ b/msgraph_beta/generated/teams/get_all_messages/get_all_messages_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetAllMessag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetAllMessagesRequestBuilder: diff --git a/msgraph_beta/generated/teams/get_open_shifts/get_open_shifts_get_response.py b/msgraph_beta/generated/teams/get_open_shifts/get_open_shifts_get_response.py new file mode 100644 index 00000000000..ce0b95ab8dc --- /dev/null +++ b/msgraph_beta/generated/teams/get_open_shifts/get_open_shifts_get_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.open_shift import OpenShift + +from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class GetOpenShiftsGetResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[OpenShift]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> GetOpenShiftsGetResponse: + """ + 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: GetOpenShiftsGetResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return GetOpenShiftsGetResponse() + + 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.open_shift import OpenShift + + from ...models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ...models.open_shift import OpenShift + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(OpenShift)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/transcripts/delta/delta_request_builder.py b/msgraph_beta/generated/teams/get_open_shifts/get_open_shifts_request_builder.py similarity index 74% rename from msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/transcripts/delta/delta_request_builder.py rename to msgraph_beta/generated/teams/get_open_shifts/get_open_shifts_request_builder.py index bc62b921b00..f143dbb179d 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/transcripts/delta/delta_request_builder.py +++ b/msgraph_beta/generated/teams/get_open_shifts/get_open_shifts_request_builder.py @@ -10,32 +10,32 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .........models.o_data_errors.o_data_error import ODataError - from .delta_get_response import DeltaGetResponse + from ...models.o_data_errors.o_data_error import ODataError + from .get_open_shifts_get_response import GetOpenShiftsGetResponse -class DeltaRequestBuilder(BaseRequestBuilder): +class GetOpenShiftsRequestBuilder(BaseRequestBuilder): """ - Provides operations to call the delta method. + Provides operations to call the getOpenShifts method. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ - Instantiates a new DeltaRequestBuilder and sets the default values. + Instantiates a new GetOpenShiftsRequestBuilder 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}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/transcripts/delta(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/teams/getOpenShifts(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}", path_parameters) - async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: + async def get(self,request_configuration: Optional[GetOpenShiftsRequestBuilderGetRequestConfiguration] = None) -> Optional[GetOpenShiftsGetResponse]: """ - Invoke function delta + Invoke function getOpenShifts param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[DeltaGetResponse] + Returns: Optional[GetOpenShiftsGetResponse] """ 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, ParsableFactory] = { "4XX": ODataError, @@ -43,13 +43,13 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest } if not self.request_adapter: raise Exception("Http core is null") - from .delta_get_response import DeltaGetResponse + from .get_open_shifts_get_response import GetOpenShiftsGetResponse - return await self.request_adapter.send_async(request_info, DeltaGetResponse, error_mapping) + return await self.request_adapter.send_async(request_info, GetOpenShiftsGetResponse, error_mapping) - def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + def to_get_request_information(self,request_configuration: Optional[GetOpenShiftsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Invoke function delta + Invoke function getOpenShifts param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,23 +61,23 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info - def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: + def with_url(self,raw_url: Optional[str] = None) -> GetOpenShiftsRequestBuilder: """ 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: DeltaRequestBuilder + Returns: GetOpenShiftsRequestBuilder """ if not raw_url: raise TypeError("raw_url cannot be null.") - return DeltaRequestBuilder(self.request_adapter, raw_url) + return GetOpenShiftsRequestBuilder(self.request_adapter, raw_url) @dataclass - class DeltaRequestBuilderGetQueryParameters(): + class GetOpenShiftsRequestBuilderGetQueryParameters(): """ - Invoke function delta + Invoke function getOpenShifts """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ @@ -128,14 +128,14 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class DeltaRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + class GetOpenShiftsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ Configuration for the request such as headers, query parameters, and middleware options. """ # Request query parameters - query_parameters: Optional[DeltaRequestBuilder.DeltaRequestBuilderGetQueryParameters] = None + query_parameters: Optional[GetOpenShiftsRequestBuilder.GetOpenShiftsRequestBuilderGetQueryParameters] = None diff --git a/msgraph_beta/generated/teams/item/all_channels/all_channels_request_builder.py b/msgraph_beta/generated/teams/item/all_channels/all_channels_request_builder.py index 8d0d58b4f53..fb74ee48c55 100644 --- a/msgraph_beta/generated/teams/item/all_channels/all_channels_request_builder.py +++ b/msgraph_beta/generated/teams/item/all_channels/all_channels_request_builder.py @@ -44,7 +44,7 @@ def by_channel_id(self,channel_id: str) -> ChannelItemRequestBuilder: async def get(self,request_configuration: Optional[AllChannelsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChannelCollectionResponse]: """ - Get the list of channels either in this team or shared with this team (incoming channels). This API is available in the following national cloud deployments. + Get the list of channels either in this team or shared with this team (incoming channels). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChannelCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/team-list-allchannels?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[AllChannelsRequestBuilderGetR def to_get_request_information(self,request_configuration: Optional[AllChannelsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of channels either in this team or shared with this team (incoming channels). This API is available in the following national cloud deployments. + Get the list of channels either in this team or shared with this team (incoming channels). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[AllChannelsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllChannelsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AllChannelsRequestBuilderGetQueryParameters(): """ - Get the list of channels either in this team or shared with this team (incoming channels). This API is available in the following national cloud deployments. + Get the list of channels either in this team or shared with this team (incoming channels). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/all_channels/item/channel_item_request_builder.py b/msgraph_beta/generated/teams/item/all_channels/item/channel_item_request_builder.py index 3538756e39b..c20a891af8d 100644 --- a/msgraph_beta/generated/teams/item/all_channels/item/channel_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/all_channels/item/channel_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ChannelItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ChannelItemRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/archive/archive_request_builder.py b/msgraph_beta/generated/teams/item/archive/archive_request_builder.py index afb7ac76f3c..ee799270a9b 100644 --- a/msgraph_beta/generated/teams/item/archive/archive_request_builder.py +++ b/msgraph_beta/generated/teams/item/archive/archive_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> None: """ - Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. This API is available in the following national cloud deployments. + Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ArchivePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. This API is available in the following national cloud deployments. + Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ArchivePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teams/item/channels/all_messages/all_messages_request_builder.py b/msgraph_beta/generated/teams/item/channels/all_messages/all_messages_request_builder.py index 89fdae9cf27..b76337ead47 100644 --- a/msgraph_beta/generated/teams/item/channels/all_messages/all_messages_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/all_messages/all_messages_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AllMessagesR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllMessagesRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/channels/channels_request_builder.py b/msgraph_beta/generated/teams/item/channels/channels_request_builder.py index 20d220df4a8..44f2c3dc1ac 100644 --- a/msgraph_beta/generated/teams/item/channels/channels_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/channels_request_builder.py @@ -16,6 +16,7 @@ from .all_messages.all_messages_request_builder import AllMessagesRequestBuilder from .count.count_request_builder import CountRequestBuilder from .get_all_messages.get_all_messages_request_builder import GetAllMessagesRequestBuilder + from .get_all_retained_messages.get_all_retained_messages_request_builder import GetAllRetainedMessagesRequestBuilder from .item.channel_item_request_builder import ChannelItemRequestBuilder class ChannelsRequestBuilder(BaseRequestBuilder): @@ -47,7 +48,7 @@ def by_channel_id(self,channel_id: str) -> ChannelItemRequestBuilder: async def get(self,request_configuration: Optional[ChannelsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChannelCollectionResponse]: """ - Retrieve the list of channels in this team. This API is available in the following national cloud deployments. + Retrieve the list of channels in this team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChannelCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list?view=graph-rest-1.0 @@ -69,7 +70,7 @@ async def get(self,request_configuration: Optional[ChannelsRequestBuilderGetRequ async def post(self,body: Optional[Channel] = None, request_configuration: Optional[ChannelsRequestBuilderPostRequestConfiguration] = None) -> Optional[Channel]: """ - Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. This API is available in the following national cloud deployments. + Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Channel] @@ -94,7 +95,7 @@ async def post(self,body: Optional[Channel] = None, request_configuration: Optio def to_get_request_information(self,request_configuration: Optional[ChannelsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of channels in this team. This API is available in the following national cloud deployments. + Retrieve the list of channels in this team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +107,12 @@ def to_get_request_information(self,request_configuration: Optional[ChannelsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Channel] = None, request_configuration: Optional[ChannelsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. This API is available in the following national cloud deployments. + Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -125,7 +126,7 @@ def to_post_request_information(self,body: Optional[Channel] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -166,10 +167,19 @@ def get_all_messages(self) -> GetAllMessagesRequestBuilder: return GetAllMessagesRequestBuilder(self.request_adapter, self.path_parameters) + @property + def get_all_retained_messages(self) -> GetAllRetainedMessagesRequestBuilder: + """ + Provides operations to call the getAllRetainedMessages method. + """ + from .get_all_retained_messages.get_all_retained_messages_request_builder import GetAllRetainedMessagesRequestBuilder + + return GetAllRetainedMessagesRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class ChannelsRequestBuilderGetQueryParameters(): """ - Retrieve the list of channels in this team. This API is available in the following national cloud deployments. + Retrieve the list of channels in this team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/channels/get_all_messages/get_all_messages_request_builder.py b/msgraph_beta/generated/teams/item/channels/get_all_messages/get_all_messages_request_builder.py index 44c01efb2f1..0b17fbc6be8 100644 --- a/msgraph_beta/generated/teams/item/channels/get_all_messages/get_all_messages_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/get_all_messages/get_all_messages_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetAllMessag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetAllMessagesRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/channels/get_all_retained_messages/get_all_retained_messages_get_response.py b/msgraph_beta/generated/teams/item/channels/get_all_retained_messages/get_all_retained_messages_get_response.py new file mode 100644 index 00000000000..0c6ef9d94e3 --- /dev/null +++ b/msgraph_beta/generated/teams/item/channels/get_all_retained_messages/get_all_retained_messages_get_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.chat_message import ChatMessage + +from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class GetAllRetainedMessagesGetResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[ChatMessage]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> GetAllRetainedMessagesGetResponse: + """ + 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: GetAllRetainedMessagesGetResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return GetAllRetainedMessagesGetResponse() + + 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.chat_message import ChatMessage + + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.chat_message import ChatMessage + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ChatMessage)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/transcripts/delta/delta_request_builder.py b/msgraph_beta/generated/teams/item/channels/get_all_retained_messages/get_all_retained_messages_request_builder.py similarity index 73% rename from msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/transcripts/delta/delta_request_builder.py rename to msgraph_beta/generated/teams/item/channels/get_all_retained_messages/get_all_retained_messages_request_builder.py index baf9e1da90e..b49c3d4305d 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/transcripts/delta/delta_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/get_all_retained_messages/get_all_retained_messages_request_builder.py @@ -10,32 +10,32 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from .........models.o_data_errors.o_data_error import ODataError - from .delta_get_response import DeltaGetResponse + from .....models.o_data_errors.o_data_error import ODataError + from .get_all_retained_messages_get_response import GetAllRetainedMessagesGetResponse -class DeltaRequestBuilder(BaseRequestBuilder): +class GetAllRetainedMessagesRequestBuilder(BaseRequestBuilder): """ - Provides operations to call the delta method. + Provides operations to call the getAllRetainedMessages method. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ - Instantiates a new DeltaRequestBuilder and sets the default values. + Instantiates a new GetAllRetainedMessagesRequestBuilder 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/transcripts/delta(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/teams/{team%2Did}/channels/getAllRetainedMessages(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}", path_parameters) - async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: + async def get(self,request_configuration: Optional[GetAllRetainedMessagesRequestBuilderGetRequestConfiguration] = None) -> Optional[GetAllRetainedMessagesGetResponse]: """ - Invoke function delta + Invoke function getAllRetainedMessages param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[DeltaGetResponse] + Returns: Optional[GetAllRetainedMessagesGetResponse] """ 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, ParsableFactory] = { "4XX": ODataError, @@ -43,13 +43,13 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest } if not self.request_adapter: raise Exception("Http core is null") - from .delta_get_response import DeltaGetResponse + from .get_all_retained_messages_get_response import GetAllRetainedMessagesGetResponse - return await self.request_adapter.send_async(request_info, DeltaGetResponse, error_mapping) + return await self.request_adapter.send_async(request_info, GetAllRetainedMessagesGetResponse, error_mapping) - def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + def to_get_request_information(self,request_configuration: Optional[GetAllRetainedMessagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Invoke function delta + Invoke function getAllRetainedMessages param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,23 +61,23 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info - def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: + def with_url(self,raw_url: Optional[str] = None) -> GetAllRetainedMessagesRequestBuilder: """ 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: DeltaRequestBuilder + Returns: GetAllRetainedMessagesRequestBuilder """ if not raw_url: raise TypeError("raw_url cannot be null.") - return DeltaRequestBuilder(self.request_adapter, raw_url) + return GetAllRetainedMessagesRequestBuilder(self.request_adapter, raw_url) @dataclass - class DeltaRequestBuilderGetQueryParameters(): + class GetAllRetainedMessagesRequestBuilderGetQueryParameters(): """ - Invoke function delta + Invoke function getAllRetainedMessages """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ @@ -128,14 +128,14 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class DeltaRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + class GetAllRetainedMessagesRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ Configuration for the request such as headers, query parameters, and middleware options. """ # Request query parameters - query_parameters: Optional[DeltaRequestBuilder.DeltaRequestBuilderGetQueryParameters] = None + query_parameters: Optional[GetAllRetainedMessagesRequestBuilder.GetAllRetainedMessagesRequestBuilderGetQueryParameters] = None diff --git a/msgraph_beta/generated/teams/item/channels/item/archive/archive_post_request_body.py b/msgraph_beta/generated/teams/item/channels/item/archive/archive_post_request_body.py new file mode 100644 index 00000000000..f39cce9ef54 --- /dev/null +++ b/msgraph_beta/generated/teams/item/channels/item/archive/archive_post_request_body.py @@ -0,0 +1,49 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class ArchivePostRequestBody(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 shouldSetSpoSiteReadOnlyForMembers property + should_set_spo_site_read_only_for_members: Optional[bool] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> ArchivePostRequestBody: + """ + 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: ArchivePostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return ArchivePostRequestBody() + + 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]] = { + "shouldSetSpoSiteReadOnlyForMembers": lambda n : setattr(self, 'should_set_spo_site_read_only_for_members', n.get_bool_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 not writer: + raise TypeError("writer cannot be null.") + writer.write_bool_value("shouldSetSpoSiteReadOnlyForMembers", self.should_set_spo_site_read_only_for_members) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/teams/item/channels/item/archive/archive_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/archive/archive_request_builder.py new file mode 100644 index 00000000000..1931377b6f1 --- /dev/null +++ b/msgraph_beta/generated/teams/item/channels/item/archive/archive_request_builder.py @@ -0,0 +1,91 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from .archive_post_request_body import ArchivePostRequestBody + +class ArchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the archive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ArchiveRequestBuilder 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}/teams/{team%2Did}/channels/{channel%2Did}/archive", path_parameters) + + async def post(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Invoke action archive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action archive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> ArchiveRequestBuilder: + """ + 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: ArchiveRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ArchiveRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ArchiveRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/teams/item/channels/item/channel_item_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/channel_item_request_builder.py index 512f34cb69b..6f39448185f 100644 --- a/msgraph_beta/generated/teams/item/channels/item/channel_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/channel_item_request_builder.py @@ -12,6 +12,7 @@ if TYPE_CHECKING: from .....models.channel import Channel from .....models.o_data_errors.o_data_error import ODataError + from .archive.archive_request_builder import ArchiveRequestBuilder from .complete_migration.complete_migration_request_builder import CompleteMigrationRequestBuilder from .does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name.does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder import DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder from .files_folder.files_folder_request_builder import FilesFolderRequestBuilder @@ -21,6 +22,7 @@ from .remove_email.remove_email_request_builder import RemoveEmailRequestBuilder from .shared_with_teams.shared_with_teams_request_builder import SharedWithTeamsRequestBuilder from .tabs.tabs_request_builder import TabsRequestBuilder + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder class ChannelItemRequestBuilder(BaseRequestBuilder): """ @@ -37,7 +39,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ChannelItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete the channel. This API is available in the following national cloud deployments. + Delete the channel. 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/channel-delete?view=graph-rest-1.0 @@ -57,7 +59,7 @@ async def delete(self,request_configuration: Optional[ChannelItemRequestBuilderD async def get(self,request_configuration: Optional[ChannelItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Channel]: """ - Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Channel] Find more info here: https://learn.microsoft.com/graph/api/channel-get?view=graph-rest-1.0 @@ -79,7 +81,7 @@ async def get(self,request_configuration: Optional[ChannelItemRequestBuilderGetR async def patch(self,body: Optional[Channel] = None, request_configuration: Optional[ChannelItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Channel]: """ - Update the properties of the specified channel. This API is available in the following national cloud deployments. + Update the properties of the specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Channel] @@ -104,7 +106,7 @@ async def patch(self,body: Optional[Channel] = None, request_configuration: Opti def to_delete_request_information(self,request_configuration: Optional[ChannelItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete the channel. This API is available in the following national cloud deployments. + Delete the channel. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -115,12 +117,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChannelIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChannelItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -132,12 +134,12 @@ def to_get_request_information(self,request_configuration: Optional[ChannelItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Channel] = None, request_configuration: Optional[ChannelItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of the specified channel. This API is available in the following national cloud deployments. + Update the properties of the specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -151,7 +153,7 @@ def to_patch_request_information(self,body: Optional[Channel] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -165,6 +167,15 @@ def with_url(self,raw_url: Optional[str] = None) -> ChannelItemRequestBuilder: raise TypeError("raw_url cannot be null.") return ChannelItemRequestBuilder(self.request_adapter, raw_url) + @property + def archive(self) -> ArchiveRequestBuilder: + """ + Provides operations to call the archive method. + """ + from .archive.archive_request_builder import ArchiveRequestBuilder + + return ArchiveRequestBuilder(self.request_adapter, self.path_parameters) + @property def complete_migration(self) -> CompleteMigrationRequestBuilder: """ @@ -246,6 +257,15 @@ def tabs(self) -> TabsRequestBuilder: return TabsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def unarchive(self) -> UnarchiveRequestBuilder: + """ + Provides operations to call the unarchive method. + """ + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder + + return UnarchiveRequestBuilder(self.request_adapter, self.path_parameters) + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass @@ -259,7 +279,7 @@ class ChannelItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurati @dataclass class ChannelItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/channels/item/complete_migration/complete_migration_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/complete_migration/complete_migration_request_builder.py index 607663be92b..48c21dfc85f 100644 --- a/msgraph_beta/generated/teams/item/channels/item/complete_migration/complete_migration_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/complete_migration/complete_migration_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CompleteMigrationRequestBuilderPostRequestConfiguration] = None) -> None: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. 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/channel-completemigration?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[CompleteMigrationRequestBuil def to_post_request_information(self,request_configuration: Optional[CompleteMigrationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[CompleteMig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CompleteMigrationRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/channels/item/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py index 33dec9b53b5..68c633950e6 100644 --- a/msgraph_beta/generated/teams/item/channels/item/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DoesUserHave request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/channels/item/files_folder/content/content_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/files_folder/content/content_request_builder.py index 6c0f24c6fd9..a875a8c7af5 100644 --- a/msgraph_beta/generated/teams/item/channels/item/files_folder/content/content_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/files_folder/content/content_request_builder.py @@ -83,7 +83,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -102,7 +102,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/teams/item/channels/item/files_folder/files_folder_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/files_folder/files_folder_request_builder.py index af1de0d5f01..11a61c79c2b 100644 --- a/msgraph_beta/generated/teams/item/channels/item/files_folder/files_folder_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/files_folder/files_folder_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[FilesFolderRequestBuilderGetRequestConfiguration] = None) -> Optional[DriveItem]: """ - Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + Get the metadata for the location where the files of a channel are stored. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] Find more info here: https://learn.microsoft.com/graph/api/channel-get-filesfolder?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[FilesFolderRequestBuilderGetR def to_get_request_information(self,request_configuration: Optional[FilesFolderRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + Get the metadata for the location where the files of a channel are stored. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[FilesFolderR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilesFolderRequestBuilder: @@ -88,7 +88,7 @@ def content(self) -> ContentRequestBuilder: @dataclass class FilesFolderRequestBuilderGetQueryParameters(): """ - Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + Get the metadata for the location where the files of a channel are stored. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/channels/item/members/add/add_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/members/add/add_request_builder.py index 35a7deea14b..ab9fb016ae6 100644 --- a/msgraph_beta/generated/teams/item/channels/item/members/add/add_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/members/add/add_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> Optional[AddPostResponse]: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AddPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddPostRequestBody] = None, request_configura def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py index b68be95de5f..0886eb98520 100644 --- a/msgraph_beta/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. 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/channel-delete-members?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ConversationMemberItemRequ async def get(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Get a conversationMember from a channel. This API is available in the following national cloud deployments. + Get a conversationMember from a channel. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] Find more info here: https://learn.microsoft.com/graph/api/channel-get-members?view=graph-rest-1.0 @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[ConversationMemberItemRequest async def patch(self,body: Optional[ConversationMember] = None, request_configuration: Optional[ConversationMemberItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Update the role of a conversationMember in a team.or channel. This API is available in the following national cloud deployments. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] - Find more info here: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -95,7 +95,7 @@ async def patch(self,body: Optional[ConversationMember] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Conversat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a conversationMember from a channel. This API is available in the following national cloud deployments. + Get a conversationMember from a channel. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[Conversation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[ConversationMemberItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the role of a conversationMember in a team.or channel. This API is available in the following national cloud deployments. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class ConversationMemberItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class ConversationMemberItemRequestBuilderGetQueryParameters(): """ - Get a conversationMember from a channel. This API is available in the following national cloud deployments. + Get a conversationMember from a channel. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/channels/item/members/members_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/members/members_request_builder.py index 9aa6d3d23e9..cfdc63b63d0 100644 --- a/msgraph_beta/generated/teams/item/channels/item/members/members_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/members/members_request_builder.py @@ -46,7 +46,7 @@ def by_conversation_member_id(self,conversation_member_id: str) -> ConversationM async def get(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMemberCollectionResponse]: """ - Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list-members?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MembersRequestBuilderGetReque async def post(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ConversationMember] = None, request_configura def to_get_request_information(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MembersRequestBuilderGetQueryParameters(): """ - Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/delta/delta_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/delta/delta_request_builder.py index f1d0ed345db..d85af689f4a 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/delta/delta_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/item/chat_message_item_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/item/chat_message_item_request_builder.py index abacb8297de..c600f7fc549 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/item/chat_message_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/item/chat_message_item_request_builder.py @@ -53,7 +53,7 @@ async def delete(self,request_configuration: Optional[ChatMessageItemRequestBuil async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 @@ -75,7 +75,7 @@ async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilder async def patch(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -111,12 +111,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -128,12 +128,12 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[ChatMessage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -228,7 +228,7 @@ class ChatMessageItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class ChatMessageItemRequestBuilderGetQueryParameters(): """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.py index 7594ccacccf..c0c018eb700 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.py @@ -45,7 +45,7 @@ def by_chat_message_hosted_content_id(self,chat_message_hosted_content_id: str) async def get(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContentCollectionResponse]: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ChatMessageHostedContent] = None, request_con def to_get_request_information(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[HostedConten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[HostedContentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HostedContentsRequestBuilderGetQueryParameters(): """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py index 3a23759ca30..bfe5629a5ad 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ChatMessageHostedContentIt async def get(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContent]: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContent] Find more info here: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class ChatMessageHostedContentItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/item/hosted_contents/item/value/content_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/item/hosted_contents/item/value/content_request_builder.py index 4277eea1d4d..5ae15e039ab 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/item/hosted_contents/item/value/content_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/item/hosted_contents/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/delta/delta_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/delta/delta_request_builder.py index 279a014a337..ae2b9b8cccb 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/delta/delta_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/chat_message_item_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/chat_message_item_request_builder.py index c3720f42daf..81978c2392a 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/chat_message_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/chat_message_item_request_builder.py @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[ChatMessageItemRequestBuil async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[ChatMessage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -217,7 +217,7 @@ class ChatMessageItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class ChatMessageItemRequestBuilderGetQueryParameters(): """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py index 178a6d0717b..1fa616df02c 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py @@ -45,7 +45,7 @@ def by_chat_message_hosted_content_id(self,chat_message_hosted_content_id: str) async def get(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContentCollectionResponse]: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ChatMessageHostedContent] = None, request_con def to_get_request_information(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[HostedConten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[HostedContentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HostedContentsRequestBuilderGetQueryParameters(): """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py index 371fc367682..cc8325179be 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ChatMessageHostedContentIt async def get(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContent]: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContent] Find more info here: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class ChatMessageHostedContentItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py index 5e823e78cd7..8763d2d2dba 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/set_reaction/set_reaction_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/set_reaction/set_reaction_request_builder.py index 313849c27bd..5462dd16ae9 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/set_reaction/set_reaction_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/set_reaction/set_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetReactionPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/soft_delete/soft_delete_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/soft_delete/soft_delete_request_builder.py index 771760572e3..1744cd3a45c 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/soft_delete/soft_delete_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/soft_delete/soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-softdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPost def to_post_request_information(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SoftDeleteR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py index 78ce696bac1..ec6a497e160 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-undosoftdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilder def to_post_request_information(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UndoSoftDel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UndoSoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py index 84cb1977e51..4fbfc35c12a 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnsetReactionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/replies_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/replies_request_builder.py index 54ba4721b75..9718bcbfae1 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/replies_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/item/replies/replies_request_builder.py @@ -46,7 +46,7 @@ def by_chat_message_id1(self,chat_message_id1: str) -> ChatMessageItemRequestBui async def get(self,request_configuration: Optional[RepliesRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageCollectionResponse]: """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-replies?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[RepliesRequestBuilderGetReque async def post(self,body: Optional[ChatMessage] = None, request_configuration: Optional[RepliesRequestBuilderPostRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + Send a new reply to a chatMessage in a specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ChatMessage] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[RepliesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[RepliesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[RepliesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + Send a new reply to a chatMessage in a specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ChatMessage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class RepliesRequestBuilderGetQueryParameters(): """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/item/set_reaction/set_reaction_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/item/set_reaction/set_reaction_request_builder.py index 508303779f0..65cc503df77 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/item/set_reaction/set_reaction_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/item/set_reaction/set_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetReactionPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/item/soft_delete/soft_delete_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/item/soft_delete/soft_delete_request_builder.py index 1ab8ecf5615..08b3f52ab28 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/item/soft_delete/soft_delete_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/item/soft_delete/soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-softdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPost def to_post_request_information(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SoftDeleteR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py index 9210918cb3c..e3534987cf8 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-undosoftdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilder def to_post_request_information(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UndoSoftDel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UndoSoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/item/unset_reaction/unset_reaction_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/item/unset_reaction/unset_reaction_request_builder.py index ee9be259a20..a1dce3c186e 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/item/unset_reaction/unset_reaction_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/item/unset_reaction/unset_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnsetReactionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teams/item/channels/item/messages/messages_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/messages/messages_request_builder.py index de3b2713741..6d2592a6747 100644 --- a/msgraph_beta/generated/teams/item/channels/item/messages/messages_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/messages/messages_request_builder.py @@ -46,7 +46,7 @@ def by_chat_message_id(self,chat_message_id: str) -> ChatMessageItemRequestBuild async def get(self,request_configuration: Optional[MessagesRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageCollectionResponse]: """ - Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list-messages?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MessagesRequestBuilderGetRequ async def post(self,body: Optional[ChatMessage] = None, request_configuration: Optional[MessagesRequestBuilderPostRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ChatMessage] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[MessagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MessagesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[MessagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ChatMessage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class MessagesRequestBuilderGetQueryParameters(): """ - Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/channels/item/provision_email/provision_email_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/provision_email/provision_email_request_builder.py index 5a64ecc09a6..87c3c3a3a4b 100644 --- a/msgraph_beta/generated/teams/item/channels/item/provision_email/provision_email_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/provision_email/provision_email_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ProvisionEmailRequestBuilderPostRequestConfiguration] = None) -> Optional[ProvisionChannelEmailResult]: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProvisionChannelEmailResult] Find more info here: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[ProvisionEmailRequestBuilder def to_post_request_information(self,request_configuration: Optional[ProvisionEmailRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[ProvisionEm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ProvisionEmailRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/channels/item/remove_email/remove_email_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/remove_email/remove_email_request_builder.py index 201c2557aae..26adfb36cf5 100644 --- a/msgraph_beta/generated/teams/item/channels/item/remove_email/remove_email_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/remove_email/remove_email_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RemoveEmailRequestBuilderPostRequestConfiguration] = None) -> None: """ - Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. 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/channel-removeemail?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RemoveEmailRequestBuilderPos def to_post_request_information(self,request_configuration: Optional[RemoveEmailRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RemoveEmail request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RemoveEmailRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/channels/item/shared_with_teams/item/allowed_members/allowed_members_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/shared_with_teams/item/allowed_members/allowed_members_request_builder.py index e3c828a2390..c2d6006d70a 100644 --- a/msgraph_beta/generated/teams/item/channels/item/shared_with_teams/item/allowed_members/allowed_members_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/shared_with_teams/item/allowed_members/allowed_members_request_builder.py @@ -44,7 +44,7 @@ def by_conversation_member_id(self,conversation_member_id: str) -> ConversationM async def get(self,request_configuration: Optional[AllowedMembersRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMemberCollectionResponse]: """ - Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list-allowedmembers?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[AllowedMembersRequestBuilderG def to_get_request_information(self,request_configuration: Optional[AllowedMembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[AllowedMembe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllowedMembersRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AllowedMembersRequestBuilderGetQueryParameters(): """ - Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/channels/item/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py index b06d8d9afbb..02242c82546 100644 --- a/msgraph_beta/generated/teams/item/channels/item/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[Conversation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ConversationMemberItemRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py index a86c627b6cd..c82048fd367 100644 --- a/msgraph_beta/generated/teams/item/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. 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/sharedwithchannelteaminfo-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[SharedWithChannelTeamInfoI async def get(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SharedWithChannelTeamInfo]: """ - Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharedWithChannelTeamInfo] Find more info here: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-get?view=graph-rest-1.0 @@ -96,7 +96,7 @@ async def patch(self,body: Optional[SharedWithChannelTeamInfo] = None, request_c def to_delete_request_information(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[SharedWit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[SharedWithCh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SharedWithChannelTeamInfo] = None, request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[SharedWithChannelTeamInfo] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ class SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration(Base @dataclass class SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters(): """ - Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/channels/item/shared_with_teams/item/team/team_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/shared_with_teams/item/team/team_request_builder.py index 43d003c7b9d..c438bcfd727 100644 --- a/msgraph_beta/generated/teams/item/channels/item/shared_with_teams/item/team/team_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/shared_with_teams/item/team/team_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/channels/item/shared_with_teams/shared_with_teams_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/shared_with_teams/shared_with_teams_request_builder.py index 7b2aa47da21..d4d91b6183b 100644 --- a/msgraph_beta/generated/teams/item/channels/item/shared_with_teams/shared_with_teams_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/shared_with_teams/shared_with_teams_request_builder.py @@ -45,7 +45,7 @@ def by_shared_with_channel_team_info_id(self,shared_with_channel_team_info_id: s async def get(self,request_configuration: Optional[SharedWithTeamsRequestBuilderGetRequestConfiguration] = None) -> Optional[SharedWithChannelTeamInfoCollectionResponse]: """ - Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharedWithChannelTeamInfoCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[SharedWithChannelTeamInfo] = None, request_co def to_get_request_information(self,request_configuration: Optional[SharedWithTeamsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SharedWithTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SharedWithChannelTeamInfo] = None, request_configuration: Optional[SharedWithTeamsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SharedWithChannelTeamInfo] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SharedWithTeamsRequestBuilderGetQueryParameters(): """ - Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/channels/item/tabs/item/teams_app/teams_app_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/tabs/item/teams_app/teams_app_request_builder.py index 6600b409bd3..5683d60624a 100644 --- a/msgraph_beta/generated/teams/item/channels/item/tabs/item/teams_app/teams_app_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/tabs/item/teams_app/teams_app_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamsAppRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/channels/item/tabs/item/teams_tab_item_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/tabs/item/teams_tab_item_request_builder.py index 816f2af0fe7..f696b73acb7 100644 --- a/msgraph_beta/generated/teams/item/channels/item/tabs/item/teams_tab_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/tabs/item/teams_tab_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[TeamsTabI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamsTabItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsTabItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamsTab] = None, request_configuration: Optional[TeamsTabItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[TeamsTab] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teams/item/channels/item/tabs/tabs_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/tabs/tabs_request_builder.py index be7ccf0ef3d..afa1c74a884 100644 --- a/msgraph_beta/generated/teams/item/channels/item/tabs/tabs_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/tabs/tabs_request_builder.py @@ -45,7 +45,7 @@ def by_teams_tab_id(self,teams_tab_id: str) -> TeamsTabItemRequestBuilder: async def get(self,request_configuration: Optional[TabsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsTabCollectionResponse]: """ - Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified channel within a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsTabCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list-tabs?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[TeamsTab] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[TabsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified channel within a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[TabsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamsTab] = None, request_configuration: Optional[TabsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[TeamsTab] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TabsRequestBuilderGetQueryParameters(): """ - Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified channel within a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/channels/item/unarchive/unarchive_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/unarchive/unarchive_request_builder.py new file mode 100644 index 00000000000..a3b626b9ed2 --- /dev/null +++ b/msgraph_beta/generated/teams/item/channels/item/unarchive/unarchive_request_builder.py @@ -0,0 +1,83 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + +class UnarchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the unarchive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new UnarchiveRequestBuilder 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}/teams/{team%2Did}/channels/{channel%2Did}/unarchive", path_parameters) + + async def post(self,request_configuration: Optional[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Invoke action unarchive + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action unarchive + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> UnarchiveRequestBuilder: + """ + 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: UnarchiveRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return UnarchiveRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class UnarchiveRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/teams/item/clone/clone_request_builder.py b/msgraph_beta/generated/teams/item/clone/clone_request_builder.py index 87f0aeeb67a..1896299b56c 100644 --- a/msgraph_beta/generated/teams/item/clone/clone_request_builder.py +++ b/msgraph_beta/generated/teams/item/clone/clone_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ClonePostRequestBody] = None, request_configuration: Optional[CloneRequestBuilderPostRequestConfiguration] = None) -> None: """ - Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. This API is available in the following national cloud deployments. + Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ClonePostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[ClonePostRequestBody] = None, request_configuration: Optional[CloneRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. This API is available in the following national cloud deployments. + Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ClonePostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teams/item/complete_migration/complete_migration_request_builder.py b/msgraph_beta/generated/teams/item/complete_migration/complete_migration_request_builder.py index 799a9f4aaab..96cb38966d2 100644 --- a/msgraph_beta/generated/teams/item/complete_migration/complete_migration_request_builder.py +++ b/msgraph_beta/generated/teams/item/complete_migration/complete_migration_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CompleteMigrationRequestBuilderPostRequestConfiguration] = None) -> None: """ - Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. 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/team-completemigration?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[CompleteMigrationRequestBuil def to_post_request_information(self,request_configuration: Optional[CompleteMigrationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[CompleteMig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CompleteMigrationRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/group/group_request_builder.py b/msgraph_beta/generated/teams/item/group/group_request_builder.py index f806e58ede7..745a6ec4951 100644 --- a/msgraph_beta/generated/teams/item/group/group_request_builder.py +++ b/msgraph_beta/generated/teams/item/group/group_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GroupRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/teams/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py index 1e879f19971..af025cb0bc6 100644 --- a/msgraph_beta/generated/teams/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/teams/item/group/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/incoming_channels/incoming_channels_request_builder.py b/msgraph_beta/generated/teams/item/incoming_channels/incoming_channels_request_builder.py index 068da383546..b4b9892298c 100644 --- a/msgraph_beta/generated/teams/item/incoming_channels/incoming_channels_request_builder.py +++ b/msgraph_beta/generated/teams/item/incoming_channels/incoming_channels_request_builder.py @@ -44,7 +44,7 @@ def by_channel_id(self,channel_id: str) -> ChannelItemRequestBuilder: async def get(self,request_configuration: Optional[IncomingChannelsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChannelCollectionResponse]: """ - Get the list of incoming channels (channels shared with a team). This API is available in the following national cloud deployments. + Get the list of incoming channels (channels shared with a team). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChannelCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/team-list-incomingchannels?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[IncomingChannelsRequestBuilde def to_get_request_information(self,request_configuration: Optional[IncomingChannelsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of incoming channels (channels shared with a team). This API is available in the following national cloud deployments. + Get the list of incoming channels (channels shared with a team). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[IncomingChan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IncomingChannelsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class IncomingChannelsRequestBuilderGetQueryParameters(): """ - Get the list of incoming channels (channels shared with a team). This API is available in the following national cloud deployments. + Get the list of incoming channels (channels shared with a team). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/incoming_channels/item/channel_item_request_builder.py b/msgraph_beta/generated/teams/item/incoming_channels/item/channel_item_request_builder.py index 1712ebf048d..1b144422a2d 100644 --- a/msgraph_beta/generated/teams/item/incoming_channels/item/channel_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/incoming_channels/item/channel_item_request_builder.py @@ -80,7 +80,7 @@ def to_delete_request_information(self,request_configuration: Optional[ChannelIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChannelItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -97,7 +97,7 @@ def to_get_request_information(self,request_configuration: Optional[ChannelItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ChannelItemRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/installed_apps/installed_apps_request_builder.py b/msgraph_beta/generated/teams/item/installed_apps/installed_apps_request_builder.py index 3d9c95c99d2..3a34c2ddab2 100644 --- a/msgraph_beta/generated/teams/item/installed_apps/installed_apps_request_builder.py +++ b/msgraph_beta/generated/teams/item/installed_apps/installed_apps_request_builder.py @@ -45,7 +45,7 @@ def by_teams_app_installation_id(self,teams_app_installation_id: str) -> TeamsAp async def get(self,request_configuration: Optional[InstalledAppsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsAppInstallationCollectionResponse]: """ - Retrieve the list of apps installed in the specified team. This API is available in the following national cloud deployments. + Retrieve the list of apps installed in the specified team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAppInstallationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/team-list-installedapps?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[InstalledAppsRequestBuilderGe async def post(self,body: Optional[TeamsAppInstallation] = None, request_configuration: Optional[InstalledAppsRequestBuilderPostRequestConfiguration] = None) -> Optional[TeamsAppInstallation]: """ - Install an app to the specified team. This API is available in the following national cloud deployments. + Install an app to the specified team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAppInstallation] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TeamsAppInstallation] = None, request_configu def to_get_request_information(self,request_configuration: Optional[InstalledAppsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of apps installed in the specified team. This API is available in the following national cloud deployments. + Retrieve the list of apps installed in the specified team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[InstalledApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamsAppInstallation] = None, request_configuration: Optional[InstalledAppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Install an app to the specified team. This API is available in the following national cloud deployments. + Install an app to the specified team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TeamsAppInstallation] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class InstalledAppsRequestBuilderGetQueryParameters(): """ - Retrieve the list of apps installed in the specified team. This API is available in the following national cloud deployments. + Retrieve the list of apps installed in the specified team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/installed_apps/item/teams_app/teams_app_request_builder.py b/msgraph_beta/generated/teams/item/installed_apps/item/teams_app/teams_app_request_builder.py index 7b80396ed9d..7814c360a18 100644 --- a/msgraph_beta/generated/teams/item/installed_apps/item/teams_app/teams_app_request_builder.py +++ b/msgraph_beta/generated/teams/item/installed_apps/item/teams_app/teams_app_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamsAppRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/installed_apps/item/teams_app_definition/teams_app_definition_request_builder.py b/msgraph_beta/generated/teams/item/installed_apps/item/teams_app_definition/teams_app_definition_request_builder.py index bb2d0c431ab..658874ea0c2 100644 --- a/msgraph_beta/generated/teams/item/installed_apps/item/teams_app_definition/teams_app_definition_request_builder.py +++ b/msgraph_beta/generated/teams/item/installed_apps/item/teams_app_definition/teams_app_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppDefi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamsAppDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/installed_apps/item/teams_app_installation_item_request_builder.py b/msgraph_beta/generated/teams/item/installed_apps/item/teams_app_installation_item_request_builder.py index 2afbde61629..d386a156ece 100644 --- a/msgraph_beta/generated/teams/item/installed_apps/item/teams_app_installation_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/installed_apps/item/teams_app_installation_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Uninstalls an app from the specified team. This API is available in the following national cloud deployments. + Uninstalls an app from the specified team. 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/team-delete-installedapps?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[TeamsAppInstallationItemRe async def get(self,request_configuration: Optional[TeamsAppInstallationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsAppInstallation]: """ - Retrieve the app installed in the specified team. This API is available in the following national cloud deployments. + Retrieve the app installed in the specified team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAppInstallation] Find more info here: https://learn.microsoft.com/graph/api/team-get-installedapps?view=graph-rest-1.0 @@ -97,7 +97,7 @@ async def patch(self,body: Optional[TeamsAppInstallation] = None, request_config def to_delete_request_information(self,request_configuration: Optional[TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Uninstalls an app from the specified team. This API is available in the following national cloud deployments. + Uninstalls an app from the specified team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[TeamsAppI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamsAppInstallationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the app installed in the specified team. This API is available in the following national cloud deployments. + Retrieve the app installed in the specified team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppInst request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamsAppInstallation] = None, request_configuration: Optional[TeamsAppInstallationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[TeamsAppInstallation] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -198,7 +198,7 @@ class TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class TeamsAppInstallationItemRequestBuilderGetQueryParameters(): """ - Retrieve the app installed in the specified team. This API is available in the following national cloud deployments. + Retrieve the app installed in the specified team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/installed_apps/item/upgrade/upgrade_request_builder.py b/msgraph_beta/generated/teams/item/installed_apps/item/upgrade/upgrade_request_builder.py index d4d21dfe0ae..01ec7caab95 100644 --- a/msgraph_beta/generated/teams/item/installed_apps/item/upgrade/upgrade_request_builder.py +++ b/msgraph_beta/generated/teams/item/installed_apps/item/upgrade/upgrade_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UpgradePostRequestBody] = None, request_configuration: Optional[UpgradeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Upgrade an app installation within a chat. This API is available in the following national cloud deployments. + Upgrade an app installation within a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[UpgradePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[UpgradePostRequestBody] = None, request_configuration: Optional[UpgradeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Upgrade an app installation within a chat. This API is available in the following national cloud deployments. + Upgrade an app installation within a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[UpgradePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teams/item/members/add/add_request_builder.py b/msgraph_beta/generated/teams/item/members/add/add_request_builder.py index 3c45dca0887..17a46ce708d 100644 --- a/msgraph_beta/generated/teams/item/members/add/add_request_builder.py +++ b/msgraph_beta/generated/teams/item/members/add/add_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> Optional[AddPostResponse]: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AddPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddPostRequestBody] = None, request_configura def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teams/item/members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/teams/item/members/item/conversation_member_item_request_builder.py index fd3c27279a8..fcfbd3a6da6 100644 --- a/msgraph_beta/generated/teams/item/members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/members/item/conversation_member_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a conversationMember from a team. This API is available in the following national cloud deployments. + Remove a conversationMember from a team. 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/team-delete-members?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ConversationMemberItemRequ async def get(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Get a conversationMember from a team. This API is available in the following national cloud deployments. + Get a conversationMember from a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] Find more info here: https://learn.microsoft.com/graph/api/team-get-members?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[ConversationMemberItemRequest async def patch(self,body: Optional[ConversationMember] = None, request_configuration: Optional[ConversationMemberItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Update the role of a conversationMember in a team. This API is available in the following national cloud deployments. + Update the role of a conversationMember in a team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[ConversationMember] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a conversationMember from a team. This API is available in the following national cloud deployments. + Remove a conversationMember from a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Conversat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a conversationMember from a team. This API is available in the following national cloud deployments. + Get a conversationMember from a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[Conversation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[ConversationMemberItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the role of a conversationMember in a team. This API is available in the following national cloud deployments. + Update the role of a conversationMember in a team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class ConversationMemberItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class ConversationMemberItemRequestBuilderGetQueryParameters(): """ - Get a conversationMember from a team. This API is available in the following national cloud deployments. + Get a conversationMember from a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/members/members_request_builder.py b/msgraph_beta/generated/teams/item/members/members_request_builder.py index 8eae8ea2af2..596e60e3326 100644 --- a/msgraph_beta/generated/teams/item/members/members_request_builder.py +++ b/msgraph_beta/generated/teams/item/members/members_request_builder.py @@ -46,7 +46,7 @@ def by_conversation_member_id(self,conversation_member_id: str) -> ConversationM async def get(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMemberCollectionResponse]: """ - Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. This API is available in the following national cloud deployments. + Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/team-list-members?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MembersRequestBuilderGetReque async def post(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Add a new conversation member to a team. This API is available in the following national cloud deployments. + Add a new conversation member to a team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ConversationMember] = None, request_configura def to_get_request_information(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. This API is available in the following national cloud deployments. + Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a new conversation member to a team. This API is available in the following national cloud deployments. + Add a new conversation member to a team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MembersRequestBuilderGetQueryParameters(): """ - Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. This API is available in the following national cloud deployments. + Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/operations/item/teams_async_operation_item_request_builder.py b/msgraph_beta/generated/teams/item/operations/item/teams_async_operation_item_request_builder.py index dfd31027e7b..57475aa6fa6 100644 --- a/msgraph_beta/generated/teams/item/operations/item/teams_async_operation_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/operations/item/teams_async_operation_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[TeamsAsyn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamsAsyncOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAsyncOp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamsAsyncOperation] = None, request_configuration: Optional[TeamsAsyncOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[TeamsAsyncOperation] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teams/item/operations/operations_request_builder.py b/msgraph_beta/generated/teams/item/operations/operations_request_builder.py index e81224c7c6c..b138f717976 100644 --- a/msgraph_beta/generated/teams/item/operations/operations_request_builder.py +++ b/msgraph_beta/generated/teams/item/operations/operations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamsAsyncOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[TeamsAsyncOperation] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teams/item/owners/item/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/teams/item/owners/item/mailbox_settings/mailbox_settings_request_builder.py index 21143286891..2da0347f1ff 100644 --- a/msgraph_beta/generated/teams/item/owners/item/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/teams/item/owners/item/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teams/item/owners/item/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/teams/item/owners/item/service_provisioning_errors/service_provisioning_errors_request_builder.py index 9e184c3cbea..7f8273588bd 100644 --- a/msgraph_beta/generated/teams/item/owners/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/teams/item/owners/item/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/owners/item/user_item_request_builder.py b/msgraph_beta/generated/teams/item/owners/item/user_item_request_builder.py index 680e6bedc4f..a26a2c9726f 100644 --- a/msgraph_beta/generated/teams/item/owners/item/user_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/owners/item/user_item_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[UserItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserItemRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/owners/owners_request_builder.py b/msgraph_beta/generated/teams/item/owners/owners_request_builder.py index 9ed93103bb3..8091bdd77a9 100644 --- a/msgraph_beta/generated/teams/item/owners/owners_request_builder.py +++ b/msgraph_beta/generated/teams/item/owners/owners_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[OwnersReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> OwnersRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/permission_grants/item/resource_specific_permission_grant_item_request_builder.py b/msgraph_beta/generated/teams/item/permission_grants/item/resource_specific_permission_grant_item_request_builder.py index 674b4eafd54..713ddd390ad 100644 --- a/msgraph_beta/generated/teams/item/permission_grants/item/resource_specific_permission_grant_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/permission_grants/item/resource_specific_permission_grant_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ResourceS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ResourceSpecificPermissionGrantItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceSpec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ResourceSpecificPermissionGrant] = None, request_configuration: Optional[ResourceSpecificPermissionGrantItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ResourceSpecificPermissionG request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teams/item/permission_grants/permission_grants_request_builder.py b/msgraph_beta/generated/teams/item/permission_grants/permission_grants_request_builder.py index 491c969eea4..00a1c27f816 100644 --- a/msgraph_beta/generated/teams/item/permission_grants/permission_grants_request_builder.py +++ b/msgraph_beta/generated/teams/item/permission_grants/permission_grants_request_builder.py @@ -45,7 +45,7 @@ def by_resource_specific_permission_grant_id(self,resource_specific_permission_g async def get(self,request_configuration: Optional[PermissionGrantsRequestBuilderGetRequestConfiguration] = None) -> Optional[ResourceSpecificPermissionGrantCollectionResponse]: """ - List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ResourceSpecificPermissionGrantCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/team-list-permissiongrants?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ResourceSpecificPermissionGrant] = None, requ def to_get_request_information(self,request_configuration: Optional[PermissionGrantsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PermissionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ResourceSpecificPermissionGrant] = None, request_configuration: Optional[PermissionGrantsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ResourceSpecificPermissionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PermissionGrantsRequestBuilderGetQueryParameters(): """ - List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/photo/photo_request_builder.py b/msgraph_beta/generated/teams/item/photo/photo_request_builder.py index a2730384134..875abb85387 100644 --- a/msgraph_beta/generated/teams/item/photo/photo_request_builder.py +++ b/msgraph_beta/generated/teams/item/photo/photo_request_builder.py @@ -86,7 +86,7 @@ def to_get_request_information(self,request_configuration: Optional[PhotoRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ProfilePhoto] = None, request_configuration: Optional[PhotoRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -105,7 +105,7 @@ def to_patch_request_information(self,body: Optional[ProfilePhoto] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teams/item/photo/value/content_request_builder.py b/msgraph_beta/generated/teams/item/photo/value/content_request_builder.py index 567b4a2d199..23218d340ff 100644 --- a/msgraph_beta/generated/teams/item/photo/value/content_request_builder.py +++ b/msgraph_beta/generated/teams/item/photo/value/content_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -98,7 +98,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/teams/item/primary_channel/archive/archive_post_request_body.py b/msgraph_beta/generated/teams/item/primary_channel/archive/archive_post_request_body.py new file mode 100644 index 00000000000..f39cce9ef54 --- /dev/null +++ b/msgraph_beta/generated/teams/item/primary_channel/archive/archive_post_request_body.py @@ -0,0 +1,49 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class ArchivePostRequestBody(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 shouldSetSpoSiteReadOnlyForMembers property + should_set_spo_site_read_only_for_members: Optional[bool] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> ArchivePostRequestBody: + """ + 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: ArchivePostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return ArchivePostRequestBody() + + 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]] = { + "shouldSetSpoSiteReadOnlyForMembers": lambda n : setattr(self, 'should_set_spo_site_read_only_for_members', n.get_bool_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 not writer: + raise TypeError("writer cannot be null.") + writer.write_bool_value("shouldSetSpoSiteReadOnlyForMembers", self.should_set_spo_site_read_only_for_members) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/teams/item/primary_channel/archive/archive_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/archive/archive_request_builder.py new file mode 100644 index 00000000000..845320699a3 --- /dev/null +++ b/msgraph_beta/generated/teams/item/primary_channel/archive/archive_request_builder.py @@ -0,0 +1,91 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .archive_post_request_body import ArchivePostRequestBody + +class ArchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the archive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ArchiveRequestBuilder 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}/teams/{team%2Did}/primaryChannel/archive", path_parameters) + + async def post(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Invoke action archive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action archive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> ArchiveRequestBuilder: + """ + 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: ArchiveRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ArchiveRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ArchiveRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/teams/item/primary_channel/complete_migration/complete_migration_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/complete_migration/complete_migration_request_builder.py index 78f20f71bc6..e48b6263024 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/complete_migration/complete_migration_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/complete_migration/complete_migration_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CompleteMigrationRequestBuilderPostRequestConfiguration] = None) -> None: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. 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/channel-completemigration?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[CompleteMigrationRequestBuil def to_post_request_information(self,request_configuration: Optional[CompleteMigrationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[CompleteMig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CompleteMigrationRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/primary_channel/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py index 64189342a59..0af55022af0 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DoesUserHave request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/primary_channel/files_folder/content/content_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/files_folder/content/content_request_builder.py index 760d6799fd4..b2a1d2a958e 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/files_folder/content/content_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/files_folder/content/content_request_builder.py @@ -83,7 +83,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -102,7 +102,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/teams/item/primary_channel/files_folder/files_folder_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/files_folder/files_folder_request_builder.py index 21083ffa30f..64d2d4d1172 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/files_folder/files_folder_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/files_folder/files_folder_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[FilesFolderRequestBuilderGetRequestConfiguration] = None) -> Optional[DriveItem]: """ - Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + Get the metadata for the location where the files of a channel are stored. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] Find more info here: https://learn.microsoft.com/graph/api/channel-get-filesfolder?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[FilesFolderRequestBuilderGetR def to_get_request_information(self,request_configuration: Optional[FilesFolderRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + Get the metadata for the location where the files of a channel are stored. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[FilesFolderR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilesFolderRequestBuilder: @@ -88,7 +88,7 @@ def content(self) -> ContentRequestBuilder: @dataclass class FilesFolderRequestBuilderGetQueryParameters(): """ - Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + Get the metadata for the location where the files of a channel are stored. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/primary_channel/members/add/add_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/members/add/add_request_builder.py index a3a67ba9b5a..d9d9d744cfb 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/members/add/add_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/members/add/add_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> Optional[AddPostResponse]: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AddPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddPostRequestBody] = None, request_configura def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teams/item/primary_channel/members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/members/item/conversation_member_item_request_builder.py index 0bf04d7c27a..c3c85bc0013 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/members/item/conversation_member_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. 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/channel-delete-members?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ConversationMemberItemRequ async def get(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Get a conversationMember from a channel. This API is available in the following national cloud deployments. + Get a conversationMember from a channel. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] Find more info here: https://learn.microsoft.com/graph/api/channel-get-members?view=graph-rest-1.0 @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[ConversationMemberItemRequest async def patch(self,body: Optional[ConversationMember] = None, request_configuration: Optional[ConversationMemberItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Update the role of a conversationMember in a team.or channel. This API is available in the following national cloud deployments. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] - Find more info here: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -95,7 +95,7 @@ async def patch(self,body: Optional[ConversationMember] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Conversat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a conversationMember from a channel. This API is available in the following national cloud deployments. + Get a conversationMember from a channel. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[Conversation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[ConversationMemberItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the role of a conversationMember in a team.or channel. This API is available in the following national cloud deployments. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class ConversationMemberItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class ConversationMemberItemRequestBuilderGetQueryParameters(): """ - Get a conversationMember from a channel. This API is available in the following national cloud deployments. + Get a conversationMember from a channel. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/primary_channel/members/members_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/members/members_request_builder.py index e9bb2f3c0a5..43cce3bd8c8 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/members/members_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/members/members_request_builder.py @@ -46,7 +46,7 @@ def by_conversation_member_id(self,conversation_member_id: str) -> ConversationM async def get(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMemberCollectionResponse]: """ - Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list-members?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MembersRequestBuilderGetReque async def post(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ConversationMember] = None, request_configura def to_get_request_information(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MembersRequestBuilderGetQueryParameters(): """ - Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/delta/delta_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/messages/delta/delta_request_builder.py index 60c76d410cb..8f9f019bbce 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/delta/delta_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/item/chat_message_item_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/messages/item/chat_message_item_request_builder.py index 3896678d0b9..a3b05a815c8 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/item/chat_message_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/item/chat_message_item_request_builder.py @@ -53,7 +53,7 @@ async def delete(self,request_configuration: Optional[ChatMessageItemRequestBuil async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 @@ -75,7 +75,7 @@ async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilder async def patch(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -111,12 +111,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -128,12 +128,12 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[ChatMessage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -228,7 +228,7 @@ class ChatMessageItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class ChatMessageItemRequestBuilderGetQueryParameters(): """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.py index 8c244221f6b..848ed50a472 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.py @@ -45,7 +45,7 @@ def by_chat_message_hosted_content_id(self,chat_message_hosted_content_id: str) async def get(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContentCollectionResponse]: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ChatMessageHostedContent] = None, request_con def to_get_request_information(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[HostedConten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[HostedContentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HostedContentsRequestBuilderGetQueryParameters(): """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py index fcc421d3f05..6a45b070216 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ChatMessageHostedContentIt async def get(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContent]: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContent] Find more info here: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class ChatMessageHostedContentItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.py index 2669eed8541..c61635a493a 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/delta/delta_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/delta/delta_request_builder.py index 7e1ae11a9dc..ff0888ec492 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/delta/delta_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/chat_message_item_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/chat_message_item_request_builder.py index 802ada447d1..76db1fd3e9d 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/chat_message_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/chat_message_item_request_builder.py @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[ChatMessageItemRequestBuil async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[ChatMessage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -217,7 +217,7 @@ class ChatMessageItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class ChatMessageItemRequestBuilderGetQueryParameters(): """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py index bd0e851ab4c..d0330f0d321 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py @@ -45,7 +45,7 @@ def by_chat_message_hosted_content_id(self,chat_message_hosted_content_id: str) async def get(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContentCollectionResponse]: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ChatMessageHostedContent] = None, request_con def to_get_request_information(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[HostedConten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[HostedContentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HostedContentsRequestBuilderGetQueryParameters(): """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py index 659e3eebaf6..48de1a5b839 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ChatMessageHostedContentIt async def get(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContent]: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContent] Find more info here: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class ChatMessageHostedContentItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py index 305ec718539..5ca1fbc52c8 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/set_reaction/set_reaction_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/set_reaction/set_reaction_request_builder.py index 1d79d045efd..25b7ad90f29 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/set_reaction/set_reaction_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/set_reaction/set_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetReactionPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/soft_delete/soft_delete_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/soft_delete/soft_delete_request_builder.py index 7670492c913..2d13217986a 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/soft_delete/soft_delete_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/soft_delete/soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-softdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPost def to_post_request_information(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SoftDeleteR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py index 710af7f314d..acf55c5be6e 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-undosoftdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilder def to_post_request_information(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UndoSoftDel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UndoSoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py index e4a0609869d..ada74334a34 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnsetReactionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/replies_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/replies_request_builder.py index ec95a3e56ec..cc4c29ce68a 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/replies_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/item/replies/replies_request_builder.py @@ -46,7 +46,7 @@ def by_chat_message_id1(self,chat_message_id1: str) -> ChatMessageItemRequestBui async def get(self,request_configuration: Optional[RepliesRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageCollectionResponse]: """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-replies?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[RepliesRequestBuilderGetReque async def post(self,body: Optional[ChatMessage] = None, request_configuration: Optional[RepliesRequestBuilderPostRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + Send a new reply to a chatMessage in a specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ChatMessage] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[RepliesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[RepliesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[RepliesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + Send a new reply to a chatMessage in a specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ChatMessage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class RepliesRequestBuilderGetQueryParameters(): """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/item/set_reaction/set_reaction_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/messages/item/set_reaction/set_reaction_request_builder.py index d75ff8e0f14..66ba6f4d471 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/item/set_reaction/set_reaction_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/item/set_reaction/set_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetReactionPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/item/soft_delete/soft_delete_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/messages/item/soft_delete/soft_delete_request_builder.py index 85def1d27f5..61a0ded12eb 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/item/soft_delete/soft_delete_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/item/soft_delete/soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-softdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPost def to_post_request_information(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SoftDeleteR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py index 5984953968e..41762b59d79 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-undosoftdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilder def to_post_request_information(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UndoSoftDel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UndoSoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/item/unset_reaction/unset_reaction_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/messages/item/unset_reaction/unset_reaction_request_builder.py index 6c61ca5a2fe..97d85cd363f 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/item/unset_reaction/unset_reaction_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/item/unset_reaction/unset_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnsetReactionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teams/item/primary_channel/messages/messages_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/messages/messages_request_builder.py index ab0a116a044..03f86bf30fd 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/messages/messages_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/messages/messages_request_builder.py @@ -46,7 +46,7 @@ def by_chat_message_id(self,chat_message_id: str) -> ChatMessageItemRequestBuild async def get(self,request_configuration: Optional[MessagesRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageCollectionResponse]: """ - Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list-messages?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MessagesRequestBuilderGetRequ async def post(self,body: Optional[ChatMessage] = None, request_configuration: Optional[MessagesRequestBuilderPostRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ChatMessage] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[MessagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MessagesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[MessagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ChatMessage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class MessagesRequestBuilderGetQueryParameters(): """ - Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/primary_channel/primary_channel_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/primary_channel_request_builder.py index 5ea0a3472e2..74d5d612cd5 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/primary_channel_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/primary_channel_request_builder.py @@ -12,6 +12,7 @@ if TYPE_CHECKING: from ....models.channel import Channel from ....models.o_data_errors.o_data_error import ODataError + from .archive.archive_request_builder import ArchiveRequestBuilder from .complete_migration.complete_migration_request_builder import CompleteMigrationRequestBuilder from .does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name.does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder import DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder from .files_folder.files_folder_request_builder import FilesFolderRequestBuilder @@ -21,6 +22,7 @@ from .remove_email.remove_email_request_builder import RemoveEmailRequestBuilder from .shared_with_teams.shared_with_teams_request_builder import SharedWithTeamsRequestBuilder from .tabs.tabs_request_builder import TabsRequestBuilder + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder class PrimaryChannelRequestBuilder(BaseRequestBuilder): """ @@ -56,7 +58,7 @@ async def delete(self,request_configuration: Optional[PrimaryChannelRequestBuild async def get(self,request_configuration: Optional[PrimaryChannelRequestBuilderGetRequestConfiguration] = None) -> Optional[Channel]: """ - Get the default channel, General, of a team. This API is available in the following national cloud deployments. + Get the default channel, General, of a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Channel] Find more info here: https://learn.microsoft.com/graph/api/team-get-primarychannel?view=graph-rest-1.0 @@ -113,12 +115,12 @@ def to_delete_request_information(self,request_configuration: Optional[PrimaryCh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrimaryChannelRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the default channel, General, of a team. This API is available in the following national cloud deployments. + Get the default channel, General, of a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -130,7 +132,7 @@ def to_get_request_information(self,request_configuration: Optional[PrimaryChann request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Channel] = None, request_configuration: Optional[PrimaryChannelRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -149,7 +151,7 @@ def to_patch_request_information(self,body: Optional[Channel] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -163,6 +165,15 @@ def with_url(self,raw_url: Optional[str] = None) -> PrimaryChannelRequestBuilder raise TypeError("raw_url cannot be null.") return PrimaryChannelRequestBuilder(self.request_adapter, raw_url) + @property + def archive(self) -> ArchiveRequestBuilder: + """ + Provides operations to call the archive method. + """ + from .archive.archive_request_builder import ArchiveRequestBuilder + + return ArchiveRequestBuilder(self.request_adapter, self.path_parameters) + @property def complete_migration(self) -> CompleteMigrationRequestBuilder: """ @@ -244,6 +255,15 @@ def tabs(self) -> TabsRequestBuilder: return TabsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def unarchive(self) -> UnarchiveRequestBuilder: + """ + Provides operations to call the unarchive method. + """ + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder + + return UnarchiveRequestBuilder(self.request_adapter, self.path_parameters) + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass @@ -257,7 +277,7 @@ class PrimaryChannelRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class PrimaryChannelRequestBuilderGetQueryParameters(): """ - Get the default channel, General, of a team. This API is available in the following national cloud deployments. + Get the default channel, General, of a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/primary_channel/provision_email/provision_email_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/provision_email/provision_email_request_builder.py index be6a528a3d4..888e50bcd2a 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/provision_email/provision_email_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/provision_email/provision_email_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ProvisionEmailRequestBuilderPostRequestConfiguration] = None) -> Optional[ProvisionChannelEmailResult]: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProvisionChannelEmailResult] Find more info here: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[ProvisionEmailRequestBuilder def to_post_request_information(self,request_configuration: Optional[ProvisionEmailRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[ProvisionEm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ProvisionEmailRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/primary_channel/remove_email/remove_email_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/remove_email/remove_email_request_builder.py index 344e37670bb..80668ce5a89 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/remove_email/remove_email_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/remove_email/remove_email_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RemoveEmailRequestBuilderPostRequestConfiguration] = None) -> None: """ - Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. 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/channel-removeemail?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RemoveEmailRequestBuilderPos def to_post_request_information(self,request_configuration: Optional[RemoveEmailRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RemoveEmail request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RemoveEmailRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/primary_channel/shared_with_teams/item/allowed_members/allowed_members_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/shared_with_teams/item/allowed_members/allowed_members_request_builder.py index bcb842846a2..2df563c095b 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/shared_with_teams/item/allowed_members/allowed_members_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/shared_with_teams/item/allowed_members/allowed_members_request_builder.py @@ -44,7 +44,7 @@ def by_conversation_member_id(self,conversation_member_id: str) -> ConversationM async def get(self,request_configuration: Optional[AllowedMembersRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMemberCollectionResponse]: """ - Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list-allowedmembers?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[AllowedMembersRequestBuilderG def to_get_request_information(self,request_configuration: Optional[AllowedMembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[AllowedMembe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllowedMembersRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AllowedMembersRequestBuilderGetQueryParameters(): """ - Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/primary_channel/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py index 5f4c7e2c540..05bb7524034 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[Conversation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ConversationMemberItemRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py index ceed7527522..76c65746bb1 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. 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/sharedwithchannelteaminfo-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[SharedWithChannelTeamInfoI async def get(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SharedWithChannelTeamInfo]: """ - Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharedWithChannelTeamInfo] Find more info here: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-get?view=graph-rest-1.0 @@ -96,7 +96,7 @@ async def patch(self,body: Optional[SharedWithChannelTeamInfo] = None, request_c def to_delete_request_information(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[SharedWit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[SharedWithCh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SharedWithChannelTeamInfo] = None, request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[SharedWithChannelTeamInfo] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ class SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration(Base @dataclass class SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters(): """ - Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/primary_channel/shared_with_teams/item/team/team_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/shared_with_teams/item/team/team_request_builder.py index 8d4c2356e36..262648daa2d 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/shared_with_teams/item/team/team_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/shared_with_teams/item/team/team_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/primary_channel/shared_with_teams/shared_with_teams_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/shared_with_teams/shared_with_teams_request_builder.py index c26a5f9836b..179882a06ca 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/shared_with_teams/shared_with_teams_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/shared_with_teams/shared_with_teams_request_builder.py @@ -45,7 +45,7 @@ def by_shared_with_channel_team_info_id(self,shared_with_channel_team_info_id: s async def get(self,request_configuration: Optional[SharedWithTeamsRequestBuilderGetRequestConfiguration] = None) -> Optional[SharedWithChannelTeamInfoCollectionResponse]: """ - Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharedWithChannelTeamInfoCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[SharedWithChannelTeamInfo] = None, request_co def to_get_request_information(self,request_configuration: Optional[SharedWithTeamsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SharedWithTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SharedWithChannelTeamInfo] = None, request_configuration: Optional[SharedWithTeamsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SharedWithChannelTeamInfo] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SharedWithTeamsRequestBuilderGetQueryParameters(): """ - Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/primary_channel/tabs/item/teams_app/teams_app_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/tabs/item/teams_app/teams_app_request_builder.py index 37c4027d761..7aefbc6850d 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/tabs/item/teams_app/teams_app_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/tabs/item/teams_app/teams_app_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamsAppRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/primary_channel/tabs/item/teams_tab_item_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/tabs/item/teams_tab_item_request_builder.py index edebbb02d08..322563a4fe1 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/tabs/item/teams_tab_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/tabs/item/teams_tab_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[TeamsTabI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamsTabItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsTabItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamsTab] = None, request_configuration: Optional[TeamsTabItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[TeamsTab] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teams/item/primary_channel/tabs/tabs_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/tabs/tabs_request_builder.py index 7f7302750f3..3615f8c883d 100644 --- a/msgraph_beta/generated/teams/item/primary_channel/tabs/tabs_request_builder.py +++ b/msgraph_beta/generated/teams/item/primary_channel/tabs/tabs_request_builder.py @@ -45,7 +45,7 @@ def by_teams_tab_id(self,teams_tab_id: str) -> TeamsTabItemRequestBuilder: async def get(self,request_configuration: Optional[TabsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsTabCollectionResponse]: """ - Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified channel within a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsTabCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list-tabs?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[TeamsTab] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[TabsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified channel within a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[TabsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamsTab] = None, request_configuration: Optional[TabsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[TeamsTab] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TabsRequestBuilderGetQueryParameters(): """ - Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified channel within a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/primary_channel/unarchive/unarchive_request_builder.py b/msgraph_beta/generated/teams/item/primary_channel/unarchive/unarchive_request_builder.py new file mode 100644 index 00000000000..c9441e10dbe --- /dev/null +++ b/msgraph_beta/generated/teams/item/primary_channel/unarchive/unarchive_request_builder.py @@ -0,0 +1,83 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + +class UnarchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the unarchive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new UnarchiveRequestBuilder 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}/teams/{team%2Did}/primaryChannel/unarchive", path_parameters) + + async def post(self,request_configuration: Optional[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Invoke action unarchive + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action unarchive + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> UnarchiveRequestBuilder: + """ + 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: UnarchiveRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return UnarchiveRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class UnarchiveRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/teams/item/schedule/day_notes/count/count_request_builder.py b/msgraph_beta/generated/teams/item/schedule/day_notes/count/count_request_builder.py new file mode 100644 index 00000000000..d182ec1f6d7 --- /dev/null +++ b/msgraph_beta/generated/teams/item/schedule/day_notes/count/count_request_builder.py @@ -0,0 +1,113 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +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: Optional[Union[Dict[str, Any], str]] = None) -> 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}/teams/{team%2Did}/schedule/dayNotes/$count{?%24search,%24filter}", path_parameters) + + async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = 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] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CountRequestBuilderGetRequestConfiguration] = 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 + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> 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 + """ + if not raw_url: + 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: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CountRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[CountRequestBuilder.CountRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/teams/item/schedule/day_notes/day_notes_request_builder.py b/msgraph_beta/generated/teams/item/schedule/day_notes/day_notes_request_builder.py new file mode 100644 index 00000000000..74d318365ad --- /dev/null +++ b/msgraph_beta/generated/teams/item/schedule/day_notes/day_notes_request_builder.py @@ -0,0 +1,226 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.day_note import DayNote + from .....models.day_note_collection_response import DayNoteCollectionResponse + from .....models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.day_note_item_request_builder import DayNoteItemRequestBuilder + +class DayNotesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new DayNotesRequestBuilder 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}/teams/{team%2Did}/schedule/dayNotes{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_day_note_id(self,day_note_id: str) -> DayNoteItemRequestBuilder: + """ + Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + param day_note_id: The unique identifier of dayNote + Returns: DayNoteItemRequestBuilder + """ + if not day_note_id: + raise TypeError("day_note_id cannot be null.") + from .item.day_note_item_request_builder import DayNoteItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["dayNote%2Did"] = day_note_id + return DayNoteItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[DayNotesRequestBuilderGetRequestConfiguration] = None) -> Optional[DayNoteCollectionResponse]: + """ + The day notes in the schedule. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DayNoteCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.day_note_collection_response import DayNoteCollectionResponse + + return await self.request_adapter.send_async(request_info, DayNoteCollectionResponse, error_mapping) + + async def post(self,body: Optional[DayNote] = None, request_configuration: Optional[DayNotesRequestBuilderPostRequestConfiguration] = None) -> Optional[DayNote]: + """ + Create new navigation property to dayNotes for teams + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DayNote] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.day_note import DayNote + + return await self.request_adapter.send_async(request_info, DayNote, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[DayNotesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + The day notes in the schedule. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[DayNote] = None, request_configuration: Optional[DayNotesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to dayNotes for teams + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> DayNotesRequestBuilder: + """ + 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: DayNotesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return DayNotesRequestBuilder(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 DayNotesRequestBuilderGetQueryParameters(): + """ + The day notes in the schedule. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class DayNotesRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[DayNotesRequestBuilder.DayNotesRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class DayNotesRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/teams/item/schedule/day_notes/item/day_note_item_request_builder.py b/msgraph_beta/generated/teams/item/schedule/day_notes/item/day_note_item_request_builder.py new file mode 100644 index 00000000000..1fd63f5f6d5 --- /dev/null +++ b/msgraph_beta/generated/teams/item/schedule/day_notes/item/day_note_item_request_builder.py @@ -0,0 +1,216 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.day_note import DayNote + from ......models.o_data_errors.o_data_error import ODataError + +class DayNoteItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new DayNoteItemRequestBuilder 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}/teams/{team%2Did}/schedule/dayNotes/{dayNote%2Did}{?%24select,%24expand}", path_parameters) + + async def delete(self,request_configuration: Optional[DayNoteItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete navigation property dayNotes for teams + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[DayNoteItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DayNote]: + """ + The day notes in the schedule. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DayNote] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.day_note import DayNote + + return await self.request_adapter.send_async(request_info, DayNote, error_mapping) + + async def patch(self,body: Optional[DayNote] = None, request_configuration: Optional[DayNoteItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[DayNote]: + """ + Update the properties of a day note. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DayNote] + Find more info here: https://learn.microsoft.com/graph/api/daynote-update?view=graph-rest-1.0 + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from ......models.day_note import DayNote + + return await self.request_adapter.send_async(request_info, DayNote, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[DayNoteItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete navigation property dayNotes for teams + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[DayNoteItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + The day notes in the schedule. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_patch_request_information(self,body: Optional[DayNote] = None, request_configuration: Optional[DayNoteItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + """ + Update the properties of a day note. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.PATCH + 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: Optional[str] = None) -> DayNoteItemRequestBuilder: + """ + 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: DayNoteItemRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return DayNoteItemRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class DayNoteItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + @dataclass + class DayNoteItemRequestBuilderGetQueryParameters(): + """ + The day notes in the schedule. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class DayNoteItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class DayNoteItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/teams/item/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.py b/msgraph_beta/generated/teams/item/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.py index a44062da92f..e7f8472e62c 100644 --- a/msgraph_beta/generated/teams/item/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[OfferShiftRequestItemReque async def get(self,request_configuration: Optional[OfferShiftRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OfferShiftRequest]: """ - Retrieve the properties and relationships of an offerShiftRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an offerShiftRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OfferShiftRequest] Find more info here: https://learn.microsoft.com/graph/api/offershiftrequest-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[OfferShif request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OfferShiftRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an offerShiftRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an offerShiftRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[OfferShiftRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OfferShiftRequest] = None, request_configuration: Optional[OfferShiftRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[OfferShiftRequest] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class OfferShiftRequestItemRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class OfferShiftRequestItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an offerShiftRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an offerShiftRequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/schedule/offer_shift_requests/offer_shift_requests_request_builder.py b/msgraph_beta/generated/teams/item/schedule/offer_shift_requests/offer_shift_requests_request_builder.py index 0c7a6f85a7a..78323af2eb2 100644 --- a/msgraph_beta/generated/teams/item/schedule/offer_shift_requests/offer_shift_requests_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/offer_shift_requests/offer_shift_requests_request_builder.py @@ -45,7 +45,7 @@ def by_offer_shift_request_id(self,offer_shift_request_id: str) -> OfferShiftReq async def get(self,request_configuration: Optional[OfferShiftRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[OfferShiftRequestCollectionResponse]: """ - Retrieve the properties and relationships of all offerShiftRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of all offerShiftRequest objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OfferShiftRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/offershiftrequest-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[OfferShiftRequestsRequestBuil async def post(self,body: Optional[OfferShiftRequest] = None, request_configuration: Optional[OfferShiftRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[OfferShiftRequest]: """ - Create an instance of an offerShiftRequest. This API is available in the following national cloud deployments. + Create an instance of an offerShiftRequest. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OfferShiftRequest] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OfferShiftRequest] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[OfferShiftRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of all offerShiftRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of all offerShiftRequest objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[OfferShiftRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OfferShiftRequest] = None, request_configuration: Optional[OfferShiftRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an instance of an offerShiftRequest. This API is available in the following national cloud deployments. + Create an instance of an offerShiftRequest. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OfferShiftRequest] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OfferShiftRequestsRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of all offerShiftRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of all offerShiftRequest objects in a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.py b/msgraph_beta/generated/teams/item/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.py index f281b587d26..9eb99cef67e 100644 --- a/msgraph_beta/generated/teams/item/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[OpenShiftChangeRequestItem async def get(self,request_configuration: Optional[OpenShiftChangeRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OpenShiftChangeRequest]: """ - Retrieve the properties and relationships of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an openShiftChangeRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OpenShiftChangeRequest] Find more info here: https://learn.microsoft.com/graph/api/openshiftchangerequest-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[OpenShift request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OpenShiftChangeRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an openShiftChangeRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[OpenShiftCha request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OpenShiftChangeRequest] = None, request_configuration: Optional[OpenShiftChangeRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[OpenShiftChangeRequest] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class OpenShiftChangeRequestItemRequestBuilderDeleteRequestConfiguration(BaseReq @dataclass class OpenShiftChangeRequestItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an openShiftChangeRequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.py b/msgraph_beta/generated/teams/item/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.py index b833792f837..7146efdd092 100644 --- a/msgraph_beta/generated/teams/item/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.py @@ -45,7 +45,7 @@ def by_open_shift_change_request_id(self,open_shift_change_request_id: str) -> O async def get(self,request_configuration: Optional[OpenShiftChangeRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[OpenShiftChangeRequestCollectionResponse]: """ - Retrieve a list of openShiftChangeRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve a list of openShiftChangeRequest objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OpenShiftChangeRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/openshiftchangerequest-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[OpenShiftChangeRequestsReques async def post(self,body: Optional[OpenShiftChangeRequest] = None, request_configuration: Optional[OpenShiftChangeRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[OpenShiftChangeRequest]: """ - Create instance of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + Create instance of an openShiftChangeRequest object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OpenShiftChangeRequest] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OpenShiftChangeRequest] = None, request_confi def to_get_request_information(self,request_configuration: Optional[OpenShiftChangeRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of openShiftChangeRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve a list of openShiftChangeRequest objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[OpenShiftCha request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OpenShiftChangeRequest] = None, request_configuration: Optional[OpenShiftChangeRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create instance of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + Create instance of an openShiftChangeRequest object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OpenShiftChangeRequest] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OpenShiftChangeRequestsRequestBuilderGetQueryParameters(): """ - Retrieve a list of openShiftChangeRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve a list of openShiftChangeRequest objects in a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/schedule/open_shifts/item/open_shift_item_request_builder.py b/msgraph_beta/generated/teams/item/schedule/open_shifts/item/open_shift_item_request_builder.py index 12583ad4e49..30744257bcf 100644 --- a/msgraph_beta/generated/teams/item/schedule/open_shifts/item/open_shift_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/open_shifts/item/open_shift_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[OpenShiftItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an openShift object. This API is available in the following national cloud deployments. + Delete an openShift object. 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/openshift-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[OpenShiftItemRequestBuilde async def get(self,request_configuration: Optional[OpenShiftItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OpenShift]: """ - Retrieve the properties and relationships of an openshift object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an openshift object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OpenShift] Find more info here: https://learn.microsoft.com/graph/api/openshift-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[OpenShift] = None, request_configuration: Op def to_delete_request_information(self,request_configuration: Optional[OpenShiftItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an openShift object. This API is available in the following national cloud deployments. + Delete an openShift object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[OpenShift request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OpenShiftItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an openshift object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an openshift object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[OpenShiftIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OpenShift] = None, request_configuration: Optional[OpenShiftItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[OpenShift] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class OpenShiftItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class OpenShiftItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an openshift object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an openshift object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/schedule/open_shifts/open_shifts_request_builder.py b/msgraph_beta/generated/teams/item/schedule/open_shifts/open_shifts_request_builder.py index 7466411c54f..e690311b6db 100644 --- a/msgraph_beta/generated/teams/item/schedule/open_shifts/open_shifts_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/open_shifts/open_shifts_request_builder.py @@ -45,7 +45,7 @@ def by_open_shift_id(self,open_shift_id: str) -> OpenShiftItemRequestBuilder: async def get(self,request_configuration: Optional[OpenShiftsRequestBuilderGetRequestConfiguration] = None) -> Optional[OpenShiftCollectionResponse]: """ - List openshift objects in a team. This API is available in the following national cloud deployments. + List openshift objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OpenShiftCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/openshift-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[OpenShiftsRequestBuilderGetRe async def post(self,body: Optional[OpenShift] = None, request_configuration: Optional[OpenShiftsRequestBuilderPostRequestConfiguration] = None) -> Optional[OpenShift]: """ - Create an instance of an openshift object. This API is available in the following national cloud deployments. + Create an instance of an openshift object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OpenShift] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OpenShift] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[OpenShiftsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List openshift objects in a team. This API is available in the following national cloud deployments. + List openshift objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[OpenShiftsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OpenShift] = None, request_configuration: Optional[OpenShiftsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an instance of an openshift object. This API is available in the following national cloud deployments. + Create an instance of an openshift object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OpenShift] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OpenShiftsRequestBuilderGetQueryParameters(): """ - List openshift objects in a team. This API is available in the following national cloud deployments. + List openshift objects in a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/schedule/schedule_request_builder.py b/msgraph_beta/generated/teams/item/schedule/schedule_request_builder.py index a9247ce2d0b..579d0b74352 100644 --- a/msgraph_beta/generated/teams/item/schedule/schedule_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/schedule_request_builder.py @@ -12,6 +12,7 @@ if TYPE_CHECKING: from ....models.o_data_errors.o_data_error import ODataError from ....models.schedule import Schedule + from .day_notes.day_notes_request_builder import DayNotesRequestBuilder from .offer_shift_requests.offer_shift_requests_request_builder import OfferShiftRequestsRequestBuilder from .open_shifts.open_shifts_request_builder import OpenShiftsRequestBuilder from .open_shift_change_requests.open_shift_change_requests_request_builder import OpenShiftChangeRequestsRequestBuilder @@ -58,7 +59,7 @@ async def delete(self,request_configuration: Optional[ScheduleRequestBuilderDele async def get(self,request_configuration: Optional[ScheduleRequestBuilderGetRequestConfiguration] = None) -> Optional[Schedule]: """ - Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Schedule] Find more info here: https://learn.microsoft.com/graph/api/schedule-get?view=graph-rest-1.0 @@ -115,12 +116,12 @@ def to_delete_request_information(self,request_configuration: Optional[ScheduleR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ScheduleRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -132,7 +133,7 @@ def to_get_request_information(self,request_configuration: Optional[ScheduleRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_put_request_information(self,body: Optional[Schedule] = None, request_configuration: Optional[ScheduleRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -151,7 +152,7 @@ def to_put_request_information(self,body: Optional[Schedule] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -165,6 +166,15 @@ def with_url(self,raw_url: Optional[str] = None) -> ScheduleRequestBuilder: raise TypeError("raw_url cannot be null.") return ScheduleRequestBuilder(self.request_adapter, raw_url) + @property + def day_notes(self) -> DayNotesRequestBuilder: + """ + Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + """ + from .day_notes.day_notes_request_builder import DayNotesRequestBuilder + + return DayNotesRequestBuilder(self.request_adapter, self.path_parameters) + @property def offer_shift_requests(self) -> OfferShiftRequestsRequestBuilder: """ @@ -277,7 +287,7 @@ class ScheduleRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class ScheduleRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/schedule/scheduling_groups/item/scheduling_group_item_request_builder.py b/msgraph_beta/generated/teams/item/schedule/scheduling_groups/item/scheduling_group_item_request_builder.py index 670e2f1e447..f1a288c5dbb 100644 --- a/msgraph_beta/generated/teams/item/schedule/scheduling_groups/item/scheduling_group_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/scheduling_groups/item/scheduling_group_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[SchedulingGroupItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. This API is available in the following national cloud deployments. + Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. 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/schedulinggroup-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[SchedulingGroupItemRequest async def get(self,request_configuration: Optional[SchedulingGroupItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SchedulingGroup]: """ - Retrieve the properties and relationships of a schedulingGroup by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a schedulingGroup by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SchedulingGroup] Find more info here: https://learn.microsoft.com/graph/api/schedulinggroup-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[SchedulingGroup] = None, request_configurati def to_delete_request_information(self,request_configuration: Optional[SchedulingGroupItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. This API is available in the following national cloud deployments. + Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Schedulin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SchedulingGroupItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a schedulingGroup by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a schedulingGroup by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[SchedulingGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SchedulingGroup] = None, request_configuration: Optional[SchedulingGroupItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[SchedulingGroup] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class SchedulingGroupItemRequestBuilderDeleteRequestConfiguration(BaseRequestCon @dataclass class SchedulingGroupItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a schedulingGroup by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a schedulingGroup by ID. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/schedule/scheduling_groups/scheduling_groups_request_builder.py b/msgraph_beta/generated/teams/item/schedule/scheduling_groups/scheduling_groups_request_builder.py index 8e09f48be0b..675ca3b423f 100644 --- a/msgraph_beta/generated/teams/item/schedule/scheduling_groups/scheduling_groups_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/scheduling_groups/scheduling_groups_request_builder.py @@ -45,7 +45,7 @@ def by_scheduling_group_id(self,scheduling_group_id: str) -> SchedulingGroupItem async def get(self,request_configuration: Optional[SchedulingGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[SchedulingGroupCollectionResponse]: """ - Get the list of schedulingGroups in this schedule. This API is available in the following national cloud deployments. + Get the list of schedulingGroups in this schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SchedulingGroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/schedule-list-schedulinggroups?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SchedulingGroupsRequestBuilde async def post(self,body: Optional[SchedulingGroup] = None, request_configuration: Optional[SchedulingGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[SchedulingGroup]: """ - Create a new schedulingGroup. This API is available in the following national cloud deployments. + Create a new schedulingGroup. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SchedulingGroup] @@ -92,7 +92,7 @@ async def post(self,body: Optional[SchedulingGroup] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[SchedulingGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of schedulingGroups in this schedule. This API is available in the following national cloud deployments. + Get the list of schedulingGroups in this schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SchedulingGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SchedulingGroup] = None, request_configuration: Optional[SchedulingGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new schedulingGroup. This API is available in the following national cloud deployments. + Create a new schedulingGroup. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[SchedulingGroup] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SchedulingGroupsRequestBuilderGetQueryParameters(): """ - Get the list of schedulingGroups in this schedule. This API is available in the following national cloud deployments. + Get the list of schedulingGroups in this schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/schedule/share/share_request_builder.py b/msgraph_beta/generated/teams/item/schedule/share/share_request_builder.py index 5be34a08a67..c35cfc8070d 100644 --- a/msgraph_beta/generated/teams/item/schedule/share/share_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/share/share_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SharePostRequestBody] = None, request_configuration: Optional[ShareRequestBuilderPostRequestConfiguration] = None) -> None: """ - Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. This API is available in the following national cloud deployments. + Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SharePostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[SharePostRequestBody] = None, request_configuration: Optional[ShareRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. This API is available in the following national cloud deployments. + Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SharePostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teams/item/schedule/shifts/item/shift_item_request_builder.py b/msgraph_beta/generated/teams/item/schedule/shifts/item/shift_item_request_builder.py index 06f7ca40dfa..a94ef96f32f 100644 --- a/msgraph_beta/generated/teams/item/schedule/shifts/item/shift_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/shifts/item/shift_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ShiftItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a shift from the schedule. This API is available in the following national cloud deployments. + Delete a shift from the schedule. 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/shift-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ShiftItemRequestBuilderDel async def get(self,request_configuration: Optional[ShiftItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Shift]: """ - Retrieve the properties and relationships of a shift object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a shift object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Shift] Find more info here: https://learn.microsoft.com/graph/api/shift-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[Shift] = None, request_configuration: Option def to_delete_request_information(self,request_configuration: Optional[ShiftItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a shift from the schedule. This API is available in the following national cloud deployments. + Delete a shift from the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[ShiftItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ShiftItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a shift object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a shift object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[ShiftItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Shift] = None, request_configuration: Optional[ShiftItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Shift] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class ShiftItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration @dataclass class ShiftItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a shift object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a shift object by ID. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/schedule/shifts/shifts_request_builder.py b/msgraph_beta/generated/teams/item/schedule/shifts/shifts_request_builder.py index 2c0ba3d6854..36b7b9bd29d 100644 --- a/msgraph_beta/generated/teams/item/schedule/shifts/shifts_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/shifts/shifts_request_builder.py @@ -45,7 +45,7 @@ def by_shift_id(self,shift_id: str) -> ShiftItemRequestBuilder: async def get(self,request_configuration: Optional[ShiftsRequestBuilderGetRequestConfiguration] = None) -> Optional[ShiftCollectionResponse]: """ - Get the list of shift instances in a schedule. This API is available in the following national cloud deployments. + Get the list of shift instances in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ShiftCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/schedule-list-shifts?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ShiftsRequestBuilderGetReques async def post(self,body: Optional[Shift] = None, request_configuration: Optional[ShiftsRequestBuilderPostRequestConfiguration] = None) -> Optional[Shift]: """ - Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. This API is available in the following national cloud deployments. + Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Shift] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Shift] = None, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[ShiftsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of shift instances in a schedule. This API is available in the following national cloud deployments. + Get the list of shift instances in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ShiftsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Shift] = None, request_configuration: Optional[ShiftsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. This API is available in the following national cloud deployments. + Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Shift] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ShiftsRequestBuilderGetQueryParameters(): """ - Get the list of shift instances in a schedule. This API is available in the following national cloud deployments. + Get the list of shift instances in a schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.py b/msgraph_beta/generated/teams/item/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.py index bc72a88e0f6..7aa857abbeb 100644 --- a/msgraph_beta/generated/teams/item/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[SwapShiftsChangeRequestIte async def get(self,request_configuration: Optional[SwapShiftsChangeRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SwapShiftsChangeRequest]: """ - Retrieve the properties and relationships of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a swapShiftsChangeRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SwapShiftsChangeRequest] Find more info here: https://learn.microsoft.com/graph/api/swapshiftschangerequest-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[SwapShift request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SwapShiftsChangeRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a swapShiftsChangeRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[SwapShiftsCh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SwapShiftsChangeRequest] = None, request_configuration: Optional[SwapShiftsChangeRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[SwapShiftsChangeRequest] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class SwapShiftsChangeRequestItemRequestBuilderDeleteRequestConfiguration(BaseRe @dataclass class SwapShiftsChangeRequestItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a swapShiftsChangeRequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.py b/msgraph_beta/generated/teams/item/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.py index 3bb727a4a03..0f348119a02 100644 --- a/msgraph_beta/generated/teams/item/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.py @@ -45,7 +45,7 @@ def by_swap_shifts_change_request_id(self,swap_shifts_change_request_id: str) -> async def get(self,request_configuration: Optional[SwapShiftsChangeRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[SwapShiftsChangeRequestCollectionResponse]: """ - Retrieve a list of swapShiftsChangeRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve a list of swapShiftsChangeRequest objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SwapShiftsChangeRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/swapshiftschangerequest-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SwapShiftsChangeRequestsReque async def post(self,body: Optional[SwapShiftsChangeRequest] = None, request_configuration: Optional[SwapShiftsChangeRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[SwapShiftsChangeRequest]: """ - Create an instance of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + Create an instance of a swapShiftsChangeRequest object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SwapShiftsChangeRequest] @@ -92,7 +92,7 @@ async def post(self,body: Optional[SwapShiftsChangeRequest] = None, request_conf def to_get_request_information(self,request_configuration: Optional[SwapShiftsChangeRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of swapShiftsChangeRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve a list of swapShiftsChangeRequest objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SwapShiftsCh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SwapShiftsChangeRequest] = None, request_configuration: Optional[SwapShiftsChangeRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an instance of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + Create an instance of a swapShiftsChangeRequest object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[SwapShiftsChangeRequest] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SwapShiftsChangeRequestsRequestBuilderGetQueryParameters(): """ - Retrieve a list of swapShiftsChangeRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve a list of swapShiftsChangeRequest objects in a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/schedule/time_cards/clock_in/clock_in_request_builder.py b/msgraph_beta/generated/teams/item/schedule/time_cards/clock_in/clock_in_request_builder.py index 5207041b57d..1d1b78e3277 100644 --- a/msgraph_beta/generated/teams/item/schedule/time_cards/clock_in/clock_in_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/time_cards/clock_in/clock_in_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ClockInPostRequestBody] = None, request_configuration: Optional[ClockInRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeCard]: """ - Clock in to start a timeCard. This API is available in the following national cloud deployments. + Clock in to start a timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCard] @@ -54,7 +54,7 @@ async def post(self,body: Optional[ClockInPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ClockInPostRequestBody] = None, request_configuration: Optional[ClockInRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clock in to start a timeCard. This API is available in the following national cloud deployments. + Clock in to start a timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[ClockInPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teams/item/schedule/time_cards/item/clock_out/clock_out_request_builder.py b/msgraph_beta/generated/teams/item/schedule/time_cards/item/clock_out/clock_out_request_builder.py index 5da056bab95..2d1d81d0b45 100644 --- a/msgraph_beta/generated/teams/item/schedule/time_cards/item/clock_out/clock_out_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/time_cards/item/clock_out/clock_out_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ClockOutPostRequestBody] = None, request_configuration: Optional[ClockOutRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeCard]: """ - Clock out to end an open timeCard. This API is available in the following national cloud deployments. + Clock out to end an open timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCard] @@ -54,7 +54,7 @@ async def post(self,body: Optional[ClockOutPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[ClockOutPostRequestBody] = None, request_configuration: Optional[ClockOutRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clock out to end an open timeCard. This API is available in the following national cloud deployments. + Clock out to end an open timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[ClockOutPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teams/item/schedule/time_cards/item/confirm/confirm_request_builder.py b/msgraph_beta/generated/teams/item/schedule/time_cards/item/confirm/confirm_request_builder.py index 8e1788c4fdc..0c4d4394e7a 100644 --- a/msgraph_beta/generated/teams/item/schedule/time_cards/item/confirm/confirm_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/time_cards/item/confirm/confirm_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ConfirmRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeCard]: """ - Confirm a specific timeCard. This API is available in the following national cloud deployments. + Confirm a specific timeCard. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCard] Find more info here: https://learn.microsoft.com/graph/api/timecard-confirm?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[ConfirmRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[ConfirmRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Confirm a specific timeCard. This API is available in the following national cloud deployments. + Confirm a specific timeCard. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[ConfirmRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ConfirmRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/schedule/time_cards/item/end_break/end_break_request_builder.py b/msgraph_beta/generated/teams/item/schedule/time_cards/item/end_break/end_break_request_builder.py index ed10c3a56db..7c2b4585c0d 100644 --- a/msgraph_beta/generated/teams/item/schedule/time_cards/item/end_break/end_break_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/time_cards/item/end_break/end_break_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[EndBreakPostRequestBody] = None, request_configuration: Optional[EndBreakRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeCard]: """ - End the open break in a specific timeCard. This API is available in the following national cloud deployments. + End the open break in a specific timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCard] @@ -54,7 +54,7 @@ async def post(self,body: Optional[EndBreakPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[EndBreakPostRequestBody] = None, request_configuration: Optional[EndBreakRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - End the open break in a specific timeCard. This API is available in the following national cloud deployments. + End the open break in a specific timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[EndBreakPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teams/item/schedule/time_cards/item/start_break/start_break_request_builder.py b/msgraph_beta/generated/teams/item/schedule/time_cards/item/start_break/start_break_request_builder.py index b3633c26761..d449f5fd057 100644 --- a/msgraph_beta/generated/teams/item/schedule/time_cards/item/start_break/start_break_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/time_cards/item/start_break/start_break_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[StartBreakPostRequestBody] = None, request_configuration: Optional[StartBreakRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeCard]: """ - Start a break in a specific timeCard. This API is available in the following national cloud deployments. + Start a break in a specific timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCard] @@ -54,7 +54,7 @@ async def post(self,body: Optional[StartBreakPostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[StartBreakPostRequestBody] = None, request_configuration: Optional[StartBreakRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Start a break in a specific timeCard. This API is available in the following national cloud deployments. + Start a break in a specific timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[StartBreakPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teams/item/schedule/time_cards/item/time_card_item_request_builder.py b/msgraph_beta/generated/teams/item/schedule/time_cards/item/time_card_item_request_builder.py index 2421271f329..9bbfab99a86 100644 --- a/msgraph_beta/generated/teams/item/schedule/time_cards/item/time_card_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/time_cards/item/time_card_item_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TimeCardItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a timeCard instance in a schedule. This API is available in the following national cloud deployments. + Delete a timeCard instance in a schedule. 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/timecard-delete?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[TimeCardItemRequestBuilder async def get(self,request_configuration: Optional[TimeCardItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeCard]: """ - Get the properties and relationships of a timeCard object by ID. This API is available in the following national cloud deployments. + Get the properties and relationships of a timeCard object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCard] Find more info here: https://learn.microsoft.com/graph/api/timecard-get?view=graph-rest-1.0 @@ -99,7 +99,7 @@ async def patch(self,body: Optional[TimeCard] = None, request_configuration: Opt def to_delete_request_information(self,request_configuration: Optional[TimeCardItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a timeCard instance in a schedule. This API is available in the following national cloud deployments. + Delete a timeCard instance in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -110,12 +110,12 @@ def to_delete_request_information(self,request_configuration: Optional[TimeCardI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TimeCardItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a timeCard object by ID. This API is available in the following national cloud deployments. + Get the properties and relationships of a timeCard object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[TimeCardItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TimeCard] = None, request_configuration: Optional[TimeCardItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[TimeCard] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -209,7 +209,7 @@ class TimeCardItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class TimeCardItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a timeCard object by ID. This API is available in the following national cloud deployments. + Get the properties and relationships of a timeCard object by ID. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/schedule/time_cards/time_cards_request_builder.py b/msgraph_beta/generated/teams/item/schedule/time_cards/time_cards_request_builder.py index 3f91d95b1d2..5adfe09a7b7 100644 --- a/msgraph_beta/generated/teams/item/schedule/time_cards/time_cards_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/time_cards/time_cards_request_builder.py @@ -46,7 +46,7 @@ def by_time_card_id(self,time_card_id: str) -> TimeCardItemRequestBuilder: async def get(self,request_configuration: Optional[TimeCardsRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeCardCollectionResponse]: """ - Retrieve a list of timeCard entries in a schedule. This API is available in the following national cloud deployments. + Retrieve a list of timeCard entries in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCardCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/timecard-list?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[TimeCardsRequestBuilderGetReq async def post(self,body: Optional[TimeCard] = None, request_configuration: Optional[TimeCardsRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeCard]: """ - Create a timeCard instance in a schedule. This API is available in the following national cloud deployments. + Create a timeCard instance in a schedule. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCard] @@ -93,7 +93,7 @@ async def post(self,body: Optional[TimeCard] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[TimeCardsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of timeCard entries in a schedule. This API is available in the following national cloud deployments. + Retrieve a list of timeCard entries in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[TimeCardsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TimeCard] = None, request_configuration: Optional[TimeCardsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a timeCard instance in a schedule. This API is available in the following national cloud deployments. + Create a timeCard instance in a schedule. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[TimeCard] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TimeCardsRequestBuilderGetQueryParameters(): """ - Retrieve a list of timeCard entries in a schedule. This API is available in the following national cloud deployments. + Retrieve a list of timeCard entries in a schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/schedule/time_off_reasons/item/time_off_reason_item_request_builder.py b/msgraph_beta/generated/teams/item/schedule/time_off_reasons/item/time_off_reason_item_request_builder.py index 0d33575a83e..589d7111e99 100644 --- a/msgraph_beta/generated/teams/item/schedule/time_off_reasons/item/time_off_reason_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/time_off_reasons/item/time_off_reason_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TimeOffReasonItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method does not remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. This API is available in the following national cloud deployments. + Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method does not remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. 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/timeoffreason-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[TimeOffReasonItemRequestBu async def get(self,request_configuration: Optional[TimeOffReasonItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeOffReason]: """ - Retrieve the properties and relationships of a timeOffReason object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeOffReason object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOffReason] Find more info here: https://learn.microsoft.com/graph/api/timeoffreason-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[TimeOffReason] = None, request_configuration def to_delete_request_information(self,request_configuration: Optional[TimeOffReasonItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method does not remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. This API is available in the following national cloud deployments. + Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method does not remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[TimeOffRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TimeOffReasonItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a timeOffReason object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeOffReason object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[TimeOffReaso request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TimeOffReason] = None, request_configuration: Optional[TimeOffReasonItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[TimeOffReason] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class TimeOffReasonItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class TimeOffReasonItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a timeOffReason object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeOffReason object by ID. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/schedule/time_off_reasons/time_off_reasons_request_builder.py b/msgraph_beta/generated/teams/item/schedule/time_off_reasons/time_off_reasons_request_builder.py index 5ff7738d845..3dbc06bbab6 100644 --- a/msgraph_beta/generated/teams/item/schedule/time_off_reasons/time_off_reasons_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/time_off_reasons/time_off_reasons_request_builder.py @@ -45,7 +45,7 @@ def by_time_off_reason_id(self,time_off_reason_id: str) -> TimeOffReasonItemRequ async def get(self,request_configuration: Optional[TimeOffReasonsRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeOffReasonCollectionResponse]: """ - Get the list of timeOffReasons in a schedule. This API is available in the following national cloud deployments. + Get the list of timeOffReasons in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOffReasonCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/schedule-list-timeoffreasons?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TimeOffReasonsRequestBuilderG async def post(self,body: Optional[TimeOffReason] = None, request_configuration: Optional[TimeOffReasonsRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeOffReason]: """ - Create a new timeOffReason. This API is available in the following national cloud deployments. + Create a new timeOffReason. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOffReason] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TimeOffReason] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[TimeOffReasonsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of timeOffReasons in a schedule. This API is available in the following national cloud deployments. + Get the list of timeOffReasons in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[TimeOffReaso request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TimeOffReason] = None, request_configuration: Optional[TimeOffReasonsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new timeOffReason. This API is available in the following national cloud deployments. + Create a new timeOffReason. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TimeOffReason] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TimeOffReasonsRequestBuilderGetQueryParameters(): """ - Get the list of timeOffReasons in a schedule. This API is available in the following national cloud deployments. + Get the list of timeOffReasons in a schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/schedule/time_off_requests/item/time_off_request_item_request_builder.py b/msgraph_beta/generated/teams/item/schedule/time_off_requests/item/time_off_request_item_request_builder.py index a933d34b8c2..0d8c20d65e6 100644 --- a/msgraph_beta/generated/teams/item/schedule/time_off_requests/item/time_off_request_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/time_off_requests/item/time_off_request_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TimeOffRequestItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a timeOffRequest object. This API is available in the following national cloud deployments. + Delete a timeOffRequest object. 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/timeoffrequest-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[TimeOffRequestItemRequestB async def get(self,request_configuration: Optional[TimeOffRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeOffRequest]: """ - Retrieve the properties and relationships of a timeoffrequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeoffrequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOffRequest] Find more info here: https://learn.microsoft.com/graph/api/timeoffrequest-get?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[TimeOffRequest] = None, request_configuratio def to_delete_request_information(self,request_configuration: Optional[TimeOffRequestItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a timeOffRequest object. This API is available in the following national cloud deployments. + Delete a timeOffRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[TimeOffRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TimeOffRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a timeoffrequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeoffrequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TimeOffReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TimeOffRequest] = None, request_configuration: Optional[TimeOffRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[TimeOffRequest] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class TimeOffRequestItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class TimeOffRequestItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a timeoffrequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeoffrequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/schedule/time_off_requests/time_off_requests_request_builder.py b/msgraph_beta/generated/teams/item/schedule/time_off_requests/time_off_requests_request_builder.py index 7c113167ea6..d346f70e3a7 100644 --- a/msgraph_beta/generated/teams/item/schedule/time_off_requests/time_off_requests_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/time_off_requests/time_off_requests_request_builder.py @@ -45,7 +45,7 @@ def by_time_off_request_id(self,time_off_request_id: str) -> TimeOffRequestItemR async def get(self,request_configuration: Optional[TimeOffRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeOffRequestCollectionResponse]: """ - Retrieve a list of timeoffrequest objects in the team. This API is available in the following national cloud deployments. + Retrieve a list of timeoffrequest objects in the team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOffRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/timeoffrequest-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[TimeOffRequest] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[TimeOffRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of timeoffrequest objects in the team. This API is available in the following national cloud deployments. + Retrieve a list of timeoffrequest objects in the team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[TimeOffReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TimeOffRequest] = None, request_configuration: Optional[TimeOffRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[TimeOffRequest] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TimeOffRequestsRequestBuilderGetQueryParameters(): """ - Retrieve a list of timeoffrequest objects in the team. This API is available in the following national cloud deployments. + Retrieve a list of timeoffrequest objects in the team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/schedule/times_off/item/time_off_item_request_builder.py b/msgraph_beta/generated/teams/item/schedule/times_off/item/time_off_item_request_builder.py index 8987504b650..289b4f2e521 100644 --- a/msgraph_beta/generated/teams/item/schedule/times_off/item/time_off_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/times_off/item/time_off_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TimeOffItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a timeOff instance from a schedule. This API is available in the following national cloud deployments. + Delete a timeOff instance from a schedule. 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/timeoff-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[TimeOffItemRequestBuilderD async def get(self,request_configuration: Optional[TimeOffItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeOff]: """ - Retrieve the properties and relationships of a timeOff object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeOff object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOff] Find more info here: https://learn.microsoft.com/graph/api/timeoff-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[TimeOff] = None, request_configuration: Opti def to_delete_request_information(self,request_configuration: Optional[TimeOffItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a timeOff instance from a schedule. This API is available in the following national cloud deployments. + Delete a timeOff instance from a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[TimeOffIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TimeOffItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a timeOff object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeOff object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[TimeOffItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TimeOff] = None, request_configuration: Optional[TimeOffItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[TimeOff] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class TimeOffItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurati @dataclass class TimeOffItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a timeOff object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeOff object by ID. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/schedule/times_off/times_off_request_builder.py b/msgraph_beta/generated/teams/item/schedule/times_off/times_off_request_builder.py index c1edd62aff4..5fee2f52f67 100644 --- a/msgraph_beta/generated/teams/item/schedule/times_off/times_off_request_builder.py +++ b/msgraph_beta/generated/teams/item/schedule/times_off/times_off_request_builder.py @@ -45,7 +45,7 @@ def by_time_off_id(self,time_off_id: str) -> TimeOffItemRequestBuilder: async def get(self,request_configuration: Optional[TimesOffRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeOffCollectionResponse]: """ - Get the list of timeOff instances in a schedule. This API is available in the following national cloud deployments. + Get the list of timeOff instances in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOffCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/schedule-list-timesoff?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TimesOffRequestBuilderGetRequ async def post(self,body: Optional[TimeOff] = None, request_configuration: Optional[TimesOffRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeOff]: """ - Create a new timeOff instance in a schedule. This API is available in the following national cloud deployments. + Create a new timeOff instance in a schedule. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOff] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TimeOff] = None, request_configuration: Optio def to_get_request_information(self,request_configuration: Optional[TimesOffRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of timeOff instances in a schedule. This API is available in the following national cloud deployments. + Get the list of timeOff instances in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[TimesOffRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TimeOff] = None, request_configuration: Optional[TimesOffRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new timeOff instance in a schedule. This API is available in the following national cloud deployments. + Create a new timeOff instance in a schedule. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TimeOff] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TimesOffRequestBuilderGetQueryParameters(): """ - Get the list of timeOff instances in a schedule. This API is available in the following national cloud deployments. + Get the list of timeOff instances in a schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/send_activity_notification/send_activity_notification_request_builder.py b/msgraph_beta/generated/teams/item/send_activity_notification/send_activity_notification_request_builder.py index fd5bd990c21..7e68f8d067b 100644 --- a/msgraph_beta/generated/teams/item/send_activity_notification/send_activity_notification_request_builder.py +++ b/msgraph_beta/generated/teams/item/send_activity_notification/send_activity_notification_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SendActivityNotificationPostRequestBody] = None, request_configuration: Optional[SendActivityNotificationRequestBuilderPostRequestConfiguration] = None) -> None: """ - Send an activity feed notification in the scope of a team. For more information, see sending Teams activity notifications. This API is available in the following national cloud deployments. + Send an activity feed notification in the scope of a team. For more information, see sending Teams activity notifications. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SendActivityNotificationPostRequestBody] = No def to_post_request_information(self,body: Optional[SendActivityNotificationPostRequestBody] = None, request_configuration: Optional[SendActivityNotificationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send an activity feed notification in the scope of a team. For more information, see sending Teams activity notifications. This API is available in the following national cloud deployments. + Send an activity feed notification in the scope of a team. For more information, see sending Teams activity notifications. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SendActivityNotificationPost request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teams/item/tags/item/members/item/teamwork_tag_member_item_request_builder.py b/msgraph_beta/generated/teams/item/tags/item/members/item/teamwork_tag_member_item_request_builder.py index 8e044f75fb3..2d61edc09cc 100644 --- a/msgraph_beta/generated/teams/item/tags/item/members/item/teamwork_tag_member_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/tags/item/members/item/teamwork_tag_member_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TeamworkTagMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a member from a standard tag in a team. This API is available in the following national cloud deployments. + Delete a member from a standard tag in a team. 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/teamworktagmember-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[TeamworkTagMemberItemReque async def get(self,request_configuration: Optional[TeamworkTagMemberItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamworkTagMember]: """ - Get the properties and relationships of a member of a standard tag in a team. This API is available in the following national cloud deployments. + Get the properties and relationships of a member of a standard tag in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkTagMember] Find more info here: https://learn.microsoft.com/graph/api/teamworktagmember-get?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[TeamworkTagMember] = None, request_configura def to_delete_request_information(self,request_configuration: Optional[TeamworkTagMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a member from a standard tag in a team. This API is available in the following national cloud deployments. + Delete a member from a standard tag in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[TeamworkT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamworkTagMemberItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a member of a standard tag in a team. This API is available in the following national cloud deployments. + Get the properties and relationships of a member of a standard tag in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamworkTagM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamworkTagMember] = None, request_configuration: Optional[TeamworkTagMemberItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[TeamworkTagMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class TeamworkTagMemberItemRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class TeamworkTagMemberItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a member of a standard tag in a team. This API is available in the following national cloud deployments. + Get the properties and relationships of a member of a standard tag in a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/tags/item/members/members_request_builder.py b/msgraph_beta/generated/teams/item/tags/item/members/members_request_builder.py index e0b9006eca5..6dc173141d3 100644 --- a/msgraph_beta/generated/teams/item/tags/item/members/members_request_builder.py +++ b/msgraph_beta/generated/teams/item/tags/item/members/members_request_builder.py @@ -45,7 +45,7 @@ def by_teamwork_tag_member_id(self,teamwork_tag_member_id: str) -> TeamworkTagMe async def get(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamworkTagMemberCollectionResponse]: """ - Get a list of the members of a standard tag in a team and their properties. This API is available in the following national cloud deployments. + Get a list of the members of a standard tag in a team and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkTagMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/teamworktagmember-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[MembersRequestBuilderGetReque async def post(self,body: Optional[TeamworkTagMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> Optional[TeamworkTagMember]: """ - Create a new teamworkTagMember object in a team. This API is available in the following national cloud deployments. + Create a new teamworkTagMember object in a team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkTagMember] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TeamworkTagMember] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the members of a standard tag in a team and their properties. This API is available in the following national cloud deployments. + Get a list of the members of a standard tag in a team and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamworkTagMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new teamworkTagMember object in a team. This API is available in the following national cloud deployments. + Create a new teamworkTagMember object in a team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TeamworkTagMember] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MembersRequestBuilderGetQueryParameters(): """ - Get a list of the members of a standard tag in a team and their properties. This API is available in the following national cloud deployments. + Get a list of the members of a standard tag in a team and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/tags/item/teamwork_tag_item_request_builder.py b/msgraph_beta/generated/teams/item/tags/item/teamwork_tag_item_request_builder.py index 93f547cc494..7c2a68c0f95 100644 --- a/msgraph_beta/generated/teams/item/tags/item/teamwork_tag_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/tags/item/teamwork_tag_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TeamworkTagItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a tag object permanently. This API is available in the following national cloud deployments. + Delete a tag object permanently. 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/teamworktag-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[TeamworkTagItemRequestBuil async def get(self,request_configuration: Optional[TeamworkTagItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamworkTag]: """ - Read the properties and relationships of a tag object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tag object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkTag] Find more info here: https://learn.microsoft.com/graph/api/teamworktag-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[TeamworkTagItemRequestBuilder async def patch(self,body: Optional[TeamworkTag] = None, request_configuration: Optional[TeamworkTagItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[TeamworkTag]: """ - Update the properties of a teamworkTag object. This API is available in the following national cloud deployments. + Update the properties of a teamworkTag object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkTag] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[TeamworkTag] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[TeamworkTagItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a tag object permanently. This API is available in the following national cloud deployments. + Delete a tag object permanently. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[TeamworkT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamworkTagItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a tag object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tag object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[TeamworkTagI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamworkTag] = None, request_configuration: Optional[TeamworkTagItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a teamworkTag object. This API is available in the following national cloud deployments. + Update the properties of a teamworkTag object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[TeamworkTag] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class TeamworkTagItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class TeamworkTagItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a tag object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tag object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/tags/tags_request_builder.py b/msgraph_beta/generated/teams/item/tags/tags_request_builder.py index 491a24c42df..26fa003d0fd 100644 --- a/msgraph_beta/generated/teams/item/tags/tags_request_builder.py +++ b/msgraph_beta/generated/teams/item/tags/tags_request_builder.py @@ -45,7 +45,7 @@ def by_teamwork_tag_id(self,teamwork_tag_id: str) -> TeamworkTagItemRequestBuild async def get(self,request_configuration: Optional[TagsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamworkTagCollectionResponse]: """ - Get a list of the tag objects and their properties. This API is available in the following national cloud deployments. + Get a list of the tag objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkTagCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/teamworktag-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TagsRequestBuilderGetRequestC async def post(self,body: Optional[TeamworkTag] = None, request_configuration: Optional[TagsRequestBuilderPostRequestConfiguration] = None) -> Optional[TeamworkTag]: """ - Create a standard tag for members in the team. This API is available in the following national cloud deployments. + Create a standard tag for members in the team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkTag] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TeamworkTag] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[TagsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the tag objects and their properties. This API is available in the following national cloud deployments. + Get a list of the tag objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[TagsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamworkTag] = None, request_configuration: Optional[TagsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a standard tag for members in the team. This API is available in the following national cloud deployments. + Create a standard tag for members in the team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TeamworkTag] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TagsRequestBuilderGetQueryParameters(): """ - Get a list of the tag objects and their properties. This API is available in the following national cloud deployments. + Get a list of the tag objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/team_item_request_builder.py b/msgraph_beta/generated/teams/item/team_item_request_builder.py index 86bcda8c1e4..fa58a3a3452 100644 --- a/msgraph_beta/generated/teams/item/team_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/team_item_request_builder.py @@ -67,7 +67,7 @@ async def delete(self,request_configuration: Optional[TeamItemRequestBuilderDele async def get(self,request_configuration: Optional[TeamItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Team]: """ - Retrieve the properties and relationships of the specified team. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of the specified team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Team] Find more info here: https://learn.microsoft.com/graph/api/team-get?view=graph-rest-1.0 @@ -89,7 +89,7 @@ async def get(self,request_configuration: Optional[TeamItemRequestBuilderGetRequ async def patch(self,body: Optional[Team] = None, request_configuration: Optional[TeamItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Team]: """ - Update the properties of the specified team. This API is available in the following national cloud deployments. + Update the properties of the specified team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Team] @@ -125,12 +125,12 @@ def to_delete_request_information(self,request_configuration: Optional[TeamItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of the specified team. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of the specified team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -142,12 +142,12 @@ def to_get_request_information(self,request_configuration: Optional[TeamItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Team] = None, request_configuration: Optional[TeamItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of the specified team. This API is available in the following national cloud deployments. + Update the properties of the specified team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -161,7 +161,7 @@ def to_patch_request_information(self,body: Optional[Team] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -368,7 +368,7 @@ class TeamItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class TeamItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of the specified team. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of the specified team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams/item/template/template_request_builder.py b/msgraph_beta/generated/teams/item/template/template_request_builder.py index 4351d38512f..2496a99a319 100644 --- a/msgraph_beta/generated/teams/item/template/template_request_builder.py +++ b/msgraph_beta/generated/teams/item/template/template_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TemplateRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TemplateRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/template_definition/template_definition_request_builder.py b/msgraph_beta/generated/teams/item/template_definition/template_definition_request_builder.py index fe5d5da1e88..c1f94d8ef92 100644 --- a/msgraph_beta/generated/teams/item/template_definition/template_definition_request_builder.py +++ b/msgraph_beta/generated/teams/item/template_definition/template_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TemplateDefi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TemplateDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/teams/item/unarchive/unarchive_request_builder.py b/msgraph_beta/generated/teams/item/unarchive/unarchive_request_builder.py index 710bc45ff39..cbfa5555105 100644 --- a/msgraph_beta/generated/teams/item/unarchive/unarchive_request_builder.py +++ b/msgraph_beta/generated/teams/item/unarchive/unarchive_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> None: """ - Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. This API is available in the following national cloud deployments. + Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. 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/team-unarchive?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UnarchiveRequestBuilderPostR def to_post_request_information(self,request_configuration: Optional[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. This API is available in the following national cloud deployments. + Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UnarchiveRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnarchiveRequestBuilder: diff --git a/msgraph_beta/generated/teams/teams_request_builder.py b/msgraph_beta/generated/teams/teams_request_builder.py index 06554bef80c..adf2f36797e 100644 --- a/msgraph_beta/generated/teams/teams_request_builder.py +++ b/msgraph_beta/generated/teams/teams_request_builder.py @@ -16,6 +16,7 @@ from .all_messages.all_messages_request_builder import AllMessagesRequestBuilder from .count.count_request_builder import CountRequestBuilder from .get_all_messages.get_all_messages_request_builder import GetAllMessagesRequestBuilder + from .get_open_shifts.get_open_shifts_request_builder import GetOpenShiftsRequestBuilder from .item.team_item_request_builder import TeamItemRequestBuilder class TeamsRequestBuilder(BaseRequestBuilder): @@ -47,7 +48,7 @@ def by_team_id(self,team_id: str) -> TeamItemRequestBuilder: async def get(self,request_configuration: Optional[TeamsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamCollectionResponse]: """ - List all teams in an organization. This API is available in the following national cloud deployments. + List all teams in an organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/teams-list?view=graph-rest-1.0 @@ -69,7 +70,7 @@ async def get(self,request_configuration: Optional[TeamsRequestBuilderGetRequest async def post(self,body: Optional[Team] = None, request_configuration: Optional[TeamsRequestBuilderPostRequestConfiguration] = None) -> Optional[Team]: """ - Create a new team. This API is available in the following national cloud deployments. + Create a new team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Team] @@ -94,7 +95,7 @@ async def post(self,body: Optional[Team] = None, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[TeamsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all teams in an organization. This API is available in the following national cloud deployments. + List all teams in an organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +107,12 @@ def to_get_request_information(self,request_configuration: Optional[TeamsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Team] = None, request_configuration: Optional[TeamsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new team. This API is available in the following national cloud deployments. + Create a new team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -125,7 +126,7 @@ def to_post_request_information(self,body: Optional[Team] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -166,10 +167,19 @@ def get_all_messages(self) -> GetAllMessagesRequestBuilder: return GetAllMessagesRequestBuilder(self.request_adapter, self.path_parameters) + @property + def get_open_shifts(self) -> GetOpenShiftsRequestBuilder: + """ + Provides operations to call the getOpenShifts method. + """ + from .get_open_shifts.get_open_shifts_request_builder import GetOpenShiftsRequestBuilder + + return GetOpenShiftsRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class TeamsRequestBuilderGetQueryParameters(): """ - List all teams in an organization. This API is available in the following national cloud deployments. + List all teams in an organization. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teams_templates/item/teams_template_item_request_builder.py b/msgraph_beta/generated/teams_templates/item/teams_template_item_request_builder.py index 0d6663554c2..b84b7385765 100644 --- a/msgraph_beta/generated/teams_templates/item/teams_template_item_request_builder.py +++ b/msgraph_beta/generated/teams_templates/item/teams_template_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[TeamsTemp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamsTemplateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsTemplat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamsTemplate] = None, request_configuration: Optional[TeamsTemplateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[TeamsTemplate] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teams_templates/teams_templates_request_builder.py b/msgraph_beta/generated/teams_templates/teams_templates_request_builder.py index 84ed99ff7ec..cbc91168697 100644 --- a/msgraph_beta/generated/teams_templates/teams_templates_request_builder.py +++ b/msgraph_beta/generated/teams_templates/teams_templates_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsTemplat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamsTemplate] = None, request_configuration: Optional[TeamsTemplatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[TeamsTemplate] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/deleted_chats/deleted_chats_request_builder.py b/msgraph_beta/generated/teamwork/deleted_chats/deleted_chats_request_builder.py index 0b90ea50aad..8bba2ddb19e 100644 --- a/msgraph_beta/generated/teamwork/deleted_chats/deleted_chats_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_chats/deleted_chats_request_builder.py @@ -45,7 +45,7 @@ def by_deleted_chat_id(self,deleted_chat_id: str) -> DeletedChatItemRequestBuild async def get(self,request_configuration: Optional[DeletedChatsRequestBuilderGetRequestConfiguration] = None) -> Optional[DeletedChatCollectionResponse]: """ - Read the properties and relationships of a deletedChat object. This API is available in the following national cloud deployments. + Read the properties and relationships of a deletedChat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeletedChatCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[DeletedChat] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[DeletedChatsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a deletedChat object. This API is available in the following national cloud deployments. + Read the properties and relationships of a deletedChat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeletedChats request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeletedChat] = None, request_configuration: Optional[DeletedChatsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeletedChat] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DeletedChatsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a deletedChat object. This API is available in the following national cloud deployments. + Read the properties and relationships of a deletedChat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/deleted_chats/item/deleted_chat_item_request_builder.py b/msgraph_beta/generated/teamwork/deleted_chats/item/deleted_chat_item_request_builder.py index 7660f200eb2..459212bae1c 100644 --- a/msgraph_beta/generated/teamwork/deleted_chats/item/deleted_chat_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_chats/item/deleted_chat_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[DeletedChatItemRequestBuil async def get(self,request_configuration: Optional[DeletedChatItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DeletedChat]: """ - Read the properties and relationships of a deletedChat object. This API is available in the following national cloud deployments. + Read the properties and relationships of a deletedChat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeletedChat] Find more info here: https://learn.microsoft.com/graph/api/deletedchat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[DeletedCh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeletedChatItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a deletedChat object. This API is available in the following national cloud deployments. + Read the properties and relationships of a deletedChat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[DeletedChatI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeletedChat] = None, request_configuration: Optional[DeletedChatItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[DeletedChat] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class DeletedChatItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class DeletedChatItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a deletedChat object. This API is available in the following national cloud deployments. + Read the properties and relationships of a deletedChat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/deleted_chats/item/undo_delete/undo_delete_request_builder.py b/msgraph_beta/generated/teamwork/deleted_chats/item/undo_delete/undo_delete_request_builder.py index d53c5d21c44..0a82fe7f68c 100644 --- a/msgraph_beta/generated/teamwork/deleted_chats/item/undo_delete/undo_delete_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_chats/item/undo_delete/undo_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UndoDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Restore a deletedChat to an active chat. This API is available in the following national cloud deployments. + Restore a deletedChat to an active chat. 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/deletedchat-undodelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UndoDeleteRequestBuilderPost def to_post_request_information(self,request_configuration: Optional[UndoDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a deletedChat to an active chat. This API is available in the following national cloud deployments. + Restore a deletedChat to an active chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UndoDeleteR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UndoDeleteRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/deleted_teams/deleted_teams_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/deleted_teams_request_builder.py index 674332d08c7..e94abbdfd44 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/deleted_teams_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/deleted_teams_request_builder.py @@ -46,7 +46,7 @@ def by_deleted_team_id(self,deleted_team_id: str) -> DeletedTeamItemRequestBuild async def get(self,request_configuration: Optional[DeletedTeamsRequestBuilderGetRequestConfiguration] = None) -> Optional[DeletedTeamCollectionResponse]: """ - Get a list of the deletedTeam objects and their properties. This API is available in the following national cloud deployments. + Get a list of the deletedTeam objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeletedTeamCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/teamwork-list-deletedteams?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[DeletedTeam] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[DeletedTeamsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the deletedTeam objects and their properties. This API is available in the following national cloud deployments. + Get a list of the deletedTeam objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[DeletedTeams request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeletedTeam] = None, request_configuration: Optional[DeletedTeamsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[DeletedTeam] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def get_all_messages(self) -> GetAllMessagesRequestBuilder: @dataclass class DeletedTeamsRequestBuilderGetQueryParameters(): """ - Get a list of the deletedTeam objects and their properties. This API is available in the following national cloud deployments. + Get a list of the deletedTeam objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/get_all_messages/get_all_messages_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/get_all_messages/get_all_messages_request_builder.py index b57772bf72e..6ab04d59480 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/get_all_messages/get_all_messages_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/get_all_messages/get_all_messages_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetAllMessag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetAllMessagesRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/all_messages/all_messages_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/all_messages/all_messages_request_builder.py index 645540be1d2..7715131d791 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/all_messages/all_messages_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/all_messages/all_messages_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AllMessagesR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllMessagesRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/channels_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/channels_request_builder.py index 5ce84589e1d..f6739f0f296 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/channels_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/channels_request_builder.py @@ -16,6 +16,7 @@ from .all_messages.all_messages_request_builder import AllMessagesRequestBuilder from .count.count_request_builder import CountRequestBuilder from .get_all_messages.get_all_messages_request_builder import GetAllMessagesRequestBuilder + from .get_all_retained_messages.get_all_retained_messages_request_builder import GetAllRetainedMessagesRequestBuilder from .item.channel_item_request_builder import ChannelItemRequestBuilder class ChannelsRequestBuilder(BaseRequestBuilder): @@ -104,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[ChannelsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Channel] = None, request_configuration: Optional[ChannelsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +124,7 @@ def to_post_request_information(self,body: Optional[Channel] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -164,6 +165,15 @@ def get_all_messages(self) -> GetAllMessagesRequestBuilder: return GetAllMessagesRequestBuilder(self.request_adapter, self.path_parameters) + @property + def get_all_retained_messages(self) -> GetAllRetainedMessagesRequestBuilder: + """ + Provides operations to call the getAllRetainedMessages method. + """ + from .get_all_retained_messages.get_all_retained_messages_request_builder import GetAllRetainedMessagesRequestBuilder + + return GetAllRetainedMessagesRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class ChannelsRequestBuilderGetQueryParameters(): """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/get_all_messages/get_all_messages_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/get_all_messages/get_all_messages_request_builder.py index 3fafb1f63e8..d69ee2c447d 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/get_all_messages/get_all_messages_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/get_all_messages/get_all_messages_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetAllMessag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetAllMessagesRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/get_all_retained_messages/get_all_retained_messages_get_response.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/get_all_retained_messages/get_all_retained_messages_get_response.py new file mode 100644 index 00000000000..23a92f81e65 --- /dev/null +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/get_all_retained_messages/get_all_retained_messages_get_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.chat_message import ChatMessage + +from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class GetAllRetainedMessagesGetResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[ChatMessage]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> GetAllRetainedMessagesGetResponse: + """ + 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: GetAllRetainedMessagesGetResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return GetAllRetainedMessagesGetResponse() + + 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.chat_message import ChatMessage + + from ......models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ......models.chat_message import ChatMessage + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ChatMessage)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/get_all_retained_messages/get_all_retained_messages_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/get_all_retained_messages/get_all_retained_messages_request_builder.py new file mode 100644 index 00000000000..148e5dbc4fb --- /dev/null +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/get_all_retained_messages/get_all_retained_messages_request_builder.py @@ -0,0 +1,141 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from .get_all_retained_messages_get_response import GetAllRetainedMessagesGetResponse + +class GetAllRetainedMessagesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getAllRetainedMessages method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new GetAllRetainedMessagesRequestBuilder 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}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/getAllRetainedMessages(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}", path_parameters) + + async def get(self,request_configuration: Optional[GetAllRetainedMessagesRequestBuilderGetRequestConfiguration] = None) -> Optional[GetAllRetainedMessagesGetResponse]: + """ + Invoke function getAllRetainedMessages + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[GetAllRetainedMessagesGetResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from ......models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .get_all_retained_messages_get_response import GetAllRetainedMessagesGetResponse + + return await self.request_adapter.send_async(request_info, GetAllRetainedMessagesGetResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[GetAllRetainedMessagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Invoke function getAllRetainedMessages + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> GetAllRetainedMessagesRequestBuilder: + """ + 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: GetAllRetainedMessagesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GetAllRetainedMessagesRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class GetAllRetainedMessagesRequestBuilderGetQueryParameters(): + """ + Invoke function getAllRetainedMessages + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + 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 + + # 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GetAllRetainedMessagesRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[GetAllRetainedMessagesRequestBuilder.GetAllRetainedMessagesRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/archive/archive_post_request_body.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/archive/archive_post_request_body.py new file mode 100644 index 00000000000..f39cce9ef54 --- /dev/null +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/archive/archive_post_request_body.py @@ -0,0 +1,49 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class ArchivePostRequestBody(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 shouldSetSpoSiteReadOnlyForMembers property + should_set_spo_site_read_only_for_members: Optional[bool] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> ArchivePostRequestBody: + """ + 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: ArchivePostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return ArchivePostRequestBody() + + 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]] = { + "shouldSetSpoSiteReadOnlyForMembers": lambda n : setattr(self, 'should_set_spo_site_read_only_for_members', n.get_bool_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 not writer: + raise TypeError("writer cannot be null.") + writer.write_bool_value("shouldSetSpoSiteReadOnlyForMembers", self.should_set_spo_site_read_only_for_members) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/archive/archive_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/archive/archive_request_builder.py new file mode 100644 index 00000000000..1760019fe00 --- /dev/null +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/archive/archive_request_builder.py @@ -0,0 +1,91 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .archive_post_request_body import ArchivePostRequestBody + +class ArchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the archive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ArchiveRequestBuilder 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}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/archive", path_parameters) + + async def post(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Invoke action archive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action archive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> ArchiveRequestBuilder: + """ + 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: ArchiveRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ArchiveRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ArchiveRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/channel_item_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/channel_item_request_builder.py index 99c1a46f892..55df5b352e5 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/channel_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/channel_item_request_builder.py @@ -12,6 +12,7 @@ if TYPE_CHECKING: from ......models.channel import Channel from ......models.o_data_errors.o_data_error import ODataError + from .archive.archive_request_builder import ArchiveRequestBuilder from .complete_migration.complete_migration_request_builder import CompleteMigrationRequestBuilder from .does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name.does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder import DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder from .files_folder.files_folder_request_builder import FilesFolderRequestBuilder @@ -21,6 +22,7 @@ from .remove_email.remove_email_request_builder import RemoveEmailRequestBuilder from .shared_with_teams.shared_with_teams_request_builder import SharedWithTeamsRequestBuilder from .tabs.tabs_request_builder import TabsRequestBuilder + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder class ChannelItemRequestBuilder(BaseRequestBuilder): """ @@ -112,7 +114,7 @@ def to_delete_request_information(self,request_configuration: Optional[ChannelIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChannelItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -129,7 +131,7 @@ def to_get_request_information(self,request_configuration: Optional[ChannelItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Channel] = None, request_configuration: Optional[ChannelItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -148,7 +150,7 @@ def to_patch_request_information(self,body: Optional[Channel] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -162,6 +164,15 @@ def with_url(self,raw_url: Optional[str] = None) -> ChannelItemRequestBuilder: raise TypeError("raw_url cannot be null.") return ChannelItemRequestBuilder(self.request_adapter, raw_url) + @property + def archive(self) -> ArchiveRequestBuilder: + """ + Provides operations to call the archive method. + """ + from .archive.archive_request_builder import ArchiveRequestBuilder + + return ArchiveRequestBuilder(self.request_adapter, self.path_parameters) + @property def complete_migration(self) -> CompleteMigrationRequestBuilder: """ @@ -243,6 +254,15 @@ def tabs(self) -> TabsRequestBuilder: return TabsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def unarchive(self) -> UnarchiveRequestBuilder: + """ + Provides operations to call the unarchive method. + """ + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder + + return UnarchiveRequestBuilder(self.request_adapter, self.path_parameters) + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/complete_migration/complete_migration_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/complete_migration/complete_migration_request_builder.py index 0638092818f..9d409289d3c 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/complete_migration/complete_migration_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/complete_migration/complete_migration_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CompleteMigrationRequestBuilderPostRequestConfiguration] = None) -> None: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. 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/channel-completemigration?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[CompleteMigrationRequestBuil def to_post_request_information(self,request_configuration: Optional[CompleteMigrationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[CompleteMig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CompleteMigrationRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py index e1dfafeb29e..d68a90428fc 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DoesUserHave request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/files_folder/content/content_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/files_folder/content/content_request_builder.py index c585d20b026..b7d3fbbad00 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/files_folder/content/content_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/files_folder/content/content_request_builder.py @@ -83,7 +83,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -102,7 +102,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/files_folder/files_folder_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/files_folder/files_folder_request_builder.py index 94a16245515..f7b3a94313b 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/files_folder/files_folder_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/files_folder/files_folder_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[FilesFolderRequestBuilderGetRequestConfiguration] = None) -> Optional[DriveItem]: """ - Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + Get the metadata for the location where the files of a channel are stored. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] Find more info here: https://learn.microsoft.com/graph/api/channel-get-filesfolder?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[FilesFolderRequestBuilderGetR def to_get_request_information(self,request_configuration: Optional[FilesFolderRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + Get the metadata for the location where the files of a channel are stored. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[FilesFolderR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilesFolderRequestBuilder: @@ -88,7 +88,7 @@ def content(self) -> ContentRequestBuilder: @dataclass class FilesFolderRequestBuilderGetQueryParameters(): """ - Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + Get the metadata for the location where the files of a channel are stored. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/add/add_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/add/add_request_builder.py index 2b92c22ef33..10e1180076f 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/add/add_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/add/add_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> Optional[AddPostResponse]: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AddPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddPostRequestBody] = None, request_configura def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/item/conversation_member_item_request_builder.py index cee94b19230..e98409c614f 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/item/conversation_member_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. 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/channel-delete-members?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ConversationMemberItemRequ async def get(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Get a conversationMember from a channel. This API is available in the following national cloud deployments. + Get a conversationMember from a channel. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] Find more info here: https://learn.microsoft.com/graph/api/channel-get-members?view=graph-rest-1.0 @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[ConversationMemberItemRequest async def patch(self,body: Optional[ConversationMember] = None, request_configuration: Optional[ConversationMemberItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Update the role of a conversationMember in a team.or channel. This API is available in the following national cloud deployments. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] - Find more info here: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -95,7 +95,7 @@ async def patch(self,body: Optional[ConversationMember] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Conversat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a conversationMember from a channel. This API is available in the following national cloud deployments. + Get a conversationMember from a channel. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[Conversation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[ConversationMemberItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the role of a conversationMember in a team.or channel. This API is available in the following national cloud deployments. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class ConversationMemberItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class ConversationMemberItemRequestBuilderGetQueryParameters(): """ - Get a conversationMember from a channel. This API is available in the following national cloud deployments. + Get a conversationMember from a channel. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/members_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/members_request_builder.py index 4f580bcf77f..42499a2c603 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/members_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/members/members_request_builder.py @@ -46,7 +46,7 @@ def by_conversation_member_id(self,conversation_member_id: str) -> ConversationM async def get(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMemberCollectionResponse]: """ - Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list-members?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MembersRequestBuilderGetReque async def post(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ConversationMember] = None, request_configura def to_get_request_information(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MembersRequestBuilderGetQueryParameters(): """ - Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/delta/delta_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/delta/delta_request_builder.py index 7a908a9ab0b..6e2c2052980 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/delta/delta_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/chat_message_item_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/chat_message_item_request_builder.py index bc1a79a8cd5..632e03b2c1a 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/chat_message_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/chat_message_item_request_builder.py @@ -53,7 +53,7 @@ async def delete(self,request_configuration: Optional[ChatMessageItemRequestBuil async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 @@ -75,7 +75,7 @@ async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilder async def patch(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -111,12 +111,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -128,12 +128,12 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[ChatMessage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -228,7 +228,7 @@ class ChatMessageItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class ChatMessageItemRequestBuilderGetQueryParameters(): """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.py index 0178aa9854d..b6572fffe12 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.py @@ -45,7 +45,7 @@ def by_chat_message_hosted_content_id(self,chat_message_hosted_content_id: str) async def get(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContentCollectionResponse]: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ChatMessageHostedContent] = None, request_con def to_get_request_information(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[HostedConten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[HostedContentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HostedContentsRequestBuilderGetQueryParameters(): """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py index c333b8ef008..3fff85f4fd8 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ChatMessageHostedContentIt async def get(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContent]: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContent] Find more info here: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class ChatMessageHostedContentItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/item/value/content_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/item/value/content_request_builder.py index bdab207d5d9..e113c0fcc44 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/item/value/content_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/delta/delta_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/delta/delta_request_builder.py index b5780ec4271..7bd5060aded 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/delta/delta_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/chat_message_item_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/chat_message_item_request_builder.py index 19e4e5a9fcf..0fb67fcffc2 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/chat_message_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/chat_message_item_request_builder.py @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[ChatMessageItemRequestBuil async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[ChatMessage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -217,7 +217,7 @@ class ChatMessageItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class ChatMessageItemRequestBuilderGetQueryParameters(): """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py index 024997f9fdc..0e68a372a1e 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py @@ -45,7 +45,7 @@ def by_chat_message_hosted_content_id(self,chat_message_hosted_content_id: str) async def get(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContentCollectionResponse]: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ChatMessageHostedContent] = None, request_con def to_get_request_information(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[HostedConten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[HostedContentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HostedContentsRequestBuilderGetQueryParameters(): """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py index 4625105e4c4..bf7eacc6b7b 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ChatMessageHostedContentIt async def get(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContent]: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContent] Find more info here: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class ChatMessageHostedContentItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py index b6f67d9416e..bfa001966ad 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/set_reaction/set_reaction_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/set_reaction/set_reaction_request_builder.py index 08463022b31..6813ac26271 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/set_reaction/set_reaction_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/set_reaction/set_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetReactionPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/soft_delete/soft_delete_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/soft_delete/soft_delete_request_builder.py index c60b8cb07df..e0cd214b6f3 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/soft_delete/soft_delete_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/soft_delete/soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-softdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPost def to_post_request_information(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SoftDeleteR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py index 3e1db63fba7..b271c076307 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-undosoftdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilder def to_post_request_information(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UndoSoftDel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UndoSoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py index 78dda109a74..b301afda615 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnsetReactionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/replies_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/replies_request_builder.py index 38a5416ef66..88a515feb45 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/replies_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/replies/replies_request_builder.py @@ -46,7 +46,7 @@ def by_chat_message_id1(self,chat_message_id1: str) -> ChatMessageItemRequestBui async def get(self,request_configuration: Optional[RepliesRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageCollectionResponse]: """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-replies?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[RepliesRequestBuilderGetReque async def post(self,body: Optional[ChatMessage] = None, request_configuration: Optional[RepliesRequestBuilderPostRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + Send a new reply to a chatMessage in a specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ChatMessage] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[RepliesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[RepliesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[RepliesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + Send a new reply to a chatMessage in a specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ChatMessage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class RepliesRequestBuilderGetQueryParameters(): """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/set_reaction/set_reaction_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/set_reaction/set_reaction_request_builder.py index 58fdcb223e9..b23906cb7bf 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/set_reaction/set_reaction_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/set_reaction/set_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetReactionPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/soft_delete/soft_delete_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/soft_delete/soft_delete_request_builder.py index e222f2daa8f..e573267ddfd 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/soft_delete/soft_delete_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/soft_delete/soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-softdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPost def to_post_request_information(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SoftDeleteR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py index 9100f75ee7f..a69cf3deff5 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-undosoftdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilder def to_post_request_information(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UndoSoftDel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UndoSoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/unset_reaction/unset_reaction_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/unset_reaction/unset_reaction_request_builder.py index cab4f03d478..4f23b10369b 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/unset_reaction/unset_reaction_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/item/unset_reaction/unset_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnsetReactionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/messages_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/messages_request_builder.py index 3f7813dd8c5..7f21fc22d7f 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/messages_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/messages/messages_request_builder.py @@ -46,7 +46,7 @@ def by_chat_message_id(self,chat_message_id: str) -> ChatMessageItemRequestBuild async def get(self,request_configuration: Optional[MessagesRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageCollectionResponse]: """ - Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list-messages?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MessagesRequestBuilderGetRequ async def post(self,body: Optional[ChatMessage] = None, request_configuration: Optional[MessagesRequestBuilderPostRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ChatMessage] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[MessagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MessagesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[MessagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ChatMessage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class MessagesRequestBuilderGetQueryParameters(): """ - Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/provision_email/provision_email_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/provision_email/provision_email_request_builder.py index 57006396a00..c8d0f420687 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/provision_email/provision_email_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/provision_email/provision_email_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ProvisionEmailRequestBuilderPostRequestConfiguration] = None) -> Optional[ProvisionChannelEmailResult]: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProvisionChannelEmailResult] Find more info here: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[ProvisionEmailRequestBuilder def to_post_request_information(self,request_configuration: Optional[ProvisionEmailRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[ProvisionEm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ProvisionEmailRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/remove_email/remove_email_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/remove_email/remove_email_request_builder.py index 99c49ccbf18..41cfceebc9f 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/remove_email/remove_email_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/remove_email/remove_email_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RemoveEmailRequestBuilderPostRequestConfiguration] = None) -> None: """ - Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. 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/channel-removeemail?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RemoveEmailRequestBuilderPos def to_post_request_information(self,request_configuration: Optional[RemoveEmailRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RemoveEmail request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RemoveEmailRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/item/allowed_members/allowed_members_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/item/allowed_members/allowed_members_request_builder.py index 9ea7d682315..7fd8489a7c8 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/item/allowed_members/allowed_members_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/item/allowed_members/allowed_members_request_builder.py @@ -44,7 +44,7 @@ def by_conversation_member_id(self,conversation_member_id: str) -> ConversationM async def get(self,request_configuration: Optional[AllowedMembersRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMemberCollectionResponse]: """ - Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list-allowedmembers?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[AllowedMembersRequestBuilderG def to_get_request_information(self,request_configuration: Optional[AllowedMembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[AllowedMembe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllowedMembersRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AllowedMembersRequestBuilderGetQueryParameters(): """ - Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py index b9c75eb1f4a..87c51aeec6c 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[Conversation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ConversationMemberItemRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py index 5be71cb6576..dff71b60f26 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. 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/sharedwithchannelteaminfo-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[SharedWithChannelTeamInfoI async def get(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SharedWithChannelTeamInfo]: """ - Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharedWithChannelTeamInfo] Find more info here: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-get?view=graph-rest-1.0 @@ -96,7 +96,7 @@ async def patch(self,body: Optional[SharedWithChannelTeamInfo] = None, request_c def to_delete_request_information(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[SharedWit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[SharedWithCh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SharedWithChannelTeamInfo] = None, request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[SharedWithChannelTeamInfo] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ class SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration(Base @dataclass class SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters(): """ - Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/item/team/team_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/item/team/team_request_builder.py index 33a82ec4787..5819bde6cbe 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/item/team/team_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/item/team/team_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/shared_with_teams_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/shared_with_teams_request_builder.py index 63cc46d11d3..7010781ba12 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/shared_with_teams_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/shared_with_teams/shared_with_teams_request_builder.py @@ -45,7 +45,7 @@ def by_shared_with_channel_team_info_id(self,shared_with_channel_team_info_id: s async def get(self,request_configuration: Optional[SharedWithTeamsRequestBuilderGetRequestConfiguration] = None) -> Optional[SharedWithChannelTeamInfoCollectionResponse]: """ - Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharedWithChannelTeamInfoCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[SharedWithChannelTeamInfo] = None, request_co def to_get_request_information(self,request_configuration: Optional[SharedWithTeamsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SharedWithTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SharedWithChannelTeamInfo] = None, request_configuration: Optional[SharedWithTeamsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SharedWithChannelTeamInfo] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SharedWithTeamsRequestBuilderGetQueryParameters(): """ - Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/tabs/item/teams_app/teams_app_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/tabs/item/teams_app/teams_app_request_builder.py index ea385811c5b..4130031cefa 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/tabs/item/teams_app/teams_app_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/tabs/item/teams_app/teams_app_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamsAppRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/tabs/item/teams_tab_item_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/tabs/item/teams_tab_item_request_builder.py index 5f6a920fac4..62150d186e7 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/tabs/item/teams_tab_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/tabs/item/teams_tab_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[TeamsTabI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamsTabItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsTabItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamsTab] = None, request_configuration: Optional[TeamsTabItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[TeamsTab] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/tabs/tabs_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/tabs/tabs_request_builder.py index 1070e78c297..cc5f5e8ca99 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/tabs/tabs_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/tabs/tabs_request_builder.py @@ -45,7 +45,7 @@ def by_teams_tab_id(self,teams_tab_id: str) -> TeamsTabItemRequestBuilder: async def get(self,request_configuration: Optional[TabsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsTabCollectionResponse]: """ - Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified channel within a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsTabCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list-tabs?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[TeamsTab] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[TabsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified channel within a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[TabsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamsTab] = None, request_configuration: Optional[TabsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[TeamsTab] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TabsRequestBuilderGetQueryParameters(): """ - Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified channel within a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/unarchive/unarchive_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/unarchive/unarchive_request_builder.py new file mode 100644 index 00000000000..d2b003361f6 --- /dev/null +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/channels/item/unarchive/unarchive_request_builder.py @@ -0,0 +1,83 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + +class UnarchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the unarchive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new UnarchiveRequestBuilder 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}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/unarchive", path_parameters) + + async def post(self,request_configuration: Optional[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Invoke action unarchive + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action unarchive + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> UnarchiveRequestBuilder: + """ + 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: UnarchiveRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return UnarchiveRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class UnarchiveRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/teamwork/deleted_teams/item/deleted_team_item_request_builder.py b/msgraph_beta/generated/teamwork/deleted_teams/item/deleted_team_item_request_builder.py index eaaf8c1ab73..28b2ea3178c 100644 --- a/msgraph_beta/generated/teamwork/deleted_teams/item/deleted_team_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/deleted_teams/item/deleted_team_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeletedTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeletedTeamItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeletedTeamI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeletedTeam] = None, request_configuration: Optional[DeletedTeamItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeletedTeam] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/devices/devices_request_builder.py b/msgraph_beta/generated/teamwork/devices/devices_request_builder.py index 287adc815d7..41746b3bd51 100644 --- a/msgraph_beta/generated/teamwork/devices/devices_request_builder.py +++ b/msgraph_beta/generated/teamwork/devices/devices_request_builder.py @@ -45,7 +45,7 @@ def by_teamwork_device_id(self,teamwork_device_id: str) -> TeamworkDeviceItemReq async def get(self,request_configuration: Optional[DevicesRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamworkDeviceCollectionResponse]: """ - Get a list of all Microsoft Teams-enabled devices provisioned for a tenant. This API is available in the following national cloud deployments. + Get a list of all Microsoft Teams-enabled devices provisioned for a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkDeviceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/teamworkdevice-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[TeamworkDevice] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[DevicesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of all Microsoft Teams-enabled devices provisioned for a tenant. This API is available in the following national cloud deployments. + Get a list of all Microsoft Teams-enabled devices provisioned for a tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[DevicesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamworkDevice] = None, request_configuration: Optional[DevicesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[TeamworkDevice] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DevicesRequestBuilderGetQueryParameters(): """ - Get a list of all Microsoft Teams-enabled devices provisioned for a tenant. This API is available in the following national cloud deployments. + Get a list of all Microsoft Teams-enabled devices provisioned for a tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/devices/item/activity/activity_request_builder.py b/msgraph_beta/generated/teamwork/devices/item/activity/activity_request_builder.py index 2a1e089a74d..95e9536ca5f 100644 --- a/msgraph_beta/generated/teamwork/devices/item/activity/activity_request_builder.py +++ b/msgraph_beta/generated/teamwork/devices/item/activity/activity_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ActivityRequestBuilderDele async def get(self,request_configuration: Optional[ActivityRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamworkDeviceActivity]: """ - Get the activity status of a Microsoft Teams-enabled device. This API is available in the following national cloud deployments. + Get the activity status of a Microsoft Teams-enabled device. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkDeviceActivity] Find more info here: https://learn.microsoft.com/graph/api/teamworkdeviceactivity-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[ActivityR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ActivityRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the activity status of a Microsoft Teams-enabled device. This API is available in the following national cloud deployments. + Get the activity status of a Microsoft Teams-enabled device. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivityRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamworkDeviceActivity] = None, request_configuration: Optional[ActivityRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[TeamworkDeviceActivity] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ActivityRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class ActivityRequestBuilderGetQueryParameters(): """ - Get the activity status of a Microsoft Teams-enabled device. This API is available in the following national cloud deployments. + Get the activity status of a Microsoft Teams-enabled device. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/devices/item/configuration/configuration_request_builder.py b/msgraph_beta/generated/teamwork/devices/item/configuration/configuration_request_builder.py index 12670f78a23..47131ac00a2 100644 --- a/msgraph_beta/generated/teamwork/devices/item/configuration/configuration_request_builder.py +++ b/msgraph_beta/generated/teamwork/devices/item/configuration/configuration_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ConfigurationRequestBuilde async def get(self,request_configuration: Optional[ConfigurationRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamworkDeviceConfiguration]: """ - Get the configuration details of a Microsoft Teams-enabled device, including software versions, peripheral device configuration (for example, camera, display, microphone, and speaker), hardware configuration, and Microsoft Teams client configuration. This API is available in the following national cloud deployments. + Get the configuration details of a Microsoft Teams-enabled device, including software versions, peripheral device configuration (for example, camera, display, microphone, and speaker), hardware configuration, and Microsoft Teams client configuration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkDeviceConfiguration] Find more info here: https://learn.microsoft.com/graph/api/teamworkdeviceconfiguration-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Configura request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConfigurationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the configuration details of a Microsoft Teams-enabled device, including software versions, peripheral device configuration (for example, camera, display, microphone, and speaker), hardware configuration, and Microsoft Teams client configuration. This API is available in the following national cloud deployments. + Get the configuration details of a Microsoft Teams-enabled device, including software versions, peripheral device configuration (for example, camera, display, microphone, and speaker), hardware configuration, and Microsoft Teams client configuration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[Configuratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamworkDeviceConfiguration] = None, request_configuration: Optional[ConfigurationRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[TeamworkDeviceConfiguration request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ConfigurationRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ConfigurationRequestBuilderGetQueryParameters(): """ - Get the configuration details of a Microsoft Teams-enabled device, including software versions, peripheral device configuration (for example, camera, display, microphone, and speaker), hardware configuration, and Microsoft Teams client configuration. This API is available in the following national cloud deployments. + Get the configuration details of a Microsoft Teams-enabled device, including software versions, peripheral device configuration (for example, camera, display, microphone, and speaker), hardware configuration, and Microsoft Teams client configuration. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/devices/item/health/health_request_builder.py b/msgraph_beta/generated/teamwork/devices/item/health/health_request_builder.py index d71d17f9ebd..a8bf87e5341 100644 --- a/msgraph_beta/generated/teamwork/devices/item/health/health_request_builder.py +++ b/msgraph_beta/generated/teamwork/devices/item/health/health_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[HealthRequestBuilderDelete async def get(self,request_configuration: Optional[HealthRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamworkDeviceHealth]: """ - Get the health details of a Microsoft Teams-enabled device. Device health is calculated based on the device configuration and other device parameters. This API is available in the following national cloud deployments. + Get the health details of a Microsoft Teams-enabled device. Device health is calculated based on the device configuration and other device parameters. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkDeviceHealth] Find more info here: https://learn.microsoft.com/graph/api/teamworkdevicehealth-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[HealthReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[HealthRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the health details of a Microsoft Teams-enabled device. Device health is calculated based on the device configuration and other device parameters. This API is available in the following national cloud deployments. + Get the health details of a Microsoft Teams-enabled device. Device health is calculated based on the device configuration and other device parameters. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[HealthReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamworkDeviceHealth] = None, request_configuration: Optional[HealthRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[TeamworkDeviceHealth] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class HealthRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class HealthRequestBuilderGetQueryParameters(): """ - Get the health details of a Microsoft Teams-enabled device. Device health is calculated based on the device configuration and other device parameters. This API is available in the following national cloud deployments. + Get the health details of a Microsoft Teams-enabled device. Device health is calculated based on the device configuration and other device parameters. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/devices/item/operations/item/teamwork_device_operation_item_request_builder.py b/msgraph_beta/generated/teamwork/devices/item/operations/item/teamwork_device_operation_item_request_builder.py index 08eac6b6ebd..c6ecf9c2d32 100644 --- a/msgraph_beta/generated/teamwork/devices/item/operations/item/teamwork_device_operation_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/devices/item/operations/item/teamwork_device_operation_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[TeamworkDeviceOperationIte async def get(self,request_configuration: Optional[TeamworkDeviceOperationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamworkDeviceOperation]: """ - Get the details of an async, long-running operation on a Microsoft Teams-enabled device. This API is available in the following national cloud deployments. + Get the details of an async, long-running operation on a Microsoft Teams-enabled device. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkDeviceOperation] Find more info here: https://learn.microsoft.com/graph/api/teamworkdeviceoperation-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[TeamworkD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamworkDeviceOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the details of an async, long-running operation on a Microsoft Teams-enabled device. This API is available in the following national cloud deployments. + Get the details of an async, long-running operation on a Microsoft Teams-enabled device. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamworkDevi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamworkDeviceOperation] = None, request_configuration: Optional[TeamworkDeviceOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[TeamworkDeviceOperation] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class TeamworkDeviceOperationItemRequestBuilderDeleteRequestConfiguration(BaseRe @dataclass class TeamworkDeviceOperationItemRequestBuilderGetQueryParameters(): """ - Get the details of an async, long-running operation on a Microsoft Teams-enabled device. This API is available in the following national cloud deployments. + Get the details of an async, long-running operation on a Microsoft Teams-enabled device. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/devices/item/operations/operations_request_builder.py b/msgraph_beta/generated/teamwork/devices/item/operations/operations_request_builder.py index 540e054eadf..652b1ad233f 100644 --- a/msgraph_beta/generated/teamwork/devices/item/operations/operations_request_builder.py +++ b/msgraph_beta/generated/teamwork/devices/item/operations/operations_request_builder.py @@ -45,7 +45,7 @@ def by_teamwork_device_operation_id(self,teamwork_device_operation_id: str) -> T async def get(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamworkDeviceOperationCollectionResponse]: """ - Get a list of the operations that are running on a Microsoft Teams-enabled device. This API is available in the following national cloud deployments. + Get a list of the operations that are running on a Microsoft Teams-enabled device. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkDeviceOperationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/teamworkdeviceoperation-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[TeamworkDeviceOperation] = None, request_conf def to_get_request_information(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the operations that are running on a Microsoft Teams-enabled device. This API is available in the following national cloud deployments. + Get a list of the operations that are running on a Microsoft Teams-enabled device. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamworkDeviceOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[TeamworkDeviceOperation] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OperationsRequestBuilderGetQueryParameters(): """ - Get a list of the operations that are running on a Microsoft Teams-enabled device. This API is available in the following national cloud deployments. + Get a list of the operations that are running on a Microsoft Teams-enabled device. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/devices/item/restart/restart_request_builder.py b/msgraph_beta/generated/teamwork/devices/item/restart/restart_request_builder.py index 0911ec1216e..c6da9d09397 100644 --- a/msgraph_beta/generated/teamwork/devices/item/restart/restart_request_builder.py +++ b/msgraph_beta/generated/teamwork/devices/item/restart/restart_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RestartRequestBuilderPostRequestConfiguration] = None) -> None: """ - Restart the specified Microsoft Teams-enabled device asynchronously. A device is restarted after the async operation completes successfully, which might occur subsequent to a response from this API. This API is available in the following national cloud deployments. + Restart the specified Microsoft Teams-enabled device asynchronously. A device is restarted after the async operation completes successfully, which might occur subsequent to a response from this API. 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/teamworkdevice-restart?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RestartRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[RestartRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restart the specified Microsoft Teams-enabled device asynchronously. A device is restarted after the async operation completes successfully, which might occur subsequent to a response from this API. This API is available in the following national cloud deployments. + Restart the specified Microsoft Teams-enabled device asynchronously. A device is restarted after the async operation completes successfully, which might occur subsequent to a response from this API. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RestartRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RestartRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/devices/item/run_diagnostics/run_diagnostics_request_builder.py b/msgraph_beta/generated/teamwork/devices/item/run_diagnostics/run_diagnostics_request_builder.py index 847b8958257..db1847d80ec 100644 --- a/msgraph_beta/generated/teamwork/devices/item/run_diagnostics/run_diagnostics_request_builder.py +++ b/msgraph_beta/generated/teamwork/devices/item/run_diagnostics/run_diagnostics_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RunDiagnosticsRequestBuilderPostRequestConfiguration] = None) -> None: """ - Run and generate diagnostic logs for the specified Microsoft Teams-enabled device. This API triggers a long-running operation used to generate logs for a device. This API is available in the following national cloud deployments. + Run and generate diagnostic logs for the specified Microsoft Teams-enabled device. This API triggers a long-running operation used to generate logs for a device. 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/teamworkdevice-rundiagnostics?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RunDiagnosticsRequestBuilder def to_post_request_information(self,request_configuration: Optional[RunDiagnosticsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Run and generate diagnostic logs for the specified Microsoft Teams-enabled device. This API triggers a long-running operation used to generate logs for a device. This API is available in the following national cloud deployments. + Run and generate diagnostic logs for the specified Microsoft Teams-enabled device. This API triggers a long-running operation used to generate logs for a device. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RunDiagnost request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RunDiagnosticsRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/devices/item/teamwork_device_item_request_builder.py b/msgraph_beta/generated/teamwork/devices/item/teamwork_device_item_request_builder.py index 8b889a8afdd..231372c1ab8 100644 --- a/msgraph_beta/generated/teamwork/devices/item/teamwork_device_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/devices/item/teamwork_device_item_request_builder.py @@ -54,7 +54,7 @@ async def delete(self,request_configuration: Optional[TeamworkDeviceItemRequestB async def get(self,request_configuration: Optional[TeamworkDeviceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamworkDevice]: """ - Get the properties of a Microsoft Teams-enabled device. For example, you can use this method to get the device type, hardware detail, activity state, and health status information for a device that's enabled for Teams. This API is available in the following national cloud deployments. + Get the properties of a Microsoft Teams-enabled device. For example, you can use this method to get the device type, hardware detail, activity state, and health status information for a device that's enabled for Teams. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkDevice] Find more info here: https://learn.microsoft.com/graph/api/teamworkdevice-get?view=graph-rest-1.0 @@ -111,12 +111,12 @@ def to_delete_request_information(self,request_configuration: Optional[TeamworkD request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamworkDeviceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties of a Microsoft Teams-enabled device. For example, you can use this method to get the device type, hardware detail, activity state, and health status information for a device that's enabled for Teams. This API is available in the following national cloud deployments. + Get the properties of a Microsoft Teams-enabled device. For example, you can use this method to get the device type, hardware detail, activity state, and health status information for a device that's enabled for Teams. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -128,7 +128,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamworkDevi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamworkDevice] = None, request_configuration: Optional[TeamworkDeviceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[TeamworkDevice] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -237,7 +237,7 @@ class TeamworkDeviceItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class TeamworkDeviceItemRequestBuilderGetQueryParameters(): """ - Get the properties of a Microsoft Teams-enabled device. For example, you can use this method to get the device type, hardware detail, activity state, and health status information for a device that's enabled for Teams. This API is available in the following national cloud deployments. + Get the properties of a Microsoft Teams-enabled device. For example, you can use this method to get the device type, hardware detail, activity state, and health status information for a device that's enabled for Teams. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/devices/item/update_software/update_software_request_builder.py b/msgraph_beta/generated/teamwork/devices/item/update_software/update_software_request_builder.py index 9c78c1a8a60..b65989c4d02 100644 --- a/msgraph_beta/generated/teamwork/devices/item/update_software/update_software_request_builder.py +++ b/msgraph_beta/generated/teamwork/devices/item/update_software/update_software_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UpdateSoftwarePostRequestBody] = None, request_configuration: Optional[UpdateSoftwareRequestBuilderPostRequestConfiguration] = None) -> None: """ - Update the software for a Microsoft Teams-enabled device. This API triggers a long-running operation. This API is available in the following national cloud deployments. + Update the software for a Microsoft Teams-enabled device. This API triggers a long-running operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[UpdateSoftwarePostRequestBody] = None, reques def to_post_request_information(self,body: Optional[UpdateSoftwarePostRequestBody] = None, request_configuration: Optional[UpdateSoftwareRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Update the software for a Microsoft Teams-enabled device. This API triggers a long-running operation. This API is available in the following national cloud deployments. + Update the software for a Microsoft Teams-enabled device. This API triggers a long-running operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[UpdateSoftwarePostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/send_activity_notification_to_recipients/send_activity_notification_to_recipients_request_builder.py b/msgraph_beta/generated/teamwork/send_activity_notification_to_recipients/send_activity_notification_to_recipients_request_builder.py index fed6badb4b9..f0bddb9efff 100644 --- a/msgraph_beta/generated/teamwork/send_activity_notification_to_recipients/send_activity_notification_to_recipients_request_builder.py +++ b/msgraph_beta/generated/teamwork/send_activity_notification_to_recipients/send_activity_notification_to_recipients_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SendActivityNotificationToRecipientsPostRequestBody] = None, request_configuration: Optional[SendActivityNotificationToRecipientsRequestBuilderPostRequestConfiguration] = None) -> None: """ - Send activity feed notifications to multiple users in bulk. For more information, see sending Teams activity notifications. This API is available in the following national cloud deployments. + Send activity feed notifications to multiple users in bulk. For more information, see sending Teams activity notifications. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SendActivityNotificationToRecipientsPostReque def to_post_request_information(self,body: Optional[SendActivityNotificationToRecipientsPostRequestBody] = None, request_configuration: Optional[SendActivityNotificationToRecipientsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send activity feed notifications to multiple users in bulk. For more information, see sending Teams activity notifications. This API is available in the following national cloud deployments. + Send activity feed notifications to multiple users in bulk. For more information, see sending Teams activity notifications. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SendActivityNotificationToRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/definitions_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/definitions_request_builder.py index ebab804661e..b9bbe913740 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/definitions_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/definitions_request_builder.py @@ -45,7 +45,7 @@ def by_team_template_definition_id(self,team_template_definition_id: str) -> Tea async def get(self,request_configuration: Optional[DefinitionsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamTemplateDefinitionCollectionResponse]: """ - Read the properties and relationships of a teamTemplateDefinition object. This API is available in the following national cloud deployments. + Read the properties and relationships of a teamTemplateDefinition object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamTemplateDefinitionCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[TeamTemplateDefinition] = None, request_confi def to_get_request_information(self,request_configuration: Optional[DefinitionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a teamTemplateDefinition object. This API is available in the following national cloud deployments. + Read the properties and relationships of a teamTemplateDefinition object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DefinitionsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamTemplateDefinition] = None, request_configuration: Optional[DefinitionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[TeamTemplateDefinition] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DefinitionsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a teamTemplateDefinition object. This API is available in the following national cloud deployments. + Read the properties and relationships of a teamTemplateDefinition object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/all_channels/all_channels_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/all_channels/all_channels_request_builder.py index 11865aaeb94..d1175c1ef27 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/all_channels/all_channels_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/all_channels/all_channels_request_builder.py @@ -44,7 +44,7 @@ def by_channel_id(self,channel_id: str) -> ChannelItemRequestBuilder: async def get(self,request_configuration: Optional[AllChannelsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChannelCollectionResponse]: """ - Get the list of channels either in this team or shared with this team (incoming channels). This API is available in the following national cloud deployments. + Get the list of channels either in this team or shared with this team (incoming channels). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChannelCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/team-list-allchannels?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[AllChannelsRequestBuilderGetR def to_get_request_information(self,request_configuration: Optional[AllChannelsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of channels either in this team or shared with this team (incoming channels). This API is available in the following national cloud deployments. + Get the list of channels either in this team or shared with this team (incoming channels). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[AllChannelsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllChannelsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AllChannelsRequestBuilderGetQueryParameters(): """ - Get the list of channels either in this team or shared with this team (incoming channels). This API is available in the following national cloud deployments. + Get the list of channels either in this team or shared with this team (incoming channels). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/all_channels/item/channel_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/all_channels/item/channel_item_request_builder.py index 1179b3b8f08..a1c110e9764 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/all_channels/item/channel_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/all_channels/item/channel_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ChannelItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ChannelItemRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/archive/archive_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/archive/archive_request_builder.py index 9587730778d..5c5847eb403 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/archive/archive_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/archive/archive_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> None: """ - Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. This API is available in the following national cloud deployments. + Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ArchivePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. This API is available in the following national cloud deployments. + Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ArchivePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/all_messages/all_messages_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/all_messages/all_messages_request_builder.py index 97c6700bc10..5ddfd596035 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/all_messages/all_messages_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/all_messages/all_messages_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AllMessagesR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllMessagesRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/channels_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/channels_request_builder.py index 7eb9902d05f..00e0f251bd3 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/channels_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/channels_request_builder.py @@ -16,6 +16,7 @@ from .all_messages.all_messages_request_builder import AllMessagesRequestBuilder from .count.count_request_builder import CountRequestBuilder from .get_all_messages.get_all_messages_request_builder import GetAllMessagesRequestBuilder + from .get_all_retained_messages.get_all_retained_messages_request_builder import GetAllRetainedMessagesRequestBuilder from .item.channel_item_request_builder import ChannelItemRequestBuilder class ChannelsRequestBuilder(BaseRequestBuilder): @@ -47,7 +48,7 @@ def by_channel_id(self,channel_id: str) -> ChannelItemRequestBuilder: async def get(self,request_configuration: Optional[ChannelsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChannelCollectionResponse]: """ - Retrieve the list of channels in this team. This API is available in the following national cloud deployments. + Retrieve the list of channels in this team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChannelCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list?view=graph-rest-1.0 @@ -69,7 +70,7 @@ async def get(self,request_configuration: Optional[ChannelsRequestBuilderGetRequ async def post(self,body: Optional[Channel] = None, request_configuration: Optional[ChannelsRequestBuilderPostRequestConfiguration] = None) -> Optional[Channel]: """ - Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. This API is available in the following national cloud deployments. + Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Channel] @@ -94,7 +95,7 @@ async def post(self,body: Optional[Channel] = None, request_configuration: Optio def to_get_request_information(self,request_configuration: Optional[ChannelsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of channels in this team. This API is available in the following national cloud deployments. + Retrieve the list of channels in this team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +107,12 @@ def to_get_request_information(self,request_configuration: Optional[ChannelsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Channel] = None, request_configuration: Optional[ChannelsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. This API is available in the following national cloud deployments. + Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. You can add a maximum of 200 members when you create a private channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -125,7 +126,7 @@ def to_post_request_information(self,body: Optional[Channel] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -166,10 +167,19 @@ def get_all_messages(self) -> GetAllMessagesRequestBuilder: return GetAllMessagesRequestBuilder(self.request_adapter, self.path_parameters) + @property + def get_all_retained_messages(self) -> GetAllRetainedMessagesRequestBuilder: + """ + Provides operations to call the getAllRetainedMessages method. + """ + from .get_all_retained_messages.get_all_retained_messages_request_builder import GetAllRetainedMessagesRequestBuilder + + return GetAllRetainedMessagesRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class ChannelsRequestBuilderGetQueryParameters(): """ - Retrieve the list of channels in this team. This API is available in the following national cloud deployments. + Retrieve the list of channels in this team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/get_all_messages/get_all_messages_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/get_all_messages/get_all_messages_request_builder.py index c338fc9d5a8..d8a3c141582 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/get_all_messages/get_all_messages_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/get_all_messages/get_all_messages_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetAllMessag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetAllMessagesRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/get_all_retained_messages/get_all_retained_messages_get_response.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/get_all_retained_messages/get_all_retained_messages_get_response.py new file mode 100644 index 00000000000..ff22be0e09e --- /dev/null +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/get_all_retained_messages/get_all_retained_messages_get_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .........models.chat_message import ChatMessage + +from .........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class GetAllRetainedMessagesGetResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[ChatMessage]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> GetAllRetainedMessagesGetResponse: + """ + 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: GetAllRetainedMessagesGetResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return GetAllRetainedMessagesGetResponse() + + 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.chat_message import ChatMessage + + from .........models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .........models.chat_message import ChatMessage + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ChatMessage)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/recordings/delta/delta_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/get_all_retained_messages/get_all_retained_messages_request_builder.py similarity index 73% rename from msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/recordings/delta/delta_request_builder.py rename to msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/get_all_retained_messages/get_all_retained_messages_request_builder.py index 57a01d710b0..03e2b9c5204 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/recordings/delta/delta_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/get_all_retained_messages/get_all_retained_messages_request_builder.py @@ -11,26 +11,26 @@ if TYPE_CHECKING: from .........models.o_data_errors.o_data_error import ODataError - from .delta_get_response import DeltaGetResponse + from .get_all_retained_messages_get_response import GetAllRetainedMessagesGetResponse -class DeltaRequestBuilder(BaseRequestBuilder): +class GetAllRetainedMessagesRequestBuilder(BaseRequestBuilder): """ - Provides operations to call the delta method. + Provides operations to call the getAllRetainedMessages method. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ - Instantiates a new DeltaRequestBuilder and sets the default values. + Instantiates a new GetAllRetainedMessagesRequestBuilder 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}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/recordings/delta(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/getAllRetainedMessages(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}", path_parameters) - async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: + async def get(self,request_configuration: Optional[GetAllRetainedMessagesRequestBuilderGetRequestConfiguration] = None) -> Optional[GetAllRetainedMessagesGetResponse]: """ - Invoke function delta + Invoke function getAllRetainedMessages param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[DeltaGetResponse] + Returns: Optional[GetAllRetainedMessagesGetResponse] """ request_info = self.to_get_request_information( request_configuration @@ -43,13 +43,13 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest } if not self.request_adapter: raise Exception("Http core is null") - from .delta_get_response import DeltaGetResponse + from .get_all_retained_messages_get_response import GetAllRetainedMessagesGetResponse - return await self.request_adapter.send_async(request_info, DeltaGetResponse, error_mapping) + return await self.request_adapter.send_async(request_info, GetAllRetainedMessagesGetResponse, error_mapping) - def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + def to_get_request_information(self,request_configuration: Optional[GetAllRetainedMessagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Invoke function delta + Invoke function getAllRetainedMessages param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,23 +61,23 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info - def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: + def with_url(self,raw_url: Optional[str] = None) -> GetAllRetainedMessagesRequestBuilder: """ 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: DeltaRequestBuilder + Returns: GetAllRetainedMessagesRequestBuilder """ if not raw_url: raise TypeError("raw_url cannot be null.") - return DeltaRequestBuilder(self.request_adapter, raw_url) + return GetAllRetainedMessagesRequestBuilder(self.request_adapter, raw_url) @dataclass - class DeltaRequestBuilderGetQueryParameters(): + class GetAllRetainedMessagesRequestBuilderGetQueryParameters(): """ - Invoke function delta + Invoke function getAllRetainedMessages """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ @@ -128,14 +128,14 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class DeltaRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + class GetAllRetainedMessagesRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ Configuration for the request such as headers, query parameters, and middleware options. """ # Request query parameters - query_parameters: Optional[DeltaRequestBuilder.DeltaRequestBuilderGetQueryParameters] = None + query_parameters: Optional[GetAllRetainedMessagesRequestBuilder.GetAllRetainedMessagesRequestBuilderGetQueryParameters] = None diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/archive/archive_post_request_body.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/archive/archive_post_request_body.py new file mode 100644 index 00000000000..f39cce9ef54 --- /dev/null +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/archive/archive_post_request_body.py @@ -0,0 +1,49 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class ArchivePostRequestBody(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 shouldSetSpoSiteReadOnlyForMembers property + should_set_spo_site_read_only_for_members: Optional[bool] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> ArchivePostRequestBody: + """ + 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: ArchivePostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return ArchivePostRequestBody() + + 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]] = { + "shouldSetSpoSiteReadOnlyForMembers": lambda n : setattr(self, 'should_set_spo_site_read_only_for_members', n.get_bool_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 not writer: + raise TypeError("writer cannot be null.") + writer.write_bool_value("shouldSetSpoSiteReadOnlyForMembers", self.should_set_spo_site_read_only_for_members) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/archive/archive_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/archive/archive_request_builder.py new file mode 100644 index 00000000000..5a9a7f80490 --- /dev/null +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/archive/archive_request_builder.py @@ -0,0 +1,91 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..........models.o_data_errors.o_data_error import ODataError + from .archive_post_request_body import ArchivePostRequestBody + +class ArchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the archive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ArchiveRequestBuilder 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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/archive", path_parameters) + + async def post(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Invoke action archive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action archive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> ArchiveRequestBuilder: + """ + 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: ArchiveRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ArchiveRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ArchiveRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/channel_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/channel_item_request_builder.py index 14b7fde203c..1e214786409 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/channel_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/channel_item_request_builder.py @@ -12,6 +12,7 @@ if TYPE_CHECKING: from .........models.channel import Channel from .........models.o_data_errors.o_data_error import ODataError + from .archive.archive_request_builder import ArchiveRequestBuilder from .complete_migration.complete_migration_request_builder import CompleteMigrationRequestBuilder from .does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name.does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder import DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder from .files_folder.files_folder_request_builder import FilesFolderRequestBuilder @@ -21,6 +22,7 @@ from .remove_email.remove_email_request_builder import RemoveEmailRequestBuilder from .shared_with_teams.shared_with_teams_request_builder import SharedWithTeamsRequestBuilder from .tabs.tabs_request_builder import TabsRequestBuilder + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder class ChannelItemRequestBuilder(BaseRequestBuilder): """ @@ -37,7 +39,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ChannelItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete the channel. This API is available in the following national cloud deployments. + Delete the channel. 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/channel-delete?view=graph-rest-1.0 @@ -57,7 +59,7 @@ async def delete(self,request_configuration: Optional[ChannelItemRequestBuilderD async def get(self,request_configuration: Optional[ChannelItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Channel]: """ - Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Channel] Find more info here: https://learn.microsoft.com/graph/api/channel-get?view=graph-rest-1.0 @@ -79,7 +81,7 @@ async def get(self,request_configuration: Optional[ChannelItemRequestBuilderGetR async def patch(self,body: Optional[Channel] = None, request_configuration: Optional[ChannelItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Channel]: """ - Update the properties of the specified channel. This API is available in the following national cloud deployments. + Update the properties of the specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Channel] @@ -104,7 +106,7 @@ async def patch(self,body: Optional[Channel] = None, request_configuration: Opti def to_delete_request_information(self,request_configuration: Optional[ChannelItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete the channel. This API is available in the following national cloud deployments. + Delete the channel. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -115,12 +117,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChannelIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChannelItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -132,12 +134,12 @@ def to_get_request_information(self,request_configuration: Optional[ChannelItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Channel] = None, request_configuration: Optional[ChannelItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of the specified channel. This API is available in the following national cloud deployments. + Update the properties of the specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -151,7 +153,7 @@ def to_patch_request_information(self,body: Optional[Channel] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -165,6 +167,15 @@ def with_url(self,raw_url: Optional[str] = None) -> ChannelItemRequestBuilder: raise TypeError("raw_url cannot be null.") return ChannelItemRequestBuilder(self.request_adapter, raw_url) + @property + def archive(self) -> ArchiveRequestBuilder: + """ + Provides operations to call the archive method. + """ + from .archive.archive_request_builder import ArchiveRequestBuilder + + return ArchiveRequestBuilder(self.request_adapter, self.path_parameters) + @property def complete_migration(self) -> CompleteMigrationRequestBuilder: """ @@ -246,6 +257,15 @@ def tabs(self) -> TabsRequestBuilder: return TabsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def unarchive(self) -> UnarchiveRequestBuilder: + """ + Provides operations to call the unarchive method. + """ + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder + + return UnarchiveRequestBuilder(self.request_adapter, self.path_parameters) + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass @@ -259,7 +279,7 @@ class ChannelItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurati @dataclass class ChannelItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/complete_migration/complete_migration_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/complete_migration/complete_migration_request_builder.py index 2678c63cc78..e50c5d4108d 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/complete_migration/complete_migration_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/complete_migration/complete_migration_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CompleteMigrationRequestBuilderPostRequestConfiguration] = None) -> None: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. 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/channel-completemigration?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[CompleteMigrationRequestBuil def to_post_request_information(self,request_configuration: Optional[CompleteMigrationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[CompleteMig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CompleteMigrationRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py index b3e8377ed80..ea4ca7a2cfc 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DoesUserHave request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/files_folder/content/content_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/files_folder/content/content_request_builder.py index 82761c00b45..bf9cf76efdd 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/files_folder/content/content_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/files_folder/content/content_request_builder.py @@ -83,7 +83,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -102,7 +102,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/files_folder/files_folder_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/files_folder/files_folder_request_builder.py index 742e4b039f5..ecd1e952a72 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/files_folder/files_folder_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/files_folder/files_folder_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[FilesFolderRequestBuilderGetRequestConfiguration] = None) -> Optional[DriveItem]: """ - Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + Get the metadata for the location where the files of a channel are stored. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] Find more info here: https://learn.microsoft.com/graph/api/channel-get-filesfolder?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[FilesFolderRequestBuilderGetR def to_get_request_information(self,request_configuration: Optional[FilesFolderRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + Get the metadata for the location where the files of a channel are stored. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[FilesFolderR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilesFolderRequestBuilder: @@ -88,7 +88,7 @@ def content(self) -> ContentRequestBuilder: @dataclass class FilesFolderRequestBuilderGetQueryParameters(): """ - Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + Get the metadata for the location where the files of a channel are stored. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/add/add_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/add/add_request_builder.py index 434b428c94e..0ee3f896931 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/add/add_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/add/add_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> Optional[AddPostResponse]: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AddPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddPostRequestBody] = None, request_configura def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/item/conversation_member_item_request_builder.py index a36ce06b5e7..82a7161adee 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/item/conversation_member_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. 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/channel-delete-members?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ConversationMemberItemRequ async def get(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Get a conversationMember from a channel. This API is available in the following national cloud deployments. + Get a conversationMember from a channel. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] Find more info here: https://learn.microsoft.com/graph/api/channel-get-members?view=graph-rest-1.0 @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[ConversationMemberItemRequest async def patch(self,body: Optional[ConversationMember] = None, request_configuration: Optional[ConversationMemberItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Update the role of a conversationMember in a team.or channel. This API is available in the following national cloud deployments. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] - Find more info here: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -95,7 +95,7 @@ async def patch(self,body: Optional[ConversationMember] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Conversat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a conversationMember from a channel. This API is available in the following national cloud deployments. + Get a conversationMember from a channel. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[Conversation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[ConversationMemberItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the role of a conversationMember in a team.or channel. This API is available in the following national cloud deployments. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class ConversationMemberItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class ConversationMemberItemRequestBuilderGetQueryParameters(): """ - Get a conversationMember from a channel. This API is available in the following national cloud deployments. + Get a conversationMember from a channel. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/members_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/members_request_builder.py index 497d11d5183..84ed66a8d54 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/members_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/members/members_request_builder.py @@ -46,7 +46,7 @@ def by_conversation_member_id(self,conversation_member_id: str) -> ConversationM async def get(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMemberCollectionResponse]: """ - Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list-members?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MembersRequestBuilderGetReque async def post(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ConversationMember] = None, request_configura def to_get_request_information(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MembersRequestBuilderGetQueryParameters(): """ - Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/delta/delta_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/delta/delta_request_builder.py index 8cdea7faa7d..c33a8c9de8a 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/delta/delta_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/chat_message_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/chat_message_item_request_builder.py index 8d6afbb5ca2..af337b2ce48 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/chat_message_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/chat_message_item_request_builder.py @@ -53,7 +53,7 @@ async def delete(self,request_configuration: Optional[ChatMessageItemRequestBuil async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 @@ -75,7 +75,7 @@ async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilder async def patch(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -111,12 +111,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -128,12 +128,12 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[ChatMessage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -228,7 +228,7 @@ class ChatMessageItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class ChatMessageItemRequestBuilderGetQueryParameters(): """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.py index 1ca685a6298..166763d353c 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.py @@ -45,7 +45,7 @@ def by_chat_message_hosted_content_id(self,chat_message_hosted_content_id: str) async def get(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContentCollectionResponse]: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ChatMessageHostedContent] = None, request_con def to_get_request_information(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[HostedConten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[HostedContentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HostedContentsRequestBuilderGetQueryParameters(): """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py index 86bb0d202ad..4c35dffb36b 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ChatMessageHostedContentIt async def get(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContent]: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContent] Find more info here: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class ChatMessageHostedContentItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/hosted_contents/item/value/content_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/hosted_contents/item/value/content_request_builder.py index 19ffbec6b36..9df8a5d20ed 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/hosted_contents/item/value/content_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/hosted_contents/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/delta/delta_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/delta/delta_request_builder.py index 0ea8d38ef0c..607cd84be84 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/delta/delta_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/chat_message_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/chat_message_item_request_builder.py index 3eb126e9339..6d0c1b9f75c 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/chat_message_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/chat_message_item_request_builder.py @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[ChatMessageItemRequestBuil async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[ChatMessage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -217,7 +217,7 @@ class ChatMessageItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class ChatMessageItemRequestBuilderGetQueryParameters(): """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py index 9a28e0779f9..2a85227f6b4 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py @@ -45,7 +45,7 @@ def by_chat_message_hosted_content_id(self,chat_message_hosted_content_id: str) async def get(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContentCollectionResponse]: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ChatMessageHostedContent] = None, request_con def to_get_request_information(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[HostedConten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[HostedContentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HostedContentsRequestBuilderGetQueryParameters(): """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py index 9cf0c0d75bb..9540ab8b04f 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ChatMessageHostedContentIt async def get(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContent]: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContent] Find more info here: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class ChatMessageHostedContentItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py index 34e734a3878..321de272cc3 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/set_reaction/set_reaction_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/set_reaction/set_reaction_request_builder.py index ed758f5c594..ea8afe3a122 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/set_reaction/set_reaction_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/set_reaction/set_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetReactionPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/soft_delete/soft_delete_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/soft_delete/soft_delete_request_builder.py index e832c5418be..787a82bfba3 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/soft_delete/soft_delete_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/soft_delete/soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-softdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPost def to_post_request_information(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SoftDeleteR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py index 8226ae917e3..202344ce711 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-undosoftdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilder def to_post_request_information(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UndoSoftDel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UndoSoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py index 08e49fda78e..8eec7d4b33d 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnsetReactionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/replies_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/replies_request_builder.py index 18d9f007fa5..fd0e4f65e13 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/replies_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/replies/replies_request_builder.py @@ -46,7 +46,7 @@ def by_chat_message_id1(self,chat_message_id1: str) -> ChatMessageItemRequestBui async def get(self,request_configuration: Optional[RepliesRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageCollectionResponse]: """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-replies?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[RepliesRequestBuilderGetReque async def post(self,body: Optional[ChatMessage] = None, request_configuration: Optional[RepliesRequestBuilderPostRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + Send a new reply to a chatMessage in a specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ChatMessage] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[RepliesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[RepliesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[RepliesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + Send a new reply to a chatMessage in a specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ChatMessage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class RepliesRequestBuilderGetQueryParameters(): """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/set_reaction/set_reaction_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/set_reaction/set_reaction_request_builder.py index 0a5ed57b1e5..1a6aa1c3934 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/set_reaction/set_reaction_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/set_reaction/set_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetReactionPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/soft_delete/soft_delete_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/soft_delete/soft_delete_request_builder.py index f828171d2d5..d25b297623f 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/soft_delete/soft_delete_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/soft_delete/soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-softdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPost def to_post_request_information(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SoftDeleteR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py index 7f94ffe4093..c6df08ae7ba 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-undosoftdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilder def to_post_request_information(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UndoSoftDel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UndoSoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/unset_reaction/unset_reaction_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/unset_reaction/unset_reaction_request_builder.py index 890429d06e4..ae1e97f2e7d 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/unset_reaction/unset_reaction_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/item/unset_reaction/unset_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnsetReactionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/messages_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/messages_request_builder.py index 972e599beed..ab233cbfdd8 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/messages_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/messages/messages_request_builder.py @@ -46,7 +46,7 @@ def by_chat_message_id(self,chat_message_id: str) -> ChatMessageItemRequestBuild async def get(self,request_configuration: Optional[MessagesRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageCollectionResponse]: """ - Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list-messages?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MessagesRequestBuilderGetRequ async def post(self,body: Optional[ChatMessage] = None, request_configuration: Optional[MessagesRequestBuilderPostRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ChatMessage] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[MessagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MessagesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[MessagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ChatMessage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class MessagesRequestBuilderGetQueryParameters(): """ - Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/provision_email/provision_email_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/provision_email/provision_email_request_builder.py index e594b7556db..d3c1f7fe060 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/provision_email/provision_email_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/provision_email/provision_email_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ProvisionEmailRequestBuilderPostRequestConfiguration] = None) -> Optional[ProvisionChannelEmailResult]: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProvisionChannelEmailResult] Find more info here: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[ProvisionEmailRequestBuilder def to_post_request_information(self,request_configuration: Optional[ProvisionEmailRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[ProvisionEm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ProvisionEmailRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/remove_email/remove_email_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/remove_email/remove_email_request_builder.py index 5d2f030abcc..ec97f645e74 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/remove_email/remove_email_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/remove_email/remove_email_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RemoveEmailRequestBuilderPostRequestConfiguration] = None) -> None: """ - Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. 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/channel-removeemail?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RemoveEmailRequestBuilderPos def to_post_request_information(self,request_configuration: Optional[RemoveEmailRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RemoveEmail request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RemoveEmailRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/shared_with_teams/item/allowed_members/allowed_members_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/shared_with_teams/item/allowed_members/allowed_members_request_builder.py index 7f0fa81860d..96957bd1ea8 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/shared_with_teams/item/allowed_members/allowed_members_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/shared_with_teams/item/allowed_members/allowed_members_request_builder.py @@ -44,7 +44,7 @@ def by_conversation_member_id(self,conversation_member_id: str) -> ConversationM async def get(self,request_configuration: Optional[AllowedMembersRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMemberCollectionResponse]: """ - Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list-allowedmembers?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[AllowedMembersRequestBuilderG def to_get_request_information(self,request_configuration: Optional[AllowedMembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[AllowedMembe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllowedMembersRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AllowedMembersRequestBuilderGetQueryParameters(): """ - Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py index 2e14a69c8cb..ad1147e6f7d 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[Conversation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ConversationMemberItemRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py index cd22b947971..f6fd17b6d87 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. 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/sharedwithchannelteaminfo-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[SharedWithChannelTeamInfoI async def get(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SharedWithChannelTeamInfo]: """ - Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharedWithChannelTeamInfo] Find more info here: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-get?view=graph-rest-1.0 @@ -96,7 +96,7 @@ async def patch(self,body: Optional[SharedWithChannelTeamInfo] = None, request_c def to_delete_request_information(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[SharedWit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[SharedWithCh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SharedWithChannelTeamInfo] = None, request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[SharedWithChannelTeamInfo] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ class SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration(Base @dataclass class SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters(): """ - Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/shared_with_teams/item/team/team_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/shared_with_teams/item/team/team_request_builder.py index 51a7a3aaba4..a2a38c06bea 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/shared_with_teams/item/team/team_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/shared_with_teams/item/team/team_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/shared_with_teams/shared_with_teams_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/shared_with_teams/shared_with_teams_request_builder.py index fb0c1db388c..68a9286de1c 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/shared_with_teams/shared_with_teams_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/shared_with_teams/shared_with_teams_request_builder.py @@ -45,7 +45,7 @@ def by_shared_with_channel_team_info_id(self,shared_with_channel_team_info_id: s async def get(self,request_configuration: Optional[SharedWithTeamsRequestBuilderGetRequestConfiguration] = None) -> Optional[SharedWithChannelTeamInfoCollectionResponse]: """ - Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharedWithChannelTeamInfoCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[SharedWithChannelTeamInfo] = None, request_co def to_get_request_information(self,request_configuration: Optional[SharedWithTeamsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SharedWithTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SharedWithChannelTeamInfo] = None, request_configuration: Optional[SharedWithTeamsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SharedWithChannelTeamInfo] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SharedWithTeamsRequestBuilderGetQueryParameters(): """ - Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/tabs/item/teams_app/teams_app_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/tabs/item/teams_app/teams_app_request_builder.py index c9f5882dc9c..77a11711092 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/tabs/item/teams_app/teams_app_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/tabs/item/teams_app/teams_app_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamsAppRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/tabs/item/teams_tab_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/tabs/item/teams_tab_item_request_builder.py index fab4c69d037..dcc06809f1c 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/tabs/item/teams_tab_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/tabs/item/teams_tab_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[TeamsTabI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamsTabItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsTabItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamsTab] = None, request_configuration: Optional[TeamsTabItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[TeamsTab] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/tabs/tabs_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/tabs/tabs_request_builder.py index 58c56595475..58877ac0953 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/tabs/tabs_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/tabs/tabs_request_builder.py @@ -45,7 +45,7 @@ def by_teams_tab_id(self,teams_tab_id: str) -> TeamsTabItemRequestBuilder: async def get(self,request_configuration: Optional[TabsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsTabCollectionResponse]: """ - Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified channel within a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsTabCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list-tabs?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[TeamsTab] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[TabsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified channel within a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[TabsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamsTab] = None, request_configuration: Optional[TabsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[TeamsTab] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TabsRequestBuilderGetQueryParameters(): """ - Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified channel within a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/unarchive/unarchive_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/unarchive/unarchive_request_builder.py new file mode 100644 index 00000000000..7d324f121c4 --- /dev/null +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/channels/item/unarchive/unarchive_request_builder.py @@ -0,0 +1,83 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..........models.o_data_errors.o_data_error import ODataError + +class UnarchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the unarchive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new UnarchiveRequestBuilder 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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/unarchive", path_parameters) + + async def post(self,request_configuration: Optional[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Invoke action unarchive + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action unarchive + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> UnarchiveRequestBuilder: + """ + 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: UnarchiveRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return UnarchiveRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class UnarchiveRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/clone/clone_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/clone/clone_request_builder.py index 0a9e61b9a64..8ace0b88349 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/clone/clone_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/clone/clone_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ClonePostRequestBody] = None, request_configuration: Optional[CloneRequestBuilderPostRequestConfiguration] = None) -> None: """ - Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. This API is available in the following national cloud deployments. + Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ClonePostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[ClonePostRequestBody] = None, request_configuration: Optional[CloneRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. This API is available in the following national cloud deployments. + Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they aren't configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab doesn't have permission to configure apps, they see a message that says that the tab isn't configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status isn't running. The recommended delay between GETs is 5 seconds. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ClonePostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/complete_migration/complete_migration_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/complete_migration/complete_migration_request_builder.py index 5d1d8695cf9..8363ee347d7 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/complete_migration/complete_migration_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/complete_migration/complete_migration_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CompleteMigrationRequestBuilderPostRequestConfiguration] = None) -> None: """ - Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. 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/team-completemigration?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[CompleteMigrationRequestBuil def to_post_request_information(self,request_configuration: Optional[CompleteMigrationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you can't import additional messages into the team. You can add members to the team after the request returns a successful response. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[CompleteMig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CompleteMigrationRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/group/group_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/group/group_request_builder.py index 34028341888..0f46662d6d7 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/group/group_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/group/group_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GroupRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/group/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/group/service_provisioning_errors/service_provisioning_errors_request_builder.py index 7054cf7599d..3bf6e7d796f 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/group/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/group/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object . Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/incoming_channels/incoming_channels_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/incoming_channels/incoming_channels_request_builder.py index 1b3b2f6d821..23675749645 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/incoming_channels/incoming_channels_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/incoming_channels/incoming_channels_request_builder.py @@ -44,7 +44,7 @@ def by_channel_id(self,channel_id: str) -> ChannelItemRequestBuilder: async def get(self,request_configuration: Optional[IncomingChannelsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChannelCollectionResponse]: """ - Get the list of incoming channels (channels shared with a team). This API is available in the following national cloud deployments. + Get the list of incoming channels (channels shared with a team). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChannelCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/team-list-incomingchannels?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[IncomingChannelsRequestBuilde def to_get_request_information(self,request_configuration: Optional[IncomingChannelsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of incoming channels (channels shared with a team). This API is available in the following national cloud deployments. + Get the list of incoming channels (channels shared with a team). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[IncomingChan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IncomingChannelsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class IncomingChannelsRequestBuilderGetQueryParameters(): """ - Get the list of incoming channels (channels shared with a team). This API is available in the following national cloud deployments. + Get the list of incoming channels (channels shared with a team). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/incoming_channels/item/channel_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/incoming_channels/item/channel_item_request_builder.py index 598473b9271..5aaada20aad 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/incoming_channels/item/channel_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/incoming_channels/item/channel_item_request_builder.py @@ -80,7 +80,7 @@ def to_delete_request_information(self,request_configuration: Optional[ChannelIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChannelItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -97,7 +97,7 @@ def to_get_request_information(self,request_configuration: Optional[ChannelItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ChannelItemRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/installed_apps/installed_apps_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/installed_apps/installed_apps_request_builder.py index 4ec548e2e26..0c234c6e7d4 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/installed_apps/installed_apps_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/installed_apps/installed_apps_request_builder.py @@ -45,7 +45,7 @@ def by_teams_app_installation_id(self,teams_app_installation_id: str) -> TeamsAp async def get(self,request_configuration: Optional[InstalledAppsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsAppInstallationCollectionResponse]: """ - Retrieve the list of apps installed in the specified team. This API is available in the following national cloud deployments. + Retrieve the list of apps installed in the specified team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAppInstallationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/team-list-installedapps?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[InstalledAppsRequestBuilderGe async def post(self,body: Optional[TeamsAppInstallation] = None, request_configuration: Optional[InstalledAppsRequestBuilderPostRequestConfiguration] = None) -> Optional[TeamsAppInstallation]: """ - Install an app to the specified team. This API is available in the following national cloud deployments. + Install an app to the specified team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAppInstallation] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TeamsAppInstallation] = None, request_configu def to_get_request_information(self,request_configuration: Optional[InstalledAppsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of apps installed in the specified team. This API is available in the following national cloud deployments. + Retrieve the list of apps installed in the specified team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[InstalledApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamsAppInstallation] = None, request_configuration: Optional[InstalledAppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Install an app to the specified team. This API is available in the following national cloud deployments. + Install an app to the specified team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TeamsAppInstallation] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class InstalledAppsRequestBuilderGetQueryParameters(): """ - Retrieve the list of apps installed in the specified team. This API is available in the following national cloud deployments. + Retrieve the list of apps installed in the specified team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/installed_apps/item/teams_app/teams_app_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/installed_apps/item/teams_app/teams_app_request_builder.py index 30cc09e4b2b..66373740f33 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/installed_apps/item/teams_app/teams_app_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/installed_apps/item/teams_app/teams_app_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamsAppRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/installed_apps/item/teams_app_definition/teams_app_definition_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/installed_apps/item/teams_app_definition/teams_app_definition_request_builder.py index 9955022b3a9..73edb0a5e20 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/installed_apps/item/teams_app_definition/teams_app_definition_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/installed_apps/item/teams_app_definition/teams_app_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppDefi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamsAppDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/installed_apps/item/teams_app_installation_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/installed_apps/item/teams_app_installation_item_request_builder.py index d895e414ade..b48a4f063d2 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/installed_apps/item/teams_app_installation_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/installed_apps/item/teams_app_installation_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Uninstalls an app from the specified team. This API is available in the following national cloud deployments. + Uninstalls an app from the specified team. 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/team-delete-installedapps?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[TeamsAppInstallationItemRe async def get(self,request_configuration: Optional[TeamsAppInstallationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsAppInstallation]: """ - Retrieve the app installed in the specified team. This API is available in the following national cloud deployments. + Retrieve the app installed in the specified team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAppInstallation] Find more info here: https://learn.microsoft.com/graph/api/team-get-installedapps?view=graph-rest-1.0 @@ -97,7 +97,7 @@ async def patch(self,body: Optional[TeamsAppInstallation] = None, request_config def to_delete_request_information(self,request_configuration: Optional[TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Uninstalls an app from the specified team. This API is available in the following national cloud deployments. + Uninstalls an app from the specified team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[TeamsAppI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamsAppInstallationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the app installed in the specified team. This API is available in the following national cloud deployments. + Retrieve the app installed in the specified team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppInst request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamsAppInstallation] = None, request_configuration: Optional[TeamsAppInstallationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[TeamsAppInstallation] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -198,7 +198,7 @@ class TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class TeamsAppInstallationItemRequestBuilderGetQueryParameters(): """ - Retrieve the app installed in the specified team. This API is available in the following national cloud deployments. + Retrieve the app installed in the specified team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/installed_apps/item/upgrade/upgrade_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/installed_apps/item/upgrade/upgrade_request_builder.py index 49f3ca2dde1..25ecb38f9ec 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/installed_apps/item/upgrade/upgrade_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/installed_apps/item/upgrade/upgrade_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UpgradePostRequestBody] = None, request_configuration: Optional[UpgradeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Upgrade an app installation within a chat. This API is available in the following national cloud deployments. + Upgrade an app installation within a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[UpgradePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[UpgradePostRequestBody] = None, request_configuration: Optional[UpgradeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Upgrade an app installation within a chat. This API is available in the following national cloud deployments. + Upgrade an app installation within a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[UpgradePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/add/add_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/add/add_request_builder.py index a418aa8b019..3eb5aaaeb76 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/add/add_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/add/add_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> Optional[AddPostResponse]: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AddPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddPostRequestBody] = None, request_configura def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/item/conversation_member_item_request_builder.py index c9e055fc68d..e3560c28011 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/item/conversation_member_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a conversationMember from a team. This API is available in the following national cloud deployments. + Remove a conversationMember from a team. 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/team-delete-members?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ConversationMemberItemRequ async def get(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Get a conversationMember from a team. This API is available in the following national cloud deployments. + Get a conversationMember from a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] Find more info here: https://learn.microsoft.com/graph/api/team-get-members?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[ConversationMemberItemRequest async def patch(self,body: Optional[ConversationMember] = None, request_configuration: Optional[ConversationMemberItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Update the role of a conversationMember in a team. This API is available in the following national cloud deployments. + Update the role of a conversationMember in a team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[ConversationMember] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a conversationMember from a team. This API is available in the following national cloud deployments. + Remove a conversationMember from a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Conversat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a conversationMember from a team. This API is available in the following national cloud deployments. + Get a conversationMember from a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[Conversation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[ConversationMemberItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the role of a conversationMember in a team. This API is available in the following national cloud deployments. + Update the role of a conversationMember in a team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class ConversationMemberItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class ConversationMemberItemRequestBuilderGetQueryParameters(): """ - Get a conversationMember from a team. This API is available in the following national cloud deployments. + Get a conversationMember from a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/members_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/members_request_builder.py index dd378d82a38..d8d47e4c032 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/members_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/members/members_request_builder.py @@ -46,7 +46,7 @@ def by_conversation_member_id(self,conversation_member_id: str) -> ConversationM async def get(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMemberCollectionResponse]: """ - Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. This API is available in the following national cloud deployments. + Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/team-list-members?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MembersRequestBuilderGetReque async def post(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Add a new conversation member to a team. This API is available in the following national cloud deployments. + Add a new conversation member to a team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ConversationMember] = None, request_configura def to_get_request_information(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. This API is available in the following national cloud deployments. + Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a new conversation member to a team. This API is available in the following national cloud deployments. + Add a new conversation member to a team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MembersRequestBuilderGetQueryParameters(): """ - Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. This API is available in the following national cloud deployments. + Get the conversationMember collection of a team. The membership IDs returned by the server must be treated as opaque strings. The client should not try to parse or make assumptions about these resource IDs. In the future, membership results may include users from various tenants, as indicated in the response. Clients should avoid assuming that all members exclusively belong to the current tenant. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/operations/item/teams_async_operation_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/operations/item/teams_async_operation_item_request_builder.py index ba427648834..99231dcf749 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/operations/item/teams_async_operation_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/operations/item/teams_async_operation_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[TeamsAsyn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamsAsyncOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAsyncOp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamsAsyncOperation] = None, request_configuration: Optional[TeamsAsyncOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[TeamsAsyncOperation] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/operations/operations_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/operations/operations_request_builder.py index 5fcf5a81e1a..69fd349a3b7 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/operations/operations_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/operations/operations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamsAsyncOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[TeamsAsyncOperation] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/owners/item/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/owners/item/mailbox_settings/mailbox_settings_request_builder.py index 2efa30386c0..ca6c6c6ede3 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/owners/item/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/owners/item/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/owners/item/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/owners/item/service_provisioning_errors/service_provisioning_errors_request_builder.py index 3eb1db4c793..9c40710efd6 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/owners/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/owners/item/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/owners/item/user_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/owners/item/user_item_request_builder.py index bd3ac16719d..2fc570f9a21 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/owners/item/user_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/owners/item/user_item_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[UserItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserItemRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/owners/owners_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/owners/owners_request_builder.py index ba9090f5e4e..e2892290f93 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/owners/owners_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/owners/owners_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[OwnersReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> OwnersRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/permission_grants/item/resource_specific_permission_grant_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/permission_grants/item/resource_specific_permission_grant_item_request_builder.py index 1cf7ee49be0..211a8f187b8 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/permission_grants/item/resource_specific_permission_grant_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/permission_grants/item/resource_specific_permission_grant_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ResourceS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ResourceSpecificPermissionGrantItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceSpec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ResourceSpecificPermissionGrant] = None, request_configuration: Optional[ResourceSpecificPermissionGrantItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ResourceSpecificPermissionG request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/permission_grants/permission_grants_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/permission_grants/permission_grants_request_builder.py index e35d70140e9..f5e988f6af0 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/permission_grants/permission_grants_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/permission_grants/permission_grants_request_builder.py @@ -45,7 +45,7 @@ def by_resource_specific_permission_grant_id(self,resource_specific_permission_g async def get(self,request_configuration: Optional[PermissionGrantsRequestBuilderGetRequestConfiguration] = None) -> Optional[ResourceSpecificPermissionGrantCollectionResponse]: """ - List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ResourceSpecificPermissionGrantCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/team-list-permissiongrants?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ResourceSpecificPermissionGrant] = None, requ def to_get_request_information(self,request_configuration: Optional[PermissionGrantsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PermissionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ResourceSpecificPermissionGrant] = None, request_configuration: Optional[PermissionGrantsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ResourceSpecificPermissionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PermissionGrantsRequestBuilderGetQueryParameters(): """ - List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + List all resource-specific permission grants on the team. This list specifies the Microsoft Entra apps that have access to the team, along with the corresponding kind of resource-specific access that each app has. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/photo/photo_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/photo/photo_request_builder.py index ddda6e01e24..9ee541fe2f1 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/photo/photo_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/photo/photo_request_builder.py @@ -86,7 +86,7 @@ def to_get_request_information(self,request_configuration: Optional[PhotoRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ProfilePhoto] = None, request_configuration: Optional[PhotoRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -105,7 +105,7 @@ def to_patch_request_information(self,body: Optional[ProfilePhoto] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/photo/value/content_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/photo/value/content_request_builder.py index d87bb165e87..405c40fe0e1 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/photo/value/content_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/photo/value/content_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -98,7 +98,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/archive/archive_post_request_body.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/archive/archive_post_request_body.py new file mode 100644 index 00000000000..f39cce9ef54 --- /dev/null +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/archive/archive_post_request_body.py @@ -0,0 +1,49 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class ArchivePostRequestBody(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 shouldSetSpoSiteReadOnlyForMembers property + should_set_spo_site_read_only_for_members: Optional[bool] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> ArchivePostRequestBody: + """ + 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: ArchivePostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return ArchivePostRequestBody() + + 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]] = { + "shouldSetSpoSiteReadOnlyForMembers": lambda n : setattr(self, 'should_set_spo_site_read_only_for_members', n.get_bool_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 not writer: + raise TypeError("writer cannot be null.") + writer.write_bool_value("shouldSetSpoSiteReadOnlyForMembers", self.should_set_spo_site_read_only_for_members) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/archive/archive_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/archive/archive_request_builder.py new file mode 100644 index 00000000000..3c7b0057775 --- /dev/null +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/archive/archive_request_builder.py @@ -0,0 +1,91 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .........models.o_data_errors.o_data_error import ODataError + from .archive_post_request_body import ArchivePostRequestBody + +class ArchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the archive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ArchiveRequestBuilder 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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/archive", path_parameters) + + async def post(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Invoke action archive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action archive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> ArchiveRequestBuilder: + """ + 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: ArchiveRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ArchiveRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ArchiveRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/complete_migration/complete_migration_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/complete_migration/complete_migration_request_builder.py index 92473259c69..230a45a89be 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/complete_migration/complete_migration_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/complete_migration/complete_migration_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CompleteMigrationRequestBuilderPostRequestConfiguration] = None) -> None: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. 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/channel-completemigration?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[CompleteMigrationRequestBuil def to_post_request_information(self,request_configuration: Optional[CompleteMigrationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. This API is available in the following national cloud deployments. + Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you can't import more messages into the team. You can add members to the team after the request returns a successful response. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[CompleteMig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CompleteMigrationRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py index 15dec3d1106..311331f8fb5 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name/does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DoesUserHave request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/files_folder/content/content_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/files_folder/content/content_request_builder.py index 5344bd9dd55..e8cac8d46ce 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/files_folder/content/content_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/files_folder/content/content_request_builder.py @@ -83,7 +83,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -102,7 +102,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/files_folder/files_folder_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/files_folder/files_folder_request_builder.py index 2f23e10f7cc..e3571405b90 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/files_folder/files_folder_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/files_folder/files_folder_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[FilesFolderRequestBuilderGetRequestConfiguration] = None) -> Optional[DriveItem]: """ - Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + Get the metadata for the location where the files of a channel are stored. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveItem] Find more info here: https://learn.microsoft.com/graph/api/channel-get-filesfolder?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[FilesFolderRequestBuilderGetR def to_get_request_information(self,request_configuration: Optional[FilesFolderRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + Get the metadata for the location where the files of a channel are stored. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[FilesFolderR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilesFolderRequestBuilder: @@ -88,7 +88,7 @@ def content(self) -> ContentRequestBuilder: @dataclass class FilesFolderRequestBuilderGetQueryParameters(): """ - Get the metadata for the location where the files of a channel are stored. This API is available in the following national cloud deployments. + Get the metadata for the location where the files of a channel are stored. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/add/add_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/add/add_request_builder.py index d5d17d37cec..7cdcc0b5c3d 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/add/add_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/add/add_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> Optional[AddPostResponse]: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AddPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddPostRequestBody] = None, request_configura def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/item/conversation_member_item_request_builder.py index edb60f071d6..1c252f946d0 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/item/conversation_member_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. 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/channel-delete-members?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ConversationMemberItemRequ async def get(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Get a conversationMember from a channel. This API is available in the following national cloud deployments. + Get a conversationMember from a channel. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] Find more info here: https://learn.microsoft.com/graph/api/channel-get-members?view=graph-rest-1.0 @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[ConversationMemberItemRequest async def patch(self,body: Optional[ConversationMember] = None, request_configuration: Optional[ConversationMemberItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Update the role of a conversationMember in a team.or channel. This API is available in the following national cloud deployments. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] - Find more info here: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -95,7 +95,7 @@ async def patch(self,body: Optional[ConversationMember] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Conversat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a conversationMember from a channel. This API is available in the following national cloud deployments. + Get a conversationMember from a channel. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[Conversation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[ConversationMemberItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the role of a conversationMember in a team.or channel. This API is available in the following national cloud deployments. + Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class ConversationMemberItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class ConversationMemberItemRequestBuilderGetQueryParameters(): """ - Get a conversationMember from a channel. This API is available in the following national cloud deployments. + Get a conversationMember from a channel. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/members_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/members_request_builder.py index cd992ca89bf..1e0e51e686e 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/members_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/members/members_request_builder.py @@ -46,7 +46,7 @@ def by_conversation_member_id(self,conversation_member_id: str) -> ConversationM async def get(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMemberCollectionResponse]: """ - Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list-members?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MembersRequestBuilderGetReque async def post(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ConversationMember] = None, request_configura def to_get_request_information(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. This API is available in the following national cloud deployments. + Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MembersRequestBuilderGetQueryParameters(): """ - Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. This API is available in the following national cloud deployments. + Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/delta/delta_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/delta/delta_request_builder.py index 35fcee1f79b..72a3012c8f8 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/delta/delta_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/chat_message_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/chat_message_item_request_builder.py index 669980b2369..c5524fca0b0 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/chat_message_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/chat_message_item_request_builder.py @@ -53,7 +53,7 @@ async def delete(self,request_configuration: Optional[ChatMessageItemRequestBuil async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 @@ -75,7 +75,7 @@ async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilder async def patch(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -111,12 +111,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -128,12 +128,12 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. This API is available in the following national cloud deployments. + Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[ChatMessage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -228,7 +228,7 @@ class ChatMessageItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class ChatMessageItemRequestBuilderGetQueryParameters(): """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.py index 32b9a6f2077..2ccff1fb4f7 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.py @@ -45,7 +45,7 @@ def by_chat_message_hosted_content_id(self,chat_message_hosted_content_id: str) async def get(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContentCollectionResponse]: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ChatMessageHostedContent] = None, request_con def to_get_request_information(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[HostedConten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[HostedContentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HostedContentsRequestBuilderGetQueryParameters(): """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py index fde011eff26..eab2dab4cf9 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ChatMessageHostedContentIt async def get(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContent]: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContent] Find more info here: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class ChatMessageHostedContentItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.py index de886efce32..67a3be308d0 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/delta/delta_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/delta/delta_request_builder.py index e6e192603d3..281bf37a35b 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/delta/delta_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/chat_message_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/chat_message_item_request_builder.py index 06a7272058b..0298e1fa957 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/chat_message_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/chat_message_item_request_builder.py @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[ChatMessageItemRequestBuil async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[ChatMessage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -217,7 +217,7 @@ class ChatMessageItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class ChatMessageItemRequestBuilderGetQueryParameters(): """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py index 4dffe448097..72f57d8e946 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py @@ -45,7 +45,7 @@ def by_chat_message_hosted_content_id(self,chat_message_hosted_content_id: str) async def get(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContentCollectionResponse]: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ChatMessageHostedContent] = None, request_con def to_get_request_information(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[HostedConten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[HostedContentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HostedContentsRequestBuilderGetQueryParameters(): """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py index 2941ac1292b..f251f3d8bce 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ChatMessageHostedContentIt async def get(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContent]: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContent] Find more info here: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class ChatMessageHostedContentItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py index 55963b4dda1..9e7a59fd85c 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/set_reaction/set_reaction_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/set_reaction/set_reaction_request_builder.py index ea6d3ebb7b6..7b73c9d10e9 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/set_reaction/set_reaction_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/set_reaction/set_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetReactionPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/soft_delete/soft_delete_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/soft_delete/soft_delete_request_builder.py index 0523faa8a06..cc2e35b79d9 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/soft_delete/soft_delete_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/soft_delete/soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-softdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPost def to_post_request_information(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SoftDeleteR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py index e464e94c7de..f00fb3f901c 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-undosoftdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilder def to_post_request_information(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UndoSoftDel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UndoSoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py index d903f465650..2897cff8983 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnsetReactionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/replies_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/replies_request_builder.py index 7047b781f7a..8d2b94a5654 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/replies_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/replies/replies_request_builder.py @@ -46,7 +46,7 @@ def by_chat_message_id1(self,chat_message_id1: str) -> ChatMessageItemRequestBui async def get(self,request_configuration: Optional[RepliesRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageCollectionResponse]: """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-replies?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[RepliesRequestBuilderGetReque async def post(self,body: Optional[ChatMessage] = None, request_configuration: Optional[RepliesRequestBuilderPostRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + Send a new reply to a chatMessage in a specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ChatMessage] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[RepliesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[RepliesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[RepliesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + Send a new reply to a chatMessage in a specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ChatMessage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class RepliesRequestBuilderGetQueryParameters(): """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/set_reaction/set_reaction_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/set_reaction/set_reaction_request_builder.py index 4d7ea79588a..eb024240179 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/set_reaction/set_reaction_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/set_reaction/set_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetReactionPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/soft_delete/soft_delete_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/soft_delete/soft_delete_request_builder.py index fb24e65c528..d4db18701c1 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/soft_delete/soft_delete_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/soft_delete/soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-softdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPost def to_post_request_information(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SoftDeleteR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py index 0ed463e1dba..1d75c221244 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-undosoftdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilder def to_post_request_information(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UndoSoftDel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UndoSoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/unset_reaction/unset_reaction_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/unset_reaction/unset_reaction_request_builder.py index 782bc96eb03..3e659f1d188 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/unset_reaction/unset_reaction_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/item/unset_reaction/unset_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnsetReactionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/messages_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/messages_request_builder.py index ebe701dc79b..cba328c16a5 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/messages_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/messages/messages_request_builder.py @@ -46,7 +46,7 @@ def by_chat_message_id(self,chat_message_id: str) -> ChatMessageItemRequestBuild async def get(self,request_configuration: Optional[MessagesRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageCollectionResponse]: """ - Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list-messages?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MessagesRequestBuilderGetRequ async def post(self,body: Optional[ChatMessage] = None, request_configuration: Optional[MessagesRequestBuilderPostRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ChatMessage] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[MessagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MessagesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[MessagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send a new chatMessage in the specified channel or a chat. This API is available in the following national cloud deployments. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ChatMessage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class MessagesRequestBuilderGetQueryParameters(): """ - Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/primary_channel_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/primary_channel_request_builder.py index 596bd6acbca..23f462df424 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/primary_channel_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/primary_channel_request_builder.py @@ -12,6 +12,7 @@ if TYPE_CHECKING: from ........models.channel import Channel from ........models.o_data_errors.o_data_error import ODataError + from .archive.archive_request_builder import ArchiveRequestBuilder from .complete_migration.complete_migration_request_builder import CompleteMigrationRequestBuilder from .does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name.does_user_have_accessuser_id_user_id_tenant_id_tenant_id_user_principal_name_user_principal_name_request_builder import DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder from .files_folder.files_folder_request_builder import FilesFolderRequestBuilder @@ -21,6 +22,7 @@ from .remove_email.remove_email_request_builder import RemoveEmailRequestBuilder from .shared_with_teams.shared_with_teams_request_builder import SharedWithTeamsRequestBuilder from .tabs.tabs_request_builder import TabsRequestBuilder + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder class PrimaryChannelRequestBuilder(BaseRequestBuilder): """ @@ -56,7 +58,7 @@ async def delete(self,request_configuration: Optional[PrimaryChannelRequestBuild async def get(self,request_configuration: Optional[PrimaryChannelRequestBuilderGetRequestConfiguration] = None) -> Optional[Channel]: """ - Get the default channel, General, of a team. This API is available in the following national cloud deployments. + Get the default channel, General, of a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Channel] Find more info here: https://learn.microsoft.com/graph/api/team-get-primarychannel?view=graph-rest-1.0 @@ -113,12 +115,12 @@ def to_delete_request_information(self,request_configuration: Optional[PrimaryCh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PrimaryChannelRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the default channel, General, of a team. This API is available in the following national cloud deployments. + Get the default channel, General, of a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -130,7 +132,7 @@ def to_get_request_information(self,request_configuration: Optional[PrimaryChann request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Channel] = None, request_configuration: Optional[PrimaryChannelRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -149,7 +151,7 @@ def to_patch_request_information(self,body: Optional[Channel] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -163,6 +165,15 @@ def with_url(self,raw_url: Optional[str] = None) -> PrimaryChannelRequestBuilder raise TypeError("raw_url cannot be null.") return PrimaryChannelRequestBuilder(self.request_adapter, raw_url) + @property + def archive(self) -> ArchiveRequestBuilder: + """ + Provides operations to call the archive method. + """ + from .archive.archive_request_builder import ArchiveRequestBuilder + + return ArchiveRequestBuilder(self.request_adapter, self.path_parameters) + @property def complete_migration(self) -> CompleteMigrationRequestBuilder: """ @@ -244,6 +255,15 @@ def tabs(self) -> TabsRequestBuilder: return TabsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def unarchive(self) -> UnarchiveRequestBuilder: + """ + Provides operations to call the unarchive method. + """ + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder + + return UnarchiveRequestBuilder(self.request_adapter, self.path_parameters) + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass @@ -257,7 +277,7 @@ class PrimaryChannelRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class PrimaryChannelRequestBuilderGetQueryParameters(): """ - Get the default channel, General, of a team. This API is available in the following national cloud deployments. + Get the default channel, General, of a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/provision_email/provision_email_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/provision_email/provision_email_request_builder.py index b5a49eef23e..b03deaebe1a 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/provision_email/provision_email_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/provision_email/provision_email_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ProvisionEmailRequestBuilderPostRequestConfiguration] = None) -> Optional[ProvisionChannelEmailResult]: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProvisionChannelEmailResult] Find more info here: https://learn.microsoft.com/graph/api/channel-provisionemail?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[ProvisionEmailRequestBuilder def to_post_request_information(self,request_configuration: Optional[ProvisionEmailRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. This API is available in the following national cloud deployments. + Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[ProvisionEm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ProvisionEmailRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/remove_email/remove_email_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/remove_email/remove_email_request_builder.py index 85884d8caa1..3f21adf470b 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/remove_email/remove_email_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/remove_email/remove_email_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RemoveEmailRequestBuilderPostRequestConfiguration] = None) -> None: """ - Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. 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/channel-removeemail?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RemoveEmailRequestBuilderPos def to_post_request_information(self,request_configuration: Optional[RemoveEmailRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. This API is available in the following national cloud deployments. + Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RemoveEmail request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RemoveEmailRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/shared_with_teams/item/allowed_members/allowed_members_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/shared_with_teams/item/allowed_members/allowed_members_request_builder.py index 6ff73b9d765..e3b06e7a7b0 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/shared_with_teams/item/allowed_members/allowed_members_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/shared_with_teams/item/allowed_members/allowed_members_request_builder.py @@ -44,7 +44,7 @@ def by_conversation_member_id(self,conversation_member_id: str) -> ConversationM async def get(self,request_configuration: Optional[AllowedMembersRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMemberCollectionResponse]: """ - Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list-allowedmembers?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[AllowedMembersRequestBuilderG def to_get_request_information(self,request_configuration: Optional[AllowedMembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[AllowedMembe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllowedMembersRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AllowedMembersRequestBuilderGetQueryParameters(): """ - Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant This API is available in the following national cloud deployments. + Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py index 5ddc57d68c1..df33386746e 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/shared_with_teams/item/allowed_members/item/conversation_member_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[Conversation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ConversationMemberItemRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py index c678f038920..0366aca2e39 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. 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/sharedwithchannelteaminfo-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[SharedWithChannelTeamInfoI async def get(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SharedWithChannelTeamInfo]: """ - Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharedWithChannelTeamInfo] Find more info here: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-get?view=graph-rest-1.0 @@ -96,7 +96,7 @@ async def patch(self,body: Optional[SharedWithChannelTeamInfo] = None, request_c def to_delete_request_information(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[SharedWit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[SharedWithCh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SharedWithChannelTeamInfo] = None, request_configuration: Optional[SharedWithChannelTeamInfoItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[SharedWithChannelTeamInfo] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ class SharedWithChannelTeamInfoItemRequestBuilderDeleteRequestConfiguration(Base @dataclass class SharedWithChannelTeamInfoItemRequestBuilderGetQueryParameters(): """ - Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/shared_with_teams/item/team/team_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/shared_with_teams/item/team/team_request_builder.py index e2023b5a12d..413e8bbafce 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/shared_with_teams/item/team/team_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/shared_with_teams/item/team/team_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/shared_with_teams/shared_with_teams_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/shared_with_teams/shared_with_teams_request_builder.py index 58c743bfaf7..0876887f428 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/shared_with_teams/shared_with_teams_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/shared_with_teams/shared_with_teams_request_builder.py @@ -45,7 +45,7 @@ def by_shared_with_channel_team_info_id(self,shared_with_channel_team_info_id: s async def get(self,request_configuration: Optional[SharedWithTeamsRequestBuilderGetRequestConfiguration] = None) -> Optional[SharedWithChannelTeamInfoCollectionResponse]: """ - Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SharedWithChannelTeamInfoCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sharedwithchannelteaminfo-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[SharedWithChannelTeamInfo] = None, request_co def to_get_request_information(self,request_configuration: Optional[SharedWithTeamsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SharedWithTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SharedWithChannelTeamInfo] = None, request_configuration: Optional[SharedWithTeamsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SharedWithChannelTeamInfo] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SharedWithTeamsRequestBuilderGetQueryParameters(): """ - Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. This API is available in the following national cloud deployments. + Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/tabs/item/teams_app/teams_app_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/tabs/item/teams_app/teams_app_request_builder.py index 536c5cb0f9d..d73e84028d4 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/tabs/item/teams_app/teams_app_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/tabs/item/teams_app/teams_app_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamsAppRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/tabs/item/teams_tab_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/tabs/item/teams_tab_item_request_builder.py index d3659359104..452a3815fcd 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/tabs/item/teams_tab_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/tabs/item/teams_tab_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[TeamsTabI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamsTabItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsTabItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamsTab] = None, request_configuration: Optional[TeamsTabItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[TeamsTab] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/tabs/tabs_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/tabs/tabs_request_builder.py index 484f3cbffce..8ac2c9f94c2 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/tabs/tabs_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/tabs/tabs_request_builder.py @@ -45,7 +45,7 @@ def by_teams_tab_id(self,teams_tab_id: str) -> TeamsTabItemRequestBuilder: async def get(self,request_configuration: Optional[TabsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsTabCollectionResponse]: """ - Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified channel within a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsTabCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/channel-list-tabs?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[TeamsTab] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[TabsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified channel within a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[TabsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamsTab] = None, request_configuration: Optional[TabsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[TeamsTab] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TabsRequestBuilderGetQueryParameters(): """ - Retrieve the list of tabs in the specified channel within a team. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified channel within a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/unarchive/unarchive_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/unarchive/unarchive_request_builder.py new file mode 100644 index 00000000000..5724987133e --- /dev/null +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/primary_channel/unarchive/unarchive_request_builder.py @@ -0,0 +1,83 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .........models.o_data_errors.o_data_error import ODataError + +class UnarchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the unarchive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new UnarchiveRequestBuilder 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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/unarchive", path_parameters) + + async def post(self,request_configuration: Optional[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Invoke action unarchive + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action unarchive + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> UnarchiveRequestBuilder: + """ + 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: UnarchiveRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return UnarchiveRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class UnarchiveRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registration/registrants/count/count_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/day_notes/count/count_request_builder.py similarity index 95% rename from msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registration/registrants/count/count_request_builder.py rename to msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/day_notes/count/count_request_builder.py index 0f905fffd27..825aa58478c 100644 --- a/msgraph_beta/generated/solutions/virtual_events/webinars/item/sessions/item/registration/registrants/count/count_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/day_notes/count/count_request_builder.py @@ -23,7 +23,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/solutions/virtualEvents/webinars/{virtualEventWebinar%2Did}/sessions/{virtualEventSession%2Did}/registration/registrants/$count{?%24search,%24filter}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/schedule/dayNotes/$count{?%24search,%24filter}", path_parameters) async def get(self,request_configuration: Optional[CountRequestBuilderGetRequestConfiguration] = None) -> Optional[int]: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/day_notes/day_notes_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/day_notes/day_notes_request_builder.py new file mode 100644 index 00000000000..10c767c059e --- /dev/null +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/day_notes/day_notes_request_builder.py @@ -0,0 +1,226 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .........models.day_note import DayNote + from .........models.day_note_collection_response import DayNoteCollectionResponse + from .........models.o_data_errors.o_data_error import ODataError + from .count.count_request_builder import CountRequestBuilder + from .item.day_note_item_request_builder import DayNoteItemRequestBuilder + +class DayNotesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new DayNotesRequestBuilder 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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/schedule/dayNotes{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", path_parameters) + + def by_day_note_id(self,day_note_id: str) -> DayNoteItemRequestBuilder: + """ + Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + param day_note_id: The unique identifier of dayNote + Returns: DayNoteItemRequestBuilder + """ + if not day_note_id: + raise TypeError("day_note_id cannot be null.") + from .item.day_note_item_request_builder import DayNoteItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["dayNote%2Did"] = day_note_id + return DayNoteItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[DayNotesRequestBuilderGetRequestConfiguration] = None) -> Optional[DayNoteCollectionResponse]: + """ + The day notes in the schedule. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DayNoteCollectionResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .........models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.day_note_collection_response import DayNoteCollectionResponse + + return await self.request_adapter.send_async(request_info, DayNoteCollectionResponse, error_mapping) + + async def post(self,body: Optional[DayNote] = None, request_configuration: Optional[DayNotesRequestBuilderPostRequestConfiguration] = None) -> Optional[DayNote]: + """ + Create new navigation property to dayNotes for teamwork + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DayNote] + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .........models.day_note import DayNote + + return await self.request_adapter.send_async(request_info, DayNote, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[DayNotesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + The day notes in the schedule. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_post_request_information(self,body: Optional[DayNote] = None, request_configuration: Optional[DayNotesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Create new navigation property to dayNotes for teamwork + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> DayNotesRequestBuilder: + """ + 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: DayNotesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return DayNotesRequestBuilder(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 DayNotesRequestBuilderGetQueryParameters(): + """ + The day notes in the schedule. + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class DayNotesRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[DayNotesRequestBuilder.DayNotesRequestBuilderGetQueryParameters] = None + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class DayNotesRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/day_notes/item/day_note_item_request_builder.py similarity index 71% rename from msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py rename to msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/day_notes/item/day_note_item_request_builder.py index 2ff53b347a3..f0010947ac0 100644 --- a/msgraph_beta/generated/solutions/virtual_events/events/item/sessions/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/day_notes/item/day_note_item_request_builder.py @@ -10,25 +10,25 @@ from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: - from ..........models.meeting_registrant_base import MeetingRegistrantBase + from ..........models.day_note import DayNote from ..........models.o_data_errors.o_data_error import ODataError -class MeetingRegistrantBaseItemRequestBuilder(BaseRequestBuilder): +class DayNoteItemRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the registrants property of the microsoft.graph.meetingRegistrationBase entity. + Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ - Instantiates a new MeetingRegistrantBaseItemRequestBuilder and sets the default values. + Instantiates a new DayNoteItemRequestBuilder 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}/solutions/virtualEvents/events/{virtualEvent%2Did}/sessions/{virtualEventSession%2Did}/registration/registrants/{meetingRegistrantBase%2Did}{?%24select,%24expand}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/schedule/dayNotes/{dayNote%2Did}{?%24select,%24expand}", path_parameters) - async def delete(self,request_configuration: Optional[MeetingRegistrantBaseItemRequestBuilderDeleteRequestConfiguration] = None) -> None: + async def delete(self,request_configuration: Optional[DayNoteItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete navigation property registrants for solutions + Delete navigation property dayNotes for teamwork param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ @@ -45,11 +45,11 @@ async def delete(self,request_configuration: Optional[MeetingRegistrantBaseItemR 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[MeetingRegistrantBaseItemRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingRegistrantBase]: + async def get(self,request_configuration: Optional[DayNoteItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DayNote]: """ - Registrants of the online meeting. + The day notes in the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[MeetingRegistrantBase] + Returns: Optional[DayNote] """ request_info = self.to_get_request_information( request_configuration @@ -62,16 +62,17 @@ async def get(self,request_configuration: Optional[MeetingRegistrantBaseItemRequ } if not self.request_adapter: raise Exception("Http core is null") - from ..........models.meeting_registrant_base import MeetingRegistrantBase + from ..........models.day_note import DayNote - return await self.request_adapter.send_async(request_info, MeetingRegistrantBase, error_mapping) + return await self.request_adapter.send_async(request_info, DayNote, error_mapping) - async def patch(self,body: Optional[MeetingRegistrantBase] = None, request_configuration: Optional[MeetingRegistrantBaseItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[MeetingRegistrantBase]: + async def patch(self,body: Optional[DayNote] = None, request_configuration: Optional[DayNoteItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[DayNote]: """ - Update the navigation property registrants in solutions + Update the properties of a day note. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: Optional[MeetingRegistrantBase] + Returns: Optional[DayNote] + Find more info here: https://learn.microsoft.com/graph/api/daynote-update?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -86,13 +87,13 @@ async def patch(self,body: Optional[MeetingRegistrantBase] = None, request_confi } if not self.request_adapter: raise Exception("Http core is null") - from ..........models.meeting_registrant_base import MeetingRegistrantBase + from ..........models.day_note import DayNote - return await self.request_adapter.send_async(request_info, MeetingRegistrantBase, error_mapping) + return await self.request_adapter.send_async(request_info, DayNote, error_mapping) - def to_delete_request_information(self,request_configuration: Optional[MeetingRegistrantBaseItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + def to_delete_request_information(self,request_configuration: Optional[DayNoteItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete navigation property registrants for solutions + Delete navigation property dayNotes for teamwork param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[MeetingRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info - def to_get_request_information(self,request_configuration: Optional[MeetingRegistrantBaseItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + def to_get_request_information(self,request_configuration: Optional[DayNoteItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Registrants of the online meeting. + The day notes in the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -120,12 +121,12 @@ def to_get_request_information(self,request_configuration: Optional[MeetingRegis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info - def to_patch_request_information(self,body: Optional[MeetingRegistrantBase] = None, request_configuration: Optional[MeetingRegistrantBaseItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: + def to_patch_request_information(self,body: Optional[DayNote] = None, request_configuration: Optional[DayNoteItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the navigation property registrants in solutions + Update the properties of a day note. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -139,24 +140,24 @@ def to_patch_request_information(self,body: Optional[MeetingRegistrantBase] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + 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: Optional[str] = None) -> MeetingRegistrantBaseItemRequestBuilder: + def with_url(self,raw_url: Optional[str] = None) -> DayNoteItemRequestBuilder: """ 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: MeetingRegistrantBaseItemRequestBuilder + Returns: DayNoteItemRequestBuilder """ if not raw_url: raise TypeError("raw_url cannot be null.") - return MeetingRegistrantBaseItemRequestBuilder(self.request_adapter, raw_url) + return DayNoteItemRequestBuilder(self.request_adapter, raw_url) from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class MeetingRegistrantBaseItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + class DayNoteItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ @@ -164,9 +165,9 @@ class MeetingRegistrantBaseItemRequestBuilderDeleteRequestConfiguration(BaseRequ """ @dataclass - class MeetingRegistrantBaseItemRequestBuilderGetQueryParameters(): + class DayNoteItemRequestBuilderGetQueryParameters(): """ - Registrants of the online meeting. + The day notes in the schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ @@ -192,20 +193,20 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class MeetingRegistrantBaseItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + class DayNoteItemRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ Configuration for the request such as headers, query parameters, and middleware options. """ # Request query parameters - query_parameters: Optional[MeetingRegistrantBaseItemRequestBuilder.MeetingRegistrantBaseItemRequestBuilderGetQueryParameters] = None + query_parameters: Optional[DayNoteItemRequestBuilder.DayNoteItemRequestBuilderGetQueryParameters] = None from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass - class MeetingRegistrantBaseItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): + class DayNoteItemRequestBuilderPatchRequestConfiguration(BaseRequestConfiguration): from kiota_abstractions.base_request_configuration import BaseRequestConfiguration """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.py index 8a17a1ae7b7..06e6031817b 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[OfferShiftRequestItemReque async def get(self,request_configuration: Optional[OfferShiftRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OfferShiftRequest]: """ - Retrieve the properties and relationships of an offerShiftRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an offerShiftRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OfferShiftRequest] Find more info here: https://learn.microsoft.com/graph/api/offershiftrequest-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[OfferShif request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OfferShiftRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an offerShiftRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an offerShiftRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[OfferShiftRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OfferShiftRequest] = None, request_configuration: Optional[OfferShiftRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[OfferShiftRequest] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class OfferShiftRequestItemRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class OfferShiftRequestItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an offerShiftRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an offerShiftRequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/offer_shift_requests/offer_shift_requests_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/offer_shift_requests/offer_shift_requests_request_builder.py index b231eb61ad7..45dc9d7649e 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/offer_shift_requests/offer_shift_requests_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/offer_shift_requests/offer_shift_requests_request_builder.py @@ -45,7 +45,7 @@ def by_offer_shift_request_id(self,offer_shift_request_id: str) -> OfferShiftReq async def get(self,request_configuration: Optional[OfferShiftRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[OfferShiftRequestCollectionResponse]: """ - Retrieve the properties and relationships of all offerShiftRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of all offerShiftRequest objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OfferShiftRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/offershiftrequest-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[OfferShiftRequestsRequestBuil async def post(self,body: Optional[OfferShiftRequest] = None, request_configuration: Optional[OfferShiftRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[OfferShiftRequest]: """ - Create an instance of an offerShiftRequest. This API is available in the following national cloud deployments. + Create an instance of an offerShiftRequest. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OfferShiftRequest] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OfferShiftRequest] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[OfferShiftRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of all offerShiftRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of all offerShiftRequest objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[OfferShiftRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OfferShiftRequest] = None, request_configuration: Optional[OfferShiftRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an instance of an offerShiftRequest. This API is available in the following national cloud deployments. + Create an instance of an offerShiftRequest. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OfferShiftRequest] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OfferShiftRequestsRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of all offerShiftRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of all offerShiftRequest objects in a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.py index 3f0dbe52182..54564cd0f0e 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[OpenShiftChangeRequestItem async def get(self,request_configuration: Optional[OpenShiftChangeRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OpenShiftChangeRequest]: """ - Retrieve the properties and relationships of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an openShiftChangeRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OpenShiftChangeRequest] Find more info here: https://learn.microsoft.com/graph/api/openshiftchangerequest-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[OpenShift request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OpenShiftChangeRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an openShiftChangeRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[OpenShiftCha request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OpenShiftChangeRequest] = None, request_configuration: Optional[OpenShiftChangeRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[OpenShiftChangeRequest] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class OpenShiftChangeRequestItemRequestBuilderDeleteRequestConfiguration(BaseReq @dataclass class OpenShiftChangeRequestItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an openShiftChangeRequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.py index bbeeea58dc4..8d0ee43f7d7 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.py @@ -45,7 +45,7 @@ def by_open_shift_change_request_id(self,open_shift_change_request_id: str) -> O async def get(self,request_configuration: Optional[OpenShiftChangeRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[OpenShiftChangeRequestCollectionResponse]: """ - Retrieve a list of openShiftChangeRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve a list of openShiftChangeRequest objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OpenShiftChangeRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/openshiftchangerequest-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[OpenShiftChangeRequestsReques async def post(self,body: Optional[OpenShiftChangeRequest] = None, request_configuration: Optional[OpenShiftChangeRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[OpenShiftChangeRequest]: """ - Create instance of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + Create instance of an openShiftChangeRequest object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OpenShiftChangeRequest] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OpenShiftChangeRequest] = None, request_confi def to_get_request_information(self,request_configuration: Optional[OpenShiftChangeRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of openShiftChangeRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve a list of openShiftChangeRequest objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[OpenShiftCha request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OpenShiftChangeRequest] = None, request_configuration: Optional[OpenShiftChangeRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create instance of an openShiftChangeRequest object. This API is available in the following national cloud deployments. + Create instance of an openShiftChangeRequest object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OpenShiftChangeRequest] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OpenShiftChangeRequestsRequestBuilderGetQueryParameters(): """ - Retrieve a list of openShiftChangeRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve a list of openShiftChangeRequest objects in a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/open_shifts/item/open_shift_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/open_shifts/item/open_shift_item_request_builder.py index 7dd9c3241a3..df35d511314 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/open_shifts/item/open_shift_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/open_shifts/item/open_shift_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[OpenShiftItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an openShift object. This API is available in the following national cloud deployments. + Delete an openShift object. 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/openshift-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[OpenShiftItemRequestBuilde async def get(self,request_configuration: Optional[OpenShiftItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OpenShift]: """ - Retrieve the properties and relationships of an openshift object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an openshift object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OpenShift] Find more info here: https://learn.microsoft.com/graph/api/openshift-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[OpenShift] = None, request_configuration: Op def to_delete_request_information(self,request_configuration: Optional[OpenShiftItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an openShift object. This API is available in the following national cloud deployments. + Delete an openShift object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[OpenShift request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OpenShiftItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an openshift object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an openshift object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[OpenShiftIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OpenShift] = None, request_configuration: Optional[OpenShiftItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[OpenShift] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class OpenShiftItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class OpenShiftItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an openshift object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an openshift object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/open_shifts/open_shifts_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/open_shifts/open_shifts_request_builder.py index 8f9dd9fb639..e2243c0b513 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/open_shifts/open_shifts_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/open_shifts/open_shifts_request_builder.py @@ -45,7 +45,7 @@ def by_open_shift_id(self,open_shift_id: str) -> OpenShiftItemRequestBuilder: async def get(self,request_configuration: Optional[OpenShiftsRequestBuilderGetRequestConfiguration] = None) -> Optional[OpenShiftCollectionResponse]: """ - List openshift objects in a team. This API is available in the following national cloud deployments. + List openshift objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OpenShiftCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/openshift-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[OpenShiftsRequestBuilderGetRe async def post(self,body: Optional[OpenShift] = None, request_configuration: Optional[OpenShiftsRequestBuilderPostRequestConfiguration] = None) -> Optional[OpenShift]: """ - Create an instance of an openshift object. This API is available in the following national cloud deployments. + Create an instance of an openshift object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OpenShift] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OpenShift] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[OpenShiftsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List openshift objects in a team. This API is available in the following national cloud deployments. + List openshift objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[OpenShiftsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OpenShift] = None, request_configuration: Optional[OpenShiftsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an instance of an openshift object. This API is available in the following national cloud deployments. + Create an instance of an openshift object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OpenShift] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OpenShiftsRequestBuilderGetQueryParameters(): """ - List openshift objects in a team. This API is available in the following national cloud deployments. + List openshift objects in a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/schedule_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/schedule_request_builder.py index ee5c527fbe6..5df9c486acb 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/schedule_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/schedule_request_builder.py @@ -12,6 +12,7 @@ if TYPE_CHECKING: from ........models.o_data_errors.o_data_error import ODataError from ........models.schedule import Schedule + from .day_notes.day_notes_request_builder import DayNotesRequestBuilder from .offer_shift_requests.offer_shift_requests_request_builder import OfferShiftRequestsRequestBuilder from .open_shifts.open_shifts_request_builder import OpenShiftsRequestBuilder from .open_shift_change_requests.open_shift_change_requests_request_builder import OpenShiftChangeRequestsRequestBuilder @@ -58,7 +59,7 @@ async def delete(self,request_configuration: Optional[ScheduleRequestBuilderDele async def get(self,request_configuration: Optional[ScheduleRequestBuilderGetRequestConfiguration] = None) -> Optional[Schedule]: """ - Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Schedule] Find more info here: https://learn.microsoft.com/graph/api/schedule-get?view=graph-rest-1.0 @@ -115,12 +116,12 @@ def to_delete_request_information(self,request_configuration: Optional[ScheduleR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ScheduleRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -132,7 +133,7 @@ def to_get_request_information(self,request_configuration: Optional[ScheduleRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_put_request_information(self,body: Optional[Schedule] = None, request_configuration: Optional[ScheduleRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -151,7 +152,7 @@ def to_put_request_information(self,body: Optional[Schedule] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -165,6 +166,15 @@ def with_url(self,raw_url: Optional[str] = None) -> ScheduleRequestBuilder: raise TypeError("raw_url cannot be null.") return ScheduleRequestBuilder(self.request_adapter, raw_url) + @property + def day_notes(self) -> DayNotesRequestBuilder: + """ + Provides operations to manage the dayNotes property of the microsoft.graph.schedule entity. + """ + from .day_notes.day_notes_request_builder import DayNotesRequestBuilder + + return DayNotesRequestBuilder(self.request_adapter, self.path_parameters) + @property def offer_shift_requests(self) -> OfferShiftRequestsRequestBuilder: """ @@ -277,7 +287,7 @@ class ScheduleRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class ScheduleRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/scheduling_groups/item/scheduling_group_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/scheduling_groups/item/scheduling_group_item_request_builder.py index 7cfac2acd8d..7cc040df88d 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/scheduling_groups/item/scheduling_group_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/scheduling_groups/item/scheduling_group_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[SchedulingGroupItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. This API is available in the following national cloud deployments. + Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. 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/schedulinggroup-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[SchedulingGroupItemRequest async def get(self,request_configuration: Optional[SchedulingGroupItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SchedulingGroup]: """ - Retrieve the properties and relationships of a schedulingGroup by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a schedulingGroup by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SchedulingGroup] Find more info here: https://learn.microsoft.com/graph/api/schedulinggroup-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[SchedulingGroup] = None, request_configurati def to_delete_request_information(self,request_configuration: Optional[SchedulingGroupItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. This API is available in the following national cloud deployments. + Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Schedulin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SchedulingGroupItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a schedulingGroup by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a schedulingGroup by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[SchedulingGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SchedulingGroup] = None, request_configuration: Optional[SchedulingGroupItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[SchedulingGroup] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class SchedulingGroupItemRequestBuilderDeleteRequestConfiguration(BaseRequestCon @dataclass class SchedulingGroupItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a schedulingGroup by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a schedulingGroup by ID. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/scheduling_groups/scheduling_groups_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/scheduling_groups/scheduling_groups_request_builder.py index a7ea662093c..a34f841a5d8 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/scheduling_groups/scheduling_groups_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/scheduling_groups/scheduling_groups_request_builder.py @@ -45,7 +45,7 @@ def by_scheduling_group_id(self,scheduling_group_id: str) -> SchedulingGroupItem async def get(self,request_configuration: Optional[SchedulingGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[SchedulingGroupCollectionResponse]: """ - Get the list of schedulingGroups in this schedule. This API is available in the following national cloud deployments. + Get the list of schedulingGroups in this schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SchedulingGroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/schedule-list-schedulinggroups?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SchedulingGroupsRequestBuilde async def post(self,body: Optional[SchedulingGroup] = None, request_configuration: Optional[SchedulingGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[SchedulingGroup]: """ - Create a new schedulingGroup. This API is available in the following national cloud deployments. + Create a new schedulingGroup. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SchedulingGroup] @@ -92,7 +92,7 @@ async def post(self,body: Optional[SchedulingGroup] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[SchedulingGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of schedulingGroups in this schedule. This API is available in the following national cloud deployments. + Get the list of schedulingGroups in this schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SchedulingGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SchedulingGroup] = None, request_configuration: Optional[SchedulingGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new schedulingGroup. This API is available in the following national cloud deployments. + Create a new schedulingGroup. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[SchedulingGroup] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SchedulingGroupsRequestBuilderGetQueryParameters(): """ - Get the list of schedulingGroups in this schedule. This API is available in the following national cloud deployments. + Get the list of schedulingGroups in this schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/share/share_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/share/share_request_builder.py index bffa350e6aa..10245bccf1a 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/share/share_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/share/share_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SharePostRequestBody] = None, request_configuration: Optional[ShareRequestBuilderPostRequestConfiguration] = None) -> None: """ - Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. This API is available in the following national cloud deployments. + Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SharePostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[SharePostRequestBody] = None, request_configuration: Optional[ShareRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. This API is available in the following national cloud deployments. + Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SharePostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/shifts/item/shift_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/shifts/item/shift_item_request_builder.py index b06b2a626aa..28fc65fcdf3 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/shifts/item/shift_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/shifts/item/shift_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ShiftItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a shift from the schedule. This API is available in the following national cloud deployments. + Delete a shift from the schedule. 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/shift-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ShiftItemRequestBuilderDel async def get(self,request_configuration: Optional[ShiftItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Shift]: """ - Retrieve the properties and relationships of a shift object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a shift object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Shift] Find more info here: https://learn.microsoft.com/graph/api/shift-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[Shift] = None, request_configuration: Option def to_delete_request_information(self,request_configuration: Optional[ShiftItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a shift from the schedule. This API is available in the following national cloud deployments. + Delete a shift from the schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[ShiftItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ShiftItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a shift object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a shift object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[ShiftItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Shift] = None, request_configuration: Optional[ShiftItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Shift] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class ShiftItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration @dataclass class ShiftItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a shift object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a shift object by ID. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/shifts/shifts_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/shifts/shifts_request_builder.py index f14d915d290..f33f6b39d4d 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/shifts/shifts_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/shifts/shifts_request_builder.py @@ -45,7 +45,7 @@ def by_shift_id(self,shift_id: str) -> ShiftItemRequestBuilder: async def get(self,request_configuration: Optional[ShiftsRequestBuilderGetRequestConfiguration] = None) -> Optional[ShiftCollectionResponse]: """ - Get the list of shift instances in a schedule. This API is available in the following national cloud deployments. + Get the list of shift instances in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ShiftCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/schedule-list-shifts?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ShiftsRequestBuilderGetReques async def post(self,body: Optional[Shift] = None, request_configuration: Optional[ShiftsRequestBuilderPostRequestConfiguration] = None) -> Optional[Shift]: """ - Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. This API is available in the following national cloud deployments. + Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Shift] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Shift] = None, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[ShiftsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of shift instances in a schedule. This API is available in the following national cloud deployments. + Get the list of shift instances in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ShiftsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Shift] = None, request_configuration: Optional[ShiftsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. This API is available in the following national cloud deployments. + Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Shift] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ShiftsRequestBuilderGetQueryParameters(): """ - Get the list of shift instances in a schedule. This API is available in the following national cloud deployments. + Get the list of shift instances in a schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.py index b2255fe735b..c1ca02eeae6 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[SwapShiftsChangeRequestIte async def get(self,request_configuration: Optional[SwapShiftsChangeRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SwapShiftsChangeRequest]: """ - Retrieve the properties and relationships of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a swapShiftsChangeRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SwapShiftsChangeRequest] Find more info here: https://learn.microsoft.com/graph/api/swapshiftschangerequest-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[SwapShift request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SwapShiftsChangeRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a swapShiftsChangeRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[SwapShiftsCh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SwapShiftsChangeRequest] = None, request_configuration: Optional[SwapShiftsChangeRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[SwapShiftsChangeRequest] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class SwapShiftsChangeRequestItemRequestBuilderDeleteRequestConfiguration(BaseRe @dataclass class SwapShiftsChangeRequestItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a swapShiftsChangeRequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.py index 9c71e87c656..64175a6ab8a 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.py @@ -45,7 +45,7 @@ def by_swap_shifts_change_request_id(self,swap_shifts_change_request_id: str) -> async def get(self,request_configuration: Optional[SwapShiftsChangeRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[SwapShiftsChangeRequestCollectionResponse]: """ - Retrieve a list of swapShiftsChangeRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve a list of swapShiftsChangeRequest objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SwapShiftsChangeRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/swapshiftschangerequest-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SwapShiftsChangeRequestsReque async def post(self,body: Optional[SwapShiftsChangeRequest] = None, request_configuration: Optional[SwapShiftsChangeRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[SwapShiftsChangeRequest]: """ - Create an instance of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + Create an instance of a swapShiftsChangeRequest object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SwapShiftsChangeRequest] @@ -92,7 +92,7 @@ async def post(self,body: Optional[SwapShiftsChangeRequest] = None, request_conf def to_get_request_information(self,request_configuration: Optional[SwapShiftsChangeRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of swapShiftsChangeRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve a list of swapShiftsChangeRequest objects in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SwapShiftsCh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SwapShiftsChangeRequest] = None, request_configuration: Optional[SwapShiftsChangeRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an instance of a swapShiftsChangeRequest object. This API is available in the following national cloud deployments. + Create an instance of a swapShiftsChangeRequest object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[SwapShiftsChangeRequest] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SwapShiftsChangeRequestsRequestBuilderGetQueryParameters(): """ - Retrieve a list of swapShiftsChangeRequest objects in a team. This API is available in the following national cloud deployments. + Retrieve a list of swapShiftsChangeRequest objects in a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/clock_in/clock_in_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/clock_in/clock_in_request_builder.py index dfe8193e7f2..557ed28c016 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/clock_in/clock_in_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/clock_in/clock_in_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ClockInPostRequestBody] = None, request_configuration: Optional[ClockInRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeCard]: """ - Clock in to start a timeCard. This API is available in the following national cloud deployments. + Clock in to start a timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCard] @@ -54,7 +54,7 @@ async def post(self,body: Optional[ClockInPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ClockInPostRequestBody] = None, request_configuration: Optional[ClockInRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clock in to start a timeCard. This API is available in the following national cloud deployments. + Clock in to start a timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[ClockInPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/clock_out/clock_out_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/clock_out/clock_out_request_builder.py index b2b8b0095f6..00f97e1f639 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/clock_out/clock_out_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/clock_out/clock_out_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ClockOutPostRequestBody] = None, request_configuration: Optional[ClockOutRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeCard]: """ - Clock out to end an open timeCard. This API is available in the following national cloud deployments. + Clock out to end an open timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCard] @@ -54,7 +54,7 @@ async def post(self,body: Optional[ClockOutPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[ClockOutPostRequestBody] = None, request_configuration: Optional[ClockOutRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clock out to end an open timeCard. This API is available in the following national cloud deployments. + Clock out to end an open timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[ClockOutPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/confirm/confirm_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/confirm/confirm_request_builder.py index 6631f5ec4f7..6ae98b8e011 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/confirm/confirm_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/confirm/confirm_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ConfirmRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeCard]: """ - Confirm a specific timeCard. This API is available in the following national cloud deployments. + Confirm a specific timeCard. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCard] Find more info here: https://learn.microsoft.com/graph/api/timecard-confirm?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[ConfirmRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[ConfirmRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Confirm a specific timeCard. This API is available in the following national cloud deployments. + Confirm a specific timeCard. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[ConfirmRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ConfirmRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/end_break/end_break_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/end_break/end_break_request_builder.py index a5a1dc14575..0740fe9addb 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/end_break/end_break_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/end_break/end_break_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[EndBreakPostRequestBody] = None, request_configuration: Optional[EndBreakRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeCard]: """ - End the open break in a specific timeCard. This API is available in the following national cloud deployments. + End the open break in a specific timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCard] @@ -54,7 +54,7 @@ async def post(self,body: Optional[EndBreakPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[EndBreakPostRequestBody] = None, request_configuration: Optional[EndBreakRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - End the open break in a specific timeCard. This API is available in the following national cloud deployments. + End the open break in a specific timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[EndBreakPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/start_break/start_break_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/start_break/start_break_request_builder.py index af6da221c55..93784a50851 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/start_break/start_break_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/start_break/start_break_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[StartBreakPostRequestBody] = None, request_configuration: Optional[StartBreakRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeCard]: """ - Start a break in a specific timeCard. This API is available in the following national cloud deployments. + Start a break in a specific timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCard] @@ -54,7 +54,7 @@ async def post(self,body: Optional[StartBreakPostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[StartBreakPostRequestBody] = None, request_configuration: Optional[StartBreakRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Start a break in a specific timeCard. This API is available in the following national cloud deployments. + Start a break in a specific timeCard. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[StartBreakPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/time_card_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/time_card_item_request_builder.py index 8617c84b785..731d712c600 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/time_card_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/item/time_card_item_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TimeCardItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a timeCard instance in a schedule. This API is available in the following national cloud deployments. + Delete a timeCard instance in a schedule. 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/timecard-delete?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[TimeCardItemRequestBuilder async def get(self,request_configuration: Optional[TimeCardItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeCard]: """ - Get the properties and relationships of a timeCard object by ID. This API is available in the following national cloud deployments. + Get the properties and relationships of a timeCard object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCard] Find more info here: https://learn.microsoft.com/graph/api/timecard-get?view=graph-rest-1.0 @@ -99,7 +99,7 @@ async def patch(self,body: Optional[TimeCard] = None, request_configuration: Opt def to_delete_request_information(self,request_configuration: Optional[TimeCardItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a timeCard instance in a schedule. This API is available in the following national cloud deployments. + Delete a timeCard instance in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -110,12 +110,12 @@ def to_delete_request_information(self,request_configuration: Optional[TimeCardI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TimeCardItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a timeCard object by ID. This API is available in the following national cloud deployments. + Get the properties and relationships of a timeCard object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[TimeCardItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TimeCard] = None, request_configuration: Optional[TimeCardItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[TimeCard] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -209,7 +209,7 @@ class TimeCardItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class TimeCardItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a timeCard object by ID. This API is available in the following national cloud deployments. + Get the properties and relationships of a timeCard object by ID. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/time_cards_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/time_cards_request_builder.py index 1898cee4dab..0fcbf156cbe 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/time_cards_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_cards/time_cards_request_builder.py @@ -46,7 +46,7 @@ def by_time_card_id(self,time_card_id: str) -> TimeCardItemRequestBuilder: async def get(self,request_configuration: Optional[TimeCardsRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeCardCollectionResponse]: """ - Retrieve a list of timeCard entries in a schedule. This API is available in the following national cloud deployments. + Retrieve a list of timeCard entries in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCardCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/timecard-list?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[TimeCardsRequestBuilderGetReq async def post(self,body: Optional[TimeCard] = None, request_configuration: Optional[TimeCardsRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeCard]: """ - Create a timeCard instance in a schedule. This API is available in the following national cloud deployments. + Create a timeCard instance in a schedule. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeCard] @@ -93,7 +93,7 @@ async def post(self,body: Optional[TimeCard] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[TimeCardsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of timeCard entries in a schedule. This API is available in the following national cloud deployments. + Retrieve a list of timeCard entries in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[TimeCardsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TimeCard] = None, request_configuration: Optional[TimeCardsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a timeCard instance in a schedule. This API is available in the following national cloud deployments. + Create a timeCard instance in a schedule. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[TimeCard] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TimeCardsRequestBuilderGetQueryParameters(): """ - Retrieve a list of timeCard entries in a schedule. This API is available in the following national cloud deployments. + Retrieve a list of timeCard entries in a schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_off_reasons/item/time_off_reason_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_off_reasons/item/time_off_reason_item_request_builder.py index cae3804bec9..c332d912b78 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_off_reasons/item/time_off_reason_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_off_reasons/item/time_off_reason_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TimeOffReasonItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method does not remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. This API is available in the following national cloud deployments. + Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method does not remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. 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/timeoffreason-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[TimeOffReasonItemRequestBu async def get(self,request_configuration: Optional[TimeOffReasonItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeOffReason]: """ - Retrieve the properties and relationships of a timeOffReason object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeOffReason object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOffReason] Find more info here: https://learn.microsoft.com/graph/api/timeoffreason-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[TimeOffReason] = None, request_configuration def to_delete_request_information(self,request_configuration: Optional[TimeOffReasonItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method does not remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. This API is available in the following national cloud deployments. + Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method does not remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[TimeOffRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TimeOffReasonItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a timeOffReason object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeOffReason object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[TimeOffReaso request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TimeOffReason] = None, request_configuration: Optional[TimeOffReasonItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[TimeOffReason] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class TimeOffReasonItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class TimeOffReasonItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a timeOffReason object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeOffReason object by ID. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_off_reasons/time_off_reasons_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_off_reasons/time_off_reasons_request_builder.py index bb0bf331b23..bb6d5688b73 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_off_reasons/time_off_reasons_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_off_reasons/time_off_reasons_request_builder.py @@ -45,7 +45,7 @@ def by_time_off_reason_id(self,time_off_reason_id: str) -> TimeOffReasonItemRequ async def get(self,request_configuration: Optional[TimeOffReasonsRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeOffReasonCollectionResponse]: """ - Get the list of timeOffReasons in a schedule. This API is available in the following national cloud deployments. + Get the list of timeOffReasons in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOffReasonCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/schedule-list-timeoffreasons?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TimeOffReasonsRequestBuilderG async def post(self,body: Optional[TimeOffReason] = None, request_configuration: Optional[TimeOffReasonsRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeOffReason]: """ - Create a new timeOffReason. This API is available in the following national cloud deployments. + Create a new timeOffReason. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOffReason] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TimeOffReason] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[TimeOffReasonsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of timeOffReasons in a schedule. This API is available in the following national cloud deployments. + Get the list of timeOffReasons in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[TimeOffReaso request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TimeOffReason] = None, request_configuration: Optional[TimeOffReasonsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new timeOffReason. This API is available in the following national cloud deployments. + Create a new timeOffReason. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TimeOffReason] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TimeOffReasonsRequestBuilderGetQueryParameters(): """ - Get the list of timeOffReasons in a schedule. This API is available in the following national cloud deployments. + Get the list of timeOffReasons in a schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_off_requests/item/time_off_request_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_off_requests/item/time_off_request_item_request_builder.py index 9da45e1c8fc..4c738dd203f 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_off_requests/item/time_off_request_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_off_requests/item/time_off_request_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TimeOffRequestItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a timeOffRequest object. This API is available in the following national cloud deployments. + Delete a timeOffRequest object. 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/timeoffrequest-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[TimeOffRequestItemRequestB async def get(self,request_configuration: Optional[TimeOffRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeOffRequest]: """ - Retrieve the properties and relationships of a timeoffrequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeoffrequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOffRequest] Find more info here: https://learn.microsoft.com/graph/api/timeoffrequest-get?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[TimeOffRequest] = None, request_configuratio def to_delete_request_information(self,request_configuration: Optional[TimeOffRequestItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a timeOffRequest object. This API is available in the following national cloud deployments. + Delete a timeOffRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[TimeOffRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TimeOffRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a timeoffrequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeoffrequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TimeOffReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TimeOffRequest] = None, request_configuration: Optional[TimeOffRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[TimeOffRequest] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class TimeOffRequestItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class TimeOffRequestItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a timeoffrequest object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeoffrequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_off_requests/time_off_requests_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_off_requests/time_off_requests_request_builder.py index 1fec50d42d8..304c726f50d 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_off_requests/time_off_requests_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/time_off_requests/time_off_requests_request_builder.py @@ -45,7 +45,7 @@ def by_time_off_request_id(self,time_off_request_id: str) -> TimeOffRequestItemR async def get(self,request_configuration: Optional[TimeOffRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeOffRequestCollectionResponse]: """ - Retrieve a list of timeoffrequest objects in the team. This API is available in the following national cloud deployments. + Retrieve a list of timeoffrequest objects in the team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOffRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/timeoffrequest-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[TimeOffRequest] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[TimeOffRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of timeoffrequest objects in the team. This API is available in the following national cloud deployments. + Retrieve a list of timeoffrequest objects in the team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[TimeOffReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TimeOffRequest] = None, request_configuration: Optional[TimeOffRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[TimeOffRequest] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TimeOffRequestsRequestBuilderGetQueryParameters(): """ - Retrieve a list of timeoffrequest objects in the team. This API is available in the following national cloud deployments. + Retrieve a list of timeoffrequest objects in the team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/times_off/item/time_off_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/times_off/item/time_off_item_request_builder.py index c808e59f33d..41315534e0a 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/times_off/item/time_off_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/times_off/item/time_off_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TimeOffItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a timeOff instance from a schedule. This API is available in the following national cloud deployments. + Delete a timeOff instance from a schedule. 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/timeoff-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[TimeOffItemRequestBuilderD async def get(self,request_configuration: Optional[TimeOffItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeOff]: """ - Retrieve the properties and relationships of a timeOff object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeOff object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOff] Find more info here: https://learn.microsoft.com/graph/api/timeoff-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[TimeOff] = None, request_configuration: Opti def to_delete_request_information(self,request_configuration: Optional[TimeOffItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a timeOff instance from a schedule. This API is available in the following national cloud deployments. + Delete a timeOff instance from a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[TimeOffIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TimeOffItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a timeOff object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeOff object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[TimeOffItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TimeOff] = None, request_configuration: Optional[TimeOffItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[TimeOff] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class TimeOffItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurati @dataclass class TimeOffItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a timeOff object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a timeOff object by ID. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/times_off/times_off_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/times_off/times_off_request_builder.py index b9882e29950..615bc9fa640 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/times_off/times_off_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/schedule/times_off/times_off_request_builder.py @@ -45,7 +45,7 @@ def by_time_off_id(self,time_off_id: str) -> TimeOffItemRequestBuilder: async def get(self,request_configuration: Optional[TimesOffRequestBuilderGetRequestConfiguration] = None) -> Optional[TimeOffCollectionResponse]: """ - Get the list of timeOff instances in a schedule. This API is available in the following national cloud deployments. + Get the list of timeOff instances in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOffCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/schedule-list-timesoff?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TimesOffRequestBuilderGetRequ async def post(self,body: Optional[TimeOff] = None, request_configuration: Optional[TimesOffRequestBuilderPostRequestConfiguration] = None) -> Optional[TimeOff]: """ - Create a new timeOff instance in a schedule. This API is available in the following national cloud deployments. + Create a new timeOff instance in a schedule. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TimeOff] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TimeOff] = None, request_configuration: Optio def to_get_request_information(self,request_configuration: Optional[TimesOffRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of timeOff instances in a schedule. This API is available in the following national cloud deployments. + Get the list of timeOff instances in a schedule. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[TimesOffRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TimeOff] = None, request_configuration: Optional[TimesOffRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new timeOff instance in a schedule. This API is available in the following national cloud deployments. + Create a new timeOff instance in a schedule. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TimeOff] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TimesOffRequestBuilderGetQueryParameters(): """ - Get the list of timeOff instances in a schedule. This API is available in the following national cloud deployments. + Get the list of timeOff instances in a schedule. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/send_activity_notification/send_activity_notification_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/send_activity_notification/send_activity_notification_request_builder.py index 66c989a02cf..f1f9ad24862 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/send_activity_notification/send_activity_notification_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/send_activity_notification/send_activity_notification_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SendActivityNotificationPostRequestBody] = None, request_configuration: Optional[SendActivityNotificationRequestBuilderPostRequestConfiguration] = None) -> None: """ - Send an activity feed notification in the scope of a team. For more information, see sending Teams activity notifications. This API is available in the following national cloud deployments. + Send an activity feed notification in the scope of a team. For more information, see sending Teams activity notifications. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SendActivityNotificationPostRequestBody] = No def to_post_request_information(self,body: Optional[SendActivityNotificationPostRequestBody] = None, request_configuration: Optional[SendActivityNotificationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send an activity feed notification in the scope of a team. For more information, see sending Teams activity notifications. This API is available in the following national cloud deployments. + Send an activity feed notification in the scope of a team. For more information, see sending Teams activity notifications. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SendActivityNotificationPost request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/tags/item/members/item/teamwork_tag_member_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/tags/item/members/item/teamwork_tag_member_item_request_builder.py index 4c96c143a44..7458622b432 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/tags/item/members/item/teamwork_tag_member_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/tags/item/members/item/teamwork_tag_member_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TeamworkTagMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a member from a standard tag in a team. This API is available in the following national cloud deployments. + Delete a member from a standard tag in a team. 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/teamworktagmember-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[TeamworkTagMemberItemReque async def get(self,request_configuration: Optional[TeamworkTagMemberItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamworkTagMember]: """ - Get the properties and relationships of a member of a standard tag in a team. This API is available in the following national cloud deployments. + Get the properties and relationships of a member of a standard tag in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkTagMember] Find more info here: https://learn.microsoft.com/graph/api/teamworktagmember-get?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[TeamworkTagMember] = None, request_configura def to_delete_request_information(self,request_configuration: Optional[TeamworkTagMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a member from a standard tag in a team. This API is available in the following national cloud deployments. + Delete a member from a standard tag in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[TeamworkT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamworkTagMemberItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a member of a standard tag in a team. This API is available in the following national cloud deployments. + Get the properties and relationships of a member of a standard tag in a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamworkTagM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamworkTagMember] = None, request_configuration: Optional[TeamworkTagMemberItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[TeamworkTagMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class TeamworkTagMemberItemRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class TeamworkTagMemberItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a member of a standard tag in a team. This API is available in the following national cloud deployments. + Get the properties and relationships of a member of a standard tag in a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/tags/item/members/members_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/tags/item/members/members_request_builder.py index acb961086ef..0316728f1ec 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/tags/item/members/members_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/tags/item/members/members_request_builder.py @@ -45,7 +45,7 @@ def by_teamwork_tag_member_id(self,teamwork_tag_member_id: str) -> TeamworkTagMe async def get(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamworkTagMemberCollectionResponse]: """ - Get a list of the members of a standard tag in a team and their properties. This API is available in the following national cloud deployments. + Get a list of the members of a standard tag in a team and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkTagMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/teamworktagmember-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[MembersRequestBuilderGetReque async def post(self,body: Optional[TeamworkTagMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> Optional[TeamworkTagMember]: """ - Create a new teamworkTagMember object in a team. This API is available in the following national cloud deployments. + Create a new teamworkTagMember object in a team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkTagMember] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TeamworkTagMember] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the members of a standard tag in a team and their properties. This API is available in the following national cloud deployments. + Get a list of the members of a standard tag in a team and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamworkTagMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new teamworkTagMember object in a team. This API is available in the following national cloud deployments. + Create a new teamworkTagMember object in a team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TeamworkTagMember] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MembersRequestBuilderGetQueryParameters(): """ - Get a list of the members of a standard tag in a team and their properties. This API is available in the following national cloud deployments. + Get a list of the members of a standard tag in a team and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/tags/item/teamwork_tag_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/tags/item/teamwork_tag_item_request_builder.py index b071d40eeb8..07c19c05317 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/tags/item/teamwork_tag_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/tags/item/teamwork_tag_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TeamworkTagItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a tag object permanently. This API is available in the following national cloud deployments. + Delete a tag object permanently. 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/teamworktag-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[TeamworkTagItemRequestBuil async def get(self,request_configuration: Optional[TeamworkTagItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamworkTag]: """ - Read the properties and relationships of a tag object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tag object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkTag] Find more info here: https://learn.microsoft.com/graph/api/teamworktag-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[TeamworkTagItemRequestBuilder async def patch(self,body: Optional[TeamworkTag] = None, request_configuration: Optional[TeamworkTagItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[TeamworkTag]: """ - Update the properties of a teamworkTag object. This API is available in the following national cloud deployments. + Update the properties of a teamworkTag object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkTag] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[TeamworkTag] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[TeamworkTagItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a tag object permanently. This API is available in the following national cloud deployments. + Delete a tag object permanently. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[TeamworkT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamworkTagItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a tag object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tag object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[TeamworkTagI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamworkTag] = None, request_configuration: Optional[TeamworkTagItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a teamworkTag object. This API is available in the following national cloud deployments. + Update the properties of a teamworkTag object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[TeamworkTag] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class TeamworkTagItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class TeamworkTagItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a tag object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tag object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/tags/tags_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/tags/tags_request_builder.py index fdc7543f8cc..97840c179e3 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/tags/tags_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/tags/tags_request_builder.py @@ -45,7 +45,7 @@ def by_teamwork_tag_id(self,teamwork_tag_id: str) -> TeamworkTagItemRequestBuild async def get(self,request_configuration: Optional[TagsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamworkTagCollectionResponse]: """ - Get a list of the tag objects and their properties. This API is available in the following national cloud deployments. + Get a list of the tag objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkTagCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/teamworktag-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TagsRequestBuilderGetRequestC async def post(self,body: Optional[TeamworkTag] = None, request_configuration: Optional[TagsRequestBuilderPostRequestConfiguration] = None) -> Optional[TeamworkTag]: """ - Create a standard tag for members in the team. This API is available in the following national cloud deployments. + Create a standard tag for members in the team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamworkTag] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TeamworkTag] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[TagsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the tag objects and their properties. This API is available in the following national cloud deployments. + Get a list of the tag objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[TagsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamworkTag] = None, request_configuration: Optional[TagsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a standard tag for members in the team. This API is available in the following national cloud deployments. + Create a standard tag for members in the team. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TeamworkTag] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TagsRequestBuilderGetQueryParameters(): """ - Get a list of the tag objects and their properties. This API is available in the following national cloud deployments. + Get a list of the tag objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/team_definition_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/team_definition_request_builder.py index 115f1e20a61..5ca8b36f222 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/team_definition_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/team_definition_request_builder.py @@ -67,7 +67,7 @@ async def delete(self,request_configuration: Optional[TeamDefinitionRequestBuild async def get(self,request_configuration: Optional[TeamDefinitionRequestBuilderGetRequestConfiguration] = None) -> Optional[Team]: """ - Get the properties of the team associated with a teamTemplateDefinition object. This API is available in the following national cloud deployments. + Get the properties of the team associated with a teamTemplateDefinition object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Team] Find more info here: https://learn.microsoft.com/graph/api/teamtemplatedefinition-get-teamdefinition?view=graph-rest-1.0 @@ -124,12 +124,12 @@ def to_delete_request_information(self,request_configuration: Optional[TeamDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamDefinitionRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties of the team associated with a teamTemplateDefinition object. This API is available in the following national cloud deployments. + Get the properties of the team associated with a teamTemplateDefinition object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -141,7 +141,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Team] = None, request_configuration: Optional[TeamDefinitionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -160,7 +160,7 @@ def to_patch_request_information(self,body: Optional[Team] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -367,7 +367,7 @@ class TeamDefinitionRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class TeamDefinitionRequestBuilderGetQueryParameters(): """ - Get the properties of the team associated with a teamTemplateDefinition object. This API is available in the following national cloud deployments. + Get the properties of the team associated with a teamTemplateDefinition object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/template/template_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/template/template_request_builder.py index 480dbd1be23..9a00a54d171 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/template/template_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/template/template_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TemplateRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TemplateRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/template_definition/template_definition_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/template_definition/template_definition_request_builder.py index 88c8667f64f..47ed26d3424 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/template_definition/template_definition_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/template_definition/template_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TemplateDefi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TemplateDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/unarchive/unarchive_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/unarchive/unarchive_request_builder.py index c8d569d94a6..cdb64db71e8 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/unarchive/unarchive_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_definition/unarchive/unarchive_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> None: """ - Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. This API is available in the following national cloud deployments. + Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. 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/team-unarchive?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UnarchiveRequestBuilderPostR def to_post_request_information(self,request_configuration: Optional[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. This API is available in the following national cloud deployments. + Restore an archived team and restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UnarchiveRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnarchiveRequestBuilder: diff --git a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_template_definition_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_template_definition_item_request_builder.py index 876a4dc8f13..3790b5ae599 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_template_definition_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/definitions/item/team_template_definition_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[TeamTemplateDefinitionItem async def get(self,request_configuration: Optional[TeamTemplateDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamTemplateDefinition]: """ - Read the properties and relationships of a teamTemplateDefinition object. This API is available in the following national cloud deployments. + Read the properties and relationships of a teamTemplateDefinition object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamTemplateDefinition] Find more info here: https://learn.microsoft.com/graph/api/teamtemplatedefinition-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[TeamTempl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamTemplateDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a teamTemplateDefinition object. This API is available in the following national cloud deployments. + Read the properties and relationships of a teamTemplateDefinition object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamTemplate request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamTemplateDefinition] = None, request_configuration: Optional[TeamTemplateDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[TeamTemplateDefinition] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class TeamTemplateDefinitionItemRequestBuilderDeleteRequestConfiguration(BaseReq @dataclass class TeamTemplateDefinitionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a teamTemplateDefinition object. This API is available in the following national cloud deployments. + Read the properties and relationships of a teamTemplateDefinition object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/team_templates/item/team_template_item_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/item/team_template_item_request_builder.py index c1857e75302..4944891d975 100644 --- a/msgraph_beta/generated/teamwork/team_templates/item/team_template_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/item/team_template_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[TeamTempl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamTemplateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamTemplate request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamTemplate] = None, request_configuration: Optional[TeamTemplateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[TeamTemplate] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/teamwork/team_templates/team_templates_request_builder.py b/msgraph_beta/generated/teamwork/team_templates/team_templates_request_builder.py index 398d24392af..56f874d1053 100644 --- a/msgraph_beta/generated/teamwork/team_templates/team_templates_request_builder.py +++ b/msgraph_beta/generated/teamwork/team_templates/team_templates_request_builder.py @@ -45,10 +45,10 @@ def by_team_template_id(self,team_template_id: str) -> TeamTemplateItemRequestBu async def get(self,request_configuration: Optional[TeamTemplatesRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamTemplateCollectionResponse]: """ - Get the list of teamTemplate objects that are available for a tenant. This API is available in the following national cloud deployments. + List the teamTemplateDefinition objects associated with a teamTemplate. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamTemplateCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/teamwork-list-teamtemplates?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/teamtemplate-list-definitions?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -91,7 +91,7 @@ async def post(self,body: Optional[TeamTemplate] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[TeamTemplatesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of teamTemplate objects that are available for a tenant. This API is available in the following national cloud deployments. + List the teamTemplateDefinition objects associated with a teamTemplate. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamTemplate request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamTemplate] = None, request_configuration: Optional[TeamTemplatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[TeamTemplate] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TeamTemplatesRequestBuilderGetQueryParameters(): """ - Get the list of teamTemplate objects that are available for a tenant. This API is available in the following national cloud deployments. + List the teamTemplateDefinition objects associated with a teamTemplate. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/teams_app_settings/teams_app_settings_request_builder.py b/msgraph_beta/generated/teamwork/teams_app_settings/teams_app_settings_request_builder.py index 3d60ed685f5..69e7a2b7193 100644 --- a/msgraph_beta/generated/teamwork/teams_app_settings/teams_app_settings_request_builder.py +++ b/msgraph_beta/generated/teamwork/teams_app_settings/teams_app_settings_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[TeamsAppSettingsRequestBui async def get(self,request_configuration: Optional[TeamsAppSettingsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsAppSettings]: """ - Read the properties and relationships of a teamsAppSettings object. This API is available in the following national cloud deployments. + Read the properties and relationships of a teamsAppSettings object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAppSettings] Find more info here: https://learn.microsoft.com/graph/api/teamsappsettings-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[TeamsAppSettingsRequestBuilde async def patch(self,body: Optional[TeamsAppSettings] = None, request_configuration: Optional[TeamsAppSettingsRequestBuilderPatchRequestConfiguration] = None) -> Optional[TeamsAppSettings]: """ - Update the properties of a teamsAppSettings object. This API is available in the following national cloud deployments. + Update the properties of a teamsAppSettings object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAppSettings] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[TeamsAppS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamsAppSettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a teamsAppSettings object. This API is available in the following national cloud deployments. + Read the properties and relationships of a teamsAppSettings object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppSett request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamsAppSettings] = None, request_configuration: Optional[TeamsAppSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a teamsAppSettings object. This API is available in the following national cloud deployments. + Update the properties of a teamsAppSettings object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[TeamsAppSettings] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class TeamsAppSettingsRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class TeamsAppSettingsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a teamsAppSettings object. This API is available in the following national cloud deployments. + Read the properties and relationships of a teamsAppSettings object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/teamwork_request_builder.py b/msgraph_beta/generated/teamwork/teamwork_request_builder.py index 8db22d49d30..0985e963800 100644 --- a/msgraph_beta/generated/teamwork/teamwork_request_builder.py +++ b/msgraph_beta/generated/teamwork/teamwork_request_builder.py @@ -35,9 +35,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[TeamworkRequestBuilderGetRequestConfiguration] = None) -> Optional[Teamwork]: """ - Get teamwork + Get the properties and relationships of a teamwork object, such as the region of the organization and whether Microsoft Teams is enabled. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Teamwork] + Find more info here: https://learn.microsoft.com/graph/api/teamwork-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -80,7 +81,7 @@ async def patch(self,body: Optional[Teamwork] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[TeamworkRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get teamwork + Get the properties and relationships of a teamwork object, such as the region of the organization and whether Microsoft Teams is enabled. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -92,7 +93,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamworkRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Teamwork] = None, request_configuration: Optional[TeamworkRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -111,7 +112,7 @@ def to_patch_request_information(self,body: Optional[Teamwork] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -191,7 +192,7 @@ def workforce_integrations(self) -> WorkforceIntegrationsRequestBuilder: @dataclass class TeamworkRequestBuilderGetQueryParameters(): """ - Get teamwork + Get the properties and relationships of a teamwork object, such as the region of the organization and whether Microsoft Teams is enabled. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/workforce_integrations/item/workforce_integration_item_request_builder.py b/msgraph_beta/generated/teamwork/workforce_integrations/item/workforce_integration_item_request_builder.py index b728e23805a..ad3a53a6458 100644 --- a/msgraph_beta/generated/teamwork/workforce_integrations/item/workforce_integration_item_request_builder.py +++ b/msgraph_beta/generated/teamwork/workforce_integrations/item/workforce_integration_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[WorkforceIntegrationItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an instance of a workforceIntegration. This API is available in the following national cloud deployments. + Delete an instance of a workforceIntegration. 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/workforceintegration-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[WorkforceIntegrationItemRe async def get(self,request_configuration: Optional[WorkforceIntegrationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkforceIntegration]: """ - Retrieve the properties and relationships of a workforceintegration object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a workforceintegration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkforceIntegration] Find more info here: https://learn.microsoft.com/graph/api/workforceintegration-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[WorkforceIntegrationItemReque async def patch(self,body: Optional[WorkforceIntegration] = None, request_configuration: Optional[WorkforceIntegrationItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[WorkforceIntegration]: """ - Update the properties of a workforceintegration object. This API is available in the following national cloud deployments. + Update the properties of a workforceintegration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkforceIntegration] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[WorkforceIntegration] = None, request_config def to_delete_request_information(self,request_configuration: Optional[WorkforceIntegrationItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an instance of a workforceIntegration. This API is available in the following national cloud deployments. + Delete an instance of a workforceIntegration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Workforce request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkforceIntegrationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a workforceintegration object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a workforceintegration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[WorkforceInt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkforceIntegration] = None, request_configuration: Optional[WorkforceIntegrationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a workforceintegration object. This API is available in the following national cloud deployments. + Update the properties of a workforceintegration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[WorkforceIntegration] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class WorkforceIntegrationItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class WorkforceIntegrationItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a workforceintegration object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a workforceintegration object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/teamwork/workforce_integrations/workforce_integrations_request_builder.py b/msgraph_beta/generated/teamwork/workforce_integrations/workforce_integrations_request_builder.py index b4fb32ef23e..e529a251278 100644 --- a/msgraph_beta/generated/teamwork/workforce_integrations/workforce_integrations_request_builder.py +++ b/msgraph_beta/generated/teamwork/workforce_integrations/workforce_integrations_request_builder.py @@ -45,7 +45,7 @@ def by_workforce_integration_id(self,workforce_integration_id: str) -> Workforce async def get(self,request_configuration: Optional[WorkforceIntegrationsRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkforceIntegrationCollectionResponse]: """ - Retrieve a list of workforceIntegration objects. This API is available in the following national cloud deployments. + Retrieve a list of workforceIntegration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkforceIntegrationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/workforceintegration-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[WorkforceIntegrationsRequestB async def post(self,body: Optional[WorkforceIntegration] = None, request_configuration: Optional[WorkforceIntegrationsRequestBuilderPostRequestConfiguration] = None) -> Optional[WorkforceIntegration]: """ - Create a new workforceIntegration object. This API is available in the following national cloud deployments. + Create a new workforceIntegration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkforceIntegration] @@ -92,7 +92,7 @@ async def post(self,body: Optional[WorkforceIntegration] = None, request_configu def to_get_request_information(self,request_configuration: Optional[WorkforceIntegrationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of workforceIntegration objects. This API is available in the following national cloud deployments. + Retrieve a list of workforceIntegration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[WorkforceInt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WorkforceIntegration] = None, request_configuration: Optional[WorkforceIntegrationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new workforceIntegration object. This API is available in the following national cloud deployments. + Create a new workforceIntegration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[WorkforceIntegration] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class WorkforceIntegrationsRequestBuilderGetQueryParameters(): """ - Retrieve a list of workforceIntegration objects. This API is available in the following national cloud deployments. + Retrieve a list of workforceIntegration objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/delegated_admin_customers/delegated_admin_customers_request_builder.py b/msgraph_beta/generated/tenant_relationships/delegated_admin_customers/delegated_admin_customers_request_builder.py index ca80f9fa383..47b4cd68a49 100644 --- a/msgraph_beta/generated/tenant_relationships/delegated_admin_customers/delegated_admin_customers_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/delegated_admin_customers/delegated_admin_customers_request_builder.py @@ -45,7 +45,7 @@ def by_delegated_admin_customer_id(self,delegated_admin_customer_id: str) -> Del async def get(self,request_configuration: Optional[DelegatedAdminCustomersRequestBuilderGetRequestConfiguration] = None) -> Optional[DelegatedAdminCustomerCollectionResponse]: """ - Get a list of the delegatedAdminCustomer objects and their properties. This API is available in the following national cloud deployments. + Get a list of the delegatedAdminCustomer objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DelegatedAdminCustomerCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/tenantrelationship-list-delegatedadmincustomers?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[DelegatedAdminCustomer] = None, request_confi def to_get_request_information(self,request_configuration: Optional[DelegatedAdminCustomersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the delegatedAdminCustomer objects and their properties. This API is available in the following national cloud deployments. + Get a list of the delegatedAdminCustomer objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[DelegatedAdm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DelegatedAdminCustomer] = None, request_configuration: Optional[DelegatedAdminCustomersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[DelegatedAdminCustomer] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DelegatedAdminCustomersRequestBuilderGetQueryParameters(): """ - Get a list of the delegatedAdminCustomer objects and their properties. This API is available in the following national cloud deployments. + Get a list of the delegatedAdminCustomer objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/delegated_admin_customers/item/delegated_admin_customer_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/delegated_admin_customers/item/delegated_admin_customer_item_request_builder.py index ccf26cb681b..5f0c1f03927 100644 --- a/msgraph_beta/generated/tenant_relationships/delegated_admin_customers/item/delegated_admin_customer_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/delegated_admin_customers/item/delegated_admin_customer_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[DelegatedAdminCustomerItem async def get(self,request_configuration: Optional[DelegatedAdminCustomerItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DelegatedAdminCustomer]: """ - Read the properties of a delegatedAdminCustomer object. This API is available in the following national cloud deployments. + Read the properties of a delegatedAdminCustomer object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DelegatedAdminCustomer] Find more info here: https://learn.microsoft.com/graph/api/delegatedadmincustomer-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Delegated request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DelegatedAdminCustomerItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties of a delegatedAdminCustomer object. This API is available in the following national cloud deployments. + Read the properties of a delegatedAdminCustomer object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[DelegatedAdm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DelegatedAdminCustomer] = None, request_configuration: Optional[DelegatedAdminCustomerItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[DelegatedAdminCustomer] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class DelegatedAdminCustomerItemRequestBuilderDeleteRequestConfiguration(BaseReq @dataclass class DelegatedAdminCustomerItemRequestBuilderGetQueryParameters(): """ - Read the properties of a delegatedAdminCustomer object. This API is available in the following national cloud deployments. + Read the properties of a delegatedAdminCustomer object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/delegated_admin_customers/item/service_management_details/item/delegated_admin_service_management_detail_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/delegated_admin_customers/item/service_management_details/item/delegated_admin_service_management_detail_item_request_builder.py index 70874c9500e..806496408c9 100644 --- a/msgraph_beta/generated/tenant_relationships/delegated_admin_customers/item/service_management_details/item/delegated_admin_service_management_detail_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/delegated_admin_customers/item/service_management_details/item/delegated_admin_service_management_detail_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Delegated request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DelegatedAdminServiceManagementDetailItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DelegatedAdm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DelegatedAdminServiceManagementDetail] = None, request_configuration: Optional[DelegatedAdminServiceManagementDetailItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DelegatedAdminServiceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/delegated_admin_customers/item/service_management_details/service_management_details_request_builder.py b/msgraph_beta/generated/tenant_relationships/delegated_admin_customers/item/service_management_details/service_management_details_request_builder.py index e88ec6ce900..dda22ea9dac 100644 --- a/msgraph_beta/generated/tenant_relationships/delegated_admin_customers/item/service_management_details/service_management_details_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/delegated_admin_customers/item/service_management_details/service_management_details_request_builder.py @@ -45,7 +45,7 @@ def by_delegated_admin_service_management_detail_id(self,delegated_admin_service async def get(self,request_configuration: Optional[ServiceManagementDetailsRequestBuilderGetRequestConfiguration] = None) -> Optional[DelegatedAdminServiceManagementDetailCollectionResponse]: """ - Get a list of the delegatedAdminServiceManagementDetail objects and their properties. This API is available in the following national cloud deployments. + Get a list of the delegatedAdminServiceManagementDetail objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DelegatedAdminServiceManagementDetailCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/delegatedadmincustomer-list-servicemanagementdetails?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[DelegatedAdminServiceManagementDetail] = None def to_get_request_information(self,request_configuration: Optional[ServiceManagementDetailsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the delegatedAdminServiceManagementDetail objects and their properties. This API is available in the following national cloud deployments. + Get a list of the delegatedAdminServiceManagementDetail objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceManag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DelegatedAdminServiceManagementDetail] = None, request_configuration: Optional[ServiceManagementDetailsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[DelegatedAdminServiceManagem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceManagementDetailsRequestBuilderGetQueryParameters(): """ - Get a list of the delegatedAdminServiceManagementDetail objects and their properties. This API is available in the following national cloud deployments. + Get a list of the delegatedAdminServiceManagementDetail objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/delegated_admin_relationships_request_builder.py b/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/delegated_admin_relationships_request_builder.py index f3e3ace11be..a57c041a8f3 100644 --- a/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/delegated_admin_relationships_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/delegated_admin_relationships_request_builder.py @@ -45,7 +45,7 @@ def by_delegated_admin_relationship_id(self,delegated_admin_relationship_id: str async def get(self,request_configuration: Optional[DelegatedAdminRelationshipsRequestBuilderGetRequestConfiguration] = None) -> Optional[DelegatedAdminRelationshipCollectionResponse]: """ - Get a list of the delegatedAdminRelationship objects and their properties. This API is available in the following national cloud deployments. + Get a list of the delegatedAdminRelationship objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DelegatedAdminRelationshipCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/tenantrelationship-list-delegatedadminrelationships?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[DelegatedAdminRelationshipsRe async def post(self,body: Optional[DelegatedAdminRelationship] = None, request_configuration: Optional[DelegatedAdminRelationshipsRequestBuilderPostRequestConfiguration] = None) -> Optional[DelegatedAdminRelationship]: """ - Create a new delegatedAdminRelationship object. This API is available in the following national cloud deployments. + Create a new delegatedAdminRelationship object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DelegatedAdminRelationship] @@ -92,7 +92,7 @@ async def post(self,body: Optional[DelegatedAdminRelationship] = None, request_c def to_get_request_information(self,request_configuration: Optional[DelegatedAdminRelationshipsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the delegatedAdminRelationship objects and their properties. This API is available in the following national cloud deployments. + Get a list of the delegatedAdminRelationship objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[DelegatedAdm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DelegatedAdminRelationship] = None, request_configuration: Optional[DelegatedAdminRelationshipsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new delegatedAdminRelationship object. This API is available in the following national cloud deployments. + Create a new delegatedAdminRelationship object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[DelegatedAdminRelationship] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DelegatedAdminRelationshipsRequestBuilderGetQueryParameters(): """ - Get a list of the delegatedAdminRelationship objects and their properties. This API is available in the following national cloud deployments. + Get a list of the delegatedAdminRelationship objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/access_assignments/access_assignments_request_builder.py b/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/access_assignments/access_assignments_request_builder.py index 6d2984abe2a..af86b3fa8e4 100644 --- a/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/access_assignments/access_assignments_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/access_assignments/access_assignments_request_builder.py @@ -45,7 +45,7 @@ def by_delegated_admin_access_assignment_id(self,delegated_admin_access_assignme async def get(self,request_configuration: Optional[AccessAssignmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[DelegatedAdminAccessAssignmentCollectionResponse]: """ - Get a list of the delegatedAdminAccessAssignment objects and their properties. This API is available in the following national cloud deployments. + Get a list of the delegatedAdminAccessAssignment objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DelegatedAdminAccessAssignmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/delegatedadminrelationship-list-accessassignments?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AccessAssignmentsRequestBuild async def post(self,body: Optional[DelegatedAdminAccessAssignment] = None, request_configuration: Optional[AccessAssignmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[DelegatedAdminAccessAssignment]: """ - Create a new delegatedAdminAccessAssignment object. This API is available in the following national cloud deployments. + Create a new delegatedAdminAccessAssignment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DelegatedAdminAccessAssignment] @@ -92,7 +92,7 @@ async def post(self,body: Optional[DelegatedAdminAccessAssignment] = None, reque def to_get_request_information(self,request_configuration: Optional[AccessAssignmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the delegatedAdminAccessAssignment objects and their properties. This API is available in the following national cloud deployments. + Get a list of the delegatedAdminAccessAssignment objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[AccessAssign request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DelegatedAdminAccessAssignment] = None, request_configuration: Optional[AccessAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new delegatedAdminAccessAssignment object. This API is available in the following national cloud deployments. + Create a new delegatedAdminAccessAssignment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[DelegatedAdminAccessAssignme request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AccessAssignmentsRequestBuilderGetQueryParameters(): """ - Get a list of the delegatedAdminAccessAssignment objects and their properties. This API is available in the following national cloud deployments. + Get a list of the delegatedAdminAccessAssignment objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/access_assignments/item/delegated_admin_access_assignment_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/access_assignments/item/delegated_admin_access_assignment_item_request_builder.py index d004797d27f..d92e05431ea 100644 --- a/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/access_assignments/item/delegated_admin_access_assignment_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/access_assignments/item/delegated_admin_access_assignment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[DelegatedAdminAccessAssignmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a delegatedAdminAccessAssignment object. This API is available in the following national cloud deployments. + Delete a delegatedAdminAccessAssignment object. 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/delegatedadminaccessassignment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[DelegatedAdminAccessAssign async def get(self,request_configuration: Optional[DelegatedAdminAccessAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DelegatedAdminAccessAssignment]: """ - Read the properties of a delegatedAdminAccessAssignment object. This API is available in the following national cloud deployments. + Read the properties of a delegatedAdminAccessAssignment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DelegatedAdminAccessAssignment] Find more info here: https://learn.microsoft.com/graph/api/delegatedadminaccessassignment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[DelegatedAdminAccessAssignmen async def patch(self,body: Optional[DelegatedAdminAccessAssignment] = None, request_configuration: Optional[DelegatedAdminAccessAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[DelegatedAdminAccessAssignment]: """ - Update the properties of a delegatedAdminAccessAssignment object. This API is available in the following national cloud deployments. + Update the properties of a delegatedAdminAccessAssignment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DelegatedAdminAccessAssignment] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[DelegatedAdminAccessAssignment] = None, requ def to_delete_request_information(self,request_configuration: Optional[DelegatedAdminAccessAssignmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a delegatedAdminAccessAssignment object. This API is available in the following national cloud deployments. + Delete a delegatedAdminAccessAssignment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Delegated request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DelegatedAdminAccessAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties of a delegatedAdminAccessAssignment object. This API is available in the following national cloud deployments. + Read the properties of a delegatedAdminAccessAssignment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[DelegatedAdm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DelegatedAdminAccessAssignment] = None, request_configuration: Optional[DelegatedAdminAccessAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a delegatedAdminAccessAssignment object. This API is available in the following national cloud deployments. + Update the properties of a delegatedAdminAccessAssignment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[DelegatedAdminAccessAssignm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class DelegatedAdminAccessAssignmentItemRequestBuilderDeleteRequestConfiguration @dataclass class DelegatedAdminAccessAssignmentItemRequestBuilderGetQueryParameters(): """ - Read the properties of a delegatedAdminAccessAssignment object. This API is available in the following national cloud deployments. + Read the properties of a delegatedAdminAccessAssignment object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/delegated_admin_relationship_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/delegated_admin_relationship_item_request_builder.py index 1e5ec2b02e1..57f51c18624 100644 --- a/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/delegated_admin_relationship_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/delegated_admin_relationship_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[DelegatedAdminRelationshipItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a delegatedAdminRelationship object. A relationship can only be deleted if it's in the 'created' status. This API is available in the following national cloud deployments. + Delete a delegatedAdminRelationship object. A relationship can only be deleted if it's in the 'created' status. 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/delegatedadminrelationship-delete?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[DelegatedAdminRelationship async def get(self,request_configuration: Optional[DelegatedAdminRelationshipItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DelegatedAdminRelationship]: """ - Read the properties of a delegatedAdminRelationship object. This API is available in the following national cloud deployments. + Read the properties of a delegatedAdminRelationship object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DelegatedAdminRelationship] Find more info here: https://learn.microsoft.com/graph/api/delegatedadminrelationship-get?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[DelegatedAdminRelationshipIte async def patch(self,body: Optional[DelegatedAdminRelationship] = None, request_configuration: Optional[DelegatedAdminRelationshipItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[DelegatedAdminRelationship]: """ - Update the properties of a delegatedAdminRelationship object. You can only update a relationship when it's in the created status. However, you can update the autoExtendDuration property when the relationship is in either the created or active status. This API is available in the following national cloud deployments. + Update the properties of a delegatedAdminRelationship object. You can only update a relationship when it's in the created status. However, you can update the autoExtendDuration property when the relationship is in either the created or active status. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DelegatedAdminRelationship] @@ -98,7 +98,7 @@ async def patch(self,body: Optional[DelegatedAdminRelationship] = None, request_ def to_delete_request_information(self,request_configuration: Optional[DelegatedAdminRelationshipItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a delegatedAdminRelationship object. A relationship can only be deleted if it's in the 'created' status. This API is available in the following national cloud deployments. + Delete a delegatedAdminRelationship object. A relationship can only be deleted if it's in the 'created' status. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[Delegated request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DelegatedAdminRelationshipItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties of a delegatedAdminRelationship object. This API is available in the following national cloud deployments. + Read the properties of a delegatedAdminRelationship object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,12 +126,12 @@ def to_get_request_information(self,request_configuration: Optional[DelegatedAdm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DelegatedAdminRelationship] = None, request_configuration: Optional[DelegatedAdminRelationshipItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a delegatedAdminRelationship object. You can only update a relationship when it's in the created status. However, you can update the autoExtendDuration property when the relationship is in either the created or active status. This API is available in the following national cloud deployments. + Update the properties of a delegatedAdminRelationship object. You can only update a relationship when it's in the created status. However, you can update the autoExtendDuration property when the relationship is in either the created or active status. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[DelegatedAdminRelationship] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -199,7 +199,7 @@ class DelegatedAdminRelationshipItemRequestBuilderDeleteRequestConfiguration(Bas @dataclass class DelegatedAdminRelationshipItemRequestBuilderGetQueryParameters(): """ - Read the properties of a delegatedAdminRelationship object. This API is available in the following national cloud deployments. + Read the properties of a delegatedAdminRelationship object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/operations/item/delegated_admin_relationship_operation_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/operations/item/delegated_admin_relationship_operation_item_request_builder.py index 254e248dcc3..5418565e122 100644 --- a/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/operations/item/delegated_admin_relationship_operation_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/operations/item/delegated_admin_relationship_operation_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[DelegatedAdminRelationship async def get(self,request_configuration: Optional[DelegatedAdminRelationshipOperationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DelegatedAdminRelationshipOperation]: """ - Read the properties of a delegatedAdminRelationshipOperation object. This API is available in the following national cloud deployments. + Read the properties of a delegatedAdminRelationshipOperation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DelegatedAdminRelationshipOperation] Find more info here: https://learn.microsoft.com/graph/api/delegatedadminrelationshipoperation-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Delegated request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DelegatedAdminRelationshipOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties of a delegatedAdminRelationshipOperation object. This API is available in the following national cloud deployments. + Read the properties of a delegatedAdminRelationshipOperation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DelegatedAdm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DelegatedAdminRelationshipOperation] = None, request_configuration: Optional[DelegatedAdminRelationshipOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DelegatedAdminRelationshipO request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class DelegatedAdminRelationshipOperationItemRequestBuilderDeleteRequestConfigur @dataclass class DelegatedAdminRelationshipOperationItemRequestBuilderGetQueryParameters(): """ - Read the properties of a delegatedAdminRelationshipOperation object. This API is available in the following national cloud deployments. + Read the properties of a delegatedAdminRelationshipOperation object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/operations/operations_request_builder.py b/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/operations/operations_request_builder.py index 4a33c41d426..14e45bc9ce2 100644 --- a/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/operations/operations_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/operations/operations_request_builder.py @@ -45,7 +45,7 @@ def by_delegated_admin_relationship_operation_id(self,delegated_admin_relationsh async def get(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> Optional[DelegatedAdminRelationshipOperationCollectionResponse]: """ - Get a list of the delegatedAdminRelationshipOperation objects and their properties. This API is available in the following national cloud deployments. + Get a list of the delegatedAdminRelationshipOperation objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DelegatedAdminRelationshipOperationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/delegatedadminrelationship-list-operations?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[DelegatedAdminRelationshipOperation] = None, def to_get_request_information(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the delegatedAdminRelationshipOperation objects and their properties. This API is available in the following national cloud deployments. + Get a list of the delegatedAdminRelationshipOperation objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DelegatedAdminRelationshipOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[DelegatedAdminRelationshipOp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OperationsRequestBuilderGetQueryParameters(): """ - Get a list of the delegatedAdminRelationshipOperation objects and their properties. This API is available in the following national cloud deployments. + Get a list of the delegatedAdminRelationshipOperation objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/requests/item/delegated_admin_relationship_request_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/requests/item/delegated_admin_relationship_request_item_request_builder.py index 8cf86a2a419..0eee60202f2 100644 --- a/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/requests/item/delegated_admin_relationship_request_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/requests/item/delegated_admin_relationship_request_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[DelegatedAdminRelationship async def get(self,request_configuration: Optional[DelegatedAdminRelationshipRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DelegatedAdminRelationshipRequest]: """ - Read the properties and relationships of a delegatedAdminRelationshipRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of a delegatedAdminRelationshipRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DelegatedAdminRelationshipRequest] Find more info here: https://learn.microsoft.com/graph/api/delegatedadminrelationshiprequest-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Delegated request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DelegatedAdminRelationshipRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a delegatedAdminRelationshipRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of a delegatedAdminRelationshipRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DelegatedAdm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DelegatedAdminRelationshipRequest] = None, request_configuration: Optional[DelegatedAdminRelationshipRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DelegatedAdminRelationshipR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class DelegatedAdminRelationshipRequestItemRequestBuilderDeleteRequestConfigurat @dataclass class DelegatedAdminRelationshipRequestItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a delegatedAdminRelationshipRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of a delegatedAdminRelationshipRequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/requests/requests_request_builder.py b/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/requests/requests_request_builder.py index 2d506d3317d..1638eaf7b0a 100644 --- a/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/requests/requests_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/delegated_admin_relationships/item/requests/requests_request_builder.py @@ -45,7 +45,7 @@ def by_delegated_admin_relationship_request_id(self,delegated_admin_relationship async def get(self,request_configuration: Optional[RequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[DelegatedAdminRelationshipRequestCollectionResponse]: """ - Get a list of the delegatedAdminRelationshipRequest objects and their properties. This API is available in the following national cloud deployments. + Get a list of the delegatedAdminRelationshipRequest objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DelegatedAdminRelationshipRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/delegatedadminrelationship-list-requests?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[RequestsRequestBuilderGetRequ async def post(self,body: Optional[DelegatedAdminRelationshipRequest] = None, request_configuration: Optional[RequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[DelegatedAdminRelationshipRequest]: """ - Create a new delegatedAdminRelationshipRequest object. This API is available in the following national cloud deployments. + Create a new delegatedAdminRelationshipRequest object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DelegatedAdminRelationshipRequest] @@ -92,7 +92,7 @@ async def post(self,body: Optional[DelegatedAdminRelationshipRequest] = None, re def to_get_request_information(self,request_configuration: Optional[RequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the delegatedAdminRelationshipRequest objects and their properties. This API is available in the following national cloud deployments. + Get a list of the delegatedAdminRelationshipRequest objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[RequestsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DelegatedAdminRelationshipRequest] = None, request_configuration: Optional[RequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new delegatedAdminRelationshipRequest object. This API is available in the following national cloud deployments. + Create a new delegatedAdminRelationshipRequest object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[DelegatedAdminRelationshipRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RequestsRequestBuilderGetQueryParameters(): """ - Get a list of the delegatedAdminRelationshipRequest objects and their properties. This API is available in the following national cloud deployments. + Get a list of the delegatedAdminRelationshipRequest objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/find_tenant_information_by_domain_name_with_domain_name/find_tenant_information_by_domain_name_with_domain_name_request_builder.py b/msgraph_beta/generated/tenant_relationships/find_tenant_information_by_domain_name_with_domain_name/find_tenant_information_by_domain_name_with_domain_name_request_builder.py index 15f7b7c63c1..3aa668b626c 100644 --- a/msgraph_beta/generated/tenant_relationships/find_tenant_information_by_domain_name_with_domain_name/find_tenant_information_by_domain_name_with_domain_name_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/find_tenant_information_by_domain_name_with_domain_name/find_tenant_information_by_domain_name_with_domain_name_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[FindTenantIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FindTenantInformationByDomainNameWithDomainNameRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/find_tenant_information_by_tenant_id_with_tenant_id/find_tenant_information_by_tenant_id_with_tenant_id_request_builder.py b/msgraph_beta/generated/tenant_relationships/find_tenant_information_by_tenant_id_with_tenant_id/find_tenant_information_by_tenant_id_with_tenant_id_request_builder.py index 8a646e507b1..e961a991c47 100644 --- a/msgraph_beta/generated/tenant_relationships/find_tenant_information_by_tenant_id_with_tenant_id/find_tenant_information_by_tenant_id_with_tenant_id_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/find_tenant_information_by_tenant_id_with_tenant_id/find_tenant_information_by_tenant_id_with_tenant_id_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[FindTenantIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FindTenantInformationByTenantIdWithTenantIdRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/aggregated_policy_compliances/aggregated_policy_compliances_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/aggregated_policy_compliances/aggregated_policy_compliances_request_builder.py index 519df7dda81..566e0fc76f0 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/aggregated_policy_compliances/aggregated_policy_compliances_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/aggregated_policy_compliances/aggregated_policy_compliances_request_builder.py @@ -45,7 +45,7 @@ def by_aggregated_policy_compliance_id(self,aggregated_policy_compliance_id: str async def get(self,request_configuration: Optional[AggregatedPolicyCompliancesRequestBuilderGetRequestConfiguration] = None) -> Optional[AggregatedPolicyComplianceCollectionResponse]: """ - Get a list of the aggregatedPolicyCompliance objects and their properties. This API is available in the following national cloud deployments. + Get a list of the aggregatedPolicyCompliance objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AggregatedPolicyComplianceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-aggregatedpolicycompliances?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AggregatedPolicyCompliance] = None, request_c def to_get_request_information(self,request_configuration: Optional[AggregatedPolicyCompliancesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the aggregatedPolicyCompliance objects and their properties. This API is available in the following national cloud deployments. + Get a list of the aggregatedPolicyCompliance objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AggregatedPo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AggregatedPolicyCompliance] = None, request_configuration: Optional[AggregatedPolicyCompliancesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AggregatedPolicyCompliance] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AggregatedPolicyCompliancesRequestBuilderGetQueryParameters(): """ - Get a list of the aggregatedPolicyCompliance objects and their properties. This API is available in the following national cloud deployments. + Get a list of the aggregatedPolicyCompliance objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/aggregated_policy_compliances/item/aggregated_policy_compliance_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/aggregated_policy_compliances/item/aggregated_policy_compliance_item_request_builder.py index eb3a036819b..9164fa69069 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/aggregated_policy_compliances/item/aggregated_policy_compliance_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/aggregated_policy_compliances/item/aggregated_policy_compliance_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Aggregate request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AggregatedPolicyComplianceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AggregatedPo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AggregatedPolicyCompliance] = None, request_configuration: Optional[AggregatedPolicyComplianceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AggregatedPolicyCompliance] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/app_performances/app_performances_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/app_performances/app_performances_request_builder.py index e85c2ad177b..79871bb2b84 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/app_performances/app_performances_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/app_performances/app_performances_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AppPerforman request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AppPerformance] = None, request_configuration: Optional[AppPerformancesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AppPerformance] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/app_performances/item/app_performance_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/app_performances/item/app_performance_item_request_builder.py index ea14d29b700..3ded49bdb71 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/app_performances/item/app_performance_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/app_performances/item/app_performance_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AppPerfor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AppPerformanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AppPerforman request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AppPerformance] = None, request_configuration: Optional[AppPerformanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AppPerformance] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/audit_events/audit_events_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/audit_events/audit_events_request_builder.py index f18e4b7de94..8791d965641 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/audit_events/audit_events_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/audit_events/audit_events_request_builder.py @@ -45,7 +45,7 @@ def by_audit_event_id(self,audit_event_id: str) -> AuditEventItemRequestBuilder: async def get(self,request_configuration: Optional[AuditEventsRequestBuilderGetRequestConfiguration] = None) -> Optional[AuditEventCollectionResponse]: """ - Get a list of the auditEvent objects and their properties. This API is available in the following national cloud deployments. + Get a list of the auditEvent objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuditEventCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-auditevents?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AuditEvent] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AuditEventsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the auditEvent objects and their properties. This API is available in the following national cloud deployments. + Get a list of the auditEvent objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AuditEventsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AuditEvent] = None, request_configuration: Optional[AuditEventsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AuditEvent] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AuditEventsRequestBuilderGetQueryParameters(): """ - Get a list of the auditEvent objects and their properties. This API is available in the following national cloud deployments. + Get a list of the auditEvent objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/audit_events/item/audit_event_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/audit_events/item/audit_event_item_request_builder.py index acd8edff5f4..4536fc5fc87 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/audit_events/item/audit_event_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/audit_events/item/audit_event_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[AuditEventItemRequestBuild async def get(self,request_configuration: Optional[AuditEventItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AuditEvent]: """ - Read the properties and relationships of an auditEvent object. This API is available in the following national cloud deployments. + Read the properties and relationships of an auditEvent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuditEvent] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-auditevent-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[AuditEven request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AuditEventItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an auditEvent object. This API is available in the following national cloud deployments. + Read the properties and relationships of an auditEvent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AuditEventIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AuditEvent] = None, request_configuration: Optional[AuditEventItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AuditEvent] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class AuditEventItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AuditEventItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an auditEvent object. This API is available in the following national cloud deployments. + Read the properties and relationships of an auditEvent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pc_connections/cloud_pc_connections_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pc_connections/cloud_pc_connections_request_builder.py index 22d3919405d..c59a1d22f04 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pc_connections/cloud_pc_connections_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pc_connections/cloud_pc_connections_request_builder.py @@ -45,7 +45,7 @@ def by_cloud_pc_connection_id(self,cloud_pc_connection_id: str) -> CloudPcConnec async def get(self,request_configuration: Optional[CloudPcConnectionsRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcConnectionCollectionResponse]: """ - Get a list of the cloudPcConnection objects and their properties. This API is available in the following national cloud deployments. + Get a list of the cloudPcConnection objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcConnectionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-cloudpcconnections?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[CloudPcConnection] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[CloudPcConnectionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the cloudPcConnection objects and their properties. This API is available in the following national cloud deployments. + Get a list of the cloudPcConnection objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[CloudPcConne request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CloudPcConnection] = None, request_configuration: Optional[CloudPcConnectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[CloudPcConnection] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CloudPcConnectionsRequestBuilderGetQueryParameters(): """ - Get a list of the cloudPcConnection objects and their properties. This API is available in the following national cloud deployments. + Get a list of the cloudPcConnection objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pc_connections/item/cloud_pc_connection_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pc_connections/item/cloud_pc_connection_item_request_builder.py index 007e2af7a13..2e9b1ab5be5 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pc_connections/item/cloud_pc_connection_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pc_connections/item/cloud_pc_connection_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[CloudPcConnectionItemReque async def get(self,request_configuration: Optional[CloudPcConnectionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcConnection]: """ - Read the properties and relationships of a cloudPcConnection object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcConnection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcConnection] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-cloudpcconnection-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[CloudPcCo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CloudPcConnectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a cloudPcConnection object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcConnection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CloudPcConne request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CloudPcConnection] = None, request_configuration: Optional[CloudPcConnectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[CloudPcConnection] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class CloudPcConnectionItemRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class CloudPcConnectionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a cloudPcConnection object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcConnection object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pc_devices/cloud_pc_devices_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pc_devices/cloud_pc_devices_request_builder.py index 1b3a16cfe4c..8a46f3a9e25 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pc_devices/cloud_pc_devices_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pc_devices/cloud_pc_devices_request_builder.py @@ -45,7 +45,7 @@ def by_cloud_pc_device_id(self,cloud_pc_device_id: str) -> CloudPcDeviceItemRequ async def get(self,request_configuration: Optional[CloudPcDevicesRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcDeviceCollectionResponse]: """ - Get a list of the cloudPcDevice objects and their properties. This API is available in the following national cloud deployments. + Get a list of the cloudPcDevice objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcDeviceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-cloudpcdevices?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[CloudPcDevice] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[CloudPcDevicesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the cloudPcDevice objects and their properties. This API is available in the following national cloud deployments. + Get a list of the cloudPcDevice objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[CloudPcDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CloudPcDevice] = None, request_configuration: Optional[CloudPcDevicesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[CloudPcDevice] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CloudPcDevicesRequestBuilderGetQueryParameters(): """ - Get a list of the cloudPcDevice objects and their properties. This API is available in the following national cloud deployments. + Get a list of the cloudPcDevice objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pc_devices/item/cloud_pc_device_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pc_devices/item/cloud_pc_device_item_request_builder.py index 407c6622f10..5058649d19e 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pc_devices/item/cloud_pc_device_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pc_devices/item/cloud_pc_device_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[CloudPcDeviceItemRequestBu async def get(self,request_configuration: Optional[CloudPcDeviceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcDevice]: """ - Read the properties and relationships of a cloudPcDevice object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcDevice object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcDevice] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-cloudpcdevice-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[CloudPcDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CloudPcDeviceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a cloudPcDevice object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcDevice object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CloudPcDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CloudPcDevice] = None, request_configuration: Optional[CloudPcDeviceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[CloudPcDevice] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class CloudPcDeviceItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class CloudPcDeviceItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a cloudPcDevice object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcDevice object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pcs_overview/cloud_pcs_overview_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pcs_overview/cloud_pcs_overview_request_builder.py index 3aa036383e0..af5c1c66430 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pcs_overview/cloud_pcs_overview_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pcs_overview/cloud_pcs_overview_request_builder.py @@ -45,7 +45,7 @@ def by_cloud_pc_overview_tenant_id(self,cloud_pc_overview_tenant_id: str) -> Clo async def get(self,request_configuration: Optional[CloudPcsOverviewRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcOverviewCollectionResponse]: """ - Get a list of the cloudPcOverview objects and their properties. This API is available in the following national cloud deployments. + Get a list of the cloudPcOverview objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcOverviewCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-cloudpcsoverview?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[CloudPcOverview] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[CloudPcsOverviewRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the cloudPcOverview objects and their properties. This API is available in the following national cloud deployments. + Get a list of the cloudPcOverview objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[CloudPcsOver request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CloudPcOverview] = None, request_configuration: Optional[CloudPcsOverviewRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[CloudPcOverview] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CloudPcsOverviewRequestBuilderGetQueryParameters(): """ - Get a list of the cloudPcOverview objects and their properties. This API is available in the following national cloud deployments. + Get a list of the cloudPcOverview objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pcs_overview/item/cloud_pc_overview_tenant_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pcs_overview/item/cloud_pc_overview_tenant_item_request_builder.py index 8516559bcc7..76544e19825 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pcs_overview/item/cloud_pc_overview_tenant_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/cloud_pcs_overview/item/cloud_pc_overview_tenant_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[CloudPcOverviewTenantItemR async def get(self,request_configuration: Optional[CloudPcOverviewTenantItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPcOverview]: """ - Read the properties and relationships of a cloudPcOverview object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcOverview object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcOverview] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-cloudpcoverview-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[CloudPcOv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CloudPcOverviewTenantItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a cloudPcOverview object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcOverview object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CloudPcOverv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CloudPcOverview] = None, request_configuration: Optional[CloudPcOverviewTenantItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[CloudPcOverview] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class CloudPcOverviewTenantItemRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class CloudPcOverviewTenantItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a cloudPcOverview object. This API is available in the following national cloud deployments. + Read the properties and relationships of a cloudPcOverview object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/conditional_access_policy_coverages/conditional_access_policy_coverages_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/conditional_access_policy_coverages/conditional_access_policy_coverages_request_builder.py index 2d5010849f4..6f9cb37cc1e 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/conditional_access_policy_coverages/conditional_access_policy_coverages_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/conditional_access_policy_coverages/conditional_access_policy_coverages_request_builder.py @@ -45,7 +45,7 @@ def by_conditional_access_policy_coverage_id(self,conditional_access_policy_cove async def get(self,request_configuration: Optional[ConditionalAccessPolicyCoveragesRequestBuilderGetRequestConfiguration] = None) -> Optional[ConditionalAccessPolicyCoverageCollectionResponse]: """ - Get a list of the conditionalAccessPolicyCoverage objects and their properties. Use this operation to list Microsoft Entra Conditional Access policy coverage for all tenants that are being managed by the multi-tenant management platform. This API is available in the following national cloud deployments. + Get a list of the conditionalAccessPolicyCoverage objects and their properties. Use this operation to list Microsoft Entra Conditional Access policy coverage for all tenants that are being managed by the multi-tenant management platform. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConditionalAccessPolicyCoverageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-conditionalaccesspolicycoverages?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ConditionalAccessPolicyCoverage] = None, requ def to_get_request_information(self,request_configuration: Optional[ConditionalAccessPolicyCoveragesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the conditionalAccessPolicyCoverage objects and their properties. Use this operation to list Microsoft Entra Conditional Access policy coverage for all tenants that are being managed by the multi-tenant management platform. This API is available in the following national cloud deployments. + Get a list of the conditionalAccessPolicyCoverage objects and their properties. Use this operation to list Microsoft Entra Conditional Access policy coverage for all tenants that are being managed by the multi-tenant management platform. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ConditionalA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ConditionalAccessPolicyCoverage] = None, request_configuration: Optional[ConditionalAccessPolicyCoveragesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ConditionalAccessPolicyCover request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ConditionalAccessPolicyCoveragesRequestBuilderGetQueryParameters(): """ - Get a list of the conditionalAccessPolicyCoverage objects and their properties. Use this operation to list Microsoft Entra Conditional Access policy coverage for all tenants that are being managed by the multi-tenant management platform. This API is available in the following national cloud deployments. + Get a list of the conditionalAccessPolicyCoverage objects and their properties. Use this operation to list Microsoft Entra Conditional Access policy coverage for all tenants that are being managed by the multi-tenant management platform. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/conditional_access_policy_coverages/item/conditional_access_policy_coverage_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/conditional_access_policy_coverages/item/conditional_access_policy_coverage_item_request_builder.py index 9f06ab5e83c..1c1eab5ae96 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/conditional_access_policy_coverages/item/conditional_access_policy_coverage_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/conditional_access_policy_coverages/item/conditional_access_policy_coverage_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ConditionalAccessPolicyCov async def get(self,request_configuration: Optional[ConditionalAccessPolicyCoverageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ConditionalAccessPolicyCoverage]: """ - Read the properties and relationships of a conditionalAccessPolicyCoverage object. This API is available in the following national cloud deployments. + Read the properties and relationships of a conditionalAccessPolicyCoverage object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConditionalAccessPolicyCoverage] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-conditionalaccesspolicycoverage-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Condition request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConditionalAccessPolicyCoverageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a conditionalAccessPolicyCoverage object. This API is available in the following national cloud deployments. + Read the properties and relationships of a conditionalAccessPolicyCoverage object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ConditionalA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConditionalAccessPolicyCoverage] = None, request_configuration: Optional[ConditionalAccessPolicyCoverageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ConditionalAccessPolicyCove request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ConditionalAccessPolicyCoverageItemRequestBuilderDeleteRequestConfiguratio @dataclass class ConditionalAccessPolicyCoverageItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a conditionalAccessPolicyCoverage object. This API is available in the following national cloud deployments. + Read the properties and relationships of a conditionalAccessPolicyCoverage object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/credential_user_registrations_summaries/credential_user_registrations_summaries_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/credential_user_registrations_summaries/credential_user_registrations_summaries_request_builder.py index c740bb10d21..5539db7780b 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/credential_user_registrations_summaries/credential_user_registrations_summaries_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/credential_user_registrations_summaries/credential_user_registrations_summaries_request_builder.py @@ -45,7 +45,7 @@ def by_credential_user_registrations_summary_id(self,credential_user_registratio async def get(self,request_configuration: Optional[CredentialUserRegistrationsSummariesRequestBuilderGetRequestConfiguration] = None) -> Optional[CredentialUserRegistrationsSummaryCollectionResponse]: """ - Get a list of the credentialUserRegistrationsSummary objects and their properties. This API is available in the following national cloud deployments. + Get a list of the credentialUserRegistrationsSummary objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CredentialUserRegistrationsSummaryCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-credentialuserregistrationssummaries?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[CredentialUserRegistrationsSummary] = None, r def to_get_request_information(self,request_configuration: Optional[CredentialUserRegistrationsSummariesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the credentialUserRegistrationsSummary objects and their properties. This API is available in the following national cloud deployments. + Get a list of the credentialUserRegistrationsSummary objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[CredentialUs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CredentialUserRegistrationsSummary] = None, request_configuration: Optional[CredentialUserRegistrationsSummariesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[CredentialUserRegistrationsS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CredentialUserRegistrationsSummariesRequestBuilderGetQueryParameters(): """ - Get a list of the credentialUserRegistrationsSummary objects and their properties. This API is available in the following national cloud deployments. + Get a list of the credentialUserRegistrationsSummary objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/credential_user_registrations_summaries/item/credential_user_registrations_summary_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/credential_user_registrations_summaries/item/credential_user_registrations_summary_item_request_builder.py index d49c8343f7d..3217c7c8abb 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/credential_user_registrations_summaries/item/credential_user_registrations_summary_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/credential_user_registrations_summaries/item/credential_user_registrations_summary_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[CredentialUserRegistration async def get(self,request_configuration: Optional[CredentialUserRegistrationsSummaryItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CredentialUserRegistrationsSummary]: """ - Read the properties and relationships of a credentialUserRegistrationsSummary object. This API is available in the following national cloud deployments. + Read the properties and relationships of a credentialUserRegistrationsSummary object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CredentialUserRegistrationsSummary] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-credentialuserregistrationssummary-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Credentia request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CredentialUserRegistrationsSummaryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a credentialUserRegistrationsSummary object. This API is available in the following national cloud deployments. + Read the properties and relationships of a credentialUserRegistrationsSummary object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CredentialUs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CredentialUserRegistrationsSummary] = None, request_configuration: Optional[CredentialUserRegistrationsSummaryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[CredentialUserRegistrations request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class CredentialUserRegistrationsSummaryItemRequestBuilderDeleteRequestConfigura @dataclass class CredentialUserRegistrationsSummaryItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a credentialUserRegistrationsSummary object. This API is available in the following national cloud deployments. + Read the properties and relationships of a credentialUserRegistrationsSummary object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/device_app_performances/device_app_performances_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/device_app_performances/device_app_performances_request_builder.py index b636247df38..e97d85dc557 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/device_app_performances/device_app_performances_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/device_app_performances/device_app_performances_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceAppPer request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceAppPerformance] = None, request_configuration: Optional[DeviceAppPerformancesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceAppPerformance] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/device_app_performances/item/device_app_performance_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/device_app_performances/item/device_app_performance_item_request_builder.py index 4a5768394ed..01ce8a765ee 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/device_app_performances/item/device_app_performance_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/device_app_performances/item/device_app_performance_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceAppPerformanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceAppPer request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceAppPerformance] = None, request_configuration: Optional[DeviceAppPerformanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceAppPerformance] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/device_compliance_policy_setting_state_summaries/device_compliance_policy_setting_state_summaries_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/device_compliance_policy_setting_state_summaries/device_compliance_policy_setting_state_summaries_request_builder.py index 5c61e4dc661..571c901c1fe 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/device_compliance_policy_setting_state_summaries/device_compliance_policy_setting_state_summaries_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/device_compliance_policy_setting_state_summaries/device_compliance_policy_setting_state_summaries_request_builder.py @@ -45,7 +45,7 @@ def by_device_compliance_policy_setting_state_summary_id(self,device_compliance_ async def get(self,request_configuration: Optional[DeviceCompliancePolicySettingStateSummariesRequestBuilderGetRequestConfiguration] = None) -> Optional[DeviceCompliancePolicySettingStateSummaryCollectionResponse]: """ - Get a list of the deviceCompliancePolicySettingStateSummary objects and their properties. This API is available in the following national cloud deployments. + Get a list of the deviceCompliancePolicySettingStateSummary objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceCompliancePolicySettingStateSummaryCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-devicecompliancepolicysettingstatesummary?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[DeviceCompliancePolicySettingStateSummary] = def to_get_request_information(self,request_configuration: Optional[DeviceCompliancePolicySettingStateSummariesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the deviceCompliancePolicySettingStateSummary objects and their properties. This API is available in the following national cloud deployments. + Get a list of the deviceCompliancePolicySettingStateSummary objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCompli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceCompliancePolicySettingStateSummary] = None, request_configuration: Optional[DeviceCompliancePolicySettingStateSummariesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[DeviceCompliancePolicySettin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DeviceCompliancePolicySettingStateSummariesRequestBuilderGetQueryParameters(): """ - Get a list of the deviceCompliancePolicySettingStateSummary objects and their properties. This API is available in the following national cloud deployments. + Get a list of the deviceCompliancePolicySettingStateSummary objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/device_compliance_policy_setting_state_summaries/item/device_compliance_policy_setting_state_summary_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/device_compliance_policy_setting_state_summaries/item/device_compliance_policy_setting_state_summary_item_request_builder.py index b208dee095d..f69e07ae59d 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/device_compliance_policy_setting_state_summaries/item/device_compliance_policy_setting_state_summary_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/device_compliance_policy_setting_state_summaries/item/device_compliance_policy_setting_state_summary_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[DeviceCompliancePolicySett async def get(self,request_configuration: Optional[DeviceCompliancePolicySettingStateSummaryItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DeviceCompliancePolicySettingStateSummary]: """ - Read the properties and relationships of a deviceCompliancePolicySettingStateSummary object. This API is available in the following national cloud deployments. + Read the properties and relationships of a deviceCompliancePolicySettingStateSummary object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceCompliancePolicySettingStateSummary] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-devicecompliancepolicysettingstatesummary-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCom request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceCompliancePolicySettingStateSummaryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a deviceCompliancePolicySettingStateSummary object. This API is available in the following national cloud deployments. + Read the properties and relationships of a deviceCompliancePolicySettingStateSummary object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCompli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceCompliancePolicySettingStateSummary] = None, request_configuration: Optional[DeviceCompliancePolicySettingStateSummaryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceCompliancePolicySetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class DeviceCompliancePolicySettingStateSummaryItemRequestBuilderDeleteRequestCo @dataclass class DeviceCompliancePolicySettingStateSummaryItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a deviceCompliancePolicySettingStateSummary object. This API is available in the following national cloud deployments. + Read the properties and relationships of a deviceCompliancePolicySettingStateSummary object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/device_health_statuses/device_health_statuses_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/device_health_statuses/device_health_statuses_request_builder.py index 8f22eb6902a..349112d30b8 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/device_health_statuses/device_health_statuses_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/device_health_statuses/device_health_statuses_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceHealth request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceHealthStatus] = None, request_configuration: Optional[DeviceHealthStatusesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceHealthStatus] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/device_health_statuses/item/device_health_status_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/device_health_statuses/item/device_health_status_item_request_builder.py index 1351b954a33..1a2bad9eae1 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/device_health_statuses/item/device_health_status_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/device_health_statuses/item/device_health_status_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceHea request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceHealthStatusItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceHealth request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceHealthStatus] = None, request_configuration: Optional[DeviceHealthStatusItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceHealthStatus] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_device_compliance_trends/item/managed_device_compliance_trend_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_device_compliance_trends/item/managed_device_compliance_trend_item_request_builder.py index 2ef2a03a9bb..988cc0a234e 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_device_compliance_trends/item/managed_device_compliance_trend_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_device_compliance_trends/item/managed_device_compliance_trend_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ManagedDeviceComplianceTre async def get(self,request_configuration: Optional[ManagedDeviceComplianceTrendItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ManagedDeviceComplianceTrend]: """ - Read the properties and relationships of a managedDeviceComplianceTrend object. This API is available in the following national cloud deployments. + Read the properties and relationships of a managedDeviceComplianceTrend object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedDeviceComplianceTrend] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-manageddevicecompliancetrend-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedDeviceComplianceTrendItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a managedDeviceComplianceTrend object. This API is available in the following national cloud deployments. + Read the properties and relationships of a managedDeviceComplianceTrend object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedDeviceComplianceTrend] = None, request_configuration: Optional[ManagedDeviceComplianceTrendItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ManagedDeviceComplianceTren request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ManagedDeviceComplianceTrendItemRequestBuilderDeleteRequestConfiguration(B @dataclass class ManagedDeviceComplianceTrendItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a managedDeviceComplianceTrend object. This API is available in the following national cloud deployments. + Read the properties and relationships of a managedDeviceComplianceTrend object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_device_compliance_trends/managed_device_compliance_trends_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_device_compliance_trends/managed_device_compliance_trends_request_builder.py index 6c295085c1e..7641c0ca740 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_device_compliance_trends/managed_device_compliance_trends_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_device_compliance_trends/managed_device_compliance_trends_request_builder.py @@ -45,7 +45,7 @@ def by_managed_device_compliance_trend_id(self,managed_device_compliance_trend_i async def get(self,request_configuration: Optional[ManagedDeviceComplianceTrendsRequestBuilderGetRequestConfiguration] = None) -> Optional[ManagedDeviceComplianceTrendCollectionResponse]: """ - Get a list of the managedDeviceComplianceTrend objects and their properties. This API is available in the following national cloud deployments. + Get a list of the managedDeviceComplianceTrend objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedDeviceComplianceTrendCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-manageddevicecompliancetrends?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ManagedDeviceComplianceTrend] = None, request def to_get_request_information(self,request_configuration: Optional[ManagedDeviceComplianceTrendsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the managedDeviceComplianceTrend objects and their properties. This API is available in the following national cloud deployments. + Get a list of the managedDeviceComplianceTrend objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedDeviceComplianceTrend] = None, request_configuration: Optional[ManagedDeviceComplianceTrendsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ManagedDeviceComplianceTrend request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ManagedDeviceComplianceTrendsRequestBuilderGetQueryParameters(): """ - Get a list of the managedDeviceComplianceTrend objects and their properties. This API is available in the following national cloud deployments. + Get a list of the managedDeviceComplianceTrend objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_device_compliances/item/managed_device_compliance_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_device_compliances/item/managed_device_compliance_item_request_builder.py index bc1a35c84f4..2e29cbf2e35 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_device_compliances/item/managed_device_compliance_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_device_compliances/item/managed_device_compliance_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ManagedDeviceComplianceIte async def get(self,request_configuration: Optional[ManagedDeviceComplianceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ManagedDeviceCompliance]: """ - Read the properties and relationships of a managedDeviceCompliance object. This API is available in the following national cloud deployments. + Read the properties and relationships of a managedDeviceCompliance object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedDeviceCompliance] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-manageddevicecompliance-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedDeviceComplianceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a managedDeviceCompliance object. This API is available in the following national cloud deployments. + Read the properties and relationships of a managedDeviceCompliance object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedDeviceCompliance] = None, request_configuration: Optional[ManagedDeviceComplianceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ManagedDeviceCompliance] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ManagedDeviceComplianceItemRequestBuilderDeleteRequestConfiguration(BaseRe @dataclass class ManagedDeviceComplianceItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a managedDeviceCompliance object. This API is available in the following national cloud deployments. + Read the properties and relationships of a managedDeviceCompliance object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_device_compliances/managed_device_compliances_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_device_compliances/managed_device_compliances_request_builder.py index 7b3be30aed5..2565fd0c0fa 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_device_compliances/managed_device_compliances_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_device_compliances/managed_device_compliances_request_builder.py @@ -45,7 +45,7 @@ def by_managed_device_compliance_id(self,managed_device_compliance_id: str) -> M async def get(self,request_configuration: Optional[ManagedDeviceCompliancesRequestBuilderGetRequestConfiguration] = None) -> Optional[ManagedDeviceComplianceCollectionResponse]: """ - Get a list of the managedDeviceCompliance objects and their properties. This API is available in the following national cloud deployments. + Get a list of the managedDeviceCompliance objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedDeviceComplianceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-manageddevicecompliances?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ManagedDeviceCompliance] = None, request_conf def to_get_request_information(self,request_configuration: Optional[ManagedDeviceCompliancesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the managedDeviceCompliance objects and their properties. This API is available in the following national cloud deployments. + Get a list of the managedDeviceCompliance objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedDeviceCompliance] = None, request_configuration: Optional[ManagedDeviceCompliancesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ManagedDeviceCompliance] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ManagedDeviceCompliancesRequestBuilderGetQueryParameters(): """ - Get a list of the managedDeviceCompliance objects and their properties. This API is available in the following national cloud deployments. + Get a list of the managedDeviceCompliance objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_logs/item/alert/alert_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_logs/item/alert/alert_request_builder.py index 15b7af7c6b8..3fb08b3b37f 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_logs/item/alert/alert_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_logs/item/alert/alert_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AlertRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AlertRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_logs/item/managed_tenant_alert_log_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_logs/item/managed_tenant_alert_log_item_request_builder.py index ac24ef543cd..834d730f4e0 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_logs/item/managed_tenant_alert_log_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_logs/item/managed_tenant_alert_log_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedTenantAlertLogItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedTenan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedTenantAlertLog] = None, request_configuration: Optional[ManagedTenantAlertLogItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ManagedTenantAlertLog] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_logs/managed_tenant_alert_logs_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_logs/managed_tenant_alert_logs_request_builder.py index ed2fbf1ed8b..6e06b3c3ecc 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_logs/managed_tenant_alert_logs_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_logs/managed_tenant_alert_logs_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedTenan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedTenantAlertLog] = None, request_configuration: Optional[ManagedTenantAlertLogsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedTenantAlertLog] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rule_definitions/item/alert_rules/alert_rules_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rule_definitions/item/alert_rules/alert_rules_request_builder.py index f11b39e1c8d..a3802fbb473 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rule_definitions/item/alert_rules/alert_rules_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rule_definitions/item/alert_rules/alert_rules_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[AlertRulesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AlertRulesRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rule_definitions/item/alert_rules/item/managed_tenant_alert_rule_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rule_definitions/item/alert_rules/item/managed_tenant_alert_rule_item_request_builder.py index 3f1d57347bc..b1e4d903bd7 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rule_definitions/item/alert_rules/item/managed_tenant_alert_rule_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rule_definitions/item/alert_rules/item/managed_tenant_alert_rule_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedTenan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagedTenantAlertRuleItemRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rule_definitions/item/managed_tenant_alert_rule_definition_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rule_definitions/item/managed_tenant_alert_rule_definition_item_request_builder.py index 4150e40c98a..37c25f67c23 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rule_definitions/item/managed_tenant_alert_rule_definition_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rule_definitions/item/managed_tenant_alert_rule_definition_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedTenantAlertRuleDefinitionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedTenan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedTenantAlertRuleDefinition] = None, request_configuration: Optional[ManagedTenantAlertRuleDefinitionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ManagedTenantAlertRuleDefin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rule_definitions/managed_tenant_alert_rule_definitions_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rule_definitions/managed_tenant_alert_rule_definitions_request_builder.py index 7de277dfe40..f7df8c4904d 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rule_definitions/managed_tenant_alert_rule_definitions_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rule_definitions/managed_tenant_alert_rule_definitions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedTenan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedTenantAlertRuleDefinition] = None, request_configuration: Optional[ManagedTenantAlertRuleDefinitionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedTenantAlertRuleDefini request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rules/item/alerts/alerts_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rules/item/alerts/alerts_request_builder.py index 8544cc79ad3..60a6ae16eb0 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rules/item/alerts/alerts_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rules/item/alerts/alerts_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[AlertsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AlertsRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rules/item/alerts/item/managed_tenant_alert_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rules/item/alerts/item/managed_tenant_alert_item_request_builder.py index 3b2696f5e39..d6db65fe286 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rules/item/alerts/item/managed_tenant_alert_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rules/item/alerts/item/managed_tenant_alert_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedTenan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagedTenantAlertItemRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rules/item/managed_tenant_alert_rule_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rules/item/managed_tenant_alert_rule_item_request_builder.py index 75a1b7cde4f..fc5738d288f 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rules/item/managed_tenant_alert_rule_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rules/item/managed_tenant_alert_rule_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedTenantAlertRuleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedTenan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedTenantAlertRule] = None, request_configuration: Optional[ManagedTenantAlertRuleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ManagedTenantAlertRule] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rules/item/rule_definition/rule_definition_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rules/item/rule_definition/rule_definition_request_builder.py index 1601036c3f5..375efb86eda 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rules/item/rule_definition/rule_definition_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rules/item/rule_definition/rule_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RuleDefiniti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RuleDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rules/managed_tenant_alert_rules_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rules/managed_tenant_alert_rules_request_builder.py index a97ca9196f5..ff023388c18 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rules/managed_tenant_alert_rules_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alert_rules/managed_tenant_alert_rules_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedTenan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedTenantAlertRule] = None, request_configuration: Optional[ManagedTenantAlertRulesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedTenantAlertRule] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/alert_logs/alert_logs_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/alert_logs/alert_logs_request_builder.py index 738fb9c0c94..30c8693345a 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/alert_logs/alert_logs_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/alert_logs/alert_logs_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[AlertLogsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AlertLogsRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/alert_logs/item/managed_tenant_alert_log_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/alert_logs/item/managed_tenant_alert_log_item_request_builder.py index 5afe8ef7c02..489005778ad 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/alert_logs/item/managed_tenant_alert_log_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/alert_logs/item/managed_tenant_alert_log_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedTenan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagedTenantAlertLogItemRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/alert_rule/alert_rule_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/alert_rule/alert_rule_request_builder.py index 3d8788825bc..d0162b2adb5 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/alert_rule/alert_rule_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/alert_rule/alert_rule_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AlertRuleReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AlertRuleRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/api_notifications/api_notifications_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/api_notifications/api_notifications_request_builder.py index 26c4aa29bf1..0db354f7fd3 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/api_notifications/api_notifications_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/api_notifications/api_notifications_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[ApiNotificat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ApiNotificationsRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/api_notifications/item/managed_tenant_api_notification_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/api_notifications/item/managed_tenant_api_notification_item_request_builder.py index 5565600610b..fde892ae256 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/api_notifications/item/managed_tenant_api_notification_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/api_notifications/item/managed_tenant_api_notification_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedTenan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagedTenantApiNotificationItemRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/email_notifications/email_notifications_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/email_notifications/email_notifications_request_builder.py index c4be5b5ee16..4de597b417e 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/email_notifications/email_notifications_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/email_notifications/email_notifications_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[EmailNotific request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EmailNotificationsRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/email_notifications/item/managed_tenant_email_notification_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/email_notifications/item/managed_tenant_email_notification_item_request_builder.py index 17da109598e..e641a1ea96a 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/email_notifications/item/managed_tenant_email_notification_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/email_notifications/item/managed_tenant_email_notification_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedTenan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagedTenantEmailNotificationItemRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/managed_tenant_alert_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/managed_tenant_alert_item_request_builder.py index c9a335ffce2..0e233877869 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/managed_tenant_alert_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/managed_tenant_alert_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedTenantAlertItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedTenan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedTenantAlert] = None, request_configuration: Optional[ManagedTenantAlertItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[ManagedTenantAlert] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/microsoft_graph_managed_tenants_add_user_input_log/microsoft_graph_managed_tenants_add_user_input_log_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/microsoft_graph_managed_tenants_add_user_input_log/microsoft_graph_managed_tenants_add_user_input_log_request_builder.py index 8a5468359d4..c012378b1fc 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/microsoft_graph_managed_tenants_add_user_input_log/microsoft_graph_managed_tenants_add_user_input_log_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/item/microsoft_graph_managed_tenants_add_user_input_log/microsoft_graph_managed_tenants_add_user_input_log_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[AddUserInputLogPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/managed_tenant_alerts_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/managed_tenant_alerts_request_builder.py index 69d6cd90f19..612805628dc 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/managed_tenant_alerts_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_alerts/managed_tenant_alerts_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedTenan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedTenantAlert] = None, request_configuration: Optional[ManagedTenantAlertsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedTenantAlert] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_api_notifications/item/alert/alert_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_api_notifications/item/alert/alert_request_builder.py index 98ca22105c6..4c1d860e9a8 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_api_notifications/item/alert/alert_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_api_notifications/item/alert/alert_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AlertRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AlertRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_api_notifications/item/managed_tenant_api_notification_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_api_notifications/item/managed_tenant_api_notification_item_request_builder.py index 1efd6710a24..2a1a2b73939 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_api_notifications/item/managed_tenant_api_notification_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_api_notifications/item/managed_tenant_api_notification_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedTenantApiNotificationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedTenan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedTenantApiNotification] = None, request_configuration: Optional[ManagedTenantApiNotificationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ManagedTenantApiNotificatio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_api_notifications/managed_tenant_api_notifications_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_api_notifications/managed_tenant_api_notifications_request_builder.py index 9ad552474a6..d74a0de07d0 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_api_notifications/managed_tenant_api_notifications_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_api_notifications/managed_tenant_api_notifications_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedTenan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedTenantApiNotification] = None, request_configuration: Optional[ManagedTenantApiNotificationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedTenantApiNotification request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_email_notifications/item/alert/alert_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_email_notifications/item/alert/alert_request_builder.py index 3bea9e76026..4261059569b 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_email_notifications/item/alert/alert_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_email_notifications/item/alert/alert_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AlertRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AlertRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_email_notifications/item/managed_tenant_email_notification_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_email_notifications/item/managed_tenant_email_notification_item_request_builder.py index 57670005890..343c95edafd 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_email_notifications/item/managed_tenant_email_notification_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_email_notifications/item/managed_tenant_email_notification_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedTenantEmailNotificationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedTenan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedTenantEmailNotification] = None, request_configuration: Optional[ManagedTenantEmailNotificationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ManagedTenantEmailNotificat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_email_notifications/managed_tenant_email_notifications_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_email_notifications/managed_tenant_email_notifications_request_builder.py index 1c3fe32d06f..58a255c7210 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_email_notifications/managed_tenant_email_notifications_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_email_notifications/managed_tenant_email_notifications_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedTenan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedTenantEmailNotification] = None, request_configuration: Optional[ManagedTenantEmailNotificationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedTenantEmailNotificati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_ticketing_endpoints/item/managed_tenant_ticketing_endpoint_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_ticketing_endpoints/item/managed_tenant_ticketing_endpoint_item_request_builder.py index f1fb11155db..eaca4f80722 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_ticketing_endpoints/item/managed_tenant_ticketing_endpoint_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_ticketing_endpoints/item/managed_tenant_ticketing_endpoint_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedTenantTicketingEndpointItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedTenan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedTenantTicketingEndpoint] = None, request_configuration: Optional[ManagedTenantTicketingEndpointItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ManagedTenantTicketingEndpo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_ticketing_endpoints/managed_tenant_ticketing_endpoints_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_ticketing_endpoints/managed_tenant_ticketing_endpoints_request_builder.py index d579d457bab..32ec80dd15f 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_ticketing_endpoints/managed_tenant_ticketing_endpoints_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenant_ticketing_endpoints/managed_tenant_ticketing_endpoints_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedTenan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedTenantTicketingEndpoint] = None, request_configuration: Optional[ManagedTenantTicketingEndpointsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedTenantTicketingEndpoi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenants_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenants_request_builder.py index 85686ba0281..59b14c55df6 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenants_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/managed_tenants_request_builder.py @@ -140,7 +140,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedTenantsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -157,7 +157,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedTenan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedTenant] = None, request_configuration: Optional[ManagedTenantsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -176,7 +176,7 @@ def to_patch_request_information(self,body: Optional[ManagedTenant] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_action_tenant_deployment_statuses/item/management_action_tenant_deployment_status_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_action_tenant_deployment_statuses/item/management_action_tenant_deployment_status_item_request_builder.py index fa2ead6bdd9..c195e13faea 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_action_tenant_deployment_statuses/item/management_action_tenant_deployment_status_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_action_tenant_deployment_statuses/item/management_action_tenant_deployment_status_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ManagementActionTenantDepl async def get(self,request_configuration: Optional[ManagementActionTenantDeploymentStatusItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ManagementActionTenantDeploymentStatus]: """ - Read the properties and relationships of a managementActionTenantDeploymentStatus object. This API is available in the following national cloud deployments. + Read the properties and relationships of a managementActionTenantDeploymentStatus object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagementActionTenantDeploymentStatus] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-managementactiontenantdeploymentstatus-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Managemen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagementActionTenantDeploymentStatusItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a managementActionTenantDeploymentStatus object. This API is available in the following national cloud deployments. + Read the properties and relationships of a managementActionTenantDeploymentStatus object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagementAc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagementActionTenantDeploymentStatus] = None, request_configuration: Optional[ManagementActionTenantDeploymentStatusItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ManagementActionTenantDeplo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ManagementActionTenantDeploymentStatusItemRequestBuilderDeleteRequestConfi @dataclass class ManagementActionTenantDeploymentStatusItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a managementActionTenantDeploymentStatus object. This API is available in the following national cloud deployments. + Read the properties and relationships of a managementActionTenantDeploymentStatus object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_action_tenant_deployment_statuses/management_action_tenant_deployment_statuses_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_action_tenant_deployment_statuses/management_action_tenant_deployment_statuses_request_builder.py index 0b2529c9241..47ef8f16422 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_action_tenant_deployment_statuses/management_action_tenant_deployment_statuses_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_action_tenant_deployment_statuses/management_action_tenant_deployment_statuses_request_builder.py @@ -46,7 +46,7 @@ def by_management_action_tenant_deployment_status_id(self,management_action_tena async def get(self,request_configuration: Optional[ManagementActionTenantDeploymentStatusesRequestBuilderGetRequestConfiguration] = None) -> Optional[ManagementActionTenantDeploymentStatusCollectionResponse]: """ - Get a list of the managementActionTenantDeploymentStatus objects and their properties. This API is available in the following national cloud deployments. + Get a list of the managementActionTenantDeploymentStatus objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagementActionTenantDeploymentStatusCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-managementactiontenantdeploymentstatuses?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[ManagementActionTenantDeploymentStatus] = Non def to_get_request_information(self,request_configuration: Optional[ManagementActionTenantDeploymentStatusesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the managementActionTenantDeploymentStatus objects and their properties. This API is available in the following national cloud deployments. + Get a list of the managementActionTenantDeploymentStatus objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagementAc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagementActionTenantDeploymentStatus] = None, request_configuration: Optional[ManagementActionTenantDeploymentStatusesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ManagementActionTenantDeploy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def microsoft_graph_managed_tenants_change_deployment_status(self) -> MicrosoftG @dataclass class ManagementActionTenantDeploymentStatusesRequestBuilderGetQueryParameters(): """ - Get a list of the managementActionTenantDeploymentStatus objects and their properties. This API is available in the following national cloud deployments. + Get a list of the managementActionTenantDeploymentStatus objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_action_tenant_deployment_statuses/microsoft_graph_managed_tenants_change_deployment_status/microsoft_graph_managed_tenants_change_deployment_status_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_action_tenant_deployment_statuses/microsoft_graph_managed_tenants_change_deployment_status/microsoft_graph_managed_tenants_change_deployment_status_request_builder.py index 46ef6dc18aa..1650d123ff6 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_action_tenant_deployment_statuses/microsoft_graph_managed_tenants_change_deployment_status/microsoft_graph_managed_tenants_change_deployment_status_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_action_tenant_deployment_statuses/microsoft_graph_managed_tenants_change_deployment_status/microsoft_graph_managed_tenants_change_deployment_status_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ChangeDeploymentStatusPostRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_actions/item/management_action_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_actions/item/management_action_item_request_builder.py index ac408fea15c..6a9ebb8bc51 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_actions/item/management_action_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_actions/item/management_action_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ManagementActionItemReques async def get(self,request_configuration: Optional[ManagementActionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ManagementAction]: """ - Read the properties and relationships of a managementAction object. This API is available in the following national cloud deployments. + Read the properties and relationships of a managementAction object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagementAction] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-managementaction-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Managemen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagementActionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a managementAction object. This API is available in the following national cloud deployments. + Read the properties and relationships of a managementAction object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagementAc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagementAction] = None, request_configuration: Optional[ManagementActionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ManagementAction] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ManagementActionItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class ManagementActionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a managementAction object. This API is available in the following national cloud deployments. + Read the properties and relationships of a managementAction object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_actions/item/microsoft_graph_managed_tenants_apply/microsoft_graph_managed_tenants_apply_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_actions/item/microsoft_graph_managed_tenants_apply/microsoft_graph_managed_tenants_apply_request_builder.py index 31b52ba6288..7fbdbb9450c 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_actions/item/microsoft_graph_managed_tenants_apply/microsoft_graph_managed_tenants_apply_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_actions/item/microsoft_graph_managed_tenants_apply/microsoft_graph_managed_tenants_apply_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ApplyPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphManagedTenantsApplyRequestBuilderPostRequestConfiguration] = None) -> Optional[ManagementActionDeploymentStatus]: """ - Applies a management action against a specific managed tenant. By performing this operation the appropriate configurations will be made and policies created. As example when applying the require multifactor authentication for admins management action creates a Microsoft Entra Conditional Access policy that requires multifactor authentication for all users that have been assigned an administrative directory role. This API is available in the following national cloud deployments. + Applies a management action against a specific managed tenant. By performing this operation the appropriate configurations will be made and policies created. As example when applying the require multifactor authentication for admins management action creates a Microsoft Entra Conditional Access policy that requires multifactor authentication for all users that have been assigned an administrative directory role. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagementActionDeploymentStatus] @@ -54,7 +54,7 @@ async def post(self,body: Optional[ApplyPostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[ApplyPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphManagedTenantsApplyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Applies a management action against a specific managed tenant. By performing this operation the appropriate configurations will be made and policies created. As example when applying the require multifactor authentication for admins management action creates a Microsoft Entra Conditional Access policy that requires multifactor authentication for all users that have been assigned an administrative directory role. This API is available in the following national cloud deployments. + Applies a management action against a specific managed tenant. By performing this operation the appropriate configurations will be made and policies created. As example when applying the require multifactor authentication for admins management action creates a Microsoft Entra Conditional Access policy that requires multifactor authentication for all users that have been assigned an administrative directory role. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[ApplyPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_actions/management_actions_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_actions/management_actions_request_builder.py index 069317ada28..7f01db060b1 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_actions/management_actions_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_actions/management_actions_request_builder.py @@ -45,7 +45,7 @@ def by_management_action_id(self,management_action_id: str) -> ManagementActionI async def get(self,request_configuration: Optional[ManagementActionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ManagementActionCollectionResponse]: """ - Get a list of the managementAction objects and their properties. This API is available in the following national cloud deployments. + Get a list of the managementAction objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagementActionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-managementactions?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ManagementAction] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[ManagementActionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the managementAction objects and their properties. This API is available in the following national cloud deployments. + Get a list of the managementAction objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagementAc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagementAction] = None, request_configuration: Optional[ManagementActionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ManagementAction] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ManagementActionsRequestBuilderGetQueryParameters(): """ - Get a list of the managementAction objects and their properties. This API is available in the following national cloud deployments. + Get a list of the managementAction objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_intents/item/management_intent_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_intents/item/management_intent_item_request_builder.py index eca38bacd38..21976cc7bac 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_intents/item/management_intent_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_intents/item/management_intent_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ManagementIntentItemReques async def get(self,request_configuration: Optional[ManagementIntentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ManagementIntent]: """ - Read the properties and relationships of a managementIntent object. This API is available in the following national cloud deployments. + Read the properties and relationships of a managementIntent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagementIntent] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-managementintent-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Managemen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagementIntentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a managementIntent object. This API is available in the following national cloud deployments. + Read the properties and relationships of a managementIntent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagementIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagementIntent] = None, request_configuration: Optional[ManagementIntentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ManagementIntent] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ManagementIntentItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class ManagementIntentItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a managementIntent object. This API is available in the following national cloud deployments. + Read the properties and relationships of a managementIntent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_intents/management_intents_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_intents/management_intents_request_builder.py index d4126d1f26a..edceee01000 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_intents/management_intents_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_intents/management_intents_request_builder.py @@ -45,7 +45,7 @@ def by_management_intent_id(self,management_intent_id: str) -> ManagementIntentI async def get(self,request_configuration: Optional[ManagementIntentsRequestBuilderGetRequestConfiguration] = None) -> Optional[ManagementIntentCollectionResponse]: """ - Get a list of the managementIntent objects and their properties. This API is available in the following national cloud deployments. + Get a list of the managementIntent objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagementIntentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-managementintents?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ManagementIntent] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[ManagementIntentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the managementIntent objects and their properties. This API is available in the following national cloud deployments. + Get a list of the managementIntent objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagementIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagementIntent] = None, request_configuration: Optional[ManagementIntentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ManagementIntent] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ManagementIntentsRequestBuilderGetQueryParameters(): """ - Get a list of the managementIntent objects and their properties. This API is available in the following national cloud deployments. + Get a list of the managementIntent objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collection_tenant_summaries/item/management_template_collection_tenant_summary_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collection_tenant_summaries/item/management_template_collection_tenant_summary_item_request_builder.py index 268b7566f25..37d31f1c7e0 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collection_tenant_summaries/item/management_template_collection_tenant_summary_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collection_tenant_summaries/item/management_template_collection_tenant_summary_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Managemen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagementTemplateCollectionTenantSummaryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagementTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagementTemplateCollectionTenantSummary] = None, request_configuration: Optional[ManagementTemplateCollectionTenantSummaryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ManagementTemplateCollectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collection_tenant_summaries/management_template_collection_tenant_summaries_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collection_tenant_summaries/management_template_collection_tenant_summaries_request_builder.py index 108dfda6b1c..d993ef0bc80 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collection_tenant_summaries/management_template_collection_tenant_summaries_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collection_tenant_summaries/management_template_collection_tenant_summaries_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagementTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagementTemplateCollectionTenantSummary] = None, request_configuration: Optional[ManagementTemplateCollectionTenantSummariesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagementTemplateCollection request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collections/item/management_template_collection_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collections/item/management_template_collection_item_request_builder.py index 4d19855c40b..fd36cb2c33e 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collections/item/management_template_collection_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collections/item/management_template_collection_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Managemen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagementTemplateCollectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagementTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagementTemplateCollection] = None, request_configuration: Optional[ManagementTemplateCollectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ManagementTemplateCollectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collections/item/management_templates/item/management_template_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collections/item/management_templates/item/management_template_item_request_builder.py index f07a444f743..2fa1239aba3 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collections/item/management_templates/item/management_template_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collections/item/management_templates/item/management_template_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagementTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagementTemplateItemRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collections/item/management_templates/management_templates_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collections/item/management_templates/management_templates_request_builder.py index 339d52eb28f..1d892d4328a 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collections/item/management_templates/management_templates_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collections/item/management_templates/management_templates_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagementTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagementTemplatesRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collections/management_template_collections_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collections/management_template_collections_request_builder.py index f039f69eb66..aadd7fc93e4 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collections/management_template_collections_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_collections/management_template_collections_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagementTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagementTemplateCollection] = None, request_configuration: Optional[ManagementTemplateCollectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagementTemplateCollection request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_tenant_summaries/item/management_template_step_tenant_summary_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_tenant_summaries/item/management_template_step_tenant_summary_item_request_builder.py index 2fa7592bc01..df50d89996a 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_tenant_summaries/item/management_template_step_tenant_summary_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_tenant_summaries/item/management_template_step_tenant_summary_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Managemen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagementTemplateStepTenantSummaryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagementTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagementTemplateStepTenantSummary] = None, request_configuration: Optional[ManagementTemplateStepTenantSummaryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ManagementTemplateStepTenan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_tenant_summaries/management_template_step_tenant_summaries_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_tenant_summaries/management_template_step_tenant_summaries_request_builder.py index e54ca82deb7..7f9aa8ac58c 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_tenant_summaries/management_template_step_tenant_summaries_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_tenant_summaries/management_template_step_tenant_summaries_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagementTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagementTemplateStepTenantSummary] = None, request_configuration: Optional[ManagementTemplateStepTenantSummariesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagementTemplateStepTenant request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/accepted_for/accepted_for_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/accepted_for/accepted_for_request_builder.py index 130cce7c1ee..fd30755de02 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/accepted_for/accepted_for_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/accepted_for/accepted_for_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AcceptedForR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AcceptedForRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/deployments/deployments_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/deployments/deployments_request_builder.py index d2f53848dd2..2080ecac6d0 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/deployments/deployments_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/deployments/deployments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeploymentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagementTemplateStepDeployment] = None, request_configuration: Optional[DeploymentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagementTemplateStepDeploy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/deployments/item/management_template_step_deployment_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/deployments/item/management_template_step_deployment_item_request_builder.py index 5f31225bd79..984e8161abc 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/deployments/item/management_template_step_deployment_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/deployments/item/management_template_step_deployment_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Managemen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagementTemplateStepDeploymentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagementTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagementTemplateStepDeployment] = None, request_configuration: Optional[ManagementTemplateStepDeploymentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ManagementTemplateStepDeplo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/deployments/item/microsoft_graph_managed_tenants_change_deployment_status/microsoft_graph_managed_tenants_change_deployment_status_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/deployments/item/microsoft_graph_managed_tenants_change_deployment_status/microsoft_graph_managed_tenants_change_deployment_status_request_builder.py index 22a73886e1b..d0b88343ec8 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/deployments/item/microsoft_graph_managed_tenants_change_deployment_status/microsoft_graph_managed_tenants_change_deployment_status_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/deployments/item/microsoft_graph_managed_tenants_change_deployment_status/microsoft_graph_managed_tenants_change_deployment_status_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ChangeDeploymentStatusPostRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/deployments/item/template_step_version/template_step_version_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/deployments/item/template_step_version/template_step_version_request_builder.py index 8fbd539dba2..fd03bd15eb4 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/deployments/item/template_step_version/template_step_version_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/deployments/item/template_step_version/template_step_version_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TemplateStep request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TemplateStepVersionRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/management_template_step_version_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/management_template_step_version_item_request_builder.py index d9f34e2102a..5f029b6d806 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/management_template_step_version_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/management_template_step_version_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[Managemen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagementTemplateStepVersionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagementTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagementTemplateStepVersion] = None, request_configuration: Optional[ManagementTemplateStepVersionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ManagementTemplateStepVersi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/template_step/template_step_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/template_step/template_step_request_builder.py index 93eda61eb31..737f1e690f0 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/template_step/template_step_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/item/template_step/template_step_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TemplateStep request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TemplateStepRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/management_template_step_versions_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/management_template_step_versions_request_builder.py index e02b8021ba8..a17b2e2e669 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/management_template_step_versions_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_step_versions/management_template_step_versions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagementTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagementTemplateStepVersion] = None, request_configuration: Optional[ManagementTemplateStepVersionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagementTemplateStepVersio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/item/accepted_version/accepted_version_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/item/accepted_version/accepted_version_request_builder.py index c2eed6f0f77..a0f63df00a8 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/item/accepted_version/accepted_version_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/item/accepted_version/accepted_version_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AcceptedVers request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AcceptedVersionRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/item/management_template/management_template_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/item/management_template/management_template_request_builder.py index f0c264a8402..d2a3fe1749e 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/item/management_template/management_template_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/item/management_template/management_template_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagementTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagementTemplateRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/item/management_template_step_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/item/management_template_step_item_request_builder.py index e4d78846a02..fcb9712ae70 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/item/management_template_step_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/item/management_template_step_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[Managemen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagementTemplateStepItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagementTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagementTemplateStep] = None, request_configuration: Optional[ManagementTemplateStepItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ManagementTemplateStep] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/item/versions/item/management_template_step_version_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/item/versions/item/management_template_step_version_item_request_builder.py index 10aa9d99dfb..18dae3bb09a 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/item/versions/item/management_template_step_version_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/item/versions/item/management_template_step_version_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagementTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagementTemplateStepVersionItemRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/item/versions/versions_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/item/versions/versions_request_builder.py index 220e6a91f10..ac30ff91fb3 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/item/versions/versions_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/item/versions/versions_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[VersionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> VersionsRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/management_template_steps_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/management_template_steps_request_builder.py index 6c3b1c5741c..0c8ed67a90f 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/management_template_steps_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_template_steps/management_template_steps_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagementTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagementTemplateStep] = None, request_configuration: Optional[ManagementTemplateStepsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagementTemplateStep] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/item/management_template_collections/item/management_template_collection_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/item/management_template_collections/item/management_template_collection_item_request_builder.py index 2226d1a54f7..11cefd7fb16 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/item/management_template_collections/item/management_template_collection_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/item/management_template_collections/item/management_template_collection_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagementTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagementTemplateCollectionItemRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/item/management_template_collections/management_template_collections_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/item/management_template_collections/management_template_collections_request_builder.py index 517b62a536a..c7ad6e4d4ef 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/item/management_template_collections/management_template_collections_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/item/management_template_collections/management_template_collections_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagementTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagementTemplateCollectionsRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/item/management_template_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/item/management_template_item_request_builder.py index c5c334afa2a..586737349a5 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/item/management_template_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/item/management_template_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[ManagementTemplateItemRequ async def get(self,request_configuration: Optional[ManagementTemplateItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ManagementTemplate]: """ - Read the properties and relationships of a managementTemplate object. This API is available in the following national cloud deployments. + Read the properties and relationships of a managementTemplate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagementTemplate] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-managementtemplate-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Managemen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagementTemplateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a managementTemplate object. This API is available in the following national cloud deployments. + Read the properties and relationships of a managementTemplate object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagementTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagementTemplate] = None, request_configuration: Optional[ManagementTemplateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ManagementTemplate] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class ManagementTemplateItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class ManagementTemplateItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a managementTemplate object. This API is available in the following national cloud deployments. + Read the properties and relationships of a managementTemplate object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/item/management_template_steps/item/management_template_step_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/item/management_template_steps/item/management_template_step_item_request_builder.py index e1dfe478120..ed5d4b082ac 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/item/management_template_steps/item/management_template_step_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/item/management_template_steps/item/management_template_step_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagementTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagementTemplateStepItemRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/item/management_template_steps/management_template_steps_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/item/management_template_steps/management_template_steps_request_builder.py index 936c12e2692..69459941edf 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/item/management_template_steps/management_template_steps_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/item/management_template_steps/management_template_steps_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagementTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagementTemplateStepsRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/management_templates_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/management_templates_request_builder.py index 9f87ef5a4c1..f45d2e77a6b 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/management_templates_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/management_templates/management_templates_request_builder.py @@ -45,7 +45,7 @@ def by_management_template_id(self,management_template_id: str) -> ManagementTem async def get(self,request_configuration: Optional[ManagementTemplatesRequestBuilderGetRequestConfiguration] = None) -> Optional[ManagementTemplateCollectionResponse]: """ - Get a list of the managementTemplate objects and their properties. This API is available in the following national cloud deployments. + Get a list of the managementTemplate objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagementTemplateCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-managementtemplates?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ManagementTemplate] = None, request_configura def to_get_request_information(self,request_configuration: Optional[ManagementTemplatesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the managementTemplate objects and their properties. This API is available in the following national cloud deployments. + Get a list of the managementTemplate objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagementTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagementTemplate] = None, request_configuration: Optional[ManagementTemplatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ManagementTemplate] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ManagementTemplatesRequestBuilderGetQueryParameters(): """ - Get a list of the managementTemplate objects and their properties. This API is available in the following national cloud deployments. + Get a list of the managementTemplate objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/my_roles/item/my_role_tenant_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/my_roles/item/my_role_tenant_item_request_builder.py index 82b2111c5e1..c8f4ce30397 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/my_roles/item/my_role_tenant_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/my_roles/item/my_role_tenant_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MyRoleTen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MyRoleTenantItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MyRoleTenant request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MyRole] = None, request_configuration: Optional[MyRoleTenantItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MyRole] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/my_roles/my_roles_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/my_roles/my_roles_request_builder.py index 9cd5fbec0f1..3c41376a3e6 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/my_roles/my_roles_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/my_roles/my_roles_request_builder.py @@ -45,7 +45,7 @@ def by_my_role_tenant_id(self,my_role_tenant_id: str) -> MyRoleTenantItemRequest async def get(self,request_configuration: Optional[MyRolesRequestBuilderGetRequestConfiguration] = None) -> Optional[MyRoleCollectionResponse]: """ - Get the roles that a signed-in user has through a delegated relationship across managed tenants. For information on the types of delegated relationships between a Managed Service Provider (MSP) who uses Microsoft 365 Lighthouse, and their business customers with Microsoft 365 Business Premium tenants, see the following articles on the Partner Center:- Delegated administration privileges (DAP)- Granular delegated admin privileges (GDAP) This API is available in the following national cloud deployments. + Get the roles that a signed-in user has through a delegated relationship across managed tenants. For information on the types of delegated relationships between a Managed Service Provider (MSP) who uses Microsoft 365 Lighthouse, and their business customers with Microsoft 365 Business Premium tenants, see the following articles on the Partner Center:- Delegated administration privileges (DAP)- Granular delegated admin privileges (GDAP) param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MyRoleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-myroles?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[MyRole] = None, request_configuration: Option def to_get_request_information(self,request_configuration: Optional[MyRolesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the roles that a signed-in user has through a delegated relationship across managed tenants. For information on the types of delegated relationships between a Managed Service Provider (MSP) who uses Microsoft 365 Lighthouse, and their business customers with Microsoft 365 Business Premium tenants, see the following articles on the Partner Center:- Delegated administration privileges (DAP)- Granular delegated admin privileges (GDAP) This API is available in the following national cloud deployments. + Get the roles that a signed-in user has through a delegated relationship across managed tenants. For information on the types of delegated relationships between a Managed Service Provider (MSP) who uses Microsoft 365 Lighthouse, and their business customers with Microsoft 365 Business Premium tenants, see the following articles on the Partner Center:- Delegated administration privileges (DAP)- Granular delegated admin privileges (GDAP) param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[MyRolesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MyRole] = None, request_configuration: Optional[MyRolesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[MyRole] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MyRolesRequestBuilderGetQueryParameters(): """ - Get the roles that a signed-in user has through a delegated relationship across managed tenants. For information on the types of delegated relationships between a Managed Service Provider (MSP) who uses Microsoft 365 Lighthouse, and their business customers with Microsoft 365 Business Premium tenants, see the following articles on the Partner Center:- Delegated administration privileges (DAP)- Granular delegated admin privileges (GDAP) This API is available in the following national cloud deployments. + Get the roles that a signed-in user has through a delegated relationship across managed tenants. For information on the types of delegated relationships between a Managed Service Provider (MSP) who uses Microsoft 365 Lighthouse, and their business customers with Microsoft 365 Business Premium tenants, see the following articles on the Partner Center:- Delegated administration privileges (DAP)- Granular delegated admin privileges (GDAP) """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_groups/item/tenant_group_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_groups/item/tenant_group_item_request_builder.py index 4fdc63146c0..f50156b01e3 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_groups/item/tenant_group_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_groups/item/tenant_group_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[TenantGroupItemRequestBuil async def get(self,request_configuration: Optional[TenantGroupItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TenantGroup]: """ - Read the properties and relationships of a tenantGroup object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tenantGroup object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TenantGroup] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-tenantgroup-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[TenantGro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TenantGroupItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a tenantGroup object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tenantGroup object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TenantGroupI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TenantGroup] = None, request_configuration: Optional[TenantGroupItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[TenantGroup] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class TenantGroupItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class TenantGroupItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a tenantGroup object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tenantGroup object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_groups/microsoft_graph_managed_tenants_tenant_search/microsoft_graph_managed_tenants_tenant_search_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_groups/microsoft_graph_managed_tenants_tenant_search/microsoft_graph_managed_tenants_tenant_search_request_builder.py index 3ac7f388753..3e157cc4693 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_groups/microsoft_graph_managed_tenants_tenant_search/microsoft_graph_managed_tenants_tenant_search_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_groups/microsoft_graph_managed_tenants_tenant_search/microsoft_graph_managed_tenants_tenant_search_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[TenantSearchPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_groups/tenant_groups_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_groups/tenant_groups_request_builder.py index 3d8b054bbc5..2c976f6e448 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_groups/tenant_groups_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_groups/tenant_groups_request_builder.py @@ -46,7 +46,7 @@ def by_tenant_group_id(self,tenant_group_id: str) -> TenantGroupItemRequestBuild async def get(self,request_configuration: Optional[TenantGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[TenantGroupCollectionResponse]: """ - Get a list of the tenantGroup objects and their properties. This API is available in the following national cloud deployments. + Get a list of the tenantGroup objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TenantGroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-tenantgroups?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[TenantGroup] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[TenantGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the tenantGroup objects and their properties. This API is available in the following national cloud deployments. + Get a list of the tenantGroup objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[TenantGroups request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TenantGroup] = None, request_configuration: Optional[TenantGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TenantGroup] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def microsoft_graph_managed_tenants_tenant_search(self) -> MicrosoftGraphManaged @dataclass class TenantGroupsRequestBuilderGetQueryParameters(): """ - Get a list of the tenantGroup objects and their properties. This API is available in the following national cloud deployments. + Get a list of the tenantGroup objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_tags/item/microsoft_graph_managed_tenants_assign_tag/microsoft_graph_managed_tenants_assign_tag_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_tags/item/microsoft_graph_managed_tenants_assign_tag/microsoft_graph_managed_tenants_assign_tag_request_builder.py index 2a3870ec02f..1f7ac7d7886 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_tags/item/microsoft_graph_managed_tenants_assign_tag/microsoft_graph_managed_tenants_assign_tag_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_tags/item/microsoft_graph_managed_tenants_assign_tag/microsoft_graph_managed_tenants_assign_tag_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AssignTagPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphManagedTenantsAssignTagRequestBuilderPostRequestConfiguration] = None) -> Optional[TenantTag]: """ - Assign the tenant tag to the specified managed tenants. This API is available in the following national cloud deployments. + Assign the tenant tag to the specified managed tenants. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TenantTag] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AssignTagPostRequestBody] = None, request_con def to_post_request_information(self,body: Optional[AssignTagPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphManagedTenantsAssignTagRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Assign the tenant tag to the specified managed tenants. This API is available in the following national cloud deployments. + Assign the tenant tag to the specified managed tenants. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AssignTagPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_tags/item/microsoft_graph_managed_tenants_unassign_tag/microsoft_graph_managed_tenants_unassign_tag_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_tags/item/microsoft_graph_managed_tenants_unassign_tag/microsoft_graph_managed_tenants_unassign_tag_request_builder.py index 0b13583fa17..1062f08df24 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_tags/item/microsoft_graph_managed_tenants_unassign_tag/microsoft_graph_managed_tenants_unassign_tag_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_tags/item/microsoft_graph_managed_tenants_unassign_tag/microsoft_graph_managed_tenants_unassign_tag_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UnassignTagPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphManagedTenantsUnassignTagRequestBuilderPostRequestConfiguration] = None) -> Optional[TenantTag]: """ - Un-assigns the tenant tag from the specified managed tenants. This API is available in the following national cloud deployments. + Un-assigns the tenant tag from the specified managed tenants. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TenantTag] @@ -54,7 +54,7 @@ async def post(self,body: Optional[UnassignTagPostRequestBody] = None, request_c def to_post_request_information(self,body: Optional[UnassignTagPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphManagedTenantsUnassignTagRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Un-assigns the tenant tag from the specified managed tenants. This API is available in the following national cloud deployments. + Un-assigns the tenant tag from the specified managed tenants. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[UnassignTagPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_tags/item/tenant_tag_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_tags/item/tenant_tag_item_request_builder.py index c5e6501df49..53c07baeb9c 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_tags/item/tenant_tag_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_tags/item/tenant_tag_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TenantTagItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a tenantTag object. This API is available in the following national cloud deployments. + Delete a tenantTag object. 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/managedtenants-tenanttag-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[TenantTagItemRequestBuilde async def get(self,request_configuration: Optional[TenantTagItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TenantTag]: """ - Read the properties and relationships of a tenantTag object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tenantTag object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TenantTag] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-tenanttag-get?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[TenantTagItemRequestBuilderGe async def patch(self,body: Optional[TenantTag] = None, request_configuration: Optional[TenantTagItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[TenantTag]: """ - Update the properties of a tenantTag object. This API is available in the following national cloud deployments. + Update the properties of a tenantTag object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TenantTag] @@ -97,7 +97,7 @@ async def patch(self,body: Optional[TenantTag] = None, request_configuration: Op def to_delete_request_information(self,request_configuration: Optional[TenantTagItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a tenantTag object. This API is available in the following national cloud deployments. + Delete a tenantTag object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[TenantTag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TenantTagItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a tenantTag object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tenantTag object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[TenantTagIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TenantTag] = None, request_configuration: Optional[TenantTagItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a tenantTag object. This API is available in the following national cloud deployments. + Update the properties of a tenantTag object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[TenantTag] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class TenantTagItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class TenantTagItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a tenantTag object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tenantTag object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_tags/tenant_tags_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_tags/tenant_tags_request_builder.py index f72e57d79d2..1f3f857b7b4 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_tags/tenant_tags_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenant_tags/tenant_tags_request_builder.py @@ -45,7 +45,7 @@ def by_tenant_tag_id(self,tenant_tag_id: str) -> TenantTagItemRequestBuilder: async def get(self,request_configuration: Optional[TenantTagsRequestBuilderGetRequestConfiguration] = None) -> Optional[TenantTagCollectionResponse]: """ - Get a list of the tenantTag objects and their properties. This API is available in the following national cloud deployments. + Get a list of the tenantTag objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TenantTagCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-tenanttags?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TenantTagsRequestBuilderGetRe async def post(self,body: Optional[TenantTag] = None, request_configuration: Optional[TenantTagsRequestBuilderPostRequestConfiguration] = None) -> Optional[TenantTag]: """ - Create a new tenantTag object. This API is available in the following national cloud deployments. + Create a new tenantTag object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TenantTag] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TenantTag] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[TenantTagsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the tenantTag objects and their properties. This API is available in the following national cloud deployments. + Get a list of the tenantTag objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[TenantTagsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TenantTag] = None, request_configuration: Optional[TenantTagsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new tenantTag object. This API is available in the following national cloud deployments. + Create a new tenantTag object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TenantTag] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TenantTagsRequestBuilderGetQueryParameters(): """ - Get a list of the tenantTag objects and their properties. This API is available in the following national cloud deployments. + Get a list of the tenantTag objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants/item/microsoft_graph_managed_tenants_offboard_tenant/microsoft_graph_managed_tenants_offboard_tenant_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants/item/microsoft_graph_managed_tenants_offboard_tenant/microsoft_graph_managed_tenants_offboard_tenant_request_builder.py index d77a1941495..f059e21a9d8 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants/item/microsoft_graph_managed_tenants_offboard_tenant/microsoft_graph_managed_tenants_offboard_tenant_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants/item/microsoft_graph_managed_tenants_offboard_tenant/microsoft_graph_managed_tenants_offboard_tenant_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[MicrosoftGraphManagedTenantsOffboardTenantRequestBuilderPostRequestConfiguration] = None) -> Optional[Tenant]: """ - Carries out the appropriate procedures to remove a managed tenant from the multitenant management platform. No relationships, such as commerce and delegate administrative privileges, will be impacted. The only change made by invoking this action is the tenant will be deprovisioned from the multitenant management platform. This API is available in the following national cloud deployments. + Carries out the appropriate procedures to remove a managed tenant from the multitenant management platform. No relationships, such as commerce and delegate administrative privileges, will be impacted. The only change made by invoking this action is the tenant will be deprovisioned from the multitenant management platform. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Tenant] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-tenant-offboardtenant?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[MicrosoftGraphManagedTenants def to_post_request_information(self,request_configuration: Optional[MicrosoftGraphManagedTenantsOffboardTenantRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Carries out the appropriate procedures to remove a managed tenant from the multitenant management platform. No relationships, such as commerce and delegate administrative privileges, will be impacted. The only change made by invoking this action is the tenant will be deprovisioned from the multitenant management platform. This API is available in the following national cloud deployments. + Carries out the appropriate procedures to remove a managed tenant from the multitenant management platform. No relationships, such as commerce and delegate administrative privileges, will be impacted. The only change made by invoking this action is the tenant will be deprovisioned from the multitenant management platform. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphManagedTenantsOffboardTenantRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants/item/microsoft_graph_managed_tenants_reset_tenant_onboarding_status/microsoft_graph_managed_tenants_reset_tenant_onboarding_status_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants/item/microsoft_graph_managed_tenants_reset_tenant_onboarding_status/microsoft_graph_managed_tenants_reset_tenant_onboarding_status_request_builder.py index f13bc67e19f..b7ef175b38b 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants/item/microsoft_graph_managed_tenants_reset_tenant_onboarding_status/microsoft_graph_managed_tenants_reset_tenant_onboarding_status_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants/item/microsoft_graph_managed_tenants_reset_tenant_onboarding_status/microsoft_graph_managed_tenants_reset_tenant_onboarding_status_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[MicrosoftGraphManagedTenantsResetTenantOnboardingStatusRequestBuilderPostRequestConfiguration] = None) -> Optional[Tenant]: """ - Carries out the appropriate procedures to reset the onboarding status for the managed tenant that was removed from the multitenant management platform using the offboardTenant action. By invoking this action the platform attempts to onboard the managed tenant for management. This API is available in the following national cloud deployments. + Carries out the appropriate procedures to reset the onboarding status for the managed tenant that was removed from the multitenant management platform using the offboardTenant action. By invoking this action the platform attempts to onboard the managed tenant for management. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Tenant] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-tenant-resettenantonboardingstatus?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[MicrosoftGraphManagedTenants def to_post_request_information(self,request_configuration: Optional[MicrosoftGraphManagedTenantsResetTenantOnboardingStatusRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Carries out the appropriate procedures to reset the onboarding status for the managed tenant that was removed from the multitenant management platform using the offboardTenant action. By invoking this action the platform attempts to onboard the managed tenant for management. This API is available in the following national cloud deployments. + Carries out the appropriate procedures to reset the onboarding status for the managed tenant that was removed from the multitenant management platform using the offboardTenant action. By invoking this action the platform attempts to onboard the managed tenant for management. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[MicrosoftGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftGraphManagedTenantsResetTenantOnboardingStatusRequestBuilder: diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants/item/tenant_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants/item/tenant_item_request_builder.py index f8b7f54daa5..9f747cbe24d 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants/item/tenant_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants/item/tenant_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[TenantItemRequestBuilderDe async def get(self,request_configuration: Optional[TenantItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Tenant]: """ - Read the properties and relationships of a tenant object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tenant object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Tenant] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-tenant-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[TenantIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TenantItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a tenant object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tenant object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[TenantItemRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Tenant] = None, request_configuration: Optional[TenantItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Tenant] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class TenantItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguratio @dataclass class TenantItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a tenant object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tenant object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants/tenants_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants/tenants_request_builder.py index 1cef8aefdac..5d38047621d 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants/tenants_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants/tenants_request_builder.py @@ -45,7 +45,7 @@ def by_tenant_id(self,tenant_id: str) -> TenantItemRequestBuilder: async def get(self,request_configuration: Optional[TenantsRequestBuilderGetRequestConfiguration] = None) -> Optional[TenantCollectionResponse]: """ - Get a list of the tenant objects and their properties. This API is available in the following national cloud deployments. + Get a list of the tenant objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TenantCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-tenants?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[Tenant] = None, request_configuration: Option def to_get_request_information(self,request_configuration: Optional[TenantsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the tenant objects and their properties. This API is available in the following national cloud deployments. + Get a list of the tenant objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[TenantsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Tenant] = None, request_configuration: Optional[TenantsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Tenant] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TenantsRequestBuilderGetQueryParameters(): """ - Get a list of the tenant objects and their properties. This API is available in the following national cloud deployments. + Get a list of the tenant objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants_customized_information/item/tenant_customized_information_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants_customized_information/item/tenant_customized_information_item_request_builder.py index a4287200038..193306808f9 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants_customized_information/item/tenant_customized_information_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants_customized_information/item/tenant_customized_information_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[TenantCustomizedInformatio async def get(self,request_configuration: Optional[TenantCustomizedInformationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TenantCustomizedInformation]: """ - Read the properties and relationships of a tenantCustomizedInformation object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tenantCustomizedInformation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TenantCustomizedInformation] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-tenantcustomizedinformation-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[TenantCustomizedInformationIt async def patch(self,body: Optional[TenantCustomizedInformation] = None, request_configuration: Optional[TenantCustomizedInformationItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[TenantCustomizedInformation]: """ - Update the properties of a tenantCustomizedInformation object. This API is available in the following national cloud deployments. + Update the properties of a tenantCustomizedInformation object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TenantCustomizedInformation] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[TenantCus request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TenantCustomizedInformationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a tenantCustomizedInformation object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tenantCustomizedInformation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[TenantCustom request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TenantCustomizedInformation] = None, request_configuration: Optional[TenantCustomizedInformationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a tenantCustomizedInformation object. This API is available in the following national cloud deployments. + Update the properties of a tenantCustomizedInformation object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[TenantCustomizedInformation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class TenantCustomizedInformationItemRequestBuilderDeleteRequestConfiguration(Ba @dataclass class TenantCustomizedInformationItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a tenantCustomizedInformation object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tenantCustomizedInformation object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants_customized_information/tenants_customized_information_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants_customized_information/tenants_customized_information_request_builder.py index 28fb34b80d1..f1ffaf57ba5 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants_customized_information/tenants_customized_information_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants_customized_information/tenants_customized_information_request_builder.py @@ -45,7 +45,7 @@ def by_tenant_customized_information_id(self,tenant_customized_information_id: s async def get(self,request_configuration: Optional[TenantsCustomizedInformationRequestBuilderGetRequestConfiguration] = None) -> Optional[TenantCustomizedInformationCollectionResponse]: """ - Get a list of the tenantCustomizedInformation objects and their properties. This API is available in the following national cloud deployments. + Get a list of the tenantCustomizedInformation objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TenantCustomizedInformationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-tenantscustomizedinformation?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[TenantCustomizedInformation] = None, request_ def to_get_request_information(self,request_configuration: Optional[TenantsCustomizedInformationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the tenantCustomizedInformation objects and their properties. This API is available in the following national cloud deployments. + Get a list of the tenantCustomizedInformation objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[TenantsCusto request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TenantCustomizedInformation] = None, request_configuration: Optional[TenantsCustomizedInformationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[TenantCustomizedInformation] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TenantsCustomizedInformationRequestBuilderGetQueryParameters(): """ - Get a list of the tenantCustomizedInformation objects and their properties. This API is available in the following national cloud deployments. + Get a list of the tenantCustomizedInformation objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants_detailed_information/item/tenant_detailed_information_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants_detailed_information/item/tenant_detailed_information_item_request_builder.py index 23d7b915e74..cc9f3a68e7c 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants_detailed_information/item/tenant_detailed_information_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants_detailed_information/item/tenant_detailed_information_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[TenantDetailedInformationI async def get(self,request_configuration: Optional[TenantDetailedInformationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TenantDetailedInformation]: """ - Read the properties and relationships of a tenantDetailedInformation object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tenantDetailedInformation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TenantDetailedInformation] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-tenantdetailedinformation-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[TenantDet request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TenantDetailedInformationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a tenantDetailedInformation object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tenantDetailedInformation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TenantDetail request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TenantDetailedInformation] = None, request_configuration: Optional[TenantDetailedInformationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[TenantDetailedInformation] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class TenantDetailedInformationItemRequestBuilderDeleteRequestConfiguration(Base @dataclass class TenantDetailedInformationItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a tenantDetailedInformation object. This API is available in the following national cloud deployments. + Read the properties and relationships of a tenantDetailedInformation object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants_detailed_information/tenants_detailed_information_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants_detailed_information/tenants_detailed_information_request_builder.py index 86ecbde61a3..58c9f0fda67 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants_detailed_information/tenants_detailed_information_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/tenants_detailed_information/tenants_detailed_information_request_builder.py @@ -45,7 +45,7 @@ def by_tenant_detailed_information_id(self,tenant_detailed_information_id: str) async def get(self,request_configuration: Optional[TenantsDetailedInformationRequestBuilderGetRequestConfiguration] = None) -> Optional[TenantDetailedInformationCollectionResponse]: """ - Get a list of the tenantDetailedInformation objects and their properties. This API is available in the following national cloud deployments. + Get a list of the tenantDetailedInformation objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TenantDetailedInformationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-tenantsdetailedinformation?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[TenantDetailedInformation] = None, request_co def to_get_request_information(self,request_configuration: Optional[TenantsDetailedInformationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the tenantDetailedInformation objects and their properties. This API is available in the following national cloud deployments. + Get a list of the tenantDetailedInformation objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[TenantsDetai request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TenantDetailedInformation] = None, request_configuration: Optional[TenantsDetailedInformationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[TenantDetailedInformation] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TenantsDetailedInformationRequestBuilderGetQueryParameters(): """ - Get a list of the tenantDetailedInformation objects and their properties. This API is available in the following national cloud deployments. + Get a list of the tenantDetailedInformation objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/windows_device_malware_states/item/windows_device_malware_state_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/windows_device_malware_states/item/windows_device_malware_state_item_request_builder.py index 6145f667c39..9d8a5de7bc6 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/windows_device_malware_states/item/windows_device_malware_state_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/windows_device_malware_states/item/windows_device_malware_state_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[WindowsDeviceMalwareStateI async def get(self,request_configuration: Optional[WindowsDeviceMalwareStateItemRequestBuilderGetRequestConfiguration] = None) -> Optional[WindowsDeviceMalwareState]: """ - Read the properties and relationships of a windowsDeviceMalwareState object. This API is available in the following national cloud deployments. + Read the properties and relationships of a windowsDeviceMalwareState object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WindowsDeviceMalwareState] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-windowsdevicemalwarestate-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsDeviceMalwareStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a windowsDeviceMalwareState object. This API is available in the following national cloud deployments. + Read the properties and relationships of a windowsDeviceMalwareState object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsDeviceMalwareState] = None, request_configuration: Optional[WindowsDeviceMalwareStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WindowsDeviceMalwareState] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class WindowsDeviceMalwareStateItemRequestBuilderDeleteRequestConfiguration(Base @dataclass class WindowsDeviceMalwareStateItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a windowsDeviceMalwareState object. This API is available in the following national cloud deployments. + Read the properties and relationships of a windowsDeviceMalwareState object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/windows_device_malware_states/windows_device_malware_states_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/windows_device_malware_states/windows_device_malware_states_request_builder.py index bafd20eba16..6fa315d9403 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/windows_device_malware_states/windows_device_malware_states_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/windows_device_malware_states/windows_device_malware_states_request_builder.py @@ -45,7 +45,7 @@ def by_windows_device_malware_state_id(self,windows_device_malware_state_id: str async def get(self,request_configuration: Optional[WindowsDeviceMalwareStatesRequestBuilderGetRequestConfiguration] = None) -> Optional[WindowsDeviceMalwareStateCollectionResponse]: """ - Get a list of the windowsDeviceMalwareState objects and their properties. This API is available in the following national cloud deployments. + Get a list of the windowsDeviceMalwareState objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WindowsDeviceMalwareStateCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-windowsdevicemalwarestates?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[WindowsDeviceMalwareState] = None, request_co def to_get_request_information(self,request_configuration: Optional[WindowsDeviceMalwareStatesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the windowsDeviceMalwareState objects and their properties. This API is available in the following national cloud deployments. + Get a list of the windowsDeviceMalwareState objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsDeviceMalwareState] = None, request_configuration: Optional[WindowsDeviceMalwareStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[WindowsDeviceMalwareState] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class WindowsDeviceMalwareStatesRequestBuilderGetQueryParameters(): """ - Get a list of the windowsDeviceMalwareState objects and their properties. This API is available in the following national cloud deployments. + Get a list of the windowsDeviceMalwareState objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/windows_protection_states/item/windows_protection_state_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/windows_protection_states/item/windows_protection_state_item_request_builder.py index cd672f81075..190375d2048 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/windows_protection_states/item/windows_protection_state_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/windows_protection_states/item/windows_protection_state_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[WindowsProtectionStateItem async def get(self,request_configuration: Optional[WindowsProtectionStateItemRequestBuilderGetRequestConfiguration] = None) -> Optional[WindowsProtectionState]: """ - Read the properties and relationships of a windowsProtectionState object. This API is available in the following national cloud deployments. + Read the properties and relationships of a windowsProtectionState object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WindowsProtectionState] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-windowsprotectionstate-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsPr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsProtectionStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a windowsProtectionState object. This API is available in the following national cloud deployments. + Read the properties and relationships of a windowsProtectionState object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsProte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsProtectionState] = None, request_configuration: Optional[WindowsProtectionStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WindowsProtectionState] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class WindowsProtectionStateItemRequestBuilderDeleteRequestConfiguration(BaseReq @dataclass class WindowsProtectionStateItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a windowsProtectionState object. This API is available in the following national cloud deployments. + Read the properties and relationships of a windowsProtectionState object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/managed_tenants/windows_protection_states/windows_protection_states_request_builder.py b/msgraph_beta/generated/tenant_relationships/managed_tenants/windows_protection_states/windows_protection_states_request_builder.py index 97f8a0df750..50fe6d8633e 100644 --- a/msgraph_beta/generated/tenant_relationships/managed_tenants/windows_protection_states/windows_protection_states_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/managed_tenants/windows_protection_states/windows_protection_states_request_builder.py @@ -45,7 +45,7 @@ def by_windows_protection_state_id(self,windows_protection_state_id: str) -> Win async def get(self,request_configuration: Optional[WindowsProtectionStatesRequestBuilderGetRequestConfiguration] = None) -> Optional[WindowsProtectionStateCollectionResponse]: """ - Get a list of the windowsProtectionState objects and their properties. This API is available in the following national cloud deployments. + Get a list of the windowsProtectionState objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WindowsProtectionStateCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/managedtenants-managedtenant-list-windowsprotectionstates?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[WindowsProtectionState] = None, request_confi def to_get_request_information(self,request_configuration: Optional[WindowsProtectionStatesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the windowsProtectionState objects and their properties. This API is available in the following national cloud deployments. + Get a list of the windowsProtectionState objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsProte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsProtectionState] = None, request_configuration: Optional[WindowsProtectionStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[WindowsProtectionState] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class WindowsProtectionStatesRequestBuilderGetQueryParameters(): """ - Get a list of the windowsProtectionState objects and their properties. This API is available in the following national cloud deployments. + Get a list of the windowsProtectionState objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/join_request/join_request_request_builder.py b/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/join_request/join_request_request_builder.py index d952292fae4..1915127bcf3 100644 --- a/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/join_request/join_request_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/join_request/join_request_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[JoinRequestRequestBuilderGetRequestConfiguration] = None) -> Optional[MultiTenantOrganizationJoinRequestRecord]: """ - Get the status of a tenant joining a multi-tenant organization. This API is available in the following national cloud deployments. + Get the status of a tenant joining a multi-tenant organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MultiTenantOrganizationJoinRequestRecord] Find more info here: https://learn.microsoft.com/graph/api/multitenantorganizationjoinrequestrecord-get?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[JoinRequestRequestBuilderGetR async def patch(self,body: Optional[MultiTenantOrganizationJoinRequestRecord] = None, request_configuration: Optional[JoinRequestRequestBuilderPatchRequestConfiguration] = None) -> Optional[MultiTenantOrganizationJoinRequestRecord]: """ - Join a multi-tenant organization, after the owner of the multi-tenant organization has added your tenant to the multi-tenant organization as pending. Before a tenant added to a multi-tenant organization can participate in the multi-tenant organization, the administrator of the joining tenant must submit a join request. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. Furthermore, to allow for asynchronous processing, you must wait up to 4 hours before joining a multi-tenant organization is completed. This API is available in the following national cloud deployments. + Join a multi-tenant organization, after the owner of the multi-tenant organization has added your tenant to the multi-tenant organization as pending. Before a tenant added to a multi-tenant organization can participate in the multi-tenant organization, the administrator of the joining tenant must submit a join request. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. Furthermore, to allow for asynchronous processing, you must wait up to 4 hours before joining a multi-tenant organization is completed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MultiTenantOrganizationJoinRequestRecord] @@ -75,7 +75,7 @@ async def patch(self,body: Optional[MultiTenantOrganizationJoinRequestRecord] = def to_get_request_information(self,request_configuration: Optional[JoinRequestRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the status of a tenant joining a multi-tenant organization. This API is available in the following national cloud deployments. + Get the status of a tenant joining a multi-tenant organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -87,12 +87,12 @@ def to_get_request_information(self,request_configuration: Optional[JoinRequestR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MultiTenantOrganizationJoinRequestRecord] = None, request_configuration: Optional[JoinRequestRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Join a multi-tenant organization, after the owner of the multi-tenant organization has added your tenant to the multi-tenant organization as pending. Before a tenant added to a multi-tenant organization can participate in the multi-tenant organization, the administrator of the joining tenant must submit a join request. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. Furthermore, to allow for asynchronous processing, you must wait up to 4 hours before joining a multi-tenant organization is completed. This API is available in the following national cloud deployments. + Join a multi-tenant organization, after the owner of the multi-tenant organization has added your tenant to the multi-tenant organization as pending. Before a tenant added to a multi-tenant organization can participate in the multi-tenant organization, the administrator of the joining tenant must submit a join request. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. Furthermore, to allow for asynchronous processing, you must wait up to 4 hours before joining a multi-tenant organization is completed. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -106,7 +106,7 @@ def to_patch_request_information(self,body: Optional[MultiTenantOrganizationJoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -123,7 +123,7 @@ def with_url(self,raw_url: Optional[str] = None) -> JoinRequestRequestBuilder: @dataclass class JoinRequestRequestBuilderGetQueryParameters(): """ - Get the status of a tenant joining a multi-tenant organization. This API is available in the following national cloud deployments. + Get the status of a tenant joining a multi-tenant organization. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py b/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py index b847e61db2a..b7f6a859f21 100644 --- a/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/multi_tenant_organization_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[MultiTenantOrganizationRequestBuilderGetRequestConfiguration] = None) -> Optional[MultiTenantOrganization]: """ - Get properties of the multitenant organization. This API is available in the following national cloud deployments. + Get properties of the multitenant organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MultiTenantOrganization] Find more info here: https://learn.microsoft.com/graph/api/multitenantorganization-get?view=graph-rest-1.0 @@ -52,11 +52,11 @@ async def get(self,request_configuration: Optional[MultiTenantOrganizationReques async def patch(self,body: Optional[MultiTenantOrganization] = None, request_configuration: Optional[MultiTenantOrganizationRequestBuilderPatchRequestConfiguration] = None) -> Optional[MultiTenantOrganization]: """ - Update the properties of a multi-tenant organization. + Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MultiTenantOrganization] - Find more info here: https://learn.microsoft.com/graph/api/multitenantorganization-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/tenantrelationship-put-multitenantorganization?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -77,7 +77,7 @@ async def patch(self,body: Optional[MultiTenantOrganization] = None, request_con def to_get_request_information(self,request_configuration: Optional[MultiTenantOrganizationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get properties of the multitenant organization. This API is available in the following national cloud deployments. + Get properties of the multitenant organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -89,12 +89,12 @@ def to_get_request_information(self,request_configuration: Optional[MultiTenantO request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MultiTenantOrganization] = None, request_configuration: Optional[MultiTenantOrganizationRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a multi-tenant organization. + Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -108,7 +108,7 @@ def to_patch_request_information(self,body: Optional[MultiTenantOrganization] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -143,7 +143,7 @@ def tenants(self) -> TenantsRequestBuilder: @dataclass class MultiTenantOrganizationRequestBuilderGetQueryParameters(): """ - Get properties of the multitenant organization. This API is available in the following national cloud deployments. + Get properties of the multitenant organization. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/tenants/item/multi_tenant_organization_member_item_request_builder.py b/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/tenants/item/multi_tenant_organization_member_item_request_builder.py index 1f694cc56d8..d02cdff9db1 100644 --- a/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/tenants/item/multi_tenant_organization_member_item_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/tenants/item/multi_tenant_organization_member_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[MultiTenantOrganizationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a tenant from a multitenant organization. A tenant can be removed in the following scenarios: To allow for asynchronous processing, you must wait for up to 2 hours before removal of a tenant is completed. This API is available in the following national cloud deployments. + Remove a tenant from a multitenant organization. A tenant can be removed in the following scenarios: To allow for asynchronous processing, you must wait for up to 2 hours before removal of a tenant is completed. 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/multitenantorganization-delete-tenants?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[MultiTenantOrganizationMem async def get(self,request_configuration: Optional[MultiTenantOrganizationMemberItemRequestBuilderGetRequestConfiguration] = None) -> Optional[MultiTenantOrganizationMember]: """ - Get a tenant and its properties in the multi-tenant organization. This API is available in the following national cloud deployments. + Get a tenant and its properties in the multi-tenant organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MultiTenantOrganizationMember] Find more info here: https://learn.microsoft.com/graph/api/multitenantorganizationmember-get?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[MultiTenantOrganizationMember] = None, reque def to_delete_request_information(self,request_configuration: Optional[MultiTenantOrganizationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a tenant from a multitenant organization. A tenant can be removed in the following scenarios: To allow for asynchronous processing, you must wait for up to 2 hours before removal of a tenant is completed. This API is available in the following national cloud deployments. + Remove a tenant from a multitenant organization. A tenant can be removed in the following scenarios: To allow for asynchronous processing, you must wait for up to 2 hours before removal of a tenant is completed. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[MultiTena request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MultiTenantOrganizationMemberItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a tenant and its properties in the multi-tenant organization. This API is available in the following national cloud deployments. + Get a tenant and its properties in the multi-tenant organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MultiTenantO request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MultiTenantOrganizationMember] = None, request_configuration: Optional[MultiTenantOrganizationMemberItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MultiTenantOrganizationMemb request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class MultiTenantOrganizationMemberItemRequestBuilderDeleteRequestConfiguration( @dataclass class MultiTenantOrganizationMemberItemRequestBuilderGetQueryParameters(): """ - Get a tenant and its properties in the multi-tenant organization. This API is available in the following national cloud deployments. + Get a tenant and its properties in the multi-tenant organization. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/tenants/tenants_request_builder.py b/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/tenants/tenants_request_builder.py index fb355489281..658cfa9573f 100644 --- a/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/tenants/tenants_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/multi_tenant_organization/tenants/tenants_request_builder.py @@ -45,7 +45,7 @@ def by_multi_tenant_organization_member_id(self,multi_tenant_organization_member async def get(self,request_configuration: Optional[TenantsRequestBuilderGetRequestConfiguration] = None) -> Optional[MultiTenantOrganizationMemberCollectionResponse]: """ - List the tenants and their properties in the multi-tenant organization. This API is available in the following national cloud deployments. + List the tenants and their properties in the multi-tenant organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MultiTenantOrganizationMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/multitenantorganization-list-tenants?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TenantsRequestBuilderGetReque async def post(self,body: Optional[MultiTenantOrganizationMember] = None, request_configuration: Optional[TenantsRequestBuilderPostRequestConfiguration] = None) -> Optional[MultiTenantOrganizationMember]: """ - Add a tenant to a multitenant organization. The administrator of an owner tenant has the permissions to add tenants to the multitenant organization. The added tenant is in the pending state until the administrator of the added tenant joins the multitenant organization by submitting a join request. A tenant can be part of only one multitenant organization. This API is available in the following national cloud deployments. + Add a tenant to a multitenant organization. The administrator of an owner tenant has the permissions to add tenants to the multitenant organization. The added tenant is in the pending state until the administrator of the added tenant joins the multitenant organization by submitting a join request. A tenant can be part of only one multitenant organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MultiTenantOrganizationMember] @@ -92,7 +92,7 @@ async def post(self,body: Optional[MultiTenantOrganizationMember] = None, reques def to_get_request_information(self,request_configuration: Optional[TenantsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the tenants and their properties in the multi-tenant organization. This API is available in the following national cloud deployments. + List the tenants and their properties in the multi-tenant organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[TenantsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MultiTenantOrganizationMember] = None, request_configuration: Optional[TenantsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a tenant to a multitenant organization. The administrator of an owner tenant has the permissions to add tenants to the multitenant organization. The added tenant is in the pending state until the administrator of the added tenant joins the multitenant organization by submitting a join request. A tenant can be part of only one multitenant organization. This API is available in the following national cloud deployments. + Add a tenant to a multitenant organization. The administrator of an owner tenant has the permissions to add tenants to the multitenant organization. The added tenant is in the pending state until the administrator of the added tenant joins the multitenant organization by submitting a join request. A tenant can be part of only one multitenant organization. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[MultiTenantOrganizationMembe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TenantsRequestBuilderGetQueryParameters(): """ - List the tenants and their properties in the multi-tenant organization. This API is available in the following national cloud deployments. + List the tenants and their properties in the multi-tenant organization. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/tenant_relationships/tenant_relationships_request_builder.py b/msgraph_beta/generated/tenant_relationships/tenant_relationships_request_builder.py index 6189d977a3f..db5a5a89744 100644 --- a/msgraph_beta/generated/tenant_relationships/tenant_relationships_request_builder.py +++ b/msgraph_beta/generated/tenant_relationships/tenant_relationships_request_builder.py @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[TenantRelati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TenantRelationship] = None, request_configuration: Optional[TenantRelationshipsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -134,7 +134,7 @@ def to_patch_request_information(self,body: Optional[TenantRelationship] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/groups/groups_request_builder.py b/msgraph_beta/generated/term_store/groups/groups_request_builder.py index e427d4bf146..5eca666426a 100644 --- a/msgraph_beta/generated/term_store/groups/groups_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/groups_request_builder.py @@ -45,7 +45,7 @@ def by_group_id(self,group_id: str) -> GroupItemRequestBuilder: async def get(self,request_configuration: Optional[GroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[GroupCollectionResponse]: """ - Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term store group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/termstore-list-groups?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[GroupsRequestBuilderGetReques async def post(self,body: Optional[Group] = None, request_configuration: Optional[GroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[Group]: """ - Create a new group object. This API is available in the following national cloud deployments. + Create a new group object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Group] = None, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[GroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term store group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[GroupsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Group] = None, request_configuration: Optional[GroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new group object. This API is available in the following national cloud deployments. + Create a new group object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Group] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class GroupsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term store group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/term_store/groups/item/group_item_request_builder.py b/msgraph_beta/generated/term_store/groups/item/group_item_request_builder.py index f2dfab76231..f0b32c65ac3 100644 --- a/msgraph_beta/generated/term_store/groups/item/group_item_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/group_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[GroupItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a group object in a term store]. This API is available in the following [national cloud deployments. + Delete a group object in a term [store]. 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/termstore-group-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[GroupItemRequestBuilderDel async def get(self,request_configuration: Optional[GroupItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Group]: """ - Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term store group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] Find more info here: https://learn.microsoft.com/graph/api/termstore-group-get?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def patch(self,body: Optional[Group] = None, request_configuration: Option def to_delete_request_information(self,request_configuration: Optional[GroupItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a group object in a term store]. This API is available in the following [national cloud deployments. + Delete a group object in a term [store]. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[GroupItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GroupItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term store group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[GroupItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Group] = None, request_configuration: Optional[GroupItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Group] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -178,7 +178,7 @@ class GroupItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration @dataclass class GroupItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a term store group object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term store group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/children/children_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/children/children_request_builder.py index 34ba8b5d4c5..7ed3b5b341d 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/children/children_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/children/children_request_builder.py @@ -45,7 +45,7 @@ def by_term_id(self,term_id: str) -> TermItemRequestBuilder: async def get(self,request_configuration: Optional[ChildrenRequestBuilderGetRequestConfiguration] = None) -> Optional[TermCollectionResponse]: """ - Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + Get the first level children of a [set] or [term] resource using the children navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TermCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/termstore-term-list-children?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ChildrenRequestBuilderGetRequ async def post(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> Optional[Term]: """ - Create a new term object. This API is available in the following national cloud deployments. + Create a new term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Term] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Term] = None, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[ChildrenRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + Get the first level children of a [set] or [term] resource using the children navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ChildrenRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new term object. This API is available in the following national cloud deployments. + Create a new term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ChildrenRequestBuilderGetQueryParameters(): """ - Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + Get the first level children of a [set] or [term] resource using the children navigation property. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/children_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/children_request_builder.py index 083611bf207..d3bae903711 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/children_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/children_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ChildrenRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py index eaaaa6cf834..ace3a7fc15c 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py index 7d965e5966d..79ef914c79b 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/relations/item/set/set_request_builder.py index b6be2c5048f..1c2f61417e4 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py index 7cbf910f36c..99d03cbc953 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/relations/relations_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/relations/relations_request_builder.py index b933aec4b45..e863b9af087 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/set/set_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/set/set_request_builder.py index 627f2b692d5..a043c7b3664 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/set/set_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/term_item_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/term_item_request_builder.py index 0011478ba05..b82c2416058 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/term_item_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/children/item/term_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/relations/item/from_term/from_term_request_builder.py index 04a71107213..f6cea5a95c3 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/relations/item/relation_item_request_builder.py index 75de001287d..c826ff6af2a 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/relations/item/set/set_request_builder.py index 2c2340d65b4..b12b1e807b4 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/relations/item/to_term/to_term_request_builder.py index 3bd2b0a4ebb..1b70c573873 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/relations/relations_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/relations/relations_request_builder.py index 5406891ace8..c13e83a364a 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/set/set_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/set/set_request_builder.py index ef4ee72ff01..93e24e9b50d 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/set/set_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/term_item_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/term_item_request_builder.py index 277b7fdacb9..5c54a7a06e9 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/term_item_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/children/item/term_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/parent_group/parent_group_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/parent_group/parent_group_request_builder.py index 65cb5d008be..461e5234795 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/parent_group/parent_group_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/parent_group/parent_group_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ParentGro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ParentGroupRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentGroupR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Group] = None, request_configuration: Optional[ParentGroupRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Group] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/relations/item/from_term/from_term_request_builder.py index 51f2e019b3a..14b154143e2 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/relations/item/relation_item_request_builder.py index b15335e4f63..0caa1d5eedf 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/relations/item/set/set_request_builder.py index 66f26368399..bd920722c61 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/relations/item/to_term/to_term_request_builder.py index 9e307cdb12f..86c9192e213 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/relations/relations_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/relations/relations_request_builder.py index 6cb6c3fd7c8..dc2076c6efc 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/relations/relations_request_builder.py @@ -45,7 +45,7 @@ def by_relation_id(self,relation_id: str) -> RelationItemRequestBuilder: async def get(self,request_configuration: Optional[RelationsRequestBuilderGetRequestConfiguration] = None) -> Optional[RelationCollectionResponse]: """ - Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + Get the different relation of a [term] or [set] from the relations navigation property. 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/termstore-term-list-relations?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[Relation] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[RelationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + Get the different relation of a [term] or [set] from the relations navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationsRequestBuilderGetQueryParameters(): """ - Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + Get the different relation of a [term] or [set] from the relations navigation property. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/set_item_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/set_item_request_builder.py index 6a031fa33c7..3d32e3f8040 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/set_item_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/set_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[SetItemRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SetItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[SetItemReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Set] = None, request_configuration: Optional[SetItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[Set] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/children_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/children_request_builder.py index 9d55051c07e..851362e5fd8 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/children_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/children_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ChildrenRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py index 309e1b290ca..5c1e933002d 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py index 20008b97906..e400cfa5bd7 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py index fae69a26d1c..920af6acac9 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py index 04f3bffa984..592b6b6a4cb 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/relations/relations_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/relations/relations_request_builder.py index 1e0bea2adc3..628b03b977d 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/set/set_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/set/set_request_builder.py index 00d45808474..c0165ccac70 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/set/set_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/term_item_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/term_item_request_builder.py index 88886e27b11..a94d148cb66 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/term_item_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/children/item/term_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py index 198d1733609..e6e1000227d 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/relations/item/relation_item_request_builder.py index fb6fc206a4d..4dab09829f9 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/relations/item/set/set_request_builder.py index a381984bb50..39d4cc46e87 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py index 220e9e021aa..9f033413bde 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/relations/relations_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/relations/relations_request_builder.py index 2e849a18128..c7da7a8c0cf 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/set/set_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/set/set_request_builder.py index 2b802b639f1..b1b8075a047 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/set/set_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/term_item_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/term_item_request_builder.py index 6e3843cde67..6803a3a6b6f 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/term_item_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/item/term_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TermItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a term object. This API is available in the following national cloud deployments. + Delete a term object. 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/termstore-term-delete?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[TermItemRequestBuilderDele async def get(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Term]: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Term] Find more info here: https://learn.microsoft.com/graph/api/termstore-term-get?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[TermItemRequestBuilderGetRequ async def patch(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Term]: """ - Update the properties of a term object. This API is available in the following national cloud deployments. + Update the properties of a term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Term] @@ -98,7 +98,7 @@ async def patch(self,body: Optional[Term] = None, request_configuration: Optiona def to_delete_request_information(self,request_configuration: Optional[TermItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a term object. This API is available in the following national cloud deployments. + Delete a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,12 +126,12 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a term object. This API is available in the following national cloud deployments. + Update the properties of a term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -199,7 +199,7 @@ class TermItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class TermItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/terms_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/terms_request_builder.py index a8bb4ce115d..548df034759 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/item/terms/terms_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/item/terms/terms_request_builder.py @@ -45,7 +45,7 @@ def by_term_id(self,term_id: str) -> TermItemRequestBuilder: async def get(self,request_configuration: Optional[TermsRequestBuilderGetRequestConfiguration] = None) -> Optional[TermCollectionResponse]: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TermCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[Term] = None, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[TermsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[TermsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TermsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/term_store/groups/item/sets/sets_request_builder.py b/msgraph_beta/generated/term_store/groups/item/sets/sets_request_builder.py index 0901258544e..5ac15316de0 100644 --- a/msgraph_beta/generated/term_store/groups/item/sets/sets_request_builder.py +++ b/msgraph_beta/generated/term_store/groups/item/sets/sets_request_builder.py @@ -45,7 +45,7 @@ def by_set_id(self,set_id: str) -> SetItemRequestBuilder: async def get(self,request_configuration: Optional[SetsRequestBuilderGetRequestConfiguration] = None) -> Optional[SetCollectionResponse]: """ - Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + Get a list of the set objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SetCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/termstore-group-list-sets?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[Set] = None, request_configuration: Optional[ def to_get_request_information(self,request_configuration: Optional[SetsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + Get a list of the set objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SetsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Set] = None, request_configuration: Optional[SetsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Set] = None, request_configu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SetsRequestBuilderGetQueryParameters(): """ - Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + Get a list of the set objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/term_store/sets/item/children/children_request_builder.py b/msgraph_beta/generated/term_store/sets/item/children/children_request_builder.py index 9120fcdd404..891c62e328d 100644 --- a/msgraph_beta/generated/term_store/sets/item/children/children_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/children/children_request_builder.py @@ -45,7 +45,7 @@ def by_term_id(self,term_id: str) -> TermItemRequestBuilder: async def get(self,request_configuration: Optional[ChildrenRequestBuilderGetRequestConfiguration] = None) -> Optional[TermCollectionResponse]: """ - Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + Get the first level children of a [set] or [term] resource using the children navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TermCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/termstore-term-list-children?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ChildrenRequestBuilderGetRequ async def post(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> Optional[Term]: """ - Create a new term object. This API is available in the following national cloud deployments. + Create a new term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Term] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Term] = None, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[ChildrenRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + Get the first level children of a [set] or [term] resource using the children navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ChildrenRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new term object. This API is available in the following national cloud deployments. + Create a new term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ChildrenRequestBuilderGetQueryParameters(): """ - Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + Get the first level children of a [set] or [term] resource using the children navigation property. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/term_store/sets/item/children/item/children/children_request_builder.py b/msgraph_beta/generated/term_store/sets/item/children/item/children/children_request_builder.py index e276845fbbc..916d7b39539 100644 --- a/msgraph_beta/generated/term_store/sets/item/children/item/children/children_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/children/item/children/children_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ChildrenRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/term_store/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py index 7071265e715..ce5c9320522 100644 --- a/msgraph_beta/generated/term_store/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/term_store/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py index 1d19ee6c647..f7834fd4bcd 100644 --- a/msgraph_beta/generated/term_store/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/children/item/children/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/term_store/sets/item/children/item/children/item/relations/item/set/set_request_builder.py index 661e0b56d0a..4358a0fead7 100644 --- a/msgraph_beta/generated/term_store/sets/item/children/item/children/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/children/item/children/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/term_store/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py index 942ff32001b..0f70c13842c 100644 --- a/msgraph_beta/generated/term_store/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/children/item/children/item/relations/relations_request_builder.py b/msgraph_beta/generated/term_store/sets/item/children/item/children/item/relations/relations_request_builder.py index d03c2732e0d..1c1e49d7afa 100644 --- a/msgraph_beta/generated/term_store/sets/item/children/item/children/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/children/item/children/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/children/item/children/item/set/set_request_builder.py b/msgraph_beta/generated/term_store/sets/item/children/item/children/item/set/set_request_builder.py index 1fd410c0871..17567ee20d7 100644 --- a/msgraph_beta/generated/term_store/sets/item/children/item/children/item/set/set_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/children/item/children/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/children/item/children/item/term_item_request_builder.py b/msgraph_beta/generated/term_store/sets/item/children/item/children/item/term_item_request_builder.py index 404e3242aa0..5d9513d90be 100644 --- a/msgraph_beta/generated/term_store/sets/item/children/item/children/item/term_item_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/children/item/children/item/term_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/children/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/term_store/sets/item/children/item/relations/item/from_term/from_term_request_builder.py index 862ccd7b82a..06d4d181c64 100644 --- a/msgraph_beta/generated/term_store/sets/item/children/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/children/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/children/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/term_store/sets/item/children/item/relations/item/relation_item_request_builder.py index 558d1e6ef54..2be7aefe0ac 100644 --- a/msgraph_beta/generated/term_store/sets/item/children/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/children/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/children/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/term_store/sets/item/children/item/relations/item/set/set_request_builder.py index 9d84056bd53..c71cb54a8e0 100644 --- a/msgraph_beta/generated/term_store/sets/item/children/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/children/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/children/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/term_store/sets/item/children/item/relations/item/to_term/to_term_request_builder.py index 22514139465..bff27508d60 100644 --- a/msgraph_beta/generated/term_store/sets/item/children/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/children/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/children/item/relations/relations_request_builder.py b/msgraph_beta/generated/term_store/sets/item/children/item/relations/relations_request_builder.py index a45c3353a6e..c44e44db550 100644 --- a/msgraph_beta/generated/term_store/sets/item/children/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/children/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/children/item/set/set_request_builder.py b/msgraph_beta/generated/term_store/sets/item/children/item/set/set_request_builder.py index f26f8ab598e..eda61b029e4 100644 --- a/msgraph_beta/generated/term_store/sets/item/children/item/set/set_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/children/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/children/item/term_item_request_builder.py b/msgraph_beta/generated/term_store/sets/item/children/item/term_item_request_builder.py index 3d9e1f29009..2f170e0e3df 100644 --- a/msgraph_beta/generated/term_store/sets/item/children/item/term_item_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/children/item/term_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/parent_group_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/parent_group_request_builder.py index c35a7388a8e..8fd814e5fac 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/parent_group_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/parent_group_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ParentGro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ParentGroupRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentGroupR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Group] = None, request_configuration: Optional[ParentGroupRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Group] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/children_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/children_request_builder.py index 093b2226c34..b2746337815 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/children_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/children_request_builder.py @@ -45,7 +45,7 @@ def by_term_id(self,term_id: str) -> TermItemRequestBuilder: async def get(self,request_configuration: Optional[ChildrenRequestBuilderGetRequestConfiguration] = None) -> Optional[TermCollectionResponse]: """ - Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + Get the first level children of a [set] or [term] resource using the children navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TermCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/termstore-term-list-children?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ChildrenRequestBuilderGetRequ async def post(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> Optional[Term]: """ - Create a new term object. This API is available in the following national cloud deployments. + Create a new term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Term] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Term] = None, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[ChildrenRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + Get the first level children of a [set] or [term] resource using the children navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ChildrenRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new term object. This API is available in the following national cloud deployments. + Create a new term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ChildrenRequestBuilderGetQueryParameters(): """ - Get the first level children of a set] or [term] resource using the children navigation property. This API is available in the following [national cloud deployments. + Get the first level children of a [set] or [term] resource using the children navigation property. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/children_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/children_request_builder.py index e7509faac1b..49763920dae 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/children_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/children_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ChildrenRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py index 0b53143a425..c5cab380d3f 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py index ee71301e82f..ba6b7f8a3b5 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/set/set_request_builder.py index 2f0282d79bf..6f3854795bb 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py index 3f3abb899ed..9e53d4599be 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/relations_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/relations_request_builder.py index 5bdb9e14ac6..88aec241d7e 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/set/set_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/set/set_request_builder.py index 4c98d124185..80842873e97 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/set/set_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/term_item_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/term_item_request_builder.py index 57b1bf714cb..b6e145a2b18 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/term_item_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/children/item/term_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/relations/item/from_term/from_term_request_builder.py index 8af3f007d4d..12c0c45080b 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/relations/item/relation_item_request_builder.py index 43eb5c0b9ca..659ef4db6e8 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/relations/item/set/set_request_builder.py index 3b1adf871d3..6a0127df421 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/relations/item/to_term/to_term_request_builder.py index 5a8e0669bfc..9d2afe17b57 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/relations/relations_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/relations/relations_request_builder.py index b6a3349a01f..b5df37a91f8 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/set/set_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/set/set_request_builder.py index 13742e7ca0b..6e5835c23cb 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/set/set_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/term_item_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/term_item_request_builder.py index 879b6abaf0e..e019d624338 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/term_item_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/children/item/term_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/relations/item/from_term/from_term_request_builder.py index f9a102454e2..be7deefa571 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/relations/item/relation_item_request_builder.py index 09ef41d4afd..bb56ed2cbda 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/relations/item/set/set_request_builder.py index e9ceafee8f3..5d2d8a73e93 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/relations/item/to_term/to_term_request_builder.py index 32b545bb5ae..f068b18c8b1 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/relations/relations_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/relations/relations_request_builder.py index 2c058c55132..6de5e26df0c 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/relations/relations_request_builder.py @@ -45,7 +45,7 @@ def by_relation_id(self,relation_id: str) -> RelationItemRequestBuilder: async def get(self,request_configuration: Optional[RelationsRequestBuilderGetRequestConfiguration] = None) -> Optional[RelationCollectionResponse]: """ - Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + Get the different relation of a [term] or [set] from the relations navigation property. 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/termstore-term-list-relations?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[Relation] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[RelationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + Get the different relation of a [term] or [set] from the relations navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationsRequestBuilderGetQueryParameters(): """ - Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + Get the different relation of a [term] or [set] from the relations navigation property. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/set_item_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/set_item_request_builder.py index db3298425a4..e0c9cd3bc7e 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/set_item_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/set_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[SetItemRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SetItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[SetItemReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Set] = None, request_configuration: Optional[SetItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Set] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/children_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/children_request_builder.py index 2d15667934b..001bd6b5b9c 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/children_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/children_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ChildrenRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py index 421d1a99a1e..08d3ee13aa3 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py index 4685bddd31d..689a436462c 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py index f4d0ad59579..ecb8ca3d6e5 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py index 677fc9490e3..2a51baa11d1 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/relations_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/relations_request_builder.py index 8a333e6a939..dbd2cf0133e 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/set/set_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/set/set_request_builder.py index b7897590e31..55d830b1f88 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/set/set_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/term_item_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/term_item_request_builder.py index dda41f5c44e..afca66b8f4d 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/term_item_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/children/item/term_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py index 1222e0316d8..ede2977b6b9 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/relation_item_request_builder.py index 76024145ee1..c9f990e3032 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/set/set_request_builder.py index efd7d0edab7..437cfdf5a33 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py index e936f96f48c..a1d2ee3fecc 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/relations/relations_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/relations/relations_request_builder.py index a7958e8b68c..8347b0108bd 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/set/set_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/set/set_request_builder.py index 9ee359b791e..55a7c8e4800 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/set/set_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/term_item_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/term_item_request_builder.py index 6f0f958f4ee..27db718fe00 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/term_item_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/item/term_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TermItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a term object. This API is available in the following national cloud deployments. + Delete a term object. 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/termstore-term-delete?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[TermItemRequestBuilderDele async def get(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Term]: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Term] Find more info here: https://learn.microsoft.com/graph/api/termstore-term-get?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[TermItemRequestBuilderGetRequ async def patch(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Term]: """ - Update the properties of a term object. This API is available in the following national cloud deployments. + Update the properties of a term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Term] @@ -98,7 +98,7 @@ async def patch(self,body: Optional[Term] = None, request_configuration: Optiona def to_delete_request_information(self,request_configuration: Optional[TermItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a term object. This API is available in the following national cloud deployments. + Delete a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,12 +126,12 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a term object. This API is available in the following national cloud deployments. + Update the properties of a term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -199,7 +199,7 @@ class TermItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class TermItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/terms_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/terms_request_builder.py index 6d646617b52..9fa2b2d8729 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/terms_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/item/terms/terms_request_builder.py @@ -45,7 +45,7 @@ def by_term_id(self,term_id: str) -> TermItemRequestBuilder: async def get(self,request_configuration: Optional[TermsRequestBuilderGetRequestConfiguration] = None) -> Optional[TermCollectionResponse]: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TermCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[Term] = None, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[TermsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[TermsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TermsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/sets_request_builder.py b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/sets_request_builder.py index 832161a8c1e..6364e0a4100 100644 --- a/msgraph_beta/generated/term_store/sets/item/parent_group/sets/sets_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/parent_group/sets/sets_request_builder.py @@ -45,7 +45,7 @@ def by_set_id1(self,set_id1: str) -> SetItemRequestBuilder: async def get(self,request_configuration: Optional[SetsRequestBuilderGetRequestConfiguration] = None) -> Optional[SetCollectionResponse]: """ - Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + Get a list of the set objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SetCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/termstore-group-list-sets?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[Set] = None, request_configuration: Optional[ def to_get_request_information(self,request_configuration: Optional[SetsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + Get a list of the set objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SetsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Set] = None, request_configuration: Optional[SetsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Set] = None, request_configu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SetsRequestBuilderGetQueryParameters(): """ - Get a list of the set objects and their properties. This API is available in the following national cloud deployments. + Get a list of the set objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/term_store/sets/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/term_store/sets/item/relations/item/from_term/from_term_request_builder.py index 5dea9f59da2..5c824c6846e 100644 --- a/msgraph_beta/generated/term_store/sets/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/term_store/sets/item/relations/item/relation_item_request_builder.py index 1c0eede2bc4..8d7df1915fe 100644 --- a/msgraph_beta/generated/term_store/sets/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/term_store/sets/item/relations/item/set/set_request_builder.py index 59aca15e245..a5aa6e59158 100644 --- a/msgraph_beta/generated/term_store/sets/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/term_store/sets/item/relations/item/to_term/to_term_request_builder.py index 2aed6d6d755..472c4e2156b 100644 --- a/msgraph_beta/generated/term_store/sets/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/relations/relations_request_builder.py b/msgraph_beta/generated/term_store/sets/item/relations/relations_request_builder.py index 92c8da2bd68..6282766238c 100644 --- a/msgraph_beta/generated/term_store/sets/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/relations/relations_request_builder.py @@ -45,7 +45,7 @@ def by_relation_id(self,relation_id: str) -> RelationItemRequestBuilder: async def get(self,request_configuration: Optional[RelationsRequestBuilderGetRequestConfiguration] = None) -> Optional[RelationCollectionResponse]: """ - Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + Get the different relation of a [term] or [set] from the relations navigation property. 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/termstore-term-list-relations?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[Relation] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[RelationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + Get the different relation of a [term] or [set] from the relations navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RelationsRequestBuilderGetQueryParameters(): """ - Get the different relation of a term] or [set] from the relations navigation property. This API is available in the following [national cloud deployments. + Get the different relation of a [term] or [set] from the relations navigation property. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/term_store/sets/item/set_item_request_builder.py b/msgraph_beta/generated/term_store/sets/item/set_item_request_builder.py index 9c3d0bda597..ce11ab72bb9 100644 --- a/msgraph_beta/generated/term_store/sets/item/set_item_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/set_item_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[SetItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a set object. This API is available in the following national cloud deployments. + Delete a set object. 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/termstore-set-delete?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[SetItemRequestBuilderDelet async def get(self,request_configuration: Optional[SetItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Set]: """ - Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + Read the properties and relationships of a set object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Set] Find more info here: https://learn.microsoft.com/graph/api/termstore-set-get?view=graph-rest-1.0 @@ -74,7 +74,7 @@ async def get(self,request_configuration: Optional[SetItemRequestBuilderGetReque async def patch(self,body: Optional[Set] = None, request_configuration: Optional[SetItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Set]: """ - Update the properties of a set object. This API is available in the following national cloud deployments. + Update the properties of a set object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Set] @@ -99,7 +99,7 @@ async def patch(self,body: Optional[Set] = None, request_configuration: Optional def to_delete_request_information(self,request_configuration: Optional[SetItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a set object. This API is available in the following national cloud deployments. + Delete a set object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -110,12 +110,12 @@ def to_delete_request_information(self,request_configuration: Optional[SetItemRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SetItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + Read the properties and relationships of a set object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -127,12 +127,12 @@ def to_get_request_information(self,request_configuration: Optional[SetItemReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Set] = None, request_configuration: Optional[SetItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a set object. This API is available in the following national cloud deployments. + Update the properties of a set object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[Set] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -209,7 +209,7 @@ class SetItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class SetItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + Read the properties and relationships of a set object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/term_store/sets/item/terms/item/children/children_request_builder.py b/msgraph_beta/generated/term_store/sets/item/terms/item/children/children_request_builder.py index 2f54c3329bd..86f2c46c71f 100644 --- a/msgraph_beta/generated/term_store/sets/item/terms/item/children/children_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/terms/item/children/children_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ChildrenRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[ChildrenRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py index 1c194286733..330c81bf667 100644 --- a/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py index 616e4a74957..0cd56e95d2b 100644 --- a/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py index cf37053e1bf..155a23a6202 100644 --- a/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py index 2ee15c14241..cfcf64792a0 100644 --- a/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/relations/relations_request_builder.py b/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/relations/relations_request_builder.py index 8377b0b2fc0..759094f8e37 100644 --- a/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/set/set_request_builder.py b/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/set/set_request_builder.py index c6e4878515b..a3b5f1cf2e6 100644 --- a/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/set/set_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/term_item_request_builder.py b/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/term_item_request_builder.py index 8b6ffd4b5d4..7e9a5a3b473 100644 --- a/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/term_item_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/terms/item/children/item/term_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py b/msgraph_beta/generated/term_store/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py index f74e2fc5a6d..f316bca41e3 100644 --- a/msgraph_beta/generated/term_store/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/terms/item/relations/item/from_term/from_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FromTermRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FromTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/terms/item/relations/item/relation_item_request_builder.py b/msgraph_beta/generated/term_store/sets/item/terms/item/relations/item/relation_item_request_builder.py index c883ad27f50..52268c8e795 100644 --- a/msgraph_beta/generated/term_store/sets/item/terms/item/relations/item/relation_item_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/terms/item/relations/item/relation_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RelationI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RelationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[Relation] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/terms/item/relations/item/set/set_request_builder.py b/msgraph_beta/generated/term_store/sets/item/terms/item/relations/item/set/set_request_builder.py index 581878e0c40..3d0e1c81f71 100644 --- a/msgraph_beta/generated/term_store/sets/item/terms/item/relations/item/set/set_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/terms/item/relations/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py b/msgraph_beta/generated/term_store/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py index f6a9829b329..6788225c22f 100644 --- a/msgraph_beta/generated/term_store/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/terms/item/relations/item/to_term/to_term_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ToTermReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ToTermRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/terms/item/relations/relations_request_builder.py b/msgraph_beta/generated/term_store/sets/item/terms/item/relations/relations_request_builder.py index 60a88a5cb4a..cc070f754c8 100644 --- a/msgraph_beta/generated/term_store/sets/item/terms/item/relations/relations_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/terms/item/relations/relations_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RelationsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Relation] = None, request_configuration: Optional[RelationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Relation] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/term_store/sets/item/terms/item/set/set_request_builder.py b/msgraph_beta/generated/term_store/sets/item/terms/item/set/set_request_builder.py index 3961b94c6af..9b09d19d50a 100644 --- a/msgraph_beta/generated/term_store/sets/item/terms/item/set/set_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/terms/item/set/set_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SetRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SetRequestBuilder: diff --git a/msgraph_beta/generated/term_store/sets/item/terms/item/term_item_request_builder.py b/msgraph_beta/generated/term_store/sets/item/terms/item/term_item_request_builder.py index d45fb3b97d2..56a006c5d4d 100644 --- a/msgraph_beta/generated/term_store/sets/item/terms/item/term_item_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/terms/item/term_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TermItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a term object. This API is available in the following national cloud deployments. + Delete a term object. 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/termstore-term-delete?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[TermItemRequestBuilderDele async def get(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Term]: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Term] Find more info here: https://learn.microsoft.com/graph/api/termstore-term-get?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[TermItemRequestBuilderGetRequ async def patch(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Term]: """ - Update the properties of a term object. This API is available in the following national cloud deployments. + Update the properties of a term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Term] @@ -98,7 +98,7 @@ async def patch(self,body: Optional[Term] = None, request_configuration: Optiona def to_delete_request_information(self,request_configuration: Optional[TermItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a term object. This API is available in the following national cloud deployments. + Delete a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[TermItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TermItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,12 +126,12 @@ def to_get_request_information(self,request_configuration: Optional[TermItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a term object. This API is available in the following national cloud deployments. + Update the properties of a term object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[Term] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -199,7 +199,7 @@ class TermItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class TermItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/term_store/sets/item/terms/terms_request_builder.py b/msgraph_beta/generated/term_store/sets/item/terms/terms_request_builder.py index 6879033a236..70bf37a210e 100644 --- a/msgraph_beta/generated/term_store/sets/item/terms/terms_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/item/terms/terms_request_builder.py @@ -45,7 +45,7 @@ def by_term_id(self,term_id: str) -> TermItemRequestBuilder: async def get(self,request_configuration: Optional[TermsRequestBuilderGetRequestConfiguration] = None) -> Optional[TermCollectionResponse]: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TermCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[Term] = None, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[TermsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[TermsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Term] = None, request_configuration: Optional[TermsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Term] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TermsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a term object. This API is available in the following national cloud deployments. + Read the properties and relationships of a term object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/term_store/sets/sets_request_builder.py b/msgraph_beta/generated/term_store/sets/sets_request_builder.py index ee4221d84a4..ae07e4ff9fe 100644 --- a/msgraph_beta/generated/term_store/sets/sets_request_builder.py +++ b/msgraph_beta/generated/term_store/sets/sets_request_builder.py @@ -45,7 +45,7 @@ def by_set_id(self,set_id: str) -> SetItemRequestBuilder: async def get(self,request_configuration: Optional[SetsRequestBuilderGetRequestConfiguration] = None) -> Optional[SetCollectionResponse]: """ - Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + Read the properties and relationships of a set object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SetCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[Set] = None, request_configuration: Optional[ def to_get_request_information(self,request_configuration: Optional[SetsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + Read the properties and relationships of a set object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SetsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Set] = None, request_configuration: Optional[SetsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Set] = None, request_configu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SetsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a set object. This API is available in the following national cloud deployments. + Read the properties and relationships of a set object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/term_store/term_store_request_builder.py b/msgraph_beta/generated/term_store/term_store_request_builder.py index d2778a9f864..dd3f57f0133 100644 --- a/msgraph_beta/generated/term_store/term_store_request_builder.py +++ b/msgraph_beta/generated/term_store/term_store_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[TermStoreRequestBuilderGetRequestConfiguration] = None) -> Optional[Store]: """ - Read the properties and relationships of a store object. This API is available in the following national cloud deployments. + Read the properties and relationships of a store object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Store] Find more info here: https://learn.microsoft.com/graph/api/termstore-store-get?view=graph-rest-1.0 @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[TermStoreRequestBuilderGetReq async def patch(self,body: Optional[Store] = None, request_configuration: Optional[TermStoreRequestBuilderPatchRequestConfiguration] = None) -> Optional[Store]: """ - Update the properties of a store object. This API is available in the following national cloud deployments. + Update the properties of a store object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Store] @@ -77,7 +77,7 @@ async def patch(self,body: Optional[Store] = None, request_configuration: Option def to_get_request_information(self,request_configuration: Optional[TermStoreRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a store object. This API is available in the following national cloud deployments. + Read the properties and relationships of a store object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -89,12 +89,12 @@ def to_get_request_information(self,request_configuration: Optional[TermStoreReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Store] = None, request_configuration: Optional[TermStoreRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a store object. This API is available in the following national cloud deployments. + Update the properties of a store object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -108,7 +108,7 @@ def to_patch_request_information(self,body: Optional[Store] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -143,7 +143,7 @@ def sets(self) -> SetsRequestBuilder: @dataclass class TermStoreRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a store object. This API is available in the following national cloud deployments. + Read the properties and relationships of a store object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/threat_submission/email_threat_submission_policies/email_threat_submission_policies_request_builder.py b/msgraph_beta/generated/threat_submission/email_threat_submission_policies/email_threat_submission_policies_request_builder.py index 112127688fe..60c24995939 100644 --- a/msgraph_beta/generated/threat_submission/email_threat_submission_policies/email_threat_submission_policies_request_builder.py +++ b/msgraph_beta/generated/threat_submission/email_threat_submission_policies/email_threat_submission_policies_request_builder.py @@ -45,7 +45,7 @@ def by_email_threat_submission_policy_id(self,email_threat_submission_policy_id: async def get(self,request_configuration: Optional[EmailThreatSubmissionPoliciesRequestBuilderGetRequestConfiguration] = None) -> Optional[EmailThreatSubmissionPolicyCollectionResponse]: """ - Get a list of the emailThreatSubmissionPolicy objects and their properties. This API is available in the following national cloud deployments. + Get a list of the emailThreatSubmissionPolicy objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EmailThreatSubmissionPolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-emailthreatsubmissionpolicy-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[EmailThreatSubmissionPolicy] = None, request_ def to_get_request_information(self,request_configuration: Optional[EmailThreatSubmissionPoliciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the emailThreatSubmissionPolicy objects and their properties. This API is available in the following national cloud deployments. + Get a list of the emailThreatSubmissionPolicy objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[EmailThreatS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EmailThreatSubmissionPolicy] = None, request_configuration: Optional[EmailThreatSubmissionPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[EmailThreatSubmissionPolicy] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class EmailThreatSubmissionPoliciesRequestBuilderGetQueryParameters(): """ - Get a list of the emailThreatSubmissionPolicy objects and their properties. This API is available in the following national cloud deployments. + Get a list of the emailThreatSubmissionPolicy objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/threat_submission/email_threat_submission_policies/item/email_threat_submission_policy_item_request_builder.py b/msgraph_beta/generated/threat_submission/email_threat_submission_policies/item/email_threat_submission_policy_item_request_builder.py index 64b8faf1c30..75beffd4feb 100644 --- a/msgraph_beta/generated/threat_submission/email_threat_submission_policies/item/email_threat_submission_policy_item_request_builder.py +++ b/msgraph_beta/generated/threat_submission/email_threat_submission_policies/item/email_threat_submission_policy_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[EmailThreatSubmissionPolic async def get(self,request_configuration: Optional[EmailThreatSubmissionPolicyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EmailThreatSubmissionPolicy]: """ - Read the properties and relationships of an emailThreatSubmissionPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of an emailThreatSubmissionPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EmailThreatSubmissionPolicy] Find more info here: https://learn.microsoft.com/graph/api/security-emailthreatsubmissionpolicy-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[EmailThre request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EmailThreatSubmissionPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an emailThreatSubmissionPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of an emailThreatSubmissionPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[EmailThreatS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EmailThreatSubmissionPolicy] = None, request_configuration: Optional[EmailThreatSubmissionPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[EmailThreatSubmissionPolicy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class EmailThreatSubmissionPolicyItemRequestBuilderDeleteRequestConfiguration(Ba @dataclass class EmailThreatSubmissionPolicyItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an emailThreatSubmissionPolicy object. This API is available in the following national cloud deployments. + Read the properties and relationships of an emailThreatSubmissionPolicy object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/threat_submission/email_threats/email_threats_request_builder.py b/msgraph_beta/generated/threat_submission/email_threats/email_threats_request_builder.py index 774a7ba32fc..10a85e0b1ba 100644 --- a/msgraph_beta/generated/threat_submission/email_threats/email_threats_request_builder.py +++ b/msgraph_beta/generated/threat_submission/email_threats/email_threats_request_builder.py @@ -45,7 +45,7 @@ def by_email_threat_submission_id(self,email_threat_submission_id: str) -> Email async def get(self,request_configuration: Optional[EmailThreatsRequestBuilderGetRequestConfiguration] = None) -> Optional[EmailThreatSubmissionCollectionResponse]: """ - Get a list of the emailThreatSubmission objects and their properties. This API is available in the following national cloud deployments. + Get a list of the emailThreatSubmission objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EmailThreatSubmissionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-emailthreatsubmission-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[EmailThreatsRequestBuilderGet async def post(self,body: Optional[EmailThreatSubmission] = None, request_configuration: Optional[EmailThreatsRequestBuilderPostRequestConfiguration] = None) -> Optional[EmailThreatSubmission]: """ - Create a new emailThreatSubmission object. This API is available in the following national cloud deployments. + Create a new emailThreatSubmission object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EmailThreatSubmission] @@ -92,7 +92,7 @@ async def post(self,body: Optional[EmailThreatSubmission] = None, request_config def to_get_request_information(self,request_configuration: Optional[EmailThreatsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the emailThreatSubmission objects and their properties. This API is available in the following national cloud deployments. + Get a list of the emailThreatSubmission objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[EmailThreats request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EmailThreatSubmission] = None, request_configuration: Optional[EmailThreatsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new emailThreatSubmission object. This API is available in the following national cloud deployments. + Create a new emailThreatSubmission object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[EmailThreatSubmission] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class EmailThreatsRequestBuilderGetQueryParameters(): """ - Get a list of the emailThreatSubmission objects and their properties. This API is available in the following national cloud deployments. + Get a list of the emailThreatSubmission objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/threat_submission/email_threats/item/email_threat_submission_item_request_builder.py b/msgraph_beta/generated/threat_submission/email_threats/item/email_threat_submission_item_request_builder.py index 755262357ed..fa504c46f5e 100644 --- a/msgraph_beta/generated/threat_submission/email_threats/item/email_threat_submission_item_request_builder.py +++ b/msgraph_beta/generated/threat_submission/email_threats/item/email_threat_submission_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[EmailThreatSubmissionItemR async def get(self,request_configuration: Optional[EmailThreatSubmissionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EmailThreatSubmission]: """ - Read the properties and relationships of an emailThreatSubmission object. This API is available in the following national cloud deployments. + Read the properties and relationships of an emailThreatSubmission object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EmailThreatSubmission] Find more info here: https://learn.microsoft.com/graph/api/security-emailthreatsubmission-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[EmailThre request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EmailThreatSubmissionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an emailThreatSubmission object. This API is available in the following national cloud deployments. + Read the properties and relationships of an emailThreatSubmission object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[EmailThreatS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EmailThreatSubmission] = None, request_configuration: Optional[EmailThreatSubmissionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[EmailThreatSubmission] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class EmailThreatSubmissionItemRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class EmailThreatSubmissionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an emailThreatSubmission object. This API is available in the following national cloud deployments. + Read the properties and relationships of an emailThreatSubmission object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/threat_submission/file_threats/file_threats_request_builder.py b/msgraph_beta/generated/threat_submission/file_threats/file_threats_request_builder.py index 8ed19a60867..aa84a9431a0 100644 --- a/msgraph_beta/generated/threat_submission/file_threats/file_threats_request_builder.py +++ b/msgraph_beta/generated/threat_submission/file_threats/file_threats_request_builder.py @@ -45,7 +45,7 @@ def by_file_threat_submission_id(self,file_threat_submission_id: str) -> FileThr async def get(self,request_configuration: Optional[FileThreatsRequestBuilderGetRequestConfiguration] = None) -> Optional[FileThreatSubmissionCollectionResponse]: """ - Get a list of the fileThreatSubmission objects and their properties. This API is available in the following national cloud deployments. + Get a list of the fileThreatSubmission objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FileThreatSubmissionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-filethreatsubmission-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[FileThreatSubmission] = None, request_configu def to_get_request_information(self,request_configuration: Optional[FileThreatsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the fileThreatSubmission objects and their properties. This API is available in the following national cloud deployments. + Get a list of the fileThreatSubmission objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[FileThreatsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[FileThreatSubmission] = None, request_configuration: Optional[FileThreatsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[FileThreatSubmission] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class FileThreatsRequestBuilderGetQueryParameters(): """ - Get a list of the fileThreatSubmission objects and their properties. This API is available in the following national cloud deployments. + Get a list of the fileThreatSubmission objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/threat_submission/file_threats/item/file_threat_submission_item_request_builder.py b/msgraph_beta/generated/threat_submission/file_threats/item/file_threat_submission_item_request_builder.py index 3d5a32efd49..7c782456b19 100644 --- a/msgraph_beta/generated/threat_submission/file_threats/item/file_threat_submission_item_request_builder.py +++ b/msgraph_beta/generated/threat_submission/file_threats/item/file_threat_submission_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[FileThreatSubmissionItemRe async def get(self,request_configuration: Optional[FileThreatSubmissionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[FileThreatSubmission]: """ - Read the properties and relationships of a fileThreatSubmission object. This API is available in the following national cloud deployments. + Read the properties and relationships of a fileThreatSubmission object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FileThreatSubmission] Find more info here: https://learn.microsoft.com/graph/api/security-filethreatsubmission-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[FileThrea request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[FileThreatSubmissionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a fileThreatSubmission object. This API is available in the following national cloud deployments. + Read the properties and relationships of a fileThreatSubmission object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[FileThreatSu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[FileThreatSubmission] = None, request_configuration: Optional[FileThreatSubmissionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[FileThreatSubmission] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class FileThreatSubmissionItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class FileThreatSubmissionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a fileThreatSubmission object. This API is available in the following national cloud deployments. + Read the properties and relationships of a fileThreatSubmission object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/threat_submission/threat_submission_request_builder.py b/msgraph_beta/generated/threat_submission/threat_submission_request_builder.py index 4e9e2267052..0aac307879b 100644 --- a/msgraph_beta/generated/threat_submission/threat_submission_request_builder.py +++ b/msgraph_beta/generated/threat_submission/threat_submission_request_builder.py @@ -89,7 +89,7 @@ def to_get_request_information(self,request_configuration: Optional[ThreatSubmis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ThreatSubmissionRoot] = None, request_configuration: Optional[ThreatSubmissionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -108,7 +108,7 @@ def to_patch_request_information(self,body: Optional[ThreatSubmissionRoot] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/threat_submission/url_threats/item/url_threat_submission_item_request_builder.py b/msgraph_beta/generated/threat_submission/url_threats/item/url_threat_submission_item_request_builder.py index d882ea0bac0..98cff3b8eed 100644 --- a/msgraph_beta/generated/threat_submission/url_threats/item/url_threat_submission_item_request_builder.py +++ b/msgraph_beta/generated/threat_submission/url_threats/item/url_threat_submission_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[UrlThreatSubmissionItemReq async def get(self,request_configuration: Optional[UrlThreatSubmissionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UrlThreatSubmission]: """ - Read the properties and relationships of an urlThreatSubmission object. This API is available in the following national cloud deployments. + Read the properties and relationships of an urlThreatSubmission object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UrlThreatSubmission] Find more info here: https://learn.microsoft.com/graph/api/security-urlthreatsubmission-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[UrlThreat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UrlThreatSubmissionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an urlThreatSubmission object. This API is available in the following national cloud deployments. + Read the properties and relationships of an urlThreatSubmission object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[UrlThreatSub request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UrlThreatSubmission] = None, request_configuration: Optional[UrlThreatSubmissionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[UrlThreatSubmission] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class UrlThreatSubmissionItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class UrlThreatSubmissionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an urlThreatSubmission object. This API is available in the following national cloud deployments. + Read the properties and relationships of an urlThreatSubmission object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/threat_submission/url_threats/url_threats_request_builder.py b/msgraph_beta/generated/threat_submission/url_threats/url_threats_request_builder.py index 57108d9dea0..caef2efb491 100644 --- a/msgraph_beta/generated/threat_submission/url_threats/url_threats_request_builder.py +++ b/msgraph_beta/generated/threat_submission/url_threats/url_threats_request_builder.py @@ -45,7 +45,7 @@ def by_url_threat_submission_id(self,url_threat_submission_id: str) -> UrlThreat async def get(self,request_configuration: Optional[UrlThreatsRequestBuilderGetRequestConfiguration] = None) -> Optional[UrlThreatSubmissionCollectionResponse]: """ - Get a list of the urlThreatSubmission objects and their properties. This API is available in the following national cloud deployments. + Get a list of the urlThreatSubmission objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UrlThreatSubmissionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-urlthreatsubmission-list?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[UrlThreatsRequestBuilderGetRe async def post(self,body: Optional[UrlThreatSubmission] = None, request_configuration: Optional[UrlThreatsRequestBuilderPostRequestConfiguration] = None) -> Optional[UrlThreatSubmission]: """ - Create a new urlThreatSubmission object. This API is available in the following national cloud deployments. + Create a new urlThreatSubmission object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UrlThreatSubmission] @@ -92,7 +92,7 @@ async def post(self,body: Optional[UrlThreatSubmission] = None, request_configur def to_get_request_information(self,request_configuration: Optional[UrlThreatsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the urlThreatSubmission objects and their properties. This API is available in the following national cloud deployments. + Get a list of the urlThreatSubmission objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[UrlThreatsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UrlThreatSubmission] = None, request_configuration: Optional[UrlThreatsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new urlThreatSubmission object. This API is available in the following national cloud deployments. + Create a new urlThreatSubmission object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[UrlThreatSubmission] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class UrlThreatsRequestBuilderGetQueryParameters(): """ - Get a list of the urlThreatSubmission objects and their properties. This API is available in the following national cloud deployments. + Get a list of the urlThreatSubmission objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/trust_framework/key_sets/item/generate_key/generate_key_request_builder.py b/msgraph_beta/generated/trust_framework/key_sets/item/generate_key/generate_key_request_builder.py index 0d3634f30c9..e3a3ba3430e 100644 --- a/msgraph_beta/generated/trust_framework/key_sets/item/generate_key/generate_key_request_builder.py +++ b/msgraph_beta/generated/trust_framework/key_sets/item/generate_key/generate_key_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GenerateKeyPostRequestBody] = None, request_configuration: Optional[GenerateKeyRequestBuilderPostRequestConfiguration] = None) -> Optional[TrustFrameworkKey]: """ - Generate a trustFrameworkKey and a secret automatically in the trustFrameworkKeyset. The caller doesn't have to provide a secret. This API is available in the following national cloud deployments. + Generate a trustFrameworkKey and a secret automatically in the trustFrameworkKeyset. The caller doesn't have to provide a secret. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TrustFrameworkKey] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GenerateKeyPostRequestBody] = None, request_c def to_post_request_information(self,body: Optional[GenerateKeyPostRequestBody] = None, request_configuration: Optional[GenerateKeyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Generate a trustFrameworkKey and a secret automatically in the trustFrameworkKeyset. The caller doesn't have to provide a secret. This API is available in the following national cloud deployments. + Generate a trustFrameworkKey and a secret automatically in the trustFrameworkKeyset. The caller doesn't have to provide a secret. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GenerateKeyPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/trust_framework/key_sets/item/get_active_key/get_active_key_request_builder.py b/msgraph_beta/generated/trust_framework/key_sets/item/get_active_key/get_active_key_request_builder.py index 42a77062b92..d518d95cb77 100644 --- a/msgraph_beta/generated/trust_framework/key_sets/item/get_active_key/get_active_key_request_builder.py +++ b/msgraph_beta/generated/trust_framework/key_sets/item/get_active_key/get_active_key_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetActiveKey request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetActiveKeyRequestBuilder: diff --git a/msgraph_beta/generated/trust_framework/key_sets/item/trust_framework_key_set_item_request_builder.py b/msgraph_beta/generated/trust_framework/key_sets/item/trust_framework_key_set_item_request_builder.py index 5dfcf31fb42..b11340e7c25 100644 --- a/msgraph_beta/generated/trust_framework/key_sets/item/trust_framework_key_set_item_request_builder.py +++ b/msgraph_beta/generated/trust_framework/key_sets/item/trust_framework_key_set_item_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TrustFrameworkKeySetItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a trustFrameworkKeySet. This API is available in the following national cloud deployments. + Delete a trustFrameworkKeySet. 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/trustframeworkkeyset-delete?view=graph-rest-1.0 @@ -53,7 +53,7 @@ async def delete(self,request_configuration: Optional[TrustFrameworkKeySetItemRe async def get(self,request_configuration: Optional[TrustFrameworkKeySetItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TrustFrameworkKeySet]: """ - Retrieve the properties and associations for a Trustframeworkkeyset. This API is available in the following national cloud deployments. + Retrieve the properties and associations for a Trustframeworkkeyset. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TrustFrameworkKeySet] Find more info here: https://learn.microsoft.com/graph/api/trustframeworkkeyset-get?view=graph-rest-1.0 @@ -100,7 +100,7 @@ async def patch(self,body: Optional[TrustFrameworkKeySet] = None, request_config def to_delete_request_information(self,request_configuration: Optional[TrustFrameworkKeySetItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a trustFrameworkKeySet. This API is available in the following national cloud deployments. + Delete a trustFrameworkKeySet. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -111,12 +111,12 @@ def to_delete_request_information(self,request_configuration: Optional[TrustFram request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TrustFrameworkKeySetItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and associations for a Trustframeworkkeyset. This API is available in the following national cloud deployments. + Retrieve the properties and associations for a Trustframeworkkeyset. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -128,7 +128,7 @@ def to_get_request_information(self,request_configuration: Optional[TrustFramewo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TrustFrameworkKeySet] = None, request_configuration: Optional[TrustFrameworkKeySetItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[TrustFrameworkKeySet] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -219,7 +219,7 @@ class TrustFrameworkKeySetItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class TrustFrameworkKeySetItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and associations for a Trustframeworkkeyset. This API is available in the following national cloud deployments. + Retrieve the properties and associations for a Trustframeworkkeyset. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/trust_framework/key_sets/item/upload_certificate/upload_certificate_request_builder.py b/msgraph_beta/generated/trust_framework/key_sets/item/upload_certificate/upload_certificate_request_builder.py index 98614e80aa0..ccdf472bc4b 100644 --- a/msgraph_beta/generated/trust_framework/key_sets/item/upload_certificate/upload_certificate_request_builder.py +++ b/msgraph_beta/generated/trust_framework/key_sets/item/upload_certificate/upload_certificate_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UploadCertificatePostRequestBody] = None, request_configuration: Optional[UploadCertificateRequestBuilderPostRequestConfiguration] = None) -> Optional[TrustFrameworkKey]: """ - Upload a certificate to a trustFrameworkKeyset. The input is a base-64 encoded value of the certificate contents. This method returns trustFrameworkKey. This API is available in the following national cloud deployments. + Upload a certificate to a trustFrameworkKeyset. The input is a base-64 encoded value of the certificate contents. This method returns trustFrameworkKey. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TrustFrameworkKey] @@ -54,7 +54,7 @@ async def post(self,body: Optional[UploadCertificatePostRequestBody] = None, req def to_post_request_information(self,body: Optional[UploadCertificatePostRequestBody] = None, request_configuration: Optional[UploadCertificateRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Upload a certificate to a trustFrameworkKeyset. The input is a base-64 encoded value of the certificate contents. This method returns trustFrameworkKey. This API is available in the following national cloud deployments. + Upload a certificate to a trustFrameworkKeyset. The input is a base-64 encoded value of the certificate contents. This method returns trustFrameworkKey. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[UploadCertificatePostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/trust_framework/key_sets/item/upload_pkcs12/upload_pkcs12_request_builder.py b/msgraph_beta/generated/trust_framework/key_sets/item/upload_pkcs12/upload_pkcs12_request_builder.py index deec960c833..c3e8cdaddc1 100644 --- a/msgraph_beta/generated/trust_framework/key_sets/item/upload_pkcs12/upload_pkcs12_request_builder.py +++ b/msgraph_beta/generated/trust_framework/key_sets/item/upload_pkcs12/upload_pkcs12_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UploadPkcs12PostRequestBody] = None, request_configuration: Optional[UploadPkcs12RequestBuilderPostRequestConfiguration] = None) -> Optional[TrustFrameworkKey]: """ - Upload a PKCS12 format key (PFX) to a trustFrameworkKeyset. The input is a base-64 encoded value of the Pfx certificate contents. This method returns trustFrameworkKey. This API is available in the following national cloud deployments. + Upload a PKCS12 format key (PFX) to a trustFrameworkKeyset. The input is a base-64 encoded value of the Pfx certificate contents. This method returns trustFrameworkKey. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TrustFrameworkKey] @@ -54,7 +54,7 @@ async def post(self,body: Optional[UploadPkcs12PostRequestBody] = None, request_ def to_post_request_information(self,body: Optional[UploadPkcs12PostRequestBody] = None, request_configuration: Optional[UploadPkcs12RequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Upload a PKCS12 format key (PFX) to a trustFrameworkKeyset. The input is a base-64 encoded value of the Pfx certificate contents. This method returns trustFrameworkKey. This API is available in the following national cloud deployments. + Upload a PKCS12 format key (PFX) to a trustFrameworkKeyset. The input is a base-64 encoded value of the Pfx certificate contents. This method returns trustFrameworkKey. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[UploadPkcs12PostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/trust_framework/key_sets/item/upload_secret/upload_secret_request_builder.py b/msgraph_beta/generated/trust_framework/key_sets/item/upload_secret/upload_secret_request_builder.py index b7c6e95f5a2..7f30f423fb8 100644 --- a/msgraph_beta/generated/trust_framework/key_sets/item/upload_secret/upload_secret_request_builder.py +++ b/msgraph_beta/generated/trust_framework/key_sets/item/upload_secret/upload_secret_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UploadSecretPostRequestBody] = None, request_configuration: Optional[UploadSecretRequestBuilderPostRequestConfiguration] = None) -> Optional[TrustFrameworkKey]: """ - Upload a plain text secret to a trustFrameworkKeyset. Examples of secrets are application secrets in Microsoft Entra ID, Google, Facebook, or any other identity provider. his method returns trustFrameworkKey. This API is available in the following national cloud deployments. + Upload a plain text secret to a trustFrameworkKeyset. Examples of secrets are application secrets in Microsoft Entra ID, Google, Facebook, or any other identity provider. his method returns trustFrameworkKey. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TrustFrameworkKey] @@ -54,7 +54,7 @@ async def post(self,body: Optional[UploadSecretPostRequestBody] = None, request_ def to_post_request_information(self,body: Optional[UploadSecretPostRequestBody] = None, request_configuration: Optional[UploadSecretRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Upload a plain text secret to a trustFrameworkKeyset. Examples of secrets are application secrets in Microsoft Entra ID, Google, Facebook, or any other identity provider. his method returns trustFrameworkKey. This API is available in the following national cloud deployments. + Upload a plain text secret to a trustFrameworkKeyset. Examples of secrets are application secrets in Microsoft Entra ID, Google, Facebook, or any other identity provider. his method returns trustFrameworkKey. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[UploadSecretPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/trust_framework/key_sets/key_sets_request_builder.py b/msgraph_beta/generated/trust_framework/key_sets/key_sets_request_builder.py index a0277d1f7e7..78cebbede26 100644 --- a/msgraph_beta/generated/trust_framework/key_sets/key_sets_request_builder.py +++ b/msgraph_beta/generated/trust_framework/key_sets/key_sets_request_builder.py @@ -45,7 +45,7 @@ def by_trust_framework_key_set_id(self,trust_framework_key_set_id: str) -> Trust async def get(self,request_configuration: Optional[KeySetsRequestBuilderGetRequestConfiguration] = None) -> Optional[TrustFrameworkKeySetCollectionResponse]: """ - Retrieve a list of trustFrameworkKeySets. This API is available in the following national cloud deployments. + Retrieve a list of trustFrameworkKeySets. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TrustFrameworkKeySetCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/trustframework-list-keysets?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[KeySetsRequestBuilderGetReque async def post(self,body: Optional[TrustFrameworkKeySet] = None, request_configuration: Optional[KeySetsRequestBuilderPostRequestConfiguration] = None) -> Optional[TrustFrameworkKeySet]: """ - Create a new trustFrameworkKeySet. The ID of the trustFrameworkKeySet is expected in the create request; however, it can be modified by the service. The modified ID will be available in the response and in the location header. This API is available in the following national cloud deployments. + Create a new trustFrameworkKeySet. The ID of the trustFrameworkKeySet is expected in the create request; however, it can be modified by the service. The modified ID will be available in the response and in the location header. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TrustFrameworkKeySet] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TrustFrameworkKeySet] = None, request_configu def to_get_request_information(self,request_configuration: Optional[KeySetsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of trustFrameworkKeySets. This API is available in the following national cloud deployments. + Retrieve a list of trustFrameworkKeySets. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[KeySetsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TrustFrameworkKeySet] = None, request_configuration: Optional[KeySetsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new trustFrameworkKeySet. The ID of the trustFrameworkKeySet is expected in the create request; however, it can be modified by the service. The modified ID will be available in the response and in the location header. This API is available in the following national cloud deployments. + Create a new trustFrameworkKeySet. The ID of the trustFrameworkKeySet is expected in the create request; however, it can be modified by the service. The modified ID will be available in the response and in the location header. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TrustFrameworkKeySet] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class KeySetsRequestBuilderGetQueryParameters(): """ - Retrieve a list of trustFrameworkKeySets. This API is available in the following national cloud deployments. + Retrieve a list of trustFrameworkKeySets. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/trust_framework/policies/item/trust_framework_policy_item_request_builder.py b/msgraph_beta/generated/trust_framework/policies/item/trust_framework_policy_item_request_builder.py index 067f58e5718..7bd225132b2 100644 --- a/msgraph_beta/generated/trust_framework/policies/item/trust_framework_policy_item_request_builder.py +++ b/msgraph_beta/generated/trust_framework/policies/item/trust_framework_policy_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TrustFrameworkPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an existing trustFrameworkPolicy. This API is available in the following national cloud deployments. + Delete an existing trustFrameworkPolicy. 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/trustframeworkpolicy-delete?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[TrustFrameworkPolicy] = None, request_config def to_delete_request_information(self,request_configuration: Optional[TrustFrameworkPolicyItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an existing trustFrameworkPolicy. This API is available in the following national cloud deployments. + Delete an existing trustFrameworkPolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[TrustFram request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TrustFrameworkPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[TrustFramewo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TrustFrameworkPolicy] = None, request_configuration: Optional[TrustFrameworkPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[TrustFrameworkPolicy] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/trust_framework/policies/item/value/content_request_builder.py b/msgraph_beta/generated/trust_framework/policies/item/value/content_request_builder.py index e8c73148f9c..8783db1229b 100644 --- a/msgraph_beta/generated/trust_framework/policies/item/value/content_request_builder.py +++ b/msgraph_beta/generated/trust_framework/policies/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/trust_framework/policies/policies_request_builder.py b/msgraph_beta/generated/trust_framework/policies/policies_request_builder.py index db794e5e662..7934d8be3b6 100644 --- a/msgraph_beta/generated/trust_framework/policies/policies_request_builder.py +++ b/msgraph_beta/generated/trust_framework/policies/policies_request_builder.py @@ -45,7 +45,7 @@ def by_trust_framework_policy_id(self,trust_framework_policy_id: str) -> TrustFr async def get(self,request_configuration: Optional[PoliciesRequestBuilderGetRequestConfiguration] = None) -> Optional[TrustFrameworkPolicyCollectionResponse]: """ - Retrieve a list of trustFrameworkPolicies in the tenant/directory. This API is available in the following national cloud deployments. + Retrieve a list of trustFrameworkPolicies in the tenant/directory. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TrustFrameworkPolicyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/trustframework-list-trustframeworkpolicies?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[TrustFrameworkPolicy] = None, request_configu def to_get_request_information(self,request_configuration: Optional[PoliciesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of trustFrameworkPolicies in the tenant/directory. This API is available in the following national cloud deployments. + Retrieve a list of trustFrameworkPolicies in the tenant/directory. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PoliciesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TrustFrameworkPolicy] = None, request_configuration: Optional[PoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[TrustFrameworkPolicy] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PoliciesRequestBuilderGetQueryParameters(): """ - Retrieve a list of trustFrameworkPolicies in the tenant/directory. This API is available in the following national cloud deployments. + Retrieve a list of trustFrameworkPolicies in the tenant/directory. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/trust_framework/trust_framework_request_builder.py b/msgraph_beta/generated/trust_framework/trust_framework_request_builder.py index 7731fa4898e..645e98dc383 100644 --- a/msgraph_beta/generated/trust_framework/trust_framework_request_builder.py +++ b/msgraph_beta/generated/trust_framework/trust_framework_request_builder.py @@ -87,7 +87,7 @@ def to_get_request_information(self,request_configuration: Optional[TrustFramewo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TrustFramework] = None, request_configuration: Optional[TrustFrameworkRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -106,7 +106,7 @@ def to_patch_request_information(self,body: Optional[TrustFramework] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/delta/delta_request_builder.py b/msgraph_beta/generated/users/delta/delta_request_builder.py index 83205e9076a..1ac9d8a2d63 100644 --- a/msgraph_beta/generated/users/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/users/get_by_ids/get_by_ids_request_builder.py b/msgraph_beta/generated/users/get_by_ids/get_by_ids_request_builder.py index 6417ae60368..c7b41d75d83 100644 --- a/msgraph_beta/generated/users/get_by_ids/get_by_ids_request_builder.py +++ b/msgraph_beta/generated/users/get_by_ids/get_by_ids_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetByIdsPostResponse]: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetByIdsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetByIdsPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = None, request_configuration: Optional[GetByIdsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return the directory objects specified in a list of IDs. Some common uses for this function are to: This API is available in the following national cloud deployments. + Return the directory objects specified in a list of IDs. Some common uses for this function are to: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetByIdsPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/get_managed_app_blocked_users/get_managed_app_blocked_users_request_builder.py b/msgraph_beta/generated/users/get_managed_app_blocked_users/get_managed_app_blocked_users_request_builder.py index c13abb21d4b..ba021aa9ee6 100644 --- a/msgraph_beta/generated/users/get_managed_app_blocked_users/get_managed_app_blocked_users_request_builder.py +++ b/msgraph_beta/generated/users/get_managed_app_blocked_users/get_managed_app_blocked_users_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetManagedAp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetManagedAppBlockedUsersRequestBuilder: diff --git a/msgraph_beta/generated/users/get_user_owned_objects/get_user_owned_objects_request_builder.py b/msgraph_beta/generated/users/get_user_owned_objects/get_user_owned_objects_request_builder.py index 9933c5195ac..e996c03177f 100644 --- a/msgraph_beta/generated/users/get_user_owned_objects/get_user_owned_objects_request_builder.py +++ b/msgraph_beta/generated/users/get_user_owned_objects/get_user_owned_objects_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, request_configuration: Optional[GetUserOwnedObjectsRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. This API is available in the following national cloud deployments. + Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, r def to_post_request_information(self,body: Optional[GetUserOwnedObjectsPostRequestBody] = None, request_configuration: Optional[GetUserOwnedObjectsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. This API is available in the following national cloud deployments. + Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetUserOwnedObjectsPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/activities/activities_request_builder.py b/msgraph_beta/generated/users/item/activities/activities_request_builder.py index 11b2e01873b..3d161c2a23a 100644 --- a/msgraph_beta/generated/users/item/activities/activities_request_builder.py +++ b/msgraph_beta/generated/users/item/activities/activities_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivitiesRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserActivity] = None, request_configuration: Optional[ActivitiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UserActivity] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/activities/item/history_items/history_items_request_builder.py b/msgraph_beta/generated/users/item/activities/item/history_items/history_items_request_builder.py index dc4e3b1ac40..d3f9e8e88cb 100644 --- a/msgraph_beta/generated/users/item/activities/item/history_items/history_items_request_builder.py +++ b/msgraph_beta/generated/users/item/activities/item/history_items/history_items_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[HistoryItems request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ActivityHistoryItem] = None, request_configuration: Optional[HistoryItemsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ActivityHistoryItem] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/activities/item/history_items/item/activity/activity_request_builder.py b/msgraph_beta/generated/users/item/activities/item/history_items/item/activity/activity_request_builder.py index c00aeb53430..ac454f34811 100644 --- a/msgraph_beta/generated/users/item/activities/item/history_items/item/activity/activity_request_builder.py +++ b/msgraph_beta/generated/users/item/activities/item/history_items/item/activity/activity_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivityRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ActivityRequestBuilder: diff --git a/msgraph_beta/generated/users/item/activities/item/history_items/item/activity_history_item_item_request_builder.py b/msgraph_beta/generated/users/item/activities/item/history_items/item/activity_history_item_item_request_builder.py index 764c3a2a9b7..f4b5667c574 100644 --- a/msgraph_beta/generated/users/item/activities/item/history_items/item/activity_history_item_item_request_builder.py +++ b/msgraph_beta/generated/users/item/activities/item/history_items/item/activity_history_item_item_request_builder.py @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[ActivityHistoryItemItemReques async def patch(self,body: Optional[ActivityHistoryItem] = None, request_configuration: Optional[ActivityHistoryItemItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ActivityHistoryItem]: """ - Delete an existing history item for an existing user activity. This API is available in the following national cloud deployments. + Delete an existing history item for an existing user activity. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ActivityHistoryItem] @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ActivityH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ActivityHistoryItemItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[ActivityHist request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ActivityHistoryItem] = None, request_configuration: Optional[ActivityHistoryItemItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Delete an existing history item for an existing user activity. This API is available in the following national cloud deployments. + Delete an existing history item for an existing user activity. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ActivityHistoryItem] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/activities/item/user_activity_item_request_builder.py b/msgraph_beta/generated/users/item/activities/item/user_activity_item_request_builder.py index 87da8ef6afe..d73c3d05967 100644 --- a/msgraph_beta/generated/users/item/activities/item/user_activity_item_request_builder.py +++ b/msgraph_beta/generated/users/item/activities/item/user_activity_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[UserActivityItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an existing user activity for your app. This API is available in the following national cloud deployments. + Delete an existing user activity for your app. 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/projectrome-delete-activity?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[UserActivity] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[UserActivityItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an existing user activity for your app. This API is available in the following national cloud deployments. + Delete an existing user activity for your app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[UserActiv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserActivityItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[UserActivity request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserActivity] = None, request_configuration: Optional[UserActivityItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[UserActivity] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/activities/recent/recent_request_builder.py b/msgraph_beta/generated/users/item/activities/recent/recent_request_builder.py index 88e62a5642a..6e59c960686 100644 --- a/msgraph_beta/generated/users/item/activities/recent/recent_request_builder.py +++ b/msgraph_beta/generated/users/item/activities/recent/recent_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RecentReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RecentRequestBuilder: diff --git a/msgraph_beta/generated/users/item/agreement_acceptances/agreement_acceptances_request_builder.py b/msgraph_beta/generated/users/item/agreement_acceptances/agreement_acceptances_request_builder.py index 5a8b23f3945..d2c45ec145a 100644 --- a/msgraph_beta/generated/users/item/agreement_acceptances/agreement_acceptances_request_builder.py +++ b/msgraph_beta/generated/users/item/agreement_acceptances/agreement_acceptances_request_builder.py @@ -44,7 +44,7 @@ def by_agreement_acceptance_id(self,agreement_acceptance_id: str) -> AgreementAc async def get(self,request_configuration: Optional[AgreementAcceptancesRequestBuilderGetRequestConfiguration] = None) -> Optional[AgreementAcceptanceCollectionResponse]: """ - Retrieve the signed-in user's agreementAcceptance objects. This API is available in the following national cloud deployments. + Retrieve a user's agreementAcceptance objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AgreementAcceptanceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/user-list-agreementacceptances?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[AgreementAcceptancesRequestBu def to_get_request_information(self,request_configuration: Optional[AgreementAcceptancesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the signed-in user's agreementAcceptance objects. This API is available in the following national cloud deployments. + Retrieve a user's agreementAcceptance objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[AgreementAcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AgreementAcceptancesRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AgreementAcceptancesRequestBuilderGetQueryParameters(): """ - Retrieve the signed-in user's agreementAcceptance objects. This API is available in the following national cloud deployments. + Retrieve a user's agreementAcceptance objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/agreement_acceptances/item/agreement_acceptance_item_request_builder.py b/msgraph_beta/generated/users/item/agreement_acceptances/item/agreement_acceptance_item_request_builder.py index 83cde98e892..3a89970b5a8 100644 --- a/msgraph_beta/generated/users/item/agreement_acceptances/item/agreement_acceptance_item_request_builder.py +++ b/msgraph_beta/generated/users/item/agreement_acceptances/item/agreement_acceptance_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AgreementAcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AgreementAcceptanceItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/analytics/activity_statistics/activity_statistics_request_builder.py b/msgraph_beta/generated/users/item/analytics/activity_statistics/activity_statistics_request_builder.py index f731254eef2..5139353050e 100644 --- a/msgraph_beta/generated/users/item/analytics/activity_statistics/activity_statistics_request_builder.py +++ b/msgraph_beta/generated/users/item/analytics/activity_statistics/activity_statistics_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivityStat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ActivityStatistics] = None, request_configuration: Optional[ActivityStatisticsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ActivityStatistics] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/analytics/activity_statistics/item/activity_statistics_item_request_builder.py b/msgraph_beta/generated/users/item/analytics/activity_statistics/item/activity_statistics_item_request_builder.py index 350319364f2..845dbeaa88f 100644 --- a/msgraph_beta/generated/users/item/analytics/activity_statistics/item/activity_statistics_item_request_builder.py +++ b/msgraph_beta/generated/users/item/analytics/activity_statistics/item/activity_statistics_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ActivityS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ActivityStatisticsItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ActivityStat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ActivityStatistics] = None, request_configuration: Optional[ActivityStatisticsItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ActivityStatistics] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/analytics/analytics_request_builder.py b/msgraph_beta/generated/users/item/analytics/analytics_request_builder.py index 6c861253e48..22a5776a1d7 100644 --- a/msgraph_beta/generated/users/item/analytics/analytics_request_builder.py +++ b/msgraph_beta/generated/users/item/analytics/analytics_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Analytics request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AnalyticsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AnalyticsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserAnalytics] = None, request_configuration: Optional[AnalyticsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[UserAnalytics] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/app_consent_requests_for_approval/app_consent_requests_for_approval_request_builder.py b/msgraph_beta/generated/users/item/app_consent_requests_for_approval/app_consent_requests_for_approval_request_builder.py index 3ee6b46cf65..e4deb3d2899 100644 --- a/msgraph_beta/generated/users/item/app_consent_requests_for_approval/app_consent_requests_for_approval_request_builder.py +++ b/msgraph_beta/generated/users/item/app_consent_requests_for_approval/app_consent_requests_for_approval_request_builder.py @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[AppConsentRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AppConsentRequest] = None, request_configuration: Optional[AppConsentRequestsForApprovalRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -134,7 +134,7 @@ def to_post_request_information(self,body: Optional[AppConsentRequest] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/app_consent_requests_for_approval/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/users/item/app_consent_requests_for_approval/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index ea191ae3fb0..3557df321ab 100644 --- a/msgraph_beta/generated/users/item/app_consent_requests_for_approval/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/users/item/app_consent_requests_for_approval/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/app_consent_request_item_request_builder.py b/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/app_consent_request_item_request_builder.py index 1866e8c07ae..c5f2ad7ba8b 100644 --- a/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/app_consent_request_item_request_builder.py +++ b/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/app_consent_request_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AppConsen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AppConsentRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AppConsentRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AppConsentRequest] = None, request_configuration: Optional[AppConsentRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AppConsentRequest] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 21ab863abec..d323ef410c5 100644 --- a/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/item/approval/approval_request_builder.py b/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/item/approval/approval_request_builder.py index ec7ee7d8116..197c4ec5084 100644 --- a/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/item/approval/approval_request_builder.py +++ b/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/item/approval/approval_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ApprovalR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ApprovalRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ApprovalRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Approval] = None, request_configuration: Optional[ApprovalRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Approval] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/item/approval/steps/item/approval_step_item_request_builder.py b/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/item/approval/steps/item/approval_step_item_request_builder.py index 6aa9b5c2152..01e4681710a 100644 --- a/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/item/approval/steps/item/approval_step_item_request_builder.py +++ b/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/item/approval/steps/item/approval_step_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ApprovalStepItemRequestBui async def get(self,request_configuration: Optional[ApprovalStepItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ApprovalStep]: """ - Retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. + Retrieve the properties of an approvalStep object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] Find more info here: https://learn.microsoft.com/graph/api/approvalstep-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[ApprovalStepItemRequestBuilde async def patch(self,body: Optional[ApprovalStep] = None, request_configuration: Optional[ApprovalStepItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ApprovalStep]: """ - Apply approve or deny decision on an approvalStep object. This API is available in the following national cloud deployments. + Apply approve or deny decision on an approvalStep object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ApprovalS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ApprovalStepItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. + Retrieve the properties of an approvalStep object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[ApprovalStep request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ApprovalStep] = None, request_configuration: Optional[ApprovalStepItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Apply approve or deny decision on an approvalStep object. This API is available in the following national cloud deployments. + Apply approve or deny decision on an approvalStep object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ApprovalStep] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ApprovalStepItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class ApprovalStepItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. + Retrieve the properties of an approvalStep object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/item/approval/steps/steps_request_builder.py b/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/item/approval/steps/steps_request_builder.py index 21c76a03781..4a3ada85d3a 100644 --- a/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/item/approval/steps/steps_request_builder.py +++ b/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/item/approval/steps/steps_request_builder.py @@ -45,7 +45,7 @@ def by_approval_step_id(self,approval_step_id: str) -> ApprovalStepItemRequestBu async def get(self,request_configuration: Optional[StepsRequestBuilderGetRequestConfiguration] = None) -> Optional[ApprovalStepCollectionResponse]: """ - List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStepCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/approval-list-steps?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ApprovalStep] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[StepsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[StepsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ApprovalStep] = None, request_configuration: Optional[StepsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ApprovalStep] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class StepsRequestBuilderGetQueryParameters(): """ - List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/item/user_consent_request_item_request_builder.py b/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/item/user_consent_request_item_request_builder.py index d93ad92310e..aee975dd94b 100644 --- a/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/item/user_consent_request_item_request_builder.py +++ b/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/item/user_consent_request_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[UserConsentRequestItemRequ async def get(self,request_configuration: Optional[UserConsentRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UserConsentRequest]: """ - Read the properties and relationships of a userConsentRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of a userConsentRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserConsentRequest] Find more info here: https://learn.microsoft.com/graph/api/userconsentrequest-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[UserConse request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserConsentRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a userConsentRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of a userConsentRequest object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[UserConsentR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserConsentRequest] = None, request_configuration: Optional[UserConsentRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[UserConsentRequest] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class UserConsentRequestItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class UserConsentRequestItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a userConsentRequest object. This API is available in the following national cloud deployments. + Read the properties and relationships of a userConsentRequest object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/user_consent_requests_request_builder.py b/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/user_consent_requests_request_builder.py index 5938679b401..46483826b43 100644 --- a/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/user_consent_requests_request_builder.py +++ b/msgraph_beta/generated/users/item/app_consent_requests_for_approval/item/user_consent_requests/user_consent_requests_request_builder.py @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[UserConsentRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[UserConsentRequestCollectionResponse]: """ - Retrieve a collection of userConsentRequest objects and their properties. This API is available in the following national cloud deployments. + Retrieve a collection of userConsentRequest objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserConsentRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/appconsentrequest-list-userconsentrequests?view=graph-rest-1.0 @@ -104,7 +104,7 @@ async def post(self,body: Optional[UserConsentRequest] = None, request_configura def to_get_request_information(self,request_configuration: Optional[UserConsentRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a collection of userConsentRequest objects and their properties. This API is available in the following national cloud deployments. + Retrieve a collection of userConsentRequest objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[UserConsentR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserConsentRequest] = None, request_configuration: Optional[UserConsentRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -135,7 +135,7 @@ def to_post_request_information(self,body: Optional[UserConsentRequest] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -161,7 +161,7 @@ def count(self) -> CountRequestBuilder: @dataclass class UserConsentRequestsRequestBuilderGetQueryParameters(): """ - Retrieve a collection of userConsentRequest objects and their properties. This API is available in the following national cloud deployments. + Retrieve a collection of userConsentRequest objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/app_role_assigned_resources/app_role_assigned_resources_request_builder.py b/msgraph_beta/generated/users/item/app_role_assigned_resources/app_role_assigned_resources_request_builder.py index dc16feac9ba..e0356aded94 100644 --- a/msgraph_beta/generated/users/item/app_role_assigned_resources/app_role_assigned_resources_request_builder.py +++ b/msgraph_beta/generated/users/item/app_role_assigned_resources/app_role_assigned_resources_request_builder.py @@ -44,7 +44,7 @@ def by_service_principal_id(self,service_principal_id: str) -> ServicePrincipalI async def get(self,request_configuration: Optional[AppRoleAssignedResourcesRequestBuilderGetRequestConfiguration] = None) -> Optional[ServicePrincipalCollectionResponse]: """ - Get the service principals to which the user has an app role assignment either directly or through group membership. This API is available in the following national cloud deployments. + Get the service principals to which the user has an app role assignment either directly or through group membership. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServicePrincipalCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/user-list-approleassignedresources?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[AppRoleAssignedResourcesReque def to_get_request_information(self,request_configuration: Optional[AppRoleAssignedResourcesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the service principals to which the user has an app role assignment either directly or through group membership. This API is available in the following national cloud deployments. + Get the service principals to which the user has an app role assignment either directly or through group membership. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[AppRoleAssig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppRoleAssignedResourcesRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AppRoleAssignedResourcesRequestBuilderGetQueryParameters(): """ - Get the service principals to which the user has an app role assignment either directly or through group membership. This API is available in the following national cloud deployments. + Get the service principals to which the user has an app role assignment either directly or through group membership. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/app_role_assigned_resources/item/service_principal_item_request_builder.py b/msgraph_beta/generated/users/item/app_role_assigned_resources/item/service_principal_item_request_builder.py index bf90beafd06..8e962565cdf 100644 --- a/msgraph_beta/generated/users/item/app_role_assigned_resources/item/service_principal_item_request_builder.py +++ b/msgraph_beta/generated/users/item/app_role_assigned_resources/item/service_principal_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ServicePrinc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServicePrincipalItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/app_role_assignments/app_role_assignments_request_builder.py b/msgraph_beta/generated/users/item/app_role_assignments/app_role_assignments_request_builder.py index 791b1561e3b..8a77ebbcf57 100644 --- a/msgraph_beta/generated/users/item/app_role_assignments/app_role_assignments_request_builder.py +++ b/msgraph_beta/generated/users/item/app_role_assignments/app_role_assignments_request_builder.py @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AppRoleAssignmentsRequestBuil async def post(self,body: Optional[AppRoleAssignment] = None, request_configuration: Optional[AppRoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[AppRoleAssignment]: """ - Use this API to assign an app role to a user. To grant an app role assignment to a user, you need three identifiers: This API is available in the following national cloud deployments. + Use this API to assign an app role to a user. To grant an app role assignment to a user, you need three identifiers: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppRoleAssignment] @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[AppRoleAssig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AppRoleAssignment] = None, request_configuration: Optional[AppRoleAssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to assign an app role to a user. To grant an app role assignment to a user, you need three identifiers: This API is available in the following national cloud deployments. + Use this API to assign an app role to a user. To grant an app role assignment to a user, you need three identifiers: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[AppRoleAssignment] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/app_role_assignments/item/app_role_assignment_item_request_builder.py b/msgraph_beta/generated/users/item/app_role_assignments/item/app_role_assignment_item_request_builder.py index 84204951ec0..6622b39a0bf 100644 --- a/msgraph_beta/generated/users/item/app_role_assignments/item/app_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/app_role_assignments/item/app_role_assignment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AppRoleAssignmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an appRoleAssignment that has been granted to a user. This API is available in the following national cloud deployments. + Delete an appRoleAssignment that has been granted to a user. 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/user-delete-approleassignments?view=graph-rest-1.0 @@ -93,7 +93,7 @@ async def patch(self,body: Optional[AppRoleAssignment] = None, request_configura def to_delete_request_information(self,request_configuration: Optional[AppRoleAssignmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an appRoleAssignment that has been granted to a user. This API is available in the following national cloud deployments. + Delete an appRoleAssignment that has been granted to a user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AppRoleAs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AppRoleAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AppRoleAssig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AppRoleAssignment] = None, request_configuration: Optional[AppRoleAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AppRoleAssignment] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/approvals/approvals_request_builder.py b/msgraph_beta/generated/users/item/approvals/approvals_request_builder.py index 18c73767c77..fff25516f92 100644 --- a/msgraph_beta/generated/users/item/approvals/approvals_request_builder.py +++ b/msgraph_beta/generated/users/item/approvals/approvals_request_builder.py @@ -115,7 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[ApprovalsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Approval] = None, request_configuration: Optional[ApprovalsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -134,7 +134,7 @@ def to_post_request_information(self,body: Optional[Approval] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/users/item/approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 961bebebd15..c7835ca644f 100644 --- a/msgraph_beta/generated/users/item/approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/users/item/approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/users/item/approvals/item/approval_item_request_builder.py b/msgraph_beta/generated/users/item/approvals/item/approval_item_request_builder.py index 6efdf2a9a79..8f486f58902 100644 --- a/msgraph_beta/generated/users/item/approvals/item/approval_item_request_builder.py +++ b/msgraph_beta/generated/users/item/approvals/item/approval_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ApprovalI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ApprovalItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ApprovalItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Approval] = None, request_configuration: Optional[ApprovalItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Approval] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/approvals/item/steps/item/approval_step_item_request_builder.py b/msgraph_beta/generated/users/item/approvals/item/steps/item/approval_step_item_request_builder.py index 5861a0285d2..09cc6ac37f2 100644 --- a/msgraph_beta/generated/users/item/approvals/item/steps/item/approval_step_item_request_builder.py +++ b/msgraph_beta/generated/users/item/approvals/item/steps/item/approval_step_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ApprovalStepItemRequestBui async def get(self,request_configuration: Optional[ApprovalStepItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ApprovalStep]: """ - Retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. + Retrieve the properties of an approvalStep object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] Find more info here: https://learn.microsoft.com/graph/api/approvalstep-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[ApprovalStepItemRequestBuilde async def patch(self,body: Optional[ApprovalStep] = None, request_configuration: Optional[ApprovalStepItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ApprovalStep]: """ - Apply approve or deny decision on an approvalStep object. This API is available in the following national cloud deployments. + Apply approve or deny decision on an approvalStep object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ApprovalS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ApprovalStepItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. + Retrieve the properties of an approvalStep object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[ApprovalStep request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ApprovalStep] = None, request_configuration: Optional[ApprovalStepItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Apply approve or deny decision on an approvalStep object. This API is available in the following national cloud deployments. + Apply approve or deny decision on an approvalStep object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ApprovalStep] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ApprovalStepItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class ApprovalStepItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties of an approvalStep object. This API is available in the following national cloud deployments. + Retrieve the properties of an approvalStep object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/approvals/item/steps/steps_request_builder.py b/msgraph_beta/generated/users/item/approvals/item/steps/steps_request_builder.py index 7f90a7b7ac5..dd23177ec90 100644 --- a/msgraph_beta/generated/users/item/approvals/item/steps/steps_request_builder.py +++ b/msgraph_beta/generated/users/item/approvals/item/steps/steps_request_builder.py @@ -45,7 +45,7 @@ def by_approval_step_id(self,approval_step_id: str) -> ApprovalStepItemRequestBu async def get(self,request_configuration: Optional[StepsRequestBuilderGetRequestConfiguration] = None) -> Optional[ApprovalStepCollectionResponse]: """ - List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStepCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/approval-list-steps?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ApprovalStep] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[StepsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[StepsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ApprovalStep] = None, request_configuration: Optional[StepsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ApprovalStep] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class StepsRequestBuilderGetQueryParameters(): """ - List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: This API is available in the following national cloud deployments. + List the approvalStep objects associated with an approval. This API request is made by an approver in the following scenarios: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/assign_license/assign_license_request_builder.py b/msgraph_beta/generated/users/item/assign_license/assign_license_request_builder.py index eddf5ed5d3d..7557f0a3ceb 100644 --- a/msgraph_beta/generated/users/item/assign_license/assign_license_request_builder.py +++ b/msgraph_beta/generated/users/item/assign_license/assign_license_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AssignLicensePostRequestBody] = None, request_configuration: Optional[AssignLicenseRequestBuilderPostRequestConfiguration] = None) -> Optional[User]: """ - Add or remove licenses for the user to enable or disable their use of Microsoft cloud offerings. For example, an organization can have a Microsoft 365 Enterprise E3 subscription with 100 licenses, and this request assigns one of those licenses to a specific user. You can also enable and disable specific plans associated with a subscription. To learn more about subscriptions and licenses, see this Technet article. To get the subscriptions available in the directory, perform a GET subscribedSkus request. This API is available in the following national cloud deployments. + Add or remove licenses for the user to enable or disable their use of Microsoft cloud offerings. For example, an organization can have a Microsoft 365 Enterprise E3 subscription with 100 licenses, and this request assigns one of those licenses to a specific user. You can also enable and disable specific plans associated with a subscription. To learn more about subscriptions and licenses, see this Technet article. To get the subscriptions available in the directory, perform a GET subscribedSkus request. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AssignLicensePostRequestBody] = None, request def to_post_request_information(self,body: Optional[AssignLicensePostRequestBody] = None, request_configuration: Optional[AssignLicenseRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add or remove licenses for the user to enable or disable their use of Microsoft cloud offerings. For example, an organization can have a Microsoft 365 Enterprise E3 subscription with 100 licenses, and this request assigns one of those licenses to a specific user. You can also enable and disable specific plans associated with a subscription. To learn more about subscriptions and licenses, see this Technet article. To get the subscriptions available in the directory, perform a GET subscribedSkus request. This API is available in the following national cloud deployments. + Add or remove licenses for the user to enable or disable their use of Microsoft cloud offerings. For example, an organization can have a Microsoft 365 Enterprise E3 subscription with 100 licenses, and this request assigns one of those licenses to a specific user. You can also enable and disable specific plans associated with a subscription. To learn more about subscriptions and licenses, see this Technet article. To get the subscriptions available in the directory, perform a GET subscribedSkus request. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AssignLicensePostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/authentication/authentication_request_builder.py b/msgraph_beta/generated/users/item/authentication/authentication_request_builder.py index 715fb296ddb..76b31f3f9b6 100644 --- a/msgraph_beta/generated/users/item/authentication/authentication_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/authentication_request_builder.py @@ -115,7 +115,7 @@ def to_delete_request_information(self,request_configuration: Optional[Authentic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AuthenticationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -132,7 +132,7 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Authentication] = None, request_configuration: Optional[AuthenticationRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -151,7 +151,7 @@ def to_patch_request_information(self,body: Optional[Authentication] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/authentication/email_methods/email_methods_request_builder.py b/msgraph_beta/generated/users/item/authentication/email_methods/email_methods_request_builder.py index a13331ef205..dfc058e04d1 100644 --- a/msgraph_beta/generated/users/item/authentication/email_methods/email_methods_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/email_methods/email_methods_request_builder.py @@ -45,7 +45,7 @@ def by_email_authentication_method_id(self,email_authentication_method_id: str) async def get(self,request_configuration: Optional[EmailMethodsRequestBuilderGetRequestConfiguration] = None) -> Optional[EmailAuthenticationMethodCollectionResponse]: """ - Retrieve a list of a user's email Authentication Method objects and their properties. This call will only return a single object as only one email method can be set on users. This API is available in the following national cloud deployments. + Retrieve a list of a user's email Authentication Method objects and their properties. This call will only return a single object as only one email method can be set on users. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EmailAuthenticationMethodCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/authentication-list-emailmethods?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[EmailMethodsRequestBuilderGet async def post(self,body: Optional[EmailAuthenticationMethod] = None, request_configuration: Optional[EmailMethodsRequestBuilderPostRequestConfiguration] = None) -> Optional[EmailAuthenticationMethod]: """ - Set a user's emailAuthenticationMethod object. Email authentication is a self-service password reset method. A user may only have one email authentication method. This API is available in the following national cloud deployments. + Set a user's emailAuthenticationMethod object. Email authentication is a self-service password reset method. A user may only have one email authentication method. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EmailAuthenticationMethod] @@ -92,7 +92,7 @@ async def post(self,body: Optional[EmailAuthenticationMethod] = None, request_co def to_get_request_information(self,request_configuration: Optional[EmailMethodsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of a user's email Authentication Method objects and their properties. This call will only return a single object as only one email method can be set on users. This API is available in the following national cloud deployments. + Retrieve a list of a user's email Authentication Method objects and their properties. This call will only return a single object as only one email method can be set on users. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[EmailMethods request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EmailAuthenticationMethod] = None, request_configuration: Optional[EmailMethodsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Set a user's emailAuthenticationMethod object. Email authentication is a self-service password reset method. A user may only have one email authentication method. This API is available in the following national cloud deployments. + Set a user's emailAuthenticationMethod object. Email authentication is a self-service password reset method. A user may only have one email authentication method. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[EmailAuthenticationMethod] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class EmailMethodsRequestBuilderGetQueryParameters(): """ - Retrieve a list of a user's email Authentication Method objects and their properties. This call will only return a single object as only one email method can be set on users. This API is available in the following national cloud deployments. + Retrieve a list of a user's email Authentication Method objects and their properties. This call will only return a single object as only one email method can be set on users. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/authentication/email_methods/item/email_authentication_method_item_request_builder.py b/msgraph_beta/generated/users/item/authentication/email_methods/item/email_authentication_method_item_request_builder.py index b954da7591e..f72129be663 100644 --- a/msgraph_beta/generated/users/item/authentication/email_methods/item/email_authentication_method_item_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/email_methods/item/email_authentication_method_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[EmailAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes a user's email Authentication Method object. This API is available in the following national cloud deployments. + Deletes a user's email Authentication Method object. 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/emailauthenticationmethod-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[EmailAuthenticationMethodI async def get(self,request_configuration: Optional[EmailAuthenticationMethodItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EmailAuthenticationMethod]: """ - Retrieve a user's single email Authentication Method object. This API is available in the following national cloud deployments. + Retrieve a user's single email Authentication Method object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EmailAuthenticationMethod] Find more info here: https://learn.microsoft.com/graph/api/emailauthenticationmethod-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[EmailAuthenticationMethodItem async def patch(self,body: Optional[EmailAuthenticationMethod] = None, request_configuration: Optional[EmailAuthenticationMethodItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[EmailAuthenticationMethod]: """ - Update a user's email address associated with an email Authentication Method object. This API is available in the following national cloud deployments. + Update a user's email address associated with an email Authentication Method object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EmailAuthenticationMethod] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[EmailAuthenticationMethod] = None, request_c def to_delete_request_information(self,request_configuration: Optional[EmailAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes a user's email Authentication Method object. This API is available in the following national cloud deployments. + Deletes a user's email Authentication Method object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[EmailAuth request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EmailAuthenticationMethodItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a user's single email Authentication Method object. This API is available in the following national cloud deployments. + Retrieve a user's single email Authentication Method object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[EmailAuthent request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EmailAuthenticationMethod] = None, request_configuration: Optional[EmailAuthenticationMethodItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update a user's email address associated with an email Authentication Method object. This API is available in the following national cloud deployments. + Update a user's email address associated with an email Authentication Method object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[EmailAuthenticationMethod] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class EmailAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration(Base @dataclass class EmailAuthenticationMethodItemRequestBuilderGetQueryParameters(): """ - Retrieve a user's single email Authentication Method object. This API is available in the following national cloud deployments. + Retrieve a user's single email Authentication Method object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/authentication/fido2_methods/fido2_methods_request_builder.py b/msgraph_beta/generated/users/item/authentication/fido2_methods/fido2_methods_request_builder.py index d8a63d170c2..fe5f9cd63e1 100644 --- a/msgraph_beta/generated/users/item/authentication/fido2_methods/fido2_methods_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/fido2_methods/fido2_methods_request_builder.py @@ -44,7 +44,7 @@ def by_fido2_authentication_method_id(self,fido2_authentication_method_id: str) async def get(self,request_configuration: Optional[Fido2MethodsRequestBuilderGetRequestConfiguration] = None) -> Optional[Fido2AuthenticationMethodCollectionResponse]: """ - Retrieve a list of a user's FIDO2 Security Key Authentication Method objects and their properties. This API is available in the following national cloud deployments. + Retrieve a list of a user's FIDO2 Security Key Authentication Method objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Fido2AuthenticationMethodCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/fido2authenticationmethod-list?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[Fido2MethodsRequestBuilderGet def to_get_request_information(self,request_configuration: Optional[Fido2MethodsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of a user's FIDO2 Security Key Authentication Method objects and their properties. This API is available in the following national cloud deployments. + Retrieve a list of a user's FIDO2 Security Key Authentication Method objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[Fido2Methods request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> Fido2MethodsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class Fido2MethodsRequestBuilderGetQueryParameters(): """ - Retrieve a list of a user's FIDO2 Security Key Authentication Method objects and their properties. This API is available in the following national cloud deployments. + Retrieve a list of a user's FIDO2 Security Key Authentication Method objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/authentication/fido2_methods/item/fido2_authentication_method_item_request_builder.py b/msgraph_beta/generated/users/item/authentication/fido2_methods/item/fido2_authentication_method_item_request_builder.py index 87df6f65f4f..915c59ed88d 100644 --- a/msgraph_beta/generated/users/item/authentication/fido2_methods/item/fido2_authentication_method_item_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/fido2_methods/item/fido2_authentication_method_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[Fido2AuthenticationMethodItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes a user's FIDO2 Security Key Authentication Method object. This API is available in the following national cloud deployments. + Deletes a user's FIDO2 Security Key Authentication Method object. 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/fido2authenticationmethod-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[Fido2AuthenticationMethodI async def get(self,request_configuration: Optional[Fido2AuthenticationMethodItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Fido2AuthenticationMethod]: """ - Retrieve a user's single FIDO2 Security Key Authentication Method object. This API is available in the following national cloud deployments. + Retrieve a user's single FIDO2 Security Key Authentication Method object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Fido2AuthenticationMethod] Find more info here: https://learn.microsoft.com/graph/api/fido2authenticationmethod-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[Fido2AuthenticationMethodItem def to_delete_request_information(self,request_configuration: Optional[Fido2AuthenticationMethodItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes a user's FIDO2 Security Key Authentication Method object. This API is available in the following national cloud deployments. + Deletes a user's FIDO2 Security Key Authentication Method object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Fido2Auth request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[Fido2AuthenticationMethodItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a user's single FIDO2 Security Key Authentication Method object. This API is available in the following national cloud deployments. + Retrieve a user's single FIDO2 Security Key Authentication Method object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[Fido2Authent request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> Fido2AuthenticationMethodItemRequestBuilder: @@ -124,7 +124,7 @@ class Fido2AuthenticationMethodItemRequestBuilderDeleteRequestConfiguration(Base @dataclass class Fido2AuthenticationMethodItemRequestBuilderGetQueryParameters(): """ - Retrieve a user's single FIDO2 Security Key Authentication Method object. This API is available in the following national cloud deployments. + Retrieve a user's single FIDO2 Security Key Authentication Method object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/authentication/methods/item/authentication_method_item_request_builder.py b/msgraph_beta/generated/users/item/authentication/methods/item/authentication_method_item_request_builder.py index d069ad6ba06..ff43e67dceb 100644 --- a/msgraph_beta/generated/users/item/authentication/methods/item/authentication_method_item_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/methods/item/authentication_method_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[AuthenticationMethodItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthenticationMethod]: """ - Retrieve the properties and relationships of an authenticationMethod object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an authenticationMethod object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationMethod] Find more info here: https://learn.microsoft.com/graph/api/authenticationmethod-get?view=graph-rest-1.0 @@ -77,7 +77,7 @@ async def patch(self,body: Optional[AuthenticationMethod] = None, request_config def to_get_request_information(self,request_configuration: Optional[AuthenticationMethodItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an authenticationMethod object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an authenticationMethod object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -89,7 +89,7 @@ def to_get_request_information(self,request_configuration: Optional[Authenticati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AuthenticationMethod] = None, request_configuration: Optional[AuthenticationMethodItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -108,7 +108,7 @@ def to_patch_request_information(self,body: Optional[AuthenticationMethod] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -152,7 +152,7 @@ def reset_password(self) -> ResetPasswordRequestBuilder: @dataclass class AuthenticationMethodItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an authenticationMethod object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an authenticationMethod object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/authentication/methods/item/disable_sms_sign_in/disable_sms_sign_in_request_builder.py b/msgraph_beta/generated/users/item/authentication/methods/item/disable_sms_sign_in/disable_sms_sign_in_request_builder.py index 0423ea5ad44..7d3ee425882 100644 --- a/msgraph_beta/generated/users/item/authentication/methods/item/disable_sms_sign_in/disable_sms_sign_in_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/methods/item/disable_sms_sign_in/disable_sms_sign_in_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[DisableSmsS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DisableSmsSignInRequestBuilder: diff --git a/msgraph_beta/generated/users/item/authentication/methods/item/enable_sms_sign_in/enable_sms_sign_in_request_builder.py b/msgraph_beta/generated/users/item/authentication/methods/item/enable_sms_sign_in/enable_sms_sign_in_request_builder.py index 06cdb99ab04..4f7dbe60c7b 100644 --- a/msgraph_beta/generated/users/item/authentication/methods/item/enable_sms_sign_in/enable_sms_sign_in_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/methods/item/enable_sms_sign_in/enable_sms_sign_in_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[EnableSmsSi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EnableSmsSignInRequestBuilder: diff --git a/msgraph_beta/generated/users/item/authentication/methods/item/reset_password/reset_password_request_builder.py b/msgraph_beta/generated/users/item/authentication/methods/item/reset_password/reset_password_request_builder.py index b6abedd13cf..797441bd4fb 100644 --- a/msgraph_beta/generated/users/item/authentication/methods/item/reset_password/reset_password_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/methods/item/reset_password/reset_password_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ResetPasswordPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/authentication/methods/methods_request_builder.py b/msgraph_beta/generated/users/item/authentication/methods/methods_request_builder.py index ba78780aed9..d736434e653 100644 --- a/msgraph_beta/generated/users/item/authentication/methods/methods_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/methods/methods_request_builder.py @@ -45,7 +45,7 @@ def by_authentication_method_id(self,authentication_method_id: str) -> Authentic async def get(self,request_configuration: Optional[MethodsRequestBuilderGetRequestConfiguration] = None) -> Optional[AuthenticationMethodCollectionResponse]: """ - Retrieve a list of authentication methods registered to a user. The authentication methods are defined by the types derived from the authenticationMethod resource type, and only the methods supported on this API version. See Microsoft Entra authentication methods API overview for a list of currently supported methods. We don't recommend using the authentication methods APIs for scenarios where you need to iterate over your entire user population for auditing or security check purposes. For these types of scenarios, we recommend using the authentication method registration and usage reporting APIs. This API is available in the following national cloud deployments. + Retrieve a list of authentication methods registered to a user. The authentication methods are defined by the types derived from the authenticationMethod resource type, and only the methods supported on this API version. See Microsoft Entra authentication methods API overview for a list of currently supported methods. We don't recommend using the authentication methods APIs for scenarios where you need to iterate over your entire user population for auditing or security check purposes. For these types of scenarios, we recommend using the authentication method registration and usage reporting APIs. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationMethodCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/authentication-list-methods?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AuthenticationMethod] = None, request_configu def to_get_request_information(self,request_configuration: Optional[MethodsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of authentication methods registered to a user. The authentication methods are defined by the types derived from the authenticationMethod resource type, and only the methods supported on this API version. See Microsoft Entra authentication methods API overview for a list of currently supported methods. We don't recommend using the authentication methods APIs for scenarios where you need to iterate over your entire user population for auditing or security check purposes. For these types of scenarios, we recommend using the authentication method registration and usage reporting APIs. This API is available in the following national cloud deployments. + Retrieve a list of authentication methods registered to a user. The authentication methods are defined by the types derived from the authenticationMethod resource type, and only the methods supported on this API version. See Microsoft Entra authentication methods API overview for a list of currently supported methods. We don't recommend using the authentication methods APIs for scenarios where you need to iterate over your entire user population for auditing or security check purposes. For these types of scenarios, we recommend using the authentication method registration and usage reporting APIs. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[MethodsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AuthenticationMethod] = None, request_configuration: Optional[MethodsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AuthenticationMethod] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MethodsRequestBuilderGetQueryParameters(): """ - Retrieve a list of authentication methods registered to a user. The authentication methods are defined by the types derived from the authenticationMethod resource type, and only the methods supported on this API version. See Microsoft Entra authentication methods API overview for a list of currently supported methods. We don't recommend using the authentication methods APIs for scenarios where you need to iterate over your entire user population for auditing or security check purposes. For these types of scenarios, we recommend using the authentication method registration and usage reporting APIs. This API is available in the following national cloud deployments. + Retrieve a list of authentication methods registered to a user. The authentication methods are defined by the types derived from the authenticationMethod resource type, and only the methods supported on this API version. See Microsoft Entra authentication methods API overview for a list of currently supported methods. We don't recommend using the authentication methods APIs for scenarios where you need to iterate over your entire user population for auditing or security check purposes. For these types of scenarios, we recommend using the authentication method registration and usage reporting APIs. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/authentication/microsoft_authenticator_methods/item/device/device_request_builder.py b/msgraph_beta/generated/users/item/authentication/microsoft_authenticator_methods/item/device/device_request_builder.py index cf46b0a6404..af760195519 100644 --- a/msgraph_beta/generated/users/item/authentication/microsoft_authenticator_methods/item/device/device_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/microsoft_authenticator_methods/item/device/device_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeviceRequestBuilder: diff --git a/msgraph_beta/generated/users/item/authentication/microsoft_authenticator_methods/item/microsoft_authenticator_authentication_method_item_request_builder.py b/msgraph_beta/generated/users/item/authentication/microsoft_authenticator_methods/item/microsoft_authenticator_authentication_method_item_request_builder.py index 4ba8f9f725e..24fdb04516a 100644 --- a/msgraph_beta/generated/users/item/authentication/microsoft_authenticator_methods/item/microsoft_authenticator_authentication_method_item_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/microsoft_authenticator_methods/item/microsoft_authenticator_authentication_method_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes a microsoftAuthenticatorAuthenticationMethod object. This API is available in the following national cloud deployments. + Deletes a microsoftAuthenticatorAuthenticationMethod object. 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/microsoftauthenticatorauthenticationmethod-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[MicrosoftAuthenticatorAuth async def get(self,request_configuration: Optional[MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetRequestConfiguration] = None) -> Optional[MicrosoftAuthenticatorAuthenticationMethod]: """ - Read the properties and relationships of a microsoftAuthenticatorAuthenticationMethod object. This API is available in the following national cloud deployments. + Read the properties and relationships of a microsoftAuthenticatorAuthenticationMethod object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MicrosoftAuthenticatorAuthenticationMethod] Find more info here: https://learn.microsoft.com/graph/api/microsoftauthenticatorauthenticationmethod-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[MicrosoftAuthenticatorAuthent def to_delete_request_information(self,request_configuration: Optional[MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes a microsoftAuthenticatorAuthenticationMethod object. This API is available in the following national cloud deployments. + Deletes a microsoftAuthenticatorAuthenticationMethod object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -82,12 +82,12 @@ def to_delete_request_information(self,request_configuration: Optional[Microsoft request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a microsoftAuthenticatorAuthenticationMethod object. This API is available in the following national cloud deployments. + Read the properties and relationships of a microsoftAuthenticatorAuthenticationMethod object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftAut request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder: @@ -134,7 +134,7 @@ class MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderDeleteRequestC @dataclass class MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a microsoftAuthenticatorAuthenticationMethod object. This API is available in the following national cloud deployments. + Read the properties and relationships of a microsoftAuthenticatorAuthenticationMethod object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/authentication/microsoft_authenticator_methods/microsoft_authenticator_methods_request_builder.py b/msgraph_beta/generated/users/item/authentication/microsoft_authenticator_methods/microsoft_authenticator_methods_request_builder.py index 5e12f0f14b3..68ca9438f1f 100644 --- a/msgraph_beta/generated/users/item/authentication/microsoft_authenticator_methods/microsoft_authenticator_methods_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/microsoft_authenticator_methods/microsoft_authenticator_methods_request_builder.py @@ -44,7 +44,7 @@ def by_microsoft_authenticator_authentication_method_id(self,microsoft_authentic async def get(self,request_configuration: Optional[MicrosoftAuthenticatorMethodsRequestBuilderGetRequestConfiguration] = None) -> Optional[MicrosoftAuthenticatorAuthenticationMethodCollectionResponse]: """ - Get a list of the microsoftAuthenticatorAuthenticationMethod objects and their properties. This API is available in the following national cloud deployments. + Get a list of the microsoftAuthenticatorAuthenticationMethod objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MicrosoftAuthenticatorAuthenticationMethodCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/microsoftauthenticatorauthenticationmethod-list?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[MicrosoftAuthenticatorMethods def to_get_request_information(self,request_configuration: Optional[MicrosoftAuthenticatorMethodsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the microsoftAuthenticatorAuthenticationMethod objects and their properties. This API is available in the following national cloud deployments. + Get a list of the microsoftAuthenticatorAuthenticationMethod objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[MicrosoftAut request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MicrosoftAuthenticatorMethodsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MicrosoftAuthenticatorMethodsRequestBuilderGetQueryParameters(): """ - Get a list of the microsoftAuthenticatorAuthenticationMethod objects and their properties. This API is available in the following national cloud deployments. + Get a list of the microsoftAuthenticatorAuthenticationMethod objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/authentication/operations/item/long_running_operation_item_request_builder.py b/msgraph_beta/generated/users/item/authentication/operations/item/long_running_operation_item_request_builder.py index 4531e235fd0..f6ea968fbd2 100644 --- a/msgraph_beta/generated/users/item/authentication/operations/item/long_running_operation_item_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/operations/item/long_running_operation_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[LongRunningOperationItemRe async def get(self,request_configuration: Optional[LongRunningOperationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[LongRunningOperation]: """ - Retrieve the properties and relationships of an operation object. Currently these operations are generated by initiating a password reset using the reset password method. An operation object tells the caller about the current state of that password reset operation. Possible states include: Succeeded and Failed are terminal states. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an operation object. Currently these operations are generated by initiating a password reset using the reset password method. An operation object tells the caller about the current state of that password reset operation. Possible states include: Succeeded and Failed are terminal states. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LongRunningOperation] Find more info here: https://learn.microsoft.com/graph/api/authenticationoperation-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[LongRunni request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LongRunningOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an operation object. Currently these operations are generated by initiating a password reset using the reset password method. An operation object tells the caller about the current state of that password reset operation. Possible states include: Succeeded and Failed are terminal states. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an operation object. Currently these operations are generated by initiating a password reset using the reset password method. An operation object tells the caller about the current state of that password reset operation. Possible states include: Succeeded and Failed are terminal states. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[LongRunningO request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[LongRunningOperation] = None, request_configuration: Optional[LongRunningOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[LongRunningOperation] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class LongRunningOperationItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class LongRunningOperationItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an operation object. Currently these operations are generated by initiating a password reset using the reset password method. An operation object tells the caller about the current state of that password reset operation. Possible states include: Succeeded and Failed are terminal states. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an operation object. Currently these operations are generated by initiating a password reset using the reset password method. An operation object tells the caller about the current state of that password reset operation. Possible states include: Succeeded and Failed are terminal states. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/authentication/operations/operations_request_builder.py b/msgraph_beta/generated/users/item/authentication/operations/operations_request_builder.py index 76b0b68dfb5..a2596794e33 100644 --- a/msgraph_beta/generated/users/item/authentication/operations/operations_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/operations/operations_request_builder.py @@ -45,7 +45,7 @@ def by_long_running_operation_id(self,long_running_operation_id: str) -> LongRun async def get(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> Optional[LongRunningOperationCollectionResponse]: """ - Retrieve the properties and relationships of an operation object. Currently these operations are generated by initiating a password reset using the reset password method. An operation object tells the caller about the current state of that password reset operation. Possible states include: Succeeded and Failed are terminal states. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an operation object. Currently these operations are generated by initiating a password reset using the reset password method. An operation object tells the caller about the current state of that password reset operation. Possible states include: Succeeded and Failed are terminal states. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LongRunningOperationCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[LongRunningOperation] = None, request_configu def to_get_request_information(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an operation object. Currently these operations are generated by initiating a password reset using the reset password method. An operation object tells the caller about the current state of that password reset operation. Possible states include: Succeeded and Failed are terminal states. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an operation object. Currently these operations are generated by initiating a password reset using the reset password method. An operation object tells the caller about the current state of that password reset operation. Possible states include: Succeeded and Failed are terminal states. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[LongRunningOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[LongRunningOperation] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OperationsRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an operation object. Currently these operations are generated by initiating a password reset using the reset password method. An operation object tells the caller about the current state of that password reset operation. Possible states include: Succeeded and Failed are terminal states. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an operation object. Currently these operations are generated by initiating a password reset using the reset password method. An operation object tells the caller about the current state of that password reset operation. Possible states include: Succeeded and Failed are terminal states. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/authentication/password_methods/item/password_authentication_method_item_request_builder.py b/msgraph_beta/generated/users/item/authentication/password_methods/item/password_authentication_method_item_request_builder.py index a324e854ef8..d9bddec1ac2 100644 --- a/msgraph_beta/generated/users/item/authentication/password_methods/item/password_authentication_method_item_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/password_methods/item/password_authentication_method_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[PasswordAuthenticationMethodItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PasswordAuthenticationMethod]: """ - Retrieve the properties and relationships of a password authentication method object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a password authentication method object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PasswordAuthenticationMethod] Find more info here: https://learn.microsoft.com/graph/api/passwordauthenticationmethod-get?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[PasswordAuthenticationMethodI def to_get_request_information(self,request_configuration: Optional[PasswordAuthenticationMethodItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a password authentication method object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a password authentication method object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[PasswordAuth request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PasswordAuthenticationMethodItemRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> PasswordAuthenticationMethod @dataclass class PasswordAuthenticationMethodItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a password authentication method object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a password authentication method object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/authentication/password_methods/password_methods_request_builder.py b/msgraph_beta/generated/users/item/authentication/password_methods/password_methods_request_builder.py index 273d7508c55..8b53aecf913 100644 --- a/msgraph_beta/generated/users/item/authentication/password_methods/password_methods_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/password_methods/password_methods_request_builder.py @@ -45,7 +45,7 @@ def by_password_authentication_method_id(self,password_authentication_method_id: async def get(self,request_configuration: Optional[PasswordMethodsRequestBuilderGetRequestConfiguration] = None) -> Optional[PasswordAuthenticationMethodCollectionResponse]: """ - Retrieve a list of password authentication method objects. This API returns exactly one object, as a user can have exactly one password. This API is available in the following national cloud deployments. + Retrieve a list of password authentication method objects. This API returns exactly one object, as a user can have exactly one password. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PasswordAuthenticationMethodCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/authentication-list-passwordmethods?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[PasswordAuthenticationMethod] = None, request def to_get_request_information(self,request_configuration: Optional[PasswordMethodsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of password authentication method objects. This API returns exactly one object, as a user can have exactly one password. This API is available in the following national cloud deployments. + Retrieve a list of password authentication method objects. This API returns exactly one object, as a user can have exactly one password. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PasswordMeth request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PasswordAuthenticationMethod] = None, request_configuration: Optional[PasswordMethodsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[PasswordAuthenticationMethod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PasswordMethodsRequestBuilderGetQueryParameters(): """ - Retrieve a list of password authentication method objects. This API returns exactly one object, as a user can have exactly one password. This API is available in the following national cloud deployments. + Retrieve a list of password authentication method objects. This API returns exactly one object, as a user can have exactly one password. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/authentication/passwordless_microsoft_authenticator_methods/item/device/device_request_builder.py b/msgraph_beta/generated/users/item/authentication/passwordless_microsoft_authenticator_methods/item/device/device_request_builder.py index ab6d79fb4c9..a8327e7d0e2 100644 --- a/msgraph_beta/generated/users/item/authentication/passwordless_microsoft_authenticator_methods/item/device/device_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/passwordless_microsoft_authenticator_methods/item/device/device_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeviceRequestBuilder: diff --git a/msgraph_beta/generated/users/item/authentication/passwordless_microsoft_authenticator_methods/item/passwordless_microsoft_authenticator_authentication_method_item_request_builder.py b/msgraph_beta/generated/users/item/authentication/passwordless_microsoft_authenticator_methods/item/passwordless_microsoft_authenticator_authentication_method_item_request_builder.py index 26ee72a9718..4ff1f938e9a 100644 --- a/msgraph_beta/generated/users/item/authentication/passwordless_microsoft_authenticator_methods/item/passwordless_microsoft_authenticator_authentication_method_item_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/passwordless_microsoft_authenticator_methods/item/passwordless_microsoft_authenticator_authentication_method_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[PasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes a user's Microsoft Authenticator Passwordless Phone Sign-in method object. This API is available in the following national cloud deployments. + Deletes a user's Microsoft Authenticator Passwordless Phone Sign-in method object. 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/passwordlessmicrosoftauthenticatorauthenticationmethod-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[PasswordlessMicrosoftAuthe async def get(self,request_configuration: Optional[PasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PasswordlessMicrosoftAuthenticatorAuthenticationMethod]: """ - Retrieve a user's single Microsoft Authenticator Passwordless Phone Sign-in method object. This API is available in the following national cloud deployments. + Retrieve a user's single Microsoft Authenticator Passwordless Phone Sign-in method object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PasswordlessMicrosoftAuthenticatorAuthenticationMethod] Find more info here: https://learn.microsoft.com/graph/api/passwordlessmicrosoftauthenticatorauthenticationmethod-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[PasswordlessMicrosoftAuthenti def to_delete_request_information(self,request_configuration: Optional[PasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes a user's Microsoft Authenticator Passwordless Phone Sign-in method object. This API is available in the following national cloud deployments. + Deletes a user's Microsoft Authenticator Passwordless Phone Sign-in method object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -82,12 +82,12 @@ def to_delete_request_information(self,request_configuration: Optional[Passwordl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a user's single Microsoft Authenticator Passwordless Phone Sign-in method object. This API is available in the following national cloud deployments. + Retrieve a user's single Microsoft Authenticator Passwordless Phone Sign-in method object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[Passwordless request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder: @@ -134,7 +134,7 @@ class PasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderDe @dataclass class PasswordlessMicrosoftAuthenticatorAuthenticationMethodItemRequestBuilderGetQueryParameters(): """ - Retrieve a user's single Microsoft Authenticator Passwordless Phone Sign-in method object. This API is available in the following national cloud deployments. + Retrieve a user's single Microsoft Authenticator Passwordless Phone Sign-in method object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/authentication/passwordless_microsoft_authenticator_methods/passwordless_microsoft_authenticator_methods_request_builder.py b/msgraph_beta/generated/users/item/authentication/passwordless_microsoft_authenticator_methods/passwordless_microsoft_authenticator_methods_request_builder.py index 43ecf284980..4a90eb2eafb 100644 --- a/msgraph_beta/generated/users/item/authentication/passwordless_microsoft_authenticator_methods/passwordless_microsoft_authenticator_methods_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/passwordless_microsoft_authenticator_methods/passwordless_microsoft_authenticator_methods_request_builder.py @@ -44,7 +44,7 @@ def by_passwordless_microsoft_authenticator_authentication_method_id(self,passwo async def get(self,request_configuration: Optional[PasswordlessMicrosoftAuthenticatorMethodsRequestBuilderGetRequestConfiguration] = None) -> Optional[PasswordlessMicrosoftAuthenticatorAuthenticationMethodCollectionResponse]: """ - Retrieve a list of a user's Microsoft Authenticator Passwordless Phone Sign-in method objects and their properties. This API is available in the following national cloud deployments. + Retrieve a list of a user's Microsoft Authenticator Passwordless Phone Sign-in method objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PasswordlessMicrosoftAuthenticatorAuthenticationMethodCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/passwordlessmicrosoftauthenticatorauthenticationmethod-list?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[PasswordlessMicrosoftAuthenti def to_get_request_information(self,request_configuration: Optional[PasswordlessMicrosoftAuthenticatorMethodsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of a user's Microsoft Authenticator Passwordless Phone Sign-in method objects and their properties. This API is available in the following national cloud deployments. + Retrieve a list of a user's Microsoft Authenticator Passwordless Phone Sign-in method objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[Passwordless request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PasswordlessMicrosoftAuthenticatorMethodsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PasswordlessMicrosoftAuthenticatorMethodsRequestBuilderGetQueryParameters(): """ - Retrieve a list of a user's Microsoft Authenticator Passwordless Phone Sign-in method objects and their properties. This API is available in the following national cloud deployments. + Retrieve a list of a user's Microsoft Authenticator Passwordless Phone Sign-in method objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/authentication/phone_methods/item/phone_authentication_method_item_request_builder.py b/msgraph_beta/generated/users/item/authentication/phone_methods/item/phone_authentication_method_item_request_builder.py index fddd526f951..0694e3ba8dc 100644 --- a/msgraph_beta/generated/users/item/authentication/phone_methods/item/phone_authentication_method_item_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/phone_methods/item/phone_authentication_method_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[PhoneAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a user's phone authentication method. Remember that a user may not have an alternateMobile number without a mobile number. If you want to remove a mobile number from a user that also has an alternateMobile number, first update the mobile number to the new number, then delete the alternateMobile number. If the phone number is the user's default Azure multifactor authentication (MFA) authentication method, it cannot be deleted. Have the user change their default authentication method, and then delete the number. This API is available in the following national cloud deployments. + Delete a user's phone authentication method. Remember that a user may not have an alternateMobile number without a mobile number. If you want to remove a mobile number from a user that also has an alternateMobile number, first update the mobile number to the new number, then delete the alternateMobile number. If the phone number is the user's default Azure multifactor authentication (MFA) authentication method, it cannot be deleted. Have the user change their default authentication method, and then delete the number. 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/phoneauthenticationmethod-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[PhoneAuthenticationMethodI async def get(self,request_configuration: Optional[PhoneAuthenticationMethodItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PhoneAuthenticationMethod]: """ - Retrieve a single phoneAuthenticationMethod object. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. This API is available in the following national cloud deployments. + Retrieve a single phoneAuthenticationMethod object. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PhoneAuthenticationMethod] Find more info here: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[PhoneAuthenticationMethodItem async def patch(self,body: Optional[PhoneAuthenticationMethod] = None, request_configuration: Optional[PhoneAuthenticationMethodItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[PhoneAuthenticationMethod]: """ - Update the phone number associated with a phone authentication method. You can't change a phone's type. To change a phone's type, add a new number of the desired type and then delete the object with the original type. If a user is enabled by policy to use SMS to sign in and the mobile number is changed, the system attempts to register the number for use in that system. This API is available in the following national cloud deployments. + Update the phone number associated with a phone authentication method. You can't change a phone's type. To change a phone's type, add a new number of the desired type and then delete the object with the original type. If a user is enabled by policy to use SMS to sign in and the mobile number is changed, the system attempts to register the number for use in that system. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PhoneAuthenticationMethod] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[PhoneAuthenticationMethod] = None, request_c def to_delete_request_information(self,request_configuration: Optional[PhoneAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a user's phone authentication method. Remember that a user may not have an alternateMobile number without a mobile number. If you want to remove a mobile number from a user that also has an alternateMobile number, first update the mobile number to the new number, then delete the alternateMobile number. If the phone number is the user's default Azure multifactor authentication (MFA) authentication method, it cannot be deleted. Have the user change their default authentication method, and then delete the number. This API is available in the following national cloud deployments. + Delete a user's phone authentication method. Remember that a user may not have an alternateMobile number without a mobile number. If you want to remove a mobile number from a user that also has an alternateMobile number, first update the mobile number to the new number, then delete the alternateMobile number. If the phone number is the user's default Azure multifactor authentication (MFA) authentication method, it cannot be deleted. Have the user change their default authentication method, and then delete the number. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[PhoneAuth request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PhoneAuthenticationMethodItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a single phoneAuthenticationMethod object. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. This API is available in the following national cloud deployments. + Retrieve a single phoneAuthenticationMethod object. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[PhoneAuthent request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PhoneAuthenticationMethod] = None, request_configuration: Optional[PhoneAuthenticationMethodItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the phone number associated with a phone authentication method. You can't change a phone's type. To change a phone's type, add a new number of the desired type and then delete the object with the original type. If a user is enabled by policy to use SMS to sign in and the mobile number is changed, the system attempts to register the number for use in that system. This API is available in the following national cloud deployments. + Update the phone number associated with a phone authentication method. You can't change a phone's type. To change a phone's type, add a new number of the desired type and then delete the object with the original type. If a user is enabled by policy to use SMS to sign in and the mobile number is changed, the system attempts to register the number for use in that system. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[PhoneAuthenticationMethod] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class PhoneAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration(Base @dataclass class PhoneAuthenticationMethodItemRequestBuilderGetQueryParameters(): """ - Retrieve a single phoneAuthenticationMethod object. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. This API is available in the following national cloud deployments. + Retrieve a single phoneAuthenticationMethod object. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/authentication/phone_methods/phone_methods_request_builder.py b/msgraph_beta/generated/users/item/authentication/phone_methods/phone_methods_request_builder.py index 96d2d408bdc..4c4bb9a66bf 100644 --- a/msgraph_beta/generated/users/item/authentication/phone_methods/phone_methods_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/phone_methods/phone_methods_request_builder.py @@ -45,7 +45,7 @@ def by_phone_authentication_method_id(self,phone_authentication_method_id: str) async def get(self,request_configuration: Optional[PhoneMethodsRequestBuilderGetRequestConfiguration] = None) -> Optional[PhoneAuthenticationMethodCollectionResponse]: """ - Retrieve a list of phone authentication method objects. This will return up to three objects, as a user can have up to three phones usable for authentication. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. This API is available in the following national cloud deployments. + Retrieve a list of phone authentication method objects. This will return up to three objects, as a user can have up to three phones usable for authentication. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PhoneAuthenticationMethodCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/authentication-list-phonemethods?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[PhoneMethodsRequestBuilderGet async def post(self,body: Optional[PhoneAuthenticationMethod] = None, request_configuration: Optional[PhoneMethodsRequestBuilderPostRequestConfiguration] = None) -> Optional[PhoneAuthenticationMethod]: """ - Add a new phone authentication method. A user may only have one phone of each type, captured in the phoneType property. This means, for example, adding a mobile phone to a user with a preexisting mobile phone will fail. Additionally, a user must always have a mobile phone before adding an alternateMobile phone. Adding a phone number makes it available for use in both Azure multifactor authentication (MFA) and self-service password reset (SSPR), if enabled. Additionally, if a user is enabled by policy to use SMS sign-in and a mobile number is added, the system attempts to register the number for use in that system. This API is available in the following national cloud deployments. + Add a new phone authentication method. A user may only have one phone of each type, captured in the phoneType property. This means, for example, adding a mobile phone to a user with a preexisting mobile phone will fail. Additionally, a user must always have a mobile phone before adding an alternateMobile phone. Adding a phone number makes it available for use in both Azure multifactor authentication (MFA) and self-service password reset (SSPR), if enabled. Additionally, if a user is enabled by policy to use SMS sign-in and a mobile number is added, the system attempts to register the number for use in that system. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PhoneAuthenticationMethod] @@ -92,7 +92,7 @@ async def post(self,body: Optional[PhoneAuthenticationMethod] = None, request_co def to_get_request_information(self,request_configuration: Optional[PhoneMethodsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of phone authentication method objects. This will return up to three objects, as a user can have up to three phones usable for authentication. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. This API is available in the following national cloud deployments. + Retrieve a list of phone authentication method objects. This will return up to three objects, as a user can have up to three phones usable for authentication. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[PhoneMethods request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PhoneAuthenticationMethod] = None, request_configuration: Optional[PhoneMethodsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a new phone authentication method. A user may only have one phone of each type, captured in the phoneType property. This means, for example, adding a mobile phone to a user with a preexisting mobile phone will fail. Additionally, a user must always have a mobile phone before adding an alternateMobile phone. Adding a phone number makes it available for use in both Azure multifactor authentication (MFA) and self-service password reset (SSPR), if enabled. Additionally, if a user is enabled by policy to use SMS sign-in and a mobile number is added, the system attempts to register the number for use in that system. This API is available in the following national cloud deployments. + Add a new phone authentication method. A user may only have one phone of each type, captured in the phoneType property. This means, for example, adding a mobile phone to a user with a preexisting mobile phone will fail. Additionally, a user must always have a mobile phone before adding an alternateMobile phone. Adding a phone number makes it available for use in both Azure multifactor authentication (MFA) and self-service password reset (SSPR), if enabled. Additionally, if a user is enabled by policy to use SMS sign-in and a mobile number is added, the system attempts to register the number for use in that system. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PhoneAuthenticationMethod] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PhoneMethodsRequestBuilderGetQueryParameters(): """ - Retrieve a list of phone authentication method objects. This will return up to three objects, as a user can have up to three phones usable for authentication. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. This API is available in the following national cloud deployments. + Retrieve a list of phone authentication method objects. This will return up to three objects, as a user can have up to three phones usable for authentication. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/authentication/platform_credential_methods/item/device/device_request_builder.py b/msgraph_beta/generated/users/item/authentication/platform_credential_methods/item/device/device_request_builder.py index 635387076f2..80ad5a56bca 100644 --- a/msgraph_beta/generated/users/item/authentication/platform_credential_methods/item/device/device_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/platform_credential_methods/item/device/device_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeviceRequestBuilderGetRequestConfiguration] = None) -> Optional[Device]: """ - Get device from users + The registered device on which this Platform Credential resides. Supports $expand. When you get a user's Platform Credential registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/platformCredentialAuthenticationMethod/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Device] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[DeviceRequestBuilderGetReques def to_get_request_information(self,request_configuration: Optional[DeviceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get device from users + The registered device on which this Platform Credential resides. Supports $expand. When you get a user's Platform Credential registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/platformCredentialAuthenticationMethod/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeviceRequestBuilder: @@ -77,7 +77,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeviceRequestBuilder: @dataclass class DeviceRequestBuilderGetQueryParameters(): """ - Get device from users + The registered device on which this Platform Credential resides. Supports $expand. When you get a user's Platform Credential registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/platformCredentialAuthenticationMethod/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/authentication/platform_credential_methods/item/platform_credential_authentication_method_item_request_builder.py b/msgraph_beta/generated/users/item/authentication/platform_credential_methods/item/platform_credential_authentication_method_item_request_builder.py index 32fbf45611b..a45a791993b 100644 --- a/msgraph_beta/generated/users/item/authentication/platform_credential_methods/item/platform_credential_authentication_method_item_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/platform_credential_methods/item/platform_credential_authentication_method_item_request_builder.py @@ -29,9 +29,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[PlatformCredentialAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete navigation property platformCredentialMethods for users + Delete a platformCredentialAuthenticationMethod object. 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/platformcredentialauthenticationmethod-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -48,9 +49,10 @@ async def delete(self,request_configuration: Optional[PlatformCredentialAuthenti async def get(self,request_configuration: Optional[PlatformCredentialAuthenticationMethodItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PlatformCredentialAuthenticationMethod]: """ - Get platformCredentialMethods from users + Read the properties and relationships of a platformCredentialAuthenticationMethod object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlatformCredentialAuthenticationMethod] + Find more info here: https://learn.microsoft.com/graph/api/platformcredentialauthenticationmethod-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,7 +71,7 @@ async def get(self,request_configuration: Optional[PlatformCredentialAuthenticat def to_delete_request_information(self,request_configuration: Optional[PlatformCredentialAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete navigation property platformCredentialMethods for users + Delete a platformCredentialAuthenticationMethod object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -80,12 +82,12 @@ def to_delete_request_information(self,request_configuration: Optional[PlatformC request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PlatformCredentialAuthenticationMethodItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get platformCredentialMethods from users + Read the properties and relationships of a platformCredentialAuthenticationMethod object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -97,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[PlatformCred request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PlatformCredentialAuthenticationMethodItemRequestBuilder: @@ -132,7 +134,7 @@ class PlatformCredentialAuthenticationMethodItemRequestBuilderDeleteRequestConfi @dataclass class PlatformCredentialAuthenticationMethodItemRequestBuilderGetQueryParameters(): """ - Get platformCredentialMethods from users + Read the properties and relationships of a platformCredentialAuthenticationMethod object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/authentication/platform_credential_methods/platform_credential_methods_request_builder.py b/msgraph_beta/generated/users/item/authentication/platform_credential_methods/platform_credential_methods_request_builder.py index ac1384b8db2..2198e6045b9 100644 --- a/msgraph_beta/generated/users/item/authentication/platform_credential_methods/platform_credential_methods_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/platform_credential_methods/platform_credential_methods_request_builder.py @@ -44,9 +44,10 @@ def by_platform_credential_authentication_method_id(self,platform_credential_aut async def get(self,request_configuration: Optional[PlatformCredentialMethodsRequestBuilderGetRequestConfiguration] = None) -> Optional[PlatformCredentialAuthenticationMethodCollectionResponse]: """ - Get platformCredentialMethods from users + Get a list of the platformCredentialAuthenticationMethod objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlatformCredentialAuthenticationMethodCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/platformcredentialauthenticationmethod-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -65,7 +66,7 @@ async def get(self,request_configuration: Optional[PlatformCredentialMethodsRequ def to_get_request_information(self,request_configuration: Optional[PlatformCredentialMethodsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get platformCredentialMethods from users + Get a list of the platformCredentialAuthenticationMethod objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -77,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[PlatformCred request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PlatformCredentialMethodsRequestBuilder: @@ -102,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PlatformCredentialMethodsRequestBuilderGetQueryParameters(): """ - Get platformCredentialMethods from users + Get a list of the platformCredentialAuthenticationMethod objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/authentication/software_oath_methods/item/software_oath_authentication_method_item_request_builder.py b/msgraph_beta/generated/users/item/authentication/software_oath_methods/item/software_oath_authentication_method_item_request_builder.py index cb7b64d2dbc..f1a7f3155d4 100644 --- a/msgraph_beta/generated/users/item/authentication/software_oath_methods/item/software_oath_authentication_method_item_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/software_oath_methods/item/software_oath_authentication_method_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[SoftwareOathAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a user's Software OATH token authentication method object. This API is available in the following national cloud deployments. + Delete a user's Software OATH token authentication method object. 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/softwareoathauthenticationmethod-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[SoftwareOathAuthentication async def get(self,request_configuration: Optional[SoftwareOathAuthenticationMethodItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SoftwareOathAuthenticationMethod]: """ - Retrieve a user's single Software OATH token authentication method object and its properties. This API is available in the following national cloud deployments. + Retrieve a user's single Software OATH token authentication method object and its properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SoftwareOathAuthenticationMethod] Find more info here: https://learn.microsoft.com/graph/api/softwareoathauthenticationmethod-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[SoftwareOathAuthenticationMet def to_delete_request_information(self,request_configuration: Optional[SoftwareOathAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a user's Software OATH token authentication method object. This API is available in the following national cloud deployments. + Delete a user's Software OATH token authentication method object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[SoftwareO request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SoftwareOathAuthenticationMethodItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a user's single Software OATH token authentication method object and its properties. This API is available in the following national cloud deployments. + Retrieve a user's single Software OATH token authentication method object and its properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[SoftwareOath request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SoftwareOathAuthenticationMethodItemRequestBuilder: @@ -124,7 +124,7 @@ class SoftwareOathAuthenticationMethodItemRequestBuilderDeleteRequestConfigurati @dataclass class SoftwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters(): """ - Retrieve a user's single Software OATH token authentication method object and its properties. This API is available in the following national cloud deployments. + Retrieve a user's single Software OATH token authentication method object and its properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/authentication/software_oath_methods/software_oath_methods_request_builder.py b/msgraph_beta/generated/users/item/authentication/software_oath_methods/software_oath_methods_request_builder.py index 766b7c5fdc6..b10b4a0f90f 100644 --- a/msgraph_beta/generated/users/item/authentication/software_oath_methods/software_oath_methods_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/software_oath_methods/software_oath_methods_request_builder.py @@ -44,7 +44,7 @@ def by_software_oath_authentication_method_id(self,software_oath_authentication_ async def get(self,request_configuration: Optional[SoftwareOathMethodsRequestBuilderGetRequestConfiguration] = None) -> Optional[SoftwareOathAuthenticationMethodCollectionResponse]: """ - Retrieve a list of a user's software OATH token authentication method objects and their properties. This API is available in the following national cloud deployments. + Retrieve a list of a user's software OATH token authentication method objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SoftwareOathAuthenticationMethodCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/authentication-list-softwareoathmethods?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[SoftwareOathMethodsRequestBui def to_get_request_information(self,request_configuration: Optional[SoftwareOathMethodsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of a user's software OATH token authentication method objects and their properties. This API is available in the following national cloud deployments. + Retrieve a list of a user's software OATH token authentication method objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[SoftwareOath request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SoftwareOathMethodsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SoftwareOathMethodsRequestBuilderGetQueryParameters(): """ - Retrieve a list of a user's software OATH token authentication method objects and their properties. This API is available in the following national cloud deployments. + Retrieve a list of a user's software OATH token authentication method objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/authentication/temporary_access_pass_methods/item/temporary_access_pass_authentication_method_item_request_builder.py b/msgraph_beta/generated/users/item/authentication/temporary_access_pass_methods/item/temporary_access_pass_authentication_method_item_request_builder.py index eddc5b96655..b1044409fd4 100644 --- a/msgraph_beta/generated/users/item/authentication/temporary_access_pass_methods/item/temporary_access_pass_authentication_method_item_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/temporary_access_pass_methods/item/temporary_access_pass_authentication_method_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TemporaryAccessPassAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a users's temporaryAccessPassAuthenticationMethod object. This API is available in the following national cloud deployments. + Delete a users's temporaryAccessPassAuthenticationMethod object. 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/temporaryaccesspassauthenticationmethod-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[TemporaryAccessPassAuthent async def get(self,request_configuration: Optional[TemporaryAccessPassAuthenticationMethodItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TemporaryAccessPassAuthenticationMethod]: """ - Retrieve a user's single temporaryAccessPassAuthenticationMethod object. This API is available in the following national cloud deployments. + Retrieve a user's single temporaryAccessPassAuthenticationMethod object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TemporaryAccessPassAuthenticationMethod] Find more info here: https://learn.microsoft.com/graph/api/temporaryaccesspassauthenticationmethod-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[TemporaryAccessPassAuthentica def to_delete_request_information(self,request_configuration: Optional[TemporaryAccessPassAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a users's temporaryAccessPassAuthenticationMethod object. This API is available in the following national cloud deployments. + Delete a users's temporaryAccessPassAuthenticationMethod object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Temporary request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TemporaryAccessPassAuthenticationMethodItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a user's single temporaryAccessPassAuthenticationMethod object. This API is available in the following national cloud deployments. + Retrieve a user's single temporaryAccessPassAuthenticationMethod object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[TemporaryAcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TemporaryAccessPassAuthenticationMethodItemRequestBuilder: @@ -124,7 +124,7 @@ class TemporaryAccessPassAuthenticationMethodItemRequestBuilderDeleteRequestConf @dataclass class TemporaryAccessPassAuthenticationMethodItemRequestBuilderGetQueryParameters(): """ - Retrieve a user's single temporaryAccessPassAuthenticationMethod object. This API is available in the following national cloud deployments. + Retrieve a user's single temporaryAccessPassAuthenticationMethod object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/authentication/temporary_access_pass_methods/temporary_access_pass_methods_request_builder.py b/msgraph_beta/generated/users/item/authentication/temporary_access_pass_methods/temporary_access_pass_methods_request_builder.py index 3ca518260a2..cfaba7f1306 100644 --- a/msgraph_beta/generated/users/item/authentication/temporary_access_pass_methods/temporary_access_pass_methods_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/temporary_access_pass_methods/temporary_access_pass_methods_request_builder.py @@ -45,7 +45,7 @@ def by_temporary_access_pass_authentication_method_id(self,temporary_access_pass async def get(self,request_configuration: Optional[TemporaryAccessPassMethodsRequestBuilderGetRequestConfiguration] = None) -> Optional[TemporaryAccessPassAuthenticationMethodCollectionResponse]: """ - Retrieve a list of a user's temporaryAccessPassAuthenticationMethod objects and their properties. This API will only return a single object in the collection as a user can have only one Temporary Access Pass (TAP) method. This API is available in the following national cloud deployments. + Retrieve a list of a user's temporaryAccessPassAuthenticationMethod objects and their properties. This API will only return a single object in the collection as a user can have only one Temporary Access Pass (TAP) method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TemporaryAccessPassAuthenticationMethodCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/authentication-list-temporaryaccesspassmethods?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TemporaryAccessPassMethodsReq async def post(self,body: Optional[TemporaryAccessPassAuthenticationMethod] = None, request_configuration: Optional[TemporaryAccessPassMethodsRequestBuilderPostRequestConfiguration] = None) -> Optional[TemporaryAccessPassAuthenticationMethod]: """ - Create a new temporaryAccessPassAuthenticationMethod object on a user. A user can only have one Temporary Access Pass that's usable within its specified lifetime. If the user requires a new Temporary Access Pass while the current Temporary Access Pass is valid, the admin can create a new Temporary Access Pass for the user, the previous Temporary Access Pass will be deleted, and a new Temporary Access Pass will be created. This API is available in the following national cloud deployments. + Create a new temporaryAccessPassAuthenticationMethod object on a user. A user can only have one Temporary Access Pass that's usable within its specified lifetime. If the user requires a new Temporary Access Pass while the current Temporary Access Pass is valid, the admin can create a new Temporary Access Pass for the user, the previous Temporary Access Pass will be deleted, and a new Temporary Access Pass will be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TemporaryAccessPassAuthenticationMethod] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TemporaryAccessPassAuthenticationMethod] = No def to_get_request_information(self,request_configuration: Optional[TemporaryAccessPassMethodsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of a user's temporaryAccessPassAuthenticationMethod objects and their properties. This API will only return a single object in the collection as a user can have only one Temporary Access Pass (TAP) method. This API is available in the following national cloud deployments. + Retrieve a list of a user's temporaryAccessPassAuthenticationMethod objects and their properties. This API will only return a single object in the collection as a user can have only one Temporary Access Pass (TAP) method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[TemporaryAcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TemporaryAccessPassAuthenticationMethod] = None, request_configuration: Optional[TemporaryAccessPassMethodsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new temporaryAccessPassAuthenticationMethod object on a user. A user can only have one Temporary Access Pass that's usable within its specified lifetime. If the user requires a new Temporary Access Pass while the current Temporary Access Pass is valid, the admin can create a new Temporary Access Pass for the user, the previous Temporary Access Pass will be deleted, and a new Temporary Access Pass will be created. This API is available in the following national cloud deployments. + Create a new temporaryAccessPassAuthenticationMethod object on a user. A user can only have one Temporary Access Pass that's usable within its specified lifetime. If the user requires a new Temporary Access Pass while the current Temporary Access Pass is valid, the admin can create a new Temporary Access Pass for the user, the previous Temporary Access Pass will be deleted, and a new Temporary Access Pass will be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TemporaryAccessPassAuthentic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TemporaryAccessPassMethodsRequestBuilderGetQueryParameters(): """ - Retrieve a list of a user's temporaryAccessPassAuthenticationMethod objects and their properties. This API will only return a single object in the collection as a user can have only one Temporary Access Pass (TAP) method. This API is available in the following national cloud deployments. + Retrieve a list of a user's temporaryAccessPassAuthenticationMethod objects and their properties. This API will only return a single object in the collection as a user can have only one Temporary Access Pass (TAP) method. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/authentication/windows_hello_for_business_methods/item/device/device_request_builder.py b/msgraph_beta/generated/users/item/authentication/windows_hello_for_business_methods/item/device/device_request_builder.py index 70e3a5606b5..987ede628f8 100644 --- a/msgraph_beta/generated/users/item/authentication/windows_hello_for_business_methods/item/device/device_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/windows_hello_for_business_methods/item/device/device_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeviceRequestBuilder: diff --git a/msgraph_beta/generated/users/item/authentication/windows_hello_for_business_methods/item/windows_hello_for_business_authentication_method_item_request_builder.py b/msgraph_beta/generated/users/item/authentication/windows_hello_for_business_methods/item/windows_hello_for_business_authentication_method_item_request_builder.py index 6c963f30b33..ab5383b54ae 100644 --- a/msgraph_beta/generated/users/item/authentication/windows_hello_for_business_methods/item/windows_hello_for_business_authentication_method_item_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/windows_hello_for_business_methods/item/windows_hello_for_business_authentication_method_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[WindowsHelloForBusinessAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes a windowsHelloForBusinessAuthenticationMethod object. This API is available in the following national cloud deployments. + Deletes a windowsHelloForBusinessAuthenticationMethod object. 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/windowshelloforbusinessauthenticationmethod-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[WindowsHelloForBusinessAut async def get(self,request_configuration: Optional[WindowsHelloForBusinessAuthenticationMethodItemRequestBuilderGetRequestConfiguration] = None) -> Optional[WindowsHelloForBusinessAuthenticationMethod]: """ - Read the properties and relationships of a windowsHelloForBusinessAuthenticationMethod object. This API is available in the following national cloud deployments. + Read the properties and relationships of a windowsHelloForBusinessAuthenticationMethod object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WindowsHelloForBusinessAuthenticationMethod] Find more info here: https://learn.microsoft.com/graph/api/windowshelloforbusinessauthenticationmethod-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[WindowsHelloForBusinessAuthen def to_delete_request_information(self,request_configuration: Optional[WindowsHelloForBusinessAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes a windowsHelloForBusinessAuthenticationMethod object. This API is available in the following national cloud deployments. + Deletes a windowsHelloForBusinessAuthenticationMethod object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -82,12 +82,12 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsHe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsHelloForBusinessAuthenticationMethodItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a windowsHelloForBusinessAuthenticationMethod object. This API is available in the following national cloud deployments. + Read the properties and relationships of a windowsHelloForBusinessAuthenticationMethod object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsHello request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder: @@ -134,7 +134,7 @@ class WindowsHelloForBusinessAuthenticationMethodItemRequestBuilderDeleteRequest @dataclass class WindowsHelloForBusinessAuthenticationMethodItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a windowsHelloForBusinessAuthenticationMethod object. This API is available in the following national cloud deployments. + Read the properties and relationships of a windowsHelloForBusinessAuthenticationMethod object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/authentication/windows_hello_for_business_methods/windows_hello_for_business_methods_request_builder.py b/msgraph_beta/generated/users/item/authentication/windows_hello_for_business_methods/windows_hello_for_business_methods_request_builder.py index f0040ad6f73..e74679b01ee 100644 --- a/msgraph_beta/generated/users/item/authentication/windows_hello_for_business_methods/windows_hello_for_business_methods_request_builder.py +++ b/msgraph_beta/generated/users/item/authentication/windows_hello_for_business_methods/windows_hello_for_business_methods_request_builder.py @@ -44,7 +44,7 @@ def by_windows_hello_for_business_authentication_method_id(self,windows_hello_fo async def get(self,request_configuration: Optional[WindowsHelloForBusinessMethodsRequestBuilderGetRequestConfiguration] = None) -> Optional[WindowsHelloForBusinessAuthenticationMethodCollectionResponse]: """ - Get a list of the windowsHelloForBusinessAuthenticationMethod objects and their properties. This API is available in the following national cloud deployments. + Get a list of the windowsHelloForBusinessAuthenticationMethod objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WindowsHelloForBusinessAuthenticationMethodCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/windowshelloforbusinessauthenticationmethod-list?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[WindowsHelloForBusinessMethod def to_get_request_information(self,request_configuration: Optional[WindowsHelloForBusinessMethodsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the windowsHelloForBusinessAuthenticationMethod objects and their properties. This API is available in the following national cloud deployments. + Get a list of the windowsHelloForBusinessAuthenticationMethod objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsHello request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> WindowsHelloForBusinessMethodsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class WindowsHelloForBusinessMethodsRequestBuilderGetQueryParameters(): """ - Get a list of the windowsHelloForBusinessAuthenticationMethod objects and their properties. This API is available in the following national cloud deployments. + Get a list of the windowsHelloForBusinessAuthenticationMethod objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_request_builder.py b/msgraph_beta/generated/users/item/calendar/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_request_builder.py index c9b11c5d05b..2493aeddf38 100644 --- a/msgraph_beta/generated/users/item/calendar/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[AllowedCalen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllowedCalendarSharingRolesWithUserRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/calendar_permissions/calendar_permissions_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_permissions/calendar_permissions_request_builder.py index 125b2b32abd..2b1bd7b48dc 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_permissions/calendar_permissions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_permissions/calendar_permissions_request_builder.py @@ -45,7 +45,7 @@ def by_calendar_permission_id(self,calendar_permission_id: str) -> CalendarPermi async def get(self,request_configuration: Optional[CalendarPermissionsRequestBuilderGetRequestConfiguration] = None) -> Optional[CalendarPermissionCollectionResponse]: """ - Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + Get the specified permissions object of a user or group calendar that has been shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CalendarPermissionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[CalendarPermissionsRequestBui async def post(self,body: Optional[CalendarPermission] = None, request_configuration: Optional[CalendarPermissionsRequestBuilderPostRequestConfiguration] = None) -> Optional[CalendarPermission]: """ - Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. This API is available in the following national cloud deployments. + Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CalendarPermission] @@ -91,7 +91,7 @@ async def post(self,body: Optional[CalendarPermission] = None, request_configura def to_get_request_information(self,request_configuration: Optional[CalendarPermissionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + Get the specified permissions object of a user or group calendar that has been shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[CalendarPerm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CalendarPermission] = None, request_configuration: Optional[CalendarPermissionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. This API is available in the following national cloud deployments. + Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[CalendarPermission] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CalendarPermissionsRequestBuilderGetQueryParameters(): """ - Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + Get the specified permissions object of a user or group calendar that has been shared. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_permissions/item/calendar_permission_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_permissions/item/calendar_permission_item_request_builder.py index d17d9f98c28..05b70cdcb87 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_permissions/item/calendar_permission_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_permissions/item/calendar_permission_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[CalendarPermissionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete calendarPermission. This API is available in the following national cloud deployments. + Delete calendarPermission. 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/calendarpermission-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[CalendarPermissionItemRequ async def get(self,request_configuration: Optional[CalendarPermissionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CalendarPermission]: """ - Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + Get the specified permissions object of a user or group calendar that has been shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CalendarPermission] Find more info here: https://learn.microsoft.com/graph/api/calendarpermission-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[CalendarPermissionItemRequest async def patch(self,body: Optional[CalendarPermission] = None, request_configuration: Optional[CalendarPermissionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[CalendarPermission]: """ - Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. This API is available in the following national cloud deployments. + Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CalendarPermission] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[CalendarPermission] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[CalendarPermissionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete calendarPermission. This API is available in the following national cloud deployments. + Delete calendarPermission. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[CalendarP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CalendarPermissionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + Get the specified permissions object of a user or group calendar that has been shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[CalendarPerm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CalendarPermission] = None, request_configuration: Optional[CalendarPermissionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. This API is available in the following national cloud deployments. + Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[CalendarPermission] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class CalendarPermissionItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class CalendarPermissionItemRequestBuilderGetQueryParameters(): """ - Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + Get the specified permissions object of a user or group calendar that has been shared. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_request_builder.py index efb9eb4f3ab..06db6ee83a2 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_request_builder.py @@ -43,9 +43,29 @@ def allowed_calendar_sharing_roles_with_user(self,user: Optional[str] = None) -> return AllowedCalendarSharingRolesWithUserRequestBuilder(self.request_adapter, self.path_parameters, user) + async def delete(self,request_configuration: Optional[CalendarRequestBuilderDeleteRequestConfiguration] = None) -> None: + """ + Delete a calendar other than the default calendar. + 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/calendar-delete?view=graph-rest-1.0 + """ + request_info = self.to_delete_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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[CalendarRequestBuilderGetRequestConfiguration] = None) -> Optional[Calendar]: """ - Get the properties and relationships of a calendar object. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. There are two scenarios where an app can get another user's calendar: This API is available in the following national cloud deployments. + Get the properties and relationships of a calendar object. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. There are two scenarios where an app can get another user's calendar: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Calendar] Find more info here: https://learn.microsoft.com/graph/api/calendar-get?view=graph-rest-1.0 @@ -67,7 +87,7 @@ async def get(self,request_configuration: Optional[CalendarRequestBuilderGetRequ async def patch(self,body: Optional[Calendar] = None, request_configuration: Optional[CalendarRequestBuilderPatchRequestConfiguration] = None) -> Optional[Calendar]: """ - Update the properties of a calendar object. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. This API is available in the following national cloud deployments. + Update the properties of a calendar object. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Calendar] @@ -90,9 +110,25 @@ async def patch(self,body: Optional[Calendar] = None, request_configuration: Opt return await self.request_adapter.send_async(request_info, Calendar, error_mapping) + def to_delete_request_information(self,request_configuration: Optional[CalendarRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: + """ + Delete a calendar other than the default calendar. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.DELETE + request_info.headers.try_add("Accept", "application/json") + return request_info + def to_get_request_information(self,request_configuration: Optional[CalendarRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a calendar object. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. There are two scenarios where an app can get another user's calendar: This API is available in the following national cloud deployments. + Get the properties and relationships of a calendar object. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. There are two scenarios where an app can get another user's calendar: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +140,12 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Calendar] = None, request_configuration: Optional[CalendarRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a calendar object. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. This API is available in the following national cloud deployments. + Update the properties of a calendar object. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +159,7 @@ def to_patch_request_information(self,body: Optional[Calendar] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -173,10 +209,20 @@ def get_schedule(self) -> GetScheduleRequestBuilder: return GetScheduleRequestBuilder(self.request_adapter, self.path_parameters) + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class CalendarRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + @dataclass class CalendarRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a calendar object. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. There are two scenarios where an app can get another user's calendar: This API is available in the following national cloud deployments. + Get the properties and relationships of a calendar object. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. There are two scenarios where an app can get another user's calendar: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/calendar_view_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/calendar_view_request_builder.py index e708b991e86..6a504664973 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/calendar_view_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/calendar_view_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarView request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarViewRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/delta/delta_request_builder.py index 7d0314f1d29..440a2f1f483 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/accept/accept_request_builder.py index b46998432fe..50c335db705 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/attachments/attachments_request_builder.py index a50adedcf09..f192f3b7cf5 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.py index 3ce59d2513f..bf141077a07 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/attachments/item/attachment_item_request_builder.py index cb7592e508a..49995ec6674 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/calendar/calendar_request_builder.py index 18fae3cd53a..22644de39dd 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/cancel/cancel_request_builder.py index a8c3be81a10..38fd0a37699 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/decline/decline_request_builder.py index 856f2a9d119..2a0dc4aa5aa 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/dismiss_reminder/dismiss_reminder_request_builder.py index 7a73510aa68..8aa4369ce07 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/event_item_request_builder.py index 75099edf354..c49c1071328 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/event_item_request_builder.py @@ -73,7 +73,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/delta/delta_request_builder.py index 464d3d574bb..2ee93db125e 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/exception_occurrences_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/exception_occurrences_request_builder.py index eb7ea28e201..28d07352d2b 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/exception_occurrences_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/exception_occurrences_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ExceptionOcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExceptionOccurrencesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/accept/accept_request_builder.py index 65178594f2d..822f37e5a38 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py index 72263bba28a..aa0a4f269b2 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py index 96babb3c616..53625f4fbd1 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py index 032caf8e205..11e4a65a01a 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/calendar/calendar_request_builder.py index 3098d52d3f2..df508f33f12 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/cancel/cancel_request_builder.py index 0017bf6cf64..5c65ec8c217 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/decline/decline_request_builder.py index b98647593da..c0e23f860e6 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py index db4508f769c..186e815418f 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/event_item_request_builder.py index 39825af3f08..e258903b827 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/event_item_request_builder.py @@ -72,7 +72,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/extensions/extensions_request_builder.py index 485db01f4b2..2279bba2b14 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py index bce76959dd2..4213de03a14 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/forward/forward_request_builder.py index 2eaab341203..186dee7f8eb 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/delta/delta_request_builder.py index e07f0971a24..890e60089b7 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/instances_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/instances_request_builder.py index bc144680a77..7ce311b7847 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/instances_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/instances_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[InstancesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InstancesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py index 317e72e28d9..37b49a14538 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py index 000f1270e11..1c76631c5e6 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py index de9b2d9fcab..bd5b2dd91a4 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py index 0639ada14f4..bfe2ba5c00b 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py index 1d42364e5bd..6cc330a581d 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py index 0c10ec30b6c..5cda586652d 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py index 7e446a5d87d..090f0039308 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py index 15839d04388..73fa6122ea4 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/event_item_request_builder.py index 8acfd962116..88a93cc129f 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/event_item_request_builder.py @@ -71,7 +71,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py index e0ade9e5374..92b5b5c4bcf 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py index 49d964b6362..d0f67e8e0b4 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py index 344d7400cfe..05792110315 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py index 1f85283884e..7f0e43b5bb0 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py index 7d6e14725c0..980a46e182c 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py index 2c5b1f3386d..da9aa735506 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py index c97274d85bc..cb880ebbec4 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/extensions/extensions_request_builder.py index 683716d92cd..425d7949f67 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/extensions/item/extension_item_request_builder.py index 05d384561e4..7556431e2eb 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/forward/forward_request_builder.py index 08abf5f7635..f01604406b9 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/delta/delta_request_builder.py index 6d050801221..cd98b05b05d 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/instances_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/instances_request_builder.py index 68053876393..c0efcfe4feb 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/instances_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/instances_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[InstancesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InstancesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/accept/accept_request_builder.py index 82ab24ff602..45830fe35b0 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/attachments/attachments_request_builder.py index ce36b9e8215..f6956725e4d 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py index e69650c8690..b0fab49ab82 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/attachments/item/attachment_item_request_builder.py index 689e19935bc..79db3059dba 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/calendar/calendar_request_builder.py index a4649aa76b0..73c200d171f 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/cancel/cancel_request_builder.py index 5503e336502..f780d51f865 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/decline/decline_request_builder.py index 55f25a7b180..d3038cb7f2c 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py index 29450d5242f..60dd81a9e66 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/event_item_request_builder.py index 047656fe2fa..acafc6c9d8d 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/event_item_request_builder.py @@ -72,7 +72,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/delta/delta_request_builder.py index 0ab0081dce1..0ab32fadcd4 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py index 5c96c1a8f97..1e4c8ed2dd3 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ExceptionOcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExceptionOccurrencesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py index 1e00c7f9c6b..ecaf098059e 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py index 4ffd0dc2a76..6260e238ea5 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py index 9dcb32bdf5f..6bc17e0e9be 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py index 8922161af3f..601407102b6 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py index c5a80e94d37..14d3f51b83e 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py index a2c8616720c..295f9037d84 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py index c7f9b50fa65..27b33e233da 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py index 84e61856f9e..378541bc0ad 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/event_item_request_builder.py index b5161921d3b..36d385313eb 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/event_item_request_builder.py @@ -71,7 +71,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py index 387c6dfccac..6f2c5b6340c 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py index edef8627904..5744252d168 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py index e131cf4c9b0..66a577edab9 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py index 2ce7f1cd53f..75161cf327c 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py index 015ca2a4c78..1be296ef438 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/extensions/extensions_request_builder.py index 8d7db6a33dc..a1708eae914 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.py index b7a53611713..bfb61d2fa9d 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/forward/forward_request_builder.py index 7f3ce05fa8b..80d2e7d2c77 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py index 4d769eda484..498a15b2da1 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py index 856af45a5de..d78ae7c1a8c 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.py index 3e623606724..fedd8d31a6c 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.py index f564dbdd7b0..3b32afac0f6 100644 --- a/msgraph_beta/generated/users/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/delta/delta_request_builder.py index 573db69ee56..ede12124c58 100644 --- a/msgraph_beta/generated/users/item/calendar/events/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/events_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/events_request_builder.py index bec5c968b2d..3e8d420e8a6 100644 --- a/msgraph_beta/generated/users/item/calendar/events/events_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/events_request_builder.py @@ -46,7 +46,7 @@ def by_event_id(self,event_id: str) -> EventItemRequestBuilder: async def get(self,request_configuration: Optional[EventsRequestBuilderGetRequestConfiguration] = None) -> Optional[EventCollectionResponse]: """ - Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. This API is available in the following national cloud deployments. + Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EventCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/calendar-list-events?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[EventsRequestBuilderGetReques async def post(self,body: Optional[Event] = None, request_configuration: Optional[EventsRequestBuilderPostRequestConfiguration] = None) -> Optional[Event]: """ - Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. This API is available in the following national cloud deployments. + Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Event] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Event] = None, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[EventsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. This API is available in the following national cloud deployments. + Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[EventsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Event] = None, request_configuration: Optional[EventsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. This API is available in the following national cloud deployments. + Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Event] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class EventsRequestBuilderGetQueryParameters(): """ - Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. This API is available in the following national cloud deployments. + Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/accept/accept_request_builder.py index ca9a2d59a22..eef655f6a42 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/attachments/attachments_request_builder.py index c845aa60bd0..23c5dfd7ef8 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/attachments/create_upload_session/create_upload_session_request_builder.py index 2db1e2b992a..7331694a836 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/attachments/item/attachment_item_request_builder.py index 8ea781228df..d5d8b8e0733 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/calendar/calendar_request_builder.py index b22c6cceddd..02dbe5a3926 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/events/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/cancel/cancel_request_builder.py index 82f93ada8d5..8d62ef0b8cc 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/decline/decline_request_builder.py index 921ce1c0b49..4d6a0176677 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/dismiss_reminder/dismiss_reminder_request_builder.py index cfbe1be2323..e28181e9756 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/events/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/event_item_request_builder.py index c2c28699f83..82988add6f9 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/event_item_request_builder.py @@ -115,7 +115,7 @@ def to_delete_request_information(self,request_configuration: Optional[EventItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EventItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -132,7 +132,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Event] = None, request_configuration: Optional[EventItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -151,7 +151,7 @@ def to_patch_request_information(self,body: Optional[Event] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/delta/delta_request_builder.py index 0dbecc8e0ed..f83081d1d5d 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/exception_occurrences_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/exception_occurrences_request_builder.py index daef08ef5ef..0f2726f5782 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/exception_occurrences_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/exception_occurrences_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ExceptionOcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExceptionOccurrencesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/accept/accept_request_builder.py index 47ac32fe2c9..48aae4ca2af 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/attachments/attachments_request_builder.py index 74042d332c2..62359192be2 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py index 88962196e64..d147267791d 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py index e57f2ef97ac..d2fd4279979 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/calendar/calendar_request_builder.py index 0a07101622f..4d3b3108486 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/cancel/cancel_request_builder.py index c271cd3d681..f43a8ee09ea 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/decline/decline_request_builder.py index deddb1d9107..2c186241593 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py index e6ba9c01776..eb878224106 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/event_item_request_builder.py index be960b0f5fa..f1a32cd097a 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/event_item_request_builder.py @@ -72,7 +72,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/extensions/extensions_request_builder.py index a7a69b0b8b7..5c704e3534b 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py index 99540380267..db828b437e5 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/forward/forward_request_builder.py index 784607cd192..841da7bcf8f 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/delta/delta_request_builder.py index d4a2bf196af..500d785e26d 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/instances_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/instances_request_builder.py index 161bd7e9426..ce3e947db9c 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/instances_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/instances_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[InstancesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InstancesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py index b0770eaa9d1..ac3d7aa8337 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py index 827feff9934..190eab13140 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py index bed7f1413b8..9af76dc1576 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py index e010b08504a..0042f6b5c6c 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py index e8dd5a91eba..5fc08cd8881 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py index a2adb5e70a1..02b2aaa8a84 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py index 638256601b8..16a3709c128 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py index b4ef3990c9a..7844bf7c514 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/event_item_request_builder.py index ada350cfa85..3f17488a926 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/event_item_request_builder.py @@ -71,7 +71,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py index 38d3afffdcc..e98bdaf44f3 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py index 2d88b877913..9b695d06d5d 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py index adf770473d4..16dbaad0883 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py index f70e0999849..24c0af17472 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py index 48da75720c8..9804c89f03e 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py index b58cbf70a90..f31c303bfbd 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py index 5b26d5e42ec..fd4e7c588b7 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/extensions/extensions_request_builder.py index 2af6739973b..5793114e21f 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/extensions/item/extension_item_request_builder.py index 55a637b8d6f..8a3f91ac4e8 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/forward/forward_request_builder.py index ed5dfd4fec5..e7eb9703d77 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/delta/delta_request_builder.py index efa2094caad..e50f202e646 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/instances_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/instances_request_builder.py index 8397a20fbab..543760a3211 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/instances_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/instances_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[InstancesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InstancesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/accept/accept_request_builder.py index 800d8c92efa..3581e5702d0 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/attachments/attachments_request_builder.py index 3b6734cafe5..ed589e43735 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py index 7d0514c9897..7d23f41ad74 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/attachments/item/attachment_item_request_builder.py index 1fefd16f02f..23b26864f9a 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/calendar/calendar_request_builder.py index 4c5aecd0c15..c5edeee112f 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/cancel/cancel_request_builder.py index 7374e2d81c1..082bd48573c 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/decline/decline_request_builder.py index 0bf00f5c15e..98fe9a87c3d 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py index 45f5517e4de..47093d3b0a7 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/event_item_request_builder.py index 02a150f4181..a5a4f3441fa 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/event_item_request_builder.py @@ -72,7 +72,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/delta/delta_request_builder.py index 0fd8b7ae122..7fa000249d1 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py index 5ea5cc0f187..d8535558777 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ExceptionOcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExceptionOccurrencesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py index 7c48144b829..0fc0fb4e50d 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py index 6d7fc09256f..d9b0d41e191 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py index dd12f02604a..4dd92651eee 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py index 1eaa04a6aa1..6e180abc5f5 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py index b28d704518b..f9bb7a51cd3 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py index f2f417bffa8..39c420e1822 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py index 83fb453f87a..495a39bee0c 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py index 0c6bcd20874..3f9854685f7 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/event_item_request_builder.py index 0c438d4df90..37cdb03b8b6 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/event_item_request_builder.py @@ -71,7 +71,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py index 740f3c27454..be1f40e7388 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py index d99c1da0e17..a783c7fd883 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py index a372cfb0de2..a002dcfd6db 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py index 83201df9cf9..ca4be987e26 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py index c71afdf45fd..fb7db73484a 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/extensions/extensions_request_builder.py index 0bf89515f42..05a44873d87 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/extensions/item/extension_item_request_builder.py index 4037773828b..1d7a21fcfcf 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/forward/forward_request_builder.py index ca4b6e974c4..bd80d2a4cdf 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py index aefa6cc8e8e..4e41f7483f3 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py index 822fc4f671d..59ab4c022a1 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/snooze_reminder/snooze_reminder_request_builder.py index 7d43d444497..80a629ca815 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/events/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendar/events/item/tentatively_accept/tentatively_accept_request_builder.py index 56af9f9f6ae..3e2bce5b71a 100644 --- a/msgraph_beta/generated/users/item/calendar/events/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/events/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar/get_schedule/get_schedule_request_builder.py b/msgraph_beta/generated/users/item/calendar/get_schedule/get_schedule_request_builder.py index 679e1ab233c..99826607580 100644 --- a/msgraph_beta/generated/users/item/calendar/get_schedule/get_schedule_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar/get_schedule/get_schedule_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetSchedulePostRequestBody] = None, request_configuration: Optional[GetScheduleRequestBuilderPostRequestConfiguration] = None) -> Optional[GetSchedulePostResponse]: """ - Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. This API is available in the following national cloud deployments. + Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetSchedulePostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetSchedulePostRequestBody] = None, request_c def to_post_request_information(self,body: Optional[GetSchedulePostRequestBody] = None, request_configuration: Optional[GetScheduleRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. This API is available in the following national cloud deployments. + Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetSchedulePostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/calendar_groups_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/calendar_groups_request_builder.py index 6e7b397bdf2..6b7b8d47c7a 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/calendar_groups_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/calendar_groups_request_builder.py @@ -45,7 +45,7 @@ def by_calendar_group_id(self,calendar_group_id: str) -> CalendarGroupItemReques async def get(self,request_configuration: Optional[CalendarGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[CalendarGroupCollectionResponse]: """ - Get the user's calendar groups. This API is available in the following national cloud deployments. + Get the user's calendar groups. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CalendarGroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/user-list-calendargroups?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[CalendarGroupsRequestBuilderG async def post(self,body: Optional[CalendarGroup] = None, request_configuration: Optional[CalendarGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[CalendarGroup]: """ - Use this API to create a new CalendarGroup. This API is available in the following national cloud deployments. + Use this API to create a new CalendarGroup. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CalendarGroup] @@ -92,7 +92,7 @@ async def post(self,body: Optional[CalendarGroup] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[CalendarGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the user's calendar groups. This API is available in the following national cloud deployments. + Get the user's calendar groups. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[CalendarGrou request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CalendarGroup] = None, request_configuration: Optional[CalendarGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new CalendarGroup. This API is available in the following national cloud deployments. + Use this API to create a new CalendarGroup. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[CalendarGroup] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CalendarGroupsRequestBuilderGetQueryParameters(): """ - Get the user's calendar groups. This API is available in the following national cloud deployments. + Get the user's calendar groups. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendar_group_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendar_group_item_request_builder.py index 2cf910429ce..abb7e0c59a3 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendar_group_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendar_group_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[CalendarGroupItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a calendar group other than the default calendar group. This API is available in the following national cloud deployments. + Delete a calendar group other than the default calendar group. 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/calendargroup-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[CalendarGroupItemRequestBu async def get(self,request_configuration: Optional[CalendarGroupItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CalendarGroup]: """ - Retrieve the properties and relationships of a calendar group object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a calendar group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CalendarGroup] Find more info here: https://learn.microsoft.com/graph/api/calendargroup-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[CalendarGroupItemRequestBuild async def patch(self,body: Optional[CalendarGroup] = None, request_configuration: Optional[CalendarGroupItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[CalendarGroup]: """ - Update the properties of calendargroup object. This API is available in the following national cloud deployments. + Update the properties of calendargroup object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CalendarGroup] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[CalendarGroup] = None, request_configuration def to_delete_request_information(self,request_configuration: Optional[CalendarGroupItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a calendar group other than the default calendar group. This API is available in the following national cloud deployments. + Delete a calendar group other than the default calendar group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[CalendarG request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CalendarGroupItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a calendar group object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a calendar group object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[CalendarGrou request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CalendarGroup] = None, request_configuration: Optional[CalendarGroupItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of calendargroup object. This API is available in the following national cloud deployments. + Update the properties of calendargroup object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[CalendarGroup] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class CalendarGroupItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class CalendarGroupItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a calendar group object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a calendar group object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/calendars_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/calendars_request_builder.py index 1300437d6e2..23c02649d7e 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/calendars_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/calendars_request_builder.py @@ -45,7 +45,7 @@ def by_calendar_id(self,calendar_id: str) -> CalendarItemRequestBuilder: async def get(self,request_configuration: Optional[CalendarsRequestBuilderGetRequestConfiguration] = None) -> Optional[CalendarCollectionResponse]: """ - Retrieve a list of calendars belonging to a calendar group. This API is available in the following national cloud deployments. + Retrieve a list of calendars belonging to a calendar group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CalendarCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/calendargroup-list-calendars?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[CalendarsRequestBuilderGetReq async def post(self,body: Optional[Calendar] = None, request_configuration: Optional[CalendarsRequestBuilderPostRequestConfiguration] = None) -> Optional[Calendar]: """ - Use this API to create a new calendar in a calendar group for a user. This API is available in the following national cloud deployments. + Use this API to create a new calendar in a calendar group for a user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Calendar] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Calendar] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[CalendarsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of calendars belonging to a calendar group. This API is available in the following national cloud deployments. + Retrieve a list of calendars belonging to a calendar group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[CalendarsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Calendar] = None, request_configuration: Optional[CalendarsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new calendar in a calendar group for a user. This API is available in the following national cloud deployments. + Use this API to create a new calendar in a calendar group for a user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Calendar] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CalendarsRequestBuilderGetQueryParameters(): """ - Retrieve a list of calendars belonging to a calendar group. This API is available in the following national cloud deployments. + Retrieve a list of calendars belonging to a calendar group. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_request_builder.py index b2f33ef4d60..272dd0ce291 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[AllowedCalen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllowedCalendarSharingRolesWithUserRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_item_request_builder.py index e783496f09b..aa2dd5c8878 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_item_request_builder.py @@ -120,7 +120,7 @@ def to_delete_request_information(self,request_configuration: Optional[CalendarI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CalendarItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -137,7 +137,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Calendar] = None, request_configuration: Optional[CalendarItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -156,7 +156,7 @@ def to_patch_request_information(self,body: Optional[Calendar] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_permissions/calendar_permissions_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_permissions/calendar_permissions_request_builder.py index fecbce9eeb3..5eaf337f31d 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_permissions/calendar_permissions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_permissions/calendar_permissions_request_builder.py @@ -45,7 +45,7 @@ def by_calendar_permission_id(self,calendar_permission_id: str) -> CalendarPermi async def get(self,request_configuration: Optional[CalendarPermissionsRequestBuilderGetRequestConfiguration] = None) -> Optional[CalendarPermissionCollectionResponse]: """ - Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + Get the specified permissions object of a user or group calendar that has been shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CalendarPermissionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[CalendarPermissionsRequestBui async def post(self,body: Optional[CalendarPermission] = None, request_configuration: Optional[CalendarPermissionsRequestBuilderPostRequestConfiguration] = None) -> Optional[CalendarPermission]: """ - Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. This API is available in the following national cloud deployments. + Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CalendarPermission] @@ -91,7 +91,7 @@ async def post(self,body: Optional[CalendarPermission] = None, request_configura def to_get_request_information(self,request_configuration: Optional[CalendarPermissionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + Get the specified permissions object of a user or group calendar that has been shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[CalendarPerm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CalendarPermission] = None, request_configuration: Optional[CalendarPermissionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. This API is available in the following national cloud deployments. + Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[CalendarPermission] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CalendarPermissionsRequestBuilderGetQueryParameters(): """ - Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + Get the specified permissions object of a user or group calendar that has been shared. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_permissions/item/calendar_permission_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_permissions/item/calendar_permission_item_request_builder.py index 9c574a420d9..fcb13608c88 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_permissions/item/calendar_permission_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_permissions/item/calendar_permission_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[CalendarPermissionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete calendarPermission. This API is available in the following national cloud deployments. + Delete calendarPermission. 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/calendarpermission-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[CalendarPermissionItemRequ async def get(self,request_configuration: Optional[CalendarPermissionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CalendarPermission]: """ - Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + Get the specified permissions object of a user or group calendar that has been shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CalendarPermission] Find more info here: https://learn.microsoft.com/graph/api/calendarpermission-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[CalendarPermissionItemRequest async def patch(self,body: Optional[CalendarPermission] = None, request_configuration: Optional[CalendarPermissionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[CalendarPermission]: """ - Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. This API is available in the following national cloud deployments. + Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CalendarPermission] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[CalendarPermission] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[CalendarPermissionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete calendarPermission. This API is available in the following national cloud deployments. + Delete calendarPermission. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[CalendarP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CalendarPermissionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + Get the specified permissions object of a user or group calendar that has been shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[CalendarPerm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CalendarPermission] = None, request_configuration: Optional[CalendarPermissionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. This API is available in the following national cloud deployments. + Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[CalendarPermission] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class CalendarPermissionItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class CalendarPermissionItemRequestBuilderGetQueryParameters(): """ - Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + Get the specified permissions object of a user or group calendar that has been shared. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/calendar_view_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/calendar_view_request_builder.py index 33f593dd366..3d7a1b595b6 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/calendar_view_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/calendar_view_request_builder.py @@ -45,7 +45,7 @@ def by_event_id(self,event_id: str) -> EventItemRequestBuilder: async def get(self,request_configuration: Optional[CalendarViewRequestBuilderGetRequestConfiguration] = None) -> Optional[EventCollectionResponse]: """ - Get the occurrences, exceptions and single instances of events in a calendar view defined by a time range,from a user's default calendar (../me/calendarView) or some other calendar of the user's. This API is available in the following national cloud deployments. + Get the occurrences, exceptions and single instances of events in a calendar view defined by a time range,from a user's default calendar (../me/calendarView) or some other calendar of the user's. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EventCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/calendar-list-calendarview?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[CalendarViewRequestBuilderGet def to_get_request_information(self,request_configuration: Optional[CalendarViewRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the occurrences, exceptions and single instances of events in a calendar view defined by a time range,from a user's default calendar (../me/calendarView) or some other calendar of the user's. This API is available in the following national cloud deployments. + Get the occurrences, exceptions and single instances of events in a calendar view defined by a time range,from a user's default calendar (../me/calendarView) or some other calendar of the user's. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarView request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarViewRequestBuilder: @@ -113,7 +113,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class CalendarViewRequestBuilderGetQueryParameters(): """ - Get the occurrences, exceptions and single instances of events in a calendar view defined by a time range,from a user's default calendar (../me/calendarView) or some other calendar of the user's. This API is available in the following national cloud deployments. + Get the occurrences, exceptions and single instances of events in a calendar view defined by a time range,from a user's default calendar (../me/calendarView) or some other calendar of the user's. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/delta/delta_request_builder.py index 498e455dbc9..be2bea69452 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/accept/accept_request_builder.py index 451c2471f5e..2e77d99d2c1 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/attachments_request_builder.py index bbbddbb18aa..ecfdd484c0f 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.py index 783cd0bd57d..efb09e327ea 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/item/attachment_item_request_builder.py index 70390501ebb..c32d49d8e08 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/calendar/calendar_request_builder.py index ae1cb490480..ce7616faa85 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/cancel/cancel_request_builder.py index 3160933b67c..47ebda66f94 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/decline/decline_request_builder.py index 5d66daf05ea..22ac126e6f1 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/dismiss_reminder/dismiss_reminder_request_builder.py index 62d0ba3e2de..eded3e309aa 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/event_item_request_builder.py index 95c95b4f3c7..b1c29cdbe2e 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/event_item_request_builder.py @@ -73,7 +73,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/delta/delta_request_builder.py index f5d6d209ef5..726c22aabbb 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/exception_occurrences_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/exception_occurrences_request_builder.py index 26e2d518353..0a5f0b3b9e0 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/exception_occurrences_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/exception_occurrences_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ExceptionOcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExceptionOccurrencesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/accept/accept_request_builder.py index 0c2b9f6980b..dba2ab70198 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py index 278a20efda1..410e373be28 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py index 0c9a00d06f4..a985360d740 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py index 65f1ad74396..0cfe971a684 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/calendar/calendar_request_builder.py index 1b15d0a2eed..e803fa903f1 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/cancel/cancel_request_builder.py index 9f22d070d92..bcfaa6242ab 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/decline/decline_request_builder.py index cc07109d23a..e35cf456d2b 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py index ee526af61c3..419123059c4 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/event_item_request_builder.py index 148bb07ef57..d17acf88f71 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/event_item_request_builder.py @@ -72,7 +72,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/extensions/extensions_request_builder.py index e9e42c33f0a..ddb617bb983 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py index bf61320421b..6ae6f5dcb97 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/forward/forward_request_builder.py index 9339bfabfae..cee4d6d50d4 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_request_builder.py index bbf0ce4a235..80ec86bb1af 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/instances_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/instances_request_builder.py index 6e625220c09..f296e647537 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/instances_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/instances_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[InstancesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InstancesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py index 9a31ba62bce..aaf9e74902c 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py index b16133759b6..bca21e6aa00 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py index 5fd1d4e53aa..406e17134b2 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py index 562b5aa64e5..1fb0ea731be 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py index 07f3e27a389..d28272982a0 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py index 4a1b2ce238f..bca304ec62a 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py index 3dde9eff800..78e55c92fc8 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py index cd58f86388c..e559f91454b 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/event_item_request_builder.py index c19d978a9f7..9f5015d3c10 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/event_item_request_builder.py @@ -71,7 +71,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py index d010044563c..34cd1fa39c0 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py index b1ea835c915..ac154de803c 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py index 96c2e8e1ce5..ea8f4a125c4 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py index 07390723666..381675f4196 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py index 022d8eb1e71..fcc87442ab2 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py index f91567eb115..591e47c0a70 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py index d63e19b4d2b..11be6bf37a0 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/extensions/extensions_request_builder.py index a528d2fe385..1e72da8884a 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/extensions/item/extension_item_request_builder.py index 4998bbaa4b7..d2c0fb14c1e 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/forward/forward_request_builder.py index 5c083cbc0ea..d7336447b33 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/delta/delta_request_builder.py index 88fd411ede9..c07c0f38834 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/instances_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/instances_request_builder.py index b755529107c..e5dabe3bfa0 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/instances_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/instances_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[InstancesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InstancesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/accept/accept_request_builder.py index 3c0ec0fbe25..b30f5e24b86 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py index fd784e5472e..0be8691a9a2 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py index 9e34c121e77..9cdd9f1a53f 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/item/attachment_item_request_builder.py index afcc2b0b616..9d0c52dd45e 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/calendar/calendar_request_builder.py index 13feaf2bfde..0d5977e1e41 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/cancel/cancel_request_builder.py index 6ca83b6cd44..b48410707c4 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/decline/decline_request_builder.py index ab8fc6b8059..85dd8b53ee4 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py index 36c1a9cbc5c..3459149957f 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.py index 6c0215cf43c..ce10930c3d2 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.py @@ -72,7 +72,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_request_builder.py index c9b17c88def..cb188cb1f68 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py index 3d03197232e..5eb1706ad74 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ExceptionOcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExceptionOccurrencesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py index 49a5391ebf0..1e0a93ff55a 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py index 180f3bc7ccb..dabdb098860 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py index c7678f223df..ca6b5f24199 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py index d0e08a54d62..5993f70f146 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py index 683411b6b94..54373f15183 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py index 81728d625fd..b32bdb1a16e 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py index 36fd695b8a0..503799e6a43 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py index 63cf8409aaf..6f7feec94c7 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/event_item_request_builder.py index 2dcdcc394e7..760c6f29f4a 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/event_item_request_builder.py @@ -71,7 +71,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py index 3e516d3ad45..5441e9a61c0 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py index dce1262bc33..a4599a97763 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py index f2b93eecec2..3766f315e99 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py index 503f8628660..7b9507ee1cd 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py index c0cab37341d..d2251d48c89 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/extensions_request_builder.py index 61a93569553..4ad949a6e8c 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.py index ed29238e645..b2a14e191c9 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/forward/forward_request_builder.py index 184e4eaefe1..9c9658a4fd3 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py index 4eac2b604d6..f460b4e5971 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py index d7465b1a2c7..26ed1ad71df 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.py index ec407694f9f..deeffd72603 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.py index 9450d194be1..5d92c26aea9 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/delta/delta_request_builder.py index c9aa8727d81..b22872dd32b 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/events_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/events_request_builder.py index 2ad105b56e7..3b97f4f13e4 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/events_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/events_request_builder.py @@ -46,7 +46,7 @@ def by_event_id(self,event_id: str) -> EventItemRequestBuilder: async def get(self,request_configuration: Optional[EventsRequestBuilderGetRequestConfiguration] = None) -> Optional[EventCollectionResponse]: """ - Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. This API is available in the following national cloud deployments. + Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EventCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/calendar-list-events?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[EventsRequestBuilderGetReques async def post(self,body: Optional[Event] = None, request_configuration: Optional[EventsRequestBuilderPostRequestConfiguration] = None) -> Optional[Event]: """ - Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. This API is available in the following national cloud deployments. + Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Event] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Event] = None, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[EventsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. This API is available in the following national cloud deployments. + Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[EventsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Event] = None, request_configuration: Optional[EventsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. This API is available in the following national cloud deployments. + Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Event] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class EventsRequestBuilderGetQueryParameters(): """ - Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. This API is available in the following national cloud deployments. + Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/accept/accept_request_builder.py index 8ffece5fee6..21a91e86563 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/attachments/attachments_request_builder.py index 973989292eb..0d2d9ae6ddf 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.py index c71aad83769..56e328cc169 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/attachments/item/attachment_item_request_builder.py index 3467129b08f..d70321390e9 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/calendar/calendar_request_builder.py index cdb816a01fb..e73dfb6daab 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/cancel/cancel_request_builder.py index 54281f177c8..da3a5031dd3 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/decline/decline_request_builder.py index b7b0c5541cd..9e4ac6f7433 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/dismiss_reminder/dismiss_reminder_request_builder.py index c0c851fcb0a..6de4001947e 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/event_item_request_builder.py index 8994c3a91d5..cbed276af26 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/event_item_request_builder.py @@ -115,7 +115,7 @@ def to_delete_request_information(self,request_configuration: Optional[EventItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EventItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -132,7 +132,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Event] = None, request_configuration: Optional[EventItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -151,7 +151,7 @@ def to_patch_request_information(self,body: Optional[Event] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/delta/delta_request_builder.py index 38aab3a45db..a730354c6cf 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/exception_occurrences_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/exception_occurrences_request_builder.py index 7d658c74304..8929f795f6b 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/exception_occurrences_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/exception_occurrences_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ExceptionOcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExceptionOccurrencesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/accept/accept_request_builder.py index e4795574c2d..daa76f35764 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py index 00cb318e672..2f4157eaafe 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py index 2ca2940332b..958556b5329 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py index caef5a26eb4..c11fef31b1b 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/calendar/calendar_request_builder.py index af4cc292beb..8e73fd5a440 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/cancel/cancel_request_builder.py index b6d3faed094..5b541e22a25 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/decline/decline_request_builder.py index 4004809216d..28056890b1f 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py index 8e91353c259..c8db9d22282 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/event_item_request_builder.py index f9e1f5954c7..aaecea073e2 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/event_item_request_builder.py @@ -72,7 +72,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/extensions/extensions_request_builder.py index 573b623aa4d..751cfc579a9 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py index aa123c08904..f160125f29d 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/forward/forward_request_builder.py index 66198ae774e..4f5600b08d1 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/delta/delta_request_builder.py index 32a563dd5e4..adc437db65c 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/instances_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/instances_request_builder.py index 1177b9e3dab..3684dd3ec39 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/instances_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/instances_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[InstancesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InstancesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py index 6aec126bbc0..b81962599a5 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py index a9ccaa9c73d..3a6e60e5043 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py index 07b8e88c8e7..105c268089e 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py index b1562f40d3c..3326a27ea40 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py index 0498633c1f0..834f41969a6 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py index 6181236d62b..42278b70c25 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py index 7e713c3a359..af98e720a62 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py index ef28ba66fd3..f6b45f403bd 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/event_item_request_builder.py index 406fc5854f5..1fc61654c00 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/event_item_request_builder.py @@ -71,7 +71,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py index 8fe634d500e..39a2ce1c94e 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py index 2a7f0cc47ac..e9527f3e13c 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py index e12fab75458..8b40a223a82 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py index 7d67a09a5e2..ee603ba8f81 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py index 0b92ae3be13..d70365e0198 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py index 38062220c92..4ca86ca42aa 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py index 6c4747cdbd3..bfcb147af20 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/extensions/extensions_request_builder.py index 0fefa6d80e3..a97c96e836d 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/extensions/item/extension_item_request_builder.py index 41fa4881e3a..d62f3f063dd 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/forward/forward_request_builder.py index 69fbea00d76..df8e4f82b4d 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/delta/delta_request_builder.py index f0ab836d776..6416b703e91 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/instances_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/instances_request_builder.py index ab49ea3c03b..f1f839cb43c 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/instances_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/instances_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[InstancesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InstancesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/accept/accept_request_builder.py index 57ed9a8ce0b..25b1c642606 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/attachments_request_builder.py index 846b3beede6..fc50ed857b1 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py index 97107bf635e..77873760e8f 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/item/attachment_item_request_builder.py index 25a5e1e3937..5747aba3d05 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/calendar/calendar_request_builder.py index 270b5165225..84d9d2af27f 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/cancel/cancel_request_builder.py index 853ce0f5a73..14b5903e93f 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/decline/decline_request_builder.py index 083a615f8bf..0259e35aefb 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py index 7ab26f14725..4adde0079bc 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/event_item_request_builder.py index 66230c0216b..feb422580a4 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/event_item_request_builder.py @@ -72,7 +72,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/delta/delta_request_builder.py index ffd3145017a..407ad8bbec0 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py index d0b38c447e3..73506c4db2b 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ExceptionOcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExceptionOccurrencesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py index a454fcddaeb..86dd8c55bb7 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py index 2920019eb2f..fd30951afd5 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py index 1bad5949b16..eee252832a2 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py index 596bd3a5c6b..e6794508c00 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py index c9ac2ba95b1..fc012b1bd76 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py index 5534eb95978..8222cd306b5 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py index 1f98d594dd0..c3e3b6b64ab 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py index b28775f0a7d..5a76e4e56bf 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/event_item_request_builder.py index a958cfdcd9a..7167d2e7d12 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/event_item_request_builder.py @@ -71,7 +71,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py index 66fae445f27..b1304f5f547 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py index be1d9e206bb..0a28fe5e423 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py index b5c909c44fd..c7590a3ac1c 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py index cb9e18ef919..69ff53b0bef 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py index 3c2ae59c653..d29872235bd 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/extensions/extensions_request_builder.py index f1d0cbacf98..90805642f95 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/extensions/item/extension_item_request_builder.py index aa8fe3005c1..083ef18f4cc 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/forward/forward_request_builder.py index 13103921336..0a23f30d28a 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py index b556392b5b0..216c3e98592 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py index 8de002b8466..f82d3ae2203 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/snooze_reminder/snooze_reminder_request_builder.py index b3ace7812f0..cb20994385e 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/tentatively_accept/tentatively_accept_request_builder.py index 9ea5028ac6f..cfe927eb739 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/events/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/get_schedule/get_schedule_request_builder.py b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/get_schedule/get_schedule_request_builder.py index cbaf1cd7b4e..92cc917f005 100644 --- a/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/get_schedule/get_schedule_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_groups/item/calendars/item/get_schedule/get_schedule_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetSchedulePostRequestBody] = None, request_configuration: Optional[GetScheduleRequestBuilderPostRequestConfiguration] = None) -> Optional[GetSchedulePostResponse]: """ - Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. This API is available in the following national cloud deployments. + Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetSchedulePostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetSchedulePostRequestBody] = None, request_c def to_post_request_information(self,body: Optional[GetSchedulePostRequestBody] = None, request_configuration: Optional[GetScheduleRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. This API is available in the following national cloud deployments. + Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetSchedulePostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/calendar_view_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/calendar_view_request_builder.py index e2598bf2cbe..abcda75f95a 100644 --- a/msgraph_beta/generated/users/item/calendar_view/calendar_view_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/calendar_view_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarView request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarViewRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_view/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/delta/delta_request_builder.py index a9c7be67281..d8704e470e2 100644 --- a/msgraph_beta/generated/users/item/calendar_view/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/accept/accept_request_builder.py index f302e62621e..bd4d6b66fa0 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/attachments/attachments_request_builder.py index f94f11d841f..88039c5e921 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.py index f9a5f5c7ea1..1cd9679c3ae 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/attachments/item/attachment_item_request_builder.py index 55aa08af479..1eb2183e7e6 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/calendar/calendar_request_builder.py index f6786fc5c7a..341e3f7c94e 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_view/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/cancel/cancel_request_builder.py index ab114219ee1..60aa782fb63 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/decline/decline_request_builder.py index b3c72fef703..d20abe595d9 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/dismiss_reminder/dismiss_reminder_request_builder.py index 605e8e89e33..b88813ef24f 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_view/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/event_item_request_builder.py index 6fad98b4be8..1770e6559ec 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/event_item_request_builder.py @@ -73,7 +73,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/delta/delta_request_builder.py index fe9ea9f8860..c6bcf8a431f 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/exception_occurrences_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/exception_occurrences_request_builder.py index a6f37f2c72d..72c3bcfa815 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/exception_occurrences_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/exception_occurrences_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ExceptionOcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExceptionOccurrencesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/accept/accept_request_builder.py index 726d2776a18..1865848dbb3 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py index 6eb560cda77..36f29f93171 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py index d6aa0a04010..c2b474ec961 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py index 6aafa94f4f6..3d07dbcbddd 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/calendar/calendar_request_builder.py index e6ac4d68748..359dff46fa1 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/cancel/cancel_request_builder.py index a69e4e08f20..c3b714d3eb6 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/decline/decline_request_builder.py index 7d146b53b7c..0bd3c039187 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py index 40e0dc760b8..da8dd534c3e 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/event_item_request_builder.py index f01205c7a4d..d9536865270 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/event_item_request_builder.py @@ -72,7 +72,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/extensions/extensions_request_builder.py index cd2ff4ab621..11e6dcd5af3 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py index ff7c2965f69..69f734bea9b 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/forward/forward_request_builder.py index ad6fe9604d0..a403de965ce 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_request_builder.py index bbaa04bf122..248d7e2a490 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/instances_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/instances_request_builder.py index b59a70c8a32..93fa96a541b 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/instances_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/instances_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[InstancesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InstancesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py index 661defc8fd0..488c525702f 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py index cccf054eaf2..91763275bf6 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py index 54a1df89f5c..779b915ac8e 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py index 779212532cb..3fd6bc444e3 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py index 6bdc3fdd623..041dfc402c8 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py index 461ceeb96c2..e56e822a229 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py index 4848a1afdec..be19f3995d3 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py index 99c11511e95..e64b0976d7d 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/event_item_request_builder.py index ef6f4994732..108ee780336 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/event_item_request_builder.py @@ -71,7 +71,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py index 77b8f47d970..cc43dc061bb 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py index 3c61b374a50..1bf53d0c818 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py index 9a051d93f1a..b99d3b223c7 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py index 486eaa9f901..645f2ff6686 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py index 75c4f4ce85f..19075fa410d 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py index 0395bda0947..27128a5ab98 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py index 7c80b2019e3..5d8003bac7f 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/extensions/extensions_request_builder.py index c27388f7c3b..cfb96479d06 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/extensions/item/extension_item_request_builder.py index 2358cf45765..4fe3c9b1f55 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/forward/forward_request_builder.py index b97ad0a489d..1526277b111 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/delta/delta_request_builder.py index ed675b402e0..1b348bee3a6 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/instances_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/instances_request_builder.py index 9cd748e3f33..0d06b84f42e 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/instances_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/instances_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[InstancesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InstancesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/accept/accept_request_builder.py index 0c9de1bffa1..c782ad6a5ec 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py index dc6548d9679..72727901fe5 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py index a5547c1ea30..448c7f2c006 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/attachments/item/attachment_item_request_builder.py index ee4897176d8..cadeb29ce7d 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/calendar/calendar_request_builder.py index 5df8378c811..fd599eb2b2c 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/cancel/cancel_request_builder.py index 18016dd25af..3abf43deab7 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/decline/decline_request_builder.py index 0b229cf44a5..46b4992181a 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py index 721edf88d66..6b6e3ca9046 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/event_item_request_builder.py index 070c3fc4614..74457f4a114 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/event_item_request_builder.py @@ -72,7 +72,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_request_builder.py index 3ba944d3588..b72b5ab154f 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py index 45201f53eaa..1b2664418b1 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ExceptionOcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExceptionOccurrencesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py index 9bc9442d6f4..6ef4a671331 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py index bb6063b3724..cd796226c07 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py index c09e5aa764e..3c55898c0c9 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py index 2bc92fcb17c..0f53aa392ed 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py index 86b3bb871d3..12dd3bdcce1 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py index b29d9734473..bc3379f8911 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py index 191e71d552b..98b20a3c2ec 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py index 4b3a0be6524..ff9ae24b1a5 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/event_item_request_builder.py index 5e788581b6b..46be4b024cd 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/event_item_request_builder.py @@ -71,7 +71,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py index 5c62b7e1716..4266840a727 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py index c696829f4c6..cbc9e04872a 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py index 7818bdd315d..eab3dbb5800 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py index a1f5e6f1ea3..6201a5a61fe 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py index 41781b6196b..4d443b01ed1 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/extensions/extensions_request_builder.py index b6175c07588..9d95dd8d158 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.py index 337cb91a1f9..aecd023f31d 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/forward/forward_request_builder.py index ca6abe6e61b..7eabebe79d4 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py index 7e9c98a0b45..4d0cc1194a1 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py index ae87d963e7c..e776619f4bc 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.py index 27b24a83740..95adccffa95 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.py index 66270495c02..5712b329253 100644 --- a/msgraph_beta/generated/users/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/calendars_request_builder.py b/msgraph_beta/generated/users/item/calendars/calendars_request_builder.py index c2cfab61347..7a4ab061863 100644 --- a/msgraph_beta/generated/users/item/calendars/calendars_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/calendars_request_builder.py @@ -45,7 +45,7 @@ def by_calendar_id(self,calendar_id: str) -> CalendarItemRequestBuilder: async def get(self,request_configuration: Optional[CalendarsRequestBuilderGetRequestConfiguration] = None) -> Optional[CalendarCollectionResponse]: """ - Get all the user's calendars (/calendars navigation property), get the calendars from the default calendar group or from a specific calendar group. This API is available in the following national cloud deployments. + Get all the user's calendars (/calendars navigation property), get the calendars from the default calendar group or from a specific calendar group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CalendarCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/user-list-calendars?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[CalendarsRequestBuilderGetReq async def post(self,body: Optional[Calendar] = None, request_configuration: Optional[CalendarsRequestBuilderPostRequestConfiguration] = None) -> Optional[Calendar]: """ - Create a new calendar for a user. This API is available in the following national cloud deployments. + Create a new calendar for a user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Calendar] @@ -92,7 +92,7 @@ async def post(self,body: Optional[Calendar] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[CalendarsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get all the user's calendars (/calendars navigation property), get the calendars from the default calendar group or from a specific calendar group. This API is available in the following national cloud deployments. + Get all the user's calendars (/calendars navigation property), get the calendars from the default calendar group or from a specific calendar group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[CalendarsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Calendar] = None, request_configuration: Optional[CalendarsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new calendar for a user. This API is available in the following national cloud deployments. + Create a new calendar for a user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[Calendar] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CalendarsRequestBuilderGetQueryParameters(): """ - Get all the user's calendars (/calendars navigation property), get the calendars from the default calendar group or from a specific calendar group. This API is available in the following national cloud deployments. + Get all the user's calendars (/calendars navigation property), get the calendars from the default calendar group or from a specific calendar group. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_request_builder.py index 2ed2e4587cf..f89a3b252ad 100644 --- a/msgraph_beta/generated/users/item/calendars/item/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/allowed_calendar_sharing_roles_with_user/allowed_calendar_sharing_roles_with_user_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[AllowedCalen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllowedCalendarSharingRolesWithUserRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_item_request_builder.py index 6cebdbfeb8d..99defff05f8 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_item_request_builder.py @@ -120,7 +120,7 @@ def to_delete_request_information(self,request_configuration: Optional[CalendarI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CalendarItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -137,7 +137,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Calendar] = None, request_configuration: Optional[CalendarItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -156,7 +156,7 @@ def to_patch_request_information(self,body: Optional[Calendar] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_permissions/calendar_permissions_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_permissions/calendar_permissions_request_builder.py index ac6eb59724b..433aa338dbf 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_permissions/calendar_permissions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_permissions/calendar_permissions_request_builder.py @@ -45,7 +45,7 @@ def by_calendar_permission_id(self,calendar_permission_id: str) -> CalendarPermi async def get(self,request_configuration: Optional[CalendarPermissionsRequestBuilderGetRequestConfiguration] = None) -> Optional[CalendarPermissionCollectionResponse]: """ - Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + Get the specified permissions object of a user or group calendar that has been shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CalendarPermissionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[CalendarPermissionsRequestBui async def post(self,body: Optional[CalendarPermission] = None, request_configuration: Optional[CalendarPermissionsRequestBuilderPostRequestConfiguration] = None) -> Optional[CalendarPermission]: """ - Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. This API is available in the following national cloud deployments. + Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CalendarPermission] @@ -91,7 +91,7 @@ async def post(self,body: Optional[CalendarPermission] = None, request_configura def to_get_request_information(self,request_configuration: Optional[CalendarPermissionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + Get the specified permissions object of a user or group calendar that has been shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[CalendarPerm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CalendarPermission] = None, request_configuration: Optional[CalendarPermissionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. This API is available in the following national cloud deployments. + Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[CalendarPermission] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CalendarPermissionsRequestBuilderGetQueryParameters(): """ - Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + Get the specified permissions object of a user or group calendar that has been shared. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_permissions/item/calendar_permission_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_permissions/item/calendar_permission_item_request_builder.py index e2914782a06..8d19772576c 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_permissions/item/calendar_permission_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_permissions/item/calendar_permission_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[CalendarPermissionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete calendarPermission. This API is available in the following national cloud deployments. + Delete calendarPermission. 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/calendarpermission-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[CalendarPermissionItemRequ async def get(self,request_configuration: Optional[CalendarPermissionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CalendarPermission]: """ - Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + Get the specified permissions object of a user or group calendar that has been shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CalendarPermission] Find more info here: https://learn.microsoft.com/graph/api/calendarpermission-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[CalendarPermissionItemRequest async def patch(self,body: Optional[CalendarPermission] = None, request_configuration: Optional[CalendarPermissionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[CalendarPermission]: """ - Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. This API is available in the following national cloud deployments. + Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CalendarPermission] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[CalendarPermission] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[CalendarPermissionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete calendarPermission. This API is available in the following national cloud deployments. + Delete calendarPermission. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[CalendarP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CalendarPermissionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + Get the specified permissions object of a user or group calendar that has been shared. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[CalendarPerm request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CalendarPermission] = None, request_configuration: Optional[CalendarPermissionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. This API is available in the following national cloud deployments. + Update the permissions assigned to an existing share recipient or delegate, through the corresponding calendarPermission object for a calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[CalendarPermission] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class CalendarPermissionItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class CalendarPermissionItemRequestBuilderGetQueryParameters(): """ - Get the specified permissions object of a user or group calendar that has been shared. This API is available in the following national cloud deployments. + Get the specified permissions object of a user or group calendar that has been shared. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/calendar_view_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/calendar_view_request_builder.py index dc6fcbde2d4..3d2ba3cd5fd 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/calendar_view_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/calendar_view_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarView request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarViewRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/delta/delta_request_builder.py index 2457bd7d4be..1136244a457 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/accept/accept_request_builder.py index 0cb9262c53f..d9ec20253ab 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/attachments/attachments_request_builder.py index e61066b1fd5..8801aee3a9c 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.py index 6eb98832d16..c8b6d0cd538 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/attachments/item/attachment_item_request_builder.py index 2f80421d9ed..ce9fb9c85a4 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/calendar/calendar_request_builder.py index 8d276ebf989..628f5f4147e 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/cancel/cancel_request_builder.py index fb693e42b62..c54a1057102 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/decline/decline_request_builder.py index 7a6aad64cb6..0ea24e5b2d6 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/dismiss_reminder/dismiss_reminder_request_builder.py index 404642eaf12..4c22f87a200 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/event_item_request_builder.py index 84c507d8e59..52ab3800154 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/event_item_request_builder.py @@ -73,7 +73,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/delta/delta_request_builder.py index 99394699576..c79efbe2fb8 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/exception_occurrences_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/exception_occurrences_request_builder.py index 974069998a9..ffae038fd93 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/exception_occurrences_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/exception_occurrences_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ExceptionOcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExceptionOccurrencesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/accept/accept_request_builder.py index 8fcac6ee30c..599b78a42cf 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py index 730198c0831..8ae6680b466 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py index 2a61ff7a58c..58388647e3f 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py index 2d976d19ca3..e449ec6d495 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/calendar/calendar_request_builder.py index a1e86f39d1c..441914dea75 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/cancel/cancel_request_builder.py index 61ee2172bac..2d358d5d118 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/decline/decline_request_builder.py index a914bfd32f9..0a4703e67eb 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py index 4d030748996..5648bc4565f 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/event_item_request_builder.py index 0417ed72b14..4aee0a5ccfc 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/event_item_request_builder.py @@ -72,7 +72,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/extensions/extensions_request_builder.py index 09bf88ae191..e559af7eb41 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py index 3421b02b448..5dae8c4e670 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/forward/forward_request_builder.py index 5ddbc0139ae..4a7aefe724c 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_request_builder.py index 0cc49b05a08..322674146b2 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/instances_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/instances_request_builder.py index 1a26ffaee09..ffb187399a9 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/instances_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/instances_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[InstancesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InstancesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py index 9281a263b1d..4d788d847e5 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py index 8b8cc1e0e71..1121e9397c2 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py index 7aaa740408c..cded36546ae 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py index 68799de60c5..281dd265ae8 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py index c2fc7e664df..f0e3e0e1cf6 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py index f9f53ede55b..d1c68bb2758 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py index 069d49f71cd..72bd36313d9 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py index 8a59d1bf101..cbfaad3b020 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/event_item_request_builder.py index 46886dfcaf3..7db413af1d6 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/event_item_request_builder.py @@ -71,7 +71,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py index ae6b33debe2..62551c68e8c 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py index 6b609e3e470..4713791ed9e 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py index e62eb79600a..61a53ca58eb 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py index fd5411b4bf7..2acafd7f84a 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py index 9691b0ff56e..47cdb28c932 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py index c91e5841bda..9317e827029 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py index 00c139ecb06..0f8998866f3 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/extensions/extensions_request_builder.py index badbfca0f77..e5330882811 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/extensions/item/extension_item_request_builder.py index b54d272bc7d..e7e077aaf07 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/forward/forward_request_builder.py index 6348f34c036..3192f27e83c 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/delta/delta_request_builder.py index 4df9ad981c0..6ca32738310 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/instances_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/instances_request_builder.py index 05bf4cb96a6..ad40331486d 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/instances_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/instances_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[InstancesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InstancesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/accept/accept_request_builder.py index a81fb843f93..31c936c8ac8 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py index 9e62f7dcd89..4b259421b4c 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py index c770b2e5461..608c46dd72f 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/attachments/item/attachment_item_request_builder.py index df6c80aec2e..c76c4698691 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/calendar/calendar_request_builder.py index 514e41fca21..aadc3c37ed5 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/cancel/cancel_request_builder.py index 5897ee4ee83..fca6aeb56b1 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/decline/decline_request_builder.py index feb440738cd..1697cce8ea7 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py index cc90706533c..fe1957e014e 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.py index 16f2b4ca571..5485532c0a1 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.py @@ -72,7 +72,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_request_builder.py index ad14aa43f58..b5cdbe5daf8 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py index 1016e87b507..3fc2da38646 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ExceptionOcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExceptionOccurrencesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py index 119b44c9827..6eff7e2877f 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py index 90142a94dd6..18df78350b9 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py index 2ae899a0b1f..23bd18c95ae 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py index 672cca5dad5..5e3c458b594 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py index ddefe8d58b8..91befd81138 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py index b611b64fb9e..bf15efa4ca9 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py index 24adec89f9b..3fbef896d51 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py index a874c6d6873..4523b8e75a5 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/event_item_request_builder.py index a128b5acf40..4e6056d9794 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/event_item_request_builder.py @@ -71,7 +71,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py index 19126a8adb5..e1c22b998aa 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py index 6a51e0ae8ea..9e84c229679 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py index 01fbef0a791..a148410b08d 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py index bd203aca903..1035cb75d09 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py index c93876f9823..0b8a5ab7ae9 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/extensions/extensions_request_builder.py index c896cc4ad1e..c9ebf35b682 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.py index d33bd2d00bc..5aad6f06afd 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/forward/forward_request_builder.py index cec584c7cbc..70e18c345d4 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py index c924b4debe8..70f744e0f06 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py index 2473a56284d..c1c2c32ebf3 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.py index 542588b691a..a70130f354b 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.py index 8ef3bdd6842..968dcf1dc3a 100644 --- a/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/delta/delta_request_builder.py index e0967c04d87..0a08d26a5e1 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/events_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/events_request_builder.py index 5e3aa64d45f..a37f954f11e 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/events_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/events_request_builder.py @@ -46,7 +46,7 @@ def by_event_id(self,event_id: str) -> EventItemRequestBuilder: async def get(self,request_configuration: Optional[EventsRequestBuilderGetRequestConfiguration] = None) -> Optional[EventCollectionResponse]: """ - Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. This API is available in the following national cloud deployments. + Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EventCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/calendar-list-events?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[EventsRequestBuilderGetReques async def post(self,body: Optional[Event] = None, request_configuration: Optional[EventsRequestBuilderPostRequestConfiguration] = None) -> Optional[Event]: """ - Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. This API is available in the following national cloud deployments. + Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Event] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Event] = None, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[EventsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. This API is available in the following national cloud deployments. + Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[EventsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Event] = None, request_configuration: Optional[EventsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. This API is available in the following national cloud deployments. + Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Event] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class EventsRequestBuilderGetQueryParameters(): """ - Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. This API is available in the following national cloud deployments. + Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/accept/accept_request_builder.py index 6b64ff23bec..34cf3c0681c 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/attachments/attachments_request_builder.py index f9368259a39..581e0210845 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.py index 7d96bd69354..8916fcf6081 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/attachments/item/attachment_item_request_builder.py index 4bb48b8a001..f0d13789a09 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/calendar/calendar_request_builder.py index 6a1e73bf093..942655d6707 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/cancel/cancel_request_builder.py index d1922d7c6ce..5edfaffa6a6 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/decline/decline_request_builder.py index c8715552565..672cbaad050 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/dismiss_reminder/dismiss_reminder_request_builder.py index 03b95b8ec12..25808b8434a 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/event_item_request_builder.py index 5e6c14c1ea3..b528c351f50 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/event_item_request_builder.py @@ -115,7 +115,7 @@ def to_delete_request_information(self,request_configuration: Optional[EventItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EventItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -132,7 +132,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Event] = None, request_configuration: Optional[EventItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -151,7 +151,7 @@ def to_patch_request_information(self,body: Optional[Event] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/delta/delta_request_builder.py index ecbc91d6f7f..b8367410091 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/exception_occurrences_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/exception_occurrences_request_builder.py index e040fc7a707..945d5b25d84 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/exception_occurrences_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/exception_occurrences_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ExceptionOcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExceptionOccurrencesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/accept/accept_request_builder.py index ab1bb58481d..96d3f15b920 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py index 009b55c0413..90f6fcf7daa 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py index 7a107875284..741825fc25e 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py index df93fd2195a..a641ce477fb 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/calendar/calendar_request_builder.py index 9d0471f6f78..b2d47ce8227 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/cancel/cancel_request_builder.py index c646843c6e4..b2dae77814a 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/decline/decline_request_builder.py index 27432c61642..289db882615 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py index 6c8d2e1101b..dd32a57ce0e 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/event_item_request_builder.py index e3d835e3642..cdf86e67734 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/event_item_request_builder.py @@ -72,7 +72,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/extensions/extensions_request_builder.py index 353d68bc31c..ab7ffd66cad 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py index 624587443e8..7667ff31499 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/forward/forward_request_builder.py index 4b6599b11d7..86a45c72c08 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/delta/delta_request_builder.py index 35305a6a58a..bf26865aca2 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/instances_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/instances_request_builder.py index a6dd10e62b0..f605341988e 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/instances_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/instances_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[InstancesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InstancesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py index f80a6d8182c..f8ef9a4cba9 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py index 4966c5892fc..b875660c3a1 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py index a52c0f3c7de..055ba3ea059 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py index 7fadc7728f5..a8c667d2e9a 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py index 4f260d488ff..35a9714ca95 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py index 9d881fcea3a..38a4c8e12d2 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py index f4f09405466..a61309829cc 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py index a66b63d6005..1e700bbfba0 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/event_item_request_builder.py index e789d3515e3..8aadb48ebaf 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/event_item_request_builder.py @@ -71,7 +71,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py index d8066421b2a..6d39912d463 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py index 5df81451624..49fbb6444ce 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py index 6f58b1043cd..1ef22676248 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py index 5b33f0d5758..d8bfe9caa75 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py index 304ccc279a2..2d1b023ccfe 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py index b20e49dd0f5..b3ab4c8689c 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py index 76f938ee66f..827f88bd9d4 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/extensions/extensions_request_builder.py index 32c0d307b28..b5f3f3107fa 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/extensions/item/extension_item_request_builder.py index 516ee04a5cf..01653772b5e 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/forward/forward_request_builder.py index 600352dde18..09595e24fb7 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/delta/delta_request_builder.py index f74c30832dc..eac720c40b7 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/instances_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/instances_request_builder.py index 852b32b3e81..8b3b8afcb85 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/instances_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/instances_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[InstancesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InstancesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/accept/accept_request_builder.py index d4e4f742376..1efa1fbd583 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/attachments/attachments_request_builder.py index c217158532d..28f85786910 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py index 5fcbc1c2b5e..d0e3e41b914 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/attachments/item/attachment_item_request_builder.py index 327022d6fd5..b30e4d705d5 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/calendar/calendar_request_builder.py index 145f805bf4a..59cc07190c8 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/cancel/cancel_request_builder.py index f1e2f95e39c..2cedd934343 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/decline/decline_request_builder.py index 1f81ef55ca0..ce15549ceb9 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py index db2891b09cf..92e78861e2b 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/event_item_request_builder.py index 18a5d20113d..3296af0d921 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/event_item_request_builder.py @@ -72,7 +72,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/delta/delta_request_builder.py index e3bdb990869..2af0135d9f5 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py index 10858a3d309..20efecf9767 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ExceptionOcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExceptionOccurrencesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py index a6b282ded55..b689f39a070 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py index 95525a8a88b..3a7dde9afae 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py index 90023fb8b2b..090937f71ba 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py index aa3a8c7d611..62931368649 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py index ade2395d8da..9af82ab85e4 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py index 2441a98247b..a7285d835ea 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py index f03181ef4e7..b83b7e14d55 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py index 0c88e3a3ec5..c4318789a56 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/event_item_request_builder.py index 0e98df4d3d1..a0227d67986 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/event_item_request_builder.py @@ -71,7 +71,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py index 8ee768db8d2..6a8e32e3869 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py index 951ecf17294..9154c003197 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py index ec7ee5e55de..11644d38e4b 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py index 939db23e020..c7cc8a6e2de 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py index 95455c91165..fe9d551cc74 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/extensions/extensions_request_builder.py index 9447aec2ad5..8a2ef5fbe7d 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/extensions/item/extension_item_request_builder.py index 3c3871d6b38..1e62a36af51 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/forward/forward_request_builder.py index 513e02a5357..66f80dbea1b 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py index 7174a5a2cfc..31dffb0aedf 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py index 03234ef2c02..6890de623be 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/snooze_reminder/snooze_reminder_request_builder.py index d387700b862..ec4d85a0501 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/events/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/events/item/tentatively_accept/tentatively_accept_request_builder.py index fcaf5f0646b..d5b0fdefc34 100644 --- a/msgraph_beta/generated/users/item/calendars/item/events/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/events/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/calendars/item/get_schedule/get_schedule_request_builder.py b/msgraph_beta/generated/users/item/calendars/item/get_schedule/get_schedule_request_builder.py index b2b85583237..8ee4d88d78d 100644 --- a/msgraph_beta/generated/users/item/calendars/item/get_schedule/get_schedule_request_builder.py +++ b/msgraph_beta/generated/users/item/calendars/item/get_schedule/get_schedule_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetSchedulePostRequestBody] = None, request_configuration: Optional[GetScheduleRequestBuilderPostRequestConfiguration] = None) -> Optional[GetSchedulePostResponse]: """ - Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. This API is available in the following national cloud deployments. + Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetSchedulePostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetSchedulePostRequestBody] = None, request_c def to_post_request_information(self,body: Optional[GetSchedulePostRequestBody] = None, request_configuration: Optional[GetScheduleRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. This API is available in the following national cloud deployments. + Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetSchedulePostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/change_password/change_password_request_builder.py b/msgraph_beta/generated/users/item/change_password/change_password_request_builder.py index aef13a50fa7..8726bec35b4 100644 --- a/msgraph_beta/generated/users/item/change_password/change_password_request_builder.py +++ b/msgraph_beta/generated/users/item/change_password/change_password_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ChangePasswordPostRequestBody] = None, request_configuration: Optional[ChangePasswordRequestBuilderPostRequestConfiguration] = None) -> None: """ - Enable the user to update their password. Any user can update their password without belonging to any administrator role. This API is available in the following national cloud deployments. + Enable the user to update their password. Any user can update their password without belonging to any administrator role. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ChangePasswordPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[ChangePasswordPostRequestBody] = None, request_configuration: Optional[ChangePasswordRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Enable the user to update their password. Any user can update their password without belonging to any administrator role. This API is available in the following national cloud deployments. + Enable the user to update their password. Any user can update their password without belonging to any administrator role. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ChangePasswordPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/chats/all_messages/all_messages_request_builder.py b/msgraph_beta/generated/users/item/chats/all_messages/all_messages_request_builder.py index 8e79458cb03..65700a5895a 100644 --- a/msgraph_beta/generated/users/item/chats/all_messages/all_messages_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/all_messages/all_messages_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[AllMessagesR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AllMessagesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/chats/chats_request_builder.py b/msgraph_beta/generated/users/item/chats/chats_request_builder.py index 76ba323bcc3..d5298bb0115 100644 --- a/msgraph_beta/generated/users/item/chats/chats_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/chats_request_builder.py @@ -16,6 +16,7 @@ from .all_messages.all_messages_request_builder import AllMessagesRequestBuilder from .count.count_request_builder import CountRequestBuilder from .get_all_messages.get_all_messages_request_builder import GetAllMessagesRequestBuilder + from .get_all_retained_messages.get_all_retained_messages_request_builder import GetAllRetainedMessagesRequestBuilder from .item.chat_item_request_builder import ChatItemRequestBuilder class ChatsRequestBuilder(BaseRequestBuilder): @@ -47,7 +48,7 @@ def by_chat_id(self,chat_id: str) -> ChatItemRequestBuilder: async def get(self,request_configuration: Optional[ChatsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatCollectionResponse]: """ - Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. This API is available in the following national cloud deployments. + Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chat-list?view=graph-rest-1.0 @@ -93,7 +94,7 @@ async def post(self,body: Optional[Chat] = None, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[ChatsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. This API is available in the following national cloud deployments. + Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +106,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Chat] = None, request_configuration: Optional[ChatsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +125,7 @@ def to_post_request_information(self,body: Optional[Chat] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -165,10 +166,19 @@ def get_all_messages(self) -> GetAllMessagesRequestBuilder: return GetAllMessagesRequestBuilder(self.request_adapter, self.path_parameters) + @property + def get_all_retained_messages(self) -> GetAllRetainedMessagesRequestBuilder: + """ + Provides operations to call the getAllRetainedMessages method. + """ + from .get_all_retained_messages.get_all_retained_messages_request_builder import GetAllRetainedMessagesRequestBuilder + + return GetAllRetainedMessagesRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class ChatsRequestBuilderGetQueryParameters(): """ - Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. This API is available in the following national cloud deployments. + Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/chats/get_all_messages/get_all_messages_request_builder.py b/msgraph_beta/generated/users/item/chats/get_all_messages/get_all_messages_request_builder.py index 1e9a950af97..355554a9579 100644 --- a/msgraph_beta/generated/users/item/chats/get_all_messages/get_all_messages_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/get_all_messages/get_all_messages_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetAllMessag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetAllMessagesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/chats/get_all_retained_messages/get_all_retained_messages_get_response.py b/msgraph_beta/generated/users/item/chats/get_all_retained_messages/get_all_retained_messages_get_response.py new file mode 100644 index 00000000000..0c6ef9d94e3 --- /dev/null +++ b/msgraph_beta/generated/users/item/chats/get_all_retained_messages/get_all_retained_messages_get_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.chat_message import ChatMessage + +from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class GetAllRetainedMessagesGetResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[ChatMessage]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> GetAllRetainedMessagesGetResponse: + """ + 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: GetAllRetainedMessagesGetResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return GetAllRetainedMessagesGetResponse() + + 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.chat_message import ChatMessage + + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.chat_message import ChatMessage + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(ChatMessage)), + } + 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 not writer: + 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/chats/get_all_retained_messages/get_all_retained_messages_request_builder.py b/msgraph_beta/generated/users/item/chats/get_all_retained_messages/get_all_retained_messages_request_builder.py new file mode 100644 index 00000000000..00fa8787806 --- /dev/null +++ b/msgraph_beta/generated/users/item/chats/get_all_retained_messages/get_all_retained_messages_request_builder.py @@ -0,0 +1,141 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .get_all_retained_messages_get_response import GetAllRetainedMessagesGetResponse + +class GetAllRetainedMessagesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getAllRetainedMessages method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new GetAllRetainedMessagesRequestBuilder 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}/chats/getAllRetainedMessages(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}", path_parameters) + + async def get(self,request_configuration: Optional[GetAllRetainedMessagesRequestBuilderGetRequestConfiguration] = None) -> Optional[GetAllRetainedMessagesGetResponse]: + """ + Invoke function getAllRetainedMessages + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[GetAllRetainedMessagesGetResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .get_all_retained_messages_get_response import GetAllRetainedMessagesGetResponse + + return await self.request_adapter.send_async(request_info, GetAllRetainedMessagesGetResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[GetAllRetainedMessagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Invoke function getAllRetainedMessages + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> GetAllRetainedMessagesRequestBuilder: + """ + 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: GetAllRetainedMessagesRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GetAllRetainedMessagesRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class GetAllRetainedMessagesRequestBuilderGetQueryParameters(): + """ + Invoke function getAllRetainedMessages + """ + def get_query_parameter(self,original_name: Optional[str] = None) -> 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 not original_name: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + 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 + + # 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 + + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GetAllRetainedMessagesRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + # Request query parameters + query_parameters: Optional[GetAllRetainedMessagesRequestBuilder.GetAllRetainedMessagesRequestBuilderGetQueryParameters] = None + + + diff --git a/msgraph_beta/generated/users/item/chats/item/chat_item_request_builder.py b/msgraph_beta/generated/users/item/chats/item/chat_item_request_builder.py index 48e809c8e84..c0d56280377 100644 --- a/msgraph_beta/generated/users/item/chats/item/chat_item_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/chat_item_request_builder.py @@ -22,6 +22,7 @@ from .operations.operations_request_builder import OperationsRequestBuilder from .permission_grants.permission_grants_request_builder import PermissionGrantsRequestBuilder from .pinned_messages.pinned_messages_request_builder import PinnedMessagesRequestBuilder + from .remove_all_access_for_user.remove_all_access_for_user_request_builder import RemoveAllAccessForUserRequestBuilder from .send_activity_notification.send_activity_notification_request_builder import SendActivityNotificationRequestBuilder from .tabs.tabs_request_builder import TabsRequestBuilder from .unhide_for_user.unhide_for_user_request_builder import UnhideForUserRequestBuilder @@ -60,7 +61,7 @@ async def delete(self,request_configuration: Optional[ChatItemRequestBuilderDele async def get(self,request_configuration: Optional[ChatItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Chat]: """ - Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. This API is available in the following national cloud deployments. + Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Chat] Find more info here: https://learn.microsoft.com/graph/api/chat-get?view=graph-rest-1.0 @@ -117,12 +118,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. This API is available in the following national cloud deployments. + Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -134,7 +135,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Chat] = None, request_configuration: Optional[ChatItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -153,7 +154,7 @@ def to_patch_request_information(self,body: Optional[Chat] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -257,6 +258,15 @@ def pinned_messages(self) -> PinnedMessagesRequestBuilder: return PinnedMessagesRequestBuilder(self.request_adapter, self.path_parameters) + @property + def remove_all_access_for_user(self) -> RemoveAllAccessForUserRequestBuilder: + """ + Provides operations to call the removeAllAccessForUser method. + """ + from .remove_all_access_for_user.remove_all_access_for_user_request_builder import RemoveAllAccessForUserRequestBuilder + + return RemoveAllAccessForUserRequestBuilder(self.request_adapter, self.path_parameters) + @property def send_activity_notification(self) -> SendActivityNotificationRequestBuilder: """ @@ -297,7 +307,7 @@ class ChatItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class ChatItemRequestBuilderGetQueryParameters(): """ - Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. This API is available in the following national cloud deployments. + Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/chats/item/hide_for_user/hide_for_user_request_builder.py b/msgraph_beta/generated/users/item/chats/item/hide_for_user/hide_for_user_request_builder.py index 071743d4cbe..68bda95ccdd 100644 --- a/msgraph_beta/generated/users/item/chats/item/hide_for_user/hide_for_user_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/hide_for_user/hide_for_user_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[HideForUserPostRequestBody] = None, request_configuration: Optional[HideForUserRequestBuilderPostRequestConfiguration] = None) -> None: """ - Hide a chat for a user. This API is available in the following national cloud deployments. + Hide a chat for a user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[HideForUserPostRequestBody] = None, request_c def to_post_request_information(self,body: Optional[HideForUserPostRequestBody] = None, request_configuration: Optional[HideForUserRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Hide a chat for a user. This API is available in the following national cloud deployments. + Hide a chat for a user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[HideForUserPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/chats/item/installed_apps/installed_apps_request_builder.py b/msgraph_beta/generated/users/item/chats/item/installed_apps/installed_apps_request_builder.py index d33f436ceef..8deda90bd59 100644 --- a/msgraph_beta/generated/users/item/chats/item/installed_apps/installed_apps_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/installed_apps/installed_apps_request_builder.py @@ -45,7 +45,7 @@ def by_teams_app_installation_id(self,teams_app_installation_id: str) -> TeamsAp async def get(self,request_configuration: Optional[InstalledAppsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsAppInstallationCollectionResponse]: """ - List all app installations within a chat. If the chat is associated with an onlineMeeting instance, then, effectively, the teamsApps installed in the meeting will be listed. This API is available in the following national cloud deployments. + List all app installations within a chat. If the chat is associated with an onlineMeeting instance, then, effectively, the teamsApps installed in the meeting will be listed. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAppInstallationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chat-list-installedapps?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[InstalledAppsRequestBuilderGe async def post(self,body: Optional[TeamsAppInstallation] = None, request_configuration: Optional[InstalledAppsRequestBuilderPostRequestConfiguration] = None) -> Optional[TeamsAppInstallation]: """ - Install a teamsApp to the specified chat. This API is available in the following national cloud deployments. + Install a teamsApp to the specified chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAppInstallation] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TeamsAppInstallation] = None, request_configu def to_get_request_information(self,request_configuration: Optional[InstalledAppsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all app installations within a chat. If the chat is associated with an onlineMeeting instance, then, effectively, the teamsApps installed in the meeting will be listed. This API is available in the following national cloud deployments. + List all app installations within a chat. If the chat is associated with an onlineMeeting instance, then, effectively, the teamsApps installed in the meeting will be listed. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[InstalledApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamsAppInstallation] = None, request_configuration: Optional[InstalledAppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Install a teamsApp to the specified chat. This API is available in the following national cloud deployments. + Install a teamsApp to the specified chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TeamsAppInstallation] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class InstalledAppsRequestBuilderGetQueryParameters(): """ - List all app installations within a chat. If the chat is associated with an onlineMeeting instance, then, effectively, the teamsApps installed in the meeting will be listed. This API is available in the following national cloud deployments. + List all app installations within a chat. If the chat is associated with an onlineMeeting instance, then, effectively, the teamsApps installed in the meeting will be listed. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/chats/item/installed_apps/item/teams_app/teams_app_request_builder.py b/msgraph_beta/generated/users/item/chats/item/installed_apps/item/teams_app/teams_app_request_builder.py index 2f811b2e9f6..ea0de92eec9 100644 --- a/msgraph_beta/generated/users/item/chats/item/installed_apps/item/teams_app/teams_app_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/installed_apps/item/teams_app/teams_app_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamsAppRequestBuilder: diff --git a/msgraph_beta/generated/users/item/chats/item/installed_apps/item/teams_app_definition/teams_app_definition_request_builder.py b/msgraph_beta/generated/users/item/chats/item/installed_apps/item/teams_app_definition/teams_app_definition_request_builder.py index 66f32bb7e94..55750309ba7 100644 --- a/msgraph_beta/generated/users/item/chats/item/installed_apps/item/teams_app_definition/teams_app_definition_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/installed_apps/item/teams_app_definition/teams_app_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppDefi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamsAppDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/users/item/chats/item/installed_apps/item/teams_app_installation_item_request_builder.py b/msgraph_beta/generated/users/item/chats/item/installed_apps/item/teams_app_installation_item_request_builder.py index ad226ed7a65..b99a8b905d6 100644 --- a/msgraph_beta/generated/users/item/chats/item/installed_apps/item/teams_app_installation_item_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/installed_apps/item/teams_app_installation_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Uninstall an app installed within a chat. This API is available in the following national cloud deployments. + Uninstall an app installed within a chat. 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/chat-delete-installedapps?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[TeamsAppInstallationItemRe async def get(self,request_configuration: Optional[TeamsAppInstallationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsAppInstallation]: """ - Get an app installed in a chat. This API is available in the following national cloud deployments. + Get an app installed in a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAppInstallation] Find more info here: https://learn.microsoft.com/graph/api/chat-get-installedapps?view=graph-rest-1.0 @@ -97,7 +97,7 @@ async def patch(self,body: Optional[TeamsAppInstallation] = None, request_config def to_delete_request_information(self,request_configuration: Optional[TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Uninstall an app installed within a chat. This API is available in the following national cloud deployments. + Uninstall an app installed within a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[TeamsAppI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamsAppInstallationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an app installed in a chat. This API is available in the following national cloud deployments. + Get an app installed in a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppInst request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamsAppInstallation] = None, request_configuration: Optional[TeamsAppInstallationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[TeamsAppInstallation] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -198,7 +198,7 @@ class TeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class TeamsAppInstallationItemRequestBuilderGetQueryParameters(): """ - Get an app installed in a chat. This API is available in the following national cloud deployments. + Get an app installed in a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/chats/item/installed_apps/item/upgrade/upgrade_request_builder.py b/msgraph_beta/generated/users/item/chats/item/installed_apps/item/upgrade/upgrade_request_builder.py index 8d174fbeff6..f5d8bbbc0e7 100644 --- a/msgraph_beta/generated/users/item/chats/item/installed_apps/item/upgrade/upgrade_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/installed_apps/item/upgrade/upgrade_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UpgradePostRequestBody] = None, request_configuration: Optional[UpgradeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Upgrade an app installation within a chat. This API is available in the following national cloud deployments. + Upgrade an app installation within a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[UpgradePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[UpgradePostRequestBody] = None, request_configuration: Optional[UpgradeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Upgrade an app installation within a chat. This API is available in the following national cloud deployments. + Upgrade an app installation within a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[UpgradePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/chats/item/last_message_preview/last_message_preview_request_builder.py b/msgraph_beta/generated/users/item/chats/item/last_message_preview/last_message_preview_request_builder.py index 96f8d7b65ab..b0da6c1b701 100644 --- a/msgraph_beta/generated/users/item/chats/item/last_message_preview/last_message_preview_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/last_message_preview/last_message_preview_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[LastMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LastMessagePreviewRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[LastMessageP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessageInfo] = None, request_configuration: Optional[LastMessagePreviewRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ChatMessageInfo] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_request_builder.py b/msgraph_beta/generated/users/item/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_request_builder.py index 4fdadf6d6f8..6eeb7fa49fd 100644 --- a/msgraph_beta/generated/users/item/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[MarkChatReadForUserPostRequestBody] = None, request_configuration: Optional[MarkChatReadForUserRequestBuilderPostRequestConfiguration] = None) -> None: """ - Mark a chat as read for a user. This API is available in the following national cloud deployments. + Mark a chat as read for a user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[MarkChatReadForUserPostRequestBody] = None, r def to_post_request_information(self,body: Optional[MarkChatReadForUserPostRequestBody] = None, request_configuration: Optional[MarkChatReadForUserRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Mark a chat as read for a user. This API is available in the following national cloud deployments. + Mark a chat as read for a user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[MarkChatReadForUserPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_request_builder.py b/msgraph_beta/generated/users/item/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_request_builder.py index da8eaabedde..e4788d374c5 100644 --- a/msgraph_beta/generated/users/item/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[MarkChatUnreadForUserPostRequestBody] = None, request_configuration: Optional[MarkChatUnreadForUserRequestBuilderPostRequestConfiguration] = None) -> None: """ - Mark a chat as unread for a user. This API is available in the following national cloud deployments. + Mark a chat as unread for a user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[MarkChatUnreadForUserPostRequestBody] = None, def to_post_request_information(self,body: Optional[MarkChatUnreadForUserPostRequestBody] = None, request_configuration: Optional[MarkChatUnreadForUserRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Mark a chat as unread for a user. This API is available in the following national cloud deployments. + Mark a chat as unread for a user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[MarkChatUnreadForUserPostReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/chats/item/members/add/add_request_builder.py b/msgraph_beta/generated/users/item/chats/item/members/add/add_request_builder.py index 394cff1a373..f58abce1b05 100644 --- a/msgraph_beta/generated/users/item/chats/item/members/add/add_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/members/add/add_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> Optional[AddPostResponse]: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AddPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[AddPostRequestBody] = None, request_configura def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_configuration: Optional[AddRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. This API is available in the following national cloud deployments. + Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[AddPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/chats/item/members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/users/item/chats/item/members/item/conversation_member_item_request_builder.py index 428d0c73edd..9a2ca9fd736 100644 --- a/msgraph_beta/generated/users/item/chats/item/members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/members/item/conversation_member_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a conversationMember from a chat. This API is available in the following national cloud deployments. + Remove a conversationMember from a chat. 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/chat-delete-members?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ConversationMemberItemRequ async def get(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Retrieve a conversationMember from a chat. This API is available in the following national cloud deployments. + Retrieve a conversationMember from a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] Find more info here: https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[ConversationMember] = None, request_configur def to_delete_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a conversationMember from a chat. This API is available in the following national cloud deployments. + Remove a conversationMember from a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Conversat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ConversationMemberItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a conversationMember from a chat. This API is available in the following national cloud deployments. + Retrieve a conversationMember from a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[Conversation request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[ConversationMemberItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ConversationMemberItemRequestBuilderDeleteRequestConfiguration(BaseRequest @dataclass class ConversationMemberItemRequestBuilderGetQueryParameters(): """ - Retrieve a conversationMember from a chat. This API is available in the following national cloud deployments. + Retrieve a conversationMember from a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/chats/item/members/members_request_builder.py b/msgraph_beta/generated/users/item/chats/item/members/members_request_builder.py index 918a071e9cd..0c5448b223b 100644 --- a/msgraph_beta/generated/users/item/chats/item/members/members_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/members/members_request_builder.py @@ -46,7 +46,7 @@ def by_conversation_member_id(self,conversation_member_id: str) -> ConversationM async def get(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> Optional[ConversationMemberCollectionResponse]: """ - Retrieve a conversationMember from a chat. This API is available in the following national cloud deployments. + Retrieve a conversationMember from a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMemberCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chat-list-members?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MembersRequestBuilderGetReque async def post(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> Optional[ConversationMember]: """ - Add a conversationMember to a chat. This API is available in the following national cloud deployments. + Add a conversationMember to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ConversationMember] = None, request_configura def to_get_request_information(self,request_configuration: Optional[MembersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a conversationMember from a chat. This API is available in the following national cloud deployments. + Retrieve a conversationMember from a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MembersReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ConversationMember] = None, request_configuration: Optional[MembersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a conversationMember to a chat. This API is available in the following national cloud deployments. + Add a conversationMember to a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ConversationMember] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MembersRequestBuilderGetQueryParameters(): """ - Retrieve a conversationMember from a chat. This API is available in the following national cloud deployments. + Retrieve a conversationMember from a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/chats/item/messages/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/chats/item/messages/delta/delta_request_builder.py index f4e291cbf16..3f1df4b3ab2 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/users/item/chats/item/messages/item/chat_message_item_request_builder.py b/msgraph_beta/generated/users/item/chats/item/messages/item/chat_message_item_request_builder.py index a411cd6ecaa..97a1c900f68 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/item/chat_message_item_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/item/chat_message_item_request_builder.py @@ -53,7 +53,7 @@ async def delete(self,request_configuration: Optional[ChatMessageItemRequestBuil async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 @@ -110,12 +110,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[ChatMessage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -227,7 +227,7 @@ class ChatMessageItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class ChatMessageItemRequestBuilderGetQueryParameters(): """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/chats/item/messages/item/hosted_contents/hosted_contents_request_builder.py b/msgraph_beta/generated/users/item/chats/item/messages/item/hosted_contents/hosted_contents_request_builder.py index 16798515d09..9565a04d927 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/item/hosted_contents/hosted_contents_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/item/hosted_contents/hosted_contents_request_builder.py @@ -45,7 +45,7 @@ def by_chat_message_hosted_content_id(self,chat_message_hosted_content_id: str) async def get(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContentCollectionResponse]: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ChatMessageHostedContent] = None, request_con def to_get_request_information(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[HostedConten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[HostedContentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HostedContentsRequestBuilderGetQueryParameters(): """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/chats/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py b/msgraph_beta/generated/users/item/chats/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py index f7f367202c6..7c5c194b995 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ChatMessageHostedContentIt async def get(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContent]: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContent] Find more info here: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class ChatMessageHostedContentItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/chats/item/messages/item/hosted_contents/item/value/content_request_builder.py b/msgraph_beta/generated/users/item/chats/item/messages/item/hosted_contents/item/value/content_request_builder.py index fc1faf2d251..3bb95a991b0 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/item/hosted_contents/item/value/content_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/item/hosted_contents/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/delta/delta_request_builder.py index f388ac9f6e3..fe412ee3b0d 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/chat_message_item_request_builder.py b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/chat_message_item_request_builder.py index 3944c933eb4..5896e29d412 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/chat_message_item_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/chat_message_item_request_builder.py @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[ChatMessageItemRequestBuil async def get(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-get?view=graph-rest-1.0 @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[ChatMessageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[ChatMessage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -217,7 +217,7 @@ class ChatMessageItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class ChatMessageItemRequestBuilderGetQueryParameters(): """ - Retrieve a single message or a message reply in a channel or a chat. This API is available in the following national cloud deployments. + Retrieve a single message or a message reply in a channel or a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py index 4e774ccd241..5562e2425bb 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.py @@ -45,7 +45,7 @@ def by_chat_message_hosted_content_id(self,chat_message_hosted_content_id: str) async def get(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContentCollectionResponse]: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ChatMessageHostedContent] = None, request_con def to_get_request_information(self,request_configuration: Optional[HostedContentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[HostedConten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[HostedContentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class HostedContentsRequestBuilderGetQueryParameters(): """ - Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference. + Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py index 315ff9de496..b537df91c40 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ChatMessageHostedContentIt async def get(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageHostedContent]: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageHostedContent] Find more info here: https://learn.microsoft.com/graph/api/chatmessagehostedcontent-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ChatMessa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatMessageH request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = None, request_configuration: Optional[ChatMessageHostedContentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ChatMessageHostedContent] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ChatMessageHostedContentItemRequestBuilderDeleteRequestConfiguration(BaseR @dataclass class ChatMessageHostedContentItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of chatMessageHostedContent object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of chatMessageHostedContent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py index 032edde88b0..2884ecc840f 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/set_reaction/set_reaction_request_builder.py b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/set_reaction/set_reaction_request_builder.py index 7c46165f6d7..e17274c659f 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/set_reaction/set_reaction_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/set_reaction/set_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetReactionPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/soft_delete/soft_delete_request_builder.py b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/soft_delete/soft_delete_request_builder.py index 34ca4f9d949..8d0aba566c2 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/soft_delete/soft_delete_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/soft_delete/soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-softdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPost def to_post_request_information(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SoftDeleteR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py index 29958e00de3..754da641026 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/undo_soft_delete/undo_soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-undosoftdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilder def to_post_request_information(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UndoSoftDel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UndoSoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py index d098595ce90..7a0d536cd20 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/item/unset_reaction/unset_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnsetReactionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/replies_request_builder.py b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/replies_request_builder.py index a3daf627a95..8b139b02489 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/item/replies/replies_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/item/replies/replies_request_builder.py @@ -46,7 +46,7 @@ def by_chat_message_id1(self,chat_message_id1: str) -> ChatMessageItemRequestBui async def get(self,request_configuration: Optional[RepliesRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageCollectionResponse]: """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chatmessage-list-replies?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[RepliesRequestBuilderGetReque async def post(self,body: Optional[ChatMessage] = None, request_configuration: Optional[RepliesRequestBuilderPostRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + Send a new reply to a chatMessage in a specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ChatMessage] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[RepliesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[RepliesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[RepliesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments. + Send a new reply to a chatMessage in a specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ChatMessage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class RepliesRequestBuilderGetQueryParameters(): """ - List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. This API is available in the following national cloud deployments. + List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/chats/item/messages/item/set_reaction/set_reaction_request_builder.py b/msgraph_beta/generated/users/item/chats/item/messages/item/set_reaction/set_reaction_request_builder.py index ccfcb9f74b1..7cd1d518d07 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/item/set_reaction/set_reaction_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/item/set_reaction/set_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetReactionPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/chats/item/messages/item/soft_delete/soft_delete_request_builder.py b/msgraph_beta/generated/users/item/chats/item/messages/item/soft_delete/soft_delete_request_builder.py index 0e00e3fffdb..bc0f2404fe4 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/item/soft_delete/soft_delete_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/item/soft_delete/soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-softdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SoftDeleteRequestBuilderPost def to_post_request_information(self,request_configuration: Optional[SoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Delete a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Delete a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SoftDeleteR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/users/item/chats/item/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py b/msgraph_beta/generated/users/item/chats/item/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py index 128ce529900..d21b3cf4a89 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/item/undo_soft_delete/undo_soft_delete_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> None: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. 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/chatmessage-undosoftdelete?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UndoSoftDeleteRequestBuilder def to_post_request_information(self,request_configuration: Optional[UndoSoftDeleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. This API is available in the following national cloud deployments. + Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[UndoSoftDel request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UndoSoftDeleteRequestBuilder: diff --git a/msgraph_beta/generated/users/item/chats/item/messages/item/unset_reaction/unset_reaction_request_builder.py b/msgraph_beta/generated/users/item/chats/item/messages/item/unset_reaction/unset_reaction_request_builder.py index 156729ee125..6be8031e311 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/item/unset_reaction/unset_reaction_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/item/unset_reaction/unset_reaction_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UnsetReactionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/chats/item/messages/messages_request_builder.py b/msgraph_beta/generated/users/item/chats/item/messages/messages_request_builder.py index 92f1c6a2687..50f4def6c07 100644 --- a/msgraph_beta/generated/users/item/chats/item/messages/messages_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/messages/messages_request_builder.py @@ -46,7 +46,7 @@ def by_chat_message_id(self,chat_message_id: str) -> ChatMessageItemRequestBuild async def get(self,request_configuration: Optional[MessagesRequestBuilderGetRequestConfiguration] = None) -> Optional[ChatMessageCollectionResponse]: """ - Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chat-list-messages?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MessagesRequestBuilderGetRequ async def post(self,body: Optional[ChatMessage] = None, request_configuration: Optional[MessagesRequestBuilderPostRequestConfiguration] = None) -> Optional[ChatMessage]: """ - Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. This API is available in the following national cloud deployments. + Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ChatMessage] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[MessagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MessagesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChatMessage] = None, request_configuration: Optional[MessagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. This API is available in the following national cloud deployments. + Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ChatMessage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class MessagesRequestBuilderGetQueryParameters(): """ - Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). This API is available in the following national cloud deployments. + Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/chats/item/operations/item/teams_async_operation_item_request_builder.py b/msgraph_beta/generated/users/item/chats/item/operations/item/teams_async_operation_item_request_builder.py index 4fd046dfd85..504e261a842 100644 --- a/msgraph_beta/generated/users/item/chats/item/operations/item/teams_async_operation_item_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/operations/item/teams_async_operation_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[TeamsAsyncOperationItemReq async def get(self,request_configuration: Optional[TeamsAsyncOperationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsAsyncOperation]: """ - Get the specified Teams async operation that ran or is running on a specific resource. This API is available in the following national cloud deployments. + Get the specified Teams async operation that ran or is running on a specific resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAsyncOperation] Find more info here: https://learn.microsoft.com/graph/api/teamsasyncoperation-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[TeamsAsyn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamsAsyncOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the specified Teams async operation that ran or is running on a specific resource. This API is available in the following national cloud deployments. + Get the specified Teams async operation that ran or is running on a specific resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAsyncOp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamsAsyncOperation] = None, request_configuration: Optional[TeamsAsyncOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[TeamsAsyncOperation] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class TeamsAsyncOperationItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class TeamsAsyncOperationItemRequestBuilderGetQueryParameters(): """ - Get the specified Teams async operation that ran or is running on a specific resource. This API is available in the following national cloud deployments. + Get the specified Teams async operation that ran or is running on a specific resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/chats/item/operations/operations_request_builder.py b/msgraph_beta/generated/users/item/chats/item/operations/operations_request_builder.py index b8f19e13e1a..5f9ebe74a2f 100644 --- a/msgraph_beta/generated/users/item/chats/item/operations/operations_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/operations/operations_request_builder.py @@ -45,7 +45,7 @@ def by_teams_async_operation_id(self,teams_async_operation_id: str) -> TeamsAsyn async def get(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsAsyncOperationCollectionResponse]: """ - List all Teams async operations that ran or are running on the specified chat. This API is available in the following national cloud deployments. + List all Teams async operations that ran or are running on the specified chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsAsyncOperationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chat-list-operations?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[TeamsAsyncOperation] = None, request_configur def to_get_request_information(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all Teams async operations that ran or are running on the specified chat. This API is available in the following national cloud deployments. + List all Teams async operations that ran or are running on the specified chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamsAsyncOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[TeamsAsyncOperation] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OperationsRequestBuilderGetQueryParameters(): """ - List all Teams async operations that ran or are running on the specified chat. This API is available in the following national cloud deployments. + List all Teams async operations that ran or are running on the specified chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/chats/item/permission_grants/item/resource_specific_permission_grant_item_request_builder.py b/msgraph_beta/generated/users/item/chats/item/permission_grants/item/resource_specific_permission_grant_item_request_builder.py index c12cd3ff158..99af74d71c9 100644 --- a/msgraph_beta/generated/users/item/chats/item/permission_grants/item/resource_specific_permission_grant_item_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/permission_grants/item/resource_specific_permission_grant_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ResourceS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ResourceSpecificPermissionGrantItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceSpec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ResourceSpecificPermissionGrant] = None, request_configuration: Optional[ResourceSpecificPermissionGrantItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ResourceSpecificPermissionG request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/chats/item/permission_grants/permission_grants_request_builder.py b/msgraph_beta/generated/users/item/chats/item/permission_grants/permission_grants_request_builder.py index d668c4a0982..e01f51ebbf6 100644 --- a/msgraph_beta/generated/users/item/chats/item/permission_grants/permission_grants_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/permission_grants/permission_grants_request_builder.py @@ -45,7 +45,7 @@ def by_resource_specific_permission_grant_id(self,resource_specific_permission_g async def get(self,request_configuration: Optional[PermissionGrantsRequestBuilderGetRequestConfiguration] = None) -> Optional[ResourceSpecificPermissionGrantCollectionResponse]: """ - List all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + List all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding kind of resource-specific access that each app has. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ResourceSpecificPermissionGrantCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chat-list-permissiongrants?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ResourceSpecificPermissionGrant] = None, requ def to_get_request_information(self,request_configuration: Optional[PermissionGrantsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + List all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding kind of resource-specific access that each app has. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PermissionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ResourceSpecificPermissionGrant] = None, request_configuration: Optional[PermissionGrantsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ResourceSpecificPermissionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PermissionGrantsRequestBuilderGetQueryParameters(): """ - List all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + List all resource-specific permission grants on the chat. This list specifies the Microsoft Entra apps that have access to the chat, along with the corresponding kind of resource-specific access that each app has. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/chats/item/pinned_messages/item/message/message_request_builder.py b/msgraph_beta/generated/users/item/chats/item/pinned_messages/item/message/message_request_builder.py index 957b4dc3858..20641cb33e1 100644 --- a/msgraph_beta/generated/users/item/chats/item/pinned_messages/item/message/message_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/pinned_messages/item/message/message_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[MessageReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MessageRequestBuilder: diff --git a/msgraph_beta/generated/users/item/chats/item/pinned_messages/item/pinned_chat_message_info_item_request_builder.py b/msgraph_beta/generated/users/item/chats/item/pinned_messages/item/pinned_chat_message_info_item_request_builder.py index bb211d36dcf..f0f9af35d21 100644 --- a/msgraph_beta/generated/users/item/chats/item/pinned_messages/item/pinned_chat_message_info_item_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/pinned_messages/item/pinned_chat_message_info_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[PinnedChatMessageInfoItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Unpin a message from a chat. This API is available in the following national cloud deployments. + Unpin a message from a chat. 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/chat-delete-pinnedmessages?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[PinnedChatMessageInfo] = None, request_confi def to_delete_request_information(self,request_configuration: Optional[PinnedChatMessageInfoItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Unpin a message from a chat. This API is available in the following national cloud deployments. + Unpin a message from a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[PinnedCha request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PinnedChatMessageInfoItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[PinnedChatMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PinnedChatMessageInfo] = None, request_configuration: Optional[PinnedChatMessageInfoItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PinnedChatMessageInfo] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/chats/item/pinned_messages/pinned_messages_request_builder.py b/msgraph_beta/generated/users/item/chats/item/pinned_messages/pinned_messages_request_builder.py index 64ae8fabbf1..40ab31c7064 100644 --- a/msgraph_beta/generated/users/item/chats/item/pinned_messages/pinned_messages_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/pinned_messages/pinned_messages_request_builder.py @@ -45,7 +45,7 @@ def by_pinned_chat_message_info_id(self,pinned_chat_message_info_id: str) -> Pin async def get(self,request_configuration: Optional[PinnedMessagesRequestBuilderGetRequestConfiguration] = None) -> Optional[PinnedChatMessageInfoCollectionResponse]: """ - Get a list of pinnedChatMessages in a chat. This API is available in the following national cloud deployments. + Get a list of pinnedChatMessages in a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PinnedChatMessageInfoCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chat-list-pinnedmessages?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[PinnedMessagesRequestBuilderG async def post(self,body: Optional[PinnedChatMessageInfo] = None, request_configuration: Optional[PinnedMessagesRequestBuilderPostRequestConfiguration] = None) -> Optional[PinnedChatMessageInfo]: """ - Pin a chat message in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can pin a chat message. This API is available in the following national cloud deployments. + Pin a chat message in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can pin a chat message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PinnedChatMessageInfo] @@ -92,7 +92,7 @@ async def post(self,body: Optional[PinnedChatMessageInfo] = None, request_config def to_get_request_information(self,request_configuration: Optional[PinnedMessagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of pinnedChatMessages in a chat. This API is available in the following national cloud deployments. + Get a list of pinnedChatMessages in a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[PinnedMessag request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PinnedChatMessageInfo] = None, request_configuration: Optional[PinnedMessagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Pin a chat message in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can pin a chat message. This API is available in the following national cloud deployments. + Pin a chat message in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can pin a chat message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PinnedChatMessageInfo] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PinnedMessagesRequestBuilderGetQueryParameters(): """ - Get a list of pinnedChatMessages in a chat. This API is available in the following national cloud deployments. + Get a list of pinnedChatMessages in a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/chats/item/remove_all_access_for_user/remove_all_access_for_user_post_request_body.py b/msgraph_beta/generated/users/item/chats/item/remove_all_access_for_user/remove_all_access_for_user_post_request_body.py new file mode 100644 index 00000000000..310b75eeaef --- /dev/null +++ b/msgraph_beta/generated/users/item/chats/item/remove_all_access_for_user/remove_all_access_for_user_post_request_body.py @@ -0,0 +1,56 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.teamwork_user_identity import TeamworkUserIdentity + +@dataclass +class RemoveAllAccessForUserPostRequestBody(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 user property + user: Optional[TeamworkUserIdentity] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> RemoveAllAccessForUserPostRequestBody: + """ + 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: RemoveAllAccessForUserPostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return RemoveAllAccessForUserPostRequestBody() + + 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.teamwork_user_identity import TeamworkUserIdentity + + from ......models.teamwork_user_identity import TeamworkUserIdentity + + fields: Dict[str, Callable[[Any], None]] = { + "user": lambda n : setattr(self, 'user', n.get_object_value(TeamworkUserIdentity)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_object_value("user", self.user) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/users/item/chats/item/remove_all_access_for_user/remove_all_access_for_user_request_builder.py b/msgraph_beta/generated/users/item/chats/item/remove_all_access_for_user/remove_all_access_for_user_request_builder.py new file mode 100644 index 00000000000..702f73a2262 --- /dev/null +++ b/msgraph_beta/generated/users/item/chats/item/remove_all_access_for_user/remove_all_access_for_user_request_builder.py @@ -0,0 +1,92 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from .remove_all_access_for_user_post_request_body import RemoveAllAccessForUserPostRequestBody + +class RemoveAllAccessForUserRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the removeAllAccessForUser method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new RemoveAllAccessForUserRequestBuilder 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}/chats/{chat%2Did}/removeAllAccessForUser", path_parameters) + + async def post(self,body: Optional[RemoveAllAccessForUserPostRequestBody] = None, request_configuration: Optional[RemoveAllAccessForUserRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Remove access to a chat for a user. + param body: The request body + 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/chat-removeallaccessforuser?view=graph-rest-1.0 + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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: Optional[RemoveAllAccessForUserPostRequestBody] = None, request_configuration: Optional[RemoveAllAccessForUserRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Remove access to a chat for a user. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> RemoveAllAccessForUserRequestBuilder: + """ + 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: RemoveAllAccessForUserRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return RemoveAllAccessForUserRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class RemoveAllAccessForUserRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/users/item/chats/item/send_activity_notification/send_activity_notification_request_builder.py b/msgraph_beta/generated/users/item/chats/item/send_activity_notification/send_activity_notification_request_builder.py index 33f8a3ed93f..3ac8ffc8a56 100644 --- a/msgraph_beta/generated/users/item/chats/item/send_activity_notification/send_activity_notification_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/send_activity_notification/send_activity_notification_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SendActivityNotificationPostRequestBody] = None, request_configuration: Optional[SendActivityNotificationRequestBuilderPostRequestConfiguration] = None) -> None: """ - Send an activity feed notification in the scope of a chat. For more information, see sending Teams activity notifications. This API is available in the following national cloud deployments. + Send an activity feed notification in the scope of a chat. For more information, see sending Teams activity notifications. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SendActivityNotificationPostRequestBody] = No def to_post_request_information(self,body: Optional[SendActivityNotificationPostRequestBody] = None, request_configuration: Optional[SendActivityNotificationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send an activity feed notification in the scope of a chat. For more information, see sending Teams activity notifications. This API is available in the following national cloud deployments. + Send an activity feed notification in the scope of a chat. For more information, see sending Teams activity notifications. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SendActivityNotificationPost request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/chats/item/tabs/item/teams_app/teams_app_request_builder.py b/msgraph_beta/generated/users/item/chats/item/tabs/item/teams_app/teams_app_request_builder.py index 33ecbe1b4ae..3b3f908647b 100644 --- a/msgraph_beta/generated/users/item/chats/item/tabs/item/teams_app/teams_app_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/tabs/item/teams_app/teams_app_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamsAppRequestBuilder: diff --git a/msgraph_beta/generated/users/item/chats/item/tabs/item/teams_tab_item_request_builder.py b/msgraph_beta/generated/users/item/chats/item/tabs/item/teams_tab_item_request_builder.py index 702754f3f8c..aee11cc4661 100644 --- a/msgraph_beta/generated/users/item/chats/item/tabs/item/teams_tab_item_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/tabs/item/teams_tab_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TeamsTabItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove (unpin) a tab from the specified chat. This API is available in the following national cloud deployments. + Remove (unpin) a tab from the specified chat. 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/chat-delete-tabs?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[TeamsTabItemRequestBuilder async def get(self,request_configuration: Optional[TeamsTabItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsTab]: """ - Retrieve the properties and relationships of the specified tab in a chat. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of the specified tab in a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsTab] Find more info here: https://learn.microsoft.com/graph/api/chat-get-tabs?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[TeamsTabItemRequestBuilderGet async def patch(self,body: Optional[TeamsTab] = None, request_configuration: Optional[TeamsTabItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[TeamsTab]: """ - Update the properties of the specified tab in a chat. This can be used to configure the content of the tab. This API is available in the following national cloud deployments. + Update the properties of the specified tab in a chat. This can be used to configure the content of the tab. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsTab] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[TeamsTab] = None, request_configuration: Opt def to_delete_request_information(self,request_configuration: Optional[TeamsTabItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove (unpin) a tab from the specified chat. This API is available in the following national cloud deployments. + Remove (unpin) a tab from the specified chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[TeamsTabI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamsTabItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of the specified tab in a chat. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of the specified tab in a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[TeamsTabItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TeamsTab] = None, request_configuration: Optional[TeamsTabItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of the specified tab in a chat. This can be used to configure the content of the tab. This API is available in the following national cloud deployments. + Update the properties of the specified tab in a chat. This can be used to configure the content of the tab. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[TeamsTab] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class TeamsTabItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class TeamsTabItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of the specified tab in a chat. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of the specified tab in a chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/chats/item/tabs/tabs_request_builder.py b/msgraph_beta/generated/users/item/chats/item/tabs/tabs_request_builder.py index efb31fce77e..710c39b330e 100644 --- a/msgraph_beta/generated/users/item/chats/item/tabs/tabs_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/tabs/tabs_request_builder.py @@ -45,7 +45,7 @@ def by_teams_tab_id(self,teams_tab_id: str) -> TeamsTabItemRequestBuilder: async def get(self,request_configuration: Optional[TabsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsTabCollectionResponse]: """ - Retrieve the list of tabs in the specified chat. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsTabCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/chat-list-tabs?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TabsRequestBuilderGetRequestC async def post(self,body: Optional[TeamsTab] = None, request_configuration: Optional[TabsRequestBuilderPostRequestConfiguration] = None) -> Optional[TeamsTab]: """ - Add (pin) a tab to the specified chat. The corresponding app must already be installed in the chat. This API is available in the following national cloud deployments. + Add (pin) a tab to the specified chat. The corresponding app must already be installed in the chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamsTab] @@ -92,7 +92,7 @@ async def post(self,body: Optional[TeamsTab] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[TabsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of tabs in the specified chat. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[TabsRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TeamsTab] = None, request_configuration: Optional[TabsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add (pin) a tab to the specified chat. The corresponding app must already be installed in the chat. This API is available in the following national cloud deployments. + Add (pin) a tab to the specified chat. The corresponding app must already be installed in the chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[TeamsTab] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TabsRequestBuilderGetQueryParameters(): """ - Retrieve the list of tabs in the specified chat. This API is available in the following national cloud deployments. + Retrieve the list of tabs in the specified chat. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/chats/item/unhide_for_user/unhide_for_user_request_builder.py b/msgraph_beta/generated/users/item/chats/item/unhide_for_user/unhide_for_user_request_builder.py index d5ec318fa32..64ff16c58ac 100644 --- a/msgraph_beta/generated/users/item/chats/item/unhide_for_user/unhide_for_user_request_builder.py +++ b/msgraph_beta/generated/users/item/chats/item/unhide_for_user/unhide_for_user_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[UnhideForUserPostRequestBody] = None, request_configuration: Optional[UnhideForUserRequestBuilderPostRequestConfiguration] = None) -> None: """ - Unhide a chat for a user. This API is available in the following national cloud deployments. + Unhide a chat for a user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[UnhideForUserPostRequestBody] = None, request def to_post_request_information(self,body: Optional[UnhideForUserPostRequestBody] = None, request_configuration: Optional[UnhideForUserRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Unhide a chat for a user. This API is available in the following national cloud deployments. + Unhide a chat for a user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[UnhideForUserPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/check_member_groups/check_member_groups_request_builder.py b/msgraph_beta/generated/users/item/check_member_groups/check_member_groups_request_builder.py index 5b0285f6887..81e68002128 100644 --- a/msgraph_beta/generated/users/item/check_member_groups/check_member_groups_request_builder.py +++ b/msgraph_beta/generated/users/item/check_member_groups/check_member_groups_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[CheckMemberGroupsPostResponse]: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CheckMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, req def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequestBody] = None, request_configuration: Optional[CheckMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. This API is available in the following national cloud deployments. + Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CheckMemberGroupsPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/check_member_objects/check_member_objects_request_builder.py b/msgraph_beta/generated/users/item/check_member_objects/check_member_objects_request_builder.py index 1e0b579d75d..18b1f96346b 100644 --- a/msgraph_beta/generated/users/item/check_member_objects/check_member_objects_request_builder.py +++ b/msgraph_beta/generated/users/item/check_member_objects/check_member_objects_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CheckMemberObjectsPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/bulk_resize/bulk_resize_request_builder.py b/msgraph_beta/generated/users/item/cloud_p_cs/bulk_resize/bulk_resize_request_builder.py index b86a788ce8c..079f0f88d0c 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/bulk_resize/bulk_resize_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/bulk_resize/bulk_resize_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[BulkResizePostRequestBody] = None, request_configuration: Optional[BulkResizeRequestBuilderPostRequestConfiguration] = None) -> Optional[BulkResizePostResponse]: """ - Perform a bulk resize action to resize a group of cloudPCs that have successfully passed validation. If any devices can't be resized, those devices indicate 'resize failed'. The remaining devices are provisioned for the resize process. This API is available in the following national cloud deployments. + Perform a bulk resize action to resize a group of cloudPCs that have successfully passed validation. If any devices can't be resized, those devices indicate 'resize failed'. The remaining devices are provisioned for the resize process. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BulkResizePostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[BulkResizePostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[BulkResizePostRequestBody] = None, request_configuration: Optional[BulkResizeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Perform a bulk resize action to resize a group of cloudPCs that have successfully passed validation. If any devices can't be resized, those devices indicate 'resize failed'. The remaining devices are provisioned for the resize process. This API is available in the following national cloud deployments. + Perform a bulk resize action to resize a group of cloudPCs that have successfully passed validation. If any devices can't be resized, those devices indicate 'resize failed'. The remaining devices are provisioned for the resize process. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[BulkResizePostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/cloud_p_cs_request_builder.py b/msgraph_beta/generated/users/item/cloud_p_cs/cloud_p_cs_request_builder.py index 5a255171177..6034b61abe5 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/cloud_p_cs_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/cloud_p_cs_request_builder.py @@ -48,7 +48,7 @@ def by_cloud_p_c_id(self,cloud_p_c_id: str) -> CloudPCItemRequestBuilder: async def get(self,request_configuration: Optional[CloudPCsRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPCCollectionResponse]: """ - List the cloudPC devices that are attributed to the signed-in user. This API is available in the following national cloud deployments. + List the cloudPC devices that are attributed to the signed-in user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPCCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/user-list-cloudpcs?view=graph-rest-1.0 @@ -109,7 +109,7 @@ async def post(self,body: Optional[CloudPC] = None, request_configuration: Optio def to_get_request_information(self,request_configuration: Optional[CloudPCsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the cloudPC devices that are attributed to the signed-in user. This API is available in the following national cloud deployments. + List the cloudPC devices that are attributed to the signed-in user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CloudPCsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CloudPC] = None, request_configuration: Optional[CloudPCsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_post_request_information(self,body: Optional[CloudPC] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -184,7 +184,7 @@ def validate_bulk_resize(self) -> ValidateBulkResizeRequestBuilder: @dataclass class CloudPCsRequestBuilderGetQueryParameters(): """ - List the cloudPC devices that are attributed to the signed-in user. This API is available in the following national cloud deployments. + List the cloudPC devices that are attributed to the signed-in user. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.py b/msgraph_beta/generated/users/item/cloud_p_cs/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.py index f73834fc969..0c3a194da8d 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id/get_provisioned_cloud_p_cs_with_group_id_with_service_plan_id_request_builder.py @@ -66,7 +66,7 @@ def to_get_request_information(self,request_configuration: Optional[GetProvision request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilder: diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/item/change_user_account_type/change_user_account_type_request_builder.py b/msgraph_beta/generated/users/item/cloud_p_cs/item/change_user_account_type/change_user_account_type_request_builder.py index b506fa50236..7c26bc23727 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/item/change_user_account_type/change_user_account_type_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/item/change_user_account_type/change_user_account_type_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ChangeUserAccountTypePostRequestBody] = None, request_configuration: Optional[ChangeUserAccountTypeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Change the account type of the user on a specific Cloud PC. This API is available in the following national cloud deployments. + Change the account type of the user on a specific Cloud PC. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ChangeUserAccountTypePostRequestBody] = None, def to_post_request_information(self,body: Optional[ChangeUserAccountTypePostRequestBody] = None, request_configuration: Optional[ChangeUserAccountTypeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Change the account type of the user on a specific Cloud PC. This API is available in the following national cloud deployments. + Change the account type of the user on a specific Cloud PC. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ChangeUserAccountTypePostReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/item/cloud_p_c_item_request_builder.py b/msgraph_beta/generated/users/item/cloud_p_cs/item/cloud_p_c_item_request_builder.py index afd1e74c599..5f990586166 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/item/cloud_p_c_item_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/item/cloud_p_c_item_request_builder.py @@ -66,7 +66,7 @@ async def delete(self,request_configuration: Optional[CloudPCItemRequestBuilderD async def get(self,request_configuration: Optional[CloudPCItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CloudPC]: """ - Read the properties and relationships of a specific cloudPC object. This API is available in the following national cloud deployments. + Read the properties and relationships of a specific cloudPC object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPC] Find more info here: https://learn.microsoft.com/graph/api/cloudpc-get?view=graph-rest-1.0 @@ -123,12 +123,12 @@ def to_delete_request_information(self,request_configuration: Optional[CloudPCIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CloudPCItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a specific cloudPC object. This API is available in the following national cloud deployments. + Read the properties and relationships of a specific cloudPC object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -140,7 +140,7 @@ def to_get_request_information(self,request_configuration: Optional[CloudPCItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CloudPC] = None, request_configuration: Optional[CloudPCItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -159,7 +159,7 @@ def to_patch_request_information(self,body: Optional[CloudPC] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -357,7 +357,7 @@ class CloudPCItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurati @dataclass class CloudPCItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a specific cloudPC object. This API is available in the following national cloud deployments. + Read the properties and relationships of a specific cloudPC object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/item/create_snapshot/create_snapshot_request_builder.py b/msgraph_beta/generated/users/item/cloud_p_cs/item/create_snapshot/create_snapshot_request_builder.py index 87a40679f2a..f709c171f20 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/item/create_snapshot/create_snapshot_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/item/create_snapshot/create_snapshot_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[CreateSnaps request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreateSnapshotRequestBuilder: diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/item/end_grace_period/end_grace_period_request_builder.py b/msgraph_beta/generated/users/item/cloud_p_cs/item/end_grace_period/end_grace_period_request_builder.py index 6710030e693..f7395d6f364 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/item/end_grace_period/end_grace_period_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/item/end_grace_period/end_grace_period_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[EndGracePeriodRequestBuilderPostRequestConfiguration] = None) -> None: """ - End the grace period for a specific Cloud PC. The grace period is triggered when the Cloud PC license is removed or the provisioning policy is unassigned. It allows users to access Cloud PCs for up to seven days before deprovisioning occurs. Ending the grace period immediately deprovisions the Cloud PC without waiting the seven days. This API is available in the following national cloud deployments. + End the grace period for a specific Cloud PC. The grace period is triggered when the Cloud PC license is removed or the provisioning policy is unassigned. It allows users to access Cloud PCs for up to seven days before deprovisioning occurs. Ending the grace period immediately deprovisions the Cloud PC without waiting the seven days. 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/cloudpc-endgraceperiod?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[EndGracePeriodRequestBuilder def to_post_request_information(self,request_configuration: Optional[EndGracePeriodRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - End the grace period for a specific Cloud PC. The grace period is triggered when the Cloud PC license is removed or the provisioning policy is unassigned. It allows users to access Cloud PCs for up to seven days before deprovisioning occurs. Ending the grace period immediately deprovisions the Cloud PC without waiting the seven days. This API is available in the following national cloud deployments. + End the grace period for a specific Cloud PC. The grace period is triggered when the Cloud PC license is removed or the provisioning policy is unassigned. It allows users to access Cloud PCs for up to seven days before deprovisioning occurs. Ending the grace period immediately deprovisions the Cloud PC without waiting the seven days. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[EndGracePer request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EndGracePeriodRequestBuilder: diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/item/get_cloud_pc_connectivity_history/get_cloud_pc_connectivity_history_request_builder.py b/msgraph_beta/generated/users/item/cloud_p_cs/item/get_cloud_pc_connectivity_history/get_cloud_pc_connectivity_history_request_builder.py index 896880f52db..e9d689d3c2a 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/item/get_cloud_pc_connectivity_history/get_cloud_pc_connectivity_history_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/item/get_cloud_pc_connectivity_history/get_cloud_pc_connectivity_history_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetCloudPcCo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetCloudPcConnectivityHistoryRequestBuilder: diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/item/get_cloud_pc_launch_info/get_cloud_pc_launch_info_request_builder.py b/msgraph_beta/generated/users/item/cloud_p_cs/item/get_cloud_pc_launch_info/get_cloud_pc_launch_info_request_builder.py index 9deda94d1c3..dd867ac5484 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/item/get_cloud_pc_launch_info/get_cloud_pc_launch_info_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/item/get_cloud_pc_launch_info/get_cloud_pc_launch_info_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetCloudPcLa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetCloudPcLaunchInfoRequestBuilder: diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/item/get_frontline_cloud_pc_access_state/get_frontline_cloud_pc_access_state_request_builder.py b/msgraph_beta/generated/users/item/cloud_p_cs/item/get_frontline_cloud_pc_access_state/get_frontline_cloud_pc_access_state_request_builder.py index 6ee082e3d37..944367fc021 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/item/get_frontline_cloud_pc_access_state/get_frontline_cloud_pc_access_state_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/item/get_frontline_cloud_pc_access_state/get_frontline_cloud_pc_access_state_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetFrontline request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetFrontlineCloudPcAccessStateRequestBuilder: diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/item/get_shift_work_cloud_pc_access_state/get_shift_work_cloud_pc_access_state_request_builder.py b/msgraph_beta/generated/users/item/cloud_p_cs/item/get_shift_work_cloud_pc_access_state/get_shift_work_cloud_pc_access_state_request_builder.py index 66ca2c35a45..1f9eba293e9 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/item/get_shift_work_cloud_pc_access_state/get_shift_work_cloud_pc_access_state_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/item/get_shift_work_cloud_pc_access_state/get_shift_work_cloud_pc_access_state_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetShiftWork request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetShiftWorkCloudPcAccessStateRequestBuilder: diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/item/get_supported_cloud_pc_remote_actions/get_supported_cloud_pc_remote_actions_request_builder.py b/msgraph_beta/generated/users/item/cloud_p_cs/item/get_supported_cloud_pc_remote_actions/get_supported_cloud_pc_remote_actions_request_builder.py index d8ee614b4ed..b5455f98069 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/item/get_supported_cloud_pc_remote_actions/get_supported_cloud_pc_remote_actions_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/item/get_supported_cloud_pc_remote_actions/get_supported_cloud_pc_remote_actions_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetSupported request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetSupportedCloudPcRemoteActionsRequestBuilder: diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/item/power_off/power_off_request_builder.py b/msgraph_beta/generated/users/item/cloud_p_cs/item/power_off/power_off_request_builder.py index d67d5b96688..710f743f022 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/item/power_off/power_off_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/item/power_off/power_off_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[PowerOffRequestBuilderPostRequestConfiguration] = None) -> None: """ - Power off a Windows 365 Frontline Cloud PC. This action supports Microsoft Endpoint Manager (MEM) admin scenarios. After a Windows 365 Frontline Cloud PC is powered off, it's deallocated, and licenses are revoked immediately. Only IT admin users can perform this action. This API is available in the following national cloud deployments. + Power off a Windows 365 Frontline Cloud PC. This action supports Microsoft Endpoint Manager (MEM) admin scenarios. After a Windows 365 Frontline Cloud PC is powered off, it's deallocated, and licenses are revoked immediately. Only IT admin users can perform this action. 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/cloudpc-poweroff?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[PowerOffRequestBuilderPostRe def to_post_request_information(self,request_configuration: Optional[PowerOffRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Power off a Windows 365 Frontline Cloud PC. This action supports Microsoft Endpoint Manager (MEM) admin scenarios. After a Windows 365 Frontline Cloud PC is powered off, it's deallocated, and licenses are revoked immediately. Only IT admin users can perform this action. This API is available in the following national cloud deployments. + Power off a Windows 365 Frontline Cloud PC. This action supports Microsoft Endpoint Manager (MEM) admin scenarios. After a Windows 365 Frontline Cloud PC is powered off, it's deallocated, and licenses are revoked immediately. Only IT admin users can perform this action. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[PowerOffReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PowerOffRequestBuilder: diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/item/power_on/power_on_request_builder.py b/msgraph_beta/generated/users/item/cloud_p_cs/item/power_on/power_on_request_builder.py index fc562fa8d6a..390c323886e 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/item/power_on/power_on_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/item/power_on/power_on_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[PowerOnRequestBuilderPostRequestConfiguration] = None) -> None: """ - Power on a Windows 365 Frontline Cloud PC. This action supports Microsoft Endpoint Manager (MEM) admin scenarios. After a Windows 365 Frontline Cloud PC is powered on, it is allocated to a user, and licenses are assigned immediately. Only IT admin users can perform this action. This API is available in the following national cloud deployments. + Power on a Windows 365 Frontline Cloud PC. This action supports Microsoft Endpoint Manager (MEM) admin scenarios. After a Windows 365 Frontline Cloud PC is powered on, it is allocated to a user, and licenses are assigned immediately. Only IT admin users can perform this action. 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/cloudpc-poweron?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[PowerOnRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[PowerOnRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Power on a Windows 365 Frontline Cloud PC. This action supports Microsoft Endpoint Manager (MEM) admin scenarios. After a Windows 365 Frontline Cloud PC is powered on, it is allocated to a user, and licenses are assigned immediately. Only IT admin users can perform this action. This API is available in the following national cloud deployments. + Power on a Windows 365 Frontline Cloud PC. This action supports Microsoft Endpoint Manager (MEM) admin scenarios. After a Windows 365 Frontline Cloud PC is powered on, it is allocated to a user, and licenses are assigned immediately. Only IT admin users can perform this action. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[PowerOnRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PowerOnRequestBuilder: diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/item/reboot/reboot_request_builder.py b/msgraph_beta/generated/users/item/cloud_p_cs/item/reboot/reboot_request_builder.py index 6de828eeac0..f0abecf3d3a 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/item/reboot/reboot_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/item/reboot/reboot_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RebootRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reboot a specific Cloud PC. This API is available in the following national cloud deployments. + Reboot a specific Cloud PC. 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/cloudpc-reboot?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RebootRequestBuilderPostRequ def to_post_request_information(self,request_configuration: Optional[RebootRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reboot a specific Cloud PC. This API is available in the following national cloud deployments. + Reboot a specific Cloud PC. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RebootReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RebootRequestBuilder: diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/item/rename/rename_request_builder.py b/msgraph_beta/generated/users/item/cloud_p_cs/item/rename/rename_request_builder.py index aa8c7ff99d7..33fe8df6fab 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/item/rename/rename_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/item/rename/rename_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RenamePostRequestBody] = None, request_configuration: Optional[RenameRequestBuilderPostRequestConfiguration] = None) -> None: """ - Rename a specific Cloud PC. Use this API to update the displayName for the Cloud PC entity. This API is available in the following national cloud deployments. + Rename a specific Cloud PC. Use this API to update the displayName for the Cloud PC entity. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RenamePostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[RenamePostRequestBody] = None, request_configuration: Optional[RenameRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Rename a specific Cloud PC. Use this API to update the displayName for the Cloud PC entity. This API is available in the following national cloud deployments. + Rename a specific Cloud PC. Use this API to update the displayName for the Cloud PC entity. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RenamePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/item/reprovision/reprovision_request_builder.py b/msgraph_beta/generated/users/item/cloud_p_cs/item/reprovision/reprovision_request_builder.py index 91968976a94..0252626177e 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/item/reprovision/reprovision_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/item/reprovision/reprovision_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ReprovisionPostRequestBody] = None, request_configuration: Optional[ReprovisionRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reprovision a specific Cloud PC. This API is available in the following national cloud deployments. + Reprovision a specific Cloud PC. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ReprovisionPostRequestBody] = None, request_c def to_post_request_information(self,body: Optional[ReprovisionPostRequestBody] = None, request_configuration: Optional[ReprovisionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reprovision a specific Cloud PC. This API is available in the following national cloud deployments. + Reprovision a specific Cloud PC. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ReprovisionPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/item/resize/resize_request_builder.py b/msgraph_beta/generated/users/item/cloud_p_cs/item/resize/resize_request_builder.py index a4af76bdce6..c41114ee535 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/item/resize/resize_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/item/resize/resize_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ResizePostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/item/restore/restore_request_builder.py b/msgraph_beta/generated/users/item/cloud_p_cs/item/restore/restore_request_builder.py index 0f7ff87cd8f..4b519b8fe42 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/item/restore/restore_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/item/restore/restore_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RestorePostRequestBody] = None, request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> None: """ - Restore a specific Cloud PC. Use this API to trigger a remote action that restores a Cloud PC device to a previous state. This API is available in the following national cloud deployments. + Restore a specific Cloud PC. Use this API to trigger a remote action that restores a Cloud PC device to a previous state. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RestorePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[RestorePostRequestBody] = None, request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a specific Cloud PC. Use this API to trigger a remote action that restores a Cloud PC device to a previous state. This API is available in the following national cloud deployments. + Restore a specific Cloud PC. Use this API to trigger a remote action that restores a Cloud PC device to a previous state. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RestorePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/item/retry_partner_agent_installation/retry_partner_agent_installation_request_builder.py b/msgraph_beta/generated/users/item/cloud_p_cs/item/retry_partner_agent_installation/retry_partner_agent_installation_request_builder.py index 7435a9a9cf9..33ec8692879 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/item/retry_partner_agent_installation/retry_partner_agent_installation_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/item/retry_partner_agent_installation/retry_partner_agent_installation_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RetryPartnerAgentInstallationRequestBuilderPostRequestConfiguration] = None) -> None: """ - Retry installation for the partner agents that failed to install on the Cloud PC. Service side checks which agent installation failed firstly and retry. This API is available in the following national cloud deployments. + Retry installation for the partner agents that failed to install on the Cloud PC. Service side checks which agent installation failed firstly and retry. 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/cloudpc-retrypartneragentinstallation?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RetryPartnerAgentInstallatio def to_post_request_information(self,request_configuration: Optional[RetryPartnerAgentInstallationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Retry installation for the partner agents that failed to install on the Cloud PC. Service side checks which agent installation failed firstly and retry. This API is available in the following national cloud deployments. + Retry installation for the partner agents that failed to install on the Cloud PC. Service side checks which agent installation failed firstly and retry. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RetryPartne request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RetryPartnerAgentInstallationRequestBuilder: diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/item/start/start_request_builder.py b/msgraph_beta/generated/users/item/cloud_p_cs/item/start/start_request_builder.py index ef7941ab171..f707dd7556c 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/item/start/start_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/item/start/start_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[StartRequestBuilderPostRequestConfiguration] = None) -> None: """ - Start a specific Cloud PC for a user. Currently, only Windows 365 Frontline Cloud PCs are supported. This API is available in the following national cloud deployments. + Start a specific Cloud PC for a user. Currently, only Windows 365 Frontline Cloud PCs are supported. 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/cloudpc-start?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[StartRequestBuilderPostReque def to_post_request_information(self,request_configuration: Optional[StartRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Start a specific Cloud PC for a user. Currently, only Windows 365 Frontline Cloud PCs are supported. This API is available in the following national cloud deployments. + Start a specific Cloud PC for a user. Currently, only Windows 365 Frontline Cloud PCs are supported. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[StartReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> StartRequestBuilder: diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/item/stop/stop_request_builder.py b/msgraph_beta/generated/users/item/cloud_p_cs/item/stop/stop_request_builder.py index 38f531de7dd..1a77a694858 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/item/stop/stop_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/item/stop/stop_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[StopRequestBuilderPostRequestConfiguration] = None) -> None: """ - Stop a specific Cloud PC for a user. Currently, only Windows 365 Frontline Cloud PCs are supported. This API is available in the following national cloud deployments. + Stop a specific Cloud PC for a user. Currently, only Windows 365 Frontline Cloud PCs are supported. 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/cloudpc-stop?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[StopRequestBuilderPostReques def to_post_request_information(self,request_configuration: Optional[StopRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Stop a specific Cloud PC for a user. Currently, only Windows 365 Frontline Cloud PCs are supported. This API is available in the following national cloud deployments. + Stop a specific Cloud PC for a user. Currently, only Windows 365 Frontline Cloud PCs are supported. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[StopRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> StopRequestBuilder: diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/item/troubleshoot/troubleshoot_request_builder.py b/msgraph_beta/generated/users/item/cloud_p_cs/item/troubleshoot/troubleshoot_request_builder.py index e1873e15eca..7a67af6636f 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/item/troubleshoot/troubleshoot_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/item/troubleshoot/troubleshoot_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[TroubleshootRequestBuilderPostRequestConfiguration] = None) -> None: """ - Troubleshoot a specific Cloud PC. Use this API to check the health status of the Cloud PC and the session host. This API is available in the following national cloud deployments. + Troubleshoot a specific Cloud PC. Use this API to check the health status of the Cloud PC and the session host. 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/cloudpc-troubleshoot?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[TroubleshootRequestBuilderPo def to_post_request_information(self,request_configuration: Optional[TroubleshootRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Troubleshoot a specific Cloud PC. Use this API to check the health status of the Cloud PC and the session host. This API is available in the following national cloud deployments. + Troubleshoot a specific Cloud PC. Use this API to check the health status of the Cloud PC and the session host. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[Troubleshoo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TroubleshootRequestBuilder: diff --git a/msgraph_beta/generated/users/item/cloud_p_cs/validate_bulk_resize/validate_bulk_resize_request_builder.py b/msgraph_beta/generated/users/item/cloud_p_cs/validate_bulk_resize/validate_bulk_resize_request_builder.py index eeab1794134..fe296f49d17 100644 --- a/msgraph_beta/generated/users/item/cloud_p_cs/validate_bulk_resize/validate_bulk_resize_request_builder.py +++ b/msgraph_beta/generated/users/item/cloud_p_cs/validate_bulk_resize/validate_bulk_resize_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ValidateBulkResizePostRequestBody] = None, request_configuration: Optional[ValidateBulkResizeRequestBuilderPostRequestConfiguration] = None) -> Optional[ValidateBulkResizePostResponse]: """ - Validate that a set of cloudPC devices meet the requirements to be bulk resized. This API is available in the following national cloud deployments. + Validate that a set of cloudPC devices meet the requirements to be bulk resized. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ValidateBulkResizePostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[ValidateBulkResizePostRequestBody] = None, re def to_post_request_information(self,body: Optional[ValidateBulkResizePostRequestBody] = None, request_configuration: Optional[ValidateBulkResizeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Validate that a set of cloudPC devices meet the requirements to be bulk resized. This API is available in the following national cloud deployments. + Validate that a set of cloudPC devices meet the requirements to be bulk resized. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[ValidateBulkResizePostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/contact_folders/contact_folders_request_builder.py b/msgraph_beta/generated/users/item/contact_folders/contact_folders_request_builder.py index 0a58978c5c2..770cddf8777 100644 --- a/msgraph_beta/generated/users/item/contact_folders/contact_folders_request_builder.py +++ b/msgraph_beta/generated/users/item/contact_folders/contact_folders_request_builder.py @@ -46,7 +46,7 @@ def by_contact_folder_id(self,contact_folder_id: str) -> ContactFolderItemReques async def get(self,request_configuration: Optional[ContactFoldersRequestBuilderGetRequestConfiguration] = None) -> Optional[ContactFolderCollectionResponse]: """ - Get all the contact folders in the signed-in user's mailbox. This API is available in the following national cloud deployments. + Get all the contact folders in the signed-in user's mailbox. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContactFolderCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/user-list-contactfolders?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[ContactFoldersRequestBuilderG async def post(self,body: Optional[ContactFolder] = None, request_configuration: Optional[ContactFoldersRequestBuilderPostRequestConfiguration] = None) -> Optional[ContactFolder]: """ - Create a new contactFolder under the user's default contacts folder. You can also create a new contactfolder as a child of any specified contact folder. This API is available in the following national cloud deployments. + Create a new contactFolder under the user's default contacts folder. You can also create a new contactfolder as a child of any specified contact folder. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContactFolder] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ContactFolder] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[ContactFoldersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get all the contact folders in the signed-in user's mailbox. This API is available in the following national cloud deployments. + Get all the contact folders in the signed-in user's mailbox. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[ContactFolde request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ContactFolder] = None, request_configuration: Optional[ContactFoldersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new contactFolder under the user's default contacts folder. You can also create a new contactfolder as a child of any specified contact folder. This API is available in the following national cloud deployments. + Create a new contactFolder under the user's default contacts folder. You can also create a new contactfolder as a child of any specified contact folder. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ContactFolder] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class ContactFoldersRequestBuilderGetQueryParameters(): """ - Get all the contact folders in the signed-in user's mailbox. This API is available in the following national cloud deployments. + Get all the contact folders in the signed-in user's mailbox. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/contact_folders/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/contact_folders/delta/delta_request_builder.py index db6537b4656..2cffe130d13 100644 --- a/msgraph_beta/generated/users/item/contact_folders/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/contact_folders/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. This API is available in the following national cloud deployments. + Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/contactfolder-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. This API is available in the following national cloud deployments. + Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. This API is available in the following national cloud deployments. + Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/child_folders_request_builder.py b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/child_folders_request_builder.py index 85cdd62b24f..8881ab7864d 100644 --- a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/child_folders_request_builder.py +++ b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/child_folders_request_builder.py @@ -46,7 +46,7 @@ def by_contact_folder_id1(self,contact_folder_id1: str) -> ContactFolderItemRequ async def get(self,request_configuration: Optional[ChildFoldersRequestBuilderGetRequestConfiguration] = None) -> Optional[ContactFolderCollectionResponse]: """ - Get a collection of child folders under the specified contact folder. This API is available in the following national cloud deployments. + Get a collection of child folders under the specified contact folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContactFolderCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/contactfolder-list-childfolders?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[ChildFoldersRequestBuilderGet async def post(self,body: Optional[ContactFolder] = None, request_configuration: Optional[ChildFoldersRequestBuilderPostRequestConfiguration] = None) -> Optional[ContactFolder]: """ - Create a new contactFolder as a child of a specified folder. You can also create a new contactFolder under the user's default contact folder. This API is available in the following national cloud deployments. + Create a new contactFolder as a child of a specified folder. You can also create a new contactFolder under the user's default contact folder. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContactFolder] @@ -93,7 +93,7 @@ async def post(self,body: Optional[ContactFolder] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[ChildFoldersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a collection of child folders under the specified contact folder. This API is available in the following national cloud deployments. + Get a collection of child folders under the specified contact folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[ChildFolders request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ContactFolder] = None, request_configuration: Optional[ChildFoldersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new contactFolder as a child of a specified folder. You can also create a new contactFolder under the user's default contact folder. This API is available in the following national cloud deployments. + Create a new contactFolder as a child of a specified folder. You can also create a new contactFolder under the user's default contact folder. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[ContactFolder] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class ChildFoldersRequestBuilderGetQueryParameters(): """ - Get a collection of child folders under the specified contact folder. This API is available in the following national cloud deployments. + Get a collection of child folders under the specified contact folder. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/delta/delta_request_builder.py index 3639ec6a5f2..db9e7bed6ef 100644 --- a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. This API is available in the following national cloud deployments. + Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/contactfolder-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. This API is available in the following national cloud deployments. + Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. This API is available in the following national cloud deployments. + Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contact_folder_item_request_builder.py b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contact_folder_item_request_builder.py index 977fd634600..8c46e4e719a 100644 --- a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contact_folder_item_request_builder.py +++ b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contact_folder_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[ContactFo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ContactFolderItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ContactFolde request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ContactFolder] = None, request_configuration: Optional[ContactFolderItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[ContactFolder] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/contacts_request_builder.py b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/contacts_request_builder.py index 76f3ad95367..1a7adc15e13 100644 --- a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/contacts_request_builder.py +++ b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/contacts_request_builder.py @@ -46,7 +46,7 @@ def by_contact_id(self,contact_id: str) -> ContactItemRequestBuilder: async def get(self,request_configuration: Optional[ContactsRequestBuilderGetRequestConfiguration] = None) -> Optional[ContactCollectionResponse]: """ - Get all the contacts in the signed-in user's mailbox (.../me/contacts), or from the specified contact folder. This API is available in the following national cloud deployments. + Get all the contacts in the signed-in user's mailbox (.../me/contacts), or from the specified contact folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContactCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/contactfolder-list-contacts?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[ContactsRequestBuilderGetRequ async def post(self,body: Optional[Contact] = None, request_configuration: Optional[ContactsRequestBuilderPostRequestConfiguration] = None) -> Optional[Contact]: """ - Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. This API is available in the following national cloud deployments. + Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Contact] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Contact] = None, request_configuration: Optio def to_get_request_information(self,request_configuration: Optional[ContactsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get all the contacts in the signed-in user's mailbox (.../me/contacts), or from the specified contact folder. This API is available in the following national cloud deployments. + Get all the contacts in the signed-in user's mailbox (.../me/contacts), or from the specified contact folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[ContactsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Contact] = None, request_configuration: Optional[ContactsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. This API is available in the following national cloud deployments. + Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Contact] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class ContactsRequestBuilderGetQueryParameters(): """ - Get all the contacts in the signed-in user's mailbox (.../me/contacts), or from the specified contact folder. This API is available in the following national cloud deployments. + Get all the contacts in the signed-in user's mailbox (.../me/contacts), or from the specified contact folder. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/delta/delta_request_builder.py index fecb86d95b3..1967781a1dc 100644 --- a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. This API is available in the following national cloud deployments. + Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/contact-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. This API is available in the following national cloud deployments. + Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. This API is available in the following national cloud deployments. + Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/item/contact_item_request_builder.py b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/item/contact_item_request_builder.py index ae8ad574866..8925bee814a 100644 --- a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/item/contact_item_request_builder.py +++ b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/item/contact_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ContactIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ContactItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ContactItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Contact] = None, request_configuration: Optional[ContactItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Contact] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/item/extensions/extensions_request_builder.py index 4aa88454a4c..468c3b94412 100644 --- a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/item/extensions/extensions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/item/extensions/item/extension_item_request_builder.py index 2190d616f18..c8d2652e031 100644 --- a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/item/extensions/item/extension_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/item/photo/photo_request_builder.py b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/item/photo/photo_request_builder.py index 97875c79174..6eaa448d565 100644 --- a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/item/photo/photo_request_builder.py +++ b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/item/photo/photo_request_builder.py @@ -86,7 +86,7 @@ def to_get_request_information(self,request_configuration: Optional[PhotoRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ProfilePhoto] = None, request_configuration: Optional[PhotoRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -105,7 +105,7 @@ def to_patch_request_information(self,body: Optional[ProfilePhoto] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/item/photo/value/content_request_builder.py b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/item/photo/value/content_request_builder.py index e3816f05547..c3086649d33 100644 --- a/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/item/photo/value/content_request_builder.py +++ b/msgraph_beta/generated/users/item/contact_folders/item/child_folders/item/contacts/item/photo/value/content_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -98,7 +98,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/users/item/contact_folders/item/contact_folder_item_request_builder.py b/msgraph_beta/generated/users/item/contact_folders/item/contact_folder_item_request_builder.py index 42a5fec3041..5aae2d9335e 100644 --- a/msgraph_beta/generated/users/item/contact_folders/item/contact_folder_item_request_builder.py +++ b/msgraph_beta/generated/users/item/contact_folders/item/contact_folder_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ContactFolderItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete contactFolder other than the default contactFolder. This API is available in the following national cloud deployments. + Delete contactFolder other than the default contactFolder. 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/contactfolder-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[ContactFolderItemRequestBu async def get(self,request_configuration: Optional[ContactFolderItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ContactFolder]: """ - Get a contact folder by using the contact folder ID. There are two scenarios where an app can get another user's contact folder: This API is available in the following national cloud deployments. + Get a contact folder by using the contact folder ID. There are two scenarios where an app can get another user's contact folder: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContactFolder] Find more info here: https://learn.microsoft.com/graph/api/contactfolder-get?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[ContactFolderItemRequestBuild async def patch(self,body: Optional[ContactFolder] = None, request_configuration: Optional[ContactFolderItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ContactFolder]: """ - Update the properties of contactfolder object. This API is available in the following national cloud deployments. + Update the properties of contactfolder object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContactFolder] @@ -97,7 +97,7 @@ async def patch(self,body: Optional[ContactFolder] = None, request_configuration def to_delete_request_information(self,request_configuration: Optional[ContactFolderItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete contactFolder other than the default contactFolder. This API is available in the following national cloud deployments. + Delete contactFolder other than the default contactFolder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[ContactFo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ContactFolderItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a contact folder by using the contact folder ID. There are two scenarios where an app can get another user's contact folder: This API is available in the following national cloud deployments. + Get a contact folder by using the contact folder ID. There are two scenarios where an app can get another user's contact folder: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[ContactFolde request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ContactFolder] = None, request_configuration: Optional[ContactFolderItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of contactfolder object. This API is available in the following national cloud deployments. + Update the properties of contactfolder object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[ContactFolder] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class ContactFolderItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class ContactFolderItemRequestBuilderGetQueryParameters(): """ - Get a contact folder by using the contact folder ID. There are two scenarios where an app can get another user's contact folder: This API is available in the following national cloud deployments. + Get a contact folder by using the contact folder ID. There are two scenarios where an app can get another user's contact folder: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/contact_folders/item/contacts/contacts_request_builder.py b/msgraph_beta/generated/users/item/contact_folders/item/contacts/contacts_request_builder.py index 06cb1fbb04b..9ef75dc9f2e 100644 --- a/msgraph_beta/generated/users/item/contact_folders/item/contacts/contacts_request_builder.py +++ b/msgraph_beta/generated/users/item/contact_folders/item/contacts/contacts_request_builder.py @@ -46,7 +46,7 @@ def by_contact_id(self,contact_id: str) -> ContactItemRequestBuilder: async def get(self,request_configuration: Optional[ContactsRequestBuilderGetRequestConfiguration] = None) -> Optional[ContactCollectionResponse]: """ - Get all the contacts in the signed-in user's mailbox (.../me/contacts), or from the specified contact folder. This API is available in the following national cloud deployments. + Get all the contacts in the signed-in user's mailbox (.../me/contacts), or from the specified contact folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContactCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/contactfolder-list-contacts?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[ContactsRequestBuilderGetRequ async def post(self,body: Optional[Contact] = None, request_configuration: Optional[ContactsRequestBuilderPostRequestConfiguration] = None) -> Optional[Contact]: """ - Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. This API is available in the following national cloud deployments. + Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Contact] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Contact] = None, request_configuration: Optio def to_get_request_information(self,request_configuration: Optional[ContactsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get all the contacts in the signed-in user's mailbox (.../me/contacts), or from the specified contact folder. This API is available in the following national cloud deployments. + Get all the contacts in the signed-in user's mailbox (.../me/contacts), or from the specified contact folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[ContactsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Contact] = None, request_configuration: Optional[ContactsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. This API is available in the following national cloud deployments. + Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Contact] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class ContactsRequestBuilderGetQueryParameters(): """ - Get all the contacts in the signed-in user's mailbox (.../me/contacts), or from the specified contact folder. This API is available in the following national cloud deployments. + Get all the contacts in the signed-in user's mailbox (.../me/contacts), or from the specified contact folder. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/contact_folders/item/contacts/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/contact_folders/item/contacts/delta/delta_request_builder.py index 5f533050a89..7cd9ee112bd 100644 --- a/msgraph_beta/generated/users/item/contact_folders/item/contacts/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/contact_folders/item/contacts/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. This API is available in the following national cloud deployments. + Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/contact-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. This API is available in the following national cloud deployments. + Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. This API is available in the following national cloud deployments. + Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/contact_folders/item/contacts/item/contact_item_request_builder.py b/msgraph_beta/generated/users/item/contact_folders/item/contacts/item/contact_item_request_builder.py index 7c1164a7c00..1f87893b6c7 100644 --- a/msgraph_beta/generated/users/item/contact_folders/item/contacts/item/contact_item_request_builder.py +++ b/msgraph_beta/generated/users/item/contact_folders/item/contacts/item/contact_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[ContactIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ContactItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ContactItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Contact] = None, request_configuration: Optional[ContactItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Contact] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/contact_folders/item/contacts/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/contact_folders/item/contacts/item/extensions/extensions_request_builder.py index f12786adecf..dd4c10f13db 100644 --- a/msgraph_beta/generated/users/item/contact_folders/item/contacts/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/contact_folders/item/contacts/item/extensions/extensions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/contact_folders/item/contacts/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/contact_folders/item/contacts/item/extensions/item/extension_item_request_builder.py index 98b5f4fbbda..bfeed21b39e 100644 --- a/msgraph_beta/generated/users/item/contact_folders/item/contacts/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/contact_folders/item/contacts/item/extensions/item/extension_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/contact_folders/item/contacts/item/photo/photo_request_builder.py b/msgraph_beta/generated/users/item/contact_folders/item/contacts/item/photo/photo_request_builder.py index 6d4d89bb607..58deb7bbf43 100644 --- a/msgraph_beta/generated/users/item/contact_folders/item/contacts/item/photo/photo_request_builder.py +++ b/msgraph_beta/generated/users/item/contact_folders/item/contacts/item/photo/photo_request_builder.py @@ -86,7 +86,7 @@ def to_get_request_information(self,request_configuration: Optional[PhotoRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ProfilePhoto] = None, request_configuration: Optional[PhotoRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -105,7 +105,7 @@ def to_patch_request_information(self,body: Optional[ProfilePhoto] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/contact_folders/item/contacts/item/photo/value/content_request_builder.py b/msgraph_beta/generated/users/item/contact_folders/item/contacts/item/photo/value/content_request_builder.py index 6fd9c674dfe..76e2c81c110 100644 --- a/msgraph_beta/generated/users/item/contact_folders/item/contacts/item/photo/value/content_request_builder.py +++ b/msgraph_beta/generated/users/item/contact_folders/item/contacts/item/photo/value/content_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -98,7 +98,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/users/item/contacts/contacts_request_builder.py b/msgraph_beta/generated/users/item/contacts/contacts_request_builder.py index 47d65bb051c..c0b77c4cd2e 100644 --- a/msgraph_beta/generated/users/item/contacts/contacts_request_builder.py +++ b/msgraph_beta/generated/users/item/contacts/contacts_request_builder.py @@ -46,7 +46,7 @@ def by_contact_id(self,contact_id: str) -> ContactItemRequestBuilder: async def get(self,request_configuration: Optional[ContactsRequestBuilderGetRequestConfiguration] = None) -> Optional[ContactCollectionResponse]: """ - Get contacts in the user's mailbox. There are two scenarios where an app can get contacts in another user's contact folder: This API is available in the following national cloud deployments. + Get contacts in the user's mailbox. There are two scenarios where an app can get contacts in another user's contact folder: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContactCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/user-list-contacts?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[ContactsRequestBuilderGetRequ async def post(self,body: Optional[Contact] = None, request_configuration: Optional[ContactsRequestBuilderPostRequestConfiguration] = None) -> Optional[Contact]: """ - Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. This API is available in the following national cloud deployments. + Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Contact] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Contact] = None, request_configuration: Optio def to_get_request_information(self,request_configuration: Optional[ContactsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get contacts in the user's mailbox. There are two scenarios where an app can get contacts in another user's contact folder: This API is available in the following national cloud deployments. + Get contacts in the user's mailbox. There are two scenarios where an app can get contacts in another user's contact folder: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[ContactsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Contact] = None, request_configuration: Optional[ContactsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. This API is available in the following national cloud deployments. + Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Contact] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class ContactsRequestBuilderGetQueryParameters(): """ - Get contacts in the user's mailbox. There are two scenarios where an app can get contacts in another user's contact folder: This API is available in the following national cloud deployments. + Get contacts in the user's mailbox. There are two scenarios where an app can get contacts in another user's contact folder: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/contacts/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/contacts/delta/delta_request_builder.py index 04c679bb939..2cc85f17e3e 100644 --- a/msgraph_beta/generated/users/item/contacts/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/contacts/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. This API is available in the following national cloud deployments. + Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/contact-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. This API is available in the following national cloud deployments. + Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. This API is available in the following national cloud deployments. + Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/contacts/item/contact_item_request_builder.py b/msgraph_beta/generated/users/item/contacts/item/contact_item_request_builder.py index b249fac26fb..cef6136163b 100644 --- a/msgraph_beta/generated/users/item/contacts/item/contact_item_request_builder.py +++ b/msgraph_beta/generated/users/item/contacts/item/contact_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ContactItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete contact. This API is available in the following national cloud deployments. + Delete contact. 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/contact-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[ContactItemRequestBuilderD async def get(self,request_configuration: Optional[ContactItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Contact]: """ - Retrieve the properties and relationships of contact object. There are two scenarios where an app can get a contact in another user's contact folder: This API is available in the following national cloud deployments. + Retrieve the properties and relationships of contact object. There are two scenarios where an app can get a contact in another user's contact folder: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Contact] Find more info here: https://learn.microsoft.com/graph/api/contact-get?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[ContactItemRequestBuilderGetR async def patch(self,body: Optional[Contact] = None, request_configuration: Optional[ContactItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Contact]: """ - Update the properties of contact object. This API is available in the following national cloud deployments. + Update the properties of contact object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Contact] @@ -97,7 +97,7 @@ async def patch(self,body: Optional[Contact] = None, request_configuration: Opti def to_delete_request_information(self,request_configuration: Optional[ContactItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete contact. This API is available in the following national cloud deployments. + Delete contact. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[ContactIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ContactItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of contact object. There are two scenarios where an app can get a contact in another user's contact folder: This API is available in the following national cloud deployments. + Retrieve the properties and relationships of contact object. There are two scenarios where an app can get a contact in another user's contact folder: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[ContactItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Contact] = None, request_configuration: Optional[ContactItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of contact object. This API is available in the following national cloud deployments. + Update the properties of contact object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[Contact] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class ContactItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurati @dataclass class ContactItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of contact object. There are two scenarios where an app can get a contact in another user's contact folder: This API is available in the following national cloud deployments. + Retrieve the properties and relationships of contact object. There are two scenarios where an app can get a contact in another user's contact folder: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/contacts/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/contacts/item/extensions/extensions_request_builder.py index fa4bfc4d951..0991eca60fb 100644 --- a/msgraph_beta/generated/users/item/contacts/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/contacts/item/extensions/extensions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/contacts/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/contacts/item/extensions/item/extension_item_request_builder.py index 05502aca4b6..676ed213fb8 100644 --- a/msgraph_beta/generated/users/item/contacts/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/contacts/item/extensions/item/extension_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/contacts/item/photo/photo_request_builder.py b/msgraph_beta/generated/users/item/contacts/item/photo/photo_request_builder.py index d686d3fb3a4..11057b57e52 100644 --- a/msgraph_beta/generated/users/item/contacts/item/photo/photo_request_builder.py +++ b/msgraph_beta/generated/users/item/contacts/item/photo/photo_request_builder.py @@ -86,7 +86,7 @@ def to_get_request_information(self,request_configuration: Optional[PhotoRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ProfilePhoto] = None, request_configuration: Optional[PhotoRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -105,7 +105,7 @@ def to_patch_request_information(self,body: Optional[ProfilePhoto] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/contacts/item/photo/value/content_request_builder.py b/msgraph_beta/generated/users/item/contacts/item/photo/value/content_request_builder.py index 9d11f6be615..7e08136059f 100644 --- a/msgraph_beta/generated/users/item/contacts/item/photo/value/content_request_builder.py +++ b/msgraph_beta/generated/users/item/contacts/item/photo/value/content_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -98,7 +98,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/users/item/created_objects/created_objects_request_builder.py b/msgraph_beta/generated/users/item/created_objects/created_objects_request_builder.py index 2fec5e17f25..43daf16a7f8 100644 --- a/msgraph_beta/generated/users/item/created_objects/created_objects_request_builder.py +++ b/msgraph_beta/generated/users/item/created_objects/created_objects_request_builder.py @@ -45,7 +45,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem async def get(self,request_configuration: Optional[CreatedObjectsRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryObjectCollectionResponse]: """ - Get a list of directory objects that were created by the user. This API returns only those directory objects that were created by a user who isn't in any administrator role; otherwise, it returns an empty object. This API is available in the following national cloud deployments. + Get a list of directory objects that were created by the user. This API returns only those directory objects that were created by a user who isn't in any administrator role; otherwise, it returns an empty object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/user-list-createdobjects?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[CreatedObjectsRequestBuilderG def to_get_request_information(self,request_configuration: Optional[CreatedObjectsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of directory objects that were created by the user. This API returns only those directory objects that were created by a user who isn't in any administrator role; otherwise, it returns an empty object. This API is available in the following national cloud deployments. + Get a list of directory objects that were created by the user. This API returns only those directory objects that were created by a user who isn't in any administrator role; otherwise, it returns an empty object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[CreatedObjec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreatedObjectsRequestBuilder: @@ -113,7 +113,7 @@ def graph_service_principal(self) -> GraphServicePrincipalRequestBuilder: @dataclass class CreatedObjectsRequestBuilderGetQueryParameters(): """ - Get a list of directory objects that were created by the user. This API returns only those directory objects that were created by a user who isn't in any administrator role; otherwise, it returns an empty object. This API is available in the following national cloud deployments. + Get a list of directory objects that were created by the user. This API returns only those directory objects that were created by a user who isn't in any administrator role; otherwise, it returns an empty object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/created_objects/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/users/item/created_objects/graph_service_principal/graph_service_principal_request_builder.py index c4b278e992c..ebbf4c6e7e9 100644 --- a/msgraph_beta/generated/users/item/created_objects/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/users/item/created_objects/graph_service_principal/graph_service_principal_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/users/item/created_objects/item/directory_object_item_request_builder.py b/msgraph_beta/generated/users/item/created_objects/item/directory_object_item_request_builder.py index 46b3265f310..e31227da6f5 100644 --- a/msgraph_beta/generated/users/item/created_objects/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/users/item/created_objects/item/directory_object_item_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/created_objects/item/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/users/item/created_objects/item/graph_service_principal/graph_service_principal_request_builder.py index aecc31ec17d..12759d13921 100644 --- a/msgraph_beta/generated/users/item/created_objects/item/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/users/item/created_objects/item/graph_service_principal/graph_service_principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/users/item/delete_password_single_sign_on_credentials/delete_password_single_sign_on_credentials_post_request_body.py b/msgraph_beta/generated/users/item/delete_password_single_sign_on_credentials/delete_password_single_sign_on_credentials_post_request_body.py new file mode 100644 index 00000000000..4b3f1d73a0e --- /dev/null +++ b/msgraph_beta/generated/users/item/delete_password_single_sign_on_credentials/delete_password_single_sign_on_credentials_post_request_body.py @@ -0,0 +1,49 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class DeletePasswordSingleSignOnCredentialsPostRequestBody(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 property + id: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> DeletePasswordSingleSignOnCredentialsPostRequestBody: + """ + 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: DeletePasswordSingleSignOnCredentialsPostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return DeletePasswordSingleSignOnCredentialsPostRequestBody() + + 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]] = { + "id": lambda n : setattr(self, '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 not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("id", self.id) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/users/item/delete_password_single_sign_on_credentials/delete_password_single_sign_on_credentials_request_builder.py b/msgraph_beta/generated/users/item/delete_password_single_sign_on_credentials/delete_password_single_sign_on_credentials_request_builder.py new file mode 100644 index 00000000000..652013040a8 --- /dev/null +++ b/msgraph_beta/generated/users/item/delete_password_single_sign_on_credentials/delete_password_single_sign_on_credentials_request_builder.py @@ -0,0 +1,91 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.o_data_errors.o_data_error import ODataError + from .delete_password_single_sign_on_credentials_post_request_body import DeletePasswordSingleSignOnCredentialsPostRequestBody + +class DeletePasswordSingleSignOnCredentialsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the deletePasswordSingleSignOnCredentials method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new DeletePasswordSingleSignOnCredentialsRequestBuilder 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}/deletePasswordSingleSignOnCredentials", path_parameters) + + async def post(self,body: Optional[DeletePasswordSingleSignOnCredentialsPostRequestBody] = None, request_configuration: Optional[DeletePasswordSingleSignOnCredentialsRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Invoke action deletePasswordSingleSignOnCredentials + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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: Optional[DeletePasswordSingleSignOnCredentialsPostRequestBody] = None, request_configuration: Optional[DeletePasswordSingleSignOnCredentialsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action deletePasswordSingleSignOnCredentials + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> DeletePasswordSingleSignOnCredentialsRequestBuilder: + """ + 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: DeletePasswordSingleSignOnCredentialsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return DeletePasswordSingleSignOnCredentialsRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class DeletePasswordSingleSignOnCredentialsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/users/item/device_enrollment_configurations/create_enrollment_notification_configuration/create_enrollment_notification_configuration_request_builder.py b/msgraph_beta/generated/users/item/device_enrollment_configurations/create_enrollment_notification_configuration/create_enrollment_notification_configuration_request_builder.py index 9749cbdcc0c..5467c568477 100644 --- a/msgraph_beta/generated/users/item/device_enrollment_configurations/create_enrollment_notification_configuration/create_enrollment_notification_configuration_request_builder.py +++ b/msgraph_beta/generated/users/item/device_enrollment_configurations/create_enrollment_notification_configuration/create_enrollment_notification_configuration_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[CreateEnrollmentNotification request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/device_enrollment_configurations/device_enrollment_configurations_request_builder.py b/msgraph_beta/generated/users/item/device_enrollment_configurations/device_enrollment_configurations_request_builder.py index 86d301a5a63..1a485d62e78 100644 --- a/msgraph_beta/generated/users/item/device_enrollment_configurations/device_enrollment_configurations_request_builder.py +++ b/msgraph_beta/generated/users/item/device_enrollment_configurations/device_enrollment_configurations_request_builder.py @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceEnroll request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceEnrollmentConfiguration] = None, request_configuration: Optional[DeviceEnrollmentConfigurationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[DeviceEnrollmentConfiguratio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/device_enrollment_configurations/has_payload_links/has_payload_links_request_builder.py b/msgraph_beta/generated/users/item/device_enrollment_configurations/has_payload_links/has_payload_links_request_builder.py index 1ad9938e54b..7169f7b4cb7 100644 --- a/msgraph_beta/generated/users/item/device_enrollment_configurations/has_payload_links/has_payload_links_request_builder.py +++ b/msgraph_beta/generated/users/item/device_enrollment_configurations/has_payload_links/has_payload_links_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[HasPayloadLinksPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/device_enrollment_configurations/item/assign/assign_request_builder.py b/msgraph_beta/generated/users/item/device_enrollment_configurations/item/assign/assign_request_builder.py index f53ec90611b..3add18eac04 100644 --- a/msgraph_beta/generated/users/item/device_enrollment_configurations/item/assign/assign_request_builder.py +++ b/msgraph_beta/generated/users/item/device_enrollment_configurations/item/assign/assign_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[AssignPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/device_enrollment_configurations/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/users/item/device_enrollment_configurations/item/assignments/assignments_request_builder.py index 6baf635d03e..cad7fa881c3 100644 --- a/msgraph_beta/generated/users/item/device_enrollment_configurations/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/users/item/device_enrollment_configurations/item/assignments/assignments_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EnrollmentConfigurationAssignment] = None, request_configuration: Optional[AssignmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[EnrollmentConfigurationAssig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/device_enrollment_configurations/item/assignments/item/enrollment_configuration_assignment_item_request_builder.py b/msgraph_beta/generated/users/item/device_enrollment_configurations/item/assignments/item/enrollment_configuration_assignment_item_request_builder.py index 0610fe06f27..55956d98799 100644 --- a/msgraph_beta/generated/users/item/device_enrollment_configurations/item/assignments/item/enrollment_configuration_assignment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/device_enrollment_configurations/item/assignments/item/enrollment_configuration_assignment_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Enrollmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EnrollmentConfigurationAssignmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[EnrollmentCo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EnrollmentConfigurationAssignment] = None, request_configuration: Optional[EnrollmentConfigurationAssignmentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[EnrollmentConfigurationAssi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py b/msgraph_beta/generated/users/item/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py index c72d3863767..47ba57b3b30 100644 --- a/msgraph_beta/generated/users/item/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py +++ b/msgraph_beta/generated/users/item/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceEnr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceEnrollmentConfigurationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceEnroll request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceEnrollmentConfiguration] = None, request_configuration: Optional[DeviceEnrollmentConfigurationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[DeviceEnrollmentConfigurati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/device_enrollment_configurations/item/set_priority/set_priority_request_builder.py b/msgraph_beta/generated/users/item/device_enrollment_configurations/item/set_priority/set_priority_request_builder.py index 13c5c39e201..a583ad57c76 100644 --- a/msgraph_beta/generated/users/item/device_enrollment_configurations/item/set_priority/set_priority_request_builder.py +++ b/msgraph_beta/generated/users/item/device_enrollment_configurations/item/set_priority/set_priority_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetPriorityPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/device_management_troubleshooting_events/device_management_troubleshooting_events_request_builder.py b/msgraph_beta/generated/users/item/device_management_troubleshooting_events/device_management_troubleshooting_events_request_builder.py index c9877b2f670..a2c3d41f3a5 100644 --- a/msgraph_beta/generated/users/item/device_management_troubleshooting_events/device_management_troubleshooting_events_request_builder.py +++ b/msgraph_beta/generated/users/item/device_management_troubleshooting_events/device_management_troubleshooting_events_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceManagementTroubleshootingEvent] = None, request_configuration: Optional[DeviceManagementTroubleshootingEventsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceManagementTroubleshoot request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/device_management_troubleshooting_events/item/device_management_troubleshooting_event_item_request_builder.py b/msgraph_beta/generated/users/item/device_management_troubleshooting_events/item/device_management_troubleshooting_event_item_request_builder.py index cd700713f9a..5fe8501839d 100644 --- a/msgraph_beta/generated/users/item/device_management_troubleshooting_events/item/device_management_troubleshooting_event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/device_management_troubleshooting_events/item/device_management_troubleshooting_event_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceMan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceManagementTroubleshootingEventItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceManage request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceManagementTroubleshootingEvent] = None, request_configuration: Optional[DeviceManagementTroubleshootingEventItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceManagementTroubleshoo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/devices/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/devices/delta/delta_request_builder.py index 680877b8fdb..4820b699e4b 100644 --- a/msgraph_beta/generated/users/item/devices/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: 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 146e7d6ebdf..f3509d6a9c8 100644 --- a/msgraph_beta/generated/users/item/devices/devices_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/devices_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[DevicesReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Device] = None, request_configuration: Optional[DevicesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Device] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/devices/item/commands/commands_request_builder.py b/msgraph_beta/generated/users/item/devices/item/commands/commands_request_builder.py index b33336ec845..d45107b2cec 100644 --- a/msgraph_beta/generated/users/item/devices/item/commands/commands_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/commands/commands_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[CommandsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Command] = None, request_configuration: Optional[CommandsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Command] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/devices/item/commands/item/command_item_request_builder.py b/msgraph_beta/generated/users/item/devices/item/commands/item/command_item_request_builder.py index 207bafdb2e3..e13a380eaf6 100644 --- a/msgraph_beta/generated/users/item/devices/item/commands/item/command_item_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/commands/item/command_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[CommandIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CommandItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[CommandItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Command] = None, request_configuration: Optional[CommandItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Command] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/devices/item/commands/item/responsepayload/responsepayload_request_builder.py b/msgraph_beta/generated/users/item/devices/item/commands/item/responsepayload/responsepayload_request_builder.py index 1ec25dfe0c6..4e1fa5087a9 100644 --- a/msgraph_beta/generated/users/item/devices/item/commands/item/responsepayload/responsepayload_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/commands/item/responsepayload/responsepayload_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[Responsepayl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResponsepayloadRequestBuilder: diff --git a/msgraph_beta/generated/users/item/devices/item/device_item_request_builder.py b/msgraph_beta/generated/users/item/devices/item/device_item_request_builder.py index 888fdbd3902..f8cfeff43ee 100644 --- a/msgraph_beta/generated/users/item/devices/item/device_item_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/device_item_request_builder.py @@ -110,7 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceItemRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Device] = None, request_configuration: Optional[DeviceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[Device] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/devices/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/devices/item/extensions/extensions_request_builder.py index 2a649d17b74..52c688a84b3 100644 --- a/msgraph_beta/generated/users/item/devices/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/extensions/extensions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/devices/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/devices/item/extensions/item/extension_item_request_builder.py index 63ba0eb4ccd..788d246365d 100644 --- a/msgraph_beta/generated/users/item/devices/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/extensions/item/extension_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/devices/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py b/msgraph_beta/generated/users/item/devices/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py index e39f774a2dc..0d393fdb182 100644 --- a/msgraph_beta/generated/users/item/devices/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAdminis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAdministrativeUnitRequestBuilder: diff --git a/msgraph_beta/generated/users/item/devices/item/member_of/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/users/item/devices/item/member_of/graph_group/graph_group_request_builder.py index 1c87f72d1a3..aaf9f8d2091 100644 --- a/msgraph_beta/generated/users/item/devices/item/member_of/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/member_of/graph_group/graph_group_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/users/item/devices/item/member_of/item/directory_object_item_request_builder.py b/msgraph_beta/generated/users/item/devices/item/member_of/item/directory_object_item_request_builder.py index 98038448d54..5158d72650a 100644 --- a/msgraph_beta/generated/users/item/devices/item/member_of/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/member_of/item/directory_object_item_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/devices/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py b/msgraph_beta/generated/users/item/devices/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py index ff9a19a6f17..88ce76f8871 100644 --- a/msgraph_beta/generated/users/item/devices/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAdminis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAdministrativeUnitRequestBuilder: diff --git a/msgraph_beta/generated/users/item/devices/item/member_of/item/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/users/item/devices/item/member_of/item/graph_group/graph_group_request_builder.py index c07b14af9d9..e17ce1887d6 100644 --- a/msgraph_beta/generated/users/item/devices/item/member_of/item/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/member_of/item/graph_group/graph_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/users/item/devices/item/member_of/member_of_request_builder.py b/msgraph_beta/generated/users/item/devices/item/member_of/member_of_request_builder.py index 64e1ba216a4..b05d74450f0 100644 --- a/msgraph_beta/generated/users/item/devices/item/member_of/member_of_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/member_of/member_of_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[MemberOfRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MemberOfRequestBuilder: diff --git a/msgraph_beta/generated/users/item/devices/item/registered_owners/graph_endpoint/graph_endpoint_request_builder.py b/msgraph_beta/generated/users/item/devices/item/registered_owners/graph_endpoint/graph_endpoint_request_builder.py index b1b1456deed..9f01cdd6c02 100644 --- a/msgraph_beta/generated/users/item/devices/item/registered_owners/graph_endpoint/graph_endpoint_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/registered_owners/graph_endpoint/graph_endpoint_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphEndpoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphEndpointRequestBuilder: diff --git a/msgraph_beta/generated/users/item/devices/item/registered_owners/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/users/item/devices/item/registered_owners/graph_service_principal/graph_service_principal_request_builder.py index 956623575a3..b0f24d5c4e3 100644 --- a/msgraph_beta/generated/users/item/devices/item/registered_owners/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/registered_owners/graph_service_principal/graph_service_principal_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/users/item/devices/item/registered_owners/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/users/item/devices/item/registered_owners/graph_user/graph_user_request_builder.py index f22b0f45e03..083cf54602e 100644 --- a/msgraph_beta/generated/users/item/devices/item/registered_owners/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/registered_owners/graph_user/graph_user_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/users/item/devices/item/registered_owners/item/graph_endpoint/graph_endpoint_request_builder.py b/msgraph_beta/generated/users/item/devices/item/registered_owners/item/graph_endpoint/graph_endpoint_request_builder.py index 9821f96a90a..6975a75bf0c 100644 --- a/msgraph_beta/generated/users/item/devices/item/registered_owners/item/graph_endpoint/graph_endpoint_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/registered_owners/item/graph_endpoint/graph_endpoint_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphEndpoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphEndpointRequestBuilder: diff --git a/msgraph_beta/generated/users/item/devices/item/registered_owners/item/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/users/item/devices/item/registered_owners/item/graph_service_principal/graph_service_principal_request_builder.py index 3fddb82afd8..7a0c3393695 100644 --- a/msgraph_beta/generated/users/item/devices/item/registered_owners/item/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/registered_owners/item/graph_service_principal/graph_service_principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/users/item/devices/item/registered_owners/item/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/users/item/devices/item/registered_owners/item/graph_user/graph_user_request_builder.py index 7b29f7142e2..871d0ca4d9c 100644 --- a/msgraph_beta/generated/users/item/devices/item/registered_owners/item/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/registered_owners/item/graph_user/graph_user_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/users/item/devices/item/registered_owners/item/ref/ref_request_builder.py b/msgraph_beta/generated/users/item/devices/item/registered_owners/item/ref/ref_request_builder.py index 9642a11a8d1..b8de5b5effb 100644 --- a/msgraph_beta/generated/users/item/devices/item/registered_owners/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/registered_owners/item/ref/ref_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a user as a registered owner of the device. This API is available in the following national cloud deployments. + Remove a user as a registered owner of the device. 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/device-delete-registeredowners?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a user as a registered owner of the device. This API is available in the following national cloud deployments. + Remove a user as a registered owner of the device. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Remove a user as a registered owner of the device. This API is available in the following national cloud deployments. + Remove a user as a registered owner of the device. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/devices/item/registered_owners/ref/ref_request_builder.py b/msgraph_beta/generated/users/item/devices/item/registered_owners/ref/ref_request_builder.py index 1ce13d073a4..12d7ff73a80 100644 --- a/msgraph_beta/generated/users/item/devices/item/registered_owners/ref/ref_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/registered_owners/ref/ref_request_builder.py @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add a user as a registered owner of the device. This API is available in the following national cloud deployments. + Add a user as a registered owner of the device. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a user as a registered owner of the device. This API is available in the following national cloud deployments. + Add a user as a registered owner of the device. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/devices/item/registered_owners/registered_owners_request_builder.py b/msgraph_beta/generated/users/item/devices/item/registered_owners/registered_owners_request_builder.py index ab6c552b666..c998a08be68 100644 --- a/msgraph_beta/generated/users/item/devices/item/registered_owners/registered_owners_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/registered_owners/registered_owners_request_builder.py @@ -35,7 +35,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.users.item.devices.item.registeredOwners.item collection - param directory_object_id: Unique identifier of the item + param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ if not directory_object_id: @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[RegisteredOw request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RegisteredOwnersRequestBuilder: diff --git a/msgraph_beta/generated/users/item/devices/item/registered_users/graph_endpoint/graph_endpoint_request_builder.py b/msgraph_beta/generated/users/item/devices/item/registered_users/graph_endpoint/graph_endpoint_request_builder.py index 58c500ee00d..e5934aefe47 100644 --- a/msgraph_beta/generated/users/item/devices/item/registered_users/graph_endpoint/graph_endpoint_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/registered_users/graph_endpoint/graph_endpoint_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphEndpoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphEndpointRequestBuilder: diff --git a/msgraph_beta/generated/users/item/devices/item/registered_users/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/users/item/devices/item/registered_users/graph_service_principal/graph_service_principal_request_builder.py index c14bec03a17..b067e4504f6 100644 --- a/msgraph_beta/generated/users/item/devices/item/registered_users/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/registered_users/graph_service_principal/graph_service_principal_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/users/item/devices/item/registered_users/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/users/item/devices/item/registered_users/graph_user/graph_user_request_builder.py index 8f803c6dcbd..49d416d095b 100644 --- a/msgraph_beta/generated/users/item/devices/item/registered_users/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/registered_users/graph_user/graph_user_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/users/item/devices/item/registered_users/item/graph_endpoint/graph_endpoint_request_builder.py b/msgraph_beta/generated/users/item/devices/item/registered_users/item/graph_endpoint/graph_endpoint_request_builder.py index 219f5ca948f..3970c0a0a77 100644 --- a/msgraph_beta/generated/users/item/devices/item/registered_users/item/graph_endpoint/graph_endpoint_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/registered_users/item/graph_endpoint/graph_endpoint_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphEndpoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphEndpointRequestBuilder: diff --git a/msgraph_beta/generated/users/item/devices/item/registered_users/item/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/users/item/devices/item/registered_users/item/graph_service_principal/graph_service_principal_request_builder.py index 723d31015ac..9d773104e1e 100644 --- a/msgraph_beta/generated/users/item/devices/item/registered_users/item/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/registered_users/item/graph_service_principal/graph_service_principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/users/item/devices/item/registered_users/item/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/users/item/devices/item/registered_users/item/graph_user/graph_user_request_builder.py index 994dbd88652..b17f355f821 100644 --- a/msgraph_beta/generated/users/item/devices/item/registered_users/item/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/registered_users/item/graph_user/graph_user_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/users/item/devices/item/registered_users/item/ref/ref_request_builder.py b/msgraph_beta/generated/users/item/devices/item/registered_users/item/ref/ref_request_builder.py index 32495a8cc0b..92fd5115e6f 100644 --- a/msgraph_beta/generated/users/item/devices/item/registered_users/item/ref/ref_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/registered_users/item/ref/ref_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a user as a registered user of the device. This API is available in the following national cloud deployments. + Remove a user as a registered user of the device. 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/device-delete-registeredusers?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a user as a registered user of the device. This API is available in the following national cloud deployments. + Remove a user as a registered user of the device. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -59,7 +59,7 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @@ -75,7 +75,7 @@ def with_url(self,raw_url: Optional[str] = None) -> RefRequestBuilder: @dataclass class RefRequestBuilderDeleteQueryParameters(): """ - Remove a user as a registered user of the device. This API is available in the following national cloud deployments. + Remove a user as a registered user of the device. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/devices/item/registered_users/ref/ref_request_builder.py b/msgraph_beta/generated/users/item/devices/item/registered_users/ref/ref_request_builder.py index 882ee26198b..db77e5e9e17 100644 --- a/msgraph_beta/generated/users/item/devices/item/registered_users/ref/ref_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/registered_users/ref/ref_request_builder.py @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def post(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> None: """ - Add a registered user for the device. This API is available in the following national cloud deployments. + Add a registered user for the device. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -86,12 +86,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ReferenceCreate] = None, request_configuration: Optional[RefRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a registered user for the device. This API is available in the following national cloud deployments. + Add a registered user for the device. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -105,7 +105,7 @@ def to_post_request_information(self,body: Optional[ReferenceCreate] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/devices/item/registered_users/registered_users_request_builder.py b/msgraph_beta/generated/users/item/devices/item/registered_users/registered_users_request_builder.py index b1d31e53bb5..4327d5fa291 100644 --- a/msgraph_beta/generated/users/item/devices/item/registered_users/registered_users_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/registered_users/registered_users_request_builder.py @@ -35,7 +35,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItemRequestBuilder: """ Gets an item from the msgraph_beta.generated.users.item.devices.item.registeredUsers.item collection - param directory_object_id: Unique identifier of the item + param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ if not directory_object_id: @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[RegisteredUs request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RegisteredUsersRequestBuilder: diff --git a/msgraph_beta/generated/users/item/devices/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py b/msgraph_beta/generated/users/item/devices/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py index 6005a657713..d44bf2c3a4e 100644 --- a/msgraph_beta/generated/users/item/devices/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAdminis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAdministrativeUnitRequestBuilder: diff --git a/msgraph_beta/generated/users/item/devices/item/transitive_member_of/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/users/item/devices/item/transitive_member_of/graph_group/graph_group_request_builder.py index e3e180a7604..33395d73d02 100644 --- a/msgraph_beta/generated/users/item/devices/item/transitive_member_of/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/transitive_member_of/graph_group/graph_group_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/users/item/devices/item/transitive_member_of/item/directory_object_item_request_builder.py b/msgraph_beta/generated/users/item/devices/item/transitive_member_of/item/directory_object_item_request_builder.py index ece047391e8..5d76e92eb9b 100644 --- a/msgraph_beta/generated/users/item/devices/item/transitive_member_of/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/transitive_member_of/item/directory_object_item_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/devices/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py b/msgraph_beta/generated/users/item/devices/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py index a7c8f7bffb9..82f4a5bacd0 100644 --- a/msgraph_beta/generated/users/item/devices/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAdminis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAdministrativeUnitRequestBuilder: diff --git a/msgraph_beta/generated/users/item/devices/item/transitive_member_of/item/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/users/item/devices/item/transitive_member_of/item/graph_group/graph_group_request_builder.py index 0e450b98c07..4744a6caa98 100644 --- a/msgraph_beta/generated/users/item/devices/item/transitive_member_of/item/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/transitive_member_of/item/graph_group/graph_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/users/item/devices/item/transitive_member_of/transitive_member_of_request_builder.py b/msgraph_beta/generated/users/item/devices/item/transitive_member_of/transitive_member_of_request_builder.py index 5a368af523b..6f1c50277ed 100644 --- a/msgraph_beta/generated/users/item/devices/item/transitive_member_of/transitive_member_of_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/transitive_member_of/transitive_member_of_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[TransitiveMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TransitiveMemberOfRequestBuilder: diff --git a/msgraph_beta/generated/users/item/devices/item/usage_rights/item/usage_right_item_request_builder.py b/msgraph_beta/generated/users/item/devices/item/usage_rights/item/usage_right_item_request_builder.py index 1aab12f6ce6..2dc0d8a189b 100644 --- a/msgraph_beta/generated/users/item/devices/item/usage_rights/item/usage_right_item_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/usage_rights/item/usage_right_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UsageRigh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UsageRightItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UsageRightIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UsageRight] = None, request_configuration: Optional[UsageRightItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UsageRight] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/devices/item/usage_rights/usage_rights_request_builder.py b/msgraph_beta/generated/users/item/devices/item/usage_rights/usage_rights_request_builder.py index bf4c03de370..2213b53b4c5 100644 --- a/msgraph_beta/generated/users/item/devices/item/usage_rights/usage_rights_request_builder.py +++ b/msgraph_beta/generated/users/item/devices/item/usage_rights/usage_rights_request_builder.py @@ -45,7 +45,7 @@ def by_usage_right_id(self,usage_right_id: str) -> UsageRightItemRequestBuilder: async def get(self,request_configuration: Optional[UsageRightsRequestBuilderGetRequestConfiguration] = None) -> Optional[UsageRightCollectionResponse]: """ - Retrieve a list of usageRight objects for a given device. This API is available in the following national cloud deployments. + Retrieve a list of usageRight objects for a given device. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UsageRightCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/device-list-usagerights?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[UsageRight] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[UsageRightsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of usageRight objects for a given device. This API is available in the following national cloud deployments. + Retrieve a list of usageRight objects for a given device. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[UsageRightsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UsageRight] = None, request_configuration: Optional[UsageRightsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UsageRight] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class UsageRightsRequestBuilderGetQueryParameters(): """ - Retrieve a list of usageRight objects for a given device. This API is available in the following national cloud deployments. + Retrieve a list of usageRight objects for a given device. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/direct_reports/direct_reports_request_builder.py b/msgraph_beta/generated/users/item/direct_reports/direct_reports_request_builder.py index 8c98a41926a..3c15214b3f0 100644 --- a/msgraph_beta/generated/users/item/direct_reports/direct_reports_request_builder.py +++ b/msgraph_beta/generated/users/item/direct_reports/direct_reports_request_builder.py @@ -46,7 +46,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem async def get(self,request_configuration: Optional[DirectReportsRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryObjectCollectionResponse]: """ - The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. Supports $expand. + The users and contacts that report to the user. (The users and contacts with their manager property set to this user.) Read-only. Nullable. Supports $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/user-list-directreports?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[DirectReportsRequestBuilderGe def to_get_request_information(self,request_configuration: Optional[DirectReportsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. Supports $expand. + The users and contacts that report to the user. (The users and contacts with their manager property set to this user.) Read-only. Nullable. Supports $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectReport request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectReportsRequestBuilder: @@ -123,7 +123,7 @@ def graph_user(self) -> GraphUserRequestBuilder: @dataclass class DirectReportsRequestBuilderGetQueryParameters(): """ - The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. Supports $expand. + The users and contacts that report to the user. (The users and contacts with their manager property set to this user.) Read-only. Nullable. Supports $expand. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/direct_reports/graph_org_contact/graph_org_contact_request_builder.py b/msgraph_beta/generated/users/item/direct_reports/graph_org_contact/graph_org_contact_request_builder.py index b62a29d8567..f38562b64a7 100644 --- a/msgraph_beta/generated/users/item/direct_reports/graph_org_contact/graph_org_contact_request_builder.py +++ b/msgraph_beta/generated/users/item/direct_reports/graph_org_contact/graph_org_contact_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphOrgCont request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphOrgContactRequestBuilder: diff --git a/msgraph_beta/generated/users/item/direct_reports/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/users/item/direct_reports/graph_user/graph_user_request_builder.py index 8f6643e9d7f..17ae3d05521 100644 --- a/msgraph_beta/generated/users/item/direct_reports/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/users/item/direct_reports/graph_user/graph_user_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/users/item/direct_reports/item/directory_object_item_request_builder.py b/msgraph_beta/generated/users/item/direct_reports/item/directory_object_item_request_builder.py index 409ae99b977..b0bc3b40fe1 100644 --- a/msgraph_beta/generated/users/item/direct_reports/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/users/item/direct_reports/item/directory_object_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DirectoryObjectItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. Supports $expand. + The users and contacts that report to the user. (The users and contacts with their manager property set to this user.) Read-only. Nullable. Supports $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[DirectoryObjectItemRequestBui def to_get_request_information(self,request_configuration: Optional[DirectoryObjectItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. Supports $expand. + The users and contacts that report to the user. (The users and contacts with their manager property set to this user.) Read-only. Nullable. Supports $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: @@ -97,7 +97,7 @@ def graph_user(self) -> GraphUserRequestBuilder: @dataclass class DirectoryObjectItemRequestBuilderGetQueryParameters(): """ - The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. Supports $expand. + The users and contacts that report to the user. (The users and contacts with their manager property set to this user.) Read-only. Nullable. Supports $expand. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/direct_reports/item/graph_org_contact/graph_org_contact_request_builder.py b/msgraph_beta/generated/users/item/direct_reports/item/graph_org_contact/graph_org_contact_request_builder.py index c624df135b8..3ae84ddf478 100644 --- a/msgraph_beta/generated/users/item/direct_reports/item/graph_org_contact/graph_org_contact_request_builder.py +++ b/msgraph_beta/generated/users/item/direct_reports/item/graph_org_contact/graph_org_contact_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphOrgCont request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphOrgContactRequestBuilder: diff --git a/msgraph_beta/generated/users/item/direct_reports/item/graph_user/graph_user_request_builder.py b/msgraph_beta/generated/users/item/direct_reports/item/graph_user/graph_user_request_builder.py index 59657da09da..b6136e614c1 100644 --- a/msgraph_beta/generated/users/item/direct_reports/item/graph_user/graph_user_request_builder.py +++ b/msgraph_beta/generated/users/item/direct_reports/item/graph_user/graph_user_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphUserReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphUserRequestBuilder: diff --git a/msgraph_beta/generated/users/item/drive/drive_request_builder.py b/msgraph_beta/generated/users/item/drive/drive_request_builder.py index cc54b9b6650..1977c65f9db 100644 --- a/msgraph_beta/generated/users/item/drive/drive_request_builder.py +++ b/msgraph_beta/generated/users/item/drive/drive_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DriveRequestBuilderGetRequestConfiguration] = None) -> Optional[Drive]: """ - Retrieve the properties and relationships of a Drive resource. A Drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a Drive resource. A Drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Drive] Find more info here: https://learn.microsoft.com/graph/api/drive-get?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DriveRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DriveRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a Drive resource. A Drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a Drive resource. A Drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DriveRequestBuilder: @dataclass class DriveRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a Drive resource. A Drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a Drive resource. A Drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/drives/drives_request_builder.py b/msgraph_beta/generated/users/item/drives/drives_request_builder.py index 0b033018daf..1bd3c30f82d 100644 --- a/msgraph_beta/generated/users/item/drives/drives_request_builder.py +++ b/msgraph_beta/generated/users/item/drives/drives_request_builder.py @@ -44,7 +44,7 @@ def by_drive_id(self,drive_id: str) -> DriveItemRequestBuilder: async def get(self,request_configuration: Optional[DrivesRequestBuilderGetRequestConfiguration] = None) -> Optional[DriveCollectionResponse]: """ - Retrieve the list of Drive resources available for a target User, Group, or Site. This API is available in the following national cloud deployments. + Retrieve the list of Drive resources available for a target User, Group, or Site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DriveCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/drive-list?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[DrivesRequestBuilderGetReques def to_get_request_information(self,request_configuration: Optional[DrivesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of Drive resources available for a target User, Group, or Site. This API is available in the following national cloud deployments. + Retrieve the list of Drive resources available for a target User, Group, or Site. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[DrivesReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DrivesRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DrivesRequestBuilderGetQueryParameters(): """ - Retrieve the list of Drive resources available for a target User, Group, or Site. This API is available in the following national cloud deployments. + Retrieve the list of Drive resources available for a target User, Group, or Site. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/drives/item/drive_item_request_builder.py b/msgraph_beta/generated/users/item/drives/item/drive_item_request_builder.py index 099051f21fe..9e671874d5a 100644 --- a/msgraph_beta/generated/users/item/drives/item/drive_item_request_builder.py +++ b/msgraph_beta/generated/users/item/drives/item/drive_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DriveItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DriveItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/employee_experience/employee_experience_request_builder.py b/msgraph_beta/generated/users/item/employee_experience/employee_experience_request_builder.py index 2606c93cd19..0af808b6c08 100644 --- a/msgraph_beta/generated/users/item/employee_experience/employee_experience_request_builder.py +++ b/msgraph_beta/generated/users/item/employee_experience/employee_experience_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[EmployeeE request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EmployeeExperienceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[EmployeeExpe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EmployeeExperienceUser] = None, request_configuration: Optional[EmployeeExperienceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[EmployeeExperienceUser] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/employee_experience/learning_course_activities/item/learning_course_activity_item_request_builder.py b/msgraph_beta/generated/users/item/employee_experience/learning_course_activities/item/learning_course_activity_item_request_builder.py index c6ad58d840f..ba0c15882e4 100644 --- a/msgraph_beta/generated/users/item/employee_experience/learning_course_activities/item/learning_course_activity_item_request_builder.py +++ b/msgraph_beta/generated/users/item/employee_experience/learning_course_activities/item/learning_course_activity_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[LearningCourseActivityItemRequestBuilderGetRequestConfiguration] = None) -> Optional[LearningCourseActivity]: """ - Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. This API is available in the following national cloud deployments. + Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LearningCourseActivity] Find more info here: https://learn.microsoft.com/graph/api/learningcourseactivity-get?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[LearningCourseActivityItemReq def to_get_request_information(self,request_configuration: Optional[LearningCourseActivityItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. This API is available in the following national cloud deployments. + Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[LearningCour request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LearningCourseActivityItemRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> LearningCourseActivityItemRe @dataclass class LearningCourseActivityItemRequestBuilderGetQueryParameters(): """ - Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. This API is available in the following national cloud deployments. + Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/employee_experience/learning_course_activities/learning_course_activities_request_builder.py b/msgraph_beta/generated/users/item/employee_experience/learning_course_activities/learning_course_activities_request_builder.py index 3e02f5e86a8..705edca145b 100644 --- a/msgraph_beta/generated/users/item/employee_experience/learning_course_activities/learning_course_activities_request_builder.py +++ b/msgraph_beta/generated/users/item/employee_experience/learning_course_activities/learning_course_activities_request_builder.py @@ -44,7 +44,7 @@ def by_learning_course_activity_id(self,learning_course_activity_id: str) -> Lea async def get(self,request_configuration: Optional[LearningCourseActivitiesRequestBuilderGetRequestConfiguration] = None) -> Optional[LearningCourseActivityCollectionResponse]: """ - Get a list of the learningCourseActivity objects (assigned or self-initiated) for a user. This API is available in the following national cloud deployments. + Get a list of the learningCourseActivity objects (assigned or self-initiated) for a user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LearningCourseActivityCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/learningcourseactivity-list?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[LearningCourseActivitiesReque def to_get_request_information(self,request_configuration: Optional[LearningCourseActivitiesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the learningCourseActivity objects (assigned or self-initiated) for a user. This API is available in the following national cloud deployments. + Get a list of the learningCourseActivity objects (assigned or self-initiated) for a user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[LearningCour request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LearningCourseActivitiesRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class LearningCourseActivitiesRequestBuilderGetQueryParameters(): """ - Get a list of the learningCourseActivity objects (assigned or self-initiated) for a user. This API is available in the following national cloud deployments. + Get a list of the learningCourseActivity objects (assigned or self-initiated) for a user. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/events/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/events/delta/delta_request_builder.py index cf84eed25ef..3288322b0b1 100644 --- a/msgraph_beta/generated/users/item/events/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/events/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/events/events_request_builder.py b/msgraph_beta/generated/users/item/events/events_request_builder.py index 52772ee0e86..e6303bc2501 100644 --- a/msgraph_beta/generated/users/item/events/events_request_builder.py +++ b/msgraph_beta/generated/users/item/events/events_request_builder.py @@ -46,7 +46,7 @@ def by_event_id(self,event_id: str) -> EventItemRequestBuilder: async def get(self,request_configuration: Optional[EventsRequestBuilderGetRequestConfiguration] = None) -> Optional[EventCollectionResponse]: """ - Get a list of event objects from the user's default calendar orfrom a specified calendar. The list contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. There are two scenarios where an app can get events in another user's calendar: This API is available in the following national cloud deployments. + Get a list of event objects from the user's default calendar orfrom a specified calendar. The list contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. There are two scenarios where an app can get events in another user's calendar: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EventCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/user-list-events?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[EventsRequestBuilderGetReques async def post(self,body: Optional[Event] = None, request_configuration: Optional[EventsRequestBuilderPostRequestConfiguration] = None) -> Optional[Event]: """ - Create an event in the user's default calendar or specified calendar. By default, the allowNewTimeProposals property is set to true when an event is created, which means invitees can propose a different date/time for the event. See Propose new meeting times for more information on how to propose a time, and how to receive and accept a new time proposal. You can specify the time zone for each of the start and end times of the event as part of their values, because the start and end properties are of dateTimeTimeZone type. First find the supported time zones to make sure you set only time zones that have been configured for the user's mailbox server. When an event is sent, the server sends invitations to all the attendees. Setting the location in an event An Exchange administrator can set up a mailbox and an email address for a resource such as a meeting room, or equipmentlike a projector. Users can then invite the resource as an attendee to a meeting. On behalf of the resource, the server accepts or rejectsthe meeting request based on the free/busy schedule of the resource.If the server accepts a meeting for the resource, it creates an event for the meeting in the resource's calendar. If the meeting is rescheduled,the server automatically updates the event in the resource's calendar. Another advantage of setting up a mailbox for a resource is to control scheduling of the resource, for example, only executivesor their delegates can book a private meeting room. If you're organizing an event that involves a meeting location: Additionally, if the meeting location has been set up as a resource, or if the event involves some equipment that has been set up as a resource: This API is available in the following national cloud deployments. + Create an event in the user's default calendar or specified calendar. By default, the allowNewTimeProposals property is set to true when an event is created, which means invitees can propose a different date/time for the event. See Propose new meeting times for more information on how to propose a time, and how to receive and accept a new time proposal. You can specify the time zone for each of the start and end times of the event as part of their values, because the start and end properties are of dateTimeTimeZone type. First find the supported time zones to make sure you set only time zones that have been configured for the user's mailbox server. When an event is sent, the server sends invitations to all the attendees. Setting the location in an event An Exchange administrator can set up a mailbox and an email address for a resource such as a meeting room, or equipmentlike a projector. Users can then invite the resource as an attendee to a meeting. On behalf of the resource, the server accepts or rejectsthe meeting request based on the free/busy schedule of the resource.If the server accepts a meeting for the resource, it creates an event for the meeting in the resource's calendar. If the meeting is rescheduled,the server automatically updates the event in the resource's calendar. Another advantage of setting up a mailbox for a resource is to control scheduling of the resource, for example, only executivesor their delegates can book a private meeting room. If you're organizing an event that involves a meeting location: Additionally, if the meeting location has been set up as a resource, or if the event involves some equipment that has been set up as a resource: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Event] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Event] = None, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[EventsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of event objects from the user's default calendar orfrom a specified calendar. The list contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. There are two scenarios where an app can get events in another user's calendar: This API is available in the following national cloud deployments. + Get a list of event objects from the user's default calendar orfrom a specified calendar. The list contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. There are two scenarios where an app can get events in another user's calendar: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[EventsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Event] = None, request_configuration: Optional[EventsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an event in the user's default calendar or specified calendar. By default, the allowNewTimeProposals property is set to true when an event is created, which means invitees can propose a different date/time for the event. See Propose new meeting times for more information on how to propose a time, and how to receive and accept a new time proposal. You can specify the time zone for each of the start and end times of the event as part of their values, because the start and end properties are of dateTimeTimeZone type. First find the supported time zones to make sure you set only time zones that have been configured for the user's mailbox server. When an event is sent, the server sends invitations to all the attendees. Setting the location in an event An Exchange administrator can set up a mailbox and an email address for a resource such as a meeting room, or equipmentlike a projector. Users can then invite the resource as an attendee to a meeting. On behalf of the resource, the server accepts or rejectsthe meeting request based on the free/busy schedule of the resource.If the server accepts a meeting for the resource, it creates an event for the meeting in the resource's calendar. If the meeting is rescheduled,the server automatically updates the event in the resource's calendar. Another advantage of setting up a mailbox for a resource is to control scheduling of the resource, for example, only executivesor their delegates can book a private meeting room. If you're organizing an event that involves a meeting location: Additionally, if the meeting location has been set up as a resource, or if the event involves some equipment that has been set up as a resource: This API is available in the following national cloud deployments. + Create an event in the user's default calendar or specified calendar. By default, the allowNewTimeProposals property is set to true when an event is created, which means invitees can propose a different date/time for the event. See Propose new meeting times for more information on how to propose a time, and how to receive and accept a new time proposal. You can specify the time zone for each of the start and end times of the event as part of their values, because the start and end properties are of dateTimeTimeZone type. First find the supported time zones to make sure you set only time zones that have been configured for the user's mailbox server. When an event is sent, the server sends invitations to all the attendees. Setting the location in an event An Exchange administrator can set up a mailbox and an email address for a resource such as a meeting room, or equipmentlike a projector. Users can then invite the resource as an attendee to a meeting. On behalf of the resource, the server accepts or rejectsthe meeting request based on the free/busy schedule of the resource.If the server accepts a meeting for the resource, it creates an event for the meeting in the resource's calendar. If the meeting is rescheduled,the server automatically updates the event in the resource's calendar. Another advantage of setting up a mailbox for a resource is to control scheduling of the resource, for example, only executivesor their delegates can book a private meeting room. If you're organizing an event that involves a meeting location: Additionally, if the meeting location has been set up as a resource, or if the event involves some equipment that has been set up as a resource: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Event] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class EventsRequestBuilderGetQueryParameters(): """ - Get a list of event objects from the user's default calendar orfrom a specified calendar. The list contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. There are two scenarios where an app can get events in another user's calendar: This API is available in the following national cloud deployments. + Get a list of event objects from the user's default calendar orfrom a specified calendar. The list contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, orget the instances of an event. There are two scenarios where an app can get events in another user's calendar: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/events/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/events/item/accept/accept_request_builder.py index 5b8204c1e54..848ba2fa0b7 100644 --- a/msgraph_beta/generated/users/item/events/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/events/item/attachments/attachments_request_builder.py index d4fcde463ed..c50e39aa783 100644 --- a/msgraph_beta/generated/users/item/events/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.py index efcef0b2a00..d96eaf9ca1d 100644 --- a/msgraph_beta/generated/users/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/events/item/attachments/item/attachment_item_request_builder.py index 7271d604978..9e8d55925db 100644 --- a/msgraph_beta/generated/users/item/events/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/events/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/events/item/calendar/calendar_request_builder.py index a95ca6c514f..501285364c1 100644 --- a/msgraph_beta/generated/users/item/events/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/events/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/events/item/cancel/cancel_request_builder.py index 84ad4f8ce7f..a859079151a 100644 --- a/msgraph_beta/generated/users/item/events/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/events/item/decline/decline_request_builder.py index 653258e2de3..405b6fcb071 100644 --- a/msgraph_beta/generated/users/item/events/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/events/item/dismiss_reminder/dismiss_reminder_request_builder.py index c05253eaa54..b2ebb8d4b24 100644 --- a/msgraph_beta/generated/users/item/events/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/events/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/events/item/event_item_request_builder.py index d12c405b80b..ff79c5d640b 100644 --- a/msgraph_beta/generated/users/item/events/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/event_item_request_builder.py @@ -40,7 +40,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[EventItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Removes the specified event from the containing calendar. If the event is a meeting, deleting the event on the organizer's calendar sends a cancellation message to the meeting attendees. This API is available in the following national cloud deployments. + Removes the specified event from the containing calendar. If the event is a meeting, deleting the event on the organizer's calendar sends a cancellation message to the meeting attendees. 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/event-delete?view=graph-rest-1.0 @@ -60,7 +60,7 @@ async def delete(self,request_configuration: Optional[EventItemRequestBuilderDel async def get(self,request_configuration: Optional[EventItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Event]: """ - Get the properties and relationships of the specified event object. An app can get an event in another user's calendar if: Because the event resource supports extensions, you can also use the GET operation to get custom properties and extension data in an event instance. This API is available in the following national cloud deployments. + Get the properties and relationships of the specified event object. An app can get an event in another user's calendar if: Because the event resource supports extensions, you can also use the GET operation to get custom properties and extension data in an event instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Event] Find more info here: https://learn.microsoft.com/graph/api/event-get?view=graph-rest-1.0 @@ -82,7 +82,7 @@ async def get(self,request_configuration: Optional[EventItemRequestBuilderGetReq async def patch(self,body: Optional[Event] = None, request_configuration: Optional[EventItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Event]: """ - Update the properties of the event object. This API is available in the following national cloud deployments. + Update the properties of the event object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Event] @@ -107,7 +107,7 @@ async def patch(self,body: Optional[Event] = None, request_configuration: Option def to_delete_request_information(self,request_configuration: Optional[EventItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Removes the specified event from the containing calendar. If the event is a meeting, deleting the event on the organizer's calendar sends a cancellation message to the meeting attendees. This API is available in the following national cloud deployments. + Removes the specified event from the containing calendar. If the event is a meeting, deleting the event on the organizer's calendar sends a cancellation message to the meeting attendees. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -118,12 +118,12 @@ def to_delete_request_information(self,request_configuration: Optional[EventItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EventItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of the specified event object. An app can get an event in another user's calendar if: Because the event resource supports extensions, you can also use the GET operation to get custom properties and extension data in an event instance. This API is available in the following national cloud deployments. + Get the properties and relationships of the specified event object. An app can get an event in another user's calendar if: Because the event resource supports extensions, you can also use the GET operation to get custom properties and extension data in an event instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -135,12 +135,12 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Event] = None, request_configuration: Optional[EventItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of the event object. This API is available in the following national cloud deployments. + Update the properties of the event object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -154,7 +154,7 @@ def to_patch_request_information(self,body: Optional[Event] = None, request_conf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -289,7 +289,7 @@ class EventItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration @dataclass class EventItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of the specified event object. An app can get an event in another user's calendar if: Because the event resource supports extensions, you can also use the GET operation to get custom properties and extension data in an event instance. This API is available in the following national cloud deployments. + Get the properties and relationships of the specified event object. An app can get an event in another user's calendar if: Because the event resource supports extensions, you can also use the GET operation to get custom properties and extension data in an event instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/delta/delta_request_builder.py index 06c5888948f..b39e38abdc4 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/exception_occurrences_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/exception_occurrences_request_builder.py index ca95e976f61..d870d6ecc93 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/exception_occurrences_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/exception_occurrences_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ExceptionOcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExceptionOccurrencesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/accept/accept_request_builder.py index 9103939d639..936dc952e66 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py index 2e6f4434897..8a664fbe71d 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py index 792c68ae424..4fa0fbd0e56 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py index 5d69eac62cf..1aded190ecc 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/calendar/calendar_request_builder.py index f24f92a4154..2e2069f83d6 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/cancel/cancel_request_builder.py index ab934865298..3322c584051 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/decline/decline_request_builder.py index b6cc48b5b97..c66c0e40302 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py index 0f8e77cfc85..9b559864dd6 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/event_item_request_builder.py index 1ac9eaa054e..3e84901aa23 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/event_item_request_builder.py @@ -72,7 +72,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/extensions/extensions_request_builder.py index cace9ba2e26..9da0b51c5de 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py index 94c7cdc9c60..f4af5135493 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/forward/forward_request_builder.py index 2ddab1d449a..75313774b41 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/delta/delta_request_builder.py index 3e096ed18d5..886db7bf304 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/instances_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/instances_request_builder.py index 2c727d580c1..74a392669fc 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/instances_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/instances_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[InstancesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InstancesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py index cf0eba8ca65..18973a31618 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py index b7939d1da73..0ae0951452a 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py index 8c4602dee28..bade1eb64b8 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py index 52ffa14c25c..e17561486d5 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py index 26a6da12f27..7913ed1359c 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py index 00cea001b49..6aeac3439da 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py index aaff9aa56aa..7520a1ba394 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py index b6e89ff2442..3d897417249 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/event_item_request_builder.py index 91a4af78eae..23d574048dc 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/event_item_request_builder.py @@ -71,7 +71,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py index 12da399af4c..384ce407f1d 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py index 119b47670aa..a77f0b2597e 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py index c3475387cf0..398c0609be7 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py index 29ac1d400b4..33deb6686bd 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py index 562be70458b..745d9ccfb1a 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py index 018891ef440..caa53ba9514 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py index d5dbb186c8a..11e3cf8d466 100644 --- a/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/events/item/extensions/extensions_request_builder.py index ffed4ac4f90..c23ab550b27 100644 --- a/msgraph_beta/generated/users/item/events/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/events/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/events/item/extensions/item/extension_item_request_builder.py index ff3180c64aa..3ee8e096005 100644 --- a/msgraph_beta/generated/users/item/events/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/events/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/events/item/forward/forward_request_builder.py index e8a995fae2e..2f93a05ac91 100644 --- a/msgraph_beta/generated/users/item/events/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/instances/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/delta/delta_request_builder.py index adc4b6bedc8..cd3c76c12a3 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/events/item/instances/instances_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/instances_request_builder.py index 9fdea320e39..761707ca29b 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/instances_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/instances_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[InstancesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InstancesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/accept/accept_request_builder.py index 2ebfeae8915..5097f49ee70 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/attachments/attachments_request_builder.py index cd87d46dc39..7954e1dcd2e 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py index a069166891a..b4271ecc011 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/attachments/item/attachment_item_request_builder.py index 11e4e2aaaaa..a7366ec9088 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/calendar/calendar_request_builder.py index a739775c7a4..fe0abcf0b72 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/cancel/cancel_request_builder.py index 2c313530655..ebcc67ec224 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/decline/decline_request_builder.py index 38bf389c3b5..9a1f9644175 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py index 7e882418385..a2ec4efdae3 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/event_item_request_builder.py index c42ec41e83a..5a8a6292c0d 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/event_item_request_builder.py @@ -72,7 +72,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/delta/delta_request_builder.py index 469dc9bd656..5a635657c92 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/event-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. This API is available in the following national cloud deployments. + Get a set of event resources that have been added, deleted, or updated in one or more calendars. You can get specific types of these incremental changes in the events in all the calendars of a mailbox or in a specific calendar, or in an event collection of a calendarView (range of events defined by start and end dates) of a calendar. The calendar can be the default calendar or some other specified calendar of the user's. In the case of getting incremental changes on calendarView, the calendar can be a group calendar as well. Typically, synchronizing events in a calendar or calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendar, without having to fetch all the events of that calendar from the server every time. The following table lists the differences between the delta function on events and the delta function on a calendarView in a calendar. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py index 1d27366dd33..c5f0f7ce16e 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/exception_occurrences_request_builder.py @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[ExceptionOcc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExceptionOccurrencesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py index f12a80503c6..7fdf968b1fd 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/accept/accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[AcceptPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = None, request_configuration: Optional[AcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Accept the specified event in a user calendar. This API is available in the following national cloud deployments. + Accept the specified event in a user calendar. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[AcceptPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py index 11205a04064..fdbcec24aa5 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/event-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. This API is available in the following national cloud deployments. + Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to an event. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects attached to an event. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py index 32d99a0c53b..4f6cbe5456f 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py index daafd2f7e38..dff49ae4a42 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/attachments/item/attachment_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. 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/attachment-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderG def to_delete_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an attachment from a user calendar event, message, Outlook task, or post. This API is available in the following national cloud deployments. + Delete an attachment from a user calendar event, message, Outlook task, or post. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,12 +81,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -98,7 +98,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -124,7 +124,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py index 2f278c1bd46..ee44c56b461 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/calendar/calendar_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[CalendarRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CalendarRequestBuilder: diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py index 2823dc5c855..1de6b01d1a8 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/cancel/cancel_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[CancelPostRequestBody] = None, request_config def to_post_request_information(self,body: Optional[CancelPostRequestBody] = None, request_configuration: Optional[CancelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. This API is available in the following national cloud deployments. + This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[CancelPostRequestBody] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py index 0a9f1aaa790..4abdb0fa816 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/decline/decline_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> None: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[DeclinePostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = None, request_configuration: Optional[DeclineRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[DeclinePostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py index 5cc35bc7097..17b8163218d 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/dismiss_reminder/dismiss_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. 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/event-dismissreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[DismissReminderRequestBuilde def to_post_request_information(self,request_configuration: Optional[DismissReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Dismiss a reminder that has been triggered for an event in a user calendar. This API is available in the following national cloud deployments. + Dismiss a reminder that has been triggered for an event in a user calendar. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[DismissRemi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DismissReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/event_item_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/event_item_request_builder.py index 7cbdb5431b4..a072ef58c57 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/event_item_request_builder.py @@ -71,7 +71,7 @@ def to_get_request_information(self,request_configuration: Optional[EventItemReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EventItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py index 9ec6640c6ce..ff67363284d 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py index c9f5729be80..84e95f5e210 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py index 3e003aa5fca..7993b20c3ef 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py index e5277295fd3..7339dbbb5d2 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py index 15c8eb58b26..c8831f439f9 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/exception_occurrences/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/extensions/extensions_request_builder.py index 1f2c2dabfed..e9f68074c26 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/extensions/item/extension_item_request_builder.py index c1779b799cf..267e241e876 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/extensions/item/extension_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/forward/forward_request_builder.py index 9bbf565ac15..65b96e1bdb2 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. This API is available in the following national cloud deployments. + This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py index 41f65c200d3..1e6c878f78a 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py index d3e11e7e282..ef074c96f9d 100644 --- a/msgraph_beta/generated/users/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/snooze_reminder/snooze_reminder_request_builder.py b/msgraph_beta/generated/users/item/events/item/snooze_reminder/snooze_reminder_request_builder.py index cd7a6b578ae..900e9b5d53f 100644 --- a/msgraph_beta/generated/users/item/events/item/snooze_reminder/snooze_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/snooze_reminder/snooze_reminder_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SnoozeReminderPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBody] = None, request_configuration: Optional[SnoozeReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Postpone a reminder for an event in a user calendar until a new time. This API is available in the following national cloud deployments. + Postpone a reminder for an event in a user calendar until a new time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SnoozeReminderPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/events/item/tentatively_accept/tentatively_accept_request_builder.py b/msgraph_beta/generated/users/item/events/item/tentatively_accept/tentatively_accept_request_builder.py index 97959b3ec0a..bc1c701a3eb 100644 --- a/msgraph_beta/generated/users/item/events/item/tentatively_accept/tentatively_accept_request_builder.py +++ b/msgraph_beta/generated/users/item/events/item/tentatively_accept/tentatively_accept_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> None: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[TentativelyAcceptPostRequestBody] = None, req def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequestBody] = None, request_configuration: Optional[TentativelyAcceptRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. This API is available in the following national cloud deployments. + Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[TentativelyAcceptPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/export_device_and_app_management_data/export_device_and_app_management_data_request_builder.py b/msgraph_beta/generated/users/item/export_device_and_app_management_data/export_device_and_app_management_data_request_builder.py index 943d56009ab..54c0c8f95fc 100644 --- a/msgraph_beta/generated/users/item/export_device_and_app_management_data/export_device_and_app_management_data_request_builder.py +++ b/msgraph_beta/generated/users/item/export_device_and_app_management_data/export_device_and_app_management_data_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[ExportDevice request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExportDeviceAndAppManagementDataRequestBuilder: diff --git a/msgraph_beta/generated/users/item/export_device_and_app_management_data_with_skip_with_top/export_device_and_app_management_data_with_skip_with_top_request_builder.py b/msgraph_beta/generated/users/item/export_device_and_app_management_data_with_skip_with_top/export_device_and_app_management_data_with_skip_with_top_request_builder.py index ab2ad955e5a..02ab705b939 100644 --- a/msgraph_beta/generated/users/item/export_device_and_app_management_data_with_skip_with_top/export_device_and_app_management_data_with_skip_with_top_request_builder.py +++ b/msgraph_beta/generated/users/item/export_device_and_app_management_data_with_skip_with_top/export_device_and_app_management_data_with_skip_with_top_request_builder.py @@ -65,7 +65,7 @@ def to_get_request_information(self,request_configuration: Optional[ExportDevice request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder: diff --git a/msgraph_beta/generated/users/item/export_personal_data/export_personal_data_request_builder.py b/msgraph_beta/generated/users/item/export_personal_data/export_personal_data_request_builder.py index 2aa841d00b8..4b6a198c6ba 100644 --- a/msgraph_beta/generated/users/item/export_personal_data/export_personal_data_request_builder.py +++ b/msgraph_beta/generated/users/item/export_personal_data/export_personal_data_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ExportPersonalDataPostRequestBody] = None, request_configuration: Optional[ExportPersonalDataRequestBuilderPostRequestConfiguration] = None) -> None: """ - Submit a data policy operation request from a company administrator or an application to export an organizational user's data. This data includes the user's data stored in OneDrive and their activity reports. For more guidance about exporting data while complying with regulations, see Data Subject Requests and the GDPR and CCPA. This API is available in the following national cloud deployments. + Submit a data policy operation request from a company administrator or an application to export an organizational user's data. This data includes the user's data stored in OneDrive and their activity reports. For more guidance about exporting data while complying with regulations, see Data Subject Requests and the GDPR and CCPA. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ExportPersonalDataPostRequestBody] = None, re def to_post_request_information(self,body: Optional[ExportPersonalDataPostRequestBody] = None, request_configuration: Optional[ExportPersonalDataRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Submit a data policy operation request from a company administrator or an application to export an organizational user's data. This data includes the user's data stored in OneDrive and their activity reports. For more guidance about exporting data while complying with regulations, see Data Subject Requests and the GDPR and CCPA. This API is available in the following national cloud deployments. + Submit a data policy operation request from a company administrator or an application to export an organizational user's data. This data includes the user's data stored in OneDrive and their activity reports. For more guidance about exporting data while complying with regulations, see Data Subject Requests and the GDPR and CCPA. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ExportPersonalDataPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/extensions/extensions_request_builder.py index a8f2f4f96aa..d5af7ec2359 100644 --- a/msgraph_beta/generated/users/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/extensions/extensions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/extensions/item/extension_item_request_builder.py index 1ee8ec30884..d082d185e4a 100644 --- a/msgraph_beta/generated/users/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/extensions/item/extension_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/find_meeting_times/find_meeting_times_request_builder.py b/msgraph_beta/generated/users/item/find_meeting_times/find_meeting_times_request_builder.py index 034bf859b9b..887518f4973 100644 --- a/msgraph_beta/generated/users/item/find_meeting_times/find_meeting_times_request_builder.py +++ b/msgraph_beta/generated/users/item/find_meeting_times/find_meeting_times_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[FindMeetingTimesPostRequestBody] = None, request_configuration: Optional[FindMeetingTimesRequestBuilderPostRequestConfiguration] = None) -> Optional[MeetingTimeSuggestionsResult]: """ - Suggest meeting times and locations based on organizer and attendee availability, and time or location constraints specified as parameters. If findMeetingTimes cannot return any meeting suggestions, the response would indicate a reason in the emptySuggestionsReason property. Based on this value, you can better adjust the parameters and call findMeetingTimes again. The algorithm used to suggest meeting times and locations undergoes fine-tuning from time to time. In scenarios like test environments where the input parameters and calendar data remain static, expect that the suggested results may differ over time. This API is available in the following national cloud deployments. + Suggest meeting times and locations based on organizer and attendee availability, and time or location constraints specified as parameters. If findMeetingTimes cannot return any meeting suggestions, the response would indicate a reason in the emptySuggestionsReason property. Based on this value, you can better adjust the parameters and call findMeetingTimes again. The algorithm used to suggest meeting times and locations undergoes fine-tuning from time to time. In scenarios like test environments where the input parameters and calendar data remain static, expect that the suggested results may differ over time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingTimeSuggestionsResult] @@ -54,7 +54,7 @@ async def post(self,body: Optional[FindMeetingTimesPostRequestBody] = None, requ def to_post_request_information(self,body: Optional[FindMeetingTimesPostRequestBody] = None, request_configuration: Optional[FindMeetingTimesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Suggest meeting times and locations based on organizer and attendee availability, and time or location constraints specified as parameters. If findMeetingTimes cannot return any meeting suggestions, the response would indicate a reason in the emptySuggestionsReason property. Based on this value, you can better adjust the parameters and call findMeetingTimes again. The algorithm used to suggest meeting times and locations undergoes fine-tuning from time to time. In scenarios like test environments where the input parameters and calendar data remain static, expect that the suggested results may differ over time. This API is available in the following national cloud deployments. + Suggest meeting times and locations based on organizer and attendee availability, and time or location constraints specified as parameters. If findMeetingTimes cannot return any meeting suggestions, the response would indicate a reason in the emptySuggestionsReason property. Based on this value, you can better adjust the parameters and call findMeetingTimes again. The algorithm used to suggest meeting times and locations undergoes fine-tuning from time to time. In scenarios like test environments where the input parameters and calendar data remain static, expect that the suggested results may differ over time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[FindMeetingTimesPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/find_room_lists/find_room_lists_request_builder.py b/msgraph_beta/generated/users/item/find_room_lists/find_room_lists_request_builder.py index c5d012b62f1..1c4b21f855c 100644 --- a/msgraph_beta/generated/users/item/find_room_lists/find_room_lists_request_builder.py +++ b/msgraph_beta/generated/users/item/find_room_lists/find_room_lists_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[FindRoomListsRequestBuilderGetRequestConfiguration] = None) -> Optional[FindRoomListsGetResponse]: """ - Get the room lists defined in a tenant, as represented by their emailAddress objects. Tenants can organize meeting rooms into room lists. In this API, each meeting room and room list is represented by an emailAddress instance.You can get all the room lists in the tenant, get all the rooms in the tenant, or get all the rooms in a specific room list. This API is available in the following national cloud deployments. + Get the room lists defined in a tenant, as represented by their emailAddress objects. Tenants can organize meeting rooms into room lists. In this API, each meeting room and room list is represented by an emailAddress instance.You can get all the room lists in the tenant, get all the rooms in the tenant, or get all the rooms in a specific room list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FindRoomListsGetResponse] Find more info here: https://learn.microsoft.com/graph/api/user-findroomlists?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[FindRoomListsRequestBuilderGe def to_get_request_information(self,request_configuration: Optional[FindRoomListsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the room lists defined in a tenant, as represented by their emailAddress objects. Tenants can organize meeting rooms into room lists. In this API, each meeting room and room list is represented by an emailAddress instance.You can get all the room lists in the tenant, get all the rooms in the tenant, or get all the rooms in a specific room list. This API is available in the following national cloud deployments. + Get the room lists defined in a tenant, as represented by their emailAddress objects. Tenants can organize meeting rooms into room lists. In this API, each meeting room and room list is represented by an emailAddress instance.You can get all the room lists in the tenant, get all the rooms in the tenant, or get all the rooms in a specific room list. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[FindRoomList request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FindRoomListsRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> FindRoomListsRequestBuilder: @dataclass class FindRoomListsRequestBuilderGetQueryParameters(): """ - Get the room lists defined in a tenant, as represented by their emailAddress objects. Tenants can organize meeting rooms into room lists. In this API, each meeting room and room list is represented by an emailAddress instance.You can get all the room lists in the tenant, get all the rooms in the tenant, or get all the rooms in a specific room list. This API is available in the following national cloud deployments. + Get the room lists defined in a tenant, as represented by their emailAddress objects. Tenants can organize meeting rooms into room lists. In this API, each meeting room and room list is represented by an emailAddress instance.You can get all the room lists in the tenant, get all the rooms in the tenant, or get all the rooms in a specific room list. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/find_rooms/find_rooms_request_builder.py b/msgraph_beta/generated/users/item/find_rooms/find_rooms_request_builder.py index fe084f12eb7..bed9ceba353 100644 --- a/msgraph_beta/generated/users/item/find_rooms/find_rooms_request_builder.py +++ b/msgraph_beta/generated/users/item/find_rooms/find_rooms_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[FindRoomsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FindRoomsRequestBuilder: diff --git a/msgraph_beta/generated/users/item/find_rooms_with_room_list/find_rooms_with_room_list_request_builder.py b/msgraph_beta/generated/users/item/find_rooms_with_room_list/find_rooms_with_room_list_request_builder.py index e7818ec9e31..1be3f61cb58 100644 --- a/msgraph_beta/generated/users/item/find_rooms_with_room_list/find_rooms_with_room_list_request_builder.py +++ b/msgraph_beta/generated/users/item/find_rooms_with_room_list/find_rooms_with_room_list_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FindRoomsWit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FindRoomsWithRoomListRequestBuilder: diff --git a/msgraph_beta/generated/users/item/followed_sites/followed_sites_request_builder.py b/msgraph_beta/generated/users/item/followed_sites/followed_sites_request_builder.py index 87effb15c6b..7d32e710850 100644 --- a/msgraph_beta/generated/users/item/followed_sites/followed_sites_request_builder.py +++ b/msgraph_beta/generated/users/item/followed_sites/followed_sites_request_builder.py @@ -44,7 +44,7 @@ def by_site_id(self,site_id: str) -> SiteItemRequestBuilder: async def get(self,request_configuration: Optional[FollowedSitesRequestBuilderGetRequestConfiguration] = None) -> Optional[SiteCollectionResponse]: """ - List the sites that have been followed by the signed in user. This API is available in the following national cloud deployments. + List the sites that have been followed by the signed in user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sites-list-followed?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[FollowedSitesRequestBuilderGe def to_get_request_information(self,request_configuration: Optional[FollowedSitesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List the sites that have been followed by the signed in user. This API is available in the following national cloud deployments. + List the sites that have been followed by the signed in user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[FollowedSite request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FollowedSitesRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class FollowedSitesRequestBuilderGetQueryParameters(): """ - List the sites that have been followed by the signed in user. This API is available in the following national cloud deployments. + List the sites that have been followed by the signed in user. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/followed_sites/item/site_item_request_builder.py b/msgraph_beta/generated/users/item/followed_sites/item/site_item_request_builder.py index 46d53c92895..7e5740fc93e 100644 --- a/msgraph_beta/generated/users/item/followed_sites/item/site_item_request_builder.py +++ b/msgraph_beta/generated/users/item/followed_sites/item/site_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SiteItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SiteItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/get_effective_device_enrollment_configurations/get_effective_device_enrollment_configurations_request_builder.py b/msgraph_beta/generated/users/item/get_effective_device_enrollment_configurations/get_effective_device_enrollment_configurations_request_builder.py index 6428cb65264..17d6c8f0291 100644 --- a/msgraph_beta/generated/users/item/get_effective_device_enrollment_configurations/get_effective_device_enrollment_configurations_request_builder.py +++ b/msgraph_beta/generated/users/item/get_effective_device_enrollment_configurations/get_effective_device_enrollment_configurations_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetEffective request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetEffectiveDeviceEnrollmentConfigurationsRequestBuilder: diff --git a/msgraph_beta/generated/users/item/get_logged_on_managed_devices/get_logged_on_managed_devices_request_builder.py b/msgraph_beta/generated/users/item/get_logged_on_managed_devices/get_logged_on_managed_devices_request_builder.py index 41d5b9f6751..cb9e325a382 100644 --- a/msgraph_beta/generated/users/item/get_logged_on_managed_devices/get_logged_on_managed_devices_request_builder.py +++ b/msgraph_beta/generated/users/item/get_logged_on_managed_devices/get_logged_on_managed_devices_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetLoggedOnM request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetLoggedOnManagedDevicesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/get_mail_tips/get_mail_tips_request_builder.py b/msgraph_beta/generated/users/item/get_mail_tips/get_mail_tips_request_builder.py index a1def5b121e..ab29f2077de 100644 --- a/msgraph_beta/generated/users/item/get_mail_tips/get_mail_tips_request_builder.py +++ b/msgraph_beta/generated/users/item/get_mail_tips/get_mail_tips_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetMailTipsPostRequestBody] = None, request_configuration: Optional[GetMailTipsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetMailTipsPostResponse]: """ - Get the MailTips of one or more recipients as available to the signed-in user. Note that by making a POST call to the getMailTips action, you can request specific types of MailTips tobe returned for more than one recipient at one time. The requested MailTips are returned in a mailTips collection. This API is available in the following national cloud deployments. + Get the MailTips of one or more recipients as available to the signed-in user. Note that by making a POST call to the getMailTips action, you can request specific types of MailTips tobe returned for more than one recipient at one time. The requested MailTips are returned in a mailTips collection. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMailTipsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetMailTipsPostRequestBody] = None, request_c def to_post_request_information(self,body: Optional[GetMailTipsPostRequestBody] = None, request_configuration: Optional[GetMailTipsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Get the MailTips of one or more recipients as available to the signed-in user. Note that by making a POST call to the getMailTips action, you can request specific types of MailTips tobe returned for more than one recipient at one time. The requested MailTips are returned in a mailTips collection. This API is available in the following national cloud deployments. + Get the MailTips of one or more recipients as available to the signed-in user. Note that by making a POST call to the getMailTips action, you can request specific types of MailTips tobe returned for more than one recipient at one time. The requested MailTips are returned in a mailTips collection. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetMailTipsPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/get_managed_app_diagnostic_statuses/get_managed_app_diagnostic_statuses_request_builder.py b/msgraph_beta/generated/users/item/get_managed_app_diagnostic_statuses/get_managed_app_diagnostic_statuses_request_builder.py index 82b9b796766..6fe0ddc4be7 100644 --- a/msgraph_beta/generated/users/item/get_managed_app_diagnostic_statuses/get_managed_app_diagnostic_statuses_request_builder.py +++ b/msgraph_beta/generated/users/item/get_managed_app_diagnostic_statuses/get_managed_app_diagnostic_statuses_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetManagedAp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetManagedAppDiagnosticStatusesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/get_managed_app_policies/get_managed_app_policies_request_builder.py b/msgraph_beta/generated/users/item/get_managed_app_policies/get_managed_app_policies_request_builder.py index a5713a9a1bb..bfe2a57c7bc 100644 --- a/msgraph_beta/generated/users/item/get_managed_app_policies/get_managed_app_policies_request_builder.py +++ b/msgraph_beta/generated/users/item/get_managed_app_policies/get_managed_app_policies_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetManagedAp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetManagedAppPoliciesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/get_managed_devices_with_app_failures/get_managed_devices_with_app_failures_request_builder.py b/msgraph_beta/generated/users/item/get_managed_devices_with_app_failures/get_managed_devices_with_app_failures_request_builder.py index a3ba250bfbb..a9787a4ce77 100644 --- a/msgraph_beta/generated/users/item/get_managed_devices_with_app_failures/get_managed_devices_with_app_failures_request_builder.py +++ b/msgraph_beta/generated/users/item/get_managed_devices_with_app_failures/get_managed_devices_with_app_failures_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetManagedDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetManagedDevicesWithAppFailuresRequestBuilder: diff --git a/msgraph_beta/generated/users/item/get_managed_devices_with_failed_or_pending_apps/get_managed_devices_with_failed_or_pending_apps_request_builder.py b/msgraph_beta/generated/users/item/get_managed_devices_with_failed_or_pending_apps/get_managed_devices_with_failed_or_pending_apps_request_builder.py index 15d55f63cac..2f6cead8894 100644 --- a/msgraph_beta/generated/users/item/get_managed_devices_with_failed_or_pending_apps/get_managed_devices_with_failed_or_pending_apps_request_builder.py +++ b/msgraph_beta/generated/users/item/get_managed_devices_with_failed_or_pending_apps/get_managed_devices_with_failed_or_pending_apps_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetManagedDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetManagedDevicesWithFailedOrPendingAppsRequestBuilder: diff --git a/msgraph_beta/generated/users/item/get_member_groups/get_member_groups_request_builder.py b/msgraph_beta/generated/users/item/get_member_groups/get_member_groups_request_builder.py index a5b05c319ab..c7d3e5b15d5 100644 --- a/msgraph_beta/generated/users/item/get_member_groups/get_member_groups_request_builder.py +++ b/msgraph_beta/generated/users/item/get_member_groups/get_member_groups_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetMemberGroupsPostResponse]: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetMemberGroupsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetMemberGroupsPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBody] = None, request_configuration: Optional[GetMemberGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. This API is available in the following national cloud deployments. + Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetMemberGroupsPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/get_member_objects/get_member_objects_request_builder.py b/msgraph_beta/generated/users/item/get_member_objects/get_member_objects_request_builder.py index 6fbaf3b1ffa..3466595a488 100644 --- a/msgraph_beta/generated/users/item/get_member_objects/get_member_objects_request_builder.py +++ b/msgraph_beta/generated/users/item/get_member_objects/get_member_objects_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[GetMemberObjectsPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/get_password_single_sign_on_credentials/get_password_single_sign_on_credentials_post_response.py b/msgraph_beta/generated/users/item/get_password_single_sign_on_credentials/get_password_single_sign_on_credentials_post_response.py new file mode 100644 index 00000000000..6ee3e24bf35 --- /dev/null +++ b/msgraph_beta/generated/users/item/get_password_single_sign_on_credentials/get_password_single_sign_on_credentials_post_response.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.password_single_sign_on_credential_set import PasswordSingleSignOnCredentialSet + +from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class GetPasswordSingleSignOnCredentialsPostResponse(BaseCollectionPaginationCountResponse): + # The value property + value: Optional[List[PasswordSingleSignOnCredentialSet]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> GetPasswordSingleSignOnCredentialsPostResponse: + """ + 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: GetPasswordSingleSignOnCredentialsPostResponse + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return GetPasswordSingleSignOnCredentialsPostResponse() + + 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.password_single_sign_on_credential_set import PasswordSingleSignOnCredentialSet + + from ....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from ....models.password_single_sign_on_credential_set import PasswordSingleSignOnCredentialSet + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(PasswordSingleSignOnCredentialSet)), + } + 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 not writer: + 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/get_password_single_sign_on_credentials/get_password_single_sign_on_credentials_request_builder.py b/msgraph_beta/generated/users/item/get_password_single_sign_on_credentials/get_password_single_sign_on_credentials_request_builder.py new file mode 100644 index 00000000000..738e3a44ab1 --- /dev/null +++ b/msgraph_beta/generated/users/item/get_password_single_sign_on_credentials/get_password_single_sign_on_credentials_request_builder.py @@ -0,0 +1,86 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ....models.o_data_errors.o_data_error import ODataError + from .get_password_single_sign_on_credentials_post_response import GetPasswordSingleSignOnCredentialsPostResponse + +class GetPasswordSingleSignOnCredentialsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getPasswordSingleSignOnCredentials method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new GetPasswordSingleSignOnCredentialsRequestBuilder 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}/getPasswordSingleSignOnCredentials", path_parameters) + + async def post(self,request_configuration: Optional[GetPasswordSingleSignOnCredentialsRequestBuilderPostRequestConfiguration] = None) -> Optional[GetPasswordSingleSignOnCredentialsPostResponse]: + """ + Invoke action getPasswordSingleSignOnCredentials + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[GetPasswordSingleSignOnCredentialsPostResponse] + """ + request_info = self.to_post_request_information( + request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .get_password_single_sign_on_credentials_post_response import GetPasswordSingleSignOnCredentialsPostResponse + + return await self.request_adapter.send_async(request_info, GetPasswordSingleSignOnCredentialsPostResponse, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[GetPasswordSingleSignOnCredentialsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action getPasswordSingleSignOnCredentials + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> GetPasswordSingleSignOnCredentialsRequestBuilder: + """ + 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: GetPasswordSingleSignOnCredentialsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GetPasswordSingleSignOnCredentialsRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GetPasswordSingleSignOnCredentialsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/users/item/inference_classification/inference_classification_request_builder.py b/msgraph_beta/generated/users/item/inference_classification/inference_classification_request_builder.py index d7fa2d3c0da..9c77963bdbe 100644 --- a/msgraph_beta/generated/users/item/inference_classification/inference_classification_request_builder.py +++ b/msgraph_beta/generated/users/item/inference_classification/inference_classification_request_builder.py @@ -86,7 +86,7 @@ def to_get_request_information(self,request_configuration: Optional[InferenceCla request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[InferenceClassification] = None, request_configuration: Optional[InferenceClassificationRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -105,7 +105,7 @@ def to_patch_request_information(self,body: Optional[InferenceClassification] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/inference_classification/overrides/item/inference_classification_override_item_request_builder.py b/msgraph_beta/generated/users/item/inference_classification/overrides/item/inference_classification_override_item_request_builder.py index 856188f4c0e..988492af1da 100644 --- a/msgraph_beta/generated/users/item/inference_classification/overrides/item/inference_classification_override_item_request_builder.py +++ b/msgraph_beta/generated/users/item/inference_classification/overrides/item/inference_classification_override_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[InferenceClassificationOverrideItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a focused Inbox override specified by its ID. This API is available in the following national cloud deployments. + Delete a focused Inbox override specified by its ID. 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/inferenceclassificationoverride-delete?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[InferenceClassificationOverri async def patch(self,body: Optional[InferenceClassificationOverride] = None, request_configuration: Optional[InferenceClassificationOverrideItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[InferenceClassificationOverride]: """ - Change the classifyAs field of a focused Inbox override as specified. You cannot use PATCH to change any other fields in an inferenceClassificationOverride instance. If an override exists for a sender and the sender changes his/her display name, you can use POST to force an update to the name field in the existing override. If an override exists for a sender and the sender changes his/her SMTP address, deleting the existing override and creating a new one withthe new SMTP address is the only way to 'update' the override for this sender. This API is available in the following national cloud deployments. + Change the classifyAs field of a focused Inbox override as specified. You cannot use PATCH to change any other fields in an inferenceClassificationOverride instance. If an override exists for a sender and the sender changes his/her display name, you can use POST to force an update to the name field in the existing override. If an override exists for a sender and the sender changes his/her SMTP address, deleting the existing override and creating a new one withthe new SMTP address is the only way to 'update' the override for this sender. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InferenceClassificationOverride] @@ -94,7 +94,7 @@ async def patch(self,body: Optional[InferenceClassificationOverride] = None, req def to_delete_request_information(self,request_configuration: Optional[InferenceClassificationOverrideItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a focused Inbox override specified by its ID. This API is available in the following national cloud deployments. + Delete a focused Inbox override specified by its ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Inference request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[InferenceClassificationOverrideItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[InferenceCla request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[InferenceClassificationOverride] = None, request_configuration: Optional[InferenceClassificationOverrideItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Change the classifyAs field of a focused Inbox override as specified. You cannot use PATCH to change any other fields in an inferenceClassificationOverride instance. If an override exists for a sender and the sender changes his/her display name, you can use POST to force an update to the name field in the existing override. If an override exists for a sender and the sender changes his/her SMTP address, deleting the existing override and creating a new one withthe new SMTP address is the only way to 'update' the override for this sender. This API is available in the following national cloud deployments. + Change the classifyAs field of a focused Inbox override as specified. You cannot use PATCH to change any other fields in an inferenceClassificationOverride instance. If an override exists for a sender and the sender changes his/her display name, you can use POST to force an update to the name field in the existing override. If an override exists for a sender and the sender changes his/her SMTP address, deleting the existing override and creating a new one withthe new SMTP address is the only way to 'update' the override for this sender. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[InferenceClassificationOver request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/inference_classification/overrides/overrides_request_builder.py b/msgraph_beta/generated/users/item/inference_classification/overrides/overrides_request_builder.py index 6ba4a3cd8cd..7cfd77d1c01 100644 --- a/msgraph_beta/generated/users/item/inference_classification/overrides/overrides_request_builder.py +++ b/msgraph_beta/generated/users/item/inference_classification/overrides/overrides_request_builder.py @@ -45,7 +45,7 @@ def by_inference_classification_override_id(self,inference_classification_overri async def get(self,request_configuration: Optional[OverridesRequestBuilderGetRequestConfiguration] = None) -> Optional[InferenceClassificationOverrideCollectionResponse]: """ - Get the Focused Inbox overrides that a user has set up to always classify messages from certain senders in specific ways. Each override corresponds to an SMTP address of a sender. Initially, a user does not have any overrides. This API is available in the following national cloud deployments. + Get the Focused Inbox overrides that a user has set up to always classify messages from certain senders in specific ways. Each override corresponds to an SMTP address of a sender. Initially, a user does not have any overrides. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InferenceClassificationOverrideCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/inferenceclassification-list-overrides?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[OverridesRequestBuilderGetReq async def post(self,body: Optional[InferenceClassificationOverride] = None, request_configuration: Optional[OverridesRequestBuilderPostRequestConfiguration] = None) -> Optional[InferenceClassificationOverride]: """ - Create a focused Inbox override for a sender identified by an SMTP address. Future messages from that SMTP address will be consistently classifiedas specified in the override. This API is available in the following national cloud deployments. + Create a focused Inbox override for a sender identified by an SMTP address. Future messages from that SMTP address will be consistently classifiedas specified in the override. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InferenceClassificationOverride] @@ -92,7 +92,7 @@ async def post(self,body: Optional[InferenceClassificationOverride] = None, requ def to_get_request_information(self,request_configuration: Optional[OverridesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the Focused Inbox overrides that a user has set up to always classify messages from certain senders in specific ways. Each override corresponds to an SMTP address of a sender. Initially, a user does not have any overrides. This API is available in the following national cloud deployments. + Get the Focused Inbox overrides that a user has set up to always classify messages from certain senders in specific ways. Each override corresponds to an SMTP address of a sender. Initially, a user does not have any overrides. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[OverridesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[InferenceClassificationOverride] = None, request_configuration: Optional[OverridesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a focused Inbox override for a sender identified by an SMTP address. Future messages from that SMTP address will be consistently classifiedas specified in the override. This API is available in the following national cloud deployments. + Create a focused Inbox override for a sender identified by an SMTP address. Future messages from that SMTP address will be consistently classifiedas specified in the override. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[InferenceClassificationOverr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OverridesRequestBuilderGetQueryParameters(): """ - Get the Focused Inbox overrides that a user has set up to always classify messages from certain senders in specific ways. Each override corresponds to an SMTP address of a sender. Initially, a user does not have any overrides. This API is available in the following national cloud deployments. + Get the Focused Inbox overrides that a user has set up to always classify messages from certain senders in specific ways. Each override corresponds to an SMTP address of a sender. Initially, a user does not have any overrides. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/information_protection/bitlocker/bitlocker_request_builder.py b/msgraph_beta/generated/users/item/information_protection/bitlocker/bitlocker_request_builder.py index 7f3c41b4efb..38abedaeaf0 100644 --- a/msgraph_beta/generated/users/item/information_protection/bitlocker/bitlocker_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/bitlocker/bitlocker_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[BitlockerReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> BitlockerRequestBuilder: diff --git a/msgraph_beta/generated/users/item/information_protection/bitlocker/recovery_keys/item/bitlocker_recovery_key_item_request_builder.py b/msgraph_beta/generated/users/item/information_protection/bitlocker/recovery_keys/item/bitlocker_recovery_key_item_request_builder.py index ed0b2c5cd0d..f89147e8c1d 100644 --- a/msgraph_beta/generated/users/item/information_protection/bitlocker/recovery_keys/item/bitlocker_recovery_key_item_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/bitlocker/recovery_keys/item/bitlocker_recovery_key_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[BitlockerRecoveryKeyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[BitlockerRecoveryKey]: """ - Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BitlockerRecoveryKey] Find more info here: https://learn.microsoft.com/graph/api/bitlockerrecoverykey-get?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[BitlockerRecoveryKeyItemReque def to_get_request_information(self,request_configuration: Optional[BitlockerRecoveryKeyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[BitlockerRec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> BitlockerRecoveryKeyItemRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> BitlockerRecoveryKeyItemRequ @dataclass class BitlockerRecoveryKeyItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers a Microsoft Entra audit of the operation and generates an audit log. You can find the log in Microsoft Entra audit logs under the KeyManagement category. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/information_protection/bitlocker/recovery_keys/recovery_keys_request_builder.py b/msgraph_beta/generated/users/item/information_protection/bitlocker/recovery_keys/recovery_keys_request_builder.py index 1e0db219cb1..38bc74eb694 100644 --- a/msgraph_beta/generated/users/item/information_protection/bitlocker/recovery_keys/recovery_keys_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/bitlocker/recovery_keys/recovery_keys_request_builder.py @@ -44,7 +44,7 @@ def by_bitlocker_recovery_key_id(self,bitlocker_recovery_key_id: str) -> Bitlock async def get(self,request_configuration: Optional[RecoveryKeysRequestBuilderGetRequestConfiguration] = None) -> Optional[BitlockerRecoveryKeyCollectionResponse]: """ - Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. This API is available in the following national cloud deployments. + Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[BitlockerRecoveryKeyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/bitlocker-list-recoverykeys?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[RecoveryKeysRequestBuilderGet def to_get_request_information(self,request_configuration: Optional[RecoveryKeysRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. This API is available in the following national cloud deployments. + Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[RecoveryKeys request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RecoveryKeysRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RecoveryKeysRequestBuilderGetQueryParameters(): """ - Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. This API is available in the following national cloud deployments. + Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/information_protection/data_loss_prevention_policies/data_loss_prevention_policies_request_builder.py b/msgraph_beta/generated/users/item/information_protection/data_loss_prevention_policies/data_loss_prevention_policies_request_builder.py index 2d5152ea0e8..df11faa9bef 100644 --- a/msgraph_beta/generated/users/item/information_protection/data_loss_prevention_policies/data_loss_prevention_policies_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/data_loss_prevention_policies/data_loss_prevention_policies_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[DataLossPrev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DataLossPreventionPolicy] = None, request_configuration: Optional[DataLossPreventionPoliciesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[DataLossPreventionPolicy] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/information_protection/data_loss_prevention_policies/evaluate/evaluate_request_builder.py b/msgraph_beta/generated/users/item/information_protection/data_loss_prevention_policies/evaluate/evaluate_request_builder.py index 580f520858c..55503ba377b 100644 --- a/msgraph_beta/generated/users/item/information_protection/data_loss_prevention_policies/evaluate/evaluate_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/data_loss_prevention_policies/evaluate/evaluate_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[EvaluatePostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/information_protection/data_loss_prevention_policies/item/data_loss_prevention_policy_item_request_builder.py b/msgraph_beta/generated/users/item/information_protection/data_loss_prevention_policies/item/data_loss_prevention_policy_item_request_builder.py index 77feecffe6f..c6b8421d58b 100644 --- a/msgraph_beta/generated/users/item/information_protection/data_loss_prevention_policies/item/data_loss_prevention_policy_item_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/data_loss_prevention_policies/item/data_loss_prevention_policy_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DataLossP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DataLossPreventionPolicyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DataLossPrev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DataLossPreventionPolicy] = None, request_configuration: Optional[DataLossPreventionPolicyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DataLossPreventionPolicy] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py b/msgraph_beta/generated/users/item/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py index 4a1d7fb1bfe..0a80ba2f62a 100644 --- a/msgraph_beta/generated/users/item/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/decrypt_buffer/decrypt_buffer_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[DecryptBufferPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py b/msgraph_beta/generated/users/item/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py index 4d3140e9b1e..42130ca681a 100644 --- a/msgraph_beta/generated/users/item/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/encrypt_buffer/encrypt_buffer_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[EncryptBufferPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/information_protection/information_protection_request_builder.py b/msgraph_beta/generated/users/item/information_protection/information_protection_request_builder.py index 34e3b6cd55b..75d5c7aa67a 100644 --- a/msgraph_beta/generated/users/item/information_protection/information_protection_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/information_protection_request_builder.py @@ -113,7 +113,7 @@ def to_delete_request_information(self,request_configuration: Optional[Informati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[InformationProtectionRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -130,7 +130,7 @@ def to_get_request_information(self,request_configuration: Optional[InformationP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[InformationProtection] = None, request_configuration: Optional[InformationProtectionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -149,7 +149,7 @@ def to_patch_request_information(self,body: Optional[InformationProtection] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py b/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py index dcf784f074b..250d0772048 100644 --- a/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_application/evaluate_application_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[EvaluateApplicationPostRequestBody] = None, request_configuration: Optional[EvaluateApplicationRequestBuilderPostRequestConfiguration] = None) -> Optional[EvaluateApplicationPostResponse]: """ - Compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set manually or explicitly by a user or service, rather than automatically based on file contents. Given contentInfo, which includes existing content metadata key/value pairs, and labelingOptions as an input, the API returns an informationProtectionAction object that contains one of more of the following: This API is available in the following national cloud deployments. + Compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set manually or explicitly by a user or service, rather than automatically based on file contents. Given contentInfo, which includes existing content metadata key/value pairs, and labelingOptions as an input, the API returns an informationProtectionAction object that contains one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EvaluateApplicationPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[EvaluateApplicationPostRequestBody] = None, r def to_post_request_information(self,body: Optional[EvaluateApplicationPostRequestBody] = None, request_configuration: Optional[EvaluateApplicationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set manually or explicitly by a user or service, rather than automatically based on file contents. Given contentInfo, which includes existing content metadata key/value pairs, and labelingOptions as an input, the API returns an informationProtectionAction object that contains one of more of the following: This API is available in the following national cloud deployments. + Compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set manually or explicitly by a user or service, rather than automatically based on file contents. Given contentInfo, which includes existing content metadata key/value pairs, and labelingOptions as an input, the API returns an informationProtectionAction object that contains one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[EvaluateApplicationPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py b/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py index 1738b775941..3276ca4a8eb 100644 --- a/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_classification_results/evaluate_classification_results_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[EvaluateClassificationResultsPostRequestBody] = None, request_configuration: Optional[EvaluateClassificationResultsRequestBuilderPostRequestConfiguration] = None) -> Optional[EvaluateClassificationResultsPostResponse]: """ - Using classification results, compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set automatically based on classification of the file contents, rather than labeled directly by a user or service. To evaluate based on classification results, provide contentInfo, which includes existing content metadata key/value pairs, and classification results. The API returns an informationProtectionAction that contains one of more of the following: This API is available in the following national cloud deployments. + Using classification results, compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set automatically based on classification of the file contents, rather than labeled directly by a user or service. To evaluate based on classification results, provide contentInfo, which includes existing content metadata key/value pairs, and classification results. The API returns an informationProtectionAction that contains one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EvaluateClassificationResultsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[EvaluateClassificationResultsPostRequestBody] def to_post_request_information(self,body: Optional[EvaluateClassificationResultsPostRequestBody] = None, request_configuration: Optional[EvaluateClassificationResultsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Using classification results, compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set automatically based on classification of the file contents, rather than labeled directly by a user or service. To evaluate based on classification results, provide contentInfo, which includes existing content metadata key/value pairs, and classification results. The API returns an informationProtectionAction that contains one of more of the following: This API is available in the following national cloud deployments. + Using classification results, compute the information protection label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set automatically based on classification of the file contents, rather than labeled directly by a user or service. To evaluate based on classification results, provide contentInfo, which includes existing content metadata key/value pairs, and classification results. The API returns an informationProtectionAction that contains one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[EvaluateClassificationResult request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py b/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py index cd2c76d8438..1d5876b72fe 100644 --- a/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/policy/labels/evaluate_removal/evaluate_removal_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[EvaluateRemovalPostRequestBody] = None, request_configuration: Optional[EvaluateRemovalRequestBuilderPostRequestConfiguration] = None) -> Optional[EvaluateRemovalPostResponse]: """ - Indicate to the consuming application what actions it should take to remove the label information. Given contentInfo as an input, which includes existing content metadata key/value pairs, the API returns an informationProtectionAction that contains some combination of one of more of the following: This API is available in the following national cloud deployments. + Indicate to the consuming application what actions it should take to remove the label information. Given contentInfo as an input, which includes existing content metadata key/value pairs, the API returns an informationProtectionAction that contains some combination of one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EvaluateRemovalPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[EvaluateRemovalPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[EvaluateRemovalPostRequestBody] = None, request_configuration: Optional[EvaluateRemovalRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Indicate to the consuming application what actions it should take to remove the label information. Given contentInfo as an input, which includes existing content metadata key/value pairs, the API returns an informationProtectionAction that contains some combination of one of more of the following: This API is available in the following national cloud deployments. + Indicate to the consuming application what actions it should take to remove the label information. Given contentInfo as an input, which includes existing content metadata key/value pairs, the API returns an informationProtectionAction that contains some combination of one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[EvaluateRemovalPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/information_protection/policy/labels/extract_label/extract_label_request_builder.py b/msgraph_beta/generated/users/item/information_protection/policy/labels/extract_label/extract_label_request_builder.py index bdbbfbd6f0a..ab3440c7b27 100644 --- a/msgraph_beta/generated/users/item/information_protection/policy/labels/extract_label/extract_label_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/policy/labels/extract_label/extract_label_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ExtractLabelPostRequestBody] = None, request_configuration: Optional[ExtractLabelRequestBuilderPostRequestConfiguration] = None) -> Optional[InformationProtectionContentLabel]: """ - Using the metadata that exists on an already-labeled piece of information, resolve the metadata to a specific sensitivity label. The contentInfo input is resolved to informationProtectionContentLabel. This API is available in the following national cloud deployments. + Using the metadata that exists on an already-labeled piece of information, resolve the metadata to a specific sensitivity label. The contentInfo input is resolved to informationProtectionContentLabel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionContentLabel] @@ -54,7 +54,7 @@ async def post(self,body: Optional[ExtractLabelPostRequestBody] = None, request_ def to_post_request_information(self,body: Optional[ExtractLabelPostRequestBody] = None, request_configuration: Optional[ExtractLabelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Using the metadata that exists on an already-labeled piece of information, resolve the metadata to a specific sensitivity label. The contentInfo input is resolved to informationProtectionContentLabel. This API is available in the following national cloud deployments. + Using the metadata that exists on an already-labeled piece of information, resolve the metadata to a specific sensitivity label. The contentInfo input is resolved to informationProtectionContentLabel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[ExtractLabelPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/information_protection/policy/labels/item/information_protection_label_item_request_builder.py b/msgraph_beta/generated/users/item/information_protection/policy/labels/item/information_protection_label_item_request_builder.py index 6d2cc4bf680..6ef2661da2d 100644 --- a/msgraph_beta/generated/users/item/information_protection/policy/labels/item/information_protection_label_item_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/policy/labels/item/information_protection_label_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[InformationProtectionLabel async def get(self,request_configuration: Optional[InformationProtectionLabelItemRequestBuilderGetRequestConfiguration] = None) -> Optional[InformationProtectionLabel]: """ - Retrieve the properties and relationships of an informationProtectionLabel object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an informationProtectionLabel object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionLabel] Find more info here: https://learn.microsoft.com/graph/api/informationprotectionlabel-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[Informati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[InformationProtectionLabelItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an informationProtectionLabel object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an informationProtectionLabel object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[InformationP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[InformationProtectionLabel] = None, request_configuration: Optional[InformationProtectionLabelItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[InformationProtectionLabel] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class InformationProtectionLabelItemRequestBuilderDeleteRequestConfiguration(Bas @dataclass class InformationProtectionLabelItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an informationProtectionLabel object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an informationProtectionLabel object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/information_protection/policy/labels/labels_request_builder.py b/msgraph_beta/generated/users/item/information_protection/policy/labels/labels_request_builder.py index 3f05684c3dc..8d6e3c2ba32 100644 --- a/msgraph_beta/generated/users/item/information_protection/policy/labels/labels_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/policy/labels/labels_request_builder.py @@ -49,7 +49,7 @@ def by_information_protection_label_id(self,information_protection_label_id: str async def get(self,request_configuration: Optional[LabelsRequestBuilderGetRequestConfiguration] = None) -> Optional[InformationProtectionLabelCollectionResponse]: """ - Get a collection of information protection labels available to the user or to the organization. This API is available in the following national cloud deployments. + Get a collection of information protection labels available to the user or to the organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionLabelCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/informationprotectionpolicy-list-labels?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def post(self,body: Optional[InformationProtectionLabel] = None, request_c def to_get_request_information(self,request_configuration: Optional[LabelsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a collection of information protection labels available to the user or to the organization. This API is available in the following national cloud deployments. + Get a collection of information protection labels available to the user or to the organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,7 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[LabelsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[InformationProtectionLabel] = None, request_configuration: Optional[LabelsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_post_request_information(self,body: Optional[InformationProtectionLabel] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ def extract_label(self) -> ExtractLabelRequestBuilder: @dataclass class LabelsRequestBuilderGetQueryParameters(): """ - Get a collection of information protection labels available to the user or to the organization. This API is available in the following national cloud deployments. + Get a collection of information protection labels available to the user or to the organization. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/information_protection/policy/policy_request_builder.py b/msgraph_beta/generated/users/item/information_protection/policy/policy_request_builder.py index 79338095731..133f34083d6 100644 --- a/msgraph_beta/generated/users/item/information_protection/policy/policy_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/policy/policy_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PolicyReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PolicyRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PolicyReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[InformationProtectionPolicy] = None, request_configuration: Optional[PolicyRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[InformationProtectionPolicy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/evaluate/evaluate_request_builder.py b/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/evaluate/evaluate_request_builder.py index cc6ba17aed8..229b959ddf5 100644 --- a/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/evaluate/evaluate_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/evaluate/evaluate_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[EvaluatePostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/item/sensitivity_label_item_request_builder.py b/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/item/sensitivity_label_item_request_builder.py index d7021a82ed9..44546d55759 100644 --- a/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/item/sensitivity_label_item_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/item/sensitivity_label_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Sensitivi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SensitivityLabelItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[SensitivityL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SensitivityLabel] = None, request_configuration: Optional[SensitivityLabelItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[SensitivityLabel] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_request_builder.py b/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_request_builder.py index 1e133694d10..f611a9bd141 100644 --- a/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/item/sublabels/evaluate/evaluate_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[EvaluatePostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/item/sublabels/item/sensitivity_label_item_request_builder.py b/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/item/sublabels/item/sensitivity_label_item_request_builder.py index 51dbbc44366..1c3396a5f62 100644 --- a/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/item/sublabels/item/sensitivity_label_item_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/item/sublabels/item/sensitivity_label_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Sensitivi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SensitivityLabelItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SensitivityL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SensitivityLabel] = None, request_configuration: Optional[SensitivityLabelItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[SensitivityLabel] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/item/sublabels/sublabels_request_builder.py b/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/item/sublabels/sublabels_request_builder.py index 3614567f5c1..14753b37096 100644 --- a/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/item/sublabels/sublabels_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/item/sublabels/sublabels_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SublabelsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SensitivityLabel] = None, request_configuration: Optional[SublabelsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SensitivityLabel] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/sensitivity_labels_request_builder.py b/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/sensitivity_labels_request_builder.py index f369ffebe33..34b3b3afa6f 100644 --- a/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/sensitivity_labels_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/sensitivity_labels/sensitivity_labels_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SensitivityL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SensitivityLabel] = None, request_configuration: Optional[SensitivityLabelsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SensitivityLabel] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/information_protection/sensitivity_policy_settings/sensitivity_policy_settings_request_builder.py b/msgraph_beta/generated/users/item/information_protection/sensitivity_policy_settings/sensitivity_policy_settings_request_builder.py index c8cca8628f4..8376ce386be 100644 --- a/msgraph_beta/generated/users/item/information_protection/sensitivity_policy_settings/sensitivity_policy_settings_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/sensitivity_policy_settings/sensitivity_policy_settings_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Sensitivi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SensitivityPolicySettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SensitivityP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SensitivityPolicySettings] = None, request_configuration: Optional[SensitivityPolicySettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[SensitivityPolicySettings] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/information_protection/sign_digest/sign_digest_request_builder.py b/msgraph_beta/generated/users/item/information_protection/sign_digest/sign_digest_request_builder.py index 9b60de612cb..4ea29301798 100644 --- a/msgraph_beta/generated/users/item/information_protection/sign_digest/sign_digest_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/sign_digest/sign_digest_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[SignDigestPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/information_protection/threat_assessment_requests/item/results/item/threat_assessment_result_item_request_builder.py b/msgraph_beta/generated/users/item/information_protection/threat_assessment_requests/item/results/item/threat_assessment_result_item_request_builder.py index 0849e3e7ad5..4c1151034ba 100644 --- a/msgraph_beta/generated/users/item/information_protection/threat_assessment_requests/item/results/item/threat_assessment_result_item_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/threat_assessment_requests/item/results/item/threat_assessment_result_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ThreatAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ThreatAssessmentResultItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ThreatAssess request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ThreatAssessmentResult] = None, request_configuration: Optional[ThreatAssessmentResultItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ThreatAssessmentResult] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/information_protection/threat_assessment_requests/item/results/results_request_builder.py b/msgraph_beta/generated/users/item/information_protection/threat_assessment_requests/item/results/results_request_builder.py index 79dc39f5e35..c5597f1b3a0 100644 --- a/msgraph_beta/generated/users/item/information_protection/threat_assessment_requests/item/results/results_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/threat_assessment_requests/item/results/results_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ResultsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ThreatAssessmentResult] = None, request_configuration: Optional[ResultsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ThreatAssessmentResult] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/information_protection/threat_assessment_requests/item/threat_assessment_request_item_request_builder.py b/msgraph_beta/generated/users/item/information_protection/threat_assessment_requests/item/threat_assessment_request_item_request_builder.py index c57a8442d6d..5ffaa6528b1 100644 --- a/msgraph_beta/generated/users/item/information_protection/threat_assessment_requests/item/threat_assessment_request_item_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/threat_assessment_requests/item/threat_assessment_request_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ThreatAssessmentRequestIte async def get(self,request_configuration: Optional[ThreatAssessmentRequestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ThreatAssessmentRequest]: """ - Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ThreatAssessmentRequest] Find more info here: https://learn.microsoft.com/graph/api/threatassessmentrequest-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ThreatAss request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ThreatAssessmentRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ThreatAssess request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ThreatAssessmentRequest] = None, request_configuration: Optional[ThreatAssessmentRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ThreatAssessmentRequest] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class ThreatAssessmentRequestItemRequestBuilderDeleteRequestConfiguration(BaseRe @dataclass class ThreatAssessmentRequestItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/information_protection/threat_assessment_requests/threat_assessment_requests_request_builder.py b/msgraph_beta/generated/users/item/information_protection/threat_assessment_requests/threat_assessment_requests_request_builder.py index 25d18ec3e25..9d81f822a90 100644 --- a/msgraph_beta/generated/users/item/information_protection/threat_assessment_requests/threat_assessment_requests_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/threat_assessment_requests/threat_assessment_requests_request_builder.py @@ -45,7 +45,7 @@ def by_threat_assessment_request_id(self,threat_assessment_request_id: str) -> T async def get(self,request_configuration: Optional[ThreatAssessmentRequestsRequestBuilderGetRequestConfiguration] = None) -> Optional[ThreatAssessmentRequestCollectionResponse]: """ - Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ThreatAssessmentRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/informationprotection-list-threatassessmentrequests?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ThreatAssessmentRequestsReque async def post(self,body: Optional[ThreatAssessmentRequest] = None, request_configuration: Optional[ThreatAssessmentRequestsRequestBuilderPostRequestConfiguration] = None) -> Optional[ThreatAssessmentRequest]: """ - Create a new threat assessment request. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Create a new threat assessment request. A threat assessment request can be one of the following types: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ThreatAssessmentRequest] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ThreatAssessmentRequest] = None, request_conf def to_get_request_information(self,request_configuration: Optional[ThreatAssessmentRequestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ThreatAssess request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ThreatAssessmentRequest] = None, request_configuration: Optional[ThreatAssessmentRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new threat assessment request. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Create a new threat assessment request. A threat assessment request can be one of the following types: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ThreatAssessmentRequest] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ThreatAssessmentRequestsRequestBuilderGetQueryParameters(): """ - Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: This API is available in the following national cloud deployments. + Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/information_protection/verify_signature/verify_signature_request_builder.py b/msgraph_beta/generated/users/item/information_protection/verify_signature/verify_signature_request_builder.py index 47b856d21f6..065a1749574 100644 --- a/msgraph_beta/generated/users/item/information_protection/verify_signature/verify_signature_request_builder.py +++ b/msgraph_beta/generated/users/item/information_protection/verify_signature/verify_signature_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[VerifySignaturePostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/insights/insights_request_builder.py b/msgraph_beta/generated/users/item/insights/insights_request_builder.py index 5ccd88b5f02..084d2cf31b5 100644 --- a/msgraph_beta/generated/users/item/insights/insights_request_builder.py +++ b/msgraph_beta/generated/users/item/insights/insights_request_builder.py @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[InsightsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[InsightsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[InsightsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemInsights] = None, request_configuration: Optional[InsightsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ItemInsights] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/insights/shared/item/last_shared_method/last_shared_method_request_builder.py b/msgraph_beta/generated/users/item/insights/shared/item/last_shared_method/last_shared_method_request_builder.py index 6e3878501bc..ece8f56319a 100644 --- a/msgraph_beta/generated/users/item/insights/shared/item/last_shared_method/last_shared_method_request_builder.py +++ b/msgraph_beta/generated/users/item/insights/shared/item/last_shared_method/last_shared_method_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[LastSharedMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LastSharedMethodRequestBuilder: diff --git a/msgraph_beta/generated/users/item/insights/shared/item/resource/resource_request_builder.py b/msgraph_beta/generated/users/item/insights/shared/item/resource/resource_request_builder.py index 4a8d305517d..c33d468505d 100644 --- a/msgraph_beta/generated/users/item/insights/shared/item/resource/resource_request_builder.py +++ b/msgraph_beta/generated/users/item/insights/shared/item/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/users/item/insights/shared/item/shared_insight_item_request_builder.py b/msgraph_beta/generated/users/item/insights/shared/item/shared_insight_item_request_builder.py index c4ca4188834..57adfd46f7e 100644 --- a/msgraph_beta/generated/users/item/insights/shared/item/shared_insight_item_request_builder.py +++ b/msgraph_beta/generated/users/item/insights/shared/item/shared_insight_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[SharedIns request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SharedInsightItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[SharedInsigh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SharedInsight] = None, request_configuration: Optional[SharedInsightItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[SharedInsight] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/insights/shared/shared_request_builder.py b/msgraph_beta/generated/users/item/insights/shared/shared_request_builder.py index eb6e1cbd88a..45f38d58ec3 100644 --- a/msgraph_beta/generated/users/item/insights/shared/shared_request_builder.py +++ b/msgraph_beta/generated/users/item/insights/shared/shared_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SharedReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SharedInsight] = None, request_configuration: Optional[SharedRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[SharedInsight] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/insights/trending/item/resource/resource_request_builder.py b/msgraph_beta/generated/users/item/insights/trending/item/resource/resource_request_builder.py index 687664b9330..43c1d85a7b3 100644 --- a/msgraph_beta/generated/users/item/insights/trending/item/resource/resource_request_builder.py +++ b/msgraph_beta/generated/users/item/insights/trending/item/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/users/item/insights/trending/item/trending_item_request_builder.py b/msgraph_beta/generated/users/item/insights/trending/item/trending_item_request_builder.py index 15255d2f2de..5d212eec0f5 100644 --- a/msgraph_beta/generated/users/item/insights/trending/item/trending_item_request_builder.py +++ b/msgraph_beta/generated/users/item/insights/trending/item/trending_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[TrendingI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TrendingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TrendingItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Trending] = None, request_configuration: Optional[TrendingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Trending] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/insights/trending/trending_request_builder.py b/msgraph_beta/generated/users/item/insights/trending/trending_request_builder.py index 95ffc427a0c..47572959a4a 100644 --- a/msgraph_beta/generated/users/item/insights/trending/trending_request_builder.py +++ b/msgraph_beta/generated/users/item/insights/trending/trending_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[TrendingRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Trending] = None, request_configuration: Optional[TrendingRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Trending] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/insights/used/item/resource/resource_request_builder.py b/msgraph_beta/generated/users/item/insights/used/item/resource/resource_request_builder.py index bf5f3feff7a..64427c7fb41 100644 --- a/msgraph_beta/generated/users/item/insights/used/item/resource/resource_request_builder.py +++ b/msgraph_beta/generated/users/item/insights/used/item/resource/resource_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResourceRequestBuilder: diff --git a/msgraph_beta/generated/users/item/insights/used/item/used_insight_item_request_builder.py b/msgraph_beta/generated/users/item/insights/used/item/used_insight_item_request_builder.py index 6008739dbd3..86c0a742184 100644 --- a/msgraph_beta/generated/users/item/insights/used/item/used_insight_item_request_builder.py +++ b/msgraph_beta/generated/users/item/insights/used/item/used_insight_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[UsedInsig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UsedInsightItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[UsedInsightI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UsedInsight] = None, request_configuration: Optional[UsedInsightItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[UsedInsight] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/insights/used/used_request_builder.py b/msgraph_beta/generated/users/item/insights/used/used_request_builder.py index 86f1c138087..0872f5f299a 100644 --- a/msgraph_beta/generated/users/item/insights/used/used_request_builder.py +++ b/msgraph_beta/generated/users/item/insights/used/used_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[UsedRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UsedInsight] = None, request_configuration: Optional[UsedRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[UsedInsight] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/invalidate_all_refresh_tokens/invalidate_all_refresh_tokens_request_builder.py b/msgraph_beta/generated/users/item/invalidate_all_refresh_tokens/invalidate_all_refresh_tokens_request_builder.py index af72ac44a23..5aacd4ba6ea 100644 --- a/msgraph_beta/generated/users/item/invalidate_all_refresh_tokens/invalidate_all_refresh_tokens_request_builder.py +++ b/msgraph_beta/generated/users/item/invalidate_all_refresh_tokens/invalidate_all_refresh_tokens_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[InvalidateAllRefreshTokensRequestBuilderPostRequestConfiguration] = None) -> Optional[InvalidateAllRefreshTokensPostResponse]: """ - Invalidates all of the user's refresh tokens issued to applications (as well as session cookies in a user's browser), by resetting the refreshTokensValidFromDateTime user property to the current date-time. Typically, this operation is performed (by the user or an administrator) if the user has a lost or stolen device. This operation would prevent access to any of the organization's data accessed through applications on the device without the user first being required to sign in again. In fact, this operation would force the user to sign in again for all applications that they have previously consented to, independent of device. For developers, if the application attempts to redeem a delegated access token for this user by using an invalidated refresh token, the application will get an error. If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint, which will force the user to sign in. This API is available in the following national cloud deployments. + Invalidates all of the user's refresh tokens issued to applications (as well as session cookies in a user's browser), by resetting the refreshTokensValidFromDateTime user property to the current date-time. Typically, this operation is performed (by the user or an administrator) if the user has a lost or stolen device. This operation would prevent access to any of the organization's data accessed through applications on the device without the user first being required to sign in again. In fact, this operation would force the user to sign in again for all applications that they have previously consented to, independent of device. For developers, if the application attempts to redeem a delegated access token for this user by using an invalidated refresh token, the application will get an error. If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint, which will force the user to sign in. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InvalidateAllRefreshTokensPostResponse] Find more info here: https://learn.microsoft.com/graph/api/user-invalidateallrefreshtokens?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[InvalidateAllRefreshTokensRe def to_post_request_information(self,request_configuration: Optional[InvalidateAllRefreshTokensRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Invalidates all of the user's refresh tokens issued to applications (as well as session cookies in a user's browser), by resetting the refreshTokensValidFromDateTime user property to the current date-time. Typically, this operation is performed (by the user or an administrator) if the user has a lost or stolen device. This operation would prevent access to any of the organization's data accessed through applications on the device without the user first being required to sign in again. In fact, this operation would force the user to sign in again for all applications that they have previously consented to, independent of device. For developers, if the application attempts to redeem a delegated access token for this user by using an invalidated refresh token, the application will get an error. If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint, which will force the user to sign in. This API is available in the following national cloud deployments. + Invalidates all of the user's refresh tokens issued to applications (as well as session cookies in a user's browser), by resetting the refreshTokensValidFromDateTime user property to the current date-time. Typically, this operation is performed (by the user or an administrator) if the user has a lost or stolen device. This operation would prevent access to any of the organization's data accessed through applications on the device without the user first being required to sign in again. In fact, this operation would force the user to sign in again for all applications that they have previously consented to, independent of device. For developers, if the application attempts to redeem a delegated access token for this user by using an invalidated refresh token, the application will get an error. If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint, which will force the user to sign in. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[InvalidateA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InvalidateAllRefreshTokensRequestBuilder: diff --git a/msgraph_beta/generated/users/item/is_managed_app_user_blocked/is_managed_app_user_blocked_request_builder.py b/msgraph_beta/generated/users/item/is_managed_app_user_blocked/is_managed_app_user_blocked_request_builder.py index d2766dba556..5b895a3aca7 100644 --- a/msgraph_beta/generated/users/item/is_managed_app_user_blocked/is_managed_app_user_blocked_request_builder.py +++ b/msgraph_beta/generated/users/item/is_managed_app_user_blocked/is_managed_app_user_blocked_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[IsManagedApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> IsManagedAppUserBlockedRequestBuilder: diff --git a/msgraph_beta/generated/users/item/joined_groups/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/joined_groups/delta/delta_request_builder.py index 17712c88476..a68d0f56ec3 100644 --- a/msgraph_beta/generated/users/item/joined_groups/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/joined_groups/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/users/item/joined_groups/evaluate_dynamic_membership/evaluate_dynamic_membership_request_builder.py b/msgraph_beta/generated/users/item/joined_groups/evaluate_dynamic_membership/evaluate_dynamic_membership_request_builder.py index e5aa3139086..66310cc0278 100644 --- a/msgraph_beta/generated/users/item/joined_groups/evaluate_dynamic_membership/evaluate_dynamic_membership_request_builder.py +++ b/msgraph_beta/generated/users/item/joined_groups/evaluate_dynamic_membership/evaluate_dynamic_membership_request_builder.py @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[EvaluateDynamicMembershipPos request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/joined_groups/joined_groups_request_builder.py b/msgraph_beta/generated/users/item/joined_groups/joined_groups_request_builder.py index 8c7266a96ac..e7cae2ea0d8 100644 --- a/msgraph_beta/generated/users/item/joined_groups/joined_groups_request_builder.py +++ b/msgraph_beta/generated/users/item/joined_groups/joined_groups_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[JoinedGroups request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> JoinedGroupsRequestBuilder: diff --git a/msgraph_beta/generated/users/item/joined_teams/item/team_item_request_builder.py b/msgraph_beta/generated/users/item/joined_teams/item/team_item_request_builder.py index 0822898527d..c77c58f4ec1 100644 --- a/msgraph_beta/generated/users/item/joined_teams/item/team_item_request_builder.py +++ b/msgraph_beta/generated/users/item/joined_teams/item/team_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[TeamItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Team]: """ - The Microsoft Teams teams that the user is a member of. Read-only. Nullable. + The Microsoft Teams teams the user is a member of. Read-only. Nullable. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Team] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[TeamItemRequestBuilderGetRequ def to_get_request_information(self,request_configuration: Optional[TeamItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - The Microsoft Teams teams that the user is a member of. Read-only. Nullable. + The Microsoft Teams teams the user is a member of. Read-only. Nullable. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamItemRequestBuilder: @@ -77,7 +77,7 @@ def with_url(self,raw_url: Optional[str] = None) -> TeamItemRequestBuilder: @dataclass class TeamItemRequestBuilderGetQueryParameters(): """ - The Microsoft Teams teams that the user is a member of. Read-only. Nullable. + The Microsoft Teams teams the user is a member of. Read-only. Nullable. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/joined_teams/joined_teams_request_builder.py b/msgraph_beta/generated/users/item/joined_teams/joined_teams_request_builder.py index 3a97340c30e..77d9fa860fc 100644 --- a/msgraph_beta/generated/users/item/joined_teams/joined_teams_request_builder.py +++ b/msgraph_beta/generated/users/item/joined_teams/joined_teams_request_builder.py @@ -44,7 +44,7 @@ def by_team_id(self,team_id: str) -> TeamItemRequestBuilder: async def get(self,request_configuration: Optional[JoinedTeamsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamCollectionResponse]: """ - Get the teams in Microsoft Teams that the user is a direct member of. This API is available in the following national cloud deployments. + Get the teams in Microsoft Teams that the user is a direct member of. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TeamCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/user-list-joinedteams?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[JoinedTeamsRequestBuilderGetR def to_get_request_information(self,request_configuration: Optional[JoinedTeamsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the teams in Microsoft Teams that the user is a direct member of. This API is available in the following national cloud deployments. + Get the teams in Microsoft Teams that the user is a direct member of. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[JoinedTeamsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> JoinedTeamsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class JoinedTeamsRequestBuilderGetQueryParameters(): """ - Get the teams in Microsoft Teams that the user is a direct member of. This API is available in the following national cloud deployments. + Get the teams in Microsoft Teams that the user is a direct member of. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/license_details/get_teams_licensing_details/get_teams_licensing_details_request_builder.py b/msgraph_beta/generated/users/item/license_details/get_teams_licensing_details/get_teams_licensing_details_request_builder.py new file mode 100644 index 00000000000..190aaa18822 --- /dev/null +++ b/msgraph_beta/generated/users/item/license_details/get_teams_licensing_details/get_teams_licensing_details_request_builder.py @@ -0,0 +1,86 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.teams_licensing_details import TeamsLicensingDetails + +class GetTeamsLicensingDetailsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getTeamsLicensingDetails method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new GetTeamsLicensingDetailsRequestBuilder 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}/licenseDetails/getTeamsLicensingDetails()", path_parameters) + + async def get(self,request_configuration: Optional[GetTeamsLicensingDetailsRequestBuilderGetRequestConfiguration] = None) -> Optional[TeamsLicensingDetails]: + """ + Invoke function getTeamsLicensingDetails + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[TeamsLicensingDetails] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: Dict[str, ParsableFactory] = { + "4XX": ODataError, + "5XX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.teams_licensing_details import TeamsLicensingDetails + + return await self.request_adapter.send_async(request_info, TeamsLicensingDetails, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[GetTeamsLicensingDetailsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: + """ + Invoke function getTeamsLicensingDetails + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.GET + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: Optional[str] = None) -> GetTeamsLicensingDetailsRequestBuilder: + """ + 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: GetTeamsLicensingDetailsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return GetTeamsLicensingDetailsRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class GetTeamsLicensingDetailsRequestBuilderGetRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/users/item/license_details/item/license_details_item_request_builder.py b/msgraph_beta/generated/users/item/license_details/item/license_details_item_request_builder.py index f151396ef8f..e7dd8b478c9 100644 --- a/msgraph_beta/generated/users/item/license_details/item/license_details_item_request_builder.py +++ b/msgraph_beta/generated/users/item/license_details/item/license_details_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[LicenseDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LicenseDetailsItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[LicenseDetai request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[LicenseDetails] = None, request_configuration: Optional[LicenseDetailsItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[LicenseDetails] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/license_details/license_details_request_builder.py b/msgraph_beta/generated/users/item/license_details/license_details_request_builder.py index 3f1096f6aa5..8f3c75c51cd 100644 --- a/msgraph_beta/generated/users/item/license_details/license_details_request_builder.py +++ b/msgraph_beta/generated/users/item/license_details/license_details_request_builder.py @@ -14,6 +14,7 @@ from ....models.license_details_collection_response import LicenseDetailsCollectionResponse from ....models.o_data_errors.o_data_error import ODataError from .count.count_request_builder import CountRequestBuilder + from .get_teams_licensing_details.get_teams_licensing_details_request_builder import GetTeamsLicensingDetailsRequestBuilder from .item.license_details_item_request_builder import LicenseDetailsItemRequestBuilder class LicenseDetailsRequestBuilder(BaseRequestBuilder): @@ -45,7 +46,7 @@ def by_license_details_id(self,license_details_id: str) -> LicenseDetailsItemReq async def get(self,request_configuration: Optional[LicenseDetailsRequestBuilderGetRequestConfiguration] = None) -> Optional[LicenseDetailsCollectionResponse]: """ - Retrieve a list of licenseDetails objects for enterprise users. This API returns details for licenses that are directly assigned and those transitively assigned through memberships in licensed groups. This API is available in the following national cloud deployments. + Retrieve a list of licenseDetails objects for enterprise users. This API returns details for licenses that are directly assigned and those transitively assigned through memberships in licensed groups. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LicenseDetailsCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/user-list-licensedetails?view=graph-rest-1.0 @@ -91,7 +92,7 @@ async def post(self,body: Optional[LicenseDetails] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[LicenseDetailsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of licenseDetails objects for enterprise users. This API returns details for licenses that are directly assigned and those transitively assigned through memberships in licensed groups. This API is available in the following national cloud deployments. + Retrieve a list of licenseDetails objects for enterprise users. This API returns details for licenses that are directly assigned and those transitively assigned through memberships in licensed groups. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[LicenseDetai request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[LicenseDetails] = None, request_configuration: Optional[LicenseDetailsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +123,7 @@ def to_post_request_information(self,body: Optional[LicenseDetails] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -145,10 +146,19 @@ def count(self) -> CountRequestBuilder: return CountRequestBuilder(self.request_adapter, self.path_parameters) + @property + def get_teams_licensing_details(self) -> GetTeamsLicensingDetailsRequestBuilder: + """ + Provides operations to call the getTeamsLicensingDetails method. + """ + from .get_teams_licensing_details.get_teams_licensing_details_request_builder import GetTeamsLicensingDetailsRequestBuilder + + return GetTeamsLicensingDetailsRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class LicenseDetailsRequestBuilderGetQueryParameters(): """ - Retrieve a list of licenseDetails objects for enterprise users. This API returns details for licenses that are directly assigned and those transitively assigned through memberships in licensed groups. This API is available in the following national cloud deployments. + Retrieve a list of licenseDetails objects for enterprise users. This API returns details for licenses that are directly assigned and those transitively assigned through memberships in licensed groups. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/delta/delta_request_builder.py index 56553cc3fa1..ac55c24ef07 100644 --- a/msgraph_beta/generated/users/item/mail_folders/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. This API is available in the following national cloud deployments. + Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. This API is available in the following national cloud deployments. + Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. This API is available in the following national cloud deployments. + Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/child_folders_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/child_folders_request_builder.py index 4fd6cd77056..3a21767cd9c 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/child_folders_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/child_folders_request_builder.py @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[ChildFoldersRequestBuilderGet async def post(self,body: Optional[MailFolder] = None, request_configuration: Optional[ChildFoldersRequestBuilderPostRequestConfiguration] = None) -> Optional[MailFolder]: """ - Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. This API is available in the following national cloud deployments. + Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailFolder] @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[ChildFolders request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MailFolder] = None, request_configuration: Optional[ChildFoldersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. This API is available in the following national cloud deployments. + Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[MailFolder] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/delta/delta_request_builder.py index 23f78cee344..38e6cb89beb 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/delta/delta_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. This API is available in the following national cloud deployments. + Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. This API is available in the following national cloud deployments. + Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. This API is available in the following national cloud deployments. + Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/copy/copy_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/copy/copy_request_builder.py index 82f8e0c15d3..115f8ec2018 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/copy/copy_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/copy/copy_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyPostRequestBody] = None, request_configuration: Optional[CopyRequestBuilderPostRequestConfiguration] = None) -> Optional[MailFolder]: """ - Copy a mail folder and its contents to another mail folder. This API is available in the following national cloud deployments. + Copy a mail folder and its contents to another mail folder. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailFolder] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyPostRequestBody] = None, request_configur def to_post_request_information(self,body: Optional[CopyPostRequestBody] = None, request_configuration: Optional[CopyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a mail folder and its contents to another mail folder. This API is available in the following national cloud deployments. + Copy a mail folder and its contents to another mail folder. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/mail_folder_item_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/mail_folder_item_request_builder.py index 4bf6e0791ba..1819dcbe7a9 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/mail_folder_item_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/mail_folder_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[MailFolde request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MailFolderItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[MailFolderIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailFolder] = None, request_configuration: Optional[MailFolderItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[MailFolder] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/message_rules/item/message_rule_item_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/message_rules/item/message_rule_item_request_builder.py index a71d6899965..2d0826bd790 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/message_rules/item/message_rule_item_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/message_rules/item/message_rule_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[MessageRuleItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete the specified messageRule object. This API is available in the following national cloud deployments. + Delete the specified messageRule object. 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/messagerule-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[MessageRuleItemRequestBuil async def get(self,request_configuration: Optional[MessageRuleItemRequestBuilderGetRequestConfiguration] = None) -> Optional[MessageRule]: """ - Get the properties and relationships of a messageRule object. This API is available in the following national cloud deployments. + Get the properties and relationships of a messageRule object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MessageRule] Find more info here: https://learn.microsoft.com/graph/api/messagerule-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[MessageRuleItemRequestBuilder async def patch(self,body: Optional[MessageRule] = None, request_configuration: Optional[MessageRuleItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[MessageRule]: """ - Change writable properties on a messageRule object and save the changes. This API is available in the following national cloud deployments. + Change writable properties on a messageRule object and save the changes. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MessageRule] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[MessageRule] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[MessageRuleItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete the specified messageRule object. This API is available in the following national cloud deployments. + Delete the specified messageRule object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[MessageRu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MessageRuleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a messageRule object. This API is available in the following national cloud deployments. + Get the properties and relationships of a messageRule object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[MessageRuleI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MessageRule] = None, request_configuration: Optional[MessageRuleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Change writable properties on a messageRule object and save the changes. This API is available in the following national cloud deployments. + Change writable properties on a messageRule object and save the changes. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[MessageRule] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class MessageRuleItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class MessageRuleItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a messageRule object. This API is available in the following national cloud deployments. + Get the properties and relationships of a messageRule object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/message_rules/message_rules_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/message_rules/message_rules_request_builder.py index a456a7427db..75623737c1a 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/message_rules/message_rules_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/message_rules/message_rules_request_builder.py @@ -45,7 +45,7 @@ def by_message_rule_id(self,message_rule_id: str) -> MessageRuleItemRequestBuild async def get(self,request_configuration: Optional[MessageRulesRequestBuilderGetRequestConfiguration] = None) -> Optional[MessageRuleCollectionResponse]: """ - Get all the messageRule objects defined for the user's inbox. This API is available in the following national cloud deployments. + Get all the messageRule objects defined for the user's inbox. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MessageRuleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/mailfolder-list-messagerules?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[MessageRulesRequestBuilderGet async def post(self,body: Optional[MessageRule] = None, request_configuration: Optional[MessageRulesRequestBuilderPostRequestConfiguration] = None) -> Optional[MessageRule]: """ - Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. This API is available in the following national cloud deployments. + Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MessageRule] @@ -92,7 +92,7 @@ async def post(self,body: Optional[MessageRule] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[MessageRulesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get all the messageRule objects defined for the user's inbox. This API is available in the following national cloud deployments. + Get all the messageRule objects defined for the user's inbox. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[MessageRules request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MessageRule] = None, request_configuration: Optional[MessageRulesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. This API is available in the following national cloud deployments. + Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[MessageRule] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MessageRulesRequestBuilderGetQueryParameters(): """ - Get all the messageRule objects defined for the user's inbox. This API is available in the following national cloud deployments. + Get all the messageRule objects defined for the user's inbox. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/delta/delta_request_builder.py index f8d17ceac28..5671852af1e 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/delta/delta_request_builder.py @@ -24,11 +24,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/delta(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/delta(){?changeType*,%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}", path_parameters) async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. This API is available in the following national cloud deployments. + Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/message-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. This API is available in the following national cloud deployments. + Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. This API is available in the following national cloud deployments. + Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ @@ -88,6 +88,8 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ if not original_name: raise TypeError("original_name cannot be null.") + if original_name == "change_type": + return "changeType" if original_name == "count": return "%24count" if original_name == "filter": @@ -104,6 +106,9 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: return "%24top" return original_name + # A custom query option to filter the delta response based on the type of change. Supported values are created, updated or deleted. + change_type: Optional[str] = None + # Include count of items count: Optional[bool] = None diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/attachments/attachments_request_builder.py index 7788037979a..ab56d1185f5 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/attachments/attachments_request_builder.py @@ -46,10 +46,10 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/message-list-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/eventmessage-list-attachments?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a newmessage that is being drafted, or created and sent on the fly. This API is available in the following national cloud deployments. + Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a newmessage that is being drafted, or created and sent on the fly. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a newmessage that is being drafted, or created and sent on the fly. This API is available in the following national cloud deployments. + Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a newmessage that is being drafted, or created and sent on the fly. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.py index cee52c562ba..c197446bc83 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/attachments/item/attachment_item_request_builder.py index 4020e99db65..2cbe783a179 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/attachments/item/attachment_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -80,12 +80,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -97,7 +97,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -123,7 +123,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/copy/copy_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/copy/copy_request_builder.py index aa14ca9f05d..bcc9b438333 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/copy/copy_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/copy/copy_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyPostRequestBody] = None, request_configuration: Optional[CopyRequestBuilderPostRequestConfiguration] = None) -> Optional[Message]: """ - Copy a message to a folder within the user's mailbox. This API is available in the following national cloud deployments. + Copy a message to a folder within the user's mailbox. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Message] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyPostRequestBody] = None, request_configur def to_post_request_information(self,body: Optional[CopyPostRequestBody] = None, request_configuration: Optional[CopyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a message to a folder within the user's mailbox. This API is available in the following national cloud deployments. + Copy a message to a folder within the user's mailbox. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_forward/create_forward_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_forward/create_forward_request_builder.py index 06c91788f12..62508ae17d0 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_forward/create_forward_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_forward/create_forward_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateForwardPostRequestBody] = None, request_configuration: Optional[CreateForwardRequestBuilderPostRequestConfiguration] = None) -> Optional[Message]: """ - Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. This API is available in the following national cloud deployments. + Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Message] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateForwardPostRequestBody] = None, request def to_post_request_information(self,body: Optional[CreateForwardPostRequestBody] = None, request_configuration: Optional[CreateForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. This API is available in the following national cloud deployments. + Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateForwardPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_reply/create_reply_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_reply/create_reply_request_builder.py index 9c19dab11d6..15f085c0cf4 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_reply/create_reply_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_reply/create_reply_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateReplyPostRequestBody] = None, request_configuration: Optional[CreateReplyRequestBuilderPostRequestConfiguration] = None) -> Optional[Message]: """ - Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. This API is available in the following national cloud deployments. + Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Message] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateReplyPostRequestBody] = None, request_c def to_post_request_information(self,body: Optional[CreateReplyPostRequestBody] = None, request_configuration: Optional[CreateReplyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. This API is available in the following national cloud deployments. + Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateReplyPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_reply_all/create_reply_all_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_reply_all/create_reply_all_request_builder.py index 3997aa57591..ff0d5aaf46f 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_reply_all/create_reply_all_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/create_reply_all/create_reply_all_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateReplyAllPostRequestBody] = None, request_configuration: Optional[CreateReplyAllRequestBuilderPostRequestConfiguration] = None) -> Optional[Message]: """ - Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft message later. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. This API is available in the following national cloud deployments. + Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft message later. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Message] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateReplyAllPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[CreateReplyAllPostRequestBody] = None, request_configuration: Optional[CreateReplyAllRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft message later. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. This API is available in the following national cloud deployments. + Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft message later. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateReplyAllPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/extensions/extensions_request_builder.py index 8936be38132..a624cbbd6ca 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/extensions/item/extension_item_request_builder.py index c6ddeabb910..747ff939daa 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/extensions/item/extension_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. This API is available in the following national cloud deployments. + Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. 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/opentypeextension-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[Extension] = None, request_configuration: Op def to_delete_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. This API is available in the following national cloud deployments. + Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/forward/forward_request_builder.py index b87d0311c13..ad0b82f2ea1 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. This API is available in the following national cloud deployments. + Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. This API is available in the following national cloud deployments. + Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/mark_as_junk/mark_as_junk_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/mark_as_junk/mark_as_junk_request_builder.py index c9b6530a08f..3f038268202 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/mark_as_junk/mark_as_junk_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/mark_as_junk/mark_as_junk_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[MarkAsJunkPostRequestBody] = None, request_configuration: Optional[MarkAsJunkRequestBuilderPostRequestConfiguration] = None) -> Optional[Message]: """ - Mark a message as junk. This API adds the sender to the list of blocked senders and moves the message to the Junk Email folder, when moveToJunk is true. This API is available in the following national cloud deployments. + Mark a message as junk. This API adds the sender to the list of blocked senders and moves the message to the Junk Email folder, when moveToJunk is true. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Message] @@ -54,7 +54,7 @@ async def post(self,body: Optional[MarkAsJunkPostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[MarkAsJunkPostRequestBody] = None, request_configuration: Optional[MarkAsJunkRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Mark a message as junk. This API adds the sender to the list of blocked senders and moves the message to the Junk Email folder, when moveToJunk is true. This API is available in the following national cloud deployments. + Mark a message as junk. This API adds the sender to the list of blocked senders and moves the message to the Junk Email folder, when moveToJunk is true. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[MarkAsJunkPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/mark_as_not_junk/mark_as_not_junk_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/mark_as_not_junk/mark_as_not_junk_request_builder.py index 4addbf6d017..eaaf99d2c2c 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/mark_as_not_junk/mark_as_not_junk_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/mark_as_not_junk/mark_as_not_junk_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[MarkAsNotJunkPostRequestBody] = None, request_configuration: Optional[MarkAsNotJunkRequestBuilderPostRequestConfiguration] = None) -> Optional[Message]: """ - Mark a message as not junk. This API removes the sender from the list of blocked senders and moves the message to the Inbox folder, when moveToInbox is true. This API is available in the following national cloud deployments. + Mark a message as not junk. This API removes the sender from the list of blocked senders and moves the message to the Inbox folder, when moveToInbox is true. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Message] @@ -54,7 +54,7 @@ async def post(self,body: Optional[MarkAsNotJunkPostRequestBody] = None, request def to_post_request_information(self,body: Optional[MarkAsNotJunkPostRequestBody] = None, request_configuration: Optional[MarkAsNotJunkRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Mark a message as not junk. This API removes the sender from the list of blocked senders and moves the message to the Inbox folder, when moveToInbox is true. This API is available in the following national cloud deployments. + Mark a message as not junk. This API removes the sender from the list of blocked senders and moves the message to the Inbox folder, when moveToInbox is true. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[MarkAsNotJunkPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/mentions/item/mention_item_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/mentions/item/mention_item_request_builder.py index a9608b368d4..d1173584118 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/mentions/item/mention_item_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/mentions/item/mention_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[MentionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. This API is available in the following national cloud deployments. + Delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. 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/message-delete?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[MentionItemRequestBuilderGetR def to_delete_request_information(self,request_configuration: Optional[MentionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. This API is available in the following national cloud deployments. + Delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -80,7 +80,7 @@ def to_delete_request_information(self,request_configuration: Optional[MentionIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MentionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -97,7 +97,7 @@ def to_get_request_information(self,request_configuration: Optional[MentionItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MentionItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/mentions/mentions_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/mentions/mentions_request_builder.py index 6cc70c3571e..9ea5b2ebbcb 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/mentions/mentions_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/mentions/mentions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[MentionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Mention] = None, request_configuration: Optional[MentionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Mention] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/message_item_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/message_item_request_builder.py index 5245efccbd3..494514c2001 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/message_item_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/message_item_request_builder.py @@ -119,7 +119,7 @@ def to_delete_request_information(self,request_configuration: Optional[MessageIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MessageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -136,7 +136,7 @@ def to_get_request_information(self,request_configuration: Optional[MessageItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Message] = None, request_configuration: Optional[MessageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -155,7 +155,7 @@ def to_patch_request_information(self,body: Optional[Message] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/move/move_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/move/move_request_builder.py index c994f70e9ab..74a8253cc9b 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/move/move_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/move/move_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[MovePostRequestBody] = None, request_configuration: Optional[MoveRequestBuilderPostRequestConfiguration] = None) -> Optional[Message]: """ - Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. This API is available in the following national cloud deployments. + Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Message] @@ -54,7 +54,7 @@ async def post(self,body: Optional[MovePostRequestBody] = None, request_configur def to_post_request_information(self,body: Optional[MovePostRequestBody] = None, request_configuration: Optional[MoveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. This API is available in the following national cloud deployments. + Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[MovePostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/reply/reply_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/reply/reply_request_builder.py index 7444361f2e4..072df0e0bc8 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/reply/reply_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/reply/reply_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ReplyPostRequestBody] = None, request_configuration: Optional[ReplyRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to a message, and send it later. This API is available in the following national cloud deployments. + Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to a message, and send it later. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ReplyPostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[ReplyPostRequestBody] = None, request_configuration: Optional[ReplyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to a message, and send it later. This API is available in the following national cloud deployments. + Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to a message, and send it later. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ReplyPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/reply_all/reply_all_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/reply_all/reply_all_request_builder.py index 883ae785d91..9e0a70ef693 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/reply_all/reply_all_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/reply_all/reply_all_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ReplyAllPostRequestBody] = None, request_configuration: Optional[ReplyAllRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message, and send it later. This API is available in the following national cloud deployments. + Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message, and send it later. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ReplyAllPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[ReplyAllPostRequestBody] = None, request_configuration: Optional[ReplyAllRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message, and send it later. This API is available in the following national cloud deployments. + Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message, and send it later. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ReplyAllPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/send/send_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/send/send_request_builder.py index 77821d140cf..edee73f4df0 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/send/send_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/send/send_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SendRequestBuilderPostRequestConfiguration] = None) -> None: """ - Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. This API is available in the following national cloud deployments. + Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. 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/message-send?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SendRequestBuilderPostReques def to_post_request_information(self,request_configuration: Optional[SendRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. This API is available in the following national cloud deployments. + Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SendRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SendRequestBuilder: diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/unsubscribe/unsubscribe_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/unsubscribe/unsubscribe_request_builder.py index 7608e215a99..84b6819cd64 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/unsubscribe/unsubscribe_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/unsubscribe/unsubscribe_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UnsubscribeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Submits an email request on behalf of the signed-in user to unsubscribe from an email distribution list. Uses the information in the List-Unsubscribe header. Message senders can use mailing lists in a user-friendly way by including an option for recipients to opt out. They can do so by specifying the List-Unsubscribe header in each message following RFC-2369. Note In particular, for the unsubscribe action to work, the sender must specify mailto: and not URL-based unsubscribe information. Setting that header would also set the unsubscribeEnabled property of the message instance to true, and the unsubscribeData property to the header data. If the unsubscribeEnabled property of a message is true, you can use the unsubscribe action to unsubscribe the user from similar future messages as managed by the message sender. A successful unsubscribe action moves the message to the Deleted Items folder. The actual exclusion of the user from future mail distribution is managed by the sender. This API is available in the following national cloud deployments. + Submits an email request on behalf of the signed-in user to unsubscribe from an email distribution list. Uses the information in the List-Unsubscribe header. Message senders can use mailing lists in a user-friendly way by including an option for recipients to opt out. They can do so by specifying the List-Unsubscribe header in each message following RFC-2369. Note In particular, for the unsubscribe action to work, the sender must specify mailto: and not URL-based unsubscribe information. Setting that header would also set the unsubscribeEnabled property of the message instance to true, and the unsubscribeData property to the header data. If the unsubscribeEnabled property of a message is true, you can use the unsubscribe action to unsubscribe the user from similar future messages as managed by the message sender. A successful unsubscribe action moves the message to the Deleted Items folder. The actual exclusion of the user from future mail distribution is managed by the sender. 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/message-unsubscribe?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UnsubscribeRequestBuilderPos def to_post_request_information(self,request_configuration: Optional[UnsubscribeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Submits an email request on behalf of the signed-in user to unsubscribe from an email distribution list. Uses the information in the List-Unsubscribe header. Message senders can use mailing lists in a user-friendly way by including an option for recipients to opt out. They can do so by specifying the List-Unsubscribe header in each message following RFC-2369. Note In particular, for the unsubscribe action to work, the sender must specify mailto: and not URL-based unsubscribe information. Setting that header would also set the unsubscribeEnabled property of the message instance to true, and the unsubscribeData property to the header data. If the unsubscribeEnabled property of a message is true, you can use the unsubscribe action to unsubscribe the user from similar future messages as managed by the message sender. A successful unsubscribe action moves the message to the Deleted Items folder. The actual exclusion of the user from future mail distribution is managed by the sender. This API is available in the following national cloud deployments. + Submits an email request on behalf of the signed-in user to unsubscribe from an email distribution list. Uses the information in the List-Unsubscribe header. Message senders can use mailing lists in a user-friendly way by including an option for recipients to opt out. They can do so by specifying the List-Unsubscribe header in each message following RFC-2369. Note In particular, for the unsubscribe action to work, the sender must specify mailto: and not URL-based unsubscribe information. Setting that header would also set the unsubscribeEnabled property of the message instance to true, and the unsubscribeData property to the header data. If the unsubscribeEnabled property of a message is true, you can use the unsubscribe action to unsubscribe the user from similar future messages as managed by the message sender. A successful unsubscribe action moves the message to the Deleted Items folder. The actual exclusion of the user from future mail distribution is managed by the sender. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[Unsubscribe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnsubscribeRequestBuilder: diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/value/content_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/value/content_request_builder.py index 5e908470ab2..e5a5184f9bb 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/value/content_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/messages_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/messages_request_builder.py index e4030d32054..d077fd258ae 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/messages_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/messages/messages_request_builder.py @@ -46,7 +46,7 @@ def by_message_id(self,message_id: str) -> MessageItemRequestBuilder: async def get(self,request_configuration: Optional[MessagesRequestBuilderGetRequestConfiguration] = None) -> Optional[MessageCollectionResponse]: """ - List all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. This API is available in the following national cloud deployments. + List all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MessageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/mailfolder-list-messages?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MessagesRequestBuilderGetRequ async def post(self,body: Optional[Message] = None, request_configuration: Optional[MessagesRequestBuilderPostRequestConfiguration] = None) -> Optional[Message]: """ - Use this API to create a new Message in a mailfolder. This API is available in the following national cloud deployments. + Use this API to create a new Message in a mailfolder. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Message] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Message] = None, request_configuration: Optio def to_get_request_information(self,request_configuration: Optional[MessagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. This API is available in the following national cloud deployments. + List all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MessagesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Message] = None, request_configuration: Optional[MessagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Message in a mailfolder. This API is available in the following national cloud deployments. + Use this API to create a new Message in a mailfolder. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Message] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class MessagesRequestBuilderGetQueryParameters(): """ - List all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. This API is available in the following national cloud deployments. + List all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/move/move_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/move/move_request_builder.py index eae19b1eef2..b3f11133ad4 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/move/move_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/move/move_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[MovePostRequestBody] = None, request_configuration: Optional[MoveRequestBuilderPostRequestConfiguration] = None) -> Optional[MailFolder]: """ - Move a mail folder and its contents to another mail folder. This API is available in the following national cloud deployments. + Move a mail folder and its contents to another mail folder. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailFolder] @@ -54,7 +54,7 @@ async def post(self,body: Optional[MovePostRequestBody] = None, request_configur def to_post_request_information(self,body: Optional[MovePostRequestBody] = None, request_configuration: Optional[MoveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Move a mail folder and its contents to another mail folder. This API is available in the following national cloud deployments. + Move a mail folder and its contents to another mail folder. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[MovePostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/user_configurations/item/user_configuration_item_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/user_configurations/item/user_configuration_item_request_builder.py index e38cade9b24..fdbd0965f50 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/user_configurations/item/user_configuration_item_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/user_configurations/item/user_configuration_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[UserConfigur request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserConfigurationItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/user_configurations/user_configurations_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/user_configurations/user_configurations_request_builder.py index feb18f52506..cac5849cfc5 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/user_configurations/user_configurations_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/child_folders/item/user_configurations/user_configurations_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[UserConfigur request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserConfigurationsRequestBuilder: diff --git a/msgraph_beta/generated/users/item/mail_folders/item/copy/copy_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/copy/copy_request_builder.py index 8552926fcf3..44a5a0cf3fa 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/copy/copy_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/copy/copy_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyPostRequestBody] = None, request_configuration: Optional[CopyRequestBuilderPostRequestConfiguration] = None) -> Optional[MailFolder]: """ - Copy a mail folder and its contents to another mail folder. This API is available in the following national cloud deployments. + Copy a mail folder and its contents to another mail folder. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailFolder] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyPostRequestBody] = None, request_configur def to_post_request_information(self,body: Optional[CopyPostRequestBody] = None, request_configuration: Optional[CopyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a mail folder and its contents to another mail folder. This API is available in the following national cloud deployments. + Copy a mail folder and its contents to another mail folder. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/mail_folder_item_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/mail_folder_item_request_builder.py index 439442b3895..7060b3c60b1 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/mail_folder_item_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/mail_folder_item_request_builder.py @@ -34,7 +34,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[MailFolderItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete the specified mailFolder. The folder can be a mailSearchFolder. You can specify a mail folder by its folder ID, or by its well-known folder name, if one exists. This API is available in the following national cloud deployments. + Delete the specified mailFolder. The folder can be a mailSearchFolder. You can specify a mail folder by its folder ID, or by its well-known folder name, if one exists. 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/mailfolder-delete?view=graph-rest-1.0 @@ -76,7 +76,7 @@ async def get(self,request_configuration: Optional[MailFolderItemRequestBuilderG async def patch(self,body: Optional[MailFolder] = None, request_configuration: Optional[MailFolderItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[MailFolder]: """ - Update the properties of mailFolder object. This API is available in the following national cloud deployments. + Update the properties of mailFolder object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailFolder] @@ -101,7 +101,7 @@ async def patch(self,body: Optional[MailFolder] = None, request_configuration: O def to_delete_request_information(self,request_configuration: Optional[MailFolderItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete the specified mailFolder. The folder can be a mailSearchFolder. You can specify a mail folder by its folder ID, or by its well-known folder name, if one exists. This API is available in the following national cloud deployments. + Delete the specified mailFolder. The folder can be a mailSearchFolder. You can specify a mail folder by its folder ID, or by its well-known folder name, if one exists. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -112,7 +112,7 @@ def to_delete_request_information(self,request_configuration: Optional[MailFolde request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MailFolderItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -129,12 +129,12 @@ def to_get_request_information(self,request_configuration: Optional[MailFolderIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailFolder] = None, request_configuration: Optional[MailFolderItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of mailFolder object. This API is available in the following national cloud deployments. + Update the properties of mailFolder object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -148,7 +148,7 @@ def to_patch_request_information(self,body: Optional[MailFolder] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/message_rules/item/message_rule_item_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/message_rules/item/message_rule_item_request_builder.py index 2f894b7182c..6c548cb8a85 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/message_rules/item/message_rule_item_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/message_rules/item/message_rule_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[MessageRuleItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete the specified messageRule object. This API is available in the following national cloud deployments. + Delete the specified messageRule object. 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/messagerule-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[MessageRuleItemRequestBuil async def get(self,request_configuration: Optional[MessageRuleItemRequestBuilderGetRequestConfiguration] = None) -> Optional[MessageRule]: """ - Get the properties and relationships of a messageRule object. This API is available in the following national cloud deployments. + Get the properties and relationships of a messageRule object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MessageRule] Find more info here: https://learn.microsoft.com/graph/api/messagerule-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[MessageRuleItemRequestBuilder async def patch(self,body: Optional[MessageRule] = None, request_configuration: Optional[MessageRuleItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[MessageRule]: """ - Change writable properties on a messageRule object and save the changes. This API is available in the following national cloud deployments. + Change writable properties on a messageRule object and save the changes. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MessageRule] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[MessageRule] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[MessageRuleItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete the specified messageRule object. This API is available in the following national cloud deployments. + Delete the specified messageRule object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[MessageRu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MessageRuleItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of a messageRule object. This API is available in the following national cloud deployments. + Get the properties and relationships of a messageRule object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[MessageRuleI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MessageRule] = None, request_configuration: Optional[MessageRuleItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Change writable properties on a messageRule object and save the changes. This API is available in the following national cloud deployments. + Change writable properties on a messageRule object and save the changes. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[MessageRule] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class MessageRuleItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class MessageRuleItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a messageRule object. This API is available in the following national cloud deployments. + Get the properties and relationships of a messageRule object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/message_rules/message_rules_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/message_rules/message_rules_request_builder.py index 0d93b04c4f6..5bf6c87c1bf 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/message_rules/message_rules_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/message_rules/message_rules_request_builder.py @@ -45,7 +45,7 @@ def by_message_rule_id(self,message_rule_id: str) -> MessageRuleItemRequestBuild async def get(self,request_configuration: Optional[MessageRulesRequestBuilderGetRequestConfiguration] = None) -> Optional[MessageRuleCollectionResponse]: """ - Get all the messageRule objects defined for the user's inbox. This API is available in the following national cloud deployments. + Get all the messageRule objects defined for the user's inbox. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MessageRuleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/mailfolder-list-messagerules?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[MessageRulesRequestBuilderGet async def post(self,body: Optional[MessageRule] = None, request_configuration: Optional[MessageRulesRequestBuilderPostRequestConfiguration] = None) -> Optional[MessageRule]: """ - Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. This API is available in the following national cloud deployments. + Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MessageRule] @@ -92,7 +92,7 @@ async def post(self,body: Optional[MessageRule] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[MessageRulesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get all the messageRule objects defined for the user's inbox. This API is available in the following national cloud deployments. + Get all the messageRule objects defined for the user's inbox. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[MessageRules request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MessageRule] = None, request_configuration: Optional[MessageRulesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. This API is available in the following national cloud deployments. + Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[MessageRule] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MessageRulesRequestBuilderGetQueryParameters(): """ - Get all the messageRule objects defined for the user's inbox. This API is available in the following national cloud deployments. + Get all the messageRule objects defined for the user's inbox. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/delta/delta_request_builder.py index 5e5e4b6933b..12225098123 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/delta/delta_request_builder.py @@ -24,11 +24,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/delta(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/delta(){?changeType*,%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}", path_parameters) async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. This API is available in the following national cloud deployments. + Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/message-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. This API is available in the following national cloud deployments. + Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. This API is available in the following national cloud deployments. + Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ @@ -88,6 +88,8 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ if not original_name: raise TypeError("original_name cannot be null.") + if original_name == "change_type": + return "changeType" if original_name == "count": return "%24count" if original_name == "filter": @@ -104,6 +106,9 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: return "%24top" return original_name + # A custom query option to filter the delta response based on the type of change. Supported values are created, updated or deleted. + change_type: Optional[str] = None + # Include count of items count: Optional[bool] = None diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/attachments/attachments_request_builder.py index f08c55abbde..1411a793400 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/attachments/attachments_request_builder.py @@ -46,10 +46,10 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/message-list-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/eventmessage-list-attachments?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a newmessage that is being drafted, or created and sent on the fly. This API is available in the following national cloud deployments. + Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a newmessage that is being drafted, or created and sent on the fly. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a newmessage that is being drafted, or created and sent on the fly. This API is available in the following national cloud deployments. + Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a newmessage that is being drafted, or created and sent on the fly. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.py index db0ee732d3e..4811c2d82f2 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/attachments/item/attachment_item_request_builder.py index defc73cf19b..3218d7f1acc 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/attachments/item/attachment_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -80,12 +80,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -97,7 +97,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -123,7 +123,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/copy/copy_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/copy/copy_request_builder.py index 3c7bc98e2e1..eb24b229ff2 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/copy/copy_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/copy/copy_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyPostRequestBody] = None, request_configuration: Optional[CopyRequestBuilderPostRequestConfiguration] = None) -> Optional[Message]: """ - Copy a message to a folder within the user's mailbox. This API is available in the following national cloud deployments. + Copy a message to a folder within the user's mailbox. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Message] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyPostRequestBody] = None, request_configur def to_post_request_information(self,body: Optional[CopyPostRequestBody] = None, request_configuration: Optional[CopyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a message to a folder within the user's mailbox. This API is available in the following national cloud deployments. + Copy a message to a folder within the user's mailbox. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/create_forward/create_forward_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/create_forward/create_forward_request_builder.py index c1a4a5c120e..c5eb7902e37 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/create_forward/create_forward_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/create_forward/create_forward_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateForwardPostRequestBody] = None, request_configuration: Optional[CreateForwardRequestBuilderPostRequestConfiguration] = None) -> Optional[Message]: """ - Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. This API is available in the following national cloud deployments. + Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Message] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateForwardPostRequestBody] = None, request def to_post_request_information(self,body: Optional[CreateForwardPostRequestBody] = None, request_configuration: Optional[CreateForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. This API is available in the following national cloud deployments. + Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateForwardPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/create_reply/create_reply_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/create_reply/create_reply_request_builder.py index dfff3dd4cc9..c7ca2db87e9 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/create_reply/create_reply_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/create_reply/create_reply_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateReplyPostRequestBody] = None, request_configuration: Optional[CreateReplyRequestBuilderPostRequestConfiguration] = None) -> Optional[Message]: """ - Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. This API is available in the following national cloud deployments. + Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Message] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateReplyPostRequestBody] = None, request_c def to_post_request_information(self,body: Optional[CreateReplyPostRequestBody] = None, request_configuration: Optional[CreateReplyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. This API is available in the following national cloud deployments. + Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateReplyPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/create_reply_all/create_reply_all_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/create_reply_all/create_reply_all_request_builder.py index 2f709b5463d..468b9e07709 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/create_reply_all/create_reply_all_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/create_reply_all/create_reply_all_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateReplyAllPostRequestBody] = None, request_configuration: Optional[CreateReplyAllRequestBuilderPostRequestConfiguration] = None) -> Optional[Message]: """ - Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft message later. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. This API is available in the following national cloud deployments. + Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft message later. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Message] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateReplyAllPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[CreateReplyAllPostRequestBody] = None, request_configuration: Optional[CreateReplyAllRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft message later. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. This API is available in the following national cloud deployments. + Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft message later. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateReplyAllPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/extensions/extensions_request_builder.py index 182cbe11980..6c18e6ac25c 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/extensions/item/extension_item_request_builder.py index 1b4677f4df9..4d8b2fddfc6 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/extensions/item/extension_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. This API is available in the following national cloud deployments. + Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. 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/opentypeextension-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[Extension] = None, request_configuration: Op def to_delete_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. This API is available in the following national cloud deployments. + Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/forward/forward_request_builder.py index 23f70536938..b967952f8a9 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. This API is available in the following national cloud deployments. + Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. This API is available in the following national cloud deployments. + Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/mark_as_junk/mark_as_junk_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/mark_as_junk/mark_as_junk_request_builder.py index 83f7bb89dbf..342f682f357 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/mark_as_junk/mark_as_junk_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/mark_as_junk/mark_as_junk_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[MarkAsJunkPostRequestBody] = None, request_configuration: Optional[MarkAsJunkRequestBuilderPostRequestConfiguration] = None) -> Optional[Message]: """ - Mark a message as junk. This API adds the sender to the list of blocked senders and moves the message to the Junk Email folder, when moveToJunk is true. This API is available in the following national cloud deployments. + Mark a message as junk. This API adds the sender to the list of blocked senders and moves the message to the Junk Email folder, when moveToJunk is true. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Message] @@ -54,7 +54,7 @@ async def post(self,body: Optional[MarkAsJunkPostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[MarkAsJunkPostRequestBody] = None, request_configuration: Optional[MarkAsJunkRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Mark a message as junk. This API adds the sender to the list of blocked senders and moves the message to the Junk Email folder, when moveToJunk is true. This API is available in the following national cloud deployments. + Mark a message as junk. This API adds the sender to the list of blocked senders and moves the message to the Junk Email folder, when moveToJunk is true. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[MarkAsJunkPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/mark_as_not_junk/mark_as_not_junk_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/mark_as_not_junk/mark_as_not_junk_request_builder.py index 4acad70581b..c5dcf8d31d3 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/mark_as_not_junk/mark_as_not_junk_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/mark_as_not_junk/mark_as_not_junk_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[MarkAsNotJunkPostRequestBody] = None, request_configuration: Optional[MarkAsNotJunkRequestBuilderPostRequestConfiguration] = None) -> Optional[Message]: """ - Mark a message as not junk. This API removes the sender from the list of blocked senders and moves the message to the Inbox folder, when moveToInbox is true. This API is available in the following national cloud deployments. + Mark a message as not junk. This API removes the sender from the list of blocked senders and moves the message to the Inbox folder, when moveToInbox is true. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Message] @@ -54,7 +54,7 @@ async def post(self,body: Optional[MarkAsNotJunkPostRequestBody] = None, request def to_post_request_information(self,body: Optional[MarkAsNotJunkPostRequestBody] = None, request_configuration: Optional[MarkAsNotJunkRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Mark a message as not junk. This API removes the sender from the list of blocked senders and moves the message to the Inbox folder, when moveToInbox is true. This API is available in the following national cloud deployments. + Mark a message as not junk. This API removes the sender from the list of blocked senders and moves the message to the Inbox folder, when moveToInbox is true. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[MarkAsNotJunkPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/mentions/item/mention_item_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/mentions/item/mention_item_request_builder.py index 1d2f2b77887..c4b6f7222f8 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/mentions/item/mention_item_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/mentions/item/mention_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[MentionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. This API is available in the following national cloud deployments. + Delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. 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/message-delete?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[MentionItemRequestBuilderGetR def to_delete_request_information(self,request_configuration: Optional[MentionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. This API is available in the following national cloud deployments. + Delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -80,7 +80,7 @@ def to_delete_request_information(self,request_configuration: Optional[MentionIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MentionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -97,7 +97,7 @@ def to_get_request_information(self,request_configuration: Optional[MentionItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MentionItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/mentions/mentions_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/mentions/mentions_request_builder.py index 7e9cfa844be..4b9e8fa3811 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/mentions/mentions_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/mentions/mentions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[MentionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Mention] = None, request_configuration: Optional[MentionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Mention] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/message_item_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/message_item_request_builder.py index 886fb8e80f1..fe75e0e45f8 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/message_item_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/message_item_request_builder.py @@ -119,7 +119,7 @@ def to_delete_request_information(self,request_configuration: Optional[MessageIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MessageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -136,7 +136,7 @@ def to_get_request_information(self,request_configuration: Optional[MessageItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Message] = None, request_configuration: Optional[MessageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -155,7 +155,7 @@ def to_patch_request_information(self,body: Optional[Message] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/move/move_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/move/move_request_builder.py index bd5948df93e..1fbcadde796 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/move/move_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/move/move_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[MovePostRequestBody] = None, request_configuration: Optional[MoveRequestBuilderPostRequestConfiguration] = None) -> Optional[Message]: """ - Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. This API is available in the following national cloud deployments. + Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Message] @@ -54,7 +54,7 @@ async def post(self,body: Optional[MovePostRequestBody] = None, request_configur def to_post_request_information(self,body: Optional[MovePostRequestBody] = None, request_configuration: Optional[MoveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. This API is available in the following national cloud deployments. + Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[MovePostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/reply/reply_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/reply/reply_request_builder.py index a2a57155853..e81ed1d9c23 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/reply/reply_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/reply/reply_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ReplyPostRequestBody] = None, request_configuration: Optional[ReplyRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to a message, and send it later. This API is available in the following national cloud deployments. + Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to a message, and send it later. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ReplyPostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[ReplyPostRequestBody] = None, request_configuration: Optional[ReplyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to a message, and send it later. This API is available in the following national cloud deployments. + Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to a message, and send it later. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ReplyPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/reply_all/reply_all_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/reply_all/reply_all_request_builder.py index 6172daf1d9d..12e5ab47f85 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/reply_all/reply_all_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/reply_all/reply_all_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ReplyAllPostRequestBody] = None, request_configuration: Optional[ReplyAllRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message, and send it later. This API is available in the following national cloud deployments. + Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message, and send it later. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ReplyAllPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[ReplyAllPostRequestBody] = None, request_configuration: Optional[ReplyAllRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message, and send it later. This API is available in the following national cloud deployments. + Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message, and send it later. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ReplyAllPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/send/send_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/send/send_request_builder.py index 2a8e8cc5ead..900b258574d 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/send/send_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/send/send_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SendRequestBuilderPostRequestConfiguration] = None) -> None: """ - Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. This API is available in the following national cloud deployments. + Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. 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/message-send?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SendRequestBuilderPostReques def to_post_request_information(self,request_configuration: Optional[SendRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. This API is available in the following national cloud deployments. + Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SendRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SendRequestBuilder: diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/unsubscribe/unsubscribe_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/unsubscribe/unsubscribe_request_builder.py index 1af934d0c5a..f9972cb3b36 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/unsubscribe/unsubscribe_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/unsubscribe/unsubscribe_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UnsubscribeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Submits an email request on behalf of the signed-in user to unsubscribe from an email distribution list. Uses the information in the List-Unsubscribe header. Message senders can use mailing lists in a user-friendly way by including an option for recipients to opt out. They can do so by specifying the List-Unsubscribe header in each message following RFC-2369. Note In particular, for the unsubscribe action to work, the sender must specify mailto: and not URL-based unsubscribe information. Setting that header would also set the unsubscribeEnabled property of the message instance to true, and the unsubscribeData property to the header data. If the unsubscribeEnabled property of a message is true, you can use the unsubscribe action to unsubscribe the user from similar future messages as managed by the message sender. A successful unsubscribe action moves the message to the Deleted Items folder. The actual exclusion of the user from future mail distribution is managed by the sender. This API is available in the following national cloud deployments. + Submits an email request on behalf of the signed-in user to unsubscribe from an email distribution list. Uses the information in the List-Unsubscribe header. Message senders can use mailing lists in a user-friendly way by including an option for recipients to opt out. They can do so by specifying the List-Unsubscribe header in each message following RFC-2369. Note In particular, for the unsubscribe action to work, the sender must specify mailto: and not URL-based unsubscribe information. Setting that header would also set the unsubscribeEnabled property of the message instance to true, and the unsubscribeData property to the header data. If the unsubscribeEnabled property of a message is true, you can use the unsubscribe action to unsubscribe the user from similar future messages as managed by the message sender. A successful unsubscribe action moves the message to the Deleted Items folder. The actual exclusion of the user from future mail distribution is managed by the sender. 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/message-unsubscribe?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UnsubscribeRequestBuilderPos def to_post_request_information(self,request_configuration: Optional[UnsubscribeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Submits an email request on behalf of the signed-in user to unsubscribe from an email distribution list. Uses the information in the List-Unsubscribe header. Message senders can use mailing lists in a user-friendly way by including an option for recipients to opt out. They can do so by specifying the List-Unsubscribe header in each message following RFC-2369. Note In particular, for the unsubscribe action to work, the sender must specify mailto: and not URL-based unsubscribe information. Setting that header would also set the unsubscribeEnabled property of the message instance to true, and the unsubscribeData property to the header data. If the unsubscribeEnabled property of a message is true, you can use the unsubscribe action to unsubscribe the user from similar future messages as managed by the message sender. A successful unsubscribe action moves the message to the Deleted Items folder. The actual exclusion of the user from future mail distribution is managed by the sender. This API is available in the following national cloud deployments. + Submits an email request on behalf of the signed-in user to unsubscribe from an email distribution list. Uses the information in the List-Unsubscribe header. Message senders can use mailing lists in a user-friendly way by including an option for recipients to opt out. They can do so by specifying the List-Unsubscribe header in each message following RFC-2369. Note In particular, for the unsubscribe action to work, the sender must specify mailto: and not URL-based unsubscribe information. Setting that header would also set the unsubscribeEnabled property of the message instance to true, and the unsubscribeData property to the header data. If the unsubscribeEnabled property of a message is true, you can use the unsubscribe action to unsubscribe the user from similar future messages as managed by the message sender. A successful unsubscribe action moves the message to the Deleted Items folder. The actual exclusion of the user from future mail distribution is managed by the sender. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[Unsubscribe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnsubscribeRequestBuilder: diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/value/content_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/value/content_request_builder.py index c98361d3d75..994ab75eb71 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/item/value/content_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/messages/messages_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/messages/messages_request_builder.py index c6d444f8fbc..45579e6259d 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/messages/messages_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/messages/messages_request_builder.py @@ -46,7 +46,7 @@ def by_message_id(self,message_id: str) -> MessageItemRequestBuilder: async def get(self,request_configuration: Optional[MessagesRequestBuilderGetRequestConfiguration] = None) -> Optional[MessageCollectionResponse]: """ - List all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. This API is available in the following national cloud deployments. + List all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MessageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/mailfolder-list-messages?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MessagesRequestBuilderGetRequ async def post(self,body: Optional[Message] = None, request_configuration: Optional[MessagesRequestBuilderPostRequestConfiguration] = None) -> Optional[Message]: """ - Use this API to create a new Message in a mailfolder. This API is available in the following national cloud deployments. + Use this API to create a new Message in a mailfolder. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Message] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Message] = None, request_configuration: Optio def to_get_request_information(self,request_configuration: Optional[MessagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. This API is available in the following national cloud deployments. + List all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MessagesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Message] = None, request_configuration: Optional[MessagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new Message in a mailfolder. This API is available in the following national cloud deployments. + Use this API to create a new Message in a mailfolder. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Message] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class MessagesRequestBuilderGetQueryParameters(): """ - List all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. This API is available in the following national cloud deployments. + List all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/mail_folders/item/move/move_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/move/move_request_builder.py index b7074124951..73fdedef060 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/move/move_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/move/move_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[MovePostRequestBody] = None, request_configuration: Optional[MoveRequestBuilderPostRequestConfiguration] = None) -> Optional[MailFolder]: """ - Move a mail folder and its contents to another mail folder. This API is available in the following national cloud deployments. + Move a mail folder and its contents to another mail folder. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailFolder] @@ -54,7 +54,7 @@ async def post(self,body: Optional[MovePostRequestBody] = None, request_configur def to_post_request_information(self,body: Optional[MovePostRequestBody] = None, request_configuration: Optional[MoveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Move a mail folder and its contents to another mail folder. This API is available in the following national cloud deployments. + Move a mail folder and its contents to another mail folder. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[MovePostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mail_folders/item/user_configurations/item/user_configuration_item_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/user_configurations/item/user_configuration_item_request_builder.py index 3a3d53f79cc..eb7b19d5344 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/user_configurations/item/user_configuration_item_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/user_configurations/item/user_configuration_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[UserConfigur request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserConfigurationItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/mail_folders/item/user_configurations/user_configurations_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/item/user_configurations/user_configurations_request_builder.py index 9111e01e8c5..eb2918973ad 100644 --- a/msgraph_beta/generated/users/item/mail_folders/item/user_configurations/user_configurations_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/item/user_configurations/user_configurations_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[UserConfigur request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UserConfigurationsRequestBuilder: diff --git a/msgraph_beta/generated/users/item/mail_folders/mail_folders_request_builder.py b/msgraph_beta/generated/users/item/mail_folders/mail_folders_request_builder.py index 579b4229f25..4c7c7f23178 100644 --- a/msgraph_beta/generated/users/item/mail_folders/mail_folders_request_builder.py +++ b/msgraph_beta/generated/users/item/mail_folders/mail_folders_request_builder.py @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MailFoldersRequestBuilderGetR async def post(self,body: Optional[MailFolder] = None, request_configuration: Optional[MailFoldersRequestBuilderPostRequestConfiguration] = None) -> Optional[MailFolder]: """ - Use this API to create a new mail folder in the root folder of the user's mailbox. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. This API is available in the following national cloud deployments. + Use this API to create a new mail folder in the root folder of the user's mailbox. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MailFolder] @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MailFoldersR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MailFolder] = None, request_configuration: Optional[MailFoldersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new mail folder in the root folder of the user's mailbox. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. This API is available in the following national cloud deployments. + Use this API to create a new mail folder in the root folder of the user's mailbox. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[MailFolder] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mailbox_settings/mailbox_settings_request_builder.py b/msgraph_beta/generated/users/item/mailbox_settings/mailbox_settings_request_builder.py index 2b9b8bb180e..555899eef81 100644 --- a/msgraph_beta/generated/users/item/mailbox_settings/mailbox_settings_request_builder.py +++ b/msgraph_beta/generated/users/item/mailbox_settings/mailbox_settings_request_builder.py @@ -85,7 +85,7 @@ def to_get_request_information(self,request_configuration: Optional[MailboxSetti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MailboxSettings] = None, request_configuration: Optional[MailboxSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -104,7 +104,7 @@ def to_patch_request_information(self,body: Optional[MailboxSettings] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_app_registrations/item/managed_app_registration_item_request_builder.py b/msgraph_beta/generated/users/item/managed_app_registrations/item/managed_app_registration_item_request_builder.py index fc9eea164be..d84371f4783 100644 --- a/msgraph_beta/generated/users/item/managed_app_registrations/item/managed_app_registration_item_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_app_registrations/item/managed_app_registration_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedAppRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagedAppRegistrationItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_app_registrations/managed_app_registrations_request_builder.py b/msgraph_beta/generated/users/item/managed_app_registrations/managed_app_registrations_request_builder.py index 25760984413..c0c4940dccb 100644 --- a/msgraph_beta/generated/users/item/managed_app_registrations/managed_app_registrations_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_app_registrations/managed_app_registrations_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedAppRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagedAppRegistrationsRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/app_diagnostics_with_upn/app_diagnostics_with_upn_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/app_diagnostics_with_upn/app_diagnostics_with_upn_request_builder.py index f16182a2cb3..ed3986c3bd5 100644 --- a/msgraph_beta/generated/users/item/managed_devices/app_diagnostics_with_upn/app_diagnostics_with_upn_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/app_diagnostics_with_upn/app_diagnostics_with_upn_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[AppDiagnosti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AppDiagnosticsWithUpnRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/bulk_reprovision_cloud_pc/bulk_reprovision_cloud_pc_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/bulk_reprovision_cloud_pc/bulk_reprovision_cloud_pc_request_builder.py index 8e073c909e6..28ffc291ed6 100644 --- a/msgraph_beta/generated/users/item/managed_devices/bulk_reprovision_cloud_pc/bulk_reprovision_cloud_pc_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/bulk_reprovision_cloud_pc/bulk_reprovision_cloud_pc_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[BulkReprovisionCloudPcPostRequestBody] = None, request_configuration: Optional[BulkReprovisionCloudPcRequestBuilderPostRequestConfiguration] = None) -> Optional[CloudPcBulkRemoteActionResult]: """ - Bulk reprovision a set of Cloud PC devices with Intune managed device IDs. This API is available in the following national cloud deployments. + Bulk reprovision a set of Cloud PC devices with Intune managed device IDs. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcBulkRemoteActionResult] @@ -54,7 +54,7 @@ async def post(self,body: Optional[BulkReprovisionCloudPcPostRequestBody] = None def to_post_request_information(self,body: Optional[BulkReprovisionCloudPcPostRequestBody] = None, request_configuration: Optional[BulkReprovisionCloudPcRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Bulk reprovision a set of Cloud PC devices with Intune managed device IDs. This API is available in the following national cloud deployments. + Bulk reprovision a set of Cloud PC devices with Intune managed device IDs. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[BulkReprovisionCloudPcPostRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_request_builder.py index 9e9a43a34ba..d5cc74d757d 100644 --- a/msgraph_beta/generated/users/item/managed_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/bulk_restore_cloud_pc/bulk_restore_cloud_pc_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[BulkRestoreCloudPcPostRequestBody] = None, request_configuration: Optional[BulkRestoreCloudPcRequestBuilderPostRequestConfiguration] = None) -> Optional[CloudPcBulkRemoteActionResult]: """ - Restore multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices and a restore point date and time. This API is available in the following national cloud deployments. + Restore multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices and a restore point date and time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcBulkRemoteActionResult] @@ -54,7 +54,7 @@ async def post(self,body: Optional[BulkRestoreCloudPcPostRequestBody] = None, re def to_post_request_information(self,body: Optional[BulkRestoreCloudPcPostRequestBody] = None, request_configuration: Optional[BulkRestoreCloudPcRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices and a restore point date and time. This API is available in the following national cloud deployments. + Restore multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices and a restore point date and time. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[BulkRestoreCloudPcPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_request_builder.py index 47e2ed54cb8..3f03dc68e2b 100644 --- a/msgraph_beta/generated/users/item/managed_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/bulk_set_cloud_pc_review_status/bulk_set_cloud_pc_review_status_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[BulkSetCloudPcReviewStatusPostRequestBody] = None, request_configuration: Optional[BulkSetCloudPcReviewStatusRequestBuilderPostRequestConfiguration] = None) -> Optional[CloudPcBulkRemoteActionResult]: """ - Set the review status of multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices. This API is available in the following national cloud deployments. + Set the review status of multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CloudPcBulkRemoteActionResult] @@ -54,7 +54,7 @@ async def post(self,body: Optional[BulkSetCloudPcReviewStatusPostRequestBody] = def to_post_request_information(self,body: Optional[BulkSetCloudPcReviewStatusPostRequestBody] = None, request_configuration: Optional[BulkSetCloudPcReviewStatusRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Set the review status of multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices. This API is available in the following national cloud deployments. + Set the review status of multiple Cloud PC devices with a single request that includes the IDs of Intune managed devices. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[BulkSetCloudPcReviewStatusPo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/download_app_diagnostics/download_app_diagnostics_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/download_app_diagnostics/download_app_diagnostics_request_builder.py index 6b68ffef724..c55343a8820 100644 --- a/msgraph_beta/generated/users/item/managed_devices/download_app_diagnostics/download_app_diagnostics_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/download_app_diagnostics/download_app_diagnostics_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[DownloadAppDiagnosticsPostRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/execute_action/execute_action_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/execute_action/execute_action_request_builder.py index 9b041e34ca1..c63378892e0 100644 --- a/msgraph_beta/generated/users/item/managed_devices/execute_action/execute_action_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/execute_action/execute_action_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[ExecuteActionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/activate_device_esim/activate_device_esim_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/activate_device_esim/activate_device_esim_request_builder.py index 7dd7f1d2563..fa4c7e94d28 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/activate_device_esim/activate_device_esim_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/activate_device_esim/activate_device_esim_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[ActivateDeviceEsimPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/assignment_filter_evaluation_status_details/assignment_filter_evaluation_status_details_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/assignment_filter_evaluation_status_details/assignment_filter_evaluation_status_details_request_builder.py index bef17d14d82..19e70728d8c 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/assignment_filter_evaluation_status_details/assignment_filter_evaluation_status_details_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/assignment_filter_evaluation_status_details/assignment_filter_evaluation_status_details_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentFi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AssignmentFilterEvaluationStatusDetails] = None, request_configuration: Optional[AssignmentFilterEvaluationStatusDetailsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AssignmentFilterEvaluationSt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/assignment_filter_evaluation_status_details/item/assignment_filter_evaluation_status_details_item_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/assignment_filter_evaluation_status_details/item/assignment_filter_evaluation_status_details_item_request_builder.py index 062bde60ad4..c5b25cf5510 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/assignment_filter_evaluation_status_details/item/assignment_filter_evaluation_status_details_item_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/assignment_filter_evaluation_status_details/item/assignment_filter_evaluation_status_details_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Assignmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AssignmentFilterEvaluationStatusDetailsItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignmentFi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AssignmentFilterEvaluationStatusDetails] = None, request_configuration: Optional[AssignmentFilterEvaluationStatusDetailsItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AssignmentFilterEvaluationS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/bypass_activation_lock/bypass_activation_lock_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/bypass_activation_lock/bypass_activation_lock_request_builder.py index 3e615a6bb8f..ecdf6b0de15 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/bypass_activation_lock/bypass_activation_lock_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/bypass_activation_lock/bypass_activation_lock_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[BypassActiv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> BypassActivationLockRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/item/clean_windows_device/clean_windows_device_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/clean_windows_device/clean_windows_device_request_builder.py index ba9d799acdb..7208c6ec578 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/clean_windows_device/clean_windows_device_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/clean_windows_device/clean_windows_device_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[CleanWindowsDevicePostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/create_device_log_collection_request/create_device_log_collection_request_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/create_device_log_collection_request/create_device_log_collection_request_request_builder.py index 92d75917663..1b762ae9c59 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/create_device_log_collection_request/create_device_log_collection_request_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/create_device_log_collection_request/create_device_log_collection_request_request_builder.py @@ -67,7 +67,7 @@ def to_post_request_information(self,body: Optional[CreateDeviceLogCollectionReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/delete_user_from_shared_apple_device/delete_user_from_shared_apple_device_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/delete_user_from_shared_apple_device/delete_user_from_shared_apple_device_request_builder.py index 1e40a5059d8..26658a30040 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/delete_user_from_shared_apple_device/delete_user_from_shared_apple_device_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/delete_user_from_shared_apple_device/delete_user_from_shared_apple_device_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[DeleteUserFromSharedAppleDev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/deprovision/deprovision_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/deprovision/deprovision_request_builder.py index 5a151ba3a79..dcc0491fbe4 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/deprovision/deprovision_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/deprovision/deprovision_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[DeprovisionPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/detected_apps/detected_apps_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/detected_apps/detected_apps_request_builder.py index 49daea507f0..0f0568e1304 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/detected_apps/detected_apps_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/detected_apps/detected_apps_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[DetectedApps request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DetectedAppsRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/item/detected_apps/item/detected_app_item_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/detected_apps/item/detected_app_item_request_builder.py index 81ca5b5822c..5f07f0e29fb 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/detected_apps/item/detected_app_item_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/detected_apps/item/detected_app_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DetectedAppI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DetectedAppItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/item/device_category/device_category_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/device_category/device_category_request_builder.py index d28ef7acec2..8252b7709b2 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/device_category/device_category_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/device_category/device_category_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceCategoryRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCatego request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceCategory] = None, request_configuration: Optional[DeviceCategoryRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceCategory] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/device_compliance_policy_states/device_compliance_policy_states_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/device_compliance_policy_states/device_compliance_policy_states_request_builder.py index 0675386c6bc..d13d49d1764 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/device_compliance_policy_states/device_compliance_policy_states_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/device_compliance_policy_states/device_compliance_policy_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCompli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceCompliancePolicyState] = None, request_configuration: Optional[DeviceCompliancePolicyStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceCompliancePolicyState] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/device_compliance_policy_states/item/device_compliance_policy_state_item_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/device_compliance_policy_states/item/device_compliance_policy_state_item_request_builder.py index 0d2e0a6b543..2e2035d9272 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/device_compliance_policy_states/item/device_compliance_policy_state_item_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/device_compliance_policy_states/item/device_compliance_policy_state_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCom request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceCompliancePolicyStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceCompli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceCompliancePolicyState] = None, request_configuration: Optional[DeviceCompliancePolicyStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceCompliancePolicyState request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/device_configuration_states/device_configuration_states_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/device_configuration_states/device_configuration_states_request_builder.py index 6efb5e62dd1..39774a87fab 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/device_configuration_states/device_configuration_states_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/device_configuration_states/device_configuration_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceConfigurationState] = None, request_configuration: Optional[DeviceConfigurationStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceConfigurationState] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/device_configuration_states/item/device_configuration_state_item_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/device_configuration_states/item/device_configuration_state_item_request_builder.py index 8cd06f57cb9..149822862d9 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/device_configuration_states/item/device_configuration_state_item_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/device_configuration_states/item/device_configuration_state_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceCon request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceConfigurationStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceConfigurationState] = None, request_configuration: Optional[DeviceConfigurationStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[DeviceConfigurationState] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/device_health_script_states/device_health_script_states_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/device_health_script_states/device_health_script_states_request_builder.py index 63a5f05159a..94e63e4ea4a 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/device_health_script_states/device_health_script_states_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/device_health_script_states/device_health_script_states_request_builder.py @@ -88,7 +88,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceHealth request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceHealthScriptPolicyState] = None, request_configuration: Optional[DeviceHealthScriptStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -107,7 +107,7 @@ def to_post_request_information(self,body: Optional[DeviceHealthScriptPolicyStat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/device_health_script_states/with_id_with_policy_id_with_device_id/with_id_with_policy_id_with_device_id_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/device_health_script_states/with_id_with_policy_id_with_device_id/with_id_with_policy_id_with_device_id_request_builder.py index a36cbd7aa16..30ec0937fc9 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/device_health_script_states/with_id_with_policy_id_with_device_id/with_id_with_policy_id_with_device_id_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/device_health_script_states/with_id_with_policy_id_with_device_id/with_id_with_policy_id_with_device_id_request_builder.py @@ -110,7 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[WithIdWit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WithIdWithPolicyIdWithDeviceIdRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[WithIdWithPo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceHealthScriptPolicyState] = None, request_configuration: Optional[WithIdWithPolicyIdWithDeviceIdRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[DeviceHealthScriptPolicySta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/disable/disable_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/disable/disable_request_builder.py index 786de2b507e..07e20035e74 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/disable/disable_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/disable/disable_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[DisableRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DisableRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/item/disable_lost_mode/disable_lost_mode_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/disable_lost_mode/disable_lost_mode_request_builder.py index 9561eb5dc67..33c6858b718 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/disable_lost_mode/disable_lost_mode_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/disable_lost_mode/disable_lost_mode_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[DisableLost request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DisableLostModeRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/item/enable_lost_mode/enable_lost_mode_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/enable_lost_mode/enable_lost_mode_request_builder.py index e34e3592163..54a1a49f2f5 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/enable_lost_mode/enable_lost_mode_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/enable_lost_mode/enable_lost_mode_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[EnableLostModePostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/enroll_now_action/enroll_now_action_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/enroll_now_action/enroll_now_action_request_builder.py index 098ef71e6ed..b6bb65f0b00 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/enroll_now_action/enroll_now_action_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/enroll_now_action/enroll_now_action_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[EnrollNowAc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> EnrollNowActionRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_request_builder.py index 93cd7bcf6f9..bf72b4cef8c 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/get_cloud_pc_remote_action_results/get_cloud_pc_remote_action_results_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetCloudPcRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetCloudPcRemoteActionResultsRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/item/get_cloud_pc_review_status/get_cloud_pc_review_status_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/get_cloud_pc_review_status/get_cloud_pc_review_status_request_builder.py index 8ed5e22138c..1657982ecd8 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/get_cloud_pc_review_status/get_cloud_pc_review_status_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/get_cloud_pc_review_status/get_cloud_pc_review_status_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetCloudPcRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetCloudPcReviewStatusRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/item/get_file_vault_key/get_file_vault_key_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/get_file_vault_key/get_file_vault_key_request_builder.py index 1e66bed3b3a..739446795c6 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/get_file_vault_key/get_file_vault_key_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/get_file_vault_key/get_file_vault_key_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetFileVault request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetFileVaultKeyRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/item/get_non_compliant_settings/get_non_compliant_settings_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/get_non_compliant_settings/get_non_compliant_settings_request_builder.py index 43b3587fed0..4b2f14f2f21 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/get_non_compliant_settings/get_non_compliant_settings_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/get_non_compliant_settings/get_non_compliant_settings_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetNonCompli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetNonCompliantSettingsRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/item/initiate_mobile_device_management_key_recovery/initiate_mobile_device_management_key_recovery_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/initiate_mobile_device_management_key_recovery/initiate_mobile_device_management_key_recovery_request_builder.py index f5fbeab697c..b4baefe2055 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/initiate_mobile_device_management_key_recovery/initiate_mobile_device_management_key_recovery_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/initiate_mobile_device_management_key_recovery/initiate_mobile_device_management_key_recovery_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[InitiateMob request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> InitiateMobileDeviceManagementKeyRecoveryRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/item/initiate_on_demand_proactive_remediation/initiate_on_demand_proactive_remediation_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/initiate_on_demand_proactive_remediation/initiate_on_demand_proactive_remediation_request_builder.py index 1f7d3859c18..3a7cf8347ab 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/initiate_on_demand_proactive_remediation/initiate_on_demand_proactive_remediation_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/initiate_on_demand_proactive_remediation/initiate_on_demand_proactive_remediation_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[InitiateOnDemandProactiveRem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/locate_device/locate_device_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/locate_device/locate_device_request_builder.py index 5853299a320..09793e8b242 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/locate_device/locate_device_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/locate_device/locate_device_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[LocateDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LocateDeviceRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/item/log_collection_requests/item/create_download_url/create_download_url_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/log_collection_requests/item/create_download_url/create_download_url_request_builder.py index 53c78734493..9f97abdb2af 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/log_collection_requests/item/create_download_url/create_download_url_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/log_collection_requests/item/create_download_url/create_download_url_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[CreateDownl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreateDownloadUrlRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/item/log_collection_requests/item/device_log_collection_response_item_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/log_collection_requests/item/device_log_collection_response_item_request_builder.py index 359456ec70e..3f108816e36 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/log_collection_requests/item/device_log_collection_response_item_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/log_collection_requests/item/device_log_collection_response_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[DeviceLog request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DeviceLogCollectionResponseItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[DeviceLogCol request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[DeviceLogCollectionResponse] = None, request_configuration: Optional[DeviceLogCollectionResponseItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[DeviceLogCollectionResponse request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/log_collection_requests/log_collection_requests_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/log_collection_requests/log_collection_requests_request_builder.py index d2ee1cc4754..a2526ea66c8 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/log_collection_requests/log_collection_requests_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/log_collection_requests/log_collection_requests_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[LogCollectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[DeviceLogCollectionResponse] = None, request_configuration: Optional[LogCollectionRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[DeviceLogCollectionResponse] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/logout_shared_apple_device_active_user/logout_shared_apple_device_active_user_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/logout_shared_apple_device_active_user/logout_shared_apple_device_active_user_request_builder.py index 740e21f5b29..1bd1bf69d75 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/logout_shared_apple_device_active_user/logout_shared_apple_device_active_user_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/logout_shared_apple_device_active_user/logout_shared_apple_device_active_user_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[LogoutShare request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> LogoutSharedAppleDeviceActiveUserRequestBuilder: 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 f2a50daceb6..72cd473b327 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 @@ -39,6 +39,7 @@ from .log_collection_requests.log_collection_requests_request_builder import LogCollectionRequestsRequestBuilder from .managed_device_mobile_app_configuration_states.managed_device_mobile_app_configuration_states_request_builder import ManagedDeviceMobileAppConfigurationStatesRequestBuilder from .override_compliance_state.override_compliance_state_request_builder import OverrideComplianceStateRequestBuilder + from .pause_configuration_refresh.pause_configuration_refresh_request_builder import PauseConfigurationRefreshRequestBuilder from .play_lost_mode_sound.play_lost_mode_sound_request_builder import PlayLostModeSoundRequestBuilder from .reboot_now.reboot_now_request_builder import RebootNowRequestBuilder from .recover_passcode.recover_passcode_request_builder import RecoverPasscodeRequestBuilder @@ -159,7 +160,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedDeviceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -176,7 +177,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedDevice] = None, request_configuration: Optional[ManagedDeviceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -195,7 +196,7 @@ def to_patch_request_information(self,body: Optional[ManagedDevice] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -452,6 +453,15 @@ def override_compliance_state(self) -> OverrideComplianceStateRequestBuilder: return OverrideComplianceStateRequestBuilder(self.request_adapter, self.path_parameters) + @property + def pause_configuration_refresh(self) -> PauseConfigurationRefreshRequestBuilder: + """ + Provides operations to call the pauseConfigurationRefresh method. + """ + from .pause_configuration_refresh.pause_configuration_refresh_request_builder import PauseConfigurationRefreshRequestBuilder + + return PauseConfigurationRefreshRequestBuilder(self.request_adapter, self.path_parameters) + @property def play_lost_mode_sound(self) -> PlayLostModeSoundRequestBuilder: """ diff --git a/msgraph_beta/generated/users/item/managed_devices/item/managed_device_mobile_app_configuration_states/item/managed_device_mobile_app_configuration_state_item_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/managed_device_mobile_app_configuration_states/item/managed_device_mobile_app_configuration_state_item_request_builder.py index 09f8239be14..ce7d1e7f41f 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/managed_device_mobile_app_configuration_states/item/managed_device_mobile_app_configuration_state_item_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/managed_device_mobile_app_configuration_states/item/managed_device_mobile_app_configuration_state_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ManagedDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagedDeviceMobileAppConfigurationStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ManagedDeviceMobileAppConfigurationState] = None, request_configuration: Optional[ManagedDeviceMobileAppConfigurationStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ManagedDeviceMobileAppConfi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/managed_device_mobile_app_configuration_states/managed_device_mobile_app_configuration_states_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/managed_device_mobile_app_configuration_states/managed_device_mobile_app_configuration_states_request_builder.py index f72102e2389..4bd85f52d97 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/managed_device_mobile_app_configuration_states/managed_device_mobile_app_configuration_states_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/managed_device_mobile_app_configuration_states/managed_device_mobile_app_configuration_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedDeviceMobileAppConfigurationState] = None, request_configuration: Optional[ManagedDeviceMobileAppConfigurationStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[ManagedDeviceMobileAppConfig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/override_compliance_state/override_compliance_state_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/override_compliance_state/override_compliance_state_request_builder.py index 6c6ac863f14..f140a7b75ef 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/override_compliance_state/override_compliance_state_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/override_compliance_state/override_compliance_state_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[OverrideComplianceStatePostR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/pause_configuration_refresh/pause_configuration_refresh_post_request_body.py b/msgraph_beta/generated/users/item/managed_devices/item/pause_configuration_refresh/pause_configuration_refresh_post_request_body.py new file mode 100644 index 00000000000..2e762a0b5f9 --- /dev/null +++ b/msgraph_beta/generated/users/item/managed_devices/item/pause_configuration_refresh/pause_configuration_refresh_post_request_body.py @@ -0,0 +1,49 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class PauseConfigurationRefreshPostRequestBody(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 pauseTimePeriodInMinutes property + pause_time_period_in_minutes: Optional[int] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> PauseConfigurationRefreshPostRequestBody: + """ + 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: PauseConfigurationRefreshPostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return PauseConfigurationRefreshPostRequestBody() + + 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]] = { + "pauseTimePeriodInMinutes": lambda n : setattr(self, 'pause_time_period_in_minutes', 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_int_value("pauseTimePeriodInMinutes", self.pause_time_period_in_minutes) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/users/item/managed_devices/item/pause_configuration_refresh/pause_configuration_refresh_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/pause_configuration_refresh/pause_configuration_refresh_request_builder.py new file mode 100644 index 00000000000..ce1c3bd6de7 --- /dev/null +++ b/msgraph_beta/generated/users/item/managed_devices/item/pause_configuration_refresh/pause_configuration_refresh_request_builder.py @@ -0,0 +1,91 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from .pause_configuration_refresh_post_request_body import PauseConfigurationRefreshPostRequestBody + +class PauseConfigurationRefreshRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the pauseConfigurationRefresh method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new PauseConfigurationRefreshRequestBuilder 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}/pauseConfigurationRefresh", path_parameters) + + async def post(self,body: Optional[PauseConfigurationRefreshPostRequestBody] = None, request_configuration: Optional[PauseConfigurationRefreshRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Initiates a command to pause config refresh for the device. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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: Optional[PauseConfigurationRefreshPostRequestBody] = None, request_configuration: Optional[PauseConfigurationRefreshRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Initiates a command to pause config refresh for the device. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> PauseConfigurationRefreshRequestBuilder: + """ + 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: PauseConfigurationRefreshRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return PauseConfigurationRefreshRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class PauseConfigurationRefreshRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/users/item/managed_devices/item/play_lost_mode_sound/play_lost_mode_sound_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/play_lost_mode_sound/play_lost_mode_sound_request_builder.py index 7cedc889362..9cfda5ea13a 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/play_lost_mode_sound/play_lost_mode_sound_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/play_lost_mode_sound/play_lost_mode_sound_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[PlayLostModeSoundPostRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/reboot_now/reboot_now_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/reboot_now/reboot_now_request_builder.py index b9deedc8424..5de55f21a22 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/reboot_now/reboot_now_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/reboot_now/reboot_now_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RebootNowRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RebootNowRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/item/recover_passcode/recover_passcode_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/recover_passcode/recover_passcode_request_builder.py index af89e3a0f97..baa30729de9 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/recover_passcode/recover_passcode_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/recover_passcode/recover_passcode_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RecoverPass request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RecoverPasscodeRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/item/reenable/reenable_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/reenable/reenable_request_builder.py index 2a269b14a01..dbf8f43ab6a 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/reenable/reenable_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/reenable/reenable_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[ReenableReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReenableRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/item/remote_lock/remote_lock_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/remote_lock/remote_lock_request_builder.py index a3b6718ab5b..3f5689502c5 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/remote_lock/remote_lock_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/remote_lock/remote_lock_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RemoteLockR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RemoteLockRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/item/remove_device_firmware_configuration_interface_management/remove_device_firmware_configuration_interface_management_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/remove_device_firmware_configuration_interface_management/remove_device_firmware_configuration_interface_management_request_builder.py index 668d828c359..1565ef7267a 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/remove_device_firmware_configuration_interface_management/remove_device_firmware_configuration_interface_management_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/remove_device_firmware_configuration_interface_management/remove_device_firmware_configuration_interface_management_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RemoveDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/item/reprovision_cloud_pc/reprovision_cloud_pc_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/reprovision_cloud_pc/reprovision_cloud_pc_request_builder.py index 152a4b0848a..204d8d72516 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/reprovision_cloud_pc/reprovision_cloud_pc_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/reprovision_cloud_pc/reprovision_cloud_pc_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ReprovisionCloudPcRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reprovision a Cloud PC with an Intune managed device ID. This API is available in the following national cloud deployments. + Reprovision a Cloud PC with an Intune managed device ID. 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/manageddevice-reprovisioncloudpc?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ReprovisionCloudPcRequestBui def to_post_request_information(self,request_configuration: Optional[ReprovisionCloudPcRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reprovision a Cloud PC with an Intune managed device ID. This API is available in the following national cloud deployments. + Reprovision a Cloud PC with an Intune managed device ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[Reprovision request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReprovisionCloudPcRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/item/request_remote_assistance/request_remote_assistance_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/request_remote_assistance/request_remote_assistance_request_builder.py index 372249d80c8..db5dcb72253 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/request_remote_assistance/request_remote_assistance_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/request_remote_assistance/request_remote_assistance_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestRemo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RequestRemoteAssistanceRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/item/reset_passcode/reset_passcode_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/reset_passcode/reset_passcode_request_builder.py index 6ec91e7fcd0..50135f37a0e 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/reset_passcode/reset_passcode_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/reset_passcode/reset_passcode_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[ResetPassco request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResetPasscodeRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/item/resize_cloud_pc/resize_cloud_pc_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/resize_cloud_pc/resize_cloud_pc_request_builder.py index 23b8053c8a5..a954e510910 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/resize_cloud_pc/resize_cloud_pc_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/resize_cloud_pc/resize_cloud_pc_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ResizeCloudPcPostRequestBody] = None, request_configuration: Optional[ResizeCloudPcRequestBuilderPostRequestConfiguration] = None) -> None: """ - Upgrade or downgrade an existing Cloud PC to another configuration with a new virtual CPU (vCPU) and storage size. This API is available in the following national cloud deployments. + Upgrade or downgrade an existing Cloud PC to another configuration with a new virtual CPU (vCPU) and storage size. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ResizeCloudPcPostRequestBody] = None, request def to_post_request_information(self,body: Optional[ResizeCloudPcPostRequestBody] = None, request_configuration: Optional[ResizeCloudPcRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Upgrade or downgrade an existing Cloud PC to another configuration with a new virtual CPU (vCPU) and storage size. This API is available in the following national cloud deployments. + Upgrade or downgrade an existing Cloud PC to another configuration with a new virtual CPU (vCPU) and storage size. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ResizeCloudPcPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/restore_cloud_pc/restore_cloud_pc_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/restore_cloud_pc/restore_cloud_pc_request_builder.py index 6582b2981a9..846191fa566 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/restore_cloud_pc/restore_cloud_pc_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/restore_cloud_pc/restore_cloud_pc_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RestoreCloudPcPostRequestBody] = None, request_configuration: Optional[RestoreCloudPcRequestBuilderPostRequestConfiguration] = None) -> None: """ - Restore a Cloud PC device to a previous state with an Intune managed device ID. This API is available in the following national cloud deployments. + Restore a Cloud PC device to a previous state with an Intune managed device ID. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RestoreCloudPcPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[RestoreCloudPcPostRequestBody] = None, request_configuration: Optional[RestoreCloudPcRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a Cloud PC device to a previous state with an Intune managed device ID. This API is available in the following national cloud deployments. + Restore a Cloud PC device to a previous state with an Intune managed device ID. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RestoreCloudPcPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/retire/retire_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/retire/retire_request_builder.py index da243aeb7ec..a374633e0ac 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/retire/retire_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/retire/retire_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RetireReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RetireRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/item/revoke_apple_vpp_licenses/revoke_apple_vpp_licenses_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/revoke_apple_vpp_licenses/revoke_apple_vpp_licenses_request_builder.py index dfa92ce920f..76728e47428 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/revoke_apple_vpp_licenses/revoke_apple_vpp_licenses_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/revoke_apple_vpp_licenses/revoke_apple_vpp_licenses_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RevokeApple request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RevokeAppleVppLicensesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/item/rotate_bit_locker_keys/rotate_bit_locker_keys_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/rotate_bit_locker_keys/rotate_bit_locker_keys_request_builder.py index 4dc8925694e..4319f36b96c 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/rotate_bit_locker_keys/rotate_bit_locker_keys_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/rotate_bit_locker_keys/rotate_bit_locker_keys_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RotateBitLo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RotateBitLockerKeysRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/item/rotate_file_vault_key/rotate_file_vault_key_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/rotate_file_vault_key/rotate_file_vault_key_request_builder.py index 765f1c78306..abaadfdadfd 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/rotate_file_vault_key/rotate_file_vault_key_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/rotate_file_vault_key/rotate_file_vault_key_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RotateFileV request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RotateFileVaultKeyRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/item/rotate_local_admin_password/rotate_local_admin_password_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/rotate_local_admin_password/rotate_local_admin_password_request_builder.py index c4e7c2a04ab..213167e2f91 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/rotate_local_admin_password/rotate_local_admin_password_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/rotate_local_admin_password/rotate_local_admin_password_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RotateLocal request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RotateLocalAdminPasswordRequestBuilder: 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 117ef3cfca2..7b6957e3130 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 @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[SecurityB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SecurityBaselineStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[SecurityBase request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SecurityBaselineState] = None, request_configuration: Optional[SecurityBaselineStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[SecurityBaselineState] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 1087344cb6b..09ad111d0ee 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 @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[SecurityB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SecurityBaselineSettingStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[SecurityBase request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SecurityBaselineSettingState] = None, request_configuration: Optional[SecurityBaselineSettingStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[SecurityBaselineSettingStat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 c24bc152c6c..5b40e36dcf8 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingState request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SecurityBaselineSettingState] = None, request_configuration: Optional[SettingStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[SecurityBaselineSettingState request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info 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 810d3ecf779..bc29b524697 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 @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[SecurityBase request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SecurityBaselineState] = None, request_configuration: Optional[SecurityBaselineStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[SecurityBaselineState] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/send_custom_notification_to_company_portal/send_custom_notification_to_company_portal_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/send_custom_notification_to_company_portal/send_custom_notification_to_company_portal_request_builder.py index 75366732b2a..b2a431d49d6 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/send_custom_notification_to_company_portal/send_custom_notification_to_company_portal_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/send_custom_notification_to_company_portal/send_custom_notification_to_company_portal_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SendCustomNotificationToComp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_request_builder.py index 68b38627f61..2cdd812f2ce 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/set_cloud_pc_review_status/set_cloud_pc_review_status_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SetCloudPcReviewStatusPostRequestBody] = None, request_configuration: Optional[SetCloudPcReviewStatusRequestBuilderPostRequestConfiguration] = None) -> None: """ - Set the review status of a specific Cloud PC device. Use this API to set the review status of a Cloud PC to in review if you consider a Cloud PC as suspicious. After the review is completed, use this API again to set the Cloud PC back to a normal state. This API is available in the following national cloud deployments. + Set the review status of a specific Cloud PC device. Use this API to set the review status of a Cloud PC to in review if you consider a Cloud PC as suspicious. After the review is completed, use this API again to set the Cloud PC back to a normal state. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SetCloudPcReviewStatusPostRequestBody] = None def to_post_request_information(self,body: Optional[SetCloudPcReviewStatusPostRequestBody] = None, request_configuration: Optional[SetCloudPcReviewStatusRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Set the review status of a specific Cloud PC device. Use this API to set the review status of a Cloud PC to in review if you consider a Cloud PC as suspicious. After the review is completed, use this API again to set the Cloud PC back to a normal state. This API is available in the following national cloud deployments. + Set the review status of a specific Cloud PC device. Use this API to set the review status of a Cloud PC to in review if you consider a Cloud PC as suspicious. After the review is completed, use this API again to set the Cloud PC back to a normal state. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SetCloudPcReviewStatusPostRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/set_device_name/set_device_name_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/set_device_name/set_device_name_request_builder.py index 0f54fc6f554..5ab578a251b 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/set_device_name/set_device_name_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/set_device_name/set_device_name_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[SetDeviceNamePostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/shut_down/shut_down_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/shut_down/shut_down_request_builder.py index fa268c9a04d..81e652a1f42 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/shut_down/shut_down_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/shut_down/shut_down_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[ShutDownReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ShutDownRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/item/sync_device/sync_device_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/sync_device/sync_device_request_builder.py index 90e396d5536..f627a099e43 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/sync_device/sync_device_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/sync_device/sync_device_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[SyncDeviceR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SyncDeviceRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/item/trigger_configuration_manager_action/trigger_configuration_manager_action_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/trigger_configuration_manager_action/trigger_configuration_manager_action_request_builder.py index 1950145d9d0..9c095347646 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/trigger_configuration_manager_action/trigger_configuration_manager_action_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/trigger_configuration_manager_action/trigger_configuration_manager_action_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[TriggerConfigurationManagerA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/update_windows_device_account/update_windows_device_account_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/update_windows_device_account/update_windows_device_account_request_builder.py index b0c77ebf296..fac290d709e 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/update_windows_device_account/update_windows_device_account_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/update_windows_device_account/update_windows_device_account_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[UpdateWindowsDeviceAccountPo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/users/users_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/users/users_request_builder.py index f206dc919ed..4ef5cf10480 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/users/users_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/users/users_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[UsersRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UsersRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/item/windows_defender_scan/windows_defender_scan_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/windows_defender_scan/windows_defender_scan_request_builder.py index 738ff88c952..8290c30ffdd 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/windows_defender_scan/windows_defender_scan_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/windows_defender_scan/windows_defender_scan_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[WindowsDefenderScanPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/windows_defender_update_signatures/windows_defender_update_signatures_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/windows_defender_update_signatures/windows_defender_update_signatures_request_builder.py index 57044731a9b..bd08f96255e 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/windows_defender_update_signatures/windows_defender_update_signatures_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/windows_defender_update_signatures/windows_defender_update_signatures_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[WindowsDefe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> WindowsDefenderUpdateSignaturesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/managed_devices/item/windows_protection_state/detected_malware_state/detected_malware_state_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/windows_protection_state/detected_malware_state/detected_malware_state_request_builder.py index 9568ee8e611..4f53daa8062 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/windows_protection_state/detected_malware_state/detected_malware_state_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/windows_protection_state/detected_malware_state/detected_malware_state_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[DetectedMalw request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WindowsDeviceMalwareState] = None, request_configuration: Optional[DetectedMalwareStateRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[WindowsDeviceMalwareState] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/windows_protection_state/detected_malware_state/item/windows_device_malware_state_item_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/windows_protection_state/detected_malware_state/item/windows_device_malware_state_item_request_builder.py index 68cf93d7013..b66b2f1d457 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/windows_protection_state/detected_malware_state/item/windows_device_malware_state_item_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/windows_protection_state/detected_malware_state/item/windows_device_malware_state_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsDeviceMalwareStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsDeviceMalwareState] = None, request_configuration: Optional[WindowsDeviceMalwareStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[WindowsDeviceMalwareState] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/windows_protection_state/windows_protection_state_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/windows_protection_state/windows_protection_state_request_builder.py index fc4721e95ae..a1ffa604ffe 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/windows_protection_state/windows_protection_state_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/windows_protection_state/windows_protection_state_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[WindowsPr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WindowsProtectionStateRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsProte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WindowsProtectionState] = None, request_configuration: Optional[WindowsProtectionStateRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[WindowsProtectionState] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/item/wipe/wipe_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/item/wipe/wipe_request_builder.py index cc7e5b045d3..6274bb82176 100644 --- a/msgraph_beta/generated/users/item/managed_devices/item/wipe/wipe_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/item/wipe/wipe_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[WipePostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/managed_devices_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/managed_devices_request_builder.py index 75b64aff554..a8e098f6e30 100644 --- a/msgraph_beta/generated/users/item/managed_devices/managed_devices_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/managed_devices_request_builder.py @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagedDevic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ManagedDevice] = None, request_configuration: Optional[ManagedDevicesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_post_request_information(self,body: Optional[ManagedDevice] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/managed_devices/move_devices_to_o_u/move_devices_to_o_u_request_builder.py b/msgraph_beta/generated/users/item/managed_devices/move_devices_to_o_u/move_devices_to_o_u_request_builder.py index 4591e501ea9..d2571f6ff32 100644 --- a/msgraph_beta/generated/users/item/managed_devices/move_devices_to_o_u/move_devices_to_o_u_request_builder.py +++ b/msgraph_beta/generated/users/item/managed_devices/move_devices_to_o_u/move_devices_to_o_u_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[MoveDevicesToOUPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/manager/manager_request_builder.py b/msgraph_beta/generated/users/item/manager/manager_request_builder.py index f78ad027171..5244f4ecf3d 100644 --- a/msgraph_beta/generated/users/item/manager/manager_request_builder.py +++ b/msgraph_beta/generated/users/item/manager/manager_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ManagerRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a user's manager. This API is available in the following national cloud deployments. + Remove a user's manager. 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/user-delete-manager?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[ManagerRequestBuilderDelet async def get(self,request_configuration: Optional[ManagerRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. This API is available in the following national cloud deployments. + Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/user-list-manager?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[ManagerRequestBuilderGetReque def to_delete_request_information(self,request_configuration: Optional[ManagerRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a user's manager. This API is available in the following national cloud deployments. + Remove a user's manager. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -82,12 +82,12 @@ def to_delete_request_information(self,request_configuration: Optional[ManagerRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ManagerRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. This API is available in the following national cloud deployments. + Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[ManagerReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ManagerRequestBuilder: @@ -134,7 +134,7 @@ class ManagerRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class ManagerRequestBuilderGetQueryParameters(): """ - Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. This API is available in the following national cloud deployments. + Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/manager/ref/ref_request_builder.py b/msgraph_beta/generated/users/item/manager/ref/ref_request_builder.py index f28c79a409b..eccbbc325d3 100644 --- a/msgraph_beta/generated/users/item/manager/ref/ref_request_builder.py +++ b/msgraph_beta/generated/users/item/manager/ref/ref_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Remove a user's manager. This API is available in the following national cloud deployments. + Remove a user's manager. 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/user-delete-manager?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[RefRequestBuilderDeleteReq async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> Optional[str]: """ - Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. This API is available in the following national cloud deployments. + Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[str] Find more info here: https://learn.microsoft.com/graph/api/user-list-manager?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[RefRequestBuilderGetRequestCo async def put(self,body: Optional[ReferenceUpdate] = None, request_configuration: Optional[RefRequestBuilderPutRequestConfiguration] = None) -> None: """ - Assign a user's manager. This API is available in the following national cloud deployments. + Assign a user's manager. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -91,7 +91,7 @@ async def put(self,body: Optional[ReferenceUpdate] = None, request_configuration def to_delete_request_information(self,request_configuration: Optional[RefRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Remove a user's manager. This API is available in the following national cloud deployments. + Remove a user's manager. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,12 +102,12 @@ def to_delete_request_information(self,request_configuration: Optional[RefReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RefRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. This API is available in the following national cloud deployments. + Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -118,12 +118,12 @@ def to_get_request_information(self,request_configuration: Optional[RefRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_put_request_information(self,body: Optional[ReferenceUpdate] = None, request_configuration: Optional[RefRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: """ - Assign a user's manager. This API is available in the following national cloud deployments. + Assign a user's manager. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -137,7 +137,7 @@ def to_put_request_information(self,body: Optional[ReferenceUpdate] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py b/msgraph_beta/generated/users/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py index 0efcb343ea7..3cb71775248 100644 --- a/msgraph_beta/generated/users/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py +++ b/msgraph_beta/generated/users/item/member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAdminis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAdministrativeUnitRequestBuilder: diff --git a/msgraph_beta/generated/users/item/member_of/graph_directory_role/graph_directory_role_request_builder.py b/msgraph_beta/generated/users/item/member_of/graph_directory_role/graph_directory_role_request_builder.py index 422e6bafe81..d11b61bd1d5 100644 --- a/msgraph_beta/generated/users/item/member_of/graph_directory_role/graph_directory_role_request_builder.py +++ b/msgraph_beta/generated/users/item/member_of/graph_directory_role/graph_directory_role_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphDirecto request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphDirectoryRoleRequestBuilder: diff --git a/msgraph_beta/generated/users/item/member_of/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/users/item/member_of/graph_group/graph_group_request_builder.py index 66405e2309d..68160117fe7 100644 --- a/msgraph_beta/generated/users/item/member_of/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/users/item/member_of/graph_group/graph_group_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/users/item/member_of/item/directory_object_item_request_builder.py b/msgraph_beta/generated/users/item/member_of/item/directory_object_item_request_builder.py index cff005e682a..701613144ec 100644 --- a/msgraph_beta/generated/users/item/member_of/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/users/item/member_of/item/directory_object_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DirectoryObjectItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - The groups, directory roles and administrative units that the user is a member of. Read-only. Nullable. Supports $expand. + The groups, directory roles, and administrative units that the user is a member of. Read-only. Nullable. Supports $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[DirectoryObjectItemRequestBui def to_get_request_information(self,request_configuration: Optional[DirectoryObjectItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - The groups, directory roles and administrative units that the user is a member of. Read-only. Nullable. Supports $expand. + The groups, directory roles, and administrative units that the user is a member of. Read-only. Nullable. Supports $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: @@ -107,7 +107,7 @@ def graph_group(self) -> GraphGroupRequestBuilder: @dataclass class DirectoryObjectItemRequestBuilderGetQueryParameters(): """ - The groups, directory roles and administrative units that the user is a member of. Read-only. Nullable. Supports $expand. + The groups, directory roles, and administrative units that the user is a member of. Read-only. Nullable. Supports $expand. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py b/msgraph_beta/generated/users/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py index a36d260a964..13cba0d633f 100644 --- a/msgraph_beta/generated/users/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py +++ b/msgraph_beta/generated/users/item/member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAdminis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAdministrativeUnitRequestBuilder: diff --git a/msgraph_beta/generated/users/item/member_of/item/graph_directory_role/graph_directory_role_request_builder.py b/msgraph_beta/generated/users/item/member_of/item/graph_directory_role/graph_directory_role_request_builder.py index d89e6e57e36..42aaeb70006 100644 --- a/msgraph_beta/generated/users/item/member_of/item/graph_directory_role/graph_directory_role_request_builder.py +++ b/msgraph_beta/generated/users/item/member_of/item/graph_directory_role/graph_directory_role_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphDirecto request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphDirectoryRoleRequestBuilder: diff --git a/msgraph_beta/generated/users/item/member_of/item/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/users/item/member_of/item/graph_group/graph_group_request_builder.py index a6921084451..12e6484f20c 100644 --- a/msgraph_beta/generated/users/item/member_of/item/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/users/item/member_of/item/graph_group/graph_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/users/item/member_of/member_of_request_builder.py b/msgraph_beta/generated/users/item/member_of/member_of_request_builder.py index 1ba3bf5bdb1..c2c3900a5cd 100644 --- a/msgraph_beta/generated/users/item/member_of/member_of_request_builder.py +++ b/msgraph_beta/generated/users/item/member_of/member_of_request_builder.py @@ -47,7 +47,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem async def get(self,request_configuration: Optional[MemberOfRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryObjectCollectionResponse]: """ - The groups, directory roles and administrative units that the user is a member of. Read-only. Nullable. Supports $expand. + The groups, directory roles, and administrative units that the user is a member of. Read-only. Nullable. Supports $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/user-list-memberof?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[MemberOfRequestBuilderGetRequ def to_get_request_information(self,request_configuration: Optional[MemberOfRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - The groups, directory roles and administrative units that the user is a member of. Read-only. Nullable. Supports $expand. + The groups, directory roles, and administrative units that the user is a member of. Read-only. Nullable. Supports $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,7 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[MemberOfRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MemberOfRequestBuilder: @@ -133,7 +133,7 @@ def graph_group(self) -> GraphGroupRequestBuilder: @dataclass class MemberOfRequestBuilderGetQueryParameters(): """ - The groups, directory roles and administrative units that the user is a member of. Read-only. Nullable. Supports $expand. + The groups, directory roles, and administrative units that the user is a member of. Read-only. Nullable. Supports $expand. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/messages/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/messages/delta/delta_request_builder.py index 337245e2eec..96ebad11ff0 100644 --- a/msgraph_beta/generated/users/item/messages/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/delta/delta_request_builder.py @@ -24,11 +24,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni param request_adapter: The request adapter to use to execute the requests. Returns: None """ - super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/messages/delta(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}", path_parameters) + super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/messages/delta(){?changeType*,%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}", path_parameters) async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> Optional[DeltaGetResponse]: """ - Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. This API is available in the following national cloud deployments. + Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeltaGetResponse] Find more info here: https://learn.microsoft.com/graph/api/message-delta?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[DeltaRequestBuilderGetRequest def to_get_request_information(self,request_configuration: Optional[DeltaRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. This API is available in the following national cloud deployments. + Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: @dataclass class DeltaRequestBuilderGetQueryParameters(): """ - Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. This API is available in the following national cloud deployments. + Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ @@ -88,6 +88,8 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ if not original_name: raise TypeError("original_name cannot be null.") + if original_name == "change_type": + return "changeType" if original_name == "count": return "%24count" if original_name == "filter": @@ -104,6 +106,9 @@ def get_query_parameter(self,original_name: Optional[str] = None) -> str: return "%24top" return original_name + # A custom query option to filter the delta response based on the type of change. Supported values are created, updated or deleted. + change_type: Optional[str] = None + # Include count of items count: Optional[bool] = None diff --git a/msgraph_beta/generated/users/item/messages/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/messages/item/attachments/attachments_request_builder.py index 38ebf104c84..b2e6c8f7e6e 100644 --- a/msgraph_beta/generated/users/item/messages/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/item/attachments/attachments_request_builder.py @@ -46,10 +46,10 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/message-list-attachments?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/eventmessage-list-attachments?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a newmessage that is being drafted, or created and sent on the fly. This API is available in the following national cloud deployments. + Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a newmessage that is being drafted, or created and sent on the fly. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a newmessage that is being drafted, or created and sent on the fly. This API is available in the following national cloud deployments. + Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a newmessage that is being drafted, or created and sent on the fly. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of attachment objects attached to a message. This API is available in the following national cloud deployments. + Retrieve a list of attachment objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.py index 3b0527247d0..02d1af442e4 100644 --- a/msgraph_beta/generated/users/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/messages/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/messages/item/attachments/item/attachment_item_request_builder.py index 78f75036dd6..987c0a255bb 100644 --- a/msgraph_beta/generated/users/item/messages/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/item/attachments/item/attachment_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[AttachmentItemRequestBuild async def get(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Attachment]: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. 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/attachment-get?view=graph-rest-1.0 @@ -80,12 +80,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -97,7 +97,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: @@ -123,7 +123,7 @@ class AttachmentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class AttachmentItemRequestBuilderGetQueryParameters(): """ - Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. This API is available in the following national cloud deployments. + Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, Outlook task, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/messages/item/copy/copy_request_builder.py b/msgraph_beta/generated/users/item/messages/item/copy/copy_request_builder.py index 9bfe5da905c..ee1fa9cb429 100644 --- a/msgraph_beta/generated/users/item/messages/item/copy/copy_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/item/copy/copy_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyPostRequestBody] = None, request_configuration: Optional[CopyRequestBuilderPostRequestConfiguration] = None) -> Optional[Message]: """ - Copy a message to a folder within the user's mailbox. This API is available in the following national cloud deployments. + Copy a message to a folder within the user's mailbox. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Message] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyPostRequestBody] = None, request_configur def to_post_request_information(self,body: Optional[CopyPostRequestBody] = None, request_configuration: Optional[CopyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a message to a folder within the user's mailbox. This API is available in the following national cloud deployments. + Copy a message to a folder within the user's mailbox. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyPostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/messages/item/create_forward/create_forward_request_builder.py b/msgraph_beta/generated/users/item/messages/item/create_forward/create_forward_request_builder.py index 8aad1458faa..38d1e75065e 100644 --- a/msgraph_beta/generated/users/item/messages/item/create_forward/create_forward_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/item/create_forward/create_forward_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateForwardPostRequestBody] = None, request_configuration: Optional[CreateForwardRequestBuilderPostRequestConfiguration] = None) -> Optional[Message]: """ - Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. This API is available in the following national cloud deployments. + Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Message] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateForwardPostRequestBody] = None, request def to_post_request_information(self,body: Optional[CreateForwardPostRequestBody] = None, request_configuration: Optional[CreateForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. This API is available in the following national cloud deployments. + Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateForwardPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/messages/item/create_reply/create_reply_request_builder.py b/msgraph_beta/generated/users/item/messages/item/create_reply/create_reply_request_builder.py index 022e6e682e6..9d1c699e8b9 100644 --- a/msgraph_beta/generated/users/item/messages/item/create_reply/create_reply_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/item/create_reply/create_reply_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateReplyPostRequestBody] = None, request_configuration: Optional[CreateReplyRequestBuilderPostRequestConfiguration] = None) -> Optional[Message]: """ - Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. This API is available in the following national cloud deployments. + Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Message] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateReplyPostRequestBody] = None, request_c def to_post_request_information(self,body: Optional[CreateReplyPostRequestBody] = None, request_configuration: Optional[CreateReplyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. This API is available in the following national cloud deployments. + Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateReplyPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/messages/item/create_reply_all/create_reply_all_request_builder.py b/msgraph_beta/generated/users/item/messages/item/create_reply_all/create_reply_all_request_builder.py index 097248fdd10..bf0f8534cc4 100644 --- a/msgraph_beta/generated/users/item/messages/item/create_reply_all/create_reply_all_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/item/create_reply_all/create_reply_all_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateReplyAllPostRequestBody] = None, request_configuration: Optional[CreateReplyAllRequestBuilderPostRequestConfiguration] = None) -> Optional[Message]: """ - Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft message later. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. This API is available in the following national cloud deployments. + Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft message later. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Message] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateReplyAllPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[CreateReplyAllPostRequestBody] = None, request_configuration: Optional[CreateReplyAllRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft message later. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. This API is available in the following national cloud deployments. + Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft message later. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateReplyAllPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/messages/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/messages/item/extensions/extensions_request_builder.py index 45ac0f62806..3c3924095e1 100644 --- a/msgraph_beta/generated/users/item/messages/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/item/extensions/extensions_request_builder.py @@ -45,7 +45,7 @@ def by_extension_id(self,extension_id: str) -> ExtensionItemRequestBuilder: async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ExtensionCollectionResponse]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExtensionCollectionResponse] """ @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[ExtensionsRequestBuilderGetRe async def post(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> Optional[Extension]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] @@ -91,7 +91,7 @@ async def post(self,body: Optional[Extension] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[ExtensionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,12 +103,12 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ExtensionsRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/messages/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/messages/item/extensions/item/extension_item_request_builder.py index f8b1c6f14e3..9ddf539a566 100644 --- a/msgraph_beta/generated/users/item/messages/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/item/extensions/item/extension_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. This API is available in the following national cloud deployments. + Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. 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/opentypeextension-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ExtensionItemRequestBuilde async def get(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Extension]: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Extension] Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 @@ -94,7 +94,7 @@ async def patch(self,body: Optional[Extension] = None, request_configuration: Op def to_delete_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. This API is available in the following national cloud deployments. + Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ExtensionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ExtensionItemRequestBuilderGetQueryParameters(): """ - Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. This API is available in the following national cloud deployments. + Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/messages/item/forward/forward_request_builder.py b/msgraph_beta/generated/users/item/messages/item/forward/forward_request_builder.py index d98d821560a..4b37eca0086 100644 --- a/msgraph_beta/generated/users/item/messages/item/forward/forward_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/item/forward/forward_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> None: """ - Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. This API is available in the following national cloud deployments. + Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ForwardPostRequestBody] = None, request_confi def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = None, request_configuration: Optional[ForwardRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. This API is available in the following national cloud deployments. + Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ForwardPostRequestBody] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/messages/item/mark_as_junk/mark_as_junk_request_builder.py b/msgraph_beta/generated/users/item/messages/item/mark_as_junk/mark_as_junk_request_builder.py index 074ecd4e904..8a2fb942fad 100644 --- a/msgraph_beta/generated/users/item/messages/item/mark_as_junk/mark_as_junk_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/item/mark_as_junk/mark_as_junk_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[MarkAsJunkPostRequestBody] = None, request_configuration: Optional[MarkAsJunkRequestBuilderPostRequestConfiguration] = None) -> Optional[Message]: """ - Mark a message as junk. This API adds the sender to the list of blocked senders and moves the message to the Junk Email folder, when moveToJunk is true. This API is available in the following national cloud deployments. + Mark a message as junk. This API adds the sender to the list of blocked senders and moves the message to the Junk Email folder, when moveToJunk is true. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Message] @@ -54,7 +54,7 @@ async def post(self,body: Optional[MarkAsJunkPostRequestBody] = None, request_co def to_post_request_information(self,body: Optional[MarkAsJunkPostRequestBody] = None, request_configuration: Optional[MarkAsJunkRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Mark a message as junk. This API adds the sender to the list of blocked senders and moves the message to the Junk Email folder, when moveToJunk is true. This API is available in the following national cloud deployments. + Mark a message as junk. This API adds the sender to the list of blocked senders and moves the message to the Junk Email folder, when moveToJunk is true. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[MarkAsJunkPostRequestBody] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/messages/item/mark_as_not_junk/mark_as_not_junk_request_builder.py b/msgraph_beta/generated/users/item/messages/item/mark_as_not_junk/mark_as_not_junk_request_builder.py index 5ef5e6bbf81..2918ef6057f 100644 --- a/msgraph_beta/generated/users/item/messages/item/mark_as_not_junk/mark_as_not_junk_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/item/mark_as_not_junk/mark_as_not_junk_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[MarkAsNotJunkPostRequestBody] = None, request_configuration: Optional[MarkAsNotJunkRequestBuilderPostRequestConfiguration] = None) -> Optional[Message]: """ - Mark a message as not junk. This API removes the sender from the list of blocked senders and moves the message to the Inbox folder, when moveToInbox is true. This API is available in the following national cloud deployments. + Mark a message as not junk. This API removes the sender from the list of blocked senders and moves the message to the Inbox folder, when moveToInbox is true. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Message] @@ -54,7 +54,7 @@ async def post(self,body: Optional[MarkAsNotJunkPostRequestBody] = None, request def to_post_request_information(self,body: Optional[MarkAsNotJunkPostRequestBody] = None, request_configuration: Optional[MarkAsNotJunkRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Mark a message as not junk. This API removes the sender from the list of blocked senders and moves the message to the Inbox folder, when moveToInbox is true. This API is available in the following national cloud deployments. + Mark a message as not junk. This API removes the sender from the list of blocked senders and moves the message to the Inbox folder, when moveToInbox is true. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[MarkAsNotJunkPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/messages/item/mentions/item/mention_item_request_builder.py b/msgraph_beta/generated/users/item/messages/item/mentions/item/mention_item_request_builder.py index a01acf7f6dc..ff3351172e7 100644 --- a/msgraph_beta/generated/users/item/messages/item/mentions/item/mention_item_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/item/mentions/item/mention_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[MentionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. This API is available in the following national cloud deployments. + Delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. 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/message-delete?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[MentionItemRequestBuilderGetR def to_delete_request_information(self,request_configuration: Optional[MentionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. This API is available in the following national cloud deployments. + Delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -80,7 +80,7 @@ def to_delete_request_information(self,request_configuration: Optional[MentionIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MentionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -97,7 +97,7 @@ def to_get_request_information(self,request_configuration: Optional[MentionItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> MentionItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/messages/item/mentions/mentions_request_builder.py b/msgraph_beta/generated/users/item/messages/item/mentions/mentions_request_builder.py index 6021617bc95..bc58ed39c06 100644 --- a/msgraph_beta/generated/users/item/messages/item/mentions/mentions_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/item/mentions/mentions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[MentionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Mention] = None, request_configuration: Optional[MentionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Mention] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/messages/item/message_item_request_builder.py b/msgraph_beta/generated/users/item/messages/item/message_item_request_builder.py index 881ff3a6173..d945c582074 100644 --- a/msgraph_beta/generated/users/item/messages/item/message_item_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/item/message_item_request_builder.py @@ -44,10 +44,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[MessageItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. This API is available in the following national cloud deployments. + Delete eventMessage. 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/message-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/eventmessage-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[MessageItemRequestBuilderGetR The messages in a mailbox or folder. Read-only. Nullable. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Message] - Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/singlevaluelegacyextendedproperty-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -86,11 +86,11 @@ async def get(self,request_configuration: Optional[MessageItemRequestBuilderGetR async def patch(self,body: Optional[Message] = None, request_configuration: Optional[MessageItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[Message]: """ - Update the properties of an eventMessage object. This API is available in the following national cloud deployments. + Update the properties of a message object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Message] - Find more info here: https://learn.microsoft.com/graph/api/eventmessage-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/message-update?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -111,7 +111,7 @@ async def patch(self,body: Optional[Message] = None, request_configuration: Opti def to_delete_request_information(self,request_configuration: Optional[MessageItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. This API is available in the following national cloud deployments. + Delete eventMessage. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_delete_request_information(self,request_configuration: Optional[MessageIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MessageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -139,12 +139,12 @@ def to_get_request_information(self,request_configuration: Optional[MessageItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Message] = None, request_configuration: Optional[MessageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an eventMessage object. This API is available in the following national cloud deployments. + Update the properties of a message object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -158,7 +158,7 @@ def to_patch_request_information(self,body: Optional[Message] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/messages/item/move/move_request_builder.py b/msgraph_beta/generated/users/item/messages/item/move/move_request_builder.py index 3c78f2d6935..e1ac50d81d2 100644 --- a/msgraph_beta/generated/users/item/messages/item/move/move_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/item/move/move_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[MovePostRequestBody] = None, request_configuration: Optional[MoveRequestBuilderPostRequestConfiguration] = None) -> Optional[Message]: """ - Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. This API is available in the following national cloud deployments. + Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Message] @@ -54,7 +54,7 @@ async def post(self,body: Optional[MovePostRequestBody] = None, request_configur def to_post_request_information(self,body: Optional[MovePostRequestBody] = None, request_configuration: Optional[MoveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. This API is available in the following national cloud deployments. + Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[MovePostRequestBody] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/messages/item/reply/reply_request_builder.py b/msgraph_beta/generated/users/item/messages/item/reply/reply_request_builder.py index 546bedb1bd8..bf2e3c0f3a9 100644 --- a/msgraph_beta/generated/users/item/messages/item/reply/reply_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/item/reply/reply_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ReplyPostRequestBody] = None, request_configuration: Optional[ReplyRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to a message, and send it later. This API is available in the following national cloud deployments. + Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to a message, and send it later. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ReplyPostRequestBody] = None, request_configu def to_post_request_information(self,body: Optional[ReplyPostRequestBody] = None, request_configuration: Optional[ReplyRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to a message, and send it later. This API is available in the following national cloud deployments. + Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to a message, and send it later. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ReplyPostRequestBody] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/messages/item/reply_all/reply_all_request_builder.py b/msgraph_beta/generated/users/item/messages/item/reply_all/reply_all_request_builder.py index 8980891a626..10effbc3756 100644 --- a/msgraph_beta/generated/users/item/messages/item/reply_all/reply_all_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/item/reply_all/reply_all_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ReplyAllPostRequestBody] = None, request_configuration: Optional[ReplyAllRequestBuilderPostRequestConfiguration] = None) -> None: """ - Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message, and send it later. This API is available in the following national cloud deployments. + Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message, and send it later. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ReplyAllPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[ReplyAllPostRequestBody] = None, request_configuration: Optional[ReplyAllRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message, and send it later. This API is available in the following national cloud deployments. + Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message, and send it later. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ReplyAllPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/messages/item/send/send_request_builder.py b/msgraph_beta/generated/users/item/messages/item/send/send_request_builder.py index 0938716598a..02b834af483 100644 --- a/msgraph_beta/generated/users/item/messages/item/send/send_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/item/send/send_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SendRequestBuilderPostRequestConfiguration] = None) -> None: """ - Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. This API is available in the following national cloud deployments. + Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. 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/message-send?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SendRequestBuilderPostReques def to_post_request_information(self,request_configuration: Optional[SendRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. This API is available in the following national cloud deployments. + Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SendRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SendRequestBuilder: diff --git a/msgraph_beta/generated/users/item/messages/item/unsubscribe/unsubscribe_request_builder.py b/msgraph_beta/generated/users/item/messages/item/unsubscribe/unsubscribe_request_builder.py index 53e3a65bd20..8240944e3d7 100644 --- a/msgraph_beta/generated/users/item/messages/item/unsubscribe/unsubscribe_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/item/unsubscribe/unsubscribe_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[UnsubscribeRequestBuilderPostRequestConfiguration] = None) -> None: """ - Submits an email request on behalf of the signed-in user to unsubscribe from an email distribution list. Uses the information in the List-Unsubscribe header. Message senders can use mailing lists in a user-friendly way by including an option for recipients to opt out. They can do so by specifying the List-Unsubscribe header in each message following RFC-2369. Note In particular, for the unsubscribe action to work, the sender must specify mailto: and not URL-based unsubscribe information. Setting that header would also set the unsubscribeEnabled property of the message instance to true, and the unsubscribeData property to the header data. If the unsubscribeEnabled property of a message is true, you can use the unsubscribe action to unsubscribe the user from similar future messages as managed by the message sender. A successful unsubscribe action moves the message to the Deleted Items folder. The actual exclusion of the user from future mail distribution is managed by the sender. This API is available in the following national cloud deployments. + Submits an email request on behalf of the signed-in user to unsubscribe from an email distribution list. Uses the information in the List-Unsubscribe header. Message senders can use mailing lists in a user-friendly way by including an option for recipients to opt out. They can do so by specifying the List-Unsubscribe header in each message following RFC-2369. Note In particular, for the unsubscribe action to work, the sender must specify mailto: and not URL-based unsubscribe information. Setting that header would also set the unsubscribeEnabled property of the message instance to true, and the unsubscribeData property to the header data. If the unsubscribeEnabled property of a message is true, you can use the unsubscribe action to unsubscribe the user from similar future messages as managed by the message sender. A successful unsubscribe action moves the message to the Deleted Items folder. The actual exclusion of the user from future mail distribution is managed by the sender. 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/message-unsubscribe?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[UnsubscribeRequestBuilderPos def to_post_request_information(self,request_configuration: Optional[UnsubscribeRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Submits an email request on behalf of the signed-in user to unsubscribe from an email distribution list. Uses the information in the List-Unsubscribe header. Message senders can use mailing lists in a user-friendly way by including an option for recipients to opt out. They can do so by specifying the List-Unsubscribe header in each message following RFC-2369. Note In particular, for the unsubscribe action to work, the sender must specify mailto: and not URL-based unsubscribe information. Setting that header would also set the unsubscribeEnabled property of the message instance to true, and the unsubscribeData property to the header data. If the unsubscribeEnabled property of a message is true, you can use the unsubscribe action to unsubscribe the user from similar future messages as managed by the message sender. A successful unsubscribe action moves the message to the Deleted Items folder. The actual exclusion of the user from future mail distribution is managed by the sender. This API is available in the following national cloud deployments. + Submits an email request on behalf of the signed-in user to unsubscribe from an email distribution list. Uses the information in the List-Unsubscribe header. Message senders can use mailing lists in a user-friendly way by including an option for recipients to opt out. They can do so by specifying the List-Unsubscribe header in each message following RFC-2369. Note In particular, for the unsubscribe action to work, the sender must specify mailto: and not URL-based unsubscribe information. Setting that header would also set the unsubscribeEnabled property of the message instance to true, and the unsubscribeData property to the header data. If the unsubscribeEnabled property of a message is true, you can use the unsubscribe action to unsubscribe the user from similar future messages as managed by the message sender. A successful unsubscribe action moves the message to the Deleted Items folder. The actual exclusion of the user from future mail distribution is managed by the sender. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[Unsubscribe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnsubscribeRequestBuilder: diff --git a/msgraph_beta/generated/users/item/messages/item/value/content_request_builder.py b/msgraph_beta/generated/users/item/messages/item/value/content_request_builder.py index bd18d554268..92880a9f336 100644 --- a/msgraph_beta/generated/users/item/messages/item/value/content_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/item/value/content_request_builder.py @@ -30,7 +30,7 @@ async def get(self,request_configuration: Optional[ContentRequestBuilderGetReque Get media content for the navigation property messages from users 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/opentypeextension-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/user-list-messages?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/users/item/messages/messages_request_builder.py b/msgraph_beta/generated/users/item/messages/messages_request_builder.py index 5fea1d2c2df..93741583f9c 100644 --- a/msgraph_beta/generated/users/item/messages/messages_request_builder.py +++ b/msgraph_beta/generated/users/item/messages/messages_request_builder.py @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[MessagesRequestBuilderGetRequ The messages in a mailbox or folder. Read-only. Nullable. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MessageCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/user-list-messages?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[MessagesRequestBuilderGetRequ async def post(self,body: Optional[Message] = None, request_configuration: Optional[MessagesRequestBuilderPostRequestConfiguration] = None) -> Optional[Message]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Message] @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[MessagesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Message] = None, request_configuration: Optional[MessagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. This API is available in the following national cloud deployments. + Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Message] = None, request_con request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mobile_app_intent_and_states/item/mobile_app_intent_and_state_item_request_builder.py b/msgraph_beta/generated/users/item/mobile_app_intent_and_states/item/mobile_app_intent_and_state_item_request_builder.py index c3dd47a3839..e58a073b3f2 100644 --- a/msgraph_beta/generated/users/item/mobile_app_intent_and_states/item/mobile_app_intent_and_state_item_request_builder.py +++ b/msgraph_beta/generated/users/item/mobile_app_intent_and_states/item/mobile_app_intent_and_state_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppIntentAndStateItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppInt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppIntentAndState] = None, request_configuration: Optional[MobileAppIntentAndStateItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MobileAppIntentAndState] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mobile_app_intent_and_states/mobile_app_intent_and_states_request_builder.py b/msgraph_beta/generated/users/item/mobile_app_intent_and_states/mobile_app_intent_and_states_request_builder.py index 201335db480..4dd194a1d48 100644 --- a/msgraph_beta/generated/users/item/mobile_app_intent_and_states/mobile_app_intent_and_states_request_builder.py +++ b/msgraph_beta/generated/users/item/mobile_app_intent_and_states/mobile_app_intent_and_states_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppInt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppIntentAndState] = None, request_configuration: Optional[MobileAppIntentAndStatesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppIntentAndState] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py b/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py index 69ccec930a7..44137e07141 100644 --- a/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py +++ b/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AppLogCollec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AppLogCollectionRequest] = None, request_configuration: Optional[AppLogCollectionRequestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[AppLogCollectionRequest] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py b/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py index 6994fa9d34f..5f733db6ad1 100644 --- a/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py +++ b/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[AppLogCol request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AppLogCollectionRequestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AppLogCollec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AppLogCollectionRequest] = None, request_configuration: Optional[AppLogCollectionRequestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AppLogCollectionRequest] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/create_download_url/create_download_url_request_builder.py b/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/create_download_url/create_download_url_request_builder.py index e5036048f1f..44c0208c55b 100644 --- a/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/create_download_url/create_download_url_request_builder.py +++ b/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/create_download_url/create_download_url_request_builder.py @@ -60,7 +60,7 @@ def to_post_request_information(self,request_configuration: Optional[CreateDownl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CreateDownloadUrlRequestBuilder: diff --git a/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/mobile_app_troubleshooting_event_item_request_builder.py b/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/mobile_app_troubleshooting_event_item_request_builder.py index d0b52584aad..e2ea6f9add1 100644 --- a/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/mobile_app_troubleshooting_event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/mobile_app_troubleshooting_event_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[MobileApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MobileAppTroubleshootingEventItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppTro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MobileAppTroubleshootingEvent] = None, request_configuration: Optional[MobileAppTroubleshootingEventItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[MobileAppTroubleshootingEve request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/mobile_app_troubleshooting_events_request_builder.py b/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/mobile_app_troubleshooting_events_request_builder.py index 7e41ab52a03..c20c7429892 100644 --- a/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/mobile_app_troubleshooting_events_request_builder.py +++ b/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/mobile_app_troubleshooting_events_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[MobileAppTro request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MobileAppTroubleshootingEvent] = None, request_configuration: Optional[MobileAppTroubleshootingEventsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MobileAppTroubleshootingEven request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/notifications/item/notification_item_request_builder.py b/msgraph_beta/generated/users/item/notifications/item/notification_item_request_builder.py index 3c53f7d8a43..cd745bca1f6 100644 --- a/msgraph_beta/generated/users/item/notifications/item/notification_item_request_builder.py +++ b/msgraph_beta/generated/users/item/notifications/item/notification_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Notificat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[NotificationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[Notification request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Notification] = None, request_configuration: Optional[NotificationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Notification] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/notifications/notifications_request_builder.py b/msgraph_beta/generated/users/item/notifications/notifications_request_builder.py index 354a641568a..23bd62d10fd 100644 --- a/msgraph_beta/generated/users/item/notifications/notifications_request_builder.py +++ b/msgraph_beta/generated/users/item/notifications/notifications_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[Notification request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Notification] = None, request_configuration: Optional[NotificationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Notification] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/oauth2_permission_grants/item/o_auth2_permission_grant_item_request_builder.py b/msgraph_beta/generated/users/item/oauth2_permission_grants/item/o_auth2_permission_grant_item_request_builder.py index 9756ed1725b..50af72f2eeb 100644 --- a/msgraph_beta/generated/users/item/oauth2_permission_grants/item/o_auth2_permission_grant_item_request_builder.py +++ b/msgraph_beta/generated/users/item/oauth2_permission_grants/item/o_auth2_permission_grant_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[OAuth2Permis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> OAuth2PermissionGrantItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/oauth2_permission_grants/oauth2_permission_grants_request_builder.py b/msgraph_beta/generated/users/item/oauth2_permission_grants/oauth2_permission_grants_request_builder.py index c775417618f..f88fe7395b6 100644 --- a/msgraph_beta/generated/users/item/oauth2_permission_grants/oauth2_permission_grants_request_builder.py +++ b/msgraph_beta/generated/users/item/oauth2_permission_grants/oauth2_permission_grants_request_builder.py @@ -44,7 +44,7 @@ def by_o_auth2_permission_grant_id(self,o_auth2_permission_grant_id: str) -> OAu async def get(self,request_configuration: Optional[Oauth2PermissionGrantsRequestBuilderGetRequestConfiguration] = None) -> Optional[OAuth2PermissionGrantCollectionResponse]: """ - Retrieve a list of oAuth2PermissionGrant entities, which represent delegated permissions granted to enable a client application to access an API on behalf of the user. This API is available in the following national cloud deployments. + Retrieve a list of oAuth2PermissionGrant entities, which represent delegated permissions granted to enable a client application to access an API on behalf of the user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OAuth2PermissionGrantCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/user-list-oauth2permissiongrants?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[Oauth2PermissionGrantsRequest def to_get_request_information(self,request_configuration: Optional[Oauth2PermissionGrantsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of oAuth2PermissionGrant entities, which represent delegated permissions granted to enable a client application to access an API on behalf of the user. This API is available in the following national cloud deployments. + Retrieve a list of oAuth2PermissionGrant entities, which represent delegated permissions granted to enable a client application to access an API on behalf of the user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[Oauth2Permis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> Oauth2PermissionGrantsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class Oauth2PermissionGrantsRequestBuilderGetQueryParameters(): """ - Retrieve a list of oAuth2PermissionGrant entities, which represent delegated permissions granted to enable a client application to access an API on behalf of the user. This API is available in the following national cloud deployments. + Retrieve a list of oAuth2PermissionGrant entities, which represent delegated permissions granted to enable a client application to access an API on behalf of the user. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.py index d6311687fa7..02170ef1855 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[GetNotebookFromWebUrlPostRequestBody] = None, request_configuration: Optional[GetNotebookFromWebUrlRequestBuilderPostRequestConfiguration] = None) -> Optional[CopyNotebookModel]: """ - Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CopyNotebookModel] @@ -54,7 +54,7 @@ async def post(self,body: Optional[GetNotebookFromWebUrlPostRequestBody] = None, def to_post_request_information(self,body: Optional[GetNotebookFromWebUrlPostRequestBody] = None, request_configuration: Optional[GetNotebookFromWebUrlRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[GetNotebookFromWebUrlPostReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_request_builder.py index 9b376b3c7b4..e1da37322af 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/get_recent_notebooks_with_include_personal_notebooks/get_recent_notebooks_with_include_personal_notebooks_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[GetRecentNot request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.py index 199017686de..1377305d733 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyNotebookPostRequestBody] = None, request_configuration: Optional[CopyNotebookRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a notebook to the Notebooks folder in the destination Documents library. The folder is created if it doesn't exist. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a notebook to the Notebooks folder in the destination Documents library. The folder is created if it doesn't exist. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyNotebookPostRequestBody] = None, request_ def to_post_request_information(self,body: Optional[CopyNotebookPostRequestBody] = None, request_configuration: Optional[CopyNotebookRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a notebook to the Notebooks folder in the destination Documents library. The folder is created if it doesn't exist. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a notebook to the Notebooks folder in the destination Documents library. The folder is created if it doesn't exist. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyNotebookPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/notebook_item_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/notebook_item_request_builder.py index 6e2ec35d1c2..1385450a14f 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/notebook_item_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/notebook_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[NotebookItemRequestBuilder async def get(self,request_configuration: Optional[NotebookItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Notebook]: """ - Retrieve the properties and relationships of a notebook object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a notebook object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Notebook] Find more info here: https://learn.microsoft.com/graph/api/notebook-get?view=graph-rest-1.0 @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[NotebookI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[NotebookItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a notebook object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a notebook object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[NotebookItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Notebook] = None, request_configuration: Optional[NotebookItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[Notebook] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -197,7 +197,7 @@ class NotebookItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class NotebookItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a notebook object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a notebook object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/parent_notebook/parent_notebook_request_builder.py index 97f1bb0f690..4e0d743a50c 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/parent_section_group/parent_section_group_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/parent_section_group/parent_section_group_request_builder.py index 2dd9af4f8bd..ef3945c7cd7 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/parent_section_group/parent_section_group_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/parent_section_group/parent_section_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionGroupRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.py index 0bb3782a6ce..368a924c9dd 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[SectionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SectionGroupItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SectionGroup] = None, request_configuration: Optional[SectionGroupItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[SectionGroup] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/section_groups/item/section_group_item_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/section_groups/item/section_group_item_request_builder.py index 4f8b583ae6e..cff0169956c 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/section_groups/item/section_group_item_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/section_groups/item/section_group_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SectionGroupItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/section_groups/section_groups_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/section_groups/section_groups_request_builder.py index 1a4fe6613b4..711b18a0bda 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/section_groups/section_groups_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/section_groups/section_groups_request_builder.py @@ -44,7 +44,7 @@ def by_section_group_id1(self,section_group_id1: str) -> SectionGroupItemRequest async def get(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[SectionGroupCollectionResponse]: """ - Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SectionGroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sectiongroup-list-sectiongroups?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[SectionGroupsRequestBuilderGe def to_get_request_information(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SectionGroupsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionGroupsRequestBuilderGetQueryParameters(): """ - Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified section group. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py index 21e9a7cd9ca..a1897aa2cd6 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py index 4d262382d0e..fcadc49745c 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, re def to_post_request_information(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionGroupPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.py index bedd4acf46a..4dc10a29978 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenoteSe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenoteSectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenoteSecti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[OnenoteSectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[OnenoteSection] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.py index 10017c6170d..4dc2c507d42 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py index 252938da945..2b3b9b1d610 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py index 67e1e7ad4b2..b16150d4b45 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenotePa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenotePageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenotePageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[OnenotePageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[OnenotePage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py index 0df6ccb0b74..b5e367d8121 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[OnenotePatchContentPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py index bf781351787..544ea4581e8 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py index 094ba46c1d6..762d5affd7e 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py index fbf171ae133..1a4456a102c 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[PreviewReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PreviewRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.py index 3a1f096d96e..8114480b20d 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PagesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[PagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnenotePage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py index 0646841afdc..934076a7e67 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py index 46dc08d880f..bc2b0ca4932 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionGroupRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.py index b217fee7a6b..baf8cc550d6 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.py @@ -45,7 +45,7 @@ def by_onenote_section_id(self,onenote_section_id: str) -> OnenoteSectionItemReq async def get(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> Optional[OnenoteSectionCollectionResponse]: """ - Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of onenoteSection objects from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSectionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sectiongroup-list-sections?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SectionsRequestBuilderGetRequ async def post(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[SectionsRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteSection]: """ - Create a new section in the specified section group. This API is available in the following national cloud deployments. + Create a new section in the specified section group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSection] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OnenoteSection] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of onenoteSection objects from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SectionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[SectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new section in the specified section group. This API is available in the following national cloud deployments. + Create a new section in the specified section group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OnenoteSection] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionsRequestBuilderGetQueryParameters(): """ - Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of onenoteSection objects from the specified section group. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/section_groups_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/section_groups_request_builder.py index 3e27a5832fc..4e55fc14f5b 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/section_groups_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/section_groups/section_groups_request_builder.py @@ -45,7 +45,7 @@ def by_section_group_id(self,section_group_id: str) -> SectionGroupItemRequestBu async def get(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[SectionGroupCollectionResponse]: """ - Retrieve a list of section groups from the specified notebook. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified notebook. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SectionGroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/notebook-list-sectiongroups?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SectionGroupsRequestBuilderGe async def post(self,body: Optional[SectionGroup] = None, request_configuration: Optional[SectionGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[SectionGroup]: """ - Create a new section group in the specified notebook. This API is available in the following national cloud deployments. + Create a new section group in the specified notebook. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SectionGroup] @@ -92,7 +92,7 @@ async def post(self,body: Optional[SectionGroup] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of section groups from the specified notebook. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified notebook. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SectionGroup] = None, request_configuration: Optional[SectionGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new section group in the specified notebook. This API is available in the following national cloud deployments. + Create a new section group in the specified notebook. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[SectionGroup] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionGroupsRequestBuilderGetQueryParameters(): """ - Retrieve a list of section groups from the specified notebook. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified notebook. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py index 5f64cbe054f..3e488db3ff6 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py index 6014fe26696..fa795a3e1af 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, re def to_post_request_information(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionGroupPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.py index 37bdd1f6908..92b38b0ec21 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenoteSe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenoteSectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenoteSecti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[OnenoteSectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[OnenoteSection] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.py index eadbf927eb4..f1ba31ef3a9 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py index d6512c438bd..b4473ad3cc0 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.py index 45d9dfa9c43..3eb7905748c 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenotePa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenotePageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenotePageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[OnenotePageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[OnenotePage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py index a4984fb37fc..e50fc8991c4 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[OnenotePatchContentPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py index a963eb4baf9..8112644f9e6 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/parent_section/parent_section_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/parent_section/parent_section_request_builder.py index edea78ec86d..66784071043 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/parent_section/parent_section_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/parent_section/parent_section_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/preview/preview_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/preview/preview_request_builder.py index 24c50bd872b..480642d06be 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/preview/preview_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/item/preview/preview_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[PreviewReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PreviewRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.py index e650c748baf..129fd48779b 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PagesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[PagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnenotePage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/parent_notebook/parent_notebook_request_builder.py index acff3843e89..86da6398c42 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/parent_section_group/parent_section_group_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/parent_section_group/parent_section_group_request_builder.py index afa7533181b..ae62b69e346 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/parent_section_group/parent_section_group_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/item/parent_section_group/parent_section_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionGroupRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/sections_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/sections_request_builder.py index be40030ae48..56be8c0f9e2 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/sections_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/item/sections/sections_request_builder.py @@ -45,7 +45,7 @@ def by_onenote_section_id(self,onenote_section_id: str) -> OnenoteSectionItemReq async def get(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> Optional[OnenoteSectionCollectionResponse]: """ - Retrieve a list of section objects from the specified notebook. This API is available in the following national cloud deployments. + Retrieve a list of section objects from the specified notebook. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSectionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/notebook-list-sections?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SectionsRequestBuilderGetRequ async def post(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[SectionsRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteSection]: """ - Create a new section in the specified notebook. This API is available in the following national cloud deployments. + Create a new section in the specified notebook. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSection] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OnenoteSection] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of section objects from the specified notebook. This API is available in the following national cloud deployments. + Retrieve a list of section objects from the specified notebook. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SectionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[SectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new section in the specified notebook. This API is available in the following national cloud deployments. + Create a new section in the specified notebook. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OnenoteSection] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionsRequestBuilderGetQueryParameters(): """ - Retrieve a list of section objects from the specified notebook. This API is available in the following national cloud deployments. + Retrieve a list of section objects from the specified notebook. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/onenote/notebooks/notebooks_request_builder.py b/msgraph_beta/generated/users/item/onenote/notebooks/notebooks_request_builder.py index 19cfa8312f6..856dcf5ab66 100644 --- a/msgraph_beta/generated/users/item/onenote/notebooks/notebooks_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/notebooks/notebooks_request_builder.py @@ -47,7 +47,7 @@ def by_notebook_id(self,notebook_id: str) -> NotebookItemRequestBuilder: async def get(self,request_configuration: Optional[NotebooksRequestBuilderGetRequestConfiguration] = None) -> Optional[NotebookCollectionResponse]: """ - Retrieve a list of notebook objects. This API is available in the following national cloud deployments. + Retrieve a list of notebook objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[NotebookCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/onenote-list-notebooks?view=graph-rest-1.0 @@ -81,7 +81,7 @@ def get_recent_notebooks_with_include_personal_notebooks(self,include_personal_n async def post(self,body: Optional[Notebook] = None, request_configuration: Optional[NotebooksRequestBuilderPostRequestConfiguration] = None) -> Optional[Notebook]: """ - Create a new OneNote notebook. This API is available in the following national cloud deployments. + Create a new OneNote notebook. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Notebook] @@ -106,7 +106,7 @@ async def post(self,body: Optional[Notebook] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[NotebooksRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of notebook objects. This API is available in the following national cloud deployments. + Retrieve a list of notebook objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -118,12 +118,12 @@ def to_get_request_information(self,request_configuration: Optional[NotebooksReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Notebook] = None, request_configuration: Optional[NotebooksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new OneNote notebook. This API is available in the following national cloud deployments. + Create a new OneNote notebook. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -137,7 +137,7 @@ def to_post_request_information(self,body: Optional[Notebook] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -172,7 +172,7 @@ def get_notebook_from_web_url(self) -> GetNotebookFromWebUrlRequestBuilder: @dataclass class NotebooksRequestBuilderGetQueryParameters(): """ - Retrieve a list of notebook objects. This API is available in the following national cloud deployments. + Retrieve a list of notebook objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/onenote/onenote_request_builder.py b/msgraph_beta/generated/users/item/onenote/onenote_request_builder.py index c0db7187082..4061c65221d 100644 --- a/msgraph_beta/generated/users/item/onenote/onenote_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/onenote_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenoteRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenoteRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenoteReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Onenote] = None, request_configuration: Optional[OnenoteRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[Onenote] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/operations/item/onenote_operation_item_request_builder.py b/msgraph_beta/generated/users/item/onenote/operations/item/onenote_operation_item_request_builder.py index f6e3b28d506..ea9e5ccf937 100644 --- a/msgraph_beta/generated/users/item/onenote/operations/item/onenote_operation_item_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/operations/item/onenote_operation_item_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[OnenoteOperationItemReques async def get(self,request_configuration: Optional[OnenoteOperationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] Find more info here: https://learn.microsoft.com/graph/api/onenoteoperation-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[OnenoteOp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenoteOperationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenoteOpera request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenoteOperation] = None, request_configuration: Optional[OnenoteOperationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[OnenoteOperation] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class OnenoteOperationItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class OnenoteOperationItemRequestBuilderGetQueryParameters(): """ - Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/onenote/operations/operations_request_builder.py b/msgraph_beta/generated/users/item/onenote/operations/operations_request_builder.py index 033c3c3d8f6..0d48a004765 100644 --- a/msgraph_beta/generated/users/item/onenote/operations/operations_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/operations/operations_request_builder.py @@ -45,7 +45,7 @@ def by_onenote_operation_id(self,onenote_operation_id: str) -> OnenoteOperationI async def get(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> Optional[OnenoteOperationCollectionResponse]: """ - Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperationCollectionResponse] """ @@ -90,7 +90,7 @@ async def post(self,body: Optional[OnenoteOperation] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[OperationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[OperationsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenoteOperation] = None, request_configuration: Optional[OperationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnenoteOperation] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -147,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class OperationsRequestBuilderGetQueryParameters(): """ - Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. This API is available in the following national cloud deployments. + Get the status of a long-running OneNote operation. The status applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/onenote/pages/item/content/content_request_builder.py b/msgraph_beta/generated/users/item/onenote/pages/item/content/content_request_builder.py index 76c1f8ed4e1..500ee1c3c68 100644 --- a/msgraph_beta/generated/users/item/onenote/pages/item/content/content_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/pages/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/users/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.py b/msgraph_beta/generated/users/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.py index 5343dd65c16..b1c6c9c6c12 100644 --- a/msgraph_beta/generated/users/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/pages/item/onenote_page_item_request_builder.py b/msgraph_beta/generated/users/item/onenote/pages/item/onenote_page_item_request_builder.py index 535e44899c9..55bbda71829 100644 --- a/msgraph_beta/generated/users/item/onenote/pages/item/onenote_page_item_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/pages/item/onenote_page_item_request_builder.py @@ -34,7 +34,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[OnenotePageItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a OneNote page. This API is available in the following national cloud deployments. + Delete a OneNote page. 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/page-delete?view=graph-rest-1.0 @@ -99,7 +99,7 @@ async def patch(self,body: Optional[OnenotePage] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[OnenotePageItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a OneNote page. This API is available in the following national cloud deployments. + Delete a OneNote page. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -110,7 +110,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenotePa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenotePageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -127,7 +127,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenotePageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[OnenotePageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -146,7 +146,7 @@ def to_patch_request_information(self,body: Optional[OnenotePage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py b/msgraph_beta/generated/users/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py index acc2419d55a..84d0719974b 100644 --- a/msgraph_beta/generated/users/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[OnenotePatchContentPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/pages/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/users/item/onenote/pages/item/parent_notebook/parent_notebook_request_builder.py index 66161157e3c..a8d9c94b482 100644 --- a/msgraph_beta/generated/users/item/onenote/pages/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/pages/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/pages/item/parent_section/parent_section_request_builder.py b/msgraph_beta/generated/users/item/onenote/pages/item/parent_section/parent_section_request_builder.py index d60428f9046..e721f43f995 100644 --- a/msgraph_beta/generated/users/item/onenote/pages/item/parent_section/parent_section_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/pages/item/parent_section/parent_section_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/pages/item/preview/preview_request_builder.py b/msgraph_beta/generated/users/item/onenote/pages/item/preview/preview_request_builder.py index a0ed7d50dc1..8e8c3d2a9f1 100644 --- a/msgraph_beta/generated/users/item/onenote/pages/item/preview/preview_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/pages/item/preview/preview_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[PreviewReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PreviewRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/pages/pages_request_builder.py b/msgraph_beta/generated/users/item/onenote/pages/pages_request_builder.py index c7f8fe7ed7c..f472f77cee1 100644 --- a/msgraph_beta/generated/users/item/onenote/pages/pages_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/pages/pages_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PagesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[PagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnenotePage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/resources/item/content/content_request_builder.py b/msgraph_beta/generated/users/item/onenote/resources/item/content/content_request_builder.py index cc2948f9c58..552dbf72c51 100644 --- a/msgraph_beta/generated/users/item/onenote/resources/item/content/content_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/resources/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/users/item/onenote/resources/item/onenote_resource_item_request_builder.py b/msgraph_beta/generated/users/item/onenote/resources/item/onenote_resource_item_request_builder.py index f9efa0b31df..17337de556b 100644 --- a/msgraph_beta/generated/users/item/onenote/resources/item/onenote_resource_item_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/resources/item/onenote_resource_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenoteRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenoteResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenoteResou request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenoteResource] = None, request_configuration: Optional[OnenoteResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[OnenoteResource] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/resources/resources_request_builder.py b/msgraph_beta/generated/users/item/onenote/resources/resources_request_builder.py index 407ba123de0..2f89efe2d48 100644 --- a/msgraph_beta/generated/users/item/onenote/resources/resources_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/resources/resources_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourcesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenoteResource] = None, request_configuration: Optional[ResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnenoteResource] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/section_groups/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/users/item/onenote/section_groups/item/parent_notebook/parent_notebook_request_builder.py index 9be20546c77..19ed0110691 100644 --- a/msgraph_beta/generated/users/item/onenote/section_groups/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/section_groups/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/section_groups/item/parent_section_group/parent_section_group_request_builder.py b/msgraph_beta/generated/users/item/onenote/section_groups/item/parent_section_group/parent_section_group_request_builder.py index 72658486a82..6cb3b856abd 100644 --- a/msgraph_beta/generated/users/item/onenote/section_groups/item/parent_section_group/parent_section_group_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/section_groups/item/parent_section_group/parent_section_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionGroupRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/section_groups/item/section_group_item_request_builder.py b/msgraph_beta/generated/users/item/onenote/section_groups/item/section_group_item_request_builder.py index 53b552796f7..1b5fae59e01 100644 --- a/msgraph_beta/generated/users/item/onenote/section_groups/item/section_group_item_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/section_groups/item/section_group_item_request_builder.py @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[SectionGroupItemRequestBui async def get(self,request_configuration: Optional[SectionGroupItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SectionGroup]: """ - Retrieve the properties and relationships of a sectionGroup object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a sectionGroup object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SectionGroup] Find more info here: https://learn.microsoft.com/graph/api/sectiongroup-get?view=graph-rest-1.0 @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[SectionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SectionGroupItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a sectionGroup object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a sectionGroup object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SectionGroup] = None, request_configuration: Optional[SectionGroupItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[SectionGroup] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -207,7 +207,7 @@ class SectionGroupItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class SectionGroupItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a sectionGroup object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a sectionGroup object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/onenote/section_groups/item/section_groups/item/section_group_item_request_builder.py b/msgraph_beta/generated/users/item/onenote/section_groups/item/section_groups/item/section_group_item_request_builder.py index 694d1b9d97b..972774c81c4 100644 --- a/msgraph_beta/generated/users/item/onenote/section_groups/item/section_groups/item/section_group_item_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/section_groups/item/section_groups/item/section_group_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SectionGroupItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/section_groups/item/section_groups/section_groups_request_builder.py b/msgraph_beta/generated/users/item/onenote/section_groups/item/section_groups/section_groups_request_builder.py index 4ca202101fb..afd1e0461ff 100644 --- a/msgraph_beta/generated/users/item/onenote/section_groups/item/section_groups/section_groups_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/section_groups/item/section_groups/section_groups_request_builder.py @@ -44,7 +44,7 @@ def by_section_group_id1(self,section_group_id1: str) -> SectionGroupItemRequest async def get(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[SectionGroupCollectionResponse]: """ - Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SectionGroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sectiongroup-list-sectiongroups?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[SectionGroupsRequestBuilderGe def to_get_request_information(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SectionGroupsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionGroupsRequestBuilderGetQueryParameters(): """ - Retrieve a list of section groups from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of section groups from the specified section group. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py index 826d539f1f4..39dcdcaa180 100644 --- a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py index 32667aa81d0..8c58b325640 100644 --- a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, re def to_post_request_information(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionGroupPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.py b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.py index 52b60e8d27e..e0a0a803745 100644 --- a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.py @@ -108,7 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenoteSe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenoteSectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenoteSecti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[OnenoteSectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[OnenoteSection] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.py b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.py index fb113ab424b..43fb676f8db 100644 --- a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py index 8e50dccff01..b6ebf87d662 100644 --- a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py index 40e881effd9..888c22bc800 100644 --- a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenotePa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenotePageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenotePageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[OnenotePageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[OnenotePage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py index 61d4a30cfe6..4db46cddc32 100644 --- a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[OnenotePatchContentPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py index b8f677f66cb..ba8e9be18b9 100644 --- a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py index 70ea3450147..eaca587344f 100644 --- a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/parent_section/parent_section_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py index 07dec2b6233..50d0bd1a375 100644 --- a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/item/preview/preview_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[PreviewReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PreviewRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.py b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.py index 24936a24ac8..e76e7dac45b 100644 --- a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PagesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[PagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnenotePage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py index 5a93b474427..90b5ffe8ec2 100644 --- a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py index 56887209154..0ef58be892f 100644 --- a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/item/parent_section_group/parent_section_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionGroupRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/sections_request_builder.py b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/sections_request_builder.py index 1146b577c87..60b1fa9622d 100644 --- a/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/sections_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/section_groups/item/sections/sections_request_builder.py @@ -45,7 +45,7 @@ def by_onenote_section_id(self,onenote_section_id: str) -> OnenoteSectionItemReq async def get(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> Optional[OnenoteSectionCollectionResponse]: """ - Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of onenoteSection objects from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSectionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/sectiongroup-list-sections?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SectionsRequestBuilderGetRequ async def post(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[SectionsRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteSection]: """ - Create a new section in the specified section group. This API is available in the following national cloud deployments. + Create a new section in the specified section group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSection] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OnenoteSection] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of onenoteSection objects from the specified section group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SectionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[SectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new section in the specified section group. This API is available in the following national cloud deployments. + Create a new section in the specified section group. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OnenoteSection] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionsRequestBuilderGetQueryParameters(): """ - Retrieve a list of onenoteSection objects from the specified section group. This API is available in the following national cloud deployments. + Retrieve a list of onenoteSection objects from the specified section group. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/onenote/section_groups/section_groups_request_builder.py b/msgraph_beta/generated/users/item/onenote/section_groups/section_groups_request_builder.py index 6304a6b7a49..9c7f517e130 100644 --- a/msgraph_beta/generated/users/item/onenote/section_groups/section_groups_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/section_groups/section_groups_request_builder.py @@ -45,7 +45,7 @@ def by_section_group_id(self,section_group_id: str) -> SectionGroupItemRequestBu async def get(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[SectionGroupCollectionResponse]: """ - Retrieve a list of sectionGroup objects. This API is available in the following national cloud deployments. + Retrieve a list of sectionGroup objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SectionGroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/onenote-list-sectiongroups?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[SectionGroup] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[SectionGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of sectionGroup objects. This API is available in the following national cloud deployments. + Retrieve a list of sectionGroup objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionGroup request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SectionGroup] = None, request_configuration: Optional[SectionGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[SectionGroup] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionGroupsRequestBuilderGetQueryParameters(): """ - Retrieve a list of sectionGroup objects. This API is available in the following national cloud deployments. + Retrieve a list of sectionGroup objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py b/msgraph_beta/generated/users/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py index 361a7412819..3a070d4dbb3 100644 --- a/msgraph_beta/generated/users/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToNotebookPostRequestBody] = None, reques def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBody] = None, request_configuration: Optional[CopyToNotebookRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific notebook. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToNotebookPostRequestBod request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py b/msgraph_beta/generated/users/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py index fed1d52bb8f..658d09df7f7 100644 --- a/msgraph_beta/generated/users/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, re def to_post_request_information(self,body: Optional[CopyToSectionGroupPostRequestBody] = None, request_configuration: Optional[CopyToSectionGroupRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copies a section to a specific section group. For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionGroupPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/sections/item/onenote_section_item_request_builder.py b/msgraph_beta/generated/users/item/onenote/sections/item/onenote_section_item_request_builder.py index afcddffa51d..a209f837de4 100644 --- a/msgraph_beta/generated/users/item/onenote/sections/item/onenote_section_item_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/sections/item/onenote_section_item_request_builder.py @@ -52,7 +52,7 @@ async def delete(self,request_configuration: Optional[OnenoteSectionItemRequestB async def get(self,request_configuration: Optional[OnenoteSectionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OnenoteSection]: """ - Retrieve the properties and relationships of a section object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a section object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSection] Find more info here: https://learn.microsoft.com/graph/api/section-get?view=graph-rest-1.0 @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[OnenoteSe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenoteSectionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a section object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a section object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenoteSecti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[OnenoteSectionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[OnenoteSection] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -217,7 +217,7 @@ class OnenoteSectionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class OnenoteSectionItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a section object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a section object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/content/content_request_builder.py b/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/content/content_request_builder.py index 707f59c4bf5..752a9854ed6 100644 --- a/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/content/content_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py b/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py index e601ecc69d7..623f7c41077 100644 --- a/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> Optional[OnenoteOperation]: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteOperation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CopyToSectionPostRequestBody] = None, request def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody] = None, request_configuration: Optional[CopyToSectionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. This API is available in the following national cloud deployments. + Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CopyToSectionPostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.py b/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.py index c49645740b6..0b20aa9daff 100644 --- a/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.py @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[OnenotePa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnenotePageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[OnenotePageI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[OnenotePageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[OnenotePage] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py b/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py index 1c262e587be..1c8735cf633 100644 --- a/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[OnenotePatchContentPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py index 34d142ab41f..52ede1df192 100644 --- a/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/parent_section/parent_section_request_builder.py b/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/parent_section/parent_section_request_builder.py index 5c6870be40f..1f051616f2a 100644 --- a/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/parent_section/parent_section_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/parent_section/parent_section_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/preview/preview_request_builder.py b/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/preview/preview_request_builder.py index d00b3aef87f..e85fef808a6 100644 --- a/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/preview/preview_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/sections/item/pages/item/preview/preview_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[PreviewReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PreviewRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/sections/item/pages/pages_request_builder.py b/msgraph_beta/generated/users/item/onenote/sections/item/pages/pages_request_builder.py index 22a16e48b57..915fbfc8f95 100644 --- a/msgraph_beta/generated/users/item/onenote/sections/item/pages/pages_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/sections/item/pages/pages_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[PagesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenotePage] = None, request_configuration: Optional[PagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[OnenotePage] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/onenote/sections/item/parent_notebook/parent_notebook_request_builder.py b/msgraph_beta/generated/users/item/onenote/sections/item/parent_notebook/parent_notebook_request_builder.py index 1b270d7aef2..c7b24e98c60 100644 --- a/msgraph_beta/generated/users/item/onenote/sections/item/parent_notebook/parent_notebook_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/sections/item/parent_notebook/parent_notebook_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentNotebo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentNotebookRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/sections/item/parent_section_group/parent_section_group_request_builder.py b/msgraph_beta/generated/users/item/onenote/sections/item/parent_section_group/parent_section_group_request_builder.py index 15109d132ed..aa7f1afb97a 100644 --- a/msgraph_beta/generated/users/item/onenote/sections/item/parent_section_group/parent_section_group_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/sections/item/parent_section_group/parent_section_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentSectio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ParentSectionGroupRequestBuilder: diff --git a/msgraph_beta/generated/users/item/onenote/sections/sections_request_builder.py b/msgraph_beta/generated/users/item/onenote/sections/sections_request_builder.py index da4c0e2026d..b9620818bee 100644 --- a/msgraph_beta/generated/users/item/onenote/sections/sections_request_builder.py +++ b/msgraph_beta/generated/users/item/onenote/sections/sections_request_builder.py @@ -45,7 +45,7 @@ def by_onenote_section_id(self,onenote_section_id: str) -> OnenoteSectionItemReq async def get(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> Optional[OnenoteSectionCollectionResponse]: """ - Retrieve a list of section objects. This API is available in the following national cloud deployments. + Retrieve a list of section objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnenoteSectionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/onenote-list-sections?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[OnenoteSection] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[SectionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of section objects. This API is available in the following national cloud deployments. + Retrieve a list of section objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[SectionsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnenoteSection] = None, request_configuration: Optional[SectionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[OnenoteSection] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SectionsRequestBuilderGetQueryParameters(): """ - Retrieve a list of section objects. This API is available in the following national cloud deployments. + Retrieve a list of section objects. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/online_meetings/create_or_get/create_or_get_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/create_or_get/create_or_get_request_builder.py index de6736c2b35..7ebb62889b5 100644 --- a/msgraph_beta/generated/users/item/online_meetings/create_or_get/create_or_get_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/create_or_get/create_or_get_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateOrGetPostRequestBody] = None, request_configuration: Optional[CreateOrGetRequestBuilderPostRequestConfiguration] = None) -> Optional[OnlineMeeting]: """ - Create an onlineMeeting object with a custom specified external ID. If the external ID already exists, this API will return the onlineMeeting object with that external ID. This API is available in the following national cloud deployments. + Create an onlineMeeting object with a custom specified external ID. If the external ID already exists, this API will return the onlineMeeting object with that external ID. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnlineMeeting] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateOrGetPostRequestBody] = None, request_c def to_post_request_information(self,body: Optional[CreateOrGetPostRequestBody] = None, request_configuration: Optional[CreateOrGetRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an onlineMeeting object with a custom specified external ID. If the external ID already exists, this API will return the onlineMeeting object with that external ID. This API is available in the following national cloud deployments. + Create an onlineMeeting object with a custom specified external ID. If the external ID already exists, this API will return the onlineMeeting object with that external ID. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateOrGetPostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/online_meetings/get_all_recordings/get_all_recordings_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/get_all_recordings/get_all_recordings_request_builder.py index 60962c6d643..db8ff72851f 100644 --- a/msgraph_beta/generated/users/item/online_meetings/get_all_recordings/get_all_recordings_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/get_all_recordings/get_all_recordings_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetAllRecord request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetAllRecordingsRequestBuilder: diff --git a/msgraph_beta/generated/users/item/online_meetings/get_all_transcripts/get_all_transcripts_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/get_all_transcripts/get_all_transcripts_request_builder.py index 46a25191ffd..eda0c9086eb 100644 --- a/msgraph_beta/generated/users/item/online_meetings/get_all_transcripts/get_all_transcripts_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/get_all_transcripts/get_all_transcripts_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GetAllTransc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetAllTranscriptsRequestBuilder: diff --git a/msgraph_beta/generated/users/item/online_meetings/item/alternative_recording/alternative_recording_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/alternative_recording/alternative_recording_request_builder.py index d71da9a7442..374377f5a61 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/alternative_recording/alternative_recording_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/alternative_recording/alternative_recording_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[AlternativeR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[AlternativeRecordingRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/users/item/online_meetings/item/attendance_reports/attendance_reports_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/attendance_reports/attendance_reports_request_builder.py index fe1be19b7c9..42c3097449f 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/attendance_reports/attendance_reports_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/attendance_reports/attendance_reports_request_builder.py @@ -18,7 +18,7 @@ class AttendanceReportsRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni def by_meeting_attendance_report_id(self,meeting_attendance_report_id: str) -> MeetingAttendanceReportItemRequestBuilder: """ - Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. param meeting_attendance_report_id: The unique identifier of meetingAttendanceReport Returns: MeetingAttendanceReportItemRequestBuilder """ @@ -45,10 +45,9 @@ def by_meeting_attendance_report_id(self,meeting_attendance_report_id: str) -> M async def get(self,request_configuration: Optional[AttendanceReportsRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingAttendanceReportCollectionResponse]: """ - Get a list of meetingAttendanceReport objects for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingAttendanceReportCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/meetingattendancereport-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -91,7 +90,7 @@ async def post(self,body: Optional[MeetingAttendanceReport] = None, request_conf def to_get_request_information(self,request_configuration: Optional[AttendanceReportsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of meetingAttendanceReport objects for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[AttendanceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MeetingAttendanceReport] = None, request_configuration: Optional[AttendanceReportsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +121,7 @@ def to_post_request_information(self,body: Optional[MeetingAttendanceReport] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +147,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AttendanceReportsRequestBuilderGetQueryParameters(): """ - Get a list of meetingAttendanceReport objects for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/online_meetings/item/attendance_reports/item/attendance_records/attendance_records_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/attendance_reports/item/attendance_records/attendance_records_request_builder.py index 8dc3fe36e74..803a0b62c85 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/attendance_reports/item/attendance_records/attendance_records_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/attendance_reports/item/attendance_records/attendance_records_request_builder.py @@ -45,7 +45,7 @@ def by_attendance_record_id(self,attendance_record_id: str) -> AttendanceRecordI async def get(self,request_configuration: Optional[AttendanceRecordsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttendanceRecordCollectionResponse]: """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of attendanceRecord objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttendanceRecordCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/attendancerecord-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AttendanceRecord] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[AttendanceRecordsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of attendanceRecord objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AttendanceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AttendanceRecord] = None, request_configuration: Optional[AttendanceRecordsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AttendanceRecord] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AttendanceRecordsRequestBuilderGetQueryParameters(): """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of attendanceRecord objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/online_meetings/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.py index 056cfdd70a9..41b23e0d21f 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Attendanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttendanceRecordItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AttendanceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AttendanceRecord] = None, request_configuration: Optional[AttendanceRecordItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AttendanceRecord] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/online_meetings/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py index 4c396ef7787..a7a09b9151d 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py @@ -16,7 +16,7 @@ class MeetingAttendanceReportItemRequestBuilder(BaseRequestBuilder): """ - Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. """ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: """ @@ -48,10 +48,9 @@ async def delete(self,request_configuration: Optional[MeetingAttendanceReportIte async def get(self,request_configuration: Optional[MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingAttendanceReport]: """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingAttendanceReport] - Find more info here: https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -105,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[MeetingAt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MeetingAttendanceReportItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[MeetingAtten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MeetingAttendanceReport] = None, request_configuration: Optional[MeetingAttendanceReportItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +140,7 @@ def to_patch_request_information(self,body: Optional[MeetingAttendanceReport] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +176,7 @@ class MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration(BaseRe @dataclass class MeetingAttendanceReportItemRequestBuilderGetQueryParameters(): """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + The attendance reports of an online meeting. Read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/online_meetings/item/attendee_report/attendee_report_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/attendee_report/attendee_report_request_builder.py index 64ee6a03005..c4760a99742 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/attendee_report/attendee_report_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/attendee_report/attendee_report_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[AttendeeRepo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[AttendeeReportRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/users/item/online_meetings/item/broadcast_recording/broadcast_recording_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/broadcast_recording/broadcast_recording_request_builder.py index 36c623c6192..f1c3f25df75 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/broadcast_recording/broadcast_recording_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/broadcast_recording/broadcast_recording_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[BroadcastRec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[BroadcastRecordingRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/users/item/online_meetings/item/get_virtual_appointment_join_web_url/get_virtual_appointment_join_web_url_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/get_virtual_appointment_join_web_url/get_virtual_appointment_join_web_url_request_builder.py index 8e7f74bf321..06a3cbde488 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/get_virtual_appointment_join_web_url/get_virtual_appointment_join_web_url_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/get_virtual_appointment_join_web_url/get_virtual_appointment_join_web_url_request_builder.py @@ -60,7 +60,7 @@ def to_get_request_information(self,request_configuration: Optional[GetVirtualAp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GetVirtualAppointmentJoinWebUrlRequestBuilder: diff --git a/msgraph_beta/generated/users/item/online_meetings/item/meeting_attendance_report/attendance_records/attendance_records_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/meeting_attendance_report/attendance_records/attendance_records_request_builder.py index 7a23b6844a1..9048bd42749 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/meeting_attendance_report/attendance_records/attendance_records_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/meeting_attendance_report/attendance_records/attendance_records_request_builder.py @@ -45,7 +45,7 @@ def by_attendance_record_id(self,attendance_record_id: str) -> AttendanceRecordI async def get(self,request_configuration: Optional[AttendanceRecordsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttendanceRecordCollectionResponse]: """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of attendanceRecord objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttendanceRecordCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/attendancerecord-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AttendanceRecord] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[AttendanceRecordsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of attendanceRecord objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AttendanceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AttendanceRecord] = None, request_configuration: Optional[AttendanceRecordsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AttendanceRecord] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AttendanceRecordsRequestBuilderGetQueryParameters(): """ - Get a list of attendanceRecord objects and their properties. This API is available in the following national cloud deployments. + Get a list of attendanceRecord objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/online_meetings/item/meeting_attendance_report/attendance_records/item/attendance_record_item_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/meeting_attendance_report/attendance_records/item/attendance_record_item_request_builder.py index 2d81eae7aec..55fef83b7bd 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/meeting_attendance_report/attendance_records/item/attendance_record_item_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/meeting_attendance_report/attendance_records/item/attendance_record_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Attendanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttendanceRecordItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AttendanceRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AttendanceRecord] = None, request_configuration: Optional[AttendanceRecordItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AttendanceRecord] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/online_meetings/item/meeting_attendance_report/meeting_attendance_report_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/meeting_attendance_report/meeting_attendance_report_request_builder.py index 3eb2aaccb17..4c58b34af2f 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/meeting_attendance_report/meeting_attendance_report_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/meeting_attendance_report/meeting_attendance_report_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[MeetingAttendanceReportReq async def get(self,request_configuration: Optional[MeetingAttendanceReportRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingAttendanceReport]: """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingAttendanceReport] Find more info here: https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[MeetingAt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MeetingAttendanceReportRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[MeetingAtten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MeetingAttendanceReport] = None, request_configuration: Optional[MeetingAttendanceReportRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[MeetingAttendanceReport] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class MeetingAttendanceReportRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class MeetingAttendanceReportRequestBuilderGetQueryParameters(): """ - Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. This API is available in the following national cloud deployments. + Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/online_meetings/item/online_meeting_item_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/online_meeting_item_request_builder.py index f77b10a6913..98cbe957858 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/online_meeting_item_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/online_meeting_item_request_builder.py @@ -21,6 +21,8 @@ from .recording.recording_request_builder import RecordingRequestBuilder from .recordings.recordings_request_builder import RecordingsRequestBuilder from .registration.registration_request_builder import RegistrationRequestBuilder + from .send_virtual_appointment_reminder_sms.send_virtual_appointment_reminder_sms_request_builder import SendVirtualAppointmentReminderSmsRequestBuilder + from .send_virtual_appointment_sms.send_virtual_appointment_sms_request_builder import SendVirtualAppointmentSmsRequestBuilder from .transcripts.transcripts_request_builder import TranscriptsRequestBuilder class OnlineMeetingItemRequestBuilder(BaseRequestBuilder): @@ -38,7 +40,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[OnlineMeetingItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an onlineMeeting object. This API is available in the following national cloud deployments. + Delete an onlineMeeting object. 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/onlinemeeting-delete?view=graph-rest-1.0 @@ -58,7 +60,7 @@ async def delete(self,request_configuration: Optional[OnlineMeetingItemRequestBu async def get(self,request_configuration: Optional[OnlineMeetingItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OnlineMeeting]: """ - Information about a meeting, including the URL used to join a meeting, the attendees' list, and the description. + Information about a meeting, including the URL used to join a meeting, the attendees list, and the description. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnlineMeeting] """ @@ -79,7 +81,7 @@ async def get(self,request_configuration: Optional[OnlineMeetingItemRequestBuild async def patch(self,body: Optional[OnlineMeeting] = None, request_configuration: Optional[OnlineMeetingItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[OnlineMeeting]: """ - Update the properties of the specified onlineMeeting object. Please see Request body section for the list of properties that support updating. This API is available in the following national cloud deployments. + Update the properties of the specified onlineMeeting object. Please see Request body section for the list of properties that support updating. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnlineMeeting] @@ -104,7 +106,7 @@ async def patch(self,body: Optional[OnlineMeeting] = None, request_configuration def to_delete_request_information(self,request_configuration: Optional[OnlineMeetingItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an onlineMeeting object. This API is available in the following national cloud deployments. + Delete an onlineMeeting object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -115,12 +117,12 @@ def to_delete_request_information(self,request_configuration: Optional[OnlineMee request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OnlineMeetingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Information about a meeting, including the URL used to join a meeting, the attendees' list, and the description. + Information about a meeting, including the URL used to join a meeting, the attendees list, and the description. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -132,12 +134,12 @@ def to_get_request_information(self,request_configuration: Optional[OnlineMeetin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OnlineMeeting] = None, request_configuration: Optional[OnlineMeetingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of the specified onlineMeeting object. Please see Request body section for the list of properties that support updating. This API is available in the following national cloud deployments. + Update the properties of the specified onlineMeeting object. Please see Request body section for the list of properties that support updating. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -151,7 +153,7 @@ def to_patch_request_information(self,body: Optional[OnlineMeeting] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +179,7 @@ def alternative_recording(self) -> AlternativeRecordingRequestBuilder: @property def attendance_reports(self) -> AttendanceReportsRequestBuilder: """ - Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeeting entity. + Provides operations to manage the attendanceReports property of the microsoft.graph.onlineMeetingBase entity. """ from .attendance_reports.attendance_reports_request_builder import AttendanceReportsRequestBuilder @@ -246,6 +248,24 @@ def registration(self) -> RegistrationRequestBuilder: return RegistrationRequestBuilder(self.request_adapter, self.path_parameters) + @property + def send_virtual_appointment_reminder_sms(self) -> SendVirtualAppointmentReminderSmsRequestBuilder: + """ + Provides operations to call the sendVirtualAppointmentReminderSms method. + """ + from .send_virtual_appointment_reminder_sms.send_virtual_appointment_reminder_sms_request_builder import SendVirtualAppointmentReminderSmsRequestBuilder + + return SendVirtualAppointmentReminderSmsRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def send_virtual_appointment_sms(self) -> SendVirtualAppointmentSmsRequestBuilder: + """ + Provides operations to call the sendVirtualAppointmentSms method. + """ + from .send_virtual_appointment_sms.send_virtual_appointment_sms_request_builder import SendVirtualAppointmentSmsRequestBuilder + + return SendVirtualAppointmentSmsRequestBuilder(self.request_adapter, self.path_parameters) + @property def transcripts(self) -> TranscriptsRequestBuilder: """ @@ -268,7 +288,7 @@ class OnlineMeetingItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class OnlineMeetingItemRequestBuilderGetQueryParameters(): """ - Information about a meeting, including the URL used to join a meeting, the attendees' list, and the description. + Information about a meeting, including the URL used to join a meeting, the attendees list, and the description. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/online_meetings/item/recording/recording_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/recording/recording_request_builder.py index a03f0bb873b..74e6fe0c84e 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/recording/recording_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/recording/recording_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[RecordingReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[RecordingRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/users/item/online_meetings/item/recordings/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/recordings/delta/delta_request_builder.py index 282fc962e4d..1559aea016e 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/recordings/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/recordings/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/users/item/online_meetings/item/recordings/item/call_recording_item_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/recordings/item/call_recording_item_request_builder.py index a62504a3e7b..6cd68767a76 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/recordings/item/call_recording_item_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/recordings/item/call_recording_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[CallRecordingItemRequestBu async def get(self,request_configuration: Optional[CallRecordingItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CallRecording]: """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. + Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CallRecording] Find more info here: https://learn.microsoft.com/graph/api/callrecording-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[CallRecor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CallRecordingItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. + Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[CallRecordin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CallRecording] = None, request_configuration: Optional[CallRecordingItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[CallRecording] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class CallRecordingItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class CallRecordingItemRequestBuilderGetQueryParameters(): """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. + Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/online_meetings/item/recordings/item/content/content_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/recordings/item/content/content_request_builder.py index 40255099262..d804dee9687 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/recordings/item/content/content_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/recordings/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/users/item/online_meetings/item/recordings/recordings_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/recordings/recordings_request_builder.py index 84ec00aacff..9b3d9e69bf1 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/recordings/recordings_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/recordings/recordings_request_builder.py @@ -46,7 +46,7 @@ def by_call_recording_id(self,call_recording_id: str) -> CallRecordingItemReques async def get(self,request_configuration: Optional[RecordingsRequestBuilderGetRequestConfiguration] = None) -> Optional[CallRecordingCollectionResponse]: """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. + Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CallRecordingCollectionResponse] """ @@ -91,7 +91,7 @@ async def post(self,body: Optional[CallRecording] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[RecordingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. + Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RecordingsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CallRecording] = None, request_configuration: Optional[RecordingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[CallRecording] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -157,7 +157,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class RecordingsRequestBuilderGetQueryParameters(): """ - Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. This API is available in the following national cloud deployments. + Get a callRecording object associated with a scheduled onlineMeeting. This API doesn't support getting call recordings from channel meetings. For a recording, this API returns the metadata of the single recording associated with the online meeting. For the content of a recording, this API returns the stream of bytes associated with the recording. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py index c5b1b63053a..b0d999771f3 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/custom_questions_request_builder.py @@ -45,7 +45,7 @@ def by_meeting_registration_question_id(self,meeting_registration_question_id: s async def get(self,request_configuration: Optional[CustomQuestionsRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingRegistrationQuestionCollectionResponse]: """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/meetingregistration-list-customquestions?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[CustomQuestionsRequestBuilder async def post(self,body: Optional[MeetingRegistrationQuestion] = None, request_configuration: Optional[CustomQuestionsRequestBuilderPostRequestConfiguration] = None) -> Optional[MeetingRegistrationQuestion]: """ - Create a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Create a custom registration question associated with a meetingRegistration object on behalf of the organizer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestion] @@ -92,7 +92,7 @@ async def post(self,body: Optional[MeetingRegistrationQuestion] = None, request_ def to_get_request_information(self,request_configuration: Optional[CustomQuestionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[CustomQuesti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MeetingRegistrationQuestion] = None, request_configuration: Optional[CustomQuestionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Create a custom registration question associated with a meetingRegistration object on behalf of the organizer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[MeetingRegistrationQuestion] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CustomQuestionsRequestBuilderGetQueryParameters(): """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py index f69c3f12a5e..f93cd4e7037 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/registration/custom_questions/item/meeting_registration_question_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[MeetingRegistrationQuestionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a custom registration question from a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Delete a custom registration question from a meetingRegistration object on behalf of the organizer. 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/meetingregistrationquestion-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[MeetingRegistrationQuestio async def get(self,request_configuration: Optional[MeetingRegistrationQuestionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingRegistrationQuestion]: """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestion] Find more info here: https://learn.microsoft.com/graph/api/meetingregistrationquestion-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[MeetingRegistrationQuestionIt async def patch(self,body: Optional[MeetingRegistrationQuestion] = None, request_configuration: Optional[MeetingRegistrationQuestionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[MeetingRegistrationQuestion]: """ - Update a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Update a custom registration question associated with a meetingRegistration object on behalf of the organizer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistrationQuestion] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[MeetingRegistrationQuestion] = None, request def to_delete_request_information(self,request_configuration: Optional[MeetingRegistrationQuestionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a custom registration question from a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Delete a custom registration question from a meetingRegistration object on behalf of the organizer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[MeetingRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MeetingRegistrationQuestionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[MeetingRegis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MeetingRegistrationQuestion] = None, request_configuration: Optional[MeetingRegistrationQuestionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Update a custom registration question associated with a meetingRegistration object on behalf of the organizer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[MeetingRegistrationQuestion request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class MeetingRegistrationQuestionItemRequestBuilderDeleteRequestConfiguration(Ba @dataclass class MeetingRegistrationQuestionItemRequestBuilderGetQueryParameters(): """ - Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. This API is available in the following national cloud deployments. + Get a custom registration question associated with a meetingRegistration object on behalf of the organizer. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py index 8a136155e4f..79d305412b2 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/item/meeting_registrant_base_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[MeetingRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[MeetingRegistrantBaseItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[MeetingRegis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MeetingRegistrantBase] = None, request_configuration: Optional[MeetingRegistrantBaseItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[MeetingRegistrantBase] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/registrants_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/registrants_request_builder.py index 27105921d69..eb12844ef44 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/registrants_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/registration/registrants/registrants_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[RegistrantsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[MeetingRegistrantBase] = None, request_configuration: Optional[RegistrantsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[MeetingRegistrantBase] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/online_meetings/item/registration/registration_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/registration/registration_request_builder.py index fd7f4c58834..6c4b09a3640 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/registration/registration_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/registration/registration_request_builder.py @@ -30,10 +30,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[RegistrationRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Disable and delete the externalMeetingRegistration of an onlineMeeting. This API is available in the following national cloud deployments. + Disable and delete the meetingRegistration of an onlineMeeting on behalf of the organizer. 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/externalmeetingregistration-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/meetingregistration-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RegistrationRequestBuilder async def get(self,request_configuration: Optional[RegistrationRequestBuilderGetRequestConfiguration] = None) -> Optional[MeetingRegistration]: """ - Get the externalMeetingRegistration details associated with an onlineMeeting. This API is available in the following national cloud deployments. + Get the externalMeetingRegistration details associated with an onlineMeeting. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistration] Find more info here: https://learn.microsoft.com/graph/api/externalmeetingregistration-get?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[RegistrationRequestBuilderGet async def patch(self,body: Optional[MeetingRegistration] = None, request_configuration: Optional[RegistrationRequestBuilderPatchRequestConfiguration] = None) -> Optional[MeetingRegistration]: """ - Update the details of a meetingRegistration object assciated with an onlineMeeting on behalf of the organizer. This API is available in the following national cloud deployments. + Update the details of a meetingRegistration object assciated with an onlineMeeting on behalf of the organizer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingRegistration] @@ -97,7 +97,7 @@ async def patch(self,body: Optional[MeetingRegistration] = None, request_configu def to_delete_request_information(self,request_configuration: Optional[RegistrationRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Disable and delete the externalMeetingRegistration of an onlineMeeting. This API is available in the following national cloud deployments. + Disable and delete the meetingRegistration of an onlineMeeting on behalf of the organizer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[Registrat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RegistrationRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the externalMeetingRegistration details associated with an onlineMeeting. This API is available in the following national cloud deployments. + Get the externalMeetingRegistration details associated with an onlineMeeting. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[Registration request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[MeetingRegistration] = None, request_configuration: Optional[RegistrationRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the details of a meetingRegistration object assciated with an onlineMeeting on behalf of the organizer. This API is available in the following national cloud deployments. + Update the details of a meetingRegistration object assciated with an onlineMeeting on behalf of the organizer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[MeetingRegistration] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class RegistrationRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class RegistrationRequestBuilderGetQueryParameters(): """ - Get the externalMeetingRegistration details associated with an onlineMeeting. This API is available in the following national cloud deployments. + Get the externalMeetingRegistration details associated with an onlineMeeting. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py b/msgraph_beta/generated/users/item/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py new file mode 100644 index 00000000000..dfd9cc3df05 --- /dev/null +++ b/msgraph_beta/generated/users/item/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_post_request_body.py @@ -0,0 +1,63 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.attendee_notification_info import AttendeeNotificationInfo + from ......models.remind_before_time_in_minutes_type import RemindBeforeTimeInMinutesType + +@dataclass +class SendVirtualAppointmentReminderSmsPostRequestBody(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 attendees property + attendees: Optional[List[AttendeeNotificationInfo]] = None + # The remindBeforeTimeInMinutesType property + remind_before_time_in_minutes_type: Optional[RemindBeforeTimeInMinutesType] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> SendVirtualAppointmentReminderSmsPostRequestBody: + """ + 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: SendVirtualAppointmentReminderSmsPostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return SendVirtualAppointmentReminderSmsPostRequestBody() + + 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.attendee_notification_info import AttendeeNotificationInfo + from ......models.remind_before_time_in_minutes_type import RemindBeforeTimeInMinutesType + + from ......models.attendee_notification_info import AttendeeNotificationInfo + from ......models.remind_before_time_in_minutes_type import RemindBeforeTimeInMinutesType + + fields: Dict[str, Callable[[Any], None]] = { + "attendees": lambda n : setattr(self, 'attendees', n.get_collection_of_object_values(AttendeeNotificationInfo)), + "remindBeforeTimeInMinutesType": lambda n : setattr(self, 'remind_before_time_in_minutes_type', n.get_enum_value(RemindBeforeTimeInMinutesType)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_collection_of_object_values("attendees", self.attendees) + writer.write_enum_value("remindBeforeTimeInMinutesType", self.remind_before_time_in_minutes_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/users/item/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_request_builder.py new file mode 100644 index 00000000000..c210a138e87 --- /dev/null +++ b/msgraph_beta/generated/users/item/online_meetings/item/send_virtual_appointment_reminder_sms/send_virtual_appointment_reminder_sms_request_builder.py @@ -0,0 +1,92 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from .send_virtual_appointment_reminder_sms_post_request_body import SendVirtualAppointmentReminderSmsPostRequestBody + +class SendVirtualAppointmentReminderSmsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the sendVirtualAppointmentReminderSms method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new SendVirtualAppointmentReminderSmsRequestBuilder 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}/onlineMeetings/{onlineMeeting%2Did}/sendVirtualAppointmentReminderSms", path_parameters) + + async def post(self,body: Optional[SendVirtualAppointmentReminderSmsPostRequestBody] = None, request_configuration: Optional[SendVirtualAppointmentReminderSmsRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Send an SMS reminder to external attendees for a Teams Virtual Appointment. This feature requires Teams Premium and attendees must have a valid United States phone number to receive SMS notifications. + param body: The request body + 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/virtualappointment-sendvirtualappointmentremindersms?view=graph-rest-1.0 + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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: Optional[SendVirtualAppointmentReminderSmsPostRequestBody] = None, request_configuration: Optional[SendVirtualAppointmentReminderSmsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Send an SMS reminder to external attendees for a Teams Virtual Appointment. This feature requires Teams Premium and attendees must have a valid United States phone number to receive SMS notifications. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> SendVirtualAppointmentReminderSmsRequestBuilder: + """ + 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: SendVirtualAppointmentReminderSmsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return SendVirtualAppointmentReminderSmsRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class SendVirtualAppointmentReminderSmsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/users/item/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py b/msgraph_beta/generated/users/item/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py new file mode 100644 index 00000000000..ff21869fdd4 --- /dev/null +++ b/msgraph_beta/generated/users/item/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_post_request_body.py @@ -0,0 +1,63 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.attendee_notification_info import AttendeeNotificationInfo + from ......models.virtual_appointment_message_type import VirtualAppointmentMessageType + +@dataclass +class SendVirtualAppointmentSmsPostRequestBody(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 attendees property + attendees: Optional[List[AttendeeNotificationInfo]] = None + # The messageType property + message_type: Optional[VirtualAppointmentMessageType] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> SendVirtualAppointmentSmsPostRequestBody: + """ + 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: SendVirtualAppointmentSmsPostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return SendVirtualAppointmentSmsPostRequestBody() + + 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.attendee_notification_info import AttendeeNotificationInfo + from ......models.virtual_appointment_message_type import VirtualAppointmentMessageType + + from ......models.attendee_notification_info import AttendeeNotificationInfo + from ......models.virtual_appointment_message_type import VirtualAppointmentMessageType + + fields: Dict[str, Callable[[Any], None]] = { + "attendees": lambda n : setattr(self, 'attendees', n.get_collection_of_object_values(AttendeeNotificationInfo)), + "messageType": lambda n : setattr(self, 'message_type', n.get_enum_value(VirtualAppointmentMessageType)), + } + 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_collection_of_object_values("attendees", self.attendees) + writer.write_enum_value("messageType", self.message_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/users/item/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_request_builder.py new file mode 100644 index 00000000000..5871e994868 --- /dev/null +++ b/msgraph_beta/generated/users/item/online_meetings/item/send_virtual_appointment_sms/send_virtual_appointment_sms_request_builder.py @@ -0,0 +1,92 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from .send_virtual_appointment_sms_post_request_body import SendVirtualAppointmentSmsPostRequestBody + +class SendVirtualAppointmentSmsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the sendVirtualAppointmentSms method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new SendVirtualAppointmentSmsRequestBuilder 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}/onlineMeetings/{onlineMeeting%2Did}/sendVirtualAppointmentSms", path_parameters) + + async def post(self,body: Optional[SendVirtualAppointmentSmsPostRequestBody] = None, request_configuration: Optional[SendVirtualAppointmentSmsRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Send an SMS notification to external attendees when a Teams Virtual Appointment is confirmed, rescheduled, or canceled. This feature requires Teams Premium. Attendees must have a valid United States phone number to receive these SMS notifications. + param body: The request body + 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/virtualappointment-sendvirtualappointmentsms?view=graph-rest-1.0 + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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: Optional[SendVirtualAppointmentSmsPostRequestBody] = None, request_configuration: Optional[SendVirtualAppointmentSmsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Send an SMS notification to external attendees when a Teams Virtual Appointment is confirmed, rescheduled, or canceled. This feature requires Teams Premium. Attendees must have a valid United States phone number to receive these SMS notifications. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> SendVirtualAppointmentSmsRequestBuilder: + """ + 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: SendVirtualAppointmentSmsRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return SendVirtualAppointmentSmsRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class SendVirtualAppointmentSmsRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/users/item/online_meetings/item/transcripts/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/transcripts/delta/delta_request_builder.py index 87e3cd1115e..7ba24a87495 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/transcripts/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/transcripts/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/users/item/online_meetings/item/transcripts/item/call_transcript_item_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/transcripts/item/call_transcript_item_request_builder.py index a7e77cc1e2b..2d982d9fa20 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/transcripts/item/call_transcript_item_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/transcripts/item/call_transcript_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[CallTranscriptItemRequestB async def get(self,request_configuration: Optional[CallTranscriptItemRequestBuilderGetRequestConfiguration] = None) -> Optional[CallTranscript]: """ - Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. This API is available in the following national cloud deployments. + Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CallTranscript] Find more info here: https://learn.microsoft.com/graph/api/calltranscript-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[CallTrans request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[CallTranscriptItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. This API is available in the following national cloud deployments. + Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[CallTranscri request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[CallTranscript] = None, request_configuration: Optional[CallTranscriptItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[CallTranscript] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class CallTranscriptItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class CallTranscriptItemRequestBuilderGetQueryParameters(): """ - Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. This API is available in the following national cloud deployments. + Retrieve a callTranscript object associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/online_meetings/item/transcripts/item/content/content_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/transcripts/item/content/content_request_builder.py index 7d0e686c8dc..36ab2f5dfa0 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/transcripts/item/content/content_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/transcripts/item/content/content_request_builder.py @@ -83,7 +83,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -102,7 +102,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/users/item/online_meetings/item/transcripts/item/metadata_content/metadata_content_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/transcripts/item/metadata_content/metadata_content_request_builder.py index 8e4ae45350c..7455babf33b 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/transcripts/item/metadata_content/metadata_content_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/transcripts/item/metadata_content/metadata_content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[MetadataCont request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[MetadataContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/users/item/online_meetings/item/transcripts/transcripts_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/transcripts/transcripts_request_builder.py index 47a3b60db0d..e39ee013c8e 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/transcripts/transcripts_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/transcripts/transcripts_request_builder.py @@ -46,7 +46,7 @@ def by_call_transcript_id(self,call_transcript_id: str) -> CallTranscriptItemReq async def get(self,request_configuration: Optional[TranscriptsRequestBuilderGetRequestConfiguration] = None) -> Optional[CallTranscriptCollectionResponse]: """ - Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. This API is available in the following national cloud deployments. + Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CallTranscriptCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/onlinemeeting-list-transcripts?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[CallTranscript] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[TranscriptsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. This API is available in the following national cloud deployments. + Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[TranscriptsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[CallTranscript] = None, request_configuration: Optional[TranscriptsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[CallTranscript] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class TranscriptsRequestBuilderGetQueryParameters(): """ - Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. This API is available in the following national cloud deployments. + Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API doesn't support getting call transcripts from channel meetings. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/online_meetings/online_meetings_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/online_meetings_request_builder.py index 3658fc3f14d..14a03d6eb74 100644 --- a/msgraph_beta/generated/users/item/online_meetings/online_meetings_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/online_meetings_request_builder.py @@ -48,7 +48,7 @@ def by_online_meeting_id(self,online_meeting_id: str) -> OnlineMeetingItemReques async def get(self,request_configuration: Optional[OnlineMeetingsRequestBuilderGetRequestConfiguration] = None) -> Optional[OnlineMeetingCollectionResponse]: """ - Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For details, see Online meeting artifacts and permissions. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For details, see Online meeting artifacts and permissions. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnlineMeetingCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/onlinemeeting-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[OnlineMeetingsRequestBuilderG async def post(self,body: Optional[OnlineMeeting] = None, request_configuration: Optional[OnlineMeetingsRequestBuilderPostRequestConfiguration] = None) -> Optional[OnlineMeeting]: """ - Create an online meeting on behalf of a user. This API is available in the following national cloud deployments. + Create an online meeting on behalf of a user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OnlineMeeting] @@ -95,7 +95,7 @@ async def post(self,body: Optional[OnlineMeeting] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[OnlineMeetingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For details, see Online meeting artifacts and permissions. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For details, see Online meeting artifacts and permissions. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_get_request_information(self,request_configuration: Optional[OnlineMeetin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OnlineMeeting] = None, request_configuration: Optional[OnlineMeetingsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an online meeting on behalf of a user. This API is available in the following national cloud deployments. + Create an online meeting on behalf of a user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -126,7 +126,7 @@ def to_post_request_information(self,body: Optional[OnlineMeeting] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ def get_all_transcripts(self) -> GetAllTranscriptsRequestBuilder: @dataclass class OnlineMeetingsRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For details, see Online meeting artifacts and permissions. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report (deprecated) and Teams live event recordings (deprecated) are online meeting artifacts. For details, see Online meeting artifacts and permissions. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/outlook/master_categories/item/outlook_category_item_request_builder.py b/msgraph_beta/generated/users/item/outlook/master_categories/item/outlook_category_item_request_builder.py index 9a856267e76..8914c01d695 100644 --- a/msgraph_beta/generated/users/item/outlook/master_categories/item/outlook_category_item_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/master_categories/item/outlook_category_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[OutlookCategoryItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete the specified outlookCategory object. This API is available in the following national cloud deployments. + Delete the specified outlookCategory object. 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/outlookcategory-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[OutlookCategoryItemRequest async def get(self,request_configuration: Optional[OutlookCategoryItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OutlookCategory]: """ - Get the properties and relationships of the specified outlookCategory object. This API is available in the following national cloud deployments. + Get the properties and relationships of the specified outlookCategory object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookCategory] Find more info here: https://learn.microsoft.com/graph/api/outlookcategory-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[OutlookCategoryItemRequestBui async def patch(self,body: Optional[OutlookCategory] = None, request_configuration: Optional[OutlookCategoryItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[OutlookCategory]: """ - Update the writable property, color, of the specified outlookCategory object. You can't modify the displayName propertyonce you have created the category. This API is available in the following national cloud deployments. + Update the writable property, color, of the specified outlookCategory object. You can't modify the displayName propertyonce you have created the category. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookCategory] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[OutlookCategory] = None, request_configurati def to_delete_request_information(self,request_configuration: Optional[OutlookCategoryItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete the specified outlookCategory object. This API is available in the following national cloud deployments. + Delete the specified outlookCategory object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[OutlookCa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OutlookCategoryItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of the specified outlookCategory object. This API is available in the following national cloud deployments. + Get the properties and relationships of the specified outlookCategory object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[OutlookCateg request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OutlookCategory] = None, request_configuration: Optional[OutlookCategoryItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the writable property, color, of the specified outlookCategory object. You can't modify the displayName propertyonce you have created the category. This API is available in the following national cloud deployments. + Update the writable property, color, of the specified outlookCategory object. You can't modify the displayName propertyonce you have created the category. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[OutlookCategory] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class OutlookCategoryItemRequestBuilderDeleteRequestConfiguration(BaseRequestCon @dataclass class OutlookCategoryItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of the specified outlookCategory object. This API is available in the following national cloud deployments. + Get the properties and relationships of the specified outlookCategory object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/outlook/master_categories/master_categories_request_builder.py b/msgraph_beta/generated/users/item/outlook/master_categories/master_categories_request_builder.py index efa03d4ea3c..f7eca348138 100644 --- a/msgraph_beta/generated/users/item/outlook/master_categories/master_categories_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/master_categories/master_categories_request_builder.py @@ -45,7 +45,7 @@ def by_outlook_category_id(self,outlook_category_id: str) -> OutlookCategoryItem async def get(self,request_configuration: Optional[MasterCategoriesRequestBuilderGetRequestConfiguration] = None) -> Optional[OutlookCategoryCollectionResponse]: """ - Get all the categories that have been defined for the user. This API is available in the following national cloud deployments. + Get all the categories that have been defined for the user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookCategoryCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/outlookuser-list-mastercategories?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[MasterCategoriesRequestBuilde async def post(self,body: Optional[OutlookCategory] = None, request_configuration: Optional[MasterCategoriesRequestBuilderPostRequestConfiguration] = None) -> Optional[OutlookCategory]: """ - Create an outlookCategory object in the user's master list of categories. This API is available in the following national cloud deployments. + Create an outlookCategory object in the user's master list of categories. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookCategory] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OutlookCategory] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[MasterCategoriesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get all the categories that have been defined for the user. This API is available in the following national cloud deployments. + Get all the categories that have been defined for the user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[MasterCatego request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OutlookCategory] = None, request_configuration: Optional[MasterCategoriesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an outlookCategory object in the user's master list of categories. This API is available in the following national cloud deployments. + Create an outlookCategory object in the user's master list of categories. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OutlookCategory] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MasterCategoriesRequestBuilderGetQueryParameters(): """ - Get all the categories that have been defined for the user. This API is available in the following national cloud deployments. + Get all the categories that have been defined for the user. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/outlook/outlook_request_builder.py b/msgraph_beta/generated/users/item/outlook/outlook_request_builder.py index 02d5c7ef138..71b47bd17ee 100644 --- a/msgraph_beta/generated/users/item/outlook/outlook_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/outlook_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[OutlookReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> OutlookRequestBuilder: diff --git a/msgraph_beta/generated/users/item/outlook/supported_languages/supported_languages_request_builder.py b/msgraph_beta/generated/users/item/outlook/supported_languages/supported_languages_request_builder.py index 6bbc9d208e1..0497689ad25 100644 --- a/msgraph_beta/generated/users/item/outlook/supported_languages/supported_languages_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/supported_languages/supported_languages_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[SupportedLanguagesRequestBuilderGetRequestConfiguration] = None) -> Optional[SupportedLanguagesGetResponse]: """ - Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language bygetting the user's mailbox settings. This API is available in the following national cloud deployments. + Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language bygetting the user's mailbox settings. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SupportedLanguagesGetResponse] Find more info here: https://learn.microsoft.com/graph/api/outlookuser-supportedlanguages?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[SupportedLanguagesRequestBuil def to_get_request_information(self,request_configuration: Optional[SupportedLanguagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language bygetting the user's mailbox settings. This API is available in the following national cloud deployments. + Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language bygetting the user's mailbox settings. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[SupportedLan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SupportedLanguagesRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> SupportedLanguagesRequestBui @dataclass class SupportedLanguagesRequestBuilderGetQueryParameters(): """ - Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language bygetting the user's mailbox settings. This API is available in the following national cloud deployments. + Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language bygetting the user's mailbox settings. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/outlook/supported_time_zones/supported_time_zones_request_builder.py b/msgraph_beta/generated/users/item/outlook/supported_time_zones/supported_time_zones_request_builder.py index 2ba73759a12..955f56b455d 100644 --- a/msgraph_beta/generated/users/item/outlook/supported_time_zones/supported_time_zones_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/supported_time_zones/supported_time_zones_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[SupportedTim request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SupportedTimeZonesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/outlook/supported_time_zones_with_time_zone_standard/supported_time_zones_with_time_zone_standard_request_builder.py b/msgraph_beta/generated/users/item/outlook/supported_time_zones_with_time_zone_standard/supported_time_zones_with_time_zone_standard_request_builder.py index e55bb38d416..53ab416cdec 100644 --- a/msgraph_beta/generated/users/item/outlook/supported_time_zones_with_time_zone_standard/supported_time_zones_with_time_zone_standard_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/supported_time_zones_with_time_zone_standard/supported_time_zones_with_time_zone_standard_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[SupportedTim request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SupportedTimeZonesWithTimeZoneStandardRequestBuilder: diff --git a/msgraph_beta/generated/users/item/outlook/task_folders/item/outlook_task_folder_item_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_folders/item/outlook_task_folder_item_request_builder.py index b6822b9e5a4..b8f9903013d 100644 --- a/msgraph_beta/generated/users/item/outlook/task_folders/item/outlook_task_folder_item_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_folders/item/outlook_task_folder_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[OutlookTaskFolderItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete the specified Outlook task folder. This API is available in the following national cloud deployments. + Delete the specified Outlook task folder. 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/outlooktaskfolder-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[OutlookTaskFolderItemReque async def get(self,request_configuration: Optional[OutlookTaskFolderItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OutlookTaskFolder]: """ - Get the properties and relationships of the specified Outlook task folder. This API is available in the following national cloud deployments. + Get the properties and relationships of the specified Outlook task folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTaskFolder] Find more info here: https://learn.microsoft.com/graph/api/outlooktaskfolder-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[OutlookTaskFolderItemRequestB async def patch(self,body: Optional[OutlookTaskFolder] = None, request_configuration: Optional[OutlookTaskFolderItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[OutlookTaskFolder]: """ - Update the writable properties of an Outlook task folder. You cannot change the name property value of the default task folder, 'Tasks'. This API is available in the following national cloud deployments. + Update the writable properties of an Outlook task folder. You cannot change the name property value of the default task folder, 'Tasks'. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTaskFolder] @@ -96,7 +96,7 @@ async def patch(self,body: Optional[OutlookTaskFolder] = None, request_configura def to_delete_request_information(self,request_configuration: Optional[OutlookTaskFolderItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete the specified Outlook task folder. This API is available in the following national cloud deployments. + Delete the specified Outlook task folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[OutlookTa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OutlookTaskFolderItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of the specified Outlook task folder. This API is available in the following national cloud deployments. + Get the properties and relationships of the specified Outlook task folder. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[OutlookTaskF request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OutlookTaskFolder] = None, request_configuration: Optional[OutlookTaskFolderItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the writable properties of an Outlook task folder. You cannot change the name property value of the default task folder, 'Tasks'. This API is available in the following national cloud deployments. + Update the writable properties of an Outlook task folder. You cannot change the name property value of the default task folder, 'Tasks'. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[OutlookTaskFolder] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -179,7 +179,7 @@ class OutlookTaskFolderItemRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class OutlookTaskFolderItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of the specified Outlook task folder. This API is available in the following national cloud deployments. + Get the properties and relationships of the specified Outlook task folder. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/attachments_request_builder.py index ffe442b9014..c1bcbd94535 100644 --- a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Get a list of attachment objects attached to an Outlook task. This API is available in the following national cloud deployments. + Get a list of attachment objects attached to an Outlook task. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/outlooktask-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an outlookTask. The attachment can be a file (of fileAttachment type) or Outlook item (itemAttachment type). This API is available in the following national cloud deployments. + Use this API to add an attachment to an outlookTask. The attachment can be a file (of fileAttachment type) or Outlook item (itemAttachment type). param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of attachment objects attached to an Outlook task. This API is available in the following national cloud deployments. + Get a list of attachment objects attached to an Outlook task. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an outlookTask. The attachment can be a file (of fileAttachment type) or Outlook item (itemAttachment type). This API is available in the following national cloud deployments. + Use this API to add an attachment to an outlookTask. The attachment can be a file (of fileAttachment type) or Outlook item (itemAttachment type). param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Get a list of attachment objects attached to an Outlook task. This API is available in the following national cloud deployments. + Get a list of attachment objects attached to an Outlook task. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.py index a8c21769bac..b4255eee70e 100644 --- a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/item/attachment_item_request_builder.py index a5be2c741a9..f7c30229637 100644 --- a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/attachments/item/attachment_item_request_builder.py @@ -79,7 +79,7 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -96,7 +96,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/complete/complete_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/complete/complete_request_builder.py index 5b3b2a64c56..f871627c306 100644 --- a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/complete/complete_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/complete/complete_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CompleteRequestBuilderPostRequestConfiguration] = None) -> Optional[CompletePostResponse]: """ - Complete an Outlook task which sets the completedDateTime property to the current date, and the status property to completed. If you are completing a task in a recurring series, in the response, the task collection will contain the completed task in the series, and the next task in the series. The completedDateTime property represents the date when the task is finished. The time portion of completedDateTime is set to midnight UTC by default. By default, this operation (and the POST, GET, and PATCH task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. This API is available in the following national cloud deployments. + Complete an Outlook task which sets the completedDateTime property to the current date, and the status property to completed. If you are completing a task in a recurring series, in the response, the task collection will contain the completed task in the series, and the next task in the series. The completedDateTime property represents the date when the task is finished. The time portion of completedDateTime is set to midnight UTC by default. By default, this operation (and the POST, GET, and PATCH task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CompletePostResponse] Find more info here: https://learn.microsoft.com/graph/api/outlooktask-complete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[CompleteRequestBuilderPostRe def to_post_request_information(self,request_configuration: Optional[CompleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Complete an Outlook task which sets the completedDateTime property to the current date, and the status property to completed. If you are completing a task in a recurring series, in the response, the task collection will contain the completed task in the series, and the next task in the series. The completedDateTime property represents the date when the task is finished. The time portion of completedDateTime is set to midnight UTC by default. By default, this operation (and the POST, GET, and PATCH task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. This API is available in the following national cloud deployments. + Complete an Outlook task which sets the completedDateTime property to the current date, and the status property to completed. If you are completing a task in a recurring series, in the response, the task collection will contain the completed task in the series, and the next task in the series. The completedDateTime property represents the date when the task is finished. The time portion of completedDateTime is set to midnight UTC by default. By default, this operation (and the POST, GET, and PATCH task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[CompleteReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CompleteRequestBuilder: diff --git a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/outlook_task_item_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/outlook_task_item_request_builder.py index 5b6b47e9b20..0c80514d7be 100644 --- a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/outlook_task_item_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/item/outlook_task_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[OutlookTa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OutlookTaskItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[OutlookTaskI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OutlookTask] = None, request_configuration: Optional[OutlookTaskItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[OutlookTask] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/tasks_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/tasks_request_builder.py index 6166a9a0d53..f5df2e3f895 100644 --- a/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/tasks_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_folders/item/tasks/tasks_request_builder.py @@ -45,7 +45,7 @@ def by_outlook_task_id(self,outlook_task_id: str) -> OutlookTaskItemRequestBuild async def get(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> Optional[OutlookTaskCollectionResponse]: """ - Get all the Outlook tasks in the specified folder. By default, this operation (and the POST, PATCH, and complete task operations) returnsdate-related properties in UTC. You can use a Prefer: outlook.timezone request header to have all the date-related properties in the response represented in a time zonedifferent than UTC. See an example for getting a single task. You can apply the header similarly to get multiple tasks. If there is more than one task group, and you want to get all the tasks in a specific task group, firstget all the task folders in that task group,and then get the tasks in each of these task folders. This API is available in the following national cloud deployments. + Get all the Outlook tasks in the specified folder. By default, this operation (and the POST, PATCH, and complete task operations) returnsdate-related properties in UTC. You can use a Prefer: outlook.timezone request header to have all the date-related properties in the response represented in a time zonedifferent than UTC. See an example for getting a single task. You can apply the header similarly to get multiple tasks. If there is more than one task group, and you want to get all the tasks in a specific task group, firstget all the task folders in that task group,and then get the tasks in each of these task folders. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTaskCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/outlooktaskfolder-list-tasks?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TasksRequestBuilderGetRequest async def post(self,body: Optional[OutlookTask] = None, request_configuration: Optional[TasksRequestBuilderPostRequestConfiguration] = None) -> Optional[OutlookTask]: """ - Create an Outlook task in the specified task folder. The POST method always ignores the time portion of startDateTime and dueDateTime in the request body, and assumes the time to be always midnight in the specified time zone. This API is available in the following national cloud deployments. + Create an Outlook task in the specified task folder. The POST method always ignores the time portion of startDateTime and dueDateTime in the request body, and assumes the time to be always midnight in the specified time zone. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTask] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OutlookTask] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get all the Outlook tasks in the specified folder. By default, this operation (and the POST, PATCH, and complete task operations) returnsdate-related properties in UTC. You can use a Prefer: outlook.timezone request header to have all the date-related properties in the response represented in a time zonedifferent than UTC. See an example for getting a single task. You can apply the header similarly to get multiple tasks. If there is more than one task group, and you want to get all the tasks in a specific task group, firstget all the task folders in that task group,and then get the tasks in each of these task folders. This API is available in the following national cloud deployments. + Get all the Outlook tasks in the specified folder. By default, this operation (and the POST, PATCH, and complete task operations) returnsdate-related properties in UTC. You can use a Prefer: outlook.timezone request header to have all the date-related properties in the response represented in a time zonedifferent than UTC. See an example for getting a single task. You can apply the header similarly to get multiple tasks. If there is more than one task group, and you want to get all the tasks in a specific task group, firstget all the task folders in that task group,and then get the tasks in each of these task folders. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[TasksRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OutlookTask] = None, request_configuration: Optional[TasksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an Outlook task in the specified task folder. The POST method always ignores the time portion of startDateTime and dueDateTime in the request body, and assumes the time to be always midnight in the specified time zone. This API is available in the following national cloud deployments. + Create an Outlook task in the specified task folder. The POST method always ignores the time portion of startDateTime and dueDateTime in the request body, and assumes the time to be always midnight in the specified time zone. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OutlookTask] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TasksRequestBuilderGetQueryParameters(): """ - Get all the Outlook tasks in the specified folder. By default, this operation (and the POST, PATCH, and complete task operations) returnsdate-related properties in UTC. You can use a Prefer: outlook.timezone request header to have all the date-related properties in the response represented in a time zonedifferent than UTC. See an example for getting a single task. You can apply the header similarly to get multiple tasks. If there is more than one task group, and you want to get all the tasks in a specific task group, firstget all the task folders in that task group,and then get the tasks in each of these task folders. This API is available in the following national cloud deployments. + Get all the Outlook tasks in the specified folder. By default, this operation (and the POST, PATCH, and complete task operations) returnsdate-related properties in UTC. You can use a Prefer: outlook.timezone request header to have all the date-related properties in the response represented in a time zonedifferent than UTC. See an example for getting a single task. You can apply the header similarly to get multiple tasks. If there is more than one task group, and you want to get all the tasks in a specific task group, firstget all the task folders in that task group,and then get the tasks in each of these task folders. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/outlook/task_folders/task_folders_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_folders/task_folders_request_builder.py index b35baf7a5f1..2f5cd1faaa3 100644 --- a/msgraph_beta/generated/users/item/outlook/task_folders/task_folders_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_folders/task_folders_request_builder.py @@ -45,7 +45,7 @@ def by_outlook_task_folder_id(self,outlook_task_folder_id: str) -> OutlookTaskFo async def get(self,request_configuration: Optional[TaskFoldersRequestBuilderGetRequestConfiguration] = None) -> Optional[OutlookTaskFolderCollectionResponse]: """ - Get all the Outlook task folders in the user's mailbox. This API is available in the following national cloud deployments. + Get all the Outlook task folders in the user's mailbox. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTaskFolderCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/outlookuser-list-taskfolders?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TaskFoldersRequestBuilderGetR async def post(self,body: Optional[OutlookTaskFolder] = None, request_configuration: Optional[TaskFoldersRequestBuilderPostRequestConfiguration] = None) -> Optional[OutlookTaskFolder]: """ - Create a task folder in the default task group (My Tasks) of the user's mailbox. This API is available in the following national cloud deployments. + Create a task folder in the default task group (My Tasks) of the user's mailbox. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTaskFolder] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OutlookTaskFolder] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[TaskFoldersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get all the Outlook task folders in the user's mailbox. This API is available in the following national cloud deployments. + Get all the Outlook task folders in the user's mailbox. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[TaskFoldersR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OutlookTaskFolder] = None, request_configuration: Optional[TaskFoldersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a task folder in the default task group (My Tasks) of the user's mailbox. This API is available in the following national cloud deployments. + Create a task folder in the default task group (My Tasks) of the user's mailbox. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OutlookTaskFolder] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TaskFoldersRequestBuilderGetQueryParameters(): """ - Get all the Outlook task folders in the user's mailbox. This API is available in the following national cloud deployments. + Get all the Outlook task folders in the user's mailbox. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/item/outlook_task_group_item_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/item/outlook_task_group_item_request_builder.py index 749ebedb421..916da8a3c9f 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/item/outlook_task_group_item_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/item/outlook_task_group_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[OutlookTaskGroupItemReques async def get(self,request_configuration: Optional[OutlookTaskGroupItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OutlookTaskGroup]: """ - Get the properties and relationships of the specified Outlook task group. This API is available in the following national cloud deployments. + Get the properties and relationships of the specified Outlook task group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTaskGroup] Find more info here: https://learn.microsoft.com/graph/api/outlooktaskgroup-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[OutlookTa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OutlookTaskGroupItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of the specified Outlook task group. This API is available in the following national cloud deployments. + Get the properties and relationships of the specified Outlook task group. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[OutlookTaskG request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OutlookTaskGroup] = None, request_configuration: Optional[OutlookTaskGroupItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[OutlookTaskGroup] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -177,7 +177,7 @@ class OutlookTaskGroupItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class OutlookTaskGroupItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of the specified Outlook task group. This API is available in the following national cloud deployments. + Get the properties and relationships of the specified Outlook task group. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/outlook_task_folder_item_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/outlook_task_folder_item_request_builder.py index ca5ad923639..68f68538c3d 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/outlook_task_folder_item_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/outlook_task_folder_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[OutlookTa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OutlookTaskFolderItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[OutlookTaskF request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OutlookTaskFolder] = None, request_configuration: Optional[OutlookTaskFolderItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[OutlookTaskFolder] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/attachments_request_builder.py index 5c02b918a11..610e0b2c69c 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Get a list of attachment objects attached to an Outlook task. This API is available in the following national cloud deployments. + Get a list of attachment objects attached to an Outlook task. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/outlooktask-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an outlookTask. The attachment can be a file (of fileAttachment type) or Outlook item (itemAttachment type). This API is available in the following national cloud deployments. + Use this API to add an attachment to an outlookTask. The attachment can be a file (of fileAttachment type) or Outlook item (itemAttachment type). param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of attachment objects attached to an Outlook task. This API is available in the following national cloud deployments. + Get a list of attachment objects attached to an Outlook task. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an outlookTask. The attachment can be a file (of fileAttachment type) or Outlook item (itemAttachment type). This API is available in the following national cloud deployments. + Use this API to add an attachment to an outlookTask. The attachment can be a file (of fileAttachment type) or Outlook item (itemAttachment type). param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Get a list of attachment objects attached to an Outlook task. This API is available in the following national cloud deployments. + Get a list of attachment objects attached to an Outlook task. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.py index 3af3929b387..6db8e47453b 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/item/attachment_item_request_builder.py index 99458fbf176..22a2251322e 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/attachments/item/attachment_item_request_builder.py @@ -79,7 +79,7 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -96,7 +96,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/complete/complete_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/complete/complete_request_builder.py index 7570227d2ae..f4382622edd 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/complete/complete_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/complete/complete_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CompleteRequestBuilderPostRequestConfiguration] = None) -> Optional[CompletePostResponse]: """ - Complete an Outlook task which sets the completedDateTime property to the current date, and the status property to completed. If you are completing a task in a recurring series, in the response, the task collection will contain the completed task in the series, and the next task in the series. The completedDateTime property represents the date when the task is finished. The time portion of completedDateTime is set to midnight UTC by default. By default, this operation (and the POST, GET, and PATCH task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. This API is available in the following national cloud deployments. + Complete an Outlook task which sets the completedDateTime property to the current date, and the status property to completed. If you are completing a task in a recurring series, in the response, the task collection will contain the completed task in the series, and the next task in the series. The completedDateTime property represents the date when the task is finished. The time portion of completedDateTime is set to midnight UTC by default. By default, this operation (and the POST, GET, and PATCH task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CompletePostResponse] Find more info here: https://learn.microsoft.com/graph/api/outlooktask-complete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[CompleteRequestBuilderPostRe def to_post_request_information(self,request_configuration: Optional[CompleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Complete an Outlook task which sets the completedDateTime property to the current date, and the status property to completed. If you are completing a task in a recurring series, in the response, the task collection will contain the completed task in the series, and the next task in the series. The completedDateTime property represents the date when the task is finished. The time portion of completedDateTime is set to midnight UTC by default. By default, this operation (and the POST, GET, and PATCH task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. This API is available in the following national cloud deployments. + Complete an Outlook task which sets the completedDateTime property to the current date, and the status property to completed. If you are completing a task in a recurring series, in the response, the task collection will contain the completed task in the series, and the next task in the series. The completedDateTime property represents the date when the task is finished. The time portion of completedDateTime is set to midnight UTC by default. By default, this operation (and the POST, GET, and PATCH task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[CompleteReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CompleteRequestBuilder: diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/outlook_task_item_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/outlook_task_item_request_builder.py index 63799848a86..d608b94a048 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/outlook_task_item_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/item/outlook_task_item_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[OutlookTa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OutlookTaskItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[OutlookTaskI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OutlookTask] = None, request_configuration: Optional[OutlookTaskItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[OutlookTask] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/tasks_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/tasks_request_builder.py index 5be95df0eda..e92d527ddd2 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/tasks_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/item/tasks/tasks_request_builder.py @@ -45,7 +45,7 @@ def by_outlook_task_id(self,outlook_task_id: str) -> OutlookTaskItemRequestBuild async def get(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> Optional[OutlookTaskCollectionResponse]: """ - Get all the Outlook tasks in the specified folder. By default, this operation (and the POST, PATCH, and complete task operations) returnsdate-related properties in UTC. You can use a Prefer: outlook.timezone request header to have all the date-related properties in the response represented in a time zonedifferent than UTC. See an example for getting a single task. You can apply the header similarly to get multiple tasks. If there is more than one task group, and you want to get all the tasks in a specific task group, firstget all the task folders in that task group,and then get the tasks in each of these task folders. This API is available in the following national cloud deployments. + Get all the Outlook tasks in the specified folder. By default, this operation (and the POST, PATCH, and complete task operations) returnsdate-related properties in UTC. You can use a Prefer: outlook.timezone request header to have all the date-related properties in the response represented in a time zonedifferent than UTC. See an example for getting a single task. You can apply the header similarly to get multiple tasks. If there is more than one task group, and you want to get all the tasks in a specific task group, firstget all the task folders in that task group,and then get the tasks in each of these task folders. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTaskCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/outlooktaskfolder-list-tasks?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TasksRequestBuilderGetRequest async def post(self,body: Optional[OutlookTask] = None, request_configuration: Optional[TasksRequestBuilderPostRequestConfiguration] = None) -> Optional[OutlookTask]: """ - Create an Outlook task in the specified task folder. The POST method always ignores the time portion of startDateTime and dueDateTime in the request body, and assumes the time to be always midnight in the specified time zone. This API is available in the following national cloud deployments. + Create an Outlook task in the specified task folder. The POST method always ignores the time portion of startDateTime and dueDateTime in the request body, and assumes the time to be always midnight in the specified time zone. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTask] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OutlookTask] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get all the Outlook tasks in the specified folder. By default, this operation (and the POST, PATCH, and complete task operations) returnsdate-related properties in UTC. You can use a Prefer: outlook.timezone request header to have all the date-related properties in the response represented in a time zonedifferent than UTC. See an example for getting a single task. You can apply the header similarly to get multiple tasks. If there is more than one task group, and you want to get all the tasks in a specific task group, firstget all the task folders in that task group,and then get the tasks in each of these task folders. This API is available in the following national cloud deployments. + Get all the Outlook tasks in the specified folder. By default, this operation (and the POST, PATCH, and complete task operations) returnsdate-related properties in UTC. You can use a Prefer: outlook.timezone request header to have all the date-related properties in the response represented in a time zonedifferent than UTC. See an example for getting a single task. You can apply the header similarly to get multiple tasks. If there is more than one task group, and you want to get all the tasks in a specific task group, firstget all the task folders in that task group,and then get the tasks in each of these task folders. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[TasksRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OutlookTask] = None, request_configuration: Optional[TasksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an Outlook task in the specified task folder. The POST method always ignores the time portion of startDateTime and dueDateTime in the request body, and assumes the time to be always midnight in the specified time zone. This API is available in the following national cloud deployments. + Create an Outlook task in the specified task folder. The POST method always ignores the time portion of startDateTime and dueDateTime in the request body, and assumes the time to be always midnight in the specified time zone. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OutlookTask] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TasksRequestBuilderGetQueryParameters(): """ - Get all the Outlook tasks in the specified folder. By default, this operation (and the POST, PATCH, and complete task operations) returnsdate-related properties in UTC. You can use a Prefer: outlook.timezone request header to have all the date-related properties in the response represented in a time zonedifferent than UTC. See an example for getting a single task. You can apply the header similarly to get multiple tasks. If there is more than one task group, and you want to get all the tasks in a specific task group, firstget all the task folders in that task group,and then get the tasks in each of these task folders. This API is available in the following national cloud deployments. + Get all the Outlook tasks in the specified folder. By default, this operation (and the POST, PATCH, and complete task operations) returnsdate-related properties in UTC. You can use a Prefer: outlook.timezone request header to have all the date-related properties in the response represented in a time zonedifferent than UTC. See an example for getting a single task. You can apply the header similarly to get multiple tasks. If there is more than one task group, and you want to get all the tasks in a specific task group, firstget all the task folders in that task group,and then get the tasks in each of these task folders. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/task_folders_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/task_folders_request_builder.py index af6603602ef..1f51cd95e4d 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/task_folders_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/item/task_folders/task_folders_request_builder.py @@ -45,7 +45,7 @@ def by_outlook_task_folder_id(self,outlook_task_folder_id: str) -> OutlookTaskFo async def get(self,request_configuration: Optional[TaskFoldersRequestBuilderGetRequestConfiguration] = None) -> Optional[OutlookTaskFolderCollectionResponse]: """ - Get Outlook task folders in a specific outlookTaskGroup. This API is available in the following national cloud deployments. + Get Outlook task folders in a specific outlookTaskGroup. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTaskFolderCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/outlooktaskgroup-list-taskfolders?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TaskFoldersRequestBuilderGetR async def post(self,body: Optional[OutlookTaskFolder] = None, request_configuration: Optional[TaskFoldersRequestBuilderPostRequestConfiguration] = None) -> Optional[OutlookTaskFolder]: """ - Create an Outlook task folder under a specified outlookTaskGroup. This API is available in the following national cloud deployments. + Create an Outlook task folder under a specified outlookTaskGroup. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTaskFolder] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OutlookTaskFolder] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[TaskFoldersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get Outlook task folders in a specific outlookTaskGroup. This API is available in the following national cloud deployments. + Get Outlook task folders in a specific outlookTaskGroup. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[TaskFoldersR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OutlookTaskFolder] = None, request_configuration: Optional[TaskFoldersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an Outlook task folder under a specified outlookTaskGroup. This API is available in the following national cloud deployments. + Create an Outlook task folder under a specified outlookTaskGroup. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OutlookTaskFolder] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TaskFoldersRequestBuilderGetQueryParameters(): """ - Get Outlook task folders in a specific outlookTaskGroup. This API is available in the following national cloud deployments. + Get Outlook task folders in a specific outlookTaskGroup. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/outlook/task_groups/task_groups_request_builder.py b/msgraph_beta/generated/users/item/outlook/task_groups/task_groups_request_builder.py index 10722505c8a..f31feeb105f 100644 --- a/msgraph_beta/generated/users/item/outlook/task_groups/task_groups_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/task_groups/task_groups_request_builder.py @@ -45,7 +45,7 @@ def by_outlook_task_group_id(self,outlook_task_group_id: str) -> OutlookTaskGrou async def get(self,request_configuration: Optional[TaskGroupsRequestBuilderGetRequestConfiguration] = None) -> Optional[OutlookTaskGroupCollectionResponse]: """ - Get all the Outlook task groups in the user's mailbox. The response always includes the default task group My Tasks, and any other task groups that have been created in the mailbox. This API is available in the following national cloud deployments. + Get all the Outlook task groups in the user's mailbox. The response always includes the default task group My Tasks, and any other task groups that have been created in the mailbox. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTaskGroupCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/outlookuser-list-taskgroups?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TaskGroupsRequestBuilderGetRe async def post(self,body: Optional[OutlookTaskGroup] = None, request_configuration: Optional[TaskGroupsRequestBuilderPostRequestConfiguration] = None) -> Optional[OutlookTaskGroup]: """ - Create an Outlook task group in the user's mailbox. This API is available in the following national cloud deployments. + Create an Outlook task group in the user's mailbox. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTaskGroup] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OutlookTaskGroup] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[TaskGroupsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get all the Outlook task groups in the user's mailbox. The response always includes the default task group My Tasks, and any other task groups that have been created in the mailbox. This API is available in the following national cloud deployments. + Get all the Outlook task groups in the user's mailbox. The response always includes the default task group My Tasks, and any other task groups that have been created in the mailbox. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[TaskGroupsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OutlookTaskGroup] = None, request_configuration: Optional[TaskGroupsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an Outlook task group in the user's mailbox. This API is available in the following national cloud deployments. + Create an Outlook task group in the user's mailbox. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OutlookTaskGroup] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TaskGroupsRequestBuilderGetQueryParameters(): """ - Get all the Outlook task groups in the user's mailbox. The response always includes the default task group My Tasks, and any other task groups that have been created in the mailbox. This API is available in the following national cloud deployments. + Get all the Outlook task groups in the user's mailbox. The response always includes the default task group My Tasks, and any other task groups that have been created in the mailbox. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/attachments_request_builder.py index 08c045c35c5..d42c62c3926 100644 --- a/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_id(self,attachment_id: str) -> AttachmentItemRequestBuilder: async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentCollectionResponse]: """ - Get a list of attachment objects attached to an Outlook task. This API is available in the following national cloud deployments. + Get a list of attachment objects attached to an Outlook task. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/outlooktask-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[Attachment]: """ - Use this API to add an attachment to an outlookTask. The attachment can be a file (of fileAttachment type) or Outlook item (itemAttachment type). This API is available in the following national cloud deployments. + Use this API to add an attachment to an outlookTask. The attachment can be a file (of fileAttachment type) or Outlook item (itemAttachment type). param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Attachment] @@ -93,7 +93,7 @@ async def post(self,body: Optional[Attachment] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of attachment objects attached to an Outlook task. This API is available in the following national cloud deployments. + Get a list of attachment objects attached to an Outlook task. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Attachment] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to add an attachment to an outlookTask. The attachment can be a file (of fileAttachment type) or Outlook item (itemAttachment type). This API is available in the following national cloud deployments. + Use this API to add an attachment to an outlookTask. The attachment can be a file (of fileAttachment type) or Outlook item (itemAttachment type). param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[Attachment] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Get a list of attachment objects attached to an Outlook task. This API is available in the following national cloud deployments. + Get a list of attachment objects attached to an Outlook task. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.py index dbb622de11a..9833a7c7b95 100644 --- a/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. This API is available in the following national cloud deployments. + Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to an Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/item/attachment_item_request_builder.py b/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/item/attachment_item_request_builder.py index 989dbd68b31..f402d4c7de9 100644 --- a/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/item/attachment_item_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/tasks/item/attachments/item/attachment_item_request_builder.py @@ -79,7 +79,7 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -96,7 +96,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/outlook/tasks/item/complete/complete_request_builder.py b/msgraph_beta/generated/users/item/outlook/tasks/item/complete/complete_request_builder.py index 55458036427..6cc1aeee269 100644 --- a/msgraph_beta/generated/users/item/outlook/tasks/item/complete/complete_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/tasks/item/complete/complete_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[CompleteRequestBuilderPostRequestConfiguration] = None) -> Optional[CompletePostResponse]: """ - Complete an Outlook task which sets the completedDateTime property to the current date, and the status property to completed. If you are completing a task in a recurring series, in the response, the task collection will contain the completed task in the series, and the next task in the series. The completedDateTime property represents the date when the task is finished. The time portion of completedDateTime is set to midnight UTC by default. By default, this operation (and the POST, GET, and PATCH task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. This API is available in the following national cloud deployments. + Complete an Outlook task which sets the completedDateTime property to the current date, and the status property to completed. If you are completing a task in a recurring series, in the response, the task collection will contain the completed task in the series, and the next task in the series. The completedDateTime property represents the date when the task is finished. The time portion of completedDateTime is set to midnight UTC by default. By default, this operation (and the POST, GET, and PATCH task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CompletePostResponse] Find more info here: https://learn.microsoft.com/graph/api/outlooktask-complete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[CompleteRequestBuilderPostRe def to_post_request_information(self,request_configuration: Optional[CompleteRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Complete an Outlook task which sets the completedDateTime property to the current date, and the status property to completed. If you are completing a task in a recurring series, in the response, the task collection will contain the completed task in the series, and the next task in the series. The completedDateTime property represents the date when the task is finished. The time portion of completedDateTime is set to midnight UTC by default. By default, this operation (and the POST, GET, and PATCH task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. This API is available in the following national cloud deployments. + Complete an Outlook task which sets the completedDateTime property to the current date, and the status property to completed. If you are completing a task in a recurring series, in the response, the task collection will contain the completed task in the series, and the next task in the series. The completedDateTime property represents the date when the task is finished. The time portion of completedDateTime is set to midnight UTC by default. By default, this operation (and the POST, GET, and PATCH task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[CompleteReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> CompleteRequestBuilder: diff --git a/msgraph_beta/generated/users/item/outlook/tasks/item/outlook_task_item_request_builder.py b/msgraph_beta/generated/users/item/outlook/tasks/item/outlook_task_item_request_builder.py index ba68752f16c..3ebf3aed095 100644 --- a/msgraph_beta/generated/users/item/outlook/tasks/item/outlook_task_item_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/tasks/item/outlook_task_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[OutlookTaskItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete the specified Outlook task in the user's mailbox. This API is available in the following national cloud deployments. + Delete the specified Outlook task in the user's mailbox. 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/outlooktask-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[OutlookTaskItemRequestBuil async def get(self,request_configuration: Optional[OutlookTaskItemRequestBuilderGetRequestConfiguration] = None) -> Optional[OutlookTask]: """ - Get the properties and relationships of an Outlook task in the user's mailbox. By default, this operation (and the POST, PATCH, and complete task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. This API is available in the following national cloud deployments. + Get the properties and relationships of an Outlook task in the user's mailbox. By default, this operation (and the POST, PATCH, and complete task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTask] Find more info here: https://learn.microsoft.com/graph/api/outlooktask-get?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[OutlookTaskItemRequestBuilder async def patch(self,body: Optional[OutlookTask] = None, request_configuration: Optional[OutlookTaskItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[OutlookTask]: """ - Change writable properties of an Outlook task. The completedDateTime property can be set by the complete action, or explicitly by a PATCH operation. If you use PATCH to set completedDateTime, make sure you set status to completed as well. By default, this operation (and the POST, GET, and complete task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. This API is available in the following national cloud deployments. + Change writable properties of an Outlook task. The completedDateTime property can be set by the complete action, or explicitly by a PATCH operation. If you use PATCH to set completedDateTime, make sure you set status to completed as well. By default, this operation (and the POST, GET, and complete task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTask] @@ -97,7 +97,7 @@ async def patch(self,body: Optional[OutlookTask] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[OutlookTaskItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete the specified Outlook task in the user's mailbox. This API is available in the following national cloud deployments. + Delete the specified Outlook task in the user's mailbox. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[OutlookTa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[OutlookTaskItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the properties and relationships of an Outlook task in the user's mailbox. By default, this operation (and the POST, PATCH, and complete task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. This API is available in the following national cloud deployments. + Get the properties and relationships of an Outlook task in the user's mailbox. By default, this operation (and the POST, PATCH, and complete task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[OutlookTaskI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[OutlookTask] = None, request_configuration: Optional[OutlookTaskItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Change writable properties of an Outlook task. The completedDateTime property can be set by the complete action, or explicitly by a PATCH operation. If you use PATCH to set completedDateTime, make sure you set status to completed as well. By default, this operation (and the POST, GET, and complete task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. This API is available in the following national cloud deployments. + Change writable properties of an Outlook task. The completedDateTime property can be set by the complete action, or explicitly by a PATCH operation. If you use PATCH to set completedDateTime, make sure you set status to completed as well. By default, this operation (and the POST, GET, and complete task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[OutlookTask] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class OutlookTaskItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class OutlookTaskItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of an Outlook task in the user's mailbox. By default, this operation (and the POST, PATCH, and complete task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. This API is available in the following national cloud deployments. + Get the properties and relationships of an Outlook task in the user's mailbox. By default, this operation (and the POST, PATCH, and complete task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/outlook/tasks/tasks_request_builder.py b/msgraph_beta/generated/users/item/outlook/tasks/tasks_request_builder.py index bc795d443b8..4b9519fc98b 100644 --- a/msgraph_beta/generated/users/item/outlook/tasks/tasks_request_builder.py +++ b/msgraph_beta/generated/users/item/outlook/tasks/tasks_request_builder.py @@ -45,7 +45,7 @@ def by_outlook_task_id(self,outlook_task_id: str) -> OutlookTaskItemRequestBuild async def get(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> Optional[OutlookTaskCollectionResponse]: """ - Get all the Outlook tasks in the user's mailbox. By default, this operation (and the POST, PATCH, and complete task operations) returns date-related properties in UTC.You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zonedifferent than UTC. See an example for getting a single task. You can apply the header similarly to get multiple tasks. This API is available in the following national cloud deployments. + Get all the Outlook tasks in the user's mailbox. By default, this operation (and the POST, PATCH, and complete task operations) returns date-related properties in UTC.You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zonedifferent than UTC. See an example for getting a single task. You can apply the header similarly to get multiple tasks. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTaskCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/outlookuser-list-tasks?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[TasksRequestBuilderGetRequest async def post(self,body: Optional[OutlookTask] = None, request_configuration: Optional[TasksRequestBuilderPostRequestConfiguration] = None) -> Optional[OutlookTask]: """ - Create an Outlook task in the default task group (My Tasks) and default task folder (Tasks) in the user's mailbox. The POST method always ignores the time portion of startDateTime and dueDateTime in the request body, and assumes the time to be always midnight in the specified time zone. By default, this operation (and the GET, PATCH, and complete task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. This API is available in the following national cloud deployments. + Create an Outlook task in the default task group (My Tasks) and default task folder (Tasks) in the user's mailbox. The POST method always ignores the time portion of startDateTime and dueDateTime in the request body, and assumes the time to be always midnight in the specified time zone. By default, this operation (and the GET, PATCH, and complete task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OutlookTask] @@ -92,7 +92,7 @@ async def post(self,body: Optional[OutlookTask] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get all the Outlook tasks in the user's mailbox. By default, this operation (and the POST, PATCH, and complete task operations) returns date-related properties in UTC.You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zonedifferent than UTC. See an example for getting a single task. You can apply the header similarly to get multiple tasks. This API is available in the following national cloud deployments. + Get all the Outlook tasks in the user's mailbox. By default, this operation (and the POST, PATCH, and complete task operations) returns date-related properties in UTC.You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zonedifferent than UTC. See an example for getting a single task. You can apply the header similarly to get multiple tasks. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[TasksRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[OutlookTask] = None, request_configuration: Optional[TasksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an Outlook task in the default task group (My Tasks) and default task folder (Tasks) in the user's mailbox. The POST method always ignores the time portion of startDateTime and dueDateTime in the request body, and assumes the time to be always midnight in the specified time zone. By default, this operation (and the GET, PATCH, and complete task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. This API is available in the following national cloud deployments. + Create an Outlook task in the default task group (My Tasks) and default task folder (Tasks) in the user's mailbox. The POST method always ignores the time portion of startDateTime and dueDateTime in the request body, and assumes the time to be always midnight in the specified time zone. By default, this operation (and the GET, PATCH, and complete task operations) returns date-related properties in UTC. You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zone different than UTC. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[OutlookTask] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class TasksRequestBuilderGetQueryParameters(): """ - Get all the Outlook tasks in the user's mailbox. By default, this operation (and the POST, PATCH, and complete task operations) returns date-related properties in UTC.You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zonedifferent than UTC. See an example for getting a single task. You can apply the header similarly to get multiple tasks. This API is available in the following national cloud deployments. + Get all the Outlook tasks in the user's mailbox. By default, this operation (and the POST, PATCH, and complete task operations) returns date-related properties in UTC.You can use the Prefer: outlook.timezone header to have all the date-related properties in the response represented in a time zonedifferent than UTC. See an example for getting a single task. You can apply the header similarly to get multiple tasks. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/owned_devices/graph_device/graph_device_request_builder.py b/msgraph_beta/generated/users/item/owned_devices/graph_device/graph_device_request_builder.py index a296dccbb39..f60656567a1 100644 --- a/msgraph_beta/generated/users/item/owned_devices/graph_device/graph_device_request_builder.py +++ b/msgraph_beta/generated/users/item/owned_devices/graph_device/graph_device_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphDeviceR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphDeviceRequestBuilder: diff --git a/msgraph_beta/generated/users/item/owned_devices/graph_endpoint/graph_endpoint_request_builder.py b/msgraph_beta/generated/users/item/owned_devices/graph_endpoint/graph_endpoint_request_builder.py index 487edd71467..f3e1f1030b0 100644 --- a/msgraph_beta/generated/users/item/owned_devices/graph_endpoint/graph_endpoint_request_builder.py +++ b/msgraph_beta/generated/users/item/owned_devices/graph_endpoint/graph_endpoint_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphEndpoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphEndpointRequestBuilder: diff --git a/msgraph_beta/generated/users/item/owned_devices/item/directory_object_item_request_builder.py b/msgraph_beta/generated/users/item/owned_devices/item/directory_object_item_request_builder.py index cf68baae5cd..92b66d92b27 100644 --- a/msgraph_beta/generated/users/item/owned_devices/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/users/item/owned_devices/item/directory_object_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DirectoryObjectItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Devices that are owned by the user. Read-only. Nullable. Supports $expand. + Devices owned by the user. Read-only. Nullable. Supports $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ @@ -51,7 +51,7 @@ async def get(self,request_configuration: Optional[DirectoryObjectItemRequestBui def to_get_request_information(self,request_configuration: Optional[DirectoryObjectItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Devices that are owned by the user. Read-only. Nullable. Supports $expand. + Devices owned by the user. Read-only. Nullable. Supports $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: @@ -97,7 +97,7 @@ def graph_endpoint(self) -> GraphEndpointRequestBuilder: @dataclass class DirectoryObjectItemRequestBuilderGetQueryParameters(): """ - Devices that are owned by the user. Read-only. Nullable. Supports $expand. + Devices owned by the user. Read-only. Nullable. Supports $expand. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/owned_devices/item/graph_device/graph_device_request_builder.py b/msgraph_beta/generated/users/item/owned_devices/item/graph_device/graph_device_request_builder.py index a2cca4732bc..a8abbe9fd7b 100644 --- a/msgraph_beta/generated/users/item/owned_devices/item/graph_device/graph_device_request_builder.py +++ b/msgraph_beta/generated/users/item/owned_devices/item/graph_device/graph_device_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphDeviceR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphDeviceRequestBuilder: diff --git a/msgraph_beta/generated/users/item/owned_devices/item/graph_endpoint/graph_endpoint_request_builder.py b/msgraph_beta/generated/users/item/owned_devices/item/graph_endpoint/graph_endpoint_request_builder.py index c05bb6e9226..df222c43019 100644 --- a/msgraph_beta/generated/users/item/owned_devices/item/graph_endpoint/graph_endpoint_request_builder.py +++ b/msgraph_beta/generated/users/item/owned_devices/item/graph_endpoint/graph_endpoint_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphEndpoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphEndpointRequestBuilder: diff --git a/msgraph_beta/generated/users/item/owned_devices/owned_devices_request_builder.py b/msgraph_beta/generated/users/item/owned_devices/owned_devices_request_builder.py index 3d8745fb286..80a0b2cfcbf 100644 --- a/msgraph_beta/generated/users/item/owned_devices/owned_devices_request_builder.py +++ b/msgraph_beta/generated/users/item/owned_devices/owned_devices_request_builder.py @@ -46,7 +46,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem async def get(self,request_configuration: Optional[OwnedDevicesRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryObjectCollectionResponse]: """ - Devices that are owned by the user. Read-only. Nullable. Supports $expand. + Devices owned by the user. Read-only. Nullable. Supports $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/user-list-owneddevices?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[OwnedDevicesRequestBuilderGet def to_get_request_information(self,request_configuration: Optional[OwnedDevicesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Devices that are owned by the user. Read-only. Nullable. Supports $expand. + Devices owned by the user. Read-only. Nullable. Supports $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[OwnedDevices request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> OwnedDevicesRequestBuilder: @@ -123,7 +123,7 @@ def graph_endpoint(self) -> GraphEndpointRequestBuilder: @dataclass class OwnedDevicesRequestBuilderGetQueryParameters(): """ - Devices that are owned by the user. Read-only. Nullable. Supports $expand. + Devices owned by the user. Read-only. Nullable. Supports $expand. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/owned_objects/graph_application/graph_application_request_builder.py b/msgraph_beta/generated/users/item/owned_objects/graph_application/graph_application_request_builder.py index c5e4d19c344..17fd46775fd 100644 --- a/msgraph_beta/generated/users/item/owned_objects/graph_application/graph_application_request_builder.py +++ b/msgraph_beta/generated/users/item/owned_objects/graph_application/graph_application_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphApplica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphApplicationRequestBuilder: diff --git a/msgraph_beta/generated/users/item/owned_objects/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/users/item/owned_objects/graph_group/graph_group_request_builder.py index de99245a518..2691ce7fcd2 100644 --- a/msgraph_beta/generated/users/item/owned_objects/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/users/item/owned_objects/graph_group/graph_group_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/users/item/owned_objects/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/users/item/owned_objects/graph_service_principal/graph_service_principal_request_builder.py index 42c3d9d6a11..f4cf4dae25c 100644 --- a/msgraph_beta/generated/users/item/owned_objects/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/users/item/owned_objects/graph_service_principal/graph_service_principal_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/users/item/owned_objects/item/directory_object_item_request_builder.py b/msgraph_beta/generated/users/item/owned_objects/item/directory_object_item_request_builder.py index 4bc169ac14a..2872236000f 100644 --- a/msgraph_beta/generated/users/item/owned_objects/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/users/item/owned_objects/item/directory_object_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DirectoryObjectItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Directory objects that are owned by the user. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + Directory objects owned by the user. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[DirectoryObjectItemRequestBui def to_get_request_information(self,request_configuration: Optional[DirectoryObjectItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Directory objects that are owned by the user. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + Directory objects owned by the user. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: @@ -107,7 +107,7 @@ def graph_service_principal(self) -> GraphServicePrincipalRequestBuilder: @dataclass class DirectoryObjectItemRequestBuilderGetQueryParameters(): """ - Directory objects that are owned by the user. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + Directory objects owned by the user. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/owned_objects/item/graph_application/graph_application_request_builder.py b/msgraph_beta/generated/users/item/owned_objects/item/graph_application/graph_application_request_builder.py index 9c373512f6d..b047711282c 100644 --- a/msgraph_beta/generated/users/item/owned_objects/item/graph_application/graph_application_request_builder.py +++ b/msgraph_beta/generated/users/item/owned_objects/item/graph_application/graph_application_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphApplica request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphApplicationRequestBuilder: diff --git a/msgraph_beta/generated/users/item/owned_objects/item/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/users/item/owned_objects/item/graph_group/graph_group_request_builder.py index 6b93860ed6e..b9a484f57ad 100644 --- a/msgraph_beta/generated/users/item/owned_objects/item/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/users/item/owned_objects/item/graph_group/graph_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/users/item/owned_objects/item/graph_service_principal/graph_service_principal_request_builder.py b/msgraph_beta/generated/users/item/owned_objects/item/graph_service_principal/graph_service_principal_request_builder.py index 6a2eac43854..eddeb31c625 100644 --- a/msgraph_beta/generated/users/item/owned_objects/item/graph_service_principal/graph_service_principal_request_builder.py +++ b/msgraph_beta/generated/users/item/owned_objects/item/graph_service_principal/graph_service_principal_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphService request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphServicePrincipalRequestBuilder: diff --git a/msgraph_beta/generated/users/item/owned_objects/owned_objects_request_builder.py b/msgraph_beta/generated/users/item/owned_objects/owned_objects_request_builder.py index 5e7fa27f1fb..4e380682a8b 100644 --- a/msgraph_beta/generated/users/item/owned_objects/owned_objects_request_builder.py +++ b/msgraph_beta/generated/users/item/owned_objects/owned_objects_request_builder.py @@ -47,7 +47,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem async def get(self,request_configuration: Optional[OwnedObjectsRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryObjectCollectionResponse]: """ - Directory objects that are owned by the user. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + Directory objects owned by the user. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/user-list-ownedobjects?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[OwnedObjectsRequestBuilderGet def to_get_request_information(self,request_configuration: Optional[OwnedObjectsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Directory objects that are owned by the user. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + Directory objects owned by the user. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,7 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[OwnedObjects request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> OwnedObjectsRequestBuilder: @@ -133,7 +133,7 @@ def graph_service_principal(self) -> GraphServicePrincipalRequestBuilder: @dataclass class OwnedObjectsRequestBuilderGetQueryParameters(): """ - Directory objects that are owned by the user. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + Directory objects owned by the user. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index a269392f71f..cb8ca8552bf 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/accept_recommendations/accept_recommendations_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/accept_recommendations/accept_recommendations_request_builder.py index f7d11a76fa0..d1d873754c2 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/accept_recommendations/accept_recommendations_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/accept_recommendations/accept_recommendations_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[AcceptRecommendationsRequestBuilderPostRequestConfiguration] = None) -> None: """ - Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. This API is available in the following national cloud deployments. + Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. 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/accessreviewinstance-acceptrecommendations?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[AcceptRecommendationsRequest def to_post_request_information(self,request_configuration: Optional[AcceptRecommendationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. This API is available in the following national cloud deployments. + Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed for an accessReviewInstance object for which the calling user is a reviewer. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there isn't a recommendation on an accessReviewInstanceDecisionItem object no decision will be recorded. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[AcceptRecom request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AcceptRecommendationsRequestBuilder: diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/access_review_instance_item_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/access_review_instance_item_request_builder.py index 3bd973fffd0..4b19a0c2145 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/access_review_instance_item_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/access_review_instance_item_request_builder.py @@ -58,7 +58,7 @@ async def delete(self,request_configuration: Optional[AccessReviewInstanceItemRe async def get(self,request_configuration: Optional[AccessReviewInstanceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewInstance]: """ - Navigation property to get list of access reviews pending approval by reviewer. + Navigation property to get a list of access reviews pending approval by the reviewer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstance] """ @@ -114,12 +114,12 @@ def to_delete_request_information(self,request_configuration: Optional[AccessRev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessReviewInstanceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Navigation property to get list of access reviews pending approval by reviewer. + Navigation property to get a list of access reviews pending approval by the reviewer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -131,7 +131,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessReviewInstance] = None, request_configuration: Optional[AccessReviewInstanceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -150,7 +150,7 @@ def to_patch_request_information(self,body: Optional[AccessReviewInstance] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -276,7 +276,7 @@ class AccessReviewInstanceItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class AccessReviewInstanceItemRequestBuilderGetQueryParameters(): """ - Navigation property to get list of access reviews pending approval by reviewer. + Navigation property to get a list of access reviews pending approval by the reviewer. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/apply_decisions/apply_decisions_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/apply_decisions/apply_decisions_request_builder.py index 5ecb2ae35c1..ea7dc8d7f37 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/apply_decisions/apply_decisions_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/apply_decisions/apply_decisions_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ApplyDecisionsRequestBuilderPostRequestConfiguration] = None) -> None: """ - Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. This API is available in the following national cloud deployments. + Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. 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/accessreviewinstance-applydecisions?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ApplyDecisionsRequestBuilder def to_post_request_information(self,request_configuration: Optional[ApplyDecisionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. This API is available in the following national cloud deployments. + Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ApplyDecisi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ApplyDecisionsRequestBuilder: diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/batch_record_decisions/batch_record_decisions_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/batch_record_decisions/batch_record_decisions_request_builder.py index dec5480a11a..6ae8297fc60 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/batch_record_decisions/batch_record_decisions_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/batch_record_decisions/batch_record_decisions_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[BatchRecordDecisionsPostRequestBody] = None, request_configuration: Optional[BatchRecordDecisionsRequestBuilderPostRequestConfiguration] = None) -> None: """ - Enables reviewers to review all accessReviewInstanceDecisionItem objects in batches by using principalId, resourceId, or neither. This API is available in the following national cloud deployments. + Enables reviewers to review all accessReviewInstanceDecisionItem objects in batches by using principalId, resourceId, or neither. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[BatchRecordDecisionsPostRequestBody] = None, def to_post_request_information(self,body: Optional[BatchRecordDecisionsPostRequestBody] = None, request_configuration: Optional[BatchRecordDecisionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Enables reviewers to review all accessReviewInstanceDecisionItem objects in batches by using principalId, resourceId, or neither. This API is available in the following national cloud deployments. + Enables reviewers to review all accessReviewInstanceDecisionItem objects in batches by using principalId, resourceId, or neither. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[BatchRecordDecisionsPostRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/contacted_reviewers/contacted_reviewers_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/contacted_reviewers/contacted_reviewers_request_builder.py index e5880c0df00..7e3cd77739c 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/contacted_reviewers/contacted_reviewers_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/contacted_reviewers/contacted_reviewers_request_builder.py @@ -45,7 +45,7 @@ def by_access_review_reviewer_id(self,access_review_reviewer_id: str) -> AccessR async def get(self,request_configuration: Optional[ContactedReviewersRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewReviewerCollectionResponse]: """ - Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. This API is available in the following national cloud deployments. + Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewReviewerCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-list-contactedreviewers?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AccessReviewReviewer] = None, request_configu def to_get_request_information(self,request_configuration: Optional[ContactedReviewersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. This API is available in the following national cloud deployments. + Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ContactedRev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessReviewReviewer] = None, request_configuration: Optional[ContactedReviewersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AccessReviewReviewer] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ContactedReviewersRequestBuilderGetQueryParameters(): """ - Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. This API is available in the following national cloud deployments. + Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/contacted_reviewers/item/access_review_reviewer_item_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/contacted_reviewers/item/access_review_reviewer_item_request_builder.py index c155c5b2496..863f51c091f 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/contacted_reviewers/item/access_review_reviewer_item_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/contacted_reviewers/item/access_review_reviewer_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[AccessRev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessReviewReviewerItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessReviewReviewer] = None, request_configuration: Optional[AccessReviewReviewerItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[AccessReviewReviewer] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/decisions_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/decisions_request_builder.py index 8df9fd32a0e..e3d5090e1c5 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/decisions_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/decisions_request_builder.py @@ -59,7 +59,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[DecisionsRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewInstanceDecisionItemCollectionResponse]: """ - Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. This API is available in the following national cloud deployments. + Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItemCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-list-decisions?view=graph-rest-1.0 @@ -105,7 +105,7 @@ async def post(self,body: Optional[AccessReviewInstanceDecisionItem] = None, req def to_get_request_information(self,request_configuration: Optional[DecisionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. This API is available in the following national cloud deployments. + Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[DecisionsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessReviewInstanceDecisionItem] = None, request_configuration: Optional[DecisionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -136,7 +136,7 @@ def to_post_request_information(self,body: Optional[AccessReviewInstanceDecision request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -171,7 +171,7 @@ def record_all_decisions(self) -> RecordAllDecisionsRequestBuilder: @dataclass class DecisionsRequestBuilderGetQueryParameters(): """ - Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. This API is available in the following national cloud deployments. + Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index ad3cf95d5c9..ae05cabd3ae 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/item/access_review_instance_decision_item_item_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/item/access_review_instance_decision_item_item_request_builder.py index 7f073e7792f..be107039a58 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/item/access_review_instance_decision_item_item_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/item/access_review_instance_decision_item_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[AccessReviewInstanceDecisi async def get(self,request_configuration: Optional[AccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewInstanceDecisionItem]: """ - Read the properties and relationships of an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. + Read the properties and relationships of an accessReviewInstanceDecisionItem object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-get?view=graph-rest-1.0 @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[AccessRev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. + Read the properties and relationships of an accessReviewInstanceDecisionItem object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +123,7 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessReviewInstanceDecisionItem] = None, request_configuration: Optional[AccessReviewInstanceDecisionItemItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[AccessReviewInstanceDecisio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -187,7 +187,7 @@ class AccessReviewInstanceDecisionItemItemRequestBuilderDeleteRequestConfigurati @dataclass class AccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. + Read the properties and relationships of an accessReviewInstanceDecisionItem object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/item/insights/insights_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/item/insights/insights_request_builder.py index e199b61053c..4dea2853364 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/item/insights/insights_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/item/insights/insights_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[InsightsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GovernanceInsight] = None, request_configuration: Optional[InsightsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GovernanceInsight] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/item/insights/item/governance_insight_item_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/item/insights/item/governance_insight_item_request_builder.py index bb027d3e923..4c1ed214968 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/item/insights/item/governance_insight_item_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/item/insights/item/governance_insight_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Governanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GovernanceInsightItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceInsight] = None, request_configuration: Optional[GovernanceInsightItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[GovernanceInsight] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/record_all_decisions/record_all_decisions_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/record_all_decisions/record_all_decisions_request_builder.py index d7958a87a8f..e056cb3c30d 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/record_all_decisions/record_all_decisions_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/decisions/record_all_decisions/record_all_decisions_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RecordAllDecisionsPostRequestBody] = None, request_configuration: Optional[RecordAllDecisionsRequestBuilderPostRequestConfiguration] = None) -> None: """ - As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. This API is available in the following national cloud deployments. + As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RecordAllDecisionsPostRequestBody] = None, re def to_post_request_information(self,body: Optional[RecordAllDecisionsPostRequestBody] = None, request_configuration: Optional[RecordAllDecisionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. This API is available in the following national cloud deployments. + As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RecordAllDecisionsPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/definition/definition_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/definition/definition_request_builder.py index 325e10751cd..f502d209409 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/definition/definition_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/definition/definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DefinitionRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DefinitionRequestBuilder: diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/reset_decisions/reset_decisions_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/reset_decisions/reset_decisions_request_builder.py index f0bcfd44443..1aa8c7146a4 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/reset_decisions/reset_decisions_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/reset_decisions/reset_decisions_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ResetDecisionsRequestBuilderPostRequestConfiguration] = None) -> None: """ - Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. This API is available in the following national cloud deployments. + Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. 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/accessreviewinstance-resetdecisions?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ResetDecisionsRequestBuilder def to_post_request_information(self,request_configuration: Optional[ResetDecisionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. This API is available in the following national cloud deployments. + Resets decisions of all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ResetDecisi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ResetDecisionsRequestBuilder: diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/send_reminder/send_reminder_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/send_reminder/send_reminder_request_builder.py index e45b3eaacda..db419d4207e 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/send_reminder/send_reminder_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/send_reminder/send_reminder_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[SendReminderRequestBuilderPostRequestConfiguration] = None) -> None: """ - Send a reminder to the reviewers of a currently active accessReviewInstance. This API is available in the following national cloud deployments. + Send a reminder to the reviewers of a currently active accessReviewInstance. 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/accessreviewinstance-sendreminder?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[SendReminderRequestBuilderPo def to_post_request_information(self,request_configuration: Optional[SendReminderRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send a reminder to the reviewers of a currently active accessReviewInstance. This API is available in the following national cloud deployments. + Send a reminder to the reviewers of a currently active accessReviewInstance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[SendReminde request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SendReminderRequestBuilder: diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 1946d582cc7..411916952c7 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/access_review_stage_item_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/access_review_stage_item_request_builder.py index b169df7728b..e287e01adeb 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/access_review_stage_item_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/access_review_stage_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[AccessReviewStageItemReque async def get(self,request_configuration: Optional[AccessReviewStageItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewStage]: """ - Retrieve the properties and relationships of an accessReviewStage object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an accessReviewStage object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewStage] Find more info here: https://learn.microsoft.com/graph/api/accessreviewstage-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[AccessReviewStageItemRequestB async def patch(self,body: Optional[AccessReviewStage] = None, request_configuration: Optional[AccessReviewStageItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[AccessReviewStage]: """ - Update the properties of an accessReviewStage object. Only the reviewers and fallbackReviewers properties can be updated. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewStage, its status must be NotStarted, Initializing, or InProgress. This API is available in the following national cloud deployments. + Update the properties of an accessReviewStage object. Only the reviewers and fallbackReviewers properties can be updated. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewStage, its status must be NotStarted, Initializing, or InProgress. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewStage] @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[AccessRev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessReviewStageItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an accessReviewStage object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an accessReviewStage object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessReviewStage] = None, request_configuration: Optional[AccessReviewStageItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an accessReviewStage object. Only the reviewers and fallbackReviewers properties can be updated. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewStage, its status must be NotStarted, Initializing, or InProgress. This API is available in the following national cloud deployments. + Update the properties of an accessReviewStage object. Only the reviewers and fallbackReviewers properties can be updated. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewStage, its status must be NotStarted, Initializing, or InProgress. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[AccessReviewStage] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ class AccessReviewStageItemRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class AccessReviewStageItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an accessReviewStage object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an accessReviewStage object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/decisions_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/decisions_request_builder.py index a5977d59f1b..9a482551bed 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/decisions_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/decisions_request_builder.py @@ -59,7 +59,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[DecisionsRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewInstanceDecisionItemCollectionResponse]: """ - Get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. + Get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItemCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewstage-list-decisions?view=graph-rest-1.0 @@ -105,7 +105,7 @@ async def post(self,body: Optional[AccessReviewInstanceDecisionItem] = None, req def to_get_request_information(self,request_configuration: Optional[DecisionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. + Get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[DecisionsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessReviewInstanceDecisionItem] = None, request_configuration: Optional[DecisionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -136,7 +136,7 @@ def to_post_request_information(self,body: Optional[AccessReviewInstanceDecision request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -171,7 +171,7 @@ def record_all_decisions(self) -> RecordAllDecisionsRequestBuilder: @dataclass class DecisionsRequestBuilderGetQueryParameters(): """ - Get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. + Get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 9fed3c0be19..219fa211235 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[FilterByCurr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FilterByCurrentUserWithOnRequestBuilder: diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/item/access_review_instance_decision_item_item_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/item/access_review_instance_decision_item_item_request_builder.py index 5fb77e20b7c..c5ff54f34af 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/item/access_review_instance_decision_item_item_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/item/access_review_instance_decision_item_item_request_builder.py @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[AccessReviewInstanceDecisi async def get(self,request_configuration: Optional[AccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewInstanceDecisionItem]: """ - Read the properties and relationships of an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. + Read the properties and relationships of an accessReviewInstanceDecisionItem object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstancedecisionitem-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[AccessReviewInstanceDecisionI async def patch(self,body: Optional[AccessReviewInstanceDecisionItem] = None, request_configuration: Optional[AccessReviewInstanceDecisionItemItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[AccessReviewInstanceDecisionItem]: """ - Update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. This API is available in the following national cloud deployments. + Update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceDecisionItem] @@ -107,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[AccessRev request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AccessReviewInstanceDecisionItemItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. + Read the properties and relationships of an accessReviewInstanceDecisionItem object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_get_request_information(self,request_configuration: Optional[AccessReview request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AccessReviewInstanceDecisionItem] = None, request_configuration: Optional[AccessReviewInstanceDecisionItemItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. This API is available in the following national cloud deployments. + Update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[AccessReviewInstanceDecisio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ class AccessReviewInstanceDecisionItemItemRequestBuilderDeleteRequestConfigurati @dataclass class AccessReviewInstanceDecisionItemItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an accessReviewInstanceDecisionItem object. This API is available in the following national cloud deployments. + Read the properties and relationships of an accessReviewInstanceDecisionItem object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/item/insights/insights_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/item/insights/insights_request_builder.py index a5520e6fe96..166c3b52566 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/item/insights/insights_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/item/insights/insights_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[InsightsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[GovernanceInsight] = None, request_configuration: Optional[InsightsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[GovernanceInsight] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/item/insights/item/governance_insight_item_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/item/insights/item/governance_insight_item_request_builder.py index dcdbf8bfec5..e55a69932c8 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/item/insights/item/governance_insight_item_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/item/insights/item/governance_insight_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Governanc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[GovernanceInsightItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[GovernanceIn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[GovernanceInsight] = None, request_configuration: Optional[GovernanceInsightItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[GovernanceInsight] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/record_all_decisions/record_all_decisions_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/record_all_decisions/record_all_decisions_request_builder.py index 9af7bc5d51d..a8584a1a2c8 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/record_all_decisions/record_all_decisions_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/decisions/record_all_decisions/record_all_decisions_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[RecordAllDecisionsPostRequestBody] = None, request_configuration: Optional[RecordAllDecisionsRequestBuilderPostRequestConfiguration] = None) -> None: """ - As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. This API is available in the following national cloud deployments. + As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[RecordAllDecisionsPostRequestBody] = None, re def to_post_request_information(self,body: Optional[RecordAllDecisionsPostRequestBody] = None, request_configuration: Optional[RecordAllDecisionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. This API is available in the following national cloud deployments. + As a reviewer of an access review, record a decision for an accessReviewInstanceDecisionItem that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every accessReviewInstanceDecisionItem for which you are the reviewer. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[RecordAllDecisionsPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/stop/stop_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/stop/stop_request_builder.py index b332ccfb7e9..b165f80dba2 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/stop/stop_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/item/stop/stop_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[StopRequestBuilderPostRequestConfiguration] = None) -> None: """ - Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. This API is available in the following national cloud deployments. + Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. 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/accessreviewstage-stop?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[StopRequestBuilderPostReques def to_post_request_information(self,request_configuration: Optional[StopRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. This API is available in the following national cloud deployments. + Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[StopRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> StopRequestBuilder: diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/stages_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/stages_request_builder.py index c832187469d..d384ef03237 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/stages_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stages/stages_request_builder.py @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[StagesRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewStageCollectionResponse]: """ - Retrieve the stages in a multi-stage access review instance. This API is available in the following national cloud deployments. + Retrieve the stages in a multi-stage access review instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewStageCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-list-stages?view=graph-rest-1.0 @@ -104,7 +104,7 @@ async def post(self,body: Optional[AccessReviewStage] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[StagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the stages in a multi-stage access review instance. This API is available in the following national cloud deployments. + Retrieve the stages in a multi-stage access review instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[StagesReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessReviewStage] = None, request_configuration: Optional[StagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -135,7 +135,7 @@ def to_post_request_information(self,body: Optional[AccessReviewStage] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -161,7 +161,7 @@ def count(self) -> CountRequestBuilder: @dataclass class StagesRequestBuilderGetQueryParameters(): """ - Retrieve the stages in a multi-stage access review instance. This API is available in the following national cloud deployments. + Retrieve the stages in a multi-stage access review instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stop/stop_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stop/stop_request_builder.py index 7c84147621d..2d23c2a239d 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stop/stop_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stop/stop_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[StopRequestBuilderPostRequestConfiguration] = None) -> None: """ - Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. This API is available in the following national cloud deployments. + Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. 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/accessreviewinstance-stop?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[StopRequestBuilderPostReques def to_post_request_information(self,request_configuration: Optional[StopRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. This API is available in the following national cloud deployments. + Stop a currently active accessReviewInstance. After the access review instance stops, the instance status will be Completed, the reviewers can no longer give input, and the access review decisions can be applied. Stopping an instance will not effect future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[StopRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> StopRequestBuilder: diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stop_apply_decisions/stop_apply_decisions_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stop_apply_decisions/stop_apply_decisions_request_builder.py index 0f02424fd68..6315b47ae55 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/item/stop_apply_decisions/stop_apply_decisions_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/item/stop_apply_decisions/stop_apply_decisions_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[StopApplyDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> StopApplyDecisionsRequestBuilder: diff --git a/msgraph_beta/generated/users/item/pending_access_review_instances/pending_access_review_instances_request_builder.py b/msgraph_beta/generated/users/item/pending_access_review_instances/pending_access_review_instances_request_builder.py index 0d02b214d76..e2cac7748c1 100644 --- a/msgraph_beta/generated/users/item/pending_access_review_instances/pending_access_review_instances_request_builder.py +++ b/msgraph_beta/generated/users/item/pending_access_review_instances/pending_access_review_instances_request_builder.py @@ -58,7 +58,7 @@ def filter_by_current_user_with_on(self,on: Optional[str] = None) -> FilterByCur async def get(self,request_configuration: Optional[PendingAccessReviewInstancesRequestBuilderGetRequestConfiguration] = None) -> Optional[AccessReviewInstanceCollectionResponse]: """ - Retrieve the accessReviewInstance objects pending approval by the calling user. A list of zero or more accessReviewInstance objects are returned, of which the calling user is an assigned reviewer. This API is available in the following national cloud deployments. + Retrieve the accessReviewInstance objects pending approval by the calling user. A list of zero or more accessReviewInstance objects are returned, of which the calling user is an assigned reviewer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessReviewInstanceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/accessreviewinstance-pendingaccessreviewinstances?view=graph-rest-1.0 @@ -104,7 +104,7 @@ async def post(self,body: Optional[AccessReviewInstance] = None, request_configu def to_get_request_information(self,request_configuration: Optional[PendingAccessReviewInstancesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the accessReviewInstance objects pending approval by the calling user. A list of zero or more accessReviewInstance objects are returned, of which the calling user is an assigned reviewer. This API is available in the following national cloud deployments. + Retrieve the accessReviewInstance objects pending approval by the calling user. A list of zero or more accessReviewInstance objects are returned, of which the calling user is an assigned reviewer. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[PendingAcces request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AccessReviewInstance] = None, request_configuration: Optional[PendingAccessReviewInstancesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -135,7 +135,7 @@ def to_post_request_information(self,body: Optional[AccessReviewInstance] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -161,7 +161,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PendingAccessReviewInstancesRequestBuilderGetQueryParameters(): """ - Retrieve the accessReviewInstance objects pending approval by the calling user. A list of zero or more accessReviewInstance objects are returned, of which the calling user is an assigned reviewer. This API is available in the following national cloud deployments. + Retrieve the accessReviewInstance objects pending approval by the calling user. A list of zero or more accessReviewInstance objects are returned, of which the calling user is an assigned reviewer. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/people/item/person_item_request_builder.py b/msgraph_beta/generated/users/item/people/item/person_item_request_builder.py index d563177f90c..2f2e9257063 100644 --- a/msgraph_beta/generated/users/item/people/item/person_item_request_builder.py +++ b/msgraph_beta/generated/users/item/people/item/person_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[PersonItemRequestBuilderGetRequestConfiguration] = None) -> Optional[Person]: """ - Read-only. The most relevant people to the user. The collection is ordered by their relevance to the user, which is determined by the user's communication, collaboration and business relationships. A person is an aggregation of information from across mail, contacts and social networks. + Read-only. The most relevant people to the user. The collection is ordered by their relevance to the user, which is determined by the user's communication, collaboration, and business relationships. A person aggregates information from mail, contacts, and social networks. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Person] """ @@ -49,7 +49,7 @@ async def get(self,request_configuration: Optional[PersonItemRequestBuilderGetRe def to_get_request_information(self,request_configuration: Optional[PersonItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read-only. The most relevant people to the user. The collection is ordered by their relevance to the user, which is determined by the user's communication, collaboration and business relationships. A person is an aggregation of information from across mail, contacts and social networks. + Read-only. The most relevant people to the user. The collection is ordered by their relevance to the user, which is determined by the user's communication, collaboration, and business relationships. A person aggregates information from mail, contacts, and social networks. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PersonItemRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PersonItemRequestBuilder: @@ -77,7 +77,7 @@ def with_url(self,raw_url: Optional[str] = None) -> PersonItemRequestBuilder: @dataclass class PersonItemRequestBuilderGetQueryParameters(): """ - Read-only. The most relevant people to the user. The collection is ordered by their relevance to the user, which is determined by the user's communication, collaboration and business relationships. A person is an aggregation of information from across mail, contacts and social networks. + Read-only. The most relevant people to the user. The collection is ordered by their relevance to the user, which is determined by the user's communication, collaboration, and business relationships. A person aggregates information from mail, contacts, and social networks. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/people/people_request_builder.py b/msgraph_beta/generated/users/item/people/people_request_builder.py index d57603645ad..f72f622b26d 100644 --- a/msgraph_beta/generated/users/item/people/people_request_builder.py +++ b/msgraph_beta/generated/users/item/people/people_request_builder.py @@ -44,7 +44,7 @@ def by_person_id(self,person_id: str) -> PersonItemRequestBuilder: async def get(self,request_configuration: Optional[PeopleRequestBuilderGetRequestConfiguration] = None) -> Optional[PersonCollectionResponse]: """ - Retrieve a list of person objects ordered by their relevance to the user, which is determined by the user's communication and collaboration patterns, and business relationships. This API is available in the following national cloud deployments. + Retrieve a list of person objects ordered by their relevance to the user, which is determined by the user's communication and collaboration patterns, and business relationships. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PersonCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/user-list-people?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[PeopleRequestBuilderGetReques def to_get_request_information(self,request_configuration: Optional[PeopleRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of person objects ordered by their relevance to the user, which is determined by the user's communication and collaboration patterns, and business relationships. This API is available in the following national cloud deployments. + Retrieve a list of person objects ordered by their relevance to the user, which is determined by the user's communication and collaboration patterns, and business relationships. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[PeopleReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PeopleRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PeopleRequestBuilderGetQueryParameters(): """ - Retrieve a list of person objects ordered by their relevance to the user, which is determined by the user's communication and collaboration patterns, and business relationships. This API is available in the following national cloud deployments. + Retrieve a list of person objects ordered by their relevance to the user, which is determined by the user's communication and collaboration patterns, and business relationships. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/permission_grants/item/resource_specific_permission_grant_item_request_builder.py b/msgraph_beta/generated/users/item/permission_grants/item/resource_specific_permission_grant_item_request_builder.py index 6dae1d054ef..64c768126b4 100644 --- a/msgraph_beta/generated/users/item/permission_grants/item/resource_specific_permission_grant_item_request_builder.py +++ b/msgraph_beta/generated/users/item/permission_grants/item/resource_specific_permission_grant_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ResourceS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ResourceSpecificPermissionGrantItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ResourceSpec request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ResourceSpecificPermissionGrant] = None, request_configuration: Optional[ResourceSpecificPermissionGrantItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ResourceSpecificPermissionG request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/permission_grants/permission_grants_request_builder.py b/msgraph_beta/generated/users/item/permission_grants/permission_grants_request_builder.py index 754fb844cf2..1b9ab94ca0e 100644 --- a/msgraph_beta/generated/users/item/permission_grants/permission_grants_request_builder.py +++ b/msgraph_beta/generated/users/item/permission_grants/permission_grants_request_builder.py @@ -45,7 +45,7 @@ def by_resource_specific_permission_grant_id(self,resource_specific_permission_g async def get(self,request_configuration: Optional[PermissionGrantsRequestBuilderGetRequestConfiguration] = None) -> Optional[ResourceSpecificPermissionGrantCollectionResponse]: """ - List all resource-specific permission grants of a user. This list specifies the Microsoft Entra apps that have access to the user, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + List all resource-specific permission grants of a user. This list specifies the Microsoft Entra apps that have access to the user, along with the corresponding kind of resource-specific access that each app has. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ResourceSpecificPermissionGrantCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/user-list-permissiongrants?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ResourceSpecificPermissionGrant] = None, requ def to_get_request_information(self,request_configuration: Optional[PermissionGrantsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - List all resource-specific permission grants of a user. This list specifies the Microsoft Entra apps that have access to the user, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + List all resource-specific permission grants of a user. This list specifies the Microsoft Entra apps that have access to the user, along with the corresponding kind of resource-specific access that each app has. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[PermissionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ResourceSpecificPermissionGrant] = None, request_configuration: Optional[PermissionGrantsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ResourceSpecificPermissionGr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PermissionGrantsRequestBuilderGetQueryParameters(): """ - List all resource-specific permission grants of a user. This list specifies the Microsoft Entra apps that have access to the user, along with the corresponding kind of resource-specific access that each app has. This API is available in the following national cloud deployments. + List all resource-specific permission grants of a user. This list specifies the Microsoft Entra apps that have access to the user, along with the corresponding kind of resource-specific access that each app has. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/photo/photo_request_builder.py b/msgraph_beta/generated/users/item/photo/photo_request_builder.py index 5a43ce33f12..f5f052fdfb7 100644 --- a/msgraph_beta/generated/users/item/photo/photo_request_builder.py +++ b/msgraph_beta/generated/users/item/photo/photo_request_builder.py @@ -27,25 +27,6 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni """ super().__init__(request_adapter, "{+baseurl}/users/{user%2Did}/photo{?%24select}", path_parameters) - async def delete(self,request_configuration: Optional[PhotoRequestBuilderDeleteRequestConfiguration] = None) -> None: - """ - Delete navigation property photo for users - 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, ParsableFactory] = { - "4XX": ODataError, - "5XX": 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[PhotoRequestBuilderGetRequestConfiguration] = None) -> Optional[ProfilePhoto]: """ The user's profile photo. Read-only. @@ -91,22 +72,6 @@ async def patch(self,body: Optional[ProfilePhoto] = None, request_configuration: return await self.request_adapter.send_async(request_info, ProfilePhoto, error_mapping) - def to_delete_request_information(self,request_configuration: Optional[PhotoRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: - """ - Delete navigation property photo for users - param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. - Returns: RequestInformation - """ - request_info = RequestInformation() - if request_configuration: - request_info.headers.add_all(request_configuration.headers) - request_info.add_request_options(request_configuration.options) - request_info.url_template = self.url_template - request_info.path_parameters = self.path_parameters - request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") - return request_info - def to_get_request_information(self,request_configuration: Optional[PhotoRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ The user's profile photo. Read-only. @@ -121,7 +86,7 @@ def to_get_request_information(self,request_configuration: Optional[PhotoRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ProfilePhoto] = None, request_configuration: Optional[PhotoRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +105,7 @@ def to_patch_request_information(self,body: Optional[ProfilePhoto] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -163,16 +128,6 @@ def content(self) -> ContentRequestBuilder: return ContentRequestBuilder(self.request_adapter, self.path_parameters) - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - @dataclass - class PhotoRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): - from kiota_abstractions.base_request_configuration import BaseRequestConfiguration - - """ - Configuration for the request such as headers, query parameters, and middleware options. - """ - @dataclass class PhotoRequestBuilderGetQueryParameters(): """ diff --git a/msgraph_beta/generated/users/item/photo/value/content_request_builder.py b/msgraph_beta/generated/users/item/photo/value/content_request_builder.py index 978dc7c62ac..482a87d1c53 100644 --- a/msgraph_beta/generated/users/item/photo/value/content_request_builder.py +++ b/msgraph_beta/generated/users/item/photo/value/content_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -98,7 +98,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/users/item/photos/item/profile_photo_item_request_builder.py b/msgraph_beta/generated/users/item/photos/item/profile_photo_item_request_builder.py index bf431b27130..62aa591fb1b 100644 --- a/msgraph_beta/generated/users/item/photos/item/profile_photo_item_request_builder.py +++ b/msgraph_beta/generated/users/item/photos/item/profile_photo_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ProfilePhotoItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ProfilePhoto]: """ - Get photos from users + The collection of the user's profile photos in different sizes. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProfilePhoto] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ProfilePhotoItemRequestBuilde def to_get_request_information(self,request_configuration: Optional[ProfilePhotoItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get photos from users + The collection of the user's profile photos in different sizes. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ProfilePhoto request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ProfilePhotoItemRequestBuilder: @@ -87,7 +87,7 @@ def content(self) -> ContentRequestBuilder: @dataclass class ProfilePhotoItemRequestBuilderGetQueryParameters(): """ - Get photos from users + The collection of the user's profile photos in different sizes. Read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/photos/item/value/content_request_builder.py b/msgraph_beta/generated/users/item/photos/item/value/content_request_builder.py index f3fab5a3033..27625b67acb 100644 --- a/msgraph_beta/generated/users/item/photos/item/value/content_request_builder.py +++ b/msgraph_beta/generated/users/item/photos/item/value/content_request_builder.py @@ -79,7 +79,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -98,7 +98,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/users/item/photos/photos_request_builder.py b/msgraph_beta/generated/users/item/photos/photos_request_builder.py index 88e85998161..94ca5721ec7 100644 --- a/msgraph_beta/generated/users/item/photos/photos_request_builder.py +++ b/msgraph_beta/generated/users/item/photos/photos_request_builder.py @@ -43,7 +43,7 @@ def by_profile_photo_id(self,profile_photo_id: str) -> ProfilePhotoItemRequestBu async def get(self,request_configuration: Optional[PhotosRequestBuilderGetRequestConfiguration] = None) -> Optional[ProfilePhotoCollectionResponse]: """ - Get photos from users + The collection of the user's profile photos in different sizes. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProfilePhotoCollectionResponse] """ @@ -64,7 +64,7 @@ async def get(self,request_configuration: Optional[PhotosRequestBuilderGetReques def to_get_request_information(self,request_configuration: Optional[PhotosRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get photos from users + The collection of the user's profile photos in different sizes. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -76,7 +76,7 @@ def to_get_request_information(self,request_configuration: Optional[PhotosReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PhotosRequestBuilder: @@ -92,7 +92,7 @@ def with_url(self,raw_url: Optional[str] = None) -> PhotosRequestBuilder: @dataclass class PhotosRequestBuilderGetQueryParameters(): """ - Get photos from users + The collection of the user's profile photos in different sizes. Read-only. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/planner/all/all_request_builder.py b/msgraph_beta/generated/users/item/planner/all/all_request_builder.py index cbffd6026b6..abe971566f0 100644 --- a/msgraph_beta/generated/users/item/planner/all/all_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/all/all_request_builder.py @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AllRequestBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PlannerDelta] = None, request_configuration: Optional[AllRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[PlannerDelta] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/planner/all/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/planner/all/delta/delta_request_builder.py index cb1e45d777f..53e47368ea6 100644 --- a/msgraph_beta/generated/users/item/planner/all/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/all/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/users/item/planner/all/item/planner_delta_item_request_builder.py b/msgraph_beta/generated/users/item/planner/all/item/planner_delta_item_request_builder.py index dead98b1b69..08aca07cb89 100644 --- a/msgraph_beta/generated/users/item/planner/all/item/planner_delta_item_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/all/item/planner_delta_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[PlannerDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PlannerDeltaItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[PlannerDelta request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerDelta] = None, request_configuration: Optional[PlannerDeltaItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[PlannerDelta] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/planner/favorite_plans/favorite_plans_request_builder.py b/msgraph_beta/generated/users/item/planner/favorite_plans/favorite_plans_request_builder.py index a9361e07328..5f50783dc9f 100644 --- a/msgraph_beta/generated/users/item/planner/favorite_plans/favorite_plans_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/favorite_plans/favorite_plans_request_builder.py @@ -44,7 +44,7 @@ def by_planner_plan_id(self,planner_plan_id: str) -> PlannerPlanItemRequestBuild async def get(self,request_configuration: Optional[FavoritePlansRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerPlanCollectionResponse]: """ - Retrieve a list of plannerPlans that are marked as favorite by a user. You can mark a plan as favorite by updating the plannerUser resource. This API is available in the following national cloud deployments. + Retrieve a list of plannerPlans that are marked as favorite by a user. You can mark a plan as favorite by updating the plannerUser resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerPlanCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/planneruser-list-favoriteplans?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[FavoritePlansRequestBuilderGe def to_get_request_information(self,request_configuration: Optional[FavoritePlansRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of plannerPlans that are marked as favorite by a user. You can mark a plan as favorite by updating the plannerUser resource. This API is available in the following national cloud deployments. + Retrieve a list of plannerPlans that are marked as favorite by a user. You can mark a plan as favorite by updating the plannerUser resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[FavoritePlan request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> FavoritePlansRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class FavoritePlansRequestBuilderGetQueryParameters(): """ - Retrieve a list of plannerPlans that are marked as favorite by a user. You can mark a plan as favorite by updating the plannerUser resource. This API is available in the following national cloud deployments. + Retrieve a list of plannerPlans that are marked as favorite by a user. You can mark a plan as favorite by updating the plannerUser resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/planner/favorite_plans/item/planner_plan_item_request_builder.py b/msgraph_beta/generated/users/item/planner/favorite_plans/item/planner_plan_item_request_builder.py index 3da584a0bb4..d22324e24e2 100644 --- a/msgraph_beta/generated/users/item/planner/favorite_plans/item/planner_plan_item_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/favorite_plans/item/planner_plan_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PlannerPlanI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PlannerPlanItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/planner/planner_request_builder.py b/msgraph_beta/generated/users/item/planner/planner_request_builder.py index 38111636b7e..5076730c46b 100644 --- a/msgraph_beta/generated/users/item/planner/planner_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/planner_request_builder.py @@ -53,7 +53,7 @@ async def delete(self,request_configuration: Optional[PlannerRequestBuilderDelet async def get(self,request_configuration: Optional[PlannerRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerUser]: """ - Retrieve the properties and relationships of a plannerUser object. The returned properties include the user's favorite plans and recently viewed plans. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerUser object. The returned properties include the user's favorite plans and recently viewed plans. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerUser] Find more info here: https://learn.microsoft.com/graph/api/planneruser-get?view=graph-rest-1.0 @@ -111,12 +111,12 @@ def to_delete_request_information(self,request_configuration: Optional[PlannerRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PlannerRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a plannerUser object. The returned properties include the user's favorite plans and recently viewed plans. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerUser object. The returned properties include the user's favorite plans and recently viewed plans. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -128,7 +128,7 @@ def to_get_request_information(self,request_configuration: Optional[PlannerReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerUser] = None, request_configuration: Optional[PlannerRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[PlannerUser] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -228,7 +228,7 @@ class PlannerRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class PlannerRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a plannerUser object. The returned properties include the user's favorite plans and recently viewed plans. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerUser object. The returned properties include the user's favorite plans and recently viewed plans. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/planner/plans/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/planner/plans/delta/delta_request_builder.py index 16666afa2f4..2f5c9140628 100644 --- a/msgraph_beta/generated/users/item/planner/plans/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/plans/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/users/item/planner/plans/item/archive/archive_post_request_body.py b/msgraph_beta/generated/users/item/planner/plans/item/archive/archive_post_request_body.py new file mode 100644 index 00000000000..2ab115bfc27 --- /dev/null +++ b/msgraph_beta/generated/users/item/planner/plans/item/archive/archive_post_request_body.py @@ -0,0 +1,49 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class ArchivePostRequestBody(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 justification property + justification: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> ArchivePostRequestBody: + """ + 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: ArchivePostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return ArchivePostRequestBody() + + 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]] = { + "justification": lambda n : setattr(self, 'justification', 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("justification", self.justification) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/users/item/planner/plans/item/archive/archive_request_builder.py b/msgraph_beta/generated/users/item/planner/plans/item/archive/archive_request_builder.py new file mode 100644 index 00000000000..28197e09a9c --- /dev/null +++ b/msgraph_beta/generated/users/item/planner/plans/item/archive/archive_request_builder.py @@ -0,0 +1,91 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .archive_post_request_body import ArchivePostRequestBody + +class ArchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the archive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new ArchiveRequestBuilder 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}/planner/plans/{plannerPlan%2Did}/archive", path_parameters) + + async def post(self,body: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Invoke action archive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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: Optional[ArchivePostRequestBody] = None, request_configuration: Optional[ArchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action archive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> ArchiveRequestBuilder: + """ + 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: ArchiveRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return ArchiveRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class ArchiveRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/users/item/planner/plans/item/buckets/buckets_request_builder.py b/msgraph_beta/generated/users/item/planner/plans/item/buckets/buckets_request_builder.py index 7e5ba381024..e68a90deabb 100644 --- a/msgraph_beta/generated/users/item/planner/plans/item/buckets/buckets_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/plans/item/buckets/buckets_request_builder.py @@ -46,7 +46,7 @@ def by_planner_bucket_id(self,planner_bucket_id: str) -> PlannerBucketItemReques async def get(self,request_configuration: Optional[BucketsRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerBucketCollectionResponse]: """ - Retrieve a list of plannerBucket objects contained by a plannerPlan object. This API is available in the following national cloud deployments. + Retrieve a list of plannerBucket objects contained by a plannerPlan object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerBucketCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/plannerplan-list-buckets?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[PlannerBucket] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[BucketsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of plannerBucket objects contained by a plannerPlan object. This API is available in the following national cloud deployments. + Retrieve a list of plannerBucket objects contained by a plannerPlan object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[BucketsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PlannerBucket] = None, request_configuration: Optional[BucketsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PlannerBucket] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class BucketsRequestBuilderGetQueryParameters(): """ - Retrieve a list of plannerBucket objects contained by a plannerPlan object. This API is available in the following national cloud deployments. + Retrieve a list of plannerBucket objects contained by a plannerPlan object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/planner/plans/item/buckets/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/planner/plans/item/buckets/delta/delta_request_builder.py index ac5e149e39d..e6adc2d866f 100644 --- a/msgraph_beta/generated/users/item/planner/plans/item/buckets/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/plans/item/buckets/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/planner_bucket_item_request_builder.py b/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/planner_bucket_item_request_builder.py index e9aa6d11c46..49ec10da970 100644 --- a/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/planner_bucket_item_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/planner_bucket_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[PlannerBu request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PlannerBucketItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[PlannerBucke request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerBucket] = None, request_configuration: Optional[PlannerBucketItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[PlannerBucket] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/delta/delta_request_builder.py index 0eded9b9cde..d11c05bbe08 100644 --- a/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py b/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py index 385ac0fcee5..412869ef117 100644 --- a/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[AssignedToTaskBoardFormatR async def get(self,request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerAssignedToTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerAssignedToTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[AssignedT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignedToTa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerAssignedToTaskBoardTaskFormat] = None, request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerAssignedToTaskBoardT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class AssignedToTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class AssignedToTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py b/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py index 7dd63307bf5..a0beef0b4ca 100644 --- a/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[BucketTaskBoardFormatReque async def get(self,request_configuration: Optional[BucketTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerBucketTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerBucketTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[BucketTas request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BucketTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[BucketTaskBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerBucketTaskBoardTaskFormat] = None, request_configuration: Optional[BucketTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerBucketTaskBoardTaskF request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class BucketTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class BucketTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/item/details/details_request_builder.py b/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/item/details/details_request_builder.py index 0e3afe30b66..48141d286e0 100644 --- a/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/item/details/details_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/item/details/details_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[DetailsRequestBuilderDelet async def get(self,request_configuration: Optional[DetailsRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerTaskDetails]: """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerTaskDetails] Find more info here: https://learn.microsoft.com/graph/api/plannertaskdetails-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[DetailsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DetailsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[DetailsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerTaskDetails] = None, request_configuration: Optional[DetailsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerTaskDetails] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class DetailsRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class DetailsRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/item/planner_task_item_request_builder.py b/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/item/planner_task_item_request_builder.py index 3fb38e54802..e01b82548bd 100644 --- a/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/item/planner_task_item_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/item/planner_task_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[PlannerTa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PlannerTaskItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[PlannerTaskI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerTask] = None, request_configuration: Optional[PlannerTaskItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[PlannerTask] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py b/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py index 7152a614ef9..06d27695303 100644 --- a/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ProgressTaskBoardFormatReq async def get(self,request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerProgressTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerProgressTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ProgressT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ProgressTask request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerProgressTaskBoardTaskFormat] = None, request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerProgressTaskBoardTas request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ProgressTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class ProgressTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/tasks_request_builder.py b/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/tasks_request_builder.py index 38508501495..d5bdfe8de2d 100644 --- a/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/tasks_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/plans/item/buckets/item/tasks/tasks_request_builder.py @@ -46,7 +46,7 @@ def by_planner_task_id(self,planner_task_id: str) -> PlannerTaskItemRequestBuild async def get(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerTaskCollectionResponse]: """ - Retrieve a list of plannerTask objects associated to a plannerBucket object. This API is available in the following national cloud deployments. + Retrieve a list of plannerTask objects associated to a plannerBucket object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerTaskCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/plannerbucket-list-tasks?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[PlannerTask] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of plannerTask objects associated to a plannerBucket object. This API is available in the following national cloud deployments. + Retrieve a list of plannerTask objects associated to a plannerBucket object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[TasksRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PlannerTask] = None, request_configuration: Optional[TasksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PlannerTask] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class TasksRequestBuilderGetQueryParameters(): """ - Retrieve a list of plannerTask objects associated to a plannerBucket object. This API is available in the following national cloud deployments. + Retrieve a list of plannerTask objects associated to a plannerBucket object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/planner/plans/item/details/details_request_builder.py b/msgraph_beta/generated/users/item/planner/plans/item/details/details_request_builder.py index a56c4156745..5ad039fc27e 100644 --- a/msgraph_beta/generated/users/item/planner/plans/item/details/details_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/plans/item/details/details_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[DetailsRequestBuilderDelet async def get(self,request_configuration: Optional[DetailsRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerPlanDetails]: """ - Retrieve the properties and relationships of a plannerPlanDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerPlanDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerPlanDetails] Find more info here: https://learn.microsoft.com/graph/api/plannerplandetails-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[DetailsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DetailsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a plannerPlanDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerPlanDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[DetailsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerPlanDetails] = None, request_configuration: Optional[DetailsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerPlanDetails] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class DetailsRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class DetailsRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a plannerPlanDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerPlanDetails object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/planner/plans/item/move_to_container/move_to_container_request_builder.py b/msgraph_beta/generated/users/item/planner/plans/item/move_to_container/move_to_container_request_builder.py index c58a38d2052..47d63c7151c 100644 --- a/msgraph_beta/generated/users/item/planner/plans/item/move_to_container/move_to_container_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/plans/item/move_to_container/move_to_container_request_builder.py @@ -29,10 +29,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[MoveToContainerPostRequestBody] = None, request_configuration: Optional[MoveToContainerRequestBuilderPostRequestConfiguration] = None) -> Optional[PlannerPlan]: """ - Invoke action moveToContainer + Move a planner plan object from one planner plan container to another. Planner plans can only be moved from a user container to a group container. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerPlan] + Find more info here: https://learn.microsoft.com/graph/api/plannerplan-movetocontainer?view=graph-rest-1.0 """ if not body: raise TypeError("body cannot be null.") @@ -53,7 +54,7 @@ async def post(self,body: Optional[MoveToContainerPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[MoveToContainerPostRequestBody] = None, request_configuration: Optional[MoveToContainerRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Invoke action moveToContainer + Move a planner plan object from one planner plan container to another. Planner plans can only be moved from a user container to a group container. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -67,7 +68,7 @@ def to_post_request_information(self,body: Optional[MoveToContainerPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/planner/plans/item/planner_plan_item_request_builder.py b/msgraph_beta/generated/users/item/planner/plans/item/planner_plan_item_request_builder.py index b850e96b994..8f8b17c7741 100644 --- a/msgraph_beta/generated/users/item/planner/plans/item/planner_plan_item_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/plans/item/planner_plan_item_request_builder.py @@ -12,10 +12,12 @@ if TYPE_CHECKING: from ......models.o_data_errors.o_data_error import ODataError from ......models.planner_plan import PlannerPlan + from .archive.archive_request_builder import ArchiveRequestBuilder from .buckets.buckets_request_builder import BucketsRequestBuilder from .details.details_request_builder import DetailsRequestBuilder from .move_to_container.move_to_container_request_builder import MoveToContainerRequestBuilder from .tasks.tasks_request_builder import TasksRequestBuilder + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder class PlannerPlanItemRequestBuilder(BaseRequestBuilder): """ @@ -107,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[PlannerPl request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PlannerPlanItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[PlannerPlanI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerPlan] = None, request_configuration: Optional[PlannerPlanItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +145,7 @@ def to_patch_request_information(self,body: Optional[PlannerPlan] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -157,6 +159,15 @@ def with_url(self,raw_url: Optional[str] = None) -> PlannerPlanItemRequestBuilde raise TypeError("raw_url cannot be null.") return PlannerPlanItemRequestBuilder(self.request_adapter, raw_url) + @property + def archive(self) -> ArchiveRequestBuilder: + """ + Provides operations to call the archive method. + """ + from .archive.archive_request_builder import ArchiveRequestBuilder + + return ArchiveRequestBuilder(self.request_adapter, self.path_parameters) + @property def buckets(self) -> BucketsRequestBuilder: """ @@ -193,6 +204,15 @@ def tasks(self) -> TasksRequestBuilder: return TasksRequestBuilder(self.request_adapter, self.path_parameters) + @property + def unarchive(self) -> UnarchiveRequestBuilder: + """ + Provides operations to call the unarchive method. + """ + from .unarchive.unarchive_request_builder import UnarchiveRequestBuilder + + return UnarchiveRequestBuilder(self.request_adapter, self.path_parameters) + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration @dataclass diff --git a/msgraph_beta/generated/users/item/planner/plans/item/tasks/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/planner/plans/item/tasks/delta/delta_request_builder.py index 0e94f9bffa1..282c160b98b 100644 --- a/msgraph_beta/generated/users/item/planner/plans/item/tasks/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/plans/item/tasks/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/users/item/planner/plans/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py b/msgraph_beta/generated/users/item/planner/plans/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py index 7fa21a1c1a3..1ae5cc33ffc 100644 --- a/msgraph_beta/generated/users/item/planner/plans/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/plans/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[AssignedToTaskBoardFormatR async def get(self,request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerAssignedToTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerAssignedToTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[AssignedT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignedToTa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerAssignedToTaskBoardTaskFormat] = None, request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerAssignedToTaskBoardT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class AssignedToTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class AssignedToTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/planner/plans/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py b/msgraph_beta/generated/users/item/planner/plans/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py index 73380a637f4..ed670c62d20 100644 --- a/msgraph_beta/generated/users/item/planner/plans/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/plans/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[BucketTaskBoardFormatReque async def get(self,request_configuration: Optional[BucketTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerBucketTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerBucketTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[BucketTas request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BucketTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[BucketTaskBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerBucketTaskBoardTaskFormat] = None, request_configuration: Optional[BucketTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerBucketTaskBoardTaskF request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class BucketTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class BucketTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/planner/plans/item/tasks/item/details/details_request_builder.py b/msgraph_beta/generated/users/item/planner/plans/item/tasks/item/details/details_request_builder.py index a7a32634d1a..2778c29011c 100644 --- a/msgraph_beta/generated/users/item/planner/plans/item/tasks/item/details/details_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/plans/item/tasks/item/details/details_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[DetailsRequestBuilderDelet async def get(self,request_configuration: Optional[DetailsRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerTaskDetails]: """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerTaskDetails] Find more info here: https://learn.microsoft.com/graph/api/plannertaskdetails-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[DetailsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DetailsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[DetailsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerTaskDetails] = None, request_configuration: Optional[DetailsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerTaskDetails] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class DetailsRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class DetailsRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/planner/plans/item/tasks/item/planner_task_item_request_builder.py b/msgraph_beta/generated/users/item/planner/plans/item/tasks/item/planner_task_item_request_builder.py index 93e3d0c2d07..118db2bdc33 100644 --- a/msgraph_beta/generated/users/item/planner/plans/item/tasks/item/planner_task_item_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/plans/item/tasks/item/planner_task_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[PlannerTa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PlannerTaskItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[PlannerTaskI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerTask] = None, request_configuration: Optional[PlannerTaskItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[PlannerTask] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/planner/plans/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py b/msgraph_beta/generated/users/item/planner/plans/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py index b1f059df482..d2ee9ed451d 100644 --- a/msgraph_beta/generated/users/item/planner/plans/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/plans/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ProgressTaskBoardFormatReq async def get(self,request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerProgressTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerProgressTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ProgressT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ProgressTask request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerProgressTaskBoardTaskFormat] = None, request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerProgressTaskBoardTas request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ProgressTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class ProgressTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/planner/plans/item/tasks/tasks_request_builder.py b/msgraph_beta/generated/users/item/planner/plans/item/tasks/tasks_request_builder.py index a36dcdeb5f5..755991d4003 100644 --- a/msgraph_beta/generated/users/item/planner/plans/item/tasks/tasks_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/plans/item/tasks/tasks_request_builder.py @@ -46,7 +46,7 @@ def by_planner_task_id(self,planner_task_id: str) -> PlannerTaskItemRequestBuild async def get(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerTaskCollectionResponse]: """ - Retrieve a list of plannerTask objects associated with a plannerPlan object. This API is available in the following national cloud deployments. + Retrieve a list of plannerTask objects associated with a plannerPlan object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerTaskCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/plannerplan-list-tasks?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[PlannerTask] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of plannerTask objects associated with a plannerPlan object. This API is available in the following national cloud deployments. + Retrieve a list of plannerTask objects associated with a plannerPlan object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[TasksRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PlannerTask] = None, request_configuration: Optional[TasksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PlannerTask] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class TasksRequestBuilderGetQueryParameters(): """ - Retrieve a list of plannerTask objects associated with a plannerPlan object. This API is available in the following national cloud deployments. + Retrieve a list of plannerTask objects associated with a plannerPlan object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/planner/plans/item/unarchive/unarchive_post_request_body.py b/msgraph_beta/generated/users/item/planner/plans/item/unarchive/unarchive_post_request_body.py new file mode 100644 index 00000000000..de33ab15da0 --- /dev/null +++ b/msgraph_beta/generated/users/item/planner/plans/item/unarchive/unarchive_post_request_body.py @@ -0,0 +1,49 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class UnarchivePostRequestBody(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 justification property + justification: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: Optional[ParseNode] = None) -> UnarchivePostRequestBody: + """ + 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: UnarchivePostRequestBody + """ + if not parse_node: + raise TypeError("parse_node cannot be null.") + return UnarchivePostRequestBody() + + 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]] = { + "justification": lambda n : setattr(self, 'justification', 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 not writer: + raise TypeError("writer cannot be null.") + writer.write_str_value("justification", self.justification) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/users/item/planner/plans/item/unarchive/unarchive_request_builder.py b/msgraph_beta/generated/users/item/planner/plans/item/unarchive/unarchive_request_builder.py new file mode 100644 index 00000000000..842c520ad81 --- /dev/null +++ b/msgraph_beta/generated/users/item/planner/plans/item/unarchive/unarchive_request_builder.py @@ -0,0 +1,91 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .unarchive_post_request_body import UnarchivePostRequestBody + +class UnarchiveRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the unarchive method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Union[Dict[str, Any], str]] = None) -> None: + """ + Instantiates a new UnarchiveRequestBuilder 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}/planner/plans/{plannerPlan%2Did}/unarchive", path_parameters) + + async def post(self,body: Optional[UnarchivePostRequestBody] = None, request_configuration: Optional[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> None: + """ + Invoke action unarchive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + if not body: + 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, ParsableFactory] = { + "4XX": ODataError, + "5XX": 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: Optional[UnarchivePostRequestBody] = None, request_configuration: Optional[UnarchiveRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: + """ + Invoke action unarchive + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if not body: + raise TypeError("body cannot be null.") + request_info = RequestInformation() + if request_configuration: + request_info.headers.add_all(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + request_info.url_template = self.url_template + request_info.path_parameters = self.path_parameters + request_info.http_method = Method.POST + 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: Optional[str] = None) -> UnarchiveRequestBuilder: + """ + 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: UnarchiveRequestBuilder + """ + if not raw_url: + raise TypeError("raw_url cannot be null.") + return UnarchiveRequestBuilder(self.request_adapter, raw_url) + + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + @dataclass + class UnarchiveRequestBuilderPostRequestConfiguration(BaseRequestConfiguration): + from kiota_abstractions.base_request_configuration import BaseRequestConfiguration + + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + + diff --git a/msgraph_beta/generated/users/item/planner/plans/plans_request_builder.py b/msgraph_beta/generated/users/item/planner/plans/plans_request_builder.py index d5a9020b9f2..9b1ebbd5789 100644 --- a/msgraph_beta/generated/users/item/planner/plans/plans_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/plans/plans_request_builder.py @@ -46,7 +46,7 @@ def by_planner_plan_id(self,planner_plan_id: str) -> PlannerPlanItemRequestBuild async def get(self,request_configuration: Optional[PlansRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerPlanCollectionResponse]: """ - Retrieve a list of plannerplan objects shared with a user object. This API is available in the following national cloud deployments. + Retrieve a list of plannerplan objects shared with a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerPlanCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/planneruser-list-plans?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[PlannerPlan] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[PlansRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of plannerplan objects shared with a user object. This API is available in the following national cloud deployments. + Retrieve a list of plannerplan objects shared with a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[PlansRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PlannerPlan] = None, request_configuration: Optional[PlansRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PlannerPlan] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class PlansRequestBuilderGetQueryParameters(): """ - Retrieve a list of plannerplan objects shared with a user object. This API is available in the following national cloud deployments. + Retrieve a list of plannerplan objects shared with a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/planner/recent_plans/item/planner_plan_item_request_builder.py b/msgraph_beta/generated/users/item/planner/recent_plans/item/planner_plan_item_request_builder.py index 7d4b7d07236..6b886a9a6fa 100644 --- a/msgraph_beta/generated/users/item/planner/recent_plans/item/planner_plan_item_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/recent_plans/item/planner_plan_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PlannerPlanI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PlannerPlanItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/planner/recent_plans/recent_plans_request_builder.py b/msgraph_beta/generated/users/item/planner/recent_plans/recent_plans_request_builder.py index 9d49e1825f0..77564e20600 100644 --- a/msgraph_beta/generated/users/item/planner/recent_plans/recent_plans_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/recent_plans/recent_plans_request_builder.py @@ -44,7 +44,7 @@ def by_planner_plan_id(self,planner_plan_id: str) -> PlannerPlanItemRequestBuild async def get(self,request_configuration: Optional[RecentPlansRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerPlanCollectionResponse]: """ - Retrieve a list of plannerPlans recently viewed by a user. You can update recently viewed plans by updating the plannerUser resource. This API is available in the following national cloud deployments. + Retrieve a list of plannerPlans recently viewed by a user. You can update recently viewed plans by updating the plannerUser resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerPlanCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/planneruser-list-recentplans?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[RecentPlansRequestBuilderGetR def to_get_request_information(self,request_configuration: Optional[RecentPlansRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of plannerPlans recently viewed by a user. You can update recently viewed plans by updating the plannerUser resource. This API is available in the following national cloud deployments. + Retrieve a list of plannerPlans recently viewed by a user. You can update recently viewed plans by updating the plannerUser resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[RecentPlansR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RecentPlansRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RecentPlansRequestBuilderGetQueryParameters(): """ - Retrieve a list of plannerPlans recently viewed by a user. You can update recently viewed plans by updating the plannerUser resource. This API is available in the following national cloud deployments. + Retrieve a list of plannerPlans recently viewed by a user. You can update recently viewed plans by updating the plannerUser resource. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/planner/roster_plans/item/planner_plan_item_request_builder.py b/msgraph_beta/generated/users/item/planner/roster_plans/item/planner_plan_item_request_builder.py index d261c08c984..f19ceee95fb 100644 --- a/msgraph_beta/generated/users/item/planner/roster_plans/item/planner_plan_item_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/roster_plans/item/planner_plan_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[PlannerPlanI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> PlannerPlanItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/planner/roster_plans/roster_plans_request_builder.py b/msgraph_beta/generated/users/item/planner/roster_plans/roster_plans_request_builder.py index 9e0c6ac23d3..ed97a5458c2 100644 --- a/msgraph_beta/generated/users/item/planner/roster_plans/roster_plans_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/roster_plans/roster_plans_request_builder.py @@ -44,7 +44,7 @@ def by_planner_plan_id(self,planner_plan_id: str) -> PlannerPlanItemRequestBuild async def get(self,request_configuration: Optional[RosterPlansRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerPlanCollectionResponse]: """ - Get the list of plannerPlans that are contained by the plannerRosters of which the user is a member. This API is available in the following national cloud deployments. + Get the list of plannerPlans that are contained by the plannerRosters of which the user is a member. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerPlanCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/planneruser-list-rosterplans?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[RosterPlansRequestBuilderGetR def to_get_request_information(self,request_configuration: Optional[RosterPlansRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of plannerPlans that are contained by the plannerRosters of which the user is a member. This API is available in the following national cloud deployments. + Get the list of plannerPlans that are contained by the plannerRosters of which the user is a member. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[RosterPlansR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RosterPlansRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RosterPlansRequestBuilderGetQueryParameters(): """ - Get the list of plannerPlans that are contained by the plannerRosters of which the user is a member. This API is available in the following national cloud deployments. + Get the list of plannerPlans that are contained by the plannerRosters of which the user is a member. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/planner/tasks/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/planner/tasks/delta/delta_request_builder.py index 91e07f667fe..4ac3ad6fe59 100644 --- a/msgraph_beta/generated/users/item/planner/tasks/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/tasks/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/users/item/planner/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py b/msgraph_beta/generated/users/item/planner/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py index e6d8cb2fea7..eee6191997e 100644 --- a/msgraph_beta/generated/users/item/planner/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[AssignedToTaskBoardFormatR async def get(self,request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerAssignedToTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerAssignedToTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerassignedtotaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[AssignedT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[AssignedToTa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerAssignedToTaskBoardTaskFormat] = None, request_configuration: Optional[AssignedToTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerAssignedToTaskBoardT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class AssignedToTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseRequ @dataclass class AssignedToTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerAssignedToTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/planner/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py b/msgraph_beta/generated/users/item/planner/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py index 6e5346104b3..5ebc42b83d9 100644 --- a/msgraph_beta/generated/users/item/planner/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[BucketTaskBoardFormatReque async def get(self,request_configuration: Optional[BucketTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerBucketTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerBucketTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerbuckettaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[BucketTas request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[BucketTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[BucketTaskBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerBucketTaskBoardTaskFormat] = None, request_configuration: Optional[BucketTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerBucketTaskBoardTaskF request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class BucketTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class BucketTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/planner/tasks/item/details/details_request_builder.py b/msgraph_beta/generated/users/item/planner/tasks/item/details/details_request_builder.py index d823d2aa5f9..85520a53234 100644 --- a/msgraph_beta/generated/users/item/planner/tasks/item/details/details_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/tasks/item/details/details_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[DetailsRequestBuilderDelet async def get(self,request_configuration: Optional[DetailsRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerTaskDetails]: """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerTaskDetails] Find more info here: https://learn.microsoft.com/graph/api/plannertaskdetails-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[DetailsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DetailsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[DetailsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerTaskDetails] = None, request_configuration: Optional[DetailsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerTaskDetails] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class DetailsRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class DetailsRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a plannerTaskDetails object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a plannerTaskDetails object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/planner/tasks/item/planner_task_item_request_builder.py b/msgraph_beta/generated/users/item/planner/tasks/item/planner_task_item_request_builder.py index 799eb5fdb56..da0cf264cec 100644 --- a/msgraph_beta/generated/users/item/planner/tasks/item/planner_task_item_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/tasks/item/planner_task_item_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[PlannerTa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PlannerTaskItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[PlannerTaskI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerTask] = None, request_configuration: Optional[PlannerTaskItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[PlannerTask] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/planner/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py b/msgraph_beta/generated/users/item/planner/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py index 78c6dda6053..f020865ce83 100644 --- a/msgraph_beta/generated/users/item/planner/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ProgressTaskBoardFormatReq async def get(self,request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerProgressTaskBoardTaskFormat]: """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerProgressTaskBoardTaskFormat] Find more info here: https://learn.microsoft.com/graph/api/plannerprogresstaskboardtaskformat-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ProgressT request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ProgressTask request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PlannerProgressTaskBoardTaskFormat] = None, request_configuration: Optional[ProgressTaskBoardFormatRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[PlannerProgressTaskBoardTas request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ProgressTaskBoardFormatRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class ProgressTaskBoardFormatRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/planner/tasks/tasks_request_builder.py b/msgraph_beta/generated/users/item/planner/tasks/tasks_request_builder.py index 9beb5928315..4447a7f1fd2 100644 --- a/msgraph_beta/generated/users/item/planner/tasks/tasks_request_builder.py +++ b/msgraph_beta/generated/users/item/planner/tasks/tasks_request_builder.py @@ -46,7 +46,7 @@ def by_planner_task_id(self,planner_task_id: str) -> PlannerTaskItemRequestBuild async def get(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> Optional[PlannerTaskCollectionResponse]: """ - Retrieve a list of plannertask objects assigned to a User. This API is available in the following national cloud deployments. + Retrieve a list of plannertask objects assigned to a User. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PlannerTaskCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/planneruser-list-tasks?view=graph-rest-1.0 @@ -92,7 +92,7 @@ async def post(self,body: Optional[PlannerTask] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of plannertask objects assigned to a User. This API is available in the following national cloud deployments. + Retrieve a list of plannertask objects assigned to a User. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[TasksRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PlannerTask] = None, request_configuration: Optional[TasksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PlannerTask] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -158,7 +158,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class TasksRequestBuilderGetQueryParameters(): """ - Retrieve a list of plannertask objects assigned to a User. This API is available in the following national cloud deployments. + Retrieve a list of plannertask objects assigned to a User. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/presence/clear_presence/clear_presence_request_builder.py b/msgraph_beta/generated/users/item/presence/clear_presence/clear_presence_request_builder.py index 49c04e4d6c6..3e98c4f3ae8 100644 --- a/msgraph_beta/generated/users/item/presence/clear_presence/clear_presence_request_builder.py +++ b/msgraph_beta/generated/users/item/presence/clear_presence/clear_presence_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ClearPresencePostRequestBody] = None, request_configuration: Optional[ClearPresenceRequestBuilderPostRequestConfiguration] = None) -> None: """ - Clear a presence session of an application for a user. If it is the user's only presence session, a successful clearPresence changes the user's presence to Offline/Offline. Read more about presence sessions and their time-out and expiration. This API is available in the following national cloud deployments. + Clear a presence session of an application for a user. If it is the user's only presence session, a successful clearPresence changes the user's presence to Offline/Offline. Read more about presence sessions and their time-out and expiration. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ClearPresencePostRequestBody] = None, request def to_post_request_information(self,body: Optional[ClearPresencePostRequestBody] = None, request_configuration: Optional[ClearPresenceRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clear a presence session of an application for a user. If it is the user's only presence session, a successful clearPresence changes the user's presence to Offline/Offline. Read more about presence sessions and their time-out and expiration. This API is available in the following national cloud deployments. + Clear a presence session of an application for a user. If it is the user's only presence session, a successful clearPresence changes the user's presence to Offline/Offline. Read more about presence sessions and their time-out and expiration. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ClearPresencePostRequestBody request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/presence/clear_user_preferred_presence/clear_user_preferred_presence_request_builder.py b/msgraph_beta/generated/users/item/presence/clear_user_preferred_presence/clear_user_preferred_presence_request_builder.py index 9628da8b673..4abe191da17 100644 --- a/msgraph_beta/generated/users/item/presence/clear_user_preferred_presence/clear_user_preferred_presence_request_builder.py +++ b/msgraph_beta/generated/users/item/presence/clear_user_preferred_presence/clear_user_preferred_presence_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ClearUserPreferredPresenceRequestBuilderPostRequestConfiguration] = None) -> None: """ - Clear the preferred availability and activity status for a user. This API is available in the following national cloud deployments. + Clear the preferred availability and activity status for a user. 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/presence-clearuserpreferredpresence?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[ClearUserPreferredPresenceRe def to_post_request_information(self,request_configuration: Optional[ClearUserPreferredPresenceRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Clear the preferred availability and activity status for a user. This API is available in the following national cloud deployments. + Clear the preferred availability and activity status for a user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[ClearUserPr request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ClearUserPreferredPresenceRequestBuilder: diff --git a/msgraph_beta/generated/users/item/presence/presence_request_builder.py b/msgraph_beta/generated/users/item/presence/presence_request_builder.py index bd04f946f29..940a1998e02 100644 --- a/msgraph_beta/generated/users/item/presence/presence_request_builder.py +++ b/msgraph_beta/generated/users/item/presence/presence_request_builder.py @@ -52,10 +52,10 @@ async def delete(self,request_configuration: Optional[PresenceRequestBuilderDele async def get(self,request_configuration: Optional[PresenceRequestBuilderGetRequestConfiguration] = None) -> Optional[Presence]: """ - Set a presence status message for a user. An optional expiration date and time can be supplied. This API is available in the following national cloud deployments. + Get a user's presence information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Presence] - Find more info here: https://learn.microsoft.com/graph/api/presence-setstatusmessage?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/presence-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -109,12 +109,12 @@ def to_delete_request_information(self,request_configuration: Optional[PresenceR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PresenceRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Set a presence status message for a user. An optional expiration date and time can be supplied. This API is available in the following national cloud deployments. + Get a user's presence information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[PresenceRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Presence] = None, request_configuration: Optional[PresenceRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -145,7 +145,7 @@ def to_patch_request_information(self,body: Optional[Presence] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -217,7 +217,7 @@ class PresenceRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class PresenceRequestBuilderGetQueryParameters(): """ - Set a presence status message for a user. An optional expiration date and time can be supplied. This API is available in the following national cloud deployments. + Get a user's presence information. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/presence/set_presence/set_presence_request_builder.py b/msgraph_beta/generated/users/item/presence/set_presence/set_presence_request_builder.py index 863d786ae85..ae5729502f1 100644 --- a/msgraph_beta/generated/users/item/presence/set_presence/set_presence_request_builder.py +++ b/msgraph_beta/generated/users/item/presence/set_presence/set_presence_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SetPresencePostRequestBody] = None, request_configuration: Optional[SetPresenceRequestBuilderPostRequestConfiguration] = None) -> None: """ - Set the availability and activity status in a presence session of an application for a user. This API is available in the following national cloud deployments. + Set the availability and activity status in a presence session of an application for a user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SetPresencePostRequestBody] = None, request_c def to_post_request_information(self,body: Optional[SetPresencePostRequestBody] = None, request_configuration: Optional[SetPresenceRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Set the availability and activity status in a presence session of an application for a user. This API is available in the following national cloud deployments. + Set the availability and activity status in a presence session of an application for a user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SetPresencePostRequestBody] request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/presence/set_status_message/set_status_message_request_builder.py b/msgraph_beta/generated/users/item/presence/set_status_message/set_status_message_request_builder.py index 9c5ee0da879..b93ccd67b31 100644 --- a/msgraph_beta/generated/users/item/presence/set_status_message/set_status_message_request_builder.py +++ b/msgraph_beta/generated/users/item/presence/set_status_message/set_status_message_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SetStatusMessagePostRequestBody] = None, request_configuration: Optional[SetStatusMessageRequestBuilderPostRequestConfiguration] = None) -> None: """ - Set a presence status message for a user. An optional expiration date and time can be supplied. This API is available in the following national cloud deployments. + Set a presence status message for a user. An optional expiration date and time can be supplied. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SetStatusMessagePostRequestBody] = None, requ def to_post_request_information(self,body: Optional[SetStatusMessagePostRequestBody] = None, request_configuration: Optional[SetStatusMessageRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Set a presence status message for a user. An optional expiration date and time can be supplied. This API is available in the following national cloud deployments. + Set a presence status message for a user. An optional expiration date and time can be supplied. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SetStatusMessagePostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/presence/set_user_preferred_presence/set_user_preferred_presence_request_builder.py b/msgraph_beta/generated/users/item/presence/set_user_preferred_presence/set_user_preferred_presence_request_builder.py index 6ee0794b948..0f927aff5e5 100644 --- a/msgraph_beta/generated/users/item/presence/set_user_preferred_presence/set_user_preferred_presence_request_builder.py +++ b/msgraph_beta/generated/users/item/presence/set_user_preferred_presence/set_user_preferred_presence_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SetUserPreferredPresencePostRequestBody] = None, request_configuration: Optional[SetUserPreferredPresenceRequestBuilderPostRequestConfiguration] = None) -> None: """ - Set the preferred availability and activity status for a user. If the preferred presence of a user is set, the user's presence is the preferred presence. Preferred presence takes effect only when there is at least one presence session of the user. Otherwise, the user's presence stays as Offline. A presence session can be created as a result of a successful setPresence operation, or if the user is signed in on a Teams client. Read more about presence sessions and their time-out and expiration. This API is available in the following national cloud deployments. + Set the preferred availability and activity status for a user. If the preferred presence of a user is set, the user's presence is the preferred presence. Preferred presence takes effect only when there is at least one presence session of the user. Otherwise, the user's presence stays as Offline. A presence session can be created as a result of a successful setPresence operation, or if the user is signed in on a Teams client. Read more about presence sessions and their time-out and expiration. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SetUserPreferredPresencePostRequestBody] = No def to_post_request_information(self,body: Optional[SetUserPreferredPresencePostRequestBody] = None, request_configuration: Optional[SetUserPreferredPresenceRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Set the preferred availability and activity status for a user. If the preferred presence of a user is set, the user's presence is the preferred presence. Preferred presence takes effect only when there is at least one presence session of the user. Otherwise, the user's presence stays as Offline. A presence session can be created as a result of a successful setPresence operation, or if the user is signed in on a Teams client. Read more about presence sessions and their time-out and expiration. This API is available in the following national cloud deployments. + Set the preferred availability and activity status for a user. If the preferred presence of a user is set, the user's presence is the preferred presence. Preferred presence takes effect only when there is at least one presence session of the user. Otherwise, the user's presence stays as Offline. A presence session can be created as a result of a successful setPresence operation, or if the user is signed in on a Teams client. Read more about presence sessions and their time-out and expiration. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SetUserPreferredPresencePost request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/profile/account/account_request_builder.py b/msgraph_beta/generated/users/item/profile/account/account_request_builder.py index ff3e91e63f7..df5bc4f3ca5 100644 --- a/msgraph_beta/generated/users/item/profile/account/account_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/account/account_request_builder.py @@ -45,7 +45,7 @@ def by_user_account_information_id(self,user_account_information_id: str) -> Use async def get(self,request_configuration: Optional[AccountRequestBuilderGetRequestConfiguration] = None) -> Optional[UserAccountInformationCollectionResponse]: """ - Retrieves properties related to the user's accounts from the profile. This API is available in the following national cloud deployments. + Retrieves properties related to the user's accounts from the profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserAccountInformationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/profile-list-accounts?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AccountRequestBuilderGetReque async def post(self,body: Optional[UserAccountInformation] = None, request_configuration: Optional[AccountRequestBuilderPostRequestConfiguration] = None) -> Optional[UserAccountInformation]: """ - Create a new userAccountInformation object in a user's profile. This API is available in the following national cloud deployments. + Create a new userAccountInformation object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserAccountInformation] @@ -92,7 +92,7 @@ async def post(self,body: Optional[UserAccountInformation] = None, request_confi def to_get_request_information(self,request_configuration: Optional[AccountRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieves properties related to the user's accounts from the profile. This API is available in the following national cloud deployments. + Retrieves properties related to the user's accounts from the profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[AccountReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserAccountInformation] = None, request_configuration: Optional[AccountRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new userAccountInformation object in a user's profile. This API is available in the following national cloud deployments. + Create a new userAccountInformation object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[UserAccountInformation] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AccountRequestBuilderGetQueryParameters(): """ - Retrieves properties related to the user's accounts from the profile. This API is available in the following national cloud deployments. + Retrieves properties related to the user's accounts from the profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/account/item/user_account_information_item_request_builder.py b/msgraph_beta/generated/users/item/profile/account/item/user_account_information_item_request_builder.py index c1ad4d7040a..5e5bcd46e74 100644 --- a/msgraph_beta/generated/users/item/profile/account/item/user_account_information_item_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/account/item/user_account_information_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[UserAccountInformationItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an userAccountInformation object from a user's profile. This API is available in the following national cloud deployments. + Delete an userAccountInformation object from a user's profile. 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/useraccountinformation-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[UserAccountInformationItem async def get(self,request_configuration: Optional[UserAccountInformationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UserAccountInformation]: """ - Retrieve the properties and relationships of an userAccountInformation object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an userAccountInformation object in a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserAccountInformation] Find more info here: https://learn.microsoft.com/graph/api/useraccountinformation-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[UserAccountInformationItemReq async def patch(self,body: Optional[UserAccountInformation] = None, request_configuration: Optional[UserAccountInformationItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[UserAccountInformation]: """ - Update the properties of an userAccountInformation object in a user's profile. This API is available in the following national cloud deployments. + Update the properties of an userAccountInformation object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserAccountInformation] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[UserAccountInformation] = None, request_conf def to_delete_request_information(self,request_configuration: Optional[UserAccountInformationItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an userAccountInformation object from a user's profile. This API is available in the following national cloud deployments. + Delete an userAccountInformation object from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[UserAccou request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserAccountInformationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an userAccountInformation object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an userAccountInformation object in a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[UserAccountI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserAccountInformation] = None, request_configuration: Optional[UserAccountInformationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an userAccountInformation object in a user's profile. This API is available in the following national cloud deployments. + Update the properties of an userAccountInformation object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[UserAccountInformation] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class UserAccountInformationItemRequestBuilderDeleteRequestConfiguration(BaseReq @dataclass class UserAccountInformationItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an userAccountInformation object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an userAccountInformation object in a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/addresses/addresses_request_builder.py b/msgraph_beta/generated/users/item/profile/addresses/addresses_request_builder.py index ec9547615d9..3cc67811291 100644 --- a/msgraph_beta/generated/users/item/profile/addresses/addresses_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/addresses/addresses_request_builder.py @@ -45,7 +45,7 @@ def by_item_address_id(self,item_address_id: str) -> ItemAddressItemRequestBuild async def get(self,request_configuration: Optional[AddressesRequestBuilderGetRequestConfiguration] = None) -> Optional[ItemAddressCollectionResponse]: """ - Get the itemAddress resources from the addresses navigation property. This API is available in the following national cloud deployments. + Get the itemAddress resources from the addresses navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemAddressCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/profile-list-addresses?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AddressesRequestBuilderGetReq async def post(self,body: Optional[ItemAddress] = None, request_configuration: Optional[AddressesRequestBuilderPostRequestConfiguration] = None) -> Optional[ItemAddress]: """ - Create a new itemAddress object in a user's profile. This API is available in the following national cloud deployments. + Create a new itemAddress object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemAddress] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ItemAddress] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[AddressesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the itemAddress resources from the addresses navigation property. This API is available in the following national cloud deployments. + Get the itemAddress resources from the addresses navigation property. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[AddressesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ItemAddress] = None, request_configuration: Optional[AddressesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new itemAddress object in a user's profile. This API is available in the following national cloud deployments. + Create a new itemAddress object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ItemAddress] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AddressesRequestBuilderGetQueryParameters(): """ - Get the itemAddress resources from the addresses navigation property. This API is available in the following national cloud deployments. + Get the itemAddress resources from the addresses navigation property. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/addresses/item/item_address_item_request_builder.py b/msgraph_beta/generated/users/item/profile/addresses/item/item_address_item_request_builder.py index 8003e71e9a5..f23ccd65237 100644 --- a/msgraph_beta/generated/users/item/profile/addresses/item/item_address_item_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/addresses/item/item_address_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ItemAddressItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes an itemAddress object. This API is available in the following national cloud deployments. + Deletes an itemAddress object. 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/itemaddress-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ItemAddressItemRequestBuil async def get(self,request_configuration: Optional[ItemAddressItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ItemAddress]: """ - Read the properties and relationships of an itemAddress object. This API is available in the following national cloud deployments. + Read the properties and relationships of an itemAddress object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemAddress] Find more info here: https://learn.microsoft.com/graph/api/itemaddress-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[ItemAddressItemRequestBuilder async def patch(self,body: Optional[ItemAddress] = None, request_configuration: Optional[ItemAddressItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ItemAddress]: """ - Update the properties of an itemAddress object. This API is available in the following national cloud deployments. + Update the properties of an itemAddress object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemAddress] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[ItemAddress] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[ItemAddressItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes an itemAddress object. This API is available in the following national cloud deployments. + Deletes an itemAddress object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[ItemAddre request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemAddressItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an itemAddress object. This API is available in the following national cloud deployments. + Read the properties and relationships of an itemAddress object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[ItemAddressI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemAddress] = None, request_configuration: Optional[ItemAddressItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an itemAddress object. This API is available in the following national cloud deployments. + Update the properties of an itemAddress object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ItemAddress] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class ItemAddressItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class ItemAddressItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an itemAddress object. This API is available in the following national cloud deployments. + Read the properties and relationships of an itemAddress object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/anniversaries/anniversaries_request_builder.py b/msgraph_beta/generated/users/item/profile/anniversaries/anniversaries_request_builder.py index 2cfb4d3793a..5e0c303c853 100644 --- a/msgraph_beta/generated/users/item/profile/anniversaries/anniversaries_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/anniversaries/anniversaries_request_builder.py @@ -45,7 +45,7 @@ def by_person_annual_event_id(self,person_annual_event_id: str) -> PersonAnnualE async def get(self,request_configuration: Optional[AnniversariesRequestBuilderGetRequestConfiguration] = None) -> Optional[PersonAnnualEventCollectionResponse]: """ - Retrieve a list of personAnniversary objects for the given user from their profile. This API is available in the following national cloud deployments. + Retrieve a list of personAnniversary objects for the given user from their profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PersonAnnualEventCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/profile-list-anniversaries?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AnniversariesRequestBuilderGe async def post(self,body: Optional[PersonAnnualEvent] = None, request_configuration: Optional[AnniversariesRequestBuilderPostRequestConfiguration] = None) -> Optional[PersonAnnualEvent]: """ - Use this API to create a new personAnniversary object in a user's profile. This API is available in the following national cloud deployments. + Use this API to create a new personAnniversary object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PersonAnnualEvent] @@ -92,7 +92,7 @@ async def post(self,body: Optional[PersonAnnualEvent] = None, request_configurat def to_get_request_information(self,request_configuration: Optional[AnniversariesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of personAnniversary objects for the given user from their profile. This API is available in the following national cloud deployments. + Retrieve a list of personAnniversary objects for the given user from their profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[Anniversarie request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PersonAnnualEvent] = None, request_configuration: Optional[AnniversariesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new personAnniversary object in a user's profile. This API is available in the following national cloud deployments. + Use this API to create a new personAnniversary object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PersonAnnualEvent] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AnniversariesRequestBuilderGetQueryParameters(): """ - Retrieve a list of personAnniversary objects for the given user from their profile. This API is available in the following national cloud deployments. + Retrieve a list of personAnniversary objects for the given user from their profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/anniversaries/item/person_annual_event_item_request_builder.py b/msgraph_beta/generated/users/item/profile/anniversaries/item/person_annual_event_item_request_builder.py index 06804df63eb..16496214647 100644 --- a/msgraph_beta/generated/users/item/profile/anniversaries/item/person_annual_event_item_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/anniversaries/item/person_annual_event_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[PersonAnnualEventItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a personAnniversary object from the user's profile. This API is available in the following national cloud deployments. + Delete a personAnniversary object from the user's profile. 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/personanniversary-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[PersonAnnualEventItemReque async def get(self,request_configuration: Optional[PersonAnnualEventItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PersonAnnualEvent]: """ - Retrieve the properties and relationships of a personAnniversary object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a personAnniversary object in a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PersonAnnualEvent] Find more info here: https://learn.microsoft.com/graph/api/personanniversary-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[PersonAnnualEventItemRequestB async def patch(self,body: Optional[PersonAnnualEvent] = None, request_configuration: Optional[PersonAnnualEventItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[PersonAnnualEvent]: """ - Update the properties of a personAnniversary object in a user's profile. This API is available in the following national cloud deployments. + Update the properties of a personAnniversary object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PersonAnnualEvent] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[PersonAnnualEvent] = None, request_configura def to_delete_request_information(self,request_configuration: Optional[PersonAnnualEventItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a personAnniversary object from the user's profile. This API is available in the following national cloud deployments. + Delete a personAnniversary object from the user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[PersonAnn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PersonAnnualEventItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a personAnniversary object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a personAnniversary object in a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[PersonAnnual request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PersonAnnualEvent] = None, request_configuration: Optional[PersonAnnualEventItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a personAnniversary object in a user's profile. This API is available in the following national cloud deployments. + Update the properties of a personAnniversary object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[PersonAnnualEvent] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class PersonAnnualEventItemRequestBuilderDeleteRequestConfiguration(BaseRequestC @dataclass class PersonAnnualEventItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a personAnniversary object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a personAnniversary object in a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/awards/awards_request_builder.py b/msgraph_beta/generated/users/item/profile/awards/awards_request_builder.py index 1c843dc93c4..66abff300d7 100644 --- a/msgraph_beta/generated/users/item/profile/awards/awards_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/awards/awards_request_builder.py @@ -45,7 +45,7 @@ def by_person_award_id(self,person_award_id: str) -> PersonAwardItemRequestBuild async def get(self,request_configuration: Optional[AwardsRequestBuilderGetRequestConfiguration] = None) -> Optional[PersonAwardCollectionResponse]: """ - Retrieve a list of personAward objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of personAward objects from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PersonAwardCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/profile-list-awards?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[AwardsRequestBuilderGetReques async def post(self,body: Optional[PersonAward] = None, request_configuration: Optional[AwardsRequestBuilderPostRequestConfiguration] = None) -> Optional[PersonAward]: """ - Create a new personAward object in a user's profile. This API is available in the following national cloud deployments. + Create a new personAward object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PersonAward] @@ -92,7 +92,7 @@ async def post(self,body: Optional[PersonAward] = None, request_configuration: O def to_get_request_information(self,request_configuration: Optional[AwardsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of personAward objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of personAward objects from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[AwardsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PersonAward] = None, request_configuration: Optional[AwardsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new personAward object in a user's profile. This API is available in the following national cloud deployments. + Create a new personAward object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PersonAward] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AwardsRequestBuilderGetQueryParameters(): """ - Retrieve a list of personAward objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of personAward objects from a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/awards/item/person_award_item_request_builder.py b/msgraph_beta/generated/users/item/profile/awards/item/person_award_item_request_builder.py index a407e339d44..2f1b93ab87e 100644 --- a/msgraph_beta/generated/users/item/profile/awards/item/person_award_item_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/awards/item/person_award_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[PersonAwardItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes a personAward object from a user's profile. This API is available in the following national cloud deployments. + Deletes a personAward object from a user's profile. 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/personaward-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[PersonAwardItemRequestBuil async def get(self,request_configuration: Optional[PersonAwardItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PersonAward]: """ - Read the properties and relationships of a personAward object from a user's profile. This API is available in the following national cloud deployments. + Read the properties and relationships of a personAward object from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PersonAward] Find more info here: https://learn.microsoft.com/graph/api/personaward-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[PersonAwardItemRequestBuilder async def patch(self,body: Optional[PersonAward] = None, request_configuration: Optional[PersonAwardItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[PersonAward]: """ - Update the properties of a personAward object from a user's profile. This API is available in the following national cloud deployments. + Update the properties of a personAward object from a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PersonAward] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[PersonAward] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[PersonAwardItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes a personAward object from a user's profile. This API is available in the following national cloud deployments. + Deletes a personAward object from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[PersonAwa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PersonAwardItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a personAward object from a user's profile. This API is available in the following national cloud deployments. + Read the properties and relationships of a personAward object from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[PersonAwardI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PersonAward] = None, request_configuration: Optional[PersonAwardItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a personAward object from a user's profile. This API is available in the following national cloud deployments. + Update the properties of a personAward object from a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[PersonAward] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class PersonAwardItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigu @dataclass class PersonAwardItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a personAward object from a user's profile. This API is available in the following national cloud deployments. + Read the properties and relationships of a personAward object from a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/certifications/certifications_request_builder.py b/msgraph_beta/generated/users/item/profile/certifications/certifications_request_builder.py index 89627255162..436c5360a3f 100644 --- a/msgraph_beta/generated/users/item/profile/certifications/certifications_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/certifications/certifications_request_builder.py @@ -45,7 +45,7 @@ def by_person_certification_id(self,person_certification_id: str) -> PersonCerti async def get(self,request_configuration: Optional[CertificationsRequestBuilderGetRequestConfiguration] = None) -> Optional[PersonCertificationCollectionResponse]: """ - Retrieve a list of personCertification objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of personCertification objects from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PersonCertificationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/profile-list-certifications?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[CertificationsRequestBuilderG async def post(self,body: Optional[PersonCertification] = None, request_configuration: Optional[CertificationsRequestBuilderPostRequestConfiguration] = None) -> Optional[PersonCertification]: """ - Create a new personCertification object in a user's profile. This API is available in the following national cloud deployments. + Create a new personCertification object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PersonCertification] @@ -92,7 +92,7 @@ async def post(self,body: Optional[PersonCertification] = None, request_configur def to_get_request_information(self,request_configuration: Optional[CertificationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of personCertification objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of personCertification objects from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[Certificatio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PersonCertification] = None, request_configuration: Optional[CertificationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new personCertification object in a user's profile. This API is available in the following national cloud deployments. + Create a new personCertification object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PersonCertification] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class CertificationsRequestBuilderGetQueryParameters(): """ - Retrieve a list of personCertification objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of personCertification objects from a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/certifications/item/person_certification_item_request_builder.py b/msgraph_beta/generated/users/item/profile/certifications/item/person_certification_item_request_builder.py index 2e8970d7def..47f8e94939b 100644 --- a/msgraph_beta/generated/users/item/profile/certifications/item/person_certification_item_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/certifications/item/person_certification_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[PersonCertificationItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes a personCertification object from a user's profile. This API is available in the following national cloud deployments. + Deletes a personCertification object from a user's profile. 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/personcertification-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[PersonCertificationItemReq async def get(self,request_configuration: Optional[PersonCertificationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PersonCertification]: """ - Read the properties and relationships of a personCertification object in a user's profile. This API is available in the following national cloud deployments. + Read the properties and relationships of a personCertification object in a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PersonCertification] Find more info here: https://learn.microsoft.com/graph/api/personcertification-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[PersonCertificationItemReques async def patch(self,body: Optional[PersonCertification] = None, request_configuration: Optional[PersonCertificationItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[PersonCertification]: """ - Update the properties of a personCertification object from a user's profile. This API is available in the following national cloud deployments. + Update the properties of a personCertification object from a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PersonCertification] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[PersonCertification] = None, request_configu def to_delete_request_information(self,request_configuration: Optional[PersonCertificationItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes a personCertification object from a user's profile. This API is available in the following national cloud deployments. + Deletes a personCertification object from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[PersonCer request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PersonCertificationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a personCertification object in a user's profile. This API is available in the following national cloud deployments. + Read the properties and relationships of a personCertification object in a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[PersonCertif request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PersonCertification] = None, request_configuration: Optional[PersonCertificationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a personCertification object from a user's profile. This API is available in the following national cloud deployments. + Update the properties of a personCertification object from a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[PersonCertification] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class PersonCertificationItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class PersonCertificationItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a personCertification object in a user's profile. This API is available in the following national cloud deployments. + Read the properties and relationships of a personCertification object in a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/educational_activities/educational_activities_request_builder.py b/msgraph_beta/generated/users/item/profile/educational_activities/educational_activities_request_builder.py index 268868d91ec..c12b44bd96f 100644 --- a/msgraph_beta/generated/users/item/profile/educational_activities/educational_activities_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/educational_activities/educational_activities_request_builder.py @@ -45,7 +45,7 @@ def by_educational_activity_id(self,educational_activity_id: str) -> Educational async def get(self,request_configuration: Optional[EducationalActivitiesRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationalActivityCollectionResponse]: """ - Retrieve a list of educationalActivity objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of educationalActivity objects from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationalActivityCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/profile-list-educationalactivities?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[EducationalActivitiesRequestB async def post(self,body: Optional[EducationalActivity] = None, request_configuration: Optional[EducationalActivitiesRequestBuilderPostRequestConfiguration] = None) -> Optional[EducationalActivity]: """ - Create a new educationalActivity in a user's profile. This API is available in the following national cloud deployments. + Create a new educationalActivity in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationalActivity] @@ -92,7 +92,7 @@ async def post(self,body: Optional[EducationalActivity] = None, request_configur def to_get_request_information(self,request_configuration: Optional[EducationalActivitiesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of educationalActivity objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of educationalActivity objects from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[EducationalA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[EducationalActivity] = None, request_configuration: Optional[EducationalActivitiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new educationalActivity in a user's profile. This API is available in the following national cloud deployments. + Create a new educationalActivity in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[EducationalActivity] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class EducationalActivitiesRequestBuilderGetQueryParameters(): """ - Retrieve a list of educationalActivity objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of educationalActivity objects from a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/educational_activities/item/educational_activity_item_request_builder.py b/msgraph_beta/generated/users/item/profile/educational_activities/item/educational_activity_item_request_builder.py index 74431c65c45..cb084b8ce62 100644 --- a/msgraph_beta/generated/users/item/profile/educational_activities/item/educational_activity_item_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/educational_activities/item/educational_activity_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[EducationalActivityItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an educationalActivity object from a user's profile. This API is available in the following national cloud deployments. + Delete an educationalActivity object from a user's profile. 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/educationalactivity-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[EducationalActivityItemReq async def get(self,request_configuration: Optional[EducationalActivityItemRequestBuilderGetRequestConfiguration] = None) -> Optional[EducationalActivity]: """ - Retrieve the properties and relationships of an educationalActivity object from a users profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an educationalActivity object from a users profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationalActivity] Find more info here: https://learn.microsoft.com/graph/api/educationalactivity-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[EducationalActivityItemReques async def patch(self,body: Optional[EducationalActivity] = None, request_configuration: Optional[EducationalActivityItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[EducationalActivity]: """ - Update the properties of an educationalActivity object within a user's profile. This API is available in the following national cloud deployments. + Update the properties of an educationalActivity object within a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EducationalActivity] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[EducationalActivity] = None, request_configu def to_delete_request_information(self,request_configuration: Optional[EducationalActivityItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an educationalActivity object from a user's profile. This API is available in the following national cloud deployments. + Delete an educationalActivity object from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Education request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[EducationalActivityItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an educationalActivity object from a users profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an educationalActivity object from a users profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[EducationalA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[EducationalActivity] = None, request_configuration: Optional[EducationalActivityItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an educationalActivity object within a user's profile. This API is available in the following national cloud deployments. + Update the properties of an educationalActivity object within a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[EducationalActivity] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class EducationalActivityItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class EducationalActivityItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an educationalActivity object from a users profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an educationalActivity object from a users profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/emails/emails_request_builder.py b/msgraph_beta/generated/users/item/profile/emails/emails_request_builder.py index d097d177be6..d07a8d9fde5 100644 --- a/msgraph_beta/generated/users/item/profile/emails/emails_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/emails/emails_request_builder.py @@ -45,7 +45,7 @@ def by_item_email_id(self,item_email_id: str) -> ItemEmailItemRequestBuilder: async def get(self,request_configuration: Optional[EmailsRequestBuilderGetRequestConfiguration] = None) -> Optional[ItemEmailCollectionResponse]: """ - Retrieve the properties and relationships of an itemEmail object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an itemEmail object in a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemEmailCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/profile-list-emails?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[EmailsRequestBuilderGetReques async def post(self,body: Optional[ItemEmail] = None, request_configuration: Optional[EmailsRequestBuilderPostRequestConfiguration] = None) -> Optional[ItemEmail]: """ - Create a new itemEmail object in a user's profile. This API is available in the following national cloud deployments. + Create a new itemEmail object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemEmail] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ItemEmail] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[EmailsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an itemEmail object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an itemEmail object in a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[EmailsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ItemEmail] = None, request_configuration: Optional[EmailsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new itemEmail object in a user's profile. This API is available in the following national cloud deployments. + Create a new itemEmail object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ItemEmail] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class EmailsRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an itemEmail object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an itemEmail object in a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/emails/item/item_email_item_request_builder.py b/msgraph_beta/generated/users/item/profile/emails/item/item_email_item_request_builder.py index 0ff8b1ebe0c..cfceb802d4e 100644 --- a/msgraph_beta/generated/users/item/profile/emails/item/item_email_item_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/emails/item/item_email_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ItemEmailItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an itemEmail object from a user's profile. This API is available in the following national cloud deployments. + Delete an itemEmail object from a user's profile. 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/itememail-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ItemEmailItemRequestBuilde async def get(self,request_configuration: Optional[ItemEmailItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ItemEmail]: """ - Retrieve the properties and relationships of an itemEmail object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an itemEmail object in a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemEmail] Find more info here: https://learn.microsoft.com/graph/api/itememail-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[ItemEmailItemRequestBuilderGe async def patch(self,body: Optional[ItemEmail] = None, request_configuration: Optional[ItemEmailItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ItemEmail]: """ - Update the properties of an itemEmail object in a user's profile. This API is available in the following national cloud deployments. + Update the properties of an itemEmail object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemEmail] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[ItemEmail] = None, request_configuration: Op def to_delete_request_information(self,request_configuration: Optional[ItemEmailItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an itemEmail object from a user's profile. This API is available in the following national cloud deployments. + Delete an itemEmail object from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[ItemEmail request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemEmailItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an itemEmail object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an itemEmail object in a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[ItemEmailIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemEmail] = None, request_configuration: Optional[ItemEmailItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an itemEmail object in a user's profile. This API is available in the following national cloud deployments. + Update the properties of an itemEmail object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ItemEmail] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class ItemEmailItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ItemEmailItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an itemEmail object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an itemEmail object in a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/interests/interests_request_builder.py b/msgraph_beta/generated/users/item/profile/interests/interests_request_builder.py index 76207d74997..d29886510d0 100644 --- a/msgraph_beta/generated/users/item/profile/interests/interests_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/interests/interests_request_builder.py @@ -45,7 +45,7 @@ def by_person_interest_id(self,person_interest_id: str) -> PersonInterestItemReq async def get(self,request_configuration: Optional[InterestsRequestBuilderGetRequestConfiguration] = None) -> Optional[PersonInterestCollectionResponse]: """ - Retrieve a list of personInterest objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of personInterest objects from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PersonInterestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/profile-list-interests?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[InterestsRequestBuilderGetReq async def post(self,body: Optional[PersonInterest] = None, request_configuration: Optional[InterestsRequestBuilderPostRequestConfiguration] = None) -> Optional[PersonInterest]: """ - Create a new personInterest. This API is available in the following national cloud deployments. + Create a new personInterest. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PersonInterest] @@ -92,7 +92,7 @@ async def post(self,body: Optional[PersonInterest] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[InterestsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of personInterest objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of personInterest objects from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[InterestsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PersonInterest] = None, request_configuration: Optional[InterestsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new personInterest. This API is available in the following national cloud deployments. + Create a new personInterest. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PersonInterest] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class InterestsRequestBuilderGetQueryParameters(): """ - Retrieve a list of personInterest objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of personInterest objects from a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/interests/item/person_interest_item_request_builder.py b/msgraph_beta/generated/users/item/profile/interests/item/person_interest_item_request_builder.py index 5a092ed7325..c83d6946494 100644 --- a/msgraph_beta/generated/users/item/profile/interests/item/person_interest_item_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/interests/item/person_interest_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[PersonInterestItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes a personInterest object from a user's profile. This API is available in the following national cloud deployments. + Deletes a personInterest object from a user's profile. 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/personinterest-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[PersonInterestItemRequestB async def get(self,request_configuration: Optional[PersonInterestItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PersonInterest]: """ - Retrieve the properties and relationships of a personInterest object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a personInterest object in a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PersonInterest] Find more info here: https://learn.microsoft.com/graph/api/personinterest-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[PersonInterestItemRequestBuil async def patch(self,body: Optional[PersonInterest] = None, request_configuration: Optional[PersonInterestItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[PersonInterest]: """ - Update the properties of a personInterest object in a user's profile. This API is available in the following national cloud deployments. + Update the properties of a personInterest object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PersonInterest] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[PersonInterest] = None, request_configuratio def to_delete_request_information(self,request_configuration: Optional[PersonInterestItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes a personInterest object from a user's profile. This API is available in the following national cloud deployments. + Deletes a personInterest object from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[PersonInt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PersonInterestItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a personInterest object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a personInterest object in a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[PersonIntere request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PersonInterest] = None, request_configuration: Optional[PersonInterestItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a personInterest object in a user's profile. This API is available in the following national cloud deployments. + Update the properties of a personInterest object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[PersonInterest] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class PersonInterestItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class PersonInterestItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a personInterest object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a personInterest object in a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/languages/item/language_proficiency_item_request_builder.py b/msgraph_beta/generated/users/item/profile/languages/item/language_proficiency_item_request_builder.py index 6c3f34b4327..8c17021d788 100644 --- a/msgraph_beta/generated/users/item/profile/languages/item/language_proficiency_item_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/languages/item/language_proficiency_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[LanguageProficiencyItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a languageProficiency object from a user's profile. This API is available in the following national cloud deployments. + Delete a languageProficiency object from a user's profile. 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/languageproficiency-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[LanguageProficiencyItemReq async def get(self,request_configuration: Optional[LanguageProficiencyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[LanguageProficiency]: """ - Retrieve the properties and relationships of a languageProficiency object within a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a languageProficiency object within a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LanguageProficiency] Find more info here: https://learn.microsoft.com/graph/api/languageproficiency-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[LanguageProficiencyItemReques async def patch(self,body: Optional[LanguageProficiency] = None, request_configuration: Optional[LanguageProficiencyItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[LanguageProficiency]: """ - Update the properties of a languageProficiency object in a user's profile. This API is available in the following national cloud deployments. + Update the properties of a languageProficiency object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LanguageProficiency] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[LanguageProficiency] = None, request_configu def to_delete_request_information(self,request_configuration: Optional[LanguageProficiencyItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a languageProficiency object from a user's profile. This API is available in the following national cloud deployments. + Delete a languageProficiency object from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[LanguageP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LanguageProficiencyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a languageProficiency object within a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a languageProficiency object within a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[LanguageProf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[LanguageProficiency] = None, request_configuration: Optional[LanguageProficiencyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a languageProficiency object in a user's profile. This API is available in the following national cloud deployments. + Update the properties of a languageProficiency object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[LanguageProficiency] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class LanguageProficiencyItemRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class LanguageProficiencyItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a languageProficiency object within a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a languageProficiency object within a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/languages/languages_request_builder.py b/msgraph_beta/generated/users/item/profile/languages/languages_request_builder.py index 5789f732d91..c3a91e6bcc8 100644 --- a/msgraph_beta/generated/users/item/profile/languages/languages_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/languages/languages_request_builder.py @@ -45,7 +45,7 @@ def by_language_proficiency_id(self,language_proficiency_id: str) -> LanguagePro async def get(self,request_configuration: Optional[LanguagesRequestBuilderGetRequestConfiguration] = None) -> Optional[LanguageProficiencyCollectionResponse]: """ - Retrieve a list of languageProficiency objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of languageProficiency objects from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LanguageProficiencyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/profile-list-languages?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[LanguagesRequestBuilderGetReq async def post(self,body: Optional[LanguageProficiency] = None, request_configuration: Optional[LanguagesRequestBuilderPostRequestConfiguration] = None) -> Optional[LanguageProficiency]: """ - Use this API to create a new languageProficiency object in a user's profile. This API is available in the following national cloud deployments. + Use this API to create a new languageProficiency object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LanguageProficiency] @@ -92,7 +92,7 @@ async def post(self,body: Optional[LanguageProficiency] = None, request_configur def to_get_request_information(self,request_configuration: Optional[LanguagesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of languageProficiency objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of languageProficiency objects from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[LanguagesReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[LanguageProficiency] = None, request_configuration: Optional[LanguagesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new languageProficiency object in a user's profile. This API is available in the following national cloud deployments. + Use this API to create a new languageProficiency object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[LanguageProficiency] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class LanguagesRequestBuilderGetQueryParameters(): """ - Retrieve a list of languageProficiency objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of languageProficiency objects from a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/names/item/person_name_item_request_builder.py b/msgraph_beta/generated/users/item/profile/names/item/person_name_item_request_builder.py index a513071a1a1..7964d14de7e 100644 --- a/msgraph_beta/generated/users/item/profile/names/item/person_name_item_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/names/item/person_name_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[PersonNameItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a personName object from a user's profile. This API is available in the following national cloud deployments. + Delete a personName object from a user's profile. 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/personname-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[PersonNameItemRequestBuild async def get(self,request_configuration: Optional[PersonNameItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PersonName]: """ - Retrieve the properties and relationships of a personName object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a personName object in a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PersonName] Find more info here: https://learn.microsoft.com/graph/api/personname-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[PersonNameItemRequestBuilderG async def patch(self,body: Optional[PersonName] = None, request_configuration: Optional[PersonNameItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[PersonName]: """ - Update the properties of a personName object in a user's profile. This API is available in the following national cloud deployments. + Update the properties of a personName object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PersonName] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[PersonName] = None, request_configuration: O def to_delete_request_information(self,request_configuration: Optional[PersonNameItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a personName object from a user's profile. This API is available in the following national cloud deployments. + Delete a personName object from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[PersonNam request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PersonNameItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a personName object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a personName object in a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[PersonNameIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PersonName] = None, request_configuration: Optional[PersonNameItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a personName object in a user's profile. This API is available in the following national cloud deployments. + Update the properties of a personName object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[PersonName] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class PersonNameItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class PersonNameItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a personName object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a personName object in a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/names/names_request_builder.py b/msgraph_beta/generated/users/item/profile/names/names_request_builder.py index 7481b22673d..9f7adcadabf 100644 --- a/msgraph_beta/generated/users/item/profile/names/names_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/names/names_request_builder.py @@ -45,7 +45,7 @@ def by_person_name_id(self,person_name_id: str) -> PersonNameItemRequestBuilder: async def get(self,request_configuration: Optional[NamesRequestBuilderGetRequestConfiguration] = None) -> Optional[PersonNameCollectionResponse]: """ - Retrieve a list of personName objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of personName objects from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PersonNameCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/profile-list-names?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[NamesRequestBuilderGetRequest async def post(self,body: Optional[PersonName] = None, request_configuration: Optional[NamesRequestBuilderPostRequestConfiguration] = None) -> Optional[PersonName]: """ - Use this API to create a new personName object in a user's profile. This API is available in the following national cloud deployments. + Use this API to create a new personName object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PersonName] @@ -92,7 +92,7 @@ async def post(self,body: Optional[PersonName] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[NamesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of personName objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of personName objects from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[NamesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PersonName] = None, request_configuration: Optional[NamesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new personName object in a user's profile. This API is available in the following national cloud deployments. + Use this API to create a new personName object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PersonName] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class NamesRequestBuilderGetQueryParameters(): """ - Retrieve a list of personName objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of personName objects from a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/notes/item/person_annotation_item_request_builder.py b/msgraph_beta/generated/users/item/profile/notes/item/person_annotation_item_request_builder.py index 99f66294b64..e704d92515a 100644 --- a/msgraph_beta/generated/users/item/profile/notes/item/person_annotation_item_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/notes/item/person_annotation_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[PersonAnnotationItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes a personAnnotation object from a user's profile. This API is available in the following national cloud deployments. + Deletes a personAnnotation object from a user's profile. 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/personannotation-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[PersonAnnotationItemReques async def get(self,request_configuration: Optional[PersonAnnotationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PersonAnnotation]: """ - Read the properties and relationships of a personAnnotation object from a user's profile. This API is available in the following national cloud deployments. + Read the properties and relationships of a personAnnotation object from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PersonAnnotation] Find more info here: https://learn.microsoft.com/graph/api/personannotation-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[PersonAnnotationItemRequestBu async def patch(self,body: Optional[PersonAnnotation] = None, request_configuration: Optional[PersonAnnotationItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[PersonAnnotation]: """ - Update the properties of a personAnnotation object in a user's profile. This API is available in the following national cloud deployments. + Update the properties of a personAnnotation object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PersonAnnotation] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[PersonAnnotation] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[PersonAnnotationItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes a personAnnotation object from a user's profile. This API is available in the following national cloud deployments. + Deletes a personAnnotation object from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[PersonAnn request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PersonAnnotationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a personAnnotation object from a user's profile. This API is available in the following national cloud deployments. + Read the properties and relationships of a personAnnotation object from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[PersonAnnota request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PersonAnnotation] = None, request_configuration: Optional[PersonAnnotationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a personAnnotation object in a user's profile. This API is available in the following national cloud deployments. + Update the properties of a personAnnotation object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[PersonAnnotation] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class PersonAnnotationItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class PersonAnnotationItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a personAnnotation object from a user's profile. This API is available in the following national cloud deployments. + Read the properties and relationships of a personAnnotation object from a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/notes/notes_request_builder.py b/msgraph_beta/generated/users/item/profile/notes/notes_request_builder.py index 33e3aa9065b..70942f015a0 100644 --- a/msgraph_beta/generated/users/item/profile/notes/notes_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/notes/notes_request_builder.py @@ -45,7 +45,7 @@ def by_person_annotation_id(self,person_annotation_id: str) -> PersonAnnotationI async def get(self,request_configuration: Optional[NotesRequestBuilderGetRequestConfiguration] = None) -> Optional[PersonAnnotationCollectionResponse]: """ - Retrieve a list of personAnnotation objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of personAnnotation objects from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PersonAnnotationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/profile-list-notes?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[NotesRequestBuilderGetRequest async def post(self,body: Optional[PersonAnnotation] = None, request_configuration: Optional[NotesRequestBuilderPostRequestConfiguration] = None) -> Optional[PersonAnnotation]: """ - Create a new personAnnotation object in a user's profile. This API is available in the following national cloud deployments. + Create a new personAnnotation object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PersonAnnotation] @@ -92,7 +92,7 @@ async def post(self,body: Optional[PersonAnnotation] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[NotesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of personAnnotation objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of personAnnotation objects from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[NotesRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PersonAnnotation] = None, request_configuration: Optional[NotesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new personAnnotation object in a user's profile. This API is available in the following national cloud deployments. + Create a new personAnnotation object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PersonAnnotation] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class NotesRequestBuilderGetQueryParameters(): """ - Retrieve a list of personAnnotation objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of personAnnotation objects from a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/patents/item/item_patent_item_request_builder.py b/msgraph_beta/generated/users/item/profile/patents/item/item_patent_item_request_builder.py index 0f3e0262e74..16760b9f52c 100644 --- a/msgraph_beta/generated/users/item/profile/patents/item/item_patent_item_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/patents/item/item_patent_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ItemPatentItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes an itemPatent object. This API is available in the following national cloud deployments. + Deletes an itemPatent object. 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/itempatent-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ItemPatentItemRequestBuild async def get(self,request_configuration: Optional[ItemPatentItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ItemPatent]: """ - Read the properties and relationships of an itemPatent object. This API is available in the following national cloud deployments. + Read the properties and relationships of an itemPatent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemPatent] Find more info here: https://learn.microsoft.com/graph/api/itempatent-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[ItemPatentItemRequestBuilderG async def patch(self,body: Optional[ItemPatent] = None, request_configuration: Optional[ItemPatentItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ItemPatent]: """ - Update the properties of an itemPatent object. This API is available in the following national cloud deployments. + Update the properties of an itemPatent object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemPatent] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[ItemPatent] = None, request_configuration: O def to_delete_request_information(self,request_configuration: Optional[ItemPatentItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes an itemPatent object. This API is available in the following national cloud deployments. + Deletes an itemPatent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[ItemPaten request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemPatentItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an itemPatent object. This API is available in the following national cloud deployments. + Read the properties and relationships of an itemPatent object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[ItemPatentIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemPatent] = None, request_configuration: Optional[ItemPatentItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an itemPatent object. This API is available in the following national cloud deployments. + Update the properties of an itemPatent object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ItemPatent] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class ItemPatentItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class ItemPatentItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an itemPatent object. This API is available in the following national cloud deployments. + Read the properties and relationships of an itemPatent object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/patents/patents_request_builder.py b/msgraph_beta/generated/users/item/profile/patents/patents_request_builder.py index 855484419dc..ad7d8cc8568 100644 --- a/msgraph_beta/generated/users/item/profile/patents/patents_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/patents/patents_request_builder.py @@ -45,7 +45,7 @@ def by_item_patent_id(self,item_patent_id: str) -> ItemPatentItemRequestBuilder: async def get(self,request_configuration: Optional[PatentsRequestBuilderGetRequestConfiguration] = None) -> Optional[ItemPatentCollectionResponse]: """ - Retrieve a list of itemPatent objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of itemPatent objects from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemPatentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/profile-list-patents?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[PatentsRequestBuilderGetReque async def post(self,body: Optional[ItemPatent] = None, request_configuration: Optional[PatentsRequestBuilderPostRequestConfiguration] = None) -> Optional[ItemPatent]: """ - Create a new itemPatent object within a user's profile. This API is available in the following national cloud deployments. + Create a new itemPatent object within a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemPatent] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ItemPatent] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[PatentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of itemPatent objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of itemPatent objects from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[PatentsReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ItemPatent] = None, request_configuration: Optional[PatentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new itemPatent object within a user's profile. This API is available in the following national cloud deployments. + Create a new itemPatent object within a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ItemPatent] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PatentsRequestBuilderGetQueryParameters(): """ - Retrieve a list of itemPatent objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of itemPatent objects from a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/phones/item/item_phone_item_request_builder.py b/msgraph_beta/generated/users/item/profile/phones/item/item_phone_item_request_builder.py index bcc206877ef..0aef79fbfcc 100644 --- a/msgraph_beta/generated/users/item/profile/phones/item/item_phone_item_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/phones/item/item_phone_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ItemPhoneItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete an itemPhone object from the user's profile. This API is available in the following national cloud deployments. + Delete an itemPhone object from the user's profile. 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/itemphone-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ItemPhoneItemRequestBuilde async def get(self,request_configuration: Optional[ItemPhoneItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ItemPhone]: """ - Retrieve the properties and relationships of an itemPhone object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an itemPhone object in a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemPhone] Find more info here: https://learn.microsoft.com/graph/api/itemphone-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[ItemPhoneItemRequestBuilderGe async def patch(self,body: Optional[ItemPhone] = None, request_configuration: Optional[ItemPhoneItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ItemPhone]: """ - Update the properties of an itemPhone object in a user's profile. This API is available in the following national cloud deployments. + Update the properties of an itemPhone object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemPhone] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[ItemPhone] = None, request_configuration: Op def to_delete_request_information(self,request_configuration: Optional[ItemPhoneItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete an itemPhone object from the user's profile. This API is available in the following national cloud deployments. + Delete an itemPhone object from the user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[ItemPhone request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemPhoneItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an itemPhone object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an itemPhone object in a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[ItemPhoneIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemPhone] = None, request_configuration: Optional[ItemPhoneItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an itemPhone object in a user's profile. This API is available in the following national cloud deployments. + Update the properties of an itemPhone object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ItemPhone] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class ItemPhoneItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigura @dataclass class ItemPhoneItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an itemPhone object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of an itemPhone object in a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/phones/phones_request_builder.py b/msgraph_beta/generated/users/item/profile/phones/phones_request_builder.py index d748cc580a6..ed7b6189262 100644 --- a/msgraph_beta/generated/users/item/profile/phones/phones_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/phones/phones_request_builder.py @@ -45,7 +45,7 @@ def by_item_phone_id(self,item_phone_id: str) -> ItemPhoneItemRequestBuilder: async def get(self,request_configuration: Optional[PhonesRequestBuilderGetRequestConfiguration] = None) -> Optional[ItemPhoneCollectionResponse]: """ - Retrieve a list of itemPhone objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of itemPhone objects from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemPhoneCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/profile-list-phones?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[PhonesRequestBuilderGetReques async def post(self,body: Optional[ItemPhone] = None, request_configuration: Optional[PhonesRequestBuilderPostRequestConfiguration] = None) -> Optional[ItemPhone]: """ - Use this API to create a new itemPhone object in a user's profile. This API is available in the following national cloud deployments. + Use this API to create a new itemPhone object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemPhone] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ItemPhone] = None, request_configuration: Opt def to_get_request_information(self,request_configuration: Optional[PhonesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of itemPhone objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of itemPhone objects from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[PhonesReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ItemPhone] = None, request_configuration: Optional[PhonesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new itemPhone object in a user's profile. This API is available in the following national cloud deployments. + Use this API to create a new itemPhone object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ItemPhone] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PhonesRequestBuilderGetQueryParameters(): """ - Retrieve a list of itemPhone objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of itemPhone objects from a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/positions/item/work_position_item_request_builder.py b/msgraph_beta/generated/users/item/profile/positions/item/work_position_item_request_builder.py index bb853df26a3..2c06157c3d0 100644 --- a/msgraph_beta/generated/users/item/profile/positions/item/work_position_item_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/positions/item/work_position_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[WorkPositionItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a specific workPosition object from a user's profile. This API is available in the following national cloud deployments. + Delete a specific workPosition object from a user's profile. 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/workposition-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[WorkPositionItemRequestBui async def get(self,request_configuration: Optional[WorkPositionItemRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkPosition]: """ - Retrieve the properties and relationships of a workPosition object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a workPosition object in a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkPosition] Find more info here: https://learn.microsoft.com/graph/api/workposition-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[WorkPositionItemRequestBuilde async def patch(self,body: Optional[WorkPosition] = None, request_configuration: Optional[WorkPositionItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[WorkPosition]: """ - Update the properties of a workPosition object in a user's profile. This API is available in the following national cloud deployments. + Update the properties of a workPosition object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkPosition] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[WorkPosition] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[WorkPositionItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a specific workPosition object from a user's profile. This API is available in the following national cloud deployments. + Delete a specific workPosition object from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[WorkPosit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WorkPositionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a workPosition object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a workPosition object in a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[WorkPosition request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WorkPosition] = None, request_configuration: Optional[WorkPositionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a workPosition object in a user's profile. This API is available in the following national cloud deployments. + Update the properties of a workPosition object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[WorkPosition] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class WorkPositionItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class WorkPositionItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a workPosition object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a workPosition object in a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/positions/positions_request_builder.py b/msgraph_beta/generated/users/item/profile/positions/positions_request_builder.py index 2d96b207451..3b16bb9be29 100644 --- a/msgraph_beta/generated/users/item/profile/positions/positions_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/positions/positions_request_builder.py @@ -45,7 +45,7 @@ def by_work_position_id(self,work_position_id: str) -> WorkPositionItemRequestBu async def get(self,request_configuration: Optional[PositionsRequestBuilderGetRequestConfiguration] = None) -> Optional[WorkPositionCollectionResponse]: """ - Retrieve a list of workPosition objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of workPosition objects from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkPositionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/profile-list-positions?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[PositionsRequestBuilderGetReq async def post(self,body: Optional[WorkPosition] = None, request_configuration: Optional[PositionsRequestBuilderPostRequestConfiguration] = None) -> Optional[WorkPosition]: """ - Use this API to create a new workPosition in a user's profile. This API is available in the following national cloud deployments. + Use this API to create a new workPosition in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkPosition] @@ -92,7 +92,7 @@ async def post(self,body: Optional[WorkPosition] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[PositionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of workPosition objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of workPosition objects from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[PositionsReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WorkPosition] = None, request_configuration: Optional[PositionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new workPosition in a user's profile. This API is available in the following national cloud deployments. + Use this API to create a new workPosition in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[WorkPosition] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PositionsRequestBuilderGetQueryParameters(): """ - Retrieve a list of workPosition objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of workPosition objects from a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/profile_request_builder.py b/msgraph_beta/generated/users/item/profile/profile_request_builder.py index 249084017d0..e59ec8e4351 100644 --- a/msgraph_beta/generated/users/item/profile/profile_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/profile_request_builder.py @@ -47,7 +47,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ProfileRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes a profile object from a user's account. This API is available in the following national cloud deployments. + Deletes a profile object from a user's account. 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/profile-delete?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def delete(self,request_configuration: Optional[ProfileRequestBuilderDelet async def get(self,request_configuration: Optional[ProfileRequestBuilderGetRequestConfiguration] = None) -> Optional[Profile]: """ - Retrieve the properties and relationships of a profile object for a given user. The profile resource exposes various rich properties that are descriptive of the user as relationships, for example, anniversaries and education activities. To get one of these navigation properties, use the corresponding GET method on that property. See the methods exposed by profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a profile object for a given user. The profile resource exposes various rich properties that are descriptive of the user as relationships, for example, anniversaries and education activities. To get one of these navigation properties, use the corresponding GET method on that property. See the methods exposed by profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Profile] Find more info here: https://learn.microsoft.com/graph/api/profile-get?view=graph-rest-1.0 @@ -113,7 +113,7 @@ async def patch(self,body: Optional[Profile] = None, request_configuration: Opti def to_delete_request_information(self,request_configuration: Optional[ProfileRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes a profile object from a user's account. This API is available in the following national cloud deployments. + Deletes a profile object from a user's account. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -124,12 +124,12 @@ def to_delete_request_information(self,request_configuration: Optional[ProfileRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ProfileRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a profile object for a given user. The profile resource exposes various rich properties that are descriptive of the user as relationships, for example, anniversaries and education activities. To get one of these navigation properties, use the corresponding GET method on that property. See the methods exposed by profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a profile object for a given user. The profile resource exposes various rich properties that are descriptive of the user as relationships, for example, anniversaries and education activities. To get one of these navigation properties, use the corresponding GET method on that property. See the methods exposed by profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -141,7 +141,7 @@ def to_get_request_information(self,request_configuration: Optional[ProfileReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Profile] = None, request_configuration: Optional[ProfileRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -160,7 +160,7 @@ def to_patch_request_information(self,body: Optional[Profile] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -358,7 +358,7 @@ class ProfileRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration): @dataclass class ProfileRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a profile object for a given user. The profile resource exposes various rich properties that are descriptive of the user as relationships, for example, anniversaries and education activities. To get one of these navigation properties, use the corresponding GET method on that property. See the methods exposed by profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a profile object for a given user. The profile resource exposes various rich properties that are descriptive of the user as relationships, for example, anniversaries and education activities. To get one of these navigation properties, use the corresponding GET method on that property. See the methods exposed by profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/projects/item/project_participation_item_request_builder.py b/msgraph_beta/generated/users/item/profile/projects/item/project_participation_item_request_builder.py index c29660265bb..2ce4f2258e8 100644 --- a/msgraph_beta/generated/users/item/profile/projects/item/project_participation_item_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/projects/item/project_participation_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ProjectParticipationItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a projectParticipation object from a user's profile. This API is available in the following national cloud deployments. + Delete a projectParticipation object from a user's profile. 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/projectparticipation-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ProjectParticipationItemRe async def get(self,request_configuration: Optional[ProjectParticipationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ProjectParticipation]: """ - Retrieve the properties and relationships of a projectParticipation object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a projectParticipation object in a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProjectParticipation] Find more info here: https://learn.microsoft.com/graph/api/projectparticipation-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[ProjectParticipationItemReque async def patch(self,body: Optional[ProjectParticipation] = None, request_configuration: Optional[ProjectParticipationItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ProjectParticipation]: """ - Update the properties of a projectParticipation object in a user's profile. This API is available in the following national cloud deployments. + Update the properties of a projectParticipation object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProjectParticipation] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[ProjectParticipation] = None, request_config def to_delete_request_information(self,request_configuration: Optional[ProjectParticipationItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a projectParticipation object from a user's profile. This API is available in the following national cloud deployments. + Delete a projectParticipation object from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[ProjectPa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ProjectParticipationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a projectParticipation object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a projectParticipation object in a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[ProjectParti request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ProjectParticipation] = None, request_configuration: Optional[ProjectParticipationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a projectParticipation object in a user's profile. This API is available in the following national cloud deployments. + Update the properties of a projectParticipation object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ProjectParticipation] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class ProjectParticipationItemRequestBuilderDeleteRequestConfiguration(BaseReque @dataclass class ProjectParticipationItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a projectParticipation object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a projectParticipation object in a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/projects/projects_request_builder.py b/msgraph_beta/generated/users/item/profile/projects/projects_request_builder.py index ec03d0aae55..c32fe751355 100644 --- a/msgraph_beta/generated/users/item/profile/projects/projects_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/projects/projects_request_builder.py @@ -45,7 +45,7 @@ def by_project_participation_id(self,project_participation_id: str) -> ProjectPa async def get(self,request_configuration: Optional[ProjectsRequestBuilderGetRequestConfiguration] = None) -> Optional[ProjectParticipationCollectionResponse]: """ - Retrieve a list of projectParticipation objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of projectParticipation objects from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProjectParticipationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/profile-list-projects?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ProjectsRequestBuilderGetRequ async def post(self,body: Optional[ProjectParticipation] = None, request_configuration: Optional[ProjectsRequestBuilderPostRequestConfiguration] = None) -> Optional[ProjectParticipation]: """ - Use this API to create a new projectParticipation object in a user's profile. This API is available in the following national cloud deployments. + Use this API to create a new projectParticipation object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProjectParticipation] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ProjectParticipation] = None, request_configu def to_get_request_information(self,request_configuration: Optional[ProjectsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of projectParticipation objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of projectParticipation objects from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ProjectsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ProjectParticipation] = None, request_configuration: Optional[ProjectsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new projectParticipation object in a user's profile. This API is available in the following national cloud deployments. + Use this API to create a new projectParticipation object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ProjectParticipation] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ProjectsRequestBuilderGetQueryParameters(): """ - Retrieve a list of projectParticipation objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of projectParticipation objects from a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/publications/item/item_publication_item_request_builder.py b/msgraph_beta/generated/users/item/profile/publications/item/item_publication_item_request_builder.py index d203679e775..13e137aa545 100644 --- a/msgraph_beta/generated/users/item/profile/publications/item/item_publication_item_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/publications/item/item_publication_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ItemPublicationItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes an itemPublication object. This API is available in the following national cloud deployments. + Deletes an itemPublication object. 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/itempublication-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ItemPublicationItemRequest async def get(self,request_configuration: Optional[ItemPublicationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ItemPublication]: """ - Read the properties and relationships of an itemPublication object in a user's profile. This API is available in the following national cloud deployments. + Read the properties and relationships of an itemPublication object in a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemPublication] Find more info here: https://learn.microsoft.com/graph/api/itempublication-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[ItemPublicationItemRequestBui async def patch(self,body: Optional[ItemPublication] = None, request_configuration: Optional[ItemPublicationItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ItemPublication]: """ - Update the properties of an itemPublication object in a user's profile. This API is available in the following national cloud deployments. + Update the properties of an itemPublication object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemPublication] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[ItemPublication] = None, request_configurati def to_delete_request_information(self,request_configuration: Optional[ItemPublicationItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes an itemPublication object. This API is available in the following national cloud deployments. + Deletes an itemPublication object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[ItemPubli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemPublicationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an itemPublication object in a user's profile. This API is available in the following national cloud deployments. + Read the properties and relationships of an itemPublication object in a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[ItemPublicat request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ItemPublication] = None, request_configuration: Optional[ItemPublicationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of an itemPublication object in a user's profile. This API is available in the following national cloud deployments. + Update the properties of an itemPublication object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ItemPublication] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class ItemPublicationItemRequestBuilderDeleteRequestConfiguration(BaseRequestCon @dataclass class ItemPublicationItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an itemPublication object in a user's profile. This API is available in the following national cloud deployments. + Read the properties and relationships of an itemPublication object in a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/publications/publications_request_builder.py b/msgraph_beta/generated/users/item/profile/publications/publications_request_builder.py index 6e165b658bb..7fdde4592aa 100644 --- a/msgraph_beta/generated/users/item/profile/publications/publications_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/publications/publications_request_builder.py @@ -45,7 +45,7 @@ def by_item_publication_id(self,item_publication_id: str) -> ItemPublicationItem async def get(self,request_configuration: Optional[PublicationsRequestBuilderGetRequestConfiguration] = None) -> Optional[ItemPublicationCollectionResponse]: """ - Retrieve a list of itemPublication objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of itemPublication objects from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemPublicationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/profile-list-publications?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[PublicationsRequestBuilderGet async def post(self,body: Optional[ItemPublication] = None, request_configuration: Optional[PublicationsRequestBuilderPostRequestConfiguration] = None) -> Optional[ItemPublication]: """ - Create a new itemPublication object in a user's profile. This API is available in the following national cloud deployments. + Create a new itemPublication object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemPublication] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ItemPublication] = None, request_configuratio def to_get_request_information(self,request_configuration: Optional[PublicationsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of itemPublication objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of itemPublication objects from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[Publications request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ItemPublication] = None, request_configuration: Optional[PublicationsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new itemPublication object in a user's profile. This API is available in the following national cloud deployments. + Create a new itemPublication object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ItemPublication] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class PublicationsRequestBuilderGetQueryParameters(): """ - Retrieve a list of itemPublication objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of itemPublication objects from a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/skills/item/skill_proficiency_item_request_builder.py b/msgraph_beta/generated/users/item/profile/skills/item/skill_proficiency_item_request_builder.py index abaacd44768..0dfccdeb019 100644 --- a/msgraph_beta/generated/users/item/profile/skills/item/skill_proficiency_item_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/skills/item/skill_proficiency_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[SkillProficiencyItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a skillProficiency object from a user's profile. This API is available in the following national cloud deployments. + Delete a skillProficiency object from a user's profile. 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/skillproficiency-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[SkillProficiencyItemReques async def get(self,request_configuration: Optional[SkillProficiencyItemRequestBuilderGetRequestConfiguration] = None) -> Optional[SkillProficiency]: """ - Retrieve the properties and relationships of a skillproficiency object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a skillproficiency object in a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SkillProficiency] Find more info here: https://learn.microsoft.com/graph/api/skillproficiency-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[SkillProficiencyItemRequestBu async def patch(self,body: Optional[SkillProficiency] = None, request_configuration: Optional[SkillProficiencyItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[SkillProficiency]: """ - Update the properties of a skillProficiency object in a user's profile. This API is available in the following national cloud deployments. + Update the properties of a skillProficiency object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SkillProficiency] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[SkillProficiency] = None, request_configurat def to_delete_request_information(self,request_configuration: Optional[SkillProficiencyItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a skillProficiency object from a user's profile. This API is available in the following national cloud deployments. + Delete a skillProficiency object from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[SkillProf request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SkillProficiencyItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a skillproficiency object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a skillproficiency object in a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[SkillProfici request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SkillProficiency] = None, request_configuration: Optional[SkillProficiencyItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a skillProficiency object in a user's profile. This API is available in the following national cloud deployments. + Update the properties of a skillProficiency object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[SkillProficiency] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class SkillProficiencyItemRequestBuilderDeleteRequestConfiguration(BaseRequestCo @dataclass class SkillProficiencyItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a skillproficiency object in a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a skillproficiency object in a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/skills/skills_request_builder.py b/msgraph_beta/generated/users/item/profile/skills/skills_request_builder.py index 35c4097d18a..ce92f920b3b 100644 --- a/msgraph_beta/generated/users/item/profile/skills/skills_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/skills/skills_request_builder.py @@ -45,7 +45,7 @@ def by_skill_proficiency_id(self,skill_proficiency_id: str) -> SkillProficiencyI async def get(self,request_configuration: Optional[SkillsRequestBuilderGetRequestConfiguration] = None) -> Optional[SkillProficiencyCollectionResponse]: """ - Retrieve a list of skillProficiency objects in a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of skillProficiency objects in a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SkillProficiencyCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/profile-list-skills?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[SkillsRequestBuilderGetReques async def post(self,body: Optional[SkillProficiency] = None, request_configuration: Optional[SkillsRequestBuilderPostRequestConfiguration] = None) -> Optional[SkillProficiency]: """ - Use this API to create a new skillProficiency object in a user's profile. This API is available in the following national cloud deployments. + Use this API to create a new skillProficiency object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SkillProficiency] @@ -92,7 +92,7 @@ async def post(self,body: Optional[SkillProficiency] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[SkillsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of skillProficiency objects in a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of skillProficiency objects in a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[SkillsReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SkillProficiency] = None, request_configuration: Optional[SkillsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use this API to create a new skillProficiency object in a user's profile. This API is available in the following national cloud deployments. + Use this API to create a new skillProficiency object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[SkillProficiency] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SkillsRequestBuilderGetQueryParameters(): """ - Retrieve a list of skillProficiency objects in a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of skillProficiency objects in a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/web_accounts/item/web_account_item_request_builder.py b/msgraph_beta/generated/users/item/profile/web_accounts/item/web_account_item_request_builder.py index 69b139e00c4..1b2c261608e 100644 --- a/msgraph_beta/generated/users/item/profile/web_accounts/item/web_account_item_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/web_accounts/item/web_account_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[WebAccountItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a webAccount object from a user's profile. This API is available in the following national cloud deployments. + Delete a webAccount object from a user's profile. 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/webaccount-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[WebAccountItemRequestBuild async def get(self,request_configuration: Optional[WebAccountItemRequestBuilderGetRequestConfiguration] = None) -> Optional[WebAccount]: """ - Retrieve the properties and relationships of a webAccount object from a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a webAccount object from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WebAccount] Find more info here: https://learn.microsoft.com/graph/api/webaccount-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[WebAccountItemRequestBuilderG async def patch(self,body: Optional[WebAccount] = None, request_configuration: Optional[WebAccountItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[WebAccount]: """ - Update the properties of a webAccount object in a user's profile. This API is available in the following national cloud deployments. + Update the properties of a webAccount object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WebAccount] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[WebAccount] = None, request_configuration: O def to_delete_request_information(self,request_configuration: Optional[WebAccountItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a webAccount object from a user's profile. This API is available in the following national cloud deployments. + Delete a webAccount object from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[WebAccoun request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[WebAccountItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a webAccount object from a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a webAccount object from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[WebAccountIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[WebAccount] = None, request_configuration: Optional[WebAccountItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a webAccount object in a user's profile. This API is available in the following national cloud deployments. + Update the properties of a webAccount object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[WebAccount] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class WebAccountItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigur @dataclass class WebAccountItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a webAccount object from a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a webAccount object from a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/web_accounts/web_accounts_request_builder.py b/msgraph_beta/generated/users/item/profile/web_accounts/web_accounts_request_builder.py index 201d6154831..8c3e3023dd0 100644 --- a/msgraph_beta/generated/users/item/profile/web_accounts/web_accounts_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/web_accounts/web_accounts_request_builder.py @@ -45,7 +45,7 @@ def by_web_account_id(self,web_account_id: str) -> WebAccountItemRequestBuilder: async def get(self,request_configuration: Optional[WebAccountsRequestBuilderGetRequestConfiguration] = None) -> Optional[WebAccountCollectionResponse]: """ - Retrieve a list of webAccounts objects from the user's profile. This API is available in the following national cloud deployments. + Retrieve a list of webAccounts objects from the user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WebAccountCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/profile-list-webaccounts?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[WebAccountsRequestBuilderGetR async def post(self,body: Optional[WebAccount] = None, request_configuration: Optional[WebAccountsRequestBuilderPostRequestConfiguration] = None) -> Optional[WebAccount]: """ - Create a new webAccount object in a user's profile. This API is available in the following national cloud deployments. + Create a new webAccount object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WebAccount] @@ -92,7 +92,7 @@ async def post(self,body: Optional[WebAccount] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[WebAccountsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of webAccounts objects from the user's profile. This API is available in the following national cloud deployments. + Retrieve a list of webAccounts objects from the user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[WebAccountsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[WebAccount] = None, request_configuration: Optional[WebAccountsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new webAccount object in a user's profile. This API is available in the following national cloud deployments. + Create a new webAccount object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[WebAccount] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class WebAccountsRequestBuilderGetQueryParameters(): """ - Retrieve a list of webAccounts objects from the user's profile. This API is available in the following national cloud deployments. + Retrieve a list of webAccounts objects from the user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/websites/item/person_website_item_request_builder.py b/msgraph_beta/generated/users/item/profile/websites/item/person_website_item_request_builder.py index 11277058116..d41610d0220 100644 --- a/msgraph_beta/generated/users/item/profile/websites/item/person_website_item_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/websites/item/person_website_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[PersonWebsiteItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes a personWebsite object from a user's profile. This API is available in the following national cloud deployments. + Deletes a personWebsite object from a user's profile. 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/personwebsite-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[PersonWebsiteItemRequestBu async def get(self,request_configuration: Optional[PersonWebsiteItemRequestBuilderGetRequestConfiguration] = None) -> Optional[PersonWebsite]: """ - Retrieve the properties and relationships of a personWebsite object from a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a personWebsite object from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PersonWebsite] Find more info here: https://learn.microsoft.com/graph/api/personwebsite-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[PersonWebsiteItemRequestBuild async def patch(self,body: Optional[PersonWebsite] = None, request_configuration: Optional[PersonWebsiteItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[PersonWebsite]: """ - Update the properties of personWebsite object in a user's profile. This API is available in the following national cloud deployments. + Update the properties of personWebsite object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PersonWebsite] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[PersonWebsite] = None, request_configuration def to_delete_request_information(self,request_configuration: Optional[PersonWebsiteItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes a personWebsite object from a user's profile. This API is available in the following national cloud deployments. + Deletes a personWebsite object from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[PersonWeb request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[PersonWebsiteItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a personWebsite object from a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a personWebsite object from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[PersonWebsit request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[PersonWebsite] = None, request_configuration: Optional[PersonWebsiteItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of personWebsite object in a user's profile. This API is available in the following national cloud deployments. + Update the properties of personWebsite object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[PersonWebsite] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class PersonWebsiteItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class PersonWebsiteItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a personWebsite object from a user's profile. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a personWebsite object from a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/profile/websites/websites_request_builder.py b/msgraph_beta/generated/users/item/profile/websites/websites_request_builder.py index 4fbb58672e5..e0e78b3b47f 100644 --- a/msgraph_beta/generated/users/item/profile/websites/websites_request_builder.py +++ b/msgraph_beta/generated/users/item/profile/websites/websites_request_builder.py @@ -45,7 +45,7 @@ def by_person_website_id(self,person_website_id: str) -> PersonWebsiteItemReques async def get(self,request_configuration: Optional[WebsitesRequestBuilderGetRequestConfiguration] = None) -> Optional[PersonWebsiteCollectionResponse]: """ - Retrieve a list of personWebsite objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of personWebsite objects from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PersonWebsiteCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/profile-list-websites?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[WebsitesRequestBuilderGetRequ async def post(self,body: Optional[PersonWebsite] = None, request_configuration: Optional[WebsitesRequestBuilderPostRequestConfiguration] = None) -> Optional[PersonWebsite]: """ - Create a new personWebsite object in a user's profile. This API is available in the following national cloud deployments. + Create a new personWebsite object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PersonWebsite] @@ -92,7 +92,7 @@ async def post(self,body: Optional[PersonWebsite] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[WebsitesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of personWebsite objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of personWebsite objects from a user's profile. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[WebsitesRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[PersonWebsite] = None, request_configuration: Optional[WebsitesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new personWebsite object in a user's profile. This API is available in the following national cloud deployments. + Create a new personWebsite object in a user's profile. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[PersonWebsite] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class WebsitesRequestBuilderGetQueryParameters(): """ - Retrieve a list of personWebsite objects from a user's profile. This API is available in the following national cloud deployments. + Retrieve a list of personWebsite objects from a user's profile. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/registered_devices/graph_device/graph_device_request_builder.py b/msgraph_beta/generated/users/item/registered_devices/graph_device/graph_device_request_builder.py index 6dc4843eca1..29bb664b329 100644 --- a/msgraph_beta/generated/users/item/registered_devices/graph_device/graph_device_request_builder.py +++ b/msgraph_beta/generated/users/item/registered_devices/graph_device/graph_device_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphDeviceR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphDeviceRequestBuilder: diff --git a/msgraph_beta/generated/users/item/registered_devices/graph_endpoint/graph_endpoint_request_builder.py b/msgraph_beta/generated/users/item/registered_devices/graph_endpoint/graph_endpoint_request_builder.py index 34a01311121..d51db0a80c2 100644 --- a/msgraph_beta/generated/users/item/registered_devices/graph_endpoint/graph_endpoint_request_builder.py +++ b/msgraph_beta/generated/users/item/registered_devices/graph_endpoint/graph_endpoint_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphEndpoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphEndpointRequestBuilder: diff --git a/msgraph_beta/generated/users/item/registered_devices/item/directory_object_item_request_builder.py b/msgraph_beta/generated/users/item/registered_devices/item/directory_object_item_request_builder.py index 8d02f4d1bfd..42e14277ef6 100644 --- a/msgraph_beta/generated/users/item/registered_devices/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/users/item/registered_devices/item/directory_object_item_request_builder.py @@ -63,7 +63,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/registered_devices/item/graph_device/graph_device_request_builder.py b/msgraph_beta/generated/users/item/registered_devices/item/graph_device/graph_device_request_builder.py index b424cdf0306..aa54ed6a4a0 100644 --- a/msgraph_beta/generated/users/item/registered_devices/item/graph_device/graph_device_request_builder.py +++ b/msgraph_beta/generated/users/item/registered_devices/item/graph_device/graph_device_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphDeviceR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphDeviceRequestBuilder: diff --git a/msgraph_beta/generated/users/item/registered_devices/item/graph_endpoint/graph_endpoint_request_builder.py b/msgraph_beta/generated/users/item/registered_devices/item/graph_endpoint/graph_endpoint_request_builder.py index 60ca65ec034..1f18378a6e9 100644 --- a/msgraph_beta/generated/users/item/registered_devices/item/graph_endpoint/graph_endpoint_request_builder.py +++ b/msgraph_beta/generated/users/item/registered_devices/item/graph_endpoint/graph_endpoint_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphEndpoin request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphEndpointRequestBuilder: diff --git a/msgraph_beta/generated/users/item/registered_devices/registered_devices_request_builder.py b/msgraph_beta/generated/users/item/registered_devices/registered_devices_request_builder.py index 4751c3c289f..93ebf0c67ea 100644 --- a/msgraph_beta/generated/users/item/registered_devices/registered_devices_request_builder.py +++ b/msgraph_beta/generated/users/item/registered_devices/registered_devices_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[RegisteredDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RegisteredDevicesRequestBuilder: diff --git a/msgraph_beta/generated/users/item/reminder_view_with_start_date_time_with_end_date_time/reminder_view_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/users/item/reminder_view_with_start_date_time_with_end_date_time/reminder_view_with_start_date_time_with_end_date_time_request_builder.py index 46a9220aa44..d88599301cb 100644 --- a/msgraph_beta/generated/users/item/reminder_view_with_start_date_time_with_end_date_time/reminder_view_with_start_date_time_with_end_date_time_request_builder.py +++ b/msgraph_beta/generated/users/item/reminder_view_with_start_date_time_with_end_date_time/reminder_view_with_start_date_time_with_end_date_time_request_builder.py @@ -66,7 +66,7 @@ def to_get_request_information(self,request_configuration: Optional[ReminderView request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder: diff --git a/msgraph_beta/generated/users/item/remove_all_devices_from_management/remove_all_devices_from_management_request_builder.py b/msgraph_beta/generated/users/item/remove_all_devices_from_management/remove_all_devices_from_management_request_builder.py index a649afc18f1..c03704d8af0 100644 --- a/msgraph_beta/generated/users/item/remove_all_devices_from_management/remove_all_devices_from_management_request_builder.py +++ b/msgraph_beta/generated/users/item/remove_all_devices_from_management/remove_all_devices_from_management_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[RemoveAllDe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RemoveAllDevicesFromManagementRequestBuilder: diff --git a/msgraph_beta/generated/users/item/reprocess_license_assignment/reprocess_license_assignment_request_builder.py b/msgraph_beta/generated/users/item/reprocess_license_assignment/reprocess_license_assignment_request_builder.py index c6d4f935600..ab415d21b56 100644 --- a/msgraph_beta/generated/users/item/reprocess_license_assignment/reprocess_license_assignment_request_builder.py +++ b/msgraph_beta/generated/users/item/reprocess_license_assignment/reprocess_license_assignment_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[ReprocessLicenseAssignmentRequestBuilderPostRequestConfiguration] = None) -> Optional[User]: """ - Reprocess all group-based license assignments for the user. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. Also see Identify and resolve license assignment problems for a group in Microsoft Entra ID for more details. This API is available in the following national cloud deployments. + Reprocess all group-based license assignments for the user. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. Also see Identify and resolve license assignment problems for a group in Microsoft Entra ID for more details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] Find more info here: https://learn.microsoft.com/graph/api/user-reprocesslicenseassignment?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[ReprocessLicenseAssignmentRe def to_post_request_information(self,request_configuration: Optional[ReprocessLicenseAssignmentRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Reprocess all group-based license assignments for the user. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. Also see Identify and resolve license assignment problems for a group in Microsoft Entra ID for more details. This API is available in the following national cloud deployments. + Reprocess all group-based license assignments for the user. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. Also see Identify and resolve license assignment problems for a group in Microsoft Entra ID for more details. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[ReprocessLi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ReprocessLicenseAssignmentRequestBuilder: diff --git a/msgraph_beta/generated/users/item/restore/restore_request_builder.py b/msgraph_beta/generated/users/item/restore/restore_request_builder.py index 3a080950979..618379cad50 100644 --- a/msgraph_beta/generated/users/item/restore/restore_request_builder.py +++ b/msgraph_beta/generated/users/item/restore/restore_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] Find more info here: https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RestoreRequestBuilderPostReq def to_post_request_information(self,request_configuration: Optional[RestoreRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. This API is available in the following national cloud deployments. + Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[RestoreRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RestoreRequestBuilder: diff --git a/msgraph_beta/generated/users/item/retry_service_provisioning/retry_service_provisioning_request_builder.py b/msgraph_beta/generated/users/item/retry_service_provisioning/retry_service_provisioning_request_builder.py index e7f3c109354..d0bdf1eb972 100644 --- a/msgraph_beta/generated/users/item/retry_service_provisioning/retry_service_provisioning_request_builder.py +++ b/msgraph_beta/generated/users/item/retry_service_provisioning/retry_service_provisioning_request_builder.py @@ -27,7 +27,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RetryServiceProvisioningRequestBuilderPostRequestConfiguration] = None) -> None: """ - Retry the user service provisioning. This API is available in the following national cloud deployments. + Retry the user service provisioning. 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/user-retryserviceprovisioning?view=graph-rest-1.0 @@ -47,7 +47,7 @@ async def post(self,request_configuration: Optional[RetryServiceProvisioningRequ def to_post_request_information(self,request_configuration: Optional[RetryServiceProvisioningRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Retry the user service provisioning. This API is available in the following national cloud deployments. + Retry the user service provisioning. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -58,7 +58,7 @@ def to_post_request_information(self,request_configuration: Optional[RetryServic request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RetryServiceProvisioningRequestBuilder: diff --git a/msgraph_beta/generated/users/item/revoke_sign_in_sessions/revoke_sign_in_sessions_request_builder.py b/msgraph_beta/generated/users/item/revoke_sign_in_sessions/revoke_sign_in_sessions_request_builder.py index bde434dd1e7..c6e41ae269b 100644 --- a/msgraph_beta/generated/users/item/revoke_sign_in_sessions/revoke_sign_in_sessions_request_builder.py +++ b/msgraph_beta/generated/users/item/revoke_sign_in_sessions/revoke_sign_in_sessions_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,request_configuration: Optional[RevokeSignInSessionsRequestBuilderPostRequestConfiguration] = None) -> Optional[RevokeSignInSessionsPostResponse]: """ - Invalidates all the refresh tokens issued to applications for a user (as well as session cookies in a user's browser), by resetting the signInSessionsValidFromDateTime user property to the current date-time. Typically, this operation is performed (by the user or an administrator) if the user has a lost or stolen device. This operation prevents access to the organization's data through applications on the device by requiring the user to sign in again to all applications that they have previously consented to, independent of device. If the application attempts to redeem a delegated access token for this user by using an invalidated refresh token, the application will get an error. If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint, which will force the user to sign in. This API is available in the following national cloud deployments. + Invalidates all the refresh tokens issued to applications for a user (as well as session cookies in a user's browser), by resetting the signInSessionsValidFromDateTime user property to the current date-time. Typically, this operation is performed (by the user or an administrator) if the user has a lost or stolen device. This operation prevents access to the organization's data through applications on the device by requiring the user to sign in again to all applications that they have previously consented to, independent of device. If the application attempts to redeem a delegated access token for this user by using an invalidated refresh token, the application will get an error. If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint, which will force the user to sign in. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RevokeSignInSessionsPostResponse] Find more info here: https://learn.microsoft.com/graph/api/user-revokesigninsessions?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def post(self,request_configuration: Optional[RevokeSignInSessionsRequestB def to_post_request_information(self,request_configuration: Optional[RevokeSignInSessionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Invalidates all the refresh tokens issued to applications for a user (as well as session cookies in a user's browser), by resetting the signInSessionsValidFromDateTime user property to the current date-time. Typically, this operation is performed (by the user or an administrator) if the user has a lost or stolen device. This operation prevents access to the organization's data through applications on the device by requiring the user to sign in again to all applications that they have previously consented to, independent of device. If the application attempts to redeem a delegated access token for this user by using an invalidated refresh token, the application will get an error. If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint, which will force the user to sign in. This API is available in the following national cloud deployments. + Invalidates all the refresh tokens issued to applications for a user (as well as session cookies in a user's browser), by resetting the signInSessionsValidFromDateTime user property to the current date-time. Typically, this operation is performed (by the user or an administrator) if the user has a lost or stolen device. This operation prevents access to the organization's data through applications on the device by requiring the user to sign in again to all applications that they have previously consented to, independent of device. If the application attempts to redeem a delegated access token for this user by using an invalidated refresh token, the application will get an error. If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint, which will force the user to sign in. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -61,7 +61,7 @@ def to_post_request_information(self,request_configuration: Optional[RevokeSignI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> RevokeSignInSessionsRequestBuilder: diff --git a/msgraph_beta/generated/users/item/scoped_role_member_of/item/scoped_role_membership_item_request_builder.py b/msgraph_beta/generated/users/item/scoped_role_member_of/item/scoped_role_membership_item_request_builder.py index de5a412902d..bfc37ac087a 100644 --- a/msgraph_beta/generated/users/item/scoped_role_member_of/item/scoped_role_membership_item_request_builder.py +++ b/msgraph_beta/generated/users/item/scoped_role_member_of/item/scoped_role_membership_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ScopedRol request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ScopedRoleMembershipItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ScopedRoleMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ScopedRoleMembership] = None, request_configuration: Optional[ScopedRoleMembershipItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[ScopedRoleMembership] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/scoped_role_member_of/scoped_role_member_of_request_builder.py b/msgraph_beta/generated/users/item/scoped_role_member_of/scoped_role_member_of_request_builder.py index 6b5573b0bd2..a842c6b468d 100644 --- a/msgraph_beta/generated/users/item/scoped_role_member_of/scoped_role_member_of_request_builder.py +++ b/msgraph_beta/generated/users/item/scoped_role_member_of/scoped_role_member_of_request_builder.py @@ -45,7 +45,7 @@ def by_scoped_role_membership_id(self,scoped_role_membership_id: str) -> ScopedR async def get(self,request_configuration: Optional[ScopedRoleMemberOfRequestBuilderGetRequestConfiguration] = None) -> Optional[ScopedRoleMembershipCollectionResponse]: """ - Retrieve a list of scopedRoleMembership for the user. This API is available in the following national cloud deployments. + Retrieve a list of scopedRoleMembership for the user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ScopedRoleMembershipCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/user-list-scopedrolememberof?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[ScopedRoleMembership] = None, request_configu def to_get_request_information(self,request_configuration: Optional[ScopedRoleMemberOfRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of scopedRoleMembership for the user. This API is available in the following national cloud deployments. + Retrieve a list of scopedRoleMembership for the user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[ScopedRoleMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ScopedRoleMembership] = None, request_configuration: Optional[ScopedRoleMemberOfRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[ScopedRoleMembership] = None request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ScopedRoleMemberOfRequestBuilderGetQueryParameters(): """ - Retrieve a list of scopedRoleMembership for the user. This API is available in the following national cloud deployments. + Retrieve a list of scopedRoleMembership for the user. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/security/information_protection/information_protection_request_builder.py b/msgraph_beta/generated/users/item/security/information_protection/information_protection_request_builder.py index cc655871978..758d91f7bd9 100644 --- a/msgraph_beta/generated/users/item/security/information_protection/information_protection_request_builder.py +++ b/msgraph_beta/generated/users/item/security/information_protection/information_protection_request_builder.py @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[Informati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[InformationProtectionRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[InformationP request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[InformationProtection] = None, request_configuration: Optional[InformationProtectionRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[InformationProtection] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/security/information_protection/label_policy_settings/label_policy_settings_request_builder.py b/msgraph_beta/generated/users/item/security/information_protection/label_policy_settings/label_policy_settings_request_builder.py index 561eb4feff0..42bc8eaf5a7 100644 --- a/msgraph_beta/generated/users/item/security/information_protection/label_policy_settings/label_policy_settings_request_builder.py +++ b/msgraph_beta/generated/users/item/security/information_protection/label_policy_settings/label_policy_settings_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[LabelPolicySettingsRequest async def get(self,request_configuration: Optional[LabelPolicySettingsRequestBuilderGetRequestConfiguration] = None) -> Optional[InformationProtectionPolicySetting]: """ - Read the properties and relationships of an informationProtectionPolicySetting object. The settings exposed by this API should be used in applications to populate the moreInfoUrl property for Microsoft Purview Information Protection help, and indicate whether labeling is mandatory for the user and whether justification must be provided on downgrade. This API is available in the following national cloud deployments. + Read the properties and relationships of an informationProtectionPolicySetting object. The settings exposed by this API should be used in applications to populate the moreInfoUrl property for Microsoft Purview Information Protection help, and indicate whether labeling is mandatory for the user and whether justification must be provided on downgrade. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InformationProtectionPolicySetting] Find more info here: https://learn.microsoft.com/graph/api/security-informationprotectionpolicysetting-get?view=graph-rest-1.0 @@ -104,12 +104,12 @@ def to_delete_request_information(self,request_configuration: Optional[LabelPoli request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LabelPolicySettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of an informationProtectionPolicySetting object. The settings exposed by this API should be used in applications to populate the moreInfoUrl property for Microsoft Purview Information Protection help, and indicate whether labeling is mandatory for the user and whether justification must be provided on downgrade. This API is available in the following national cloud deployments. + Read the properties and relationships of an informationProtectionPolicySetting object. The settings exposed by this API should be used in applications to populate the moreInfoUrl property for Microsoft Purview Information Protection help, and indicate whether labeling is mandatory for the user and whether justification must be provided on downgrade. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[LabelPolicyS request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[InformationProtectionPolicySetting] = None, request_configuration: Optional[LabelPolicySettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[InformationProtectionPolicy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -167,7 +167,7 @@ class LabelPolicySettingsRequestBuilderDeleteRequestConfiguration(BaseRequestCon @dataclass class LabelPolicySettingsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of an informationProtectionPolicySetting object. The settings exposed by this API should be used in applications to populate the moreInfoUrl property for Microsoft Purview Information Protection help, and indicate whether labeling is mandatory for the user and whether justification must be provided on downgrade. This API is available in the following national cloud deployments. + Read the properties and relationships of an informationProtectionPolicySetting object. The settings exposed by this API should be used in applications to populate the moreInfoUrl property for Microsoft Purview Information Protection help, and indicate whether labeling is mandatory for the user and whether justification must be provided on downgrade. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/item/parent/parent_request_builder.py b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/item/parent/parent_request_builder.py index 531352ebed0..daf54439f81 100644 --- a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/item/parent/parent_request_builder.py +++ b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/item/parent/parent_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[ParentReq request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ParentRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ParentReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SensitivityLabel] = None, request_configuration: Optional[ParentRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[SensitivityLabel] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/item/sensitivity_label_item_request_builder.py b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/item/sensitivity_label_item_request_builder.py index 741a2c21f5b..7afdd0a9d28 100644 --- a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/item/sensitivity_label_item_request_builder.py +++ b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/item/sensitivity_label_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Sensitivi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SensitivityLabelItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[SensitivityL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[SensitivityLabel] = None, request_configuration: Optional[SensitivityLabelItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[SensitivityLabel] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_application/microsoft_graph_security_evaluate_application_request_builder.py b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_application/microsoft_graph_security_evaluate_application_request_builder.py index 9a804f2bb33..3e3018a4046 100644 --- a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_application/microsoft_graph_security_evaluate_application_request_builder.py +++ b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_application/microsoft_graph_security_evaluate_application_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[EvaluateApplicationPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphSecurityEvaluateApplicationRequestBuilderPostRequestConfiguration] = None) -> Optional[EvaluateApplicationPostResponse]: """ - Compute the sensitivity label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set manually or explicitly by a user or service, rather than automatically based on file contents. Given contentInfo, which includes existing content metadata key-value pairs, and labelingOptions as an input, the API returns an informationProtectionAction object that contains one of more of the following: This API is available in the following national cloud deployments. + Compute the sensitivity label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set manually or explicitly by a user or service, rather than automatically based on file contents. Given contentInfo, which includes existing content metadata key-value pairs, and labelingOptions as an input, the API returns an informationProtectionAction object that contains one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EvaluateApplicationPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[EvaluateApplicationPostRequestBody] = None, r def to_post_request_information(self,body: Optional[EvaluateApplicationPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphSecurityEvaluateApplicationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Compute the sensitivity label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set manually or explicitly by a user or service, rather than automatically based on file contents. Given contentInfo, which includes existing content metadata key-value pairs, and labelingOptions as an input, the API returns an informationProtectionAction object that contains one of more of the following: This API is available in the following national cloud deployments. + Compute the sensitivity label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set manually or explicitly by a user or service, rather than automatically based on file contents. Given contentInfo, which includes existing content metadata key-value pairs, and labelingOptions as an input, the API returns an informationProtectionAction object that contains one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[EvaluateApplicationPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_classification_results/microsoft_graph_security_evaluate_classification_results_request_builder.py b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_classification_results/microsoft_graph_security_evaluate_classification_results_request_builder.py index 412d9d30a7c..5f906037696 100644 --- a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_classification_results/microsoft_graph_security_evaluate_classification_results_request_builder.py +++ b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_classification_results/microsoft_graph_security_evaluate_classification_results_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[EvaluateClassificationResultsPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphSecurityEvaluateClassificationResultsRequestBuilderPostRequestConfiguration] = None) -> Optional[EvaluateClassificationResultsPostResponse]: """ - Use the classification results to compute the sensitivity label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set automatically based on classification of the file contents, rather than labeled directly by a user or service. To evaluate based on classification results, provide the contentInfo, which includes existing content metadata key-value pairs, and classification results. The API returns an informationProtectionAction that contains one of more of the following: This API is available in the following national cloud deployments. + Use the classification results to compute the sensitivity label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set automatically based on classification of the file contents, rather than labeled directly by a user or service. To evaluate based on classification results, provide the contentInfo, which includes existing content metadata key-value pairs, and classification results. The API returns an informationProtectionAction that contains one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EvaluateClassificationResultsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[EvaluateClassificationResultsPostRequestBody] def to_post_request_information(self,body: Optional[EvaluateClassificationResultsPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphSecurityEvaluateClassificationResultsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use the classification results to compute the sensitivity label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set automatically based on classification of the file contents, rather than labeled directly by a user or service. To evaluate based on classification results, provide the contentInfo, which includes existing content metadata key-value pairs, and classification results. The API returns an informationProtectionAction that contains one of more of the following: This API is available in the following national cloud deployments. + Use the classification results to compute the sensitivity label that should be applied and return the set of actions that must be taken to correctly label the information. This API is useful when a label should be set automatically based on classification of the file contents, rather than labeled directly by a user or service. To evaluate based on classification results, provide the contentInfo, which includes existing content metadata key-value pairs, and classification results. The API returns an informationProtectionAction that contains one of more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[EvaluateClassificationResult request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_removal/microsoft_graph_security_evaluate_removal_request_builder.py b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_removal/microsoft_graph_security_evaluate_removal_request_builder.py index 314909cbf9d..40def615bd5 100644 --- a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_removal/microsoft_graph_security_evaluate_removal_request_builder.py +++ b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_evaluate_removal/microsoft_graph_security_evaluate_removal_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[EvaluateRemovalPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphSecurityEvaluateRemovalRequestBuilderPostRequestConfiguration] = None) -> Optional[EvaluateRemovalPostResponse]: """ - Indicate to the consuming application what actions it should take to remove the label information. Given contentInfo as an input, which includes existing content metadata key-value pairs, the API returns an informationProtectionAction that contains some combination of one or more of the following: This API is available in the following national cloud deployments. + Indicate to the consuming application what actions it should take to remove the label information. Given contentInfo as an input, which includes existing content metadata key-value pairs, the API returns an informationProtectionAction that contains some combination of one or more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EvaluateRemovalPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[EvaluateRemovalPostRequestBody] = None, reque def to_post_request_information(self,body: Optional[EvaluateRemovalPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphSecurityEvaluateRemovalRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Indicate to the consuming application what actions it should take to remove the label information. Given contentInfo as an input, which includes existing content metadata key-value pairs, the API returns an informationProtectionAction that contains some combination of one or more of the following: This API is available in the following national cloud deployments. + Indicate to the consuming application what actions it should take to remove the label information. Given contentInfo as an input, which includes existing content metadata key-value pairs, the API returns an informationProtectionAction that contains some combination of one or more of the following: param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[EvaluateRemovalPostRequestBo request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_extract_content_label/microsoft_graph_security_extract_content_label_request_builder.py b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_extract_content_label/microsoft_graph_security_extract_content_label_request_builder.py index 2ee8306b9fa..16367edc111 100644 --- a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_extract_content_label/microsoft_graph_security_extract_content_label_request_builder.py +++ b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/microsoft_graph_security_extract_content_label/microsoft_graph_security_extract_content_label_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ExtractContentLabelPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphSecurityExtractContentLabelRequestBuilderPostRequestConfiguration] = None) -> Optional[ContentLabel]: """ - Use the metadata that exists on an already-labeled piece of information to resolve the metadata to a specific sensitivity label. The contentInfo input is resolved to informationProtectionContentLabel. This API is available in the following national cloud deployments. + Use the metadata that exists on an already-labeled piece of information to resolve the metadata to a specific sensitivity label. The contentInfo input is resolved to informationProtectionContentLabel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentLabel] @@ -54,7 +54,7 @@ async def post(self,body: Optional[ExtractContentLabelPostRequestBody] = None, r def to_post_request_information(self,body: Optional[ExtractContentLabelPostRequestBody] = None, request_configuration: Optional[MicrosoftGraphSecurityExtractContentLabelRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Use the metadata that exists on an already-labeled piece of information to resolve the metadata to a specific sensitivity label. The contentInfo input is resolved to informationProtectionContentLabel. This API is available in the following national cloud deployments. + Use the metadata that exists on an already-labeled piece of information to resolve the metadata to a specific sensitivity label. The contentInfo input is resolved to informationProtectionContentLabel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[ExtractContentLabelPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/sensitivity_labels_request_builder.py b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/sensitivity_labels_request_builder.py index 5ed02580cf3..54e0dd9f909 100644 --- a/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/sensitivity_labels_request_builder.py +++ b/msgraph_beta/generated/users/item/security/information_protection/sensitivity_labels/sensitivity_labels_request_builder.py @@ -49,7 +49,7 @@ def by_sensitivity_label_id(self,sensitivity_label_id: str) -> SensitivityLabelI async def get(self,request_configuration: Optional[SensitivityLabelsRequestBuilderGetRequestConfiguration] = None) -> Optional[SensitivityLabelCollectionResponse]: """ - Get a list of sensitivityLabel objects associated with a user or organization. This API is available in the following national cloud deployments. + Get a list of sensitivityLabel objects associated with a user or organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SensitivityLabelCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/security-informationprotection-list-sensitivitylabels?view=graph-rest-1.0 @@ -95,7 +95,7 @@ async def post(self,body: Optional[SensitivityLabel] = None, request_configurati def to_get_request_information(self,request_configuration: Optional[SensitivityLabelsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of sensitivityLabel objects associated with a user or organization. This API is available in the following national cloud deployments. + Get a list of sensitivityLabel objects associated with a user or organization. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,7 +107,7 @@ def to_get_request_information(self,request_configuration: Optional[SensitivityL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[SensitivityLabel] = None, request_configuration: Optional[SensitivityLabelsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -126,7 +126,7 @@ def to_post_request_information(self,body: Optional[SensitivityLabel] = None, re request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -188,7 +188,7 @@ def microsoft_graph_security_extract_content_label(self) -> MicrosoftGraphSecuri @dataclass class SensitivityLabelsRequestBuilderGetQueryParameters(): """ - Get a list of sensitivityLabel objects associated with a user or organization. This API is available in the following national cloud deployments. + Get a list of sensitivityLabel objects associated with a user or organization. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/security/security_request_builder.py b/msgraph_beta/generated/users/item/security/security_request_builder.py index ef09cbfaad8..9036bd73793 100644 --- a/msgraph_beta/generated/users/item/security/security_request_builder.py +++ b/msgraph_beta/generated/users/item/security/security_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[SecurityR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SecurityRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[SecurityRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Security] = None, request_configuration: Optional[SecurityRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Security] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/send_mail/send_mail_request_builder.py b/msgraph_beta/generated/users/item/send_mail/send_mail_request_builder.py index 8e256120b0e..d8f5d2ba4ee 100644 --- a/msgraph_beta/generated/users/item/send_mail/send_mail_request_builder.py +++ b/msgraph_beta/generated/users/item/send_mail/send_mail_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SendMailPostRequestBody] = None, request_configuration: Optional[SendMailRequestBuilderPostRequestConfiguration] = None) -> None: """ - Send the message specified in the request body using either JSON or MIME format. When using JSON format, you can include an attachment and use a mention to call out another user in the new message. When using MIME format: This method saves the message in the Sent Items folder. Alternatively, create a draft message to send later. To learn more about the steps involved in the backend before a mail is delivered to recipients, see here. This API is available in the following national cloud deployments. + Send the message specified in the request body using either JSON or MIME format. When using JSON format, you can include an attachment and use a mention to call out another user in the new message. When using MIME format: This method saves the message in the Sent Items folder. Alternatively, create a draft message to send later. To learn more about the steps involved in the backend before a mail is delivered to recipients, see here. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SendMailPostRequestBody] = None, request_conf def to_post_request_information(self,body: Optional[SendMailPostRequestBody] = None, request_configuration: Optional[SendMailRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send the message specified in the request body using either JSON or MIME format. When using JSON format, you can include an attachment and use a mention to call out another user in the new message. When using MIME format: This method saves the message in the Sent Items folder. Alternatively, create a draft message to send later. To learn more about the steps involved in the backend before a mail is delivered to recipients, see here. This API is available in the following national cloud deployments. + Send the message specified in the request body using either JSON or MIME format. When using JSON format, you can include an attachment and use a mention to call out another user in the new message. When using MIME format: This method saves the message in the Sent Items folder. Alternatively, create a draft message to send later. To learn more about the steps involved in the backend before a mail is delivered to recipients, see here. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SendMailPostRequestBody] = N request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/service_provisioning_errors/service_provisioning_errors_request_builder.py b/msgraph_beta/generated/users/item/service_provisioning_errors/service_provisioning_errors_request_builder.py index 10ae5b77009..5cf8ca42eda 100644 --- a/msgraph_beta/generated/users/item/service_provisioning_errors/service_provisioning_errors_request_builder.py +++ b/msgraph_beta/generated/users/item/service_provisioning_errors/service_provisioning_errors_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> Optional[ServiceProvisioningErrorCollectionResponse]: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ServiceProvisioningErrorCollectionResponse] """ @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ServiceProvisioningErrorsRequ def to_get_request_information(self,request_configuration: Optional[ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ServiceProvi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ServiceProvisioningErrorsRequestBuilder: @@ -87,7 +87,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ServiceProvisioningErrorsRequestBuilderGetQueryParameters(): """ - Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. Supports $filter (eq, not, for isResolved and serviceInstance). + Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/settings/contact_merge_suggestions/contact_merge_suggestions_request_builder.py b/msgraph_beta/generated/users/item/settings/contact_merge_suggestions/contact_merge_suggestions_request_builder.py index 75ee8fdbd7c..ec3c5e6ba8d 100644 --- a/msgraph_beta/generated/users/item/settings/contact_merge_suggestions/contact_merge_suggestions_request_builder.py +++ b/msgraph_beta/generated/users/item/settings/contact_merge_suggestions/contact_merge_suggestions_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ContactMergeSuggestionsReq async def get(self,request_configuration: Optional[ContactMergeSuggestionsRequestBuilderGetRequestConfiguration] = None) -> Optional[ContactMergeSuggestions]: """ - Read the properties and relationships of a contactMergeSuggestions object. This API is available in the following national cloud deployments. + Read the properties and relationships of a contactMergeSuggestions object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContactMergeSuggestions] Find more info here: https://learn.microsoft.com/graph/api/contactmergesuggestions-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[ContactMergeSuggestionsReques async def patch(self,body: Optional[ContactMergeSuggestions] = None, request_configuration: Optional[ContactMergeSuggestionsRequestBuilderPatchRequestConfiguration] = None) -> Optional[ContactMergeSuggestions]: """ - Update the properties of a contactMergeSuggestions object. This API is available in the following national cloud deployments. + Update the properties of a contactMergeSuggestions object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContactMergeSuggestions] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ContactMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ContactMergeSuggestionsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a contactMergeSuggestions object. This API is available in the following national cloud deployments. + Read the properties and relationships of a contactMergeSuggestions object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[ContactMerge request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ContactMergeSuggestions] = None, request_configuration: Optional[ContactMergeSuggestionsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a contactMergeSuggestions object. This API is available in the following national cloud deployments. + Update the properties of a contactMergeSuggestions object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ContactMergeSuggestions] = request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ContactMergeSuggestionsRequestBuilderDeleteRequestConfiguration(BaseReques @dataclass class ContactMergeSuggestionsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a contactMergeSuggestions object. This API is available in the following national cloud deployments. + Read the properties and relationships of a contactMergeSuggestions object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/settings/item_insights/item_insights_request_builder.py b/msgraph_beta/generated/users/item/settings/item_insights/item_insights_request_builder.py index 3514f4bacb1..ebe524d03ab 100644 --- a/msgraph_beta/generated/users/item/settings/item_insights/item_insights_request_builder.py +++ b/msgraph_beta/generated/users/item/settings/item_insights/item_insights_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ItemInsightsRequestBuilder async def get(self,request_configuration: Optional[ItemInsightsRequestBuilderGetRequestConfiguration] = None) -> Optional[UserInsightsSettings]: """ - Get the user-customizable privacy settings for itemInsights and meeting hours insights. This API is available in the following national cloud deployments. + Get the user-customizable privacy settings for itemInsights and meeting hours insights. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserInsightsSettings] Find more info here: https://learn.microsoft.com/graph/api/userinsightssettings-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[ItemInsightsRequestBuilderGet async def patch(self,body: Optional[UserInsightsSettings] = None, request_configuration: Optional[ItemInsightsRequestBuilderPatchRequestConfiguration] = None) -> Optional[UserInsightsSettings]: """ - Update the privacy settings for itemInsights and meeting hours insights of a user. This API is available in the following national cloud deployments. + Update the privacy settings for itemInsights and meeting hours insights of a user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserInsightsSettings] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ItemInsig request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ItemInsightsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the user-customizable privacy settings for itemInsights and meeting hours insights. This API is available in the following national cloud deployments. + Get the user-customizable privacy settings for itemInsights and meeting hours insights. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[ItemInsights request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserInsightsSettings] = None, request_configuration: Optional[ItemInsightsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the privacy settings for itemInsights and meeting hours insights of a user. This API is available in the following national cloud deployments. + Update the privacy settings for itemInsights and meeting hours insights of a user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[UserInsightsSettings] = Non request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ItemInsightsRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class ItemInsightsRequestBuilderGetQueryParameters(): """ - Get the user-customizable privacy settings for itemInsights and meeting hours insights. This API is available in the following national cloud deployments. + Get the user-customizable privacy settings for itemInsights and meeting hours insights. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/settings/regional_and_language_settings/regional_and_language_settings_request_builder.py b/msgraph_beta/generated/users/item/settings/regional_and_language_settings/regional_and_language_settings_request_builder.py index 95f55037fd3..07262b9fa94 100644 --- a/msgraph_beta/generated/users/item/settings/regional_and_language_settings/regional_and_language_settings_request_builder.py +++ b/msgraph_beta/generated/users/item/settings/regional_and_language_settings/regional_and_language_settings_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[RegionalAndLanguageSetting async def get(self,request_configuration: Optional[RegionalAndLanguageSettingsRequestBuilderGetRequestConfiguration] = None) -> Optional[RegionalAndLanguageSettings]: """ - Retrieve the properties of a user's regionalAndLanguageSettings. This API is available in the following national cloud deployments. + Retrieve the properties of a user's regionalAndLanguageSettings. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RegionalAndLanguageSettings] Find more info here: https://learn.microsoft.com/graph/api/regionalandlanguagesettings-get?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[RegionalAndLanguageSettingsRe async def patch(self,body: Optional[RegionalAndLanguageSettings] = None, request_configuration: Optional[RegionalAndLanguageSettingsRequestBuilderPatchRequestConfiguration] = None) -> Optional[RegionalAndLanguageSettings]: """ - Update some or all of the properties of a regionalAndLanguageSettings object. This API is available in the following national cloud deployments. + Update some or all of the properties of a regionalAndLanguageSettings object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RegionalAndLanguageSettings] @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[RegionalA request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[RegionalAndLanguageSettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties of a user's regionalAndLanguageSettings. This API is available in the following national cloud deployments. + Retrieve the properties of a user's regionalAndLanguageSettings. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,12 +122,12 @@ def to_get_request_information(self,request_configuration: Optional[RegionalAndL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[RegionalAndLanguageSettings] = None, request_configuration: Optional[RegionalAndLanguageSettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update some or all of the properties of a regionalAndLanguageSettings object. This API is available in the following national cloud deployments. + Update some or all of the properties of a regionalAndLanguageSettings object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[RegionalAndLanguageSettings request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class RegionalAndLanguageSettingsRequestBuilderDeleteRequestConfiguration(BaseRe @dataclass class RegionalAndLanguageSettingsRequestBuilderGetQueryParameters(): """ - Retrieve the properties of a user's regionalAndLanguageSettings. This API is available in the following national cloud deployments. + Retrieve the properties of a user's regionalAndLanguageSettings. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/settings/settings_request_builder.py b/msgraph_beta/generated/users/item/settings/settings_request_builder.py index 8527b734924..c328be1c682 100644 --- a/msgraph_beta/generated/users/item/settings/settings_request_builder.py +++ b/msgraph_beta/generated/users/item/settings/settings_request_builder.py @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[SettingsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[SettingsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -124,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[SettingsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserSettings] = None, request_configuration: Optional[SettingsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -143,7 +143,7 @@ def to_patch_request_information(self,body: Optional[UserSettings] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/settings/shift_preferences/shift_preferences_request_builder.py b/msgraph_beta/generated/users/item/settings/shift_preferences/shift_preferences_request_builder.py index cf3139441b8..72fb6db3031 100644 --- a/msgraph_beta/generated/users/item/settings/shift_preferences/shift_preferences_request_builder.py +++ b/msgraph_beta/generated/users/item/settings/shift_preferences/shift_preferences_request_builder.py @@ -47,7 +47,7 @@ async def delete(self,request_configuration: Optional[ShiftPreferencesRequestBui async def get(self,request_configuration: Optional[ShiftPreferencesRequestBuilderGetRequestConfiguration] = None) -> Optional[ShiftPreferences]: """ - Retrieve the properties and relationships of a shiftPreferences object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a shiftPreferences object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ShiftPreferences] Find more info here: https://learn.microsoft.com/graph/api/shiftpreferences-get?view=graph-rest-1.0 @@ -105,12 +105,12 @@ def to_delete_request_information(self,request_configuration: Optional[ShiftPref request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ShiftPreferencesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a shiftPreferences object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a shiftPreferences object by ID. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -122,7 +122,7 @@ def to_get_request_information(self,request_configuration: Optional[ShiftPrefere request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ShiftPreferences] = None, request_configuration: Optional[ShiftPreferencesRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -141,7 +141,7 @@ def to_patch_request_information(self,body: Optional[ShiftPreferences] = None, r request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -168,7 +168,7 @@ class ShiftPreferencesRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class ShiftPreferencesRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a shiftPreferences object by ID. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of a shiftPreferences object by ID. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/sponsors/item/directory_object_item_request_builder.py b/msgraph_beta/generated/users/item/sponsors/item/directory_object_item_request_builder.py index e29f9c1b9ad..e347d5e4913 100644 --- a/msgraph_beta/generated/users/item/sponsors/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/users/item/sponsors/item/directory_object_item_request_builder.py @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[DirectoryObjectItemRequest async def get(self,request_configuration: Optional[DirectoryObjectItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - The users and groups that are responsible for this guest user's privileges in the tenant and keep the guest user's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. + The users and groups responsible for this guest user's privileges in the tenant and keep the guest user's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ @@ -80,12 +80,12 @@ def to_delete_request_information(self,request_configuration: Optional[Directory request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[DirectoryObjectItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - The users and groups that are responsible for this guest user's privileges in the tenant and keep the guest user's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. + The users and groups responsible for this guest user's privileges in the tenant and keep the guest user's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -97,7 +97,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: @@ -123,7 +123,7 @@ class DirectoryObjectItemRequestBuilderDeleteRequestConfiguration(BaseRequestCon @dataclass class DirectoryObjectItemRequestBuilderGetQueryParameters(): """ - The users and groups that are responsible for this guest user's privileges in the tenant and keep the guest user's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. + The users and groups responsible for this guest user's privileges in the tenant and keep the guest user's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/sponsors/sponsors_request_builder.py b/msgraph_beta/generated/users/item/sponsors/sponsors_request_builder.py index 4ca7d586ad9..a3e633f79a7 100644 --- a/msgraph_beta/generated/users/item/sponsors/sponsors_request_builder.py +++ b/msgraph_beta/generated/users/item/sponsors/sponsors_request_builder.py @@ -44,7 +44,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem async def get(self,request_configuration: Optional[SponsorsRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryObjectCollectionResponse]: """ - Get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. This API is available in the following national cloud deployments. + Get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/user-list-sponsors?view=graph-rest-1.0 @@ -66,7 +66,7 @@ async def get(self,request_configuration: Optional[SponsorsRequestBuilderGetRequ def to_get_request_information(self,request_configuration: Optional[SponsorsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. This API is available in the following national cloud deployments. + Get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -78,7 +78,7 @@ def to_get_request_information(self,request_configuration: Optional[SponsorsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> SponsorsRequestBuilder: @@ -103,7 +103,7 @@ def count(self) -> CountRequestBuilder: @dataclass class SponsorsRequestBuilderGetQueryParameters(): """ - Get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. This API is available in the following national cloud deployments. + Get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/teamwork/associated_teams/associated_teams_request_builder.py b/msgraph_beta/generated/users/item/teamwork/associated_teams/associated_teams_request_builder.py index c17b96f20fd..1bff61abb4b 100644 --- a/msgraph_beta/generated/users/item/teamwork/associated_teams/associated_teams_request_builder.py +++ b/msgraph_beta/generated/users/item/teamwork/associated_teams/associated_teams_request_builder.py @@ -45,7 +45,7 @@ def by_associated_team_info_id(self,associated_team_info_id: str) -> AssociatedT async def get(self,request_configuration: Optional[AssociatedTeamsRequestBuilderGetRequestConfiguration] = None) -> Optional[AssociatedTeamInfoCollectionResponse]: """ - Get the list of teams in Microsoft Teams that a user is associated with.Currently, a user can be associated with a team in two different ways:* A user can be a direct member of a team.* A user can be a member of a shared channel that is hosted inside a team. This API is available in the following national cloud deployments. + Get the list of teams in Microsoft Teams that a user is associated with.Currently, a user can be associated with a team in two different ways:* A user can be a direct member of a team.* A user can be a member of a shared channel that is hosted inside a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AssociatedTeamInfoCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/associatedteaminfo-list?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[AssociatedTeamInfo] = None, request_configura def to_get_request_information(self,request_configuration: Optional[AssociatedTeamsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the list of teams in Microsoft Teams that a user is associated with.Currently, a user can be associated with a team in two different ways:* A user can be a direct member of a team.* A user can be a member of a shared channel that is hosted inside a team. This API is available in the following national cloud deployments. + Get the list of teams in Microsoft Teams that a user is associated with.Currently, a user can be associated with a team in two different ways:* A user can be a direct member of a team.* A user can be a member of a shared channel that is hosted inside a team. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[AssociatedTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AssociatedTeamInfo] = None, request_configuration: Optional[AssociatedTeamsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[AssociatedTeamInfo] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AssociatedTeamsRequestBuilderGetQueryParameters(): """ - Get the list of teams in Microsoft Teams that a user is associated with.Currently, a user can be associated with a team in two different ways:* A user can be a direct member of a team.* A user can be a member of a shared channel that is hosted inside a team. This API is available in the following national cloud deployments. + Get the list of teams in Microsoft Teams that a user is associated with.Currently, a user can be associated with a team in two different ways:* A user can be a direct member of a team.* A user can be a member of a shared channel that is hosted inside a team. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/teamwork/associated_teams/item/associated_team_info_item_request_builder.py b/msgraph_beta/generated/users/item/teamwork/associated_teams/item/associated_team_info_item_request_builder.py index fd7808a5b49..43879534993 100644 --- a/msgraph_beta/generated/users/item/teamwork/associated_teams/item/associated_team_info_item_request_builder.py +++ b/msgraph_beta/generated/users/item/teamwork/associated_teams/item/associated_team_info_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Associate request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AssociatedTeamInfoItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AssociatedTe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AssociatedTeamInfo] = None, request_configuration: Optional[AssociatedTeamInfoItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AssociatedTeamInfo] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/teamwork/associated_teams/item/team/team_request_builder.py b/msgraph_beta/generated/users/item/teamwork/associated_teams/item/team/team_request_builder.py index e531aa49ca4..1e416e036d7 100644 --- a/msgraph_beta/generated/users/item/teamwork/associated_teams/item/team/team_request_builder.py +++ b/msgraph_beta/generated/users/item/teamwork/associated_teams/item/team/team_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamRequestBuilder: diff --git a/msgraph_beta/generated/users/item/teamwork/installed_apps/installed_apps_request_builder.py b/msgraph_beta/generated/users/item/teamwork/installed_apps/installed_apps_request_builder.py index d9683308d6e..b6d58ddb700 100644 --- a/msgraph_beta/generated/users/item/teamwork/installed_apps/installed_apps_request_builder.py +++ b/msgraph_beta/generated/users/item/teamwork/installed_apps/installed_apps_request_builder.py @@ -45,7 +45,7 @@ def by_user_scope_teams_app_installation_id(self,user_scope_teams_app_installati async def get(self,request_configuration: Optional[InstalledAppsRequestBuilderGetRequestConfiguration] = None) -> Optional[UserScopeTeamsAppInstallationCollectionResponse]: """ - Retrieve the list of apps installed in the personal scope of the specified user. This API is available in the following national cloud deployments. + Retrieve the list of apps installed in the personal scope of the specified user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserScopeTeamsAppInstallationCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/userteamwork-list-installedapps?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[InstalledAppsRequestBuilderGe async def post(self,body: Optional[UserScopeTeamsAppInstallation] = None, request_configuration: Optional[InstalledAppsRequestBuilderPostRequestConfiguration] = None) -> Optional[UserScopeTeamsAppInstallation]: """ - Install an app in the personal scope of the specified user. This API is available in the following national cloud deployments. + Install an app in the personal scope of the specified user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserScopeTeamsAppInstallation] @@ -92,7 +92,7 @@ async def post(self,body: Optional[UserScopeTeamsAppInstallation] = None, reques def to_get_request_information(self,request_configuration: Optional[InstalledAppsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the list of apps installed in the personal scope of the specified user. This API is available in the following national cloud deployments. + Retrieve the list of apps installed in the personal scope of the specified user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[InstalledApp request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UserScopeTeamsAppInstallation] = None, request_configuration: Optional[InstalledAppsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Install an app in the personal scope of the specified user. This API is available in the following national cloud deployments. + Install an app in the personal scope of the specified user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[UserScopeTeamsAppInstallatio request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class InstalledAppsRequestBuilderGetQueryParameters(): """ - Retrieve the list of apps installed in the personal scope of the specified user. This API is available in the following national cloud deployments. + Retrieve the list of apps installed in the personal scope of the specified user. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/teamwork/installed_apps/item/chat/chat_request_builder.py b/msgraph_beta/generated/users/item/teamwork/installed_apps/item/chat/chat_request_builder.py index c2a53343d28..477f3cbacff 100644 --- a/msgraph_beta/generated/users/item/teamwork/installed_apps/item/chat/chat_request_builder.py +++ b/msgraph_beta/generated/users/item/teamwork/installed_apps/item/chat/chat_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[ChatRequestBuilderGetRequestConfiguration] = None) -> Optional[Chat]: """ - Retrieve the chat of the specified user and Teams app. This API is available in the following national cloud deployments. + Retrieve the chat of the specified user and Teams app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Chat] Find more info here: https://learn.microsoft.com/graph/api/userscopeteamsappinstallation-get-chat?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def get(self,request_configuration: Optional[ChatRequestBuilderGetRequestC def to_get_request_information(self,request_configuration: Optional[ChatRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the chat of the specified user and Teams app. This API is available in the following national cloud deployments. + Retrieve the chat of the specified user and Teams app. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[ChatRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> ChatRequestBuilder: @@ -78,7 +78,7 @@ def with_url(self,raw_url: Optional[str] = None) -> ChatRequestBuilder: @dataclass class ChatRequestBuilderGetQueryParameters(): """ - Retrieve the chat of the specified user and Teams app. This API is available in the following national cloud deployments. + Retrieve the chat of the specified user and Teams app. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/teamwork/installed_apps/item/teams_app/teams_app_request_builder.py b/msgraph_beta/generated/users/item/teamwork/installed_apps/item/teams_app/teams_app_request_builder.py index 74a4df2be23..44147b58b95 100644 --- a/msgraph_beta/generated/users/item/teamwork/installed_apps/item/teams_app/teams_app_request_builder.py +++ b/msgraph_beta/generated/users/item/teamwork/installed_apps/item/teams_app/teams_app_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamsAppRequestBuilder: diff --git a/msgraph_beta/generated/users/item/teamwork/installed_apps/item/teams_app_definition/teams_app_definition_request_builder.py b/msgraph_beta/generated/users/item/teamwork/installed_apps/item/teams_app_definition/teams_app_definition_request_builder.py index fbf7f50f78e..0c96a48710f 100644 --- a/msgraph_beta/generated/users/item/teamwork/installed_apps/item/teams_app_definition/teams_app_definition_request_builder.py +++ b/msgraph_beta/generated/users/item/teamwork/installed_apps/item/teams_app_definition/teams_app_definition_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamsAppDefi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TeamsAppDefinitionRequestBuilder: diff --git a/msgraph_beta/generated/users/item/teamwork/installed_apps/item/user_scope_teams_app_installation_item_request_builder.py b/msgraph_beta/generated/users/item/teamwork/installed_apps/item/user_scope_teams_app_installation_item_request_builder.py index fb2fda53baf..ad1771ae8c0 100644 --- a/msgraph_beta/generated/users/item/teamwork/installed_apps/item/user_scope_teams_app_installation_item_request_builder.py +++ b/msgraph_beta/generated/users/item/teamwork/installed_apps/item/user_scope_teams_app_installation_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[UserScopeTeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Uninstall an app from the personal scope of the specified user. This API is available in the following national cloud deployments. + Uninstall an app from the personal scope of the specified user. 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/userteamwork-delete-installedapps?view=graph-rest-1.0 @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[UserScopeTeamsAppInstallat async def get(self,request_configuration: Optional[UserScopeTeamsAppInstallationItemRequestBuilderGetRequestConfiguration] = None) -> Optional[UserScopeTeamsAppInstallation]: """ - Retrieve the app installed in the personal scope of the specified user. This API is available in the following national cloud deployments. + Retrieve the app installed in the personal scope of the specified user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserScopeTeamsAppInstallation] Find more info here: https://learn.microsoft.com/graph/api/userteamwork-get-installedapps?view=graph-rest-1.0 @@ -97,7 +97,7 @@ async def patch(self,body: Optional[UserScopeTeamsAppInstallation] = None, reque def to_delete_request_information(self,request_configuration: Optional[UserScopeTeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Uninstall an app from the personal scope of the specified user. This API is available in the following national cloud deployments. + Uninstall an app from the personal scope of the specified user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[UserScope request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserScopeTeamsAppInstallationItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the app installed in the personal scope of the specified user. This API is available in the following national cloud deployments. + Retrieve the app installed in the personal scope of the specified user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_get_request_information(self,request_configuration: Optional[UserScopeTea request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserScopeTeamsAppInstallation] = None, request_configuration: Optional[UserScopeTeamsAppInstallationItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[UserScopeTeamsAppInstallati request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -198,7 +198,7 @@ class UserScopeTeamsAppInstallationItemRequestBuilderDeleteRequestConfiguration( @dataclass class UserScopeTeamsAppInstallationItemRequestBuilderGetQueryParameters(): """ - Retrieve the app installed in the personal scope of the specified user. This API is available in the following national cloud deployments. + Retrieve the app installed in the personal scope of the specified user. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/teamwork/send_activity_notification/send_activity_notification_request_builder.py b/msgraph_beta/generated/users/item/teamwork/send_activity_notification/send_activity_notification_request_builder.py index da0c9d4652a..478dc6af39e 100644 --- a/msgraph_beta/generated/users/item/teamwork/send_activity_notification/send_activity_notification_request_builder.py +++ b/msgraph_beta/generated/users/item/teamwork/send_activity_notification/send_activity_notification_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[SendActivityNotificationPostRequestBody] = None, request_configuration: Optional[SendActivityNotificationRequestBuilderPostRequestConfiguration] = None) -> None: """ - Send an activity feed notification to a user. For more information, see sending Teams activity notifications. This API is available in the following national cloud deployments. + Send an activity feed notification to a user. For more information, see sending Teams activity notifications. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[SendActivityNotificationPostRequestBody] = No def to_post_request_information(self,body: Optional[SendActivityNotificationPostRequestBody] = None, request_configuration: Optional[SendActivityNotificationRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Send an activity feed notification to a user. For more information, see sending Teams activity notifications. This API is available in the following national cloud deployments. + Send an activity feed notification to a user. For more information, see sending Teams activity notifications. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[SendActivityNotificationPost request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/teamwork/teamwork_request_builder.py b/msgraph_beta/generated/users/item/teamwork/teamwork_request_builder.py index dddd34ae5fa..6b1b6bc74c6 100644 --- a/msgraph_beta/generated/users/item/teamwork/teamwork_request_builder.py +++ b/msgraph_beta/generated/users/item/teamwork/teamwork_request_builder.py @@ -50,9 +50,10 @@ async def delete(self,request_configuration: Optional[TeamworkRequestBuilderDele async def get(self,request_configuration: Optional[TeamworkRequestBuilderGetRequestConfiguration] = None) -> Optional[UserTeamwork]: """ - A container for Microsoft Teams features available for the user. Read-only. Nullable. + Get the userTeamwork settings for a specified user, which includes the Microsoft Teams region and the locale chosen by the user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserTeamwork] + Find more info here: https://learn.microsoft.com/graph/api/userteamwork-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -106,12 +107,12 @@ def to_delete_request_information(self,request_configuration: Optional[TeamworkR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TeamworkRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - A container for Microsoft Teams features available for the user. Read-only. Nullable. + Get the userTeamwork settings for a specified user, which includes the Microsoft Teams region and the locale chosen by the user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,7 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[TeamworkRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserTeamwork] = None, request_configuration: Optional[TeamworkRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -142,7 +143,7 @@ def to_patch_request_information(self,body: Optional[UserTeamwork] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -196,7 +197,7 @@ class TeamworkRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class TeamworkRequestBuilderGetQueryParameters(): """ - A container for Microsoft Teams features available for the user. Read-only. Nullable. + Get the userTeamwork settings for a specified user, which includes the Microsoft Teams region and the locale chosen by the user. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/todo/lists/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/delta/delta_request_builder.py index 3b066fdfabc..927a92a6205 100644 --- a/msgraph_beta/generated/users/item/todo/lists/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/users/item/todo/lists/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/item/extensions/extensions_request_builder.py index e2e400ebf77..2bf6435ef8f 100644 --- a/msgraph_beta/generated/users/item/todo/lists/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/item/extensions/extensions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/todo/lists/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/item/extensions/item/extension_item_request_builder.py index 5a0552b8a6e..1e6fb7553b9 100644 --- a/msgraph_beta/generated/users/item/todo/lists/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/item/extensions/item/extension_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/todo/lists/item/tasks/delta/delta_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/item/tasks/delta/delta_request_builder.py index 678d372969c..bda127bf4cd 100644 --- a/msgraph_beta/generated/users/item/todo/lists/item/tasks/delta/delta_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/item/tasks/delta/delta_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DeltaRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DeltaRequestBuilder: diff --git a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachment_sessions/attachment_sessions_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachment_sessions/attachment_sessions_request_builder.py index e64fe1f4a92..f41a295c92d 100644 --- a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachment_sessions/attachment_sessions_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachment_sessions/attachment_sessions_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentSe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentSessionsRequestBuilder: diff --git a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachment_sessions/item/attachment_session_item_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachment_sessions/item/attachment_session_item_request_builder.py index f02b23db554..84b6d35148e 100644 --- a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachment_sessions/item/attachment_session_item_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachment_sessions/item/attachment_session_item_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentSessionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentSe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[AttachmentSession] = None, request_configuration: Optional[AttachmentSessionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[AttachmentSession] = None, request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachment_sessions/item/content/content_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachment_sessions/item/content/content_request_builder.py index dd088677aea..68dd13a0a21 100644 --- a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachment_sessions/item/content/content_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachment_sessions/item/content/content_request_builder.py @@ -82,7 +82,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -101,7 +101,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachments/attachments_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachments/attachments_request_builder.py index 159b5a318fa..1f2db351081 100644 --- a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachments/attachments_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachments/attachments_request_builder.py @@ -46,7 +46,7 @@ def by_attachment_base_id(self,attachment_base_id: str) -> AttachmentBaseItemReq async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentBaseCollectionResponse]: """ - Get a list of the taskFileAttachment objects and their properties. The contentBytes property will not be returned in the response. Use the Get attachment API to view the contentBytes. This API is available in the following national cloud deployments. + Get a list of the taskFileAttachment objects and their properties. The contentBytes property will not be returned in the response. Use the Get attachment API to view the contentBytes. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentBaseCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/todotask-list-attachments?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[AttachmentsRequestBuilderGetR async def post(self,body: Optional[AttachmentBase] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> Optional[AttachmentBase]: """ - Add a new taskFileAttachment object to a todoTask. This operation limits the size of the attachment you can add to under 3 MB. If the size of the file attachments is more than 3 MB, create an upload session to upload the attachments. This API is available in the following national cloud deployments. + Add a new taskFileAttachment object to a todoTask. This operation limits the size of the attachment you can add to under 3 MB. If the size of the file attachments is more than 3 MB, create an upload session to upload the attachments. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentBase] @@ -93,7 +93,7 @@ async def post(self,body: Optional[AttachmentBase] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[AttachmentsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the taskFileAttachment objects and their properties. The contentBytes property will not be returned in the response. Use the Get attachment API to view the contentBytes. This API is available in the following national cloud deployments. + Get a list of the taskFileAttachment objects and their properties. The contentBytes property will not be returned in the response. Use the Get attachment API to view the contentBytes. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[AttachmentBase] = None, request_configuration: Optional[AttachmentsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Add a new taskFileAttachment object to a todoTask. This operation limits the size of the attachment you can add to under 3 MB. If the size of the file attachments is more than 3 MB, create an upload session to upload the attachments. This API is available in the following national cloud deployments. + Add a new taskFileAttachment object to a todoTask. This operation limits the size of the attachment you can add to under 3 MB. If the size of the file attachments is more than 3 MB, create an upload session to upload the attachments. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[AttachmentBase] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def create_upload_session(self) -> CreateUploadSessionRequestBuilder: @dataclass class AttachmentsRequestBuilderGetQueryParameters(): """ - Get a list of the taskFileAttachment objects and their properties. The contentBytes property will not be returned in the response. Use the Get attachment API to view the contentBytes. This API is available in the following national cloud deployments. + Get a list of the taskFileAttachment objects and their properties. The contentBytes property will not be returned in the response. Use the Get attachment API to view the contentBytes. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.py index cdcbbdfb4c7..71047dc04d1 100644 --- a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> Optional[UploadSession]: """ - Create an upload session to iteratively upload ranges of a file as an attachment to a todoTask. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. The request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows the transfer to be resumed, in case the network connection is dropped during the upload. The following are the steps to attach a file to a Microsoft To Do task using an upload session: For an example that describes the end-to-end attachment process, see attach files to a To Do task. This API is available in the following national cloud deployments. + Create an upload session to iteratively upload ranges of a file as an attachment to a todoTask. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. The request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows the transfer to be resumed, in case the network connection is dropped during the upload. The following are the steps to attach a file to a Microsoft To Do task using an upload session: For an example that describes the end-to-end attachment process, see attach files to a To Do task. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UploadSession] @@ -54,7 +54,7 @@ async def post(self,body: Optional[CreateUploadSessionPostRequestBody] = None, r def to_post_request_information(self,body: Optional[CreateUploadSessionPostRequestBody] = None, request_configuration: Optional[CreateUploadSessionRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create an upload session to iteratively upload ranges of a file as an attachment to a todoTask. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. The request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows the transfer to be resumed, in case the network connection is dropped during the upload. The following are the steps to attach a file to a Microsoft To Do task using an upload session: For an example that describes the end-to-end attachment process, see attach files to a To Do task. This API is available in the following national cloud deployments. + Create an upload session to iteratively upload ranges of a file as an attachment to a todoTask. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. The request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows the transfer to be resumed, in case the network connection is dropped during the upload. The following are the steps to attach a file to a Microsoft To Do task using an upload session: For an example that describes the end-to-end attachment process, see attach files to a To Do task. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[CreateUploadSessionPostReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachments/item/attachment_base_item_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachments/item/attachment_base_item_request_builder.py index d5205f623a5..0e6931a9d17 100644 --- a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachments/item/attachment_base_item_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachments/item/attachment_base_item_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[AttachmentBaseItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a taskFileAttachment object from a todoTask resource. This API is available in the following national cloud deployments. + Delete a taskFileAttachment object from a todoTask resource. 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/taskfileattachment-delete?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def delete(self,request_configuration: Optional[AttachmentBaseItemRequestB async def get(self,request_configuration: Optional[AttachmentBaseItemRequestBuilderGetRequestConfiguration] = None) -> Optional[AttachmentBase]: """ - Read the properties and relationships of a taskFileAttachment object. This API is available in the following national cloud deployments. + Read the properties and relationships of a taskFileAttachment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AttachmentBase] Find more info here: https://learn.microsoft.com/graph/api/taskfileattachment-get?view=graph-rest-1.0 @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[AttachmentBaseItemRequestBuil def to_delete_request_information(self,request_configuration: Optional[AttachmentBaseItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a taskFileAttachment object from a todoTask resource. This API is available in the following national cloud deployments. + Delete a taskFileAttachment object from a todoTask resource. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -82,12 +82,12 @@ def to_delete_request_information(self,request_configuration: Optional[Attachmen request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[AttachmentBaseItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a taskFileAttachment object. This API is available in the following national cloud deployments. + Read the properties and relationships of a taskFileAttachment object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -99,7 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[AttachmentBa request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> AttachmentBaseItemRequestBuilder: @@ -134,7 +134,7 @@ class AttachmentBaseItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class AttachmentBaseItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a taskFileAttachment object. This API is available in the following national cloud deployments. + Read the properties and relationships of a taskFileAttachment object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachments/item/value/content_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachments/item/value/content_request_builder.py index cb760f4bdfe..f21bd594ac9 100644 --- a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachments/item/value/content_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/attachments/item/value/content_request_builder.py @@ -80,7 +80,7 @@ def to_get_request_information(self,request_configuration: Optional[ContentReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/octet-stream, application/json, application/json") + request_info.headers.try_add("Accept", "application/octet-stream, application/json") return request_info def to_put_request_information(self,body: bytes, request_configuration: Optional[ContentRequestBuilderPutRequestConfiguration] = None) -> RequestInformation: @@ -99,7 +99,7 @@ def to_put_request_information(self,body: bytes, request_configuration: Optional request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PUT - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_stream_content(body, "application/octet-stream") return request_info diff --git a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/checklist_items/checklist_items_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/checklist_items/checklist_items_request_builder.py index 62eb69250cd..ce653abb01f 100644 --- a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/checklist_items/checklist_items_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/checklist_items/checklist_items_request_builder.py @@ -45,7 +45,7 @@ def by_checklist_item_id(self,checklist_item_id: str) -> ChecklistItemItemReques async def get(self,request_configuration: Optional[ChecklistItemsRequestBuilderGetRequestConfiguration] = None) -> Optional[ChecklistItemCollectionResponse]: """ - Get the checklistItem resources associated to the checklistItems navigation property of a todoTask. This API is available in the following national cloud deployments. + Get the checklistItem resources associated to the checklistItems navigation property of a todoTask. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChecklistItemCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/todotask-list-checklistitems?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[ChecklistItemsRequestBuilderG async def post(self,body: Optional[ChecklistItem] = None, request_configuration: Optional[ChecklistItemsRequestBuilderPostRequestConfiguration] = None) -> Optional[ChecklistItem]: """ - Create a new checklistItem object as a subtask in a bigger todoTask. This API is available in the following national cloud deployments. + Create a new checklistItem object as a subtask in a bigger todoTask. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChecklistItem] @@ -92,7 +92,7 @@ async def post(self,body: Optional[ChecklistItem] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[ChecklistItemsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the checklistItem resources associated to the checklistItems navigation property of a todoTask. This API is available in the following national cloud deployments. + Get the checklistItem resources associated to the checklistItems navigation property of a todoTask. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[ChecklistIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[ChecklistItem] = None, request_configuration: Optional[ChecklistItemsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new checklistItem object as a subtask in a bigger todoTask. This API is available in the following national cloud deployments. + Create a new checklistItem object as a subtask in a bigger todoTask. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[ChecklistItem] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ChecklistItemsRequestBuilderGetQueryParameters(): """ - Get the checklistItem resources associated to the checklistItems navigation property of a todoTask. This API is available in the following national cloud deployments. + Get the checklistItem resources associated to the checklistItems navigation property of a todoTask. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/checklist_items/item/checklist_item_item_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/checklist_items/item/checklist_item_item_request_builder.py index 855b6168951..5ee365560f2 100644 --- a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/checklist_items/item/checklist_item_item_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/checklist_items/item/checklist_item_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[ChecklistItemItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete a checklistItem object. This API is available in the following national cloud deployments. + Delete a checklistItem object. 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/checklistitem-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[ChecklistItemItemRequestBu async def get(self,request_configuration: Optional[ChecklistItemItemRequestBuilderGetRequestConfiguration] = None) -> Optional[ChecklistItem]: """ - Read the properties and relationships of a checklistItem object. This API is available in the following national cloud deployments. + Read the properties and relationships of a checklistItem object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChecklistItem] Find more info here: https://learn.microsoft.com/graph/api/checklistitem-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[ChecklistItemItemRequestBuild async def patch(self,body: Optional[ChecklistItem] = None, request_configuration: Optional[ChecklistItemItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[ChecklistItem]: """ - Update the properties of a checklistItem object. This API is available in the following national cloud deployments. + Update the properties of a checklistItem object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChecklistItem] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[ChecklistItem] = None, request_configuration def to_delete_request_information(self,request_configuration: Optional[ChecklistItemItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete a checklistItem object. This API is available in the following national cloud deployments. + Delete a checklistItem object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[Checklist request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ChecklistItemItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a checklistItem object. This API is available in the following national cloud deployments. + Read the properties and relationships of a checklistItem object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[ChecklistIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[ChecklistItem] = None, request_configuration: Optional[ChecklistItemItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a checklistItem object. This API is available in the following national cloud deployments. + Update the properties of a checklistItem object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[ChecklistItem] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class ChecklistItemItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfi @dataclass class ChecklistItemItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a checklistItem object. This API is available in the following national cloud deployments. + Read the properties and relationships of a checklistItem object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/extensions/extensions_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/extensions/extensions_request_builder.py index 3bcdb427f4c..9c4b3707d60 100644 --- a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/extensions/extensions_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/extensions/extensions_request_builder.py @@ -102,7 +102,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionsRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_post_request_information(self,body: Optional[Extension] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/extensions/item/extension_item_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/extensions/item/extension_item_request_builder.py index c57cece981a..c61b39f9f59 100644 --- a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/extensions/item/extension_item_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/extensions/item/extension_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[Extension request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[ExtensionItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[ExtensionIte request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Extension] = None, request_configuration: Optional[ExtensionItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[Extension] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/linked_resources/item/linked_resource_item_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/linked_resources/item/linked_resource_item_request_builder.py index 9aae15431ae..82689c6bb21 100644 --- a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/linked_resources/item/linked_resource_item_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/linked_resources/item/linked_resource_item_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[LinkedResourceItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes a linkedResource object. This API is available in the following national cloud deployments. + Deletes a linkedResource object. 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/linkedresource-delete?view=graph-rest-1.0 @@ -48,7 +48,7 @@ async def delete(self,request_configuration: Optional[LinkedResourceItemRequestB async def get(self,request_configuration: Optional[LinkedResourceItemRequestBuilderGetRequestConfiguration] = None) -> Optional[LinkedResource]: """ - Read the properties and relationships of a linkedResource object. This API is available in the following national cloud deployments. + Read the properties and relationships of a linkedResource object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LinkedResource] Find more info here: https://learn.microsoft.com/graph/api/linkedresource-get?view=graph-rest-1.0 @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[LinkedResourceItemRequestBuil async def patch(self,body: Optional[LinkedResource] = None, request_configuration: Optional[LinkedResourceItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[LinkedResource]: """ - Update the properties of a linkedResource object. This API is available in the following national cloud deployments. + Update the properties of a linkedResource object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LinkedResource] @@ -95,7 +95,7 @@ async def patch(self,body: Optional[LinkedResource] = None, request_configuratio def to_delete_request_information(self,request_configuration: Optional[LinkedResourceItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes a linkedResource object. This API is available in the following national cloud deployments. + Deletes a linkedResource object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -106,12 +106,12 @@ def to_delete_request_information(self,request_configuration: Optional[LinkedRes request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[LinkedResourceItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a linkedResource object. This API is available in the following national cloud deployments. + Read the properties and relationships of a linkedResource object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -123,12 +123,12 @@ def to_get_request_information(self,request_configuration: Optional[LinkedResour request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[LinkedResource] = None, request_configuration: Optional[LinkedResourceItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a linkedResource object. This API is available in the following national cloud deployments. + Update the properties of a linkedResource object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -142,7 +142,7 @@ def to_patch_request_information(self,body: Optional[LinkedResource] = None, req request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -169,7 +169,7 @@ class LinkedResourceItemRequestBuilderDeleteRequestConfiguration(BaseRequestConf @dataclass class LinkedResourceItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a linkedResource object. This API is available in the following national cloud deployments. + Read the properties and relationships of a linkedResource object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/linked_resources/linked_resources_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/linked_resources/linked_resources_request_builder.py index 2a452566b1e..b9a2075d2b9 100644 --- a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/linked_resources/linked_resources_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/linked_resources/linked_resources_request_builder.py @@ -45,7 +45,7 @@ def by_linked_resource_id(self,linked_resource_id: str) -> LinkedResourceItemReq async def get(self,request_configuration: Optional[LinkedResourcesRequestBuilderGetRequestConfiguration] = None) -> Optional[LinkedResourceCollectionResponse]: """ - Get information of one or more items in a partner application, based on which a specified task was created. The information is represented in a linkedResource object for each item. It includes an external ID for the item in the partner application, and if applicable, a deep link to that item in the application. This API is available in the following national cloud deployments. + Get information of one or more items in a partner application, based on which a specified task was created. The information is represented in a linkedResource object for each item. It includes an external ID for the item in the partner application, and if applicable, a deep link to that item in the application. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LinkedResourceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/todotask-list-linkedresources?view=graph-rest-1.0 @@ -67,7 +67,7 @@ async def get(self,request_configuration: Optional[LinkedResourcesRequestBuilder async def post(self,body: Optional[LinkedResource] = None, request_configuration: Optional[LinkedResourcesRequestBuilderPostRequestConfiguration] = None) -> Optional[LinkedResource]: """ - Create a linkedResource object to associate a specified task with an item in a partner application. For example, you can associate a task with an email item in Outlook that spurred the task, and you can create a linkedResource object to track its association. You can also create a linkedResource object while creating a todoTask. This API is available in the following national cloud deployments. + Create a linkedResource object to associate a specified task with an item in a partner application. For example, you can associate a task with an email item in Outlook that spurred the task, and you can create a linkedResource object to track its association. You can also create a linkedResource object while creating a todoTask. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[LinkedResource] @@ -92,7 +92,7 @@ async def post(self,body: Optional[LinkedResource] = None, request_configuration def to_get_request_information(self,request_configuration: Optional[LinkedResourcesRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get information of one or more items in a partner application, based on which a specified task was created. The information is represented in a linkedResource object for each item. It includes an external ID for the item in the partner application, and if applicable, a deep link to that item in the application. This API is available in the following national cloud deployments. + Get information of one or more items in a partner application, based on which a specified task was created. The information is represented in a linkedResource object for each item. It includes an external ID for the item in the partner application, and if applicable, a deep link to that item in the application. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,12 +104,12 @@ def to_get_request_information(self,request_configuration: Optional[LinkedResour request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[LinkedResource] = None, request_configuration: Optional[LinkedResourcesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a linkedResource object to associate a specified task with an item in a partner application. For example, you can associate a task with an email item in Outlook that spurred the task, and you can create a linkedResource object to track its association. You can also create a linkedResource object while creating a todoTask. This API is available in the following national cloud deployments. + Create a linkedResource object to associate a specified task with an item in a partner application. For example, you can associate a task with an email item in Outlook that spurred the task, and you can create a linkedResource object to track its association. You can also create a linkedResource object while creating a todoTask. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -123,7 +123,7 @@ def to_post_request_information(self,body: Optional[LinkedResource] = None, requ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -149,7 +149,7 @@ def count(self) -> CountRequestBuilder: @dataclass class LinkedResourcesRequestBuilderGetQueryParameters(): """ - Get information of one or more items in a partner application, based on which a specified task was created. The information is represented in a linkedResource object for each item. It includes an external ID for the item in the partner application, and if applicable, a deep link to that item in the application. This API is available in the following national cloud deployments. + Get information of one or more items in a partner application, based on which a specified task was created. The information is represented in a linkedResource object for each item. It includes an external ID for the item in the partner application, and if applicable, a deep link to that item in the application. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/todo_task_item_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/todo_task_item_request_builder.py index 392b1868710..2079361885d 100644 --- a/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/todo_task_item_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/item/tasks/item/todo_task_item_request_builder.py @@ -33,7 +33,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TodoTaskItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes a todoTask object. This API is available in the following national cloud deployments. + Deletes a todoTask object. 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/todotask-delete?view=graph-rest-1.0 @@ -53,7 +53,7 @@ async def delete(self,request_configuration: Optional[TodoTaskItemRequestBuilder async def get(self,request_configuration: Optional[TodoTaskItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TodoTask]: """ - Read the properties and relationships of a todoTask object. This API is available in the following national cloud deployments. + Read the properties and relationships of a todoTask object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TodoTask] Find more info here: https://learn.microsoft.com/graph/api/todotask-get?view=graph-rest-1.0 @@ -75,7 +75,7 @@ async def get(self,request_configuration: Optional[TodoTaskItemRequestBuilderGet async def patch(self,body: Optional[TodoTask] = None, request_configuration: Optional[TodoTaskItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[TodoTask]: """ - Update the properties of a todoTask object. This API is available in the following national cloud deployments. + Update the properties of a todoTask object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TodoTask] @@ -100,7 +100,7 @@ async def patch(self,body: Optional[TodoTask] = None, request_configuration: Opt def to_delete_request_information(self,request_configuration: Optional[TodoTaskItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes a todoTask object. This API is available in the following national cloud deployments. + Deletes a todoTask object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -111,12 +111,12 @@ def to_delete_request_information(self,request_configuration: Optional[TodoTaskI request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TodoTaskItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a todoTask object. This API is available in the following national cloud deployments. + Read the properties and relationships of a todoTask object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -128,12 +128,12 @@ def to_get_request_information(self,request_configuration: Optional[TodoTaskItem request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TodoTask] = None, request_configuration: Optional[TodoTaskItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a todoTask object. This API is available in the following national cloud deployments. + Update the properties of a todoTask object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -147,7 +147,7 @@ def to_patch_request_information(self,body: Optional[TodoTask] = None, request_c request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -219,7 +219,7 @@ class TodoTaskItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfigurat @dataclass class TodoTaskItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a todoTask object. This API is available in the following national cloud deployments. + Read the properties and relationships of a todoTask object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/todo/lists/item/tasks/tasks_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/item/tasks/tasks_request_builder.py index 4ec7a98d651..90e5b6d5ca0 100644 --- a/msgraph_beta/generated/users/item/todo/lists/item/tasks/tasks_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/item/tasks/tasks_request_builder.py @@ -46,7 +46,7 @@ def by_todo_task_id(self,todo_task_id: str) -> TodoTaskItemRequestBuilder: async def get(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> Optional[TodoTaskCollectionResponse]: """ - Get the todoTask resources from the tasks navigation property of a specified todoTaskList. This API is available in the following national cloud deployments. + Get the todoTask resources from the tasks navigation property of a specified todoTaskList. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TodoTaskCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/todotasklist-list-tasks?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[TasksRequestBuilderGetRequest async def post(self,body: Optional[TodoTask] = None, request_configuration: Optional[TasksRequestBuilderPostRequestConfiguration] = None) -> Optional[TodoTask]: """ - Create a new task object in a specified todoTaskList. This API is available in the following national cloud deployments. + Create a new task object in a specified todoTaskList. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TodoTask] @@ -93,7 +93,7 @@ async def post(self,body: Optional[TodoTask] = None, request_configuration: Opti def to_get_request_information(self,request_configuration: Optional[TasksRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get the todoTask resources from the tasks navigation property of a specified todoTaskList. This API is available in the following national cloud deployments. + Get the todoTask resources from the tasks navigation property of a specified todoTaskList. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[TasksRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TodoTask] = None, request_configuration: Optional[TasksRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new task object in a specified todoTaskList. This API is available in the following national cloud deployments. + Create a new task object in a specified todoTaskList. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[TodoTask] = None, request_co request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class TasksRequestBuilderGetQueryParameters(): """ - Get the todoTask resources from the tasks navigation property of a specified todoTaskList. This API is available in the following national cloud deployments. + Get the todoTask resources from the tasks navigation property of a specified todoTaskList. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/todo/lists/item/todo_task_list_item_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/item/todo_task_list_item_request_builder.py index b781d6ed94f..a9c3aff9224 100644 --- a/msgraph_beta/generated/users/item/todo/lists/item/todo_task_list_item_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/item/todo_task_list_item_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[TodoTaskListItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Deletes a todoTaskList object. This API is available in the following national cloud deployments. + Deletes a todoTaskList object. 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/todotasklist-delete?view=graph-rest-1.0 @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[TodoTaskListItemRequestBui async def get(self,request_configuration: Optional[TodoTaskListItemRequestBuilderGetRequestConfiguration] = None) -> Optional[TodoTaskList]: """ - Read the properties and relationships of a todoTaskList object. This API is available in the following national cloud deployments. + Read the properties and relationships of a todoTaskList object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TodoTaskList] Find more info here: https://learn.microsoft.com/graph/api/todotasklist-get?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[TodoTaskListItemRequestBuilde async def patch(self,body: Optional[TodoTaskList] = None, request_configuration: Optional[TodoTaskListItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[TodoTaskList]: """ - Update the properties of a todoTaskList object. This API is available in the following national cloud deployments. + Update the properties of a todoTaskList object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TodoTaskList] @@ -97,7 +97,7 @@ async def patch(self,body: Optional[TodoTaskList] = None, request_configuration: def to_delete_request_information(self,request_configuration: Optional[TodoTaskListItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Deletes a todoTaskList object. This API is available in the following national cloud deployments. + Deletes a todoTaskList object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -108,12 +108,12 @@ def to_delete_request_information(self,request_configuration: Optional[TodoTaskL request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TodoTaskListItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Read the properties and relationships of a todoTaskList object. This API is available in the following national cloud deployments. + Read the properties and relationships of a todoTaskList object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,12 +125,12 @@ def to_get_request_information(self,request_configuration: Optional[TodoTaskList request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[TodoTaskList] = None, request_configuration: Optional[TodoTaskListItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a todoTaskList object. This API is available in the following national cloud deployments. + Update the properties of a todoTaskList object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -144,7 +144,7 @@ def to_patch_request_information(self,body: Optional[TodoTaskList] = None, reque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -189,7 +189,7 @@ class TodoTaskListItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfig @dataclass class TodoTaskListItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a todoTaskList object. This API is available in the following national cloud deployments. + Read the properties and relationships of a todoTaskList object. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/todo/lists/lists_request_builder.py b/msgraph_beta/generated/users/item/todo/lists/lists_request_builder.py index a37f33c3b8e..b1dd2c5b952 100644 --- a/msgraph_beta/generated/users/item/todo/lists/lists_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/lists/lists_request_builder.py @@ -46,7 +46,7 @@ def by_todo_task_list_id(self,todo_task_list_id: str) -> TodoTaskListItemRequest async def get(self,request_configuration: Optional[ListsRequestBuilderGetRequestConfiguration] = None) -> Optional[TodoTaskListCollectionResponse]: """ - Get a list of the todoTaskList objects and their properties. This API is available in the following national cloud deployments. + Get a list of the todoTaskList objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TodoTaskListCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/todo-list-lists?view=graph-rest-1.0 @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[ListsRequestBuilderGetRequest async def post(self,body: Optional[TodoTaskList] = None, request_configuration: Optional[ListsRequestBuilderPostRequestConfiguration] = None) -> Optional[TodoTaskList]: """ - Create a new lists object. This API is available in the following national cloud deployments. + Create a new lists object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TodoTaskList] @@ -93,7 +93,7 @@ async def post(self,body: Optional[TodoTaskList] = None, request_configuration: def to_get_request_information(self,request_configuration: Optional[ListsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Get a list of the todoTaskList objects and their properties. This API is available in the following national cloud deployments. + Get a list of the todoTaskList objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -105,12 +105,12 @@ def to_get_request_information(self,request_configuration: Optional[ListsRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[TodoTaskList] = None, request_configuration: Optional[ListsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new lists object. This API is available in the following national cloud deployments. + Create a new lists object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -124,7 +124,7 @@ def to_post_request_information(self,body: Optional[TodoTaskList] = None, reques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -159,7 +159,7 @@ def delta(self) -> DeltaRequestBuilder: @dataclass class ListsRequestBuilderGetQueryParameters(): """ - Get a list of the todoTaskList objects and their properties. This API is available in the following national cloud deployments. + Get a list of the todoTaskList objects and their properties. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/todo/todo_request_builder.py b/msgraph_beta/generated/users/item/todo/todo_request_builder.py index 4e7bec814c4..22a9739e51b 100644 --- a/msgraph_beta/generated/users/item/todo/todo_request_builder.py +++ b/msgraph_beta/generated/users/item/todo/todo_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[TodoReque request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[TodoRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[TodoRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[Todo] = None, request_configuration: Optional[TodoRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[Todo] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py b/msgraph_beta/generated/users/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py index 0f388d28a96..3a4bd69731f 100644 --- a/msgraph_beta/generated/users/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py +++ b/msgraph_beta/generated/users/item/transitive_member_of/graph_administrative_unit/graph_administrative_unit_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAdminis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAdministrativeUnitRequestBuilder: diff --git a/msgraph_beta/generated/users/item/transitive_member_of/graph_directory_role/graph_directory_role_request_builder.py b/msgraph_beta/generated/users/item/transitive_member_of/graph_directory_role/graph_directory_role_request_builder.py index f8fd3da5f86..9328a5ca29c 100644 --- a/msgraph_beta/generated/users/item/transitive_member_of/graph_directory_role/graph_directory_role_request_builder.py +++ b/msgraph_beta/generated/users/item/transitive_member_of/graph_directory_role/graph_directory_role_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphDirecto request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphDirectoryRoleRequestBuilder: diff --git a/msgraph_beta/generated/users/item/transitive_member_of/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/users/item/transitive_member_of/graph_group/graph_group_request_builder.py index 6973f9d4db9..c3a014e64a1 100644 --- a/msgraph_beta/generated/users/item/transitive_member_of/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/users/item/transitive_member_of/graph_group/graph_group_request_builder.py @@ -62,7 +62,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/users/item/transitive_member_of/item/directory_object_item_request_builder.py b/msgraph_beta/generated/users/item/transitive_member_of/item/directory_object_item_request_builder.py index 18158d6355e..40b0e2e1674 100644 --- a/msgraph_beta/generated/users/item/transitive_member_of/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/users/item/transitive_member_of/item/directory_object_item_request_builder.py @@ -31,7 +31,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def get(self,request_configuration: Optional[DirectoryObjectItemRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryObject]: """ - The groups, including nested groups, and directory roles that a user is a member of. Nullable. + The groups, including nested groups and directory roles that a user is a member of. Nullable. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[DirectoryObjectItemRequestBui def to_get_request_information(self,request_configuration: Optional[DirectoryObjectItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - The groups, including nested groups, and directory roles that a user is a member of. Nullable. + The groups, including nested groups and directory roles that a user is a member of. Nullable. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -64,7 +64,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: @@ -107,7 +107,7 @@ def graph_group(self) -> GraphGroupRequestBuilder: @dataclass class DirectoryObjectItemRequestBuilderGetQueryParameters(): """ - The groups, including nested groups, and directory roles that a user is a member of. Nullable. + The groups, including nested groups and directory roles that a user is a member of. Nullable. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py b/msgraph_beta/generated/users/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py index 2a7055c822b..8157166bfc0 100644 --- a/msgraph_beta/generated/users/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py +++ b/msgraph_beta/generated/users/item/transitive_member_of/item/graph_administrative_unit/graph_administrative_unit_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphAdminis request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphAdministrativeUnitRequestBuilder: diff --git a/msgraph_beta/generated/users/item/transitive_member_of/item/graph_directory_role/graph_directory_role_request_builder.py b/msgraph_beta/generated/users/item/transitive_member_of/item/graph_directory_role/graph_directory_role_request_builder.py index 577425380d1..19f22a8e2af 100644 --- a/msgraph_beta/generated/users/item/transitive_member_of/item/graph_directory_role/graph_directory_role_request_builder.py +++ b/msgraph_beta/generated/users/item/transitive_member_of/item/graph_directory_role/graph_directory_role_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphDirecto request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphDirectoryRoleRequestBuilder: diff --git a/msgraph_beta/generated/users/item/transitive_member_of/item/graph_group/graph_group_request_builder.py b/msgraph_beta/generated/users/item/transitive_member_of/item/graph_group/graph_group_request_builder.py index d72eabe5d03..0a53fc222c8 100644 --- a/msgraph_beta/generated/users/item/transitive_member_of/item/graph_group/graph_group_request_builder.py +++ b/msgraph_beta/generated/users/item/transitive_member_of/item/graph_group/graph_group_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[GraphGroupRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> GraphGroupRequestBuilder: diff --git a/msgraph_beta/generated/users/item/transitive_member_of/transitive_member_of_request_builder.py b/msgraph_beta/generated/users/item/transitive_member_of/transitive_member_of_request_builder.py index 4f471f00759..3a64ed1015f 100644 --- a/msgraph_beta/generated/users/item/transitive_member_of/transitive_member_of_request_builder.py +++ b/msgraph_beta/generated/users/item/transitive_member_of/transitive_member_of_request_builder.py @@ -47,7 +47,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem async def get(self,request_configuration: Optional[TransitiveMemberOfRequestBuilderGetRequestConfiguration] = None) -> Optional[DirectoryObjectCollectionResponse]: """ - The groups, including nested groups, and directory roles that a user is a member of. Nullable. + The groups, including nested groups and directory roles that a user is a member of. Nullable. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/user-list-transitivememberof?view=graph-rest-1.0 @@ -69,7 +69,7 @@ async def get(self,request_configuration: Optional[TransitiveMemberOfRequestBuil def to_get_request_information(self,request_configuration: Optional[TransitiveMemberOfRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - The groups, including nested groups, and directory roles that a user is a member of. Nullable. + The groups, including nested groups and directory roles that a user is a member of. Nullable. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -81,7 +81,7 @@ def to_get_request_information(self,request_configuration: Optional[TransitiveMe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TransitiveMemberOfRequestBuilder: @@ -133,7 +133,7 @@ def graph_group(self) -> GraphGroupRequestBuilder: @dataclass class TransitiveMemberOfRequestBuilderGetQueryParameters(): """ - The groups, including nested groups, and directory roles that a user is a member of. Nullable. + The groups, including nested groups and directory roles that a user is a member of. Nullable. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/transitive_reports/item/directory_object_item_request_builder.py b/msgraph_beta/generated/users/item/transitive_reports/item/directory_object_item_request_builder.py index ff145598361..d985a554222 100644 --- a/msgraph_beta/generated/users/item/transitive_reports/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/users/item/transitive_reports/item/directory_object_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[DirectoryObj request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> DirectoryObjectItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/transitive_reports/transitive_reports_request_builder.py b/msgraph_beta/generated/users/item/transitive_reports/transitive_reports_request_builder.py index fd55057c174..8effe3b5ce5 100644 --- a/msgraph_beta/generated/users/item/transitive_reports/transitive_reports_request_builder.py +++ b/msgraph_beta/generated/users/item/transitive_reports/transitive_reports_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[TransitiveRe request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> TransitiveReportsRequestBuilder: diff --git a/msgraph_beta/generated/users/item/translate_exchange_ids/translate_exchange_ids_request_builder.py b/msgraph_beta/generated/users/item/translate_exchange_ids/translate_exchange_ids_request_builder.py index 57e1f087040..4dc9421fbf1 100644 --- a/msgraph_beta/generated/users/item/translate_exchange_ids/translate_exchange_ids_request_builder.py +++ b/msgraph_beta/generated/users/item/translate_exchange_ids/translate_exchange_ids_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[TranslateExchangeIdsPostRequestBody] = None, request_configuration: Optional[TranslateExchangeIdsRequestBuilderPostRequestConfiguration] = None) -> Optional[TranslateExchangeIdsPostResponse]: """ - Translate identifiers of Outlook-related resources between formats. This API is available in the following national cloud deployments. + Translate identifiers of Outlook-related resources between formats. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TranslateExchangeIdsPostResponse] @@ -54,7 +54,7 @@ async def post(self,body: Optional[TranslateExchangeIdsPostRequestBody] = None, def to_post_request_information(self,body: Optional[TranslateExchangeIdsPostRequestBody] = None, request_configuration: Optional[TranslateExchangeIdsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Translate identifiers of Outlook-related resources between formats. This API is available in the following national cloud deployments. + Translate identifiers of Outlook-related resources between formats. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[TranslateExchangeIdsPostRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/unblock_managed_apps/unblock_managed_apps_request_builder.py b/msgraph_beta/generated/users/item/unblock_managed_apps/unblock_managed_apps_request_builder.py index 0b7dc6cff9b..83e99988bc0 100644 --- a/msgraph_beta/generated/users/item/unblock_managed_apps/unblock_managed_apps_request_builder.py +++ b/msgraph_beta/generated/users/item/unblock_managed_apps/unblock_managed_apps_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[UnblockMana request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> UnblockManagedAppsRequestBuilder: diff --git a/msgraph_beta/generated/users/item/usage_rights/item/usage_right_item_request_builder.py b/msgraph_beta/generated/users/item/usage_rights/item/usage_right_item_request_builder.py index 08002fe5b12..c01169cfc5c 100644 --- a/msgraph_beta/generated/users/item/usage_rights/item/usage_right_item_request_builder.py +++ b/msgraph_beta/generated/users/item/usage_rights/item/usage_right_item_request_builder.py @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[UsageRigh request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UsageRightItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[UsageRightIt request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UsageRight] = None, request_configuration: Optional[UsageRightItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -139,7 +139,7 @@ def to_patch_request_information(self,body: Optional[UsageRight] = None, request request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/usage_rights/usage_rights_request_builder.py b/msgraph_beta/generated/users/item/usage_rights/usage_rights_request_builder.py index 1f9fd475d95..9577bcb0bc5 100644 --- a/msgraph_beta/generated/users/item/usage_rights/usage_rights_request_builder.py +++ b/msgraph_beta/generated/users/item/usage_rights/usage_rights_request_builder.py @@ -45,7 +45,7 @@ def by_usage_right_id(self,usage_right_id: str) -> UsageRightItemRequestBuilder: async def get(self,request_configuration: Optional[UsageRightsRequestBuilderGetRequestConfiguration] = None) -> Optional[UsageRightCollectionResponse]: """ - Retrieve a list of usageRight objects for a given user. This API is available in the following national cloud deployments. + Retrieve a list of usageRight objects for a given user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UsageRightCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/user-list-usagerights?view=graph-rest-1.0 @@ -91,7 +91,7 @@ async def post(self,body: Optional[UsageRight] = None, request_configuration: Op def to_get_request_information(self,request_configuration: Optional[UsageRightsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of usageRight objects for a given user. This API is available in the following national cloud deployments. + Retrieve a list of usageRight objects for a given user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[UsageRightsR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[UsageRight] = None, request_configuration: Optional[UsageRightsRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: @@ -122,7 +122,7 @@ def to_post_request_information(self,body: Optional[UsageRight] = None, request_ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -148,7 +148,7 @@ def count(self) -> CountRequestBuilder: @dataclass class UsageRightsRequestBuilderGetQueryParameters(): """ - Retrieve a list of usageRight objects for a given user. This API is available in the following national cloud deployments. + Retrieve a list of usageRight objects for a given user. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/user_item_request_builder.py b/msgraph_beta/generated/users/item/user_item_request_builder.py index 384b964e47a..3858aa3d1e7 100644 --- a/msgraph_beta/generated/users/item/user_item_request_builder.py +++ b/msgraph_beta/generated/users/item/user_item_request_builder.py @@ -33,6 +33,7 @@ from .contacts.contacts_request_builder import ContactsRequestBuilder from .contact_folders.contact_folders_request_builder import ContactFoldersRequestBuilder from .created_objects.created_objects_request_builder import CreatedObjectsRequestBuilder + from .delete_password_single_sign_on_credentials.delete_password_single_sign_on_credentials_request_builder import DeletePasswordSingleSignOnCredentialsRequestBuilder from .devices.devices_request_builder import DevicesRequestBuilder from .device_enrollment_configurations.device_enrollment_configurations_request_builder import DeviceEnrollmentConfigurationsRequestBuilder from .device_management_troubleshooting_events.device_management_troubleshooting_events_request_builder import DeviceManagementTroubleshootingEventsRequestBuilder @@ -59,6 +60,7 @@ from .get_managed_devices_with_failed_or_pending_apps.get_managed_devices_with_failed_or_pending_apps_request_builder import GetManagedDevicesWithFailedOrPendingAppsRequestBuilder from .get_member_groups.get_member_groups_request_builder import GetMemberGroupsRequestBuilder from .get_member_objects.get_member_objects_request_builder import GetMemberObjectsRequestBuilder + from .get_password_single_sign_on_credentials.get_password_single_sign_on_credentials_request_builder import GetPasswordSingleSignOnCredentialsRequestBuilder from .inference_classification.inference_classification_request_builder import InferenceClassificationRequestBuilder from .information_protection.information_protection_request_builder import InformationProtectionRequestBuilder from .insights.insights_request_builder import InsightsRequestBuilder @@ -133,7 +135,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def delete(self,request_configuration: Optional[UserItemRequestBuilderDeleteRequestConfiguration] = None) -> None: """ - Delete user. When deleted, user resources are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. To learn more, see deletedItems. This API is available in the following national cloud deployments. + Delete user. When deleted, user resources are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. To learn more, see deletedItems. 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/user-delete?view=graph-rest-1.0 @@ -180,7 +182,7 @@ def find_rooms_with_room_list(self,room_list: Optional[str] = None) -> FindRooms async def get(self,request_configuration: Optional[UserItemRequestBuilderGetRequestConfiguration] = None) -> Optional[User]: """ - Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] Find more info here: https://learn.microsoft.com/graph/api/user-get?view=graph-rest-1.0 @@ -202,7 +204,7 @@ async def get(self,request_configuration: Optional[UserItemRequestBuilderGetRequ async def patch(self,body: Optional[User] = None, request_configuration: Optional[UserItemRequestBuilderPatchRequestConfiguration] = None) -> Optional[User]: """ - Update the properties of a user object. Not all properties can be updated by Member or Guest users with their default permissions without Administrator roles. Compare member and guest default permissions to see properties they can manage. This API is available in the following national cloud deployments. + Update the properties of a user object. Not all properties can be updated by Member or Guest users with their default permissions without Administrator roles. Compare member and guest default permissions to see properties they can manage. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] @@ -242,7 +244,7 @@ def reminder_view_with_start_date_time_with_end_date_time(self,end_date_time: Op def to_delete_request_information(self,request_configuration: Optional[UserItemRequestBuilderDeleteRequestConfiguration] = None) -> RequestInformation: """ - Delete user. When deleted, user resources are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. To learn more, see deletedItems. This API is available in the following national cloud deployments. + Delete user. When deleted, user resources are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. To learn more, see deletedItems. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -253,12 +255,12 @@ def to_delete_request_information(self,request_configuration: Optional[UserItemR request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[UserItemRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -270,12 +272,12 @@ def to_get_request_information(self,request_configuration: Optional[UserItemRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[User] = None, request_configuration: Optional[UserItemRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: """ - Update the properties of a user object. Not all properties can be updated by Member or Guest users with their default permissions without Administrator roles. Compare member and guest default permissions to see properties they can manage. This API is available in the following national cloud deployments. + Update the properties of a user object. Not all properties can be updated by Member or Guest users with their default permissions without Administrator roles. Compare member and guest default permissions to see properties they can manage. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -289,7 +291,7 @@ def to_patch_request_information(self,body: Optional[User] = None, request_confi request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -492,6 +494,15 @@ def created_objects(self) -> CreatedObjectsRequestBuilder: return CreatedObjectsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def delete_password_single_sign_on_credentials(self) -> DeletePasswordSingleSignOnCredentialsRequestBuilder: + """ + Provides operations to call the deletePasswordSingleSignOnCredentials method. + """ + from .delete_password_single_sign_on_credentials.delete_password_single_sign_on_credentials_request_builder import DeletePasswordSingleSignOnCredentialsRequestBuilder + + return DeletePasswordSingleSignOnCredentialsRequestBuilder(self.request_adapter, self.path_parameters) + @property def device_enrollment_configurations(self) -> DeviceEnrollmentConfigurationsRequestBuilder: """ @@ -708,6 +719,15 @@ def get_member_objects(self) -> GetMemberObjectsRequestBuilder: return GetMemberObjectsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def get_password_single_sign_on_credentials(self) -> GetPasswordSingleSignOnCredentialsRequestBuilder: + """ + Provides operations to call the getPasswordSingleSignOnCredentials method. + """ + from .get_password_single_sign_on_credentials.get_password_single_sign_on_credentials_request_builder import GetPasswordSingleSignOnCredentialsRequestBuilder + + return GetPasswordSingleSignOnCredentialsRequestBuilder(self.request_adapter, self.path_parameters) + @property def inference_classification(self) -> InferenceClassificationRequestBuilder: """ @@ -1234,7 +1254,7 @@ class UserItemRequestBuilderDeleteRequestConfiguration(BaseRequestConfiguration) @dataclass class UserItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. This API is available in the following national cloud deployments. + Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/item/virtual_events/virtual_events_request_builder.py b/msgraph_beta/generated/users/item/virtual_events/virtual_events_request_builder.py index 28451e4cf0c..1766cd6b38d 100644 --- a/msgraph_beta/generated/users/item/virtual_events/virtual_events_request_builder.py +++ b/msgraph_beta/generated/users/item/virtual_events/virtual_events_request_builder.py @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[VirtualEv request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.DELETE - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def to_get_request_information(self,request_configuration: Optional[VirtualEventsRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[VirtualEvent request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_patch_request_information(self,body: Optional[UserVirtualEventsRoot] = None, request_configuration: Optional[VirtualEventsRequestBuilderPatchRequestConfiguration] = None) -> RequestInformation: @@ -140,7 +140,7 @@ def to_patch_request_information(self,body: Optional[UserVirtualEventsRoot] = No request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.PATCH - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/virtual_events/webinars/item/virtual_event_webinar_item_request_builder.py b/msgraph_beta/generated/users/item/virtual_events/webinars/item/virtual_event_webinar_item_request_builder.py index 3e230f049fe..b29ca94d282 100644 --- a/msgraph_beta/generated/users/item/virtual_events/webinars/item/virtual_event_webinar_item_request_builder.py +++ b/msgraph_beta/generated/users/item/virtual_events/webinars/item/virtual_event_webinar_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[VirtualEvent request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> VirtualEventWebinarItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/virtual_events/webinars/webinars_request_builder.py b/msgraph_beta/generated/users/item/virtual_events/webinars/webinars_request_builder.py index c5543b38950..48814a3b7d2 100644 --- a/msgraph_beta/generated/users/item/virtual_events/webinars/webinars_request_builder.py +++ b/msgraph_beta/generated/users/item/virtual_events/webinars/webinars_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[WebinarsRequ request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> WebinarsRequestBuilder: diff --git a/msgraph_beta/generated/users/item/windows_information_protection_device_registrations/item/windows_information_protection_device_registration_item_request_builder.py b/msgraph_beta/generated/users/item/windows_information_protection_device_registrations/item/windows_information_protection_device_registration_item_request_builder.py index 36828e82302..fa2762a72a4 100644 --- a/msgraph_beta/generated/users/item/windows_information_protection_device_registrations/item/windows_information_protection_device_registration_item_request_builder.py +++ b/msgraph_beta/generated/users/item/windows_information_protection_device_registrations/item/windows_information_protection_device_registration_item_request_builder.py @@ -61,7 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsInfor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> WindowsInformationProtectionDeviceRegistrationItemRequestBuilder: diff --git a/msgraph_beta/generated/users/item/windows_information_protection_device_registrations/windows_information_protection_device_registrations_request_builder.py b/msgraph_beta/generated/users/item/windows_information_protection_device_registrations/windows_information_protection_device_registrations_request_builder.py index 61e29315cf7..7be65c0c1c1 100644 --- a/msgraph_beta/generated/users/item/windows_information_protection_device_registrations/windows_information_protection_device_registrations_request_builder.py +++ b/msgraph_beta/generated/users/item/windows_information_protection_device_registrations/windows_information_protection_device_registrations_request_builder.py @@ -77,7 +77,7 @@ def to_get_request_information(self,request_configuration: Optional[WindowsInfor request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> WindowsInformationProtectionDeviceRegistrationsRequestBuilder: diff --git a/msgraph_beta/generated/users/item/wipe_and_block_managed_apps/wipe_and_block_managed_apps_request_builder.py b/msgraph_beta/generated/users/item/wipe_and_block_managed_apps/wipe_and_block_managed_apps_request_builder.py index 3ba688d6abd..3cc3d523681 100644 --- a/msgraph_beta/generated/users/item/wipe_and_block_managed_apps/wipe_and_block_managed_apps_request_builder.py +++ b/msgraph_beta/generated/users/item/wipe_and_block_managed_apps/wipe_and_block_managed_apps_request_builder.py @@ -57,7 +57,7 @@ def to_post_request_information(self,request_configuration: Optional[WipeAndBloc request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") return request_info def with_url(self,raw_url: Optional[str] = None) -> WipeAndBlockManagedAppsRequestBuilder: diff --git a/msgraph_beta/generated/users/item/wipe_managed_app_registration_by_device_tag/wipe_managed_app_registration_by_device_tag_request_builder.py b/msgraph_beta/generated/users/item/wipe_managed_app_registration_by_device_tag/wipe_managed_app_registration_by_device_tag_request_builder.py index 3eb12e3da8b..c6a41544120 100644 --- a/msgraph_beta/generated/users/item/wipe_managed_app_registration_by_device_tag/wipe_managed_app_registration_by_device_tag_request_builder.py +++ b/msgraph_beta/generated/users/item/wipe_managed_app_registration_by_device_tag/wipe_managed_app_registration_by_device_tag_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[WipeManagedAppRegistrationBy request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/wipe_managed_app_registrations_by_azure_ad_device_id/wipe_managed_app_registrations_by_azure_ad_device_id_request_builder.py b/msgraph_beta/generated/users/item/wipe_managed_app_registrations_by_azure_ad_device_id/wipe_managed_app_registrations_by_azure_ad_device_id_request_builder.py index a11454914ed..3ea7bd1e329 100644 --- a/msgraph_beta/generated/users/item/wipe_managed_app_registrations_by_azure_ad_device_id/wipe_managed_app_registrations_by_azure_ad_device_id_request_builder.py +++ b/msgraph_beta/generated/users/item/wipe_managed_app_registrations_by_azure_ad_device_id/wipe_managed_app_registrations_by_azure_ad_device_id_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[WipeManagedAppRegistrationsB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/item/wipe_managed_app_registrations_by_device_tag/wipe_managed_app_registrations_by_device_tag_request_builder.py b/msgraph_beta/generated/users/item/wipe_managed_app_registrations_by_device_tag/wipe_managed_app_registrations_by_device_tag_request_builder.py index 5cf788f7e93..3c2565f0bb0 100644 --- a/msgraph_beta/generated/users/item/wipe_managed_app_registrations_by_device_tag/wipe_managed_app_registrations_by_device_tag_request_builder.py +++ b/msgraph_beta/generated/users/item/wipe_managed_app_registrations_by_device_tag/wipe_managed_app_registrations_by_device_tag_request_builder.py @@ -64,7 +64,7 @@ def to_post_request_information(self,body: Optional[WipeManagedAppRegistrationsB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/users_request_builder.py b/msgraph_beta/generated/users/users_request_builder.py index 6cb27ff0515..b2b96ab6b9f 100644 --- a/msgraph_beta/generated/users/users_request_builder.py +++ b/msgraph_beta/generated/users/users_request_builder.py @@ -51,7 +51,7 @@ def by_user_id(self,user_id: str) -> UserItemRequestBuilder: async def get(self,request_configuration: Optional[UsersRequestBuilderGetRequestConfiguration] = None) -> Optional[UserCollectionResponse]: """ - Retrieve a list of user objects. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. This API is available in the following national cloud deployments. + Retrieve a list of user objects. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/user-list?view=graph-rest-1.0 @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[UsersRequestBuilderGetRequest async def post(self,body: Optional[User] = None, request_configuration: Optional[UsersRequestBuilderPostRequestConfiguration] = None) -> Optional[User]: """ - Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. This operation returns by default only a subset of the properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. This API is available in the following national cloud deployments. + Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. This operation returns by default only a subset of the properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] @@ -98,7 +98,7 @@ async def post(self,body: Optional[User] = None, request_configuration: Optional def to_get_request_information(self,request_configuration: Optional[UsersRequestBuilderGetRequestConfiguration] = None) -> RequestInformation: """ - Retrieve a list of user objects. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. This API is available in the following national cloud deployments. + Retrieve a list of user objects. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -110,12 +110,12 @@ def to_get_request_information(self,request_configuration: Optional[UsersRequest request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.GET - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") return request_info def to_post_request_information(self,body: Optional[User] = None, request_configuration: Optional[UsersRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. This operation returns by default only a subset of the properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. This API is available in the following national cloud deployments. + Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. This operation returns by default only a subset of the properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -129,7 +129,7 @@ def to_post_request_information(self,body: Optional[User] = None, request_config request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info @@ -209,7 +209,7 @@ def validate_properties(self) -> ValidatePropertiesRequestBuilder: @dataclass class UsersRequestBuilderGetQueryParameters(): """ - Retrieve a list of user objects. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. This API is available in the following national cloud deployments. + Retrieve a list of user objects. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. """ def get_query_parameter(self,original_name: Optional[str] = None) -> str: """ diff --git a/msgraph_beta/generated/users/validate_password/validate_password_request_builder.py b/msgraph_beta/generated/users/validate_password/validate_password_request_builder.py index 87bd1b20e01..3db2d1de47a 100644 --- a/msgraph_beta/generated/users/validate_password/validate_password_request_builder.py +++ b/msgraph_beta/generated/users/validate_password/validate_password_request_builder.py @@ -29,7 +29,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ValidatePasswordPostRequestBody] = None, request_configuration: Optional[ValidatePasswordRequestBuilderPostRequestConfiguration] = None) -> Optional[PasswordValidationInformation]: """ - Check a user's password against the organization's password validation policy and report whether the password is valid. Use this action to provide real-time feedback on password strength while the user types their password. This API is available in the following national cloud deployments. + Check a user's password against the organization's password validation policy and report whether the password is valid. Use this action to provide real-time feedback on password strength while the user types their password. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PasswordValidationInformation] @@ -54,7 +54,7 @@ async def post(self,body: Optional[ValidatePasswordPostRequestBody] = None, requ def to_post_request_information(self,body: Optional[ValidatePasswordPostRequestBody] = None, request_configuration: Optional[ValidatePasswordRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Check a user's password against the organization's password validation policy and report whether the password is valid. Use this action to provide real-time feedback on password strength while the user types their password. This API is available in the following national cloud deployments. + Check a user's password against the organization's password validation policy and report whether the password is valid. Use this action to provide real-time feedback on password strength while the user types their password. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -68,7 +68,7 @@ def to_post_request_information(self,body: Optional[ValidatePasswordPostRequestB request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json;q=1") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info diff --git a/msgraph_beta/generated/users/validate_properties/validate_properties_request_builder.py b/msgraph_beta/generated/users/validate_properties/validate_properties_request_builder.py index 8595a93495e..b0852e24415 100644 --- a/msgraph_beta/generated/users/validate_properties/validate_properties_request_builder.py +++ b/msgraph_beta/generated/users/validate_properties/validate_properties_request_builder.py @@ -28,7 +28,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Optional[Uni async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> None: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None @@ -51,7 +51,7 @@ async def post(self,body: Optional[ValidatePropertiesPostRequestBody] = None, re def to_post_request_information(self,body: Optional[ValidatePropertiesPostRequestBody] = None, request_configuration: Optional[ValidatePropertiesRequestBuilderPostRequestConfiguration] = None) -> RequestInformation: """ - Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. This API is available in the following national cloud deployments. + Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -65,7 +65,7 @@ def to_post_request_information(self,body: Optional[ValidatePropertiesPostReques request_info.url_template = self.url_template request_info.path_parameters = self.path_parameters request_info.http_method = Method.POST - request_info.headers.try_add("Accept", "application/json, application/json") + request_info.headers.try_add("Accept", "application/json") request_info.set_content_from_parsable(self.request_adapter, "application/json", body) return request_info From 3f3368d7075a34114cf1db36a0789cb55a67e2ca Mon Sep 17 00:00:00 2001 From: samwelkanda Date: Thu, 11 Jan 2024 16:23:16 +0300 Subject: [PATCH 2/2] Update version and changelog --- CHANGELOG.md | 7 +++++++ msgraph_beta/_version.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a235923479b..5438b23ec60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.1.0] - 2024-01-11 + +### Added + +### Changed +- Latest metadata updates from 9th January 2024. + ## [1.0.0] - 2023-10-31 ### Added diff --git a/msgraph_beta/_version.py b/msgraph_beta/_version.py index 5b691ffe043..72fd0974327 100644 --- a/msgraph_beta/_version.py +++ b/msgraph_beta/_version.py @@ -1 +1 @@ -VERSION: str = '1.0.0' +VERSION: str = '1.1.0'